mirror of
https://github.com/openhwgroup/cvw
synced 2025-01-23 13:04:28 +00:00
Fixed the issue with cbo.clean.
This commit is contained in:
parent
b7b7c79726
commit
383fce5522
3
src/cache/cachefsm.sv
vendored
3
src/cache/cachefsm.sv
vendored
@ -155,7 +155,8 @@ module cachefsm import cvw::*; #(parameter cvw_t P,
|
||||
assign SetValid = CurrState == STATE_WRITE_LINE |
|
||||
(CurrState == STATE_ACCESS & CMOZeroNoEviction) |
|
||||
(CurrState == STATE_WRITEBACK & CacheBusAck & CMOpM[3]);
|
||||
assign ClearValid = (CurrState == STATE_ACCESS & (CMOpM[0] | CMOpM[2])) |
|
||||
assign ClearValid = (CurrState == STATE_ACCESS & (CMOpM[0] | (CMOpM[2] & ~HitLineDirty))) |
|
||||
//assign ClearValid = (CurrState == STATE_ACCESS & (CMOpM[0])) |
|
||||
(CurrState == STATE_WRITEBACK & CMOpM[2] & CacheBusAck);
|
||||
assign LRUWriteEn = (((CurrState == STATE_ACCESS & (AnyHit | CMOZeroNoEviction)) |
|
||||
(CurrState == STATE_WRITE_LINE)) & ~FlushStage) |
|
||||
|
Loading…
Reference in New Issue
Block a user