Component/XNOR: Difference between revisions

From Turing Complete
No edit summary
m (Fixed typo)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox component
| bit-width    = 1
| type        = 1bit
| prerequisite = XNOR Gate
}}
{| {{Truthtable}}
|+  XNOR 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.

Latest revision as of 12:47, 30 August 2024

XNOR
File:Component XNOR.png
Width 1
Type 1bit
Unlocked by XNOR Gate
XNOR 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.