Added cycles to waveform capture for icarus verilog

This commit is contained in:
(Tim) Efthimis Kritikos 2023-10-31 19:32:35 +00:00
parent 49335a2c2f
commit 3a63e916f5
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -54,7 +54,7 @@ string waveform_name;
initial begin initial begin
if($value$plusargs("WAVEFORM=%s",waveform_name))begin if($value$plusargs("WAVEFORM=%s",waveform_name))begin
$dumpfile(waveform_name); $dumpfile(waveform_name);
$dumpvars(0,p); $dumpvars(0,p,cycles);
end end
`ifdef OTUPUT_JSON_STATISTICS `ifdef OTUPUT_JSON_STATISTICS
if($value$plusargs("STATS=%s",stats_name))begin if($value$plusargs("STATS=%s",stats_name))begin