system_rdl_output

Rules

system_rdl_output

load("@rules_systemrdl//systemrdl:system_rdl_output.bzl", "system_rdl_output")

system_rdl_output(name, exporter, lib, output_group)

An accessor for system_rdl_library targets.

Outputs can be accessed using a filegroup via output_group but that rule will not error if you specified an invalid output group. Consumers who want to guarantee the outputs are generated from system_rdl_library should use this rule

ATTRIBUTES

NameDescriptionTypeMandatoryDefault
nameA unique name for this target.Namerequired
exporterThe exporter to select outputs from. Mutually exclusive with output_Group.Stringoptional""
libThe SystemRDL library.Labelrequired
output_groupThe output group to forward. Mutually exclusive with exporter.Stringoptional""