JPH10135847A - Parallel header error correction circuit and header error correction method for atm communication equipment - Google Patents

Parallel header error correction circuit and header error correction method for atm communication equipment

Info

Publication number
JPH10135847A
JPH10135847A JP8283936A JP28393696A JPH10135847A JP H10135847 A JPH10135847 A JP H10135847A JP 8283936 A JP8283936 A JP 8283936A JP 28393696 A JP28393696 A JP 28393696A JP H10135847 A JPH10135847 A JP H10135847A
Authority
JP
Japan
Prior art keywords
syndrome
error
bit
byte
header
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.)
Pending
Application number
JP8283936A
Other languages
Japanese (ja)
Inventor
Akihiro Miyamoto
晃宏 宮本
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP8283936A priority Critical patent/JPH10135847A/en
Publication of JPH10135847A publication Critical patent/JPH10135847A/en
Pending legal-status Critical Current

Links

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)
  • Error Detection And Correction (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce a circuit scale of a delay circuit to be given to a main signal to control a memory capacity of a table to store a syndrome pointing out each error bit location in 40-bit and a correction timing of a discriminated error bit. SOLUTION: A full expansion type 40-bit CRC-8 arithmetic circuit 6 calculates a syndrome with respect to a header part of ATM cell data received in parallel in 8-bit, an error bit location is discriminated by collating a 1st byte error with data in a syndrome storage table 12 to correct the bit. As to correction of 2nd and succeeding bytes, after 8-bit parallel processing CRC-8 arithmetic operation is applied to the syndrome for each clock shift of received data S1, the result is collated with data in the syndrome storage table 12 to discriminate an error bit location to correct the bit.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はATM通信装置の受
信側のヘッダ誤り訂正回路に関し、特に回路規模削減を
実現するヘッダ誤り訂正回路および方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a header error correction circuit on the receiving side of an ATM communication apparatus, and more particularly to a header error correction circuit and a method for realizing a reduction in circuit size.

【0002】[0002]

【従来の技術】ATMセルのヘッダ40ビットに対しC
RC−8符号により誤り訂正を行い、1ビット誤り訂正
を行うためのヘッダ誤り訂正回路に於いては、CRC−
8符号による演算結果(シンドローム)を算出し、その
シンドロームの値から、ATMセルのヘッダの第1バイ
ト目から第5バイト目(計40ビット)のうちどのバイ
トが誤りであるかを判定し、該当ビットの反転を行う必
要がある。
2. Description of the Related Art For 40 bits of an ATM cell header, C is used.
In a header error correction circuit for performing error correction using an RC-8 code and performing one-bit error correction, a CRC-
A calculation result (syndrome) using eight codes is calculated, and from the value of the syndrome, it is determined which byte among the first to fifth bytes (total 40 bits) of the header of the ATM cell is erroneous, It is necessary to invert the corresponding bit.

【0003】図3に従来のヘッダ誤り訂正回路の構成を
示す。図示のヘッダ誤り訂正回路は、特開平4−363
927号公報の図9に示すシフトレジスタ回路とセル同
期ヘッダ誤り制御回路に相当する。図示のヘッダ誤り訂
正回路は、5段のシフトレジスタ14〜18と、全展開
型40ビットCRC−8演算回路19と、セル同期回路
20と、シンドローム照合回路21と、第1から第5バ
イトシンドローム格納テーブル22と、4つの誤りビッ
ト反転回路23〜26と、遅延回路として働く3つのシ
フトレジスタ27〜29とから構成されている。
FIG. 3 shows a configuration of a conventional header error correction circuit. The header error correction circuit shown in FIG.
927 corresponds to the shift register circuit and the cell synchronization header error control circuit shown in FIG. The illustrated header error correction circuit includes five-stage shift registers 14 to 18, a fully expanded 40-bit CRC-8 operation circuit 19, a cell synchronization circuit 20, a syndrome verification circuit 21, and first to fifth byte syndromes. It comprises a storage table 22, four error bit inversion circuits 23 to 26, and three shift registers 27 to 29 functioning as delay circuits.

【0004】図4に第1から第5バイトシンドローム格
納テーブル22に格納されているデータを示す。
FIG. 4 shows data stored in the first to fifth byte syndrome storage tables 22.

【0005】従来の技術では、ATMセルヘッダの第1
バイト目から第5バイト目までの、40ビットの各誤り
ビット位置を指し示す40通りのシンドロームを格納す
るテーブル22を有し、実際の入力データに対するCR
C−8演算結果と照合することにより、誤りビット位置
を判定している。
In the prior art, the first of the ATM cell header is
It has a table 22 for storing 40 types of syndromes indicating the error bit positions of 40 bits from the byte to the fifth byte.
The error bit position is determined by checking the result of the C-8 operation.

【0006】また、従来の技術では、シンドローム照合
(誤りビット判定処理)時間に対応した主信号に持たせ
るべき遅延回路27〜29を有し、主信号が該遅延回路
を通過することにより誤りビットを訂正すべきタイミン
グを制御し、誤りビットの反転を行っている。
Further, in the conventional technique, there are provided delay circuits 27 to 29 to be provided to a main signal corresponding to a syndrome collation (error bit determination process) time, and the main signal passes through the delay circuit to generate an error bit. Is controlled, and error bits are inverted.

【0007】[0007]

【発明が解決しようとする課題】上述したように、従来
の技術では、ATMセルのヘッダ40ビットに対しCR
C−8符号により誤り検出を行い、1ビット誤り訂正を
行うためのヘッダ誤り訂正回路においては、CRC−8
符号による演算結果(シンドローム)を算出し、そのシ
ンドロームの値から、ATMセルのヘッダの第1バイト
目から第5バイト目(計40ビット)のうちのどのバイ
トが誤りであるかを判定して、該当ビットの反転を行う
必要がある。
As described above, in the prior art, the CR of the header of the ATM cell is 40 bits.
In a header error correction circuit for performing error detection using a C-8 code and performing one-bit error correction, a CRC-8
A calculation result (syndrome) by a code is calculated, and from the value of the syndrome, it is determined which byte among the first byte to the fifth byte (40 bits in total) of the ATM cell header is erroneous. , The corresponding bit needs to be inverted.

【0008】ここで、実際の入力データに対するCRC
−8演算結果(シンドローム)から誤りビット位置を判
定するためには、ヘッダ誤り訂正回路としては、ATM
セルヘッダの第1バイト目から第5バイト目までの、4
0ビットの各誤りビット位置を指し示す40通りのシン
ドロームを格納するテーブル22を有して、演算結果の
シンドロームとテーブル内のシンドロームを比較照合す
る必要がある。その為、そのテーブル22のためのメモ
リ容量が膨大になってしまう。
Here, the CRC for the actual input data
To determine the error bit position from the -8 operation result (syndrome), the header error correction circuit requires an ATM
4 from the first byte to the fifth byte of the cell header
It is necessary to have a table 22 for storing 40 types of syndromes indicating the error bit positions of 0 bits, and to compare and match the syndrome of the operation result with the syndrome in the table. Therefore, the memory capacity for the table 22 becomes enormous.

【0009】また、このときのシンドローム照合(誤り
ビット判定処理)ではある程度の回路遅延を有するた
め、判定した誤りビットの訂正タイミングを制御するた
めには主信号に該遅延に相当する遅延回路27〜29を
持たせる必要がある。したがって、回路規模が膨大にな
ってしまう。
Since the syndrome verification (error bit determination processing) at this time has a certain circuit delay, in order to control the correction timing of the determined error bit, the main signal is supplied to the delay circuits 27 to 27 corresponding to the delay. It is necessary to have 29. Therefore, the circuit scale becomes enormous.

【0010】本発明はこのような背景で行われたもので
あって、その課題は、ATMセルヘッダの第1バイト目
から第5バイト目までの、40ビットの各誤りビット位
置を指し示すシンドロームを格納するテーブルためのメ
モリ容量を削減することにある。
The present invention has been made in such a background, and an object thereof is to store a syndrome indicating a 40-bit error bit position from the first byte to the fifth byte of the ATM cell header. Another object of the present invention is to reduce a memory capacity for a table to be executed.

【0011】本発明の他の課題は、判定した誤りビット
の訂正タイミングを制御するために主信号に持たせるべ
き遅延回路の回路規模を削減することにある。
Another object of the present invention is to reduce the circuit scale of a delay circuit to be provided to a main signal in order to control the correction timing of a determined error bit.

【0012】[0012]

【課題を解決するための手段】本発明によるATM通信
装置の並列型ヘッダ誤り訂正回路は、ATM通信装置の
受信側のセル同期検出部おける、HEC(ヘッダ誤り制
御)バイトを含むATMセルのヘッダ40ビットに対し
CRC−8符号による演算を行い、ATMセル同期検
出、誤り検出モード時のATMセルヘッダ部誤り検出、
誤り訂正モード時のシンドローム演算法によるATMセ
ルヘッダ部誤りビット判定、判定した誤りビットの訂正
処理を行うセル同期検出部において、入力データからA
TMセル同期を検出するための全展開型40ビットCR
C−8演算回路と、ATMセルヘッダのうち第1バイト
目の誤りを示すシンドローム(CRC−8の演算結果が
指し示す値)を格納する第1バイト目シンドローム格納
テーブルと、ATMセルへッダの第nバイト目の誤りを
示すシンドロームから第(n−1)バイト目の誤りを示
すシンドロームを簡単に算出するための8ビット並列処
理型CRC−8演算回路と、実際の入力データに対する
CRC−8演算結果のシンドローム値と第1バイト目シ
ンドローム格納テーブル内に格納されているシンドロー
ム値を比較照合するためのシンドローム照合回路と、C
RC−8演算結果のシンドローム値として、全展開型4
0ビットCRC−8演算回路の出力と8ビット並列処理
型CRC−8演算回路の出力の一方を選択してシンドロ
ーム照合回路へ供給するATMセルヘッダ第1バイトタ
イミング生成回路と、シンドローム照合回路の比較照合
結果に基づいて、入力データ中の判定した誤りビット位
置のデータを訂正するための誤りビット反転回路と、を
有することを特徴とする。
According to the present invention, there is provided a parallel type header error correction circuit for an ATM communication device, comprising: a header for an ATM cell including an HEC (Header Error Control) byte in a cell synchronization detector on a receiving side of the ATM communication device. Performs an operation using a CRC-8 code on 40 bits, detects ATM cell synchronization, detects an ATM cell header error in an error detection mode,
The ATM cell header part error bit determination by the syndrome operation method in the error correction mode, and a cell synchronization detection unit that performs correction processing of the determined error bit.
Fully expanded 40-bit CR for detecting TM cell synchronization
A C-8 arithmetic circuit, a first byte syndrome storage table for storing a syndrome (a value indicated by a calculation result of CRC-8) indicating an error in the first byte of the ATM cell header, and a second byte of the ATM cell header. An 8-bit parallel processing type CRC-8 arithmetic circuit for easily calculating a syndrome indicating an (n-1) th byte error from a syndrome indicating an nth byte error, and a CRC-8 operation for actual input data A syndrome matching circuit for comparing and matching the resulting syndrome value with the syndrome value stored in the first byte syndrome storage table;
As the syndrome value of the RC-8 operation result, all expansion type 4
Comparison between the ATM cell header first byte timing generation circuit and the syndrome verification circuit, which selects one of the output of the 0-bit CRC-8 arithmetic circuit and the output of the 8-bit parallel processing type CRC-8 arithmetic circuit and supplies it to the syndrome verification circuit An error bit inverting circuit for correcting data at the determined error bit position in the input data based on the result.

【0013】[0013]

【作用】8ビットパラレル入力するATMセルデータの
ヘッダ部に対して、全展開型40ビットCRC−8演算
回路でシンドロームを計算し、第1バイト目の誤りにつ
いては、シンドロームが格納してある第1バイト目シン
ドローム格納テーブルのデータと照合を行うことによっ
て、誤りビット位置を判定して該当ビットの訂正を行
う。
The syndrome is calculated by a fully expanded 40-bit CRC-8 arithmetic circuit for the header portion of the ATM cell data input in parallel with 8 bits, and for the error in the first byte, the syndrome is stored in the second byte. By comparing the data with the data in the first byte syndrome storage table, the error bit position is determined and the corresponding bit is corrected.

【0014】第2バイト目以降の訂正については、「A
TMセルヘッダの第nバイト目の誤りを示すシンドロー
ムに対し8ビット並列処理型CRC−8演算を行うと、
第(n−1)バイト目の誤りを示すシンドロームにな
る」という符号理論の特長を利用して、入力データの1
クロックシフト毎に該シンドロームに対し8ビット並列
処理型CRC−8演算を行った後にシンドロームが格納
してある第1バイト目シンドローム格納テーブルのデー
タと照合を行うことによって、誤りビット位置を判定し
て該当ビットの訂正を行う。
For corrections after the second byte, see "A
When an 8-bit parallel processing type CRC-8 operation is performed on a syndrome indicating an error at the n-th byte of the TM cell header,
It becomes a syndrome indicating an error of the (n-1) th byte ", and utilizes the feature of the code theory to
An error bit position is determined by performing an 8-bit parallel processing type CRC-8 operation on the syndrome at each clock shift and then comparing it with data in the syndrome storage table of the first byte in which the syndrome is stored. Correct the corresponding bit.

【0015】[0015]

【発明の実施の形態】以下、本発明の実施の形態につい
て詳細に説明する。
Embodiments of the present invention will be described below in detail.

【0016】ATM通信装置の並列型ヘッダ誤り訂正回
路は、ATMセル同期を検出するための40ビット全展
開型CRC−8演算回路と、ATMセルヘッダのうち第
1バイト目の誤りを示すシンドローム(CRC−8の演
算結果が指し示す値)を格納する第1バイト目シンドロ
ーム格納テーブルと、ATMセルへッダの第nバイト目
の誤りを示すシンドロームから第(n−1)バイト目の
誤りを示すシンドロームを簡単に算出するための8ビッ
ト並列処理型CRC−8演算回路と、実際の入力データ
に対するCRC−8演算結果のシンドローム値と第1バ
イト目シンドローム格納テーブル内に格納されているシ
ンドローム値とを比較照合するためのシンドローム照合
回路と、ATMセルヘッダ第1バイトタイミング生成回
路と、判定した誤りビット位置のデータを訂正するため
の誤りビット反転回路とから構成される。
The parallel header error correction circuit of the ATM communication device includes a 40-bit fully expanded CRC-8 arithmetic circuit for detecting ATM cell synchronization, and a syndrome (CRC) indicating an error in the first byte of the ATM cell header. The first byte syndrome storage table for storing the value indicated by the calculation result of −8, and the syndrome indicating the error of the (n−1) th byte from the syndrome indicating the error of the nth byte of the ATM cell header. , An 8-bit parallel processing type CRC-8 arithmetic circuit for easily calculating, and a syndrome value of a CRC-8 operation result for actual input data and a syndrome value stored in the first byte syndrome storage table. The syndrome matching circuit for comparison and matching and the ATM cell header first byte timing generation circuit are Composed of an error bit inversion circuit for correcting data bit positions.

【0017】次に並列型ヘッダ誤り訂正回路の動作につ
いて説明する。
Next, the operation of the parallel type header error correction circuit will be described.

【0018】8ビットパラレル入力するATMセルデー
タのヘッダ部に対して、全展開型40ビットCRC−8
演算回路でシンドロームを計算し、シンドローム照合回
路は、この計算されたシンドロームと第1バイト目シド
ロームテーブルに格納してある設定シンドロームとの照
合を行う。これらシンドロームが一致した場合、誤りビ
ット反転回路は第1バイトタイミングで該当ビットを反
転した誤り訂正を行う。
For the header part of the ATM cell data input in parallel with 8 bits, a fully expanded 40-bit CRC-8 is used.
The syndrome is calculated by the arithmetic circuit, and the syndrome matching circuit compares the calculated syndrome with the setting syndrome stored in the first byte sildrome table. When these syndromes match, the error bit inversion circuit performs error correction by inverting the corresponding bit at the first byte timing.

【0019】第2バイト目以降の訂正については、8ビ
ット並列処理型CRC−8演算回路が入力データの1ク
ロックシフト毎に該当シンドロームに対して8ビット並
列処理型CRC−8演算を行う。そして、シンドローム
照合回路は、1クロックシフト毎に、照合シンドローム
と第1バイト目シンドロームテーブルに格納してある設
定シンドロームと照合を行う。
For the correction of the second and subsequent bytes, the 8-bit parallel processing type CRC-8 arithmetic circuit performs an 8-bit parallel processing type CRC-8 operation on the corresponding syndrome every clock shift of the input data. Then, the syndrome collating circuit performs collation with the set syndrome stored in the syndrome table of the first byte at each clock shift.

【0020】第1バイト目シンドロームテーブル内のシ
ンドロームデータとの一致を検出するタイミングで、誤
りビット反転回路を用いて、訂正すべきATMセルのヘ
ッダ部(第2バイトから第5バイト)の誤りビットを訂
正する。
At the timing of detecting coincidence with the syndrome data in the syndrome table in the first byte, an error bit in the header portion (second byte to fifth byte) of the ATM cell to be corrected is detected by using an error bit inversion circuit. To correct.

【0021】[0021]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Next, embodiments of the present invention will be described with reference to the drawings.

【0022】図1は本発明の一実施例に係る並列型ヘッ
ダ誤り訂正回路を示すブロック図である。図示の並列型
ヘッダ誤り訂正回路は、5段のシフトレジスタ1〜5
と、全展開型40ビットCRC−8演算回路6と、AT
Mセルヘッダ第1バイトタイミング生成回路7と、選択
回路8と、レジスタ9と、8ビット並列処理型CRC−
8演算回路10と、シンドローム照合回路11と、第1
バイト目シンドローム格納テーブル12と、誤りビット
反転回路13とから構成される。
FIG. 1 is a block diagram showing a parallel type header error correction circuit according to one embodiment of the present invention. The illustrated parallel header error correction circuit includes five stages of shift registers 1-5.
And a fully developed 40-bit CRC-8 arithmetic circuit 6,
M cell header first byte timing generation circuit 7, selection circuit 8, register 9, 8-bit parallel processing type CRC-
8 operation circuit 10, syndrome verification circuit 11,
It is composed of a byte syndrome storage table 12 and an error bit inversion circuit 13.

【0023】まず、8ビットパラレル入力するATMセ
ルデータに対し、5段のシフトレジスタ1〜5を用意
し、全展開型40ビットCRC−8演算回路6にてCR
C演算を行う。ここで、CRC−8の生成多項式は、規
定によりX8 +X2 +X+1である。この全展開型40
ビットCRC−8演算回路6は、ATMセル同期確立前
のハンチング状態においては、ATMセルヘッダ部40
ビットの位置を検索するために作用し、ATMセル同期
確立後は、ATMセルヘッダ部40ビットのうちの1ビ
ット誤り訂正を行うのに必要なシンドロームを演算する
ために作用する。
First, five-stage shift registers 1 to 5 are prepared for ATM cell data to be input in parallel with 8 bits, and all expanded type 40-bit CRC-8 arithmetic circuits 6 perform CR-CR operations.
Perform C operation. Here, the generator polynomial of CRC-8 is X 8 + X 2 + X + 1 by definition. This full deployment type 40
In the hunting state before the ATM cell synchronization is established, the bit CRC-8 arithmetic circuit 6
It works to find the position of the bit, and after the ATM cell synchronization is established, works to calculate the syndrome necessary to perform one-bit error correction among the 40 bits of the ATM cell header.

【0024】全展開型40ビットCRC−8演算回路6
では、ATMセル同期を確立するとATMセル位置が判
るので、このセル同期情報S7をATMセルヘッダ第1
バイトタイミング生成回路7へ送信する。ATMセル同
期確立後は、全展開型40ビットCRC−8演算回路6
は、ヘッダ40ビットに対して40ビット全展開型CR
C−8演算を行い、シンドロームS8を算出する。この
とき、選択回路8はATMセルヘッダ第1バイトタイミ
ング生成回路7からの第1バイトタイミングS9により
セレクタ制御をかけ、セルヘッダ第1バイトタイミング
S9では、全展開型40ビットCRC−8演算回路6で
算出したシンドロームS8をレジスタ9に格納する。
Fully expanded 40-bit CRC-8 arithmetic circuit 6
Then, since the ATM cell position is known when the ATM cell synchronization is established, the cell synchronization information S7 is stored in the first ATM cell header.
The data is transmitted to the byte timing generation circuit 7. After the ATM cell synchronization is established, the fully expanded 40-bit CRC-8 arithmetic circuit 6
Is a 40-bit fully expanded CR for 40-bit header
C-8 calculation is performed to calculate the syndrome S8. At this time, the selection circuit 8 controls the selector based on the first byte timing S9 from the ATM cell header first byte timing generation circuit 7, and calculates the fully expanded 40-bit CRC-8 arithmetic circuit 6 at the cell header first byte timing S9. The generated syndrome S8 is stored in the register 9.

【0025】更に、このシンドロームS11の値を、第
1バイト目の誤りを示すシンドローム(図2で示す値、
シンドロームを規定する生成多項式は、X8 +X2 +X
+1)を格納したテーブル12内の各値と、シンドロー
ム照合回路11にて照合する。ここでもし第1バイト目
のどこかのビットに誤りがあった場合は、一致するシン
ドロームが存在し、それによって何ビット目が誤りかが
判明する。このとき同時に、主信号はセルヘッダ第1バ
イト目が誤りビット反転回路13の直前のレジスタ5に
来ているタイミングになるため、判定したビット位置の
データを反転されることにより、1ビット訂正が行なわ
れる。
Further, the value of the syndrome S11 is changed to the syndrome (the value shown in FIG.
The generator polynomial that defines the syndrome is X 8 + X 2 + X
Each value in the table 12 storing +1) is collated by the syndrome collation circuit 11. Here, if there is an error in any bit of the first byte, there is a corresponding syndrome, and it is determined which bit is incorrect. At the same time, the main signal is at the timing when the first byte of the cell header comes to the register 5 immediately before the error bit inverting circuit 13. Therefore, the data at the determined bit position is inverted to perform one-bit correction. It is.

【0026】次に、第2バイト目以降の誤り訂正につい
ては、本発明の特長である8ビット並列処理型CRC−
8演算回路10(生成多項式は、X8 +X2 +X+1)
を利用する。8ビット並列処理型CRC−8演算回路1
0は、通常は8ビットパラレルのATMセルデータを扱
うときに、40ビットのATMセルヘッダに対して該回
路を1バイト毎に5回通過させることによって、効率的
にCRC−8演算を行うのに使用される。
Next, regarding the error correction of the second and subsequent bytes, an 8-bit parallel processing type CRC-
8 arithmetic circuit 10 (generating polynomial is X 8 + X 2 + X + 1)
Use 8-bit parallel processing type CRC-8 arithmetic circuit 1
0 is used for efficiently performing a CRC-8 operation by passing the circuit five times per byte for a 40-bit ATM cell header when normally handling 8-bit parallel ATM cell data. used.

【0027】しかしここでは、1ビット誤りビット位置
を規定するシンドロームにおいて、「ATMセルヘッダ
の第nバイト目の誤りを示すシンドロームに対し8ビッ
ト並列処理型CRC−8演算を行うと、第(n−1)バ
イト目の誤りを示すシンドロームになる」という符号理
論の特長を利用する。例えば、第2バイト目のどこかに
誤りビットが存在する場合は、1クロックシフト時に8
ビット並列処理型CRC−8演算回路10を1回通過さ
せることによって、第1バイト目の同じ誤りビット位置
を示すシンドローム値と一致することになる。
However, in this case, in the syndrome defining the 1-bit error bit position, when the 8-bit parallel processing type CRC-8 operation is performed on the syndrome indicating the error of the n-th byte of the ATM cell header, the (n- 1) It becomes a syndrome that indicates an error at the byte. " For example, if an error bit exists somewhere in the second byte, 8
One pass through the bit parallel processing type CRC-8 arithmetic circuit 10 results in a match with the syndrome value indicating the same error bit position in the first byte.

【0028】このとき、選択回路8は8ビット並列処理
型CRC−8演算回路10の出力データの方を選択する
ように切り替える。また、上記動作は1クロック内に処
理するため、このとき主信号はセルヘッダの第2バイト
目がちょうど誤りビット反転回路13の直前のレジスタ
5に来ているタイミングになり、判定したビット位置の
データを反転させることにより、1ビット訂正が行なわ
れる。
At this time, the selection circuit 8 switches so as to select the output data of the 8-bit parallel processing type CRC-8 arithmetic circuit 10. In addition, since the above operation is performed within one clock, the main signal at this time is the timing at which the second byte of the cell header has just arrived at the register 5 immediately before the error bit inverting circuit 13, and the data at the determined bit position Are inverted to perform one-bit correction.

【0029】以下第3、第4、第5バイト目のどこかに
存在する1ビット誤りについても、1クロックシフト毎
に8ビット並列処理型CRC−8演算回路10を通過さ
せることによって、第1バイト目の同じ誤りビット位置
を示すシンドローム値となり、順次誤り訂正を実現す
る。
The 1-bit error existing somewhere in the third, fourth, and fifth bytes is also passed through the 8-bit parallel processing type CRC-8 arithmetic circuit 10 every clock shift, thereby obtaining the first bit error. It becomes a syndrome value indicating the same error bit position of the byte, and realizes error correction sequentially.

【0030】ここで、図3に示した従来の回路例との差
異について説明する。従来の回路では、誤りバイト位置
毎にシンドロームを計算する8ビット並列処理型CRC
−8演算回路が存在しないので、シンドローム格納テー
ブルとしては、ATMセルヘッダの第1バイト目から第
5バイト目までの、40ビットの各誤りビット位置を指
し示す40通りのシンドロームを用意しなければなら
ず、格納テーブル用のメモリ容量が大規模になる。ま
た、シンドローム照合により誤りビット位置が特定され
ると、それがATMセルヘッダの何バイト目であるかに
よって、図3に示すように、シフトレジスタ27〜29
を用いて主信号を1クロック毎にシフトさせることによ
って該当バイト位置を特定できるようにし、1ビット訂
正を実現する。従って、この場合、誤りビットの該当バ
イト位置を規定するためのシフトレジスタが必要にな
る。
Here, differences from the conventional circuit example shown in FIG. 3 will be described. In a conventional circuit, an 8-bit parallel processing type CRC that calculates a syndrome for each error byte position is used.
Since there is no -8 arithmetic circuit, for the syndrome storage table, 40 syndromes indicating the error bit positions of 40 bits from the first byte to the fifth byte of the ATM cell header must be prepared. Therefore, the memory capacity for the storage table becomes large. When the error bit position is identified by the syndrome verification, the shift register 27 to 29 is determined as shown in FIG. 3 according to the byte of the ATM cell header.
, The corresponding byte position can be specified by shifting the main signal every clock, thereby realizing 1-bit correction. Therefore, in this case, a shift register for defining the corresponding byte position of the error bit is required.

【0031】これに対し、8ビット並列処理型CRC−
8演算回路10は、簡単な排他的論理和の論理回路のみ
で実現できるので、規模的には微少なものである。これ
によって、上記の40通りのシンドローム格納用のメモ
リ容量を削減し、且つ主信号のバイト位置を規定するシ
フトレジスタを持たずに1ビット誤り訂正を実現し、回
路規模を削減することができる。
On the other hand, an 8-bit parallel processing type CRC-
Since the 8-operation circuit 10 can be realized only by a simple exclusive OR logic circuit, the scale is very small. As a result, the memory capacity for storing the above-mentioned 40 types of syndromes can be reduced, and 1-bit error correction can be realized without having a shift register for defining the byte position of the main signal, thereby reducing the circuit scale.

【0032】本発明は上述した実施形態に限定せず、本
発明の趣旨を逸脱しない範囲内で種々の変更・変形が可
能である。
The present invention is not limited to the above-described embodiment, and various changes and modifications can be made without departing from the spirit of the present invention.

【0033】[0033]

【発明の効果】以上説明したように、本発明では、AT
M通信装置でATMセルヘッダの1ビット誤り訂正を実
現する際に、シンドローム格納用のメモリ容量の削減と
主信号のバイト位置を規定するシフトレジスタを省略す
ることにより、回路規模の削減を実現することができ
る。
As described above, according to the present invention, the AT
When implementing one-bit error correction of an ATM cell header in an M communication device, the circuit size can be reduced by reducing the memory capacity for storing syndromes and omitting a shift register that specifies the byte position of a main signal. Can be.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施例による並列型ヘッダ誤り訂正
回路を示すブロック図である。
FIG. 1 is a block diagram showing a parallel type header error correction circuit according to one embodiment of the present invention.

【図2】図1に示した並列型ヘッダ誤り訂正回路に使用
されるシンドローム格納テーブルの内容を示す図であ
る。
FIG. 2 is a diagram showing the contents of a syndrome storage table used in the parallel header error correction circuit shown in FIG. 1;

【図3】従来のヘッダ誤り訂正回路を示すブロック図で
ある。
FIG. 3 is a block diagram showing a conventional header error correction circuit.

【図4】図3に示したヘッダ誤り訂正回路に使用される
シンドローム格納テーブルの内容を示す図である。
FIG. 4 is a diagram showing the contents of a syndrome storage table used in the header error correction circuit shown in FIG. 3;

【符号の説明】[Explanation of symbols]

1〜5 シフトレジスタ 6 全展開型40ビットCRC−8演算回路 7 セルヘッダ第1バイトタイミング生成回路 8 選択回路 9 レジスタ 10 8ビット並列処理型CRC−8演算回路 11 シンドローム照合回路 12 第1バイト目シンドローム格納テーブル 13 誤りビット反転回路 S1 入力データ S2〜S6 転送データ S7 セル同期情報 S8 算出シンドローム S9 第1バイトタイミング S10 算出シンドローム S11 照合シンドローム S12 設定シンドローム S13 誤りビット位置情報 1-5 shift register 6 fully expanded 40-bit CRC-8 arithmetic circuit 7 cell header first byte timing generation circuit 8 selection circuit 9 register 10 8-bit parallel processing type CRC-8 arithmetic circuit 11 syndrome verification circuit 12 first byte syndrome Storage table 13 Error bit inversion circuit S1 Input data S2 to S6 Transfer data S7 Cell synchronization information S8 Calculation syndrome S9 First byte timing S10 Calculation syndrome S11 Verification syndrome S12 Setting syndrome S13 Error bit position information

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 ATM通信装置の受信側のセル同期検出
部おける、HEC(ヘッダ誤り制御)バイトを含むAT
Mセルのヘッダ40ビットに対しCRC−8符号による
演算を行い、ATMセル同期検出、誤り検出モード時の
ATMセルヘッダ部誤り検出、誤り訂正モード時のシン
ドローム演算法によるATMセルヘッダ部誤りビット判
定、判定した誤りビットの訂正処理を行う前記セル同期
検出部において、 入力データからATMセル同期を検出するための全展開
型40ビットCRC−8演算回路と、 ATMセルヘッダのうち第1バイト目の誤りを示すシン
ドローム(CRC−8の演算結果が指し示す値)を格納
する第1バイト目シンドローム格納テーブルと、 ATMセルヘッダの第nバイト目の誤りを示すシンドロ
ームから第(n−1)バイト目の誤りを示すシンドロー
ムを算出するための8ビット並列処理型CRC−8演算
回路と、 前記入力データに対するCRC−8演算結果のシンドロ
ーム値と前記第1バイト目シンドローム格納テーブル内
に格納されているシンドローム値とを比較照合するため
のシンドローム照合回路と、 前記CRC−8演算結果のシンドローム値として、前記
全展開型40ビットCRC−8演算回路の出力と前記8
ビット並列処理型CRC−8演算回路の出力の一方を選
択して前記シンドローム照合回路へ供給するATMセル
ヘッダ第1バイトタイミング生成回路と、 前記シンドローム照合回路の比較照合結果に基づいて、
前記入力データ中の判定した誤りビット位置のデータを
訂正するための誤りビット反転回路とを有することを特
徴とするATM通信装置の並列型ヘッダ誤り訂正回路。
1. An AT including a HEC (Header Error Control) byte in a cell synchronization detector on a receiving side of an ATM communication apparatus.
Performs an operation on the 40 bits of the header of the M cell using a CRC-8 code, detects ATM cell synchronization, detects an error in an ATM cell header in an error detection mode, and determines and determines an error bit in an ATM cell header in a syndrome operation method in an error correction mode. The cell synchronization detection unit for performing correction processing of the corrected error bit, a fully expanded 40-bit CRC-8 arithmetic circuit for detecting ATM cell synchronization from input data, and an error in the first byte of the ATM cell header. A first byte syndrome storage table for storing a syndrome (a value indicated by a calculation result of CRC-8), and a syndrome indicating an error of the (n-1) th byte from the syndrome indicating an error of an nth byte of an ATM cell header An 8-bit parallel processing type CRC-8 arithmetic circuit for calculating A syndrome matching circuit for comparing and comparing a syndrome value of a CRC-8 operation result with respect to the syndrome value stored in the syndrome storage table of the first byte, and a syndrome value of the CRC-8 operation result as: The output of the fully expanded 40-bit CRC-8 arithmetic circuit and the 8
An ATM cell header first byte timing generation circuit that selects one of the outputs of the bit parallel processing type CRC-8 arithmetic circuit and supplies the output to the syndrome verification circuit; and a comparison verification result of the syndrome verification circuit.
An error bit inverting circuit for correcting data at a determined error bit position in the input data. A parallel type header error correcting circuit for an ATM communication device.
【請求項2】 ATMセルのヘッダ40ビットに対して
CRC−8符号により誤り検出を行い、1ビット誤り訂
正を行うためのヘッダ誤り訂正方法に於いて、 「ATMセルヘッダの第nバイト目の誤りを示すシンド
ロームに対し8ビット並列処理型CRC−8演算を行う
と、第(n−1)バイト目の誤りを示すシンドロームに
なる」という符号理論の特徴を利用して、8ビット並列
処理型CRC−8演算回路を用意することにより、通常
必要とするATMセルヘッダの第1バイト目から第5バ
イト目までの40ビットの各誤りビット位置を指し示す
40通りのシンドロームを格納するテーブルを持たず
に、ATMセルヘッダの第1バイトのみの誤りを指し示
す8通りのシンドロームを格納するテーブルを持ち、 シンドローム格納テーブルのために必要とするメモリ量
を削減することを特徴とするヘッダ誤り訂正方法。
2. A header error correction method for performing error detection on a 40-bit ATM cell header using a CRC-8 code and performing one-bit error correction, comprising the steps of: "error in the nth byte of the ATM cell header; When an 8-bit parallel processing type CRC-8 operation is performed on the syndrome indicating the error, a syndrome indicating an error in the (n-1) th byte is generated. " By providing a -8 arithmetic circuit, there is no table for storing 40 types of syndromes indicating the error bit positions of the 40 bits from the first byte to the fifth byte of the normally required ATM cell header. It has a table that stores eight types of syndromes that indicate an error in only the first byte of the ATM cell header. Header error correction method characterized by reducing the amount of memory required to.
【請求項3】 8ビットパラレル入力するATMセルデ
ータのヘッダ部に対して、40ビット全展開型CRC−
8演算回路でシンドロームを計算し、第1バイト目の誤
りを示すシンドロームが格納してあるテーブルのデータ
と照合を行い、シンドロームが一致した場合は、第1バ
イトのタイミングで該当ビットを反転して誤り訂正を行
うが、 第2バイト目以降の訂正については、入力データの1ク
ロックシフト毎に該シンドロームに対し8ビット並列処
理型CRC−8演算を行って、テーブル内のシンドロー
ムデータとの一致を検出するタイミングで、訂正するべ
きATMセルのヘッダ部(第2バイトから第5バイト)
を、誤りビット反転回路部の位置にくるように制御して
誤り訂正を行うことによって、 通常必要とする、誤りビット反省処理時間に対応して主
信号に持たせるべき遅延回路を削減することを特徴とす
るヘッダ誤り訂正方法。
3. A 40-bit fully expanded CRC-code for a header portion of 8-bit parallel input ATM cell data.
The 8 arithmetic circuit calculates the syndrome, compares it with the data of the table in which the syndrome indicating the error in the first byte is stored, and if the syndrome matches, inverts the corresponding bit at the timing of the first byte. Error correction is performed. For correction of the second and subsequent bytes, an 8-bit parallel processing type CRC-8 operation is performed on the syndrome every clock shift of the input data, and a match with the syndrome data in the table is performed. At the detection timing, the header part of the ATM cell to be corrected (2nd to 5th bytes)
Is controlled so that it is located at the position of the error bit inverting circuit, thereby reducing the delay circuit to be provided to the main signal in response to the error bit reflection processing time normally required. Characteristic header error correction method.
JP8283936A 1996-10-25 1996-10-25 Parallel header error correction circuit and header error correction method for atm communication equipment Pending JPH10135847A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8283936A JPH10135847A (en) 1996-10-25 1996-10-25 Parallel header error correction circuit and header error correction method for atm communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8283936A JPH10135847A (en) 1996-10-25 1996-10-25 Parallel header error correction circuit and header error correction method for atm communication equipment

Publications (1)

Publication Number Publication Date
JPH10135847A true JPH10135847A (en) 1998-05-22

Family

ID=17672143

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8283936A Pending JPH10135847A (en) 1996-10-25 1996-10-25 Parallel header error correction circuit and header error correction method for atm communication equipment

Country Status (1)

Country Link
JP (1) JPH10135847A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6735684B1 (en) * 1999-09-12 2004-05-11 Nippon Telegraph And Telephone Corporation Parallel-processing apparatus and method
CN1333530C (en) * 2000-09-26 2007-08-22 高通股份有限公司 Method and apparatus for encoding of linear block codes
JP2022507988A (en) * 2018-11-26 2022-01-18 マイクロン テクノロジー,インク. Error correction bit flipping method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6735684B1 (en) * 1999-09-12 2004-05-11 Nippon Telegraph And Telephone Corporation Parallel-processing apparatus and method
CN1333530C (en) * 2000-09-26 2007-08-22 高通股份有限公司 Method and apparatus for encoding of linear block codes
JP2022507988A (en) * 2018-11-26 2022-01-18 マイクロン テクノロジー,インク. Error correction bit flipping method

Similar Documents

Publication Publication Date Title
US4172284A (en) Priority interrupt apparatus employing a plural stage shift register having separate interrupt mechanisms coupled to the different stages thereof for segregating interrupt requests according to priority levels
US6745363B2 (en) Early error detection using ECC
US3961311A (en) Circuit arrangement for correcting slip errors in receiver of cyclic binary codes
US4994993A (en) System for detecting and correcting errors generated by arithmetic logic units
US4592054A (en) Decoder with code error correcting function
US4498178A (en) Data error correction circuit
JPH10135847A (en) Parallel header error correction circuit and header error correction method for atm communication equipment
US3562711A (en) Apparatus for detecting circuit malfunctions
US5408476A (en) One bit error correction method having actual data reproduction function
US5745510A (en) System for detecting frame/burst synchronization and channel error using cyclic code
EP0740435B1 (en) Alignment of parity bits to eliminate errors in switching from an active to a standby processing circuit
JPH06244740A (en) Error correcting circuit
JP2003046393A (en) Error detector
JP3071482B2 (en) Error correction circuit of packet receiver
JPH08340342A (en) Method for verifying checksum in received data block and implementing method therefor
JP2685180B2 (en) Error correction device
JP2685186B2 (en) Error correction device
JP2858538B2 (en) Re-syndrome check method
US7305403B1 (en) Method and device for storing linked lists
JPH03226019A (en) Crc arithmetic device
JPH03119835A (en) Error correction circuit
JPS62293439A (en) Error correcting mechanism
JP2001211185A (en) Method for checking data cell transfer in asynchronous exchange system, basic exchange device used therfor and network
JPH07254859A (en) Method and circuit for detecting error correction position of reed solomon code
JPS59201148A (en) Coding and decoding system for error correction

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19990303