cocotb

cocotb: 基于 Python 的芯片 (RTL) 验证。「cocotb: Python-based chip (RTL) verification」

Github stars Tracking Chart

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

Documentation Status
Build Status
PyPI

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

Main metrics

Overview
Name With Ownercocotb/cocotb
Primary LanguagePython
Program languageMakefile (Language Count: 8)
Platform
License:BSD 3-Clause "New" or "Revised" License
所有者活动
Created At2013-06-12 20:07:15
Pushed At2025-04-26 04:07:54
Last Commit At2025-04-25 11:07:53
Release Count43
Last Release Namev1.9.2 (Posted on 2024-10-26 20:21:01)
First Release Namev0_1 (Posted on )
用户参与
Stargazers Count2k
Watchers Count105
Fork Count548
Commits Count4.6k
Has Issues Enabled
Issues Count2055
Issue Open Count392
Pull Requests Count1942
Pull Requests Open Count40
Pull Requests Close Count346
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private