--- Quote Start ---
And what are Avalon-ST 'source' and 'sink' ?
--- Quote End ---
Altera's definition of a streaming bus. Read the Avalon Interface Specification.
http://www.altera.com/literature/manual/mnl_avalon_spec.pdf --- Quote Start ---
How about SG-DMA ?
--- Quote End ---
You still need to make the ADC look like an Avalon-ST component, so that you can connect it to a DMA controller.
--- Quote Start ---
On my board, a ddr2 is used for Nios ii CPU ,and I allocate some space for adc data . So I want to stream the adc data into ddr2 sdram and then stream out via uart port.
Which Avalon-ST components are all right ?
--- Quote End ---
There are DMA controllers that can transfer data between an Avalon-ST component and bus master an Avalon-MM bus to access a DDR controller. I've never used any of them. I just write my own when I need them.
Cheers,
Dave