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

nlIncludeSrcFile

nlIncludeSrcFile( 
o_formatter 
t_filename 
)
=> t / nil

Description

Prints the include statement for instances bound to source files using Hierarchy Editor. This is called while printing the footer for the netlist for all the source files to which any instance in the design is bound. If your simulator does not support source file bindings, call nlError in this method.

Arguments

o_formatter

The formatter object.

t_filename

The name of the source file bound to an instance.

Value Returned

t

The include statement is printed.

nil

The operation failed.

Examples

(defmethod nlIncludeSrcFile ((obj <yourSimulator>Formatter) file)
(let ((nl (nlGetNetlister obj)))
(nlPrintStringNoFold nl "include '" simplifyFilename(file) "'")
(nlPrintStringNoFold nl "\n")
))
=> t

Related Topics

nlError


Return to top
 ⠀
X