提交 4b8f6260 编写于 作者: L LinJiawei

Jump: sign ext pc

上级 8ec1b0b8
......@@ -19,7 +19,7 @@ class Jump extends FunctionUnit with HasRedirectOut {
val (src1, jalr_target, pc, immMin, func, uop) = (
io.in.bits.src(0),
io.in.bits.src(1)(VAddrBits - 1, 0),
io.in.bits.uop.cf.pc,
SignExt(io.in.bits.uop.cf.pc, XLEN),
io.in.bits.uop.ctrl.imm,
io.in.bits.uop.ctrl.fuOpType,
io.in.bits.uop
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册