Fix DYNAMIC_TARGET / debug plugin interation corrupting the recoded next pc durring step by step #254
This commit is contained in:
parent
a553d3b476
commit
0872852387
|
@ -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