Jump to content
aarone

About "Warning: (W713) multiple VCD tracing cycles with the same time detected"

Recommended Posts

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:

  1. Is there any way to get a hint which are the signals that are toggling at the same time?  
  2. Is there any way to suppress the warnings? (until I solve this, the repetitive warnings make my log file to explode...)

Regards,

Aaron

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×