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 a553d3b476
commit 0872852387
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)))
if(prediction == DYNAMIC_TARGET) {
when(predictionPcLoad.valid) {
when(predictionPcLoad.valid && !forceNoDecodeCond) {
pcReg := predictionPcLoad.payload
}
}