PCB Design Guidelines (HSSI, EMIF, MIPI, True Differential, PDN) User Guide: Agilex™ 5 FPGAs and SoCs

ID 821801
Date 8/29/2025
Public
Document Table of Contents

6.3.1. LPDDR5 Memory Down Topology (Single Rank or Dual-Rank)

LPDDR5 memory down support is available in two configurations: single rank or dual-rank. There are four DRAM interface signal groupings: Data Group, Command-Address Group, Control Group, and Clock Group. The FPGA to DRAM connection uses point-to-point topology for data group, command-address group, control group, and clock group.

Figure 56. Stripline Routing Topology for Data, CA, CTRL and Clock Signals Point-to-Point TopologyThis figure shows the stripline routing topology for FPGA inner pins.
Figure 57. Stripline Routing for Reset SignalsThis figure illustrates the Reset signal routing topology, recommend using 1.0 KΩ pull-down resistor for Reset signal termination.
Figure 58. Microstrip Routing on the Outer Layer for Data Signals Point-to-Point TopologyThis figure shows the microstrip routing topology for the edge pins of BGA per byte.

The LPDDR5 interface does not support a traditional dual-directional data-strobe architecture. However, two single-directional data strobes such as Write Clock (WCK) for Write Operations and an optional Read Clock (RDQS) for Read Operations are supported.

Figure 59. Stripline Routing for WCK Signals T-Line TopologyThis figure shows the T-line connection topology for WCK signal.
Figure 60. Stripline Routing for CA, CLK, CTRL Signals Daisy or T-Line TopologyThis figure shows the daisy or T-Line connection topology for CA, CLK, and CTRL signals
The following table provides comprehensive routing guidelines for each LPDDR5 signals based on a memory down topology such as the trace impedance, the total trace length, and the maximum main segment trace length. You can derive the maximum main segment trace length by subtracting the break-out segment and break-in segment trace length from the total trace length.
Table 5.  Stripline Routing Guideline for LPDDR5 Memory Down Topology In this table, h represents the trace-to-nearest-reference-plane height or distance. SL stands for stripline routing recommendation and US stands for upper surface (microstrip) routing recommendation.
Signal Group Segment Routing Layer Maximum Length (mil) Target Zse (Ω) Trace Spacing S1 (mil): Within Group Trace Spacing S2 (mil): CMD/CTRL/CLK to DQ/DQS Trace Spacing S3 (mil): DQ Nibble to Nibble Trace Spacing (mil), Within DIFF pair Trace Spacing (mil), DQS pair to DQ Trace Spacing (mil), CLK pair to CMD/CTRL/CKE
Segment Total MB
DQ, RDQS BO SL 250 4000   3 3h 3h 4 3  
M SL   40 2h 3h 3h 4 3h  
BI   500   2h 3h 3h 4 3h  
CA/CS/CLK (Direct Connect) BO1/BO2 SL 450 4000   3 3h   4   3h
M SL   40 2h 3h   4   3h
BI SL 50   2h 3h   4   3h
CA/CS/CLK (Daisy) BO SL 500 4000   3 3h   4   3h
M SL   40 2h 3h   4   3h
BI SL 1000   2h 3h   4   3h
CA/CS/CLK (T) BO SL 500     3 3h   4   3h
M SL   40 2h 3h   4   3h
BI SL 1000 50+ 2h 3h   4   3h
WCK BO SL 1000 4000   3 3h   4   3h
M SL   40 2h 3h   4    
BI SL 200 - 500   2h 3h   4    
Table 6.  Microstrip Routing Guideline for LPDDR5 Memory Down TopologyIn this table, h represents the trace-to-nearest-reference-plane height or distance. SL stands for stripline routing recommendation and US stands for upper surface (microstrip) routing recommendation.
Signal Group Segment Routing Layer Maximum Length (mil) Target Zse (Ω) Trace Spacing S1 (mil): Within Group Trace Spacing S2 (mil): CMD/CTRL/CLK to DQ/DQS Trace Spacing S3 (mil): DQ Nibble to Nibble Trace Spacing (mil), Within DIFF pair Trace Spacing (mil), DQS pair to DQ
Segment Total MB
DQ, RDQS BO US

100

3000  

MBGA package: 3

VPBGA package: 4

MBGA package: 3

VPBGA package: 4

MBGA package: 3

VPBGA package: 4

MBGA package: 3

VPBGA package: 4

MBGA package: 3

VPBGA package: 4

M US   45 3h 3h 3h 4 4h
BI US 300   4 4 4 4 4

Reset signal routing design also follows the CMD/ADD/CTRL routing design. Maintain at least 3×H (dielectric height) of space between the Reset signal to other signals (edge to edge) on the same layer.

Skew matching for LPDDR5 interface consists of both package routing skew and PCB physical routing skew. Use three times of dielectric height for serpentine routing spacing. You must maintain the skew matching of CA and CTRL with respect to the clock signals to ensure signals at receiver are sampled correctly. In addition, there are skew matching requirements for DQ and DQS within a byte group, DQS, and CLK.

Table 7.  Microstrip and Stripline Skew Matching Requirements for LPDDR5 Memory Down TopologyThis table provides a detailed skew matching guideline.
Length Matching Rules Time
Length matching between DQ and WCK per x16 -68 ps < DQ - WCK < 110 ps
Length matching between DQ and RDQS per x8 -20 ps < DQ - RDQS < 20 ps
Length matching between WCK and CLK per x16 -34 ps < WCK - CLK < 68 ps
Length matching between DQ signals per x8 < 27 ps
Length matching between channel-to-channel CLK signals < 170 ps
Length matching between CLK and CA bits per x16 -35 ps < CLK - CA < 34 ps
Length matching between CA bits per x16 < 51 ps
Length matching between CLK and CS per x16 -85 ps < CLK - CS < 85 ps
Length matching between CS bits per x16 < 68 ps
Length matching between RDQS_N and RDQS_P < 1 ps
Length matching between WCK_N and WCK_P < 1 ps
Length matching between CLK_N and CLK_P < 1 ps
Length matching for WCK Tee segments (BI) < 1 ps
Include package length in length matching Required
Length matching for CA/CS/CLK Tee segments (BI) < 1 ps

The LPDDR5 eye margin is sensitive to the crosstalk, especially when signals are routed on deep layers. Note that the deep-layer vertical transition induces greater vertical coupling and more crosstalk between signals. You can conduct simulations to determine the routing layer and evaluate the necessity of backdrilling.