add SimRunner constructor
authorklehman <klehman9@comcast.net>
Fri, 24 Sep 2021 17:20:32 +0000 (13:20 -0400)
committerklehman <klehman9@comcast.net>
Fri, 24 Sep 2021 17:20:32 +0000 (13:20 -0400)
src/openpower/test/state.py

index 89d56d70ad64f6bcaeffd7d3950564aa37425168..b065018cfcb879975ae6a04546f540fdd5d1e4f8 100644 (file)
@@ -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()