minClusterSpacing
Specifies the minimum spacing between two groups of aligned shapes or a group of aligned shapes and another shape on the same layer. The constraint specifies several conditions for the neighboring shapes to be considered as a valid group of shapes.
minClusterSpacing Quick Reference
Value Type
Required Parameters
The conditions specified by the following parameters must be satisfied for a cluster to be valid:
|
Specifies that a valid cluster is formed only if all its member shapes have widths in this range.
Type: |
|
|
Specifies that a valid cluster is formed only if the number of shapes in the cluster is in this range.
Type: |
|
|
Specifies that a valid cluster is formed only if the neighboring shapes in a cluster are within this centerline spacing range. The spacing between the centerline of two shapes must be less than or equal to this value.
Type: |
Optional Parameters
|
Specifies that the groups can only be formed in the given direction.
Type: |
|
|
Specifies that the spacing measurement is done from the centerline of the cluster to the centerline of another shape. If this parameter is false, the spacing measurement is done from the edge of the cluster to the edge of another shape.
Note: The intra-cluster spacing (specified by the parameter
Type: |
|
|
Specifies that the constraint checks for minimum spacing between the shapes which are not part of any cluster.
Type: |
|
|
Specifies the measurement direction.
Type: |
|
|
Specifies that the constraint applies if the width of the other shape is in this range.
Type: |
|
|
Specifies that the constraint applies only if the parallel run length between the cluster and the other shape is equal to or greater than this value.
Type: |
|
|
The constraint applies only between neighboring clusters. Otherwise, the constraint also applies between a cluster and neighboring non-cluster shapes.
Type: |
|
|
The spacing between neighboring shapes in a cluster is measured edge-to-edge. Otherwise, the spacing is measured between centerlines.
This parameter applies only when measuring spacing between neighboring shapes to identify clusters. The
'centerLineDistance parameter determines how spacing is measured between a cluster and neighboring non-cluster shapes.
Type: |
|
|
Clusters are formed between shapes of the same color. Additionally, the constraint applies to neighboring non-cluster shapes only is they are of the same color as the shapes that form the cluster.
Type: |
Examples
- Example 1: minClusterSpacing
- Example 2: minClusterSpacing with centerLineDistance
- Example 3: minClusterSpacing with groupDirection
- Example 4: minClusterSpacing with minSpaceOverride
Example 1: minClusterSpacing
set_constraint_parameter -name shapeWidthRange -RangeValue {"[3 5]"}
set_constraint_parameter -name otherWidthRange -RangeValue {"(5 7)"}
set_constraint_parameter -name spacingRange -RangeValue {"(3 6)"}
set_constraint_parameter -name numShapesRange -RangeValue {"[3 5]"}
set_layer_constraint -constraint minClusterSpacing -Value 3 -layer Metal1
Specifies that the minimum spacing between the cluster and the other shape must be greater than or equal to 3 user units under the following conditions:
- Widths of shapes in the cluster are greater than or equal to 3 and less than or equal to 5.
- Width of the other shape is greater than 5 and less than 7.
- Centerline spacing between the shapes in the cluster is greater than 3 and less than 6.
-
Number of shapes in the cluster is greater than or equal to 3 and less than or equal to 5.

Example 2: minClusterSpacing with centerLineDistance
set_constraint_parameter -name shapeWidthRange -RangeValue {"[3 5]"}
set_constraint_parameter -name otherWidthRange -RangeValue {"(5 7)"}
set_constraint_parameter -name spacingRange -RangeValue {"(3 6)"}
set_constraint_parameter -name numShapesRange -RangeValue {"[3 5]"}
set_constraint_parameter -name centerLineDistance -BoolValue true
set_layer_constraint -constraint minClusterSpacing -Value 7 -layer Metal1
Specifies that the minimum spacing between the cluster and the other shape must be greater than or equal to 7 user units under the following conditions:
- Widths of the shapes in the cluster are greater than or equal to 3 and less than or equal to 5.
- Width of the other shape is greater than 5 and less than 7.
- Centerline spacing between the shapes in the cluster is greater than 3 and less than 6.
- Number of shapes in the cluster is greater than or equal to 3 and less than or equal to 5.
-
Spacing measured from the centerline of the cluster to the centerline of the other shape.

Example 3: minClusterSpacing with groupDirection
set_constraint_parameter -name shapeWidthRange -RangeValue {"[3 5]"}
set_constraint_parameter -name otherWidthRange -RangeValue {"(5 7)"}
set_constraint_parameter -name spacingRange -RangeValue {"(3 6)"}
set_constraint_parameter -name numShapesRange -RangeValue {"[3 5]"}
set_constraint_parameter -name groupDirection -IntValue 2
set_layer_constraint -constraint minClusterSpacing -Value 5 -layer Metal1
Specifies that the minimum spacing between the cluster and the other shape must be greater than or equal to 5user units under the following conditions:
- Widths of the shapes in the cluster are greater than or equal to 3 and less than or equal to 5.
- Width of the other shape is greater than 5 and less than 7.
- Centerline spacing between the shapes in the cluster is greater than 3 and less than 6.
- Number of shapes in the cluster is greater than or equal to 3 and less than or equal to 5.
-
Groups are formed in the vertical direction.

Example 4: minClusterSpacing with minSpaceOverride
set_constraint_parameter -name shapeWidthRange -RangeValue {"[3 5]"}
set_constraint_parameter -name otherWidthRange -RangeValue {"(5 7)"}
set_constraint_parameter -name spacingRange -RangeValue {"(3 6)"}
set_constraint_parameter -name numShapesRange -RangeValue {"[4 5]"}
set_constraint_parameter -name minSpaceOverride -BoolValue true
set_layer_constraint -constraint minClusterSpacing -Value 5 -layer Metal1
Specifies that the minimum spacing between the cluster and the other shape must be greater than or equal to 5 user units under the following conditions:
- Widths of shapes in the cluster are greater than or equal to 3 and less than or equal to 5.
- Width of the other shape is greater than 5µm and less than 7µm.
- Centerline spacing between the shapes in the cluster is greater than 3 and less than 6.
- Number of shapes in the cluster is greater than or equal to 4 and less than or equal to 5.
-
Constraint applies as minSpacing to the shapes which are not part of any cluster.

Related Topics
Return to top