drdGetMinSpanLengthSpacing
drdGetMinSpanLengthSpacing(d_techID t_layerName[ ?constraintGroupt_constrGroupName] [ ?spanf_spanVal] [ ?prlf_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
Value Returned
|
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