Parity Generator and Checker

PARITY GENERATOR AND CHECKER

PARITY BIT: Parity bit generating is one of the techniques most widely used for the “Error Detection” for the data transmission.

  • Here, when we sent the data that may be corrupted by the noise that it results in changing ‘0’ as ‘1’ and vise-versa.
  • So, here parity bit corrects the data by checking ‘1’ and ‘0’.

PARITY GENERATOR: Parity generator is a device that is used in the transmitter side to detect the errors and used in digital systems.

Parity Generator is two types:

  • Even Parity Generator and
  • Odd Parity Generator.

Even Parity Generator: 3-bit message parity generator

  • When there is even a number of ‘1’ then we will not add anything which means we add ‘0’.
  • When there is an odd number of ‘1’ then we will add ‘1’ to the message bit to make this input as even parity bit message.

 

A

 

B

 

C

Even Parity

Generator

0

0

0

0

0

0

1

1

0

1

0

1

0

1

1

0

1

0

0

1

1

0

1

0

1

1

0

0

1

1

1

1

 

Odd Parity Generator: 3-bit message parity generator.

  • When there is an odd number of ‘1’ then we will not anything.
  • When there is even a number of ‘1’ then we will add ‘1’ to the message to make this messages as odd parity bit message.

 

 

A

 

B

 

C

Odd Parity

Generator

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

 

PARITY CHECKER: Parity Checker is a device that it is used on the receiver side to detect the errors in the data transmission.

  • If the data gets corrupted with noise then the bit of the message will change then the checker checks and corrects the data bit.
  • This Parity checker is one-bit parity checker, if one of the parity bit has corrupted means it can be solved more than that it cannot find the error also.

Parity Checker is also two types:

  • Even Parity Checker and
  • Odd Parity Checker

Even and odd parity checkers have used at the receiver that it depends on the transmitter.

  • When the transmitter side if we have taken even generator then receiver side also we will use even checker
  • When the transmitter side if we have taken odd generator then receiver side we have to use odd checker.

Even Parity Checker:

 

 

A

 

B

 

C

Even Parity

Generator

Even Parity

Checker

0

0

0

0

0

0

0

0

1

1

0

0

1

0

1

0

0

1

1

0

0

1

0

0

1

0

1

0

1

0

0

1

1

0

0

0

1

1

1

1

1

0

0

0

1

1

0

0

1

0

1

0

1

0

0

1

0

1

1

1

1

1

0

0

0

1

1

0

1

1

1

1

1

0

1

1

1

1

1

0

 

 Odd Parity Checker:

 

A

 

B

 

C

Odd Parity

Generator

Odd Parity

Checker

0

0

0

0

1

0

0

0

1

0

0

0

1

0

0

0

0

1

1

1

0

1

0

0

0

0

1

0

1

1

0

1

1

0

1

0

1

1

1

0

1

0

0

0

0

1

0

0

1

1

1

0

1

0

1

1

0

1

1

0

1

1

0

0

1

1

1

0

1

0

1

1

1

0

0

1

1

1

1

1

Contributor's Info

Created:
0Comment