未验证 提交 3a64b515 编写于 作者: Y Yinan Xu 提交者: GitHub

intWb: set wb.valid when !fpwen to allow writeback if !fpwen and !rfwen (#601)

上级 0ca353c7
......@@ -51,7 +51,7 @@ trait HasExeBlockHelper {
}
def intOutValid(x: ValidIO[ExuOutput]): ValidIO[ExuOutput] = {
val out = WireInit(x)
out.valid := x.valid && x.bits.uop.ctrl.rfWen
out.valid := x.valid && !x.bits.uop.ctrl.fpWen
out
}
def intOutValid(x: DecoupledIO[ExuOutput], connectReady: Boolean = false): DecoupledIO[ExuOutput] = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册