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

lmDefTermProp

lmDefTermProp( 
[ t_cellName ] 
[ t_viewName ] 
( g_terminalList t_propertyName t_propertyValuet_propertyName = t_propertyValue ) 
( g_terminalList t_propertyName = t_propertyValuet_propertyName t_propertyValue ) 
)

Description

Adds properties to the terminals of the specified cellview. To add terminal properties, add specified properties to the original property list and save the new file.

Variables

The replaceTermProp global variable controls the property-adding mode. The default value is nil which means the mode is appending. If you set replaceTermProp to t, the mode is replacement. replaceTermProp is automatically set to nil when you run lmDefCell and reset to the original value when finished.

Arguments

t_cellName

Optional only when lmDefTermProp is used in lmDefCell. The first name (not a terminal name) in the argument list is treated as the cell name.

t_viewName

Default: symbol

g_terminalList

Has the following format:

[ terminalName | "t" | "input" | "output" | "io" | "switch" | ( terminalName … ) ]

where t implies all terminals of the cell, input implies all input terminals, output implies all output terminals, io implies all input/output terminals, and switch implies all switch terminals.

t_propertyName

Any SKILL symbol (entifier) or string.

t_propertyValue

Any SKILL expression that returns proper values.

Example

lmDefTermProp( and2 symbol
( A name = "A" )
( B name = "B" )
( Y name = "Y" )
)
lmDefTermProp( and2
( t create = time("Apr 15 9:00:00 2000") )
; refer to all terminals
)
lmDefTermProp( and2 symbol
( input a = 1 )
; refer to all input terminals
( Y b = 1.1)
)
lmDefTermProp( and2
( (A B) type = "input")
)

Cell and2 has input terminals A and B and output terminal Y. Puts a list of properties into these terminals.


Return to top
 ⠀
X