Create HLS Component in Vitis Unified IDE - Create HLS Component in Vitis Unified IDE - 2026.1 English - XD261

Vitis Tutorials: Vitis HLS (XD261)

Document_ID
XD261
Release_Date
2026-07-20
Version
2026.1 English
  1. Clone the repository to your local system and navigate to the directory that contains this tutorial.

  2. Open the Vitis Unified IDE using the following command (ensure you have sourced the settings script to set up Vitis):

    vitis
    
  3. From the File menu, select New Component, then click HLS. This will open the Create HLS Component – Empty HLS Component window.

  4. Confirm that the component location is the current directory, keep the default component name, and click Next.

  5. Do not change any settings in the Configuration File; click Next again.

  6. Add ../src/filter2d_hw.cpp and ../src/filter2d_sw.cpp to DESIGN FILES, select Filter2DKernel as the Top Function, then add ../src/hls_testbench.cpp to TEST BENCH FILES. Click Next to continue.

    Source Files

  7. Select xcu200-fsgd2104-2-e as the target Part for this component, then click Next.

  8. Specify 3.33ns as the clock, choose vitis as the flow target, leave other settings unchanged, and click Next.

  9. Click Finish to create the new HLS component (click Update if an Update Workspace window appears).

Note: You can open the pre-created HLS component golden by executing the following command.
However, we strongly recommend reading each step in above section to clearly understand how to create a project from scratch and perform simulation, synthesis, and optimization.

vitis -w ./