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

nlPrintSubcktEnd

nlPrintSubcktEnd( 
o_formatter 
o_cellView 
) 
=> t / nil

Description

For the nlAnalogFormatter class, prints the .ends keyword, followed by a space and the simulator name of the subcircuit, to mark the end of the subcircuit definition. It is called by nlPrintSubcktFooter.

Arguments

o_formatter

The formatter object.

o_cellView

The object representing the cellview.

Value Returned

t

The keyword followed by a space and the simulator name is printed.

nil

there is an error.

Examples

The following example prints the .ends keyword

defmethod( nlPrintSubcktEnd ((formatter nlAnalogFormatter) cv)
    let( ( (nl nlGetNetlister(formatter))
    nlPrintString( nl ".ends")
    nlPrintString( nl nlGetSimName (cv) ) 
    nlPrintString( nl "\n")
    t
) )
=> t


Return to top
 ⠀
X