Rules

Every public rule in rules_vivado, grouped by the build phase it belongs to. All of them resolve their Xilinx install through a registered vivado_toolchain.

Project setup

Synthesis

Implementation

Bitstream

End-to-end flow

  • vivado_flow — convenience macro (loaded from @rules_vivado//vivado:defs.bzl) that chains synthesis → opt → placement → place-opt → routing → bitstream into one target name. See the Quick start for a worked example.

IP packaging

Simulation

  • xsim_test — run a Vivado XSim simulation as a Bazel test target.

Toolchain

Providers

  • VivadoToolchainInfo and friends — the providers passed between phases (VivadoSynthCheckpointInfo, VivadoPlacementCheckpointInfo, VivadoRoutingCheckpointInfo, VivadoIPBlockInfo, VivadoInterfaceInfo).