check_width
check_width -lpps_layerlpp[ -output_lpps_layerlpp] [ -widthf_userunit] [ -max_width [f_userunit] ] [ -object_width [ true | false ] ] [ -region {f_xlof_ylof_xhif_yhi} ] [ -annotate [all | none | dim | rect] ] [ -annotation_limiti_count] [ -clear_annotations ] [ -diagonal_aware [ true | false ] ] [ -discrete_width [ true | false ] ] [ -lpp_width [ true | false ] [ -no_sync ] [ -silent | -verbose ] [ -top_level_only ] [ -trim_corners ] [ -threadsi_threads] [ -subtotals ]
Description
Checks shapes for minimum width, maximum width, and discrete width violations. By default, all width checks are run if the respective constraints are set, violation annotations are created, and a summary report is output to the Transcript area.
Two types of annotations can be created for each violation found:
- The dimension annotation shows the measurement of the shape width violation.
- The rectangle annotation outlines the area of the violating shape.
The GUI equivalent for this command is Verify—Shapes.
Arguments
|
Specifies the annotations to use to mark violations (sections that do not meet the density requirements). |
||
|
(Default) Creates rectangle and dimension annotations where violations occur. |
||
|
Creates only dimension annotations to show measurements where violations occur. |
||
|
The annotations are added to the |
||
|
Specifies the maximum number of violations to create annotations for. By default, annotations are created for up to 1000 violations. Specify |
||
|
Removes existing violation annotations of the same check type and input layers before performing this check. If not specified, existing violations are not cleared. |
||
|
Specifies whether width checks are orthogonal only ( |
||
|
Disables discrete width checking. By default, discrete width checking is performed if the |
||
|
Specifies whether widths should be checked based on the layer constraint ( |
||
|
Checks for shapes that are wider than the specified width. If the given value is |
||
|
Specifies that the width is checked at the object level. Default is |
||
|
Specifies the layer purpose to add the checking results to. Shapes that fail to meet the width rule requirements are added. |
||
|
Specifies the boundary points for the area to check. If not specified, the entire design in the active artwork window is checked. |
||
|
When selected, turns off detailed messages during the check. |
||
|
Outputs a Tcl list with the number of minimum width, maximum width, and discrete width violations reported separately (refer to Processing Tcl Lists). By default, the return value is the total number of violations found. |
||
|
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. |
||
|
Specifies that top-level shapes and shapes connected to top-level shapes be checked. By default, all shapes are checked. Cell-to-cell placement errors will not be detected if this argument is true. |
||
|
Overrides the minimum width ( |
||
Value Returned
Examples
The following command checks shapes in metal1:wire:detail for minimum width rule violations using the width rules in the technology file, and outputs the shapes violating the rule to the metal1:annotation:violation LPP.
check_width -lpp {"metal1 wire:detail"} -output_lpp {"metal1:annotation:violation"}
Processing Tcl Lists
For commands that return a Tcl list, use the following example to process the list. In this example, a Tcl list is output that includes the number of minWidth, maxWidth, and discreteWidth errors found.
set results [check_width -max_width 0.8 -subtotals]
set list_count [llength $results]
set minwidth [lindex $results 0]
set maxwidth [lindex $results 1]
set_discretewidth [lindex $results 2]
puts $minwidth; puts $maxwidth; puts $discretewidth
Related Topics
Return to top