rules_verible 0.6.0Latest published 23h ago
MODULE.bazel
bazel_dep(name = "rules_verible", version = "0.6.0")
README

rules_verible

Bazel rules that wrap the Verible SystemVerilog/Verilog tools — verible-verilog-format, verible-verilog-lint, verible-verilog-diff, and verible-verilog-syntax — for projects that build with rules_verilog.

Setup

Add to MODULE.bazel:

bazel_dep(name = "rules_verilog", version = "1.4.3")
bazel_dep(name = "rules_verible", version = "{see_releases}")

Use in a BUILD.bazel:

load("@rules_verilog//verilog:defs.bzl", "verilog_library")
load("@rules_verible//verible:defs.bzl", "verible_format_test", "verible_lint_test")

verilog_library(
    name = "adder",
    srcs = ["adder.sv"],
)

verible_format_test(
    name = "adder_format_test",
    target = ":adder",
)

verible_lint_test(
    name = "adder_lint_test",
    target = ":adder",
)

Documentation

Full rule documentation, the .bazelrc setup for aspect-driven checks, toolchain overrides, and the fixer commands are at https://hw-bzl.github.io/rules_verible/.

About

Bazel rules for Verible

@hw-bzl/rules_verible@hw-bzl

Languages

C++59.2%
Starlark40.5%
C0.3%

Maintainers

@UebelAndre

Compatibility

Versions

0.6.0 +6d2026-11-12
0.5.0 +2.1mo2026-11-06
0.4.2 +1h100% 42026-09-04
0.4.0 +1.2mo2026-09-03
0.3.0 +2h2026-07-29
0.2.0 +1.7mo2026-07-29
0.1.02026-06-09