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

schSymbolToPinList

schSymbolToPinList( 
t_libName 
t_cellName 
t_viewName 
)
=> g_pinList / nil

Description

Generates a pin list from a symbol cellview.

Arguments

t_libName

Library containing the symbol; must be enclosed in quotation marks.

t_cellName

Cell containing the symbol; must be enclosed in quotation marks.

t_viewName

View containing the symbol; must be enclosed in quotation marks.

Value Returned

g_pinList

Terminal and property information in the form of a pin list, generated from the source symbol.

nil

Pin list generation was unsuccessful.

Examples

Returns the pin list representing the source symbol.

pinList = schSymbolToPinList( "myLib" "myDesign" "symbol" )

The pin list format represents all the terminals and properties and is stored in a disembodied property list with the following format:

g_pinList = ‘( nil ports portList
[prop proplist] )
portlist = ( termDef termDef...termDef )
termDef = ( nil name "termName"
direction termDir
[prop propList]
[pins termPins]
)
proplist = ( nil propName propValue
propName propValue
...
)
termPins = ( pinDef pinDef...pinDef )
pinDef = ( nil name "pinName"
[accessDir "accessDir"] )

See the your_install_dir/tools/dfII/samples/local/schConfig.il file for usage of schSymbolToPinList in the schViewToPinListReg list of translation functions.


Return to top
 ⠀
X