diff --git a/core/cva6.sv b/core/cva6.sv index d256d2065..c97e9a83a 100644 --- a/core/cva6.sv +++ b/core/cva6.sv @@ -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