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

drdGetMinSpacing

drdGetMinSpacing(
d_techID
t_layerName
[ ?constraintGroup t_constrGroupName ]
[ ?width1 f_width1Val ]
[ ?width2 f_width2Val ]
[ ?prl f_prlVal ]
[ ?direction { any | horizontal | vertical } ]
[ ?sameMask { 0 | 1 } ]
)
=> f_minSpaceVal / nil

Description

Returns the minimum spacing value defined by the minSpacing (One layer) constraint for the specified layer, based on the specified width, parallel run length (prl), direction, and mask values.

For the optional width1, width2, and prl arguments:

Arguments

d_techID

The database identifier of the technology library.

t_layerName

The layer name.

?constraintGroup t_constrGroupName

  

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

?width1 f_width1Val

  

The width of the first shape or the larger of the two shapes.

?width2 f_width2Val

  

The width of the second shape.

?prl f_prlVal

  

The prl between the two shapes.

?direction { any | horizontal | vertical }

  

The direction in which spacing is measured.
Valid values: horizontal, vertical, any (default)

?sameMask { 0 | 1 }

  

Specifies whether the spacing is to be retrieved for shapes on the same mask or on different masks.
Valid values: 0 (different mask), 1 (same mask, default)

Value Returned

f_minSpaceVal

The minimum spacing value.

nil

The minimum spacing is not defined for the specified layer or for the specified arguments.

Examples

cv = geGetEditCellView()
tech = techGetTechFile(cv)
drdGetMinSpacing(tech "Metal5" ?sameMask 0)
=> 0.032

Returns the minimum spacing defined between two Metal5 shapes on different masks.

drdGetMinSpacing(tech "Metal5" ?width1 0.032 ?prl -0.025)
=> 0.048

Returns the minimum spacing defined between two Metal5 shapes on the same mask (default). The width of the larger of the two shapes is greater than or equal to 0.32 and the prl between them is greater than or equal to -0.025.

drdGetMinSpacing(tech "Metal5" ?width1 0.032 ?prl 0.3 ?sameMask 0)
=> 0.07

Returns the minimum spacing defined between two Metal5 shapes on different masks. The width of the larger of the two shapes is greater than or equal to 0.32 and the prl between them is greater than or equal to 0.3.


Return to top
 ⠀
X