Low Cost PCB's Low Cost Components

Author Topic: GTKWave, do you know a way to create a VCD file?  (Read 234 times)

0 Members and 1 Guest are viewing this topic.

Online legacy

  • Super Contributor
  • ***
  • Posts: 2563
GTKWave, do you know a way to create a VCD file?
« on: August 18, 2017, 12:32:08 AM »
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?
 

Offline Kalvin

  • Super Contributor
  • ***
  • Posts: 1419
  • Country: fi
  • Embedded SW/HW.
Re: GTKWave, do you know a way to create a VCD file?
« Reply #1 on: August 18, 2017, 12:53:16 AM »
There is a Python package available:

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

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

Online legacy

  • Super Contributor
  • ***
  • Posts: 2563
Re: GTKWave, do you know a way to create a VCD file?
« Reply #2 on: August 18, 2017, 01:11:20 AM »
There is a Python package available:

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
 

Online legacy

  • Super Contributor
  • ***
  • Posts: 2563
Re: GTKWave, do you know a way to create a VCD file?
« Reply #3 on: August 18, 2017, 05:49:54 AM »
With Xilinx ISim, this is useful as well.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf