Implementation-phase rules: placement, physical optimization, routing.
Rules
vivado_place_optimize
load("@rules_vivado//vivado:implementation.bzl", "vivado_place_optimize")
vivado_place_optimize(name, checkpoint, phys_opt_directive, place_optimize_template, threads)
Run post-placement physical optimization.
ATTRIBUTES
| Name | Description | Type | Mandatory | Default |
|---|---|---|---|---|
| name | A unique name for this target. | Name | required | |
| checkpoint | Placement checkpoint. | Label | required | |
| phys_opt_directive | The optimization directive. | String | optional | "AggressiveExplore" |
| place_optimize_template | The placement tcl template | Label | optional | "@rules_vivado//vivado/private:place_optimize.tcl.template" |
| threads | Threads to pass to vivado which defines the amount of parallelism. | Integer | optional | 8 |
vivado_placement
load("@rules_vivado//vivado:implementation.bzl", "vivado_placement")
vivado_placement(name, checkpoint, placement_directive, placement_template, threads)
Run placement on a (synthesis-optimized) checkpoint.
ATTRIBUTES
| Name | Description | Type | Mandatory | Default |
|---|---|---|---|---|
| name | A unique name for this target. | Name | required | |
| checkpoint | Synthesis checkpoint. | Label | required | |
| placement_directive | The optimization directive. | String | optional | "Explore" |
| placement_template | The placement tcl template | Label | optional | "@rules_vivado//vivado/private:placement.tcl.template" |
| threads | Threads to pass to vivado which defines the amount of parallelism. | Integer | optional | 8 |
vivado_routing
load("@rules_vivado//vivado:implementation.bzl", "vivado_routing")
vivado_routing(name, checkpoint, route_directive, route_template, threads)
Run routing on a placement checkpoint.
ATTRIBUTES
| Name | Description | Type | Mandatory | Default |
|---|---|---|---|---|
| name | A unique name for this target. | Name | required | |
| checkpoint | Placement checkpoint. | Label | required | |
| route_directive | The routing directive. | String | optional | "Explore" |
| route_template | The routing tcl template | Label | optional | "@rules_vivado//vivado/private:route.tcl.template" |
| threads | Threads to pass to vivado which defines the amount of parallelism. | Integer | optional | 8 |