rules_cocotb 0.3.0Latest published 6d ago
MODULE.bazel
bazel_dep(name = "rules_cocotb", version = "0.3.0")
README

rules_cocotb

Bazel rules that run cocotb Python testbenches against Verilog/SystemVerilog and VHDL modules.

The two public rules are:

  • cocotb_test — a Bazel test target that pairs a Verilog/VHDL *_library with one or more cocotb Python sources, runs them under the simulator picked by the active toolchain.
  • cocotb_toolchain — binds cocotb to one or more cocotb_*_sim integrations (Verilator, Icarus, GHDL, NVC, Questa/ModelSim, Riviera/Active-HDL, VCS, Xcelium, DSim, xsim).

Full documentation, end-to-end example, and per-simulator status are hosted at https://hw-bzl.github.io/rules_cocotb/.

About

Bazel rules for Cocotb test framework

@hw-bzl/rules_cocotb@hw-bzl
Homepage
Thursday, July 2, 2026 (6 days ago)
@hw-bzl-bot#9536 rules_cocotb@0.3.0 (#9536)

Languages

Python29.2%
VHDL2.6%
SystemVerilog1.7%

Maintainers

@UebelAndre

Versions

0.3.0 +15d2026-07-02
0.2.0 +1d2026-06-16
0.1.02026-06-15