Managing Components in System Projects - 2023.2 English

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

Document ID
UG1393
Release Date
2023-12-13
Version
2023.2 English
After creating the System project you can add components to the design. As previously discussed, a System project can contain multiple components.

You can add components to the System Project Settings in the open vitis-sys.json by selecting the Add Existing Component command under the Component heading; or you can add them directly to the Binary Container under the Hardware Linker Settings heading.

  1. Add the components by selecting the Add Existing Component command:
    • Select the type of component to add in the pop-up window: HLS, AI Engine, Host.
    • After you select the type of component to add the tool will present a list of all the components of the selected type in the current workspace. Choose the component to add.
    • If there is only a single binary container the tool will automatically assign it. For DFX platforms that support multiple device binaries you can select the target binary container. If the Application does not have any binary container select the Container Name to create a new binary container.
  2. Add components directly to the Binary Container:
    Note: The Host component is the only type that cannot be added directly to the binary container. You must add it under the Component heading.
    • You can select the Add Pre-Built Binary command in the Binary Containers configuration box. This command lets you add the kernel.xo file or libadf.a file from a previously compiled HLS component, RTL kernel, or AI Engine component. The pre-built binary can be added from folders outside the current workspace. Selecting this command opens a file browser letting you navigate to and select the file of interest.
      Tip: This method can be used to add a libadf.a file that was generated by Model Composer into the System project.
    • You can also select to add the component type in the Binary Containers configuration box. You can add Kernels or AI Engine Graphs. This opens an Add Components dialog box that lists all the components of the selected type in the current workspace.
Tip: To remove a component from the System project, you can either select to delete it from the Binary Containers or from the Components. Either will result in the removal of the component from the project.