SPRABI1D January   2018  – July 2022 66AK2E05 , 66AK2G12 , 66AK2H06 , 66AK2H12 , 66AK2H14 , 66AK2L06 , AM5K2E02 , AM5K2E04 , SM320C6678-HIREL , TMS320C6652 , TMS320C6654 , TMS320C6655 , TMS320C6657 , TMS320C6670 , TMS320C6671 , TMS320C6672 , TMS320C6674 , TMS320C6678

 

  1.   Trademarks
  2. Introduction
  3. Background
  4. Migrating Designs From DDR2 to DDR3 (Features and Comparisons)
    1. 3.1 Topologies
      1. 3.1.1 Balanced Line Topology
        1. 3.1.1.1 Balanced Line Topology Issues
      2. 3.1.2 Fly-By Topology
        1. 3.1.2.1 Balanced Line Topology Issues
    2. 3.2 ECC (Error Correction)
    3. 3.3 DDR3 Features and Improvements
      1. 3.3.1 Read Leveling
      2. 3.3.2 Write Leveling
      3. 3.3.3 Pre-fetch
      4. 3.3.4 ZQ Calibration
      5. 3.3.5 Reset Pin Functionality
      6. 3.3.6 Additional DDR2 to DDR3 Differences
  5. Prerequisites
    1. 4.1 High Speed Designs
    2. 4.2 JEDEC DDR3 Specification – Compatibility and Familiarity
    3. 4.3 Memory Types
    4. 4.4 Memory Speeds
    5. 4.5 Addressable Memory Space
    6. 4.6 DDR3 SDRAM/UDIMM Memories, Topologies, and Configurations
      1. 4.6.1 Topologies
      2. 4.6.2 Configurations
        1. 4.6.2.1 Memories – SDRAM Selection Criteria
    7. 4.7 DRAM Electrical Interface Requirements
      1. 4.7.1 Slew
      2. 4.7.2 Overshoot and Undershoot Specifications
        1. 4.7.2.1 Overshoot and Undershoot Example Calculations
      3. 4.7.3 Typical DDR3 AC and DC Characteristics
      4. 4.7.4 DDR3 Tolerances and Noise – Reference Signals
  6. Package Selection
    1. 5.1 Summary
      1. 5.1.1 ×4 SDRAM
      2. 5.1.2 ×8 SDRAM
      3. 5.1.3 ×16 SDRAM
      4. 5.1.4 ×32 SDRAM
      5. 5.1.5 ×64 SDRAM
  7. Physical Design and Implementation
    1. 6.1 Electrical Connections
      1. 6.1.1 Pin Connectivity and Unused Pins – SDRAM Examples
      2. 6.1.2 Pin Connectivity – ECC UDIMM and Non-ECC UDIMM Examples
    2. 6.2 Signal Terminations
      1. 6.2.1 External Terminations – When Using Read and Write Leveling
      2. 6.2.2 External Terminations – When Read and Write Leveling is Not Used
      3. 6.2.3 Internal Termination – On-Die Terminations
      4. 6.2.4 Active Terminations
      5. 6.2.5 Passive Terminations
      6. 6.2.6 Termination Component Selection
    3. 6.3 Mechanical Layout and Routing Considerations
      1. 6.3.1 Routing Considerations – SDRAMs
        1. 6.3.1.1  Mechanical Layout – SDRAMs
        2. 6.3.1.2  Stack Up – SDRAMs
        3. 6.3.1.3  Routing Rules – General Overview (SDRAMs)
        4. 6.3.1.4  Routing Rules – Address and Command Lines (SDRAMs)
        5. 6.3.1.5  Routing Rules – Control Lines (SDRAMs)
        6. 6.3.1.6  Routing Rules – Data Lines (SDRAMs)
        7. 6.3.1.7  Routing Rules – Clock Lines (SDRAMs)
        8. 6.3.1.8  Routing Rules – Power (SDRAMs)
        9. 6.3.1.9  Write Leveling Limit Impact on Routing – KeyStone I
        10. 6.3.1.10 Round-Trip Delay Impact on Routing – KeyStone I
        11. 6.3.1.11 Write Leveling Limit Impact on Routing – KeyStone II
        12. 6.3.1.12 Round-Trip Delay Impact on Routing – KeyStone II
      2. 6.3.2 Routing Considerations – UDIMMs
        1. 6.3.2.1 Mechanical Layout – UDIMMs
        2. 6.3.2.2 Stack Up – UDIMMs
        3. 6.3.2.3 Routing Rules – General Overview (UDIMMs)
        4. 6.3.2.4 Routing Rules – Address and Command Lines (UDIMMs)
        5. 6.3.2.5 Routing Rules – Control Lines (UDIMMs)
        6. 6.3.2.6 Routing Rules – Data Lines (UDIMMs)
        7. 6.3.2.7 Routing Rules – Clock Lines (UDIMMs)
        8. 6.3.2.8 Routing Rules – Power (UDIMMs)
        9. 6.3.2.9 Write-Leveling Limit Impact on Routing
    4. 6.4 Timing Considerations
    5. 6.5 Impedance Considerations
      1. 6.5.1 Routing Impedances – KeyStone I Devices
        1. 6.5.1.1 Data Group Signals
        2. 6.5.1.2 Fly-By Signals
      2. 6.5.2 Routing Impedances – KeyStone II Devices
        1. 6.5.2.1 Data Group Signals
        2. 6.5.2.2 Fly-By Signals
      3. 6.5.3 Comparison to JEDEC UDIMM Impedance Recommendations
    6. 6.6 Switching and Output Considerations
  8. Simulation and Modeling
    1. 7.1 Simulation and Modeling
    2. 7.2 Tools
    3. 7.3 Models
    4. 7.4 TI Commitment
  9. Power
    1. 8.1 DDR3 SDRAM Power Requirements
      1. 8.1.1 Vref Voltage Requirements
      2. 8.1.2 VTT Voltage Requirements
    2. 8.2 DSP DDR3 Power Requirements
    3. 8.3 DDR3 Power Estimation
    4. 8.4 DSP DDR3 Interface Power Estimation
    5. 8.5 Sequencing – DDR3 and DSP
  10. Disclaimers
  11. 10References
  12. 11Revision History

Routing Rules – General Overview (SDRAMs)

Several key points to remember when routing any signals on the application board:

  • Organize the power, ground, and signal planes so that you eliminate or significantly reduce the number of split or cut planes present in the design (no splits are allowed under any DDR3 routes).
  • It is strongly recommended that all SDRAMs are mounted on the top side of the PCB alongside the SoC for single rank designs.
  • Apply net classes, for example, group key signals together.
  • Maintain an acceptable level of skew across the entire DDR3 interface (by net class).
  • Use proper low-pass filtering on the Vref pins.
  • Follow the fly-by architecture concept for all address, command, clock, and control lines.
  • Increase the size of the decoupling capacitor trace width to as large as possible, keep the stub length as short as possible.
  • Center-to-center spacing, including serpentine, must be at least 5 W where W is the trace width. Additional spacing can be added between differential pairs and other routing groups to minimize crosstalk. Spacing of 4 W can be used, but is not appropriate for bus speeds over 1066 MT/s.
  • Maintain a common ground reference for all bypass/decoupling capacitors, DSPs, and SDRAMs.
  • Take into account the differences in propagation delays between microstrip and stripline nets when evaluating timing constraints. All long routes should be stripline to reduce EMI and timing skew, and any microstrip routed for BGA breakouts should be as short as possible.
  • All length-matching is based on an equivalent stripline length. An equivalent stripline length is defined as the length of a stripline trace that will have the same delay as the microstrip portion of the route (see the JEDEC UDIMM specification for more information on velocity compensation).
  • There can not be any mid-point vias in the design on any data group net. Extra vias that are located on the data group will negatively impact signal integrity.
  • It is strongly recommended that all nets be simulated to assure proper design, performance, and signal integrity.
  • Routes along the same path and routing segment must have the same number of vias. Vias can be blind, buried, or HDI microvia for improved SI but are not required for standard data rates. Similarly, back drilling vias is not required for standard data rates but can be used to eliminate via stubs.
  • It is strongly recommended that the routing channels between the DSP to SDRAM be dedicated solely to the SDRAM interface and that no other signals be routed in the area. Other signals routed on the same layers must be kept apart from the DDR3 routes. There must be additional separation of the DDR3 nets of at least 6W. In addition, these other traces should not be referenced to the DDR3 IO power planes. If other signals must be routed through this area, they need to be isolated to their own routing planes and shielded from the DDR3 routes by a solid ground plane.

Net classes are an important concept when routing high speed signals that incorporate timing constraints or timing relationships. When routing the DDR3 nets, there are four basic groups (net classes) to consider – Table 6-1 shows the recommended net classes.

Table 6-1 SDRAM Net Class Routing Rules
Net Class Signals
Data DQS[8:0], DQS[8:0], DQ[n:0], CB[7:0], DM[8:0] (1),(2), (4)
Address/Command BA[2:0], A[n:0], RAS, CAS, WE (2), (3)
Control CS, CKE, ODT (2), (5)
Clock DDRCLKOUTP/N[1:0] (5)
CB[7:0] refer to ECC devices.
n refers to some number of lines and is dependent upon device selected.
Observe relationship between DQ, DQS, DQS, DDRCLKOUT, and DDRCLKOUT.
The data net class will be subdivided into multiple byte lane routing groups each containing a DQS/ DQS pair and the associated DM and 8 data bits.
Some nets in class may be used only in dual-rank topologies.

Figure 6-3 shows the typical interface topology when connecting single-rank and dual-rank designs. Note that the dual-rank illustration shows only the connections for byte lane 0, and fly-by connections will still need to include SDRAMs on subsequent byte lanes.

GUID-3BAC386B-158A-4B5E-AFEA-D470C168B0E0-low.gif
The CLKOUT, CS, ODT, and CKE pins will be unique to each rank in a dual rank design.
Figure 6-3 Interface Topology for Single and Dual Rank