Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MSHR: fix bug when SnpOnce hits on a TRUNK block (#187)
When a SnpOnce hits on a TRUNK block, CoupledL2 will probe upstream cache to acquire the most up-to-date block. When DCache in XiangShan receives Probe toT on a dirty cache line, DCache will echo ProbeAckData TtoT to L2, and erase the dirty flag. Therefore either DCache reserves the dirty flag or L2 marks the block dirty on ProbeAckData TtoT to make sure the dirty data will not be lost. This commit adopts the latter solution.
- Loading branch information