cocotb is a coroutine based cosimulation library for writing VHDL and Verilog testbenches in Python.
- Read the documentation
- Get involved:
- Raise a bug / request an enhancement (Requires a GitHub account)
- Join the mailing list
- Join the Gitter chat room
- Get in contact: E-mail us
- Follow us on twitter: @PVCocotb
Cocotb can be installed by running pip install cocotb
.
# Install pre-requisites (waveform viewer optional)
sudo yum install -y iverilog python-devel gtkwave
# Checkout git repositories
git clone https://github.com/potentialventures/cocotb.git
# Install cocotb
pip install ./cocotb
# Run the tests...
cd cocotb/examples/endian_swapper/tests
make
# View the waveform
gtkwave waveform.vcd