Component/XNOR: Difference between revisions

From Turing Complete
m (Gelthor moved page 1-bit Xnor to Component/XNOR: Should be a subpage under Component & Correct capitalisation to match that from the game)
(Added infobox and truth table)
Line 1: Line 1:
{{Infobox component
| bit-width    = 1
| type        = 1bit
| prerequisite = XNOR Gate
}}
{| {{Truthtable}}
|+  XNNOR Gate Truth Table
|-
! Input One !! Input Two !! Output
|-
| {{Off t}}|| {{Off t}}|| {{On t}}
|-
| {{Off t}}|| {{On t}}|| {{Off t}}
|-
| {{On t}}|| {{Off t}}|| {{Off t}}
|-
| {{On t}}|| {{On t}}|| {{On t}}
|}
The 1-bit Xnor gate, also called the exclusive NOT OR gate, outputs a {{On}} state only when both inputs are the same.  If both inputs are {{On}}, it outputs {{On}}.  If both inputs are {{Off}}, it outputs an {{On}}.  It is useful when you want to know if two bits are the same, regardless of which state they're in.
The 1-bit Xnor gate, also called the exclusive NOT OR gate, outputs a {{On}} state only when both inputs are the same.  If both inputs are {{On}}, it outputs {{On}}.  If both inputs are {{Off}}, it outputs an {{On}}.  It is useful when you want to know if two bits are the same, regardless of which state they're in.

Revision as of 12:45, 30 August 2024

XNOR
File:Component XNOR.png
Width 1
Type 1bit
Unlocked by XNOR Gate
XNNOR Gate Truth Table
Input One Input Two Output
0 0 1
0 1 0
1 0 0
1 1 1

The 1-bit Xnor gate, also called the exclusive NOT OR gate, outputs a state only when both inputs are the same. If both inputs are , it outputs . If both inputs are , it outputs an . It is useful when you want to know if two bits are the same, regardless of which state they're in.