|
| 1 | +Global Routing Constraints |
| 2 | +========================== |
| 3 | +.. _global_routing_constraints: |
| 4 | + |
| 5 | +VPR allows users to designate specific nets in the input netlist as global and define the routing model for the global nets by utilizing a VPR constraints XML file. These routing constraints for global nets are specified inside the VPR constraints file in XML format, as described in the following section. |
| 6 | + |
| 7 | +A Global Routing Constraints File Example |
| 8 | +------------------------------------------ |
| 9 | + |
| 10 | +.. code-block:: xml |
| 11 | + :caption: An example of a global routing constraints file in XML format. |
| 12 | + :linenos: |
| 13 | +
|
| 14 | + <vpr_constraints tool_name="vpr"> |
| 15 | + <global_route_constraints> |
| 16 | + <set_global_signal name="clock*" route_model="dedicated_network" network_name="clock_network"/> |
| 17 | + </global_route_constraints> |
| 18 | + </vpr_constraints> |
| 19 | +
|
| 20 | +
|
| 21 | +Global Routing Constraints File Format |
| 22 | +--------------------------------------- |
| 23 | +.. _global_routing_constraints_file_format: |
| 24 | + |
| 25 | +.. vpr_constraints:tag:: <global_route_constraints>content</global_route_constraints> |
| 26 | +
|
| 27 | + Content inside this tag contains a group of ``<set_global_signal>`` tags that specify the global nets and their assigned routing methods. |
| 28 | + |
| 29 | +.. vpr_constraints:tag:: <set_global_signal name="string" route_model="{ideal|route|dedicated_network}" network_name="string"/> |
| 30 | +
|
| 31 | + :req_param name: The name of the net to be assigned as global. Regular expressions are also accepted. |
| 32 | + :req_param route_model: The route model for the specified net. |
| 33 | + |
| 34 | + * ``ideal``: The net is not routed. There would be no delay for the global net. |
| 35 | + |
| 36 | + * ``route``: The net is routed similarly to other nets using generic routing resources. |
| 37 | + |
| 38 | + * ``dedicated_network``: The net will be routed through a dedicated clock network. |
| 39 | + |
| 40 | + :req_param network_name: The name of the clock network through which the net is routed. This parameter is required when ``route_model="dedicated_network"``. |
| 41 | + |
| 42 | + |
0 commit comments