PeakDetectAI Engine domain project, right-click the
srcdirectory, and choose Import Source.
Browse to the
cmd_src/aie/directory, and tick the
/aieon left side, that enables
graph.cppfiles along with the kernel sources in
Click Finish, and observe the sources added to the
PeakDetectAI Engine domain project.
Now add the input stimulus. Right-click the
data/directory -> Import sources -> browse to
cmd_src/datadirectory, and choose the
Right-click the AI Engine domain project, and select the C++ Build settings. Navigate to the Input Spec, and add
../src/kernelsin the include paths. >
You can click No in the dialog box that opens. Double-click the PeakDetect.prj file under the AI Engine domain project, and click
Click to select Top-level File. Expand the
PeakDetect/src/, and select the
graph.cppfile. Click OK.
The AI Engine domain project is ready to build.
NOTE: When you change the build target from
Emulation-SW, make sure to repeat the step 5.