提交 931748b4 编写于 作者: L Lingrui98

Merge remote-tracking branch 'origin/ras-fix-rvc' into tage-sc

......@@ -153,7 +153,7 @@ class RAS extends BasePredictor
val commit_push = WireInit(false.B)
val commit_pop = WireInit(false.B)
val commit_new_addr = WireInit(io.recover.bits.pc + 4.U) //TODO: consider RVC
val commit_new_addr = Mux(io.recover.bits.pd.isRVC,io.recover.bits.pc + 2.U,io.recover.bits.pc + 4.U)
commit_ras.push_valid := commit_push
commit_ras.pop_valid := commit_pop
commit_ras.new_addr := commit_new_addr
......@@ -245,4 +245,4 @@ class RAS extends BasePredictor
// }
// }
}
\ No newline at end of file
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册