Relax assertion in Debug.scala, allow dmactive to be used to exit from busy state in DM (#1782)
This commit is contained in:
parent
68380eb9c3
commit
4b37841872
|
@ -1181,7 +1181,7 @@ class TLDebugModuleInner(device: Device, getNComponents: () => Int, beatBytes: I
|
|||
}.otherwise {
|
||||
ctrlStateReg := ctrlStateNxt
|
||||
}
|
||||
assert ((!hartExceptionWrEn || ctrlStateReg === CtrlState(Exec)),
|
||||
assert ((!io.dmactive || !hartExceptionWrEn || ctrlStateReg === CtrlState(Exec)),
|
||||
"Unexpected EXCEPTION write: should only get it in Debug Module EXEC state")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue