projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b218029
)
ooo nasty bug. used tlb_hit.way instead of tlb_hit.valid
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Mon, 6 Dec 2021 17:40:12 +0000
(17:40 +0000)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Mon, 6 Dec 2021 17:40:12 +0000
(17:40 +0000)
src/soc/experiment/dcache.py
patch
|
blob
|
history
diff --git
a/src/soc/experiment/dcache.py
b/src/soc/experiment/dcache.py
index 38aeebbadf1e3f0ed69bca6e2df82a459e575685..d0829f4df8ac56dbcf96b5b018a66730e24261c4 100644
(file)
--- a/
src/soc/experiment/dcache.py
+++ b/
src/soc/experiment/dcache.py
@@
-583,7
+583,7
@@
class DCachePendingHit(Elaboratable):
comb += hit_set[j].eq(s_hit)
with m.If(s_tag == reload_tag):
comb += rel_matches[j].eq(1)
- with m.If(tlb_hit.
way
):
+ with m.If(tlb_hit.
valid
):
comb += is_hit.eq(hit_set[tlb_hit.way])
comb += hit_way.eq(hit_way_set[tlb_hit.way])
comb += rel_match.eq(rel_matches[tlb_hit.way])