Hi @shiqi17,
I would suggest you familiarize yourself with the AXI4 standard and in particular the stream version.
There are a few post in the forum that deals with this, for instance:
Code example here: https://github.com/Xilinx/Vitis-HLS-Introductory-Examples/tree/master/Interface/Streaming
Mario