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

schPinListToSchem

schPinListToSchem( 
t_libName 
t_cellName 
t_viewName 
g_pinList 
)
=> t / nil

Description

Generates a schematic cellview from a pin list.

Arguments

t_libName

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

t_cellName

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

t_viewName

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

g_pinList

Terminal and property information to use in generating the target schematic.

Value Returned

t

Generated a schematic cellview from a pin list.

nil

Could not generate schematic cellview.

Examples

schPinListToSchem( "myLib" "myDesign" "schematic" pinList )

where

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

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

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"])

Return to top
 ⠀
X