Altera_Forum
Honored Contributor
20 years agoExternal SRAM timing
Hi
Based on comments I've seen on the software side of Niosforum, I am getting the impression that there may be timing issues when using external SRAM and the Altera supplied components. I could use some help. I'm using a custom board with 71V416 SRAM, basically the same approach used in the Stratix Nios development Kit. Nios clock speed is 40 MHz. When my software was smaller, I ran it out of the on-chip memory and it seemed reliable. The program has grown to the extent that it won't fit in on-chip, so I moved the code and data storage into external SRAM. Now, it seems somewhat unreliable. When running the program with the IDE debugger, it occasionally "blows", with a bunch of "y"s on the console. My impression, supported by stuff I've seen on the software side, is that the SRAM chips may need some setup time, possibly also a wait state. I don't want to wastefully slow down the system by adding setup and wait. And I don't want to meddle with something that's pretty far along and almost works. Can someone shed some light on this? Can I modify the timing of the Altera supplied 71V416 code without ripping everything apart? What is the ideal timing, if not as Altera supplies? Thanks in advance