Access DDR3 RAM from Linux program on HPS
Hi,
I'm a newbie to SOC so I hope my question is not too stupid.
I'm using a Cyclone V SOC on a Terasic DE-10 Nano Board.
My goal is to receive data on the HPS side over Ethernet and to store this data into the DDR3 RAM Memory. The FPGA should modify this data later.
I'm running a C++ programm in linux on the HPS to receive the data by Ethernet, which works well.
Now I'm trying to store the data in the DDR3 RAM, but I have no idea how to do it so that I can address the data afterwards by the FPGA.
Are there special C++ commands to store data into the DDR3 RAM memory or is allocated memory automatically stored into the DDR3 RAM? If so, how can I address the data from the FPGA side again?
Maybe there is some kind of documentation or tutorial I missed until now.
Thank you very much.
Best regards
Johann