secondary miss bug
This commit is contained in:
parent
8e41fcf6fc
commit
df79e7ff8d
@ -60,9 +60,7 @@ trait HasClientSideCoherencePolicy {
|
|||||||
first_cmd: UInt,
|
first_cmd: UInt,
|
||||||
second_cmd: UInt,
|
second_cmd: UInt,
|
||||||
meta: ClientMetadata): Bool = {
|
meta: ClientMetadata): Bool = {
|
||||||
isWriteIntent(second_cmd) &&
|
isWriteIntent(second_cmd) && !isWriteIntent(first_cmd)
|
||||||
!isWriteIntent(first_cmd) ||
|
|
||||||
(getAcquireType(first_cmd, meta) != getAcquireType(second_cmd, meta))
|
|
||||||
}
|
}
|
||||||
//TODO: Assumes all cache ctrl ops writeback dirty data, and
|
//TODO: Assumes all cache ctrl ops writeback dirty data, and
|
||||||
// doesn't issue transaction when e.g. downgrading Exclusive to Shared:
|
// doesn't issue transaction when e.g. downgrading Exclusive to Shared:
|
||||||
|
Loading…
Reference in New Issue
Block a user