Skip to content

Commit

Permalink
Fix by renaming string_of_int to dec_str
Browse files Browse the repository at this point in the history
See sail-riscv f0df2cd.
  • Loading branch information
liuzikai authored and PeterRugg committed Apr 26, 2024
1 parent 7dcf3b0 commit a4b72e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cheri_regs.sail
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ function wC (r, v) = {
if (r != 0) then {
rvfi_wX(r, v.address);
if get_config_print_reg() then
print_reg("x" ^ string_of_int(r) ^ " <- " ^ RegStr(v));
print_reg("x" ^ dec_str(r) ^ " <- " ^ RegStr(v));
}
}

Expand Down

0 comments on commit a4b72e9

Please sign in to comment.