From: Luke Kenneth Casson Leighton Date: Sat, 25 Sep 2021 18:03:45 +0000 (+0100) Subject: call StateRunner constructor, to add to StateRunner class Factory X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8d39f5f07d770664f449726516dfdd2178606e7d;p=soc.git call StateRunner constructor, to add to StateRunner class Factory --- diff --git a/src/soc/simple/test/test_runner.py b/src/soc/simple/test/test_runner.py index 74e5b79e..09481697 100644 --- a/src/soc/simple/test/test_runner.py +++ b/src/soc/simple/test/test_runner.py @@ -126,6 +126,7 @@ def get_dmi(dmi, addr): class SimRunner(StateRunner): def __init__(self, dut, m, pspec): + super().__init__("sim", SimRunner) self.dut = dut regreduce_en = pspec.regreduce_en == True @@ -182,6 +183,8 @@ class SimRunner(StateRunner): class HDLRunner(StateRunner): def __init__(self, dut, m, pspec): + super().__init__("hdl", HDLRunner) + self.dut = dut self.pc_i = Signal(32) self.svstate_i = Signal(64)