This commit is contained in:
Dolu1990 2018-06-20 12:35:12 +02:00
parent 8886f7e6d4
commit dd47db9ad0
1 changed files with 1 additions and 0 deletions

View File

@ -497,6 +497,7 @@ class CsrPlugin(config : CsrPluginConfig) extends Plugin[VexRiscv] with Exceptio
when(exception || (interrupt && pipelineLiberator.done)){ when(exception || (interrupt && pipelineLiberator.done)){
jumpInterface.valid := True jumpInterface.valid := True
jumpInterface.payload := mtvec jumpInterface.payload := mtvec
memory.arbitration.flushAll := True //Mouai
mstatus.MIE := False mstatus.MIE := False
mstatus.MPIE := mstatus.MIE mstatus.MPIE := mstatus.MIE
mstatus.MPP := privilege mstatus.MPP := privilege