提交 59ede938 编写于 作者: J jinyue110

uBTB: add debug info and fix syntax

上级 10b26c4c
......@@ -42,7 +42,7 @@ class MicroBTB extends BasePredictor
val io = IO(new MicroBTBIO)
io.uBTBBranchInfo <> out_ubtb_br_info
io.out.targets.map(_.valid : false.B)
io.out.targets.map(_.valid := false.B)
def getTag(pc: UInt) = pc >> (log2Ceil(PredictWidth) + 1).U
def getBank(pc: UInt) = pc(log2Ceil(PredictWidth) ,1)
......@@ -206,7 +206,4 @@ class MicroBTB extends BasePredictor
XSDebug("uBTB bypass hit!\n")
}
}
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册