From f8e7626a37a5b64774d40dbbc4adf7e06d2603fa Mon Sep 17 00:00:00 2001 From: Cole Poirier Date: Fri, 2 Oct 2020 14:18:28 -0700 Subject: [PATCH] icache.py add req_hit_way as arg to icache_comb, actually ran file this time to make sure it's correct, fixes https://bugs.libre-soc.org/show_bug.cgi?id=485#c37 --- src/soc/experiment/icache.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/soc/experiment/icache.py b/src/soc/experiment/icache.py index 75361d9b..85ac884d 100644 --- a/src/soc/experiment/icache.py +++ b/src/soc/experiment/icache.py @@ -698,7 +698,7 @@ class ICache(Elaboratable): sync += itlb_valid_bits[wr_index].eq(1) # Cache hit detection, output to fetch2 and other misc logic - def icache_comb(self, m, use_previous, r, req_index, req_row, + def icache_comb(self, m, use_previous, r, req_index, req_row, req_hit_way, req_tag, real_addr, req_laddr, cache_valid_bits, cache_tags, access_ok, req_is_hit, req_is_miss, replace_way, plru_victim, cache_out_row): @@ -1120,7 +1120,7 @@ class ICache(Elaboratable): real_addr, itlb_valid_bits, ra_valid, eaa_priv, priv_fault, access_ok) self.itlb_update(m, itlb_valid_bits, itlb_tags, itlb_ptes) - self.icache_comb(m, use_previous, r, req_index, req_row, + self.icache_comb(m, use_previous, r, req_index, req_row, req_hit_way, req_tag, real_addr, req_laddr, cache_valid_bits, cache_tags, access_ok, req_is_hit, req_is_miss, replace_way, plru_victim, cache_out_row) -- 2.30.2