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

lmDefCell

lmDefCell( cellName parameters )
; input and output declaration, and various parameters
; for symbol generation
[ input( termName termNametermName ) ]
[ output( termName termNametermName ) ]
[ io( termName termNametermName ) ]
[ switch( termName termNametermName ) ]
[ defsymbol( symbolArguments ) ]
; delay parameters and model/element initialization for
; a timing analyzer
[ delayTable( delayArguments )
[ taModelInit( modelInitializationArguments ) ]
[ taElmInit( elementInitializationArguments ) ]
[ timingViolationTable( timingViolationArguments ) ]
[ <any S/SLG command or SKILL function> ]
;
; symbol generation takes place (default)
symbolGen = t
;
; timing view generation takes place (default)
taGen = t
;
; append properties to symbol
[ lmDefViewProp( viewPropertyArguments ) ]
; append properties to terminals of symbol
[ lmDefTermProp( terminalPropertyArguments ) ]
) 

Description

Defines a cell, generates a symbol, and backannotates objects.

You can use any S/SLG command or SKILL function as an argument. If you specify required parameters, the symbol view of the cell can be automatically generated. You can specify time delay information for a timing analyzer view. In addition, you can specify properties of the symbol view for simulation and other purposes.

Properties

Each argument specified in lmDefCell is sequentially run in addition to default symbol generation and timing view generation. You can add commands (such as lmDefViewProp and lmDefTermProp) to manipulate symbol properties. You can specify a complete characterization of the symbol in the argument.

Variables

You can set the values of several global Boolean variables to change default values. The symbolGen variable controls symbol generation. The default value, t, triggers symbol generation as the first action of lmDefCell. If you set symbolGen to nil, no symbol generation takes place.

The taGen variable controls timing view generation. The default value, t, enables timing view generation if delayTable parameters are specified. If you set taGen to nil, no timing view generation takes place.

Arguments

g_input

Input terminals.

g_output

Output terminals.

g_io

Input/output terminals.

g_switch

Switch terminals.

defsymbol

Symbol generation parameters. Refer to Appendix B, “Text-to-Symbol Generator,” for the format of defsymbol arguments.

delayTable

Timing delay for the input/output pairs of the cell.

taModelInit

Model for a timing analyzer to initialize.

taElmInit

Element for a timing analyzer to initialize.

timingViolationTable

Illegal timing.

Example

lmDefCell( aoi32
input(A1 A2 A3 B1 B2)
output(Y)
lmDefViewProp(
; add some properties to the symbol )
)

Generates a symbol view for the cell aoi32.


Return to top
 ⠀
X