From: Luke Kenneth Casson Leighton Date: Sat, 12 Mar 2022 13:22:15 +0000 (+0000) Subject: read last row from r.wb.adr not r.req_adr in icache X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1bcb90676398c8fa0c309c3c7ed3c9ef306c577e;p=soc.git read last row from r.wb.adr not r.req_adr in icache --- diff --git a/src/soc/experiment/icache.py b/src/soc/experiment/icache.py index 5523c50c..02b54a03 100644 --- a/src/soc/experiment/icache.py +++ b/src/soc/experiment/icache.py @@ -704,7 +704,7 @@ class ICache(FetchUnitInterface, Elaboratable, ICacheConfig): # If we are still sending requests, was one accepted? with m.If(~bus.stall & r.wb.stb): # That was the last word? We are done sending. Clear stb - with m.If(self.is_last_row_addr(r.req_adr, r.end_row_ix)): + with m.If(self.is_last_row_addr(r.wb.adr, r.end_row_ix)): sync += Display("IS_LAST_ROW_ADDR r.wb.addr:%x " "r.end_row_ix:%x r.wb.stb:%x", r.wb.adr, r.end_row_ix, r.wb.stb)