rules_cocotb 0.7.0Latest published 7d ago
MODULE.bazel
bazel_dep(name = "rules_cocotb", version = "0.7.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, September 10, 2026 (8 days ago)
@hw-bzl-bot#10490 rules_cocotb@0.7.0 (#10490)

Languages

Python21.8%
Rust19.2%
VHDL2.7%
SystemVerilog1.4%

Maintainers

@UebelAndre

Versions

0.7.0 +6d2026-09-10
0.6.0 +8d2026-09-04
0.5.0 +12d2026-08-26
0.4.0 +1.4mo2026-08-14
0.3.0 +15d2026-07-02
0.2.0 +1d2026-06-16
0.1.02026-06-15