drdGetMinVoltageSpacing
drdGetMinVoltageSpacing(d_techID t_layerName[ ?constraintGroupt_constrGroupName] [ ?voltage1f_voltage1Val] [ ?voltage2f_voltage2Val] ) =>f_minVolSpaceVal/ nil
Description
Returns the minimum voltage-dependent spacing value defined by the minVoltageSpacing (One layer) constraint for the specified layer based on the specified voltages. The voltage difference is calculated as the absolute difference of the two input voltages, which correspond to the voltages set on the two objects for which you want to retrieve the minimum spacing.
Arguments
|
The constraint group in which |
|
Value Returned
|
The minimum voltage-dependent spacing is not defined for the specified layer or for the specified arguments. |
Examples
cv = geGetEditCellView()
tech = techGetTechFile(cv)
drdGetMinVoltageSpacing(tech "Metal6" ?voltage1 0.4 ?voltage2 0.2)
=> 0.1
Returns the minimum spacing required in any direction between two Metal6 shapes with a voltage difference of 0.2 (0.4 - 0.2) between them.
drdGetMinVoltageSpacing(tech "Metal2" ?voltage1 0.4 ?voltage2 0.2 ?direction "horizontal")
=> 0.15
Returns the minimum spacing required in the horizontal direction between two Metal2 shapes with a voltage difference of 0.2 (0.4 - 0.2) between them.
Return to top