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

asiFormatSimulatorOptions

asiFormatSimulatorOptions( 
o_session 
p_fp 
) 
=> t / nil

Description

Formats and prints the simulator option statements to the designated file. This routine prints .OPTIONS followed by name=value pairs.

Arguments

o_session

The simulation session object.

p_fp

The pointer to the control statement file.

Value Returned

t

The simulator options are formatted successfully.

nil

The simulator options are not formatted.

Examples

The following example shows how to overload the asiFormatSimulatorOptions function:

defmethod( asiFormatSimulatorOptions 
      (( session asiAnalog_session ) fp )
    let(( value (firstOption t))
        foreach( option asiGetSimOptionList( session )   
            when( value = asiGetFormattedVal( option )
                when( firstOption
                    artFprintf(fp ".OPTIONS ")
                    firstOption=nil
                )
                artFprintf(fp "%s=%s " asiGetName(option) value)
                
            )
        )
        t
    )
)

Return to top
 ⠀
X