Download and install this:
http://bleyer.org/icarus/iverilog-v11-20190809-x64_setup.exe
(This comes with both IcarusVerilog and GTKWave.)
Make sure to check the option to add the executable to path.
Download and install the Homebrew package manager:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
(This will not work on macOS 10.15 Catalina, if you're on Catalina visit https://brew.sh)
Then install the following software:
brew install icarus-verilog
brew cask install scansion
When running Scansion for the first time, you will need to go to your Applications folder, secondary/right click it, then press Open. This is because of macOS's security features.
Use your package manager, on Ubuntu for example:
sudo apt-get install -y iverilog gtkwave
Create a new folder. This will become the project folder.
After creating your module and testbench, you run the commands like this
iverilog -o <filename>.vvp <testbench-name>.v
vvp <filename>.vvp
# If you are on Windows/Linux…
gtkwave <dumpfile>.vcd
# If you are on macOS…
open -a Scansion <dumpfile>.vcd
iverilog -o inverter.vvp inverter_tb.v
vvp inverter.vvp
# If you are on Windows/Linux…
gtkwave signals.vcd
# If you are on macOS…
open -a Scansion signals.vcd
Hi Donn,
can we have a similar open-source tool for system Verilog/UVM code?