PCB Design Techniques for DDR, DDR2 & DDR3

Similar documents
White Paper Utilizing Leveling Techniques in DDR3 SDRAM Memory Interfaces

Dual DIMM DDR2 and DDR3 SDRAM Interface Design Guidelines

Hardware and Layout Design Considerations for DDR4 SDRAM Memory Interfaces

PL-277x Series SuperSpeed USB 3.0 SATA Bridge Controllers PCB Layout Guide

This application note is written for a reader that is familiar with Ethernet hardware design.

11. High-Speed Differential Interfaces in Cyclone II Devices

Module 22: Signal Integrity

Application Note for General PCB Design Guidelines for Mobile DRAM

Hardware and Layout Design Considerations for DDR Memory Interfaces

IDT80HSPS1616 PCB Design Application Note - 557

DDR Memory Overview, Development Cycle, and Challenges

DDR subsystem: Enhancing System Reliability and Yield

ICS379. Quad PLL with VCXO Quick Turn Clock. Description. Features. Block Diagram

Addressing the DDR3 design challenges using Cadence DDR3 Design-In Kit

In-System Programming Design TM. Guidelines for ispjtag Devices. Introduction. Device-specific Connections. isplsi 1000EA Family.

Automated EMC Rule Checking for PCB Designs in the Real-World

Guidelines for Designing High-Speed FPGA PCBs

Agilent EEsof EDA.

White Paper David Hibler Jr Platform Solutions Engineer Intel Corporation. Considerations for designing an Embedded IA System with DDR3 ECC SO-DIMMs

A TREATMENT OF DIFFERENTIAL SIGNALING AND ITS DESIGN REQUIREMENTS

Printed Circuit Boards. Bypassing, Decoupling, Power, Grounding Building Printed Circuit Boards CAD Tools

Application Note, V 2.2, Nov AP32091 TC1766. Design Guideline for TC1766 Microcontroller Board Layout. Microcontrollers. Never stop thinking.

Figure 1 FPGA Growth and Usage Trends

Memory Module Specifications KVR667D2D4F5/4G. 4GB 512M x 72-Bit PC CL5 ECC 240-Pin FBDIMM DESCRIPTION SPECIFICATIONS

4 OUTPUT PCIE GEN1/2 SYNTHESIZER IDT5V41186

Electromagnetic and Circuit Co-Simulation and the Future of IC and Package Design. Zoltan Cendes

DDR SDRAM Memory Termination USING THE LX1672 AND LX1673 FOR DDR SDRAM MEMORY TERMINATION INTEGRATED PRODUCTS. Microsemi

Power Delivery Network (PDN) Analysis

Design Implementation of DDR2 / DDR3 Interfaces From a PCB Designer Perspective in Cadence Allegro

DDR3 SDRAM UDIMM MT8JTF12864A 1GB MT8JTF25664A 2GB

Termination Placement in PCB Design How Much Does it Matter?

Technical Note Design Guide for Two DDR UDIMM Systems

Sentinel-SSO: Full DDR-Bank Power and Signal Integrity. Design Automation Conference 2014

PCIE 16X CONNECTOR BOARD ROUTING RECOMMENDATIONS TABLE OF CONTENTS

2 TO 4 DIFFERENTIAL PCIE GEN1 CLOCK MUX ICS Features

Features. DDR3 Unbuffered DIMM Spec Sheet

ICS SPREAD SPECTRUM CLOCK SYNTHESIZER. Description. Features. Block Diagram DATASHEET

Table 1 SDR to DDR Quick Reference

Streamlining the creation of high-speed interconnect on digital PCBs

STF & STF201-30

Features. Modulation Frequency (khz) VDD. PLL Clock Synthesizer with Spread Spectrum Circuitry GND

GR2DR4B-EXXX/YYY/LP 1GB & 2GB DDR2 REGISTERED DIMMs (LOW PROFILE)

Technical Article. Multi-phase DC-DC PMIC: the efficient, space-saving choice for today s application processors. Peter Kammerlander

AP Microcontroller. EMC Design Guidelines for Microcontroller Board Layout. Microcontrollers. Application Note, V 3.

ADQYF1A08. DDR2-1066G(CL6) 240-Pin O.C. U-DIMM 1GB (128M x 64-bits)

Clock Generator Specification for AMD64 Processors

Datasheet - DS0002 Indice Semiconductor Pty Ltd

81110A Pulse Pattern Generator Simulating Distorted Signals for Tolerance Testing

ICS514 LOCO PLL CLOCK GENERATOR. Description. Features. Block Diagram DATASHEET

IIB. Complete PCB Design Using OrCAD Capture and PCB Editor. Kraig Mitzner. ~»* ' AMSTERDAM BOSTON HEIDELBERG LONDON ^ i H

Tuning DDR4 for Power and Performance. Mike Micheletti Product Manager Teledyne LeCroy

Data Sheet. Adaptive Design ltd. Arduino Dual L6470 Stepper Motor Shield V th November L6470 Stepper Motor Shield

Eatman Associates 2014 Rockwall TX rev. October 1, Striplines and Microstrips (PCB Transmission Lines)

" PCB Layout for Switching Regulators "

PLAS: Analog memory ASIC Conceptual design & development status

Time and Frequency Domain Analysis for Right Angle Corners on Printed Circuit Board Traces

Technical Note. DDR3 Point-to-Point Design Support. Introduction. TN-41-13: DDR3 Point-to-Point Design Support. Introduction

Alpha CPU and Clock Design Evolution

1 TO 4 CLOCK BUFFER ICS551. Description. Features. Block Diagram DATASHEET

Semiconductor Device Technology for Implementing System Solutions: Memory Modules

nanoetxexpress Specification Revision 1.0 Figure 1 nanoetxexpress board nanoetxexpress Specification Rev 1.

PADS PCB Design Solutions

PCB ROUTERS AND ROUTING METHODS

PCB Board Design. PCB boards. What is a PCB board

Table 1: Address Table

Automated Contact Resistance Tester CR-2601

Features. DDR3 SODIMM Product Specification. Rev. 1.7 Feb. 2016

SPREAD SPECTRUM CLOCK GENERATOR. Features

Application Note AN:005. FPA Printed Circuit Board Layout Guidelines. Introduction Contents. The Importance of Board Layout

Low Power AMD Athlon 64 and AMD Opteron Processors

Features. DDR SODIMM Product Datasheet. Rev. 1.0 Oct. 2011

Tuning DDR4 for Power and Performance. Mike Micheletti Product Manager Teledyne LeCroy

Designing a Schematic and Layout in PCB Artist

Application Note AN-1135

WICE-SPI Hardware Operation Manual

Memory Module Specifications KVR667D2D8F5/2GI. 2GB 256M x 72-Bit PC CL5 ECC 240-Pin FBDIMM DESCRIPTION SPECIFICATIONS

PCB Design Conference - East Keynote Address EMC ASPECTS OF FUTURE HIGH SPEED DIGITAL DESIGNS

Considerations for Designing an Embedded Intel Architecture System with System Memory Down

Altium Designer Guide

ANN Based Modeling of High Speed IC Interconnects. Q.J. Zhang, Carleton University

DM Segment Decoder/Driver/Latch with Constant Current Source Outputs

DDR3(L) 4GB / 8GB UDIMM

Fairchild Solutions for 133MHz Buffered Memory Modules

Application Note: PCB Design By: Wei-Lung Ho

M. Jämsä PCB COST REDUCTIONS

Precision Analog Designs Demand Good PCB Layouts. John Wu

User s Manual HOW TO USE DDR SDRAM

Evaluating AC Current Sensor Options for Power Delivery Systems

Card electrical characteristic, Parallelism & Reliability. Jung Keun Park Willtechnology

Accelerometer and Gyroscope Design Guidelines

Source-Synchronous Serialization and Deserialization (up to 1050 Mb/s) Author: NIck Sawyer

Interfacing Intel 8255x Fast Ethernet Controllers without Magnetics. Application Note (AP-438)

Comparison of DDRx and SDRAM

IBIS for SSO Analysis

USER GUIDE. ATWINC1500B Hardware Design Guidelines - IEEE b/g/n IoT Module. Atmel SmartConnect. Introduction

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

Welcome to the combined product training module of Linear Technology and Wurth Electronics about their efficient design solution for DC/DC Flyback

TRIPLE PLL FIELD PROG. SPREAD SPECTRUM CLOCK SYNTHESIZER. Features

8 by 8 dot matrix LED displays with Cascadable Serial driver B32CDM8 B48CDM8 B64CDM8 General Description

How to make a Quick Turn PCB that modern RF parts will actually fit on!

Transcription:

ARTICLE PCB Design Techniques for DDR, DDR2 & DDR3 (Part 2) by Barry Olney In-Circuit Design Pty Ltd, Australia SUMMARY This second and last part in a series examining PCB Design Techniques will look at the comparison of DDR2 to DDR3; DDR3 design guidelines; pre-layout analysis; critical placement; an example of design rules; and finally, the post-layout analysis. DDR2/DDR3 Comparison Max Clock Frequency ODT VDD VTT Vref Input thresholds Match Addr/CMD/CTRL to CLK tightly Match DQ/DMO/DSQ tightly Match DQS to clock loosely Table 1. 32 One major difference between DDR2 and DDR3 SDRAM is the use of levelling. To improve signal integrity and support higher frequency operations, the JEDEC committee defined a fly-by termination scheme used with the clocks, command and address bus signals. Fly-by topology reduces simultaneous switching noise (SSN) by deliberately causing flight-time skew between the data and strobes at every chip/dram, requiring controllers to compensate for this skew by adjusting the timing per byte lane (Table 1). During a write, DQS groups are launched at separate times to coincide with a clock DDR2 533/1066 Static 1.8V DDR3 800/1600 Dynamic 1.5V (may also be 1.35V) not required

IN GENERAL, TRY TO KEEP THE SDRAM AS CLOSE AS POSSIBLE TO THE CONTROLLER, BUT BEAR IN MIND THAT SOMETIMES IT WILL NOT BE NOT POSSIBLE BECAUSE OF OTHER PHYSICAL CONSTRAINTS. arriving at components on the DIMM/PCB, and must meet the timing parameter between the memory clock and DQS defined as tdqss of ± 0.25 tck. The design process can be simplified using the new levelling feature of DDR3 and controller IC s. The fly-by daisy chain topology increases the complexity of the data path and controller design to achieve levelling, but also greatly improves performance and eases board layout for DDR3. DDR3 Design Guidelines Critical Constraints: are routed differentially. 4.5 max length +/- 25MIL chip: between 2 to 3 max depending on load 0.5 the VTT Termination: 0.2 to 0.55 be minimized to reduce the skew within groups (or lanes) and across groups. 50 MIL within groups and 800 MIL across groups. 200MIL. Address and command nets are daisy chained with a VTT pull-up for termination. Other constraints to consider: Termination (ODT) built into the controller and SDRAM. The configurations are 40Ω, 60Ω and 140Ω so VTT pull-up is not necessary. Ω. Zdiff is 100Ω. Pre-layout Analysis I can t emphasize enough the importance of pre-layout analysis. Without which, you are just relying on luck which is not a design parameter. The pre-layout simulation is used to predict and eliminate signal integrity issues early, proactively constraining routing and optimizing clock, critical signal topologies and terminations prior to board layout. As previously mentioned, the value and placement of the series resistors and VTT pullups for data, address and command signals depends on the distances between the loads, number of loads and the stackup of the board and are best determined by simulation. The series terminator may not be required if a single SDRAM is used and the trace length is short but how do you know if you don t simulate the proposed layout? In general, try to keep the SDRAM as close as possible to the controller, but bear in mind that sometimes it will not be not possible because of other physical constraints. Also, if there are two or more SDRAM chips, this becomes more difficult and requires extended signal lengths terminators. Now the question becomes, where should they be placed and what values should be used? The series terminator would normally be placed close to the driver. Surprisingly, however, in the above case, the signal integrity Figure 1: 2.375<x<2.652 DDR3 topology using levelling. 33

PCB Design Techniques for DDR, DDR2 & DDR3 (Part 2) continues order to get a tighter match, although the JEDEC Spec is 50 MIL. These special high-speed design rules should be given top priority in the design rule hierarchy. Final Post-Layout Analysis The final post-layout analysis includes a batch mode simulation of all the nets. This flags signal integrity, crosstalk and EMI hot spots. Basically, look carefully through this report to see any issues that may have to be dealt with. Figure 2: In this design, signal integrity will be better if the series terminator is placed 4.5 away from the driver. was much better with a long distance (4.5 inches) away from the driver, and then the signal split through two series resistors and into each bank of DDR2 SDRAM. This is unusual, but demonstrates the importance of simulation in order to achieve the best possible outcome. By the way, this design ran at full rate with no rework required. Placement If you have completed the pre-layout analysis, then placement is a matter of following the constraints determined for length and placement rules. Series terminators are normally placed in RESNET 1206 (4 resistor packages) or 0402 on the bottom of the board, as the top is typically taken up by large active devices. Decaps should be placed directly beneath the devices where possible, using 20 MIL traces connected to the supply pins to reduce inductance. It is sometimes possible to use the vias coming down from fine pitch BGA supply pins as one pin for the 0402 Decap and routing the other to ground. Matched Length and Differential Pair Routing Setting up the design rules is a little tedious in any PCB tool, but, once done on the first design, you can export them into the next design to save time. Below (Table 2) is an example of DDR2 High-Speed Design Rules for Altium Designer. When possible, I normally reduce the tolerance within Data Lanes 0-3 to 25 MIL in The batch mode simulation reports: under shoot. termination. Go through these items one at a time and look at whether there needs to be action taken. For instance, a long Reset signal or a signal going to a static pull-up may be reported as being too long, but we can obviously ignore these particular warnings. Another possible case that needs to be addressed: a critical signal that is routed over the Manhattan length and needs termination. Crosstalk is quite common in high speed designs because of the cramped real estate; signals have to be packed tightly into a small area. Crosstalk can be minimized by increasing trace spacing and by reducing the signal layer to reference plane separation. Try to keep prepreg thickness to 3 MIL to tightly couple the signals to the plane. Also, it may be necessary to add additional planes to the stackup to isolate the offending aggressor signals. Routing adjacent signal layers orthogonally also helps reduce noise coupling. Crosstalk problems can cause intermittent operation due to timing glitches and interference, dramatically reducing your product s reliability. So, it is best to address these issues at the source. If a good job has been done routing the high-speed signals, on the internal layers and away from the edges of the board, then EMI should be minimal. However, if there is an EMI 34

PCB Design Techniques for DDR, DDR2 & DDR3 (Part 2) continues Rule Name Rule Type Scope Atttribute Length Length (InNetClass( Lane0 ) AND Min Length = 500mil InNetClass( Lane1 ) AND Max Length = 1000mil InNetClass( Lane2 ) AND InNetClass( Lane3 )) Parallel Segment Parallel Segment All - All Gap = 4mil Limit = 500mil Layer = Same Layer USB Data and Control Matched Net Lengths InNetClass( USB_length ) Tolerance = 100mil Diff Pair USB Matched Lengths Matched Net Lengths InDifferentialPair ( USB ) Tolerance = 25mil Diff Pair Matched Lengths Matched Net Lengths (InDifferentialPairClass Tolerance = 25mil ( All Differential Pairs )) DDR CLK Matched Lengths Matched Net Lengths InDifferentialPair Tolerance = 25mil ( DDR_MCK ) DDR2 CTL Matched Net Lengths InNetClass( DDR2_CTL ) Tolerance = 200mil DDR2 Addr Matched Net Lengths InNetClass( DDR2_Addr ) Tolerance = 200mil Lane3 Matched Net Lengths InNetClass( Lane3 ) Tolerance = 50mil Lane2 Matched Net Lengths InNetClass( Lane2 ) Tolerance = 50mil Lane1 Matched Net Lengths InNetClass( Lane1 ) Tolerance = 50mil Lane0 Matched Net Lengths InNetClass( Lane0 ) Tolerance = 50mil All Lanes Matched Net Lengths (InNetClass( Lane0 ) AND Tolerance = 500mil InNetClass( Lane1 ) AND InNetClass( Lane2 ) AND InNetClass( Lane3 )) Table 2. issue then different routing strategies can be tried to eliminate the problem. EMC can be measured, during the design process, to FCC, CISPR, VCCI Class A & B standard this alone saves multiple iterations of a design. All critical high-speed signals should be individually checked. Signal flight times need to be within spec, and eye diagrams need to have e wide open. By simulating during the design process, you can be assured that your PCB layout will be of the highest quality and will pass the relevant EMC tests saving you time, money and frustration for a fraction of the cost of board iterations and multiple compliancy testing. Plus, the simulation can be done before the design is finalized (before Gerber output or even earlier in the design process) to further reduce production time and costs. PCB References: 1. Advanced Design for SMT Barry Olney, In-Circuit Design Pty Ltd. 2. JEDEC Specifications JESD 79F, JESD79-2E & JESD79-3D. 3. Altera Board Layout Guidelines, EMI_ Plan_Board. Barry Olney is Managing Director of In-Circuit Design Pty Ltd (ICD), Australia, a PCB Design Service Bureau and Board Level Simulation Specialist. Among many other awards through the years, ICD was awarded Top 2005 Asian Distributor Marketing and Top 2005 Worldwide Distributor Marketing by Mentor Graphics, Board System Division. 36