Forum Discussion
Altera_Forum
Honored Contributor
15 years agoNiosII DMA Tutorial
Hello, may I know where can I get NiosII DMA Tutorial? Currently, I am doing a project to implement DMA on FPGA board. So I would to refer to some tutorials that can help me. Thanks.
Altera_Forum
Honored Contributor
15 years ago --- Quote Start --- I have a fifo outside my sopc system that is connected to a 8bits PIO in my sopc system. I want to read this 8 bits from my PIO and write to a DDR memory. How should the code look like? --- Quote End --- The code will be very similar to the previous one. The only difference being you need to read from a fixed address, i.e. the PIO base address: so you must set the RCON bit in the DMA control register. As I remarked somewhere in this thread, you also need a signal to pop data out of the fifo for every dma read access. Cris