update unittest for dcbz
authorTobias Platen <tplaten@posteo.de>
Sat, 30 Oct 2021 11:16:18 +0000 (13:16 +0200)
committerTobias Platen <tplaten@posteo.de>
Sat, 30 Oct 2021 11:16:18 +0000 (13:16 +0200)
src/soc/experiment/test/test_compldst_multi_mmu.py

index cddb06241b31cd3c9df6c143330024ea76bac96f..ddb9492a09b1c10851ab39462b9f4487a86d0f6a 100644 (file)
@@ -112,8 +112,8 @@ def store_debug(dut, src1, src2, src3, imm, imm_ok=True, update=False,
     yield dut.go_st_i.eq(1)
     yield
     yield dut.go_st_i.eq(0)
-    yield from wait_for_debug(dut.busy_o,"not_busy" ,False)
-    # wait_for(dut.stwd_mem_o)
+    yield from wait_for_debug(dut.busy_o,"not_busy" ,False) #BUG: port interface stays busy until xxx
+    ###wait_for(dut.stwd_mem_o)
     yield
     return addr
 
@@ -140,7 +140,7 @@ def ldst_sim(dut):
     print(data,data_ok,ld_addr)
     print("ld_data is")
     print(ld_data)
-    ###BROKEN### assert(ld_data==data)
+    assert(ld_data==data)
     print("dzbz test passed")
 
     dut.stop = True # stop simulation