• No results found

Lecture # 18 Logic Transients. Game Plan 04/07/03

N/A
N/A
Protected

Academic year: 2021

Share "Lecture # 18 Logic Transients. Game Plan 04/07/03"

Copied!
10
0
0

Loading.... (view fulltext now)

Full text

(1)

Copyright 2001, Regents of University of California

EECS 42 Introduction to Electronics for

Computer Science

Andrew R. Neureuther

Lecture # 18 Logic Transients

Handout of Mon Lecture.

A) Quiz 4/9 and Midterm 4/16 review

B) Transient as Capacitor Charging

C) Equivalent Resistance for MOS

D) Inverter Propagation Delay

E) Complementary MOS Operation

http://inst.EECS.Berkeley.EDU/~ee42/

Lecture 18: 04/0703 A.R. Neureuther Version Date 04/05/03 EECS 42 Intro. electronics for CS Spring 2003

Game Plan 04/07/03

Last Week: Static Logic: NMOS, CMOS; Graphical Solution and VTC) {All of this will be on 2ndMidterm)

Monday 4/07/03:

R Discharging Capacitors with NMOS and Eq. Resistance

R CMOS Logic and Propagation delay Wednesday 04/09/03:

R QUIZ: Digital Blocks including timing diagrams and Dependent sources including Op-Amps

R Worst Case CMOS delay, Cascade and CMOS Latch Next (11th) Week: Diodes and MOS Operation

Problem set #9: Monday 3/31 and due at 2:30 4/09 in box in 240 Cory – Static Analysis of an Inverter with simplified EE 42 Device Models

No Problem set for 4/16 as Midterm 4/16: Lectures 1-17 with

emphasis on Lectures 10-17; Review Session Monday 5:30-7PM

(2)

Copyright 2001, Regents of University of California

Version Date 04/05/03

Logical Synthesis

Guided by DeMorgan’s Theorem

DeMorgan’s Theorem :

[

A

B

C

]

C

B

A

+

+

=

or

A

+

B

+

C

=

[

A

B

C

]

Example of Using DeMorgan’s Theorem:

Thus any sum of

products

expression can

be immediately

synthesized from

NAND gates

alone

CDE

AB

E

D

C

B

A

F

=

+

=

A

B

C

D

F

E

Copyright 2001, Regents of University of California

Lecture 18: 04/0703 A.R. Neureuther Version Date 04/05/03 EECS 42 Intro. electronics for CS Spring 2003

EFFECT OF GATE DELAY

Cascade of Logic Gates

A

B

C

D

Inputs have different delays, but we ascribe a single worst-case delay τ to every gate

How many “gate delays for shortest path?

ANSWER : 2

(3)

Copyright 2001, Regents of University of California C , B , A D ) B A ( + ) (B__⋅C B

D

t

t

t

t

t

Logic state

τ

τ

τ

2

τ

2

τ

0 3

τ

τ

TIMING DIAGRAMS

Show transitions of variables vs time

A

B

C

Note that becomes valid two gate delays after B&C switch, because the invert function takes one delay and the NAND function a second.

)

(

__

B

C

No change at t = 3

τ

Note becomes valid one gate delay after B switchesB

1

0

Glitching: temporary

switching to an

incorrect value

Lecture 18: 04/0703 A.R. Neureuther Version Date 04/05/03 EECS 42 Intro. electronics for CS Spring 2003

EXAMPLE CIRCUIT: INCREASED INPUT RESISTANCE

RIN vTEST vIN + -+ -GmvIN + -vOUT = 0 RO iTEST RE vE Add resistor RE

Analysis: apply iTESTand evaluate vTEST

0

0

=

+

E TEST m IN TEST E E

i

G

R

i

R

v

R

v

TEST IN IN

R

i

v

=

v

TEST

=

R

IN

i

TEST

+

v

E KCL E IN m IN TEST TEST

R

G

R

R

i

v

)

1

(

+

+

=

Check for special case for R0 infinite

Intuitive Explanation: REputs RINon a node whose voltage

increases in response to current in R .

The output has been assumed to be shorted

Similar to the homework

(4)

Copyright 2001, Regents of University of California

Version Date 04/05/03

Composite I

OUT

vs. V

OUT

for CMOS

VDD=5 The maximum voltage is VDD VOUT(V) 0 3 IOUT(µA) 20 60 100 State 3 or VIN= 3V VOUT-SAT-D

Pull-Up PMOS IOUT-SAT-U Pull-Down NMOS IOUT-SAT-D

Solution PD current is flat (saturated) beyond VOUT-SAT-D PU current is flat (saturated) below VDD- VOUT-SAT-D

Copyright 2001, Regents of University of California

Lecture 18: 04/0703 A.R. Neureuther Version Date 04/05/03 EECS 42 Intro. electronics for CS Spring 2003

Method for Finding V

M

At V

M

,

1) V

OUT

= V

IN

= V

M

2) Both devices are in saturation

3) I

OUT-SAT-D

= I

OUT-SAT-U

(

)

(

DD IN TU

)

OUT SAT U U U SAT OUT D SAT OUT TD IN D D SAT OUT

V

V

V

V

k

I

V

V

V

k

I

− − − − − − − −

=

=

=

)

Substitute V

M

Solve for V

M

Example Result: When kD= kP, VOUT-SAT-D= VOUT-SAT-U and VTD=VTU, then VM= VDD/2

(5)

Copyright 2001, Regents of University of California

Voltage Transfer Function for the

Complementary Logic Circuit

VOUT(V) VIN(V) 0 3 5 3 5 0 State 1 for VIN= 1V State 3 for VIN= 3V State 5 for VIN = 5V

V

M VOUT= VIN

Vertical section due to zero slope of IOUTvs. VOUTin the saturation region of both devices.

VTU VTD

VOUT-SAT-D

VOUT-SAT-U PD-Off

PU-Off

Lecture 18: 04/0703 A.R. Neureuther Version Date 04/05/03 EECS 42 Intro. electronics for CS Spring 2003

Transient Gate Problem: Discharging and

Charging Capacitance on the Output

VOUT IOUT Output VIN-D VDD VIN-U p-type MOS Transistor (PMOS) n-type MOS Transistor (NMOS) VIN= VDD= 5V COUT= 50 fF 5V => 0

(6)

Copyright 2001, Regents of University of California

Version Date 04/05/03

Output Propagation Delay High to Low

VOUT(0) = 5V COUT= 50 fF IOUT-SAT-D = 100 µA VOUT(V) 0 3 5 IOUT(µA) 2 0 60 100 VIN= 5V IOUT-SAT-D= 100 µA

When V

IN

goes High V

OUT

starts decreases with time

Assume that the necessary voltage swing to cause the next

downstream gate to begin to switch is V

DD

/2 or 2.5V.

That is the propagation delay

τ

HL

for the output to go from

high to low is the time to go from V

DD

= 5V to to V

DD

/2 =2.5V

Copyright 2001, Regents of University of California

Lecture 18: 04/0703 A.R. Neureuther Version Date 04/05/03 EECS 42 Intro. electronics for CS Spring 2003

Output Propagation Delay High to Low (Cont.)

When V

OUT

> V

OUT-SAT-D

the available current is I

OUT-SAT-D

VOUT(0) = 5V COUT= 50 fF IOUT-SAT-D = 100 µA VOUT(V) 0 3 5 IOUT(µA) 2 0 60 100 VIN= 5V IOUT-SAT-D= 100 µA

The

propagation delay

is thus

ns

A

V

fF

I

V

C

I

V

C

t

D SAT OUT DD OUT D SAT OUT OUT

1

.

25

100

5

.

2

50

2

=

=

=

=

− − − −

µ

For this circuit when V

OUT

> V

OUT-SAT-D

the available current

is constant at I

OUT-SAT-D

and the capacitor discharges.

(7)

Copyright 2001, Regents of University of California

Switched Equivalent Resistance Model

The above model assumes the device is an ideal constant current source. 1) This is not true below VOUT-SAT-D and leads to in accuracies. 2) Combining ideal current sources in networks with series and parallel connections is problematic.

OUT D D SAT OUT DD OUT R C I V C t 0.69 2 = = ∆ − −

Instead define an equivalent resistance for the device by setting 0.69RDC equal to the t found above

(

)

≈ = = Ω ⋅ = − − − − k A V I V I V R D SAT OUT DD D SAT OUT DD D 37.5 100 5 4 3 4 3 69 . 0 2 µ This gives

Each device can now be replaced by this equivalent resistor.

RD

Lecture 18: 04/0703 A.R. Neureuther Version Date 04/05/03 EECS 42 Intro. electronics for CS Spring 2003

¾ V

DD

/I

SAT

Physical Interpretation

VOUT(0) = 5V COUT= 50 fF IOUT-SAT-D = 100 µA VOUT(V) 0 3 5 IOUT(µA) 2 0 60 100 VIN= 5V IOUT-SAT-D= 100 µA

¾ V

DD

is the average value of V

OUT

Approximate the NMOS device curve by a straight line

from (0,0) to (I

OUT-SAT-D

, ¾ V

DD

).

Interpret the straight line as a resistor with

slope = 1/R

=

¾ V

DD

/I

SAT

(8)

Copyright 2001, Regents of University of California

Version Date 04/05/03

Switched Equivalent Resistance Values

The resistor values depend on the properties of silicon, geometrical layout, design style and technology node.

n-type silicon has a carrier mobility that is 2 to 3 times higher than p-type.

The resistance is inversely proportion to the gate width/length in the geometrical layout.

Design styles may restrict all NMOS and PMOS to be of a predetermined fixed size.

The current per unit width of the gate increases nearly inversely with the linewidth.

For convenience in EE 42 we assume R

D

= R

U

= 10 k

Copyright 2001, Regents of University of California

Lecture 18: 04/0703 A.R. Neureuther Version Date 04/05/03 EECS 42 Intro. electronics for CS Spring 2003

Inverter Propagation Delay

t = 0.69RDCOUT= 0.69(10k)(50fF) = 345 ps Discharge (pull-down) Discharge (pull-up)t = 0.69RUCOUT= 0.69(10k)(50fF) = 345 ps VOUT VDD VIN = Vdd COUT= 50fF VOUT VDD VIN = Vdd RD COUT= 50fF

(9)

Copyright 2001, Regents of University of California

CMOS Logic Gate

A B C A B C VDD VOUT

NMOS conduct when input is high. PMOS only in pull-up

Logic is Complementary and produces F = A + (BC) NMOS and

PMOS use the same set of input signals

PMOS conduct when input is low

NMOS only in pull-down

NMOS conduct for A + (BC) PMOS do not conduct when A +(BC)

Lecture 18: 04/0703 A.R. Neureuther Version Date 04/05/03 EECS 42 Intro. electronics for CS Spring 2003

CMOS Logic Gate: Example Inputs

A B C A B C VDD VOUT

NMOS do not conduct

Logic is Complementary and produces F = 1

A = 0 B = 0

C = 0 PMOS all conduct

Output is High

(10)

Copyright 2001, Regents of University of California

Version Date 04/05/03

CMOS Logic Gate: Example Inputs

A B C A B C VDD VOUT

NMOS B and C conduct; A open

Logic is Complementary and produces F = 0

A = 0 B = 1

C = 1 PMOS A conducts; B and C Open

Output is High

= 0

Copyright 2001, Regents of University of California

Lecture 18: 04/0703 A.R. Neureuther Version Date 04/05/03 EECS 42 Intro. electronics for CS Spring 2003

Switched Equivalent Resistance Network

A B C A B C VDD VOUT A B C A B C VDD VOUT RU RU RU RD RD RD Switches close when input is high. Switches close when input is low.

References

Related documents

The electronic oil level check is displayed on the Central Information Display (CID) as well as in the instrument cluster.. On vehicles without a CID, the oil level is only

The goal of this thesis is to simulate the free flow and porous flow regions of a Polymer Electrolyte Membrane Fuel Cell (PEMFC) using a discontinuous Galerkin approach in

Lecture 1: The Lorentz Transformation Lecture 2: Velocities and 4-Vectors Lecture 3: Relativistic Laws of Motion Lecture 4: Classical Field Theory Lecture 5: Particles and

A previous online learning framework enables dynamically acquiring on-demand and spot instances from the cloud, and two open problems remain to be addressed in this framework:

• Leverage lowest cost Ethernet forwarding components Ethernet Tunnel Layer Customer Payload MPLS Service Layer L1 Header Ethernet Header.. Provider Backbone

The Earnest Money Deposit (EMD) for Rs.70,000/- (Rupees Seventy thousands only), refundable (without interest), should be necessarily kept in the sealed cover containing Technical

Estimated uncertainty levels associated with POCIS data using both, the in-situ accuracy levels and a predefined value (center). Estimated population-normalized loads

The sonnets have a different set of subjects - one set chronicles the poet's desire for a married woman with a dark complexion, known as “The Dark Lady,”