Altera_Forum
Honored Contributor
7 years agoData Transfer from FPGA-to-HPS
Hi Everyone,
To give some background here is what I am currently working on, what hardware I have, and what I am trying to implement to solve my issue. Board: DE0-Nano-SOC 5CSEMA4U23C6 Issue: I will be receiving around data into the FPGA at 40MHz. I need to make this data available to the HPS. The data will be ready in around 37KB chunks, I am planning on using a double buffer system so say we need a 75KB space to store said data. My idea is that I will stream the data in, fill up the buffer, signal the HPS that it is ready, the HPS will read the data, package it, and send it over an Ethernet network. I have actually asked this question in another part of the forum here: https://alteraforum.com/forum/showthread.php?t=58944&p=239654#post239654, but realized this section would be better suited to the question. Going off what was talked about there, I am trying to get the FPGA-HPS bridge working in order for the FPGA to write to the HPS's DDR3 RAM and then have the HPS read from it. I have set the board up from the QSYS side correctly I believe. I limited the HPS RAM for linux to 800 MB. Then I have been trying to write to address 0x32000000, with absolutely 0 luck in getting anywhere. I am not sure if I am setting up something wrong in Quartus, my C code, or some other issue. And would appreciate any assistance in this. Thanks! -Andrew EDIT: Currently I am using Linux, but I would eventually like to move to BareMetal, for now though I am sticking with Linux.