mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
Fixed bug where last line of dcache was not written back to memory on dcache flush.
This commit is contained in:
parent
101a8bdb5b
commit
cb301a78ad
2
pipelined/src/cache/dcache.sv
vendored
2
pipelined/src/cache/dcache.sv
vendored
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user