<- back to notes ; <- back to syllabus
Instead of using EDA Playground or 8bitWorkshop IDE
from MIT course site
Icarus Verilog (or iVerilog for short) is a open-source Verilog simulation and synthesis tool we use for making fast simulations of Verilog projects. iVerilog works on all three families of operating systems. Details for different operating systems are provided on this site. A few notes from our experience:
If you’re on Windows, it’s best to just use the installer. There’s a link to the installer page at the bottom of the official docs, or you can grab it here. Make sure to check the box to add the executable folders to the path when you install. There’s also an option in the installer to also install GTKWave, feel free to check that too.
We’ll also need to install GTKWave as well. This is a good lightweight waveform viewer, used for displaying simulation output. Detailed install instructions can be found here, and shouldn’t need any significant changes, but we’ve found:
If you’re on Windows and you already installed GTKWave at the same time you installed iVerilog, there’s no need to install it again.
This is the easiest and quickest.
CMD
or POWERSHELL
with elevated privileges, that is, running as Administratorchoco install iverilog
choco install gtkwave
If you’re on Mac, just install it using Homebrew.
brew install icarus-verilog
That seems to be the least painful. macOS people will probably have the easiest time installing from homebrew with brew install --cask gtkwave
. You might need to go the General tab under your Security and Privacy
settings and manually allow GTKWave to run.
If you’re using Debian/Ubuntu Linux, run sudo apt update && sudo apt install -y iverilog
. To install GTKWave, apt install gtkwave
.