Compiling the Design - 2025.2 English - UG1076

AI Engine Tools and Flows User Guide (UG1076)

Document ID
UG1076
Release Date
2025-11-20
Version
2025.2 English

The GNU debugger allows for C/C++ debugging similar to an IDE-based debugger. The debugger allows setting of breakpoints, single stepping, stepping over functions, and multiple hit counts on breakpoints. For AI Engine kernel development the x86 simulator enables single-step debugging of kernel code using GDB.

You must set the target argument for the AI Engine compiler to x86sim to use GDB.

v++ -c --mode aie --target=x86sim graph.cpp