After the compilation of the AI Engine
graph, the AI Engine compiler writes a summary
of compilation results called <graph-file-name>.aiecompile_summary to view in the Vitis analyzer. The summary contains a collection of
reports, and diagrams reflecting the state of the AI Engine application implemented in the compiled build. The summary
is written to the working directory of the AI Engine compiler as specified by the --workdir
option, which defaults to ./Work
.
To open the AI Engine compiler summary, use the following command:
vitis_analyzer ./Work/graph.aiecompile_summary
The Vitis analyzer opens displaying the Summary page of the report. The Report Navigator view lists the different reports that are available in the Summary. For a complete understanding of the Vitis analyzer, see Using the Vitis Analyzer in the Application Acceleration Development flow of the Vitis Unified Software Platform Documentation (UG1416).
The listed reports include:
- Summary
- This is the top-level of the report, and reports the details of the build, such as date, tool version, a link to the graph, and the command-line used to create the build.
- Graph
- Provides a flow diagram of the AI Engine graph that shows the data flow through the
various kernels. You can zoom into and pan the graph display as needed. At
the bottom of the Reports view, a table summarizes the graph with
information related to kernels, buffers, ports, and nets. Clicking on
objects in the graph diagram highlights the selected object in the
tables.Tip: The Kernels table lists the kernels in the graph, and provides links to the kernel source code, and the graph header definition. Selecting one of these links opens the source code for read only in the Source Code view.
- Array
- Provides a graphical representation of the AI Engine processor array on the Versal device. The graph kernels and connections are placed within the context of the array. You can zoom into and select elements in the array diagram. Choosing objects in the array also highlights the object chosen in the tables at the bottom of the Reports view.
- Mapping Analysis
- Displays the text report graph_mapping_analysis_report.txt. Reports the block mapping, port mapping, and memory bank mapping of the graph to the device resources.
- DMA Analysis
- Displays the text report DMA_report.txt, providing a summary of DMA accesses from the graph.
- DMA Lock
- Displays the text report Lock_report.txt, listing DMA locks on port instances.
The following figure shows the graph.aiecompile_summary report open in the Vitis analyzer, with the Array diagram displayed, an AI Engine kernel selected in the diagram and the table views, and the source code for the kernel displayed in the Source Code view.