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

Installation

Cocotb can be installed by running pip install cocotb.

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.7%Language:C++ 20.8%Language:C 14.5%Language:VHDL 11.8%Language:Makefile 8.1%Language:Verilog 4.6%Language:SystemVerilog 1.2%Language:Coq 0.3%Language:Dockerfile 0.1%