Product Documentation
Design Data Translators SKILL Reference
Product Version IC23.1, November 2023

4


CDL Out Functions

This section provides syntax, descriptions, and examples for the SKILL functions associated with the CDL Out translator.

hnlCDLPrintBJTElement

hnlCDLPrintBJTElement()

Description

Prints the CDL syntax of an instance of the BJT element in the netlist. An example of the syntax is shown below; if you are viewing this description in the SKILL API Finder, click More Info to see it.

QInstanceName C B E [SUB] cellName $EA=@area $L=@l $W=@w {$SUB=@sub} @off ic=@ic m=@m

If you create a library element similar to the BJT element, set the following property in the CDL view of the element:
hnlCDLFormatInst = hnlCDLPrintBJTElement()

Arguments

None

Value Returned

None

hnlCDLPrintGeneralElement

hnlCDLPrintGeneralElement()

Description

Prints the CDL syntax of an instance of any general element. An example of the syntax is shown below; if you are viewing this description in the SKILL API Finder, click More Info to see it.

InstanceName O1 O2 ... I1 I2 ... OT1 OT2 ...

where,

Keyword Description

O1 O2...

Nets on output terminals

I1 I2...

Nets on input terminals

OT1 OT2...

Nets on other terminals

To use this function, set the following property in the CDL view of the element:

hnlCDLFormatInst = hnlCDLPrintGeneralElement()

Arguments

None

Value Returned

None

hnlCDLPrintICIsrcElement

hnlCDLPrintICIsrcElement()

Description

Prints the CDL syntax of an instance of an ICIsrc element in the netlist. An example of the syntax is shown below; if you are viewing this description in the SKILL API Finder, click More Info to see it.

FInstanceName N+ N- VcontrolVoltage @value

If you create a library element similar to the ICIsrc element, set the following property in the CDL view of the element:
hnlCDLFormatInst = hnlCDLPrintICIsrcElement()

Arguments

None

Value Returned

None

hnlCDLPrintICVsrcElement

hnlCDLPrintICVsrcElement()

Description

Prints the CDL syntax of an instance of an ICVsrc element in the netlist. An example of the syntax is shown below; if you are viewing this description in the SKILL API Finder, click More Info to see it.

HInstanceName N+ N- VcontrolVoltage @value

If you create a library element similar to the ICVsrc element, set the following property in the CDL view of the element:
hnlCDLFormatInst = hnlCDLPrintICVsrcElement()

Arguments

None

Value Returned

None

hnlCDLPrintCds_Thru

hnlCDLPrintCds_Thru()

Description

Prints the CDL syntax of an instance of a Cds_Thru element in the netlist. An example of the syntax is shown below; if you are viewing this description in the SKILL API Finder, click More Info to see it.

RInstanceName src dst @ns/100.0m $[cellName]

If you create a library element similar to the Cds_Thru element, set the following property in the CDL view of the element:
hnlCDLFormatInst = hnlCDLPrintCds_Thru()

Arguments

None

Value Returned

None

hnlCDLPrintInductorElement

hnlCDLPrintInductorElement()

Description

Prints the CDL syntax of an instance of an Inductor element in the netlist. An example of the syntax is shown below; if you are viewing this description in the SKILL API Finder, click More Info to see it.

LInstanceName PLUS MINUS @l @tc1 @tc2 @nt ic=@ic

If you create a library element similar to the Inductor element, set the following property in the CDL view of the element:
hnlCDLFormatInst = hnlCDLPrintInductorElement()

Arguments

None

Value Returned

None

hnlCDLPrintIsrcElement

hnlCDLPrintIsrcElement()

Description

Prints the CDL syntax of an instance of an Isrc element in the netlist. An example of the syntax is shown below; if you are viewing this description in the SKILL API Finder, click More Info to see it.

IInstanceName N+ N- @DCValue @TRANValue @ACMag @ACPhase

If you create a library element similar to the Isrc element, set the following property in the CDL view of the element:
hnlCDLFormatInst = hnlCDLPrintIsrcElement()

Arguments

None

Value Returned

None

hnlCDLPrintJfetElement

hnlCDLPrintJfetElement()

Description

Prints the CDL syntax of an instance of a Jfet element in the netlist. An example of the syntax is shown below; if you are viewing this description in the SKILL API Finder, click More Info to see it.

JInstanceName D G S cellName w=@w l=@l @off ic=@ic m=@m

If you create a library element similar to the Jfet element, set the following property in the CDL view of the element:
hnlCDLFormatInst = hnlCDLPrintJfetElement()

Arguments

None

Value Returned

None

hnlCDLPrintNMOSfetElement

hnlCDLPrintNMOSfetElement()

Description

Prints the CDL syntax of an instance of a NMOSfet element in the netlist. An example of the syntax is shown below; if you are viewing this description in the SKILL API Finder, click More Info to see it.

MInstanceName D G S global gnd, cellName w=@w l=@l ad=@ad as=@as pd=@pd ps=@ps nrd=@nrd nrs=@nrs @off ic=@ic m=@m $LDD[@LDD]

If you create a library element similar to the NMOSfet element, set the following property in the CDL view of the element:
hnlCDLFormatInst = hnlCDLPrintNMOSfetElement()

Arguments

None

Value Returned

None

hnlCDLPrintNPNElement

hnlCDLPrintNPNElement()

Description

Prints the CDL syntax of an instance of a NPN element in the netlist. An example of the syntax is shown below; if you are viewing this description in the SKILL API Finder, click More Info to see it.

QInstanceName C B E cellName M=@m $EA=@area

If you create the library element similar to the NPN element, set the following property in the CDL view of the element:
hnlCDLFormatInst = hnlCDLPrintNPNElement()

Arguments

None

Value Returned

None

hnlCDLPrintPMOSfetElement

hnlCDLPrintPMOSfetElement()

Description

Prints the CDL syntax of an instance of a PMOSfet element in the netlist . An example of the syntax is shown below; if you are viewing this description in the SKILL API Finder, click More Info to see it.

MInstanceName D G S global_Vdd cellName w=@w l=@l ad=@ad as=@as pd=@pd ps=@ps nrd=@nrd nrs=@nrs @off ic=@ic m=@m $LDD[@LDD]

If you create a library element similar to the PMOSfet element, set the following property in the CDL view of the element:
hnlCDLFormatInst = hnlCDLPrintPMOSfetElement()

Arguments

None

Value Returned

None

hnlCDLPrintPNPElement

hnlCDLPrintPNPElement()

Description

Prints the CDL syntax of an instance of a PNP element in the netlist. An example of the syntax is shown below; if you are viewing this description in the SKILL API Finder, click More Info to see it.

QInstanceName C B E cellName M=@m $EA=@area

If you create a library element similar to the PNP element, set the following property in the CDL view of the element:
hnlCDLFormatInst = hnlCDLPrintPNPElement()

Arguments

None

Value Returned

None

hnlCDLPrintResistorElement

hnlCDLPrintResistorElement()

Description

Prints the CDL syntax of an instance of a Resistor element in the netlist. An example of the syntax is shown below; if you are viewing this description in the SKILL API Finder, click More Info to see it.

RInstanceName PLUS MINUS @ns|@r $[cellName] m=@m {$SUB=@sub} $w=@w $l=@l @ns @tc1 @tc2 @scale @rsh ac=@ac {$SUB=@sub}

If you create a library element similar to the Resistor element, set the following property in the CDL view of the element:
hnlCDLFormatInst = hnlCDLPrintResistorElement()

Arguments

None

Value Returned

None

hnlCDLPrintSchottkyTranElement

hnlCDLPrintSchottkyTranElement()

Description

Prints the CDL syntax of an instance of a SchottkyTran element in the netlist. An example of the syntax is shown below; if you are viewing this description in the SKILL API Finder, click More Info to see it.

CInstanceName PLUS MINUS @c $[cellName] @ns @tc1 @tc2 @scale @cj ic=@ic m=@m {$SUB=@sub} Q name.1 C B E @NP cellname Q name.2 B C cellname

If you create a library element similar to the SchottkyTran element, set the following property in the CDL view of the element:
hnlCDLFormatInst = hnlCDLPrintSchottkyTranElement()

Arguments

None

Value Returned

None

hnlCDLPrintTlineElement

hnlCDLPrintTlineElement()

Description

Prints the CDL syntax of an instance of a Tline element in the netlist. An example of the syntax is shown below; if you are viewing this description in the SKILL API Finder, click More Info to see it.

TInstanceName N1 N2 N3 N4 z0=@z0 td=@td f=@f nl=@nl ic=@ic

If you create a library element similar to the Tline element, set the following property in the CDL view of the element:
hnlCDLFormatInst = hnlCDLPrintTlineElement()

Arguments

None

Value Returned

None

hnlCDLPrintVCIsrcElement

hnlCDLPrintVCIsrcElement()

Description

Prints the CDL syntax of an instance of a VCIsrc element in the netlist. An example of the syntax is shown below; if you are viewing this description in the SKILL API Finder, click More Info to see it.

GInstanceName N+ N- NC+ NC- @value

If you create a library element similar to the VCIsrc element, set the following property in the CDL view of the element:
hnlCDLFormatInst = hnlCDLPrintVCIsrcElement()

Arguments

None

Value Returned

None

hnlCDLPrintVCVsrcElement

hnlCDLPrintVCVsrcElement()

Description

Prints the CDL syntax of an instance of a VCVsrc element in the netlist. An example of the syntax is shown below; if you are viewing this description in the SKILL API Finder, click More Info to see it.

EInstanceName N+ N- NC+ NC- @value

If you create a library element similar to the VCVsrc element, set the following property in the CDL view of the element:
hnlCDLFormatInst = hnlCDLPrintVCVsrcElement()

Arguments

None

Value Returned

None

hnlCDLPrintVsrcElement

hnlCDLPrintVsrcElement()

Description

Prints the CDL syntax of an instance of a Vsrc element in the netlist. An example of the syntax is shown below; if you are viewing this description in the SKILL API Finder, click More Info to see it.

VInstanceName N+ N- @DCValue @TRANValue @ACMag @ACPhase

If you create a library element similar to the Vsrc element, set the following property in the CDL view of the element:
hnlCDLFormatInst = hnlCDLPrintVsrcElement()

Arguments

None

Value Returned

None

hnlCDLPrintMultiCNPNElement

hnlCDLPrintMultiCNPNElement()

Description

Prints the CDL syntax of an instance of a MultiCNPN element in the netlist. An example of the syntax is shown below; if you are viewing this description in the SKILL API Finder, click More Info to see it.

QInstanceName.1 C1 B E cellName . QInstanceName.n Cn B E cellName

If you create a library element similar to the MultiCNPN element, set the following property in the CDL view of the element:
hnlCDLFormatInst = hnlCDLPrintMultiCNPNElement()

Arguments

None

Value Returned

None

hnlCDLPrintMultiCPNPElement

hnlCDLPrintMultiCPNPElement()

Description

Prints the CDL syntax of an instance of a MultiCPNP element in the netlist. An example of the syntax is shown below; if you are viewing this description in the SKILL API Finder, click More Info to see it.

QInstanceName.1 C1 B E cellName . QInstanceName.n Cn B E cellName

If you create a library element similar to the MultiCPNP element, set the following property in the CDL view of the element:
hnlCDLFormatInst = hnlCDLPrintMultiCPNPElement()

Arguments

None

Value Returned

None

hnlCDLPrintMultiENPNElement

hnlCDLPrintMultiENPNElement()

Description

Prints the CDL syntax of an instance of a MultiENPN element in the netlist. An example of the syntax is shown below; if you are viewing this description in the SKILL API Finder, click More Info to see it.

QInstanceName.1 C1 B E cellName . QInstanceName.n Cn B En cellName

If you create a library element similar to the MultiENPN element, set the following property in the CDL view of the element: hnlCDLFormatInst = hnlCDLPrintMultiENPNElement()

Arguments

None

Value Returned

None

hnlCDLPrintMultiEPNPElement

hnlCDLPrintMultiEPNPElement()

Description

Prints the CDL syntax of an instance of a MultiEPNP element in the netlist. An example of the syntax is shown below; if you are viewing this description in the SKILL API Finder, click More Info to see it.

QInstanceName.1 C1 B E cellName . QInstanceName.n Cn B En cellName

If you create a library element similar to the MultiEPNP element, set the following property in the CDL view of the element: hnlCDLFormatInst = hnlCDLPrintMultiEPNPElement()

Arguments

None

Value Returned

None

hnlCDLPrintCapElement

hnlCDLPrintCapElement()

Description

Prints the CDL syntax of an instance of a cap element in the netlist. An example of the syntax is shown below; if you are viewing this description in the SKILL API Finder, click More Info to see it.

CInstanceName Y global_gnd @c m=@m $[cellName] {$SUB=@sub} @ns @tc1 @tc2 @scale @cj ic=@ic area=@area l=@l w=@w

If you create a library element similar to the cap element, set the following property in the CDL view of the element:
hnlCDLFormatInst = hnlCDLPrintCapElement()

Arguments

None

Value Returned

None

hnlCDLPrintCapacitorElement

hnlCDLPrintCapacitorElement()

Description

Prints the CDL syntax of an instance of a capacitor element in the netlist. An example of the syntax is shown below; if you are viewing this description in the SKILL API Finder, click More Info to see it.

format: CInstanceName PLUS MINUS @c $[cellName] {$SUB=@sub} @ns @tc1 @tc2 @scale @cj ic=@ic m=@m {$SUB=@sub} area=@area l=@l w=@w

If you create a library element similar to the capacitor element, set the following property in the CDL view of the element:
hnlCDLFormatInst = hnlCDLPrintCapacitorElement()

Arguments

None

Value Returned

None

hnlCDLPrintDiodeElement

hnlCDLPrintDiodeElement()

Description

Prints the CDL syntax of an instance of a diode element in the netlist. An example of the syntax is shown below; if you are viewing this description in the SKILL API Finder, click More Info to see it.

DInstanceName PLUS MINUS cellName AREA=@area PJ=@pj w=@w l=@l wp=@wp lp=@lp wm=@wm @off ic=@ic {@area} {@periphery} {$SUB=@sub}

If you create a library element similar to the diode element, set the following property in the CDL view of the element:
hnlCDLFormatInst = hnlCDLPrintDiodeElement()

Arguments

None

Value Returned

None

hnlCDLPrintBSIM3SOIElement

hnlCDLPrintBSIM3SOIElement()

Description

Prints the CDL syntax of an instance of a BSIM3SOI element in the netlist. An example of the syntax is shown below; if you are viewing this description in the SKILL API Finder, click More Info to see it.

M<name> <D> <G> <S> <E> <model> l=@l w=@w ad=@ad as=@as pd=@pd ps=@ps nrs=@nrs nrd=@nrd nrb=@nrb @off bjtoff=@bjtoff ic=@ic rtho=@rtho ctho=@ctho debug=@debug nbc=@nbc nseg=@nseg pdbcp=@pdbcp psbcp=@psbcp agbcp=@agbcp aebcp=@aebcp vbsusr=@vbsusr tnodeout=@tnodeout

If you create a library element similar to the BSIM3SOI element, set the following property in the CDL view of the element:
hnlCDLFormatInst = hnlCDLPrintBSIM3SOIElement()

Arguments

None

Value Returned

None

hnlCDLPrintResElement

hnlCDLPrintResElement()

Description

Prints the CDL syntax of an instance of a Res element in the netlist. An example of the syntax is shown below; if you are viewing this description in the SKILL API Finder, click More Info to see it.

RInstanceName A Y @ns|@r $[cellName] $SUB=@sub $w=@w $l=@l @ns @tc1 @tc2 @scale @rsh ac=@ac m=@m

If you create a library element similar to the Res element, set the following property in the CDL view of the element:
hnlCDLFormatInst = hnlCDLPrintResElement()

Arguments

None

Value Returned

None

hnlCDLPrintInstPropVal

hnlCDLPrintInstPropVal(
t_propName
)

Description

Prints an instance property value in the CDL netlist during netlisting.

This function must be called only from the user-defined instance formatting procedures.

Arguments

t_propName

The instance property name to print in CDL netlist.

Value Returned

None

Examples

hnlCDLPrintInstPropVal(" $EA=%s" "area")

Prints area as the value of the property $EA.

hnlCDLPrintInstPropVal(" $L=%s" "l")
Prints 1 as the value of the property $L.
hnlCDLPrintInstPropVal(" $W=%s" "w")
Prints w as the value of the property $W.
hnlCDLPrintInstPropVal(" $SUB=%s" "sub")
Prints sub as the value of the property $SUB.
hnlCDLPrintInstPropVal(" off" "off")
Prints off as the value of the property off.
hnlCDLPrintInstPropVal(" ic=%s" "ic")
Prints ic as the value of the property ic.

transCdlOutDisplay

transCdlOutDisplay()

Description

Invokes the CDL Out GUI form.

Arguments

None

Value Returned

t

Returns t when Ok button is clicked in the CDL Out form.


Return to top
 ⠀
X