- Asked 3/22
- 2079 Bhadra · 2+3 marks
- 2079 Baisakh · 6 marks
Positive XOR equals negative XNOR
Short answer
Positive logic assigns high voltage as 1, low as 0; negative logic reverses this. The same voltage table that gives XOR in positive logic yields XNOR in negative logic because the function becomes complement of XOR with complemented inputs, resulting in A⊙B.
Define positive and negative logic and prove that positive X-OR is equivalent to negative X-NOR.
Positive and negative logic
- Positive logic: the higher voltage level represents logic 1 and the lower level represents logic 0. Example in TTL: +5 V = 1, 0 V = 0.
- Negative logic: the higher voltage level represents logic 0 and the lower level represents logic 1. Example: +5 V = 0, 0 V = 1 (or in a –5 V system, –5 V = 1, 0 V = 0).
The same physical circuit gives a different logic function depending on which convention is used. Changing from positive to negative logic means complementing every input and output bit.
Proof: positive XOR = negative XNOR
Take a gate working as XOR in positive logic. Its voltage table (H = high, L = low):
| A | B | Y |
|---|---|---|
| L | L | L |
| L | H | H |
| H | L | H |
| H | H | L |
Positive logic (H = 1, L = 0):
| A | B | Y |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
This is XOR: .
Negative logic (H = 0, L = 1) for the same circuit:
| A | B | Y |
|---|---|---|
| 1 | 1 | 1 |
| 1 | 0 | 0 |
| 0 | 1 | 0 |
| 0 | 0 | 1 |
Output is 1 when both inputs are equal, which is XNOR: .
Algebraic proof: in negative logic the function becomes the complement of positive XOR with complemented inputs:
(since ). Hence the positive-logic XOR gate is the same circuit as a negative-logic XNOR gate.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Prove positive XOR equals negative XNOR · Digital Logic, chapter 2 · asked 3×
- De Morgan; positive NAND equals negative NOR · Digital Logic, chapter 2
- Positive/negative logic; XNOR using NAND · Digital Logic, chapter 2 · asked 2×
- Positive/negative logic; Ex-NOR using NOR · Digital Logic, chapter 2 · asked 2×
- De Morgan; negative OR equals positive AND · Digital Logic, chapter 2
- Positive and negative logic · Digital Logic, chapter 2 · asked 2×
- Positive/negative logic; verify 3-variable De Morgan · Digital Logic, chapter 2