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

Callback Function to Save Verifier Cellviews Automatically

The following code illustrates a custom callback function that saves the active Verifier cellviews periodically. You can add such a function in your .cdsinit file to save your cellviews automatically.

   Callback function to save all the active Verifier cellviews automatically.
   Specify the save interval in seconds as argument, like:
         autoSaveVerifierCellView(300)
   This will save all opened Verifier cellviews every 5 minutes.
   To interrupt the auto saving, set the global variable
         _stopAutoSaveVerifier = t
procedure(autoSaveVerifierCellView(saveInterval "x")
   Get all opened Verifier sessions
foreach(sessionId verifGetAllSessions()
;; Don't save for the read-only session
unless(verifIsSessionReadOnly(sessionId)
            verifSaveSession(sessionId)))
    if((boundp('_stopAutoSaveVerifier) && _stopAutoSaveVerifier) then
        printf("Auto save interrupted. Set _stopAutoSaveVerifier = nil and start        autoSaveVerifierCellView %d again.\n" saveInterval)
    else
        hiRegTimer(sprintf(nil "autoSaveVerifierCellView(%d)" saveInterval)         saveInterval*10)
        printf("...done. Next auto save scheduled in %d seconds.\n"         saveInterval)))

Related Topics

Requirement Functions

Implementation Functions

Verifier Session and Setup Functions

Simulation and Results Extraction Functions

Snapshot Functions


Return to top
 ⠀
X