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

techSetElectricalRule

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

Description

Updates the value of the layer attribute in the specified technology database that (a) is the first layer attribute with the specified name in a currentDensity subsection of the layerRules section, and (b) is applied to the specified layer or layers. If the specified attribute does not already exist, this function creates a new currentDensity subsection containing the layer attribute. You cannot update or add antennaModels constraints with this function.

Arguments

d_techID

The database identifier of the technology database.

t_constraint

The name of the layer attribute.

Valid values: peakACCurrentDensity, avgACCurrentDensity, rmsACCurrentDensity, avgDCCurrentDensity

g_value

The value of the layer attribute.

Valid values: Any floating-point number, any integer

tx_layer1

The first layer.

Valid values: The layer name, the layer number

tx_layer2

The optional second layer.

Valid values: The layer name, the layer number

Value Returned

t

The currentDensity layer attribute was successfully updated or created.

nil

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

Example

techSetElectricalRule(tfID "peakACCurrentDensity" 0.6 "metal1")
=> t

Sets the peak AC current density for Metal1 to 0.6 user units in the technology database identified by tfID.


Return to top
 ⠀
X