LOGIC CIRCUIT IMPLEMENTATION

Slides:



Advertisements
Similar presentations
Logic Gates.
Advertisements

Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Terms of Use Chapter 2 – Combinational.
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
CS 121 Digital Logic Design
Morgan Kaufmann Publishers
ECE 3110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices XOR, Parity Circuits, Comparators.
Overview Part 3 – Additional Gates and Circuits 2-8 Other Gate Types
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.
Parity. 2 Datasheets TTL:  CMOS: 
CS 151 Digital Systems Design Lecture 11 NAND and XOR Implementations.
ENGIN112 L11: NAND and XOR Implementation September 26, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 11 NAND and XOR Implementations.
Introduction Gate-level minimization refers to the design task of finding an optimal gate-level implementation of Boolean functions describing a digital.
Combinational Logic Circuits Chapter 2 Mano and Kime.
Additional Gates BIL- 223 Logic Circuit Design Ege University Department of Computer Engineering.
Unit 7 Multi-Level Gate Circuits / NAND and NOR Gates Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information.
Experiment 2 Questions 1. There are two methods that can be used to generate a complement function using a 2-input NAND gate. Draw a diagram detailing.
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:
BOOLEAN ALGEBRA Saras M. Srivastava PGT (Computer Science)
Gate-Level Minimization Chapter 3. Digital Circuits The Map Method The complexity of the digital logic gates the complexity of the algebraic expression.
1 KU College of Engineering Elec 204: Digital Systems Design Lecture 7 Transformations Factoring - finding a factored form from SOP or POS expression Decomposition.
CS 151: Introduction to Digital Design Chapter 2-9 Exclusive-OR Gates.
Digital Logic Design Week 3
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.
Exclusive OR Gate. Logically, the exclusive OR (XOR) operation can be seen as either of the following operations:exclusive OR (XOR) 1. A AND NOT B OR.
Chapter 3 Gate-Level Minimization
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
Logic Design CS221 1 st Term Logic-Circuit Implementation Cairo University Faculty of Computers and Information.
Gate-level Minimization
D IGITAL L OGIC D ESIGN I G ATE -L EVEL M INIMIZATION.
Chapter 3 Gate-level Minimization. 3-7 NAND and NOR Implementation Digital circuits are frequently constructed with NAND or NOR gates rather than with.
CHAPTER 7 MULTI-LEVEL GATE CIRCUITS / NAND AND NOR GATES
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
Logic Gates. The Inverter The inverter (NOT circuit) performs the operation called inversion or complementation. Standard logic symbols: 1 1 input output.
CS 121 Digital Logic Design Gate-Level Minimization Chapter 3.
Lecture 09 NAND and XOR Implementations. Overview °Developing NAND circuits °Two-level implementations Convert from AND/OR to NAND (again!) °Multi-level.
DESIGN OF SEQUENTIAL CIRCUITS by Dr. Amin Danial Asham.
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.
Combinational Circuits
Module 7.  In Module 3 we have learned about NAND gate – it is a combination of AND operation followed by NOT operation  Symbol A. B = Y  Logic Gate.
Combinational Logic: Other Gate Types
ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices XOR and parity check Circuits.
Lecture 07 Digital logic By Amr Al-Awamry. 4 variables K-Map.
Combinational Logic Design
Digital Logic. Boolean Algebra to Logic Gates Logic circuits are built from components called logic gates. The logic gates correspond to Boolean operations.
Fuw-Yi Yang1 數位系統 Digital Systems Department of Computer Science and Information Engineering, Chaoyang University of Technology 朝陽科技大學資工系 Speaker: Fuw-Yi.
1 Digital Systems Design Lecture 7 Transformations Factoring - finding a factored form from SOP or POS expression Decomposition - expression of a function.
Chapter 5 Combinational Logic 组合逻辑
Gate-Level Minimization
EI205 Lecture 5 Dianguang Ma Fall 2008.
Exclusive OR Gate.
Princess Sumaya University
Digital Signals Digital Signals have two basic states:
Principles & Applications
Digital Logic & Design Dr. Waseem Ikram Lecture 13.
Universal gates.
Digital Logic & Design Lecture 05
SCO I: Algebra Logică 2 Combinational Logic Circuits
King Fahd University of Petroleum and Minerals
Gate Level Minimization
DESIGN OF SEQUENTIAL CIRCUITS
Overview Part 3 – Additional Gates and Circuits 2-8 Other Gate Types
Department of Electronics
Presentation transcript:

LOGIC CIRCUIT IMPLEMENTATION By Dr. Amin Danial Asham

References Digital Design 5th Edition, Morris Mano

Two graphic Symbols for NAND Gates Logic Circuit Implementation Practically NAND and NOR gate are easier to fabricate, therefore, logic circuit are commonly built using NAND and NOR rather than AND, OR, and NOT. The function of AND, OR, and NOT can be implemented using NOR gate. Noting that NOT gate is a single input NAND. The two-level implementation of Boolean functions with NAND gates requires that the functions be in sum-of-products form Two graphic Symbols for NAND Gates

To Convert to NAND implementation Two Level Implementation- NAND Gates Example: 𝐹=𝐴𝐵+𝐶𝐷 1-Each AND is replaced with NAND 2-Each OR is replaced with Invert- OR gate To Convert to NAND implementation 3-Check that the inverting circles cancels each other on the same line. If there is an inverter not cancelled, an inverter must be added on the same line or inverting the input literal. 𝐹=𝐴𝐵+𝐶𝐷 𝐴𝐵 𝐶𝐷 (𝐴𝐵)′ (𝐶𝐷)′ 𝐹= 𝐴𝐵 ′ ′ + 𝐶𝐷 ′ ′ =𝐴𝐵+𝐶𝐷 (𝐴𝐵)′ (𝐶𝐷)′ 𝐹= 𝐴𝐵 ′ 𝐶𝐷 ′ ′ =𝐴𝐵+𝐶𝐷

Two Level Implementation-NAND Gates (continue) Example: implement using NAND gates 𝐹 𝑥,𝑦,𝑧 = (1,2,3,4,5,7) Solution 𝐹 = 𝑥 𝑦 ′ ′ 𝑥 ′ 𝑦 ′ 𝑧 ′ ′ =𝑥 𝑦 ′ + 𝑥 ′ 𝑦+𝑧 𝑥𝑦′ 𝑥′𝑦 𝐹 = 𝑥 𝑦 ′ ′ + 𝑥 ′ 𝑦 ′ + 𝑧 ′ ′ =𝑥 𝑦 ′ + 𝑥 ′ 𝑦+𝑧 𝑥𝑦′ 𝑥′𝑦 𝑧′

Multilevel Implementation- NAND Gates Example: 𝐹=𝐴 𝐶𝐷+𝐵 +𝐵𝐶′

Two graphic Symbols for NOR Gates V. Logic Circuit Implementation – NOR Gates NOR operation is the dual of the NAND operation. The function of AND, OR, and NOT can be implemented using NOR gate. Noting that NOT gate is a single input NAND. A two-level implementation with NOR gates requires that the function be simplified into product-of-sums form Two graphic Symbols for NOR Gates

To Convert to NOR implementation V. Logic Circuit Implementation – NOR Gates (continue) Example: 𝐹=(𝐴 𝐵 ′ + 𝐴 ′ 𝐵)(𝐶+ 𝐷 ′ ) To Convert to NOR implementation 1-Each OR is replaced with NOR 2-Each AND is replaced with Invert- AND gate 3-Check that the inverting circles cancels each other on the same line. If there is an inverter not cancelled, an inverter must be added on the same line or inverting the input literal.

V. Logic Circuit Implementation – NOR Gates (continue) Example: Find the two level NOR implementation of a function expressed as a product of sums: 𝐹 = (𝐴 + 𝐵)(𝐶 + 𝐷)𝐸 Solution: 𝐸

VI. Other Two Level Forms SOP is implemented directly using AND-OR form and POS is implemented using OR- AND form, where the first gate is used in the first level and the second gate is a single gate in the second level. AND-OR and OR-AND can be converted to NOR –NOR or NAND-NAND. There are other forms of two level implementation: AND-NOR and NAND-AND, which are equivalent and both perform AND-OR- Invert. Example: 𝐹=(𝐴𝐵+𝐶𝐷+𝐸)′

VI. Other Two Level Forms (continue) OR-NAND and NOR-OR, which are equivalent and both perform OR-AND-Invert Example:𝐹=[ 𝐴+𝐵 𝐶+𝐷 𝐸]′

VI. Other Two Level Forms (continue) Because of the INVERT part in each case, it is convenient to use the simplification of 𝐹′(the complement) of the function.

VI. Other Two Level Forms (continue) Example: implement the function shown in the K-map in AND-NOR, NAND-AND, OR-NAND, and NOR-OR

𝑥⨁𝑦= 𝑥 ′ 𝑦+𝑥𝑦′ VII. XOR Gate 𝒙( 𝒙 ′ + 𝒚 ′ ) 𝒙𝒚 ′ =( 𝒙 ′ + 𝒚 ′ ) 𝒙𝒚 ′ =( 𝒙 ′ + 𝒚 ′ ) 𝒙( 𝒙 ′ + 𝒚 ′ ) 𝒚( 𝒙 ′ + 𝒚 ′ )

VII. XOR Gate (continue) XNOR is the complement of XOR, therefore: XNOR gives one in case of even number of 1’s in the input binary number.

VII. XOR Gate (continue) The Boolean expression for 3 inputs XOR is: (Odd number of 1’s)

VII. XOR Gate (continue) Logic Diagrams of Odd and Even functions

𝑷=𝒙⨁𝒚⨁𝒛 VIII. Parity Generation and Checking As an example, consider a three-bit message to be transmitted together with an even-parity bit. This Parity bit is transmitted with message to make the total number of ones in the message is even. 𝑷=𝒙⨁𝒚⨁𝒛

𝑪=𝒙⨁𝒚⨁𝒛⨁𝑷 VIII. Parity Generation and Checking (continue) On the receiver side the checker gives 0 if the number of 1’s is even, which means it is error free message. 𝑪=𝒙⨁𝒚⨁𝒛⨁𝑷

Thanks