1
0

rocket,Rocket: fix type mismatch (#819)

This commit is contained in:
Zihao Yu 2017-06-28 02:22:08 +08:00 committed by Andrew Waterman
parent 8d07d0af38
commit c9cfe46604

View File

@ -643,7 +643,7 @@ class Rocket(implicit p: Parameters) extends CoreModule()(p)
if (enableCommitLog) {
val pc = Wire(SInt(width=xLen))
pc := wb_reg_pc
pc := wb_reg_pc.asSInt
val inst = wb_reg_inst
val rd = RegNext(RegNext(RegNext(id_waddr)))
val wfd = wb_ctrl.wfd