Layout Guidelines For RTG4-Based Board Design: Application Note AC453
Layout Guidelines For RTG4-Based Board Design: Application Note AC453
Table of Contents
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Power Supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Core Supply (VDD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3
SerDes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6
DDR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
PLL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
I/O Power Supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Programming Power Supply (VPP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
High Speed Serial Link (SerDes) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Layout Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Considerations for Simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
DDR3 Layout Guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Placement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Appendix A: Layout Checklist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Appendix B: Special Layout Guidelines for Crystal Oscillator . . . . . . . . . . . . . . . . . . . . . 36
Appendix C: Stack-Up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Appendix D: Dielectric Material . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Appendix E: Power Integrity Simulation Topology . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
List of Changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Introduction
This document provides guidelines for the hardware board layout, that incorporates RTG4 devices. Good
Board layout practices are required to achieve the expected performance from the printed circuit boards
(PCB) and RTG4 devices. They help achieve high quality and reliable results such as low noise levels,
signal integrity, impedance, and power requirements. The guidelines mentioned in this document act as a
supplement to the standard board-level layout practices.
Note: A good understanding of the RTG4 chip, experienced in digital and analog board layout, knowledge
of transmission line theory and signal integrity are essential to be able to follow the guidelines in this
document. See the AC439: Board Design Guidelines for RTG4 FPGA Application Note to design
RTG4-based boards.
Disclaimer: The target impedance calculated with respect to the development board. The target
impedance depends on the logic implemented on RTG4, so Microsemi recommends calculating the
target impedance of the board. The simulations show the impedance that meets the target impedance of
the development board.
March 2016 1
© 2016 Microsemi Corporation
Layout Guidelines for RTG4-Based Board Design
Power Supply
In power supply design, it is important to know the target impedance of power planes, which varies
depending on the design. This helps in planning the required number of decoupling capacitors based on
the target impedance. The number of decoupling capacitors varies based on the design.
Complex FPGA designs have increasing amounts of current transients switching across the power bus.
Simultaneously switching outputs (SSO) contribute to a major share of instantaneous current issues.
Decoupling is necessary to prevent the instantaneous currents. Decoupling is only effective when
inductance is minimized. Low inductance decoupling provides localized high frequency energy to
decouple noise from the switching currents of the device power bus. This is most effective when
capacitors are in close proximity to the device. Some of these high frequency capacitors are required to
be placed directly by the FPGA.
Target impedance is calculated based on EQ 1:
V supply
Z Min = % Ripple -------------------
I trans
EQ 1
Where,
Vsupply: Supply voltage of the power plane
% Ripple: Percentage of ripples allowed on the power plane; see the DS0131: RTG4 FPGA
Datasheet for details.
Itrans: Transient current drawn on the power plane. Generally, transient current is half of the
maximum current, which is taken from the power calculator sheet.
Zmin: Target impedance of the plane
Subsequent sections display simulation results based on target impedance calculated using EQ 1.
Microsemi strongly recommends calculating the target impedance and performing simulations for the
impedance profile of the power plane. These simulations help in optimizing the decoupling capacitors to
reduce the production cost and have optimal placement. The plane shapes given in this document are
with reference to the UG0617: RTG4 FPGA Development Kit User Guide. The plane shapes vary
depending on the design. For simulation topology, see "Appendix E: Power Integrity Simulation
Topology" section on page 39.
RTG4 power supplies are majorly classified as:
• Core power supply
• I/O power supply
• Serializer/Deserializer (SerDes) power supply
• Double data rate (DDR) power supply
• Phase-locked Loop (PLL) power supply
2
Power Supply
Component Placement
Component placement for capacitors for VDD Plane are as follows:
• The bulk capacitors should be placed near the RTG4 device.
• The bypass capacitors should be placed near, or if possible, on the periphery of the device.
A sample placement of capacitors is shown in Figure 1.
3
Layout Guidelines for RTG4-Based Board Design
• All decoupling capacitors should be as small as possible as they are required to be mounted on
back side of the board. There can be sharing of via for ground pins if the capacitors are 0603 in
size and if it is difficult to accommodate the capacitors on back side of the board. Microsemi
recommends keeping the capacitor pad close to corresponding via. The footprint of capacitors
should be optimized based on size of capacitor to accommodate all the capacitors. Users need to
consult assembly house for the change in footprint.
Plane Layout
Microsemi recommends using the VDD plane, as shown in Figure 3.
Note: There are many ways the plane can be routed. The goal is to have a dedicated, low-impedance
plane.
4
Power Supply
Simulations
The effect of the decoupling capacitors can be visualized through power integrity simulations. The target
impedance of the VDD is calculated as 40 mΩ, based on the following values (see EQ 1):
• VSUPPLY = 1.2 V
• Itrans = 1.5 A
• Ripple = 5%
Figure 4 shows the Sample impedance profile of the VDD plane. It shows that the capacitors used are
adequate to improve the impedance profile over the bandwidth. Good coupling between the planes can
be achieved by placing the power plane and ground plane in adjacent layers. Once all the capacitors (0.1
uF and 0.01 uF) are placed, the impedance of the VDD plane impedance profile improves over the
frequency range. The simulation results shown in this document, are done in Sigrity® PowerSI tool. For
more information about using this tool and how to do the simulation, see the Sigrity PowerSI tutorial.
Z Amplitude (Ω)
100
10
0.1
0.01
Frequency (GHz)
VDD Plane with Decoupling Capacitors
VDD Plane without Decoupling Capacitors
5
Layout Guidelines for RTG4-Based Board Design
SerDes
PCB designers often overlook the need to isolate noise generated by the digital components with the
SerDes high-speed designs. It is necessary to provide a low-noise supply to the sensitive analog portions
of the SerDes devices. Noise due to variations in the power supply voltage can be coupled into the
analog portion of the chip, causing unwanted fluctuations in the sensitive stages of the device. The
performance of the SerDes highly depends on the layout techniques. This section discusses the layout
guidelines for power supply for the SerDes. SerDes PLL layout guidelines for the SerDes differential
traces are discussed in a separate section.
Component Placement
SerDes I/O Power (SERDES_x_VDDAIO)
• The decoupling capacitors (0.1 µF and 0.01 µF) are placed on the pad adjacent to the BGA via of
the corresponding pin, as shown in Figure 1 on page 3. At least one of the capacitors (0.1 µF or
0.01 µF) should be placed for each SerDes bank. The capacitor pad to via trace should be as
small as possible.
• The bypass capacitor (10 µF) should be placed at the edge of the IC.
SerDes PLL
Two power supply nodes required for the SerDes—SERDES_x_VDDAPLL and SERDES_x_PLL_VDDA.
Both the supplies require separate filter circuits. Figure 5 shows the filter circuit for
SERDES_x_VDDAPLL. (A typical filter circuit for SERDES_x_PLL_VDDA is shown in Figure 16 on page
14.)
RTG4
+2.5 V
R1
SERDES_x_VDDAPLL
C1 C2
SERDES_x_REFRET
R2
SERDES_x_REXT
• The R1 and the series resistor should be placed near the device as close to the R2 capacitor as
possible. A sample placement is shown in Figure 8 on page 8.
• The R2 capacitor must be placed near the BGA via. The capacitor pad to via-trace should be as
small as possible.
• A precision resistor (C2) should be placed between the SERDES_x_REXT and
SERDES_x_REFRET pins, near the BGA via of SERDES_x_REXT pin. Any other aggressive
signal traces should be kept away from this connection to avoid unwanted noise from coupling
into the critical circuit.
• For exact value of filter components, see the AC439: Board Design Guidelines for RTG4 FPGA
Application Note.
6
Power Supply
Plane Layout
SerDes Core Power (SERDES_x_VDD)
Even though the Bank0 (SERDES0) and Bank1 (SERDES1) cores share the same power supply,
separate planes must be made while connecting to corresponding banks. This reduces the noise
coupling between the SERDES0 (SERDES block 0) and SERDES1 (SERDES block 1) blocks.
Figure 6 shows the layout for SERDES_X_VDD plane.
7
Layout Guidelines for RTG4-Based Board Design
• The same layout guidelines should be followed for the remaining SerDes PLL power supplies.
8
Power Supply
9
Layout Guidelines for RTG4-Based Board Design
Simulations
SerDes I/O Power (SERDES_x_VDDAIO)
The target impedance of the SERDES_x_VDDAIO is calculated as 240 mΩ based on the following
values (see EQ 1):
• VSUPPLY = 1.2V
• Itrans= 250mA
• Ripple = 5%
Figure 10 shows the impedance of the plane (SERDES_x_VDDAIO) improved by the decoupling
capacitors. The impedance of the plane is kept under 0.2 Ω till 100 MHz.
Z Amplitude (Ω)
1e3
100
10
0.1
0.01
DDR
The layout guidelines of the respective VDDIO should be followed. It requires VREF voltage for an
internal reference. Noise on VREF impacts the read performance of RTG4 devices. VREF lines should
be away from aggressive nets or switching power supplies. For DDR memory layout guidelines, see the
Micron DDR3 Memory Layout Guidelines. The VDDIO guidelines should be followed for DDR bank
VDDIO. This section explains the guidelines to be used for VREF.
Component Placement
VREF
• The bypass capacitor (10 uF) should be placed near the device, or if possible, at the edge of the
device.
• All decoupling capacitors (0.1 uF and 0.01 uF) should be 0402 or of a smaller package size as
they are required to be mounted on the reverse side of the board. They should be fit between the
adjacent vias of the BGA package pins. These decoupling capacitors are selected to have low
impedance over the operating frequency and temperature range.
• The capacitor pad to via trace should be as small as possible. Figure 1 on page 3 shows how
capacitors are mounted. Microsemi recommends placing the capacitor pad directly on the
corresponding vias.
10
Power Supply
VDDIO
• The bypass capacitors (47 µF and 22 µF) should be placed near, or if possible, at the edge of the
device.
• All decoupling capacitors (0.1 µF and 0.01 µF) should be 0402 or of a smaller package size as
they are required to be mounted on the reverse side of the board. They should be fit between the
adjacent vias of the BGA package pins. These decoupling capacitors are selected to have low
impedance over the operating frequency and temperature range.
• The capacitor pad to via trace should be as small as possible. Figure 1 on page 3 shows how
these capacitors are mounted. The capacitors can also be mounted directly on the pad available
on the vias.
Plane Layout
VREF
Noise on VREF impacts the read performance of RTG4 devices. The VREF lines should be routed with
no aggressive net or switching power supply nearby. Even though the current is low, VREF should not be
routed as trace as it is very susceptible to noise. Figure 11 shows the VREF5 used for MDDR.
11
Layout Guidelines for RTG4-Based Board Design
VDDIO
There is no specific requirement for the shape of the plane. The width of the plane should be sufficient
enough to carry the required current. Figure 12 and Figure 13 show the sample layout for the VDDIO0
plane and the VDDIO5 plane respectively.
12
Power Supply
Simulations
The target impedance of the DDR VDDIO is calculated as 240 mΩ, based on the following values (see
EQ 1):
• VSUPPLY = 1.5V,
• Itrans = 250 mA
• Ripple = 5%
The impedance profile of the DDR VDDIO plane over frequency range is shown in Figure 14 and
Figure 15 on page 14. The impedance improves with the decoupling capacitors provided. The target
impedance of 0.3 Ω was achieved till 100 MHz.
Z Amplitude (Ω)
1e3
100
10
0.1
0.01
1e-4 2e-4 1e-3 2e-3 0.01 0.02 0.1 0.2 0.3 1 2 3
Frequency (GHz)
Impedance of VDDIO0 with Decoupling Capacitors
Impedance of VDDIO0 without Decoupling Capacitors
13
Layout Guidelines for RTG4-Based Board Design
Z Amplitude (Ω)
1e3
100
10
0.1
0.01
1e-4 2e-4 1e-3 2e-3 0.01 0.02 0.1 0.2 0.3 1 2 3
Frequency (GHz)
Impedance of VDDIO5 with Decoupling Capacitors
Impedance of VDDIO5 without Decoupling Capacitors
PLL
To achieve a reasonable level of long term jitter, it is vital to deliver an analog-grade power supply to the
PLL. Typically, an R-C or R-L-C filter is used with the C being composed of multiple devices to achieve a
wide spectrum of noise absorption. Though the circuit is simple, there are specific board layout
requirements. Board layout around the high-frequency capacitor and the path to the pads is critical. It is
vital that quiet ground and power are treated similar to analog signals. The entire VDDPLL and PLLVSSA
wiring path should not be coupled with any signal aggressors – especially, any high-swing and high-slew
rate signals such as TTL, CMOS, or SSTL signals used in DDR buses, and so on.
Figure 16 shows the recommended circuit for the power supply filter.
SERDES_PLLXVDDA
SERDES_PLLVDDA R
C C
SERDES_PLLVSSA
Note: To know the accurate values of resistor and capacitors for filter circuit of PLL,
see the DS0131: RTG4 FPGA Datasheet.
14
Power Supply
Component Placement
• The capacitor and series resistor should be placed near the device as close to the capacitor as
possible. A sample placement is shown in Figure 17.
• The decoupling capacitor should be placed near the BGA via. The capacitor pad to via trace
should be as small as possible.
Plane Layout
• Figure 18 shows the plane routing for PLL0VDDA and PLL0VSSA with respect to the schematic
shown in Figure 16 on page 14.
• The capacitor (22 uF) and series resistor should be placed near the device as close as possible to
the 0.1 uF cap. A sample placement is shown in Figure 18.
15
Layout Guidelines for RTG4-Based Board Design
• PLL0VDDA and PLL0VSSA should not be routed with a small trace width as this increases the
inductance, resulting in ripples. These supply traces should be routed as plane (as shown in
Figure 18 on page 15), even though the current requirements are low.
• The layout guidelines for PLL0VDDA and PLL0VSSA/supply traces should also be followed for
DDR PLLs power supplies. Guidelines for PCIe PLL are provided in the "SerDes" section on page
6.
Simulations
The target impedance of the PLL0VDDA plane is calculated as 16.5 Ω based on the following values
(see EQ 1):
• VSUPPLY = 3.3 V
• 3.3 V, Itrans = 10 mA
• Ripple = 5%
The impedance of the plane (Z) should be 16.5 Ω or less. Plane impedance with and without filter circuit
is shown in Figure 19.
Z Amplitude (Ω)
1e5
1e4
1e3
100
10
0.1
0.01
1e-4 2e-4 1e-3 2e-3 0.01 0.02 0.1 0.2 0.3 1 2 3
Frequency (GHz)
PLL0VDDA impedance with Filter Capacitors
PLL0VDDA impedance without Filter Capacitors
16
Power Supply
Plane Layout
There is no specific requirement for the shape of the plane. The width of the plane should be sufficient
enough to carry the required current.
Simulations
The target impedance of the VDDIO1 plane is calculated as 330 mΩ based on the following values (see
EQ 1):
• VSUPPLY = 3.3 V,
• Itrans= 500 mA
• Ripple = 5%
Figure 20 and Figure 21 on page 18 show the impedance of the planes (VDDIO1 and VDDIO2). The
impedance of the plane has been improved by decoupling capacitors and is kept under 0.2 Ω till 100
MHz.
Z Amplitude (Ω)
1e4
1e3
100
10
0.1
0.01
Frequency (GHz)
Impedance of VDDIO1 with Decoupling Capacitors
Impedance of VDDIO1 without Decoupling Capacitors
17
Layout Guidelines for RTG4-Based Board Design
Z Amplitude (Ω)
1e4
1e3
100
10
0.1
0.01
1e-4 2e-4 1e-3 2e-3 0.01 0.02 0.1 0.2 0.3 1 2 3
Frequency (GHz)
Impedance of VDDIO2 with Decoupling Capacitors
Impedance of VDDIO2 without Decoupling Capacitors
Component Placement
• The bypass capacitors (47 µF and 22 µF) should be placed near, or if possible, at the edge of the
device.
• All decoupling capacitors (0.1 uF and 0.01 uF) should be 0402, or of a smaller package size, as
they are required to be mounted on the back side of the board. They should be fit between the
adjacent vias of BGA package pins. These decoupling capacitors are carefully selected to have
low impedance over the operating frequency and temperature range.
• The capacitor pad to via trace should be as small as possible. Figure 1 on page 3 shows how
these capacitors are mounted. The capacitor can also be mounted directly on the pad available
on the vias.
Plane Layout
There is no specific requirement for the shape of the plane. The width of the plane should be sufficient
enough to carry the required current.
Simulations
The target impedance of the VPP is calculated as 3.3 Ω, based on the following values (see EQ 1):
• VSUPPLY = 3.3 V,
• Itrans = 50 mA
• Ripple = 5%
18
High Speed Serial Link (SerDes)
The simulation result (see Figure 22) shows that it meets the required impedance levels.
Z Amplitude (Ω)
1e3
100
10
0.1
Layout Considerations
Differential Traces
A well-designed differential trace has the following qualities:
• No mismatch in impedance
• No insertion and return loss
• No skew within the differential traces
To achieve these qualities, the following points need to be considered while routing high-speed
differential traces
• Differential traces should be routed with tight length-matching (skew) Asymmetry in length causes
conversion of differential signals to common mode signals. The differential pair should be routed
such that the skew within differential pairs is less than 5 mils.
19
Layout Guidelines for RTG4-Based Board Design
Figure 23 shows guidelines and techniques that can be used for skew matching..
Skew compensation
deviates too far away
from neighbor trace. Multiple small Trace-to-itself spacing
bumps are better must be at least 4X the Skew is
than one large trace width. compensated as
bump for skew soon as it is needed.
compensation Deviation must not
exceed 3X the nominal
Trace-to-itself trace-to-itself spacing
spacing is too close. rule for the diff pair.
Best way to
compensate for skew
NO!
• The length of differential lanes should be matched within the TX and RX group.
Applies only to specific protocols such as XAUI.
• Differential pairs should be routed symmetrically in to, and out of structures, as shown in
Figure 24.
20
High Speed Serial Link (SerDes)
– 2116 or 2113 glass-weaving PCB materials should be used to avoid the variations in
impedance.
– Zig-zag routing should be used instead of straight line routing to avoid glass weaving effect on
impedance variations as shown in the Figure 25.
Instruct the fabrication vendor to use these PCB materials before manufacturing.
– These traces should be kept away from the aggressive nets or clock traces.
– Separation between coupled differential trace pairs should be 1x. Spacing between channels
should be > 3x the separation. Trace stubs should be avoided. The stub length should not
exceed 40 mils for a 5 Gbps data rate.
– Trace lengths should be kept as small as possible.
– It is recommended to use low roughness, that is, smooth copper. As the speed increases
insertion loss due to the copper, roughness increases. The attenuation due to skin effect is
increased proportional to the square root of frequency. The roughness courses this loss
proportional to frequency. Microsemi recommends instructing the PCB fabrication house to
use smooth copper, if the frequency exceeds 2 Gbps.
• Split reference planes should be avoided. Ground planes must be used for reference for all the
SerDes lanes.
21
Layout Guidelines for RTG4-Based Board Design
Via
• The target impedance of vias are designed by adjusting the pad clearance (anti-pad size). Field
solver should be used to optimize the via according to the stack-up.
Anti-Pad
Pad
Dielectric
Via Typ.
Via
Barrel
Copper
Stub
Planes
Typ.
Circuit
Model
VIA
Unused
Pad
22
High Speed Serial Link (SerDes)
• Using tight via-to-via pitching helps reduce the cross talk effect, as shown in Figure 29.
NO!
Wide
Placement
GOOD!
Vias are narrowly
spaced
• Symmetrical ground vias (return vias) should be used to reduce discontinuity for the common
mode signal component, as shown in Figure 30. The common mode of a part of the signal
requires continuous return path RX to TX and GND. Return vias help in maintain continuity.
23
Layout Guidelines for RTG4-Based Board Design
DC Blocking Capacitors
The plane underneath the pads of DC blocking capacitors should be removed (see Figure 31) in order to
match the impedance of the pad to 50 Ω. This is required only for the immediate reference plane, not for
all planes.
Connectors
The plane keep-out clearance should be optimized from the pin in order to get 50 Ω impedance when
through-hole SMAs or connectors are used. This minimizes reflection loss.
24
High Speed Serial Link (SerDes)
25
Layout Guidelines for RTG4-Based Board Design
in z-1 z-1
pre-tap post-tap
tn-1 tn tn+1
out
• t0: Pre-cursor tap setting; set to 0 for automatic generation. The range is from -0.4 to 0, default
value is 0.
• t1: Main tap; set to 0 for automatic generation. The range is from 0 to 1, default value is 0.
• t2: Post-cursor tap; set to 0 for automatic generation. The range is from -0.5 to 0,
default value is 0.
• TapsFromFile: Explicit FFE coefficients can be set through this file. If a file is used, it overrides
the manual tap settings and automatic generation.
• TapsToFile: Output FFE tap coefficients to this file when automatic generation coefficients is
used.
26
High Speed Serial Link (SerDes)
RX AMI Model
SerDes supports programmable single-pole continuous time linear equalization (CTLE) at the receiver.
The continuous time linear equalization involves amplifying higher frequency components that have been
more severely attenuated by the interconnect, or attenuating lower frequency components to a greater
degree than the higher frequency components.
The low frequency attenuation level and flat-band bandwidth are programmable, as shown in Figure 34.
0 dB
Gain (dB)
ALF dB
ωc Frequency
Both ALF and c (f0) can be set to maximize the signal quality of the receiver for achieving the highest
possible bit-error rate (BER).
• Alf: Low frequency dB loss of the filter. The range is from 0 to 50; the default value is 6.
• f0: High pass cutoff frequency. The range is from 1e6 to 5e10; the default value is 1e9.
Step 4: Results
Qualification of simulation results is done based on the eye-height, eye-width, and BER curves. Check
the eye-height and eye-width at a target BER of 10e-12. These results found in the report generated by
the simulation tool. For example, Sigrity tool gives the following information at Rx:
At BER of 10e-12, running at 5 Gbps bit rate
• The eye-width is 0.68 UI (Unit Interval)
• The eye-height is 213 mV
This simulation is on the RTG4 Development Kit using Sigrity tool and the waveforms are shown in
Figure 35. The simulation result shows that it meets the PCIe 2.0 requirements
Figure 35 • Expected Results from Simulations (Eye Diagram, Eye Contour, and Bath Tub Curve)
27
Layout Guidelines for RTG4-Based Board Design
For more information on PCIe 2.0, see PCI Express Base specification.
Placement
It is required to ensure an L-shaped placement of DDR3 memories looks like L-shape, where memories
are at the bottom of the ’L’ and controllers are at the top of the ’L’. This allows enough space to route DQ
signals with less number of layers. This is not mandatory to follow the suggested placement. However,
the placement also depends on the board constraints. The trace length of each signal in the placement
should not exceed seven inches.
RTG4
g
tin
ou
kR
loc
d/C
an
mm
Data[8:15]
Da
Co
]
ta[
ol/
0:7
16
ntr
ta[
:23
/Co
Da
]
s
res
d
Ad
28
DDR3 Layout Guidelines
Routing
The reliability of DDR interface depends on the quality of the layout. There are many layout guidelines
available from memory vendors. The following recommendations can also be used for routing the DDR3
signals. DDR3 signals are grouped as follows:
• Data
• Address/Command
• Control
• Clocks
• Power
Table 2 shows the grouping of DDR3 signals.:
Table 2 • Grouping of DDR3 Signals
Group Signals
Data DQ[0:7], DQ[8:15], DQ[16:23], DQ[24:31] and DQS[0:3], DM[0:3]
Address/Command A[0:15], BA[0:2], RAS#, CAS#, and WE#
Control CS#, CKE], and ODT
Clock CK and CK#
Data Group Signal Routing
The following guidelines should be followed when routing data group signals:
• Data signals should not be over the split planes.
• The reference plane for data signals should be GND plane and should be contiguous between
memory and RTG4.
• Traces should not be routed at the edge of the reference plane and over via anti pads.
• When routing data signals, the longest signals should be routed first, this allows to adjust the
length for the short length signals, when routing the data signals.
• Serpentine routing should be used to adjust the data group signals to meet this requirement.
• The DQS signal should be routed along with associated data byte lane on the same critical layer
with the same via count. Avoid using more than three vias in the connection between the FPGA
controller and memory device.
• The impedance for the data traces depends on stack-up and trace width. There are options to
select the impedance based on the stack-up and trace width.
– 40 Ω impedance, which requires wide traces (~7 to 8 mils). This gives the less cross talk and
less spacing between the traces (~2x). Spacing between non DDR signals and DDR signals
should be ~4x.
– 50 Ω impedance, which requires smaller trace width (~4 to 6 mils). This requires more spacing
between the traces (~3x). Spacing between non DDR signals and DDR signals should be ~4x.
• All data lanes should be matched within 0.5 inch.
• Within each of the data lanes, each traces should be matched to within ±10 mils of the associated
data strobe.
• The DQS and DQS# need to be matched within +/- 5 mils.
• The differential impedance should be between 75 to 95 Ω. If the data rate is more than 1600
MT/s, then the impedance should be in the range of 90 to 95 Ω.
• The differential traces adjacent to noisy signals or clock chips.
• Spacing between differential lines should be 5 to 8 mils.
29
Layout Guidelines for RTG4-Based Board Design
Clock
• Clock signals are routed differentially, and the length matches between traces should be +/- 5 mils
The clock trace length should be more than strobe length.
• Clock signals should be referenced to a ground plane.
• The space between clock and other signals should be 25 mils.
• One clock signal is routed per rank of the DIMM, that is, one clock for single-ranked DIMM, two
clock signals for dual ranked DIMM. For non-DIMM systems, the differential terminations used by
the CK/CK# pair must be located as close as possible to the memory.
• The max skew between the clock and each DQS should be less than 10 inches.
• If more than one clock signal is used, the same clock to DQS skew should be applied to all CS.
• Address/control signals and the associated CK and CK# differential FPGA clock should be routed
with trace matching of ± 100 mil.
Note:
1. Short the MDDR_TMATCH_0_IN and MDDR_TMATCH_0_OUT pins under BGA using short
trace.
2. Short the MDDR_TMATCH_1_IN and MDDR_TMATCH_1_OUT pins under BGA using short
trace.
3. Short the MDDR_TMATCH_ECC_IN and MDDR_TMATCH_ECC_OUT pins under BGA using
short trace.
4. Short the FDDR_TMATCH_0_IN and FDDR_TMATCH_0_OUT pins under BGA using short
trace.
5. Short the FDDR_TMATCH_1_IN and FDDR_TMATCH_1_OUT pins under BGA using short
trace.
6. Short the FDDR_TMATCH_ECC_IN and FDDR_TMATCH_ECC_OUT pins under BGA using
short trace.
30
DDR3 Layout Guidelines
Simulation
Simulations ensure that the DDR and controller meet timing requirements. They also ensure that the
quality of the received waveform in terms of undershoot, overshoot and jitter and so on.
The following files are required for DDR3 simulation:
• RTG4 IBIS file
• DDR3 memory IBIS file
• RTG4 board PCB files and the PCB files of the DIMM, if used
• Connector models if DIMM is used
Following are the steps to run the serial channel simulations:
31
Layout Guidelines for RTG4-Based Board Design
Step 4: Results
The important things that needs to be observed from the results are:
• Setup and hold time between data signals and the respective DQS over all corners
• Setup and hold time between Control/Command/Address signals and the clock over all corners
• Overshoot and undershoot of all signals with respect to JEDEC specifications over all corners.
And also DC threshold multi crossing that occurred due to the excessive ringing
32
DDR3 Layout Guidelines
The simulation tool generates the report where all the details are available. For example, Hyperlynx
generates the set of excel sheets, that contain all setup and hold margin, overshoot and undershoot
information for all corners. It also generates driver and receiver waveforms for all the nets. Figure 39
shows list of files generated by Hyperlinx, with all the simulation information.
Figure 40 shows an example report for an A0 net. It shows that the A0 has enough setup and hold time
margins.
If any of the net is violating the setup and holding time margins, the length of the net should be changed
accordingly. If there is a high-peak overshoot or undershoot, it could be because of the high value
termination resistor. It is required to adjust the value of ODT and re-iterate the simulation.
33
Layout Guidelines for RTG4-Based Board Design
Figure 41 shows how to setup and hold time margins for DQ and DQS signals. Same is applicable to the
margin between the Command/Control/Address and CLK signals.
DQ
Vac
Vdc
Setup Setup Hold Hold
Vref Margin Time Time Margin
DQS
34
Appendix A: Layout Checklist
35
Layout Guidelines for RTG4-Based Board Design
C 30 pF/50 V
U1-6
Y RTG4
32.768 KHz
AB21
XTLOSC_0
C 30 pF/50 V
EXTLOSC_0
AA21
36
Appendix C: Stack-Up
Appendix C: Stack-Up
A good stack-up leads to better performance. The number of layers in the stack-up depends on factors
such as the board's form factor, the number of signals to be routed, and the power requirements. Based
on these factors, the designer chooses how many layers the board requires. The RTG4 Development Kit
has a 16-layer stack-up as shown in Figure 10 on page 10.
Note: All the guidelines in this document are with respect to a 16-layer board stack-up.
The upper power layers should be used for high priority supplies. High-switching current supplies should
be placed vertically, close to the devices to decrease the distance the currents need to travel through the
vias. Ground planes should be placed adjacent to the high-transient current power planes to reduce
inductance and to couple the high-frequency noise.
It is good to have power and ground layers side-by-side such inter-plane capacitance provides better
decoupling at high frequencies.
The effect of vias on power pins is reduced by placing a power plane near the device.
Signal integrity depends on how well the traces have controlled impedance, so it is always recommended
to have controlled impedance.
Microsemi recommends that all critical high-speed signals such as DDR and PCIe signals, need to have
a ground reference. All signal layers should be separated from each other by ground or power planes.
This minimizes crosstalk and provides balanced and clean transmission lines with properly controlled
characteristic impedance between devices and other board components.
For best performance, use dedicated ground plane layers that are continuous across the entire board
area. Power planes can provide adequate reference, however, the power planes should be related to the
signals they serve to reference.
Note: Refrain from using unrelated power planes as a signal reference.
Slots should not interrupt the planes, or else they can possibly force current to find an alternate return
path. This undesired return path may cause a localized bounce on the power or ground plane that can
possibly be capacitively coupled to all signals adjacent to the planes.
37
Layout Guidelines for RTG4-Based Board Design
Depending on the density of weaving, PCB materials are numbered as 106, 1080, 2113, 2116, 1652, and
7268. Trace routed on the PCB is non-homogeneity in dielectric constant due to weaving. This causes
discontinuities in the trace impedance, resulting in improper eye-opening at the receiving end. For more
information about, see the Solving PCB Fiber Weave Issues.
38
Appendix E: Power Integrity Simulation Topology
Bulk
Bulk Caps Voltage
Caps Regulator
Module (VRM)
PCB
L R
+
-
References
• Power Distribution Network (PDN) by Eric Bogatin
• "Method of Modeling Differential Vias", White Paper, Jan 2011by L. Simonovich, E. Bogatin, Y.
Cao.
• [Link]/2011/pcb-fiber-weave/
• Sigrity PowerSI tutorial
39
Layout Guidelines for RTG4-Based Board Design
List of Changes
The following table lists critical changes that were made in each revision of the document.
40
Microsemi Corporation (Nasdaq: MSCC) offers a comprehensive portfolio of semiconductor
and system solutions for communications, defense & security, aerospace and industrial
markets. Products include high-performance and radiation-hardened analog mixed-signal
integrated circuits, FPGAs, SoCs and ASICs; power management products; timing and
synchronization devices and precise time solutions, setting the world’s standard for time; voice
processing devices; RF solutions; discrete components; Enterprise Storage and
Communication Solutions; Security technologies and scalable anti-tamper products; Ethernet
Solutions; Power-over-Ethernet ICs and midspans; as well as custom design capabilities and
services. Microsemi is headquartered in Aliso Viejo, Calif., and has approximately 4,800
employees globally. Learn more at [Link].
Microsemi Corporate Headquarters
One Enterprise, Aliso Viejo, Microsemi makes no warranty, representation, or guarantee regarding the information contained herein or
CA 92656 USA the suitability of its products and services for any particular purpose, nor does Microsemi assume any
liability whatsoever arising out of the application or use of any product or circuit. The products sold
Within the USA: +1 (800) 713-4113 hereunder and any other products sold by Microsemi have been subject to limited testing and should not
Outside the USA: +1 (949) 380-6100 be used in conjunction with mission-critical equipment or applications. Any performance specifications are
Sales: +1 (949) 380-6136
believed to be reliable but are not verified, and Buyer must conduct and complete all performance and
Fax: +1 (949) 215-4996
other testing of the products, alone and together with, or installed in, any end-products. Buyer shall not rely
on any data and performance specifications or parameters provided by Microsemi. It is the Buyer's
E-mail: [Link]@[Link]
responsibility to independently determine suitability of any products and to test and verify the same. The
© 2016 Microsemi Corporation. All information provided by Microsemi hereunder is provided "as is, where is" and with all faults, and the entire
rights reserved. Microsemi and the risk associated with such information is entirely with the Buyer. Microsemi does not grant, explicitly or
Microsemi logo are trademarks of implicitly, to any party any patent rights, licenses, or any other IP rights, whether with regard to such
Microsemi Corporation. All other information itself or anything described by such information. Information provided in this document is
trademarks and service marks are the proprietary to Microsemi, and Microsemi reserves the right to make any changes to the information in this
property of their respective owners. document or to any products and services at any time without notice.
51900453-1/03.16