Hi All,
I am quite new to Altera and FPGA design, as a small project I am trying to code a DDR2 controller on Cyclone III development board.
I have used Altmemphy DDR2 megafunction, and it responds my commands. For instance:
- it asserts "init_done" at the beginning
- sets "rdata_valid" sometime after I sent read request.
However it does not create mem_... signals which are connected to the DDR2 modules on board.
only mem_dq bus is changing in time, all others are 0.
what I can observe are these:
- I attemt to write 3 blocks of data, and I can observe them in mem_dq signal, (A0A0A0.., BFBFBF.., CACACA..)
- However I can only read second one, when I read it (BFBFBF)
Actually I am using phy_clk on SignalTap, and I know that it is not supposed to capture those mem_... signals, but it should be able to capture at least the changes of mem_addr? Am I right?
Actually I also tried to use clk[0] which is generated for memory module for SignalTap clock, nothing changed.
I attached my top design file, and screeshots from SignalTap during write and read phases.
By the way I am using 50MHz cyristal as PLL ref, and 166.66MHz for Memory clock, and half rate 83Mhz for my design.
Thank you in advance! :)
-M.Ufuk