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

schPinListToView

schPinListToView( 
t_libName 
t_cellName 
t_viewName 
g_pinList 
t_toFunc 
)
=> t / nil

Description

Generates a cellview from a pin list.

Arguments

t_libName

Library containing the data to generate from the pin list; must be enclosed in quotation marks.

t_cellName

Cell containing the data to generate from the pin list; must be enclosed in quotation marks.

t_viewName

View containing the data to generate from the pin list; must be enclosed in quotation marks.

g_pinList

Terminal information to use in generating the target data.

t_toFunc

Name of the SKILL procedure to translate from the intermediate pin list format to the target; must be enclosed in quotation marks.

Value Returned

t

Generated a cellview from a pin list.

nil

Could not generate cellview.

Examples

schPinListToView( "myLib" "myDesign" "symbol" pinList "schPinListToSymbol" )

where

pinList = '( nil ports ((nil name "a" direction "input" )
nil name "b" direction "input" )
( nil name "c" direction "output") )

Generates a symbol with two input pins, a and b, and one output pin, c.

The pin list format represents all the terminals and properties in the design and their directions; for example, input and output. The terminal and property information 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 schViewMasters list of translation functions and documentation for creating your own translation functions.


Return to top
 ⠀
X