Required Memory Routing Guidelines for All Interfaces

Versal Adaptive SoC PCB Design User Guide (UG863)

Document ID
UG863
Release Date
2023-09-14
Revision
1.7 English

The following list contains guidelines that apply to all memory interfaces (DDR4, LPDDR4/4x, RLD3, and QDR-IV interfaces).

  1. Include package delay in routing constraints when determining signal trace lengths unless otherwise specified. When minimum and maximum values are available for the package delay, use the midpoint/average between the minimum and maximum values.
  2. DQ and DQS signals in the same byte group should be routed on the same layer from Versal device to DRAM/DIMM. Include the data mask (DM) in the byte group as applicable.
  3. Do not change layers when routing from one DIMM to the next for multi-slot topologies. Additionally, it is recommended to route data byte groups on the highest signal layers (closest to the DIMM connector) as much as possible. Depending on the DIMM placement, the longest DQ bytes could be the center ones or the edge ones.
  4. For fly-by routing, address, command, and control signals can be routed on different layers, but it is recommended to use as few as possible. Do not route any individual signal on more than two layers to minimize inductive loops that can lead to crosstalk issues. Any signal layer switching via needs to have one ground via within a 50 mil radius.
  5. Versal device and memory drive strengths can vary based on the interface and topology. Refer to Answer Record 76059 for details.
  6. If the system clock is connected to a bank that is also used for DDR4, LPDDR4, or LPDDR4x interfaces, the incoming clock signals must be biased so that they adhere to the signal level requirements of the I/O standard in the bank. Refer to the "AC Coupling Recommendations" section in Versal Adaptive SoC SelectIO Resources Architecture Manual (AM010) for specific requirements, as well as Answer Record 76062. The following figure shows the biasing structure from those reference documents for a DDR4 use case. AMD also recommends using DQS_BIAS with the unpopulated bias circuitry in place as a fallback option.
    Figure 1. AC-Coupled with DC-Biased Differential Clock Input
  7. Signal lines must be routed over a solid reference plane. Avoid routing over voids, as shown in the following figure.
    Figure 2. Signal Routing Over Solid Reference Plane

  8. Avoid routing over reference plane splits, as shown in the following figure.
    Figure 3. Signal Routing Over Reference Plane Split

  9. Keep the routing at least 30 mils away from the reference plane and void edges with the exception of breakout regions, as shown in the following figure.
    Figure 4. Breakout Region Routing

  10. Use chevron-style routing to allow for ground stitch vias. Figure 5 shows recommended routing for fly-by configurations, while Figure 6 shows recommended routing to accommodate ground stitch vias in a more congested clamshell configuration.
    Figure 5. Example of Ground Stitching (Fly-by)

    Figure 6. Example of Ground Stitching (Clamshell) Red: Power, Green: Ground

    The following figure shows simulated eye diagrams for a DDR4 command/address/control bit with and without ground stitching vias. The simulation on the left shows an eye height of 180 mV with ground stitch vias, while the simulation on the right shows an eye height of only 99 mV when not utilizing ground stitch vias.

    Figure 7. Simulations With and Without Ground Stitching Vias

  11. Add ground vias as much as possible around the edges and inside the device (adaptive SoC, memory component, DIMM) to make a better ground return path for signals and power, especially corners. Corner or edge balls are generally less populated as grounds.
  12. For address/command/control VTT termination, every four termination resistors should be accompanied by one 0.1 μF capacitor, physically interleaving among resistors, as shown in the following figure. Refer to the memory vendor’s data sheet for specifications regarding noise limits on the address/command/control VTT lines.
    Figure 8. Schematic Example of VTT Resistor and Capacitor Connections

    Figure 9. Example of VTT Termination Placement

  13. For DIMM topologies, place bypass capacitors near the command/address/control pads to provide extra ground via locations. These bypass capacitors also provide a lower impedance path from power to ground. This is important because the address/command/control pins are referenced to ground on the adaptive SoC and PCB while they are referenced to power on the DIMM.
  14. For dual-slot DIMM topologies, place DIMM #0 on the furthest connector from the adaptive SoC to reduce the effect of SI reflections. The DIMM #1 connector should be placed nearest to the adaptive SoC.
  15. For DDR4 interfaces with two copies of the clock and nine or more components (for example, interfaces with dual-die package (DDP) devices), it is recommended to route the clocks in an alternating pattern such that clock 1 connects to devices 1, 3, 5, 7, etc., and clock 2 connects to devices 2, 4, 6, 8, etc. All terminations should be placed at the end of the fly-by topology.
    Figure 10. DDR4 2CK Single-Rank Configuration

    Figure 11. DDR4 2CK Dual-Rank Configuration

  16. For clamshell configurations that use address mirroring, ensure that both chip select lines have adequate decoupling at their terminations as well as sufficient plane/trace thicknesses to/from VTT.
  17. Ensure that all PCB traces are within a 50 mil radius from a ground via to ensure impedance continuity through the PCB.
    Figure 12. Ground Via Radius