提交 5596bd32 编写于 作者: L Lingrui98

bundle: fix lastHalfRVIMask width, let it fit PredictWidth

上级 6c7d64e5
......@@ -84,7 +84,7 @@ class BranchPrediction extends XSBundle with HasIFUConst {
val lastBankHasHalfRVI = Bool()
// assumes that only one of the two conditions could be true
def lastHalfRVIMask = Cat(lastBankHasHalfRVI.asUInt, 0.U(7.W), firstBankHasHalfRVI.asUInt, 0.U(7.W))
def lastHalfRVIMask = Cat(lastBankHasHalfRVI.asUInt, 0.U((bankWidth-1).W), firstBankHasHalfRVI.asUInt, 0.U((bankWidth-1).W))
def lastHalfRVIClearMask = ~lastHalfRVIMask
// is taken from half RVI
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册