0
\$\begingroup\$

I'm using ap_axiu from ap_axi_sdata.h in Vivado HLS like I saw in some example to stream data throught the AXI DMA.

I'm defining my value like this:

typedef ap_axiu<32,4,5,5> AXI_VALUE;

However, and even though I can see the following correspondence:

32-->data
4  -->user
4  -->id
5  -->dest

I can't understand what the 4,4 and 5 are for. Can someone please explain me what's the difference between ap_axiu<32,1,1,1> and ap_axiu<32,4,4,5>?

Note: I think this is something that should be said on the header file ap_axi_sdata because it's somewhat important.

\$\endgroup\$
  • \$\begingroup\$ Found a solution here. \$\endgroup\$ – João Pereira Jun 22 '15 at 16:01
1
\$\begingroup\$

I think that in most simple cases, where you don't need to route the stream chunks, you can safely use ap_axiu<32,1,1,1> V-italiano

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.