PCB Design Guidelines (HSSI, EMIF, MIPI, True Differential, PDN) User Guide: Agilex™ 5 FPGAs and SoCs
6.4.2. Tables for Comprehensive Routing Guidelines for Each LPDDR4 Signal
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 | ||||||||||
CA/CS/CKE/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/CKE/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/CKE/CLK (T) | BO | SL | 500 | 4000 | 3 | 3h | 4 | 3h | |||
M | SL | 2500 | 40 | 2h | 3h | 4 | 3h | ||||
BI | SL | 1000 | 50+ | 2h | 3h | 4 | 3h | ||||
DQ | BO1 | US | 50 | 4000 | 3 | 3h | |||||
BO2 | SL | 1000 | 3 | 3h | |||||||
M | SL | 40 | 2h | 3h | |||||||
BI | US | 50 | 2h | 3h | |||||||
DQS | BO1 | US | 50 | 4000 | 4 | 3 | |||||
BO2 | SL | 1000 | 4 | 3 | |||||||
M | SL | 40 | 4 | 3h | |||||||
BI | US | 50 | 4 | 3h |
Signal Group | Segment | Routing Layer | Maximum Length (mil) | Target Zse (Ω) | Trace Spacing S1 (mil): Within Group | 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 | BO | US | 100 | 3000 | MBGA package: 3 VPBGA package: 4 |
||||
M | US | 45 | 3h | 3h | |||||
BI | US | 300 | 4 | ||||||
DQS | BO | US | 100 | 3000 | MBGA package: 3 VPBGA package: 4 |
MBGA package: 3 VPBGA package: 4 |
|||
M | US | 45 | 4 | 4h | |||||
BI | US | 300 | 4 | 3 |
Reset signal routing design also follows the CMD/ADD/CTRL routing design. Keep the space at least 3×H (dielectric height) between the Reset signal to other signals on the same layer (measured edge to edge).
Skew matching for LPDDR4 interfaces consists of both package routing skew and PCB physical routing skew. Use three times of dielectric height for serpentine routing spacing. Skew matching of CA and CTRL with respect to the clock signals to ensure signals at the receiver are correctly sampled. In addition, there are skew matching requirement for DQ and DQS within a byte group, DQS, and CLK.
Length Matching Rules | Time |
---|---|
Length matching between CLK and DQS per x16 | -340 ps < CLK - DQS < 170 ps |
Length matching between DQ and DQS per x8 | -68 ps < DQ - DQS < 43 ps |
Length matching between DQ signals per x8 | < 43 ps |
Length matching between CLK and CA bits per x16 | -34 ps < CLK - CA < 34 ps |
Length matching between CA bits per x16 | < 34 ps |
Length matching between CLK and CS/CKE per x16 | -85 ps < CKL - CS/CKE < 85 ps |
Length matching between CS/CKE bits per x16 | < 34 ps |
Length matching between DQS_N and DQS_P | < 1 ps |
Length matching between CLK_N and CLK_P | < 1 ps |
Include package length in length matching | Required |
Length matching for CA/CS/CKE/CLK Tee segments (BI) | < 1 ps |
LPDDR4 eye margin is sensitive to crosstalk, especially when the signals are routed on deep layers. Note the deep-layer vertical transition induces more vertical coupling and crosstalk between signals. You can conduct simulations to determine the routing layer and evaluate the necessity of backdrilling.