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

asiCreateIncludeStatementFile

asiCreateIncludeStatementFile( 
o_simulatorSession 
t_netlistFile
t_includeNetlistFile 
) 
=> t_includeNetlistFile / nil

Description

Creates a file that contains a statement to include netlist for simulation. Override this function to create a customized include statement according to the the simulator netlisting procedure and syntax.

The default include statement is as per Spectre format, as shown below.

include "netlist"

Arguments

o_simulatorSession

An object of the simulator session class

t_netlistFile

Name of the netlist file

t_includeNetlistFile

Name of the temporary file that contains the statement to include netlist

Value Returned

t_includeNetlistFile

Name of the temporary file that contains the statement to include netlist

nil

Otherwise

Examples

session =  asiGetCurrentSession()
=> stdobj@0x3157a0b0
; Session for other simulators can be fetched accordingly.
asiCreateIncludeStatementFile with (stdobj@0x3157a0b0 "netlist" "tmpNetlistFile")
=> "tmpNetlistFile"

Return to top
 ⠀
X