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++

sopc

Altera_Forum
Honored Contributor II
941 Views

using sopc i want to store some data present on a test.txt/test.mif file on SDRAM of de2 board and i want to read those test.txt data in each clock cycle.so how to store data in SDRAM.i hve done the LED/SWITCH program tutorials.

0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
225 Views

You can use a C table that you fill in with the data. As long as the .text section is set to SDRAM in the IDE, the data will end up there. 

By the way, you'll probably won't be able to read data from the SDRAM on each clock cycle. Some SDRAM operation require several cycles.
0 Kudos
Reply