verilog rules
Bazel rules for Verilog / SystemVerilog.
Setup
bazel_dep(name = "rules_verilog", version = "{version}")
Rules
Providers
verilog_library
load("@rules_verilog//verilog:defs.bzl", "verilog_library")
verilog_library(name, deps, srcs, hdrs, compile_data, top)
TODO
ATTRIBUTES
| Name | Description | Type | Mandatory | Default |
|---|---|---|---|---|
| name | A unique name for this target. | Name | required | |
| deps | The list of other libraries to be linked. | List of labels | optional | [] |
| srcs | Verilog or SystemVerilog sources. | List of labels | optional | [] |
| hdrs | Verilog or SystemVerilog headers. | List of labels | optional | [] |
| compile_data | TODO | List of labels | optional | [] |
| top | The top of the module. If unset, a file must be found matching the name of the target. | Label | optional | None |
VerilogInfo
load("@rules_verilog//verilog:defs.bzl", "VerilogInfo")
VerilogInfo(compile_data, deps, hdrs, srcs, top)
Verilog provider
FIELDS