+ All Categories
Home > Documents > EE365 Adv. Digital Circuit Design Clarkson University Lecture #4 Transistor Level Logic CMOS vs....

EE365 Adv. Digital Circuit Design Clarkson University Lecture #4 Transistor Level Logic CMOS vs....

Date post: 20-Dec-2015
Category:
View: 223 times
Download: 2 times
Share this document with a friend
Popular Tags:
40
EE365 Adv. Digital Circuit Design Clarkson University Lecture #4 Transistor Level Logic CMOS vs. TTL
Transcript
Page 1: EE365 Adv. Digital Circuit Design Clarkson University Lecture #4 Transistor Level Logic CMOS vs. TTL.

EE365Adv. Digital Circuit Design

Clarkson University

Lecture #4

Transistor Level Logic

CMOS vs. TTL

Page 2: EE365 Adv. Digital Circuit Design Clarkson University Lecture #4 Transistor Level Logic CMOS vs. TTL.

Topics

• CMOS Logic Devices

• Bipolar Logic Devices

Rissacher EE365Lect #4

Page 3: EE365 Adv. Digital Circuit Design Clarkson University Lecture #4 Transistor Level Logic CMOS vs. TTL.

MOS Transistors

NMOS

PMOS

Voltage-controlled resistance

Rissacher EE365Lect #4

Page 4: EE365 Adv. Digital Circuit Design Clarkson University Lecture #4 Transistor Level Logic CMOS vs. TTL.

Switch Model

Rissacher EE365Lect #4

Page 5: EE365 Adv. Digital Circuit Design Clarkson University Lecture #4 Transistor Level Logic CMOS vs. TTL.

CMOS Inverter

Rissacher EE365Lect #4

Page 6: EE365 Adv. Digital Circuit Design Clarkson University Lecture #4 Transistor Level Logic CMOS vs. TTL.

Alternate transistor symbols

Rissacher EE365Lect #4

Page 7: EE365 Adv. Digital Circuit Design Clarkson University Lecture #4 Transistor Level Logic CMOS vs. TTL.

CMOS Gate Characteristics • No DC current flow into MOS gate terminal

– However gate has capacitance ==> current required for switching (CV2f power)

• No current in output structure, except during switching– Both transistors partially on– Power consumption related

to frequency– Slow input-signal rise times

==> more power• Symmetric output structure

==> equally strong drive in LOW and HIGH states

Rissacher EE365Lect #4

Page 8: EE365 Adv. Digital Circuit Design Clarkson University Lecture #4 Transistor Level Logic CMOS vs. TTL.

CMOS Gate Operation• Java applet showing CMOS gates

– visit:

tech-www.informatik.uni-hamburg.de/applets/cmos/

– illustrates gate operation, including power drain during switching

– Link is on class website

Rissacher EE365Lect #4

Page 9: EE365 Adv. Digital Circuit Design Clarkson University Lecture #4 Transistor Level Logic CMOS vs. TTL.

Pull-up / Pull-down Model• Typical CMOS gate can be viewed as

consisting of two parts– pull-up network and pull-down network

VDD

ABC

Pull-up

GND

output

ABC

Pull-down

Rissacher EE365Lect #4

Page 10: EE365 Adv. Digital Circuit Design Clarkson University Lecture #4 Transistor Level Logic CMOS vs. TTL.

Pull-up / Pull-down Model

• High level inputs to the PDN cause switches to close

• If there is a closed switch path thru PDN, then output is low

• Low level inputs to the PUN cause switches to close

• If there is a closed switch path thru PUN, then output is high

Rissacher EE365Lect #4

Page 11: EE365 Adv. Digital Circuit Design Clarkson University Lecture #4 Transistor Level Logic CMOS vs. TTL.

Pull-up / Pull-down Model

A

B C

A and ( B or C)

Since hign level signals on the inputs cause the PDN toclose switches, we get aBoolean expression for theinput which creates a closedpath thru PDN

If a closed path exists in PDN, then the output is pulled low.Thus the logic function realized is the complement (inverted)version of the Boolean expression.

GND

output

ABC

Pull-down

not (A and ( B or C))

Rissacher EE365Lect #4

Page 12: EE365 Adv. Digital Circuit Design Clarkson University Lecture #4 Transistor Level Logic CMOS vs. TTL.

What happens when the Boolean expression is false?

Since there is no path thru PDN, the output could float.

In order to make the output high, the PUN must have a path which connects VDD to the output.

Observe: take the expression for PDN and use DeMorgans Law to write it in terms of complemented input variables. Complemented variables are true when the input level is low. Thus, this gives exactly the form of the PUN

In this case: not A or ( not B and not C)

Pull-up / Pull-down Model

Vdd

B

C

A

Rissacher EE365Lect #4

Page 13: EE365 Adv. Digital Circuit Design Clarkson University Lecture #4 Transistor Level Logic CMOS vs. TTL.

CMOS NAND Gates• Use 2n transistors for n-input gate

Rissacher EE365Lect #4

Page 14: EE365 Adv. Digital Circuit Design Clarkson University Lecture #4 Transistor Level Logic CMOS vs. TTL.

CMOS NAND -- switch model

Rissacher EE365Lect #4

Page 15: EE365 Adv. Digital Circuit Design Clarkson University Lecture #4 Transistor Level Logic CMOS vs. TTL.

CMOS NAND -- more inputs (3)

Rissacher EE365Lect #4

Page 16: EE365 Adv. Digital Circuit Design Clarkson University Lecture #4 Transistor Level Logic CMOS vs. TTL.

CMOS – non-inverting buffer

Rissacher EE365Lect #4

Page 17: EE365 Adv. Digital Circuit Design Clarkson University Lecture #4 Transistor Level Logic CMOS vs. TTL.

CMOS – 2-input AND gate

• Note the number of transistors compared to NAND (6 vs. 4)

Rissacher EE365Lect #4

Page 18: EE365 Adv. Digital Circuit Design Clarkson University Lecture #4 Transistor Level Logic CMOS vs. TTL.

In-Class Practice Problem

• Design a CMOS NOR circuit

• Hint: Like NAND shown earlier, NOR circuits have 2n transistors for n-input gate (this one has 4)

Rissacher EE365Lect #4

Page 19: EE365 Adv. Digital Circuit Design Clarkson University Lecture #4 Transistor Level Logic CMOS vs. TTL.

CMOS NOR Gates

• Like NAND -- 2n transistors for n-input gate

Rissacher EE365Lect #4

Page 20: EE365 Adv. Digital Circuit Design Clarkson University Lecture #4 Transistor Level Logic CMOS vs. TTL.

NAND vs. NOR• NMOS has lower “on” resistance than PMOS

(important when multiple transistors are in series)NAND NOR

• Result: NAND gates are preferred in CMOS due to speed

Rissacher EE365Lect #4

Page 21: EE365 Adv. Digital Circuit Design Clarkson University Lecture #4 Transistor Level Logic CMOS vs. TTL.

Cascade Structure for Large Inputs

• 8-input CMOS NAND

Rissacher EE365Lect #4

Page 22: EE365 Adv. Digital Circuit Design Clarkson University Lecture #4 Transistor Level Logic CMOS vs. TTL.

Complex Logic Functions

• CMOS AND-OR-INVERT gate

Rissacher EE365Lect #4

Page 23: EE365 Adv. Digital Circuit Design Clarkson University Lecture #4 Transistor Level Logic CMOS vs. TTL.

Tri-State

• We lied - “binary” outputs have more than two values

• Some gates are designed to have a third value - a high impedance

• Effectively disconnects the gate output from the circuit

Rissacher EE365Lect #4

Page 24: EE365 Adv. Digital Circuit Design Clarkson University Lecture #4 Transistor Level Logic CMOS vs. TTL.

Tri-State Application

A FEn

If EN = 1, then F = A'if En = 0, then F is open circuited,

denoted Hi-Z B

AEn_ A

En_ A * A' + En_A' * B '

Rissacher EE365Lect #4

Page 25: EE365 Adv. Digital Circuit Design Clarkson University Lecture #4 Transistor Level Logic CMOS vs. TTL.

Open Drain

• Device without the internal active pull-up network on the output

• Why ?– Allows for two or more outputs to be

connected together– Produces a “wired” AND function

• Requires a pull-up resistor

Rissacher EE365Lect #4

Page 26: EE365 Adv. Digital Circuit Design Clarkson University Lecture #4 Transistor Level Logic CMOS vs. TTL.

Open Drain Application

+ 5 v

A

FEDCB (AB)' (CD)' (EF)'

=[AB + CD + EF] '

Rissacher EE365Lect #4

Page 27: EE365 Adv. Digital Circuit Design Clarkson University Lecture #4 Transistor Level Logic CMOS vs. TTL.

CMOS Families

• 4000 series - mostly obsolete

• HC

• HCT (input levels compatible with TTL)

• AC

• ACT (input levels compatible with TTL)

• FCT and FCT-T (both TTL compatible)

Rissacher EE365Lect #4

Page 28: EE365 Adv. Digital Circuit Design Clarkson University Lecture #4 Transistor Level Logic CMOS vs. TTL.

Bipolar Logic Families

Rissacher EE365Lect #4

Page 29: EE365 Adv. Digital Circuit Design Clarkson University Lecture #4 Transistor Level Logic CMOS vs. TTL.

TTL Digital Circuits

• Designed using “transistor-transistor logic” (remember EE341 ?)– npn bipolar junction transistors

• Transistors operate in either– cut-off mode

• no base current => no collector current

– saturated mode• base current pulls VCE to ~ 0.2 v

Rissacher EE365Lect #4

Page 30: EE365 Adv. Digital Circuit Design Clarkson University Lecture #4 Transistor Level Logic CMOS vs. TTL.

A Simplified TTL NAND Gate+ 5 V

AB

Vout

Rissacher EE365Lect #4

Page 31: EE365 Adv. Digital Circuit Design Clarkson University Lecture #4 Transistor Level Logic CMOS vs. TTL.

Schottky Transistors

• Addition of Schottky diodes between base and collector prevent saturation

• Schottky diode has lower forward bias voltage drop (0.25 v).

• Resulting design is called a Schottky transistor

• Speeds switching time by reducing charge storage in saturation

Rissacher EE365Lect #4

Page 32: EE365 Adv. Digital Circuit Design Clarkson University Lecture #4 Transistor Level Logic CMOS vs. TTL.

TTL NAND Gate

Rissacher EE365Lect #4

Page 33: EE365 Adv. Digital Circuit Design Clarkson University Lecture #4 Transistor Level Logic CMOS vs. TTL.

Special TTL outputs

• Standard output stage is called “totem pole” output

• Tri-state outputs

• Open collector (or CMOS open drain)– requires external pull-up resistor– allows wired-AND function

Rissacher EE365Lect #4

Page 34: EE365 Adv. Digital Circuit Design Clarkson University Lecture #4 Transistor Level Logic CMOS vs. TTL.

TTL differences from CMOS• Asymmetric input and output characteristics.• Inputs source significant current in the LOW

state, leakage current in the HIGH state.• Output can handle much more current in the

LOW state (saturated transistor).• Output can source only limited current in the

HIGH state (resistor plus partially-on transistor).

• TTL has difficulty driving “pure” CMOS inputs because VOH = 2.4 V (except “T” CMOS).

Rissacher EE365Lect #4

Page 35: EE365 Adv. Digital Circuit Design Clarkson University Lecture #4 Transistor Level Logic CMOS vs. TTL.

TTL Families

• 7400 series (5400 “mil spec”)

• 74 S - Schottky

• 74 LS - low power Schottky

• 74 AS - advanced Schottky

• 74 ALS - advanced low power Schottky

• 74 F - Fast TTL

Rissacher EE365Lect #4

Page 36: EE365 Adv. Digital Circuit Design Clarkson University Lecture #4 Transistor Level Logic CMOS vs. TTL.

9/10/98

TI’s Logic Products

Rissacher EE365Lect #4

Page 37: EE365 Adv. Digital Circuit Design Clarkson University Lecture #4 Transistor Level Logic CMOS vs. TTL.

Comparison of Signal LevelsCMOS

(HC, AC)

0 v

5 v

TTL (S, LS, AL, ALS, F)

0 v

5 v

CMOS (HCT, ACT)

0 v

5 v

0.5 v

1.5 v

3.5 v

4.4 v

VOL

VIL

VIH

VOH

VOL VOL

VIL VIL

VIH VIH

VOH VOH

0.4 v0.8 v

2.0 v

2.4 v

0.4 v0.8 v

2.0 v

2.4 v

Rissacher EE365Lect #4

Page 38: EE365 Adv. Digital Circuit Design Clarkson University Lecture #4 Transistor Level Logic CMOS vs. TTL.

Another Practice Problem

Rissacher EE365Lect #4

A

B

C

D

• Attempt to draw a truth table for the following circuit. Hint: List each transistor in the truth table and show whether it is on of off for each input combination

Page 39: EE365 Adv. Digital Circuit Design Clarkson University Lecture #4 Transistor Level Logic CMOS vs. TTL.

Another Practice Problem

Rissacher EE365Lect #4

ZHHHHHLLLHLLLHLLL

• OR-AND-INVERT

Page 40: EE365 Adv. Digital Circuit Design Clarkson University Lecture #4 Transistor Level Logic CMOS vs. TTL.

Next Classes

• Memorial Day – NO CLASS !

• Tues. - Help Day for Project #

• Wed. – Class Postponed

• Thur. - Electrical Behavior, Power & Timing


Recommended