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

To change external memory access time?

Altera_Forum
Honored Contributor II
874 Views

http://www.alteraforum.com/forum//proweb/reputation/reputation_green.gif  

 

 

http://www.alteraforum.com/forum//images/icons/icon1.gif to change external memory access time?  

Hello, 

 

I have a board with Nios using external SRAM built in two flavors: the one is fast 10ns SRAM the other is a battery-backed 70ns SRAM. The boards will have different software to work on each build. 

 

My goal is to have both boards configured with the same FPGA file. 

 

Is there a way to configure a tristate slave with 70ns access time and than change this access time to 10ns from the software somehow? 

 

My code loads from flash memory to SRAM and executes from SRAM. 

 

Any ideas? 

Hello, 

 

I have a board with Nios using external SRAM built in two flavors: the one is fast 10ns SRAM the other is a battery-backed 70ns SRAM. The boards will have different software to work on each build. 

 

My goal is to have both boards configured with the same FPGA file. 

 

Is there a way to configure a tristate slave with 70ns access time and than change this access time to 10ns from the software somehow? 

 

My code loads from flash memory to SRAM and executes from SRAM. 

 

Any ideas?
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
211 Views

You will need a custom HDL block for this, since the tristate bridge is not software configurable. A custom HDL block would not be that difficult and you could program the access time via a configuration register. Good luck.

0 Kudos
Reply