Digital Fundamentals

Similar documents
Analysis procedure. To obtain the output Boolean functions from a logic diagram, proceed as follows:

2 Logic Gates THE INVERTER. A logic gate is an electronic circuit which makes logic decisions. It has one output and one or more inputs.

CHAPTER 3 BASIC & COMBINATIONAL LOGIC CIRCUIT

Lecture 15 Analysis of Combinational Circuits

Digital Fundamentals 9/4/2017. Summary. Summary. Floyd. Chapter 3. The Inverter

Digital Fundamentals

Logic Symbols with Truth Tables INVERTER A B NAND A B C NOR C A B A B C XNOR A B C A B Digital Logic 1

SYNTHESIS OF COMBINATIONAL CIRCUITS

6.1 In this section, you will design (but NOT build) a circuit with 4 inputs,

Number system: the system used to count discrete units is called number. Decimal system: the number system that contains 10 distinguished

Logic Design I (17.341) Fall Lecture Outline

University of Technology

Digital Fundamentals 8/29/2016. Summary. Summary. Floyd. Chapter 3 A X. The Inverter

Odd-Prime Number Detector The table of minterms is represented. Table 13.1

Chapter 4 Logic Functions and Gates

Digital Systems Principles and Applications TWELFTH EDITION. 3-3 OR Operation With OR Gates. 3-4 AND Operations with AND gates

De Morgan s second theorem: The complement of a product is equal to the sum of the complements.

Subject: Analog and Digital Electronics Code:15CS32

This Figure here illustrates the operation for a 2-input OR gate for all four possible input combinations.

Digital Logic. Software. Digital Logic. Boolean value (bit): 0 or 1. Transistors (more in lab) 1/26/16. Program, Application. Programming Language

EE 330 Lecture 5. Other Logic Styles Improved Device Models Stick Diagrams

Course Overview. Course Overview

Chapter 4 Combinational Logic Circuits

Name: Class: Date: 1. As more electronic systems have been designed using digital technology, devices have become smaller and less powerful.

Digital Electronics Course Objectives

Chapter 3 Describing Logic Circuits Dr. Xu

Asst. Prof. Thavatchai Tayjasanant, PhD. Power System Research Lab 12 th Floor, Building 4 Tel: (02)

UNIT-2: BOOLEAN EXPRESSIONS AND COMBINATIONAL LOGIC CIRCUITS

Chapter 4 Combinational Logic Circuits

Digital. Design. R. Ananda Natarajan B C D

Dr. Nicola Nicolici COE/EE2DI4 Midterm Test #1 Oct 18, 2006

Synthesis of Combinational Logic

Combinational Logic Gates in CMOS

EE 330 Lecture 5. Basic Logic Circuits Complete Logic Family Other Logic Styles. Improved Device Models. complex logic gates pass transistor logic

Lecture 2: Digital Logic Basis

EE 330 Lecture 5. Basic Logic Circuits Complete Logic Family Other Logic Styles. complex logic gates

Function Table of 74LS138, 3-to-8 Decoder +5V 6 G1 4 G2A 5 G2B. 4-to-16 Decoder using two 74LS139, 3-to-8 Decoder

Function Table of an Odd-Parity Generator Circuit

Multiple input gates. The AND gate

Combinational Logic Design CH002

Digital Logic Circuits

DIGITAL ELECTRONICS: LOGIC AND CLOCKS

EECS 150 Homework 4 Solutions Fall 2008

EE260: Digital Design, Spring n More Logic Gates n NAND and NOR Gates

In this lecture: Lecture 8: ROM & Programmable Logic Devices

(a) (b) (c) (d) (e) (a) (b) (c) (d) (e)

Introduction to Computer Engineering EECS 203 dickrp/eecs203/ Grading scheme. Review.

Chapter 3 Digital Logic Structures

EEE 301 Digital Electronics

1.) If a 3 input NOR gate has eight input possibilities, how many of those possibilities result in a HIGH output? (a.) 1 (b.) 2 (c.) 3 (d.) 7 (e.

Exercise 1: EXCLUSIVE OR/NOR Gate Functions

Digital Fundamentals

In this lecture: Lecture 3: Basic Logic Gates & Boolean Expressions

EMT1250 LABORATORY EXPERIMENT. EXPERIMENT # 4: Combinational Logic Circuits. Name: Date:

DELD UNIT 3. Question Option A Option B Option C Option D Correct Option A B C

CS8803: Advanced Digital Design for Embedded Hardware

Digital Fundamentals A Systems Approach Thomas L. Floyd First Edition

EE 330 Lecture 5. Other Logic Styles. Improved Device Models. complex logic gates pass transistor logic

Copyright 2000 N. AYDIN. All rights reserved. 1

Positive and Negative Logic

Digital Circuits Introduction

OBJECTIVE TYPE QUESTIONS FOR PRACTICAL EXAMINATION Subject : Electronics-I ( EC 112)

Homework Problem Set: Combinational Devices & ASM Charts. Answer all questions on this sheet. You may attach additional pages if necessary.

Chapter 1: Digital logic

Digital Electronics. Functions of Combinational Logic

DIGITAL LOGIC COMPUTER SCIENCE

Formal Foundation of Digital Design

BOOLEAN ALGEBRA AND LOGIC FAMILIES

ECE380 Digital Logic

Design considerations (D)

PREVIEW COPY. Digital Logic Systems. Table of Contents. Digital Logic Fundamentals...3. Logic Building Blocks Medium- and Large-Scale ICs...

Gates and and Circuits

Lecture 7: Digital Logic

Project Part 1 A. The task was to design a 4 to 1 multiplexer that uses 8 bit buses on the inputs with an output of a single 8 bit bus.

Course Outline Cover Page

Logic diagram: a graphical representation of a circuit

Gates and Circuits 1

Digital Fundamentals

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) SUMMER-16 EXAMINATION Model Answer

DIGITAL ELECTRONICS. Methods & diagrams : 1 Graph plotting : - Tables & analysis : - Questions & discussion : 6 Performance : 3

Digital Applications (CETT 1415) Credit: 4 semester credit hours (3 hours lecture, 4 hours lab) Prerequisite: CETT 1403 & CETT 1405

EE 330 Lecture 5. Improved Device Models Propagation Delay in Logic Circuits

EE40 Lecture 35. Prof. Chang-Hasnain. 12/5/07 Reading: Ch 7, Supplementary Reader

Combinational Logic. Rab Nawaz Khan Jadoon DCS. Lecturer COMSATS Lahore Pakistan. Department of Computer Science

LOGIC GATES AND LOGIC CIRCUITS A logic gate is an elementary building block of a Digital Circuit. Most logic gates have two inputs and one output.

(CSC-3501) Lecture 6 (31 Jan 2008) Seung-Jong Park (Jay) CSC S.J. Park. Announcement

3.1 There are three basic logic functions from which all circuits can be designed: NOT (invert), OR, and

Digital Electronic Concepts

Satish Chandra, Assistant Professor, P P N College, Kanpur 1

Electronics. Digital Electronics

Module 4: Design and Analysis of Combinational Circuits 1. Module-4. Design and Analysis of Combinational Circuits

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

Introduction to Digital Logic Missouri S&T University CPE 2210 Exam 1 Logistics

Unit 1 Foundations in Electronics - Lesson 1.1 Introduction to Electronics Standards Essential Question Enduring Understandings

LSN 3 Logic Gates. ECT 224 Digital Computer Fundamentals. Department of Engineering Technology

Objective Questions. (a) Light (b) Temperature (c) Sound (d) all of these

Combinational Circuits: Multiplexers, Decoders, Programmable Logic Devices

Digital Fundamentals

DEPARTMENT OF ELETRONICS AND COMMUNICATION ENGINEERING COURSE NOTES FACULTY NAME/DESIGNATION: SUGAPRIYAA.THA / LECTURER

Integrated Circuits & Systems

Transcription:

Digital Fundamentals Tenth Edition Floyd hapter 5 Floyd, Digital Fundamentals, th ed 28 Pearson Education 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved

ombinational Logic ircuits In Sum-of-Products (SOP) form, basic combinational circuits can be directly implemented with ND-OR combinations if the necessary complement terms are available. D J K D JK Product terms + D +... + JK Sum-of-products Product term Floyd, Digital Fundamentals, th ed 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved

ombinational Logic ircuits n example of an SOP implementation is shown. The SOP expression is an ND-OR combination of the input variables and the appropriate complements. D E DE X = + DE SOP Floyd, Digital Fundamentals, th ed 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved

ombinational Logic ircuits When the output of a SOP form is inverted, the circuit is called an ND-OR-Invert circuit. The OI configuration lends itself to product-of-sums (POS) implementation. n example of an OI implementation is shown. The output expression can be changed to a POS expression by applying DeMorgan s theorem twice. X = + DE X = + DE OI D E DE X = ()(DE) DeMorgan X = ( + + )(D + E) POS Floyd, Digital Fundamentals, th ed 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved

Exclusive-OR Logic The truth table for an exclusive-or gate is Notice that the output is HIGH whenever and disagree. The oolean expression is X = + The circuit can be drawn as Symbols: Inputs Output X X = Distinctive shape Rectangular outline Floyd, Digital Fundamentals, th ed 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved

Exclusive-NOR Logic The truth table for an exclusive-nor gate is Notice that the output is HIGH whenever and agree. The oolean expression is X = + The circuit can be drawn as X Symbols: Inputs Output X = Distinctive shape Rectangular outline Floyd, Digital Fundamentals, th ed 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved

For each circuit, determine if the LED should be on or off. +5. V +5. V 33 W LED +5. V +5. V 33 W LED +5. V +5. V 33 W LED (a) (b) (c) ircuit (a): XOR, inputs agree, output is LOW, LED is ON. ircuit (b): XNOR, inputs disagree, output is LOW, LED is ON. ircuit (c): XOR, inputs disagree, output is HIGH, LED is OFF. Floyd, Digital Fundamentals, th ed 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved

Implementing ombinational Logic Implementing a SOP expression is done by first forming the ND terms; then the terms are ORed together. Show the circuit that will implement the oolean expression X = + D + DE. (ssume that the variables and their complements are available.) Start by forming the terms using three 3-input ND gates. Then combine the three terms using a 3-input OR gate. D D E X = + D + DE Floyd, Digital Fundamentals, th ed 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved

Karnaugh Map Implementation For basic combinational logic circuits, the Karnaugh map can be read and the circuit drawn as a minimum SOP. Karnaugh map is drawn from a truth table. Read the minimum SOP expression and draw the circuit. changes across this boundary. Group the s into two overlapping groups as indicated. 2. Read each group by eliminating any variable that changes across a boundary. 3. The vertical group is read. changes across this boundary 4. The horizontal group is read. The circuit is on the next slide: Floyd, Digital Fundamentals, th ed 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved

ircuit: continued X = + The result is shown as a sum of products. It is a simple matter to implement this form using only NND gates as shown in the text and following example. Floyd, Digital Fundamentals, th ed 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved

NND Logic onvert the circuit in the previous example to one that uses only NND gates. Recall from oolean algebra that double inversion cancels. y adding inverting bubbles to above circuit, it is easily converted to NND gates: X = + Floyd, Digital Fundamentals, th ed 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved

Universal Gates NND gates are sometimes called universal gates because they can be used to produce the other basic oolean functions. Inverter ND gate + + OR gate NOR gate Floyd, Digital Fundamentals, th ed 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved

Universal Gates NOR gates are also universal gates and can form all of the basic gates. Inverter OR gate + ND gate NND gate Floyd, Digital Fundamentals, th ed 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved

NND Logic Recall from DeMorgan s theorem that = +. y using equivalent symbols, it is simpler to read the logic of SOP forms. The earlier example shows the idea: X = + The logic is easy to read if you (mentally) cancel the two connected bubbles on a line. Floyd, Digital Fundamentals, th ed 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved

NOR Logic lternatively, DeMorgan s theorem can be written as + =. y using equivalent symbols, it is simpler to read the logic of POS forms. For example, X = ( + )( + ) gain, the logic is easy to read if you cancel the two connected bubbles on a line. Floyd, Digital Fundamentals, th ed 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved

Pulsed Waveforms For combinational circuits with pulsed inputs, the output can be predicted by developing intermediate outputs and combining the result. For example, the circuit shown can be analyzed at the outputs of the OR gates: D G D G G 2 G 3 G 2 G 3 Floyd, Digital Fundamentals, th ed 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved

Pulsed Waveforms lternatively, you can develop the truth table for the circuit and enter s and s on the waveforms. Then read the output from the table. D D G 3 G G 2 G 3 Inputs D Output X Floyd, Digital Fundamentals, th ed 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved

Selected Key Terms Universal gate Negative-OR Negative-ND Either a NND or a NOR gate. The term universal refers to a property of a gate that permits any logic function to be implemented by that gate or by a combination of gates of that kind. The dual operation of a NND gate when the inputs are active-low. The dual operation of a NOR gate when the inputs are active-low. Floyd, Digital Fundamentals, th ed 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved

. ssume an OI expression is + D. The equivalent POS expression is a. ( + )( + D) b. ( + )( + D) c. ( + )( + D) d. none of the above Floyd, Digital Fundamentals, th ed 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved 28 Pearson Education

2. The truth table shown is for a. a NND gate b. a NOR gate c. an exclusive-or gate d. an exclusive-nor gate Inputs Output X Floyd, Digital Fundamentals, th ed 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved 28 Pearson Education

3. n LED that should be ON is a. LED- b. LED-2 +5. V +5. V 33 W LED- c. neither d. both +5. V +5. V 33 W LED-2 Floyd, Digital Fundamentals, th ed 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved 28 Pearson Education

4. To implement the SOP expression X = + D + DE, the type of gate that is needed is a a. 3-input ND gate b. 3-input NND gate c. 3-input OR gate d. 3-input NOR gate D D E Floyd, Digital Fundamentals, th ed 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved 28 Pearson Education

5. Reading the Karnaugh map, the logic expression is a. + b. + c. + d. + Floyd, Digital Fundamentals, th ed 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved 28 Pearson Education

6. The circuit shown will have identical logic out if all gates are changed to a. ND gates b. OR gates c. NND gates d. NOR gates D Floyd, Digital Fundamentals, th ed 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved 28 Pearson Education

7. The two types of gates which are called universal gates are a. ND/OR b. NND/NOR c. ND/NND d. OR/NOR Floyd, Digital Fundamentals, th ed 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved 28 Pearson Education

8. The circuit shown is equivalent to an a. ND gate b. XOR gate c. OR gate d. none of the above Floyd, Digital Fundamentals, th ed 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved 28 Pearson Education

9. The circuit shown is equivalent to a. an ND gate b. an XOR gate c. an OR gate d. none of the above Floyd, Digital Fundamentals, th ed 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved 28 Pearson Education

. During the first three intervals for the pulsed circuit shown, the output of a. G is LOW and G 2 is LOW b. G is LOW and G 2 is HIGH c. G is HIGH and G 2 is LOW d. G is HIGH and G 2 is HIGH D D G G 2 G 3 Floyd, Digital Fundamentals, th ed 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved 28 Pearson Education

nswers:. b 6. c 2. d 7. b 3. a 8. c 4. c 9. a 5. d. c Floyd, Digital Fundamentals, th ed 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved