1
0

treat prefetches as read requests

This commit is contained in:
Andrew Waterman 2012-11-20 05:38:49 -08:00
parent 6bd4f93f8c
commit 56f9b9721d

View File

@ -4,7 +4,7 @@ import Chisel._
import Constants._ import Constants._
object cpuCmdToRW { 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 { abstract class CoherencePolicy {