Razer6 / 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

# Install cocotb
pip install ./cocotb

# 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 38.6%Language:C++ 21.0%Language:C 14.5%Language:VHDL 11.9%Language:Makefile 7.9%Language:Verilog 4.6%Language:SystemVerilog 1.2%Language:Coq 0.3%Language:Dockerfile 0.1%