treat prefetches as read requests
This commit is contained in:
parent
6bd4f93f8c
commit
56f9b9721d
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user