Un-pend PMP CSR writes on pipeline flushes

This commit is contained in:
Samuel Lindemer 2021-05-28 16:17:19 +02:00
parent 4bdeb7731b
commit 3a4ab7ad51
1 changed files with 4 additions and 0 deletions

View File

@ -182,6 +182,10 @@ class PmpPlugin(regions : Int, granularity : Int, ioRange : UInt => Bool) extend
} }
} }
when (arbitration.isFlushed) {
pending := False
}
val writer = new Area { val writer = new Area {
when (pending) { when (pending) {
arbitration.haltItself := True arbitration.haltItself := True