diff --git a/uncore/src/coherence.scala b/uncore/src/coherence.scala index d7cf1ded..e8aad9d0 100644 --- a/uncore/src/coherence.scala +++ b/uncore/src/coherence.scala @@ -4,7 +4,7 @@ import Chisel._ import Constants._ object cpuCmdToRW { - def apply(cmd: Bits): (Bool, Bool) = (isRead(cmd), isWrite(cmd)) + def apply(cmd: Bits): (Bool, Bool) = (isRead(cmd) || isPrefetch(cmd), isWrite(cmd)) } abstract class CoherencePolicy {