minDensity
Specifies the minimum metal density required for the layer, as a percentage from 0 to 100. The constraint can be given as a fixed value that applies to the entire design, or as a table of values that apply to areas of the design, as you step through them, and are based on the step size.
The maxDensity constraint is used in conjunction with the minDensity constraint to ensure that the metal density is neither too dense nor too sparse.
minDensity Quick Reference
Value Types
minDensity constraints have the following value types:
-
FltValue
Specifies the minimum percentage of the design area that the metal on the specified layer may occupy over the entire area. The density percentage is calculated as the metal area divided by the total design area. Valid values: 0 to 100 -
Flt1DTblValue
The lookup key (“step”) represents the step size and the value represents the minimum density percentage for a check window. Check windows are square with equal height and width.-
If
windowStepSizeis not given, the check window dimensions are 2*step size. -
If
windowStepSizeis given, the window size that corresponds with the given step size is used.
Density checking starts with the check window in a corner of the design, then the check window is moved across the design incrementally, by step size, each time validating that the density percentage in the check window is greater than or equal to the minimum allowed percentage.

-
If
Parameter
-
windowStepSize(OneDTblValue, optional) The lookup key (“step”) represents the step size and the value represents the window size. This table is used only whenminDensityis aFlt1DTblValueto look up the window size associated with a given step size.
Examples
-
Fixed Value
Sets the minimumMetal2density to 50%.Format Example set_layer_constraint -constraint minDensity \
-layer Metal2 -Value 50.0LAYER Metal2
MINIMUMDENSITY 50.0 ;spacings (
( minDensity "Metal2" 0.50)
) -
1D Table: Index step size
Sets the minimumMetal2density based on the step size of the check window.
Related Topics
Return to top