asiSetEnvOptionVal
asiSetEnvOptionVal(
{ o_session | o_tool }
s_name
g_value
)
=> g_value / nil
Description
Sets the value of the specified simulation environment option.
Arguments
|
Name of the simulation environment option to which you want to assign a value. |
|
Value Returned
|
Returns the new value for the simulation environment option. |
|
|
Returns an error message and |
Examples
Sets the value of modelFiles to /mypath/mySpectreModels.scs for Spectre Direct.
asiSetEnvOptionVal(session "modelFiles" '("/mypath/mySpectreModels.scs"))
Sets the value of modelFiles to /mypath/mySpectreModels.scs and the section name to cmos for Spectre Direct.
asiSetEnvOptionVal(session "modelFiles" '(("/mypath/mySpectreModels.scs" "cmos")))
Sets the value of the modelPath simulation environment option to ~models/nmos for Spectre.
asiSetEnvOptionVal( session 'modelPath "~models/nmos" )
Related Topics
Return to top