Product Documentation
Digital Design Netlisting and Simulation SKILL Reference
Product Version IC23.1, June 2023

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

None

Value Returned

value

Value depends on the function logic.

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

OSS Functions


Return to top
 ⠀
X