Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Need help inserting comments into VCD file

26 views
Skip to first unread message

icedancer_ni2

unread,
Dec 16, 2009, 3:34:04 PM12/16/09
to
I read in the Verilog standard that the VCD syntax allows for
comments:
$comment
This is a comment field.
$end

My question to all of you is: does ANYONE know how to insert this in a
VCD file during simulation? I see all sorts of commands to dump
variables in to the VCD file, and to start and stop dumping, but
nothing on writing comments into the VCD file. Help! Would this be a
simulator-specific thing(if so, I'm using Cadence NC-Sim)- but I would
have thought there would be "generic" support for this.

Thanks for any help you can provide!

Petter Gustad

unread,
Dec 17, 2009, 5:25:45 AM12/17/09
to
icedancer_ni2 <nancy...@ieee.org> writes:

> My question to all of you is: does ANYONE know how to insert this in a
> VCD file during simulation? I see all sorts of commands to dump

I don't think there is a standard way of doing this.

But why would you want to do it? If you would like to communicate some
information from your simulation to your VCD parser you might as well
use a specific net-name in your test-bench, e.g. like RCS_ID here:

http://www.deepchip.com/posts/0342.html

Petter
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?

0 new messages