I have a huge VCD
file that I use in combination with gtkwave
to observe certain signal behaviors. I have a list of signals stored into a .txt
file which are the ones that I wish to probe. The thing is that by doing the insertion of the signals manually by hand is a painstakingly long process. So my question here is,
Is there a way, given the .txt
file to compose a .tcl
script that filters and adds the designated signals from the list to the waveform editor?
Well, after scouting on manuals and some
gists
I found here and there seems that there is a load ofgtkwave
instructions one can use that are listed (most of them) on thegtkwave
manual (Appendix E) here. So in a nutshell all one has to do is to write a.tcl
script in the following format:and then invoke the gktwave as:
gtkwave VCD_file.vcd --script=add_waves.tcl
Furthermore, access to the GUI menu options are viable as well via the following syntax in
tcl
: