Install & Compatibility
Where this runs
tested against v0.3.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
build_error
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 3.2s · import 0.000s · 52MB
52MB installed
● package 52MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
AXIMaster
✓ from cocotb_bus.drivers import AXIMaster
✗ from cocotb_bus.drivers import AXIMaster
Basic cocotb test using cocotb-bus AXI master and monitor.
import cocotb
from cocotb.clock import Clock
from cocotb.triggers import ClockCycles
from cocotb_bus.drivers import AXIMaster
from cocotb_bus.monitors import AXIMonitor
@cocotb.test()
async def test_axi(dut):
cocotb.start_soon(Clock(dut.clk, 10, units='ns').start())
# Reset
dut.rstn.value = 0
await ClockCycles(dut.clk, 5)
dut.rstn.value = 1
# Create AXI master
axi_master = AXIMaster(dut, "axi", dut.clk)
# Write example
await axi_master.write(0x100, 0xDEADBEEF)
# Read back
data = await axi_master.read(0x100, 4)
dut._log.info("Read data: %s", data)
Upgrade
Version history
0.3.0latest on PyPI · released Jan 15, 2026
Audit
Dependencies
cocotbrequiredRuntime dependency; cocotb-bus is a companion library for cocotb.