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\$
1
  • \$\begingroup\$ Found a solution here. \$\endgroup\$ Commented Jun 22, 2015 at 16:01

1 Answer 1

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 and acknowledge you have read our privacy policy.

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