Skip to content

Commit a4b72e9

Browse files
liuzikaiPeterRugg
authored andcommitted
Fix by renaming string_of_int to dec_str
See sail-riscv f0df2cd.
1 parent 7dcf3b0 commit a4b72e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cheri_regs.sail

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ function wC (r, v) = {
143143
if (r != 0) then {
144144
rvfi_wX(r, v.address);
145145
if get_config_print_reg() then
146-
print_reg("x" ^ string_of_int(r) ^ " <- " ^ RegStr(v));
146+
print_reg("x" ^ dec_str(r) ^ " <- " ^ RegStr(v));
147147
}
148148
}
149149

0 commit comments

Comments
 (0)