Digital Fundamentals CHAPTER 3 Logic Gates.

Slides:



Advertisements
Similar presentations
Chapter 3 Logic Gates.
Advertisements

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals with PLD Programming.
CT455: Computer Organization Logic gate
Programmable Logic Controllers.
Chapter 3 (part 1) Basic Logic Gates 1.
Figure 3–1 Standard logic symbols for the inverter (ANSI/IEEE Std
Floyd Digital Fundamentals, 9/e Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved. Slide 1 Digital Fundamentals.
ECE 3110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices XOR, Parity Circuits, Comparators.
Programmable Logic Controllers
Chapter 3 Basic Logic Gates 1.
Chapter 3 Basic Logic Gates
CHAPTER 1 Digital Concepts
Chapter 4 Gates and Circuits.
Floyd Digital Fundamentals, 9/e Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved. Slide 1 The Digital.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
ECE 331 – Digital System Design Basic Logic Functions, Truth Tables, and Standard Logic Gates.
UNIT-V PART-II Combinational Circuits using TTL 74XX ICs.
In this module you will learn: What the various logic gates do. How to represent logic gates on a circuit diagram. The truth tables for the logic gates.

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals with PLD Programming.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
Logical Circuit Design Week 5: Combinational Logic Circuits Mentor Hamiti, MSc Office ,
Memory and Programmable Logic Dr. Ashraf Armoush © 2010 Dr. Ashraf Armoush.
Company LOGO DKT 122/3 DIGITAL SYSTEM 1 WEEK #7 COMBINATIONAL LOGIC ANALYSIS.
Memory and Programmable Logic Memory device: Device to which binary information is transferred for storage, and from which information is available for.
Digital Logic Design Week 3
Basic Logic Operations and Standard Logic Gates (Lecture #1) ECE 331 – Digital System Design.
Chapter 3 (part 2) Basic Logic Gates 1.
LOGIC GATES.
Logic Gates Shashidhara H S Dept. of ISE MSRIT. Basic Logic Design and Boolean Algebra GATES = basic digital building blocks which correspond to and perform.
Chapter 3 Basic Logic Gates William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River,
Sneha.  Gates Gates  Characteristics of gates Characteristics of gates  Basic Gates Basic Gates  AND Gate AND Gate  OR gate OR gate  NOT gate NOT.
Logic Gates Chapter 6 Subject: Digital System Year: 2009.
4. Computer Maths and Logic 4.2 Boolean Logic Logic Circuits.
CHAPTER 1 : INTRODUCTION
Logic Gates By Taweesak Reungpeerakul
Logic Gates. The Inverter The inverter (NOT circuit) performs the operation called inversion or complementation. Standard logic symbols: 1 1 input output.
CHAPTER 1 INTRODUCTION TO DIGITAL LOGIC
Digital Fundamentals Floyd Chapter 3 Tenth Edition
Floyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd Chapter 5 © 2008 Pearson Education.
COMPUTER ARCHITECTURE TRUTH TABLES AND LOGIC GATES.
Logic Gates. A logic gate is an elementary building block of a digital circuit. Most logic gates have two inputs and one output. At any given moment,
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
CH31 Chapter 3 Logic Gates By Taweesak Reungpeerakul.
Programmable logic devices. CS Digital LogicProgrammable Logic Device2 Outline PLAs PALs ROMs.
CHAPTER 5 Combinational Logic Analysis
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
The inverter performs the Boolean NOT operation. When the input is LOW, the output is HIGH; when the input is HIGH, the output is LOW. The Inverter AX.
Combinational Logic Analysis. Basic Combinational Logic Circuits AND-OR logic AND-OR logic AND-OR logic produces an SOP expression. AND-OR logic produces.
Chapter 33 Basic Logic Gates. Objectives After completing this chapter, you will be able to: –Identify and explain the function of the basic logic gates.
Copyright ©2009 by Pearson Higher Education, Inc. Upper Saddle River, New Jersey All rights reserved. Digital Fundamentals, Tenth Edition Thomas.
LOGIC GATES. INTRODUCTION TO LOGIC GATES Boolean functions may be practically implemented by using electronic gates. The following points are important.
Chapter 5 Combinational Logic 组合逻辑
Digital Fundamentals Floyd Chapter 3 Tenth Edition
Engr. Micaela Renee Bernardo
EI205 Lecture 3 Dianguang Ma Fall, 2008.
Digital Fundamentals Floyd Chapter 3 Tenth Edition
ECE 331 – Digital System Design
EI205 Lecture 5 Dianguang Ma Fall 2008.
Digital Signals Digital Signals have two basic states:
Principles & Applications
ECE 434 Advanced Digital System L03
Digital Logic & Design Lecture 05
Digital Fundamentals Floyd Chapter 3 Tenth Edition
EET 1131 Unit 3 Basic Logic Gates
XOR Function Logic Symbol  Description  Truth Table 
Department of Electronics
Presentation transcript:

Digital Fundamentals CHAPTER 3 Logic Gates

Inverter AND Gate OR Gate Exclusive-OR Gate NAND Gate NOR Gate Logic Gates Inverter AND Gate OR Gate Exclusive-OR Gate NAND Gate NOR Gate Exclusive-NOR Gate

The Inverter

The Inverter Boolean expression Truth table 0 = LOW 1 = HIGH Pulsed waveforms The output of an inverter is always the complement (opposite) of the input.

Figure 3–2 Inverter operation with a pulse input Figure 3–2 Inverter operation with a pulse input. Open file F03-02 to verify inverter operation.

Figure 3–4 What is the output waveform?

Figure 3–6 The inverter complements an input variable.

Figure 3–7 Example of a 1’s complement circuit using inverters.

The AND Gate

The AND Gate Same as Boolean multiplication Boolean expression Truth table 0 = LOW 1 = HIGH Pulsed waveforms Same as Boolean multiplication The output of an AND gate is HIGH only when all inputs are HIGH.

The AND Gate 3-Input AND Gate 4-Input AND Gate

Total number of possible combinations of binary inputs N = 2n Truth Tables Total number of possible combinations of binary inputs N = 2n For two input variables: N = 22 = 4 combinations For three input variables: N = 23 = 8 combinations For four input variables: N = 24 = 16 combinations

Figure 3–16 A simple seat belt alarm circuit using an AND gate. If all three inputs are high, then the output is high and the alarm is activated. If (Ignition switch = ON) AND (Seat belt = Unbuckled) AND (Timer = ON) then Activate Alarm End If

The OR Gate

The OR Gate Same as Boolean addition, except no carry Boolean expression Truth table 0 = LOW 1 = HIGH Pulsed waveforms Same as Boolean addition, except no carry The output of an OR gate is HIGH whenever one or more inputs are HIGH

The OR Gate 3-Input OR Gate 4-Input OR Gate

Figure 3–24 A simplified intrusion detection system using an OR gate. Front Door Back Door Window If any of the three inputs are high, then the output is high and the alarm is activated. If (Front Door = Open) OR (Back Door = Open) OR (Window = Open) then Activate Alarm End If

The NAND Gate

The NAND Gate Boolean expression Truth table 0 = LOW 1 = HIGH Pulsed waveforms The output of a NAND gate is HIGH whenever one or more inputs are LOW.

Figure 3–29 Standard symbols representing the two equivalent operations of a NAND gate. X = AB = A + B X = A + B = AB

The NAND Gate 3-Input NAND Gate 4-Input NAND Gate

The NOR Gate

The NOR Gate NOR is equivalent to NOT/OR Boolean expression Truth table 0 = LOW 1 = HIGH Pulsed waveforms The output of a NOR gate is LOW whenever one or more inputs are HIGH.

The NOR Gate 3-Input NOR Gate 4-Input NOR Gate

Figure 3–37 Standard symbols representing the two equivalent operations of a NOR gate. X = A + B = A B X = A B = A + B

Exclusive-OR and Exclusive-NOR Gates

Exclusive-OR Gate Boolean expression Truth table 0 = LOW 1 = HIGH Pulsed waveforms The output of an XOR gate is HIGH whenever the two inputs are different.

Exclusive-NOR Gate Boolean expression Truth table 0 = LOW 1 = HIGH Pulsed waveforms The output of an XNOR gate is HIGH whenever the two inputs are identical.

Figure 3–48 An XOR gate used to add two bits.

Review of Basic Logic Gates Inverter AND Gate OR Gate Exclusive-OR Gate NAND Gate NOR Gate Exclusive-NOR Gate

Programmable Logic

Programmable AND array Programmable link technology Device programming Programmable Logic Programmable AND array Programmable link technology Device programming In-system programming (ISP)

Programmable AND array Programmable Logic Programmable AND array For each input, only one link is left intact. All other connections are broken.

Show the AND array for the following outputs: Example 3-21 Show the AND array for the following outputs: X1 = A B X2 = A B X3 = A B

Programmable Logic Programmable link technology Fuse technology Fuse is permanently open Anti-fuse technology Anti-fuse is permanently closed EPROM technology Electrically Programmable Read-Only Memories Can be erased and reprogrammed with UV light EEPROM technology Electrically Erasable Programmable Read-Only Memories In-System Programming (ISP) Doesn’t need UV light to erase. SRAM technology Static Random Access Memory Volatile – Doesn’t retain data when power is turned off

Fixed-Function Logic

Logic Functions operate the same in CMOS and TTL. Fixed-Function Logic CMOS Complementary Metal-Oxide Semiconductor TTL Transistor-Transistor Logic Logic Functions operate the same in CMOS and TTL. Different voltage, power, speed

Reducing voltage reduces power CMOS DC Voltages: 5 V, 3.3 V, 2.5 V, 1.8 V Reducing voltage reduces power P = Reducing voltage from 5 V to 3.3 V reduces power by 34%. Prefix indicates performance. Prefix of 74 is commercial grade Prefix of 54 is military grade (works in more extreme temperatures) V2 R

TTL DC Voltage is 5 V Not sensitive to electrostatic discharge.

Figure 3–60 Typical dual in-line (DIP) and small-outline (SOIC) packages showing pin numbers and basic dimensions.

Figure 3–61 Pin configuration diagrams for some common fixed-function IC gate configurations.

Figure 3–63 Propagation Delay

VCC is DC supply voltage ICCH is the current when output is high Power Dissipation Power Dissipation, PD VCC is DC supply voltage ICCH is the current when output is high ICCL is the current when output is low Assume 50% duty cycle

Speed Power Product Used to measure the performance of logic circuits SPP = tPPD tP is propagation delay time PD is power dissipation in joules

Figure 3–65 The partial data sheet for a 74LS00.

Figure 3–67 The effect of an open input on a NAND gate.

Troubleshooting the NAND gate.

Troubleshooting the NOR gate.

Problem 2. If a HIGH is applied to point A, what is the logic level at points C, E, and F?

Review