Jump to content

VCD Dump with Moving Time Window

Zdenek Prikryl

Recommended Posts


I have a complex system in SystemC, and I'm using tracing quite a bit. In some cases, the runtime is longer, and the VCD file is quite large, so viewers, such as GTKView, have performance issues with it. On top of that, I'm interested in the last 100 cycles in most cases anyhow. Is it possible to tell the tracer to keep only N cycles in the trace?

Any help is appreciated.


Link to comment
Share on other sites

Nope; however, some EDA vendors have extended tracing and offer other faster formats for saving the traced data.

Hopefully, you are not debugging RTL, since that is better suited for SystemVerilog.

You can also speed up things by being very selective in what you trace (i.e., don't trace everything just because you can).


Link to comment
Share on other sites

  • 3 weeks later...

You might have a look at the trace file implementations coming with the SCC. Although not having the last N cycles amongst others they allow to delay the start of tracing. Other than that they also provide a implementation to trace into FST so that gtkwave can better handle it.

At the last Fika there were some presentations around the topic of tracing: https://systemc.org/events/scef202309/

The second one contains also a few numbers...

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...