hnlGenIncludeFile
hnlGenIncludeFile(
)
=> value
Description
Creates the include file. You must define this function for a formatter that needs an include file. Use the hnlIncludeFileName variable to specify the name of the include file. Use the hnlIncludeFile variable to access the file pointer. IHNL calls the hnlGenIncludeFile function after it generates the netlist files.
By default this function does not create an include file.
Arguments
Value Returned
Examples
hnlIfNoProcedure( hnlGenIncludeFile()
let( ( name )
if( hnlIncrementalMode
then t
else if( hnlAllGlobals
then fprintf( hnlIncludeFile ".GLOBAL" )
foreach( name hnlAllGlobals
fprintf( hnlIncludeFile " %s"
hnlGetGlobalNetMappedName( name ) )
)
fprintf( hnlIncludeFile "\n" )
t
else hnlCatIncrementalNetlistFiles( hnlIncludeFile,
hnlNetlistFileList )
)
)
)
)
Related Topics
Return to top