Layer-Purpose Pair Constraints
Many constraints must be applied to layers, but a few can also be applied to user-defined layer purpose pairs. The layer purpose pairs must be defined in the techPurposes section of the technology file, and only layer purpose pair constraints in the foundry constraint group are checked.
The following constraints can be applied to user-defined layer purpose pairs, as well as to layers:
To apply layer purpose pair constraints, the user-defined purposes must be specified in the techPurposes section of the technology file with either sigType or voltageRange set, and techVersion ("1.0") must be specified in the controls section of the technology file.
Example
This example sets the following conditions:
-
The minimum width for
("Metal1" "HV")shapes is 0.14, and for all otherMetal1shapes, it is 0.12. -
The minimum spacing for
("Metal1" "LV")shapes is 0.4. -
The minimum spacing for
("Metal1" "logic")shapes is 0.5. -
The minimum spacing for
("Metal1" "HV")shapes is 1.0. -
The minimum clearance between a
("Metal1" "HV")shape and a("Metal1" "LV")shape is 0.5. -
The minimum clearance between a
("Metal1" "HV")shape and a("Metal1" "logic")shape is 0.7. -
The minimum clearance between a
("Metal1" "HV")shape and aV1shape is 0.8.
The user-defined logic, hv, and lv purposes are specified in the techPurposes section of the technology file, and techVersion ("1.0") is specified in the controls section of the technology file.
controls (
techVersion ("1.0")
)
techPurposes(
;( PurposeName Purpose# Abbreviation [Attributes] )
;( ----------- -------- ------------ ------------ )
;User-Defined Purposes:
( logic 2000 LGC 'sigType "digital" 'parent "drawing")
( HV 2010 HV 'sigType "digital" 'parent "drawing")
( LV 2020 LV 'sigType "digital" 'parent "drawing")
) ;techPurposes
In the foundry constraint group, the minimum width, spacing, and clearance constraints are specified as follows:
set_layer_constraint -constraint minWidth -layer Metal1 -hardness hard \
-Value 0.12
set_layer_constraint -constraint minWidth -layer Metal1 -purpose HV \
-hardness hard -Value 0.14
set_layer_constraint -constraint minSpacing -layer Metal1 -purpose LV \
-hardness hard -Value 0.4
set_layer_constraint -constraint minSpacing -layer Metal1 -purpose logic \
-hardness hard -Value 0.5
set_layer_constraint -constraint minSpacing -layer Metal1 -purpose HV \
-hardness hard -Value 1.0
set_layerpair_constraint -constraint minClearance -layer1 Metal1 \
-purpose1 HV -layer2 Metal1 -purpose2 LV -hardness hard -Value 0.5
set_layerpair_constraint -constraint minClearance -layer1 Metal1 \
-purpose1 HV -layer2 Metal1 -purpose2 logic -hardness hard -Value 0.7
set_layerpair_constraint -constraint minClearance -layer1 Metal1 \
-purpose1 HV -layer2 V1 -hardness hard -Value 0.8
Related Topics
Multi-patterning (MPT) Constraints
Return to top