I have 2 image files imported by ENVI tool (png or raster file), and they are stored in my hard disk, I want to transfer this data from host PC to target FPGA using DMA (Data Memory Access). My questions are:
- Is there a specific technique to transfer data to the target using DMA in FPGA? - I couldn't find any information on the internet.
- Is there a technique to configure the FIFO as DMA? - In my case I need two DMA from host PC to target FPGA and one from FPGA to target.
At the end, there should be each image with a DMA and the third one to transfer from FPGA to host PC.
As per my understanding of what you have mentioned, you would need to create a FIFO Method Node , then configure your FPGA which will have a DMA Channel and finally create an Invoke Method
Since you havent mentioned which FPGA you are using, Refer to your FPGA Hardware Documentation for information about how that target handles DMA transfers.
thanks sir for your reply, i didnt chose yet any fpga ,i wnat to study first what i want then i will conclude the type of fpga . so sir, what is the best solution to use DMA to transfert data from pc to FPGA and in your experience ,the best fpga can handle this type of transfert
I guess once you decide upon an FPGA for your specific application, it will have modules for DMA which will be provided. Based on that you could configure the FIFO methods and set buffer sizes accordingly.
thanks sir , so the first things, is to chose pga device .
last question sir, we supposed that i have fpga that have modules for DMA, to transfer data we must configured FIFO to work with DMA
You would be required to write code or configure methods for FIFO to transfer and invoke the data
thanks sir for your time ,so sir tha DMA work with the fifo , they are inseparable?