+ All Categories
Home > Documents > Lect26 XAUI PCIxs.5 - University of California,...

Lect26 XAUI PCIxs.5 - University of California,...

Date post: 13-Jun-2020
Category:
Upload: others
View: 1 times
Download: 0 times
Share this document with a friend
19
EE290C - Spring 2004 Advanced Topics in Circuit Design High-Speed Electrical Interfaces Lecture #26 Case Studies : XAUI, PCI-Express Jared Zerbe 4/22/04 2 Agenda Project phase-II discussion Case studies XAUI PCI Express
Transcript
Page 1: Lect26 XAUI PCIxs.5 - University of California, Berkeleybwrcs.eecs.berkeley.edu/.../lectures/Lect26_XAUI_PCIxs.5.pdf · 2004-04-22 · History : PCI Bus Factoids PCI = Peripheral

1

EE290C - Spring 2004Advanced Topics in Circuit DesignHigh-Speed Electrical Interfaces

Lecture #26Case Studies :

XAUI, PCI-ExpressJared Zerbe4/22/04

2

AgendaProject phase-II discussionCase studies

XAUIPCI Express

Page 2: Lect26 XAUI PCIxs.5 - University of California, Berkeleybwrcs.eecs.berkeley.edu/.../lectures/Lect26_XAUI_PCIxs.5.pdf · 2004-04-22 · History : PCI Bus Factoids PCI = Peripheral

2

3

Project Phase-IIAssignments clear?Impact from circuits yet?Significant issues?

4

XAUIXAUI = 10G Attachment Unit InterfaceOrigins in 10G Ethernet 802.3ae

Extended into backplane spaceDefines device characteristics

BUTAlso defines loss characteristics & system parametersAlso budgets system voltage & timingA lot of the terminology used has become common ; a mixture from different backgrounds, i.e. SONET, etc.

Page 3: Lect26 XAUI PCIxs.5 - University of California, Berkeleybwrcs.eecs.berkeley.edu/.../lectures/Lect26_XAUI_PCIxs.5.pdf · 2004-04-22 · History : PCI Bus Factoids PCI = Peripheral

3

5

Where XAUI Fits

Clearly an extension, but one of the first good definitions of a serial link architecture & requirements

6

XAUI Architecture – Basic QualitiesBundle of 4 pairs @ 2.5Gb/s/pair (delivered) = 10Gb/s8b10b coding => raw line rates are 3.125Gb/sAC coupled for interoperability (at receiver)100Ω differentialCan practically achieve eyes with 1 or 2 tap TXeqPlesiochronous between quads; +/- 100ppm in systemLane deskewing handled at an upper layer (XGXS)BER is defined as < 10-12

Spec includes methods for testing compliance (!)

Page 4: Lect26 XAUI PCIxs.5 - University of California, Berkeleybwrcs.eecs.berkeley.edu/.../lectures/Lect26_XAUI_PCIxs.5.pdf · 2004-04-22 · History : PCI Bus Factoids PCI = Peripheral

4

7

XAUI Driver Characteristics

8

XAUI Driver Template

Specified at both Tx & Rx ends (implied channel)Accounts for both attenuation and uncompensated ISI

Page 5: Lect26 XAUI PCIxs.5 - University of California, Berkeleybwrcs.eecs.berkeley.edu/.../lectures/Lect26_XAUI_PCIxs.5.pdf · 2004-04-22 · History : PCI Bus Factoids PCI = Peripheral

5

9

XAUI Receiver Characteristics

10

XAUI Jitter ToleranceJitter seperated into 3 pieces

DJ : Deterministic jitter (includes residual ISI, duty-cycle error, etc.)RJ : Random jitter – uncorrelated with any sourceSJ : Sinusoidal jitter

Doesn’t necessarily exist in a real system, but used in tolerance as a way of making sure system can track low frequency wander, Vdd effects

XAUI jitter tolerence specsReceiver must be able to tolerate this much jitterDJ : 0.37UIp-p

DJ+RJ : 0.55UIp-p

SJ : additional SJ (on top of DJ+RJ) to limit of mask…

Page 6: Lect26 XAUI PCIxs.5 - University of California, Berkeleybwrcs.eecs.berkeley.edu/.../lectures/Lect26_XAUI_PCIxs.5.pdf · 2004-04-22 · History : PCI Bus Factoids PCI = Peripheral

6

11

XAUI Jitter Tolerance : SJ Mask

12

XAUI Example System BudgetingSupposed to represent a system with 50cm of FR4

Sound familiar?

Page 7: Lect26 XAUI PCIxs.5 - University of California, Berkeleybwrcs.eecs.berkeley.edu/.../lectures/Lect26_XAUI_PCIxs.5.pdf · 2004-04-22 · History : PCI Bus Factoids PCI = Peripheral

7

13

Example XAUI Implementation

Wadhwa, CICC 2003, 0.13µ CMOS

14

AgendaProject phase-II discussionCase studies

XAUIPCI Express

Page 8: Lect26 XAUI PCIxs.5 - University of California, Berkeleybwrcs.eecs.berkeley.edu/.../lectures/Lect26_XAUI_PCIxs.5.pdf · 2004-04-22 · History : PCI Bus Factoids PCI = Peripheral

8

15

History : PCI Bus Factoids

PCI = Peripheral Component Interconnect Original PCI Bus standardized in 1992Characteristics

32-bits @ 33 MHz (BW = 133MB/sec)Single-ended, Synch., Multi-drop parallel bus Requires clock/data trace matching

Evolved to several variations: PCI-X, CompactPCI, etc.

I/O

Data

Clock

Data

I/O I/O

Data

16

Synchronous Busses Need Trace Matching

At high speed, timing skews are a major issue

Serpentines on PCB needed to address this

May be OK upto 1 Gbps

Serpentines to Match lengths

Page 9: Lect26 XAUI PCIxs.5 - University of California, Berkeleybwrcs.eecs.berkeley.edu/.../lectures/Lect26_XAUI_PCIxs.5.pdf · 2004-04-22 · History : PCI Bus Factoids PCI = Peripheral

9

17

Bus Evolution

Common clock Embedded clockSingle-ended signals Differential signalsParallel SerialMulti-drop Point-to-point

PCI-Express2.5 Gb/s/lane

2005+

10 GHz

1978

8 MHz

133 MHz

133 MHz

800 MHz

500 MHz

2.5 GHz

2.5 GHz68xxx

MPC 603/740/7400Pentium/PII/PIII

PCIPC100/PC133

Infiniband2.5 Gb/s

2000

1998 2003

PCI-X133

DDR 333/400

Pentium 4533

Athlon533

2000 2005

2001RapidIO

Pos Phy 4Hypertransport

Courtesy Agilent

18

PCI Express: Based on Serial LinksPCI Express: Based on Serial Links

Serial Link(SerDes)

Characteristics1x, 2x,…, 32x @2.5 Gbps(BW = up to 8 GB/sec)Point-to-point differential signalingNo separate clock signal (embedded clks)Link-end RefClks can be independentNo trace matching required between lanes

Data +Clock

Data

RefClock_1

DataI/O I/O

RefClock_2

BenefitsBandwidth scalabilityHigher line speeds

Lower costHigher speed &manufacturable

Page 10: Lect26 XAUI PCIxs.5 - University of California, Berkeleybwrcs.eecs.berkeley.edu/.../lectures/Lect26_XAUI_PCIxs.5.pdf · 2004-04-22 · History : PCI Bus Factoids PCI = Peripheral

10

19

PCI Express : Where it fits

USB 2.0USB 2.0

PCIPCI

MemoryBridge

CPU

Graphics Memory

HDD

SIO

PCI Express

PCIExpress

Serial ATA

Add-ins

Add-ins

Add-ins

I/OBridge

Bandwidth Scalability Cheaper connectors & smaller board areasNext gen PCI Express* expected to support 5-6.25Gbps

Legacy support w/ PCISoftware/driver level

Advanced capabilitiesEase-of-use (plug&play)Power managementFeatures for communications systems

20

PCI Express – Basic QualitiesSimilar

8b10b coding => raw line is 2.5Gb/s; delivered is 2GAC coupled for interoperability (at transmitter)100Ω differential

DifferentUnit is a single TX/RX differential pair @ 2.5Gb/s/pair

Support for x1, x2, x4, x8 in specificationsPlesiochronous at +/- 300ppmSupport for spread-spectrum-clockingGen-II plan for performance scaling to 6GBecon detect, power states to allow lower off currentBuilt-in requirement for de-emphasis (TxEq)Lane deskewing handled at an upper layer (XGXS)

Page 11: Lect26 XAUI PCIxs.5 - University of California, Berkeleybwrcs.eecs.berkeley.edu/.../lectures/Lect26_XAUI_PCIxs.5.pdf · 2004-04-22 · History : PCI Bus Factoids PCI = Peripheral

11

21

The Packet Paradigm Pushing Into PCsTrigger events routinely require sequencing across

multiple events and bussesD

evic

eI

DeviceII

Switch

Switch

Courtesy Agilent

22

“Read” & “Write” Cycles replaced by Packets

Frame Sequence#

Header Data CRC FrameDev

ice

A Device B

Frame Sequence#DataCRC Frame

Request

Requester Header FormatFor 64-bit addressing of memory

Header

Completion

Completion Header Format

Header

Courtesy Agilent

Page 12: Lect26 XAUI PCIxs.5 - University of California, Berkeleybwrcs.eecs.berkeley.edu/.../lectures/Lect26_XAUI_PCIxs.5.pdf · 2004-04-22 · History : PCI Bus Factoids PCI = Peripheral

12

23

PCI Express : Transmitter Specification

24

PCI Express : Transmitter Equalization

Simple single-tap equalizer defined as de-emphasis for subsequent identical bits (CIDs)

Defined as driven at 3.5dB below first bit

Page 13: Lect26 XAUI PCIxs.5 - University of California, Berkeleybwrcs.eecs.berkeley.edu/.../lectures/Lect26_XAUI_PCIxs.5.pdf · 2004-04-22 · History : PCI Bus Factoids PCI = Peripheral

13

25

PCI Express : Everything else about the TX too!

Many other specs involving idle, tRF, etc.A more complete spec needed for true multi-vendor compatibility

But basic performance requirements not all that different from XAUI

26

TX Compliance

Not that new… but TxEq is well definedNote also : bits no longer have flat spots!

Page 14: Lect26 XAUI PCIxs.5 - University of California, Berkeleybwrcs.eecs.berkeley.edu/.../lectures/Lect26_XAUI_PCIxs.5.pdf · 2004-04-22 · History : PCI Bus Factoids PCI = Peripheral

14

27

PCI Express : Receiver Specification

28

RX Compliance

Input is now 175mV (p-p diff) x 0.4UITX Transition bit is 800mV x 0.7UITX De-emphasized bit is 566mV x 0.7UIQ : What does this mean viz. loss at Nyquist?

Page 15: Lect26 XAUI PCIxs.5 - University of California, Berkeleybwrcs.eecs.berkeley.edu/.../lectures/Lect26_XAUI_PCIxs.5.pdf · 2004-04-22 · History : PCI Bus Factoids PCI = Peripheral

15

29

Reg

iste

r

PLL

ParallelInterface Serializer

Reg

iste

r

SerialData

Clock RecoveryDeserializer

Additional Features for PCI Express PHY

New Features required for Hot-Plug capability, Power MgmtTransmitter Tri-state (‘Electrical Idle’) CapabilityReceiver termination is to ground instead of Vdd‘Rx Detect’ feature before transmission

Beacon Generate/Detect Feature for Remote System WakeupExhaustive Power Management features

30

To support Hot plug

A special circuit inside Tx periodically checks for the presenceof Rx loadInternal Rx-Detect output

50 ΩVTT

Zo = 50 Ω

Zo = 50 Ω

RxTx

GND

Tx-Idle & Receiver Detect Feature

RxDet

Tx TristateEnable

Rx Present

Page 16: Lect26 XAUI PCIxs.5 - University of California, Berkeleybwrcs.eecs.berkeley.edu/.../lectures/Lect26_XAUI_PCIxs.5.pdf · 2004-04-22 · History : PCI Bus Factoids PCI = Peripheral

16

31

To support Power Management

Beacon => “Wake Up” call while in powerdownSpecial circuit in Tx for Beacon Transmit & in Rx for Beacon DetectOperate from VDDAUX supply

50 ΩVTT

Zo = 50 Ω

Zo = 50 Ω

RxTx

GND

Beacon Detect

BeaconDet

32

Example PMA Block DiagramSerializerTransmit Data

System Clock

Transmit(2.5 Gbps)

ParallelInterface

DeserializerReceive(2.5 Gbps)

Clock Rec’vry

Receive Clock(Parallel data rate)

Receive Data

PLLReference Clock

(Parallel data rate)

Clock÷ N

SerialDataParallel

Data

Allows future BW headroom e.g. Next Gen PCI Exp link at 5 GbpsPMA has special features to support Hot-Plug, Power Mgmt. making it suitable for Mainstream applications

Page 17: Lect26 XAUI PCIxs.5 - University of California, Berkeleybwrcs.eecs.berkeley.edu/.../lectures/Lect26_XAUI_PCIxs.5.pdf · 2004-04-22 · History : PCI Bus Factoids PCI = Peripheral

17

33

Elastic Buffer (RefClk +300 ppm)

System 1 System 2

Clk1

(100 MHz + 30KHz)

Clk 2

(100MHz)

@ 2.50075 Gb/s

@ 2.5Gb/s

Recovered Clk

= RefClk + 75 KHz

Elastic Buffer

34

Elastic Buffer (RefClk -300 ppm)

System 1 System 2

Clk1

(100 MHz - 30KHz)

Clk 2

(100MHz)

Recovered Clk

= RefClk - 30 KHz

Elastic Buffer

@ 2.49925 Gb/s

@ 2.5Gb/s

Page 18: Lect26 XAUI PCIxs.5 - University of California, Berkeleybwrcs.eecs.berkeley.edu/.../lectures/Lect26_XAUI_PCIxs.5.pdf · 2004-04-22 · History : PCI Bus Factoids PCI = Peripheral

18

35

Elastic Buffer Mech. (Skip Sequence)

CSSS D[n] D[n-1] D[n-2] D[n-3]D[3] D[2] D[1] D[0]

Data PacketData Packet 1 Skip Sequence

CSSS D[n] D[n-1] D[n-2] D[n-3]D[2] D[1] D[0]

CSS D[n] D[n-1] D[n-2] D[n-3]D[4] D[3] D[2] D[1] D[0]

S

Add Skip (Local RefClk > Remote RefClk)

Delete Skip (Local RefClk < Remote RefClk

Data Flow

36

Lane de-skewing FunctionDone in MAC layer – to accommodate variable lane-width feature of PCI Express (e.g. x1, x4, etc)

PCSLane 1

MA

C

D[3] D[2] D[1] D[0]

D[3] D[2] D[1] D[0]

D[2] D[1] D[0]

D[2] D[1] D[0]

Rd Ptr 1

Rd Ptr 2

Rd Ptr 3

Rd Ptr 3

PCSLane 2

PCSLane 3

PCSLane 4

During Init. Rd Ptrs. In MAC for each lane are set appropriately so that D[0] bytes for all lanes are read simultaneously

Page 19: Lect26 XAUI PCIxs.5 - University of California, Berkeleybwrcs.eecs.berkeley.edu/.../lectures/Lect26_XAUI_PCIxs.5.pdf · 2004-04-22 · History : PCI Bus Factoids PCI = Peripheral

19

37

MAC

SERDES Elastic

Buffer8B/10B

Decoder

Framer

8B/10BEncoder K/D

K/D

Transmit

Receive

RxClk

SysClk

FmOffset

RxData

TxData

SysClk

10

10

8

Rx+

Rx-

Tx+

Tx-

Command/Status Control

7

6

PMA PCS

Putting it all together

38

Measurement to PCI Express MaskMeasurement to PCI Express Mask

Worst Non-Transition Signal Eye at Tx Worst Transition Signal Eye at Tx

Separate tests used as a way of testing EQSeparate tests used as a way of testing EQHow will we test more complicated EQ?How will we test more complicated EQ?

This was pretty darn simpleThis was pretty darn simple


Recommended