Docsity

High-Speed Memory Systems: Understanding Timing Conventions and Synchronization Techniques, Study notes of Electrical and Electronics Engineering

Partial preview of the text

Download High-Speed Memory Systems: Understanding Timing Conventions and Synchronization Techniques and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!

MEMORY

SYSTEMS

Spring 2003 Bruce Jacob

David Wang University of

Maryland

Lecture 19

SLIDE 1

Two Timing Conventions(

Dally & Poulton

Synchronous systems: Achilles’ heel = clockApplies to both inter- and intra-chip signaling

MEMORY

SYSTEMS

Spring 2003 Bruce Jacob

David Wang University of

Maryland

Lecture 19

SLIDE 2

The Point of TimingDefines

when

a value is present on a line …

How many 1’s? How many 0’s?

Need convention to distinguish where one ‘1’ends and next ‘1’ begins … most conventionsmark boundaries w/

TRANSITIONS

• of the signal itself

• of an associated

clock

signal

(original definition of “synchronous”)

Uncertainty in timing limits operating speed… but not delay

MEMORY

SYSTEMS

Spring 2003 Bruce Jacob

David Wang University of

Maryland

Lecture 19

SLIDE 4

System Building BlocksDELAY ELEMENTS•

Nominal delay

Timing uncertainty,skew, jitter

COMBINATIONAL LOGIC•

Contamination delay

Propagation delay

CLOCKED STORAGE ELEMENTS•

Align signal to a clock

Signal waits to be sampled by clock

Output held steady until next clock

MEMORY

SYSTEMS

Spring 2003 Bruce Jacob

David Wang University of

Maryland

Lecture 19

SLIDE 5

Edge-Triggered Flip-FlopSamples data onrising edge of CLK•

Data must remainvalid during an aperture

of time

during sampling

Output held steadyuntil next CLK edge•

Output is helduntil a

contamination delay

following CLK edge

Output has a correct value after a propagation delay

following CLK edge

Tcontamination

Tpropagation

MEMORY

SYSTEMS

Spring 2003 Bruce Jacob

David Wang University of

Maryland

Lecture 19

SLIDE 7

Eye Diagram, ReduxMAXIMUM OPERATING RATE(i.e., signaling speed)LIMITED BY THREE FACTORS:•

Tr — Transition time (rise time)

Tu — Timing uncertainty, skew, jitter

Ta — Aperture time

MEMORY

SYSTEMS

Spring 2003 Bruce Jacob

David Wang University of

Maryland

Lecture 19

SLIDE 8

Synchronous Timing IGLOBAL CLOCK (Conventional) EXAMPLE

Parameter

Symbol

Nominal

Skew

Jitter

Bit Cell (data period)

Tbit

2.5 ns

Transmitter Rise Time

Tr

1.0 ns

Cable Delay

Twire

6.25 ns

100 ps

Receiver Aperture

Ta

300 ps

100 ps

50 ps

Transmitter Delay

500 ps

150 ps

50 ps

Buffer Stage Delay

B#

250 ps

100 ps

50 ps

6.25ns ± 0.1ns

8 data lines

Tx

Rx

B

B

B

B

400MHz

Matched Lines ± 0.1ns (1.5cm)

MEMORY

SYSTEMS

Spring 2003 Bruce Jacob

David Wang University of

Maryland

Lecture 19

SLIDE 10

Synchronous Timing ILIMITS TO LINE DELAY& DATA FREQUENCYConventional Wisdom:Line Delay Must BeODD NUMBER ofHALF-BITS … WHY?For fixed line length and tight margins,this limits the bus speeds that can be used

6.25ns ± 0.1ns

8 data lines

Tx

Rx

B

B

B

B

400MHz

Matched Lines ± 0.1ns (1.5cm)

0

half-bits

1

2

3

4

5

6

7

8

MEMORY

SYSTEMS

Spring 2003 Bruce Jacob

David Wang University of

Maryland

Lecture 19

SLIDE 11

Synchronous Timing ITIMING ANALYSISClock Jitter: 100ps lines+ 100ps B1 + 400ps B4Clock Skew: 50ps B1 + 200ps B

[times 2: one for xmit, one for recv]

Transmitter: 150ps skew, 50ps jitterReceiver: 100ps skew, 50ps jitterData Cable: 100ps skewTOTAL: 1550ps skew, 600ps jitter (BAD)

6.25ns ± 0.1ns

8 data lines

Tx

Rx

B

B

B

B

400MHz

Matched Lines ± 0.1ns (1.5cm)

MEMORY

SYSTEMS

Spring 2003 Bruce Jacob

David Wang University of

Maryland

Lecture 19

SLIDE 13

Synchronous Timing IIPIPELINED TIMING: BASIC IDEADelay the clock by the same amount as data… PLUS half a bit-cellSystem will work from DC to maximumtheoretical frequency 1/(Tr + Tu + Ta)Defines new clock domain at receiving end

MEMORY

SYSTEMS

Spring 2003 Bruce Jacob

David Wang University of

Maryland

Lecture 19

SLIDE 14

Synchronous Timing IISOURCES OFUNCERTAINTYSKEW:•

Between CLK & Data line

Fixed differences in FF, Tx, Rx delays

Different CLK delays to different FFs

Aperture offset in Rx FF

Extra offset in the delayed CLK line

JITTER:•

In Tx clock

In FF, Tx, Rx delays

MEMORY

SYSTEMS

Spring 2003 Bruce Jacob

David Wang University of

Maryland

Lecture 19

SLIDE 16

Synchronous Timing IICOMPONENTS of CONTROL LOOP

Rx

FSM

90˚

Sync

Phase

Compare

LoopFilter

Variable

Ref.Clock Ref.Data/CK

DelayedClock(Output)

delay line

(Input) (Input)

(control) D

Q

B A

Y

Y

PHASE

AB

0˚

90˚

180˚

270˚

360˚

DFF as a Phase Comparator

MEMORY

SYSTEMS

Spring 2003 Bruce Jacob

David Wang University of

Maryland

Lecture 19

SLIDE 17

Synchronous Timing IILIMITS TO LINEDELAY & DATAFREQUENCYNone.Only limiter to busfrequency is the rate at which you cansuccessfully transmit & receive data(e.g. Taperture + Tuncertainty + Ttransmit)

6.25ns ± 0.1ns

RClk

Tx

Rx

B

B

B

200MHz

6.25ns ± 0.1ns

8 data lines

Data In Toggle

B

FSM

90˚

Sync