Forum Discussion
Altera_Forum
Honored Contributor
15 years agodma transaction
when dma transfers data, will the data goes through avalon bus or just directly from memory to memory?? anyone can explain to me in detail how dma works? i want to check if my understanding on dma is...
Altera_Forum
Honored Contributor
15 years agoAvalon components can have "Master" ports and "Slave" ports.
Master interfaces are the ones that take actions and they always talk to slave interfaces. The NIOS CPU, for example, only has a master interface. A memory component, for example, only has a slave interface. So, when the CPU reads/writes from/to memory, the CPU's master port talks to the memory's slave port. Back to your problem, there are two ways you can handle it, when you configure the Avalonm interface in the SOPC Builder. - You can have simultaneous multiple master/slave communications at the same time. - You can set different priorities to each master/slave pair, so the CPU has more priority than the DMA master.