projects
/
openpower-isa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f434e0
)
add SimRunner constructor
author
klehman
<klehman9@comcast.net>
Fri, 24 Sep 2021 17:20:32 +0000
(13:20 -0400)
committer
klehman
<klehman9@comcast.net>
Fri, 24 Sep 2021 17:20:32 +0000
(13:20 -0400)
src/openpower/test/state.py
patch
|
blob
|
history
diff --git
a/src/openpower/test/state.py
b/src/openpower/test/state.py
index 89d56d70ad64f6bcaeffd7d3950564aa37425168..b065018cfcb879975ae6a04546f540fdd5d1e4f8 100644
(file)
--- a/
src/openpower/test/state.py
+++ b/
src/openpower/test/state.py
@@
-40,6
+40,12
@@
class StateRunner:
def cleanup(self): pass
+class SimRunner(StateRunner):
+ def __init__(self, dut, **kwargs):
+ self.pspec = kwargs['pspec']
+ self.m = kwargs['m']
+
+
class State:
def get_state(self):
yield from self.get_intregs()