techSetElectricalRule
techSetElectricalRule(d_techIDt_constraintg_valuetx_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
|
The name of the layer attribute.
Valid values: |
|
Value Returned
|
The |
|
|
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