NAND and NOR Implementation



Similar documents
Elementary Logic Gates

CDA 3200 Digital Systems. Instructor: Dr. Janusz Zalewski Developed by: Dr. Dahai Guo Spring 2012

BOOLEAN ALGEBRA & LOGIC GATES

Two-level logic using NAND gates

Karnaugh Maps. Circuit-wise, this leads to a minimal two-level implementation

Gates & Boolean Algebra. Boolean Operators. Combinational Logic. Introduction

1. True or False? A voltage level in the range 0 to 2 volts is interpreted as a binary 1.

CSEE 3827: Fundamentals of Computer Systems. Standard Forms and Simplification with Karnaugh Maps

Karnaugh Maps (K-map) Alternate representation of a truth table

Basic Logic Gates Richard E. Haskell

Binary full adder. 2-bit ripple-carry adder. CSE 370 Spring 2006 Introduction to Digital Design Lecture 12: Adders

6. BOOLEAN LOGIC DESIGN

CHAPTER 3 Boolean Algebra and Digital Logic

Take-Home Exercise. z y x. Erik Jonsson School of Engineering and Computer Science. The University of Texas at Dallas

Sum-of-Products and Product-of-Sums expressions

ENGI 241 Experiment 5 Basic Logic Gates

Digital circuits make up all computers and computer systems. The operation of digital circuits is based on

Gates, Circuits, and Boolean Algebra

CSE140: Components and Design Techniques for Digital Systems

Karnaugh Maps & Combinational Logic Design. ECE 152A Winter 2012

SEQUENTIAL CIRCUITS. Block diagram. Flip Flop. S-R Flip Flop. Block Diagram. Circuit Diagram

Lecture 5: Gate Logic Logic Optimization

DESIGN OF GATE NETWORKS

Adder.PPT(10/1/2009) 5.1. Lecture 13. Adder Circuits

Mixed Logic A B A B. 1. Ignore all bubbles on logic gates and inverters. This means

Digital Electronics Detailed Outline

Chapter 2: Boolean Algebra and Logic Gates. Boolean Algebra

Digital Logic Elements, Clock, and Memory Elements

Digital Logic Design. Basics Combinational Circuits Sequential Circuits. Pu-Jen Cheng

Lecture 8: Synchronous Digital Systems

Binary Adders: Half Adders and Full Adders

CSE140: Midterm 1 Solution and Rubric

ELEC EXPERIMENT 1 Basic Digital Logic Circuits

Counters are sequential circuits which "count" through a specific state sequence.

Lesson 12 Sequential Circuits: Flip-Flops

Logic gates. Chapter. 9.1 Logic gates. MIL symbols. Learning Summary. In this chapter you will learn about: Logic gates

Simplifying Logic Circuits with Karnaugh Maps

3.Basic Gate Combinations

A Course Material on DIGITAL PRINCIPLES AND SYSTEM DESIGN

Understanding Logic Design

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Counters and Decoders

Ladder and Functional Block Programming

CSE140: Components and Design Techniques for Digital Systems

United States Naval Academy Electrical and Computer Engineering Department. EC262 Exam 1

SOLUTIONS MANUAL DIGITAL DESIGN FOURTH EDITION M. MORRIS MANO California State University, Los Angeles MICHAEL D.

Module 4 : Propagation Delays in MOS Lecture 22 : Logical Effort Calculation of few Basic Logic Circuits

(1) /30 (2) /30 (3) /40 TOTAL /100

Upon completion of unit 1.1, students will be able to

Design and Development of Virtual Instrument (VI) Modules for an Introductory Digital Logic Course

Logic in Computer Science: Logic Gates

Chapter 4 Register Transfer and Microoperations. Section 4.1 Register Transfer Language

Theory of Logic Circuits. Laboratory manual. Exercise 3

Boolean Algebra Part 1

Having read this workbook you should be able to: recognise the arrangement of NAND gates used to form an S-R flip-flop.

exclusive-or and Binary Adder R eouven Elbaz reouven@uwaterloo.ca Office room: DC3576

Digital Electronics Part I Combinational and Sequential Logic. Dr. I. J. Wassell

Design: a mod-8 Counter

30. Bode Plots. Introduction

Figure 8-1 Four Possible Results of Adding Two Bits

DIGITAL TECHNICS II. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute

IE1204 Digital Design F12: Asynchronous Sequential Circuits (Part 1)

FORDHAM UNIVERSITY CISC Dept. of Computer and Info. Science Spring, The Binary Adder

C H A P T E R. Logic Circuits

To design digital counter circuits using JK-Flip-Flop. To implement counter using 74LS193 IC.

Chapter 10 Advanced CMOS Circuits

Combinational Logic Design

Experiment # 9. Clock generator circuits & Counters. Eng. Waleed Y. Mousa

Sistemas Digitais I LESI - 2º ano


So far we have investigated combinational logic for which the output of the logic devices/circuits depends only on the present state of the inputs.

Switching Algebra and Logic Gates

NEW adder cells are useful for designing larger circuits despite increase in transistor count by four per cell.

Module 3: Floyd, Digital Fundamental

Class XII (Theory) C++

Basic Op Amp Circuits

2.0 Chapter Overview. 2.1 Boolean Algebra

South East of Process Main Building / 1F. North East of Process Main Building / 1F. At 14:05 April 16, Sample not collected

Fundamentals of Microelectronics

ASYNCHRONOUS COUNTERS

Multilevel Sequential Logic Circuit Design

Lecture-3 MEMORY: Development of Memory:

7. Latches and Flip-Flops

[ 4 ] Logic Symbols and Truth Table

plc numbers Encoded values; BCD and ASCII Error detection; parity, gray code and checksums

Irrational Numbers. A. Rational Numbers 1. Before we discuss irrational numbers, it would probably be a good idea to define rational numbers.

BJT Amplifier Circuits

Lecture 12: More on Registers, Multiplexers, Decoders, Comparators and Wot- Nots

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

Logic Reference Guide

earlier in the semester: The Full adder above adds two bits and the output is at the end. So if we do this eight times, we would have an 8-bit adder.

ECE380 Digital Logic

Sequential Logic Design Principles.Latches and Flip-Flops

BINARY CODED DECIMAL: B.C.D.

Let s put together a Manual Processor

Decimal Number (base 10) Binary Number (base 2)

Traffic Light Controller. Digital Systems Design. Dr. Ted Shaneyfelt

Advanced Logic Design Techniques in Asynchronous Sequential Circuit Synthesis

Transcription:

University of Wisconsin - Madison EE/omp ci 352 Digital ystems Fundamentals harles R. Kime ection 2 Fall 200 hapter 2 ombinational Logic ircuits Part 7 harles Kime & Thomas Kaminski NND and NOR Implementation We found that we could implement general oolean equations with these three primitives: ND OR NOT In this section we will find that either of two gates, the NND gate or the NOR gate can be used to implement arbitrary logic functions. We use the Positive Logic onvention (where all signals are active high) and a small circle to on a symbol to represent NOT or invert. hapter 2-Part 7 2

NND Gates The basic positive logic NND gate is denoted by the following symbol: ND-Invert (NND) X NND comes from NOT ND, I. e., the ND function with a NOT applied. We call this symbol for a NND gate an ND-Invert. The small circle represents the invert function. If we apply DeMorgan's Law we get: X = X + + F(X,, ) = X hapter 2-Part 7 3 NND Gates (ont.) pplying DeMorgan's Law gives: Invert-OR (NND) X We call this symbol for a NND gate the Invert - OR since all inputs are inverted, followed by the OR function. oth symbols represent the NND gate - it is sometimes more logically descriptive to use one form over the other. NND gate with one input degenerates to an inverter. F (X,, ) = X + + hapter 2-Part 7 4 2

NND Function Implementation NND gates can implement a simplified um-of- Products form. onstructing two level NND-NND gate circuit: D The first level is two 2-input NND gates using ND- Invert. The second level is one 2-input NND gate using Invert-OR. Using the NND relationship, we have: G(,,, D) = D = + D = + D G(,,, D) = + D hapter 2-Part 7 5 NND Implementation (ont.) In the implementation, note that the bubbles are on opposite ends of the same line. Thus, they can be combined and deleted: D G(,,,D) This form of the implementation is the um-of-products form. hapter 2-Part 7 6 3

NND Implementation (ont.) In the implementation, the bubbles are on opposite ends of the same line. y X = X, they can be combined and deleted: D G(,,,D) sum-of-products (OP) form results To implement an equation like: F(,,) = +, the NND for degenerates to a NOT since there is only one input hapter 2-Part 7 7 Degenerate ND Term The degenerate NND becomes an inverter: To implement the complement of F using NND gates, add an inverter to the output: F(,,) F'(,,) hapter 2-Part 7 8 4

NND-NND Example w Implement: y 0 0 0 0 0 0 0 0 3 2 4 5 7 6 2 3 5 4 8 9 0 z F(w,x,y,z) F (w, x, y, z) = y z + w x + x y + w z x w y 0 0 0 0 0 0 0 0 3 2 4 5 7 6 2 3 5 4 8 9 0 z F (w,x,y,z) x hapter 2-Part 7 9 ummary: Two-Level NND ircuits Find minimum literal OP form for F and F elect OP form with smallest literal count onvert selected form to NND circuit using ND-invert (inverters for single literal ND terms) and invert-or symbols If OP form for F used, add inverter to circuit output. hapter 2-Part 7 0 5

NOR Gates The basic positive logic NOR gate (Not-OR) is denoted by the following symbol: OR-Invert (NOR) X F (X,,) = X+ + This is called the OR-Invert, since it is logically an OR function followed by an invert. y DeMorgan's Law we have the following Invert-ND symbol for a NOR gate: Invert-ND X single-input NOR gate is an inverter, too. hapter 2-Part 7 NOR Gates The basic positive logic NOR gate is denoted by the following symbol: OR-Invert (NOR) X NOR comes from NOT OR, I. e., the OR function with a NOT applied. We call this symbol for a NOR gate an OR-Invert. The small circle represents the invert function. If we apply DeMorgan's Law we get: X + + = X F (X,,) = X+ + hapter 2-Part 7 2 6

NOR Gates (ont.) pplying DeMorgan's Law gives: Invert-ND (NOR) X We call this symbol for a NOR gate the Invert- ND since all inputs are inverted, followed by the ND function. oth symbols represent the NOR gate - it is sometimes more logically descriptive to use one form over the other. NOR gate with one input degenerates to an inverter. F (X,, ) = X hapter 2-Part 7 3 NOR Function Implementation NND gates can implement a simplified um-of- Products form. onstructing two-level NOR-NOR circuit: D The first level is two 2-input NOR gates using OR- Invert. The second level is one 2-input NOR gate using Invert-ND. Using the NOR relationship, we have: G (,,, D) = ( + ) + (+ D) = ( + ) (+ D) = ( + ) (+ D) ( + )( ) G (,,,D) = + D hapter 2-Part 7 4 7

Useful Transformations From Involution (i.e. (')' = ) and DeMorgan's Law, we get the following useful equivalences: ( ) = (( )')' ('+')' (+) = ((+)')' (' ')' ( )' ('+') (+)' (' ') These simple transformations can be used to manipulate a two level network. hapter 2-Part 7 5 Graphical Transformations The relations from the previous slide lead to the following transformations: ( ) = (( )')' (+) = ((+)')' ( )' (+)' ('+')' (' ')' ('+') (' ') Recall that two bubbles in series can be removed from the circuit hapter 2-Part 7 6 8

General Two-level Implementations We need to consider whether the form of a two-level implementation is to be:. OP (ND-OR) or 2. PO (OR-ND). omplemented output functions (i.e. ND-NOR or OR- NND) can be handled by complementing the function. Given a function F expressed as a Karnaugh Map, we can use the same general procedures we have used before to minimize the function and express it in OP or PO form. hapter 2-Part 7 7 General Implementations (ont.) Given a two level implementation desired, use the previous transfromations to get it into one of the below forms. Then follow the steps to transform the function to the desired form: For Type: Use: ND-OR ircle 's in the K-Map and minimize (OP Form) (lso use for NND-NND) ND-NOR ircle 0's in the K-Map and minimize (OP complemented) OR-ND (PO Form) OR-NND (PO complemented) ircle 0's in the K-Map and minimize OP. Use DeMorgan's to transform to PO. (lso use for NOR-NOR) ircle 's in the K-Map and minimize OP. Use DeMorgan's to transform to PO. hapter 2-Part 7 8 9

Implementation Example 0 Implement the function in NOR-OR. 0 0 We can remove the "Inverter" and replace it with the complement of the input variable hapter 2-Part 7 9 Implementation Example 2 0 Implement the function in ND-NOR. 0 0 hapter 2-Part 7 20 0

Multi-level NND Implementations dd inverters in two-level implementation into the cost picture ttempt to combine inverters to reduce the term count ttempt to reduce literal + term count by factoring expression into POOP or OPO hapter 2-Part 7 2 Multi-level NND Example F = + + + 5 inputs and 8 gates* = + + + + + = ( + + ) + ( + + ) 7 inputs and 4 gates F * ounting inverters (NOT) as input and gate hapter 2-Part 7 22

Multilevel NND Example 2 F = + D + + D hapter 2-Part 7 23 2