optimize_routes
optimize_routes
[ -region {f_xlo f_ylo f_xhi f_yhi} ]
[ -set d_setObj ]
[ -exclude_net {s_netName …} ]
[ -exclude_set d_setObj ]
[ -exclude_type {[power][ground][clock]} ]
[ -maximize_cuts [none | useMinRule | useMaxRule | useViaDef] ]
Description
Attempts to improve existing routing by reducing wrongway routing, removing unnecessary level changes, straightening wires, and, optionally, maximizing cuts on wide wires. This command does not operate on guides.
optimize_routes will be removed in a future release. You are encouraged to migrate immediately to route_optimize, which provides better performance and more options, including pin connection, taper, and via extent optimization.
Arguments
|
-exclude_net {s_netName …}
|
|
|
Excludes the named nets from processing.
|
|
-exclude_set d_setObj
|
|
|
Excludes nets in the given set from processing. Unless excluded nets are locked or fixed, they can be shifted when routing other nets.
|
|
-exclude_type {[power][ground][clock]}
|
|
|
Excludes nets of the specified types from processing.
|
|
-maximize_cuts [none | useMinRule | useMaxRule | useViaDef]
|
|
|
When connecting to wide wires, will maximize the number of cuts per via after routing, where possible, according to the specified setting:
|
|
|
none
|
(Default) No post-routing effort to maximize cuts.
|
|
|
useMaxRule
|
Uses the maximum of via parameters from the applicable oaStdViaDef and existing via rules to maximize cuts.
|
|
|
useMinRule
|
Uses constraint values for the cut layer and if not found, allows these constraints to be derived from the default oaStdViaDef.
|
|
|
useViaDef
|
Uses via parameters from the applicable oaStdViaDef instead of using constraint values for the cut layer. No vias will be created that violate existing via rules.
|
|
-region {f_xlo f_ylo f_xhi f_yhi}
|
|
|
Operates in the specified region, given the lower-left and upper-right coordinates. If not specified, operates on the entire top cellview.
|
|
-set d_setObj
|
Operates only on nets in the given set. If not specified, operates on the entire top cellview.
|
Value Returned
|
0
|
Command was run.
|
|
-1
|
The command failed due to a syntax or command error.
|
Examples
The following example optimizes top-level routes currently in the workspace.
optimize_routes -region [get_window_area]
Related Topics
Route Commands
route_optimize
fix_errors
Return to top