Altera_Forum
Honored Contributor
18 years agoDDR2 on Stratix II GX PCI-E Dev kit malfuncitoning
hi,
I have Stratix II GX PCI-E Dev kit. I have already successfully ported NIOSII, On-chip RAM, JTAG UART, PIO LED, PLL, MY own LED on it and it works. I had so much trouble with DDR2. I chose high performance DDR2 since I don't need to worry about PLLs, DLLs, feedback PLL. and I was able to add the core to my base working system in SOPC after weeks struggle with regular DDR2. so, I got all the pin assigned and setup constraints, and compiled my project. of course, whole bunch of warning. My system can run at 100 MHz. and my DDR2 controller internally run at 200Mhz. Downloaded to the FPGA. LED blinked, JTAG UART works. DDR2 readback test always read me back garbage data. I used the debugger in NIOs IDE. I can view the DDR2 memory. all garbage data. I was able to read and write to any location in the onchip ram. Simulated the entire system in ModelSIM. the DDR2 core was doing something. I saw clk pair, my data, address and some handshaking signals being generated. I am not sure about the correctness. I guess I don't need to worry since it is from Altera magecore. or Should I? any idea?