Ross ROSS = Recommend OSS · open-source software intelligence for agents

cocotb/cocotb

cocotb: Python-based chip (RTL) verification observed · 2026-08-28

github.com/cocotb/cocotb · homepage · Python · BSD-3-Clause (permissive) observed · 2026-08-28

Health v2 · maintenance only

73/100

  • Activity 99
  • Release rhythm 25
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 191.5
  • age_days: 4830
  • days_rel: 291
  • days_push: 9
  • n_releases_24m: 3

Full methodology

Adoption not part of the score

2483 stars · 674 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

cocotb is a coroutine-based Python framework for writing testbenches that verify VHDL, Verilog, and SystemVerilog RTL designs via cosimulation. It is simulator-agnostic, working with major simulators like Verilator, ModelSim, VCS, Xcelium, GHDL, and Icarus Verilog.

Use cases

  • write RTL testbenches in Python instead of SystemVerilog
  • verify VHDL and Verilog chip designs with a Python testbench
  • run hardware simulation tests in CI pipelines
  • replace UVM with a Python-based verification workflow
  • test mixed-language or mixed-signal designs with one framework
  • drive a Verilator or Icarus Verilog simulation from Python coroutines

When to choose

  • you want to verify RTL designs using Python and its ecosystem instead of HDL testbench languages
  • you need simulator-agnostic verification across multiple commercial and open-source simulators
  • your team is more productive in Python than in SystemVerilog/UVM
  • you want easy CI integration for hardware regression testing

When to avoid

  • you need formal verification or static property checking rather than simulation
  • your team and existing infrastructure are fully committed to UVM/SystemVerilog methodologies
  • you require cycle-accurate synthesis-level performance from the testbench itself
  • your simulator is not among the supported cosimulation targets

Facets

framework · maturity stable

testing simulation developer-tools hardware embedded-systems developer-tools testing windows python cross-platform rtl-verification testbench vhdl verilog systemverilog cosimulation hardware-verification chip-design uvm-alternative linux macos

2 sources

Member repositories

RepositoryRoleHealth v2
cocotb/cocotbmain73

For agents

markdown · JSON · MCP: product_card(name="cocotb/cocotb")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem