Forum Discussion
Altera_Forum
Honored Contributor
15 years agoCyclone III & SDRAM
Hello everybody.
the situation: we have Cyclone iii(EP3C25Q240C8) and sdram(MT48LC4M16A2) are connected directly. Clk from board 24MHz plled to 100. need to do : write data block to RAM and read it back for testing was created easy contour - inclk to pll and then to counter(data imitation), to driver(make control signals) and to SDRAMcontroller. After the SDRAM data goes through Controller to 1port ram in FPGA(view the data). Thats looks easy but something goes wrong coz it works ONLY then DQ bidir pin was added to signaltap otherwise it doesn't. We try 3 different SDRAM controllers and try to write source code in VHDL and AHDL - the same. very need a solution for that problem, previously thanks. Project file i will attach below4 Replies
- Altera_Forum
Honored Contributor
Yes, you have to use the values read back otherwise there is no need to store them.
- Altera_Forum
Honored Contributor
- Altera_Forum
Honored Contributor
--- Quote Start --- I suspect the read data-path has been optimized out. Quartus II is quite intelligent about that, e.g. even if you connect a RAM to the read-data output from the SDRAM controller, but no logic is reading that RAM QII will optimize the complete chain away. --- Quote End --- Yup -- do something with all the bits from each read and then output the result to a pin. XOR will do. - Altera_Forum
Honored Contributor
I suspect the read data-path has been optimized out. Quartus II is quite intelligent about that, e.g. even if you connect a RAM to the read-data output from the SDRAM controller, but no logic is reading that RAM QII will optimize the complete chain away.