electrical and timing characteristics of standard logic gates (lecture #2) ece 331 – digital...

28
Electrical and Timing Characteristics of Standard Logic Gates (Lecture #2) ECE 331 – Digital System Design

Upload: austin-carter

Post on 18-Dec-2015

223 views

Category:

Documents


6 download

TRANSCRIPT

Page 1: Electrical and Timing Characteristics of Standard Logic Gates (Lecture #2) ECE 331 – Digital System Design

Electrical and Timing Characteristicsof

Standard Logic Gates

(Lecture #2)

ECE 331 – Digital System Design

Page 2: Electrical and Timing Characteristics of Standard Logic Gates (Lecture #2) ECE 331 – Digital System Design

Spring 2011 ECE 331 - Digital Systems Design 2

Standard Logic Gates

Device Logic Gate

74xx08 Quad 2-input AND gate

74xx32 Quad 2-input OR gate

74xx04 Hex Inverter (NOT gate)

74xx00 Quad 2-input NAND gate

74xx02 Quad 2-input NOR gate

74xx86 Quad 2-input XOR gate

Note: “xx” refers to the logic family

Page 3: Electrical and Timing Characteristics of Standard Logic Gates (Lecture #2) ECE 331 – Digital System Design

Spring 2011 ECE 331 - Digital Systems Design 3

Logic FamiliesTransistor Logic Family xx

Low Power L

High Speed H

Schottky S

Low Power Schottky LS

Advanced Schottky AS

Adv Low Power Schottky ALS

Fast F

High Speed HC

Advanced ACCMOS

TTL

Page 4: Electrical and Timing Characteristics of Standard Logic Gates (Lecture #2) ECE 331 – Digital System Design

Spring 2011 ECE 331 - Digital Systems Design 4

Comparison of Logic Families

Page 5: Electrical and Timing Characteristics of Standard Logic Gates (Lecture #2) ECE 331 – Digital System Design

Spring 2011 ECE 331 - Digital Systems Design 5

Example: 74LS08

(see data sheet for 74LS08)

Page 6: Electrical and Timing Characteristics of Standard Logic Gates (Lecture #2) ECE 331 – Digital System Design

Spring 2011 ECE 331 - Digital Systems Design 6

Example: 74HC08

(see data sheet for 74HC08)

Page 7: Electrical and Timing Characteristics of Standard Logic Gates (Lecture #2) ECE 331 – Digital System Design

Spring 2011 ECE 331 - Digital Systems Design 7

Basic Electrical Characteristics

Page 8: Electrical and Timing Characteristics of Standard Logic Gates (Lecture #2) ECE 331 – Digital System Design

Spring 2011 ECE 331 - Digital Systems Design 8

Logic Gates

Logic gates are the basic building blocks for (combinational and sequential) logic circuits.

They are, however, abstractions.

Page 9: Electrical and Timing Characteristics of Standard Logic Gates (Lecture #2) ECE 331 – Digital System Design

Spring 2011 ECE 331 - Digital Systems Design 9

Logic Gates

In fact, logic gates are electrical circuits.

Page 10: Electrical and Timing Characteristics of Standard Logic Gates (Lecture #2) ECE 331 – Digital System Design

Spring 2011 ECE 331 - Digital Systems Design 10

Logic Gates

As such, the logic levels must be represented using an electrical characteristic.

Most technologies use voltages to represent the logic levels.

TTL CMOS

Some, but very few, technologies use currents to represent the logic levels.

Page 11: Electrical and Timing Characteristics of Standard Logic Gates (Lecture #2) ECE 331 – Digital System Design

Spring 2011 11

Representing Logic Levels

Ideally, a single voltage value is specified for each logic level.

VDD (power) → Logic 1 GND (ground) → Logic 0

Logic 1 = high voltage

Logic 0 = low voltage

Page 12: Electrical and Timing Characteristics of Standard Logic Gates (Lecture #2) ECE 331 – Digital System Design

Spring 2011 ECE 331 - Digital Systems Design 12

Representing Logic Levels

In reality, a range of voltages is specified for each logic level.

GND

VDD

V1,MIN

V0,MAX

Logic 1

Logic 0

UndefinedThreshold voltages

Page 13: Electrical and Timing Characteristics of Standard Logic Gates (Lecture #2) ECE 331 – Digital System Design

Spring 2011 ECE 331 - Digital Systems Design 13

Representing Logic Levels

Furthermore, voltage ranges, for logic 1 and logic 0, are specified for both the input and the output of a logic gate.

They are defined in terms of four parameters VOH = output high voltage VIH = input high voltage

VOL = output low voltage VIL = input low voltage

These are specified in the data sheet for the corresponding logic gate.

They differ from one logic family to another.

Page 14: Electrical and Timing Characteristics of Standard Logic Gates (Lecture #2) ECE 331 – Digital System Design

Spring 2011 ECE 331 - Digital Systems Design 14

Representing Logic Levels

Input Output

GND

VDD

VIH

VIL

Logic 1

Logic 0

Undefined

GND

VDD

VOH

VOL

Logic 1

Logic 0

Undefined

VIH = min. volt. for Logic 1

VIL = max. volt. for Logic 0

VOH = min. volt. for Logic 1

VOL = max. volt. for Logic 0

Page 15: Electrical and Timing Characteristics of Standard Logic Gates (Lecture #2) ECE 331 – Digital System Design

Spring 2011 ECE 331 - Digital Systems Design 15

Example: 74LS08

VIH, VIL

VOH, VOL

Page 16: Electrical and Timing Characteristics of Standard Logic Gates (Lecture #2) ECE 331 – Digital System Design

Spring 2011 ECE 331 - Digital Systems Design 16

Example: 74LS32

VIH, VIL

VOH, VOL

Page 17: Electrical and Timing Characteristics of Standard Logic Gates (Lecture #2) ECE 331 – Digital System Design

Spring 2011 ECE 331 - Digital Systems Design 17

Example: 74HC32

VIH, VIL

VOH, VOL

Page 18: Electrical and Timing Characteristics of Standard Logic Gates (Lecture #2) ECE 331 – Digital System Design

Spring 2011 ECE 331 - Digital Systems Design 18

Example: 74LS04

VIH, VIL

VOH, VOL

Page 19: Electrical and Timing Characteristics of Standard Logic Gates (Lecture #2) ECE 331 – Digital System Design

Spring 2011 ECE 331 - Digital Systems Design 19

Basic Timing Characteristics

Page 20: Electrical and Timing Characteristics of Standard Logic Gates (Lecture #2) ECE 331 – Digital System Design

Spring 2011 ECE 331 - Digital Systems Design 20

Time Delay (aka. Latency)

A standard logic gate does not respond to a change on one of its inputs instantaneously.

There is, instead, a finite delay between a change on the input and a change on the output.

The propagation delay of a standard logic gate is defined for two cases:

tPLH = delay for output to change from low to high

tPHL = delay for output to change from high to low

Page 21: Electrical and Timing Characteristics of Standard Logic Gates (Lecture #2) ECE 331 – Digital System Design

Spring 2011 ECE 331 - Digital Systems Design 21

Time Delay

high-to-lowtransition

low-to-hightransition

tPHL tPLH

Page 22: Electrical and Timing Characteristics of Standard Logic Gates (Lecture #2) ECE 331 – Digital System Design

Spring 2011 ECE 331 - Digital Systems Design 22

Time Delay

The time delay (both tPLH and tPLH) for a logic gate is specified in its data sheet.

The time delay is also known as the gate delay propagation delay of the logic gate latency

Page 23: Electrical and Timing Characteristics of Standard Logic Gates (Lecture #2) ECE 331 – Digital System Design

Spring 2011 ECE 331 - Digital Systems Design 23

Example: 74LS08

tPHL, tPLH

Page 24: Electrical and Timing Characteristics of Standard Logic Gates (Lecture #2) ECE 331 – Digital System Design

Spring 2011 ECE 331 - Digital Systems Design 24

Example: 74LS32

tPHL, tPLH

Page 25: Electrical and Timing Characteristics of Standard Logic Gates (Lecture #2) ECE 331 – Digital System Design

Spring 2011 ECE 331 - Digital Systems Design 25

Example: 74HC32

tPHL, tPLH

Page 26: Electrical and Timing Characteristics of Standard Logic Gates (Lecture #2) ECE 331 – Digital System Design

Spring 2011 ECE 331 - Digital Systems Design 26

Example: 74LS04

tPHL, tPLH

Page 27: Electrical and Timing Characteristics of Standard Logic Gates (Lecture #2) ECE 331 – Digital System Design

Spring 2011 ECE 331 - Digital Systems Design 27

Time Delay The propagation delay of a logic circuit can be

determined using the time delay of the individual logic gates.

The critical path in the logic circuit must be identified. The critical path is the path with the greatest delay.

The propagation delay of a logic circuit can be used to define

When the output of the logic circuit is valid. The maximum speed of a combinational logic circuit. The maximum frequency of a sequential logic circuit.

Page 28: Electrical and Timing Characteristics of Standard Logic Gates (Lecture #2) ECE 331 – Digital System Design

Spring 2011 ECE 331 - Digital Systems Design 28

Questions?