US5325372A - Implementation of the HDLC CRC calculation - Google Patents

Implementation of the HDLC CRC calculation Download PDF

Info

Publication number
US5325372A
US5325372A US08/125,083 US12508393A US5325372A US 5325372 A US5325372 A US 5325372A US 12508393 A US12508393 A US 12508393A US 5325372 A US5325372 A US 5325372A
Authority
US
United States
Prior art keywords
crc
data character
bit binary
bit
high value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
US08/125,083
Inventor
Ariel Ish-Shalom
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
National Semiconductor Corp
Original Assignee
National Semiconductor Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by National Semiconductor Corp filed Critical National Semiconductor Corp
Priority to US08/125,083 priority Critical patent/US5325372A/en
Application granted granted Critical
Publication of US5325372A publication Critical patent/US5325372A/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/03Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words
    • H03M13/05Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words using block codes, i.e. a predetermined number of check bits joined to a predetermined number of information bits
    • H03M13/09Error detection only, e.g. using cyclic redundancy check [CRC] codes or single parity bit
    • H03M13/091Parallel or block-wise CRC computation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0078Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location
    • H04L1/0083Formatting with frames or packets; Protocol or part of protocol for error control

Definitions

  • the present invention relates to data communications systems and, in particular, to methods and apparatus for implementing a cyclic redundancy check (CRC) calculation in a High Level Data Link Control (HDLC) module.
  • CRC cyclic redundancy check
  • HDLC High Level Data Link Control
  • a well known technique for defining computer architecture is "layering", wherein the computer's communications functions are partitioned into a hierarchical set of layers. Each layer of a station performs a related subset of the functions required to communicate with another station on the network.
  • the Open Systems Interconnection (OSI) model is an architectural standard that defines seven hierarchical communications layers. Information exchange between stations on an OSI network is achieved by having corresponding layers in different stations communicate in accordance with an established set of rules, known as a protocol.
  • FIG. 1 shows computer stations A and B, each of which, consistent with the OSI architecture, contains the seven OSI communications layers.
  • computer station A When computer station A has data to send to computer station B, it transfers the data to its application layer.
  • the application layer appends an application header (AH) which contains control data needed by the application layer in computer station B.
  • the data is then passed down through the layer hierarchy, with each layer appending its own control header for use by the corresponding layer in computer station B.
  • the data link layer generally appends both a header (LH) and a trailer (LT).
  • the data link layer data unit i.e., a "frame" is then transmitted by the physical layer onto the physical transmission medium.
  • the physical layer generally provides only bit stream service, that is, it serves only to physically transmit or receive, in a bit-by-bit, or serial manner, the bits of the binary information frame to/from the transmission medium. It is the data link layer than utilizes its bit-oriented communications protocol to define the frame.
  • HDLC High-Level Data Link Control
  • the FLAG field is used for synchronization, indicating the start and end of a frame (i.e., it serves as the frame start and end delimiters).
  • the ADDRESS field identifies the destination station for the frame.
  • the control field identifies the function and purpose of the frame.
  • the DATA frame contains the information to be transmitted.
  • the CRC frame is a frame check sequence field that uses a 16-bit cyclic redundancy check (CRC).
  • the HDLC CRC field is a function of the contents of the Address, Control and Data fields. It is generated by the transmitter station and again by the receiver station. If the result generated by the receiver station differs from the CRC field of the received frame, then a transmission error has occurred.
  • the information to be transmitted is treated as a single binary number. This number is divided by a unique prime binary number and the remainder of this division operation is entered in the CRC field of the HDLC frame.
  • the receiver station performs the same division using the same prime number and compares the calculated remainder with the received CRC frame.
  • the most commonly used divisors are a 17-bit primary number, which produces a 16-bit remainder, and a 33-bit prime number, which produces a 32-bit remainder. Use of the smaller divisor results in less overhead.
  • the CRC is a 16-bit sequence. It is defined as the complement of the sum (modulo 2) of:
  • k is the number of bits in the frame existing between, but not including, the final bit of the opening FLAG and the first bit of the CRC, excluding bits inserted for transparency
  • the initial remainder of the division is preset to all 1s and is then modified by division by the generator polynomial, as described above, on the Address, Control and Data fields.
  • the 1s complement of the resulting remainder is transmitted as the 16-bit HDLC CRC sequence.
  • the initial remainder is preset to all 1s and the serial incoming protected bits and the CRC, when divided by the generator polynomial will result in a remainder of 0001110100001111 (X 15 through X 0 , respectively) in the absence of transmission errors.
  • the CRC is transmitted to the line commencing with the coefficient of the highest term.
  • the CRC computation is the most critical ingredient of a HDLC handling module in terms of run-time performance.
  • run-time performance of conventional HDLC CRC modules has become inadequate for many current applications.
  • the present invention provides methods and apparatus for improving the run-time performance of the CRC computation within a HDLC handling module.
  • a multi-bit character is created by generating a most significant bit (MSB) portion and a least significant bit (LSB) portion in parallel and then combining the MSB and LSB portions to provide the CRC character. This is accomplished by first XORing a multi-bit input character and a current multi-bit CRC high value character stored in a CRC high value latch. The result of this initial XOR operation serves as the input to a high value look-up table which maps the input to a corresponding high value look-up table output character. The high value look-up table output character is XORed with a current multi-bit CRC low value character stored in a CRC low value latch to generate an updated CRC high value character.
  • MSB most significant bit
  • LSB least significant bit
  • the result of the initial XOR operation is also provided as the input to a low value look-up table which maps the input to a corresponding updated CRC low value character.
  • the updated CRC high and low value characters are combined to respectively provide the MSB and LSB portions of the CRC character.
  • Both the high value latch and the low value latch are iteratively updated utilizing the updated CRC high and low value characters, respectively. The above-described operation is, thus, performed repetitively on an iteratively updated input character.
  • FIG. 1 is a block diagram illustrating the Open Systems Interconnection (OSI) model.
  • OSI Open Systems Interconnection
  • FIG. 2 is a block diagram illustrating the High-Level Data Link Control (HDLC) frame structure.
  • HDLC High-Level Data Link Control
  • FIG. 3 is a block diagram illustrating a HDLC cyclic redundancy check (CRC) computation module in accordance with the present invention.
  • CRC cyclic redundancy check
  • FIG. 3 shows a High-Level Data Link Control (HDLC) module 10 in which the most significant byte CRC -- high 12 and the least significant byte CRC -- low 14 of a 16-bit cyclic redundancy check (CRC) word are computed incrementally.
  • HDLC High-Level Data Link Control
  • the serial bit sequence 16 of the data to be transmitted is provided to an input data latch 18 which provides the data 17 to an XOR gate 20 eight bits at a time.
  • the XOR gate 20 also receives the current most significant byte CRC -- high 12 via latch 22.
  • the 8-bit result 24 of the XOR operation is provided to two 8-bit ⁇ 8-bit look-up tables: look-up table high 26 and look-up table low 28.
  • the 8-bit output 30 of look-up table high 26 is provided to a second XOR function 32, which also receives the current 8-bit output CRC -- low of the look-up table low 28 via latch 34.
  • the result of the operation of XOR function 32 is the 8-bit CRC -- high output 12.
  • the 8-bit CRC -- high output 12 and the 8-bit CRC -- low output 14 combine to provide, respectively, the most significant byte and the least significant byte of the 16-bit CRC word.
  • the operation of the HDLC CRC module 10 may be represented by the following relationships, wherein the term "CRC -- temp” is a temporary byte variable, "Date -- byte” is the processed data byte 17, “Luthi” and “Lutlo” are the high and low look-up tables 26 and 28, and denotes an XOR operation respectively.
  • the computation of the 16-bit CRC word is done by computing the bytes that comprise it: CRC -- high and CRC -- low.
  • the computation involves two types of operations: XOR operations and look-up operations.
  • the input byte 17 is XORed with the CRC -- high byte currently latched in the CRC -- high latch 22.
  • the resulting byte is denoted by CRC -- temp.
  • the CRC -- temp byte is then fed into the look-up table high (Luthi) 26 to generate an 8-bit Luthi[CRC -- temp] term.
  • the Luthi[CRC -- temp] term is then XORed with the CRC -- low value currently stored in latch 34 to provide an up-dated CRC -- high byte.
  • the CRC -- temp byte is also fed into the look-up table low (Lutho) 28 to generate an 8-bit Lutho[CRC -- temp] term, which is the up-dated CRC -- low byte.

Abstract

In accordance with the present invention, a multi-bit CRC character is created by generating a most significant bit (MSB) portion and a least significant bit (LSB) portion in parallel and then combining the MSB and LSB portions to provide the CRC character. This is accomplished by first XORing a multi-bit input character and a current multi-bit CRC high value character stored in a CRC high value latch. The result of this initial XOR operation serves as the input to a high value look-up table which maps the input to a corresponding high value look-up table output character. The value look-up table output character is XORed with a current multi-bit CRC low value character stored in a CRC low value latch to generate an updated CRC high value character. In parallel with the generation of the updated CRC high value character, the result of the initial XOR operation is also provided as the input to a low value look-up table which maps the input to a corresponding updated CRC low value character. The updated CRC high and low value characters are combined to respectively provide the MSB and LSB portions of the CRC character. Both the high value latch and the low value latch are iteratively updated utilizing the updated CRC high and low value characters, respectively. The above-described operation is, thus, performed repetitively on an iteratively updated input character.

Description

This is a continuation of co-pending application Ser. No. 07/564,037 filed on Aug. 7, 1990 now abandoned.
BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention relates to data communications systems and, in particular, to methods and apparatus for implementing a cyclic redundancy check (CRC) calculation in a High Level Data Link Control (HDLC) module.
2. Discussion of the Prior Art
Communications between stations in a data transmission network occur through the transmission of a series, or "frame", of information characters, with adjacent frames being separated by explicit or implicit start-stop patterns. The use of a unique start pattern ("start delimiter") and a unique stop pattern ("end delimiter") allows the receiving station to identify the exact beginning and the exact end of each frame.
William Stallings, Local Networks, Third Edition, Macmillan Publishing Co., 1990, Chapter 2, provides an overview of communications architectures for computer networks. As discussed by Stallings, to support communications between computer stations in a network, additional hardware and software is required. Communications hardware is reasonably standard. However, when communications is desired among different types of computer stations, the software development effort can become formidable, since different computers use different data formats and data exchange conventions.
Since development of special communications software for each network application is clearly too costly to be practical, the alternative is to establish common communications standards and a general computer architecture that defines the communications tasks.
A well known technique for defining computer architecture is "layering", wherein the computer's communications functions are partitioned into a hierarchical set of layers. Each layer of a station performs a related subset of the functions required to communicate with another station on the network.
The Open Systems Interconnection (OSI) model is an architectural standard that defines seven hierarchical communications layers. Information exchange between stations on an OSI network is achieved by having corresponding layers in different stations communicate in accordance with an established set of rules, known as a protocol.
FIG. 1 shows computer stations A and B, each of which, consistent with the OSI architecture, contains the seven OSI communications layers. When computer station A has data to send to computer station B, it transfers the data to its application layer. The application layer appends an application header (AH) which contains control data needed by the application layer in computer station B. The data is then passed down through the layer hierarchy, with each layer appending its own control header for use by the corresponding layer in computer station B. The data link layer generally appends both a header (LH) and a trailer (LT). The data link layer data unit, i.e., a "frame", is then transmitted by the physical layer onto the physical transmission medium.
As indicated above, the physical layer generally provides only bit stream service, that is, it serves only to physically transmit or receive, in a bit-by-bit, or serial manner, the bits of the binary information frame to/from the transmission medium. It is the data link layer than utilizes its bit-oriented communications protocol to define the frame.
One such standard OSI bit-oriented data link protocol is the so-called High-Level Data Link Control (HDLC) protocol.
According to the HDLC protocol, and as shown in FIG. 2, information is transmitted onto the physical transmission medium in frames that consist of six fields. The FLAG field is used for synchronization, indicating the start and end of a frame (i.e., it serves as the frame start and end delimiters). The ADDRESS field identifies the destination station for the frame. The control field identifies the function and purpose of the frame. The DATA frame contains the information to be transmitted. The CRC frame is a frame check sequence field that uses a 16-bit cyclic redundancy check (CRC).
As discussed by Stallings, the HDLC CRC field is a function of the contents of the Address, Control and Data fields. It is generated by the transmitter station and again by the receiver station. If the result generated by the receiver station differs from the CRC field of the received frame, then a transmission error has occurred.
In the implementation of the CRC calculation, the information to be transmitted is treated as a single binary number. This number is divided by a unique prime binary number and the remainder of this division operation is entered in the CRC field of the HDLC frame. When the frame is received, the receiver station performs the same division using the same prime number and compares the calculated remainder with the received CRC frame.
In a CRC calculation, the most commonly used divisors are a 17-bit primary number, which produces a 16-bit remainder, and a 33-bit prime number, which produces a 32-bit remainder. Use of the smaller divisor results in less overhead.
In a HDLC module, the CRC is a 16-bit sequence. It is defined as the complement of the sum (modulo 2) of:
1) the remainder of
X.sup.k (X.sup.15 +X.sup.14 +X.sup.13. . . X.sup.2 +X+1)
divided (modulo 2) by the generator polynomial
X.sup.16 +X.sup.12 +X.sup.5 +`
where k is the number of bits in the frame existing between, but not including, the final bit of the opening FLAG and the first bit of the CRC, excluding bits inserted for transparency, and
2) the remainder after multiplication by X16 and then division (modulo 2) by the generator polynomial
X.sup.16 +X.sup.12 +X.sup.5 +`
of the content of the frame, existing between, but not including, the final bit of the opening FLAG and the first bit of the CRC, excluding bits inserted for transparency.
As a typical implementation, at the transmitter, the initial remainder of the division is preset to all 1s and is then modified by division by the generator polynomial, as described above, on the Address, Control and Data fields. The 1s complement of the resulting remainder is transmitted as the 16-bit HDLC CRC sequence.
At the receiver, the initial remainder is preset to all 1s and the serial incoming protected bits and the CRC, when divided by the generator polynomial will result in a remainder of 0001110100001111 (X15 through X0, respectively) in the absence of transmission errors. The CRC is transmitted to the line commencing with the coefficient of the highest term.
The CRC computation is the most critical ingredient of a HDLC handling module in terms of run-time performance. However, run-time performance of conventional HDLC CRC modules has become inadequate for many current applications.
SUMMARY OF THE INVENTION
The present invention provides methods and apparatus for improving the run-time performance of the CRC computation within a HDLC handling module.
In accordance with the present invention, a multi-bit character is created by generating a most significant bit (MSB) portion and a least significant bit (LSB) portion in parallel and then combining the MSB and LSB portions to provide the CRC character. This is accomplished by first XORing a multi-bit input character and a current multi-bit CRC high value character stored in a CRC high value latch. The result of this initial XOR operation serves as the input to a high value look-up table which maps the input to a corresponding high value look-up table output character. The high value look-up table output character is XORed with a current multi-bit CRC low value character stored in a CRC low value latch to generate an updated CRC high value character. In parallel with the generation of the updated CRC high value character, the result of the initial XOR operation is also provided as the input to a low value look-up table which maps the input to a corresponding updated CRC low value character. The updated CRC high and low value characters are combined to respectively provide the MSB and LSB portions of the CRC character. Both the high value latch and the low value latch are iteratively updated utilizing the updated CRC high and low value characters, respectively. The above-described operation is, thus, performed repetitively on an iteratively updated input character.
A better understanding of the features and advantages of the present invention will be obtained by reference to the following detailed description and accompanying drawings which set forth an illustrative embodiment in which the principles of the invention are utilized.
DESCRIPTION OF THE DRAWINGS
FIG. 1 is a block diagram illustrating the Open Systems Interconnection (OSI) model.
FIG. 2 is a block diagram illustrating the High-Level Data Link Control (HDLC) frame structure.
FIG. 3 is a block diagram illustrating a HDLC cyclic redundancy check (CRC) computation module in accordance with the present invention.
DETAILED DESCRIPTION OF THE INVENTION
FIG. 3 shows a High-Level Data Link Control (HDLC) module 10 in which the most significant byte CRC-- high 12 and the least significant byte CRC-- low 14 of a 16-bit cyclic redundancy check (CRC) word are computed incrementally.
shown in FIG. 3, the serial bit sequence 16 of the data to be transmitted is provided to an input data latch 18 which provides the data 17 to an XOR gate 20 eight bits at a time. The XOR gate 20 also receives the current most significant byte CRC-- high 12 via latch 22. The 8-bit result 24 of the XOR operation is provided to two 8-bit×8-bit look-up tables: look-up table high 26 and look-up table low 28.
The 8-bit output 30 of look-up table high 26 is provided to a second XOR function 32, which also receives the current 8-bit output CRC-- low of the look-up table low 28 via latch 34. The result of the operation of XOR function 32 is the 8-bit CRC-- high output 12.
As stated above, the 8-bit CRC-- high output 12 and the 8-bit CRC-- low output 14 combine to provide, respectively, the most significant byte and the least significant byte of the 16-bit CRC word.
The operation of the HDLC CRC module 10 may be represented by the following relationships, wherein the term "CRC-- temp" is a temporary byte variable, "Date-- byte" is the processed data byte 17, "Luthi" and "Lutlo" are the high and low look-up tables 26 and 28, and denotes an XOR operation respectively.
Initialization:
CRC.sub.-- high=Initial.sub.-- CRC.sub.-- high;
CRC.sub.-- low=Initial.sub.-- CRC.sub.-- low;
Incremental update:
CRC.sub.-- temp=Data.sub.-- byte CRC.sub.-- high;
CRC.sub.-- high=CRC.sub.-- low Luthi [CRC.sub.-- temp*];
CRC.sub.-- low=Lutlo[CRC.sub.-- temp]
CRC checks:
CRC.sub.-- high=Expected.sub.-- CRC.sub.-- high
CRC.sub.-- low=Expected.sub.-- CRC.sub.-- low
That is, the computation of the 16-bit CRC word is done by computing the bytes that comprise it: CRC-- high and CRC-- low. The computation involves two types of operations: XOR operations and look-up operations.
Referring again to FIG. 3, the input byte 17 is XORed with the CRC-- high byte currently latched in the CRC-- high latch 22. The resulting byte is denoted by CRC-- temp. The CRC-- temp byte is then fed into the look-up table high (Luthi) 26 to generate an 8-bit Luthi[CRC-- temp] term. The Luthi[CRC-- temp] term is then XORed with the CRC-- low value currently stored in latch 34 to provide an up-dated CRC-- high byte. The CRC-- temp byte is also fed into the look-up table low (Lutho) 28 to generate an 8-bit Lutho[CRC-- temp] term, which is the up-dated CRC-- low byte.
It should be understood that various alternatives to the embodiments of the invention described herein may be employed in practicing the invention. It is intended that the following claims define the scope of the invention and that methods and apparatus within the scope of these claims and their equivalents be covered thereby.

Claims (4)

I claim:
1. A method of generating a multi-bit binary cyclic redundancy check (CRC) data character that includes a most significant bit (MSB) portion and a least significant bit (LSB) portion, the method comprising;
converting a serial bit sequence received by a cyclic redundancy check (CRC) value generator to a corresponding multi-bit binary input data character;
storing a current multi-bit binary CRC high value data character in a CRC high value storage element;
storing a current multi-bit binary CRC low value data character in a CRC low value storage element;
providing both the multi-bit binary input data character and the current multi-bit binary CRC high value data character in parallel format as first and second inputs to an input XOR gate circuit such that the input XOR gate circuit generates a corresponding multi-bit binary input XOR gate circuit result data character in parallel format;
providing the multi-bit binary input XOR gate circuit result data character in parallel format as an input to a high value look-up table element such that the high value look-up table element generates a corresponding multi-bit high value look-up table output data character in parallel format;
providing both the multi-bit high value look-up table output data character and the current multi-bit binary CRC low value data character in parallel format as first and second inputs to a CRC high value XOR gate circuit such that the CRC high value XOR gate circuit generates a corresponding updated multi-bit binary CRC high value data character in parallel format;
providing the multi-bit binary input XOR gate circuit result data character in parallel format to a low value look-up table element such that the low value look-up table element generates an updated multi-bit binary CRC low value data character in parallel format;
providing the updated multi-bit binary CRC high value data character and the updated multi-bit binary CRC low value data character in parallel format as the MSB and the LSB portions, respectively, of a multi-bit binary CRC data character output of the cyclic redundancy check (CRC) value generator.
2. A method as in claim 1 and further comprising;
concurrently with providing the updated multi-bit binary CRC high value data character as the MSB portion of the multi-bit binary CRC data character output, storing the updated multi-bit binary CRC high value data character in parallel format in the CRC high value storage element to serve as the current multi-bit binary CRC high value data character; and
concurrently with providing the updated multi-bit binary CRC low value data character as the LSB portion of the multi-bit binary CRC data character output, storing the updated multi-bit binary CRC low value data in parallel format in the CRC low value storage element to serve as the current multi-bit binary CRC low value data character.
3. A method as in claim 1 wherein the serial bit sequence is received by a serial-to-parallel conversion element such that, with the receipt of each bit in the serial bit sequence by the serial-to-parallel conversion element, an iteratively updated corresponding multi-bit binary input data character is provided as an output of the serial-to-parallel conversion element, whereby each iteratively updated multi-bit binary input data character causes the multi-bit input XOR gate to iteratively generate an updated multi-bit binary input XOR gate circuit result data character, the method further comprising;
for each iteratively updated corresponding multi-bit binary input data character provided as an output of the serial-to-parallel conversion element, and concurrently with providing the updated multi-bit binary CRC high value data character as the MSB portion of the multi-bit binary CRC data character output, iteratively updating both the current multi-bit binary CRC high value data character stored in the CRC high value storage element and the multi-bit binary CRC low value data character stored in the CRC low value storage element by iteratively replacing said current CRC high value data character with the updated CRC high value output data character generated by the CRC high value XOR gate circuit and by replacing said current CRC low value data character with the updated multi-bit CRC low value output data character provided by the low value look-up table circuit.
4. A cyclic redundancy check (CRC) value generator for generating a multi-bit binary cyclic redundancy check (CRC) data character that includes a most significant bit (MSB) portion and a least significant bit (LSB) portion, the circuitry comprising;
a CRC high value storage element for storing a current multi-bit CRC high value data character;
a CRC low value storage element for storing a current multi-bit CRC low value data character;
a serial-to-parallel conversion element that receives an externally-provided serial bit sequence as an input and, for each new bit in the serial bit sequence received by the serial-to-parallel conversion element, generates a corresponding iteratively updated multi-bit binary output data character in parallel format;
an input XOR gate circuit connected to receive both the iteratively updated multi-bit binary output data character from the serial-to-parallel conversion element and the current multi-bit CRC high value data character from the CRC high value storage element in parallel format as inputs and that performs an XOR logic operation on said inputs to generate a corresponding multi-bit binary input XOR gate circuit result data character in parallel format;
high value look-up table means, connected to receive the multi-bit binary input XOR gate circuit result data character in parallel format as an input, for responding to said input by generating an updated multi-bit binary CRC low value data character in parallel format as an output;
a CRC high value XOR gate circuit connected to receive both the updated multi-bit binary CRC high value data character from the high value look-up table circuit and the current multi-bit CRC low value data character from the CRC low value storage element in parallel format as inputs and that performs an XOR logic operation on said inputs to generate a corresponding updated multi-bit binary CRC high value data character in parallel format;
low value look-up table means, connected to receive the multi-bit binary input XOR gate circuit result data character in parallel format as an input, and for responding to said input by generating an updated multi-bit binary CRC low value data character in parallel format; and
output means for providing the updated multi-bit binary CRC high value data character and the updated multi-bit binary CRC low value data character in parallel format as the MSB and LSB portions, respectively, of a multi-bit binary CRC data character output of the cyclic redundancy check (CRC) value generator.
US08/125,083 1990-08-07 1993-09-22 Implementation of the HDLC CRC calculation Expired - Lifetime US5325372A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US08/125,083 US5325372A (en) 1990-08-07 1993-09-22 Implementation of the HDLC CRC calculation

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US56403790A 1990-08-07 1990-08-07
US08/125,083 US5325372A (en) 1990-08-07 1993-09-22 Implementation of the HDLC CRC calculation

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US56403790A Continuation 1990-08-07 1990-08-07

Publications (1)

Publication Number Publication Date
US5325372A true US5325372A (en) 1994-06-28

Family

ID=24252917

Family Applications (1)

Application Number Title Priority Date Filing Date
US08/125,083 Expired - Lifetime US5325372A (en) 1990-08-07 1993-09-22 Implementation of the HDLC CRC calculation

Country Status (4)

Country Link
US (1) US5325372A (en)
EP (1) EP0470451A3 (en)
JP (1) JPH04234237A (en)
KR (1) KR920004997A (en)

Cited By (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5414859A (en) * 1992-05-27 1995-05-09 Tandy Corporation Interprocessor communication protocol with built-in error prevention encoding
US5553067A (en) * 1993-06-11 1996-09-03 Sgs-Thomson Microelectronics S.R.L. Generation of checking data
US5619516A (en) * 1992-12-29 1997-04-08 Motorola, Inc. Efficient CRC remainder coefficient generation and checking device and method
US5644569A (en) * 1993-06-11 1997-07-01 Sgs-Thomson Microelectronics Limited Transmission of messages
US5715259A (en) * 1993-09-14 1998-02-03 Electronics And Telecommunications Research Institute Cyclic redundancy check synchronizer
US5745503A (en) * 1995-04-11 1998-04-28 Nokia Mobile Phones Ltd. Error correction decoder that operates in either ARDS system or a RBDS system
US5878057A (en) * 1995-10-06 1999-03-02 Tektronix, Inc. Highly parallel cyclic redundancy code generator
US5951707A (en) * 1997-06-27 1999-09-14 International Business Machines Corporation Method of partitioning CRC calculation for a low-cost ATM adapter
US5996113A (en) * 1996-11-26 1999-11-30 Intel Corporation Method and apparatus for generating digital checksum signatures for alteration detection and version confirmation
US6029186A (en) * 1998-01-20 2000-02-22 3Com Corporation High speed calculation of cyclical redundancy check sums
US6044482A (en) * 1994-12-12 2000-03-28 British Telecommunications Public Limited Company Digital transmission system for encoding and decoding attribute data into error checking symbols of main data
US6192498B1 (en) * 1997-10-01 2001-02-20 Globepan, Inc. System and method for generating error checking data in a communications system
US6195783B1 (en) * 1995-03-27 2001-02-27 Blaupunkt-Werke Gmbh Process and apparatus for synchronizing the block counter in an RDS radio data receiver
US6195780B1 (en) * 1997-12-10 2001-02-27 Lucent Technologies Inc. Method and apparatus for generating cyclical redundancy code
US20030048246A1 (en) * 2001-09-04 2003-03-13 Lg. Phillips Lcd Co., Ltd. Method and apparatus for driving liquid crystal display
US20030061559A1 (en) * 2001-08-14 2003-03-27 Optix Networks Inc. Apparatus and method for accelerating cyclic redundancy check calculations
US20030159101A1 (en) * 2001-07-24 2003-08-21 Hyland Kevin J. Cyclic redundancy code generator
US20030161289A1 (en) * 2002-02-28 2003-08-28 Nischal Abrol HDLC hardware accelerator
US6681364B1 (en) 1999-09-24 2004-01-20 International Business Machines Corporation Cyclic redundancy check for partitioned frames
US6754870B2 (en) 2000-04-14 2004-06-22 Matsushita Electric Industrial Co., Ltd. CRC operation unit and CRC operation method
US20040250193A1 (en) * 2003-06-06 2004-12-09 Cavanna Vicente V. System for computing a CRC value by processing a data message a word at a time
US20070011590A1 (en) * 2005-06-16 2007-01-11 Hong-Ching Chen Methods and systems for generating error correction codes
US20070022358A1 (en) * 2005-06-16 2007-01-25 Hong-Ching Chen Methods and apparatuses for generating error correction codes
US20070067702A1 (en) * 2005-09-05 2007-03-22 Kuo-Lung Chien Method and apparatus for syndrome generation
US7320101B1 (en) * 2003-08-19 2008-01-15 Altera Corporation Fast parallel calculation of cyclic redundancy checks
US20080244352A1 (en) * 2007-03-27 2008-10-02 Samsung Electronics Co., Ltd. Apparatus and method for transmitting data and apparatus and method for receiving data
US20090041389A1 (en) * 2007-08-09 2009-02-12 Samsung Electronics Co., Ltd. Apparatus and method for searching for erroneous data
US7613991B1 (en) 2003-08-19 2009-11-03 Altera Corporation Method and apparatus for concurrent calculation of cyclic redundancy checks
US20100131832A1 (en) * 2008-11-26 2010-05-27 Cooper John F Mechanism for Interleaved Parallel Cyclic Redundancy Check Calculation for Memory Devices

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6763492B1 (en) 2000-09-26 2004-07-13 Qualcomm Incorporated Method and apparatus for encoding of linear block codes
US6701478B1 (en) * 2000-12-22 2004-03-02 Nortel Networks Limited System and method to generate a CRC (cyclic redundancy check) value using a plurality of CRC generators operating in parallel
US8363541B2 (en) 2006-12-22 2013-01-29 Pratt & Whitney Canada Corp. Serial digital communication protocol

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4030067A (en) * 1975-12-29 1977-06-14 Honeywell Information Systems, Inc. Table lookup direct decoder for double-error correcting (DEC) BCH codes using a pair of syndromes
US4703485A (en) * 1986-02-10 1987-10-27 International Business Machines Corporation Method and apparatus for computing and implementing error detection check bytes
US5027357A (en) * 1988-10-14 1991-06-25 Advanced Micro Devices, Inc. ECC/CRC error detection and correction system
US5103451A (en) * 1990-01-29 1992-04-07 Motorola, Inc. Parallel cyclic redundancy check circuit
US5132975A (en) * 1989-02-16 1992-07-21 Grumman Aerospace Corporation Very high speed error detection network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4030067A (en) * 1975-12-29 1977-06-14 Honeywell Information Systems, Inc. Table lookup direct decoder for double-error correcting (DEC) BCH codes using a pair of syndromes
US4703485A (en) * 1986-02-10 1987-10-27 International Business Machines Corporation Method and apparatus for computing and implementing error detection check bytes
US5027357A (en) * 1988-10-14 1991-06-25 Advanced Micro Devices, Inc. ECC/CRC error detection and correction system
US5132975A (en) * 1989-02-16 1992-07-21 Grumman Aerospace Corporation Very high speed error detection network
US5103451A (en) * 1990-01-29 1992-04-07 Motorola, Inc. Parallel cyclic redundancy check circuit

Non-Patent Citations (14)

* Cited by examiner, † Cited by third party
Title
Brown et al., "CRC Calculation Stuff", 1986, pp. 1-3.
Brown et al., CRC Calculation Stuff , 1986, pp. 1 3. *
Dilip V. Sarwate, Computation of Cyclic Redundancy Checks via Table Look Up, Communications of the ACM, vol. 31, No. 8, Aug. 1988, pp. 1008 1013. *
Dilip V. Sarwate, Computation of Cyclic Redundancy Checks via Table Look-Up, Communications of the ACM, vol. 31, No. 8, Aug. 1988, pp. 1008-1013.
Gary S. Brown, "Demonstration Program to Compute the 32-bit CRC used as the Frame Check Sequence in ADCCP", 1986, pp. 1-3.
Gary S. Brown, Demonstration Program to Compute the 32 bit CRC used as the Frame Check Sequence in ADCCP , 1986, pp. 1 3. *
Method to Provide Software Calculation of a 32 Bit Frame Check Sequence, a Byte at a Time; IBM Technical Disclosure Bulletin; vol. 30, No. 12, Aug. 1988; pp. 458 464. *
Method to Provide Software Calculation of a 32-Bit Frame Check Sequence, a Byte at a Time; IBM Technical Disclosure Bulletin; vol. 30, No. 12, Aug. 1988; pp. 458-464.
Perez et al.; Byte Wise CRC Calculations; IEEE Micro; vol. 3, No. 3, 1983 pp. 40 50. *
Perez et al.; Byte-Wise CRC Calculations; IEEE Micro; vol. 3, No. 3, 1983 pp. 40-50.
Thom Henderson et al, "ARCSVC.C 1.1", 1985, pp. 1-3.
Thom Henderson et al, ARCSVC.C 1.1 , 1985, pp. 1 3. *
Thom Henderson, "ARCSVC Version 2.20", 1986, pp. 1-2.
Thom Henderson, ARCSVC Version 2.20 , 1986, pp. 1 2. *

Cited By (44)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5414859A (en) * 1992-05-27 1995-05-09 Tandy Corporation Interprocessor communication protocol with built-in error prevention encoding
US5619516A (en) * 1992-12-29 1997-04-08 Motorola, Inc. Efficient CRC remainder coefficient generation and checking device and method
US5553067A (en) * 1993-06-11 1996-09-03 Sgs-Thomson Microelectronics S.R.L. Generation of checking data
US5644569A (en) * 1993-06-11 1997-07-01 Sgs-Thomson Microelectronics Limited Transmission of messages
US5715259A (en) * 1993-09-14 1998-02-03 Electronics And Telecommunications Research Institute Cyclic redundancy check synchronizer
US6044482A (en) * 1994-12-12 2000-03-28 British Telecommunications Public Limited Company Digital transmission system for encoding and decoding attribute data into error checking symbols of main data
US6195783B1 (en) * 1995-03-27 2001-02-27 Blaupunkt-Werke Gmbh Process and apparatus for synchronizing the block counter in an RDS radio data receiver
US5745503A (en) * 1995-04-11 1998-04-28 Nokia Mobile Phones Ltd. Error correction decoder that operates in either ARDS system or a RBDS system
US5878057A (en) * 1995-10-06 1999-03-02 Tektronix, Inc. Highly parallel cyclic redundancy code generator
US5996113A (en) * 1996-11-26 1999-11-30 Intel Corporation Method and apparatus for generating digital checksum signatures for alteration detection and version confirmation
US5951707A (en) * 1997-06-27 1999-09-14 International Business Machines Corporation Method of partitioning CRC calculation for a low-cost ATM adapter
US6192498B1 (en) * 1997-10-01 2001-02-20 Globepan, Inc. System and method for generating error checking data in a communications system
US6195780B1 (en) * 1997-12-10 2001-02-27 Lucent Technologies Inc. Method and apparatus for generating cyclical redundancy code
US6029186A (en) * 1998-01-20 2000-02-22 3Com Corporation High speed calculation of cyclical redundancy check sums
US6681364B1 (en) 1999-09-24 2004-01-20 International Business Machines Corporation Cyclic redundancy check for partitioned frames
US20040221221A1 (en) * 2000-04-14 2004-11-04 Matsushita Electric Industrial Co., Ltd. CRC operation unit and CRC operation method
US6754870B2 (en) 2000-04-14 2004-06-22 Matsushita Electric Industrial Co., Ltd. CRC operation unit and CRC operation method
US20030159101A1 (en) * 2001-07-24 2003-08-21 Hyland Kevin J. Cyclic redundancy code generator
US6928608B2 (en) 2001-08-14 2005-08-09 Optix Networks Ltd. Apparatus and method for accelerating cyclic redundancy check calculations
US20030061559A1 (en) * 2001-08-14 2003-03-27 Optix Networks Inc. Apparatus and method for accelerating cyclic redundancy check calculations
US20070070019A1 (en) * 2001-09-04 2007-03-29 Ham Yong S Method and apparatus for driving liquid crystal display
US8537087B2 (en) 2001-09-04 2013-09-17 Lg Display Co., Ltd. Method and apparatus for driving liquid crystal display
US20030048246A1 (en) * 2001-09-04 2003-03-13 Lg. Phillips Lcd Co., Ltd. Method and apparatus for driving liquid crystal display
US7161575B2 (en) 2001-09-04 2007-01-09 Lg.Philips Lcd Co., Ltd. Method and apparatus for driving liquid crystal display
CN1294550C (en) * 2001-09-04 2007-01-10 Lg.飞利浦Lcd有限公司 Method and device for drive liquid crystal display device
US20060203797A1 (en) * 2002-02-28 2006-09-14 Nischal Abrol HDLC hardware accelerator
US7729322B2 (en) 2002-02-28 2010-06-01 Qualcomm Incorporated HDLC hardware accelerator
US20030161289A1 (en) * 2002-02-28 2003-08-28 Nischal Abrol HDLC hardware accelerator
US7606266B2 (en) * 2002-02-28 2009-10-20 Qualcomm Incorporated HDLC hardware accelerator
US7613980B2 (en) * 2003-06-06 2009-11-03 Avago Technologies General Ip (Singapore) Pte. Ltd. System for computing a CRC value by processing a data message a word at a time
US20040250193A1 (en) * 2003-06-06 2004-12-09 Cavanna Vicente V. System for computing a CRC value by processing a data message a word at a time
US7613991B1 (en) 2003-08-19 2009-11-03 Altera Corporation Method and apparatus for concurrent calculation of cyclic redundancy checks
US7320101B1 (en) * 2003-08-19 2008-01-15 Altera Corporation Fast parallel calculation of cyclic redundancy checks
US20070011590A1 (en) * 2005-06-16 2007-01-11 Hong-Ching Chen Methods and systems for generating error correction codes
US20070022358A1 (en) * 2005-06-16 2007-01-25 Hong-Ching Chen Methods and apparatuses for generating error correction codes
US7430701B2 (en) * 2005-06-16 2008-09-30 Mediatek Incorporation Methods and systems for generating error correction codes
US7774676B2 (en) 2005-06-16 2010-08-10 Mediatek Inc. Methods and apparatuses for generating error correction codes
US20080209119A1 (en) * 2005-06-16 2008-08-28 Hong-Ching Chen Methods and systems for generating error correction codes
US20070067702A1 (en) * 2005-09-05 2007-03-22 Kuo-Lung Chien Method and apparatus for syndrome generation
US20080244352A1 (en) * 2007-03-27 2008-10-02 Samsung Electronics Co., Ltd. Apparatus and method for transmitting data and apparatus and method for receiving data
US20090041389A1 (en) * 2007-08-09 2009-02-12 Samsung Electronics Co., Ltd. Apparatus and method for searching for erroneous data
US8260091B2 (en) * 2007-08-09 2012-09-04 Samsung Electronics Co., Ltd. Apparatus and method for searching for erroneous data
US20100131832A1 (en) * 2008-11-26 2010-05-27 Cooper John F Mechanism for Interleaved Parallel Cyclic Redundancy Check Calculation for Memory Devices
US9003259B2 (en) * 2008-11-26 2015-04-07 Red Hat, Inc. Interleaved parallel redundancy check calculation for memory devices

Also Published As

Publication number Publication date
JPH04234237A (en) 1992-08-21
KR920004997A (en) 1992-03-28
EP0470451A3 (en) 1993-01-20
EP0470451A2 (en) 1992-02-12

Similar Documents

Publication Publication Date Title
US5325372A (en) Implementation of the HDLC CRC calculation
EP0950300B1 (en) Secondary channel using code violations
EP0609595B1 (en) Method and apparatus for verifying CRC codes by combination of partial CRC codes
EP0313707B1 (en) Data integrity securing means
US6681364B1 (en) Cyclic redundancy check for partitioned frames
US7296211B2 (en) System and method for transferring data on a data link
US5689518A (en) Method and an apparatus to modify CRC in intermediate high speed network nodes
EP0684712A3 (en) Line terminating equipment in SDH networks, using forward error correcting codes
JP2000115107A (en) Forward direction error correction for high-speed optical transmission system
WO1994015407A1 (en) Efficient crc remainder coefficient generation and checking device and method
JPH07273742A (en) Parallel data transmission equipment
US5377329A (en) Reducing data transmission by indexed caching
US6279132B1 (en) Concatenated error control method and system for a processing satellite uplink
JP3419520B2 (en) Data communication method and device
US20050047433A1 (en) Physical coding sublayer transcoding
US6738946B1 (en) Methods, communication devices, and computer program products for communicating information via a frame check sequence having an information block associated therewith
EP1131714A1 (en) Paging system having optional forward error correcting code transmission at the data link layer
US4809277A (en) Convolutional encoder
NZ245456A (en) Logical machine: state transitions function of concatenation information of transmission frames
US5923681A (en) Parallel synchronous header correction machine for ATM
US5121397A (en) Method and apparatus for producing order independent signatures for error detection
JPH1098392A (en) Crc code generating circuit, code error detecting circuit and crc circuit
US5774480A (en) Cyclic code check bits generation and error correction using sum of remainders
US4899340A (en) Error correcting code and error correcting circuit using the same
WO2024001230A1 (en) Bearing method, communication equipment and storage medium

Legal Events

Date Code Title Description
STCF Information on status: patent grant

Free format text: PATENTED CASE

FPAY Fee payment

Year of fee payment: 4

FEPP Fee payment procedure

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

FPAY Fee payment

Year of fee payment: 8

REMI Maintenance fee reminder mailed
FPAY Fee payment

Year of fee payment: 12