Product Documentation
Virtuoso Space-based Router Command Reference
Product Version IC23.1, September 2023

check_overlap

check_overlap 
-lpp1 s_layerlpp 
-lpp2 s_layerlpp 
[ -min_overlap1 [f_userunit] ] 
[ -min_overlap2 [f_userunit] ] 
[ -output_lpp s_lpp ] 
[ -region {f_xlo f_ylo f_xhi f_yhi} ]
[ -annotate [all | none | dim | rect] ] 
[ -annotation_limit i_count ]
[ -clear_annotations ] 
[ -top_level_only ] 
[ -error_limit i_count ] 
[ -silent | -verbose ] 
[ -trim_corners ] 
[ -subtotals [ true | false ] ] 

Description

Checks the spacing between an inside edge of a shape on one layer to an inside edge of a shape on another layer.

The check_overlap command can check the overlap of the two shapes in the following figure.

Arguments

-annotate [all | none | dim | rect]

Specifies the annotations to use to mark violations.

all

(Default) Creates rectangle and dimension annotations where violations occur.

none

Prevents annotations from being created.

dim

Creates only dimension annotations to show measurements where violations occur.

rect

Creates only rectangle annotations where violations occur.

The annotations are added to the annotation:violation purpose of the given lpp1 layers and are listed by layer under Minimum Overlap in the Violations page of the Annotation Browser.

-annotation_limit i_count

Specifies the maximum number of violations to create annotations for. By default, annotations are created for up to 1000 violations. Specify -annotation_limit -1 to choose no limit.

-clear_annotations

Removes existing violation annotations of the same check type and input layers before performing this check. If not specified, existing violations are not cleared.

-error_limit i_count

Specifies the maximum number of errors of each type to detect before stopping. By default, no error limit is set. A value of -1 also specifies no limit.

-lpp1 s_layerlpp

Checks shapes on this layer (optionally restricted to a specified purpose) against shapes on the layer/purpose given by -lpp2.

-lpp2 s_layerlpp

Checks shapes on this layer (optionally restricted to a specified purpose) against shapes on the layer/purpose given by -lpp1.

-min_overlap1 f_userunit

Overrides the minimum overlap rule value for layer1 over layer2.

-min_overlap2 f_userunit

Overrides the minimum overlap rule value for layer2 over layer1.

-output_lpp s_lpp

Adds violating shapes to the specified output layer purpose.

-region {f_xlo f_ylo f_xhi f_yhi}

Specifies the boundary points for the area to check. If not specified, the entire design in the active artwork window is checked.

-silent

Turns off detailed messages during checking.

-subtotals

Outputs a Tcl list with the number of min_overlap1 violations and the number of min_overlap2 violations reported separately (refer to Processing Tcl Lists). By default, the return value is the total number of violations found.

-threads i_threads

Specifies the number of threads or processors to use in parallel to run this command. By default, if multi-threading has been enabled, the session threads are used, otherwise, one processor is used.

-top_level_only

Specifies that only top-level shapes should be checked (against all levels). By default, all shapes are checked.

Cell-to-cell placement errors will not be caught if this flag is set.

-trim_corners

Specifies that corners be trimmed for checking.

-verbose

Outputs a message for each error found during the check.

Value Returned

i_count

Indicates the number of shapes found that do not meet the minClearance or minSameNetClearance requirement.

i_min_overlap1_errors
i_min_overlap2_errors

Tcl list with the number of min_overlap1 and min_overlap2 violations found. This is the output format when -subtotals is given.

-1

The command did not run due to a syntax error or a missing required argument.

Examples

The following command reports violations when the overlap of Metal2 over Metal3 shapes is less than 0.08.

check_overlap -lpp1 Metal2 -lpp2 Metal3 -min_overlap1 0.08

Related Topics

Verify Commands


Return to top
 ⠀
X