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

15


Working with the Setup Library Assistant

The Setup Library assistant helps you define a project-specific (master) setup for the design blocks in ADE Assembler and then reuse the specified setup to create or modify the current simulation setup in the Data View assistant. The setup in this assistant is generic and can be applied on any design. The Setup Library assistant can be accessed using ADE Assembler and ADE Verifier.

The Setup Library assistant works with the ADE Verifier license. If this license is not available, an error message is displayed.

Following are the main tasks that you can perform using this assistant:

The scope and capabilities of this assistant are defined based on your work requirements and the platforms you are working on:

This chapter includes the following topics:

Related Blog on Cadence Community

Virtuosity: Simulation Planning and Coverage Environment (SPACE) - Introduction

Opening the Setup Library Assistant

Perform one of the following steps to open the Setup Library assistant in ADE Assembler:

By default, when you open the Setup library assistant for the first time, no setup cellview is loaded in the assistant and the assistant is blank. You can create a new Setup Library cellview or open an existing Setup Library cellview, depending on the type of work you need to perform using this assistant.

Setup Library Assistant Graphical User Interface

The Setup Library assistant includes a toolbar and the interface for defining and displaying the setup elements. The figure below explains the graphical user interface of this assistant:

Toolbar

Table 15-1

Command Description

Creates a new Setup Library cellview or opens an existing Setup Library cellview in the Setup Library assistant.

Saves the changes made to the setup elements in the same or a different Setup Library cellview. This drop-down list includes the following two options:

  • Save — Saves the changes in the same cellview.
  • Save A Copy — Saves the changes in another cellview. When you click this option, the Save As Setup Library CellView form appears in which you can specify the library, cell, and view name to save the setup.
You need to save the changes made to the maestro cellview before you exit the ADE Assembler or ADE Verifier session, otherwise, the changes made to the Setup Library assistant will not be saved.

Toggle Edit Mode

Controls the editing of setup loaded in Setup Library assistant. When the setup is loaded, by default a lock symbol is displayed on this button to indicate that the mode is read-only. If you have the permissions, you can edit the setup. When you click the Toggle Edit Mode button, the lock symbol disappears and the mode is changed to edit.

In addition, this lock also prevents you to make changes simultaneously when someone else is editing the Setup Library cellview. If the cellview is being edited by someone, a warning message is displayed to inform you that you cannot edit the setup in the cellview.

When you switch the Setup Library assistant from edit mode to read-only mode, a message appears that suggests you to save the updates made in the Setup Library.

Refresh

Refreshes the setup with the latest changes. A warning icon on this button indicates that the setup has been modified. When you click the button, the setup is updated to show the latest changes.

Opens the Task Assistant that provides quick help about the Setup Library assistant.

Creating a New Cellview or Loading an Existing Cellview

When you open the Setup Library assistant for the first time, it does not show any data and an information message is displayed that guides you to open a new or an existing Setup Library cellview. You can create a new Setup Library cellview and specify the project-specific setup, or you can open an existing cellview if you want to run or edit the project-specific setup.

To create a new cellview or open an existing view:

In this form, specify the following fields:

  1. In the Library and Cell drop-down lists, select a library and the corresponding cell.
  2. In the View drop-down list, all the existing cellviews of type setupLib are displayed. Specify a cellview name for the Setup Library view if you want to create a new cellview. By default, the cellview type is displayed as setupLib when you open the form. If you want to load an existing cellview, select the cellview name from the drop-down list.
  3. Click OK.

The specified Setup Library cellview is created or loaded in the Setup Library assistant.

The new Setup Library cellview you create is saved and displayed in the View section of Library Manager. For example, if you create a new cellview SetupLib for library Two_Stage_Opamp and cell OpAmp_AC_top, this cellview is displayed in the Library Manager window, as shown in the figure below:

Editing the Setup

When a new Setup Library cellview is created, it does not include any setup elements. You need to edit the setup to add elements to that cellview. You might also want to modify the an existing setup to add, delete, or modify elements.

Before you proceed with editing, ensure that the cellview is enabled for editing. The lock symbol on the Toggle Edit Mode button ( ) on the toolbar indicates that the cellview is read-only. Click this button to enable the edit mode.

This section includes the following topics:

Adding New Sweep Setups

To add a new sweep setup, do one of the following:

Now, to add a sweep variable in this sweep setup:

The specified variable is listed in SweepSetup1 tree in a new row, as shown below:

You can double-click the displayed sweep variable value to change it directly in the variable row.

Similarly, you can add more variables to this sweep setup and create more sweep setups. The second sweep setup you create is by default named as SweepSetup2.

Alternatively, you can drag the variables from the Data View assistant and add them to the specific sweep setups in the Setup Library assistant. Use the Ctrl key to drag multiple variables together.

When you drag and drop a variable from the Data View assistant to the Setup Library assistant, the status of the variable is always set to enabled irrespective of its status in the active setup.

To delete a sweep variable, right-click the variable and choose Delete.

To delete the entire sweep setup, right-click the sweep setup tree and choose Delete.

To view all the sweep variables in a sweep setup, right-click the sweep setup tree and choose Expand All.

To hide all the sweep variables in a sweep setup, right-click the sweep setup tree and choose Collapse All.

Adding New Corner Setups

To add a new corner setup, do one of the following:

To add a corner to the corner setup:

  1. Add a new corner in the ADE Assembler setup or select the already specified corners in the ADE Assembler setup.
  2. Drag the corner from the Data View assistant to the corner setup in Setup Library assistant.
    The corner is added in the specified corner setup in the Setup Library assistant.
The only method currently available to add corners to the Setup Library assistant is to drag them from ADE Assembler. After the corners are added in the Setup Library assistant, you can edit them by double-clicking the corner name and corner conditions value. Also note that the status of a corner dragged from the Data View assistant is set as enabled irrespective of its status in the active setup. The tool remembers the status of the corner setup when you drag a corner setup from the Data View to the Setup Library or from the Setup Library to the Data View.

Adding New Simulation Setups

Currently, the Setup Library assistant supports only Monte Carlo simulation setups. Additionally, you can only add a Monte Carlo simulation setup when the currently opened setup library view is editable.

To add a new simulation setup, do one of the following:

To add a variable value in this simulation setup, specify the following:

  1. In the mcnumpoints variable row, double-click to make the text field editable and specify the number of points for which you want to run the Monte Carlo simulation.
  2. From the mcmethods drop-down list, select method that you want to use for running Monte Carlo simulations. Possible values are All, Mismatch, and Process.
  3. From the samplingmode drop-down list, select the mode that you want to use to run Monte Carlo simulations. Possible values are Random, Latin Hypercube, and Low-Discrepancy Sequence.
  4. In the montecarloseed variable row, double-click to make the text field editable and specify the seed value for which you want to run the Monte Carlo simulation.

The specified variable values are listed in the Monte Carlo Setup1 group. You can double-click the displayed variable value to change it directly in the variable row.

You can add more simulation setups in your setup library view. The second simulation setup that you create is by default named Monte Carlo Setup2, and so on.

Additionally, you can drag the simulation setup from the Setup Library assistant and drop it on the Data View assistant. Use the Ctrl key to drag multiple setups together.

When you drag and drop a Monte Carlo simulation setup from the Setup Library assistant to the Data View assistant, ADE Assembler shows the run options in the Monte Carlo options form. The form shows the values that you have specified in Monte Carlo Setup1.

To delete a specific simulation setup from the Setup Library assistant, right-click the setup name and choose Delete.

To view all the variables in a simulation setup, right-click the simulation setup name and choose Expand All.

To hide all the variables in a simulation setup, right-click the simulation setup name and choose Collapse All.

Adding New Reliability Setups

To add a new reliability setup, ensure that the setup library cellview is editable and do one of the following:

The reliability setup is added and displayed in the Reliability Setups section. The default name of the new reliability setup is ReliabilitySetup1, which you can rename as required. The second reliability setup that you create is by default named ReliabilitySetup2, and so on.

Ensure that the reliability setup name is a non-empty string which is not '.' or '..' and does not contain whitespaces or the characters: '~\\*/<>'?|\"()=;&$'."

To add reliability options to a reliability setup in the setup library cellview:

The default name of the first set of reliability options is Reliability1. You can add more reliability options in your reliability setup.

Alternatively, you can drag the top element of reliability analyses together with one or more reliability options from Data View in ADE Assembler and drop them to any reliability setup or reliability options node in the setup library cellview.

If the Reliability Setups group contains multiple reliability options, you can enable the required options and disable the others.

To enable or disable a set of reliability options, do one of the following:

The Enable and Disable commands are available for multiple selection when the setup library cellview is editable.

To edit the reliability options in a reliability setup:

The Reliability Options form is displayed.

This form is the same as the Reliability Options form that is opened from the Data View in ADE Assembler. The form name is suffixed with the names of the reliability setup and reliability options in the following format.

Reliability Setup_name:ReliabilityOptions_name

All options in this form are set to the default values that are read from the spectre/.cdsenv file. You can modify the values, if required.

To view the reliability options in the read-only mode:

The Reliability Options form is displayed in view-only mode. The OK, Defaults, and Apply buttons are disabled. This means that even if you modify any values in the form, the settings are not saved in the reliability setup.

All changes that you make to a reliability setup are indicated by a yellow exclamation mark on the Refresh Current Setup Library with latest changes button on the Setup Library toolbar.

You can also drag one or more reliability options from the Setup Library to the Data View. Some important points to be noted during this process are as follows:

To delete a specific reliability setup from the Setup Library assistant:

To view all the reliability options in a reliability setup:

To hide all the reliability options in a reliability setup:

Reusing the Setup from Data View and Setup Library Assistants

You can load the setup defined in the Setup Library assistant into the Data View assistant and then create your ADE Assembler setup using the specified variables and corners values required for the project.

To do this, you can drag the setup elements from the Setup Library assistant to the Data View assistant. You can drag either a particular sweep or corner value or the entire sweep or corner setups. To drag multiple setup elements, use the Ctrl key.

If you drag one or multiple sweep variables or corners together from the Setup Library assistant to Data View, then the variables or corners are added in Data View as a copy. However, if you drag the whole sweep or corner setup, the elements in the dragged setup are displayed with a reference icon. This indicates that the elements are referenced from the Setup Library assistant.

In the case of corners, when you set the overwriteEntireCorner environment variable to nil, the corner in the Data View assistant can have additional variables, parameters, model files, or model groups, in addition to the settings from the referenced corner setup in the Setup Library Assistant.

If the autoUpdateTagForReference environment variable is set to t, the setup dragged from the Setup Library assistant is added as a tag for the variable or corner in the Data View assistant.

Modifications of these referenced elements in either of these assistants are highlighted in the Data View assistant. Consider that the value of a variable, vdd, in the Setup Library assistant, is set to 1.5, and this variable is also present in the Data View assistant as a reference. Now, if you change the value of vdd to 1.2 in the Setup Library assistant, or if you change the value of vdd to 2 in the Data View assistant, the Data View assistant displays the variable name in bold text.

Additionally, an exclamation mark icon is also displayed with the Global Variables section, indicating that the variables are not in sync with the Setup Library. When you move your mouse over the section name, a tooltip is displayed to specify the reason for the difference. When you hover the pointer on sweeps and corners in Data View, a tooltip appears to display the name of the referenced setup from Setup Library.

If you want to run simulations for a specific set of sweep combinations for different parameters. you can create a parametric setup in the Setup Library assistant and drag it to the Global Variables section in the Data View assistant. To do this, select one of the following:

Consider a scenario where the Data View and the Setup Library both contain multiple parametric setups, as shown below. Here, each parametric set is highlighted in a different shade of color.

Now, if you drag SweepSetup1 and SweepSetup2 from the Setup Library to the Data View, the setup from the Setup Library takes priority and overwrites the variables and parametric sets in the Global Variables section. The Data View assistant retains a parametric set in the Global Variables section if it contains variables that are not present in the Setup Library. It can be observed that all parametric sets are redefined as follows:

You can change the dragged values in Data View assistant; however, it is considered a deviation from the project-specific setup and is not recommended.

You can also drag the setup elements and parametric sets from the Data View assistant to load them into the Setup Library assistant. Here, the parametric setup is displayed with a highlighted background. You can drag one variable or corner at a time or the entire setup in one step. To load multiple setup elements, such as multiple sweeps or corners together, select them using the Ctrl key and then drag them.

You can drag and drop setups from Data View assistant to Setup Library only when the Setup Library cellview is opened for editing. Otherwise, a warning message is displayed.

Similarly, you can also drag one or more reliability options from the Setup Library to the Data View. Some important points to be noted during this process are as follows:

Synchronizing ADE Assembler Setup with Changes in Setup Library

If the sweep or corner setup and reliability setup that you reused from the Setup Library assistant is updated in the project-specific setup in Setup Library, the Data View assistant displays the Global Variables section name and variable name, and the Reliability Analyses and reliability elements in bold text.

The tooltip also shows a message indicating that the values in the referenced setup have changed, and shows the revised values, as shown below.

You can synchronize the ADE Assembler setup to reflect the latest updates. To do this:

The exclamation mark icon on the Global Variables and Reliability Analyses sections and the bold text disappear and the Data View assistant reflects the updated values from the referenced setup.

Clearing References to Setups in the Setup Library

There can be scenarios when you want to remove any references to the sweep, corner, or reliability setup to meet the following requirements:

In such cases, you can clear all references to the sweep setups or corners setups.

To remove the references:

Once the project-specific setup is defined and reused to create the current simulation setup in Data View, and simulation results are obtained, you can verify the simulation history in ADE Verifier. You can create verification spaces and calculate the design coverage to check whether the entire project-specific setup has been run, and then generate the coverage report in the Result tab of ADE Verifier. For more details, refer to Creating Verification Spaces.

Creating Verification Spaces

A verification space is a combination of sweep and corner values that you specify in the Setup Library assistant. You can assign these verification spaces to different design blocks and use them to calculate the coverage.

To create verification spaces, do one of the following:

To add a new verification space:

  1. Click Create New Space ( ).
    A new space row is added and named as Space1, as shown in the figure below:
    You can double-click the space name and rename it if you want.
  2. Select the following, as required:
    • a corner setup from the Corners list
    • a sweep setup from the Sweeps list
    • a Monte Carlo simulation setup from the Simulation Setups list
    • a reliability setup from the Reliability Setup list

Similarly, you can create more verification spaces and they are by default named as Space2, Space3, and so on.

To delete a verification space, select the space in the Verification Space Builder form and click Delete ( ).

For more information about how to use the Setup Library assistant to calculate coverage, see the Verifying the Design Against the Specified Setup chapter in Virtuoso ADE Verifier User Guide.

Managing Documents

The Setup Library assistant includes a Documents section in which you can import a file containing the coverage report for a particular design. For more information about how to export the coverage report into a CSV file, see Exporting the Coverage Report in Virtuoso ADE Verifier User Guide.

Once the coverage report is exported, you can perform the following step to add it into the Documents section of the Setup Library assistant:

The Choose Document to be added form appears in which you can browse and select a document you want to add. The selected file will be added in the Documents section.

You can right-click the filename and choose one of the following options to perform various operations:


Return to top
 ⠀
X