Skip to content

Commit

Permalink
Fix vector debug trace
Browse files Browse the repository at this point in the history
  • Loading branch information
jerryz123 committed May 17, 2024
1 parent 22cc8aa commit d92922a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/rocket/RocketCore.scala
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,7 @@ class Rocket(tile: RocketTile)(implicit p: Parameters) extends CoreModule()(p)
val has_wb = WireInit(wb_ctrl.wxd && wb_wen && !wb_set_sboard)
val wb_addr = WireInit(wb_waddr + Mux(wb_ctrl.wfd, 32.U, 0.U))

io.vector.foreach { v => when (v.wb.retire && !wb_reg_set_vconfig) {
io.vector.foreach { v => when (v.wb.retire) {
should_wb := v.wb.rob_should_wb
has_wb := false.B
wb_addr := Cat(v.wb.rob_should_wb_fp, csr_trace_with_wdata.insn(11,7))
Expand Down

0 comments on commit d92922a

Please sign in to comment.