Forum Discussion
HPS2FPGA Bridge Throughput
Hello,
The fastest way of transferring data between HPS and FPGA would be the use of DMA. memcpy and mmap are slow.
You can refer to the datamover example:
https://rocketboards.org/foswiki/Projects/Datamover
where it shows you how to transfer data from HPS to FPGA and vice versa.
Please let me know if you need further assistance,
thanks
Hi,
Where can I find the example files? When I click the link for the zip file, the directory is empty aside from the README.
Also I looked over the example (maybe the source files can help clarify), but something is still not clear to me. In my application, I would be receiving data from a host PC that needs to be saved on to RAM. The data comes in via Ethernet, and it ends up in an array after it is read. How do I transfer that to RAM or how can I find where that is located since the sgDMA needs a source and destination address.
Thank you