The dma_hls
kernel takes the following arguments, as shown in the following example:
int dma_hls(
hls::stream<qdma_axis<128, 0, 0, 0>> &strmOut_to_rowiseFFT,
hls::stream<qdma_axis<128, 0, 0, 0>> &strmInp_from_rowiseFFT,
hls::stream<qdma_axis<128, 0, 0, 0>> &strmOut_to_colwiseFFT,
hls::stream<qdma_axis<128, 0, 0, 0>> &strmInp_from_colwiseFFT,
int matSz, int rows, int cols, int iterCnt
);
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 zero.