KR100291718B1 - Cyclic redundancy check code device - Google Patents

Cyclic redundancy check code device Download PDF

Info

Publication number
KR100291718B1
KR100291718B1 KR1019940021700A KR19940021700A KR100291718B1 KR 100291718 B1 KR100291718 B1 KR 100291718B1 KR 1019940021700 A KR1019940021700 A KR 1019940021700A KR 19940021700 A KR19940021700 A KR 19940021700A KR 100291718 B1 KR100291718 B1 KR 100291718B1
Authority
KR
South Korea
Prior art keywords
cyclic redundancy
redundancy check
crc
data
check code
Prior art date
Application number
KR1019940021700A
Other languages
Korean (ko)
Inventor
윤성욱
Original Assignee
전주범
대우전자주식회사
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 전주범, 대우전자주식회사 filed Critical 전주범
Priority to KR1019940021700A priority Critical patent/KR100291718B1/en
Application granted granted Critical
Publication of KR100291718B1 publication Critical patent/KR100291718B1/en

Links

Landscapes

  • Detection And Correction Of Errors (AREA)
  • Error Detection And Correction (AREA)

Abstract

PURPOSE: A CRC(Cyclic Redundancy Check Code) device is provided to realize the initial part of CRC generating polynomial expression while executing the CRC operation in a bite unit. CONSTITUTION: The device comprises a latch(11) outputting the data inputted in a bite unit with a delay by one clock, a first CRC processor(12) executing the CRC operation by a CRC generating polynomial expression and calculation by receiving the delayed data from the latch and the present data inputted in a bite unit, a second CRC processor(13) executing the CRC operation by a CRC generating polynomial expression and calculation by receiving the CRC data from the first CRC processor and the new data inputted in a bite unit, a multiplexer(14) selecting and outputting the output of first CRC processor if the CRC data is firstly inputted, and selecting and outputting the output of second CRC processor if the CRC data is not firstly inputted, and a latch(15) outputting the data selected by the multiplexer to the second CRC processor.

Description

순환 중복 검사 부호화 장치Cyclic Redundancy Check Coding Device

본 발명은 ATM(Asynchronous Transmission Mode) 단말기 등에 적용되는 순환 중복 검사 부호화 장치에 관한 것으로, 특히 바이트 단위로 순환 중복 검사 부호화를 수행할 수 있는 순환 중복 검사 부호화 장치에 관한 것이다.The present invention relates to a cyclic redundancy check encoding apparatus applied to an Asynchronous Transmission Mode (ATM) terminal and the like, and more particularly, to a cyclic redundancy check encoding apparatus capable of performing cyclic redundancy check encoding in units of bytes.

일반적으로, 순환 중복 검사 부호(Cyclic Redundancy Check Code, 이하 CRC 라 함)는 오류 검출 및 에러 정정을 위한 변경 순환 코드(modified cyclic code)내에서 사용되는 코드로서 보통 각 데이타 블럭의 마지막에 중복 코드(문자)를 추가로 삽입하여 부호화 함으로서 오류 발생 여부를 검사할 수 있도록 하는 것이다.In general, the Cyclic Redundancy Check Code (CRC) is a code used in a modified cyclic code for error detection and error correction, and is usually a duplicate code at the end of each data block. By inserting additional characters), you can check whether an error occurred.

상기한 CRC 부호화에 있어서 종래에는 1클럭당 1비트의 데이타가 처리 되도록 구성되거나 또는 바이트 단위로 병렬 처리하도록 구성되어 있다.In the above-described CRC encoding, conventionally, one bit of data is processed per clock or configured to perform parallel processing on a byte basis.

따라서, 1클럭당 1비트의 데이타가 처리 되도록 구성되는 경우 빠른 데이타 전송이 요구되는 시스템에 적용시 실질적인 구현에 있어서 많은 어려움이 있으며, 바이트 단위로 병렬 처리하도록 구성되는 경우 바이트 단위로 끊어지지 않는 CRC 생성 다항식의 처음 부분이 구현될 수 없게 되는 문제점이 있었다.Therefore, there are many difficulties in practical implementation when applied to a system requiring fast data transfer when 1 bit of data is processed per clock, and CRC that does not break by byte when configured to process in bytes There was a problem that the first part of the generator polynomial could not be implemented.

본 발명은 상기 문제점을 해결하기 위하여 안출한 것으로, 바이트 단위로 순환 중복 검사 부호화를 수행할 때 CRC 생성 다항식의 처음 부분까지도 구현할 수 있는 순환 중복 검사 부호화 장치를 제공함에 그 목적이 있다.An object of the present invention is to provide a cyclic redundancy check encoding apparatus capable of implementing even the first part of a CRC-generated polynomial when performing cyclic redundancy check encoding on a byte basis.

상기 목적을 달성하기 위하여 본 발명은, 입력되는 바이트 단위의 데이타를 1 클럭 지연시켜 출력하는 래치부; 상기 래치부에 의해 1 클럭 지연된 데이타와 현재 입력되는 바이트 단위의 데이타를 수신하여 생성 다항식과의 연산처리에 의해 순환 중복 검사 부호화를 수행하는 제 1 순환 중복 검사 부호 처리부; 상기 순환 중복 검사 부호화된 데이타와 새로 입력되는 바이트 단위의 데이타를 수신하여 생성 다항식과의 연산처리에 의해 순환 중복 검사 부호화를 수행하는 제 2 순환 중복 검사 부호 처리부; 상기 순환 중복 검사 부호화된 데이타가 처음으로 입력되면 상기 제 1 순환 중복 검사 부호 처리부의 출력을 선택하여 출력하고 순환 중복 검사 부호화된 데이타가 처음 입력이 아니면 상기 제 2 순환 중복 검사 부호 처리부의 출력을 선택하여 출력하는 멀티플렉서; 및 상기 멀티플렉서에 의해 선택된 데이타를 상기 순환 중복 검사 부호 처리부에 출력하는 래치부로 이루어진 순환 중복 검사 부호화 장치를 제공한다.In order to achieve the above object, the present invention, a latch unit for delaying the output of the input byte unit by one clock; A first cyclic redundancy check code processor configured to receive data delayed by one clock and data of a byte unit currently input by the latch unit and perform cyclic redundancy check encoding by arithmetic processing with a generated polynomial; A second cyclic redundancy check code processor which receives the cyclic redundancy check coded data and newly input byte data and performs cyclic redundancy check encoding by arithmetic processing with a generated polynomial; When the cyclic redundancy check coded data is input for the first time, the output of the first cyclic redundancy check code processor is selected and output. If the cyclic redundancy check coded data is not the first input, the output of the second cyclic redundancy check code processor is selected. Output multiplexer; And a latch unit for outputting the data selected by the multiplexer to the cyclic redundancy check code processing unit.

도면은 본 발명의 바람직한 실시예에 따른 순환 중복 검사 부호화 장치의 블록구성도.Figure is a block diagram of a cyclic redundancy check encoding apparatus according to a preferred embodiment of the present invention.

〈도면의 주요부분에 대한 부호의 설명〉<Explanation of symbols for main parts of drawing>

11, 15 : 래치부 12, 13 : 순환 중복 검사 부호 처리부11, 15: latch unit 12, 13: cyclic redundancy check code processing unit

14 : 멀티플렉서14: Multiplexer

이하 첨부된 도면을 참조하여 본 발명에 대하여 상세히 설명한다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

도면은 본 발명의 바람직한 실시예에 따른 순환 중복 검사 부호화 장치의 블록구성도로서, 래치부(11), 순환 중복 검사 부호 처리부(12), 순환 중복 검사 부호 처리부(13), 멀티플렉서(14) 및 래치부(15)를 포함한다.4 is a block diagram of a cyclic redundancy check encoding apparatus according to a preferred embodiment of the present invention, including a latch unit 11, a cyclic redundancy check code processing unit 12, a cyclic redundancy check code processing unit 13, a multiplexer 14 and The latch unit 15 is included.

도면을 참조하면, 래치부(11)는 입력되는 8비트 단위의 데이타를 1클럭씩 지연시켜 순환 중복 검사 부호 처리부(12)에 출력하고 순환 중복 검사 처리부(12)는 래치부(11)의 1 클럭 지연된 8비트 데이타와 새로 인가되는 8비트 데이타를 수신한 후 오류 검출 및 에러 정정이 가능한 데이타로 만들기 위하여 소정의 생성 다항식(G(x))과 배타적 논리합에 의한 연산 처리를 하여 멀티플렉서(14)에 출력한다.Referring to the figure, the latch unit 11 delays the input 8-bit unit data by one clock, and outputs it to the cyclic redundancy check code processing unit 12, and the cyclic redundancy check processing unit 12 outputs 1 of the latch unit 11. After receiving the clock-delayed 8-bit data and the newly applied 8-bit data, the multiplexer 14 performs arithmetic processing by using a predetermined generation polynomial (G (x)) and an exclusive OR to make the data capable of error detection and error correction. Output to

이때, 상기한 생성 다항식은 CRC 방식에서 BCC(Block Check Charactor)를 생성하기 위해 사용되는 다항식으로서, 배타적 논리합에 의한 연산 처리는 입력되는 데이타를 생성 다항식으로 나누어 그 나머지만을 출력하는 것을 말한다.In this case, the generation polynomial described above is a polynomial used to generate a block check charactor (BCC) in the CRC scheme. An operation processing by an exclusive logical sum divides the input data into a generation polynomial and outputs only the rest.

한편, 멀티플렉서(14)는 순환 중복 검사 부호화된 데이타가 처음으로 입력되면 순환 중복 검사 부호 처리부(12)에서 출력된 10비트의 데이타를 선택하여 래치부(15)에 출력하고 래치부(15)에 의해 래치된 10비트 데이타는 순환 중복 검사 부호화 장치의 출력단으로 출력되는 한편 순환 중복 검사 부호 처리부(13)에 입력된다.On the other hand, when the cyclic redundancy check coded data is input for the first time, the multiplexer 14 selects 10 bits of data output from the cyclic redundancy check code processor 12 and outputs the data to the latch unit 15 to the latch unit 15. The latched 10-bit data is output to the output terminal of the cyclic redundancy check encoding apparatus and input to the cyclic redundancy check code processor 13.

따라서, 순환 중복 검사 부호 처리부(13)는 래치부(15)에서 출력된 10비트의 데이타와 새로 입력된 8비트 데이타를 수신한 후 입력되는 데이타를 CRC 방식에서 BCC를 생성하기 위해 사용되는 생성 다항식(G(x))으로 나누고 그 나머지를 멀티플렉서(14)에 출력한다.Accordingly, the cyclic redundancy check code processor 13 generates a 10-bit data output from the latch unit 15 and a newly generated 8-bit data, and then generates the polynomial used to generate the BCC in the CRC scheme. Divide by (G (x)) and output the remainder to the multiplexer 14.

또한, 멀티플렉서(14)는 순환 중복 검사 부호화된 데이타의 입력이 처음이 아니면 순환 중복 검사 부호 처리부(13)에서 출력된 10비트의 데이타를 선택하여 래치부(15)에 출력하고, 래치부(15)는 10비트 데이타를 순환 중복 검사 부호화 장치의 출력단으로 출력하는 한편 순환 중복 검사 부호 처리부(13)에 입력한다.In addition, the multiplexer 14 selects 10-bit data output from the cyclic redundancy check code processor 13 and outputs it to the latch unit 15 when the input of the cyclic redundancy check coded data is not first. ) Outputs 10-bit data to the output terminal of the cyclic redundancy check encoding apparatus and inputs it to the cyclic redundancy check code processor 13.

따라서, 본 발명은 CRC 생성 다항식의 처음 부분에는 현재 입력되는 8비트 데이타와 바로 전에 입력되는 데이타를 이용하여 이를 순환 중복 검사 부호화하여 출력하기 때문에 바이트 단위로 끊어지지 않는 CRC 생성 다항식의 처음 부분까지도 확실하게 구현할 수 있는 효과가 있다.Therefore, since the present invention outputs the cyclic redundancy check coding using the 8-bit data currently input and the data immediately preceding the CRC-generated polynomial, even the first part of the CRC-generated polynomial that is not broken by byte unit is guaranteed. There is an effect that can be implemented.

Claims (1)

입력되는 바이트 단위의 데이타를 1클럭 지연시켜 출력하는 래치부(11); 상기 래치부(11)에 의해 1 클럭 지연된 데이타와 현재 입력되는 바이트 단위의 데이타를 수신하여 생성 다항식과의 연산처리에 의해 순환 중복 검사 부호화를 수행하는 제 1 순환 중복 검사 부호 처리부(12); 상기 순환 중복 검사 부호화된 데이타와 새로 입력되는 바이트 단위의 데이타를 수신하여 생성 다항식과의 연산처리에 의해 순환 중복 검사 부호화를 수행하는 제 2 순환 중복 검사 부호 처리부(13); 상기 순환 중복 검사 부호화된 데이타가 처음으로 입력되면 상기 제 1 순환 중복 검사 부호 처리부(12)의 출력을 선택하여 출력하고 순환 중복 검사 부호화된 데이타가 처음 입력이 아니면 상기 제 2 순환 중복 검사 부호 처리부(13)의 출력을 선택하여 출력하는 멀티플렉서(14); 및 상기 멀티플렉서(14)에 의해 선택된 데이타를 상기 순환 중복 검사 부호 처리부(13)에 출력하는 래치부(15)로 이루어진 순환 중복 검사 부호화 장치.A latch unit 11 for delaying and outputting the input byte unit data by one clock; A first cyclic redundancy check code processor (12) which receives data delayed by one clock by the latch unit (11) and data of a byte unit currently input and performs cyclic redundancy check coding by arithmetic processing with a generated polynomial; A second cyclic redundancy check code processor (13) which receives the cyclic redundancy check coded data and newly input byte data and performs cyclic redundancy check encoding by arithmetic processing with a generated polynomial; When the cyclic redundancy check coded data is input for the first time, the output of the first cyclic redundancy check code processor 12 is selected and output. If the cyclic redundancy check coded data is not the first input, the second cyclic redundancy check code processor ( A multiplexer 14 which selects and outputs an output of 13); And a latch unit (15) for outputting the data selected by the multiplexer (14) to the cyclic redundancy check code processor (13).
KR1019940021700A 1994-08-31 1994-08-31 Cyclic redundancy check code device KR100291718B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019940021700A KR100291718B1 (en) 1994-08-31 1994-08-31 Cyclic redundancy check code device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019940021700A KR100291718B1 (en) 1994-08-31 1994-08-31 Cyclic redundancy check code device

Publications (1)

Publication Number Publication Date
KR100291718B1 true KR100291718B1 (en) 2001-09-17

Family

ID=37526109

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019940021700A KR100291718B1 (en) 1994-08-31 1994-08-31 Cyclic redundancy check code device

Country Status (1)

Country Link
KR (1) KR100291718B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114726383A (en) * 2022-04-12 2022-07-08 北京理工大学 High-throughput parallel cyclic redundancy check method based on CRC-16

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR930024307A (en) * 1992-05-27 1993-12-22 정용문 Circuit for detecting cyclic loop code

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR930024307A (en) * 1992-05-27 1993-12-22 정용문 Circuit for detecting cyclic loop code

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114726383A (en) * 2022-04-12 2022-07-08 北京理工大学 High-throughput parallel cyclic redundancy check method based on CRC-16

Similar Documents

Publication Publication Date Title
US5844923A (en) Fast framing of nude ATM by header error check
US7827384B2 (en) Galois-based incremental hash module
KR960043552A (en) Error Correction Coded Decoding Method and Circuit Using the Method
US8321768B2 (en) Method and system for calculating CRC
EP1223506B1 (en) Random number generator using compression
JPH077492A (en) Method and apparatus for detection and correction of error in atm cell header
JPS60140981A (en) Method and device for decoding digital coded word of coded word system
KR100291718B1 (en) Cyclic redundancy check code device
KR20070065445A (en) Turbo decoder with circular redundancy code signature comparison
US5694405A (en) Encoder and decoder of an error correcting code
US4809277A (en) Convolutional encoder
KR100189267B1 (en) Device for establishing cell boundaries in a bit stream and crc calculation
CN114942861A (en) CRC calculation method, device, computer equipment and storage medium
KR100268125B1 (en) The circuit of parallel crc generator
JP2983533B1 (en) Hash function method
KR0128847B1 (en) Aa-type 5-service system
JPH05151007A (en) Crc arithmetic unit
KR100273201B1 (en) Equalizer and de-equalizer with 16 bit parallel self-synchronization
KR970005732B1 (en) Cyclic redundancy check code provider for atm
JP3044847B2 (en) Variable-length code decoding device
JP2783019B2 (en) Encoding device, encoding method, encoding method, decoding method, and decoding method
Houghton et al. Cyclic redundancy checking
KR0157157B1 (en) Hash code generating apparatus
JP3220099B2 (en) Hash function method
CN111339546A (en) Method for generating data tag, electronic device and computer storage medium

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20110302

Year of fee payment: 11

LAPS Lapse due to unpaid annual fee