nlIncludeVerilogaFile
nlIncludeVerilogaFile(o_formatter t_filenamet_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
Value Returned
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
Return to top