EEVblog Electronics Community Forum

Electronics => Microcontrollers => Topic started by: legacy on August 17, 2017, 02:32:08 pm

Title: GTKWave, do you know a way to create a VCD file?
Post by: legacy on August 17, 2017, 02:32:08 pm
I am going to create a mini-project which aims to use GTKWave as VCD visualizer.
But I can't find an example on how to create (from a C piece of code) a VCD file.

Anyone?
Title: Re: GTKWave, do you know a way to create a VCD file?
Post by: Kalvin on August 17, 2017, 02:53:16 pm
There is a Python package available:

http://pyvcd.readthedocs.io/en/latest/ (http://pyvcd.readthedocs.io/en/latest/)

Maybe you ca use that as a converter, or just as a starting point for a C implementation.
Title: Re: GTKWave, do you know a way to create a VCD file?
Post by: legacy on August 17, 2017, 03:11:20 pm
There is a Python package available:

http://pyvcd.readthedocs.io/en/latest/ (http://pyvcd.readthedocs.io/en/latest/)

Maybe you ca use that as a converter, or just as a starting point for a C implementation.

thanks  :D
Title: Re: GTKWave, do you know a way to create a VCD file?
Post by: legacy on August 17, 2017, 07:49:54 pm
With Xilinx ISim, this (https://www.xilinx.com/support/documentation/sw_manuals/xilinx11/ism_cl_vcd.htm) is useful as well.