From: Luke Kenneth Casson Leighton Date: Tue, 20 Apr 2021 15:57:52 +0000 (+0100) Subject: cannot pass in arguments to Core - must be done with pspec X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a544fc858f94c72e3031b0498abd0edb2adda2dd;p=soc.git cannot pass in arguments to Core - must be done with pspec --- 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)