Skip to content

Commit

Permalink
Display number of cycles at test termination (#2443)
Browse files Browse the repository at this point in the history
Reported by RVFI_tracer module
  • Loading branch information
JeanRochCoulon authored Aug 13, 2024
1 parent e561897 commit d2889fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions corev_apu/tb/rvfi_tracer.sv
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ module rvfi_tracer #(
rvfi_i[i].mem_paddr == TOHOST_ADDR &&
rvfi_i[i].mem_wdata[0] == 1'b1) begin
end_of_test_q <= rvfi_i[i].mem_wdata[31:0];
$display("*** [rvfi_tracer] INFO: Simulation terminated after %d cycles!\n", cycles);
end
end
end
Expand Down

0 comments on commit d2889fa

Please sign in to comment.