schPinListToVerilog
schPinListToVerilog(t_libNamet_cellNamet_viewNameg_pinList) => t / nil
Description
Generates a Verilog HDL cellview from a pin list. The generated Verilog HDL cellview can be used with the Verilog integration.
Arguments
Value Returned
Examples
schPinListToVerilog( "myLib" "myDesign" "functional" pinList )
pinList = ‘( nil ports ((nil name "a" direction "input" )
( nil name "b" direction "input" )
( nil name "c" direction "output" )
)
)
Generates the following Verilog module:
module myDesign ( "a", "b", "c" );
input a;
input b;
output c;
endmodule
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