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

nlIncludePspiceFile

nlIncludePspiceFile( 
o_formatter 
t_fileName 
t_masterName
) 
=> t / nil

Description

Prints the include statement for pspice cellviews in the design. This function is called before printing the footer for the netlist for all pspice modules. If your simulator does not support pspice views, call nlError function in this method.

Arguments

o_formatter

The formatter object.

t_fileName

The file name in which the include statements should be printed.

t_masterName

The master name of the model added through include statement.

Value Returned

t

The include statement is printed in the specified file.

nil

There command cannot be run due to an error.

Examples

The following example prints the include statement for pspice cellviews in the TopCell.pspice file:

nlIncludePspiceFile(spectre_formatter "/home/TopCell.pspice" "TopCell_amplifier")
=> t


Return to top
 ⠀
X