ELCT201: DIGITAL LOGIC DESIGN

Similar documents
ELCT201: DIGITAL LOGIC DESIGN

Chapter 3. Gate-Level Minimization. Outlines

Gate-Level Minimization

Chapter 2. Boolean Expressions:

Gate Level Minimization Map Method

Gate Level Minimization

IT 201 Digital System Design Module II Notes

Chapter 2 Combinational

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

Combinational Logic Circuits

Chapter 2 Combinational Logic Circuits

Gate-Level Minimization

A B AB CD Objectives:

Experiment 4 Boolean Functions Implementation

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

Simplification of Boolean Functions

Combinational Logic Circuits Part III -Theoretical Foundations

Gate-Level Minimization

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


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

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

Experiment 3: Logic Simplification

CS8803: Advanced Digital Design for Embedded Hardware

Bawar Abid Abdalla. Assistant Lecturer Software Engineering Department Koya University

Summary. Boolean Addition

Combinational Logic Circuits

Chapter 2 Boolean algebra and Logic Gates

QUESTION BANK FOR TEST

Specifying logic functions

DKT 122/3 DIGITAL SYSTEM 1

Digital Logic Lecture 7 Gate Level Minimization

2.1 Binary Logic and Gates

ECE380 Digital Logic

Combinational Logic & Circuits

Combinational Circuits Digital Logic (Materials taken primarily from:

Standard Forms of Expression. Minterms and Maxterms

Chapter 2 Combinational Logic Circuits

Gate-Level Minimization. section instructor: Ufuk Çelikcan

Menu. Algebraic Simplification - Boolean Algebra EEL3701 EEL3701. MSOP, MPOS, Simplification

4 KARNAUGH MAP MINIMIZATION

Code No: R Set No. 1

Simplification of Boolean Functions

2.6 BOOLEAN FUNCTIONS

Bawar Abid Abdalla. Assistant Lecturer Software Engineering Department Koya University

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

Chapter 3 Simplification of Boolean functions

CMPE223/CMSE222 Digital Logic

UNIT II. Circuit minimization

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

Boolean Analysis of Logic Circuits

Digital Logic Design. Outline

Unit-IV Boolean Algebra

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

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

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

Gate-Level Minimization

Code No: R Set No. 1

Code No: 07A3EC03 Set No. 1

Module -7. Karnaugh Maps

Ch. 5 : Boolean Algebra &

CprE 281: Digital Logic

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

Lecture (05) Boolean Algebra and Logic Gates

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

DIGITAL CIRCUIT LOGIC UNIT 5: KARNAUGH MAPS (K-MAPS)

Switching Circuits & Logic Design

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

X Y Z F=X+Y+Z

R.M.D. ENGINEERING COLLEGE R.S.M. Nagar, Kavaraipettai

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

University of Technology

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

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

1. Mark the correct statement(s)

(Refer Slide Time 6:48)

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

Code No: R Set No. 1

Binary logic. Dr.Abu-Arqoub

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

SWITCHING THEORY AND LOGIC CIRCUITS

Combinational Devices and Boolean Algebra

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

Boolean Algebra and Logic Gates

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

EEE130 Digital Electronics I Lecture #4_1

Contents. Chapter 3 Combinational Circuits Page 1 of 34

ENGIN 112 Intro to Electrical and Computer Engineering

ENGIN 112. Intro to Electrical and Computer Engineering

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.

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

CS470: Computer Architecture. AMD Quad Core

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

MODULE 5 - COMBINATIONAL LOGIC

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

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

SIDDHARTH GROUP OF INSTITUTIONS :: PUTTUR Siddharth Nagar, Narayanavanam Road QUESTION BANK (DESCRIPTIVE)

Chapter 6. Logic Design Optimization Chapter 6

2/8/2017. SOP Form Gives Good Performance. ECE 120: Introduction to Computing. K-Maps Can Identify Single-Gate Functions

Computer Science. Unit-4: Introduction to Boolean Algebra

Transcription:

ELCT201: DIGITAL LOGIC DESIGN Dr. Eng. Haitham Omran, haitham.omran@guc.edu.eg Dr. Eng. Wassim Alexan, wassim.joseph@guc.edu.eg Lecture 3 Following the slides of Dr. Ahmed H. Madian محرم 1439 ه Winter 2018

COURSE OUTLINE 1. Introduction 2. Gate-Level Minimization 3. Combinational Logic 4. Synchronous Sequential Logic 5. Registers and Counters 6. Memories and Programmable Logic 2

4-VARIABLE MAP Notice the order of the minterms Remember that the cells in the top row are adjacent to the cells in the bottom row Remember that cells in the most left column are adjacent to cells in the most right column Remember that cells in the four corners are adjacent to each other 3

NOTES ON A 4-VARIABLE MAP The number of adjacent squares that may be combined must always represent a number that is a power of two, such as 1, 2, 4, 8 and 16 As more adjacent squares are combined, we obtain a product term with fewer literals One square represents one minterm, giving a term with 4 literals Two adjacent squares represent a term with 3 literals Four adjacent squares represent a term with 2 literals Eight adjacent squares represent a term with 1 literal Sixteen adjacent squares encompass the entire map and produce a function that is always equal to logic 1 4

4-VARIABLE MAP: EXAMPLE I Simplify the Boolean expression: F A, B, C, D = Σ(0,1,2,4,5,7,8,9,10,12,13) 5

4-VARIABLE MAP: EXAMPLE I Simplify the Boolean expression: F A, B, C, D = Σ(0,1,2,4,5,7,8,9,10,12,13) F A, B, C, D = C + B D + A BD 6

4-VARIABLE MAP: EXAMPLE II Simplify the Boolean expression: F w, x, y, z = Σ(0,1,2,4,5,6,8,9,12,13,14) 7

4-VARIABLE MAP: EXAMPLE II Simplify the Boolean expression: F w, x, y, z = Σ(0,1,2,4,5,6,8,9,12,13,14) F w, x, y, z = y + w z + xz 8

CHOICE OF BLOCKS We can simplify a function by using larger blocks Do we really need all blocks? Can we leave some out to further simplify an expression? Any function needs to contain a special type of blocks These are called Essential Prime Implicants We need to define some new terms: Implicant Prime implicant Essential prime implicant 9

TERMINOLOGY Implicant (I) Any product term in the SOP form A block of 1s in a K-map Prime implicant (PI) Block of 1s that cannot be further increased Product term that cannot be further reduced Essential prime implicant (EPI) A prime implicant on a K-map which covers at least one 1 which is not covered by any other prime implicant is called an Essential Prime Implicant Is C an essential prime implicant? 10

THE SYSTEMATIC PROCEDURE FOR SIMPLIFYING BOOLEAN FUNCTIONS 1. Generate all Prime Implicants of the function 2. Include all Essential Prime Implicants 3. For the remaining minterms not included in the Essential Prime Implicants, select a set of other Prime Implicants to cover them, with minimal overlap in the set 4. The resulting simplified function is the logical OR of the product terms selected above 11

ILLUSTRATING THE TERMS: EXAMPLE I The Prime Implicants are: A D gray, AC rose, BC D pink, CD purple, ABD green, A BC (yellow). Of which only three are Essential: A D gray and AC rose 12

ILLUSTRATING THE TERMS: EXAMPLE II The Prime Implicants are: BD gray, A BC yellow, AC D purple, ABC green, A CD rose. Of which only four are Essential: A BC yellow, AC D purple, ABC green and A CD rose. 13

PRODUCT OF SUMS SIMPLIFICATION USING K-MAPS Use the SOP simplification on the zeros of the function in the K-map to get F Find the complement of F, i.e. F = F Recall that the complement of a Boolean function can be obtained by (1) taking the dual and (2) complementing each literal Or by using DeMorgan s theorem 14

PRODUCT OF SUMS MINIMIZATION How to generate a POS from a K-map? Use duality of Boolean algebra (DeMorgan s law) Look at the 0s in map instead of the 1s Generate blocks around the 0s This gives the inverse of F Use duality to generate POS Example: F = (0,1,2,5,8,9,10) F = AB + CD + BD F = (A + B )(C + D )(B + D) 15

GATE IMPLEMENTATION SOP using: The 1s in the k-map POS using: The 0s in the k-map F = B D + B C + A C D F = (A + B )(C + D )(B + D) 16

EXAMPLE ON POS MINIMIZATION Given the K-map below, produce the F from the zeros in the map and then obtain F from it F = AB +AC +A BCD F = (AB )(AC )(A BCD ) F = (A + B)(A + C)(A + B + C + D) 17

DON T CARE CONDITIONS There may be a combination of input values which: Will never occur, If they do occur, the output is of no concern The function value for such combinations is called a don t care They are usually denoted with an X Each X may be arbitrarily assigned the value 0 or 1 in an implementation Don t cares can be used to further simplify a function 18

MINIMIZATION USING DON T CARES Treat don t cares as if they are 1s to generate Prime Implicants Delete Prime Implicants that cover only don t care minterms Treat the covering of the remaining don t care minterms as optional in the selection process (i.e. they maybe, but need not be covered) 19

MINIMIZATION EXAMPLE F w, x, y, z = (1,3,7,11,15) and d w, x, y, z = (0,2,5) What are the possible solutions? F = yz + w x F = yz + w z 20 20

EXAMPLE INVOLVING X Simplify the function whose K-map is shown at the right F = A C D + AB + CD + A BC or F = A C D + AB + CD + A BD 21

ANOTHER EXAMPLE Simplify the function whose K-map is shown at the right F = A C + AB or F = A C + BD 22

NAND AND NOR IMPLEMENTATIONS Digital circuits are frequently constructed with NAND or NOR gates rather than AND & OR gates NAND and NOR gates are easier to fabricate with electronic components and are the basic gates used in all IC digital logic families A NAND gate has the smallest propagation time delay among the other gates, except for the inverter! 23

NAND AND NOR IMPLEMENTATIONS Each NAND or NOR gate requires only 4 transistors Each AND gate requires 6 transistors 24

LOGIC OPERATION WITH NAND GATE NOT, AND, and OR can be implemented with NAND! The complement operation is obtained from a one-input NAND gate that behaves exactly like an inverter 25

CONVERSION TO NAND IMPLEMENTATION Minimized expressions are AND-OR combinations There are two illustrations for NAND gates Key observation: two bubbles eliminate each other Two bubbles equal a straight wire How to generate a sum of minterms using NAND? Use AND-invert for minterms Use invert-or for sum 26

CONVERSION TO NAND IMPLEMENTATION Sum of minterms Replace AND with AND-invert and OR with invert-or Still the same circuit! Replace AND-invert and invert-or with NAND F = (AB) (CD) = AB + CD 27

NAND EXAMPLE IMPLEMENTATION Minimize and implement the function F(x, y, z) = (1,2,3,4,5,7), using only NAND gates F = xy + x y + z 28

MULTILEVEL NAND CIRCUITS Multilevel circuits conversion rules: 1. Convert all AND gates to NAND with AND-invert symbols 2. Convert all OR gates to NAND with invert-or symbols 3. Check all bubbles in the diagram. For every bubble that is not compensated by another bubble, insert an inverter. Example: 29

MULTILEVEL NAND CIRCUITS: AN EXAMPLE F = (AB + A B)(C + D ) 30

LOGIC OPERATION WITH NOR GATE NOR can also replace NOT, AND & OR The complement operation is obtained from a one-input NOR gate that behaves exactly like an inverter There are two representations of the NOR gate: 31

CONVERTING TO NOR IMPLEMENTATIONS Same rules as for NAND implementations F = (AB + A B)(C + D ) With NOR F = (AB + A B)(C + D ) 32