Forum Discussion
Altera_Forum
Honored Contributor
9 years agoHow to use On-Chip Memory in GHRD on Atlas-SoC board
Hello! I want to transfer some data from FPGA to program that is running under Linux in HPS part. I am using DE0-Nano-SoC with 5CSEMA4U23C6 and GHRD. GHRD already contains On-Chip Memory in Q...
Altera_Forum
Honored Contributor
8 years agoWow, I still stack on it. On your code example you are using Second Instance of soc_system_onchip_memory2_0, because first one is created by Qsys in GHRD project by default. So, investigated situation by the in-system memory editor I'v found, that C code with base 0xC0000000 has access to the first instance, and your code makes second instance with these bytes (hF0F0F0F0) and there is no intersections.
I will appreciate if you can provide any examples of your code. I want: 1. write data from HPS to RAM 2. read it from FPGA Many thanks!