Gtkwave: Difference between revisions

From miki
Jump to navigation Jump to search
 
Line 4: Line 4:
== Install / config ==
== Install / config ==
=== Change fonts ===
=== Change fonts ===
* Via commandline:
; Via commandline
<source lang="bash">
<source lang="bash">
gtkwave --rcvar 'fontname_signals Monospace 10' --rcvar 'fontname_waves Monospace 10' data.vcd save.gtkw
gtkwave --rcvar 'fontname_signals Monospace 10' --rcvar 'fontname_waves Monospace 10' data.vcd save.gtkw
Line 11: Line 11:
</source>
</source>


* Via {{file|~/.gtkwaverc}}:
; Via file:
* On Linux: {{file|~/.gtkwaverc}}
* On Windows: {{file|/c/Users/USERNAME/gtkwave.ini}}
* On Linux / Windows: {{file|./gtkwave.ini}}

fontname_signals Monospace 10
fontname_signals Monospace 10
fontname_waves Monospace 10
fontname_waves Monospace 10



=== Keyboard tips ===
=== Keyboard tips ===

Latest revision as of 14:45, 22 May 2025

gtkwave is a waveform visualisation tool

Tips

Install / config

Change fonts

Via commandline
gtkwave --rcvar 'fontname_signals Monospace 10' --rcvar 'fontname_waves Monospace 10' data.vcd save.gtkw
# On Windows - MinGW64:
gtkwave --rcvar 'fontname_signals Arial 10' --rcvar 'fontname_waves Arial 10' data.vcd save.gtkw
Via file
  • On Linux: ~/.gtkwaverc
  • On Windows: /c/Users/USERNAME/gtkwave.ini
  • On Linux / Windows: ./gtkwave.ini
fontname_signals Monospace 10
fontname_waves Monospace 10

Keyboard tips

Go to time
  • F1 to open the window.
Set up marker
  • Alt-M to open marker window.
  • Tab or Down / Up to navigate between fields
  • For OK, Ctrl-Tab then Return!
Note that closing the window will discard the changes :-(
Also, the marked time MUST BE VISIBLE otherwise it will be ignored. As a result, first do a Go to time.