putting in a lot more debug print statements in DCache, investigation
[soc.git] / src / soc / experiment / test / test_dcache_tlb.py
index c9793ea642648272b2e8c4dbac444ac4a82cab46..3f32a28143aa819e2332d46e7473bb1e0fd87c40 100644 (file)
@@ -213,8 +213,13 @@ def dcache_sim(dut, mem):
 
     # Cacheable read of address 4
     data = yield from dcache_load_m(dut, 0x58)
-    addr = yield dut.d_in.addr
-    print ("dcache m_load 0x58", addr)
+    print ("dcache m_load 0x58", hex(data))
+    yield
+    yield
+
+    # Cacheable read of address 4
+    data = yield from dcache_load_m(dut, 0x58)
+    print ("dcache m_load 0x58", hex(data))
     yield
     yield