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

Interfacing SRAM to NIOS

Altera_Forum
Honored Contributor II
1,085 Views

Hi,  

 

I am using a Cypress CY7C09289V-12A SRAM on my prototype FPGA board. I wish to use this for my NIOS II code.  

I have added a SRAM (IDT71V416S) and a tristate bridge to my qsys and have connected them accordingly.  

I had to change the address and data widths to match my SRAM.  

Then i have assigned the appropriate pins in my Quartus. For this IC i have enabled ADS_n signal and disabled CNTRST_n signal.  

I have given a 40 MHz clk to the IC 

 

I am getting "Downloading ELF process failed" when i try to download the NIOS II code from Eclipse.  

 

Kindly let know what could i be doing wrong ? 

 

regds 

Santhosh
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
343 Views

The first step would be to add some on-chip memory to your Nios system and put there a memory test software (there is one in the templates list). Then use that software to test the SRAM

0 Kudos
Altera_Forum
Honored Contributor II
343 Views

This board which am using is not an altera board. Its a prototype board for our purpose.  

Moreover which templates are u telling about ?  

This is urgent, if someone could help, it would be helpful 

 

regds 

santhosh
0 Kudos
Altera_Forum
Honored Contributor II
343 Views

In Eclipse, when you create a new software project, there is a memory test template.

0 Kudos
Reply