Fixed bug where last line of dcache was not written back to memory on dcache flush.

This commit is contained in:
Ross Thompson 2022-01-04 21:55:48 -06:00
parent 0dd61a57da
commit d94a1c6404

View File

@ -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;