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

asiFormatDesignVarList

asiFormatDesignVarList( 
o_session 
) 
=> t / nil

Description

Formats and prints the design variable statements to the design variable file. This routine first prints the string.PARAM followed by the design variables in name=value pairs. The design variables are obtained by calling asiGetDesignVarList.

Arguments

o_session

The simulation session object.

Value Returned

t

The design variable statements are generated successfully.

nil

The design variable statements are not generated.

Examples

The following example shows how to overload the asiFormatDesignVarList function:

defmethod( asiFormatDesignVarList ((session asiAnalog_session) fp )
let( ( (varList asiGetDesignVarList( session ))
         mappedVarList mappedVar)
 when( varList
      mappedVarList = asiGetDesignVarMappedList( session )
  artFprintf( fp ".PARAM")
  foreach( var varList
            mappedVar = assoc( car(var) mappedVarList)
   if( mappedVar
   artFprintf( fp " %s" (cadr mappedVar ))
               artFprintf( fp " %s" car( var ))
         )
  unless( (artBlankString (cadr var))
   artFprintf( fp "=%s" (cadr var)))
            )
  artFprintf( fp "\n" )
      )
      t
    )
  )

Return to top
 ⠀
X