- Asked 2/22
- 2075 Asoj · 3+3 marks
Parity bits and 3-bit odd parity generator
Short answer
Parity bits enable single-bit error detection. A 3-bit odd parity generator outputs P = (A⊕B⊕C)' to make total number of 1s odd. For even number of 1s in ABC, P=1; for odd, P=0.
Describe the importance of parity bits in communication system. Explain 3 bits odd parity generator circuit clearly.
Importance of parity bits
A parity bit is one extra bit attached to a data word so that the total count of 1s is either even (even parity) or odd (odd parity). In communication systems it matters because:
- Error detection: noise or interference may flip a bit. The receiver checks the parity; a mismatch shows an error, and the data can be re-requested.
- Low cost: only one extra bit per word and a few XOR gates.
- Single-bit errors are always detected (in fact any odd number of errors).
- Limits: an even number of bit errors goes unnoticed, and the faulty bit cannot be located or corrected. Codes like Hamming code extend the parity idea to correct errors.
- Odd parity is often preferred because an all-zero word (e.g. a dead line) still carries a 1, so a stuck-at-0 line is detected.
3-bit odd parity generator
Inputs ; output is chosen so that together contain an odd number of 1s.
| A | B | C | P |
|---|---|---|---|
| 0 | 0 | 0 | 1 |
| 0 | 0 | 1 | 0 |
| 0 | 1 | 0 | 0 |
| 0 | 1 | 1 | 1 |
| 1 | 0 | 0 | 0 |
| 1 | 0 | 1 | 1 |
| 1 | 1 | 0 | 1 |
| 1 | 1 | 1 | 0 |
The K-map has no adjacent 1s, so it is simplified with XOR/XNOR:
A --+
+--[XOR]--+
B --+ +--[XNOR]--- P
C ------------+
Working: if the data already has an odd number of 1s, ; if even, . Example: data (two 1s) gives , so the word has three 1s (odd). The receiver's odd parity checker computes , which is 0 when no error is present.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Parity bits and 3-bit even parity generator · Digital Logic, chapter 4 · asked 2×
- 3-bit even parity generator and 4-bit checker · Digital Logic, chapter 4
- 8085 ALP: odd parity transfer with bit change · Microprocessor, chapter 2
- (4,3) even parity code is linear, odd parity is not · Communication Systems, chapter 8
- Per unit circuit of three-generator system, 30 MVA base · Power System Analysis I, chapter 3