15
EE141 © Digital Integrated Circuits 2nd Introduction ENGR890: Digital VLSI Design ENGR890: Digital VLSI Design Instructor: H. Mahmoodi Email: [email protected] URL: http://online.sfsu.edu/~mahmoodi Office: SCI 130 Phone: 415-338-6579 Office Hours: MW 6-8:30pm or by appointments Course email: [email protected] EE141 2 © Digital Integrated Circuits 2nd Introduction Text and References Text and References Text: Digital Integrated Circuits (2nd Edition) by Jan Rabaey et.al., Prentice Hall, 2003 References: CMOS VLSI Design: A Circuits and Systems Perspective (3rd Edition), by Neil H.E. Weste, David Harris Principles of CMOS VlSI Design, by Neil H. E. Weste, Kamran Eshraghian Class Notes: Available on class website EE141 3 © Digital Integrated Circuits 2nd Introduction Conferences & Journals Conferences & Journals IEEE Transactions on VLSI Systems IEEE Transactions on CAD of IC’s IEEE Journal of Solid State Circuits IEEE VLSI Circuits Symposium Journal of Electronic Testing ACM Design Automation Conference IEEE International Conference on CAD IEEE Solid State Circuits Conference International symposium on Low-Power Electronics & Design IEEE Conference on Computer Design IEEE International Test Conference EE141 4 © Digital Integrated Circuits 2nd Introduction Course Outline Course Outline Introduction: Historical perspective and Future Trend CMOS Process CMOS Logic, Layout techniques MOS devices, SPICE models Inverters: transfer characteristics, static and dynamic behavior, power and energy consumption of static MOS inverters Designing combinational logic gates in CMOS Static CMOS design: Complementary CMOS, ratioed logic, pass-transistor logic Dynamic CMOS logic

ENGR890: Digital VLSI Design Text and References …online.sfsu.edu/mahmoodi/engr890/handouts/lecture1.pdfCMOS VLSI Design: A Circuits and Systems Perspective (3rd Edition), by Neil

  • Upload
    others

  • View
    12

  • Download
    0

Embed Size (px)

Citation preview

Page 1: ENGR890: Digital VLSI Design Text and References …online.sfsu.edu/mahmoodi/engr890/handouts/lecture1.pdfCMOS VLSI Design: A Circuits and Systems Perspective (3rd Edition), by Neil

EE141

1

EE141© Digital Integrated Circuits2nd Introduction

ENGR890: Digital VLSI DesignENGR890: Digital VLSI DesignInstructor: H. MahmoodiEmail: [email protected]: http://online.sfsu.edu/~mahmoodiOffice: SCI 130Phone: 415-338-6579Office Hours: MW 6-8:30pm or by appointmentsCourse email: [email protected]

EE1412

© Digital Integrated Circuits2nd Introduction

Text and ReferencesText and ReferencesText:

Digital Integrated Circuits (2nd Edition) by Jan Rabaeyet.al., Prentice Hall, 2003

References:CMOS VLSI Design: A Circuits and Systems Perspective (3rd Edition), by Neil H.E. Weste, David HarrisPrinciples of CMOS VlSI Design, by Neil H. E. Weste, Kamran Eshraghian

Class Notes:Available on class website

EE1413

© Digital Integrated Circuits2nd Introduction

Conferences & JournalsConferences & JournalsIEEE Transactions on VLSI SystemsIEEE Transactions on CAD of IC’sIEEE Journal of Solid State CircuitsIEEE VLSI Circuits SymposiumJournal of Electronic TestingACM Design Automation ConferenceIEEE International Conference on CADIEEE Solid State Circuits ConferenceInternational symposium on Low-Power Electronics & DesignIEEE Conference on Computer DesignIEEE International Test Conference

EE1414

© Digital Integrated Circuits2nd Introduction

Course OutlineCourse OutlineIntroduction: Historical perspective and Future TrendCMOS ProcessCMOS Logic, Layout techniquesMOS devices, SPICE modelsInverters: transfer characteristics, static and dynamic behavior, power and energy consumption of static MOS invertersDesigning combinational logic gates in CMOS

Static CMOS design: Complementary CMOS, ratioedlogic, pass-transistor logicDynamic CMOS logic

Page 2: ENGR890: Digital VLSI Design Text and References …online.sfsu.edu/mahmoodi/engr890/handouts/lecture1.pdfCMOS VLSI Design: A Circuits and Systems Perspective (3rd Edition), by Neil

EE141

2

EE1415

© Digital Integrated Circuits2nd Introduction

Course Outline (ContCourse Outline (Cont’’d)d)Designing combinational logic gates (Cont’d)

Power consumption in CMOS gatesLow-power design

Designing sequential circuitsInterconnect and timing issuesDesigning memory and array structuresDesigning arithmetic building blocksVLSI testing and verification

EE1416

© Digital Integrated Circuits2nd Introduction

VLSI Lab under developmentVLSI Lab under development

VLSI Lab located in SCI109 is under development!13 Linux workstations running Cadence

Lab is to be used for some homework and course projectsIf the lab is not ready in time, the type of homework and course projects may change

EE1417

© Digital Integrated Circuits2nd Introduction

Digital Integrated Digital Integrated CircuitsCircuitsA Design PerspectiveA Design Perspective

IntroductionIntroduction

Jan M. RabaeyAnantha ChandrakasanBorivoje Nikolic

Adapted from Chapter 1 of

Copyright 2003 Prentice Hall/Pearson

EE1418

© Digital Integrated Circuits2nd Introduction

What is this book all about?What is this book all about?Introduction to digital integrated circuits.

CMOS devices and manufacturing technology. CMOS inverters and gates. Propagation delay, noise margins, and power dissipation. Sequential circuits. Arithmetic, interconnect, and memories. Programmable logic arrays. Design methodologies.

What will you learn?Understanding, designing, and optimizing digital circuits with respect to different quality metrics: cost, speed, power dissipation, and reliability

Page 3: ENGR890: Digital VLSI Design Text and References …online.sfsu.edu/mahmoodi/engr890/handouts/lecture1.pdfCMOS VLSI Design: A Circuits and Systems Perspective (3rd Edition), by Neil

EE141

3

EE1419

© Digital Integrated Circuits2nd Introduction

Digital Integrated CircuitsDigital Integrated CircuitsIntroduction: Issues in digital designThe CMOS inverterCombinational logic structuresSequential logic gatesDesign methodologiesInterconnect: R, L and CTimingArithmetic building blocksMemories and array structures

EE14110

© Digital Integrated Circuits2nd Introduction

IntroductionIntroductionWhy is designing digital ICs different today than it was before?Will it change in future?

Reference: Chapter 1 of the textbook

EE14111

© Digital Integrated Circuits2nd Introduction

The First ComputerThe First Computer

The BabbageDifference Engine(1832)25,000 partscost: £17,470

EE14112

© Digital Integrated Circuits2nd Introduction

ENIAC ENIAC -- The first electronic computer (1946)The first electronic computer (1946)

Page 4: ENGR890: Digital VLSI Design Text and References …online.sfsu.edu/mahmoodi/engr890/handouts/lecture1.pdfCMOS VLSI Design: A Circuits and Systems Perspective (3rd Edition), by Neil

EE141

4

EE14113

© Digital Integrated Circuits2nd Introduction

The Transistor RevolutionThe Transistor Revolution

First transistorBell Labs, 1948

EE14114

© Digital Integrated Circuits2nd Introduction

The First Integrated Circuits The First Integrated Circuits

Bipolar logic1960’s

ECL 3-input GateMotorola 1966

EE14115

© Digital Integrated Circuits2nd Introduction

Intel 4004 MicroIntel 4004 Micro--ProcessorProcessor

19711000 transistors1 MHz operation

EE14116

© Digital Integrated Circuits2nd Introduction

Intel Pentium (IV) microprocessorIntel Pentium (IV) microprocessor

Page 5: ENGR890: Digital VLSI Design Text and References …online.sfsu.edu/mahmoodi/engr890/handouts/lecture1.pdfCMOS VLSI Design: A Circuits and Systems Perspective (3rd Edition), by Neil

EE141

5

EE14117

© Digital Integrated Circuits2nd Introduction

MooreMoore’’s Laws Law

In 1965, Gordon Moore noted that the number of transistors on a chip doubled every 18 to 24 months.

He made a prediction that semiconductor technology will double its effectiveness every 18 months

EE14118

© Digital Integrated Circuits2nd Introduction

MooreMoore’’s Laws Law16151413121110

9876543210

1959

1960

1961

1962

1963

1964

1965

1966

1967

1968

1969

1970

1971

1972

1973

1974

1975

LOG

2 OF

THE

NU

MB

ER O

FC

OM

PON

ENTS

PER

INTE

GR

ATE

D F

UN

CTI

ON

Electronics, April 19, 1965.

EE14119

© Digital Integrated Circuits2nd Introduction

Evolution in ComplexityEvolution in Complexity

EE14120

© Digital Integrated Circuits2nd Introduction

Transistor CountsTransistor Counts

1,000,000

100,000

10,000

1,000

10

100

11975 1980 1985 1990 1995 2000 2005 2010

808680286

i386i486

Pentium®Pentium® Pro

K 1 Billion 1 Billion TransistorsTransistors

Source: IntelSource: Intel

ProjectedProjected

Pentium® IIPentium® III

Courtesy, Intel

Page 6: ENGR890: Digital VLSI Design Text and References …online.sfsu.edu/mahmoodi/engr890/handouts/lecture1.pdfCMOS VLSI Design: A Circuits and Systems Perspective (3rd Edition), by Neil

EE141

6

EE14121

© Digital Integrated Circuits2nd Introduction

MooreMoore’’s law in Microprocessorss law in Microprocessors

400480088080

8085 8086286

386486

Pentium® procP6

0.001

0.01

0.1

1

10

100

1000

1970 1980 1990 2000 2010Year

Tran

sist

ors

(MT)

2X growth in 1.96 years!

Transistors on Lead Microprocessors double every 2 yearsTransistors on Lead Microprocessors double every 2 years

Courtesy, Intel EE14122

© Digital Integrated Circuits2nd Introduction

Die Size GrowthDie Size Growth

40048008

80808085

8086286

386486 Pentium ® proc

P6

1

10

100

1970 1980 1990 2000 2010Year

Die

siz

e (m

m)

~7% growth per year~2X growth in 10 years

Die size grows by 14% to satisfy Moore’s LawDie size grows by 14% to satisfy Moore’s Law

Courtesy, Intel

EE14123

© Digital Integrated Circuits2nd Introduction

FrequencyFrequency

P6Pentium ® proc

48638628680868085

8080800840040.1

1

10

100

1000

10000

1970 1980 1990 2000 2010Year

Freq

uenc

y (M

hz)

Lead Microprocessors frequency doubles every 2 yearsLead Microprocessors frequency doubles every 2 years

Doubles every2 years

Courtesy, Intel EE14124

© Digital Integrated Circuits2nd Introduction

Power DissipationPower DissipationP6

Pentium ® proc

486386

2868086

808580808008

4004

0.1

1

10

100

1971 1974 1978 1985 1992 2000Year

Pow

er (W

atts

)

Lead Microprocessors power continues to increaseLead Microprocessors power continues to increase

Courtesy, Intel

Page 7: ENGR890: Digital VLSI Design Text and References …online.sfsu.edu/mahmoodi/engr890/handouts/lecture1.pdfCMOS VLSI Design: A Circuits and Systems Perspective (3rd Edition), by Neil

EE141

7

EE14125

© Digital Integrated Circuits2nd Introduction

Power will be a major problemPower will be a major problem5KW

18KW

1.5KW 500W

400480088080

80858086

286386

486

Pentium® proc

0.1

1

10

100

1000

10000

100000

1971 1974 1978 1985 1992 2000 2004 2008Year

Pow

er (W

atts

)

Power delivery and dissipation will be prohibitivePower delivery and dissipation will be prohibitive

Courtesy, Intel EE14126

© Digital Integrated Circuits2nd Introduction

Power densityPower density

400480088080

8085

8086

286 386486

Pentium® procP6

1

10

100

1000

10000

1970 1980 1990 2000 2010Year

Pow

er D

ensi

ty (W

/cm

2)

Hot Plate

NuclearReactor

RocketNozzle

Power density too high to keep junctions at low tempPower density too high to keep junctions at low temp

Courtesy, Intel

EE14127

© Digital Integrated Circuits2nd Introduction

Not Only MicroprocessorsNot Only Microprocessors

Digital Cellular Market(Phones Shipped)

1996 1997 1998 1999 2000

Units 48M 86M 162M 260M 435M Analog Baseband

Digital Baseband(DSP + MCU)

PowerManagement

Small Signal RF

PowerRF

(data from Texas Instruments)(data from Texas Instruments)

CellPhone

EE14128

© Digital Integrated Circuits2nd Introduction

Challenges in Digital DesignChallenges in Digital Design

“Microscopic Problems”• Ultra-high speed design• Interconnect• Noise, Crosstalk• Reliability, Manufacturability• Power Dissipation• Clock distribution.

Everything Looks a Little Different

“Macroscopic Issues”• Time-to-Market• Millions of Gates• High-Level Abstractions• Reuse & IP: Portability• Predictability• etc.

…and There’s a Lot of Them!

∝ DSM ∝ 1/DSM

?

Page 8: ENGR890: Digital VLSI Design Text and References …online.sfsu.edu/mahmoodi/engr890/handouts/lecture1.pdfCMOS VLSI Design: A Circuits and Systems Perspective (3rd Edition), by Neil

EE141

8

EE14129

© Digital Integrated Circuits2nd Introduction

Productivity TrendsProductivity Trends

1

10

100

1,000

10,000

100,000

1,000,000

10,000,000

2003

1981

1983

1985

1987

1989

1991

1993

1995

1997

1999

2001

2005

2007

2009

10

100

1,000

10,000

100,000

1,000,000

10,000,000

100,000,000Logic Tr./ChipTr./Staff Month.

xxxx

xx

x21%/Yr. compound

Productivity growth rate

x

58%/Yr. compoundedComplexity growth rate

10,000

1,000

100

10

1

0.1

0.01

0.001

Logi

c Tr

ansi

stor

per

Chi

p(M

)

0.01

0.1

1

10

100

1,000

10,000

100,000

Prod

uctiv

ity(K

) Tra

ns./S

taff

-Mo.

Source: Sematech

Complexity outpaces design productivity

Com

plex

ity

Courtesy, ITRS Roadmap EE14130

© Digital Integrated Circuits2nd Introduction

Why Scaling?Why Scaling?Technology shrinks by 0.7/generationWith every generation can integrate 2x more functions per chip; chip cost does not increase significantlyCost of a function decreases by 2xBut …

How to design chips with more and more functions?Design engineering population does not double every two years…

Hence, a need for more efficient design methodsExploit different levels of abstraction

EE14131

© Digital Integrated Circuits2nd Introduction

Design Abstraction LevelsDesign Abstraction Levels

n+n+S

GD

+

DEVICE

CIRCUIT

GATE

MODULE

SYSTEM

EE14132

© Digital Integrated Circuits2nd Introduction

Design MetricsDesign Metrics

How to evaluate performance of a digital circuit (gate, block, …)?

CostReliabilityScalabilitySpeed (delay, operating frequency) Power dissipationEnergy to perform a function

Page 9: ENGR890: Digital VLSI Design Text and References …online.sfsu.edu/mahmoodi/engr890/handouts/lecture1.pdfCMOS VLSI Design: A Circuits and Systems Perspective (3rd Edition), by Neil

EE141

9

EE14133

© Digital Integrated Circuits2nd Introduction

Cost of Integrated CircuitsCost of Integrated CircuitsNRE (non-recurrent engineering) costs

design time and effort, mask generationone-time cost factor

Recurrent costssilicon processing, packaging, testproportional to volumeproportional to chip area

EE14134

© Digital Integrated Circuits2nd Introduction

NRE Cost is IncreasingNRE Cost is Increasing

EE14135

© Digital Integrated Circuits2nd Introduction

Die CostDie Cost

Single die

Wafer

From http://www.amd.com

Going up to 12” (30cm)

EE14136

© Digital Integrated Circuits2nd Introduction

Cost per TransistorCost per Transistor

0.00000010.0000001

0.0000010.000001

0.000010.00001

0.00010.0001

0.0010.001

0.010.01

0.10.111

19821982 19851985 19881988 19911991 19941994 19971997 20002000 20032003 20062006 20092009 20122012

cost: cost: ¢¢--perper--transistortransistor

Fabrication capital cost per transistor (Moore’s law)

Page 10: ENGR890: Digital VLSI Design Text and References …online.sfsu.edu/mahmoodi/engr890/handouts/lecture1.pdfCMOS VLSI Design: A Circuits and Systems Perspective (3rd Edition), by Neil

EE141

10

EE14137

© Digital Integrated Circuits2nd Introduction

YieldYield%100

per wafer chips ofnumber Totalper wafer chips good of No.

×=Y

yield Dieper wafer DiescostWafer cost Die×

=

( )area die2

diameterwafer area die

diameter/2wafer per wafer Dies2

××π

−×π

=

EE14138

© Digital Integrated Circuits2nd Introduction

DefectsDefects

α−

α×

+=area dieareaunit per defects1yield die

α is approximately 3

4area) (die cost die f=

EE14139

© Digital Integrated Circuits2nd Introduction

Some Examples (1994)Some Examples (1994)

$4179%402961.5$15000.803Pentium

$27213%482561.6$17000.703Super Sparc

$14919%532341.2$15000.703DEC Alpha

$7327%661961.0$13000.803HP PA 7100

$5328%1151211.3$17000.804Power PC 601

$1254%181811.0$12000.803486 DX2

$471%360431.0$9000.902386DX

Die cost

YieldDies/wafer

Area mm2

Def./ cm2

Wafer cost

Line width

Metal layers

Chip

EE14140

© Digital Integrated Circuits2nd Introduction

ReliabilityReliability――Noise in Digital Integrated CircuitsNoise in Digital Integrated Circuits

i(t)

Inductive coupling Capacitive coupling Power and groundnoise

v(t) VDD

Page 11: ENGR890: Digital VLSI Design Text and References …online.sfsu.edu/mahmoodi/engr890/handouts/lecture1.pdfCMOS VLSI Design: A Circuits and Systems Perspective (3rd Edition), by Neil

EE141

11

EE14141

© Digital Integrated Circuits2nd Introduction

DC OperationDC OperationVoltage Transfer CharacteristicVoltage Transfer Characteristic

V(x)

V(y)

VOH

VOL

VM

VOHVOL

fV(y)=V(x)

Switching Threshold

Nominal Voltage Levels

VOH = f(VOL)VOL = f(VOH)VM = f(VM)

EE14142

© Digital Integrated Circuits2nd Introduction

Mapping between analog and digital signalsMapping between analog and digital signals

V IL V IH V in

Slope = -1

Slope = -1

V OL

V OH

Vout

“ 0 ” VOL

VIL

VIH

VOH

UndefinedRegion

“ 1”

EE14143

© Digital Integrated Circuits2nd Introduction

Definition of Noise MarginsDefinition of Noise Margins

Noise margin high

Noise margin low

VIH

VIL

UndefinedRegion

"1"

"0"

VOH

VOL

NMH

NML

Gate Output Gate Input

EE14144

© Digital Integrated Circuits2nd Introduction

Noise BudgetNoise BudgetAllocates gross noise margin to expected sources of noiseSources: supply noise, cross talk, interference, offsetDifferentiate between fixed and proportional noise sources

Page 12: ENGR890: Digital VLSI Design Text and References …online.sfsu.edu/mahmoodi/engr890/handouts/lecture1.pdfCMOS VLSI Design: A Circuits and Systems Perspective (3rd Edition), by Neil

EE141

12

EE14145

© Digital Integrated Circuits2nd Introduction

Key Reliability PropertiesKey Reliability PropertiesAbsolute noise margin values are deceptive

a floating node is more easily disturbed than a node driven by a low impedance (in terms of voltage)

Noise immunity is the more important metric –the capability to suppress noise sourcesKey metrics: Noise transfer functions, Output

impedance of the driver and input impedance of the receiver;

EE14146

© Digital Integrated Circuits2nd Introduction

Regenerative PropertyRegenerative Property

A chain of inverters

v0 v1 v2 v3 v4 v5 v6

2

V (V

olt)

4

v0

v1v2

t (nsec)0

2 1

1

3

5

6 8 10Simulated response

EE14147

© Digital Integrated Circuits2nd Introduction

Regenerative PropertyRegenerative Property

v0

v1

v3

finv(v)

f (v)

v3

out

v2 in

Regenerative Non-Regenerativev2

v1

f (v)

finv(v)

v3

out

v0 in

EE14148

© Digital Integrated Circuits2nd Introduction

FanFan--in and Fanin and Fan--outout

N

Fan-out N Fan-in M

M

Page 13: ENGR890: Digital VLSI Design Text and References …online.sfsu.edu/mahmoodi/engr890/handouts/lecture1.pdfCMOS VLSI Design: A Circuits and Systems Perspective (3rd Edition), by Neil

EE141

13

EE14149

© Digital Integrated Circuits2nd Introduction

The Ideal GateThe Ideal Gate

Ri = ∞Ro = 0Fanout = ∞NMH = NML = VDD/2g = ∞

V in

V out

EE14150

© Digital Integrated Circuits2nd Introduction

An OldAn Old--time Invertertime Inverter

NM H

V in (V)

V

o u t

( V )

NM L

V M

0.0

1.0

2.0

3.0

4.0

5.0

1.0 2.0 3.0 4.0 5.0

EE14151

© Digital Integrated Circuits2nd Introduction

Delay DefinitionsDelay Definitions

Vout

tf

tpHL tpLH

trt

Vin

t

90%

10%

50%

50%

EE14152

© Digital Integrated Circuits2nd Introduction

Ring OscillatorRing Oscillator

v0 v1 v5

v1 v2v0 v3 v4 v5

T = 2 × tp × N

Page 14: ENGR890: Digital VLSI Design Text and References …online.sfsu.edu/mahmoodi/engr890/handouts/lecture1.pdfCMOS VLSI Design: A Circuits and Systems Perspective (3rd Edition), by Neil

EE141

14

EE14153

© Digital Integrated Circuits2nd Introduction

A FirstA First--Order RC NetworkOrder RC Network

vout

vin C

R

tp = ln (2) τ = 0.69 RC

Important model – matches delay of inverter

EE14154

© Digital Integrated Circuits2nd Introduction

Power DissipationPower Dissipation

Instantaneous power: p(t) = v(t)i(t) = Vsupplyi(t)

Peak power: Ppeak = Vsupplyipeak

Average power:

( )∫ ∫+ +

==Tt

tTt

t supplysupply

ave dttiT

Vdttp

TP )(1

EE14155

© Digital Integrated Circuits2nd Introduction

Energy and EnergyEnergy and Energy--DelayDelay

Power-Delay Product (PDP) =

E = Energy per operation = Pav × tp

Energy-Delay Product (EDP) =

quality metric of gate = E × tp

EE14156

© Digital Integrated Circuits2nd Introduction

A FirstA First--Order RC NetworkOrder RC Network

E0 1→ P t( )dt0

T∫ Vdd isupply t( )dt

0

T∫ Vdd CLdVout

0

Vdd

∫ CL Vdd• 2= = = =

Ecap Pcap t( )dt0

T∫ Vouticap t( )dt

0

T∫ CLVoutdVout

0

Vdd∫

12---C

LVdd• 2= = = =

vout

vin CL

R

Page 15: ENGR890: Digital VLSI Design Text and References …online.sfsu.edu/mahmoodi/engr890/handouts/lecture1.pdfCMOS VLSI Design: A Circuits and Systems Perspective (3rd Edition), by Neil

EE141

15

EE14157

© Digital Integrated Circuits2nd Introduction

SummarySummaryDigital integrated circuits have come a long way and still have quite some potential left for the coming decadesSome interesting challenges ahead

Getting a clear perspective on the challenges and potential solutions is the purpose of this book

Understanding the design metrics that govern digital design is crucial

Cost, reliability, speed, power and energy dissipation