Product Documentation
Virtuoso Technology Data SKILL Reference
Product Version IC23.1, June 2023

techSetSpacingRule

techSetSpacingRule(
d_techID 
t_constraint 
g_value 
tx_layer1 
[ tx_layer2 ]
) 
=> t / nil

Description

Updates the value of the constraint in the specified technology database that (a) is in the foundry constraint group, (b) is the first hard constraint with the specified name in a spacings subsection, and (c) is applied to the specified layer or layers. If the specified constraint does not already exist, this function creates a new spacings section containing the constraint.

Arguments

d_techID

The database identifier of the technology database.

t_constraint

The name of the spacing constraint.

Valid values: Any valid spacing constraint name

g_value

The value of the spacing constraint.

Valid values: Any floating-point number, any integer

tx_layer1

The first layer.

Valid values: The layer name or number

tx_layer2

The optional second layer.

Valid values: The layer name or number

Value Returned

t

The spacing constraint was updated or created successfully.

nil

The technology database does not exist or the layers are not defined.

Example

techSetSpacingRule(tfID "minSpacing" 0.6 "metal1")
=> t

Sets the minimum spacing constraint for metal1 objects to 0.6 user units in the foundry constraint group of the technology database identified by tfID.


Return to top
 ⠀
X