To simulate an AI Engine kernel you need to write an AI Engine graph application, consisting of a data-flow graph specification written in C++. The graph contains the AI Engine kernel. Test bench data provides the input(s) to the kernel. You can capture the data output(s) from the kernel as the simulation output, and compare this against golden reference data.
You can compile and execute this specification using the AI Engine compiler (v++ -c --mode aie). Use the aiesimulator to simulate the application. For additional details on
the aiesimulator, refer to Simulating an AI Engine
Graph Application in the
AI
Engine Tools and Flows User Guide (UG1076).