convert_routing_shapes
convert_routing_shapes
-set d_setObj
{-to_regular [ true | false ]} | {-to_special [ true | false ] [-to_trunk [ true | false ]]}
[ -persistent [ true | false ] ]
[ -verbose [ true | false ] ]
Description
Converts special (shape term) shapes to regular route shapes to permit editing, and converts regular route shapes that were created in the current session to special shape terms. You can convert individual shapes (segments and vias), entire routes, or nets. The converted shapes will automatically revert to their original state before saving, unless you make them persistent.
Special nets from DEF are loaded as shape terms, which are not editable and do not participate in most routing-related operations. Special net route segments and vias are typically on the wire:pin and via:pin purposes, respectively. Regular route segments and vias are on the wire:detail and via:detail purposes, respectively. When routing is converted, the purposes are changed correspondingly. If the original purpose of a shape is not one of these purposes, its purpose will not be changed. For example, the purpose for shapes on the blockage purpose will not be changed.
Converting Special to Regular
Since pre-existing special nets are not editable, if you need to make any changes to them, such as adding tie-offs to power connections, you must convert them to regular route shapes to make them editable. To keep the regular route shapes when saving, you must make the conversion persistent, otherwise, the converted routing shapes will automatically revert to shape terms before saving.
Converting Regular to Special
Only new routing created during the current session can be converted to special shape terms. Routing data read in from an OpenAccess database cannot be converted. In addition, Space-based Router and Chip Optimizer cannot automatically revert from special to regular in One Shape Term Per Net mode. To convert from regular to special, then revert back to regular, you must use one of the following methods:
-
With Multiple Shape Terms Per Net mode (
db.one_shape_term_per_netisfalse), load the design, convert to special, then auto revert back to regular on save. -
With One Shape Term Per Net mode (
db.one_shape_term_per_netistrue), load the design, convert to special, then manually convert back to regular persistently before saving.
Arguments
Examples
The following commands change netA, that was read in from DEF as a special net, from shape terms to editable regular routes.
set NET_A [find_net -name netA -ignore_case true -no_wildcard false ]
convert_routing_shapes -set $NET_A -to_regular true
Related Topics
Return to top