Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
公告
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17267 讨论

DDR2 controller fails to generate mem_clk, mem_clk_n, dq, ...

Altera_Forum
名誉分销商 II
1,683 次查看

Hi experts, 

I'm using DDR2 HPC II in Arria II GX device, and the design is DDR2 reference design downloaded from Altera website. 

IP generation, simulation, compiling and downloading bit file are all OK. 

And ras_n, cas_n, we_n, addr, ba... are all OK. 

But mem_clk, mem_clk_n, dq, dqs and dqsn have no valid output during calibration. 

Did I miss anything? 

Please help! Thanks! 

I'm running Quartus v10.1 on Windows 7 Pro SP1. The FPGA board is customer-designed.
0 项奖励
5 回复数
Altera_Forum
名誉分销商 II
696 次查看

Hi all, 

I've found the root cause. 

It's because I'm using differential DQS but assigning mem_clk[0] and mem_clk_n[0] to DIFFIO_TX pins. The document says they should be assigned to DIFF_IN or DIFFIO_RX pins in order to use differential DSQ.
0 项奖励
Altera_Forum
名誉分销商 II
696 次查看

The issue still exists in my new board on which mem_clk[0] and mem_clk_n[0] have already been put to a pair of DIFFIO_RX pins (AC22/AC23 on EP2AGX45DF29C6).  

Please help me!
0 项奖励
Altera_Forum
名誉分销商 II
696 次查看

It seems OCT causes this problem. When I change the OUTPUT_TERMINATION setting of these pins from "SERIES 50 OHM WITH CALIBRATION" to "SERIES 50 OHM WITHOUT CALIBRATION", everything is OK. mem_clk/mem_clk_n appear and test_complete will be asserted. There are 50ohm calibration resistors connecting to RUP and RDN pin on my custom board. 

I just don't know why. Could somebody explain it?
0 项奖励
Altera_Forum
名誉分销商 II
696 次查看

 

--- Quote Start ---  

It seems OCT causes this problem. When I change the OUTPUT_TERMINATION setting of these pins from "SERIES 50 OHM WITH CALIBRATION" to "SERIES 50 OHM WITHOUT CALIBRATION", everything is OK. mem_clk/mem_clk_n appear and test_complete will be asserted. There are 50ohm calibration resistors connecting to RUP and RDN pin on my custom board. 

I just don't know why. Could somebody explain it? 

--- Quote End ---  

 

 

 

I am facing the same problem ,i am try to solve it,but i wonder where to change the OUTPUT_TERMINATION,could you show me please ! I wonder how was your work going ,is it work later ?:) waiting for your reply! thank you !
0 项奖励
Altera_Forum
名誉分销商 II
696 次查看

Hi! 

also I have a similar problem, but with another device. I am using the CycloneIII development kit. I'm trying to use a DDR2 HPCII but the signals "phy_clk" and "mem_clk" are always low and so the "local_init_done". 

The functional simulation, without the calibration, works fine but when I program the FPGA nothing happened.
0 项奖励
回复