External Memory Interfaces Stratix® 10 FPGA IP User Guide

ID 683741
Date 4/01/2024
Public
Document Table of Contents

6.5.4.3. Length Matching Rules

The following topics provide guidance on length matching for different types of SDRAM signals.

Route all addresses and commands to match the clock signals to within ±20 ps to each discrete memory component. The following figure shows the component routing guidelines for address and command signals.

Figure 53. SDRAM Component Address and Command Routing Guidelines


The alert_n signal requires an external pull-up resistor to 1.2V using a typical pull-up resistor value of 10,000 ohms.

The timing between the DQS and clock signals on each device calibrates dynamically to meet tDQSS. The following figure shows the delay requirements to align DQS and clock signals. To ensure that the skew is not too large for the leveling circuit’s capability, follow these rules:

  • Propagation delay of clock signal must not be shorter than propagation delay of DQS signal at every device:
    CKi  – DQSi > 0; 0 < i < number of components – 1
  • Total skew of CLK and DQS signal between groups is less than one clock cycle:
    (CKi + DQSi) max – (CKi + DQSi) min < 1 × tCK
Figure 54. Delaying DQS Signal to Align DQS and Clock


Clk pair matching—If you are using a DIMM (UDIMM, RDIMM, or LRDIMM) topology, match the trace lengths up to the DIMM connector. If you are using discrete components, match the lengths for all the memory components connected in the fly-by chain.

DQ group length matching—If you are using a DIMM (UDIMM, RDIMM, or LRDIMM) topology, apply the DQ group trace matching rules described in the guideline table earlier up to the DIMM connector. If you are using discrete components, match the lengths up to the respective memory components.

When you are using DIMMs, it is assumed that lengths are tightly matched within the DIMM itself. You should check that appropriate traces are length-matched within the DIMM.