提交 d2b7a6db 编写于 作者: L Lingrui98

ifu: fix a typo on recovering global history

上级 d5f596d2
......@@ -385,7 +385,7 @@ class IFU extends XSModule with HasIFUConst
val sawNTBr = b.brInfo.sawNotTakenBranch
val isBr = b.pd.isBr
val taken = b.taken
val updatedGh = oldGh.update(isBr && taken, sawNTBr)
val updatedGh = oldGh.update(sawNTBr, isBr && taken)
final_gh := updatedGh
final_gh_bypass := updatedGh
flush_final_gh := true.B
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册