schPinListToView
schPinListToView(
t_libName
t_cellName
t_viewName
g_pinList
t_toFunc
)
=> t / nil
Description
Generates a cellview from a pin list.
Arguments
Value Returned
Examples
schPinListToView( "myLib" "myDesign" "symbol" pinList "schPinListToSymbol" )
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