Forum Discussion
Altera_Forum
Honored Contributor
10 years agoNo, you certainly don't have to use Nios to put the SRAM to use. You can write your own interface to do so.
--- Quote Start --- But I can't find any sample project that uses the SRAM Controller.v --- Quote End --- SRAM doesn't need a 'controller' in the same way the SDRAM does. Present an address & data and strobe the data in (using WE & CE). Alternatively, present an address and activate CE & OE to get the data out. This memory interface tutorial (https://www.google.nl/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahukewjlg9_4ln7kahwdtbqkhv1ibwiqfggfmaa&url=http%3a%2f%2fece.wpi.edu%2f~rjduck%2fverilog%2520memory%2520module%25207.pdf&usg=afqjcneszzvqt4gxd-6cu6wglui8groflw&bvm=bv.113370389,d.d24) discusses accessing SRAM and has some useful timing diagrams along with an SRAM verilog model. The 'Simplified Read/Write Operation' figures (pages 14/15), along with the waveform simulation on the last page should, I hope, clarify what signals you need to generate as part of your interface. Cheers, Alex