Memory Data Error Detection Mechanisms The objective of this lab is for the students to write program dealing with two important error detection mechanisms used while storing/retrieving data to/from the memories. 1. Read the lecture slides related to "Error Detection and Correction" 2. Write a program which will ask the user whether he/she wants to: (a) store the data to the memory. (b) check the data from the memory. 3. If the user enters option (a), the program should ask the user to enter data (in binary or hex 16-32 bits) and the choice of either CRC or Checksum for error detection. The program will then calculate CRC Remainder or Checksum for the entered data, depending upon user's choice. For CRC, use polynomial (x x3 x2 +1) as divisor, and for Checksum, assume section size to be 4 bits. Show the stored data with CRC Remainder or with Checksum (as per user's choice) 4. If the user enters option (b), the program should ask the user to enter the data read from memory, and whether the data was stored using CRC or Checksum method. Then the program should display whether there is an error in the retrieved data or not. Use same polynomial for CRC/section size for Checksum, as indicated in Step 3. Memory Data Error Detection Mechanisms The objective of this lab is for the students to write program dealing with two important error detection mechanisms used while storing/retrieving data to/from the memories. 1. Read the lecture slides related to "Error Detection and Correction" 2. Write a program which will ask the user whether he/she wants to: (a) store the data to the memory. (b) check the data from the memory. 3. If the user enters option (a), the program should ask the user to enter data (in binary or hex 16-32 bits) and the choice of either CRC or Checksum for error detection. The program will then calculate CRC Remainder or Checksum for the entered data, depending upon user's choice. For CRC, use polynomial (x x3 x2 +1) as divisor, and for Checksum, assume section size to be 4 bits. Show the stored data with CRC Remainder or with Checksum (as per user's choice) 4. If the user enters option (b), the program should ask the user to enter the data read from memory, and whether the data was stored using CRC or Checksum method. Then the program should display whether there is an error in the retrieved data or not. Use same polynomial for CRC/section size for Checksum, as indicated in Step 3