wip before moving the fetchHalt
This commit is contained in:
parent
294293cb70
commit
e65757e34c
|
@ -289,9 +289,11 @@ abstract class IBusFetcherImpl(val catchAccessFault : Boolean,
|
|||
// }
|
||||
|
||||
if(injectionPort != null){
|
||||
injectionPort.ready := !decode.arbitration.isStuck
|
||||
val state = RegNext(injectionPort.valid) init(False) clearWhen(injectionPort.ready)
|
||||
injectionPort.ready := !decode.arbitration.isStuck && state
|
||||
when(injectionPort.valid) {
|
||||
decode.arbitration.isValid := True
|
||||
decode.arbitration.haltItself setWhen(!state)
|
||||
decode.insert(INSTRUCTION) := injectionPort.payload
|
||||
}
|
||||
}
|
||||
|
|
|
@ -109,8 +109,8 @@ class IBusSimplePlugin(interfaceKeepData : Boolean, catchAccessFault : Boolean,
|
|||
catchAccessFault = catchAccessFault,
|
||||
resetVector = BigInt(0x80000000l),
|
||||
keepPcPlus4 = false,
|
||||
decodePcGen = true,
|
||||
compressedGen = true,
|
||||
decodePcGen = false,
|
||||
compressedGen = false,
|
||||
cmdToRspStageCount = 1,
|
||||
rspStageGen = false,
|
||||
injectorReadyCutGen = false,
|
||||
|
|
Loading…
Reference in New Issue