Setting the Routing Layer Direction in a Local Area
Typically used for power grid orientation, you can set the routing layer direction in a local area by setting the preferred routing directions for the layers in a constraint group and specifying the rectangular or polygonal region to apply the routing directions to using create_preferred_direction_region. The preferred routing directions for the given layers will override the global settings in the region.
The following example sets the preferred routing direction for the M2 layer to be horizontal, and the preferred routing direction for the M3 layer to be vertical, within the given rectangular region.
create_constraint_group -name wrongWay -type route
set_layer_constraint -constraint oaPreferredRoutingDir -group wrongWay \ -StringAsIntValue horzPrefRoutingDir -layer M2
set_layer_constraint -constraint oaPreferredRoutingDir -group wrongWay \
-StringAsIntValue vertPrefRoutingDir -layer M3
create_preferred_direction_region -name region_wrongWayM2 -group wrongWay -region { -3230 -18 -2684 386 }
Related Topics
Preparing the Routing Environment
Return to top