Clone the repository to your local system and navigate to the directory that contains this tutorial.
Open the Vitis Unified IDE using the following command (ensure you have sourced the settings script to set up Vitis):
vitis
From the File menu, select New Component, then click HLS. This will open the Create HLS Component – Empty HLS Component window.
Confirm that the component location is the current directory, keep the default component name, and click Next.
Do not change any settings in the Configuration File; click Next again.
Add
../src/filter2d_hw.cppand../src/filter2d_sw.cppto DESIGN FILES, selectFilter2DKernelas the Top Function, then add../src/hls_testbench.cppto TEST BENCH FILES. Click Next to continue.Select
xcu200-fsgd2104-2-eas the target Part for this component, then click Next.Specify
3.33nsas the clock, choosevitisas the flow target, leave other settings unchanged, and click Next.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
goldenby 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 ./