From 8d39f5f07d770664f449726516dfdd2178606e7d Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 25 Sep 2021 19:03:45 +0100 Subject: [PATCH] call StateRunner constructor, to add to StateRunner class Factory --- src/soc/simple/test/test_runner.py | 3 +++ 1 file changed, 3 insertions(+) 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) -- 2.30.2