From 56f9b9721df5283e0fb3f854cf6eb42a52f5bbca Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Tue, 20 Nov 2012 05:38:49 -0800 Subject: [PATCH] treat prefetches as read requests --- uncore/src/coherence.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {