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

asiInit<yourSimulator>Flowchart

asiInit<yourSimulator>Flowchart( 
o_tool 
) 
=> t

Description

Calls the procedures to initialize the flowchart for your simulator.

You must write asiInit<yourSimulator>Flowchart, where < yourSimulator > is the name of your simulator. Do not include the angle brackets (<>).

Arguments

o_tool

Simulation tool object.

Value Returned

t

Returns t when your procedures are called.

Write asiInit<yourSimulator>Flowchart to return t.

Examples

The following procedure initializes the flowchart for the XYZ simulator. It adds the step to send the library path, then inserts that step between the step to send the update file and the step to send the control statements.

procedure( asiInitXYZFlowchart( tool )
    let( ( flowchart )

     flowchart = asiGetFlowchart( session )
     ;;; SEND THE LIB PATH
asiAddFlowchartStep( flowchart
?name 'asiSendLibPath
?description "Sends the library path"
?runMessage "send lib path"
?function 'asiSendLibPath
)

     asiDeleteFlowchartLink( flowchart 'asiSendUpdateFile 
'asiSendControlStmts )
asiAddFlowchartLink( flowchart 'asiSendUpdateFile
'asiSendLibPath )
asiAddFlowchartLink( flowchart 'asiSendLibPath
'asiSendControlStmts )
     t
)
)
It is preferable to include the code for sending the lib path in the asiSendControlStmts step if possible. In other words, do not add extra links if they are not needed. (See the asiSendControlStmts function for an example.)

Return to top
 ⠀
X