Forum Discussion
Altera_Forum
Honored Contributor
9 years agoI'm afraid your code won't result in anything being written to the SDRAM. Your state machine doesn't do the right things to control the SDRAM.
Have a look, and try to understand, the sdram state diagram on this page (http://www.anandtech.com/show/3851/everything-you-always-wanted-to-know-about-sdram-memory-but-were-afraid-to-ask/3). I hope it gives you an idea of the work involved. How much data to you have to store? Could you make use of the FPGA's internal RAM? Cheers, Alex