From: Luke Kenneth Casson Leighton Date: Mon, 6 Dec 2021 17:40:12 +0000 (+0000) Subject: ooo nasty bug. used tlb_hit.way instead of tlb_hit.valid X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1cf999d43c244b49894d77e8f2151089496239eb;p=soc.git ooo nasty bug. used tlb_hit.way instead of tlb_hit.valid --- diff --git a/src/soc/experiment/dcache.py b/src/soc/experiment/dcache.py index 38aeebba..d0829f4d 100644 --- 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])