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

set_constraint_parameter

set_constraint_parameter 
-name s_constraintName 
{ -BoolValue {true | false}
| -Value f_userunit 
| -IntValue i_value 
| -FltValue f_value 
| -LayerValue s_layerName 
| -StringAsIntValue s_value 
| -StringValue s_value 
| -DualValue {f_userunit f_userunit} 
| -DualValueTbl {{f_userunit f_userunit}…} 
| -OneDDualArrayTblValue {{f_width i_pairCount {{f_ext f_oppExt}…}}…} 
| -ValueArrayValue {f_userunit …} 
| -RangeValue s_range 
| -RangeArrayValue {s_range …} 
| -LayerDualArrayTblValue {s_value i_count {{f_userunit f_userunit}…}} 
| {{-Int1DTblValue {{f_userunit i_value} …}} 
  | -OneDTblValue {{f_userunit f_userunit}…}} 
  [-row_name s_name] 
  [-row_interpolation {snap_down | snap_down_inclusive | snap_up 
  | snap_up_inclusive | linear}] 
  [-row_extrapolation {{snap_down | snap_up | linear} {snap_down | snap_up 
  | linear}}] 
| {-TblCols {f_userunit} 
  { -Int2DTblValue {{f_userunit {i_value …}} …} 
  | -TwoDTblValue {{f_userunit {f_userunit …}} …}} 
  [-row_name s_name] 
  [-row_interpolation {snap_down | snap_down_inclusive | snap_up 
  | snap_up_inclusive | linear}] 
  [-row_extrapolation {{snap_down | snap_up | linear} {snap_down | snap_up 
  | linear}}] 
  [-col_name s_name] 
  [-col_interpolation {snap_down | snap_down_inclusive | snap_up 
  | snap_up_inclusive | linear}] 
  [-col_extrapolation {{snap_down | snap_up | linear} {snap_down | snap_up 
  | linear}}]} 

Description

Sets a constraint parameter. This command must be issued to set the parameter before setting the constraint to which it applies.

Arguments

-BoolValue {true|false}

Specifies the Boolean value for this constraint parameter.

-col_extrapolation {{snap_down | snap_up | linear} {snap_down | snap_up | linear}}

Indicates how the value is extrapolated for the 2-D table column. The first entry applies to keys below the range of the table, and second entry applies to keys above the range of the table.

snap_down

Returns the constraint parameter value for the highest column value if the key is greater than the highest column value.

snap_up

Returns the constraint parameter value for the lowest column value if the key is less than the lowest column value.

linear

-col_interpolation {snap_down | snap_down_inclusive | snap_up | snap_up_inclusive | linear}

Indicates how the value is interpolated for the 2-D table column when the column key value does not match a column value but is within the range of the column values.

snap_down

Returns the constraint parameter value for the next lower column value.

snap_down_inclusive

Returns the constraint parameter value for the next lower header value, including when the key matches the higher header value.

snap_up

Returns the constraint parameter value for the next higher row value.

snap_up_inclusive

Returns the constraint parameter value for the next higher header value, including when the key matches the lower header value.

linear

Returns a constraint parameter value that is between the values for the next lower and the next higher values, in proportion to where the key is in that range.

-col_name s_name

Specifies the name for the 2-D table column. Defaults to length.

-DualValue {f_userunit f_userunit}

Sets the constraint parameter to dual dimensions in user units.

-DualValueTbl {{f_userunit f_userunit}…}

Sets the constraint parameter to a table of DualValue in user units.

-FltValue f_value

Specifies the float value for this constraint parameter.

-Int1DTblValue {{f_userunit i_value} …}

Sets the constraint parameter to the 1-D table of paired values. Each pair includes a row value (typically representing width) and an integer constraint value.

-Int2DTblValue {{f_userunit {i_value …}} …}

Sets a 2-D table of integer values. Each set includes a row value and one integer value for each column value given by the -TblCols argument.

-IntValue i_value

Specifies the integer value for this constraint parameter.

-LayerDualArrayTblValue {s_layerName i_count {{f_userunit f_userunit}…}}

Sets a table of i_count float value pairs for a given setting (s_value). For example, this is used to set minimum spacing/minimum parallel run length pairs for a given layer.

-LayerValue s_layerName

Specifies the layer name for this constraint parameter.

-name s_constraintName

Specifies the name of the parameter to add to the next constraint. See the tables in Constraint Parameters names of the built-in constraint parameters.

-OneDDualArrayTblValue {{f_width i_pairCount {{f_ext f_oppExt} …}}…}

Sets the parameter to the 1-D table of dual dimension arrays. Each set includes a row value, representing width, a count of dual dimension pairs in the array, and the dual dimension array constraint value. The table must be enclosed in braces and cannot include braces. The following example is acceptable,

{1 2 1.0 1.2 1.5 1.7 2 1 1.3 1.6}

whereas the next example is not acceptable:

{1 2 1.0 {1.2 1.5 1.7 2} 1 1.3 1.6}

-OneDTblValue {{f_userunit f_userunit} …}

Sets the parameter to the 1-D table of paired values. Each pair includes a row value (typically representing width) and a constraint value in user units.

-RangeArrayValue {s_range}

Sets the constraint parameter to a list of ranges using the format given in Range Values.

-RangeValue s_range

Sets the constraint parameter to a range using the format given in Range Values.

-row_extrapolation {{snap_down | snap_up | linear} {snap_down | snap_up | linear}}

Indicates how the value is extrapolated for the 1-D table row. The first entry applies to keys below the range of the table, and second entry applies to keys above the range of the table.

snap_down

Returns the constraint value for the highest row value if the key is greater than the highest row value.

snap_up

Returns the constraint value for the lowest row value if the key is less than the lowest row value.

linear

-row_interpolation {snap_down | snap_down_inclusive | snap_up | snap_up_inclusive | linear}

Indicates how the value is interpolated for the 1-D table row.

snap_down

Returns the constraint value for the next lower row value.

snap_down_inclusive

Returns the constraint value for the next lower header value, including when the key matches the higher header value.

snap_up

Returns the constraint value for the next higher row value.

snap_up_inclusive

Returns the constraint value for the next higher header value, including when the key matches the lower header value.

linear

Returns a constraint value that is between the values for the next lower and the next higher row values, in proportion to where the key is in that range.

-row_name s_name

Specifies the name for the 1-D table row. Defaults to width.

-StringAsIntValue s_value

Sets the constraint parameter to an integer value that is mapped to the given string.

-StringValue s_value

Specifies the string value for this constraint parameter.

-TblCols {i_width}

Specifies a list of column values for the 2-D table.

-TwoDTblValue {{f_userunit {f_userunit …}}…}

Sets the constraint parameter to the 2-D table of ordered sets. Each set includes a row value (typically representing width) and one constraint value in user units for each column value given by the -TblCols argument.

-Value f_userunit

Specifies the value in user units for this constraint parameter.

-ValueArrayValue {f_userunit…}

Sets the constraint parameter to the list of values in user units (user units).

Examples

The minEdgeMaxCount constraint has required parameter, maxLength. The following sets both of these values.

set_constraint_parameter -name maxLength -Value 0.3
set_layer_constraint -layer Metal2 -constraint minEdgeMaxCount -IntValue 2 -hardness hard

Related Topics

set_constraint

set_layer_constraint

set_layerarray_constraint

set_layerpair_constraint


Return to top
 ⠀
X