Docsity

CMOS Technology - Computation Structures - Lecture Slides, Slides of Computer Fundamentals

Toggle sidebar
bg1
L03 - CMOS Technology 1
6.004 – Spring 2009 2/10/09
CMOS Technology
1. Qualitative MOSFET model
2. CMOS logic gates
3. CMOS design issues
poly
metal
pdiff ndiff
modified 2/9/09 15:07
NEXT WEEK:
• TUE: no lecture
• THU: Lab 1 due!
• FRI: QUIZ 1!!!
L03 - CMOS Technology 2
6.004 – Spring 2009 2/10/09
Combinational Device Wish List
Design our system to tolerate
some amount of error
Add positive noise margins
VTC: gain>1 & nonlinearity
Lots of gain
big noise margin
Cheap, small
Changing voltages will require
us to dissipate power, but if no
voltages are changing, we’d like
zero power dissipation
Want to build devices with
useful functionality (what sort
of operations do we want to
perform?)
VOL
VIL VIH
VOH
Vin
Vout
Vin
Vout
L03 - CMOS Technology 3
6.004 – Spring 2009 2/10/09
W
L
MOSFETS: Gain & non-linearity
gate
drain
source
bulk
Inter-layer SiO2 insulation
Polysilicon wire
Doped (p-type or n-type) silicon substrate
Very thin (<20Å)high-quality SiO2
insulating layer isolates gate from channel
region.
Heavily doped (n-type or p-type) diffusions
Channel region: electric field from charges on
gate locally “inverts” type of substrate to create
a conducting channel between source and drain.
MOSFETs (metal-oxide-semiconductor field-effect transistors) are four-
terminal voltage-controlled switches. Current flows between the
diffusion terminals if the voltage on the gate terminal is large enough to
create a conducting “channel”, otherwise the mosfet is off and the
diffusion terminals are not connected.
IDS W/L
L03 - CMOS Technology 4
6.004 – Spring 2009 2/10/09
FETs as switches
CONDUCTION:
If a channel exists, a
horizontal field will
cause a drift current
from the drain to the
source.
Eh
gate
INVERSION:
A sufficiently strong vertical field will attract enough
electrons to the surface to create a conducting n-
type channel between the source and drain. The gate
voltage when the channel first forms is called the
threshold voltage -- the mosfet switch goes from “off”
to “on”.
Ev
inversion
happens here
The four terminals of a Field Effect Transistor (gate, source, drain and bulk)
connect to conductors that generate a complicated set of electric fields in the
channel region which depend on the relative voltages of each terminal.
p
nn
source drain
bulk
Depletion region
(no carriers)
forms at PN
junction. Self
insulating!
pf3
pf4
pf5

Partial preview of the text

Download CMOS Technology - Computation Structures - Lecture Slides and more Slides Computer Fundamentals in PDF only on Docsity!

L03 - CMOS Technology 1

2/10/

CMOS Technology

1. Qualitative MOSFET model2. CMOS logic gates3. CMOS design issues

poly

metalpdiff^

ndiff^ modified 2/9/09 15:

NEXT WEEK:^ • ^ TUE: no lecture^ • ^ THU: Lab 1 due!^ • ^ FRI: QUIZ 1!!!

L03 - CMOS Technology 2

6.004 – Spring 2009

2/10/

Combinational Device Wish List

^

Design our system to toleratesome amount of error ^

Add positive noise margins

^

VTC: gain>1 & nonlinearity

^

Lots of gain

big noise margin

^

Cheap, small

^

Changing voltages will requireus to dissipate power, but if novoltages are changing, we’d likezero power dissipation

^

Want to build devices withuseful functionality (what sortof operations do we want toperform?)

V^ OL

VIL^

VIH

VOH

Vin Vout

Vin Vout

L03 - CMOS Technology 3

W L 2/10/

MOSFETS: Gain & non-linearity

gate

drain

source

bulk

Inter-layer SiO

insulation 2

Polysilicon wire Doped (p-type or n-type) silicon substrate

Very thin (<20Å) high-quality SiO

2

Heavily doped (n-type or p-type) diffusionsinsulating layer isolates gate from channelregion. Channel region: electric field from charges ongate locally “inverts” type of substrate to createa conducting channel between source and drain.

MOSFETs (metal-oxide-semiconductor field-effect transistors) are four-terminal voltage-controlled switches. Current flows between thediffusion terminals if the voltage on the gate terminal is large enough tocreate a conducting “channel”, otherwise the mosfet is off and thediffusion terminals are not connected.

IDS

W/L

L03 - CMOS Technology 4

6.004 – Spring 2009

2/10/

FETs as switches

CONDUCTION:If a channel exists, ahorizontal field willcause a drift currentfrom the drain to thesource.

E^ h

gate

INVERSION:A sufficiently strong vertical field will attract enoughelectrons to the surface to create a conducting n-type channel between the source and drain. The gatevoltage when the channel first forms is called the threshold voltage

-- the mosfet switch goes from “off”

to “on”.

Ev

inversionhappens here

The four terminals of a Field Effect Transistor (gate, source, drain and bulk)connect to conductors that generate a complicated set of electric fields in thechannel region which depend on the relative voltages of each terminal.

p

n^

n

source

drain

bulk

Depletion region(no carriers)forms at PNjunction. Selfinsulating!

L03 - CMOS Technology 5

2/10/

FETs come in two flavors

The use of both NFETs and PFETs – complimentary transistor types – is a keyto CMOS (complementary MOS) logic families.

p^ G^ D pn S B

G

D B^ S

G

S B D

Connect B toGND to keep PNreverse-biased(Vp < Vn); keeps Dand S insulatedfrom B

Connect B toVDD to keepPN reverse-biased

n^

D np GS B

NFET: n-type source/draindiffusions in a p-type substrate.Positive threshold voltage;inversion forms n-type channel

PFET: p-type source/draindiffusions in a n-type substrate.Negative threshold voltage;inversion forms p-type channel.

L03 - CMOS Technology 6

6.004 – Spring 2009

2/10/

CMOS Recipe

D G

S S

D

S^

D

“^

NFET Operating regions:“off”:

V< VG^

TH,NFET “on”:V

> VG

TH,NFET

S G

D

PFET Operating regions:“off”:

V> VG^

+ VDD

TH,PFET

“on”:VG

< V

+ VDD

TH,PFET

S^

D

S^

D

“^

If we follow two rules when constructing CMOS circuits then we can model thebehavior of the mosfets as simple switches:Rule #1: only use NFETs in pulldown circuits

(paths from output node to GND)

Rule #2: only use PFETs in pullup circuits

(paths from output node to V

)DD

~VDD

/^

~ -V

TH,NFET

L03 - CMOS Technology 7

2/10/

VOL

V^ IL^

VIH

CMOS Inverter VTCV^ OH

Vin

V^ out

Ipu Ipd

Steady state reachedwhen V

reaches valueout^ where I

= Ipu .pd

When V

is low, theIN nfet is off and the pfetis on, so current flowsinto the output nodeand V

eventuallyOUT reaches V

(= VDD

) atOH

which point no morecurrent will flow.

pfet “on”nfet “off”

When V

is high, theIN pfet is off and the nfetis on, so current flowsout of the output nodeand V

eventuallyOUT reaches GND (= V

) atOL

which point no morecurrent will flow.

pfet “off”nfet “on”

When VIN is in the middle, both the pfet and nfet are “on” and the shape of the VTCdepends on the details of the devices’ characteristics. CMOS gates have very high gainin this region (small changes in V

produce large changes in VIN

) and the VTC is almost aOUT

step function.

L03 - CMOS Technology 8

6.004 – Spring 2009

2/10/

Beyond Inverters:

Complementary pullups and pulldownsWe want

complementary

pullup and pulldown logic, i.e., the

pulldown should be “on” when the pullup is “off” and viceversa.

pullup

pulldown

F(A

,…,An) 1

on^

off

driven “1”

off

on^

driven “0”

on^

on^

driven “X”

off

off

no connection

Now you know what the “C”in CMOS stands for!

Since there’s plenty of capacitance on the output node, when the outputbecomes disconnected it “remembers” its previous voltage -- at leastfor a while. The “memory” is the load capacitor’s charge. Leakagecurrents will cause eventual decay of the charge (that’s why DRAMsneed to be refreshed!).

L03 - CMOS Technology 13

2/10/

A Quick Review

  • ^

A^ combinational device

is a circuit element that has

  • ^ one or more digital

inputs

  • ^ one or more digital

outputs

  • ^ a

functional specification

that details the value of each output for

every possible combination of valid input values –  a^ timing specification

consisting (at minimum) of an upper bound

ton the required time for the device to compute the specifiedPD^ output values from an arbitrary set of stable, valid input values

Staticdiscipline

If C is 1 then copy A to Y,otherwise copy B to YI will generate a validoutput in no more than 2 weeks afterseeing valid inputs

input Ainput Binput C

output Y

L03 - CMOS Technology 14

6.004 – Spring 2009

2/10/

Big Issue 1: Wires

Today (i.e., 100nm):

RC

≈ 50ps/mm

Implies > 1 ns to traverse a 20mm x 20mm chipThis is a long time in a 2GHz processor

V^ IN

R

V^ out

VIN

C

L03 - CMOS Technology 15

2/10/

Due to unavoidable delays…

Propagation delay (t

):PD

An UPPER BOUND on the delay from valid inputsto valid outputs.

GOAL:^ minimize^ propagationdelay! ISSUE:keepCapacitanceslow andtransistorsfast

V^ OUT

< tPD

< tPD

V^ IN VIH VIL VOH V^ OL

time constant^ 

= R

•CPD

L

time constant

^ = R

•CPU

L

L03 - CMOS Technology 16

6.004 – Spring 2009

2/10/

Contamination Delay^ an optional, additional timing spec

INVALID inputs take time to propagate, too...CONTAMINATION DELAY, t

CD

V^ OUT A^ LOWER BOUND on the delay from any invalid input to an invalid output

> t^ CD

> t^ CD

V^ IN V^ IH^ VIL VOH V^ OL

Do we really need t

?CD

Usually not… it’ll beimportant when wedesign circuits withregisters (comingsoon!)If tCD

is not specified, safe to assume it’s 0.

L03 - CMOS Technology 17

2/10/

The Combinational ContractA^

B^

A B0 11 0

t^ PD

propagation delay

t^ CD

contamination delay

A B

Must be ___________Must be ___________

Note:1.

No Promises

during

2. Default (conservative) spec: t

= 0CD

< t

PD

> t

CD

L03 - CMOS Technology 18

6.004 – Spring 2009

2/10/

Acyclic Combinational Circuits

If NAND gates have a t

= 4nS and tPD

= 1nSCD

B C A

Y

t^ PD

= _______ nS

t^ CD

= _______ nS

t^ PD^ is the

maximum

cumulative

propagation delay over all pathsfrom inputs to outputs

tCD^ is the

minimum

cumulative

contamination delay over allpaths from inputs to outputs

L03 - CMOS Technology 19

2/10/

Oh yeah… one last issue

Recall the rules for

combinational devices

Output guaranteed to be valid when all inputs have beenvalid for at least t

, and, outputs may become invalid noPD

earlier than t

after an input changes!CD^

A B Z

tPDtCD

A^

Z

B

A^

B^

Z

NOR:

A B Z

tPDtCD

Many gate implementations--e.g., CMOS—

adhere to even tighter restrictions.

L03 - CMOS Technology 20

6.004 – Spring 2009

2/10/

What happens in this case?

A B Z

tPDtCD

Input A alone issufficient todetermine theoutput

B A

Z

A B Z

01 X

A^

B^

Z

A^

B^

Z

NOR:

Lenient^ NOR:

LENIENT

Combinational Device:

Output guaranteed to be valid when any combination of inputssufficient to determine output value has been valid for at least t

.PD

Tolerates transitions -- and invalid levels -- on irrelevant inputs!

CMOS NOR: