From a544fc858f94c72e3031b0498abd0edb2adda2dd Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Tue, 20 Apr 2021 16:57:52 +0100 Subject: [PATCH] cannot pass in arguments to Core - must be done with pspec --- src/soc/fu/mmu/test/test_non_production_core.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/soc/fu/mmu/test/test_non_production_core.py b/src/soc/fu/mmu/test/test_non_production_core.py index 7e49d1dc..f9f873e2 100644 --- a/src/soc/fu/mmu/test/test_non_production_core.py +++ b/src/soc/fu/mmu/test/test_non_production_core.py @@ -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) -- 2.30.2