skillfed

cocotb-bus

cocotb-bus v0.3.0 437.2K downloads/30d#6,672 on PyPI79
License unclear Active released

What it is and what it does

cocotb-bus is a library of pre-packaged testbenching utilities and reusable bus interface models designed to work with cocotb, a Python framework for hardware verification. It sits on top of cocotb and scapy, providing abstraction layers for common bus protocols and simulation patterns to reduce boilerplate in hardware testbench development.

The package is no longer actively maintained, as stated in its own documentation. While the last commit is recent, the library itself has not had a release in 265 days. This means new features and bug fixes are unlikely, and compatibility with newer versions of cocotb or Python may drift over time.

Use it for:

  • Building reusable testbenches for common hardware bus protocols without writing interface models from scratch
  • Accelerating cocotb-based verification projects by leveraging pre-built bus abstractions
  • Prototyping hardware simulation environments where standard bus interfaces are needed
  • Learning cocotb verification patterns through example bus interface implementations

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

cocotb-bus provides pre-built testbenching tools and reusable bus interface models for cocotb, a Python-based hardware verification framework.

Yes, with strong conditions. The package is useful for cocotb users who need standard bus interfaces and can tolerate an unmaintained library. The unclear license is a significant blocker—verify licensing terms before use in commercial or proprietary projects. Low install friction and zero known vulnerabilities are positive, but the lack of active maintenance means you should expect to fork or patch it if issues arise.

Install

cocotb-bus on PyPI

pip

pip install cocotb-bus

uv

uv add cocotb-bus

poetry

poetry add cocotb-bus

Installing cocotb-bus

Before you install

Installation is straightforward with low friction—a pure Python wheel with only cocotb and scapy as runtime dependencies. However, the package is explicitly unmaintained per its own caution notice, and the last release was 265 days ago.

License in practice

License status is unclear—no SPDX identifier or raw license text is available in the package metadata, making it impossible to determine what terms govern use or redistribution.

Quickstart

pip install cocotb-bus
import cocotb_bus

Requires cocotb and scapy as runtime dependencies; requires Python >=3.6

Verify before relying

  • What specific bus interfaces and testbenching tools are included in version 0.3.0
  • Whether the unmaintained status affects compatibility with recent cocotb releases
  • How the unmaintained status will affect long-term support and security updates

Package facts

License not declared (unclear)
Python support supports the current Python release (>=3.6)
Install friction low — pure-Python wheel
Runtime dependencies 2 — cocotb, scapy
Maintenance actively maintained — 265 days since the last release
Last repo commit
First released
Downloads 437,152/month — #6,672 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: cocotb_bus-0.3.0-py3-none-any.whl

Tags

cocotb bus interfaceshardware testbench toolscocotb verification librariesreusable bus modelshardware simulation testingcocotb testbenchingdigital verification framework
hardware-verificationcocotb-ecosystemunmaintained

More Testing packages