提交 0779ac14 编写于 作者: Y Yinan Xu

brq: remove duplicate io.redirect.valid

上级 36067372
......@@ -118,10 +118,6 @@ class Brq extends XSModule with HasCircularQueuePtrHelper {
assert(!(commitIdx===headIdx && commitValid && deqValid), "Error: deq and commit a same entry!")
headPtr := Mux(deqValid, headPtr + 1.U, headPtr)
io.redirect.valid := commitValid &&
commitIsMisPred //&&
// !io.roqRedirect.valid &&
// !io.redirect.bits.roqIdx.needFlush(io.memRedirect)
io.redirect.valid := commitValid && commitIsMisPred
io.redirect.bits := commitEntry.exuOut.redirect
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册