Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12604 Discussions

Using SDRAM Controller on Development Board

Altera_Forum
Honored Contributor II
930 Views

Hi, 

 

Does anyone have experience sharing the 32 MBytes of SDRAM that is installed on the DSP Development Kit board between the Nios II and some custom FPGA circuitry? 

 

I would like to dedicate some portion SDRAM (e.g. 8 MBytes) that is installed on the Stratix II DSP Development Kit and use the the SDRAM controller with the Avalon Interface that is provided as part of the Nios II development kit CD. The remaining portion portion of the SDRAM (e.g. 24 MBytes) would be used to store samples acquired from the on-board A/D. The custom FPGA circuitry would only store the 8 MSb's of each 12-bit A/D sample and then accumulate eight samples in an internal FIFO before writing the data out to the SDRAM as a 64-bit word. This would then reduce the rate of the SDRAM writes to 1/8 of the A/D sample rate. I would like to store 8-bit A/D @ 100 MHz so this would translate to providing 64-bit data to the SDRAM's @ 12.5 MHz. 

 

Can the Avalon switching network sustain a 12.5 MHz @ 64-bits/sample rate when writing data to a shared SDRAM resource between the Nios II and custom FPGA circuitry while allowing the Nios II to run it's OS/application out of SDRAM simultaneously? 

 

Any information would be appreciated. 

 

Brad S.
0 Kudos
0 Replies
Reply