Product Documentation
Virtuoso ADE SKILL Reference
Product Version IC23.1, November 2023

nlPrintSubcktHeader

nlPrintSubcktHeader( 
o_formatter 
o_cellView 
) 
=> t / nil

Description

Writes the header for a subcircuit following these steps: prints comments by calling nlPrintSubcktHeaderComments; prints the subckt begin keyword by calling nlPrintSubcktBegin; prints the subckt name by calling nlPrintSubcktName; prints the subckt terminal list by calling nlPrintSubcktTerminalList.

Arguments

o_formatter

The formatter object.

o_cellView

The object representing the cell view.

Value Returned

t

The header for the subcircuit is added.

nil

There is an error.

Examples

The following example prints the header for a subcircuit in a stepwise manner:

defmethod( nlPrintSubcktHeader((formatter xyzformatter) cv )
let( (nl)
nl = nlGetNetlister(formatter)
(nlPrintSubcktHeaderComments formatter cv)
(nlPrintSubcktBegin formatter cv)
(nlPrintSubcktName formatter cv)
(nlPrintSubcktTerminalList formatter cv)
(nlPrintString nl "\n")
) )
=> t


Return to top
 ⠀
X