分为hw platform 和 sw platform
This is in most ways a traditional Vivado design. You are building the platform, that is, the part of the design that you do not want the Vitis tools to configure or modify. This can include completely unrelated logic, any hierarchy you want to have in the design, but there are some rules that you must follow:
add PL kernels in HLS into the system project and build the whole system.
Add PL Kernels
In this example, HLS kernels are used which bridge between memory and the AXI4-Stream interface to input and output data from memory.
The mm2s kernel reads data from memory and inputs it to the AI Engine array.
The s2mm kernel receives output data from the AI Engine array and writes it to memory.