Product Documentation
Virtuoso Schematic Editor SKILL Functions Reference
Product Version IC23.1, November 2023

schSRC

schSRC( 
d_cvId 
)
=> l_result

Description

Runs the schematic rules checker (SRC) on a specified cellview.

You can set the schematic rules checker rules by

You can set the values for the schematic environment variables that control the logical, physical, and name checks. For most of the schematic environment variables that control checks, the three possible values are ignored, warning, and error. These three values are collectively known as the check severity.

Can be used only on an editable schematic.

Arguments

d_cvId

Cellview ID on which to run the schematic rules checker.

Value Returned

l_result

A list containing the number of errors and warnings, respectively.

Examples

Runs the schematic rules checker on the given cellview and extracts the number of errors and warnings from the result.

result = schSRC( cvId )
numErrors = car( result )
numWarns = cadr( result )

Sets the severity of the three checks—srcUnconnectedWires, srcVerilogSyntax, and srcVHDLSyntax—and then invokes the schematic rules checker.

schSetEnv( "srcUnconnectedWires" "ignored" )
schSetEnv( "srcVerilogSyntax" "error" )
schSetEnv( "srcVHDLSyntax" "ignored" )
result = schSRC( cvId )

Return to top
 ⠀
X