Check patentability & draft patents in minutes with Patsnap Eureka AI!

Method and device for computing Cyclic Redundancy Check (CRC) code

A cyclic redundancy check and cyclic redundancy technology, applied in the field of communication, can solve the problems of heavy input signal load, multiple resources, frequency bottleneck of high-speed Ethernet circuit, etc., to achieve the effect of occupying less resources and breaking through the frequency bottleneck.

Active Publication Date: 2014-12-31
SANECHIPS TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Considering that the CRC calculation of the last beat data is completed within one clock cycle, in the prior art, 32 CRC calculation modules need to be implemented, which consumes more resources, and due to the large load of the input signal, this method cannot achieve a higher Frequency of
[0008] The large data width and the difficulty in processing the CRC value of the last beat data make the calculation of the CRC operation module often become the frequency bottleneck in the design of high-speed Ethernet circuits

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for computing Cyclic Redundancy Check (CRC) code
  • Method and device for computing Cyclic Redundancy Check (CRC) code
  • Method and device for computing Cyclic Redundancy Check (CRC) code

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0038] An embodiment of the present invention provides a method for calculating a cyclic redundancy check code, such as figure 1 As shown, the method includes the steps of:

[0039] S110. Calculate the cyclic redundancy (CRC) value of the entire beat data through one-stage pipeline or multi-stage pipeline;

[0040] In this step S110, if the frequency requirement is met, the CRC value of the whole-beat data can be calculated using one-stage pipeline; if the frequency does not meet the requirement, a multi-level pipeline algorithm can also be used to calculate the CRC value of the whole-beat data in...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a method and device for computing a Cyclic Redundancy Check (CRC) code. The method comprises the following steps of: computing the cyclic redundancy value of an entire beat datum through a first-stage stream or a multi-stage stream; computing the cyclic redundancy value of a last beat datum in a distributed computing mode of the multi-stage stream; and obtaining the cyclic redundancy value of a data frame according to the cyclic redundancy value of the entire beat datum and the cyclic redundancy value of the last beat datum. By adopting the method and device provided by the invention, the CRC value of a high-frequency data frame can be computed even though the CRC value of the data frame is computed under the condition of large data bit width, and the frequency bottleneck of the computation of the CRC value in high-speed Ethernet application is broken through. A small quantity of resources are occupied, and the method and the device can be popularized to data of any bit width.

Description

technical field [0001] The present invention relates to the field of communication technology, in particular to a method and device for calculating a cyclic redundancy check (Cyclic Redundancy Check, CRC) check code. Background technique [0002] In the data communication system, due to the large data frame, it is often divided into multiple shots and transmitted in parallel. Except for the last beat, other beats transmit the maximum data width. The effective data width of the last beat varies from 1 byte to the maximum byte. If the data frame has only one beat, it is equivalent to the last beat of the multi-beat data. Since the data length of the last shot of the data frame is not fixed, there are many possibilities in the CRC calculation of the last shot of the data frame during the process of calculating the CRC code of the data frame, and the calculation of the CRC check code often becomes a high-speed Ethernet circuit design. frequency bottleneck. The transmission o...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L1/00H03M13/09
Inventor 姜爱鹏缪众林袁春童小九
Owner SANECHIPS TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More