Altera_Forum
Honored Contributor
14 years agoSome questions about DMA and FIFO connection
I am a little puzzle with the DMA.
Assume the below case: A DMA is used to transfer data from SDRAM to a FIFO. The DMA transaction length is set to 3k, and the FIFO depth is 1k. If no data is read from the FIFO, after 1k bytes are transferred, the FIFO will be full. At that time, my question is: 1. How can the DMA find the FIFO is full? The waitrequest signal? 2. When the DMA is waiting for FIFO available, whether the CPU can access the SDRAM? 3. An avalon-MM master is needed to read data from FIFO. How should I set the address signals of this master bus?