Coroutine Co-simulation Test Bench
Python C++ C VHDL Makefile Verilog Other
Clone or download
stuarthodgson Merge pull request #615 from marcoep/read_virtualenv_python_path
Adhere to virtualenv settings for choosing python interpreter
Latest commit deac486 Jun 12, 2018

README.md

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

Documentation Status Build Status Coverity Scan Status

Quickstart

# 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

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

# View the waveform
gtkwave waveform.vcd

Tutorials and examples