External Memory Interfaces Cyclone® 10 GX FPGA IP User Guide

ID 683663
Date 11/28/2024
Public
Document Table of Contents

7.4.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 61. SDRAM Component Address and Command Routing Guidelines


The alert_n signal is terminated to VCC with a weak pull-up resistor; a typical pull-up resistor value is 10,000 ohms. You can choose a different value of pull-up resistor, but must ensure that the signal meets the FPGA input buffer VIL threshold when it is driven low by the DRAM.

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 62. 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.