From c978c4fc4dde09eb29c2a1620954384a847634ef Mon Sep 17 00:00:00 2001 From: klehman Date: Fri, 24 Sep 2021 13:20:32 -0400 Subject: [PATCH] add SimRunner constructor --- src/openpower/test/state.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/openpower/test/state.py b/src/openpower/test/state.py index 89d56d70..b065018c 100644 --- 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() -- 2.30.2