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

check_layerpair_space

check_layerpair_space 
{[ -same_net ] [ -diff_net ]}
-lpp1 s_layerlpp 
-lpp2 s_layerlpp 
[ -region {f_xlo f_ylo f_xhi f_yhi} ] 
[ -annotate [all | none | dim | rect] ] 
[ -annotation_limit i_count ]
[ -check_mode {hard | soft} ] 
[ -clear_annotations ] 
[ -allow_overlap [ true | false ] ] 
[ -allow_touching [ true | false ] ] 
[ -no_sync ] 
[ -process_rules_only [ true | false ] ] 
[ -silent|-verbose ] 
[ -space f_userunit ] 
[ -top_level_only ] 
[ -trim_corners ] 
[ -threads i_threads ] 

Description

Checks interlayer spacing of different shapes on different layers against the minClearance and/or the minSameNetClearance constraint for the two layers. Clearances are specified from the outside edge of a shape on the first layer to the outside edge of a shape on the second layer.

Arguments

-allow_overlap [ true | false ]

  

When set to true, spacing between shapes that overlap is not checked. This is useful to skip this check when the constraint is not set.

Default: false

-allow_touching [ true | false ]

  

When set to true, spacing between abutting shapes is not checked. This is useful to skip this check when the constraint is not set.

Default: false

-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 Layer to Layer Clearance Checks—Same Net Checks and Diff Net Checks 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.

-check_mode {soft|hard}

  

Chooses soft or hard constraint lookup. Default is hard.

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

-diff_net

Checks shapes on different nets and on the given layers against the minClearance constraint.

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

-no_sync

Prevents the OpenAccess database from being updated.

-process_rules_only [ true | false ]

When true, checking is performed against process rules constraints only.

Default: false

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

-same_net

Checks shapes on the same net and on the given layers against the minSameNetClearance constraint.

-silent

Turns off detailed messages during checking.

-space f_userunit

Specifies an override value to use for the clearance.

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

-1

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

Examples

The following example sets the minClearance constraint for different net shapes on poly and diff layers, then checks for compliance using the check_layerpair_space command. Annotations are created to mark the violations.

set_layerpair_constraint -constraint minClearance -layer1 poly -layer2 diff 
-Value .1 -group LEFDefaultRouteSpec -hardness hard
check_layerpair_space -diff_net -lpp1 poly -lpp2 diff

Related Topics

Verify Commands


Return to top
 ⠀
X