Fix DYNAMIC_TARGET / debug plugin interation corrupting the recoded next pc durring step by step #254
This commit is contained in:
parent
8d0f7781de
commit
b39557e226
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue