CRC PROTECTION OF DATA STORED IN XOR BUFFER
First Claim
1. An XOR unit in a hard disk controller for calculating an XOR of two operands stored in a buffer memory, comprising:
- an XOR calculator for calculating the XOR of the operands and a first CRC of an XOR result calculated by the XOR calculator;
an XOR buffer for storing the XOR result and the first CRC of the XOR result;
a second CRC calculator for calculating a second CRC of the XOR result stored in the XOR buffer;
wherein the second CRC of the XOR result calculated by the second CRC calculator is compared with the first CRC of the XOR result stored in the CRC buffer to determine whether the XOR result has been corrupted in the XOR buffer, the XOR result stored in the XOR buffer being determined to be corrupted if the second CRC of the XOR result does not match the first CRC of the XOR result.
3 Assignments
0 Petitions
Accused Products
Abstract
An XOR unit is provided in a hard disk controller for calculating an XOR of two operands stored in a buffer memory. The XOR unit includes an XOR calculator for calculating the XOR of the operands and a CRC of the XOR resulting from the calculation. An XOR buffer is also included in the XOR unit for storing the XOR result and the CRC of the XOR result, and a CRC calculator for calculating a CRC of the XOR result stored in the XOR buffer. The CRC calculated by the CRC calculator is compared with the CRC of the XOR result stored in the CRC buffer to determine whether the XOR result has been corrupted in the XOR buffer. The XOR result stored in the XOR buffer is determined to be corrupted if the CRC calculated by the CRC calculator and the CRC stored in the XOR buffer do not match.
7 Citations
17 Claims
-
1. An XOR unit in a hard disk controller for calculating an XOR of two operands stored in a buffer memory, comprising:
-
an XOR calculator for calculating the XOR of the operands and a first CRC of an XOR result calculated by the XOR calculator; an XOR buffer for storing the XOR result and the first CRC of the XOR result; a second CRC calculator for calculating a second CRC of the XOR result stored in the XOR buffer; wherein the second CRC of the XOR result calculated by the second CRC calculator is compared with the first CRC of the XOR result stored in the CRC buffer to determine whether the XOR result has been corrupted in the XOR buffer, the XOR result stored in the XOR buffer being determined to be corrupted if the second CRC of the XOR result does not match the first CRC of the XOR result. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A method for checking for corruption in an XOR result calculated from an XOR operation of two operands and stored in a buffer, the method comprising:
-
calculating the XOR result of the two operands; calculating a first CRC of the XOR result; storing the XOR result and the first CRC of the XOR result in the buffer; calculating a second CRC of the XOR result stored in the XOR buffer; comparing the second CRC of the XOR result with the first CRC of the XOR result stored in the buffer to determine whether the XOR result has been corrupted in the buffer, the XOR result stored in the buffer being determined to be corrupted if the second CRC of the XOR result does not match the first CRC of the XOR result. - View Dependent Claims (13, 14, 15, 16, 17)
-
Specification