1
0

fix store prefetch bug, it no longer occupies an entry in the sdq

This commit is contained in:
Yunsup Lee 2012-03-03 15:07:22 -08:00
parent 7846d5e01d
commit 802f857cb6

View File

@ -92,8 +92,8 @@ object cpuCmdToRW {
val store = (cmd === M_XWR)
val load = (cmd === M_XRD)
val amo = cmd(3).toBool
val read = load || amo || (cmd === M_PFR)
val write = store || amo || (cmd === M_PFW)
val read = load || amo || (cmd === M_PFR) || (cmd === M_PFW)
val write = store || amo
(read, write)
}
}