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

lmCheckView

lmCheckView( 
d_cellList 
t_viewName 
[ t_fileName ] 
t_expression 
)

Description

Evaluates a sequence of expressions for each specified cellview. Checks the property value for consistency.

Property values can be included in an expression. The expressions should conform to SKILL syntax. After evaluation, the result is printed for each expression.

Arguments

d_cellList

The name of the views to be checked, in the form

{ cellName … | t } 

t_viewName

The view name to check.
Default: symbol

t_fileName

Name of a file where the printout is stored. If not specified, output is displayed on the screen.

t_expression

A property used in an expression refers to the property in viewName.

Examples

fast_process = t
margin = 1ns
lmCheckView( (and2 and3) symbol
if( fast_process then
sum = 5ns
trmax = 4ns
tfmax = 3ns
else
sum = 9ns
trmax = 6ns
tfmax = 5ns
)
lmGetValue(tr) < trmax
lmGetValue(tf) < tfmax
lmGetValue(tr) + lmGetValue(tf) <- sum + margin
)

Checks some conditions for the rise and fall time in the symbol view of and2 and and3. The property names tr and tf contain the rise and fall times. The predefined function lmGetValue gets the value of the specified property.

lmCheckView( t spice
gammaValue = lmGetValue(gamma)
lambdaValue = lmGetValue(lambda)
gammaValue < 0.4
lamdaValue < 0.04
)

Checks the values of the properties gamma and lambda in the spice view for each cell in the current library.


Return to top
 ⠀
X