Forum Discussion
Altera_Forum
Honored Contributor
14 years agoHi,
A1. The IORD macro ensures that you bypass any cache the CPU might have. Using a pointer might work correcly.. or not. A2. Yes, you can use DMA. The SGDMA core supports several use cases. You don't need to modify your component. The SGDMA core can peform a DMA while repeatedly reading from the same address. Another good option is to make your component have an Avalon-ST source interface and use the SGDMA core to copy data from the stream to memory. See the Embedded Peripherals User Guide.