please dont rip this site

Digital Logic Tutorial

XOR and XNOR: Different or Equal?

Another interesting bit of logic, which can also be made from NAND gates, is the XOR or eXclusive OR gate. It turns on only when its two inputs are different. This provides the basic ability for a computer to tell when things are not equal. If you add an inverter to the output, you get an XNOR gate, which turns on only when its two inputs are the same; giving the computer the ability to know when two different values match.

If you can't see the Java based simulation below, try this HTML version of the Falstad simulator: XOR and XNOR

Next

RS Flip Flop How computers learn and remember

Advanced

Joe Watson points out that if you invert one of the two inputs to an XOR gate, that has exactly the same effect as inverting it's output! This can be quite useful, as we are often comparing the output of two registers, made from flip-flops, which have both standard and inverted outputs. Using the already inverted output from one set of registers allows us to avoid needing an inverter on the output of the XOR gate. Joe is full of tricks, including a comparison circuit that doesn't even need logic gates; just resistors, diodes, and a couple transistors to compare almost any number of bits: http://www.angelfire.com/oh3/ebjoew/Drum_Memory_Story.html


file: /Techref/logic/xor.htm, 3KB, , updated: 2016/7/6 12:08, local time: 2024/10/13 18:38,
TOP NEW HELP FIND: 
44.192.95.161:LOG IN
©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://piclist.com/Techref/logic/xor.htm"> Digital Logic Tutorial, XOR, XNOR</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

  PICList 2024 contributors:
o List host: MIT, Site host massmind.org, Top posters @none found
- Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
 

Welcome to piclist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .