ECE 301 Digital Electronics

Similar documents
Lecture Summary Module 1 Switching Algebra and CMOS Logic Gates

Chapter 6 DIFFERENT TYPES OF LOGIC GATES

MM74HC132 Quad 2-Input NAND Schmitt Trigger

Microcontroller Systems. ELET 3232 Topic 13: Load Analysis

Digital Circuits and Operational Characteristics

UNISONIC TECHNOLOGIES CO., LTD CD4069

Digital logic families

MM74HC132 Quad 2-Input NAND Schmitt Trigger

MM74HCU04 Hex Inverter

Lecture 11 Digital Circuits (I) THE INVERTER

MM74HC00 Quad 2-Input NAND Gate

Digital Microelectronic Circuits ( ) Terminology and Design Metrics. Lecture 2: Presented by: Adam Teman

ECE 484 VLSI Digital Circuits Fall Lecture 02: Design Metrics

Lecture 11 Circuits numériques (I) L'inverseur

Unit 1 Session - 3 TTL Parameters

Basic Characteristics of Digital ICs

VLSI Design I; A. Milenkovic 1

Noise Margin Definition

Quad 2-input AND gate

74VHCT244ATTR OCTAL BUS BUFFER WITH 3 STATE OUTPUTS (NON INVERTED)

Chapter 6 DIFFERENT TYPES OF LOGIC GATES

Lecture 12 - Digital Circuits (I) The inverter. October 20, 2005

Classification of Digital Circuits

Obsolete Product(s) - Obsolete Product(s)

Digital Electronics Part II - Circuits

74VHC08 QUAD 2-INPUT AND GATE

74VHCT00ATTR QUAD 2-INPUT NAND GATE

DO NOT COPY DO NOT COPY

Department of EECS. University of California, Berkeley. Logic gates. September 1 st 2001

74VHC174 HEX D-TYPE FLIP FLOP WITH CLEAR

Hex Schmitt trigger BU4584B / BU4584BF / BU4584BFV. Standard ICs

MM74HC04 Hex Inverter

TC74HC240AP,TC74HC240AF,TC74HC240AFW TC74HC241AP,TC74HC241AF TC74HC244AP,TC74HC244AF,TC74HC244AFW

DO NOT COPY DO NOT COPY DO NOT COPY

EE 42/100 Lecture 23: CMOS Transistors and Logic Gates. Rev A 4/15/2012 (10:39 AM) Prof. Ali M. Niknejad

74VHC14 Hex Schmitt Inverter

TC74HC14AP,TC74HC14AF

74LVX04TTR LOW VOLTAGE CMOS HEX INVERTER WITH 5V TOLERANT INPUTS

CD4069UBC Inverter Circuits

DM74LS14 Hex Inverter with Schmitt Trigger Inputs

74LVX257 LOW VOLTAGE CMOS QUAD 2 CHANNEL MULTIPLEXER (3-STATE) WITH 5V TOLERANT INPUTS

UTC UNISONIC TECHNOLOGIES CO. LTD 1 INVERTER CIRCUITS

ECE520 VLSI Design. Lecture 5: Basic CMOS Inverter. Payman Zarkesh-Ha

MM74HC14 Hex Inverting Schmitt Trigger

DM74LS132 Quad 2-Input NAND Gate with Schmitt Trigger Input

Practice Homework Problems for Module 1

Quad 2-Input NAND Gate High-Voltage Silicon-Gate CMOS

74LVQ11TTR TRIPLE 3-INPUT AND GATE

MC1488 RS-232C QUAD LINE DRIVER

M74HCT04. Hex inverter. Features. Description

ECE 3160 DIGITAL SYSTEMS LABORATORY

74LVX05 LOW VOLTAGE CMOS HEX INVERTER (OPEN DRAIN) WITH 5V TOLERANT INPUTS

74VHCT16244ATTR 16-BIT BUS BUFFER WITH 3-STATE OUTPUTS (NON INVERTED)

M74HCT02TTR QUAD 2-INPUT NOR GATE

DS MHz Two Phase MOS Clock Driver

TC74HC00AP,TC74HC00AF,TC74HC00AFN

TC74HC540AP,TC74HC540AF,TC74HC540AFW TC74HC541AP,TC74HC541AF,TC74HC541AFW

CD54HC273, CD74HC273, CD54HCT273, CD74HCT273

CD4069, CD4069-SMD Inverter Circuits

Low Power Quint 2-Input OR/NOR Gate

TC4011BP,TC4011BF,TC4011BFN,TC4011BFT

Obsolete Product(s) - Obsolete Product(s)

CD4099BC 8-Bit Addressable Latch

Lab Project #2: Small-Scale Integration Logic Circuits

74LVQ280 9 BIT PARITY GENERATOR

TC74AC00P,TC74AC00F,TC74AC00FN,TC74AC00FT

4-bit counter circa bit counter circa 1990

TC74AC14P,TC74AC14F,TC74AC14FN,TC74AC14FT

Obsolete Product(s) - Obsolete Product(s)

Obsolete Product(s) - Obsolete Product(s)

DM74LS126A Quad 3-STATE Buffer

IC Logic Families. Wen-Hung Liao, Ph.D. 5/16/2001

74VHC20 DUAL 4-INPUT NAND GATE

USB1T11A Universal Serial Bus Transceiver

Obsolete Product(s) - Obsolete Product(s)

Quad 2-input NAND Schmitt trigger

Obsolete Product(s) - Obsolete Product(s)

TC74AC367P,TC74AC367F,TC74AC367FN,TC74AC367FT

CD4047BC Low Power Monostable/Astable Multivibrator

74LVX132TTR LOW VOLTAGE CMOS QUAD 2-INPUT SCHMITT NAND GATE WITH 5V TOLERANT INPUTS

M74HC51TTR DUAL 2 WIDE 2 INPUT AND/OR INVERT GATE

74F3038 Quad 2-input NAND 30 Ω line driver (open collector)

M74HC10TTR TRIPLE 3-INPUT NAND GATE

Obsolete Product(s) - Obsolete Product(s)

MM74HC86 Quad 2-Input Exclusive OR Gate

DIGITAL ELECTRONICS. Digital Electronics - B1 28/04/ DDC Storey 1. Group B: Digital circuits and devices

TC74AC04P, TC74AC04F, TC74AC04FT

MM74HC Stage Binary Counter

74VHC132 QUAD 2-INPUT SCHMITT NAND GATE

The entire range of digital ICs is fabricated using either bipolar devices or MOS devices or a combination of the two. Bipolar Family DIODE LOGIC

DM74ALS14 Hex Inverter with Schmitt Trigger Inputs

I. Digital Integrated Circuits - Logic Concepts

INTEGRATED CIRCUITS. 74LVC00A Quad 2-input NAND gate. Product specification Supersedes data of 1997 Aug 11 IC24 Data Handbook.

74LVC244ATTR LOW VOLTAGE CMOS QUAD BUS BUFFERS (3-STATE) HIGH PERFORMANCE

TC74VHC32F,TC74VHC32FN,TC74VHC32FT,TC74VHC32FK

CD4724BC 8-Bit Addressable Latch

TC74VHC14F,TC74VHC14FN,TC74VHC14FT,TC74VHC14FK

FAMILIARIZATION WITH DIGITAL PULSE AND MEASUREMENTS OF THE TRANSIENT TIMES

74LCX244TTR LOW VOLTAGE CMOS OCTAL BUS BUFFER (3-STATE) WITH 5V TOLERANT INPUTS AND OUTPUTS

TC74AC05P,TC74AC05F,TC74AC05FN

Transcription:

ECE 301 Digital Electronics Constraints in Logic Circuit Design (Lecture #14) The slides included herein were taken from the materials accompanying Fundamentals of Logic Design, 6 th Edition, by Roth and Kinney, and were used with permission from Cengage Learning.

Logic Circuits Thus far, we have focused on the design of logic circuits in terms of their logical behavior only. When designing a logic circuit, we must also consider several real-world constraints, including: Noise Fan-out Fan-in Power consumption Time delay Transient behavior Spring 2011 ECE 301 - Digital Electronics 2

Representing Logic Levels A voltage range is specified for each logic level. VDD Logic 1 V 1,MIN Threshold voltages Undefined V 0,MAX GND Logic 0 Spring 2011 ECE 301 - Digital Electronics 3

Noise and Noise Margin Spring 2011 ECE 301 - Digital Electronics 4

Noise External noise sources can cause the logic gate output voltages to deviate from their expected values. noise V OH V IH V OL V IL As a result, the voltages may be misinterpretted. An output low voltage not interpreted as a logic 0 An output high voltage not interpreted as a logic 1 Spring 2011 ECE 301 - Digital Electronics 5

Noise Margin Must select logic gates to allow the logic circuit to function properly even in the presence of noise. The noise margin is the amount of noise that the logic circuit can withstand while still functioning properly. It is a measure of the noise immunity provided by the logic circuit. The noise margin is defined for both logic 1 and logic 0 NM H = V OH V IH High noise margin NM L = V IL V OL Low noise margin Spring 2011 ECE 301 - Digital Electronics 6

Noise Margin VDD Logic 1 VDD V OH Logic 1 VDD V OH NM H V IH Undef Undef V IH V IL GND Logic 0 V OL GND Logic 0 V IL V OL GND NM L Input Output Noise Margin Spring 2011 ECE 301 - Digital Electronics 7

Noise Margin The noise margin must be positive, for both logic 1 and logic 0, for the circuit to function properly. V OH (driver) > V IH (load) V OL (driver) < V IL (load) A negative noise margin implies that the voltage output by the driving gate will not be interpreted properly by the load gate(s). V OH V OH + noise Driver V OL V OL + noise Load Spring 2011 ECE 301 - Digital Electronics 8

Example: Noise Margin Calculate NM H and NM L when a 74LS08 drives a 74LS32. Spring 2011 ECE 301 - Digital Electronics 9

Example: Noise Margin V OH, V OL Spring 2011 ECE 301 - Digital Electronics 10

Example: Noise Margin V IH, V IL Spring 2011 ECE 301 - Digital Electronics 11

Example: Noise Margin Gate V OH V OL V IH V IL NM H NM L LS08 2.7V 0.4V 0.7V 0.4V LS32 2.0V 0.8V LS08 HC32 HC32 LS08 Spring 2011 ECE 301 - Digital Electronics 12

Example: Noise Margin Calculate NM H and NM L when a 74HC32 drives a 74LS08. Spring 2011 ECE 301 - Digital Electronics 13

Example: Noise Margin 74HC32 V OH, V OL Spring 2011 ECE 301 - Digital Electronics 14

Example: Noise Margin V IH, V IL Spring 2011 ECE 301 - Digital Electronics 15

Example: Noise Margin Gate V OH V OL V IH V IL NM H NM L LS08 LS32 LS08 HC32 HC32 4.18V 0.26V 2.18V 0.54V LS08 2.0V 0.8V Spring 2011 ECE 301 - Digital Electronics 16

Example: Noise Margin Calculate NM H and NM L when a 74LS08 drives a 74HC32. Spring 2011 ECE 301 - Digital Electronics 17

Example: Noise Margin V OH, V OL Spring 2011 ECE 301 - Digital Electronics 18

Example: Noise Margin 74HC32 V IH, V IL Spring 2011 ECE 301 - Digital Electronics 19

Example: Noise Margin Gate V OH V OL V IH V IL NM H NM L LS08 LS32 LS08 2.7V 0.4V - 0.45V 0.95 HC32 3.15V 1.35V HC32 LS08 Spring 2011 ECE 301 - Digital Electronics 20

Example: Noise Margin Gate V OH V OL V IH V IL NM H NM L LS08 2.7V 0.4V 0.7V 0.4V LS32 2.0V 0.8V LS08 2.7V 0.4V - 0.45V 0.95 HC32 3.15V 1.35V HC32 4.18V 0.26V 2.18V 0.54V LS08 2.0V 0.8V Spring 2011 ECE 301 - Digital Electronics 21

Fan-out Spring 2011 ECE 301 - Digital Electronics 22

Fan-out To the input of n logic gates Fan-out is the number of logic gate inputs that can be properly driven by a single logic gate output. Spring 2011 ECE 301 - Digital Electronics 23

Fan-out Logic gates can sink and source a limited amount of current, both at the input and the output. These currents are defined in terms of four parameters I OH = output high current I IH = input high current I OL = output low current I IL = input low current These are specified in the data sheet for the corresponding logic gate. They differ from one logic family to another. Spring 2011 ECE 301 - Digital Electronics 24

Fan-out Fan-out is limited by the output current of the driving gate and the input current of the load gates. Fan-out is calculated, simply, as the ratio of the output current (of the driving gate) to the total input current (of the load gates). It must be calculated for both the logic 1 output (highstate) and the logic 0 output (low-state). Both must be considered when designing a logic circuit. Select the worst-case as the limit. Spring 2011 ECE 301 - Digital Electronics 25

Fan-out Low-state Fan-out = Floor[ I OL_max (driver) / I IL_max (load) ] High-state Fan-out = Floor[ I OH_max (driver) / I IH_max (load) ] Spring 2011 ECE 301 - Digital Electronics 26

Example: Fan-out Calculate the fan-out when a 74LS08 drives one or more 74LS32. Spring 2011 ECE 301 - Digital Electronics 27

Example: Fan-out I OH, I OL Spring 2011 ECE 301 - Digital Electronics 28

Example: Fan-out I IH, I IL Spring 2011 ECE 301 - Digital Electronics 29

Example: Noise Margin Gate I OH I OL I IH I IL FO H FO L LS08 0.4 ma 8 ma 20 22.2 LS32 20 µa 0.36 ma LS08 HC32 HC32 LS08 Spring 2011 ECE 301 - Digital Electronics 30

Example: Fan-out Calculate the fan-out when a 74HC32 drives one or more 74LS08. Spring 2011 ECE 301 - Digital Electronics 31

Example: Fan-out 74HC32 I OH, I OL Spring 2011 ECE 301 - Digital Electronics 32

Example: Fan-out I IH, I IL Spring 2011 ECE 301 - Digital Electronics 33

Example: Noise Margin Gate I OH I OL I IH I IL FO H FO L LS08 LS32 LS08 HC32 HC32 4.0 ma 4.0 ma 200 11.1 LS08 20 µa 0.36 ma Spring 2011 ECE 301 - Digital Electronics 34

Example: Fan-out Calculate the fan-out when a 74LS08 drives one or more 74HC32. Spring 2011 ECE 301 - Digital Electronics 35

Example: Fan-out I OH, I OL Spring 2011 ECE 301 - Digital Electronics 36

Example: Fan-out 74HC32 I IH, I IL Spring 2011 ECE 301 - Digital Electronics 37

Example: Noise Margin Gate I OH I OL I IH I IL FO H FO L LS08 LS32 LS08 0.4 ma 8 ma 400 8000 HC32 1 µa 1 µa HC32 LS08 Spring 2011 ECE 301 - Digital Electronics 38

Example: Noise Margin Gate I OH I OL I IH I IL FO H FO L LS08 0.4 ma 8 ma 20 22.2 LS32 20 µa 0.36 ma LS08 0.4 ma 8 ma 400 8000 HC32 1 µa 1 µa HC32 4.0 ma 4.0 ma 200 11.1 LS08 20 µa 0.36 ma Spring 2011 ECE 301 - Digital Electronics 39

Fan-out Exceeding fan-out limit leads to Increase in output-low voltage (V OL ) And possibly the wrong logic state Decrease in output-high voltage (V OH ) And possibly the wrong logic state Increase in temperature And possible destruction of the circuit / device Increase in propagation delay Spring 2011 ECE 301 - Digital Electronics 40

Effect of Fan-out on Gate Delay V f for n = 1 V DD V f for n = 4 Gnd 0 Time (c) Propagation times for different values of n Spring 2011 ECE 301 - Digital Electronics 41

Electrical Constraints Devices in the same logic family have the same electrical characteristics. Devices in different logic families often have different electrical characteristics. In order to interconnect devices of different logic families: Must consider the noise margin voltage constraint Must consider the fan-out current constraint Spring 2011 ECE 301 - Digital Electronics 42

Fan-in Spring 2011 ECE 301 - Digital Electronics 43

Fan-in Fan-in is the number of inputs to a logic gate. It is limited by Silicon area Input capacitance Thus, when designing a logic circuit, we must consider the practical limit on the fan-in of the logic gates. Cannot assume that an n-input logic gate is available where n is large. Spring 2011 ECE 301 - Digital Electronics 44

Fan-in As we have already seen, A SOP expression is most easily realized using a two-level AND-OR circuit A POS expression is most easily realized using a two-level OR-AND circuit However, if the logic circuit requires logic gates that exceed the fan-in limit, an alternate design will be necessary. Manipulate the Boolean expression Realize using a multiple-level circuit Spring 2011 ECE 301 - Digital Electronics 45

Example: Fan-in Design a combinational logic circuit using 3-input NOR gates only, for the following logic function: F(A,B,C,D) = Π M(1, 2, 6, 7, 11, 12, 13) Spring 2011 ECE 301 - Digital Electronics 46

Example: Fan-in F = [b + d + (a + c)(a + c )][a + c + b d][a + b + c] Spring 2011 ECE 301 - Digital Electronics 47

Questions? Spring 2011 ECE 301 - Digital Electronics 48