You can output a single snapshot of the AI Engine status to a JSON file at any time after the device has been loaded. This is a static snapshot of the AI Engine running status, along with the events that happened before. Refer to the chapter on Manual AI Engine Status Output in the AI Engine Tools and Flows User Guide (UG1076) for more information. An example command is:
xbutil examine -r aie -d 0 -f json -o aie_status_xbutil.json
The aie_status_xbutil.json file can be imported into the Analysis view using the following specific steps.
- In the Summary Files section menu of the Analysis view select Import Xbutil/Xsdb JSON Output.
- In the displayed dialog box, set the following options.
-
Xbutil/Xsdb JSON Output
File: Select the JSON file that was manually
generated with the
xbutil
command. For example, select the file aie_status_xbutil.json. - AI Engine Compile Summary: Select the AI Engine compile summary file, for example ./Work/graph.aiecompile_summary.
- Save Run Summary: The run summary file to be written. The run summary can be used to reload the analysis next time by or .
-
Xbutil/Xsdb JSON Output
File: Select the JSON file that was manually
generated with the
The Graph and Array views are shown in the Analysis view.
For more information, see Performance Analysis of AI Engine Graph Application during Simulation in the AI Engine Tools and Flows User Guide (UG1076) and Performance Analysis of AI Engine Graph Application on Hardware in the AI Engine Tools and Flows User Guide (UG1076).