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

asiSendInitCond

asiSendInitCond( 
o_session
) 
=> t / nil

Description

Places all the initial conditions in <netlistDirectory>/raw/ics and sends a ptprop command to Cadence SPICE.

There is a mechanism in the simdot.f file that gets the value of the ptprop command (if the ptprop command was sent). If the ptprop command was sent, the ics file is automatically included in the final netlist. If the ptprop command was not sent, the ics file is not included. The initial conditions are of the form:

ic v(node)=value

Note for Integrators: This function is defined as a method for the Analog Class and is called by asiSendControlStmts. You can overload this method for your simulator class, as shown in the example for integrators.

Arguments

o_session

Specifies the session object.

Value Returned

t

The initial conditions are sent to Cadence SPICE.

nil

There is an error.

Examples

defmethod( asiSendInitCond(( session <yourSimulator>_session ) )
    let( ( icStr )

     icStr = ".ic v(%s) = %s\n"
asiiSendInitCond( session icStr )
  t 
)
)

Return to top
 ⠀
X