Once the Vitis IDE is open and the system project is created, select the AI Engine Component from the left pane. Expand to locate and select the
aiecompiler.cfgfile to open the compiler configuration settings.Select the Module-Specific settings and click Add item under the Pre-processor setting.
Add
-O0to the Pre-processor option to improve debug visibility.In the Flow navigator, select Build under X86 SIMULATION. This builds the AI Engine component for the x86simulation target. Once the build completes, you see Compilation Complete and Build Finished Successfully messages in the console and a green tick mark.
In the Flow navigator window, under X86SIMULATION, select Run. If there is no existing launch configuration, create one by clicking Create Configuration -> New Launch Configuration -> x86sim.
You can change the Launch Config Name and click Run to start simulation for x86simulation target. When the simulation complete, you see the following output in the console.