The XOR Gate: The XOR Gate Produces A HIGH Output Only When The Inputs Are at Opposite Logic Levels. The Truth Table Is
The XOR Gate: The XOR Gate Produces A HIGH Output Only When The Inputs Are at Opposite Logic Levels. The Truth Table Is
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Application #3: Parity Checking
Parity checking is a method of error detection for
simple transmission errors involving one bit. A parity bit
is an “extra” bit attached to a group of bits to force the
total number of 1’s to be either even (even parity) or
odd (odd parity).
The ASCII character for “a” is 1100001 and for “A” is
1000001. What is the correct bit to append to make both of
these have odd parity?
The ASCII “a” has an odd number of bits that are equal to 1;
therefore the parity bit is 0. The ASCII “A” has an even
number of bits that are equal to 1; therefore the parity bit is 1.
© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
ODD Parity
• In ODD parity, when we add the bits together disregarding
weight we get or want to get an odd number.
0000 is a four bit message add a
Parity parity bit to make it odd
bit 10000 Odd parity is satisfied
00011001 is an eight bit message add a
parity bit to make it odd
000011001 Odd parity is satisfied
EVEN parity
In EVEN parity when we add the bits together disregarding
weight we get or want to get an even number.
0000 is a four bit message add a
parity bit to make it even
Parity 00000 Even parity is satisfied
bit
00011001 is an eight bit message add a
parity bit to make it even
100011001 Even parity is satisfied
Parity Generators