maeWaitUntilDone
maeWaitUntilDone(g_historyNames[?sessiont_sessionName] ) => t / nil
Description
Specifies the names of historic checkpoints for which the tool must wait before proceeding.
Arguments
|
Specifies one or more history checkpoints for which the tool must wait to complete simulation before proceeding to the next command. |
|
Value Returned
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