projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fb5fad
)
dcache: add debug output
author
Tobias Platen
<tplaten@posteo.de>
Sun, 20 Jun 2021 17:31:34 +0000
(19:31 +0200)
committer
Tobias Platen
<tplaten@posteo.de>
Sun, 20 Jun 2021 17:31:34 +0000
(19:31 +0200)
src/soc/experiment/dcache.py
patch
|
blob
|
history
diff --git
a/src/soc/experiment/dcache.py
b/src/soc/experiment/dcache.py
index 072d34a90d108e601d0640930607ca205ab2fe4b..8c002d28f542ca0c98c6702c2f23f2e2be28a64e 100644
(file)
--- a/
src/soc/experiment/dcache.py
+++ b/
src/soc/experiment/dcache.py
@@
-1208,8
+1208,9
@@
class DCache(Elaboratable):
sync += r1.cache_hit.eq(0)
with m.If(req_op == Op.OP_BAD):
- # Display(f"Signalling ld/st error valid_ra={valid_ra}"
- # f"rc_ok={rc_ok} perm_ok={perm_ok}"
+ sync += Display("Signalling ld/st error "
+ "ls_error=%i mmu_error=%i cache_paradox=%i",
+ ~r0.mmu_req,r0.mmu_req,access_ok)
sync += r1.ls_error.eq(~r0.mmu_req)
sync += r1.mmu_error.eq(r0.mmu_req)
sync += r1.cache_paradox.eq(access_ok)