Prepare the HW-Link Project - 2023.1 English

Vitis Tutorials: AI Engine Development

Document ID
Release Date
2023.1 English
  1. Double click the PeakDetect_system_hw_link -> PeakDetect_system_hw_link.prj, and change the number of compute units for s2mm as 2 by double-clicking and editing the value. This is because for the design, there is one input PLIO port and two output PLIO ports. compute units

  2. Specify the system.cfg file that contains the connections between the PL and AI Engine kernels. To do this, right-click the binary_container_1, and select Edit V++ Options.

    vpp options

    Add the v++ command line option --config ../system.cfg as shown below and click Apply and Close.

    vpp config settings

  3. Right-click the PeakDetect_system_hw_link, and select Import sources.

  4. Browse to the cmd_src directory, and choose the system.cfg file. In the Into folder field, browse to the hw_link project.

  5. Click Finish.

  6. While creating a HW-link project, by default, the Vitis IDE tool creates the binary_container_1-link.cfg file under {$PROJECT}/{BUILD_TARGET}/ that contains the connectivity.


    To port a command line project to a Vitis IDE environment, make sure to remove the above connectivity statements that starts with nk in your system.cfg file. Also make sure the compute unit names in system.cfg file matches with the names mentioned in connectivity. To do this, use the following steps.

  7. Double-click the system.cfg file, and modify the sc=mm2s.s:ai_engine_0.inx to sc=mm2s_1.s:ai_engine_0.inx.