get_layerpair_constraint
get_layerpair_constraint
-constraint s_constraintName
-layer1 s_layerName
-layer2 s_layerName
[-purpose1 s_purposeName]
[-purpose2 s_purposeName]
[-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}]
[-symmetric [true | false]]
Description
Returns the value of the named constraint for the two given layers or layer purpose pairs.
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 pair 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.
|
|
-layer1 s_layerName
|
Specifies the name of the first layer.
|
|
-layer2 s_layerName
|
Specifies the name of the second layer.
|
|
-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.
|
|
-purpose1 s_purposeName
|
|
|
With -layer1, specifies the layer purpose pair for the first layer.
|
|
-purpose2 s_purposeName
|
|
|
With -layer2, specifies the layer purpose pair for the second layer.
|
|
-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.
|
|
-symmetric [true | false]
|
|
|
Indicates whether the constraint is symmetric with respect to the layer order. Defaults to true.
|
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
Outputs the list of valid layer pair constraint names, provided a design is already loaded and Metal1 and Metal2 are valid layers.
get_layerpair_constraint -layer1 Metal1 -layer2 Metal2 -constraint foo
Related Topics
set_layerpair_constraint
Return to top