Forum Discussion
Altera_Forum
Honored Contributor
11 years agoconnecting onchip memory or SDRAM to the HPS using HPS to FPGA bridge
Hello, I am using the Terasic DE1-SoC board with the Linux LXDE example as a base. For a project I need to transfer about 10Myte/sec of data from the FPGA to the HPS. If possible I want to...
Altera_Forum
Honored Contributor
11 years agoHello,
Did you figure out a way around the problem? I'm trying to do something similar... Maybe you can help. I want to write data into SDRAM (or any memory for that matter) which is then read by FPGA. After processing, it writes back to a memory space from where the HPS reads these 'FPGA results'. For now I have a SDRAM controller in my Qsys design (base address 0x0800_0000). So to write from the HPS I use the lw bridge? For example: alt_write_word(lw_bridge_map+ SDRAM_BASE_ADDRESS ,0x50); Is this the right way to do it? Then how do I access this newly written data from the FPGA? Your thoughts would be appreciated. Thanks.