Hardware based cyclic redundancy check (CRC) re-calculator for timestamped frames over a data bus
AssigneeSynopsys, Inc.
InventorsJishnu De, Jaspreet Singh Gambhir, Jitendra Puri
Life of this patent
Estimating the term…
Abstract
A method and a system for correcting cyclic redundancy check (CRC) for a frame with last bytes changed are provided. The method includes acquiring a data frame, calculating a CRC of a modified data frame, and determining a corrected CRC for the data frame based on at least the CRC of the modified data frame and a CRC correction field calculated on the bytes to be replaced at the end of the frame. An altered data frame includes the data frame with a number of last bytes of the data frame replaced with new bytes.
Claims20
A method for cyclic redundancy check (CRC) calculation, the method comprising:
- acquiring a data frame;
- calculating, using a processor, a CRC of a modified data frame, wherein the modified data frame comprises the data frame with a number of last bytes of the data frame set to zero;
- calculating a CRC correction field from data bytes to be replaced in the number of the last bytes of the data frame;
- and
- determining a corrected CRC for the data frame based on at least the CRC of the modified data frame and the CRC correction field.
A system comprising:
- a memory storing instructions;
- and
- a processor, coupled with the memory and to execute the instructions, the instructions when executed cause the processor to:
- acquire a data frame,
- calculate a CRC of a modified data frame, wherein the modified data frame comprises the data frame with a number of last bytes of the data frame set to zero,
- determine a CRC correction field from data bytes to be replaced in the number of the last bytes of the data frame, and
- determine a corrected CRC for the data frame based on the CRC of the modified data frame and CRC correction field.
A non-transitory computer readable medium comprising stored instructions, which when executed by a processor, cause the processor to:
- acquire a data frame;
- calculate a CRC of a modified data frame, wherein the modified data frame comprises the data frame with a number of last bytes of the data frame set to zero;
- determine a CRC correction field from data bytes to be replaced in the number of the last bytes of the data frame;
- and
- determine a corrected CRC for the data frame based on the CRC of the modified data frame and CRC correction field.
Dependencies are inferred from the claim text.