First stab at debug interrupts

This commit is contained in:
Andrew Waterman committed 2016-06-01 16:57:10 -07:00
1 parent 51379621d6
commit 9949347569
6 files changed
+108 -18

No files matched your search

+1 -1
View File
@@ -128,7 +128,7 @@ class TLB(implicit p: Parameters) extends TLBModule()(p) {
val do_mprv = io.ptw.status.mprv && !io.req.bits.instruction
val priv = Mux(do_mprv, io.ptw.status.mpp, io.ptw.status.prv)
val priv_s = priv === PRV.S
val priv_uses_vm = priv <= PRV.S
val priv_uses_vm = priv <= PRV.S && !io.ptw.status.debug
val req_xwr = Cat(!r_req.store, r_req.store, !(r_req.instruction || r_req.store))
val ur_bits = ur_array.toBits