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++
Announcements
All support for Intel NUC 7 - 13 systems has transitioned to ASUS. Read latest update.
12577 Discussions

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

Yogesh
Novice
882 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
863 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

 

0 Kudos
Yogesh
Novice
850 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
0 Kudos
Yogesh
Novice
837 Views

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

0 Kudos
Eliath_G_Intel
Employee
801 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


0 Kudos
Reply