I am having some trouble understanding how to do a simple data stream transfer from PL to PS. I have memory mapped in the PS using /dev/mem where I will receive the data. I am successful at achieving this but only for the first 32 bits of data. I was hoping that there is some way to keep receiving data consecutively into the data buffer until tlast is issued on the PL side. Maybe I am not understanding this correctly.
Here is my design:
Here is my ax_stream_test PL code:
https://pastebin.com/w1ZYbZwa
Here is my PS c code:
https://pastebin.com/rHze2HSz
The PS code is currently just a test project but eventually I will be transferring at least 3 megabytes per second from PL to PS. If I am using the wrong IP's for this purpose then please suggest an alternative (but not BRAM because my final design is already using the maximum). Thanks in advance for any help.
Question
malkauns
I am having some trouble understanding how to do a simple data stream transfer from PL to PS. I have memory mapped in the PS using /dev/mem where I will receive the data. I am successful at achieving this but only for the first 32 bits of data. I was hoping that there is some way to keep receiving data consecutively into the data buffer until tlast is issued on the PL side. Maybe I am not understanding this correctly.
Here is my design:
Here is my ax_stream_test PL code:
https://pastebin.com/w1ZYbZwa
Here is my PS c code:
https://pastebin.com/rHze2HSz
The PS code is currently just a test project but eventually I will be transferring at least 3 megabytes per second from PL to PS. If I am using the wrong IP's for this purpose then please suggest an alternative (but not BRAM because my final design is already using the maximum). Thanks in advance for any help.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.