Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

How to store data from A/D onto DDR2 SDRAM and stream out

I submitted a question before on how to get 128k output from SignalTap. I just found out that I wouldn't be able to with external ram installed as SignalTap can only use internal RAM. Is there some way I can get a signal from A/D stored onto a DDR2 SDRAM, then stream the data out via a cable like USB or Ethernet? I'm using a Stratix III DSP Development Board.

Daniel

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Is there some way I can get a signal from A/D stored onto a DDR2 SDRAM, then stream the data out via a cable like USB or Ethernet? I'm using a Stratix III DSP Development Board.

    --- Quote End ---

    You can stream data from an ADC to memory. You need to calculate the data rates though. First, create an SOPC/Qsys system containing an Avalon-MM master (eg. the verification IP suite BFM), DDR memory controller and a DMA controller, and determine the maximum sustained transfer rate to your DDR memory. This rate determines the maximum sampling rate you will be able to run your ADC.

    You can define your ADC as an Avalon-ST streaming source component, and then add that to SOPC/Qsys along with an SGDMA component, and using that you can DMA from the Avalon-ST component to the DDR memory.

    Cheers,

    Dave