From dc328256d2780d64ee0bad24fda0eb5847bfa531 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 12 Mar 2022 14:43:19 +0000 Subject: [PATCH] Revert "read last row from r.wb.adr not r.req_adr in icache" This reverts commit 1bcb90676398c8fa0c309c3c7ed3c9ef306c577e. --- src/soc/experiment/icache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/soc/experiment/icache.py b/src/soc/experiment/icache.py index 02b54a03..5523c50c 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.wb.adr, r.end_row_ix)): + with m.If(self.is_last_row_addr(r.req_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) -- 2.30.2