Altera_Forum
Honored Contributor
16 years agoDDR2 reading errors on last two words
Hi,
I've some problems with my ddr2 design. I use Altera DDR2 high performance IP on pci express dev board (Stratix II GX). I build some logic around my memory controler in order to test it. I write some knows patterns and I try to read them back. After a couple of writes successful (local_ready and local_wdata_req have good behavior), I read my datas back. My problem is that when I read memory, the two lasts words are bad and all others are good. Every time. If my pattern is 10 words long, I read back 8 good words and the last two words are bad. Whatever the patterns I use (eg different length), it's always the same... I've tested two methods for memory address generation : - Contiguous (eg 0h, 1h, 2h, 3h, 4h...) in order to stay in the same bank and same row. Just like a burst. - Randomly generated in all the banks, in different rows to force controller to precharge rows. Results are exactly the same, whatever the method I use... All my timing constraints are good. I met all requirements. Terminations, drive strength, output load ... are good too. All seems to be ok. All memory signals at local side have correct behaviour. Someone have got an idea of what's it's going on ? What can I check in my design ? I'm lost, I don't know what to do to fix that. Please help me! Thanks in advance for you help. Fabrice.