CN Lab 11
CN Lab 11
Objectives:
1. Understand the CRC method
2. Implement the polynomial CRC
3. Calculate the checksum of given input
4. Understand the error in transmission
Apparatus/Tools/Equipments/Components: C Compiler
Algorithm:
Checksum Algorithm (Sender Side)
1. Divide the received data into the same size segments (including the checksum).
2. Add all the segments using binary addition.
3. If there is a carry, add the carry back to the result.
4. Take the 1's complement of the result.
5. If the result is all 0s, then no error; otherwise, error detected.
Viva Questions:
Can CRC detect all types of errors? If not, what are its limitations?
Talk about burst errors and multiple-bit errors.
Give an example of data and a generator polynomial, and explain how CRC is
calculated.
Be ready to work through a small example like: Data = 1101, Generator = 1011.