fix store prefetch bug, it no longer occupies an entry in the sdq
This commit is contained in:
parent
7846d5e01d
commit
802f857cb6
@ -92,8 +92,8 @@ object cpuCmdToRW {
|
|||||||
val store = (cmd === M_XWR)
|
val store = (cmd === M_XWR)
|
||||||
val load = (cmd === M_XRD)
|
val load = (cmd === M_XRD)
|
||||||
val amo = cmd(3).toBool
|
val amo = cmd(3).toBool
|
||||||
val read = load || amo || (cmd === M_PFR)
|
val read = load || amo || (cmd === M_PFR) || (cmd === M_PFW)
|
||||||
val write = store || amo || (cmd === M_PFW)
|
val write = store || amo
|
||||||
(read, write)
|
(read, write)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user