cannot pass in arguments to Core - must be done with pspec
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 20 Apr 2021 15:57:52 +0000 (16:57 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 20 Apr 2021 15:57:52 +0000 (16:57 +0100)
src/soc/fu/mmu/test/test_non_production_core.py

index 7e49d1dc4abf3f8055a09dd43307b236277b0752..f9f873e2085881a3095fe3a69ccb73e857cea151 100644 (file)
@@ -125,7 +125,11 @@ class TestRunner(unittest.TestCase):
                              mask_wid=8,
                              reg_wid=64)
 
-        m.submodules.core = core = NonProductionCore(pspec,microwatt_mmu=True)
+        m.submodules.core = core = NonProductionCore(pspec
+                                     # XXX NO absolutely do not do this.
+                                     # all options must go into the pspec
+                                     #, microwatt_mmu=True
+                                                        )
 
         comb += pdecode2.dec.raw_opcode_in.eq(instruction)
         sim = Simulator(m)