mirror of
https://github.com/openhwgroup/cva6.git
synced 2025-04-23 13:47:13 -04:00
Change hart log ids from hex to dec.
This commit is contained in:
parent
dcfb31df77
commit
0408e9fc38
1 changed files with 2 additions and 2 deletions
|
@ -49,8 +49,8 @@ class instruction_tracer;
|
|||
|
||||
function void create_file(logic [63:0] hart_id);
|
||||
string fn, fn_commit_log;
|
||||
$sformat(fn, "trace_hart_%04h.log", hart_id);
|
||||
$sformat(fn_commit_log, "trace_hart_%04h_commit.log", hart_id);
|
||||
$sformat(fn, "trace_hart_%04.0f.log", hart_id);
|
||||
$sformat(fn_commit_log, "trace_hart_%04.0f_commit.log", hart_id);
|
||||
$display("[TRACER] Output filename is: %s", fn);
|
||||
|
||||
this.f = $fopen(fn,"w");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue