Skip to content

Commit 213de64

Browse files
committed
Fix controller reading r* instead of r*_id
1 parent bf63839 commit 213de64

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/cpu/controller.mlog.jinja

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -229,9 +229,9 @@ next_tick:
229229
# for debug output
230230
read instruction prev_proc "instruction"
231231
read op_id prev_proc "op_id"
232-
read rs1 prev_proc "rs1"
233-
read rs2 prev_proc "rs2"
234-
read rd prev_proc "rd"
232+
read rs1_id prev_proc "rs1_id"
233+
read rs2_id prev_proc "rs2_id"
234+
read rd_id prev_proc "rd_id"
235235
read imm prev_proc "imm"
236236

237237
# tell the next proc to fetch the hart state from us
@@ -399,8 +399,8 @@ set _ csr_mie
399399
set _ interrupts_pending
400400
set _ instruction
401401
set _ op_id
402-
set _ rs1
403-
set _ rs2
404-
set _ rd
402+
set _ rs1_id
403+
set _ rs2_id
404+
set _ rd_id
405405
set _ imm
406406
# {% endraw %}

0 commit comments

Comments
 (0)