add allow_overlap argument to TestRunnerBase
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 17 Nov 2021 16:22:35 +0000 (16:22 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 17 Nov 2021 16:22:35 +0000 (16:22 +0000)
this is to filter down to TestIssuer which (surprise) will be allowed
to have instructions be issued that overlap

src/openpower/test/runner.py

index 2a34fec3b3fcbe103d600455e93dd4075ef8bcb4..a62e81692648753d2e486f5795ed108929818571 100644 (file)
@@ -105,12 +105,14 @@ class TestRunnerBase(FHDLTestCase):
     is passed in with tst_data.
     """
     def __init__(self, tst_data, microwatt_mmu=False, rom=None,
-                        svp64=True, run_hdl=None, run_sim=True):
+                        svp64=True, run_hdl=None, run_sim=True,
+                        allow_overlap=False):
         super().__init__("run_all")
         self.test_data = tst_data
         self.microwatt_mmu = microwatt_mmu
         self.rom = rom
         self.svp64 = svp64
+        self.allow_overlap = allow_overlap
         self.run_hdl = run_hdl
         self.run_sim = run_sim
 
@@ -135,6 +137,7 @@ class TestRunnerBase(FHDLTestCase):
                              gpio=False,
                              regreduce=True,
                              svp64=self.svp64,
+                             allow_overlap=self.allow_overlap,
                              mmu=self.microwatt_mmu,
                              reg_wid=64)