diff --git a/rocketv/src/RocketCore.scala b/rocketv/src/RocketCore.scala index b55cd1a709..3cbbad64f9 100644 --- a/rocketv/src/RocketCore.scala +++ b/rocketv/src/RocketCore.scala @@ -786,9 +786,9 @@ class Rocket(val parameter: RocketParameter) val bypassSource = PriorityEncoder(idBypassSources(i)) exRegRsBypass(i) := doBypass exRegRsLSB(i) := bypassSource + exRegRsMSB(i) := idRs(i) >> log2Ceil(bypassSources.size) when(idRen(i) && !doBypass) { exRegRsLSB(i) := idRs(i)(log2Ceil(bypassSources.size) - 1, 0) - exRegRsMSB(i) := idRs(i) >> log2Ceil(bypassSources.size) } } when(idIllegalInstruction || idVirtualInstruction) {