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

maeWaitUntilDone

maeWaitUntilDone(
g_historyNames 
[ ?session t_sessionName ] 
)
=> t / nil

Description

Specifies the names of historic checkpoints for which the tool must wait before proceeding.

Arguments

g_historyNames

Specifies one or more history checkpoints for which the tool must wait to complete simulation before proceeding to the next command.

The valid values are:

  • Name of a history.
  • A list of history names for which the simulation must be complete before the tool runs the next command.
  • 'All to specify that the tool must wait for the completion of all active runs.

?session t_sessionName

Name of the ADE Assembler or Explorer session.

Default value: Current session

Value Returned

t

The specified history checkpoints have been set.

nil

The command could not be run.

Examples

Runs a simulation for the given setup. Assembler is made to wait for the completion of the simulation for multiple histories.

maeOpenSetup("solutions" "amptest" "maestro")
;; the above function loads the given cellview and returns the session object
=> "session0"
maeSetVar("rload" 10k)
;; sets value for the rload variable
=> t
maeRunSimulation()
;; the above function runs the simulation for the given setup and returns the name of the history
=> "Interactive.2"
maeWaitUntilDone('All)
=> (0)
maeExportOutputView()
;; the above function writes the results in a csv file in the current working
;; directory and returns the file path when successful.
=> "/servers/scratch02/testcases/adexl_workshop/design/Interactive.2.csv"
;;To make Assembler wait for the completion of simulation for a particular history:
hist=maeRunSimulation()
=> "Interactive.3"
maeWaitUntilDone(hist)
;; To make Assembler wait for the completion of simulation for multiple histories, ;; provide a list of all history names to the maeWaitUntilDone function, as shown ;; below: hist=maeRunSimulation() => "Interactive.3" hist1=maeRunSimulation() => "Interactive.4" hist2=maeRunSimulation() => "Interactive.5" maeWaitUntilDone(list(hist hist1)) maeExportOutputView() => "/servers/scratch02/testcases/adexl_workshop/design/Interactive.4.csv"

Return to top
 ⠀
X