NAND and XOR Implementation

Slides:



Advertisements
Similar presentations
Basic Logic Gates Discussion D5.1 Section Sections 13-3, 13-4.
Advertisements

Combinational Logic : NAND – NOR Gates CS370 – Spring 2003.
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
Overview Part 1 – Gate Circuits and Boolean Equations
Other Gate Types COE 202 Digital Logic Design Dr. Aiman El-Maleh
SOP and POS Forms Notation.
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.
EE2174: Digital Logic and Lab Professor Shiyan Hu Department of Electrical and Computer Engineering Michigan Technological University CHAPTER 4 Technology.
Based on slides by: Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. ECE/CS 352: Digital System Fundamentals Lecture 10 – Other Gate Types.
Overview of Chapter 3 °K-maps: an alternate approach to representing Boolean functions °K-map representation can be used to minimize Boolean functions.
1 KU College of Engineering Elec 204: Digital Systems Design Lecture 7 Transformations Factoring - finding a factored form from SOP or POS expression Decomposition.
Logic Gates Shashidhara H S Dept. of ISE MSRIT. Basic Logic Design and Boolean Algebra GATES = basic digital building blocks which correspond to and perform.
NAND-NAND and NOR-NOR Circuits and Even and Odd Logic Functions
Multi-Level Gate Networks NAND and NOR Gates
Lecture 09 NAND and XOR Implementations. Overview °Developing NAND circuits °Two-level implementations Convert from AND/OR to NAND (again!) °Multi-level.
NAND-NAND and NOR-NOR Circuits and Even and Odd Logic Functions ECE 301 – Digital Electronics.
CEC 220 Digital Circuit Design SOP and POS forms Friday, January 23 CEC 220 Digital Circuit Design Slide 1 of 17.
CEC 220 Digital Circuit Design SOP and POS forms Friday, Sept 11 CEC 220 Digital Circuit Design Slide 1 of 17.
Chapter 5 Boolean Algebra and Reduction Techniques 1.
1 Digital Systems Design Lecture 7 Transformations Factoring - finding a factored form from SOP or POS expression Decomposition - expression of a function.
MULTI-LEVEL GATE CIRCUITS / NAND AND NOR GATES
Universal Gate – NOR Universal Gate - NOR Digital Electronics
Universal Gate – NAND Universal Gate - NAND Digital Electronics
CHAPTER 7 MULTI-LEVEL GATE CIRCUITS / NAND AND NOR GATES
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN
Logic Gates and Logic Circuits
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN
Overview Part 1 – Logic Circuits and Boolean Functions
Universal Gate – NAND Universal Gate - NAND Digital Electronics
Adapted by Dr. Adel Ammar
Binary Arithmetic Binary arithmetic is essential in all digital computers and in many other types of digital systems. Addition, Subtraction, Multiplication,
Overview Part 1 – Gate Circuits and Boolean Equations
K-map: Product-of-Sums Minimization
Number Systems Give qualifications of instructors:
Digital Systems Section 8 Multiplexers. Digital Systems Section 8 Multiplexers.
Princess Sumaya University
Give qualifications of instructors: DAP
Jeremy R. Johnson Wed. Sept. 29, 1999
ECE 331 – Digital System Design
Optimized Implementation of Logic Function
Sequential Circuits: Latches
Universal Gate – NAND Universal Gate - NAND Digital Electronics
Universal Gate – NOR Universal Gate - NOR Digital Electronics
Sequential Circuits: Latches
Optimized Implementation of Logic Function
Digital Logic & Design Dr. Waseem Ikram Lecture 13.
Universal Gate – NAND Universal Gate - NAND Digital Electronics
King Fahd University of Petroleum and Minerals
CSE 370 – Winter Combinational Implementation - 1
EECS150 - Digital Design Lecture 7 - Boolean Algebra II
ساختمان داده ها پشته ها Give qualifications of instructors: DAP
Sequential Circuits: Latches
Digital Systems Section 12 Binary Adders. Digital Systems Section 12 Binary Adders.
ساختمان داده ها لیستهای پیوندی
Introduction to Electrical and Computer Engineering II
Sequential Circuits: Latches
Optimized Implementation of Logic Function
Lecture 5 Logistics Last lecture Today’s lecture
Universal Gate – NOR Universal Gate - NOR Digital Electronics
ساختمان داده ها مرتب سازی درجی
Overview Part 3 – Additional Gates and Circuits 2-8 Other Gate Types
Chapter 3 Overview • Multi-Level Logic
Give qualifications of instructors: DAP
Circuit Analysis Procedure by Dr. M
ECE 352 Digital System Fundamentals
Dept of Electronics Engineering
Digital Systems Section 3 Boolean Algebra. Digital Systems Section 3 Boolean Algebra.
CS 151 Digital Systems Design Lecture 1 Course Overview
Presentation transcript:

NAND and XOR Implementation DIGITAL LOGIC DESIGN NAND and XOR Implementation IT - II Year ISem Shanila Mahreen AssociateProfessor (ECE) Give qualifications of instructors: DAP teaching computer architecture at Berkeley since 1977 Co-athor of textbook used in class Best known for being one of pioneers of RISC currently author of article on future of microprocessors in SciAm Sept 1995 RY took 152 as student, TAed 152,instructor in 152 undergrad and grad work at Berkeley joined NextGen to design fact 80x86 microprocessors one of architects of UltraSPARC fastest SPARC mper shipping this Fall

Developing NAND circuits from K-maps Two-level implementations Overview Developing NAND circuits from K-maps Two-level implementations Convert from AND/OR to NAND (again!) Multi-level NAND implementations Convert from a network of AND/ORs Exclusive OR Comparison with SOP Parity checking and detecting circuitry Efficient with XOR gates! credential: bring a computer die photo wafer : This can be an hidden slide. I just want to use this to do my own planning. I have rearranged Culler’s lecture slides slightly and add more slides. This covers everything he covers in his first lecture (and more) but may We will save the fun part, “ Levels of Organization,” at the end (so student can stay awake): I will show the internal stricture of the SS10/20. Notes to Patterson: You may want to edit the slides in your section or add extra slides to taylor your needs.

NAND-NAND & NOR-NOR Networks DeMorgan’s Law: (a + b)’ = a’ b’ (a b)’ = a’ + b’ a + b = (a’ b’)’ (a b) = (a’ + b’)’ push bubbles or introduce in pairs or remove pairs.

NAND-NAND Networks Mapping from AND/OR to NAND/NAND

Implementations of Two-level Logic Sum-of-products AND gates to form product terms (minterms) OR gate to form sum Product-of-sums OR gates to form sum terms (maxterms) AND gates to form product

Two-level Logic using NAND Gates Replace minterm AND gates with NAND gates Place compensating inversion at inputs of OR gate

Two-level Logic using NAND Gates (cont’d) OR gate with inverted inputs is a NAND gate de Morgan's: A' + B' = (A • B)' Two-level NAND-NAND network Inverted inputs are not counted In a typical circuit, inversion is done once and signal distributed

Conversion Between Forms Convert from networks of ANDs and ORs to networks of NANDs and NORs Introduce appropriate inversions ("bubbles") Each introduced "bubble" must be matched by a corresponding "bubble" Conservation of inversions Do not alter logic function Example: AND/OR to NAND/NAND A B C D Z NAND

Conversion Between Forms (cont’d) Example: verify equivalence of two forms A B C D Z A B C D Z NAND Z = [ (A • B)' • (C • D)' ]' = [ (A' + B') • (C' + D') ]' = [ (A' + B')' + (C' + D')' ] = (A • B) + (C • D) ü

Conversion to NAND Gates Start with SOP (Sum of Products) circle 1s in K-maps Find network of OR and AND gates

Multi-level Logic x = A D F + A E F + B D F + B E F + C D F + C E F + G Reduced sum-of-products form – already simplified 6 x 3-input AND gates + 1 x 7-input OR gate (may not exist!) 25 wires (19 literals plus 6 internal wires) x = (A + B + C) (D + E) F + G Factored form – not written as two-level S-o-P 1 x 3-input OR gate, 2 x 2-input OR gates, 1 x 3-input AND gate 10 wires (7 literals plus 3 internal wires) A B C D E F G X

Conversion of Multi-level Logic to NAND Gates F = A (B + C D) + B C' Level 1 Level 2 Level 3 Level 4 original AND-OR network A C D B C’ F introduction and conservation of bubbles redrawn in terms of conventional NAND gates B’

Conversion Between Forms Example A X B C D F (a) Original circuit A X B C D F (b) Add double bubbles at inputs A D’ A X’ B C F (c) Distribute bubbles some mismatches X (d) B F C X’ D’ Insert inverters to fix mismatches

Exclusive-OR and Exclusive-NOR Circuits Exclusive-OR (XOR) produces a HIGH output whenever the two inputs are at opposite levels.

Exclusive-NOR Circuits Exclusive-NOR (XNOR) : Exclusive-NOR (XNOR) produces a HIGH output whenever the two inputs are at the same level.

Exclusive-NOR Circuits XNOR gate may be used to simplify circuit implementation.

XOR Function XOR function can also be implemented with AND/OR gates (also NANDs).

XOR Function Even function – even number of inputs are 1. Odd function – odd number of inputs are 1.

Parity Generation and Checking FIGURE 4-25 XOR gates used to implement the parity generator and the parity checker for an even-parity system.