Product Documentation
Virtuoso Layout Suite SKILL Reference
Product Version IC23.1, November 2023

drdListConstraintCategoryRules

drdListConstraintCategoryRules(
[ ?cv d_cellViewID ]
[ ?outputFile s_fileName ]
[ ?active { t | nil } ]
[ ?splitTF { t | nil } ]
[ ?csv { t | nil } ]
)
=> t / nil

Description

Lists constraints supported by DRD in the version of the software that is currently running. The constraints’ information can be saved in an ASCII file or listed in CIW, in a tabular format or as a comma-separated list.

The information is organized into the following columns:

Arguments

?cv d_cellViewID

Specifies the cellview to use.

The default is the current cellview.

?outputFile s_fileName

Specifies the output filename.

If the output filename is not specified, the constraints are listed in CIW and the current log file.

?active

Determines which constraints are listed.

If you specify ?active nil, all constraints that DRD supports in the version of the software running currently are listed.

If you run the function without specifying this parameter or specify ?active t, the output comprises only those supported constraints that are found in the technology file.

The default is t.

?splitTF

Determines whether the technology filename is displayed separately or displayed in parenthesis together with the constraint name.

The default is t, which lists the technology filename separately. If set to nil, the technology filename is displayed in parenthesis together with the constraint name.

?csv

Determines whether the output should be generated as a comma-separated list, with each value enclosed in double quotes, or in a tabular format.

If set to t, the output is generated as a comma-separated list as shown below:

"Spacing","minSpacing","gpdk090","N","E","P","B"

"Width","minCornerToCornerDistance","N","","P","B"

The default is nil, which lists the output in a tabular format.

Value Returned

t

Constraints were successfully listed.

nil

Constraints could not be listed.

Examples

drdListConstraintCategoryRules(?cv cvID ?csv t ?outputFile "/home/boyardee/rules.csv")

Saves the constraints defined in the technology file, in CSV format, in a file named rules.csv.

drdListConstraintCategoryRules(?active nil)

Lists all supported constraints in a tabular format in CIW and in the log file for the current session.

drdListConstraintCategoryRules(?cv geGetEditCellView() ?outputFile 
"./drdConstraints.txt"  ?active nil)

Returns all the constraints supported by DRD, whether or not they are defined in the technology library. The output is saved in a file named drdConstraints.txt, as shown:

Area             minArea                    gpdk045  N   P B
Area             minAreaEdgeLength                   N   P B
Area             minHoleArea                gpdk045  N   P B
Complex Spacing  minEndOfLineCutSpacing                  P B
Complex Spacing  minEndOfLineExtensionSpacing            P B
Complex Spacing  endOfLineKeepout                    N   P B
Density          minDensity                 gpdk045        b
Density          maxDensity                 gpdk045        b
Density          maxDiffDensity                            b
Spacing          allowedSpacingRanges                N   P B
Spacing          minCenterToCenterSpacing            N   P B
Spacing          minCutClassSpacing                  N E P B
Spacing          minCutRoutingSpacing                N E P B
Via              largeRectViaArrayAllowed                P B
Via              minLargeViaArrayCutSpacing              P B
Via              minLargeViaArraySpacing                 P B
Width            minDiagonalWidth           gpdk045  N   P B
Width            protrusionWidth                         P B
Width            minWidth                   gpdk045  N   P B
Width            maxWidth                   gpdk045  N   P B

Return to top
 ⠀
X