Fix Dynamicfetch/!rvc config

This commit is contained in:
Dolu1990 2018-06-05 02:33:18 +02:00
parent 930563291c
commit 8729530a8d
1 changed files with 1 additions and 1 deletions

View File

@ -487,7 +487,7 @@ abstract class IBusFetcherImpl(val catchAccessFault : Boolean,
val historyWrite = history.writePort
val line = history.readSync((fetchPc.output.payload >> 2).resized, iBusRsp.inputPipeline(0).ready || flush)
val hit = line.source === (iBusRsp.inputPipeline(0).payload.asBits >> 2 + historyRamSizeLog2) && !(!line.unaligned && iBusRsp.inputPipeline(0).payload(1))
val hit = line.source === (iBusRsp.inputPipeline(0).payload.asBits >> 2 + historyRamSizeLog2) && (if(compressedGen)(!(!line.unaligned && iBusRsp.inputPipeline(0).payload(1))) else True)
//Avoid stoping instruction fetch in the middle patch
if(compressedGen && cmdToRspStageCount == 1){