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 agoYes, the HPS can access a memory connect/in the FPGA by accessing it through the HPS-to-FPGA bridge assuming your FPGA design has it hooked up. Make sure that the bridge is clocked, pulled out of reset, and is mapped into the address space (remap bit in the L3 interconnect registers).
Since you said "FPGA to the HPS" for the data movement it might make more sense for the FPGA to push data into the HPS SDRAM directly using the FPGA-to-SDRAM ports instead. You could pin a continuous memory block in the HPS SDRAM and then just tell the FPGA where it lives and let FPGA masters push the data into it (DMA).