Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12409 Discussions

How to write/read data to DDR in NIOS II eclipse tool ?

Yogesh
Novice
348 Views

suppose I have an array of data as below

array[10000] = {1,2,3,4,5...................10000};

How to write this data in 10000 address locations of DDR?

Please reply with a sample code

0 Kudos
4 Replies
Eliath_G_Intel
Employee
329 Views

Hi Yogesh!

 

The way for doing this depends on what you're using :

 

Do not hesitate to let me know any questions you may have .

 

Regards!

-Eliath Guzman

 

Yogesh
Novice
316 Views
Hi Eliath,
I am interested in the 2nd design (FPGA DDR)which you mentioned.
I went through the design provided by you . But I didn't find the c code( NIOS eclipse code) which is used to store data in DDR .Am I seeing something wrong?
I just want to understand (code wise) how data is written to FPGA DDR using Eclipse c code.
Please guide me.

Thankyou
Regards
Yogesh
Yogesh
Novice
303 Views

document of 2nd link(FPGA DDR) is not accessable.

Eliath_G_Intel
Employee
267 Views

Hi Yogesh,

Hoping you're doing well, I wonder if I can close this thread,

I found another post of you with almost the same question and I've seen

my colleague gave you a solution.

Is there anything else I can do for you?


Best regards,

-Eliath


Reply