Forum Discussion
Writing Data In SDRAM
Hello everyone,
I've used some VHDL before but I need help understanding how to write data into SDRAM. I'm currently using Quartus II 11.0 and DE0-Nano. I just need a sample VHDL with some comments in it and I'll try to figure the rest of the stuff. Any help would be appreciated. Thanks.6 Replies
- Altera_Forum
Honored Contributor
Are you sure VHDL is the right solution then? If you have an embedded CPU it may be easier to so it by software, as you have such a low frequency.
What kind of interface do you have to your sensors? - Altera_Forum
Honored Contributor
I have to hook some meteorological sensors (digital) to the DE0-Nano and store the data in SDRAM. The board is to read the data every 5 seconds. It will run for approximately 10 mins.
- Altera_Forum
Honored Contributor
I suggest to have a look at the Avalon specifications and especially the memory mapped master interface. You can write a component in VHDL that uses this interface to access memory, and add it to your SOPC/QSys project.
- Altera_Forum
Honored Contributor
What is the source of the data and how fast do you need to write the data into the memory?
- Altera_Forum
Honored Contributor
Yes, but I also have access to Qsys. Also, I'm not only limited to the DE0-nano board but also have DE0, DE1, and DE2. If you can help me with any of those boards I would really appreciate it.
- Altera_Forum
Honored Contributor
Are you using SOPC builder?