提交 4cb1b537 编写于 作者: Y Yinan Xu

dispatch1: set prevCanOut to true.B when !io.Rename(i).valid

上级 6d84e2fa
......@@ -85,7 +85,7 @@ class Dispatch1 extends XSModule {
// For i in [0, DqEnqWidth], previous instructions can always enqueue when ROB and LSQ are ready
if (i <= dpParams.DqEnqWidth) true.B
// They need to check their previous ones
else Cat((dpParams.DqEnqWidth until i).map(thisCanOut(_))).andR
else Cat((dpParams.DqEnqWidth until i).map(j => thisCanOut(j) || !io.fromRename(j).valid)).andR
))
// this instruction can actually dequeue: 3 conditions
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册