The AIE graph application you are working on requires two PL kernels to load data onto the device. These are the
s2mm kernels. You will create separate HLS components using the following steps:
From the main menu select File > New Component > HLS
This opens the Create HLS Component wizard on the Name and Location page.
Component nameas mm2s, enter the
Component locationas the workspace (default), and click Next.
This opens the Configuration File page. The configuration file contains commands for building and running the HLS component as described in v++ Mode HLS. You can specify a new empty file, an existing config file, or generate a config file from an existing HLS project as described in Creating an HLS Component.
Empty Fileand click Next.
This opens the Source Files page.
Select the Add Files icon to open a file browser, navigate to
<tutorial_path>/09-debug-walkthrough/cmd_src/pl_kernels/mm2s.cppand select OK.
Under the Top Function browse and select the
mm2sfunction and click Next. Note that there are no testbenches for these kernels.
On the Select Part page select the
xilinx_vck190_base_20xxx0_1platform and click Next to open the Settings page.
On the Settings page select the
Vitis Kernel Flow.
Under the Clock settings specify
8nsfor the Period, and
12%for the Uncertainty to override the default values. Click Next to open the Summary page.
Review the Summary page and click Finish to create the defined HLS component.
Repeat the prior steps to create the
s2mm HLS component.
vitis-comp.json for either the
s2mm HLS components, select the Config File link to open the
hls_config.cfg file for the specific component. Examine the contents of the config file. It currently contains the part (defined by the platform), flow target, source cpp file and other options that you defined when creating the HLS component. Notice that most of the options fall under the