DIGITAL CIRCUIT LOGIC UNIT 7: MULTI-LEVEL GATE CIRCUITS NAND AND NOR GATES

Similar documents
Chapter 3. Gate-Level Minimization. Outlines

Gate Level Minimization Map Method

Chapter 2. Boolean Expressions:

Boolean Algebra and Logic Gates

ELCT201: DIGITAL LOGIC DESIGN

Bawar Abid Abdalla. Assistant Lecturer Software Engineering Department Koya University

ELCT201: DIGITAL LOGIC DESIGN

Gate-Level Minimization. BME208 Logic Circuits Yalçın İŞLER

Gate-Level Minimization. section instructor: Ufuk Çelikcan

Variable, Complement, and Literal are terms used in Boolean Algebra.

Lecture (05) Boolean Algebra and Logic Gates

Following the advice of breaking the longest (uppermost) bar first, I'll begin by breaking the bar covering the entire expression as a first step:

Boolean Analysis of Logic Circuits

Chapter 2 Boolean algebra and Logic Gates

Experiment 4 Boolean Functions Implementation

1. Mark the correct statement(s)

Assignment (3-6) Boolean Algebra and Logic Simplification - General Questions

CS8803: Advanced Digital Design for Embedded Hardware

Gate Level Minimization


LSN 4 Boolean Algebra & Logic Simplification. ECT 224 Digital Computer Fundamentals. Department of Engineering Technology

2.6 BOOLEAN FUNCTIONS

(Refer Slide Time 6:48)

Logic Gates and Boolean Algebra ENT263

Digital Design. Chapter 4. Principles Of. Simplification of Boolean Functions

EE292: Fundamentals of ECE

Austin Herring Recitation 002 ECE 200 Project December 4, 2013

Gate-Level Minimization

Boolean Algebra. BME208 Logic Circuits Yalçın İŞLER

Combinational Logic & Circuits

Incompletely Specified Functions with Don t Cares 2-Level Transformation Review Boolean Cube Karnaugh-Map Representation and Methods Examples

LECTURE 4. Logic Design

Gate-Level Minimization

TWO-LEVEL COMBINATIONAL LOGIC

BOOLEAN ALGEBRA. Logic circuit: 1. From logic circuit to Boolean expression. Derive the Boolean expression for the following circuits.

ECE 331: N0. Professor Andrew Mason Michigan State University. Opening Remarks

Synthesis of combinational logic

Propositional Calculus. Math Foundations of Computer Science

Summary. Boolean Addition

A B AB CD Objectives:

Chapter Three. Digital Components

Chapter 2. Boolean Algebra and Logic Gates

/90 TOTAL. 1(a) 8pts. fiv(a,b) is called the function.

IT 201 Digital System Design Module II Notes

Gate-Level Minimization

211: Computer Architecture Summer 2016

Simplification of Boolean Functions

Chapter 3 working with combinational logic

ENGINEERS ACADEMY. 7. Given Boolean theorem. (a) A B A C B C A B A C. (b) AB AC BC AB BC. (c) AB AC BC A B A C B C.

Combinational Logic Circuits

Experiment 3: Logic Simplification

Logic and Computer Design Fundamentals. Chapter 2 Combinational Logic Circuits. Part 3 Additional Gates and Circuits

QUESTION BANK FOR TEST

數位系統 Digital Systems 朝陽科技大學資工系. Speaker: Fuw-Yi Yang 楊伏夷. 伏夷非征番, 道德經察政章 (Chapter 58) 伏者潛藏也道紀章 (Chapter 14) 道無形象, 視之不可見者曰夷

01 Introduction to Digital Logic. ENGR 3410 Computer Architecture Mark L. Chang Fall 2006

Basic Arithmetic (adding and subtracting)

9/10/2016. The Dual Form Swaps 0/1 and AND/OR. ECE 120: Introduction to Computing. Every Boolean Expression Has a Dual Form

CSE303 Logic Design II Laboratory 01

Systems Programming. Lecture 2 Review of Computer Architecture I

01 Introduction to Digital Logic. ENGR 3410 Computer Architecture Mark L. Chang Fall 2008

Slide Set 5. for ENEL 353 Fall Steve Norman, PhD, PEng. Electrical & Computer Engineering Schulich School of Engineering University of Calgary

Midterm Exam Review. CS 2420 :: Fall 2016 Molly O'Neil

Section 001. Read this before starting!

COMP combinational logic 1 Jan. 18, 2016

EEE130 Digital Electronics I Lecture #4_1

2. BOOLEAN ALGEBRA 2.1 INTRODUCTION

GC03 Boolean Algebra

Combinational Circuits Digital Logic (Materials taken primarily from:

Ch. 5 : Boolean Algebra &

Gate-Level Minimization

1. Fill in the entries in the truth table below to specify the logic function described by the expression, AB AC A B C Z

Binary logic. Dr.Abu-Arqoub

Department of Electrical Engineering McGill University ECSE 221 Introduction to Computer Engineering Assignment 2 Combinational Logic

Chapter 2 Combinational Logic Circuits

1. Prove that if you have tri-state buffers and inverters, you can build any combinational logic circuit. [4]

2008 The McGraw-Hill Companies, Inc. All rights reserved.

ece5745-pla-notes.txt

MODULE 5 - COMBINATIONAL LOGIC

Chap-2 Boolean Algebra

SWITCHING THEORY AND LOGIC CIRCUITS

Digital Logic Design (3)

UNIT-4 BOOLEAN LOGIC. NOT Operator Operates on single variable. It gives the complement value of variable.


UNCA CSCI 255 Exam 1 Spring February, This is a closed book and closed notes exam. It is to be turned in by 1:45 PM.

Combinational Logic Circuits

Propositional Calculus: Boolean Algebra and Simplification. CS 270: Mathematical Foundations of Computer Science Jeremy Johnson

Digital Logic Design. Outline

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

2.1 Binary Logic and Gates

Simplification of Boolean Functions

Final Project. Project Idea. Sample Project Idea 2/11/2019. CS 362: Computer Design Lecture 7: DeMorgan s, XOR, Universal Gates

ENEL 353: Digital Circuits Midterm Examination

DIGITAL CIRCUIT LOGIC UNIT 9: MULTIPLEXERS, DECODERS, AND PROGRAMMABLE LOGIC DEVICES

Experimental Methods I

Lecture (04) Boolean Algebra and Logic Gates

Lecture (04) Boolean Algebra and Logic Gates By: Dr. Ahmed ElShafee

Bawar Abid Abdalla. Assistant Lecturer Software Engineering Department Koya University

1. Boolean algebra. [6] 2. Constructing a circuit. [4] 3. Number representation [4] 4. Adders [4] 5. ALU [2] 6. Software [4]

Optimized Implementation of Logic Functions

Digital Systems. John SUM Institute of Technology Management National Chung Hsing University Taichung, ROC. December 6, 2012

Transcription:

DIGITAL CIRCUIT LOGIC UNIT 7: MULTI-LEVEL GATE CIRCUITS NAND AND NOR GATES 1

iclicker Question 13 Considering the K-Map, f can be simplified as (2 minutes): A) f = b c + a b c B) f = ab d + a b d AB CD 1 1 C) f = b c D) f = b d 1 1 2

Learning Objectives 1. Design a minimal two-level or multi-level circuit of AND and OR gates to realize a given function. (Consider both circuits with an OR gate at the output and circuits with an AND gate at the output.) 2. Design or analyze a two-level gate circuit using any one of the eight basic forms (AND-OR, NAND-NAND, OR-NAND, NOR-OR, OR-AND, NOR-NOR, AND-NOR, and NAND-AND). 3. Design or analyze a multi-level NAND-gate or NOR-gate circuit. 4. Convert circuits of AND and OR gates to circuits of NAND gates or NOR gates, and conversely, by adding or deleting inversion bubbles. 5. Design a minimal two-level, multiple-output AND-OR, OR- AND, NAND-NAND, or NOR-NOR circuit using Karnaugh maps. 3

Multi-level Gate Circuits Terminology: The maximum number of gates cascaded in series between a circuit input and the output is referred to as the number of levels of gates (not to be confused with voltage levels). AND-OR circuit means a two-level circuit composed of a level of AND gates followed by an OR gate at the output. OR-AND circuit means a two-level circuit composed of a level of OR gates followed by an AND gate at the output. OR-AND-OR circuit means a three-level circuit composed of a level of OR gates followed by a level of AND gates followed by an OR gate at the output. Circuit of AND and OR gates implies no particular ordering of the gates; the output gate may be either AND or OR. 4

Multi-level Gate Circuits Different Realizations for the Same Expression, Z: 5

Multi-level Gate Circuits Example 1: 6

Multi-level Gate Circuits Example 1 (continued): 7

Multi-level Gate Circuits Example 1 (continued): 8

Multi-level Gate Circuits Example 1 (continued): 9

Multi-level Gate Circuits Example 1 (continued): 10

Multi-level Gate Circuits Example 1 (continued): 11

Multi-level Gate Circuits Example 1 (continued): 12

NAND and NOR Gates NAND Gates: A NAND Gate is equivalent to an AND gate followed by an inverter, or AND-NOT gate (as shown in Figure 7-8(b)). The n-input NAND gate s output is: 13

NAND and NOR Gates NOR Gates: A NOR Gate is equivalent to an OR gate followed by an inverter, or an OR-NOT gate. The n-inputs NOR gate s output is: 14

NAND and NOR Gates Functionally Complete Operations and Gates: A set of logic operations is said to be functionally complete if any Boolean function can be expressed in terms of this set of operations. If a single gate forms a functionally complete set by itself, then any switching function can be realized using only gates of that type, i.e. NAND, NOR. 15

NAND and NOR Gates Procedure to Determine if Functionally Complete: 1. Write out a minimum sum-of-products expression for the function realized by each gate. If no complement appears in any of these expressions, then NOT cannot be realized, and the set is not functionally complete. If a complement appears in one of the expressions, then NOT can generally be realized by an appropriate choice of inputs to the corresponding gate. (We will always assume that 0 and 1 are available as gate inputs). 16

NAND and NOR Gates Procedure to Determine if Functionally Complete (continued): 2. Next, attempt to realize AND or OR, keeping in mind that NOT is now available. Once AND or OR has been realized, the other one can always be realized using DeMorgan s laws if no more direct procedure is apparent. For example, if OR and NOT are available, AND can be realized by 17

Design of Two-Level NAND- and NOR- Gate Circuits Conversion of AND and OR Gate Circuits to NAND and NOR: A two-level circuit composed of AND and OR gates is easily converted to a circuit composed of NAND gates or NOR gates. This conversion is carried out by using F = (F ) and then applying DeMorgan s laws: 18

Design of Two-Level NAND- and NOR- Gate Circuits Example 2: 19

Design of Two-Level NAND- and NOR- Gate Circuits Example 2 (continued): 20

Design of Two-Level NAND- and NOR- Gate Circuits Eight Basic Forms for Two-Level Circuits: 21

Design of Two-Level NAND- and NOR- Gate Circuits Eight Basic Forms for Two-Level Circuits (continued): 22

iclicker Question 14 What are the output functions of the following logic gates? (50 seconds): A) NOR, NAND B) XOR, XNOR C) NAND, NOR D) [(A+B) ], [(AB) ] E) NOT-OR, NOT-AND 23

iclicker Question 14 What are the output functions of the following logic gates? (50 seconds): A) NOR, NAND B) XOR, XNOR C) NAND, NOR D) [(A+B) ], [(AB) ] E) NOT-OR, NOT-AND 24

Design of Two-Level NAND- and NOR- Gate Circuits Procedure for Designing a Minimum Two-Level NAND-NAND circuit: 25

Design of Two-Level NAND- and NOR- Gate Circuits Procedure for Designing a Minimum Two-Level NOR-NOR circuit: 26

Design of Multi-Level NAND- and NOR- Gate Circuits Procedure to Design Multi-Level NAND-Gate Circuits: 27

Design of Multi-Level NAND- and NOR- Gate Circuits Example 3: 28

Circuit Conversion Using Alternative Gate Symbols Alternative Gate Symbols: Alternate symbol for inverters: The following gate symbols have been derived using DeMorgan s Laws. 29

Circuit Conversion Using Alternative Gate Symbols NAND Gate Circuit Conversion: 30

Circuit Conversion Using Alternative Gate Symbols NOR Gate Circuit Conversion: 31

Circuit Conversion Using Alternative Gate Symbols Conversion of AND-OR Circuit to NAND Gates: 32

Circuit Conversion Using Alternative Gate Symbols Procedure to Convert to a NAND (or NOR) Circuit: 1. Convert all AND gates to NAND gates by adding an inversion bubble at the output. Convert all OR gates to NAND gates by adding inversion bubbles at the inputs. (To convert to NOR, add inversion bubbles at all OR-gate outputs and all AND-gate inputs.) 2. Whenever an inverted output drives an inverted input, no further action is needed because the two inversions cancel. 3. Whenever a noninverted gate output drives an inverted gate input or vice versa, insert an inverter so that the bubbles will cancel. (Choose an inverter with the bubble at the input or output as required.) 4. Whenever a variable drives an inverted input, complement the variable (or add an inverter) so the complementation cancels the inversion at the input. 33

Circuit Conversion Using Alternative Gate Symbols Defection: Fan-in is the number of inputs a logic gate can handle. For instance the fan-in for the AND gate shown in the figure is 3. Physical logic gates with a large fan-in tend to be slower than those with a small fan-in. This is because the complexity of the input circuitry increases the input capacitance of the device. 34

Circuit Conversion Using Alternative Gate Symbols Example 3: Multi-level circuits reduce gate fan-in. See the example below: 35

Circuit Conversion Using Alternative Gate Symbols Example 3 (continued): 36

Design of Two-Level, Multiple Output Circuits Example 4: 37

Design of Two-Level, Multiple Output Circuits Example 4 (continued): 38

Design of Two-Level, Multiple Output Circuits Determination of Essential Prime Implicants for Multiple-Output Realization: We can find prime implicants, which are essential to one of the functions and to the multiple-output realization by a modification of the procedure used for the single-output case. In particular, when we check each 1 on the map to see if it is covered by only one prime implicant, we will only check those 1 s which do not appear on the other function maps. 39

Design of Two-Level, Multiple Output Circuits Determination of Essential Prime Implicants for Multiple-Output Realization: 40

Design of Multiple Output NANDand NOR- Gate Circuits Converting a Two-Output Circuit to NOR Gates: The procedure given in Section 7.4 for design of single-output, multi-level NAND-and NOR-gate circuits also applies to multiple-output circuits. 41