GTKWave is a fully feature graphical viewing package that supports several graphical data storage standards, but it also happens to support VCD, which is the format that vvp
will output. So, to pick up GTKWave, you have a couple options
sudo port install gtkwave
. This will probably want to install on the dependencies to. Note this method will usually get you an older version. If you don't have MacPorts installed, there is a installation setup example for doing this on this page. Yes! You will need all of the xcode developer tools, as this methods will "build" you a GTKWave from source.When installation is done, you may be asked to select a python version. I already had 2.7.10 installed so I never "selected" a new one.
At this point you can start gtkwave from the command line with gtkwave
. When it starts you may be asked to install, or update XQuarts. Do so. In my case XQuarts 2.7.11 is installed.
Note: I actually needed to reboot to get XQuarts correctly, then I typed gtkwave
again and the application comes up.
In the next example, I will create two independent files, a testbench and module to test, and we will use the gtkwave to view the design.