Product Documentation
Virtuoso Space-based Router Constraint Reference
Product Version IC23.1, June 2023

get_layerarray_constraint

get_layerarray_constraint 
-constraint s_constraintName 
-layer_array {s_layerName} 
[-group s_groupName] 
[-hardness {hard | soft | preferred | default}] 
[-model {OXIDE1 | OXIDE2 | OXIDE3 | OXIDE4}] 
[-parameter s_parameterName] 
[{-row_value f_value | -row_index i_index}] 
[{-col_value f_value | -col_index i_index}] 

Description

Returns the value of the named constraint for the given layer array, or list of three or more layers.

Arguments

-col_index i_index

Specifies the column index to use for looking up the constraint value in a 2-D table. Must be in the range of 0 to number of columns-1.

-col_value f_value

Specifies the column key value to use for looking up the constraint in a 2-D table. Must be a dimension value, typically a length.

-constraint s_constraintName

Specifies the name of the constraint. If you include this argument without a constraint name, the list of valid layer array constraint names is output.

-group s_groupName

Specifies the name of the constraint group, or rule spec. Defaults to the foundry rule spec for OA constraints, and the design rule spec for all other constraints.

-hardness {hard | soft | preferred | default}

Returns the constraint value for the given setting. By default, the preferred value is returned.

default

Returns the first value found: hard or soft.

hard

Returns the hard value.

preferred

Returns the first value found: soft or hard.

soft

Returns the soft value.

-layer_array {s_layerName}

Specifies the layers that the constraint applies to. The layer array is a list of three or more layers.

-model {OXIDE1 | OXIDE2 | OXIDE3 | OXIDE4}

Returns the constraint value for the given antenna model. This argument is only used with antenna category constraints.

-parameter s_parameterName

  

Specifies that the value of the named parameter be output, instead of the constraint value. By default, the constraint value is returned.

-row_index i_index

Specifies the row index for looking up the constraint value in a 1-D or 2-D table. Must be in the range of 0 to number of rows-1.

-row_value f_value

Specifies the row selection value for looking up the constraint value in a 1-D or 2-D table. Must be a dimension value, typically a width.

Value Returned

value

Is the value of the specified parameter if -parameter is given, otherwise, is the constraint value.

-1

The constraint or parameter does not exist or is not set.

Examples

Returns the list of valid layer array constraint names, provided a design is already loaded, and layers Metal1, Metal2, and Metal3 are valid layers.

get_layerarray_constraint -layer_array {Metal1 Metal2 Metal3} -constraint foo

Related Topics

set_layerarray_constraint


Return to top
 ⠀
X