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

Similar documents
Digital Fundamentals

CHAPTER 3 BASIC & COMBINATIONAL LOGIC CIRCUIT

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

University of Technology

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

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.

Logic Design I (17.341) Fall Lecture Outline

EECS 150 Homework 4 Solutions Fall 2008

Lecture 15 Analysis of Combinational Circuits

Chapter 3 Digital Logic Structures

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

Course Overview. Course Overview

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. Design. R. Ananda Natarajan B C D

UNIT-2: BOOLEAN EXPRESSIONS AND COMBINATIONAL LOGIC CIRCUITS

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

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

SYNTHESIS OF COMBINATIONAL CIRCUITS

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

Chapter 3 Describing Logic Circuits Dr. Xu

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

Function Table of an Odd-Parity Generator Circuit

Lecture 2: Digital Logic Basis

Combinational Logic. Combinational Logic Design Process, Three State Buffers, Decoders, Multiplexers, Encoders, Demultiplexers, Other Considerations

Gates and Circuits 1

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

MSI Design Examples. Designing a circuit that adds three 4-bit numbers

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

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

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

ECE380 Digital Logic

CS302 Digital Logic Design Solved Objective Midterm Papers For Preparation of Midterm Exam

Gates and and Circuits

Digital Logic Circuits

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

Formal Foundation of Digital Design

Combinational Logic Design CH002

Exercise 2: OR/NOR Logic Functions

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

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

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

COMBINATIONAL CIRCUIT

Digital Electronics Course Objectives

BOOLEAN ALGEBRA AND LOGIC FAMILIES

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

5.3 Optimization of Logic Circuits

Positive and Negative Logic

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

UNIT-IV Combinational Logic

Combinational logic. ! Regular logic: multiplexers, decoders, LUTs and FPGAs. ! Switches, basic logic and truth tables, logic functions

Laboratory Manual CS (P) Digital Systems Lab

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

Logic diagram: a graphical representation of a circuit

ELECTRONIC CIRCUITS. Time: Three Hours Maximum Marks: 100

Digital Electronic Concepts

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

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

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

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

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

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

Multiple input gates. The AND gate

Exercise 1: AND/NAND Logic Functions


Digital Electronics 8. Multiplexer & Demultiplexer

Digital Fundamentals. Logic gates

EEE 301 Digital Electronics

B.C.A 2017 DIGITAL ELECTRONICS BCA104T MODULE SPECIFICATION SHEET. Course Outline

Logic Circuit Design

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

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

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

Electronics. Digital Electronics

Paper No. Name of the Paper Theory marks Practical marks Periods per week Semester-I I Semiconductor

Unit 3. Logic Design

Combinational Circuits DC-IV (Part I) Notes

NUMBER SYSTEM AND CODES

Chapter 2 Introduction to Logic Circuits

Chapter 3 Digital Logic Structures

Digital Fundamentals

Fan in: The number of inputs of a logic gate can handle.

Lab Report: Digital Logic

Topic Notes: Digital Logic

EECS-140/141 Introduction to Digital Logic Design Lecture 4:Simplification in Logic Synthesis

Name EGR 2131 Lab #2 Logic Gates and Boolean Algebra Objectives Equipment and Components Part 1: Reading Pin Diagrams 7400 (TOP VIEW)

Chapter 1: Digital logic

TABLE 3-2 Truth Table for Code Converter Example

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

CS/ECE 252: INTRODUCTION TO COMPUTER ENGINEERING UNIVERSITY OF WISCONSIN MADISON

Binary Addition. Boolean Algebra & Logic Gates. Recap from Monday. CSC 103 September 12, Binary numbers ( 1.1.1) How Computers Work

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

Chapter 4 Combinational Logic Circuits

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

WEEK 4.1. ECE124 Digital Circuits and Systems Page 1

COURSE LEARNING OUTCOMES AND OBJECTIVES

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

DIGITAL ELECTRONICS: LOGIC AND CLOCKS

Chapter 4 Combinational Logic Circuits

Department of Electronics and Communication Engineering

Transcription:

Combinational Logic Logic circuits for digital systems may be combinational or sequential. combinational circuit consists of input variables, logic gates, and output variables. 1

nalysis procedure To obtain the output Boolean functions from a logic diagram, proceed as follows: 1. Label all gate outputs that are a function of input variables with arbitrary symbols. Determine the Boolean functions for each gate output. 2. Label the gates that are a function of input variables and previously labeled gates with other arbitrary symbols. Find the Boolean functions for these gates. 2

nalysis procedure 3. Repeat the process outlined in step 2 until the outputs of the circuit are obtained. 4. By repeated substitution of previously defined functions, obtain the output Boolean functions in terms of input variables. 3

OI Logic Implementation This presentation will demonstrate how to Design an OI logic circuit from a Sum-Of- Products (SOP) logic expression. Design an OI logic circuit from a Product-Of- Sums (POS) logic expression. OUT B B C EQULS Logic Expression OI Logic Circuit 4

Combinational Logic Circuits n example of an SOP implementation is shown. The SOP expression is an ND-OR combination of the input variables and the appropriate complements. B C D E BC DE X = BC + DE SOP 5

Combinational Logic Circuits 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. B BC C X = BC + DE X = BC + DE OI D E DE X = (BC)(DE) DeMorgan X = ( + B + C)(D + E) POS 6

Exclusive-OR Logic The truth table for an exclusive-or gate is Notice that the output is HIGH whenever and B disagree. The Boolean expression is X = B + B Inputs Output B X 0 0 0 0 1 1 1 0 1 1 1 0 The circuit can be drawn as Symbols: X = 1 B Distinctive shape outline Rectangular 7

Exclusive-NOR Logic The truth table for an exclusive-nor gate is Notice that the output is HIGH whenever and B agree. The Boolean expression is X = B + B Inputs Output B X 0 0 1 0 1 0 1 0 0 1 1 1 The circuit can be drawn as B X Symbols: = 1 Distinctive shape outline Rectangular 8

NND Logic Convert the circuit in the previous example to one that uses only NND gates. Recall from Boolean algebra that double inversion cancels. By adding inverting bubbles to above circuit, it is easily converted to NND gates: C X = C + B B 9

Universal Gates NND gates are sometimes called universal gates because they can be used to produce the other basic Boolean functions. Inverter B ND gate B B + B B + B OR gate NOR gate 10

NND Logic Recall from DeMorgan s theorem that B = + B. By using equivalent symbols, it is simpler to read the logic of SOP forms. The earlier example shows the idea: C X = C + B B The logic is easy to read if you (mentally) cancel the two connected bubbles on a line. 11

NOR Logic lternatively, DeMorgan s theorem can be written as + B = B. By using equivalent symbols, it is simpler to read the logic of POS forms. For example, B C X = ( + B)( + C) gain, the logic is easy to read if you cancel the two connected bubbles on a line. 12

Designing OI SOP Logic Circuits Design Steps Implement each Minterm in the logic expression with an ND gate with the same number of inputs as there are variables in the Minterm. (i.e., B = 2 input gate, BC = 3 input gate, BCD = 4 input gate, etc.) OR together the outputs of the ND gates to produce the logic expression. If necessary, gates can be cascaded to create gates with more inputs. 13

Example #1: OI Implementation SOP Example Design an OI Logic Circuit for the SOP logic expression shown below. F 2 B CD B CD B 14

Example #1: OI Implementation SOP Example Design an OI Logic Circuit for the SOP logic expression shown below. Solution F 2 B CD B CD B 15

Example #2: OI Implementation SOP Example Unfortunately, in this class, we only have access to (2) input OR gates and (2) & (3) input ND gates. Limiting your design to these gates, redesign the OI Logic Circuit for the SOP expression in the previous example. 16

Example #2: OI Implementation SOP Example Unfortunately, only (2) input OR gates and (2) & (3) ND gates exist in hardware. Limiting your design to these gates, redesign the OI Logic Circuit for the SOP expression in the previous example. Solution 17

Designing OI POS Logic Circuits Design Steps Implement each Maxterm in the logic expression with an OR gate with the same number of inputs as there are variables in the Maxterm. (i.e., +B = 2 input gate, +B+C = 3 input gate, +B+C+D = 4 input gate, etc.) ND together the outputs of the OR gates to produce the logic expression. If necessary, gates can be cascaded to create gates with more inputs. 18

Example #3: OI Implementation POS Example Design an OI Logic Circuit for the POS logic expression shown below. F 4 W X Y Z W X Y W Z 19

Example #3: OI Implementation POS Example Design an OI Logic Circuit for the POS logic expression shown below. Solution F 4 W X Y Z W X Y W Z 20

Example #4: OI Implementation POS Example Limiting your design to only (2) input OR gates and (2) & (3) input ND gates, redesign the OI Logic Circuit for the POS logic expression in the previous example. 21

Example #4: OI Implementation POS Example Limiting your design to only (2) input OR gates and (2) & (3) input ND gates, redesign the OI Logic Circuit for the POS logic expression in the previous example. Solution 22

Example F 2 = B + C + BC; T 1 = + B + C; T 2 = BC; T 3 = F 2 T 1 ; F 1 = T 3 + T 2 F 1 = T 3 + T 2 = F 2 T 1 + BC = BC + B C + B C + BC 23

Derive truth table from logic diagram We can derive the truth table in Table 4-1 by using the circuit of Fig.4-2. 24