Product Documentation
Virtuoso ADE Assembler User Guide
Product Version IC23.1, November 2023

20


Working with History Checkpoints

You can use history checkpoints in the ADE Assembler environment to save the active configuration of data such as corners analysis setup, global variables, sweep and test definitions. The environment creates a history checkpoint prior to running a simulation and stores checkpoints in your project directory. You can restore fragments of a checkpoint (such as just the sweep setup), edit the data, and run the simulation again. Checkpoints appear as part of history items on the History tab of the Data View assistant pane in your ADE Assembler environment.

See the following topics for more information:

Specifying How Many Histories to Save

To specify the number of history entries for which you want to save simulation data, do the following:

  1. Choose Options – Save.
    The Save Options form appears.
  2. In the History Entries to Save group box, type the number of history items you want to save.
  3. Click OK.
    The program saves only as many history items as the number you typed and automatically removes (does not retain) any unlocked history items above and beyond that number. The reference history item used for incremental simulation runs (see Running an Incremental Simulation to Reuse Results) is not automatically removed.
    For information about how history entries are saved when you open a maestro view in read only mode, see Number of History Entries Saved for Read Only maestro Views.
    See Locking and Unlocking a History Item for information about how to lock or unlock history items.
For information on the Design Points per Optimization Run group box settings, see “Specifying How Much Optimization Data to Save”.

Overwriting a History Item during Subsequent Simulation Runs

By default, a new history item is created for each simulation run. If you want to do any of the following, you can specify that the selected history item be overwritten during subsequent simulation runs:

To overwrite a history item during subsequent simulation runs, do the following:

  1. Choose Options – Save.
    The Save Options form appears.
  2. Select the Overwrite History check box.
    If the number of histories to be saved is specified as 1 in the Save field, the Overwrite History check box is automatically selected. The value displayed in the Save field is determined by the value of the saveLastNHistoryEntries environment variable. If required, you can edit the value in this field.
  3. From the Overwrite History drop-down list, select one of the following:
    • Select the history item you want to be overwritten every time a simulation is run.
      While working with read-only maestro views, you can overwrite only the read-only histories.
    • Select Next History Run if you want the history item created for the next simulation run to be overwritten during simulation runs.
      For example, if you run Single Run, Corners and Sweeps analysis after selecting Next History Run, the history item, say Interactive.5, that is created will be automatically selected as the overwrite history item. The Interactive.5 history item will then be overwritten for subsequent simulation runs.
  4. By default, the netlist directory of a previous run history is deleted and then created again before the next run. If you want to reuse the files related to simulation, such as the state files that are created during the previous history runs, you can select the Retain Netlist Directory check box. When this check box is selected, the netlist directory of the previous history is retained to reuse the simulation information in the next run. The netlist is generated incrementally in case you change any design information or some of the simulation settings.
    The netlist directory of a history item is retained only if the run mode has not changed after the last simulation run.
  5. Click OK.

Important Points to Note

For more details on saving simulation data by using the Save Options form, see Specifying Options for Saving Simulation Results.

Viewing Histories

To view simulation run histories, click the History tab of the Data View assistant pane.

All the histories saved for the cellview are listed on this tab.

The name of each history item is in the runType.seqNum format, where:

When you troubleshoot a design or data point, the name of the resulting history item is in the runType.seqNum.TS.seqNum format.

To view the details for a particular history:

  1. On the History tab of the Data View assistant pane, click + to the left of the history name. Alternatively, right click a history name and choose Expand.
    The history is expanded to display all details, including the size of the history, path to the results database, the tests that were run, the parameters that were varied, and any specifications or corners.
  2. (Optional) Click + to the left of each item in the tree to expand it.
The ImproveYield, Manual Tuning, and SizeOverCorners history items contain the History Children items in addition to other items saved in all histories. History Children contains the details of other simulations that are run during these runs.

Adding Notes to a History

To add notes to a history:

  1. On the History tab of the Data View assistant pane, right-click the history for which you want to add notes and choose Notes.
    The Add/Edit Notes form is displayed.
  2. In the Notes field, add notes for the history.
    By default, the notes field can accept only 512 characters. To change the default maximum characters limit, you can set the maxNotesLength environment variable.
  3. Click OK.

For related information, see Adding Notes to a Test.

Deleting Notes from a History Item

To delete notes from a history item:

Important points to note:

Renaming Histories

When ADE Assembler creates a history, it is added to the History tab of the Data View assistant pane.

To rename a history, do the following:

  1. Double-click the history name.
    The name becomes editable.
  2. Type a new name or click-drag to highlight the portion of the name you want to change and type new text.
    The name you type must be unique and should not contain a space or any of these special characters: *, <, >, ?, |, ', \, ", ~, (, ), /, and ;.
  3. Press Return when finished.
    The new name appears in place of the old name in the History tab.

Note the following:

Restoring a History Checkpoint

You can restore all or parts of a checkpoint history in one or more maestro cellview at the same time.

Restoring an Entire Checkpoint

To restore an entire checkpoint, do the following:

Restoring Part of a Checkpoint

To restore part of a checkpoint, do the following:

  1. In the History tab of the Data View assistant pane, expand the history item.
  2. In the expanded history item, right-click the item or set of selected items you want to restore and choose Load Setup to Active.
    For example, you can
    • Right-click the Tests, Global Variables, Parameters or Corners branch and choose Load Setup to Active to restore all tests, corners, or specifications in the checkpoint.
    • Select/highlight one or more:
      • tests under the Tests branch, or
      • corners under the Corners branch.

      then right-click and choose Load Setup to Active to restore them.

    The program restores the selected item or items.

See also “Viewing Results from a Particular History Checkpoint” next.

Viewing Results from a Particular History Checkpoint

To view the results from a particular checkpoint, do the following:

Important Points to Note

See Chapter 19, “Viewing, Printing, and Plotting Results” for more information.

Saving Results from a Particular Checkpoint

To save the results from a particular checkpoint, do the following:

  1. In the History tab of the Data View assistant pane, right-click the checkpoint whose results you want to view and choose Save Results.
    The Save Results form appears.
  2. Enter the path to the directory where you want to save the results.
    Alternatively click the browse button to specify the directory.
  3. (Optional) Select the Copy PSF Results? check box if you want to copy PSF results
  4. Click OK.

Viewing Results for a Particular Checkpoint in the Results Browser Window

To view the results for a particular checkpoint in the Results Browser window, do the following:

Viewing the Run Log for a Particular Checkpoint

To view the simulation run log file for a particular checkpoint, do one of the following:

Opening a Terminal Window in the Results Directory for a Particular History Item

To open a terminal window in the results directory for a particular history item, do the following:

You can specify the command the program uses to open a terminal window using the adexl.gui openTerminalCommand environment variable.

ImproveYield and SizeOverCorners history items are slightly different from other history items in that the Open Terminal menu item appears on the historychildren items (such as ImproveYield.0.GlobalOpt.0) rather than on the history item itself.

To open a terminal window in the results directory for a particular ImproveYield history item, do the following:

Deleting Simulation Data for a History Item

To delete simulation data for a history item, do the following:

  1. In the History tab, right-click the history items for which you want to delete simulation data, and then choose Delete Simulation Data.
  2. From the submenu, choose one of the following options:
    • All: Deletes all the simulation data and netlists
    • All except Netlists: Deletes simulation data, but retains netlists
    • All except Netlists and Quick Plot Data: Deletes simulation results, but retains netlists

Deleting a History Checkpoint

To delete a checkpoint from the History tab of the Data View assistant pane, do the following:

Locking and Unlocking a History Item

To lock a history item so that you cannot delete it, do the following:

To unlock a history item, do the following:

Note the following:

Importing Histories from Another Cellview

ADE Assembler lets you to import histories from one cellview to another. By importing histories, you can bring together histories from different cellviews that have the same simulation setup and were used to run different verifications.

You can import histories only for cellviews that use the separate history management feature.

To import a history from one cellview to another:

  1. Open the maestro cellview to which you need to copy a history.
  2. Choose File – Import History.
    The Import Histories form is displayed.
  3. In the Select design section, choose the source cellview that contains the history to be imported.
    The Histories list in the What to import section displays the names of all the histories saved in the selected cellview.
  4. Select one or more history names in the Histories list.
  5. Click the right arrow to move the selected items to the Selected Histories list.
  6. Use the Copy PSF check box to specify whether the psf directory is imported along with the history database. By default, the directory is imported.
  7. Select the Overwrite History check box to overwrite any history of the same name already existing in the destination cellview.
    By default, this check box is not selected and the tool does not import any history names that already exists in the destination cellview.
  8. Click OK to import the selected histories.
    The zip files of the imported histories are copied from the source cellview to the history directory in the destination cellview. In addition, new entries are added to the history database saved in the history.sdb file at the libName/cellName/viewName/history/ location.
    For example, a history Interactive.2 imported into the myLib/myCell/myView cellview is saved at the following location:
    /myLib/myCell/myView/history/Interactive.2.zip

Related Topics

maeImportHistory

Merging Histories

You can merge the results from multiple histories into a single history without rerunning a simulation. Merging histories not only merges the results from different histories, but also merges setups used in those histories.

You can also choose to preview setup and modify it before merging results of the selected histories.

This section includes the following topics:

Merging Setups and Results from Multiple Histories

To merge setups and results from multiple histories:

  1. In the History tab of the Data View assistant, select the histories that you want to merge to a new history. For example, History1 and History2.
  2. Right-click the selected histories, and then choose Merge And Load to Active.
    The Merge Histories form appears, displaying a list of selected histories. The history displayed at the top of list is used as the master setup. You can use the arrow buttons to change the master setup.
  3. Click Merge to merge the setups and results from the selected histories.
    A message box may appear, indicating that there have been some changes to the active setup.
  4. Click Yes to continue.
    The setup from the master history is loaded as the active setup. Setup from other histories are merged into it. The results are also merged into a new history that is saved with a new name Interactive.incremented_number.
    You can hover over a history to check whether it is created by merging other histories. A merged history shows a tooltip with the names of histories that were merged to create it.

Important Points to Note

Merging Selected Run Points

Using Preview option on the Merge Histories form, you can preview the merged setup before merging results of the histories. This feature provides you the flexibility to selectively merge a subset of the points available in the merged setup.

To selectively merge a few run points:

  1. In the History tab of the Data View assistant, select the histories that you want to merge to a new history. For example, History1 and History2.
  2. Right-click the selected histories, and then choose Merge And Load to Active.
    The Merge Histories form opens, displaying a list of selected histories.
  3. Click Preview.
    The Run Preview tab opens, displaying a preview of the merged setup with its summary.
    The Run Preview tab shows the following information:
    • The Setup Summary section displays the number of unique tests, corners, sweep points, and number of simulations.
    • The table below the summary shows the details of all the points and their results. The History column displays the name of the histories from which the results are retrieved. These histories are considered as reference histories from which results are reused in the next run. The blank entry in the History column against a run point indicates that no results are available for that point.
    • The Point Status column displays the status of a point. This column can display the following values:
      • Available–Indicates that the results for this point are found in the history mentioned in the History column
      • Error–Indicates that the results for this point were not generated successfully due to an error in the history mentioned in the History column
      • (-)–Indicates that the point is not found in any history merged to show this preview
  4. On the Run Preview tab, deselect the run points that you do not want to merge.
  5. Click on the Run Preview toolbar to merge only the selected results.
    A new history is created in which the results for the selected points are merged. No new simulations are run. The points for which results are not available are shown as canceled in the Detail view.

Customizing Setup before Merging Histories

Before merging the results of histories, you can review their merged setup and make changes in the test, variable, or corner settings. This allows you to reuse results for existing points from the merged histories and run simulations for additional points that you may want to add.

To preview and customize the merged setup:

  1. Click Preview on the Merge Histories form to preview the merged setup in the Run Preview tab.
    The active setup of the maestro cellview is also updated according to the merged setup.
  2. Modify the active setup as required.
    For example, you can add or modify corners. When you modify the active setup, the preview is disabled and the Refresh the preview to reflect changes in the active setup command on the Run Preview toolbar shows an exclamation mark (!).
  3. To reflect the changes from active setup to the preview, click the Refresh the preview to reflect changes in the active setup command on the Run Preview toolbar.
    The details are updated in the Preview tab, and the tab is enabled for further changes. If required, new rows are added. In addition, the summary is also updated.
    For example, adding a new corner C2, which is being swept adds new rows in the details. Observe the changes in the number of simulations, point sweeps and corners. Entries in the History column for newly added points show (-) because these points were not available earlier in the histories being merged.
  4. Select Carry Over Error Points if you want to retain the status of error points from the reference history. When this check box is deselected, ADE Assembler also simulates the points that resulted in errors in the previous run.
  5. Click Document Run Preview Table in CSV Format to document the details of the points of merged histories in a .csv file for future reference.
    The Document Run Preview Table form is displayed. Specify a location and name for the file where you want to save the details.
    The details from the Run Preview table are saved in a .csv file. The file is also shown in the Documents tree in the Data View assistant.
  6. Click Run Simulation on the Run toolbar to run the simulation to get results for the updated points in the modified setup.
    A new history is created to which results available in the merged histories are copied. The newly-added points are simulated and their results are added to the new history.

Important Points to Note:

How does ADE Assembler merge variables and corners?

ADE Assembler merges variables and corners as follows:

Limitations of Merging Histories

You cannot merge histories in the following cases:

You can merge histories only when both the master and the reference histories are generated using a release version that either precedes or follows IC6.1.8 ISR14 or ICADVM20.1 base release.


Return to top
 ⠀
X