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

printViolations

printViolations(
[ ?output t_output ]
[ ?checks l_checks ]
[ ?devices l_devices ]
[ ?models l_models ]
[ ?primitives l_primitives ]
[ ?resultsDir t_resultsDir ]
)
=> t / nil

Description

Prints a summary of all violations. Format of the output is similar to that of the output from the Print button on the Violations Display form. The resultsDir argument can be used to print violations from the different results directory.

This function can be used only in an Analog Design Environment L session. When the enableDeviceChecking environment variable is set to t, the function can be used for an Analog Design Environment XL session too.

Arguments

?output t_output

Prints the violations to the specified file. If not specified, the violations are printed in the CIW.

?checks l_checks

Prints the violations for the specified checks. If not specified, violations for all the checks are printed.

?devices l_devices

Prints the violations for the specified devices. If not specified, the violations for all the devices are printed.

?models l_models

Prints the violations for the specified device models. If not specified, the violations for all the device models are printed.

?primitives l_primitives

Prints the violations for the specified primitive types or models of the specified primitive type. If not specified, the violations for all the primitives are printed.

?resultsDir t_resultsDi

r

Specifies the directory containing the PSF files (results).
When specified, this argument is used internally and does not alter the current results directory which was set by the openResults() command.

Value Returned

t

The violations are printed.

nil

The violations are not present for the design.

Examples

The following example prints all the violations in the CIW.

printViolations()
=> Violations for Check1 :
During circuit read in
Instance Param Value Remark
/R1   r 20K Warning:Exceeded upper limit 10K.
Violations for Check2 : 
During circuit read in
Parameter Value Remark
tem   27 Warning:Exceeded upper limit 20.

The following example prints the violations for Check2 in the CIW.

printViolations(?checks "Check2")
=>Violations for Check2 : 
During circuit read in
Parameter Value Remark
tem   27 Warning:Exceeded upper limit 20.

The following example prints all the violations to the printviolation file.

printViolations(?output "./simulation/ampTest/printviolation")
=> t

The following example prints all the violations to the printviolation file with results loaded from the ./simulation2/ampTest/spectre/schematic directory.

printViolations(?output "./simulation/ampTest/printviolation" ?resultsDir "./simulation2/ampTest/spectre/schematic")
=> t
You can change the default simulation directory using the projectDir environment variable.

Return to top
 ⠀
X