aarone Posted June 3, 2019 Report Share Posted June 3, 2019 Hello, I get multiple such warnings during a long simulation: Warning: (W713) multiple VCD tracing cycles with the same time detected: units count: 548880661 Waveform viewers will only show the states of the last one. Use `tracefile->set_time_unit(double, sc_time_unit);' to increase the time resolution. I have 2 questions: Is there any way to get a hint which are the signals that are toggling at the same time? Is there any way to suppress the warnings? (until I solve this, the repetitive warnings make my log file to explode...) Regards, Aaron Quote Link to comment Share on other sites More sharing options...
AmeyaVS Posted June 3, 2019 Report Share Posted June 3, 2019 Hello @aarone, Can you provide the initial logs from the SystemC kernel about the VCD timescale setting. Probably you are using the default VCD timescale, also the Warning itself is providing an insight that you need to revise the VCD timescale resolution. 56 minutes ago, aarone said: Use `tracefile->set_time_unit(double, sc_time_unit);' to increase the time resolution. Hope it helps. Regards, Ameya Vikram Singh Quote Link to comment Share on other sites More sharing options...
aarone Posted June 3, 2019 Author Report Share Posted June 3, 2019 Ameya, the `tracefile->set_time_unit() is already set to 1ps resolution. The problem is probably in the code itself (2 different assignments in the same method). Still, I need to find where that happens. regards Quote Link to comment Share on other sites More sharing options...
Philipp A Hartmann Posted June 3, 2019 Report Share Posted June 3, 2019 Unfortunately, there is currently no way to obtain the name of the affected signals/variables in this message. You can suppress the warning via: sc_core::sc_report_handler::set_actions(sc_core::SC_ID_TRACING_VCD_DUPLICATE_TIME_, sc_core::SC_DO_NOTHING); aarone 1 Quote Link to comment Share on other sites More sharing options...
Roman Popov Posted June 3, 2019 Report Share Posted June 3, 2019 You can enable delta_cycle tracing with sc_trace_delta_cycles(tf, true) and try to find a signal in VCD gui. Since VCD format does not actually support delta cycles, SystemC traces them as 1ps steps. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.