diff --git a/pipelined/src/cache/dcache.sv b/pipelined/src/cache/dcache.sv index 28a8d800..caaaa716 100644 --- a/pipelined/src/cache/dcache.sv +++ b/pipelined/src/cache/dcache.sv @@ -74,7 +74,7 @@ module dcache localparam integer LOGWPL = $clog2(WORDSPERLINE); localparam integer LOGXLENBYTES = $clog2(`XLEN/8); - localparam integer FlushAdrThreshold = NUMLINES - 1; + localparam integer FlushAdrThreshold = NUMLINES; logic [1:0] SelAdrM; logic [INDEXLEN-1:0] RAdr;