Cocotb Installation Guide
sudo apt-get install make gcc g++ python3 python3-dev python3-pip pip install cocotb
Compilador & simulador verilog: Icarus Verilog
sudo apt install iverilog
Compilador & simulador VHDL: GHDL
sudo apt install ghdl
Simulators Cocotb notes
Waveform viewer: gtkwave
sudo apt install gtkwave
cd cocotb_examples/adder/tests
make
Change the RTL source language and compiler in Makefile:
VERILOG
- TOPLEVEL_LANG: verilog
- SIM : icarus
VHDL
- TOPLEVEL_LANG: vhdl
- SIM : ghdl
gtkwave -f dump.vcd