From 6db13c0fa9ad2cb32b2859de39e60033b4d97690 Mon Sep 17 00:00:00 2001 From: Cole Poirier Date: Thu, 8 Oct 2020 12:28:02 -0700 Subject: [PATCH] remove singleton dict per https://bugs.libre-soc.org/show_bug.cgi?id=485#c58 --- src/soc/experiment/test/test_mmu_dcache.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/soc/experiment/test/test_mmu_dcache.py b/src/soc/experiment/test/test_mmu_dcache.py index e6f5a436..037bac0a 100644 --- a/src/soc/experiment/test/test_mmu_dcache.py +++ b/src/soc/experiment/test/test_mmu_dcache.py @@ -47,7 +47,7 @@ default_mem = { 0x10000: # PARTITION_TABLE_2 } -def wb_get(c, mem=default_mem, name="DCACHE"): +def wb_get(c, mem, name): """simulator process for getting memory load requests """ @@ -198,7 +198,7 @@ def test_mmu(): sim.add_clock(1e-6) sim.add_sync_process(wrap(mmu_sim(mmu))) - sim.add_sync_process(wrap(wb_get(dcache))) + sim.add_sync_process(wrap(wb_get(dcache, default_mem, "DCACHE"))) with sim.write_vcd('test_mmu.vcd'): sim.run() -- 2.30.2