4. AI Engine Standalone Simulation: - 2025.1 English - XD098

Vitis Tutorials: Getting Started (XD098)

Document ID
XD098
Release Date
2025-06-17
Version
2025.1 English

AI Engine Simulator (aiesimulator) uses the Work directory to simulate the design.

aiesimulator --profile --pkg-dir Work

The above command will use the MatrixA.txt and MatrixB data as an input to pass stimulas to the simulation. Here is the sample output of the aiesimulator:

Enabling core(s) of graph mygraph
Waiting for core(s) of graph mygraph to finish execution ...
A0_matrix: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 
B0_matrix: 1 2 3 4 
C00_matrix: 30 70 110 150 
core(s) are done executing
Exiting!
Cores are done executing but the simulation will run for some more cycles to allow PLIO to be flushed
Stopping Simulator.

Info: /OSCI/SystemC: Simulation stopped by user.
--------------------------------------------------------------------------------------------------
Port Name           | Type              | Average Throughput
--------------------------------------------------------------------------------------------------
DataIn1             | IN                | 1333.333333 MBps  
DataIn2             | IN                | 1666.666667 MBps  
DataOut1            | OUT               | 2222.222222 MBps  
--------------------------------------------------------------------------------------------------

C00_matrix is the output generated by the AI Engine simulation model.