Chapter 2 Part 7 Combinational Logic Circuits

Similar documents
Chapter 2: Princess Sumaya Univ. Computer Engineering Dept.

Digital Fundamentals

ECE/Comp Sci 352 Digital System Fundamentals Quiz # 1 Solutions

12/31/2010. Overview. 05-Boolean Algebra Part 3 Text: Unit 3, 7. DeMorgan s Law. Example. Example. DeMorgan s Law

EE 110 Practice Problems for Exam 1: Solutions, Fall 2008

Lecture 5: NAND, NOR and XOR Gates, Simplification of Algebraic Expressions

Learning Objectives. Boolean Algebra. In this chapter you will learn about:

Textbook: Digital Design, 3 rd. Edition M. Morris Mano

Logic and Computer Design Fundamentals. Chapter 2 Combinational Logic Circuits. Part 2 Circuit Optimization

CHAPTER 7 MULTI-LEVEL GATE CIRCUITS NAND AND NOR GATES

12/31/2010. Overview. 10-Combinational Circuit Design Text: Unit 8. Limited Fan-in. Limited Fan-in. Limited Fan-in. Limited Fan-in

Chapter 4 Part 2 Sequential Circuits

ﻮﻧﺭﺎﮐ ﺔﺸﻘﻧ ﺎﺑ ﻱﺯﺎﺳ ﻪﻨﻴﻬﺑ

This form sometimes used in logic circuit, example:

Boolean Algebra and Logic Simplification

Goals for Lecture. Binary Logic and Gates (MK 2.1) Binary Variables. Notation Examples. Logical Operations

ENGR 303 Introduction to Logic Design Lecture 3. Dr. Chuck Brown Engineering and Computer Information Science Folsom Lake College

DIGITAL CIRCUIT LOGIC BOOLEAN ALGEBRA

Chapter 2 Combinational Logic Circuits

Lecture 3. Title goes here 1. level Networks. Boolean Algebra and Multi-level. level. level. level. level

EEE130 Digital Electronics I Lecture #4

II. COMBINATIONAL LOGIC DESIGN. - algebra defined on a set of 2 elements, {0, 1}, with binary operators multiply (AND), add (OR), and invert (NOT):

14:332:231 DIGITAL LOGIC DESIGN

ELC224C. Karnaugh Maps

Chap 2. Combinational Logic Circuits

Boolean Algebra. Boolean Variables, Functions. NOT operation. AND operation. AND operation (cont). OR operation

Chapter 7 Combinational Logic Networks

CMSC 313 Lecture 16 Postulates & Theorems of Boolean Algebra Semiconductors CMOS Logic Gates

Combinational Logic Design Principles

Logic Design. Chapter 2: Introduction to Logic Circuits

Logic Gates and Boolean Algebra

MC9211 Computer Organization

BOOLEAN ALGEBRA TRUTH TABLE

UNIT 5 KARNAUGH MAPS Spring 2011

Introduction. 1854: Logical algebra was published by George Boole known today as Boolean Algebra

Signals and Systems Digital Logic System

Boolean Algebra & Logic Gates. By : Ali Mustafa

ELEC Digital Logic Circuits Fall 2014 Logic Minimization (Chapter 3)

Chapter 2 Combinational Logic Circuits

Logic. Basic Logic Functions. Switches in series (AND) Truth Tables. Switches in Parallel (OR) Alternative view for OR

Combinatorial Logic Design Principles

LOGIC GATES (PRACTICE PROBLEMS)

Department of Electrical and Computer Engineering University of Wisconsin - Madison. ECE/CS 352 Digital System Fundamentals.

Chapter 2. Introduction. Chapter 2 :: Topics. Circuits. Nodes. Circuit elements. Introduction

CHAPTER1: Digital Logic Circuits Combination Circuits

Why digital? Overview. Number Systems. Binary to Decimal conversion

Discrete Mathematics. CS204: Spring, Jong C. Park Computer Science Department KAIST

Digital Design 2. Logic Gates and Boolean Algebra

Chapter 2: Switching Algebra and Logic Circuits

1. Expand each of the following functions into a canonical sum-of-products expression.

211: Computer Architecture Summer 2016

Digital Logic. Lecture 5 - Chapter 2. Outline. Other Logic Gates and their uses. Other Logic Operations. CS 2420 Husain Gholoom - lecturer Page 1

CHAPTER III BOOLEAN ALGEBRA

Number System conversions

Chapter 2 Combinational Logic Circuits

E&CE 223 Digital Circuits & Systems. Lecture Transparencies (Boolean Algebra & Logic Gates) M. Sachdev. Section 2: Boolean Algebra & Logic Gates

Chapter 2 Combinational Logic Circuits

Lecture (02) NAND and NOR Gates

Theorem/Law/Axioms Over (.) Over (+)

Midterm Examination # 1 Wednesday, February 25, Duration of examination: 75 minutes

ELEC Digital Logic Circuits Fall 2015 Logic Minimization (Chapter 3)

CHAPTER III BOOLEAN ALGEBRA

Gate-Level Minimization

Ch 2. Combinational Logic. II - Combinational Logic Contemporary Logic Design 1

ENG2410 Digital Design Combinational Logic Circuits

Possible logic functions of two variables

Combinational Logic (mostly review!)

Show that the dual of the exclusive-or is equal to its compliment. 7

The Karnaugh Map COE 202. Digital Logic Design. Dr. Muhamed Mudawar King Fahd University of Petroleum and Minerals

Logic Design Combinational Circuits. Digital Computer Design

Combinational Logic Fundamentals

Karnaugh Maps Objectives

Lecture 6: Gate Level Minimization Syed M. Mahmud, Ph.D ECE Department Wayne State University

Combinational logic. Possible logic functions of two variables. Minimal set of functions. Cost of different logic functions.

CHAPTER 3 LOGIC GATES & BOOLEAN ALGEBRA

EC-121 Digital Logic Design

Lecture 2 Review on Digital Logic (Part 1)

UNIVERSITI TENAGA NASIONAL. College of Information Technology

EECS150 - Digital Design Lecture 19 - Combinational Logic Circuits : A Deep Dive

CMSC 313 Lecture 18 Midterm Exam returned Assign Homework 3 Circuits for Addition Digital Logic Components Programmable Logic Arrays

Lecture 4: More Boolean Algebra

Basic Gate Repertoire

E&CE 223 Digital Circuits & Systems. Lecture Transparencies (Boolean Algebra & Logic Gates) M. Sachdev

Introduction to Digital Logic Missouri S&T University CPE 2210 Karnaugh Maps

CHAPTER * 2-2.* Pearson Education Limited Problem Solutions, Global Edition Chapter 2. Verification of DeMorgan s Theorem

COMP2611: Computer Organization. Introduction to Digital Logic

Name. ECE-200 Intelligent Systems

Digital Logic Design ABC. Representing Logic Operations. Dr. Kenneth Wong. Determining output level from a diagram. Laws of Boolean Algebra

DIGITAL CIRCUIT LOGIC BOOLEAN ALGEBRA

Combinational Logic Circuits Part II -Theoretical Foundations

WEEK 2.1 BOOLEAN ALGEBRA

EEL 3701 Fall Multiply out the following logic expressions to obtain the Sum of Products.

CHAPTER 2 BOOLEAN ALGEBRA

New Students Day Activity

Digital- or Logic Circuits. Outline Logic Circuits. Logic Voltage Levels. Binary Representation

Chapter 2. Digital Logic Basics

Logic Gate Level. Part 2

Chapter 2 Combinational Logic Circuits

3. PRINCIPLES OF COMBINATIONAL LOGIC

2009 Spring CS211 Digital Systems & Lab CHAPTER 2: INTRODUCTION TO LOGIC CIRCUITS

Transcription:

University of Wisconsin - Madison EE/omp Sci 352 Digital Systems Fundamentals Kewal K. Saluja and u Hen Hu Spring 2002 hapter 2 Part 7 ombinational Logic ircuits Originals by: harles R. Kime and Tom Kamisnski Modified for course use by: Kewal K. Saluja and u Hen Hu NND and NOR Implementation We found that we could implement general oolean equations with these three primitives: ND OR NOT In this section we will find that either of two gates, the NND gate or the NOR gate can be used to implement arbitrary logic functions. We use the Positive Logic onvention (where all signals are active high) and a small circle to on a symbol to represent NOT or invert. hapter 2-7 2

NND Gates The basic positive logic NND gate is denoted by the following symbol: ND-Invert (NND) NND comes from NOT ND, I. e., the ND function with a NOT applied. We call this symbol for a NND gate an ND-Invert. The small circle represents the invert function. If we apply DeMorgan's Law we get: = + + F (,, ) = hapter 2-7 3 NND Gates (ont.) pplying DeMorgan's Law gives: Invert-OR (NND) We call this symbol for a NND gate the Invert- OR since all inputs are inverted, followed by the OR function. oth symbols represent the NND gate - it is sometimes more logically descriptive to use one form over the other. NND gate with one input degenerates to an inverter. F (,, ) = + + hapter 2-7 4 2

NND Function Implementation NND gates can implement a simplified Sum-of- Products form. onstructing two level NND-NND gate circuit: D G (,,, D) = + The first level is two 2-input NND gates using ND- Invert. The second level is one 2-input NND gate using Invert-OR. Using the NND relationship, we have: D G (,,, D) = D = + D = + D hapter 2-7 5 NND Implementation (ont.) In the implementation, the bubbles are on opposite ends of the same line. y =, they can be combined and deleted: D G(,,,D) sum-of-products (SOP) form results To implement an equation like: F(,,) = +, the NND for degenerates to a NOT since there is only one input hapter 2-7 6 3

Degenerate ND Term The degenerate NND becomes an inverter: F(,,) To implement the complement of F using NND gates, add an inverter to the output: F'(,,) hapter 2-7 7 NND-NND Example w Implement: F (w,x,y, z) = yz + wx + xy + wz y 0 3 2 4 5 7 6 2 3 5 4 z F(w,x,y,z) 0 8 9 0 x w 0 3 2 4 5 7 6 2 3 5 4 8 9 0 z F (w,x,y,z) y 0 x hapter 2-7 8 4

Summary: Two-Level NND ircuits Find minimum literal SOP form for F and F Select SOP form with smallest literal count onvert selected form to NND circuit using ND-invert (inverters for single literal ND terms) and invert-or symbols If SOP form for F used, add inverter to circuit output. hapter 2-7 9 NOR Gates The basic positive logic NOR gate (Not-OR) is denoted by the following symbol: OR-Invert (NOR) F (,, ) = + + This is called the OR-Invert, since it is logically an OR function followed by an invert. y DeMorgan's Law we have the following Invert -ND symbol for a NOR gate: Invert-ND single-input NOR gate is an inverter, too. hapter 2-7 0 5

NOR Gates The basic positive logic NOR gate is denoted by the following symbol: OR-Invert (NOR) NOR comes from NOT OR, I. e., the OR function with a NOT applied. We call this symbol for a NOR gate an OR-Invert. The small circle represents the invert function. If we apply DeMorgan's Law we get: + + = F (,, ) = + + hapter 2-7 NOR Gates (ont.) pplying DeMorgan's Law gives: Invert-ND (NOR) We call this symbol for a NOR gate the Invert- ND since all inputs are inverted, followed by the ND function. oth symbols represent the NOR gate - it is sometimes more logically descriptive to use one form over the other. NOR gate with one input degenerates to an inverter. F (,, ) = hapter 2-7 2 6

NOR Function Implementation NND gates can implement a simplified Sum-of- Products form. onstructing two-level NOR-NOR circuit: The first level is two 2-input NOR gates using OR- Invert. The second level is one 2-input NOR gate using Invert-ND. Using the NOR relationship, we have: G (,,, D) = D ( + ) + (+ D) ( + ) (+ D) = = ( + )(+ D) ( ) ( ) G (,,, D) = + + D hapter 2-7 3 Useful Transformations From Involution (i.e. (')' = ) and DeMorgan's Law, we get the following useful equivalences: ( ) = (( )')' (+) = ((+)')' ( )' (+)' ('+')' (' ')' ('+') (' ') These simple transformations can be used to manipulate a two level network. hapter 2-7 4 7

Graphical Transformations The relations from the previous slide lead to the following transformations: ( ) = (( )')' (+) = ((+)')' ('+')' (' ')' ( )' ('+') (+)' (' ') Recall that two bubbles in series can be removed from the circuit hapter 2-7 5 General Two-level Implementations We need to consider whether the form of a two-level implementation is to be:. SOP (ND-OR) or 2. POS (OR-ND). omplemented output functions (i.e. ND-NOR or OR- NND) can be handled by complementing the function. Given a function F expressed as a Karnaugh Map, we can use the same general procedures we have used before to minimize the function and express it in SOP or POS form. hapter 2-7 6 8

General Implementations (ont.) Given a two level implementation desired, use the previous transfromations to get it into one of the below forms. Then follow the steps to transform the function to the desired form: For Type: ND-OR (SOP Form) ND-NOR (SOP complemented) OR-ND (POS Form) OR-NND (POS complemented) Use: ircle 's in the K-Map and minimize (lso use for NND-NND) ircle 0's in the K-Map and minimize ircle 0's in the K-Map and minimize SOP. Use DeMorgan's to transform to POS. (lso use for NOR-NOR) ircle 's in the K-Map and minimize SOP. Use DeMorgan's to transform to POS. hapter 2-7 7 Implementation Example 0 Implement the function in NOR-OR. We can remove the "Inverter" and replace it with the complement of the input variable hapter 2-7 8 9

Implementation Example 2 0 Implement the function in ND-NOR. hapter 2-7 9 Multi-level NND Implementations dd inverters in two-level implementation into the cost picture ttempt to combine inverters to reduce the term count ttempt to reduce literal + term count by factoring expression into POSOP or SOPOS hapter 2-7 20 0

Multi-level NND Example F = + + + = + + + + + = ( + + ) + ( + + ) 5 inputs and 8 gates* 7 inputs and 4 gates F * ounting inverters (NOTS) as input and gate hapter 2-7 2 Multilevel NND Example 2 F = + D + + D hapter 2-7 22