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

maeCloseSession

maeCloseSession(
[ ?session t_sessionName ]
[ ?forceClose g_forceClose ]
)
=> t / nil

Description

Closes the sessions opened using maeOpenSetup in the SKILL code. This function cannot be used to close the sessions opened from the Virtuoso user interface.

Arguments

?session t_sessionName

Name of the session to be closed.

If not specified, the current session is closed.

?forceClose g_forceClose

A Boolean value that specifies whether the current session needs to be closed immediately or not if simulations are pending. In both cases, appropriate information messages are added to the log.

  • t: Immediately stops the simulations that are in progress and closes the session.
  • nil: Waits for the simulations that are in progress to complete and then closes the session. This is the default.

Value Returned

t

Closes the sessions opened using maeOpenSetup in the SKILL code.

nil

Could not close the session.

Examples

Closes the session fnxSession2 that is opened using the function maeOpenSetup and edited using the function maeSetSetup.

; load the setup
maeOpenSetup("solutions" "ampTest" "maestro")
=>"fnxSession2"
; check which tests are there in setup
maeGetSetup()
=> ("solutions"amptest:1" "solutions:amptest:2")
; Enable a test "solution:amptest:1"
maeSetSetup(?tests '("solutions:amptest:1"))
; Set the value of global variable
"CAP" as 5p: maeSetVar("CAP" 5p)
; Disable corners C0 and C1
maeSetSetup(?corners '("C0" "C1") ?enabled nil)
; save changes in the cellview maeSaveSetup()
; Run Simulation
maeRunSimulation()
maeCloseSession() => t
; The tool waits for the simulation to complete before closing the session

Related Topics

maeOpenSetup


Return to top
 ⠀
X