1
0

make sure DummyPTW sets all the necessary status and ptbr signals

This commit is contained in:
Howard Mao 2016-08-30 14:43:00 -07:00
parent 403cc1c5c4
commit 50d6738caf

View File

@ -69,6 +69,11 @@ class DummyPTW(n: Int)(implicit p: Parameters) extends CoreModule()(p) {
requestor.resp.bits := s2_resp
requestor.status.vm := UInt("b01000")
requestor.status.prv := UInt(PRV.S)
requestor.status.debug := Bool(false)
requestor.status.mprv := Bool(true)
requestor.status.mpp := UInt(0)
requestor.ptbr.asid := UInt(0)
requestor.ptbr.ppn := UInt(0)
requestor.invalidate := Bool(false)
}
}