drdGetMinSpacing
drdGetMinSpacing(d_techID t_layerName[ ?constraintGroupt_constrGroupName] [ ?width1f_width1Val] [ ?width2f_width2Val] [ ?prlf_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:
-
If the
minSpacingconstraint is a "scalar", that is, defined without a lookup table, do not specifywidth1,width2, andprl. -
If the
minSpacingconstraint is indexed onwidth, specify the larger of the two widths aswidth1. -
If the
minSpacingconstraint is indexed onwidthandlength, specify the larger of the two widths aswidth1and the prl between the shapes asprl. -
If the
minSpacingconstraint is indexed ontwoWidthsandlength, specify the width of the first shape aswidth1, the width of the second shape aswidth2, and the prl between them asprl.
Arguments
Value Returned
|
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