You now have a working application to run on the AI Engine array. What you need now is to modify the AI Engine graph for use in hardware and connect the AI Engine array to the PL using the Vitis compiler (V++).
The main function in project.cpp is not used in the hardware run, so add a switch (#if defined(...)) to ensure main is not taken into account for the hardware build.
#if defined(__AIESIM__) || defined(__X86SIM__) || defined(__ADF_FRONTEND__)
int main(void) {
mygraph.init();
mygraph.run(4);
mygraph.end();
return 0;
}
#endif