call StateRunner constructor, to add to StateRunner class Factory
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 25 Sep 2021 18:03:45 +0000 (19:03 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 25 Sep 2021 18:03:45 +0000 (19:03 +0100)
src/soc/simple/test/test_runner.py

index 74e5b79ecefbea2dc85aef5eff2abcc92d15c41b..09481697759c1d2ad8892d542f5bef1454085fae 100644 (file)
@@ -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)