Exclusive OR/ Exclusive NOR

Similar documents
Digital Logic. Lecture 5 - Chapter 2. Outline. Other Logic Gates and their uses. Other Logic Operations. CS 2420 Husain Gholoom - lecturer Page 1

Chapter 2 Combinational Logic Circuits

Class Website:

Chapter 2 Combinational Logic Circuits

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

Additional Gates COE 202. Digital Logic Design. Dr. Muhamed Mudawar King Fahd University of Petroleum and Minerals

NTE4501 Integrated Circuit CMOS, Dual 4 Input NAND Gate, 2 Input NOR/OR Gate, 8 Input AND/NAND Gate

XOR - XNOR Gates. The graphic symbol and truth table of XOR gate is shown in the figure.

Chapter 3 Combinational Logic Design

Z = F(X) Combinational circuit. A combinational circuit can be specified either by a truth table. Truth Table

Computer organization

Chapter 2 Boolean Algebra and Logic Gates

Unit 8A Computer Organization. Boolean Logic and Gates

Chapter 2: Switching Algebra and Logic Circuits

Cs302 Quiz for MID TERM Exam Solved

Standard & Canonical Forms

Boolean Logic Prof. James L. Frankel Harvard University. Version of 3:20 PM 29-Aug-2017 Copyright 2017, 2016 James L. Frankel. All rights reserved.

Logic. Combinational. inputs. outputs. the result. system can

Combinational Logic Design

BCD-TO-DECIMAL DECODER HIGH-VOLTAGE SILICON-GATE CMOS IW4028B TECHNICAL DATA

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

CHAPTER 15 CMOS DIGITAL LOGIC CIRCUITS

Review: Additional Boolean operations

S.E. Sem. III [ETRX] Digital Circuit Design. t phl. Fig.: Input and output voltage waveforms to define propagation delay times.

Computer Organization: Boolean Logic

XI STANDARD [ COMPUTER SCIENCE ] 5 MARKS STUDY MATERIAL.

Chapter 3 Combinational Logic Design

Gate-Level Minimization

S.Y. Diploma : Sem. III [CO/CM/IF/CD/CW] Digital Techniques s complement 2 s complement 1 s complement

Computer Organization I. Lecture 13: Design of Combinational Logic Circuits

2009 Spring CS211 Digital Systems & Lab CHAPTER 2: INTRODUCTION TO LOGIC CIRCUITS

Chapter 2: Boolean Algebra and Logic Gates

COE 202: Digital Logic Design Combinational Logic Part 2. Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:

Logic Gate Level. Part 2

Integrated Circuits & Systems

Static CMOS Circuits. Example 1

Chapter 2: Princess Sumaya Univ. Computer Engineering Dept.

Sample Test Paper - I

For smaller NRE cost For faster time to market For smaller high-volume manufacturing cost For higher performance

ECE 546 Lecture 10 MOS Transistors

Textbook: Digital Design, 3 rd. Edition M. Morris Mano

NTE74HC165 Integrated Circuit TTL High Speed CMOS, 8 Bit Parallel In/Serial Out Shift Register

NTE74LS181 Integrated Circuit TTL Arithmetic Logic Unit/Function Generator

Chapter 2 Combinational Logic Circuits

Logic Design. Chapter 2: Introduction to Logic Circuits

CMOS Inverter. Performance Scaling

MM74HC157 Quad 2-Input Multiplexer

74LS244 Octal 3-STATE Buffer/Line Driver/Line Receiver

Boolean algebra. Examples of these individual laws of Boolean, rules and theorems for Boolean algebra are given in the following table.

MM74C00 MM74C02 MM74C04 Quad 2-Input NAND Gate Quad 2-Input NOR Gate Hex Inverter

NTE74HC173 Integrated Circuit TTL High Speed CMOS, 4 Bit D Type Flip Flop with 3 State Outputs

LOGIC GATES. Basic Experiment and Design of Electronics. Ho Kyung Kim, Ph.D.

Combinational Logic. By : Ali Mustafa

MC9211 Computer Organization

CS 121 Digital Logic Design. Chapter 2. Teacher Assistant. Hanin Abdulrahman

DM Quad 2-Input NAND Buffers with Open-Collector Outputs

Features Y Wide supply voltage range 3 0V to 15V. Y High noise immunity 0 45 VDD (typ ) Y Low power TTL fan out of 2 driving 74L

CHAPTER 7. Exercises 17/ / /2 2 0

NTE4514B & NTE4515B Integrated Circuit CMOS, 4 Bit Latch/4 to 16 Line Decoder

MM74C00 MM74C02 MM74C04 Quad 2-Input NAND Gate Quad 2-Input NOR Gate Hex Inverter

Chapter 2. Digital Logic Basics

COMBINATIONAL LOGIC. Combinational Logic

II. COMBINATIONAL LOGIC DESIGN. - algebra defined on a set of 2 elements, {0, 1}, with binary operators multiply (AND), add (OR), and invert (NOT):

Circuits & Boolean algebra.


CD4028BC BCD-to-Decimal Decoder

MM74HC151 8-Channel Digital Multiplexer

COSC 243. Introduction to Logic And Combinatorial Logic. Lecture 4 - Introduction to Logic and Combinatorial Logic. COSC 243 (Computer Architecture)

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified)

on candidate s understanding. 7) For programming language papers, credit may be given to any other program based on equivalent concept.

ΗΜΥ 307 ΨΗΦΙΑΚΑ ΟΛΟΚΛΗΡΩΜΕΝΑ ΚΥΚΛΩΜΑΤΑ Εαρινό Εξάμηνο 2018

Chapter 4. Combinational: Circuits with logic gates whose outputs depend on the present combination of the inputs. elements. Dr.

2007 Fall: Electronic Circuits 2 CHAPTER 10. Deog-Kyoon Jeong School of Electrical Engineering

Chapter 2 (Lect 2) Canonical and Standard Forms. Standard Form. Other Logic Operators Logic Gates. Sum of Minterms Product of Maxterms

Simplify the following Boolean expressions and minimize the number of literals:

Chapter 7 Logic Circuits

UNIVERSITI TENAGA NASIONAL. College of Information Technology

Experiment 7: Magnitude comparators

MM74HC00 Quad 2-Input NAND Gate

74LS393 Dual 4-Bit Binary Counter

EGC221: Digital Logic Lab

74LS240 / 74LS241 Octal 3-STATE Buffer/Line Driver/Line Receiver

CprE 281: Digital Logic

Fundamentals of Digital Design

CD4028BC BCD-to-Decimal Decoder

Implementation of Boolean Logic by Digital Circuits

THE INVERTER. Inverter

COMP 103. Lecture 16. Dynamic Logic

COMBINATIONAL LOGIC FUNCTIONS

WEEK 2.1 BOOLEAN ALGEBRA

EC-121 Digital Logic Design

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

Gates and Flip-Flops

Combinational Logic. Review of Combinational Logic 1

Boolean Algebra and logic gates

CHAPTER * 2-2.* Pearson Education Limited Problem Solutions, Global Edition Chapter 2. Verification of DeMorgan s Theorem

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

Week-I. Combinational Logic & Circuits

EEA051 - Digital Logic 數位邏輯 吳俊興高雄大學資訊工程學系. September 2004

High-to-Low Propagation Delay t PHL

Transcription:

University of Wisconsin - Madison ECE/Comp Sci 352 Digital Systems Fundamentals Charles R. Kime Section 2 Fall 2001 Chapter 2 Combinational Logic Circuits Part 8 Charles Kime & Thomas Kaminski Exclusive OR/ Exclusive NOR The eclusive OR (OR) function is an important Boolean function used extensively in logic circuits. Uses for the OR gate include: Adders/subtractors Parity generators/checkers Signature analyzers Pseudo-random sequence generators Definitions The OR function is: = + The eclusive NOR (NOR) function, otherwise known as Equivalence is: = + Chapter 2-Part 8 2 1

Tables for OR/NOR Operator Rules: OR NOR ( ) or 0 0 0 0 0 1 0 0 1 0 1 0 0 0 0 1 The OR function means: OR, but NOT BOTH The NOR function, denoted by the operator, is also known as the Equivalence function. Why? Chapter 2-Part 8 3 OR/NOR Extension The OR function can be extended to 3 or more variables. For more than 2 variables, it is called a modulo 2 sum (Mod 2 sum), instead of OR: Z = Z + Z + Z + Z The OR definition, Boolean identities and Boolean theorems give: 0 = 1 = = 0 = 1 = = = ( ) Z = ( Z) = Z Chapter 2-Part 8 4 2

OR Implementations The simple SOP implementation uses the following structure: A NAND only implementation is: Chapter 2-Part 8 5 OR Implementations (Cont.) The AND-OR implementation is the SOP form for the OR function: = + The multiple-level NAND implementation can be derived by combining inversions as follows: = + = + + + = ( + ) + ( + ) = () + () Chapter 2-Part 8 6 3

Odd Function The modulo 2 sum function for n variables Contains an odd number of 1 s, and Is therefore called the odd function. The inverse of the modulo 2 sum function for n variables Contains an even number of 1 s, and Is therefore called the even function. Implementation of even and odd functions for greater than 4 variables as a single gate is difficult, so trees of 2 to 4 input OR or NORs are used. Chapter 2-Part 8 7 Example: Odd Function Implementation Three-Input Odd Function: Four Input Odd Function: Chapter 2-Part 8 8 4

Product terms of Odd and Even For an n-bit even or odd function, there will be (2 n )/2 or 2 n 1 w product terms of n variables (minterms)! y z Odd Function x w y z Even Function x v=0 y v=1 x w w z y z x Odd Function of Five Bits Chapter 2-Part 8 9 Parity Generators/Checkers A parity tree for n data bits generates a parity bit that is appended to the data bits to form an n + 1-bit codeword Example: 3-bit even parity generator P A parity tree for n + 1 bits checks the codeword for correct parity: C=0 if the codeword parity is correct C=1 if the codeword parity is correct C Example: 4-bit even Z parity checker P Z Chapter 2-Part 8 10 5

Integrated Circuit Parameters Logic device families are characterized by the following parameters: Fan-in the number of inputs available on a gate Fan-out the number of inputs the output of a gate can drive Logic Levels the signal value ranges defining 1 and 0 Propagation Delay The time for an input signal change to propagate to an output Noise Margin the amount of noise a logic signal can tolerate without error Power Supply the voltage(s) require(d) to allow the circuit to operate Power Dissipation the amount of power a circuit consumes Chapter 2-Part 8 11 Propagation Delay Propagation delay is the time for a change in the input of a gate to propagate to the output. Delay is usually measured from the 50% of the logic level voltage reference points. High-to-low (t PHL ) and low-to-high (t PLH ) output signal changes may have different propagation delays. High-to-low ( HL ) and low-to-high ( LH ) transitions are defined with respect to the output, not the input. An HL input transition causes : an LH output transition if the gate inverts and an HL output transition if the gate does not invert. Chapter 2-Part 8 12 6

Propagation Delay Example In A B What is the delay for: a string of inverters? a string of buffers? B In A T PHL T PLH T PLH T PHL Chapter 2-Part 8 13 Positive and Negative Logic The same physical gate has different logical meanings depending on interpretation of the signal levels. Positive Logic Logic 1 is set to HIGH (more positive) signal levels Logic 0 is set to LOW (less positive) signal levels Negative Logic Logic 1 is set to LOW (more negative) signal levels Logic 0 is set to HIGH (less negative) signal levels A gate which implements a Positive Logic AND function will implement a Negative Logic OR function. Chapter 2-Part 8 14 7

Positive and Negative Logic (Cont.) Given this signal level table: What logic function is implemented? Positive Logic (H = 1) (L = 0) Input L L L H H L H H Negative Logic Output L H H H (H = 0) (L = 1) 0 0 0 1 0 1 0 0 1 0 1 0 1 0 1 0 0 0 Chapter 2-Part 8 15 Positive and Negative Logic (Cont.) Rearranging the negative logic terms to be in proper function table order we get: Positive Logic (H = 1) (L = 0) Negative Logic (H = 0) (L = 1) 0 0 0 0 0 0 0 0 1 0 1 0 0 0 Positive logic "OR", Negative Logic "AND" Chapter 2-Part 8 16 8

Logic Symbol Conventions Symbols: CKT Z Logic Circuit Z L L L L H H H L H H H H Z Z Positive Logic Negative Logic Chapter 2-Part 8 17 9