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

18


Debugging with ADE Diagnostics

While debugging simulations, you need information about the points with erroneous results or the entire history saved for the run. In LSCS job control mode, the tool saves multiple log files that are saved by different components of the LSCS architecture. ADE Assembler runs a list of checks on these log files and generates the ADE Diagnostics report that helps you troubleshoot simulation errors.

The ADE Diagnostics report displays accurate results only when:

This report can be generated in other cases as well but the results might not be reliable.

The ADE diagnostics report is meant for advanced users and CAD engineers. This report provides a root-cause analysis of the issues reported during a simulation. You can use this information to identify solutions while troubleshooting simulations.

In certain scenarios, you may review the resources being used and take some predefined steps, if necessary. The Debug Utility form provides some additional checks and debugging options that you can use to save useful diagnostic information.

Related Topics

Using the Debug Utility Form

ADE Diagnostics Report

Using the Debug Utility Form

The Debug Utility form provides debugging options that help you gather information to o analyze when troubleshooting simulation runs.

To use the Debug Utility form:

  1. Choose ToolsDebug in ADE Assembler.
    The Debug Utility form is displayed.
  2. Review and modify the options given in this form.
    By default, the log files show basic error, warning, and information messages. If the information available in the log files is not sufficient and you need more details, select the Enable verbose logging in job logs and CDS log check box. This saves additional details and displays more detailed messages. However, it impacts the performance of the tool and increases the size of the log files significantly.
    It is recommended to selectively enable the logs using the following environment variables:
    • maestro.debug netlisting
    • maestro.debug simAndEval
    • maestro.debug beanstalk
    • maestro.debug mainVirtuoso

    Through these variables, you can specify a higher debug level in which the tool saves additional details and displays more detailed messages. These messages are added to the log files in a machine-readable format which makes it easy to filter and parse the information.
    The following figure shows the structure of these messages.
    For example, if you set maestro.debug simAndEval to 1, you can see extra lines marked with [DEBUG1] saved in the log, as shown below.
    Similarly, at level 2, the tool lets you print user-level debugging information for an error. This also includes status change messages for processes, as shown below.
    At level 3, the beanstalk monitor is enabled and the tool prints detailed debugging messages suitable for advanced users.
    In level 2 and 3, there might be some impact on the performance of the tool. Therefore, it is recommended to reset these variables to 0 after you have finished debugging simulations.
  3. Click OK.

Related Topics

Debug Utility Form

maestro.debug netlisting

maestro.debug simAndEval

maestro.debug beanstalk

maestro.debug mainVirtuoso

ADE Diagnostics Report

Troubleshooting simulation errors using log files can be a difficult task because ADE Assembler saves multiple log files that are generated by different components of the LSCS architecture.

For detailed analysis of such errors and debugging, ADE Assembler runs a series of checks on these log files and displays their results in an HTML report.

This report has three panes:

Check Results

Th Check Results pane displays the status of the checks and the total number of simulation-related errors in tabular format. This table has four columns.

Column Name Description

id

Displays the check ID.

  • R: Run Information
  • T: Timing Information
  • D: Design Nelisting
  • P: Point Netlisting
  • S: Simulation
  • E: Evaluation
  • O: Overlap
  • B: Beanstalk

Description

Displays the name and details of the checks being run.

Passed

Reports the status of the performed checks.

Problems

Reports the number of issues found while performing each check.

Details

The Details pane provides more details about the checks. To get more information for a specific check, select the related row in the Check Results table and view the Details pane. This information is displayed in a tabular format and may include references to other checks that might have caused the given check to fail. This table has two columns.

Column Name Description

Field

Specifies the type of information being displayed for the failed check. For example, test and point.

Value

Displays a short description of the failed check, followed by the related information required for debugging. This includes the name of the associated test, the point where an issue was found, and any related messages. It may also include references to other checks.

Point Mapping

The Point Mapping pane lets you map the points reported in the Details pane to the points in the Results tab in ADE Assembler. This information is displayed in tabular format and lets you easily identify the source of the issue. This table has three columns.

Column Name Description

Point

Displays the serial number.

Design point

Specifies the design point in the Results tab where the issue was found.

Corner

Specifies the corner in the Results tab where the issue was found.

For example, if an evaluation error was found in point 14, the following information is displayed in the Point Mapping pane.

This means that the issue was found at design point 5, for corner C1_0 in the Results tab.

Related Topics

Using the Debug Utility Form

Checks Performed by ADE Diagnostics

Generating the ADE Diagnostics Report

Checks Performed by ADE Diagnostics

The following list gives an overview of the checks performed by ADE Diagnostics. The diagnostics report provides a comprehensive description for these checks.

Related Topics

Using the Debug Utility Form

ADE Diagnostics Report

Generating the ADE Diagnostics Report

Generating the ADE Diagnostics Report

To view the diagnostics report:

  1. Before running a simulation, set the following environment variables in the CIW.
    envSetVal("maestro.debug" "netlisting" 'int 3)
    envSetVal("maestro.debug" "simAndEval" 'int 3)
    envSetVal("maestro.debug" "beanstalk" 'int 3)
    envSetVal("maestro.debug" "mainVirtuoso" 'int 3)
    Alternatively, select the Enable verbose logging in job logs and CDS log check box in the Debug Utility form.
  2. In the History tab of the Data View assistant, right-click the history for which you want to generate the diagnostics report, and choose Diagnostics – Analyze Logs.
    An HTML report with the title Log Diagnostics Report is generated. The subtitle of this report is in the format LibName:CellName:ViewName (historyName). Here, historyName represents the history being used. LibName, CellName, and ViewName represent the names of the library, cell, and view for the test associated to that history. The report also lists the Virtuoso and Spectre versions being used along with the Virtuoso host name.

Related Topics

ADE Diagnostics Report

Checks Performed by ADE Diagnostics

maestro.debug netlisting

maestro.debug simAndEval

maestro.debug beanstalk

maestro.debug mainVirtuoso


Return to top
 ⠀
X