Fix RVC fetcher pc branches

This commit is contained in:
Charles Papon 2019-06-10 20:48:04 +02:00
parent 24e1e3018c
commit bd46dd88aa
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ abstract class IBusFetcherImpl(val resetVector : BigInt,
}
//application of the selected jump request
when(jump.pcLoad.valid) {
when(jump.pcLoad.valid && (!decode.arbitration.isValid || !decode.arbitration.isStuck || decode.arbitration.isRemoved)) {
pcReg := jump.pcLoad.payload
}
})