Forum Discussion
Altera_Forum
Honored Contributor
17 years agoDMA controller in SOP buidler question
I'm using SOPC Builder to integrate into my system v8.0 sp1. * A new DSP builder component with 2 Avalon Slave (Read & write Fifo's) * 2 DMA controller (Avalon master) to load data to the dsp...
Altera_Forum
Honored Contributor
17 years agoHi Jake,
I've been surfing in the NIOS software development handbook to find the HAL API in order to launch transaction of data by using Avalon DMA Controller. Load data to DSP block by Master write DMAtx = alt_dma_txchan_open ("/dev/dma_0"))
alt_dma_txchan_prepare (tx, buffer, 1024, dma_done, NULL) store data from DSP block by Master Read DMA rx = alt_dma_rxchan_open ("/dev/dma_0"))
alt_dma_rxchan_prepare (rx, buffer, 1024, dma_done, NULL) By using these functions I don't need to know the base address of my DSP block if I have it well connected to the both DMA masters, in such case, Do I'll need always a pair of master DMA controller for each DSP block??