Wednesday, April 25, 2012

Circuit to understand working of a "xor" gate

The same circuit that was built in the post "Circuit to understand working of and gate"can be made to work as a xor gate too, just by modifying the program.

The xor gate is high only when one of its inputs is high but not both. Here is the modified program to implement an xor gate using the same circuit.

Note: The truth table and animation of xor gate can be found in the post "XOR gate animation"

Now the led3 should turn on only when one of the inputs are high and should remain off if both inputs are low or both inputs are high.

No comments:

Post a Comment

Follow by Email