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

nlPrintInst

nlPrintInst( 
o_formatter 
o_instance 
) 
=> t / nil

Description

Prints the netlist statement for an instance. This is the default netlist procedure for a component.

It prints the following:

If a netlist procedure is specified as a netlistProcedure in the CDF simInfo, that procedure is called instead of nlPrintInst.

The end of the instance line, \n, is not printed by this method or the netlist procedure. The end of the line is printed by the nlPrintInstEnd method.

Arguments

o_formatter

The formatter object.

o_instance

The object representing the instance.

Value Returned

t

The netlist statement is printed.

nil

There is an error.

Examples

The following example prints the netlist statement:

defmethod( nlPrintInst ((formatter nlAnalogFormatter) inst)
nlPrintInstComments( formatter inst)
nlPrintIndentString( nlGetNetlister( formatter ))
nlPrintInstName( formatter inst)
nlPrintInstSignals( formatter inst)
nlPrintModelName( formatter inst)
nlPrintInstParameters( formatter inst)
=> t
)


Return to top
 ⠀
X