Creating and Building Applications for XSA Exported from the Vivado Design Suite

You can create a C or C++ standalone application project by using the New Application Project wizard.
  1. Select File > New > Application Project to launch the New Application Project dialog box.
  2. Provide a project name.
  3. Click Next.
  4. Click Create from Hardware to select the XSA.
  5. Click the + icon, and then click Next to add the XSA to the list.

  6. Select the processor from the CPU drop-down list.
    Note: This is an important step when there are multiple processors in your design such as any Zynq® devices.
  7. Select standalone from the Odrop-down list.
    Note: This selection alters what templates you view in the next screen and what supporting code is provided in your project.
  8. Select C or C++ as your preferred language.
  9. Select Next to view all the templates available for the processor and OS combination.

    The Vitis software platform provides useful sample applications listed in the Templates dialog box that you can use to create your project. The Description box displays a brief description of the selected sample application. When you use a sample application for your project, the Vitis software platform creates the required source, header files, and linker scripts.

  10. Select the desired template.

    If you want to create a blank project, select Empty Application. You can add C files to the project after the project is created.

  11. Click Finish to create your application project and platform.

    The application project is created and the appropriate platform is generated in the background. The Project editor is as shown in the following figure.

  12. Click Hardware Specification to see the hardware peripheral view.
  13. Click Navigate to BSP Settings to view and change the domain settings.

Exporting the XSA files from the Vivado Design Suite

You can export the XSA in the Vivado IDE by clicking File > Export > Hardware. Bitstream is optional.