projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b44105
)
update testcase for ldst
author
Tobias Platen
<tplaten@posteo.de>
Mon, 14 Jun 2021 18:02:49 +0000
(20:02 +0200)
committer
Tobias Platen
<tplaten@posteo.de>
Mon, 14 Jun 2021 18:02:49 +0000
(20:02 +0200)
src/soc/experiment/test/test_ldst_pi.py
patch
|
blob
|
history
diff --git
a/src/soc/experiment/test/test_ldst_pi.py
b/src/soc/experiment/test/test_ldst_pi.py
index 76dab7321b1c160b59674af7ad6bc2491cf09c53..44ba0416aed0ed6001a459713e32c431f62faf6c 100644
(file)
--- a/
src/soc/experiment/test/test_ldst_pi.py
+++ b/
src/soc/experiment/test/test_ldst_pi.py
@@
-355,17
+355,14
@@
def ldst_sim_dcache_first(dut): # this test is likely to fail
addr = 65888
data = 0x8c5a3e460d71f0b4
- # known to fail
- yield from pi_st(pi, addr, data, 8, msr_pr=1)
- yield
- # guess will not fail
+ # known to fail without bugfix in src/soc/fu/ldst/loadstore.py
yield from pi_st(pi, addr, data, 8, msr_pr=1)
yield
ld_data = yield from pi_ld(pi, addr, 8, msr_pr=1)
print ("addr",addr)
- print ("dcache_
random random
ld data", hex(data), hex(ld_data))
+ print ("dcache_
first
ld data", hex(data), hex(ld_data))
assert(data==ld_data)