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

nlIncludeVerilogaFile

nlIncludeVerilogaFile( 
o_formatter 
t_filename 
t_master
) 
=> t / nil

Description

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

Arguments

o_formatter

The formatter object.

t_filename

The name of the file to include

t_master

The value for -master option on the include line

Value Returned

t

The include statement is printed.

nil

Unsuccessful operation.

Examples

The following example prints the include statement as specified:

(defmethod nlIncludeVerilogaFile ((obj <yourSimulator>Formatter) file master)
(when master 
    (nlError (nlGetNetlister obj) "Cannot support multile modules with the same name"))
    (nlPrintStringNoFold (nlGetNetlister obj) "ahdl_include \"" file "\"\n")
    )

Related Topics

nlError


Return to top
 ⠀
X