from soc.config.loadstore import ConfigMemoryPortInterface
from soc.experiment.test import pagetables
-from soc.experiment.test.test_wishbone import wb_get
+from openpower.test.wb_get import wb_get
+from openpower.test import wb_get as wbget
+
########################################
assert(ld_data==data)
print("dzbz test passed")
- dut.stop = True # stop simulation
+ wbget.stop = True # stop simulation
########################################
class TestLDSTCompUnitMMU(LDSTCompUnit):
sim.add_clock(1e-6)
dut.mem = pagetables.test1
- dut.stop = False
+ wbget.stop = False
sim.add_sync_process(wrap(ldst_sim(dut)))
- sim.add_sync_process(wrap(wb_get(dut)))
+ sim.add_sync_process(wrap(wb_get(dut.cmpi.wb_bus(), dut.mem)))
with sim.write_vcd('test_scoreboard_mmu.vcd'):
sim.run()
sim.add_clock(1e-6)
dut.mem = pagetables.test1
- dut.stop = False
+ wbget.stop = False
sim.add_sync_process(wrap(ldst_sim(dut)))
- sim.add_sync_process(wrap(wb_get(dut)))
+ sim.add_sync_process(wrap(wb_get(dut.cmpi.wb_bus(), dut.mem)))
with sim.write_vcd('test_scoreboard_regspec_mmu.vcd'):
sim.run()