Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 1.79 KB

README.md

File metadata and controls

45 lines (33 loc) · 1.79 KB

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

# Install cocotb
pip install ./cocotb

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

# View the waveform
gtkwave waveform.vcd

To use with centos7 and modelsim_ae on user repo:

#add version 3.4 of python sudo yum install python34-libs

#install cd cocotb python34 setup.py install --user

Tutorials and examples