Error Detection

CHECKSUM





This error detection method is used by the higher-layer protocols (TCP/IP).
It is based on the concept of redundancy.
 

Checksum Generator

In the sender,


The receiver follows these steps:
  • The unit is divided into k sections, each of n bits.
  • All sections are added together using one's complement to get the sum.
  • The sum is complemented.
  • If the result is zero, the data are accepted; otherwise, they are rejected.


The sender follows these steps:
  • The unit is divided into k sections, each of n bits.
  • All sections are added together using one's complement to get the sum.
  • The sum is complemented and becomes the checksum.
  • The checksum is sent with  the data.

 

Checksum Checker

Performance