minRelativeColorDensity
spacings(
( minRelativeColorDensity tx_layer
['step f_step | 'stepx f_stepx 'stepy f_stepy]
['win f_win | 'winx f_winx 'winy f_winy]
['mask1 | 'mask2 | 'mask3]
['target f_target]
f_minDensity
)
) ;spacings
(Virtuoso Advanced Node for Layout Only) Specifies the minimum relative color density of shapes on MPT layers against a specified checking window that is moved by defined steps until the entire design is checked.
The relative color density of a layer is calculated as follows:
Total area of shapes in the set mask in the checking window / Total area of shapes in the checking window
For example, if all Metal1 shapes in a checking window are mask1, then the relative density of Metal1:mask1 is 100%.
Values
|
tx_layer
|
The layer on which the constraint is applied.
Type: String (layer and purpose names) or Integer (layer number)
|
|
f_minDensity
|
The minimum relative color density or the percentage of the total design area that the metal on the specified layer must occupy.
|
Parameters
|
'step f_step | 'stepx f_stepx 'stepy f_stepy
|
|
|
The size of the steps by which the checking window is moved.
-
For a square checking window, specify f_step, which indicates the size of the step in both x and y directions. Also, ensure that f_win is specified.
-
For a rectangular window, specify f_stepx and f_stepy, which indicate the size of the step in x and y directions, respectively. Also, ensure that f_winx and f_winy are specified.
|
|
'win f_win | 'winx f_winx 'winy f_winy
|
|
|
The dimensions of the checking window.
-
For a square checking window, specify f_win, which indicates the dimension of the window on each side. Also, ensure that f_step is specified.
-
For a rectangular window, specify f_winx and f_winy, which indicate the x and y dimensions of the window, respectively. Also, ensure that f_stepx and f_stepy are specified.
|
|
'mask1 | 'mask2 | 'mask3
|
|
|
The mask to which the constraint applies.
|
|
'target f_target
|
|
|
The preferred minimum density, which should be more than or equal to f_minDensity. Checker treats this value as the minimum density. It acts as a buffer and ensures that all windows are slightly above the required minimum density.
|
Example
For a 4.62 by 7.2 checking window, Metal1 shapes on mask2 should be at least 40%.
spacings(
( minRelativeColorDensity "Metal1"
'winx 4.62 'winy 7.2
'stepx 2.31 'stepy 3.6
'mask2
60
)
Return to top