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

asiFormatGraphicalStimuli

asiFormatGraphicalStimuli( 
o_session  
p_fp 
) 
=> t / nil

Description

Formats the graphical stimuli statements to send to Cadence SPICE.

For integrators, the function asiFormatGraphicalStimuli needs to be overloaded for the simulator session to create a file which contains the graphical stimuli. If you define a graphical stimuli, it is mandatory for this to be overloaded , else an error stating that the function asiFormatGraphicalStimuli is not defined for the appropriate class, is displayed:

… *Error* asiFormatGraphicalStimuli: no applicable method for the class -<yoursimulator>_session

Also, the function asiPrintSource needs to be written by the integrator.

Arguments

o_session

Simulation session object. For example, an XYZ session is XYZ_session for a third party.

p_fp

Specifies a file pointer to the file containing the graphical stimuli statements to send to the simulator (for simulators that are not in the Cadence SPICE socket).

Value Returned

t

Returns t if the stimuli statements are generated.

nil

Indicates an error.

Examples

The function prototype is as follows:

asiFormatGraphicalStimuli ((session XYZ_session) fp) 

where, fp is the pointer to the file where graphical stimuli will be written.


Return to top
 ⠀
X