Setting up the Software System - 2021.1 English

Xilinx Standalone Library Documentation OS and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2021-06-16
Version
2021.1 English
To use XilFPGA in a software application, you must first compile the XilFPGA library as part of software application.
  1. Click File > New > Platform Project.
  2. Click Specify to create a new Hardware Platform Specification.
  3. Provide a new name for the domain in the Project name field if you wish to override the default value.
  4. Select the location for the board support project files. To use the default location, as displayed in the Location field, leave the Use default location check box selected. Otherwise, deselect the checkbox and then type or browse to the directory location.
  5. From the Hardware Platform drop-down choose the appropriate platform for your application or click the New button to browse to an existing Hardware Platform.
  6. Select the target CPU from the drop-down list.
  7. From the Board Support Package OS list box, select the type of board support package to create. A description of the platform types displays in the box below the drop-down list.
  8. Click Finish. The wizard creates a new software platform and displays it in the Vitis Navigator pane.
  9. Select Project > Build Automatically to automatically build the board support package. The Board Support Package Settings dialog box opens. Here you can customize the settings for the domain.
  10. Click OK to accept the settings, build the platform, and close the dialog box.
  11. From the Explorer, double-click platform.spr file and select the appropriate domain/board support package. The overview page opens.
  12. In the overview page, click Modify BSP Settings.
  13. Using the Board Support Package Settings page, you can select the OS Version and which of the Supported Libraries are to be enabled in this domain/BSP.
  14. Select the xilfpga and xilmailbox library from the list of Supported Libraries.
  15. Expand the Overview tree and select xilfpga. The configuration options for xilfpga are listed.
  16. Configure the xilfpga by providing the base address of the bitstream file (DDR address) and the size (in bytes).
  17. Click OK. The board support package automatically builds with XilFPGA library included in it.
  18. Double-click the system.mss file to open it in the Editor view.
  19. Scroll-down and locate the Libraries section.
  20. Click Import Examples adjacent to the XilFPGA entry.