C API's for VCD file

  • Thread starter Narendran Kumaraguru Nath
  • Start date
N

Narendran Kumaraguru Nath

Guest
Hi all,

I am going to create an opensource C library, that'll have api's for
opening, closing, writing a VCD file.

Please give me your inputs on what are the operations you guys
comonly perform on a VCD file, so that I can break down it and create
API's for that.

Few of the APIs I've in my mind are
1. Opening a VCD file (returns a handle).
2. Closing a VCD file.
3. Writing out a VCD file.
4. Deleting a signal.
5. Combining several (bit blasted) signals into a bus.
6. Getting the next time when a particular signal changes.
7. Changing the value of a singal (can also specify window).

Also I am planning of giving a scriptable interface to the API in
tcl so that it will help even novice engineers to use the tool.

Suggestions of any kind is welcome.

Thanks & Regards,
Naren.
 
Narendran Kumaraguru Nathan wrote:
I am going to create an opensource C library, that'll have api's for
opening, closing, writing a VCD file.
Assuming your flavor of "opensource" is GPL-compatible, you
can start with the VCD code in Icarus. If you don't mess it
up too much (the version in there has the valuable property
that it actually works), Steve might even track your changes.

- Larry
 
wget http://www.ibiblio.org/pub/Linux/apps/circuits/libvcddump-0.1.2.tgz

The vcd_write.h and README in the tarball might give you some ideas.
Your #5 is good: I haven't had to interface to any simulators which
dumped bitblasted nets so I never implemented that feature.

Regards,
-t


narenkumaraguru@yahoo.co.uk (Narendran Kumaraguru Nathan) wrote in message news:<f2914350.0405100211.3cf0c742@posting.google.com>...
Hi all,

I am going to create an opensource C library, that'll have api's for
opening, closing, writing a VCD file.

Please give me your inputs on what are the operations you guys
comonly perform on a VCD file, so that I can break down it and create
API's for that.

Few of the APIs I've in my mind are
1. Opening a VCD file (returns a handle).
2. Closing a VCD file.
3. Writing out a VCD file.
4. Deleting a signal.
5. Combining several (bit blasted) signals into a bus.
6. Getting the next time when a particular signal changes.
7. Changing the value of a singal (can also specify window).

Also I am planning of giving a scriptable interface to the API in
tcl so that it will help even novice engineers to use the tool.

Suggestions of any kind is welcome.

Thanks & Regards,
Naren.
 
Larry Doolittle <ldoolitt@recycle.lbl.gov> writes:

Narendran Kumaraguru Nathan wrote:
I am going to create an opensource C library, that'll have api's for
opening, closing, writing a VCD file.

Assuming your flavor of "opensource" is GPL-compatible, you
can start with the VCD code in Icarus. If you don't mess it
up too much (the version in there has the valuable property
that it actually works), Steve might even track your changes.
Icarus has a VCD writer (correct me if it reads VCD too). I would also
take a look at some VCD reader code like in gtkwave.

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?
 
Hi,
I was unable to open the libvcddump library today. Tell me more
about it. Can it do the other features that I've mentioned? Does it
give a api access to the vcd file. In that case, can you send/redirect
me the document.
Group,
Is there any other requirements, for which I can write a api for?
Thanks & Regards,
Naren.

bybell@rocketmail.com (Anthony J Bybell) wrote in message news:<30cb2c4.0405101314.5e2ce7bc@posting.google.com>...
wget http://www.ibiblio.org/pub/Linux/apps/circuits/libvcddump-0.1.2.tgz

The vcd_write.h and README in the tarball might give you some ideas.
Your #5 is good: I haven't had to interface to any simulators which
dumped bitblasted nets so I never implemented that feature.

Regards,
-t


narenkumaraguru@yahoo.co.uk (Narendran Kumaraguru Nathan) wrote in message news:<f2914350.0405100211.3cf0c742@posting.google.com>...
Hi all,

I am going to create an opensource C library, that'll have api's for
opening, closing, writing a VCD file.

Please give me your inputs on what are the operations you guys
comonly perform on a VCD file, so that I can break down it and create
API's for that.

Few of the APIs I've in my mind are
1. Opening a VCD file (returns a handle).
2. Closing a VCD file.
3. Writing out a VCD file.
4. Deleting a signal.
5. Combining several (bit blasted) signals into a bus.
6. Getting the next time when a particular signal changes.
7. Changing the value of a singal (can also specify window).

Also I am planning of giving a scriptable interface to the API in
tcl so that it will help even novice engineers to use the tool.

Suggestions of any kind is welcome.

Thanks & Regards,
Naren.
 
Hi,
I was able to read through the README today. The idea seems to be similar.
I will try to add few of other routines I have in my mind. I will also try to
put up a good document of the work you've done. I can't promise anything :) but
will try to do it in a month.
The next thing that comes to my mind - which designers usually hack through
is an SDF file. Do you know of any similar library for modifying an sdf file.
Thanks & Regards,
Naren.

narenkumaraguru@yahoo.co.uk (Narendran Kumaraguru Nathan) wrote in message news:<f2914350.0405120814.72ab9499@posting.google.com>...
Hi,
I was unable to open the libvcddump library today. Tell me more
about it. Can it do the other features that I've mentioned? Does it
give a api access to the vcd file. In that case, can you send/redirect
me the document.
Group,
Is there any other requirements, for which I can write a api for?
Thanks & Regards,
Naren.

bybell@rocketmail.com (Anthony J Bybell) wrote in message news:<30cb2c4.0405101314.5e2ce7bc@posting.google.com>...
wget http://www.ibiblio.org/pub/Linux/apps/circuits/libvcddump-0.1.2.tgz

The vcd_write.h and README in the tarball might give you some ideas.
Your #5 is good: I haven't had to interface to any simulators which
dumped bitblasted nets so I never implemented that feature.

Regards,
-t
 

Welcome to EDABoard.com

Sponsor

Back
Top