Parity Bit Generator and Checker
Parity Bit Generator and Checker
Parity Bit
• Even
• Odd
• Even COMP C 60
• Odd
61
62
A parity bit is an extra bit in any binary message to make
the total number of 1’s either odd or even. We need to add
the parity bit to a signal.
What is a
Parity Bit?
This is done by the Parity generator. This parity inclusive
binary message then transmits from transmitter to receiver
end.
The most common error detection code used is the parity bit.
What is the The primary difference between parity generator and a parity
difference checker is that a parity generator is a combinational logic circuit
we use in the generation of the parity bit.
between a
Parity On the other hand, a parity checker is a circuit that checks the
parity (number of 1s) of the message signal.
Generator and
a Parity
Both these circuits are located at different sites based on their
working. A parity generator is present at the transmitter end to
generate the parity bit.
Checker?
Later it combines with the message signal. The Parity checker is
present at the receiver end for error detection through parity bit
count.
A Parity Generator is a Combinational Logic Circuit that
Generates the Parity bit in the Transmitter.
Parity bit It is an Extra bit included with a binary Message to Make the
Number of 1's either Odd or Even
generator Two Types of Parity:
• Even Parity : the total number of bits in the message(i.e.1) is made even.
• Odd Parity: the total number of bits in the message (i.e.1) is made odd.
3-bit parity bit generator
Decimal equivalent Message(XYZ) Even parity(P) Odd parity(P)
0 000 0 1
1 001 1 0
2 010 1 0
3 011 0 1
4 100 1 0
5 101 0 1
6 110 0 1
7 111 1 0
Logic circuit for parity Generator
X
X Y
Y X Z
Z P
X
P
Y
Y
P
P Z
Z
A Circuit that Checks the Parity in the Receiver is called Parity
Checker
Parity
Transmission.
ZP ODD PEC
00 01 11 10
XY 1 0 1 0
Boolean expression:
00
0 1 0 1
01 PEC = ((X ⊕ Y)’ ⊕(Z ⊕ P)’)
1 0 1 0
11
0 1 0 1
10
Logic circuit for parity error checker
3-bit odd parity checker
X
X
Y
PEC Y
PEC
Z
Z
P P
There are different types of parity generator
/checker ICs are available with different input
configurations such as 5-bit, 4-bit, 9-bit, 12-bit,
etc.
Parity
Generator/Checker One of the most commonly used and standard
ICs type of parity generator/checker IC is 74180.