printViolations
printViolations( [ ?outputt_output] [ ?checksl_checks] [ ?devicesl_devices] [ ?modelsl_models] [ ?primitivesl_primitives] [ ?resultsDirt_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
Value Returned
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