After creating the System
Project, add components to the design. A System Project can contain multiple components.
You can add components to the System Project Settings in the open vitis-sys.json. Select the Add Existing Component command under the Component heading. You can also add components directly to the Binary Container under the Hardware Linker Settings heading.
- 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, or Host.
- Choose the component to add from the list of all the components in the current workspace.
- If there is only a single binary container, Vitis automatically assign it. For DFX platforms that support multiple device binaries, select the target binary container. If the application does not have any binary containers, click Container Name to create a new binary container.
- Add components directly to the Binary
Container.Note: The host component is the only type that you can add directly to the binary container. Add it under the Component heading.
- You can select the Add Pre-Built
Binary command in the Binary Containers configuration
box. Selecting the option adds the kernel.xo file or libadf.a file from a compiled HLS component, RTL kernel,
or AI Engine component. You can add the pre-built binary from folders outside the
current workspace. Tip: You can use this method to add a libadf.a file 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.
- You can select the Add Pre-Built
Binary command in the Binary Containers configuration
box. Selecting the option adds the kernel.xo file or libadf.a file from a compiled HLS component, RTL kernel,
or AI Engine component. You can add the pre-built binary from folders outside the
current workspace.
Tip: To remove a component from the System
Project, you can either delete it from the Binary Containers or from the Components.