High-Speed Serial I/O Made Simple
Total Page:16
File Type:pdf, Size:1020Kb
Connectivity Solutions Connectivity Solutions Edition 1.0 High-Speed Serial I/O Made Simple – A Designers’ Guide, with FPGA Applications Edition 1.0 High-Speed Serial I/0 Made Simple High-Speed Serial I/O A Designers‘ Guide, with FPGA Applications How Do You Get 10-Gbps I/O Performance? Made Simple High-speed serial I/O can be used to solve system interconnect design challenges. Such I/Os, when integrated into a highly programmable digital environment such as an FPGA, allow you to create high-performance designs that were never A Designers’ Guide, with FPGA Applications possible before. This book discusses the many aspects of high-speed serial designs with real world examples of how to implement working designs, including: ■ Basic I/O Concepts – Differential signaling, System Synchronous, and Source Synchronous design techniques. ■ Pros and Cons of different implemenations – How to evaluate the cost advantages, the reduced EMI, the maximum data flow, and so on. ■ SERDES Design – Basic theory, how to implement highly efficient serial to parallel channels, coding schemes, and so on. ■ Design Considerations – Standard and custom protocols, signal integrity, impedance, shielding, and so on. ■ Testing – Interpreting eye patterns, reducing jitter, interoperability considerations, bit error testers, and so on. Xcell Publications help you solve design challenges, bringing you the awareness of the latest tools, devices, and technologies; knowledge on how to design most effectively; and the next steps for implementing working solutions. See all of our books, magazines, technical journals, solutions guides, and brochures at: www.xilinx.com/xcell by Abhijit Athavale R Edition 1.0 April, 2005 PN 0402399 and Carl Christensen CONNECTIVITY SOLUTIONS: EDITION 1.0 PRELIMINARY INFORMATION High-Speed Serial I/O Made Simple A Designer’s Guide with FPGA Applications by Abhijit Athavale Marketing Manager, Connectivity Solutions, Xilinx, Inc. and Carl Christensen Technical Marketing HIGH-SPEED SERIAL I/O MADE SIMPLE • © 2005 Xilinx, Inc. All rights reserved. XILINX, the Xilinx Logo, and other designated brands included herein are trademarks of Xilinx, Inc. PowerPC is a trademark of IBM, Inc. All other trademarks are the property of their respective owners. NOTICE OF DISCLAIMER: The information stated in this book is “Preliminary Information” and is not to be used for design purposes. Xilinx is providing this design, code, or information "as is." By providing the design, code, or information as one possible implementation of this feature, application, or standard, Xilinx makes no representation that this implementation is free from any claims of infringement. You are responsible for obtaining any rights you may require for your implementation. Xilinx expressly disclaims any warranty whatsoever with respect to the adequacy of the implementation, including but not limited to any warranties or representations that this implementation is free from claims of infringement and any implied warranties of merchantability or fitness for a particular purpose. All terms mentioned in this book are known to be trademarks or service marks and are the property of their respective owners. Use of a term in this book should not be regarded as affecting the validity of any trademark or service mark. All rights reserved. No part of this book may be reproduced, in any form or by any means, without written per- mission from the publisher. For copies of this book, write to: Xilinx Connectivity Solutions Product Solutions Marketing/Xilinx Worldwide Marketing Dept. 2450, 2100 Logic Drive, San Jose, CA 95124 Tel: 408.879.6889, Fax: 308.371.8283 [email protected] Preliminary Edition 1.0 April 2005 PN0402399 •ii Acknowledgements We would like to offer our deepest thanks to Paul Galloway and Craig Abramson. Without their constant motivation, direction, and encouragement, we could not have completed this project. We are also indebted to Ryan Carlson for his invaluable assistance in structuring the book, and to Chuck Berry for his great support and sales interface. To a host of reviewers that included Matt DiPaolo, Mike Degerstrom, and Scott Davidson, we want to offer our gratitude. They kept us honest, accurate, and up to date. To Babak Hedayati and Tim Erjavec for their unwavering support and encouragement Finally, we offer special thanks to Ray Johnson. He fully supported our effort and placed his personal stamp of approval on this book by providing the Forward. PRELIMINARY INFORMATION • iii HIGH-SPEED SERIAL I/O MADE SIMPLE • •iv TABLE OF CONTENTS Acknowledgements . iii Foreword About the Authors . .vii Introduction I/O Performance Limitations . .1 Digital Design Solutions for I/O . .1 Introducing Multi-Gigabit Serial . .1 History of Digital Electronic Communication . .2 Basic I/O Concepts . .3 Differential Signal . .4 System-Synchronous, Source-Synchronous, and Self-Synchronous . .5 Parallel Transfers . .10 Constant I/O Improvement . .10 Why Do We Need Gigabit Serial I/O? Design Concerns . .11 Gigabit Serial I/O Advantages. .11 Maximum Data Flow . .11 Pin Count . .14 Simultaneous Switching Outputs. .15 EMI . .15 Cost . .15 Predefined Protocols . .16 What are the Disadvantages?. .16 Where Will Gigabit I/O Be Used? . .16 Chip-to-Chip . .16 Board-to-Board/Backplanes . .17 Box-to-Box . .18 The Future of Multi-gigabit Designs. .18 Technology Real-World Serial I/O . .19 Gigabit-Serial Implementations . .19 SERDES . .20 History of SERDES and CDR . .20 Basic Theory of Operations and Generic Block Diagram . .21 Why Are They So Fast? . .23 Line Encoding Schemes . .25 PRELIMINARY INFORMATION Xilinx • v HIGH-SPEED SERIAL I/O MADE SIMPLE • 8b/10b Encoding/Decoding . 26 Running Disparity . 26 Control Characters . 27 Comma Detection. 27 Scrambling . 29 4b/5b 64b/66b . 31 4b/5b 64b/66b Trade-Offs . 34 Introduction to Packets . 35 Reference Clocking Requirements . 36 Clock Correction . 37 Receive and Transmit Buffers. 38 Channel Bonding . 39 Physical Signaling . 40 Pre-Emphasis. 42 Differential Transmission Lines . 45 Line Equalization . 47 Optical. 51 Bit Error Rate . 52 Realities of Testing . 53 CRC . 53 FEC Used in Some Applications . 54 SERDES Technology Facilitates I/O Design. 55 Designing with Gigabit Serial I/O The Challenges of Multi-Gigabit Transceiver Design. 57 Design Considerations and Choices You Can Use. 57 Protocols . 57 Standard Protocols . ..