Product Documentation
Virtuoso Technology Data Constraints Reference
Product Version IC23.1, November 2023

maxRelativeColorDensity

spacings(
( maxRelativeColorDensity tx_layer
 ['step f_step | 'stepx f_stepx 'stepy f_stepy] 
 ['win f_win | 'winx f_winx 'winy f_winy] 
 ['mask1 | 'mask2 | 'mask3] 
 f_maxDensity
)
) ;spacings

(Virtuoso Advanced Node for Layout Only) Specifies the maximum 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_maxDensity

The maximum 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.

Example

For a 4.62 by 7.2 checking window, the percentage of Metal1 shapes on mask2 should not exceed 60.

spacings(
    ( maxRelativeColorDensity "Metal1"
     'winx 4.62 'winy 7.2
'stepx 2.31 'stepy 3.6
'mask2
60
)
) ;spacings

Return to top
 ⠀
X