Altera_Forum
Honored Contributor
21 years agoNios DMA (Not NiosII)
Hi, I have a DMA question.
I designed an user_logic. There are two registers in it. The fisrt register is used to store the two 14-bit operands for calculation later. The second register is used to control the circuit after the fisrt register. That means when the second register is set to 1, the two operands in the first register can be read by the circuit after it. And the source address of the user_logic is 0x500, that means the address of the fisrt register is 0x500. And the address of the second register is 0x504, the two register are all 32-bit. I want to send two continuous data to the two register separately. Therefore, I use the nr_dma_copy_range_to_range to send the data between memory and my user_logic. But it does not work. So, does anybody have a SIMPLE DMA example for Nios processor?? Or somebody can tell me how to use the DMA ?? http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif Thanks in advance. PS: I use the Nios3.1, QuartusII 4.0, and APEX20K.