Building the Application Component - 2023.2 English

Vitis Unified Software Platform Documentation: Application Acceleration Development (UG1393)

Document ID
Release Date
2023.2 English

After creating the Application component, and configuring the CMakeLists.txt file, you can select the Component in the Flow Navigator to make it the active component in the tool. Then select the Build command under either the X86 Simulation flow or the Hardware flow as shown in the following image.

Figure 1. Building the Application Component

There are two build commands because the software emulation build uses the PS on X86 approach for the embedded application that requires all the elements of the system to be compiled for x86 targets. This means building the application for use on an X86 processor.

Tip: The Application component assigned to an Alveo Data Center acceleration platform will only have a single build option as it is only built for execution on an X86 processor.

The hardware build of the Application component is compiled using an Arm cross-compiler for use on the embedded processor core. For the hardware emulation build (-t=hw_emu) the application is run under the QEMU environment to model the behavior of the Arm processor. For the hardware target (-t=hw) the Application component is run on the actual embedded processor core.

The Application component of the Flow Navigator reflects build commands, but does not support Run or Debug commands. This is because the Application component can only be run in the context of a System project. Refer to Creating a System Project for Heterogeneous Computing for more information.