摘要 |
A method and system for accumulating CRC value is provided. The system includes a disk controller with a register for staging data segments of variable size, a CRC accumulator for accumulating CRC for data segments of variable size, a feedback multiplier that receives processed upper bits from the CRC accumulator containing previously accumulated CRC and incoming data segments from the register; and bits from the multiplier and the CRC accumulator are added and result from the adding is stored in the CRC accumulator. The method includes processing upper bits from the CRC accumulator containing previously accumulated CRC and incoming data segments, sending the processed results to the multiplier; adding bits from the multiplier and the CRC accumulator, and storing a result from the adding of the bits in the CRC accumulator and the multiplier.
|