Building the Application Component - 2023.1 English

Vitis Unified IDE and Common Command-Line Reference Manual (UG1553)

Document ID
UG1553
Release Date
2023-07-17
Version
2023.1 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 as described in PS on X86 method.

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.