more work on test_dcbz_pi.py
authorTobias Platen <tplaten@posteo.de>
Sun, 11 Jul 2021 16:57:10 +0000 (18:57 +0200)
committerTobias Platen <tplaten@posteo.de>
Sun, 11 Jul 2021 16:57:10 +0000 (18:57 +0200)
src/soc/experiment/test/test_dcbz_pi.py

index cbacf4e1312a0f76e09ff4fa8108f304839c4e9e..789dbb0a06c8e6b2a6a24a1621b7780db20c0617 100644 (file)
@@ -121,10 +121,16 @@ def _test_dcbz_addr_zero(dut, mem):
     yield mmu.rin.prtbl.eq(0x1000000) # set process table
     yield
 
-    addr = 0
-    data = 0 # FIXME
+    addr = 0x1000
+    data = 0x1337
     # size ==, msr_pr TODO
 
+    ## causes hang in pi_dcbz -- investigate
+    yield from pi_st(pi, addr, data, 8, msr_pr=1)
+    yield
+    yield
+    yield Display("done_pi_st")
+
     yield from pi_dcbz(pi, addr, data, 8, msr_pr=1)
     yield