提交 090ce6ae 编写于 作者: L Lingrui98

Merge branch 'replay-br-update' of https://github.com/RISCVERS/XiangShan into replay-br-update

......@@ -153,7 +153,7 @@ class Brq extends XSModule with HasCircularQueuePtrHelper {
io.out.bits := commitEntry.exuOut
val brTagRead = RegNext(Mux(io.memRedirect.bits.isReplay, io.memRedirect.bits.brTag - 1.U, io.memRedirect.bits.brTag))
io.cfiInfo.valid := RegNext(io.memRedirect.valid)
io.cfiInfo.valid := RegNext(io.memRedirect.valid || commitValid)
io.cfiInfo.bits := brQueue(brTagRead.value).exuOut.brUpdate
io.cfiInfo.bits.brTag := brTagRead
io.cfiInfo.bits.isReplay := RegNext(io.memRedirect.bits.isReplay)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册