Product Documentation
Virtuoso Space-based Router Command Reference
Product Version IC23.1, September 2023

get_preferred_layers

get_preferred_layers 
[ -route_spec s_routeSpec ] 
[ -net s_netName ] 

Description

Returns the constraint command that sets the preferred routing layers for the given route spec or net. If neither the -net nor the -route_spec argument is specified, the constraint command for the active window are returned.

Arguments

-net s_netName

Specifies a net.

-route_spec s_routeSpec

Specifies a route spec.

Value Returned

s_constraintCmd

Is the constraint command (set_constraint -constraint validRoutingLayers -hardness soft) that can be used to set the current state of the preferred layers.

-1

Indicates that the preferred layers have not been set.

Examples

The following example requests the preferred layers for the active window.

get_preferred_layers

The following example gets the preferred layers for the mem_data[14] net and shows the results.

get_preferred_layers -route_spec LEFDefaultRouteSpec
set_constraint -constraint validRoutingLayers -hardness soft -LayerArrayValue
{ Metal2 }

Related Topics

Design Configuration Commands

set_preferred_layers

unset_preferred_layers


Return to top
 ⠀
X