DDR Routing Guidelines
DDR Routing Guidelines
DDR Routing Guidelines
. .
VDDQ or Ground plane/island-L(n-1) DDR2 signal layer-Ln
DL-0265
Page 4-1
Other signals
Other signals
DDR2 signal layer-L(x+1) DDR2 signal layer-L(x+2) VDDQ or Ground plane/ island-L(x+3)
Other signals
Other signals
Figure 4-1 and Figure 4-2 show example stackups for both microstrip and stripline PCBs. For any of the DDR2 reference planes, if the entire plane is not available, it is acceptable to use an island that covers only the DDR2 signal area of the PCB. If an island is used, the island must extend past all high-speed DDR2 signals on the adjacent layer(s) by a distance that is at least twice the dielectric thickness.
DDR2 signals routed on outer microstrip layers. Power distribution primarily on internal plane layers: L2, L(n-1) for power distribution
(VDDQ, VDDIO supplies, and ground). Planes should use 35 Pm (1 oz.) copper thickness if the planes must transport large currents. External layers, L1 and Ln, may be used additionally for power distribution.
Finished outer pre-preg thickness should be less than 150 Pm for impedance and crosstalk
control.
DDR2 signals are routed on inner stripline layers. Power distribution on internal plane layers: Lx, L(x+2)/L(x+3) for power distribution, that Inner core thickness should be less than 150 Pm for impedance and crosstalk control.
DDR2 System Design Guide, Revision 0.2 Rambus Confidential
is, VDDIO, VDDQ supplies and ground. Planes should use 35 Pm (1 oz.) copper thickness if the plane must transport large currents.
Page 4-2
DL-0265
PCB Design
Hr range of 4.1 to 4.6 at 1 GHz. Loss tangent not to exceed 0.025 at 1 GHz.
4.3 Impedance
Nominal impedance
TBD : differential impedance for DDR2 clock signals ("CK", "CKN"). TBD : impedance for DDR2 high-speed signals.
signals.
Single-ended coupon designed to match nominal impedance of DDR2 high-speed
The test coupons are used to test the boards manufacturing process. With test coupons, a designer can verify the boards impedance is within specifications. Test coupons should be placed on layers with critical, high-speed traces.
DL-0265
Page 4-3
Page 4-4
DL-0265
The DDR2 DRAMs should be placed close to the DDR2 pins of the memory controller. By doing this, the traces between the controller and memory will be short and any signal reflections that may develop on these traces will die out quickly. In addition, placing these parts close together will help in the areas of path timing and board space.
Recommended PCB signal and reference plane assignment (see Figure 4-1 and Figure 42).
Microstrip PCB: top DDR2 traces reference to L2 plane; bottom layer lines refer-
planes/islands.
DL-0265
Page 5-1
There is signal attenuation in the PCB trace at high frequency. The signal attenuation
increases with PCB length. In order to maximize system timing and voltage margin, it is HIGHLY recommended to limit the DDR2 PCB trace lengths to be less than TBD inches, if possible. The maximum DDR2 PCB trace length should not exceed TBD inches.
DDR2 signal lines must not be routed over plane splits or voids. Equalize routing density on available routing layers to avoid unnecessary congestion and
signal crosstalk.
5.2.2 Impedance
5.2.2.1 Microstrip Line Design
Table 5-1: Example of Single-Ended Microstrip Parameters for DDR2 Channel Parameter Dielectric Thickness (h1) Solder resist+trace+plating thickness (h2) DDR2 trace+plating thickness DDR2 trace width (W) Spacing (S2) Value (Pm) TBD 75 (=25.4+16.6+33.3) 50 TBD TBD
Page 5-2
DL-0265
Table 5-1 and Table 5-2 give microstrip trace parameters based on the four-layer reference
stackup of Figure 5-1.
The parameters achieve TBD : single-ended and TBD : differential trace imped-
ance.
A nominal finished dielectric thickness of 115 Pm is preferred. It should not
Figure 5-2: Stripline Trace Cross-Section Table 5-3: Example of Single-Ended Stripline Parameters for DDR2 Channel Parameter Dielectric thickness (h1) DDR2 trace thickness (t) DDR2 trace width (W) Spacing (S2) Value (um) TBD 15.24 TBD TBD
DL-0265
Page 5-3
Table 5-4: Example of Differential Stripline Parameters for DDR2 Channel Parameter Dielectric thickness (h1) DDR2 trace thickness (t) DDR2 trace width (W) Intra-pair spacing (S1) Inter-pair spacing (S2) Value (um) TBD 15.24 TBD TBD TBD
Table 5-3 and Table 5-4 give trace parameters for the example stripline traces shown
above.
The parameters achieve TBD : single-ended and TBD : differential trace imped-
ance.
5.2.2.3 Dual Stripline Design
W dielectric S1 S2 W h2
h1
trace dielectric
trace
trace
trace GND
A separation between the two signal layers (h2) is greater than TBD times the distance
between the signal layer and the nearest reference plane (h1).
Intra-pair signal lines (or a differential pair) are routed on the same layer with an S1
spacing. Broadside differential pair routing is not recommended.
Spacing between unrelated traces on the same layer is set to S2. Differential pairs on adjacent layers should be staggered relative to each other to minimize
crosstalk.
Page 5-4
DL-0265
Table 5-5: Example of Dual Stripline Single-Ended DDR2 Trace Parameters Parameter Core dielectric thickness (h1) Internal pre-preg thickness (h2) DDR2 trace thickness DDR2 trace width (W) Inter-pair spacing (S2) Value (um) TBD TBD 15.24 TBD TBD
Table 5-6: Example of Dual Stripline Differential DDR2 Trace Parameters Parameter Core dielectric thickness (h1) Internal pre-preg thickness (h2) DDR2 trace thickness DDR2 trace width (W) Intra-pair spacing (S1) Inter-pair spacing (S2) Value (um) TBD TBD 15.24 TBD TBD TBD
Table 5-5 and Table 5-6 give dual stripline trace parameters based on the four-layer reference stackup of Figure 5-3.
The parameters achieve TBD : single-ended and TBD : differential trace imped-
ance.
A nominal finished core dielectric thickness of 100 Pm is preferred. The dielectric
DDR2 signal traces should reference ground and/or 1.8 v. The DDR2 signal traces must not be routed over plane splits or voids. Vias have a significant effect on signal integrity at high frequency.
Via separation and antipad rules are TBD. No more than TBD through vias are allowed per DDR2 net. Avoid placing stub vias on DDR2 microstrip lines. Via stub length should not exceed TBD mm length in stripline and dual stripline
configurations.
DL-0265
Page 5-5
For signal probing, use minimal-size pads embedded directly into signal trace.
Between the clock signals, "CK" and "CKN", a TBD ps time of flight mismatch is tolerable on the PCB. To achieve this, a maximum trace length mismatch of TBD is allowed.
The Data Strobe ("xDQS") and "DQ" lines must be routed similarly and must match trace
lengths. The allowed mismatch between these signal traces is TBD.
The clock ("CK" and "CKN"), address lines ("A[13:0]" and "BA[2:0]"), "RASN",
"CASN", "WEN", and "CSN[1:0]" (if driven by the memory controller) traces must be routed similarly and have equal trace lengths with each other. The allowed trace length mismatch between these signals is TBD.
Data masks ("DM") must be routed similarly and have equal trace lengths to the "DQ"
bits. The allowed trace length mismatch between the data mask and the data bits is TBD.
Data strobe ("xDQS") has a setup and hold timing relationship with clock ("CK" and
"CKN"). As a result, data strobe must be delayed relative to clock.
5.2.3.1 Trace Propagation Delay
The above signals require matched trace lengths, that is, equal propagation delay between the controller die pads and the DDR2 DRAM on the channel. The propagation delay, Td, in picoseconds, for a stripline trace of length L mm can be calculated by
T d = 3.335L H r ps
(Eq 1)
where Hr is the relative permittivity of the dielectric. The approximate value for FR-4 is 6.69 ps/mm for a stripline trace. The per-unit-length delay of a microstrip trace is geometry-dependent and should be determined through a 2-D field simulation of the trace cross-section. A typical value for FR-4 dielectric is 5.91 ps/mm for a microstrip trace.
5.2.3.2 Accounting for Package Delay
The total electrical length of a net is the sum of the PCB and controller package propagation delay. It is this total delay that must be matched. The preferred method for calculating package delay is through a field solver and Spice simulation. This takes into account the substrate delay, the filtering effect of IO pad capacitance, and the inductive wirebonds, if present. Alternatively, the package delay can be estimated by multiplying the total length of the wiring in the packagewirebonds and substrate tracesby the appropriate per-unit-length delay.
Page 5-6
DL-0265
WB
x y
DO IO
WR
If precise data is not available, the package wiring physical length Lpkg for a particular ball can be estimated with the equation
WR 2 L pkg | k y + x 1 ------- + D O W B
2
(Eq 2)
where:
WR is the width of the IO. WB is the approximate width of the array of ball pads dedicated to the IO. x is the horizontal distance from the center of the IO ball array to the particular ball. y is the vertical distance from the edge of the die to the particular ball. DO is the offset distance between the center of the IO and the center of the IO ball array
(refer to Figure 5-4).
The multiplier k is an empirical factor to account for the fact that package traces are
always longer than the straight-line distance from the die pad to the ball. A reasonable value for k is 1.1. It is always preferable to use precise propagation times if they are available. In this case, a spreadsheet can be used to tabulate per-pin skews providing the package delay and PCB trace length for each net.
DL-0265
Page 5-7
If possible, PCB and package length skews should compensate each other, as shown in Figure 5-5 below. This reduces the overall timing skew of the two traces.
Package
DQ DQN
PCB
Some PCB traces will have to be routed in a serpentine or zig-zag pattern, increasing their length so that the total propagation delay matches the other nets. When routing traces to achieve length matching, the board designer should use a serpentine pattern that minimizes the total number of bends. Using a large number of tight zig-zags will result in a trace with a smaller effective propagation delay than would be predicted by its length. Figure 5-6 illustrates the preferred style of length-matching. All the traces in the figure are of equal length, but the routing on the right is better than that on the left because fewer bends are used to achieve matching length. Right-angle bends should be avoided in favor of 45o bends. The minimum distance between bends should be no less than twice the trace width.
Page 5-8
DL-0265
AVOID THIS
Equalize routing density on available signal routing layers to avoid routing congestion and
associated crosstalk.
Where possible, closely positioned vias that contain sensitive or high-speed signals should
be shielded vertically by placing a ground via between them.
Separate fast edge rate, sensitive, adjacent traces by an appropriate distance. This distance
is determined by analyzing the systems noise budget and the coupling between the adjacent traces. This rule also applies to traces in adjacent layers.
Separate adjacent signal layers that contain fast edge rate, sensitive signals by an appropriate distance.
Set a minimum distance a critical trace is allowed to have between it and another trace. Use ground traces or vias to isolate critical traces. Reduce the separation between the critical signals trace and its return path. Make the critical signals return path a very low impedance path.
DL-0265
Page 5-9
5.2.5 Clearances
5.2.5.1 Metal Structures
The vertical separation between any DDR2 trace and a planar metal structure (floating or fixed potential) should be at least TBD times the microstrip dielectric thickness (that is, dimension "h1" in Figure 5-1). Adhesive material should not be applied directly to the PCB surface above or within TBD horizontal distance of any DDR2 trace. This rule applies to metal features such as heat sinks and mounting brackets, as illustrated in Figure 5-7.
Bad
OK
Greater than 4X h1 OK OK
A minimum horizontal separation of 600 Pm should be maintained between DDR2 lines and metal shapes etched on the same PCB layer. This pertains to partial plane floods used for power distribution and component solder pads that run parallel to the DDR2 signal trace for greater than 2 mm.
5.2.5.2 PCB Through Holes
A 600 Pm or greater horizontal clearance should be maintained between DDR2 traces and large PCB through holes and metal capture pads, such as mounting holes and component rework holes. This requirement does not apply to PTH vias used for signal routing.
Page 5-10
DL-0265