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

asiSetEnvOptionVal

asiSetEnvOptionVal(
{ o_session | o_tool }
s_name
g_value
)
=> g_value / nil

Description

Sets the value of the specified simulation environment option.

Arguments

o_session

Simulation session object

o_tool

Simulation tool object

s_name

Name of the simulation environment option to which you want to assign a value.

g_value

Value for the simulation option.

Value Returned

g_value

Returns the new value for the simulation environment option.

nil

Returns an error message and nil if the option does not exist.

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

asiDisplayEnvOption


Return to top
 ⠀
X