Forum Discussion
Altera_Forum
Honored Contributor
14 years agoOkay, I got a lot further.
Managed to get the EMIF toolkit up and running. I have a 72 bit interface, Qsys, UniPHY. The EMIF toolkit says bytes 0 through 7 calibrate just fine. Byte 8 doesn't. Not sure why. The numbers shown below suggest that the 9th byte is not on the edge of signal integrity, but rather somehow just not working at all. Note, I don't need 72 bits of data. But for example if I want 64, with one ECC byte, then I need to calibrate all 72 bgits. Again, what's the magic to get 72 bits all calibrated, UniPHY + Qsys + DDR3? +----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | DQS Calibration Settings | +----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ +-----------+------------------------------+---------------------------+---------------------------------+---------------------------------+------------------------+--------------------------------+--------------------------+--------------------------+ | DQS Group | DQS Input Delay Setting (D4) | DQ/DQS Output Phase (Deg) | DQS Output Delay 1 Setting (D5) | DQS Output Delay 2 Setting (D6) | DQS Enable Phase (Deg) | DQS Enable Delay Setting (T11) | OCT Delay 1 Setting (D5) | OCT Delay 2 Setting (D6) | +-----------+------------------------------+---------------------------+---------------------------------+---------------------------------+------------------------+--------------------------------+--------------------------+--------------------------+ | 0 | 1 | 540 | 0 | 3 | 405 | 0 | 0 | 3 | | 1 | 2 | 585 | 0 | 3 | 90 | 0 | 0 | 3 | | 2 | 1 | 585 | 0 | 6 | 405 | 2 | 0 | 6 | | 3 | 1 | 630 | 0 | 4 | 90 | 2 | 0 | 4 | | 4 | 1 | 720 | 0 | 3 | 225 | 1 | 0 | 3 | | 5 | 0 | 765 | 0 | 3 | 225 | 2 | 0 | 3 | | 6 | 1 | 720 | 0 | 6 | 270 | 0 | 0 | 6 | | 7 | 0 | 765 | 0 | 4 | 270 | 1 | 0 | 4 | | 8 | 15 | 810 | 15 | 3 | 405 | 4 | 15 | 3 | +-----------+------------------------------+---------------------------+---------------------------------+---------------------------------+------------------------+--------------------------------+--------------------------+--------------------------+ +--------------------------------------------------------------------------+ | DM Calibration Settings | +--------------------------------------------------------------------------+ +--------+--------------------------------+--------------------------------+ | DM Pin | DM Output Delay 1 Setting (D5) | DM Output Delay 2 Setting (D6) | +--------+--------------------------------+--------------------------------+ | 0 | 2 | 0 | | 1 | 4 | 0 | | 2 | 5 | 0 | | 3 | 4 | 0 | | 4 | 2 | 0 | | 5 | 2 | 0 | | 6 | 4 | 0 | | 7 | 4 | 0 | | 8 | 15 | 0 | +--------+--------------------------------+--------------------------------+