Download as pdf or txt
Download as pdf or txt
You are on page 1of 19

EE141

EECS141
EE141 Lecture #12 1

HW 4 Due Today. New HW today as well.


Final Lab next week
Project to be launched on Wednesday!
Probably is wise to be in class that day.

EECS141
EE141 Lecture #12 2

1
EE141

EECS141
EE141 Lecture #13 3

2.5

2
Wider
PMOS
1.5
Vout(V)

Symmetrical

1
Wider
NMOS

0.5

0
0 0.5 1 1.5 2 2.5
Vin (V)

EECS141
EE141 Lecture #13 4

2
EE141

2.5

2
Fast PMOS
Slow NMOS
1.5
Vout(V)

Nominal

1
Fast NMOS
Slow PMOS

0.5

0
0 0.5 1 1.5 2 2.5
Vin (V)

EECS141
EE141 Lecture #13 5

Not all transistors are alike


Impacts parameters such as reliability and performance

Define process corners: SS, FF, SF, FS

EECS141
EE141 Lecture #13 6

3
EE141

7
EECS141
EE141 Lecture #13 7

Discharging a capacitor

We modeled this with:

tp = ln (2) RC

EECS141
EE141 Lecture #13 8

4
EE141

Real transistors arent exactly resistors


Look more like current sources in saturation

Two questions:
Which region of IV curve determines delay?
How can that match up with the RC model?

EECS141
EE141 Lecture #13 9

With a step input:


VDD VDD/2 ID VGS = VDD

VDS
VVSAT VDD /2 VDD

Transistor is in (velocity) saturation during entire transition


from VDD to VDD/2

EECS141
EE141 Lecture #13 10

5
EE141

In saturation, transistor basically acts like a current source:



VOUT
VOUT
VDD
IDSAT C
VDD/2

t
tp

VOUT = VDD - (IDSAT/C)t tp = C(VDD/2)/IDSAT

EECS141
EE141 Lecture #13 11

EECS141
EE141 Lecture #13 12

6
EE141

Including output conductance:



VOUT

IDSAT 1/(IDSAT) C

For small :

EECS141
EE141 Lecture #13 13

Transistor current not linear on VOUT how is the RC


model going to work?

Look at waveforms:

Voltage looks like a


ramp for RC too

EECS141
EE141 Lecture #13 14

7
EE141

Match the delay of the RC model with the actual delay:

Often just:

Note that the book uses a different method and gets


0.75VDD/IDSAT instead of ~0.72VDD/IDSAT.

EECS141
EE141 Lecture #13 15

EECS141
EE141 Lecture #13 16

8
EE141

EECS141
EE141 Lecture #13 17

EECS141
EE141 Lecture #13 18

9
EE141

EECS141
EE141 Lecture #13 19

Capacitance models important for analysis


and intuition
But often need something simpler to work with
Simpler model:
Lump together as effective linear capacitance to
(ac) ground
In most processes: Cg = Cd = 1.5 2fFW(m)

EECS141
EE141 Lecture #13 20

10
EE141

EECS141
EE141 Lecture #13 21

As Vin increases, Vout drops


Once get into the transition region, gain
from Vin to Vout > 1

So, Cgd experiences voltage swing


larger than Vin
Which means you need to provide more
charge
Makes Cgd look larger than it really is

Known as the Miller Effect in the


analog world

EECS141
EE141 Lecture #13 22

11
EE141

Can calculate Cg, Cd based on tech. parameters


But these models are simplified too
Another approach:
Tune (e.g., in spice) the linear capacitance until it
makes the simplified circuit match the real circuit
Matching could be for delay, power, etc.

EECS141
EE141 Lecture #13 23

For gate capacitance:


Make inverter fanout 4
Adjust Cload until Delay1 = Delay2
For diffusion capacitance
Replace inverter A with a diffusion capacitance load

EECS141
EE141 Lecture #13 24

12
EE141

Why did we need that last inverter stage?

EECS141
EE141 Lecture #13 25

EECS141
EE141 Lecture #13 26

13
EE141

tpHL = 0.69 CL Reqn


tpLH = 0.69 CL Reqp

tpLH tpHL

EECS141
EE141 Lecture #13 27

EECS141
EE141 Lecture #13 28

14
EE141

Derived RC model assuming input was a step


But input is not a step
Transistor turns on gradually

Lets look at gate switching more carefully


Use our models to understand the effect of input slope

EECS141
EE141 Lecture #13 29

One way to analyze slope effect


Plug non-linear IV into diff. equation and solve
Simpler, approximate solution:
Use VT* model

EECS141
EE141 Lecture #13 30

15
EE141

For falling edge at output:


For reasonable inputs, can ignore IPMOS
Either Vds is very small, or Vgs is very small

So, output current ramp starts when Vin=VT*


Could evaluate the integral
Learn more by using an intuitive, graphical
approach

EECS141
EE141 Lecture #13 31

For reasonable input slopes:

EECS141
EE141 Lecture #13 32

16
EE141

For reasonable
input slope
Model matches
Spice very well

Model breaks with


very large tr
Input looks DC
traces out VTC
Have other problems here anyways
Short-circuit current

EECS141
EE141 Lecture #13 33

EECS141
EE141 Lecture #13 34

17
EE141

Switching power
Charging/discharging capacitors
Leakage power
Transistors are imperfect switches
Short-circuit power
Both pull-up and pull-down on during
transition
Static currents
Biasing currents, in e.g. analog, memory

EECS141
EE141 Lecture #13 35

VDD

Vin
Vout
CL

One half of the energy from the supply is


consumed in the pull-up network, one half is
stored on CL
Energy from CL is dumped during the 10
transition
EECS141
EE141 Lecture #13 36

18
EE141

Power = Energy/transition Transition rate

= CLVDD2 f01

= CLVDD2 f 01
= CswitchedVDD2 f

Power dissipation is data dependent depends


on the switching probability
Switched capacitance Cswitched = CL 01

EECS141
EE141 Lecture #13 37

Energy consumed in N cycles, EN:

EN = CL VDD2 n01

n01 number of 01 transitions in N cycles

EECS141
EE141 Lecture #13 38

19

You might also like