D IGITAL L OGIC D ESIGN I G ATE -L EVEL M INIMIZATION.

Slides:



Advertisements
Similar presentations
Digital Logic Design Gate-Level Minimization
Advertisements

Chapter3: Gate-Level Minimization Part 2
Gate-Level Minimization
Gate-Level Minimization
Logic Gate Level Part 2. Constructing Boolean expression from truth table First method: write nonparenthesized OR of ANDs Each AND is a 1 in the result.
Gate-Level Minimization. Digital Circuits The Map Method The complexity of the digital logic gates the complexity of the algebraic expression.
CHAPTER 3 Digital Logic Structures
Contemporary Logic Design Two-Level Logic © R.H. Katz Transparency No. 3-1 Chapter #2: Two-Level Combinational Logic Section 2.1, Logic Functions.
Introduction Gate-level minimization refers to the design task of finding an optimal gate-level implementation of Boolean functions describing a digital.
CSCE 211: Digital Logic Design
Chapter Two Boolean Algebra and Logic Gate
CS 105 Digital Logic Design
Chapter 2: Boolean Algebra and Logic Functions
Combinational Circuits
Overview of Chapter 3 °K-maps: an alternate approach to representing Boolean functions °K-map representation can be used to minimize Boolean functions.
1 COMBINATIONAL LOGIC One or more digital signal inputs One or more digital signal outputs Outputs are only functions of current input values (ideal) plus.
NOCTI Review Lesson 4 Objectives:
Chapter 3 Combinational Design Digital Logic Design III
BOOLEAN ALGEBRA Saras M. Srivastava PGT (Computer Science)
Department of Computer Engineering
F = ∑m(1,4,5,6,7) F = A’B’C+ (AB’C’+AB’C) + (ABC’+ABC) Use X’ + X = 1.
Gate-Level Minimization Chapter 3. Digital Circuits The Map Method The complexity of the digital logic gates the complexity of the algebraic expression.
LOGIC GATES & TRUTH TABLE – Digital Circuit 1 Choopan Rattanapoka.
D IGITAL L OGIC D ESIGN I G ATE -L EVEL M INIMIZATION.
October 29, 2015 EASTERN MEDITERRANEAN UNIVERSITY1 Digital Logic Design I Gate-Level Minimization Mustafa Kemal Uyguroğlu.
Sneha.  Gates Gates  Characteristics of gates Characteristics of gates  Basic Gates Basic Gates  AND Gate AND Gate  OR gate OR gate  NOT gate NOT.
Chapter 3 Gate-Level Minimization
Logic Design CS221 1 st Term Logic-Circuit Implementation Cairo University Faculty of Computers and Information.
Gate-Level Minimization
Gate-level Minimization
D IGITAL L OGIC D ESIGN I G ATE -L EVEL M INIMIZATION.
卡諾圖 卡諾圖是化簡布林表示式的方法。 目的是減少數位系統中邏輯閘數目。 Gate-level minimization.
Computer Engineering (Logic Circuits) (Karnaugh Map)
Chap 2. Combinational Logic Circuits. Chap Binary Logic and Gates l 디지털 회로 (Digital circuits) o hardware components that manipulate binary information.
Chapter3: Gate-Level Minimization Part 1 Origionally By Reham S. Al-Majed Imam Muhammad Bin Saud University.
Chapter 3 Gate-level Minimization. 3-7 NAND and NOR Implementation Digital circuits are frequently constructed with NAND or NOR gates rather than with.
CH51 Chapter 5 Combinational Logic By Taweesak Reungpeerakul.
LOGIC GATES & BOOLEAN ALGEBRA
CS 1110 Digital Logic Design
Logic Gates. The Inverter The inverter (NOT circuit) performs the operation called inversion or complementation. Standard logic symbols: 1 1 input output.
Chapter 3 Gate-Level Minimization
CS 121 Digital Logic Design Gate-Level Minimization Chapter 3.
Chapter Four Combinational Logic 1. C OMBINATIONAL C IRCUITS It consists of input variables, logic gates and output variables. Output is function of input.
Chap 2. Combinational Logic Circuits
Digital Integrated Circuit Design Laboratory Department of Computer Science and Information Engineering National Cheng Kung University Experiment on digital.
LOGIC CIRCUITLOGIC CIRCUIT. Goal To understand how digital a computer can work, at the lowest level. To understand what is possible and the limitations.
Floyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd Chapter 5 © 2008 Pearson Education.
Boolean Algebra & Logic Circuits Dr. Ahmed El-Bialy Dr. Sahar Fawzy.
Karnaugh Map and Circuit Design.
Chapter Four Combinational Logic 1. C OMBINATIONAL C IRCUITS It consists of input variables, logic gates and output variables. Output is function of input.
Karnaugh Map (K-Map) By Dr. M. Khamis Mrs. Dua’a Al Sinari.
Digital Logic (Karnaugh Map). Karnaugh Maps Karnaugh maps (K-maps) are graphical representations of boolean functions. One map cell corresponds to a row.
Lecture 07 Digital logic By Amr Al-Awamry. 4 variables K-Map.
1 논리공학 고려대학교 전기전자전파공학부 김종국. 2  1 or 0, yes or no, true or false …  디지털 시스템을 위한 기초  거의 모든 전기전자제품은 디지털 시스템 e.g., 핸드폰, 전자시계, 컴퓨터 …  이진수  필요성  십진수에서.
ACOE161Digital Circuit Design1 Design Of Combinational Logic Circuits.
Fuw-Yi Yang1 數位系統 Digital Systems Department of Computer Science and Information Engineering, Chaoyang University of Technology 朝陽科技大學資工系 Speaker: Fuw-Yi.
Lecture 1 Gunjeet kaur Dronacharya group of institutions.
FIGURE 3.1 Two-variable K-map
CHAPTER 3 Simplification of Boolean Functions
Eng. Mai Z. Alyazji October, 2016
Chapter 2: Boolean Algebra and Logic Functions
CS 105 Digital Logic Design
Princess Sumaya University
مدار منطقی Logic Circuits
BASIC & COMBINATIONAL LOGIC CIRCUIT
Digital Logic Design I Gate-Level Minimization
Chapter 3 Gate-level Minimization.
Gate Level Minimization
3-Variable K-map AB/C AB/C A’B’ A’B AB AB’
Computer Architecture
Presentation transcript:

D IGITAL L OGIC D ESIGN I G ATE -L EVEL M INIMIZATION

2 P RODUCT OF S UMS S IMPLIFICATION Simplified F' in the form of sum of products using the minterms marked with 0’s. Apply DeMorgan's theorem F = ( F' ) ' F' : sum of products → F : product of sums

3 E XAMPLE Simplify F =  (0, 1, 2, 5, 8, 9, 10) into (a) sum-of- products form, and (b) product-of-sums form: F(A, B, C, D)=  (0, 1, 2, 5, 8, 9, 10) = B'D'+B'C'+A'C'D a)F(A, B, C, D)=  (0, 1, 2, 5, 8, 9, 10) = B'D'+B'C'+A'C'D b)F' = AB+CD+BD' » Apply DeMorgan's theorem; F=(A'+B')(C'+D')(B'+D)

4 E XAMPLE ( CONT.) Gate implementation of the function of the previous example Gate Implementation of the Function F Product-of sums form Sum-of products form

5 Consider the function defined in Table 3.2. In sum-of-minterm: In product-of-maxterm:

6 Consider the function defined in Table 3.2. Combine the 1’s: F ( x, y, z ) = x  y Combine the 0’s : Taking the complement of F Map for the function of Table 3.2 ' 0

7 D ON ' T -C ARE C ONDITIONS A don't-care term for a function is an input- sequence (a series of bits) that is known never to occur. The designer of a logic circuit to implement the function need not care about such inputs. The value of a function is not specified for certain combinations of variables BCD; : don't care Functions that have unspecified outputs for some input combinations are called incompletely specified functions.

The don't-care conditions can be utilized in logic minimization Can be implemented as 0 or 1 Simplify F ( w, x, y, z ) =  (1, 3, 7, 11, 15) which has the don't-care conditions d ( w, x, y, z ) =  (0, 2, 5). a b c g e d f ? wxyzwxyz abcdefgabcdefg BCD code

9 E XAMPLE ( CONT.) F = yz + w'x'; F = yz + w'z F =  (0, 1, 2, 3, 7, 11, 15) ; F =  (1, 3, 5, 7, 11, 15) Either expression is acceptable Example with don't-care Conditions

10 NAND AND NOR I MPLEMENTATION NAND gate is a universal gate because any logic circuit can be implemented with it Logic Operations with NAND Gates

11 NAND G ATE Two graphic symbols for a NAND gate Two Graphic Symbols for NAND Gate

12 T WO - LEVEL I MPLEMENTATION Two-level logic NAND-NAND = sum of products Example: F = AB+CD F = (( AB)' ( CD ) ' ) ' =AB+CD Three ways to implement F = AB + CD

13 E XAMPLE Example : implement F ( x, y, z ) with NAND gate

14 P ROCEDURE WITH T WO L EVELS NAND The procedure Simplify the function and express it in sum of products; Draw a NAND gate for each product term; the inputs to each NAND gate are the literals of the term (the first level); Draw a single NAND gate in the second level; A term with a single literal requires an inverter in the first level. If it is complemented, it can be connected directly to an input of the second-level NAND gate.

15 M ULTILEVEL NAND C IRCUITS Boolean function implementation AND-OR logic → NAND-NAND logic AND → AND + inverter = NAND OR: inverter + OR = NAND For every bubble that is not compensated by another small circle along the same line, insert an inverter or complement the input literal. Implementing F = A(CD + B) + BC

16 NAND I MPLEMENTATION Implementing F = (AB +AB)(C+ D)

17 NOR I MPLEMENTATION NOR function is the dual of NAND function. The NOR gate is also universal gate. Logic Operation with NOR Gates

18 Two Graphic Symbols for a NOR Gate The function must be simplified in the form of product of sums; Example: F = (A + B)(C + D)E Implementing F = (A + B)(C + D)E Two Graphic Symbols for NOR Gate

19 P ROCEDURE WITH T WO L EVELS NOR The procedure Simplify the function and express it in product of sums; Draw a NOR gate for each sum term; the inputs to each NOR gate are the literals of the term (the first level); Draw a single NOR gate in the second level; A term with a single literal requires an inverter in the first level. If it is complemented, it can be connected directly to an input of the second-level NOR gate.

20 M ULTILEVEL NOR C IRCUITS Boolean function implementation Example: F = (AB +AB)(C + D)

21 E XCLUSIVE -OR F UNCTION Exclusive-OR (XOR) x  y = xy'+x'y Exclusive-NOR (XNOR) ( x  y ) ' = ( x' + y )( x + y' )= xy + x'y' Some identities x  0 = x x  1 = x' x  x = 0 x  x' = 1 x  y' = ( x  y ) ' = x'  y Commutative and associative A  B = B  A ( A  B )  C = A  ( B  C ) = A  B  C

22 E XCLUSIVE -OR I MPLEMENTATIONS Implementations xy'+x'y = x  y = xy'+x'y+xx’+yy’ = ( x'+y' ) x + ( x'+y' ) y ( x'+y' ) = ( xy ) ' Exclusive-OR Implementations

23 O DD F UNCTION A  B  C = ( AB'+A'B ) C' + ( AB+A'B' ) C = AB'C'+A'BC'+ABC+A'B'C =  (1, 2, 4, 7) XOR is a odd function → an odd number of 1's, then F = 1. XNOR is a even function → an even number of 1's, then F = 1. Map for a Three-variable Exclusive-OR Function

24 XOR AND XNOR Logic diagram of odd and even functions Logic Diagram of Odd and Even Functions

25 F OUR - VARIABLE E XCLUSIVE -OR FUNCTION Four-variable Exclusive-OR function A  B  C  D = ( AB'+A'B )  ( CD'+C'D ) = ( AB'+A'B )( CD+C'D' ) + ( AB+A'B' )( CD'+C'D ) Map for a Four-variable Exclusive-OR Function

T HE P ROBLEMS OF C HAPTER T HREE : 3.1, 3.3, 3.4(a, b, c, d), 3.6(a, b), 3.12(a, b), 3.13(a, c), 3.15(a, c), 3.16(a, b), 3.19(a, b)

Chapter Four Combinational Logic 27

C OMBINATIONAL C IRCUITS It consists of input variables, logic gates and output variables. Output is function of input only i.e. no feedback When input changes, output changes (after a delay) n inputsm outputs Combinational Circuits  28

For n input variables, there are 2 n possible combinations of the binary inputs. For each possible input combination, there is one possible value for each output variable. A combinational circuit can be specified with a truth table that lists the output values for each combination of input variables. A combinational circuit also can be described by m Boolean functions, one for each output variable. Each output function is expressed in terms of the n input variables.

C OMBINATIONAL C IRCUITS Analysis Given a circuit, find out its function Function may be expressed as: Boolean function Truth table Design Given a desired function, determine its circuit Function may be expressed as: Boolean function Truth table ? ? ? 30

A NALYSIS P ROCEDURE Boolean Expression Approach F 1 =T 2 +T 3= AB'C'+A'BC'+A'B'C+ABC F 2 =AB+AC+BC T 2 =ABC T 1 =A+B+C F 2 =AB+AC+BC F’ 2 =( A’+B’ )( A’+C’ )( B’+C’ ) T 3 =AB'C'+A'BC'+A'B'C 31

A NALYSIS P ROCEDURE We can obtain the truth table directly from the logic diagram Truth Table Approach A B C F1F1 F2F = 0 T2 = 0 T1 = 0 0 F2 = 0 F’2 = 1 T3 =

A NALYSIS P ROCEDURE Truth Table Approach = 0 = 1 = 0 = 1 = 0 = 1 = 0 = A B C F1F1 F2F

A NALYSIS P ROCEDURE Truth Table Approach = 0 = 1 = 0 = 1 = 0 = 1 = 0 = 1 = A B C F1F1 F2F

A NALYSIS P ROCEDURE Truth Table Approach = 0 = 1 = 0 = 1 = 0 = 1 = 0 = A B C F1F1 F2F

A NALYSIS P ROCEDURE Truth Table Approach = A B C F1F1 F2F B 0101 A1010 C B 0010 A0111 C F 1 =AB'C'+A'BC'+A'B'C+ABC F 2 =AB+AC+BC 36

37 Full Adder Circuit