28
inst.eecs.berkeley.edu/~ee241b Borivoje Nikolić EE241B : Advanced Digital Circuits Lecture 24 – Clocks EECS241B L24 CLOCKS 1 Time for course surveys!

EE241B : Advanced Digital Circuitsee241/sp21/Lectures/... · 2021. 4. 27. · Clock Domain Crossings • Bowhill, ISSCC’15. Brute-Force Synchronizer. Clock Crossing FIFOs

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: EE241B : Advanced Digital Circuitsee241/sp21/Lectures/... · 2021. 4. 27. · Clock Domain Crossings • Bowhill, ISSCC’15. Brute-Force Synchronizer. Clock Crossing FIFOs

inst.eecs.berkeley.edu/~ee241b

Borivoje Nikolić

EE241B : Advanced Digital Circuits

Lecture 24 – Clocks

EECS241B L24 CLOCKS 1

Time for course surveys!

Page 2: EE241B : Advanced Digital Circuitsee241/sp21/Lectures/... · 2021. 4. 27. · Clock Domain Crossings • Bowhill, ISSCC’15. Brute-Force Synchronizer. Clock Crossing FIFOs

Announcements

• Quiz today

• Final this Thursday, April 29, 9:40-11• In class, 80 min

• Project reports due on Wednesday, May 5, 9pm• Presentations on Thursday 9:30-11

EECS241B L24 CLOCKS 2

Page 3: EE241B : Advanced Digital Circuitsee241/sp21/Lectures/... · 2021. 4. 27. · Clock Domain Crossings • Bowhill, ISSCC’15. Brute-Force Synchronizer. Clock Crossing FIFOs

Outline

• Digital PLLs

• Clocks and deskewing

• Supply droop mitigation

3EECS241B L24 CLOCKS

Page 4: EE241B : Advanced Digital Circuitsee241/sp21/Lectures/... · 2021. 4. 27. · Clock Domain Crossings • Bowhill, ISSCC’15. Brute-Force Synchronizer. Clock Crossing FIFOs

6.E Digital PLLs

EECS241B L24 CLOCKS 4

Page 5: EE241B : Advanced Digital Circuitsee241/sp21/Lectures/... · 2021. 4. 27. · Clock Domain Crossings • Bowhill, ISSCC’15. Brute-Force Synchronizer. Clock Crossing FIFOs

Digital PLL

• Replace analog functions with digital equivalents

PFD Digital LoopFilter

DCO÷N

U

D

fO

fREF

Digitally-controlled oscillator (DCO)

Page 6: EE241B : Advanced Digital Circuitsee241/sp21/Lectures/... · 2021. 4. 27. · Clock Domain Crossings • Bowhill, ISSCC’15. Brute-Force Synchronizer. Clock Crossing FIFOs

Practical Digital PLL

• In IBM Power7 processor, per each core

Tierno, VLSI’10

Page 7: EE241B : Advanced Digital Circuitsee241/sp21/Lectures/... · 2021. 4. 27. · Clock Domain Crossings • Bowhill, ISSCC’15. Brute-Force Synchronizer. Clock Crossing FIFOs

6.F Deskewing and Synchronization

EECS241B L24 CLOCKS 7

Page 8: EE241B : Advanced Digital Circuitsee241/sp21/Lectures/... · 2021. 4. 27. · Clock Domain Crossings • Bowhill, ISSCC’15. Brute-Force Synchronizer. Clock Crossing FIFOs

Clock Distribution

Page 9: EE241B : Advanced Digital Circuitsee241/sp21/Lectures/... · 2021. 4. 27. · Clock Domain Crossings • Bowhill, ISSCC’15. Brute-Force Synchronizer. Clock Crossing FIFOs

Example Clock System

• IBM Power 4

Restle, ISSCC’02

Page 10: EE241B : Advanced Digital Circuitsee241/sp21/Lectures/... · 2021. 4. 27. · Clock Domain Crossings • Bowhill, ISSCC’15. Brute-Force Synchronizer. Clock Crossing FIFOs

Clock Grid

Page 11: EE241B : Advanced Digital Circuitsee241/sp21/Lectures/... · 2021. 4. 27. · Clock Domain Crossings • Bowhill, ISSCC’15. Brute-Force Synchronizer. Clock Crossing FIFOs

Clock Domain Synchronization

Type Frequency Phase

Synchronous Same Same

Mesochronous Same Constant offset

Plesiochronous Small difference Slowly varying

Asynchronous Different Arbitrary

Page 12: EE241B : Advanced Digital Circuitsee241/sp21/Lectures/... · 2021. 4. 27. · Clock Domain Crossings • Bowhill, ISSCC’15. Brute-Force Synchronizer. Clock Crossing FIFOs

Deskew System (Mesochronous)

Geannopoulos, ISSCC’98

Page 13: EE241B : Advanced Digital Circuitsee241/sp21/Lectures/... · 2021. 4. 27. · Clock Domain Crossings • Bowhill, ISSCC’15. Brute-Force Synchronizer. Clock Crossing FIFOs

Clock Domain Crossings

• Bowhill, ISSCC’15

Page 14: EE241B : Advanced Digital Circuitsee241/sp21/Lectures/... · 2021. 4. 27. · Clock Domain Crossings • Bowhill, ISSCC’15. Brute-Force Synchronizer. Clock Crossing FIFOs

Brute-Force Synchronizer

Page 15: EE241B : Advanced Digital Circuitsee241/sp21/Lectures/... · 2021. 4. 27. · Clock Domain Crossings • Bowhill, ISSCC’15. Brute-Force Synchronizer. Clock Crossing FIFOs

Clock Crossing FIFOs

• FIFO for clock crossings

http://www.sunburst-design.com/papers/CummingsSNUG2002SJ_FIFO1.pdf

Page 16: EE241B : Advanced Digital Circuitsee241/sp21/Lectures/... · 2021. 4. 27. · Clock Domain Crossings • Bowhill, ISSCC’15. Brute-Force Synchronizer. Clock Crossing FIFOs

6.G Interaction Between Supply and Clock

EECS241B L24 CLOCKS 16

Page 17: EE241B : Advanced Digital Circuitsee241/sp21/Lectures/... · 2021. 4. 27. · Clock Domain Crossings • Bowhill, ISSCC’15. Brute-Force Synchronizer. Clock Crossing FIFOs

Power Delivery

• Typical model

Wong, JSSC’06EECS241B L25 SUPPLY

Page 18: EE241B : Advanced Digital Circuitsee241/sp21/Lectures/... · 2021. 4. 27. · Clock Domain Crossings • Bowhill, ISSCC’15. Brute-Force Synchronizer. Clock Crossing FIFOs

Supply Resonances

• First droop• Package L + on-die C

• Second droop• Motherboard + package decoupling

• Third droop• Board capacitors

EECS241B L25 SUPPLY

Page 19: EE241B : Advanced Digital Circuitsee241/sp21/Lectures/... · 2021. 4. 27. · Clock Domain Crossings • Bowhill, ISSCC’15. Brute-Force Synchronizer. Clock Crossing FIFOs

What happens with supply?http://www.research.ibm.com/people/r/restle/Animations/DAC01top.html

Phillip Restle, IBMEECS241B L25 SUPPLY

Page 20: EE241B : Advanced Digital Circuitsee241/sp21/Lectures/... · 2021. 4. 27. · Clock Domain Crossings • Bowhill, ISSCC’15. Brute-Force Synchronizer. Clock Crossing FIFOs

Clock and Supply

• Large digital systems can have large voltage transients• Can we filter impact of voltage on a clock generator?

Kurd, JSSC’09

Page 21: EE241B : Advanced Digital Circuitsee241/sp21/Lectures/... · 2021. 4. 27. · Clock Domain Crossings • Bowhill, ISSCC’15. Brute-Force Synchronizer. Clock Crossing FIFOs

How to model

• Abstracted delay line

EECS241B L25 SUPPLYPeriod modulation from successive modulated delays

Wong, JSSC’06

Page 22: EE241B : Advanced Digital Circuitsee241/sp21/Lectures/... · 2021. 4. 27. · Clock Domain Crossings • Bowhill, ISSCC’15. Brute-Force Synchronizer. Clock Crossing FIFOs

Clock and Supply

• IBM Power7, with one PLL per core

Lefurgy, MICRO’11

Page 23: EE241B : Advanced Digital Circuitsee241/sp21/Lectures/... · 2021. 4. 27. · Clock Domain Crossings • Bowhill, ISSCC’15. Brute-Force Synchronizer. Clock Crossing FIFOs

Droop Detection

• Hashimoto, JSSC 4/18

EECS241B L25 SUPPLY

Page 24: EE241B : Advanced Digital Circuitsee241/sp21/Lectures/... · 2021. 4. 27. · Clock Domain Crossings • Bowhill, ISSCC’15. Brute-Force Synchronizer. Clock Crossing FIFOs

Wrap-Up

EECS241B L24 CLOCKS 24

Page 25: EE241B : Advanced Digital Circuitsee241/sp21/Lectures/... · 2021. 4. 27. · Clock Domain Crossings • Bowhill, ISSCC’15. Brute-Force Synchronizer. Clock Crossing FIFOs

This Class

• Put design choices in technology perspective

• The design constraints have changed and will be changing• Cost, energy, (power, leakage, …), performance

• Focused on variability, power-performance tradeoffs, power management

• Did not cover arithmetic, domino, I/O, supply generation, packaging, …

EECS241B L25 SUPPLY

Page 26: EE241B : Advanced Digital Circuitsee241/sp21/Lectures/... · 2021. 4. 27. · Clock Domain Crossings • Bowhill, ISSCC’15. Brute-Force Synchronizer. Clock Crossing FIFOs

This Field

• Moore’s law will end sometime during your (my?) career• 5nm in 2021 scales to 0.1nm by 2050 with 2-yr cycles (or to 1nm with 5-yr cycles)

• Physics will stop CMOS somewhere ~2nm (?)• Will we see a different (CMOS) device in the meantime

• Economics will likely stop it somewhere while still in single digits• And the nodes will be stretched out

• We will see multi-chip/packaging solutions

• Don’t worry: Creativity is unlimited!• What can you build with 10B/100B/1 trillion transistors?

• Even filling 10B-transistor chips with SRAM is not trivial!

EECS241B L25 SUPPLY

Page 27: EE241B : Advanced Digital Circuitsee241/sp21/Lectures/... · 2021. 4. 27. · Clock Domain Crossings • Bowhill, ISSCC’15. Brute-Force Synchronizer. Clock Crossing FIFOs

This Field

• Focus on principles

• Watch out for opportunities

• Stay current!

EECS241B L25 SUPPLY

Page 28: EE241B : Advanced Digital Circuitsee241/sp21/Lectures/... · 2021. 4. 27. · Clock Domain Crossings • Bowhill, ISSCC’15. Brute-Force Synchronizer. Clock Crossing FIFOs

Technology Strategy / Roadmap

2000 2005 2010 2015 2020 2025 2030

Plan B: Subsytem Integration

R D

Plan C: Post Si CMOS Options

R R&D

Plan Q:

R D

Quantum Computing

Plan A: Extending Si CMOS

R D

T.C. Chen, Where Si-CMOS is going: Trendy Hype vs. Real Technology, ISSCC’06EECS241B L25 SUPPLY