Forum Discussion
Altera_Forum
Honored Contributor
15 years agoConfiguring DMA to write to Two memories
We have to write a set of data (data will be defined while proramming NIOS) to two different memories (the same data will be written to both). We want to use DMA for this purpose. How should we confi...
Altera_Forum
Honored Contributor
15 years agoA DMA controller has 2 master ports, one master read and one master write. You want to copy data from one address to two separate addresses. So you will need 2 DMA controllers (as far as I know). As they will both be reading form the same on-chip memory, they should be connected like this.
on-chip memory_1[S] -> [M read]DMA_1[M write] -> [S] target memory_1 on-chip memory_1[S] -> [M read]DMA_2[M write] -> [S] target memory_2 http://www.altera.com/literature/ug/ug_embedded_ip.pdf