elms / cocotb

Coroutine Co-simulation Test Bench

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Coroutine Co-simulation Test Bench

License:Other


Languages

Language:Python 35.3%Language:C++ 22.4%Language:C 15.5%Language:VHDL 12.7%Language:Makefile 7.8%Language:Verilog 5.3%Language:SystemVerilog 0.8%Language:Coq 0.3%