• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Hardware Secrets

Hardware Secrets

Uncomplicating the complicated

  • Case
  • Cooling
  • Memory
  • Mobile
    • Laptops
    • Smartphones
    • Tablets
  • Motherboard
  • Networking
  • Other
    • Audio
    • Cameras
    • Consumer Electronics
    • Desktops
    • Museum
    • Software
    • Tradeshows & Events
  • Peripherals
    • Headset
    • Keyboard
    • Mouse
    • Printers
  • Power
  • Storage
  • Video

Introduction to Logic Gates

Everything you need to know about logic gates, the heart and blood of digital electronics.

Home » Introduction to Logic Gates

XOR

Contents

  • 1. Introduction
  • 2. Inverter
  • 3. AND
  • 4. NAND
  • 5. OR
  • 6. NOR
  • 7. XOR
  • 8. XNOR
  • 9. Non-Inverter or Buffer
  • 10. Open Collector and Open Drain

XOR stands for exclusive OR. XOR gates count the number of “1s” available at their inputs and if it is an even number, the output will be “0,” and if it is an odd number, the output will be “1.” (Don’t forget that zero is an even number, so when all inputs are “0”, the output will be “0”.) XOR operation is represented by the symbol ⊕. So Y = A ⊕ B. You can see XOR logic gate symbol in Figure 10 and its truth table right below it.

XOR gateFigure 17: XOR logic gate.

A B Y
0 0 0
0 1 1
1 0 1
1 1 0

If you need more than two inputs, you will need to add another XOR gate as shown in Figure 18.

Expanding XOR logic gatesFigure 18: Expanding XOR inputs.

The most famous XOR gate integrated circuit is the 7486 and you can its pinout in Figure 19.

7486 ICFigure 19: 7486 integrated circuit provides four two-input XOR gates.

Continue: XNOR

Other Tutorials

Primary Sidebar

As a participant in the Amazon Services LLC Associates Program, this site may earn from qualifying purchases. We may also earn commissions on purchases from other retail websites.

gigabit ethernet device

The Ultimate 2022 Guide on Gigabit Ethernet

Everything you need to know about Gigabit Ethernet.

spdif connection

What You Should Know About the SPDIF Connection (2022 Guide)

Learn about the digital audio connection called SPDIF and when and how to use it.

Everything You Need to Know About the CPU Power Management

The CPU has several power saving modes called C-states. In this tutorial we will explain what these modes are, what they do and the modes supported by each processor.

Understanding RAM Timings

Learn in detail what numbers like 7-7-7-21, 8-8-8-24, or 9-9-9-24 after the memory specification mean.

How to Connect Two PCs Using a USB to USB Cable in 2022

Learn how to connect two PCs using an USB-USB cable to transfer files and share your Internet connection.

Footer

For Performance

  • PCI Express 3.0 vs. 2.0: Is There a Gaming Performance Gain?
  • Does dual-channel memory make difference on integrated video performance?
  • Overclocking Pros and Cons
  • All Core i7 Models
  • Understanding RAM Timings

Everything you need to know

  • Everything You Need to Know About the Dual-, Triple-, and Quad-Channel Memory Architectures
  • What You Should Know About the SPDIF Connection (2022 Guide)
  • Everything You Need to Know About the Intel Virtualization Technology
  • Everything You Need to Know About the CPU Power Management

Follow Us

Follow us on Facebook Follow us on Twitter Follow us on Instagram

Copyright © 2022 · All rights reserved - Hardwaresecrets.com
About Us · Privacy Policy · Contact