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

drdGetMinSpanLengthSpacing

drdGetMinSpanLengthSpacing(
d_techID
t_layerName
[ ?constraintGroup t_constrGroupName ]
[ ?span f_spanVal ]
[ ?prl f_prlVal ]
[ ?direction { any | horizontal | vertical } ]
[ ?sameMask { 0 | 1 } ]
)
=> f_minSpanSpaceVal / nil

Description

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

Arguments

d_techID

The database identifier of the technology library.

t_layerName

The layer name.

?constraintGroup t_constrGroupName

  

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

?span f_spanVal

  

The larger of the two spans.

?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_minSpanSpaceVal

The minimum span length spacing value.

nil

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

Examples

cv = geGetEditCellView()
tech = techGetTechFile(cv)
drdGetMinSpanLengthSpacing(tech "Metal1" ?span 0.215)
=> 0.14

Returns the minimum span length spacing defined between two Metal1 shapes. The span of the larger of the two shapes is greater than or equal to 0.215.

drdGetMinSpanLengthSpacing(tech "Metal1" ?span 0.395 ?prl 0.0)
=> 0.13

Returns the minimum span length spacing defined between two Metal1 shapes. The span of the larger of the two shapes is greater than or equal to 0.395 and the prl between the shapes is greater than or equal to 0.0.

drdGetMinSpanLengthSpacing(tech "Metal1" ?span 0.590 ?prl -0.1 ?direction "vertical")
=> 0.12

Returns the minimum span length spacing defined between two Metal1 shapes. The span of the larger of the two shapes is greater than or equal to 0.590 and the prl between the shapes is greater than or equal to -0.1. The spacing direction is vertical.

drdGetMinSpanLengthSpacing(tech "Metal1" ?span 0.590 ?prl -0.1 ?direction "horizontal")
=> nil

Returns nil because span length spacing in the horizontal direction is not defined.

drdGetMinSpanLengthSpacing(tech "Metal1" ?span 0.590 ?prl -0.1 ?direction "vertical" ?sameMask 1)
=> 0.12

Returns the minimum span length spacing defined between two same-mask Metal1 shapes. The span of the larger of the two shapes is greater than or equal to 0.590 and the prl between the shapes is greater than or equal to -0.1. The spacing direction is vertical.


Return to top
 ⠀
X