cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
omega8888
Newbie
Newbie
5,108 Views
Registered: ‎04-24-2012

AXI Stream FIFO

I am using the AXI stream FIFO to stream data into the Rx side and eventually will be read back from the processor through AXI bus as well. There are some configuration with the AXI stream FIFO need to be configure. How can I read back the FIFO content?

 

Do I read base_address + 0x1C and FIFO data will be read out at base_address + 0x20?

Is the FIFO data will be update to the base_address + 0x20 on every read till it is empty?

0 Kudos
Reply
6 Replies
muzaffer
Teacher
Teacher
5,100 Views
Registered: ‎03-31-2012

Yes you read 0x1c to figure out how many received data there are and then read 0x20 to get the actual data which changes every time you read it.
- Please mark the Answer as "Accept as solution" if information provided is helpful.
Give Kudos to a post which you think is helpful and reply oriented.
0 Kudos
Reply
u24c02
Adventurer
Adventurer
5,076 Views
Registered: ‎04-22-2016

Can you upload the project file for solving?

0 Kudos
Reply
omega8888
Newbie
Newbie
5,058 Views
Registered: ‎04-24-2012

Thanks for the reply.

Is that true every read at 0x20, the count in 0x1C will decrease by one.

0 Kudos
Reply
muzaffer
Teacher
Teacher
5,018 Views
Registered: ‎03-31-2012

>> Is that true every read at 0x20, the count in 0x1C will decrease by one.

Yes, that's right.
- Please mark the Answer as "Accept as solution" if information provided is helpful.
Give Kudos to a post which you think is helpful and reply oriented.
0 Kudos
Reply
omega8888
Newbie
Newbie
4,930 Views
Registered: ‎04-24-2012

Thanks for the help

0 Kudos
Reply
muzaffer
Teacher
Teacher
4,907 Views
Registered: ‎03-31-2012

if you got the responses you needed, please close this thread by accepting one of the posts as an answer.
- Please mark the Answer as "Accept as solution" if information provided is helpful.
Give Kudos to a post which you think is helpful and reply oriented.
0 Kudos
Reply