/    /  Digital Logic-Parity Checker

Parity Checker

 

A parity checker is a logic circuit that checks for possible errors in transmission. The circuit can be an even parity checker or an odd parity checker. 

 

Even parity Checker

4-bits are applied in the input in the parity checker which checks for any error. The data is transmitted with even parity, four bits received at the circuit must have an even number of 1s. 

 

If there is any error the message received will have an odd number of 1s. 

The truth table for even parity checker will be as follows:

4-bit messageEven parity checker
ABCPY
00000
00011
00101
00110
01001
01010
01100
01111
10001
10010
10100
10111
11000
11011
11101
11110

 

 

Odd Parity Checker

The truth table for the odd parity checker is as follows:

4-bit messageOdd parity checker
ABCPY
00001
00010
00100
00111
01000
01011
01101
01110
10000
10011
10101
10110
11001
11010
11100
11111

 

Logical expression:

PEC = (A Ex-NOR B) Ex-NOR (C Ex-NOR P) 

 

Reference

Parity Checker