UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 35094

MIG Virtex-6 and 7 Series DDR3 - Write Leveling

Description

Write Leveling is a DDR3 SDRAM feature that is used to compensate for DQS/CK skew. DDR3 DIMM and multi-component designs must use fly-by topology routing on clocks, address, commands, and control signals. This improves SI, but causes skew between DQS and CK. Write Leveling compensates for this skew.

NOTE: This answer record is a part of the Xilinx MIG Solution Center (Xilinx Answer 34243). The Xilinx MIG Solution Center is available to address all questions related to MIG. Whether you are starting a new design with MIG or troubleshooting a problem, use the MIG Solution Center to guide you to the right information.

Solution

During Write Leveling, CK and DQS are driven by the FPGA while DQ is feedback by the DDR3 SDRAM device to provide feedback.The FPGA then delays DQS using IODELAY taps (Virtex-6 DDR3) or Phaser_OUT taps (7 Series DDR3) until a 0-to-1 transition is detected on DQ.This compensates for DQS/CK skew and ensures the tDQSS specification is met.

Write Leveling is performed immediately after the memory initialization is completed. The MIG Virtex-6and 7 Series DDR3designs perform Write Leveling for ALL DDR3 designs regardless of whether there is one component, multiple components, or a DIMM. This is enabled in the MIG design through the WRLVL parameter in the top-most level rtl file:

parameter WRLVL = "ON",

Virtex-6 Specific Information
Since Write Leveling is performed for all MIG DDR3 designs, there is no need to specify a trace matching requirement between DQS and CK. The design will always calibrate CK-DQS timing.

For detailed information on Write Leveling, refer to:

  • DDR2/DDR3 SDRAM Memory Interface Solution > Core Architecture > PHY section of UG406
  • Section 4.8 of the DDR3 SDRAM Standard - JEDEC79-3
Additional information can be found at:


7 Series Specific Information
The CK/CK# signals must arrive at each memory device after the DQS/DQS# signals. The recommended value for additional propagation delay on CK/CK# traces relative to DQS/DQS# at each memory device is documented in the Design Guidelines section of UG586.

For detailed information on Write Leveling, refer to:

  • DDR2/DDR3 SDRAM Memory Interface Solution > Core Architecture > PHY section of UG586.
  • Section 4.8 of the DDR3 SDRAM Standard - JEDEC79-3.
Additional information can be found at:

Revision History
08/24/12 - Added 7 Series Information


Linked Answer Records

Master Answer Records

Answer Number Answer Title Version Found Version Resolved
34557 MIG Virtex-6 and 7 Series DDR3 - Fly-by Topology Requirements N/A N/A
51684 MIG 7 Series DDR2/DDR3 - JEDEC Specification N/A N/A

Child Answer Records

AR# 35094
Date Created 05/17/2010
Last Updated 09/09/2012
Status Active
Type Solution Center
Devices
  • Virtex-6 CXT
  • Virtex-6 HXT
  • Virtex-6 LX
  • More
  • Virtex-6 LXT
  • Virtex-6 SXT
  • Artix-7
  • Kintex-7
  • Virtex-7
  • Less
IP
  • MIG 7 Series
  • MIG Virtex-6 and Spartan-6