Lect 28 PDF
Lect 28 PDF
Lecture ‐ 28
High‐Speed Links
Spring 2020
Jose E. Schutt-Aine
Electrical & Computer Engineering
University of Illinois
[email protected]
ECE 546 – Jose Schutt‐Aine 1
Inter-IC Communication Trends
ECE 546 – Jose Schutt‐Aine 2
High-Speed Bus and Networks
Memory Bus (Single‐ended, Parallel) Cable (Differential, Serial)
• DDR (4.266 Gbps) • USB (4.266 Gbps)
• LPDDR4 (4.266 Gbps) • HDMI (4.266 Gbps)
• GDDR (7 Gps) • Firewire: Cat 5, Cat 5e, Cat 6
• XDR (differential, 4.8 Gbps)
• Wide IO2, HBM Storage (Differential, Serial)
• eMMC, UFS (6 Gbps)
Front Side Bus (Differential, Parallel) • SAS, STATA (6 Gbps)
• QuickPath Interconnect (6.4 Gbps) • FiberChannel (10 – 20 Gbps)
• HyperTransport (6.4 Gbps)
Ethernet (Differential, Serial)
• XAUI (10 Gbps)
Computer IO (Differential, Parallel) • XFI (10 Gbps)
• PCIe (8 Gbps) • CEI‐6GLR
• InfiniBand (10 Gbps) • SONNET (10 Gbps)
• 10GBase‐x, 100GBase (25 Gbps)
ECE 546 – Jose Schutt‐Aine 3
Basic Serial Link Architecture
ECE 546 – Jose Schutt‐Aine 4
Basic Serial Link Architecture
ECE 546 – Jose Schutt‐Aine 5
Why SERDES?
• Traditional parallel communication not suitable
for inter‐IC data transport in high‐speed links.
– High design overhead due to cross‐talk, data‐skew.
• Serial links are most cost‐effective.
– Parallel links = extra pins Higher packaging costs.
– Speed v/s cost tradeoff with serial links.
• Solution = SERDES!!!
– Parallel communication still used in internal buses of
ICs thus a need for SerDes.
– Mitigate cost while maintaining high‐speeds with a fast
serial‐parallel data conversion.
ECE 546 – Jose Schutt‐Aine 6
What is a SERDES?
• SERDES = SERializer – DESerializer
– Used to transmit high speed IO‐data over a serial
link in I/O interfaces at speeds upwards of 2.5Gbps.
– SerDes TX: transmit parallel data to receiver
overhigh speed serial‐link.
– SerDes RX: receive data from serial‐link and deliver
parallel data to next‐stage.
– Advantage: Fast signaling, robust, high signal
integrity.
ECE 546 – Jose Schutt‐Aine 7
Serial Links in SoC: Oracle SPARC T5*
* J. Hart et al., "A 3.6GHz 16-Core SPARC SoC Processor in 28nm", Proceedings of the 2013 IEEE
International Solid-State Circuits Conference.
ECE 546 – Jose Schutt‐Aine 8
Serializer/Deserializer Blocks
• Serializer:
• Deserializer
ECE 546 – Jose Schutt‐Aine 9
Embedded Clock Architecture
Converts parallel data into serial data (Tx side)
Applies equalization to the data stream
Converts serial data into parallel data (Rx side)
ECE 546 – Jose Schutt‐Aine 10
Forwarded Clock Architecture
Additional lane for delivering the clock
Jitter introduced by the clock can be canceled at receiver
Offers better jitter performance
ECE 546 – Jose Schutt‐Aine 11
DC and AC Coupling
AC Coupled Link
AC coupling has
advantage of isolating
common‐mode voltage
levels between RX and TX
Terminated to VCC
DC Coupled Link
Terminated to VSS
Terminated to Vcm
ECE 546 – Jose Schutt‐Aine 12
Transmitter
Need large enough voltage swing
Pre‐driver is used to deliver large enough swing to Tx
FFE can be realized anywhere along data path
ECE 546 – Jose Schutt‐Aine 13
Current-Mode Driver
ECE 546 – Jose Schutt‐Aine 14
Current-Mode Driver
ECE 546 – Jose Schutt‐Aine 15
Receiver
• Receives data
• Performs equalization
• Recovers data and clock
ECE 546 – Jose Schutt‐Aine 16
Link Classification
ECE 546 – Jose Schutt‐Aine 17
Signaling Protocol NRZ vs RZ
ECE 546 – Jose Schutt‐Aine 18
Clock Synthesizer
ECE 546 – Jose Schutt‐Aine 19
PLL Overview
Basic PLL Block Diagram:
ECE 546 – Jose Schutt‐Aine 20
Why need PLLs?
• Reduces jitter.
• Reduces clock‐skew in high‐speed digital ckts.
• Instrumental in frequency synthesizers.
• Essential building block of CDRs.
ECE 546 – Jose Schutt‐Aine 21
PLL Building Blocks
Basic PLL Components:
• LF ~ Loop‐Filter
• Frequency Divider
ECE 546 – Jose Schutt‐Aine 22
PD/PFD Circuits
Common PD Implementations: Common PFD Implementations:
XOR PD
Gilbert‐cell Mixer
• PD/PFD are strictly digital circuits in high speed SerDes
transceivers.
• Ideal PD is a “multiplier” in time‐domain, ex: Mixer
• Analog PD High Jitter, noise.
• XOR PD sensitive to clock duty cycle
• PFD ~ best to lock phase and frequency!
ECE 546 – Jose Schutt‐Aine 23
PFD Theory
1. PFD is needed to adjust the
control voltage for VCO according
to the phase difference between
the VCO output and reference
frequency
2. PFD can be seen as a state machine with
three states. It will change the control
voltage of VCO according to its current state
and phase/frequency difference will cause
state transition.
ECE 546 – Jose Schutt‐Aine 24
PFD Analysis
1. PFD is in state 0 with no phase
difference.
2. PFD is in state 1 with positive
phase difference.
3. PFD is in state ‐1 with negative
phase difference.
ECE 546 – Jose Schutt‐Aine 25
PFD Design Overview
Charge pump
Down UP circuit
circuit
Phase Frequency detector
ECE 546 – Jose Schutt‐Aine 26
PFD Simulation
ECE 546 – Jose Schutt‐Aine 27
The Hogge Phase Detector
• Two Functions
– Transition detection
– Phase Detection
ECE 546 – Jose Schutt‐Aine 28
The Charge Pump
• Combination of
current source and
sink
• Converts PD output
to a current pulse
influencing control
voltage of VCO
ECE 546 – Jose Schutt‐Aine 29
Charge-Pump Circuit
Common CP Implementations:
ECE 546 – Jose Schutt‐Aine 30
The Loop Filter
• Low‐pass for
rejection of high
frequency noise
• Forms the control
voltage of the VCO
ECE 546 – Jose Schutt‐Aine 31
Loop-Filter
Common LF Implementations:
ECE 546 – Jose Schutt‐Aine 32
Loop-Filter Design
1. Needed to filter out high frequency noise
generated by PFD
2. Due to the superior performance of PFD, only
a passive second order RC low pass filter is
needed.
Where
Assuming
Low pass filter for
25MHz
current input
ECE 546 – Jose Schutt‐Aine 33
Voltage Controlled Oscillator
• Generates an
output with
oscillation
frequency
proportional to the
control voltage
• Helps the CDR
accumulate phase
and achieve lock
ECE 546 – Jose Schutt‐Aine 34
VCO
Common VCO Implementation:
LC‐Tank Oscillator
ECE 546 – Jose Schutt‐Aine 35
Oscillators Overview
• Closed‐Loop Transfer function:
• Barkhausen’s criteria for oscillation:
–
–
• 𝜔 = oscillation‐frequency.
ECE 546 – Jose Schutt‐Aine 36
Ring v/s Tank Architecture
ECE 546 – Jose Schutt‐Aine 37
MOS Varactor
ECE 546 – Jose Schutt‐Aine 38
Cascode MOS Varactor
ECE 546 – Jose Schutt‐Aine 39
LC-Tank VCO Designs - I
ECE 546 – Jose Schutt‐Aine 40
LC-Tank VCO Designs - II
ECE 546 – Jose Schutt‐Aine 41
LC-Tank VCO Designs - III
ECE 546 – Jose Schutt‐Aine 42
LC-Tank VCO Designs - Final
ECE 546 – Jose Schutt‐Aine 43
Final VCO Design Parameters
M1 L = 100n, W = 2u
M2 L = 100n, W = 2u
M3 L = 100n , W = 2u
M4 L = 100n, W = 2u
M5 L = 500n, W = 10u
M6 L = 500n, W = 10u
M7 L = 500n, W = 10u
M8 L = 500n, W = 10u
M9 L = 100n, W = 2u
M10 L = 50n, W = 2u
L 1.5nH, Q = 5
R 465 Ω
ECE 546 – Jose Schutt‐Aine 44
Fractional N-Divider Simulation
ECE 546 – Jose Schutt‐Aine 45
VCO Jitter Analysis
ECE 546 – Jose Schutt‐Aine 46
Theoretical Design Overview
•
– Recall,
•
, ,
ECE 546 – Jose Schutt‐Aine 47
Fractional N-Divider Circuit
1. Needed to slow down the VCO’s output so that
PFD can compare it with reference frequency.
2. N D‐FlipFlops cascaded together to achieve
divider.
Fractional 8
Positive edge‐triggered DFF Divider
using split‐output latches
ECE 546 – Jose Schutt‐Aine 48
Complete PLL Circuit
ECE 546 – Jose Schutt‐Aine 49
Complete PLL Simulation
ECE 546 – Jose Schutt‐Aine 50
Complete PLL Jitter Analysis
ECE 546 – Jose Schutt‐Aine 51
Equalization
ECE 546 – Jose Schutt‐Aine 52
Channel
ECE 546 – Jose Schutt‐Aine 53
Equalization
ECE 546 – Jose Schutt‐Aine 54
FFE vs. DFE
• FFE • DFE
• Can mitigate the pre‐cursor • Cannot equalize ISI arising
channel response in low‐BW from pre‐cursor channel
channels. response.
• Can compensate ISI arising • Can only compensate ISI
from transient TL loss over from a fixed time‐span.
wide time‐spans.
FFE + DFE
• Guarantees max. performance from the SerDes.
• Advantage:
– DFE permits use of low‐frequency de‐emphasis at TX resulting in
a larger received signal envelope, smaller signal/crosstalk ratio.
– System capable of employing continuous adaptive equalization of
its feedback taps to optimize performance.
ECE 546 – Jose Schutt‐Aine 55
The CDR Circuit
ECE 546 – Jose Schutt‐Aine 56
CDR Circuit Overview
• Monitor data signal transitions and select optimal
sampling phase for the data at midpoint between
edges.
• Extracts clock information from incoming data stream
and uses this regenerated clock to resample the data
waveform and recover the data.
• Non‐linear circuit and key block to limit jitter, noise
within the SERDES circuit.
ECE 546 – Jose Schutt‐Aine 57
Basic Idea
• Serial data transmission sends binary bits of information
as a series of optical or electrical pulses
• The transmission channel (coax, radio, fiber) generally
distorts the signal in various ways
• From this signal we must recover both clock and data
ECE 546 – Jose Schutt‐Aine 58
10 Gigabit Ethernet Serializer
ECE 546 – Jose Schutt‐Aine 59
10 Gigabit Ethernet Deserializer
ECE 546 – Jose Schutt‐Aine 60
Universal Serial Bus (USB)
ECE 546 – Jose Schutt‐Aine 61
Universal Serial Bus (USB)
ECE 546 – Jose Schutt‐Aine 62
Universal Serial Bus (USB)
ECE 546 – Jose Schutt‐Aine 63
Serial Link
‐ Passive channel consists of linear elements (TL, package)
‐ Analog channel includes TX driver and RX termination network
‐ End‐to‐end channel includes everything
ECE 546 – Jose Schutt‐Aine 64
High-Speed Serial Channels
High speed Serial channels are pushing the current
limits of simulation. Models/Simulator need to handle
current challenges
ECE 546 – Jose Schutt‐Aine 65
ECE 546 – Jose Schutt‐Aine 66
Timing Margin
ECE 546 – Jose Schutt‐Aine 67
Timing Jitter
ECE 546 – Jose Schutt‐Aine 68
Serial Channel Characterization
• Millions of bits of behavior are needed to adequately
characterize serial links long simulation times
ECE 546 – Jose Schutt‐Aine 69
Simulation Methods
Analysis Method Advantages Drawbacks
IBIS Fast Not accurate
Device Level Accurate Very slow
Nonlinear IP liability
Fast convolution Very fast Not Silicon Specific
Handles EQ Assumes LTI
Include bit patterns
Statistical Very Fast Not silicon specific
Handles EQ No bit patterns
Assumes LTI
IBIS‐AMI Fast Implementations vary
Handles Vendor EQ
Includes Bit Patterns
Not limited to LTI
ECE 546 – Jose Schutt‐Aine 70
Industry Standard: IBIS
ECE 546 – Jose Schutt‐Aine 71
AMI
• AMI stands for Algorithmic Modeling Interface
faster signal processing algorithms
intellectual property protection
used in convolution transient engines
designed to be used with fixed time step data
introduced in IBIS 5.0 specs
in these specs the library is specified inside
the IBIS wrapper
IBIS stands for “I/O Buffer Information Specification”; high-level buffer
specification for circuit modeling
http://eda.org/pub/ibis/ver5.0/ver5_0.txt
ECE 546 – Jose Schutt‐Aine 72
AMI Challenges
• AMI models are compiled DLLs and text files
– No graphical representation
ECE 546 – Jose Schutt‐Aine 73