Gate-Level Minimization

Similar documents
Chapter 3. Gate-Level Minimization. Outlines

Gate-Level Minimization

Gate Level Minimization Map Method

Gate-Level Minimization

Digital Logic Design. Outline

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

Gate-Level Minimization

Gate Level Minimization

ELCT201: DIGITAL LOGIC DESIGN

A B AB CD Objectives:

ELCT201: DIGITAL LOGIC DESIGN

CSCI 220: Computer Architecture I Instructor: Pranava K. Jha. Simplification of Boolean Functions using a Karnaugh Map

Simplification of Boolean Functions

2.1 Binary Logic and Gates

CENG 241 Digital Design 1

Chapter 2 Combinational

Experiment 3: Logic Simplification


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

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

Chapter 2 Combinational Logic Circuits

Simplification of Boolean Functions

Combinational Logic Circuits

Code No: R Set No. 1

Chapter 2 Boolean algebra and Logic Gates

Chapter 2. Boolean Expressions:

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.

B.Tech II Year I Semester (R13) Regular Examinations December 2014 DIGITAL LOGIC DESIGN

QUESTION BANK FOR TEST

Code No: R Set No. 1

Code No: R Set No. 1

Chapter 3 Simplification of Boolean functions

Literal Cost F = BD + A B C + A C D F = BD + A B C + A BD + AB C F = (A + B)(A + D)(B + C + D )( B + C + D) L = 10

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

CMPE223/CMSE222 Digital Logic

Combinational Logic Circuits

Dr. S. Shirani COE2DI4 Midterm Test #1 Oct. 14, 2010

Chapter 2 Combinational Logic Circuits

Code No: 07A3EC03 Set No. 1

SWITCHING THEORY AND LOGIC CIRCUITS

Combinational Logic & Circuits

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

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

UNIT II. Circuit minimization

Chapter 2: Combinational Systems

Gate-Level Minimization. section instructor: Ufuk Çelikcan

Graduate Institute of Electronics Engineering, NTU. CH5 Karnaugh Maps. Lecturer: 吳安宇教授 Date:2006/10/20 ACCESS IC LAB

DKT 122/3 DIGITAL SYSTEM 1

Specifying logic functions

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

CS8803: Advanced Digital Design for Embedded Hardware


Date Performed: Marks Obtained: /10. Group Members (ID):. Experiment # 04. Boolean Expression Simplification and Implementation

IT 201 Digital System Design Module II Notes

ECE380 Digital Logic

Experiment 4 Boolean Functions Implementation

1. Mark the correct statement(s)

Digital Logic Lecture 7 Gate Level Minimization

Switching Circuits & Logic Design

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

CHAPTER-2 STRUCTURE OF BOOLEAN FUNCTION USING GATES, K-Map and Quine-McCluskey

LOGIC CIRCUITS. Kirti P_Didital Design 1

END-TERM EXAMINATION

BOOLEAN ALGEBRA. 1. State & Verify Laws by using :

Combinational Circuits Digital Logic (Materials taken primarily from:

Lecture 4: Implementation AND, OR, NOT Gates and Complement

X Y Z F=X+Y+Z

Ch. 5 : Boolean Algebra &

CprE 281: Digital Logic

VALLIAMMAI ENGINEERING COLLEGE. SRM Nagar, Kattankulathur DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING EC6302 DIGITAL ELECTRONICS

Boolean Algebra and Logic Gates

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

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District DEPARTMENT OF INFORMATION TECHNOLOGY CS 2202 DIGITAL PRINCIPLES AND SYSTEM DESIGN

EEE130 Digital Electronics I Lecture #4_1

Chapter 3. Boolean Algebra and Digital Logic

Standard Forms of Expression. Minterms and Maxterms

NODIA AND COMPANY. GATE SOLVED PAPER Computer Science Engineering Digital Logic. Copyright By NODIA & COMPANY

Karnaugh Map (K-Map) Karnaugh Map. Karnaugh Map Examples. Ch. 2.4 Ch. 2.5 Simplification using K-map

Combinational Logic Circuits Part III -Theoretical Foundations

Combinational Logic Circuits

University of Technology

Mid-Term Exam Solutions

Programmable Logic Devices. Programmable Read Only Memory (PROM) Example

Digital Logic Design (CEN-120) (3+1)

Review: Standard forms of expressions

Switching Theory & Logic Design/Digital Logic Design Question Bank

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

EE 8351 Digital Logic Circuits Ms.J.Jayaudhaya, ASP/EEE

Summary. Boolean Addition

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

Binary logic. Dr.Abu-Arqoub

Presented By :- Alok Kumar Lecturer in ECE C.R.Polytechnic, Rohtak

Points Addressed in this Lecture. Standard form of Boolean Expressions. Lecture 4: Logic Simplication & Karnaugh Map

Contents. Chapter 3 Combinational Circuits Page 1 of 34

2.6 BOOLEAN FUNCTIONS

Unit-IV Boolean Algebra

Philadelphia University Faculty of Information Technology Department of Computer Science. Computer Logic Design. By Dareen Hamoudeh.

R07

Presentation 4: Programmable Combinational Devices

Logic Gates and Boolean Algebra ENT263

Transcription:

MEC520 디지털공학 Gate-Level Minimization Jee-Hwan Ryu School of Mechanical Engineering Gate-Level Minimization-The Map Method Truth table is unique Many different algebraic expression Boolean expressions may be simplified by algebraic means But, awkward due to the lack of specific rules Karnaugh Map or K-map method Pictorial form of truth table A simple and straight forward procedure 2/29

Why Need to be Simple? Produces a circuit diagram with a minimum number of gates and the minimum number of inputs to the gate Simplest expression is not unique 3/29 Two-Variable Map m1+m2+m3 = x'y +xy' +xy = x +y 4/29

Three-Variable Map Not in a binary sequence, but in a sequence similar to Gray code m m 5 0 + m + m 7 2 = xy z + xyz = xz = x y z + x yz = ( y + y ) = xz x z ( y + y) = x z 5/29 Examples Ex 3-1) Simplify the Boolean function, F(x, y, z) = Σ(2, 3, 4, 5) F = x'y + xy' Ex 3-4) Simplify the Boolean Function, F(x, y, z) = Σ(0, 2, 4, 5, 6) F = z + xy x yz 0 0 0 1 y 11 10 0 1 1 x 1 1 1 1 z 6/29

Example Ex 3-4) Given Boolean function, F = A'C + A'B +AB C +BC a) express it in sum of minterms F(x, y, z) = Σ(1, 2, 3, 5, 7) b) find the minimal sum of products F = C + A'B 7/29 Four-Variable Map Ex 3-5) Simplify the Boolean function, F(w, x, y, z) = Σ(0, 1, 2, 4, 5, 6, 8, 9, 12, 13, 14) F = y'+ w'z' + xz' 8/29

Examples 1. Simplify the Boolean function F(x, y, z) = Σ(3, 4, 6, 7) yz + xz 2. Simplify the Boolean function F(x, y, z) = Σ(0, 2, 4, 5, 6) z + xy 9/29 Prime Implicants Prime Implicant is a product term obtained by combining the maximum possible number of adjacent squares in the map. F(A,B,C,D) = Σ(0,2,3,5,7,8,9,10,11,13,15) F=BD+B'D'+CD+AD =BD+B'D'+CD+AB' =BD+B'D'+B'C+AD =BD+B'D'+B'C+AB' 10/29

Five-Variable Map 11/29 Example Ex 3-7) Simplify the Boolean function, F(A,B,C,D,E)=Σ(0,2,4,6,9,13,21,23,25,29,31) F = A'B'E' + BD'E + ACE 12/29

Examples 1. Simplify the following Boolean functions by first finding the essential prime implicants: F(A,B,C,D)=Σ(0,2,3,5,7,8,10,11,14,15) i) find the essential prime implicants CD+B D ii) find the non essential prime implicants AC+A BD iii) simplify function F CD+B D + AC+A BD 2. Simplify the following Boolean functions, using five-variable maps: F(A,B,C,D,E)=Σ(0,1,4,5,16,17,21,25,29) Ans) A B D +B C D +AD E 13/29 Product of Sums Simplification Ex 3-8) Simplify the Boolean function, F(A, B, C, D) = Σ(0, 1, 2, 5, 8, 9, 10) a) sum of products F = B'D' + B C' +A'C'D b) product of sum F' = AB + CD + BD' F = (A' +B')(C' +D')(B' +D) 14/29

Product of Sums Simplification F( x, y, z) = Σ(1, 3, 4, 6) = Π(0, 2, 5, 7) F = x'z +xz' F' = xz +x'z' F = (x'+z )(x + z) 15/29 Examples Simplify the following Boolean functions in product of sums: 1. F( w, x, y, z) = Σ(0, 2, 5, 6, 7, 8, 10) Ans) (w +x )(x+z )(x +y+z) 2. F(A,B,C,D) = Π(1,3,5,7,13,15) Ans) (B +D )(A+D ) 16/29

Don t-care Conditions Ex 3-9) Simplify the Boolean function, F(w, x, y, z) = Σ(1,3,7,11,15) Don t-care conditions, d(w, x, y, z) = Σ(0, 2, 5) F(w, x, y, z) = yz + w'x' = Σ(0, 1, 2, 3, 7, 11, 15) F(w, x, y, z) = yz + w'z = Σ(1, 3, 5, 7, 11, 15) 17/29 NAND and NOR Implementation Digital circuits are frequently constructed with NAND or NOR gates rather than AND and OR gates NAND and NOR gates are easier to fabricate with electronic components Basic gates used in all IC digital logic families 18/29

NAND Circuits NAND Circuit Single input NAND gate = Complement NAND gate is a universal gate 19/29 Two-Level Implementation F = ((AB)'(CD)')' = AB + CD Ex 3-10) Implement the following Boolean function with NAND gates: F(x, y, z) = Σ(1, 2, 3, 4, 5, 7) = xy' + x'y + z 20/29

Multilevel NAND Circuits Convert all AND to NAND with NAND-inverter Convert all OR to NAND with inverter-nand Check all the inverter in the diagram. For every inverter that is not compensated by another circle along the same line, insert an inverter (one-input NAND gate) or complement the input literal 21/29 Example-Multilevel NAND Circuits 22/29

Example-Multilevel NAND Circuits ( AB + A B)( C + D ) F = A B A B F C D (a) AND-OR gates A B A B F C D (b) NAND gates 23/29 NOR Implementation 24/29

NOR Operation is the Dual of the NAND OR gates to NOR gates with NOR-invert AND gates to NOR gates with invert-nor Any Inverter that is not compensated by another inverter along the same line needs an inverter or the complementation of the input literal 25/29 Example F = (AB' + A'B)(C + D') 26/29

Exclusive-OR Function XOR : x y = xy + x y XNOR : ( x y) ' = xy + x y x 0 = x x 1 = x x x = 0 x x = 1 x y = x y = ( x y) 27/29 Parity Generation and Checking Same circuit for checking and generation P=0 28/29

HDL(Hardware Description Language) //HDL Example 3-1 //Description of the simple circuit of Fig. 3-37 module smpl_circuit(a,b,c,x,y); input A,B,C; output x,y; wire e; and g1(e,a,b); not g2(y, C); or g3(x,e,y); endmodule 29/29