ansCdlPrintSwitchPCellSubcktConn
ansCdlPrintSwitchPCellSubcktConn(
&_fp
l_connections
)
Description
Writes into the auCdl netlist the switch Pcell connections specified by hnlSpecialPCellLibCell in the .simrc file.
Arguments
|
File handle used to write the string in the netlist using the |
|
Value Returned
Examples
Consider that hnlSpecialPCellLibCell is defined in .simrc as shown below:
hnlSpecialPCellLibCell = list( list("lib1" "SW") list("lib2" "cell2"))
By default, the value of connections is a list ("POS" "NEG")and subckt definition for the cell SW and cell2 is as below.
.SUBCKT SW_close POS NEG
.ENDS
.SUBCKT SW_open POS NEG
.ENDS
.SUBCKT cell2_close POS NEG
.ENDS
.SUBCKT cell2_open POS NEG
.ENDS
You can use the following procedure to modify connections.
procedure(ansCdlPrintSwitchPCellSubcktConn( fp connections )
foreach( cn connections
artFprintf( fp "%s " cn)
)
)
Return to top