Product Documentation
Virtuoso Layout Suite SKILL Reference
Product Version IC23.1, November 2023

drdGetMinVoltageSpacing

drdGetMinVoltageSpacing(
d_techID
t_layerName
[ ?constraintGroup t_constrGroupName ]
[ ?voltage1 f_voltage1Val ]
[ ?voltage2 f_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

d_techID

The database identifier of the technology library.

t_layerName

The layer name.

?constraintGroup t_constrGroupName

The constraint group in which minVoltageSpacing is defined. This is a user-defined setup constraint group. The default value is foundry.

?voltage1 f_voltage1Val

The voltage value of the first object.

?voltage2 f_voltage2Val

The voltage value of the second object.

Value Returned

f_minVolSpaceVal

The minimum voltage-dependent spacing value.

nil

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
 ⠀
X