Forum Discussion
Altera_Forum
Honored Contributor
16 years agoSDRAM controller De2 Board
Is there a Sdram controller in vhdl language for Sdram IS42S16400L (ZENTEL A2V64S40CTP chip) ?
This is a 8MB Sdram but i don't know how create this controller. Help me. I need this controller in my project. Thank you.4 Replies
- Altera_Forum
Honored Contributor
Hello,
just a question... someone has set a correct value for the SDRAM CONTROLLER?? i'm trying from a week to confiure correctly this chip... thanks! - Altera_Forum
Honored Contributor
Some demonstration code projects from Altera for the DE2 board contain a 4-port SDRAM Controller. Check for the DE2_TV project on the CD for the DE2 board or the Terasic Sample CD for the D5M camera http://www.terasic.com.tw/cgi-bin/page/archive.pl?language=english&categoryno=68&no=281&partno=3
Those projects use the SDRAM without the NIOS2 package. EDIT: Sry, just realized that you want VHDL. So forget about the sources I mentioned. - Altera_Forum
Honored Contributor
Hi,
I was also looking for an SDR SDRAM controller for the SDRAM an DE1/DE2 boards and for my purpose, I did the following workaround: Simply create a NIOS II SOPC System and integrate the SOPC SDRAM controller into this system (make sure to set the right parameters according to the SDRAM chip on DE1/DE2 boards). After generation of the SOPC system, you should find a file named "sdram_0.vhd" (for VHDL users) in your project directory. Within this file you can find the entity "sdram_0" which defines the SDRAM controller and its AVALON-MM inputs and output ports. You can then use this entity in your custom logic design for accessing the SDRAM. Simply connect the controller to the appropriate output pins of you FPGA and design some custom logic such, that it connects to the SDRAM controller using the AVALON ports. I.E. your logic imitates an AVALON MASTER and the SDRAM controller is the AVALON SLAVE. Hope you got an idea what to do .... Markus - Altera_Forum
Honored Contributor
same problem here