Altera_Forum
Honored Contributor
11 years agoProblem with SDRAM: works fine on Cyclone II but not on Cyclone IV
Hi forum,
This problem is getting me crazy! I have two boards, both with an Alliance AS4C8M16S-6TIN SDRAM, one has a EP2C5T144C8N and the other a EP4C15E22C7N. I'm using Qsys SDRAM controller to control the memory and a JTAG Avalon Master with system console to execute write and read commands, but it isn't working on the Cyclone IV board; when i read the memory, it looks like the timmings are off, even though they are the same as the Cyclone II, wich is working. Here's what i'm getting: --- Quote Start --- WRITE: 0x11111110 0x11111101 0x11111011 0x11110111 0x11101111 0x11011111 0x10111111 0x01111111 READ: 0x000a000a 0x11111111 0x11111111 0x11111111 0x24002400 0x11011101 0x01110111 0x01110111 --- Quote End --- There are no timming violations in neither project, the only difference regarding timmings is the input clock, which is 48MHz on Cyclone II and 50 MHz on Cyclone IV, in both cases i'm using a pll to output a 96MHz clock. I've tested 3 different SDRAM chips, all three outputted the same bytes. I have no ideas left :( Thanks for any help.