Principles of Computer Architecture. Appendix B: Reduction of Digital Logic. Chapter Contents

Similar documents
CMSC 313 Lecture 19 Combinational Logic Components Programmable Logic Arrays Karnaugh Maps

CMSC 313 Preview Slides

CMSC 313 Lecture 19 Homework 4 Questions Combinational Logic Components Programmable Logic Arrays Introduction to Circuit Simplification

EE40 Lec 15. Logic Synthesis and Sequential Logic Circuits

Karnaugh Maps (K-Maps)

This form sometimes used in logic circuit, example:

UNIT 5 KARNAUGH MAPS Spring 2011

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

211: Computer Architecture Summer 2016

Simplification of Boolean Functions. Dept. of CSE, IEM, Kolkata

Unit 2 Session - 6 Combinational Logic Circuits

Karnaugh Maps Objectives

Lecture 6: Manipulation of Algebraic Functions, Boolean Algebra, Karnaugh Maps

ELC224C. Karnaugh Maps

Appendix A: Digital Logic. Principles of Computer Architecture. Principles of Computer Architecture by M. Murdocca and V. Heuring

Chapter 2 Combinational Logic Circuits

Review. EECS Components and Design Techniques for Digital Systems. Lec 06 Minimizing Boolean Logic 9/ Review: Canonical Forms

Digital Logic Appendix A

L4: Karnaugh diagrams, two-, and multi-level minimization. Elena Dubrova KTH / ICT / ES

Logic Simplification. Boolean Simplification Example. Applying Boolean Identities F = A B C + A B C + A BC + ABC. Karnaugh Maps 2/10/2009 COMP370 1

Simplifying Logic Circuits with Karnaugh Maps

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

Computer Organization I. Lecture 13: Design of Combinational Logic Circuits

CSE 140 Midterm I - Solution

Simplify the following Boolean expressions and minimize the number of literals:

CSE 140: Components and Design Techniques for Digital Systems

Boolean Algebra. Digital Logic Appendix A. Postulates, Identities in Boolean Algebra How can I manipulate expressions?

CHAPTER 5 KARNAUGH MAPS

( c) Give logic symbol, Truth table and circuit diagram for a clocked SR flip-flop. A combinational circuit is defined by the function

Chapter 4 Optimized Implementation of Logic Functions

Chapter 7 Logic Circuits

Digital Circuit And Logic Design I. Lecture 4

Boolean Algebra. Digital Logic Appendix A. Boolean Algebra Other operations. Boolean Algebra. Postulates, Identities in Boolean Algebra

CHAPTER III BOOLEAN ALGEBRA

CS470: Computer Architecture. AMD Quad Core

Reg. No. Question Paper Code : B.E./B.Tech. DEGREE EXAMINATION, NOVEMBER/DECEMBER Second Semester. Computer Science and Engineering

Outcomes. Spiral 1 / Unit 5. Logic Function Synthesis KARNAUGH MAPS. Karnaugh Maps

Digital Logic. CS211 Computer Architecture. l Topics. l Transistors (Design & Types) l Logic Gates. l Combinational Circuits.

Spiral 1 / Unit 5. Karnaugh Maps

for Digital Systems Simplification of logic functions Tajana Simunic Rosing Sources: TSR, Katz, Boriello & Vahid

Optimizations and Tradeoffs. Combinational Logic Optimization

ECE 2300 Digital Logic & Computer Organization

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

Boolean Algebra and Digital Logic 2009, University of Colombo School of Computing

Outcomes. Spiral 1 / Unit 5. Logic Function Synthesis KARNAUGH MAPS. Karnaugh Maps

Week-I. Combinational Logic & Circuits

ENG2410 Digital Design Combinational Logic Circuits

ELEC Digital Logic Circuits Fall 2014 Sequential Circuits (Chapter 6) Finite State Machines (Ch. 7-10)

Lecture 4: Four Input K-Maps

Contents. Chapter 3 Combinational Circuits Page 1 of 36

CPE100: Digital Logic Design I

Philadelphia University Student Name: Student Number:

Systems I: Computer Organization and Architecture

CHAPTER III BOOLEAN ALGEBRA

DIGITAL ELECTRONICS & it0203 Semester 3

ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN. Week 9 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering

Digital Logic Design. Midterm #2

Working with Combinational Logic. Design example: 2x2-bit multiplier

ENGG 1203 Tutorial - 2 Recall Lab 2 - e.g. 4 input XOR. Parity checking (for interest) Recall : Simplification methods. Recall : Time Delay

CPE/EE 422/522. Chapter 1 - Review of Logic Design Fundamentals. Dr. Rhonda Kay Gaede UAH. 1.1 Combinational Logic

Review for Test 1 : Ch1 5

Karnaugh Map & Boolean Expression Simplification

ENGG 1203 Tutorial_9 - Review. Boolean Algebra. Simplifying Logic Circuits. Combinational Logic. 1. Combinational & Sequential Logic

Digital Logic: Boolean Algebra and Gates. Textbook Chapter 3

CS/COE1541: Introduction to Computer Architecture. Logic Design Review. Sangyeun Cho. Computer Science Department University of Pittsburgh

Gate-Level Minimization

Binary logic consists of binary variables and logical operations. The variables are

Logic design? Transistor as a switch. Layered design approach. CS/COE1541: Introduction to Computer Architecture. Logic Design Review.

CMSC 313 Lecture 15 Good-bye Assembly Language Programming Overview of second half on Digital Logic DigSim Demo

WEEK 3.1 MORE ON KARNAUGH MAPS

Combinational Logic Fundamentals

CPE100: Digital Logic Design I

Vidyalankar S.E. Sem. III [CMPN] Digital Logic Design and Analysis Prelim Question Paper Solution

COMBINATIONAL LOGIC FUNCTIONS

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

KUMARAGURU COLLEGE OF TECHNOLOGY COIMBATORE

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

Logic Design I (17.341) Fall Lecture Outline

UNIT 4 MINTERM AND MAXTERM EXPANSIONS

Faculty of Engineering. FINAL EXAMINATION FALL 2008 (December2008) ANSWER KEY

Reduction of Logic Equations using Karnaugh Maps

Chapter 2 Combinational Logic Circuits

XI STANDARD [ COMPUTER SCIENCE ] 5 MARKS STUDY MATERIAL.

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

ELCT201: DIGITAL LOGIC DESIGN

CprE 281: Digital Logic

14:332:231 DIGITAL LOGIC DESIGN. Combinational Circuit Synthesis

Delhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web: Ph:

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

Vidyalankar S.E. Sem. III [ETRX] Digital Circuits and Design Prelim Question Paper Solution

DIGITAL LOGIC CIRCUITS

CS221: Digital Design. Dr. A. Sahu. Indian Institute of Technology Guwahati

Boolean cubes EECS150. Mapping truth tables onto cubes. Simplification. The Uniting Theorem. Three variable example

Chapter 3. Boolean Algebra. (continued)

Z = F(X) Combinational circuit. A combinational circuit can be specified either by a truth table. Truth Table

Propositional Logic. Logical Expressions. Logic Minimization. CNF and DNF. Algebraic Laws for Logical Expressions CSC 173

Chap 2. Combinational Logic Circuits

Logic. Combinational. inputs. outputs. the result. system can

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

Review for B33DV2-Digital Design. Digital Design

Transcription:

B-1 Principles of Computer Architecture Miles Murdocca and Vincent Heuring Appendix B: Reduction of Digital Logic B-2 Chapter Contents B.1 Reduction of Combinational Logic and Sequential Logic B.2 Reduction of Two-Level Expressions B.3 State Reduction

B-3 Reduction (Simplification) of Boolean Expressions It is usually possible to simplify the canonical SOP (or POS) forms. A smaller Boolean equation generally translates to a lower gate count in the target circuit. We cover three methods: algebraic reduction, Karnaugh map reduction, and tabular (Quine-McCluskey) reduction. B-4 Reduced Majority Function Circuit Compared with the AND-OR circuit for the unreduced majority function, the inverter for C has been eliminated, one AND gate has been eliminated, and one AND gate has only two inputs instead of three inputs. Can the function by reduced further? How do we go about it?

B-5 The Algebraic Method Consider the majority function, F. We apply the algebraic method to reduce F to its minimal two-level form: B-6 The Algebraic Method This majority circuit is functionally equivalent to the previous majority circuit, but this one is in its minimal two-level form:

B-7 Karnaugh Maps: Venn Diagram Representation of Majority Function Each distinct region in the Universe represents a minterm. This diagram can be transformed into a Karnaugh Map. B-8 K-Map for Majority Function Place a 1 in each cell that corresponds to that minterm. Cells on the outer edge of the map wrap around

B-9 Adjacency Groupings for Majority Function F = BC + AC + AB B-10 Minimized AND-OR Majority Circuit F = BC + AC + AB The K-map approach yields the same minimal two-level form as the algebraic approach.

B-11 K-Map Groupings Minimal grouping is on the left, non-minimal (but logically equivalent) grouping is on the right. To obtain minimal grouping, create smallest groups first. B-12 K-Map Corners are Logically Adjacent

B-13 K-Maps and Don t Cares There can be more than one minimal grouping, as a result of don t cares. B-14 3-Level Majority Circuit K-Kap Reduction results in a reduced two-level circuit (that is, AND followed by OR. Inverters are not included in the two-level count). Algebraic reduction can result in multi-level circuits with even fewer logic gates and fewer inputs to the logic gates.

B-15 Truth Table with Don t Cares A truth table representation of a single function with don t cares. B-16 Tabular (Quine-McCluskey) Reduction Tabular reduction begins by grouping minterms for which F is nonzero according to the number of 1 s in each minterm. Don t cares are considered to be nonzero. The next step forms a consensus (the logical form of a cross product) between each pair of adjacent groups for all terms that differ in only one variable.

B-17 On considère la fonction = 1 pour tous les mintermes Implicants premier Mintermes 0000 0001 0011 0101 0110 0111 1010 1011 1101 1111 000 011 101 0 1 11 1 1 B-18 Table of Choice On élimine les don t care The prime implicants form a set that completely covers the function, although not necessarily minimally. A table of choice is used to obtain a minimal cover set.

B-19 Reduced Table of Choice In a reduced table of choice, the essential prime implicants and the minterms they cover are removed, producing the eligible set. F = ABC + ABC + BD + AD B-20 Multiple Output Truth Table The power of tabular reduction comes into play for multiple functions, in which minterms can be shared among the functions.

B-21 Multiple Output Table of Choice F 0 (A,B,C) = ABC + BC F 1 (A,B,C) = AC + AC + BC F 2 (A,B,C) = B B-22 Speed and Performance The speed of a digital system is governed by: the propagation delay through the logic gates and the propagation delay across interconnections. We will look at characterizing the delay for a logic gate, and a method of reducing circuit depth using function decomposition.

B-23 Propagation Delay for a NOT Gate (From Hamacher et. al. 1990) B-24 MUX Decomposition A D

B-25 OR-Gate Decomposition Fanin affects circuit depth. B-26 State Reduction Description of state machine M 0 to be reduced.

B-27 A next state tree for M 0. Distinguishing Tree B-28 Reduced State Table A reduced state table for machine M 1.

B-29 Sequence Detector State Transition Diagram B-30 Sequence Detector State Table

B-31 Sequence Detector Reduced State Table B-32 Sequence Detector State Assignment

B-33 Sequence Detector K-Maps K-map reduction of next state and output functions for sequence detector. B-34 Sequence Detector Circuit

B-35 Excitation Tables Each table shows the settings that must be applied at the inputs at time t in order to change the outputs at time t+1. B-36 Serial Adder

B-37 Serial Adder Next-State Functions Truth table showing next-state functions for a serial adder for D, S- R, T, and J-K flip-flops. Shaded functions are used in the example. B-38 J-K Flip-Flop Serial Adder Circuit

B-39 D Flip-Flop Serial Adder Circuit B-40 Majority Finite State Machine

B-41 Majority FSM State Table (a) State table for majority FSM; (b) partitioning; (c) reduced state table. B-42 Majority FSM State Assignment (a) State assignment for reduced majority FSM using D flipflops; and (b) using T flip-flops.

B-43 Majority FSM Circuit