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
名誉分销商 II
1,073 次查看

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 项奖励
1 回复
Altera_Forum
名誉分销商 II
357 次查看

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 项奖励
回复