Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20725 Discussions

With the Cyclone V SoC, how can I use the FPGA fabric to access the HPS DMA?

Altera_Forum
Honored Contributor II
7,769 Views

Hello everyone, 

 

I want to make something that records values that are in my FPGA. I thought of using the Cyclone V SoC DMA, I do have the Altera SoC kit. 

 

With the Cyclone V SoC, how can I use the FPGA fabric to access the HPS DMA? I want to set a trigger in the HPS DMA, so that when I send a signal to high level at FPGA Fabric, the DMA starts to copy a FPGA FABRIC RAM content to the DDR connected in the HPS and visible by the Linux running in the ARM. 

 

*Is this the easiest/fastest way of achieving what I want?
0 Kudos
22 Replies
Altera_Forum
Honored Contributor II
409 Views

Hi Dear aprado, 

 

Could you please share your design to give me a guide? I'm blocked on FPGA-to-SDRAM + DMA for days. 

My email is : yuchen.he@fime.com 

Thank you very much for your help! 

 

Kind regards, 

Yuchen
0 Kudos
Altera_Forum
Honored Contributor II
409 Views

If you are trying to move data between the HPS and FPGA have a look at this design, in the documentation directory you can review bandwidth numbers to see which path makes sense for your system: https://www.altera.com/support/support-resources/design-examples/soc/fpga-to-hps-bridges-design-example.html 

 

As a general rule of thumb if you need to perform cacheable accesses use the F2H bridge with a DMA implemented in the FPGA, if you don't require cacheable accesses use the F2S ports and a FPGA DMA since that's where the bulk of the bandwidth is.
0 Kudos
Reply