Altera_Forum
Honored Contributor
15 years agoCan DMA perform this application?
Hi,
My application requires the following functionality with which I can get huge speedup. I want to read the data from sdram 4 bytes at a time, perform some computations and write back to sdram at a different location. This is being implemented in software and so nios processor is taking lot of time to read, do computations and write back. So, I am planning to implement HW for the computations and use DMA for transfers to it. I dont want to implement any additional storage logic to store the computed values inside the HW. So, to use DMA I have to ensure that I read the values using DMA and write the computed values using DMA to SDRAM in alternate cycles, i.e., 1 read and 1 write. The computational block will be combinational logic and will be done in the same cycle. Is there a way to do this? Thanks, Gangi.