mirror of
https://github.com/openhwgroup/cva6.git
synced 2025-04-22 13:17:41 -04:00
tracer: Use hart_id
for trace file format (#1543)
This commit is contained in:
parent
7cd183b710
commit
20c6556e4c
1 changed files with 3 additions and 1 deletions
|
@ -1291,7 +1291,9 @@ module cva6
|
|||
logic [63:0] cycles;
|
||||
|
||||
initial begin
|
||||
f = $fopen("trace_hart_00.dasm", "w");
|
||||
string fn;
|
||||
$sformat(fn, "trace_hart_%0.0f.dasm", hart_id_i);
|
||||
f = $fopen(fn, "w");
|
||||
end
|
||||
|
||||
always_ff @(posedge clk_i or negedge rst_ni) begin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue