Exclusive-OR and Exclusive-NOR Gates

Slides:



Advertisements
Similar presentations
Chapter 3 Basic Logic Gates 1.
Advertisements

Chapter 4 Gates and Circuits.
Chapter 4 Gates and Circuits.
Chapter 3 Gate-Level Minimization
Chapter 3 Logic Gates.
Gates and Circuits Nell Dale & John Lewis (adaptation by Erin Chambers and Michael Goldwasser)
Digital Logic Design Gate-Level Minimization
Introduction to Logic Gates
Overview Part 1 – Gate Circuits and Boolean Equations
Programmable Logic Controllers.
Chapter 3 (part 1) Basic Logic Gates 1.
Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Terms of Use Chapter 2 – Combinational.
Digital Electronics Lecture 2 Logic Gates. Lecture 2 outline Announcement:
Overview Part 1 – Gate Circuits and Boolean Equations
EET 1131 Unit 6 Exclusive-OR and Exclusive-NOR Gates
Other Gate Types COE 202 Digital Logic Design Dr. Aiman El-Maleh
1 Computer Programming Boolean Logic Copyright © Texas Education Agency, 2013.
CS105 Introduction to Computer Concepts GATES and CIRCUITS
Chapter3: Gate-Level Minimization Part 2
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 2 – Combinational Logic Circuits Part 3.
©2004 Brooks/Cole FIGURES FOR CHAPTER 7 MULTI-LEVEL GATE CIRCUITS NAND AND NOR GATES Click the mouse to move to the next page. Use the ESC key to exit.
Exclusive-OR and Exclusive-NOR Gates
Flip-Flops and Registers
Chapter 4 Gates and Circuits.
FIGURE 17-1 Binary-to-decimal conversion. Dale R. Patrick Electricity and Electronics: A Survey, 5e Copyright ©2002 by Pearson Education, Inc. Upper Saddle.
CS 121 Digital Logic Design
©2004 Brooks/Cole FIGURES FOR CHAPTER 12 REGISTERS AND COUNTERS Click the mouse to move to the next page. Use the ESC key to exit this chapter. This chapter.
ECE 424 – Introduction to VLSI
CENG 241 Digital Design 1 Lecture 4
ECE 3110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices XOR, Parity Circuits, Comparators.
Chapter 3 Basic Logic Gates 1.
Overview Part 3 – Additional Gates and Circuits 2-8 Other Gate Types
Exclusive-OR and Exclusive-NOR Gates
CHAPTER 2 Digital Combinational Logic/Arithmetic Circuits.
Chapter 4 Gates and Circuits.
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:
Digital Components and Combinational Circuits Sachin Kharady.
Course contents Chapter 1 - section 1.6 Chapter 2 - all sections Chapter – 4.7, and 4.12 Chapter , Chapter 6 - all sections.
Chapter 3 (part 2) Basic Logic Gates 1.
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.
LOGIC CIRCUIT IMPLEMENTATION
CS 1110 Digital Logic Design
Logic Gates M. AL-Towaileb1. Introduction Boolean algebra is used to model the circuitry of electronic devices. Each input and each output of such a device.
WEEK #11 FUNCTIONS OF COMBINATIONAL LOGIC (PART 4)
ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices XOR and parity check Circuits.
Chapter 33 Basic Logic Gates. Objectives After completing this chapter, you will be able to: –Identify and explain the function of the basic logic gates.
1’S COMPLEMENT REPRESENTATION 1’s complement of a number (binary) is obtained by changing all 1’s to 0 and all 0’s to 1. If one of these numbers is positive.
Combinational Logic Design
Dr.Ahmed Bayoumi Dr.Shady Elmashad
EKT 124 / 3 DIGITAL ELEKTRONIC 1
2-6 Exclusive-OR Operator and Gates
PROPAGATION DELAY.
Exclusive OR Gate.
Combinational Logic Circuits
KS4 Electricity – Electronic systems
KS4 Electricity – Electronic systems
Digital Signals Digital Signals have two basic states:
2 Number Systems and Codes Edited by Jerry Bernardini.
Digital Logic & Design Lecture 05
EET107/3 DIGITAL ELECTRONICS 1
King Fahd University of Petroleum and Minerals
Logic Gates.
Overview Part 3 – Additional Gates and Circuits
KS4 Electricity – Electronic systems
DIGITAL ELECTRONICS B.SC FY
Overview Part 3 – Additional Gates and Circuits 2-8 Other Gate Types
Parity Generator and Checkers
Department of Electronics
Presentation transcript:

Exclusive-OR and Exclusive-NOR Gates Chapter 6 Exclusive-OR and Exclusive-NOR Gates 1

6-1 The Exclusive-OR Gate The output is HIGH if either one or the other inputs are HIGH, but not both. 4

The Exclusive-OR Gate Logic circuits for the exclusive-OR function. Logic Symbol and Boolean equation 5

Figure 6-2 The Exclusive-OR Gate built with an AND-OR-NAND combination

6-2 The Exclusive-NOR Gate The complement of the exclusive-OR. Often called an equality gate: The output is HIGH when the inputs are equal (both high or both low). 7

The Exclusive-NOR Gate Ex-NOR Logic Circuit EX-NOR Logic Symbol and Boolean equation 8

6-3 Parity Generator / Checker Electrical noise in the transmission of binary information can cause errors. 0101 -> 0100 (the electrical noise present on the line during the transmission of the LSB may change 1 to 0) Parity can detect these types of errors. Receiving device can signal an error condition or ask the transmitting device to retransmit. the electrical noise present on the line during the transmission of the LSB may change 1 to 0 At transmitting side 10

Parity systems Adds a bit to the binary information Odd parity systems 4-bit system requires a 5th bit, an 8-bit system needs a 9th bit. Odd parity systems The parity bit that is added must make the sum of all bits odd. Even parity systems The parity bit that is added must make the sum of all bits even.

Parity systems Parity generator Parity checker the circuit that creates the parity bit Parity checker Determines if the received string is of the right parity on the receiving end The type of parity system and the location of parity bit (next to MSB or LSM) must be agreed on beforehand.

Odd parity generator/checker This scheme only detects errors that occur to 1 bit. The likelihood of 2 bits being affected is highly unusual. 11

Four-bit even- and odd-parity generators 12

Eight-bit even-parity generator 13

Five bit even-parity checker 14

Integrated-Circuit Parity Generator/Checker 74280 TTL IC logic symbol and Function Table 15

Parity-Error Detection System 8-bit even-parity computer configuration. SumE is HIGH if the sum is even. The generated parity bit should be taken from the Odd output because we want the sum of all 9 bits send out to be EVEN. Low means no error, So the Odd output of the checker at the receiver side is used. 17

Parallel Binary Comparator 1 -> match (two input string are exactly equal)

Controlled Inverter Complement an entire string by some control signal. 19

Discussion Point Does the circuit below function as an even or odd parity generator? 0101 1 xor 1 = 0 0nxor 0 = 1 Odd parity generator 21

Summary The exclusive-OR gate provides a HIGH output if one input or the other input, but not both, is HIGH. The exclusive-NOR gate outputs a HIGH if both inputs are HIGH or if both inputs are LOW. 24

Summary A parity bit is commonly used for error detection during the transmission of digital signals. Exclusive-OR and exclusive-NOR gates are used in applications such as parity checking, binary comparison and controlled complementing circuits. FPGAs can be used to implement circuits containing the exclusive gates. 25