This section shows profiling the AI Engine as part of running the hardware emulation and calculate throughput of the design considering the system as a whole. When the MM2S module transfers data to the AI Engine, the AI Engine computes the output and transfers data to the S2MM module. In this case, the PS controls both the PL and AI Engine. Compare the design throughput with the AI Engine as a standalone module(aiesimulation results).
In the Vitis IDE, go to Flow Navigator -> [system_project] component -> Vitis -> Start Emulation.
Add the
-aie-sim-options {PROJECT_PATH}/aie_component/build/hw/aiesimulator_output/aiesim_options.txtin the Emulator Arguments option, and click Start.The hardware emulation launches and starts the QEMU emulation environment. The Emulation console shows a transcript of the QEMU launch and Linux boot process.
Once the boot completes in the Vitis IDE, run the application using Run on the system project.
This runs the application and shows TEST PASSED in the output console.
Double-click the System_Project -> HARDWARE EMULATION -> Reports -> Summary file. This opens the summary file
{PROJECT_PATH}/system_project/build/hw_emu/system_project_hw_emu/xrt.run_summarypath in the Vitis Analyzer.As you observe, it carries forward the aiesimulator options specified in
aiesimulator_output/aiesim_optionsand provides the results.