Coroutine Co-simulation Test Bench
Clone or download

cocotb is a coroutine based cosimulation library for writing VHDL and Verilog testbenches in Python.

Documentation Status Build Status Coverity Scan Status


# Install pre-requisites (waveform viewer optional)
sudo yum install -y iverilog python-devel gtkwave

# Checkout git repositories
git clone

# Run the tests...
cd cocotb/examples/endian_swapper/tests

# View the waveform
gtkwave waveform.vcd

Tutorials and examples