Intel® SoC FPGA Embedded Development Suite
Support for SoC FPGA Software Development, SoC FPGA HPS Architecture, HPS SoC Boot and Configuration, Operating Systems
484 Discussions

DMA - Controller [Cyclone V, DE1SOC]

Central1
Novice
1,134 Views

Hello,  I am trying to perform an FPGA TO HPS and vice versa communication using the following method. (This platform designer design isn't made by me, took it from the cornell website).

 

So what i want to do is to add a bunch of PIO's and the design in order to have an exported signal to the verilog (top level module).

Should i connect the PIO to the write_master of the DMA, when i want to send data from HPS TO FPGA? (is this way possible? for exporting a signal into the verilog?) 

I checked on the intel website how to use the dma for reading/writting, data transfers, burst transfers and it's control registers , interrupts extc.

 

thank you!

 

CAPPP.PNG

0 Kudos
5 Replies
EBERLAZARE_I_Intel
1,114 Views

Hi,


There is DMA for FPGA and DMA for HPS, which one are you referring to?


0 Kudos
Central1
Novice
1,112 Views

Hello, both. I am trying to use the DMA to send data from HPS to FPGA, and receive the data back from FPGA to HPS. [But the wires that we are sending data and receiving data with to be exported to the FPGA Verilog top level].

 

Basically i have an monochromatic image in my c code on my hps ( in form of a 2d array), i want to send the data from HPS to FPGA using dma, then on the fpga i want to do some processing on them ( apply on them a digital image filter), and then send the pixels of the image back to FPGA using DMA .

 

Also i have a question, the c code we put on linux is stored on the sd card inserted into the fpga ( the one linux is intalled on?) or on the sdram?

 

0 Kudos
EBERLAZARE_I_Intel
1,099 Views

Hi,


I may need sometime to help you with this issue, please expect delay in my respond.


Thanks and I appreciate your patience.


0 Kudos
EBERLAZARE_I_Intel
1,089 Views

Hi,


Unfortunately, we do not have the particular design example, for the HPS DMA you may refer to:

https://www.intel.com/content/www/us/en/docs/programmable/683126/21-2/dma-controller-45584.html


For the FPGA DMA:

https://www.intel.com/content/www/us/en/docs/programmable/683130/22-3/dma-controller-core.html


You application C code can be stored in the SD card, and be loaded whether in U-boot or Linux.


0 Kudos
EBERLAZARE_I_Intel
1,053 Views

Hi,


I hope that your question has been addressed, I now transition this thread to community support. If you have a new question, Please login to ‘https://supporttickets.intel.com’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.


0 Kudos
Reply