PCB Design Guidelines (HSSI, EMIF, MIPI, True Differential, PDN) User Guide: Agilex™ 5 FPGAs and SoCs
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.
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.
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 |
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.
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.