Fix DYNAMIC_TARGET / debug plugin interation corrupting the recoded next pc durring step by step #254

This commit is contained in:
Dolu1990 2022-05-17 20:44:02 +02:00
parent 8d0f7781de
commit b39557e226
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ abstract class IBusFetcherImpl(val resetVector : BigInt,
val predictionPcLoad = ifGen(prediction == DYNAMIC_TARGET) (Flow(UInt(32 bits))) val predictionPcLoad = ifGen(prediction == DYNAMIC_TARGET) (Flow(UInt(32 bits)))
if(prediction == DYNAMIC_TARGET) { if(prediction == DYNAMIC_TARGET) {
when(predictionPcLoad.valid) { when(predictionPcLoad.valid && !forceNoDecodeCond) {
pcReg := predictionPcLoad.payload pcReg := predictionPcLoad.payload
} }
} }