forked from Github_Repos/cvw
Fixed bug where last line of dcache was not written back to memory on dcache flush.
This commit is contained in:
parent
0dd61a57da
commit
d94a1c6404
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