The datamover kernel takes the following arguments:
ap_int<N>
is an arbitrary precision integer data type defined inap_int.h
whereN
is a bit-size from 1-1024. In this design, the bit-size is set to 128.hls::stream<qdma_axis<D,0,0,0>>
is a data type defined inap_axi_sdata.h
. It is a special data class used for data transfer when using a streaming platform. The parameter<D>
is the data width of the streaming interface which is set to 128. The remaining three parameters should be set to 0.
The datamover kernel also specifies the following pragmas to help optimize the kernel code and adhere to interface protocols: