maeSetParameter
maeSetParameter(
t_parameterName
g_parameterValue
[ ?typeName t_typeName ]
[ ?typeValue l_typeValue ]
[ ?session t_sessionName ]
)
=> t / nil
Description
Adds a new parameter at the global level or corner level. If the parameter already exists, its value is updated.
Arguments
|
t_parameterName
|
Name of the parameter to be added or updated.
Parameter names must contain at least five non-empty names each separated by a / (slash), typically representing the library/cell/view/instance/property to be modified. Multiple "instance/" strings can be used to specify hierarchical parameters, such as library/cell/view/instance0/instance1/instance2/property.
|
|
g_parameterValue
|
Value to be set for the parameter.
|
|
?typeName t_typeName
|
|
|
Specifies if the parameter is to be added or updated at the global level or only for corners.
-
test: Adds the specified parameter at a global level. This is the default value. -
corner: Adds the parameter only for the specified corner.
|
|
?typeValue l_typeValue
|
|
|
List of the corners for which the parameter is to be added.
The default value is"Global".
|
|
?session t_sessionName
|
|
|
Name of the session.
If not specified, the current session is used.
|
Value Returned
|
t
|
The specified parameter is added.
|
|
nil
|
The specified parameter is not added.
|
Examples
Adds a parameter R0/r at the test level and sets its value as 8k.
sess= maeOpenSetup("Two_Stage_Opamp" "OpAmp" "maestro")
=> "session0"
maeSetParameter("Two_Stage_Opamp/OpAmp/schematic/R0/r" "8k")
=> t
Sets the value for the parameter R0/r to 6k for corners C0 and C1.
maeSetParameter("Two_Stage_Opamp/OpAmp/schematic/R0/r" "6k" ?typeName "corner" ?typeValue '("C0" "C1"))
=> t
Return to top