Viewing Results in the Vitis Analyzer - 2023.2 English

Vitis Model Composer User Guide (UG1483)

Document ID
UG1483
Release Date
2023-11-15
Version
2023.2 English

The AMD Vitis™ software platform analyzer is a utility that allows you to view and analyze the reports generated while building and running the application. It is intended to let you review reports generated by both the Vitis compiler when the application is built, and the Xilinx Runtime (XRT) library when the application is run. The Vitis analyzer can be used to view reports from Vitis integrated design environment (IDE).

During the simulation of the AI Engine graph, the aiesimulator writes a summary of the simulation results called default.aierun_summary. This can be viewed in the Vitis analyzer. The summary contains a collection of reports and diagrams reflecting the state of the AI Engine application.

Vitis Model Composer integrates the Vitis analyzer utility. This can be invoked by enabling the Collect trace data for Vitis Analyzer option from within the Hub block, along with the AIE Simulation. When the simulation completes, Vitis Model Composer automatically reads the default.aierun_summary file which is generated during the aiesimulator run and invokes the Vitis Analyzer Summary window. You can navigate to the Trace window to see the trace data as shown.

Figure 1. Vitis Analyzer Trace

From the report navigator you can view other available reports, such as Summary, Profile, Graph, Array, Log, and Performance Metrics.

Note: You can relaunch the Vitis Analyzer by clicking Open Vitis Analyzer as shown in the following figure. You can view trace data in Vitis Analyzer using this option only when the AIE Simulation has been run at least once after enabling the Collect trace data for Vitis Analyzer option.
Figure 2. Collect trace data for Vitis Analyzer

In Vitis Model Composer, you can launch Vitis analyzer from the MATLAB command window using the following command.

xmcOpenVitisAnalyzer('file')

When this command is given without a <file> option, Model Composer looks up all default.aierun_summary files in the current target directory and invokes the Vitis analyzer to display the results in the summary page.

For more information on the Vitis analyzer, refer to the Using Vitis Analyzer topic in Vitis Unified Software Platform Documentation .