CS 121 Digital Logic Design

Slides:



Advertisements
Similar presentations
Chapter 3 Gate-Level Minimization
Advertisements

Princess Sumaya University
Chapter 4 Gates and Circuits.
Digital Systems: Logic Gates and Boolean Algebra Wen-Hung Liao, Ph.D.
ENGIN112 L7: More Logic Functions September 17, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 7 More Logic Functions: NAND, NOR,
Karnaugh Map Adjacent Squares
Other Gate Types Why? Gate classifications
Digital CMOS Logic Circuits
Chapter 3 Gate-Level Minimization
Department of Computer and Information Science, School of Science, IUPUI CSCI 240 Digital Logic.
Digital Logic Design Gate-Level Minimization
Lecture 6 More Logic Functions: NAND, NOR, XOR and XNOR
Other Gate Types COE 202 Digital Logic Design Dr. Aiman El-Maleh
Exclusive-OR and Exclusive-NOR Gates
Chapter3: Gate-Level Minimization Part 2
Karnaugh Map Adjacent Squares
Boolean Algebra and Logic Gates
topics Logic gates Gates types Universal gates
01 Introduction to Digital Logic
CS 121 Digital Logic Design
CS 121 Digital Logic Design
CS 121 Digital Logic Design
Princess Sumaya University
CENG 241 Digital Design 1 Lecture 4
Combinational Logic Circuits Chapter 2 Mano and Kime.
ECE 3110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices XOR, Parity Circuits, Comparators.
Gate-Level Minimization
Module 8.  In Module 3, we have learned about Exclusive OR (XOR) gate.  Boolean Expression AB’ + A’B = Y also A  B = Y  Logic Gate  Truth table ABY.
Gate-Level Minimization. Digital Circuits The Map Method The complexity of the digital logic gates the complexity of the algebraic expression.
Combinational Logic Circuits Chapter 2 Mano and Kime.
CS 105 Digital Logic Design
Chapter 2: Boolean Algebra and Logic Functions
Module 3.  Binary logic consists of :  logic variables  designated by alphabet letters, e.g. A, B, C… x, y, z, etc.  have ONLY 2 possible values:
1 Fundamentals of Computer Science Propositional Logic (Boolean Algebra)
BOOLEAN ALGEBRA Saras M. Srivastava PGT (Computer Science)
LOGIC GATES & TRUTH TABLE – Digital Circuit 1 Choopan Rattanapoka.
CS 151: Introduction to Digital Design Chapter 2-9 Exclusive-OR Gates.
D IGITAL L OGIC D ESIGN I G ATE -L EVEL M INIMIZATION.
Logic Gates. Outline  Logic Gates  The Inverter  The AND Gate  The OR Gate  The NAND Gate  The NOR Gate  The XOR Gate  The XNOR Gate  Drawing.
LOGIC CIRCUIT IMPLEMENTATION
Chapter 3 Gate-Level Minimization
Gate-level Minimization
Chapter 3 Gate-level Minimization. 3-7 NAND and NOR Implementation Digital circuits are frequently constructed with NAND or NOR gates rather than with.
COE 202: Digital Logic Design Combinational Logic Part 4
TUTORIAL CHAPTER 3 GATE_LEVEL MINIMIZATION PART 2 TA. Arwa Al Saad. 9 November 2013.
CS 1110 Digital Logic Design
CS 121 Digital Logic Design Gate-Level Minimization Chapter 3.
Ahmad Almulhem, KFUPM 2010 COE 202: Digital Logic Design Combinational Logic Part 4 Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:
Digital Integrated Circuit Design Laboratory Department of Computer Science and Information Engineering National Cheng Kung University Experiment on digital.
ece Parity Used to check for errors Can be either ODD or EVEN Left most bit used as the indicator For EVEN, insert a 0 or a 1 so as to make the.
Karnaugh Map and Circuit Design.
Combinational Logic: Other Gate Types
Lecture 07 Digital logic By Amr Al-Awamry. 4 variables K-Map.
Combinational Logic Design
Speaker: Fuw-Yi Yang 楊伏夷 伏夷非征番, 道德經 察政章(Chapter 58) 伏者潛藏也
FIGURE 3.1 Two-variable K-map
CHAPTER 7 MULTI-LEVEL GATE CIRCUITS / NAND AND NOR GATES
CHAPTER 3 Simplification of Boolean Functions
Logic Gates and Boolean Algebra
Gate-Level Minimization
Chapter 2: Boolean Algebra and Logic Functions
CS 105 Digital Logic Design
PROPAGATION DELAY.
Exclusive OR Gate.
Princess Sumaya University
Digital Logic & Design Dr. Waseem Ikram Lecture 13.
SCO I: Algebra Logică 2 Combinational Logic Circuits
King Fahd University of Petroleum and Minerals
Digital Logic Design I Gate-Level Minimization
Gate Level Minimization
Presentation transcript:

CS 121 Digital Logic Design Chapter 3 Gate-Level Minimization

Outline 3.1 Introduction 3.2 The Map Method 3.3 Four-Variable Map 3.4 Product of sums simplification 3.5 Don‘t Care Conditions 3.7 NAND and NOR Implementaion 3.8 Other Two-Level Implementaion 3.9 Exclusive-OR function

3.7 NAND and NOR Implementation (1-15) Digital circuits are frequently constructed with NAND or NOR gates rather than with AND and OR gates.

3.7 NAND and NOR Implementation (2-15) NAND Implementation NAND gate: a universal gate. Any digital system can be implemented with it.

3.7 NAND and NOR Implementation (3-15) NAND Implementation To facilitate the conversion to NAND logic, there are alternative graphic symbol for it.

3.7 NAND and NOR Implementation (4-15) NAND Implementation Two-Level Implementation Procedures of Implementation with two levels of NAND gates: Express simplified function in sum of products form. Draw a NAND gate for each product term that has at least two literals to constitute a group of first-level gates Draw a single gate using AND-invert or invert-OR in the second level A term with a single literal requires an inverter in the first level.

3.7 NAND and NOR Implementation (5-15) NAND Implementation Two-Level Implementation F = AB + CD = [(AB + CD)’]’ = [(AB)’*(CD)’]’

3.7 NAND and NOR Implementation (6-15) NAND Implementation Two-Level Implementation Example (3.10): F(X,Y,Z) = ∑ (1,2,3,4,5,7) X’Y F = XY’ + X’Y + Z y z 00 01 11 10 x 1 1 1 1 1 1 1 Z XY’

3.7 NAND and NOR Implementation (7-15) NAND Implementation Multilevel Implementation Procedures of Implementation with multilevel of NAND gates: Convert all AND gates to NAND gates with AND-invert graphic symbols Convert all OR gates to NAND gates with invert-OR graphic symbols Check all the bubbles in the diagrams. For a single bubble, invert aninverter (one-input NAND gate) or complement the input literal

3.7 NAND and NOR Implementation (8-15) NAND Implementation Multilevel Implementation EXAMPLE 1: F = A(CD + B) + BC’

3.7 NAND and NOR Implementation (9-15) NAND Implementation Multilevel Implementation EXAMPLE 2: F = (AB’ + A’B).(C + D’)

3.7 NAND and NOR Implementation (10-15) The NOR operation is the dual of the NAND operation. The NOR gate is anothar universal gate to implement any Boolean function.

3.7 NAND and NOR Implementation (11-15) To facilitate the conversion to NOR logic, there are alternative graphic symbol for it.

3.7 NAND and NOR Implementation (12-15) Two-Level Implementation Procedures of Implementation with two levels of NOR gates: Express simplified function in product of sums form. Draw a NOR gate for each product term that has at least two literals to constitute a group of first-level gates Draw a single gate using OR-invert or invert-AND in the second level A term with a single literal requires an inverter in the first level.

3.7 NAND and NOR Implementation (13-15) Two-Level Implementation Example : F = (A+B).(C+D).E E

3.7 NAND and NOR Implementation (14-15) Multilevel Implementation Procedures of Implementation with multilevel of NOR gates: Convert all OR gates to NOR gates with OR-invert graphic symbols Convert all AND gates to NOR gates with invert-AND graphic symbols Check all the bubbles in the diagrams. For a single bubble, invert aninverter (one-input NAND gate) or complement the input literal

3.7 NAND and NOR Implementation (15-15) Multi-Level Implementation Example : F = (A B’ + A’B).(C+D’) A B’ A’ B

3.9 Exclusive-OR Function (1-7) Exclusive-OR (XOR) denoted by the symbol : x  y = xy‘ + x‘y Exclusive-OR is equal to 1, when the values of x and y are diffrent. Exclusive-NOR (XNOR): (x  y )‘ = xy + x‘y‘ Exclusive-NOR is equal to 1, when the values of x and y are same. Only a limited number of Boolean functions can be expressed in terms of XOR operations, but it is particularly useful in arithmetic operations and error-detection and correction circuits.

3.9 Exclusive-OR Function (2-7) Exclusive-OR principles: x  0 = x x  1 = x‘ x  x = 0 x  x‘ = 1 x  y‘ = x‘ y = (x  y)‘ x  y = y  x (x  y)  z = x  (y  z)

3.9 Exclusive-OR Function (3-7) Implementaion Exclusive-OR with AND-OR-NOT: x  y = xy‘ + x‘y Implementaion Exclusive-OR with NAND: = x (x‘+y‘) + y (x‘+y‘) = x (xy)‘ + y (xy)‘ = [ (x(xy)‘ + y(xy)‘)‘]‘ = [ (x(xy)‘)‘ + (y(xy)‘)‘ ]‘

3.9 Exclusive-OR Function (4-7) Odd Function: The 3-variable XOR function is equal to 1 if only one variable is equal to 1 or if all three variables are equal to 1. Multiple-variable exclusive OR operation = odd function : odd number of variables be equal to 1. (A  B  C) = (AB‘ + A‘B) C‘ + (A‘B‘ + AB) C = AB‘C‘ + A‘BC‘ + A‘B‘C + ABC = ∑ (1,2,4,7)

3.9 Exclusive-OR Function (5-7) Odd Function:

3.9 Exclusive-OR Function (6-7) Odd Function: A  B  C  D= ∑ (1,2,4,7,8,11,13,14)

3.9 Exclusive-OR Function (7-7) Parity Generation and Checking: Exclusive-OR function is useful in systems requiring error-detection and correction circuits. A parity bit is used for purpose of detection errors during transmission. Parity bit : an extra bit included with a binary message to make the number of 1’s either odd or even. The circuit generates the parity bit in transmitter is called parity generator. The circuit checks the parity bit in receiver is called parity checker.

3.9 Exclusive-OR Function (8-7) Parity Generation and Checking: Example : Three-bit message with even parity Three-bit Massage Parity bit X Y Z P 1 From the truth table , P constitutes an odd function. It is equal 1 when numerical value of 1’s in a minterm is odd P = x  y  z

3.9 Exclusive-OR Function (8-7) Parity Generation and Checking: Example : Three-bit message with even parity From the truth table , C constitutes an odd function. It is equal 1 when numerical value of 1’s in a minterm is odd C = x  y  z  P rara14ksa@hotmail.com rara14ksa@hotmail.com

Parity Generation and Checking 11/3/2013 Parity Generation and Checking FIGURE 4-25 XOR gates used to implement the parity generator and the parity checker for an even-parity system. M.Asbahiya Abu samra