Altera_Forum
Honored Contributor
15 years agoWhat is/are the right SOPC compenent(s) for my project?
Hi,
what I'm trying to do is the following: I have an ADC which runs at say 80 MSPs. I have a Nios II that runs at 50 (or less) MHz. I would like to have a (or more) avalon component(s) that connect to my custom ADC component and transfers the ADC data sample by sample to an onboard SRAM. In the Nios II software I would like to set up the number of samples I would like to have transferred from the ADC to the SRAM. After the transfer is done I would like to get an interrupt in the Nios II. After that the Nios II can slowly get the data out of the SRAM and can process it. I think I should use something like scatter gather DMA and streaming components. But I don't exactly know if they really suite my needs. I imagine that my ADC avalon component ist the data stream source. The scatter gather DMA reads this source and copies the data to a memory block in the SRAM. The scatter gather DMA is configured by the Nios II and interrupts it after the transfer is done. Am I going into the right direction or is there a better way to implement this functionality? It would be great if somebody can point me to the exact SOPC components and avalon interface specification I need for this task. Thanks in advance, Maik