Forum Discussion
Altera_Forum
Honored Contributor
11 years agoHave you tried running the External Memory Interface (EMIF) toolkit?
When you build a UniPHY DDR controller via Qsys or the MegaWizard, and then look at the synthesized hierarchy you will see a JTAG master called dmaster (debug master). Use Tools->System Console->External Memory Interface Toolkit (Quartus 13.1) to access this tool. Run the margin tests, use quick-freeze if necessary to get it to pass. Perhaps that will provide some insight into the issue. Look at the PCB layout and see if the address/command signals are routed as a tree or as a fly-by like a DDR DIMM. Given that you are having problems with only the second bank, my "guess" is that you have a tree layout and have configured the controller to expect a fly-by layout (I believe I've seen a setting for this option). Cheers, Dave