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

asiSendSim

asiSendSim( 
o_session 
t_command 
t_callback 
g_param 
g_saveOutput
)
=> t

Description

Sends a command to Cadence SPICE to forward to the target simulator.

Arguments

o_session

Session object.

t_command

Command (string) to send to Cadence SPICE.

t_callback

Routine to call when this command terminates. Frequently, this argument is set to nil.

Callback parameter list: (l_list g_param)

l_list is a list of strings (one string per line) that are generated by Cadence SPICE as output from t_command.

l_list is generated only if g_saveOutput is non-nil.

g_param

Parameter for the callback routine. Frequently, this argument is set to nil.

g_saveOutput

Boolean flag that specifies whether or not the output from the command you sent to Cadence SPICE is saved in l_list. If you specify this argument as non-nil, the output is saved in l_list; otherwise, the output is not saved.

Value Returned

t

Returns t when the command is sent to Cadence SPICE.

Example

asiSendSim( session "restore off" nil nil nil )

Sends the "restore off" command to Cadence SPICE to be forwarded to the target simulator.


Return to top
 ⠀
X