Exclusive-OR and Exclusive-NOR Gates

Slides:



Advertisements
Similar presentations
Chapter 3 Basic Logic Gates 1.
Advertisements

Programmable Logic Controllers.
Exclusive-OR and Exclusive-NOR Gates
Chapter3: Gate-Level Minimization Part 2
Exclusive-OR and Exclusive-NOR Gates
CS 121 Digital Logic Design
ECE 3110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices XOR, Parity Circuits, Comparators.
Chapter 3 Basic Logic Gates 1.
EET 1131 Unit 6 Exclusive-OR and Exclusive-NOR Gates  Read Kleitz, Chapter 6.  Do Unit 6 e-Lesson.  Homework #6 and Lab #6 due next week.  Quiz next.
CHAPTER 2 Digital Combinational Logic/Arithmetic Circuits.
Chapter 3 Basic Logic Gates
Arithmetic Operations and Circuits
CS 151 Digital Systems Design Lecture 11 NAND and XOR Implementations.
08/07/041 CSE-221 Digital Logic Design (DLD) Lecture-8:
ENGIN112 L11: NAND and XOR Implementation September 26, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 11 NAND and XOR Implementations.
Chapter 7 Arithmetic Operations and Circuits Hexadecimal Arithmetic 4 binary bits represent a single hexadecimal digit Addition –Add the digits.
Arithmetic Operations and Circuits
In this module you will learn: What the various logic gates do. How to represent logic gates on a circuit diagram. The truth tables for the logic gates.
UNIT-8 LOGIC GATES.
Combinational Logic Design CS341 Digital Logic and Computer Organization F2003.
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:
Functions of Combinational Logic
The NAND gate as a universal gate Logic function NAND gate only AA A B A.BA.B A B A+B A B A B A B A A A B A.BA.B B A A B A B A B.
NOCTI Review Lesson 4 Objectives:
Digital Logic Design Week 3
Chapter 33 Basic Logic Gates. 2 Objectives –After completing this chapter, the student should be able to: Identify and explain the function of the basic.
Chapter 3 Basic Logic Gates William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River,
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 GATES AND CIRCUITS Digital systems are said to be constructed by using logic gates. These gates are the AND, OR, NOT, NAND, NOR, EXOR and EXNOR gates.
LOGIC CIRCUIT IMPLEMENTATION
Digital Systems: Combinational Logic Circuits Wen-Hung Liao, Ph.D.
Chapter 3 Gate-level Minimization. 3-7 NAND and NOR Implementation Digital circuits are frequently constructed with NAND or NOR gates rather than with.
Basic Gates 3.1 Basic Digital Logic: NAND and NOR Gates ©Paul Godin Created September 2007 Last Update Sept 2009.
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.
Boolean Algebra and Reduction Techniques
COMPUTER ARCHITECTURE TRUTH TABLES AND LOGIC GATES.
Chapter-3: BOOLEAN ALGEBRA & LOGIC GATES Analysis and logical design.
WEEK #11 FUNCTIONS OF COMBINATIONAL LOGIC (PART 4)
Combinational Logic Design. 2 Combinational Circuits A combinational logic circuit has: ♦ A set of m Boolean inputs, ♦ A set of n Boolean outputs ♦ n.
CHAPTER 5 Combinational Logic Analysis
Code Converters, Multiplexers and Demultiplexers
ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices XOR and parity check Circuits.
Logic Gates Chapter 5 Subject: Digital System Year: 2009.
Logic Design (CE1111 ) Lecture 4 (Chapter 4) Combinational Logic Prepared by Dr. Lamiaa Elshenawy 1.
Combinational Logic Design
Combinational Logic Design. 2 Combinational Circuits A combinational logic circuit has: ♦ A set of m Boolean inputs, ♦ A set of n Boolean outputs ♦ n.
LOGIC GATES. INTRODUCTION TO LOGIC GATES Boolean functions may be practically implemented by using electronic gates. The following points are important.
DATA REPRESENTATION IN COMPUTER MEMORY.  Describe the coding system:  Sign and magnitude  1’s Complement and 2’s Complement  Binary Coded Decimal.
Logic Gates.
Digital Logic & Design Dr. Waseem Ikram Lecture 05
PROPAGATION DELAY.
Exclusive OR Gate.
Chapter 2.3 Binary Logic.
Combinational Logic Circuits
KS4 Electricity – Electronic systems
KS4 Electricity – Electronic systems
Programmable Logic Devices: CPLDs and FPGAs with VHDL Design
Figure 5. 1 An example of AND-OR logic
Digital Logic & Design Lecture 05
EET107/3 DIGITAL ELECTRONICS 1
King Fahd University of Petroleum and Minerals
Logic Gates.
KS4 Electricity – Electronic systems
Binary Logic.
Parity Generator and Checkers
Department of Electronics
Presentation transcript:

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

Objectives You should be able to: Describe the operation and use of exclusive-OR and exclusive-NOR gates. Construct truth tables and draw timing diagrams for exclusive-OR and exclusive-NOR gates. Simplify combinational logic circuits containing exclusive-OR and exclusive-NOR gates. 2

Objectives (Continued) Design odd- and even-parity generator and checker systems. Explain the operation of a binary comparator and a controlled inverter. Implement circuits in FPGA ICs using VHDL. 2

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. 5

The Exclusive-OR Gate Logic Symbol and Boolean equation 6

The Exclusive-NOR Gate The complement of the exclusive-OR. Often called an equality gate: The output is HIGH when the inputs are equal. 7

The Exclusive-NOR Gate Ex-NOR Logic Circuit 8

The Exclusive-NOR Gate EX-NOR Logic Symbol and Boolean equation 9

Parity Generator / Checker Electrical noise in the transmission of binary information can cause errors. Parity can detect these types of errors. Parity systems Odd parity Even parity Adds a bit to the binary information 10

Parity Generator / Checker Odd parity generator/checker 11

Parity Generator / Checker Four-bit even- and odd-parity generators 12

Parity Generator / Checker Eight-bit even-parity generator 13

Parity Generator / Checker Five bit even-parity checker 14

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

Parity-Error Detection System 17

Parallel Binary Counter

Controlled Inverter 19

Discussion Point Describe the operation of an exclusive OR and an exclusive NOR gate. Design an exclusive OR gate from NOR gates. 20

Discussion Point Does the circuit below function as an even or odd parity generator? 21

FPGA Design Applications with VHDL New concepts included in examples 6-8 though 6-10: 7400-series macro-functions Grouping nodes to a common bus Changing a group’s radix Creating a VHDL Process Statement and For Loop. 22

Example 6-8 The Quartus II software provides the original 74280b in the bdf file. Note that the inputs are grouped as a bus.

Example 6-8 The radix can be changed in the simulation report of the vwf file.

Example 6-9 Each node line coming off a bus must be labeled correctly for the compiler.

Example 6-9 The hex counter values can be forced to inequality by highlighting the number choosing Value > Arbitrary Inserting a new value

Example 6-10 Note that both the data inputs and the controlled output are grouped as a bus.

Example 6-10 When c is low the output is uncomplemented. When c is high the output is complemented.

Example 6-10 An example of a sequential process loop.

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