[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: [OT] vcd file format description



On Thu, Jun 28, 2007 at 07:59:19PM +0200, Werner Hoch wrote:
> gtkwave can read vcd files. The file format looks pretty easy but I 
> haven't found a file format description for it.

I started looking at this for use with gwave, but ended up just using
plain ascii like this:

t b0 b1 b2 b3 b4 b5 b6 b7
0.000000 1 1 1 1 1 1 1 1
2.449132 1 1 1 1 1 1 1 1
2.449219 0 0 0 0 0 0 0 0
2.622049 0 0 0 0 0 0 0 0
2.622135 0 0 0 0 0 0 0 1

It turned out that gwave didn't care about missing timesteps if the data
values were unchanged, so the ascii file turned out to be quite small
for my data - I just needed two lines every time there was a transition.
This was good enough (for me) that the extra effort in doing 'proper'
vcd was not worth the benefit at the time.

I've misplaced the info I saved for vcd file format, but this looks like
a productive google search: vcd value-change-dump    

I'll try to figure out what docs I was looking at before - it all seemed
reasonable simple...

Karl.


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user