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-06-05 19:26:10
Last Commit At2025-06-03 12:00:04
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 Count554
Commits Count4.7k
Has Issues Enabled
Issues Count2079
Issue Open Count385
Pull Requests Count2000
Pull Requests Open Count38
Pull Requests Close Count350
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private