JP3260095B2 - Error correction code and error detection code decoder and decoding method thereof - Google Patents

Error correction code and error detection code decoder and decoding method thereof

Info

Publication number
JP3260095B2
JP3260095B2 JP08081397A JP8081397A JP3260095B2 JP 3260095 B2 JP3260095 B2 JP 3260095B2 JP 08081397 A JP08081397 A JP 08081397A JP 8081397 A JP8081397 A JP 8081397A JP 3260095 B2 JP3260095 B2 JP 3260095B2
Authority
JP
Japan
Prior art keywords
remainder
error
crc
circuit
error detection
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 - Fee Related
Application number
JP08081397A
Other languages
Japanese (ja)
Other versions
JPH10276099A (en
Inventor
聡 相河
雄二 中山
啓二郎 武
修二 伊藤
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.)
Mitsubishi Electric Corp
Nippon Telegraph and Telephone Corp
Original Assignee
Mitsubishi Electric Corp
Nippon Telegraph and Telephone 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 Mitsubishi Electric Corp, Nippon Telegraph and Telephone Corp filed Critical Mitsubishi Electric Corp
Priority to JP08081397A priority Critical patent/JP3260095B2/en
Publication of JPH10276099A publication Critical patent/JPH10276099A/en
Application granted granted Critical
Publication of JP3260095B2 publication Critical patent/JP3260095B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、ディジタル自動
車電話システムや携帯電話システムのような移動体通信
システムを典型例とする情報ビット系列伝送システムの
受信側装置におけるBCH符号やCRC符号などの誤り
訂正符号及び誤り検出符号の復号器に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an error correction of a BCH code, a CRC code and the like in a receiving side apparatus of an information bit sequence transmission system typified by a mobile communication system such as a digital automobile telephone system or a portable telephone system. The present invention relates to a code and an error detection code decoder.

【0002】[0002]

【従来の技術】誤り訂正及び誤り検出符号器及び復号器
は、ディジタル自動車電話システムや携帯電話システム
のような移動体通信システム、及び光ディスクのような
記録媒体への書き込み、ないし記録媒体からの読み出し
システム等に用いられている。移動体通信システムに用
いられる誤り訂正及び誤り検出符号の場合には、移動体
通信システムで送受信される信号は制御信号と非制御信
号からなり、双方とも送受信遅延時間が極力短縮される
必要があり、高速な符号化及び復号化処理が要求される
とともに制御信号に高い信頼性も要求される。
2. Description of the Related Art Error correction and error detection encoders and decoders are used in mobile communication systems such as digital automobile telephone systems and mobile telephone systems, and for writing to and reading from recording media such as optical disks. Used in systems and the like. In the case of error correction and error detection codes used in mobile communication systems, signals transmitted and received in mobile communication systems consist of control signals and non-control signals, and both transmission and reception delay times need to be reduced as much as possible. In addition, high-speed encoding and decoding processes are required and control signals are also required to have high reliability.

【0003】また、記録媒体に用いられる誤り訂正及び
誤り検出符号は、記録媒体が読み出し専用媒体の場合に
は復号化処理に高速化が要求され、書き込みと読み出し
可能な媒体には符号化と復号化処理の双方に高速化が要
求される。
[0003] Further, in the case of an error correction and error detection code used for a recording medium, when the recording medium is a read-only medium, high-speed decoding is required, and for a writable and readable medium, encoding and decoding are performed. High-speed processing is required for both of the conversion processing.

【0004】移動体通信システムに用いられている誤り
訂正/検出符号は、内符号に誤り検出を目的としたCR
C(Cyclic Redundancy Chec
k)符号を、外符号に誤り訂正を目的としたBCH(B
ose ChaudhuriHocquenghem)
符号を適用するのが一般的である。
An error correction / detection code used in a mobile communication system includes an inner code such as a CR for error detection.
C (Cyclic Redundancy Chec)
k) A code is converted to an outer code using a BCH (B
oose ChaudhuriHocquenghem)
It is common to apply a code.

【0005】基本的な符号器/復号器における処理は、
以下の通りである。送信側が情報ビット系列にCRC符
号による誤り検出符号化処理を施してから、さらにBC
H符号により誤り訂正符号化して(この処理によって、
CRC符号は内符号、BCH符号は外符号となる)伝送
路へ伝送し、受信側は伝送路から伝送された符号系列に
対してBCHの誤り訂正復号処理を適用して、その結果
得られた復号結果に対してさらにCRC符号を用いて誤
り検出チェックを行うことにより、最終的な復号結果を
得ている。
[0005] The processing in the basic encoder / decoder is as follows.
It is as follows. After the transmitting side performs an error detection encoding process using a CRC code on the information bit sequence,
Error correction coding by H code (by this processing,
(The CRC code is an inner code and the BCH code is an outer code.) The signal is transmitted to a transmission path, and the receiving side applies BCH error correction decoding to the code sequence transmitted from the transmission path, and the result is obtained. A final decoding result is obtained by further performing an error detection check on the decoding result using a CRC code.

【0006】一方、記録媒体に用いられている誤り訂正
/検出符号の場合、内符号に誤り検出を目的としたCR
C符号を、外符号に誤り訂正を目的としたRS(Ree
dSolomon)符号が適用されるのが一般的であ
る。また、基本的な符号器/復号器における処理は移動
体通信システムと同様になされるが、誤り訂正復号処理
と誤り検出復号処理とを並列に行うことによって復号処
理を高速化する方法や、剰余演算処理については剰余演
算処理結果が登録された剰余演算換算テーブルを収容す
るROMから解を得るようにして復号化処理の高速化を
図る方法、及び複数のフォーマットのデータを同一の回
路構成で実現する方法などが考案されている。
On the other hand, in the case of an error correction / detection code used for a recording medium, the inner code has a CR for the purpose of error detection.
The C code is replaced with an outer code RS (Ree) for the purpose of error correction.
(dSolomon) code is generally applied. Further, the processing in the basic encoder / decoder is performed in the same manner as in the mobile communication system. However, a method for speeding up the decoding processing by performing the error correction decoding processing and the error detection decoding processing in parallel, As for the arithmetic processing, a method for speeding up the decoding processing by obtaining a solution from a ROM storing a modular arithmetic conversion table in which the modular arithmetic processing result is registered, and realizing data of a plurality of formats with the same circuit configuration A method for doing so has been devised.

【0007】移動体通信システムにおける誤り訂正及び
誤り検出を行う符号器及び復号器での処理方法は、例え
ば特開平6−188862号公報に示されている。以下
に、この誤り訂正と誤り検出符号器及び復号器の構成及
び動作について、図10を用いて説明する。
A processing method in an encoder and a decoder for performing error correction and error detection in a mobile communication system is disclosed in, for example, Japanese Patent Application Laid-Open No. Hei 6-188882. Hereinafter, the configuration and operation of the error correction and error detection encoder and decoder will be described with reference to FIG.

【0008】図10は上記の特開平6−188862号
公報に示されている従来の符号器と復号器の構成図であ
る。図10において、1001は符号器、1002は復
号器、1003は無線伝送部である。なお、この従来例
に記載されている誤り検出符号はCRC符号であり、誤
り訂正符号はBCH符号である。但し、BCH符号はラ
ンダム誤り訂正とバースト誤り訂正の双方に用い、復号
時にはこのランダム誤り訂正とバースト誤り訂正を並列
に復号化する。更に、この従来例ではインタリーブを用
いて伝送している。
FIG. 10 is a block diagram of a conventional encoder and decoder disclosed in the above-mentioned Japanese Patent Application Laid-Open No. 6-188882. 10, 1001 is an encoder, 1002 is a decoder, and 1003 is a wireless transmission unit. The error detection code described in this conventional example is a CRC code, and the error correction code is a BCH code. However, the BCH code is used for both random error correction and burst error correction, and at the time of decoding, the random error correction and the burst error correction are decoded in parallel. Further, in this conventional example, transmission is performed using interleaving.

【0009】次に、符号器1001の構成について説明
する。1011は情報ビット系列を入力して誤り検出を
目的とするCRC符号を生成かつ付加するCRC符号
部、1012はCRC符号部1011からのCRC符号
が付加された情報ビット系列を複数の情報ブロックに分
割する分割部、1013は分割部1012からの情報ブ
ロックを入力して誤り訂正を目的としたBCH符号を生
成かつ付加するBCH符号部、1014はBCH符号部
1013からのBCH符号及びCRC符号が付加された
情報ブロックを合成した上でインタリーブを用いて無線
伝送部1003へ出力するインタリービング部である。
Next, the configuration of the encoder 1001 will be described. Reference numeral 1011 denotes a CRC code unit that receives an information bit sequence and generates and adds a CRC code for error detection. 1012 divides the information bit sequence to which the CRC code from the CRC code unit 1011 is added into a plurality of information blocks. The dividing unit 1013 receives the information block from the dividing unit 1012 and generates and adds a BCH code for the purpose of error correction. The BCH code unit 1014 receives the BCH code and the CRC code from the BCH coding unit 1013. An interleaving unit that combines the information blocks and outputs it to the wireless transmission unit 1003 using interleaving.

【0010】次に、復号器1002の構成について説明
する。1021は無線伝送部103からのインタリーブ
された情報をデ・インタリーブした上で複数の情報ブロ
ックに分割するデ・インタリービング部/分割部、10
22はBCH符号が付加された情報ブロックのランダム
誤りに対して訂正復号を行うランダム誤り訂正復号部、
1023はBCH符号が付加された情報ブロックのバー
スト誤りに対して訂正復号を行うバースト誤り訂正復号
部、1024はランダム誤り訂正復号部1022または
バースト誤り訂正復号部1023からの分割された情報
ブロックを合成する合成部、1025は合成部1024
からのCRC符号が付加された情報に対してCRC誤り
検出を行うCRC誤り検出復号部、1026は選択部で
ある。
Next, the configuration of the decoder 1002 will be described. Reference numeral 1021 denotes a de-interleaving / dividing unit that deinterleaves the interleaved information from the wireless transmission unit 103 and divides the information into a plurality of information blocks.
22 is a random error correction decoding unit that corrects and decodes a random error of the information block to which the BCH code is added,
Reference numeral 1023 denotes a burst error correction decoding unit that corrects and decodes a burst error of an information block to which a BCH code has been added, and 1024 combines the divided information blocks from the random error correction decoding unit 1022 or the burst error correction decoding unit 1023. The synthesizing unit 1025 is a synthesizing unit 1024
A CRC error detection decoding unit 1026 that performs a CRC error detection on the information to which the CRC code has been added is a selection unit.

【0011】次に、図10に示す従来の符号器/復号器
の動作を説明する。まず、符号器1001において、C
RC符号部1011は情報ビット系列を入力し、この情
報ビット系列(以下A系列という)をCRC符号化して
誤り検出符号化のために用いられる冗長ビットを生成
し、A系列と冗長ビットとからなるB系列を生成して出
力する。次に、分割部1012はCRC符号部1011
からのB系列を受信すると、このB系列をk(kは自然
数)個(図10では3個)の情報ブロックに分割し、B
i(i=1〜3)系列を生成して出力する。
Next, the operation of the conventional encoder / decoder shown in FIG. 10 will be described. First, in the encoder 1001, C
RC code section 1011 receives an information bit sequence, CRC-codes this information bit sequence (hereinafter referred to as A sequence) to generate redundant bits used for error detection coding, and is composed of A sequence and redundant bits. Generate and output the B sequence. Next, the dividing unit 1012 outputs the CRC code 1011
When the B sequence is received, the B sequence is divided into k (k is a natural number) (three in FIG. 10) information blocks.
An i (i = 1 to 3) sequence is generated and output.

【0012】次に、BCH符号部1013は分割部10
12からの分割された個々のBi(i=1〜3)系列を
それぞれBCH符号化し、Ci(i=1〜3)系列を生
成する。インタリービング部1014はBCH符号部1
013からのBCH符号化されたCi系列をインタリー
ビングし、無線伝送するためのD系列を生成して伝送路
へ出力する。このようにして符号器1は情報ビットであ
るA系列から無線伝送するためのD系列を生成する。こ
のD系列は無線伝送部1003によってE系列に変換さ
れて伝送路へ出力される。
Next, the BCH encoding unit 1013
Each of the divided Bi (i = 1 to 3) sequences from B12 is subjected to BCH encoding to generate a Ci (i = 1 to 3) sequence. Interleaving section 1014 is BCH encoding section 1
Interleave the BCH-encoded Ci sequence from 013 to generate a D sequence for wireless transmission and output it to the transmission path. In this way, the encoder 1 generates a D sequence for wireless transmission from the A sequence as information bits. This D sequence is converted into an E sequence by the wireless transmission unit 1003 and output to the transmission path.

【0013】次に、復号器1002において、伝送路か
らのE系列をデ・インタリービング部/分割部1021
が入力し、このE系列をデ・インタリービングし、BC
H符号復号化に対応したk個のEi系列に分割する。ラ
ンダム誤り訂正復号部1022は、前記個々のEi系列
に対してそれぞれランダム誤り訂正復号化を行いFi系
列を生成する。また、バースト誤り訂正復号部1023
は、前記個々のEi系列に対してそれぞれバースト誤り
訂正復号化を行いHi系列を生成する。
Next, in the decoder 1002, the E-sequence from the transmission path is deinterleaved / divided by the
Is input, and the E sequence is deinterleaved, and BC
It is divided into k Ei sequences corresponding to H code decoding. The random error correction decoding unit 1022 performs random error correction decoding on each of the individual Ei sequences to generate a Fi sequence. Also, burst error correction decoding section 1023
Generates a Hi sequence by performing burst error correction decoding on each of the individual Ei sequences.

【0014】また、最終復号化手段としての合成部10
24はランダム誤り訂正復号部1022からの前記Fi
系列とバースト誤り訂正復号部1023からのHi系列
とからIk系列を合成し、誤り訂正復号処理を行った上
でCRC誤り検出復号部1025にこのIk系列を引き
渡す。CRC誤り検出復号部1025は合成部1024
からこのIk系列を受け取るとIk系列のCRC誤りを
検出かつ復号する。また、選択部1026はCRC誤り
検出復号部1025によって誤りが検出されなかったI
k系列からCRCの冗長ビットを削除した上で、この冗
長ビットを削除した系列を復号結果として復号器100
2から出力する。
The synthesizing unit 10 as final decoding means
Reference numeral 24 denotes the Fi from the random error correction decoding unit 1022.
The Ik sequence is synthesized from the sequence and the Hi sequence from the burst error correction decoding unit 1023, subjected to error correction decoding processing, and then delivered to the CRC error detection decoding unit 1025. The CRC error detection / decoding unit 1025 includes a combining unit 1024
When the Ik sequence is received from, the CRC error of the Ik sequence is detected and decoded. In addition, the selection unit 1026 outputs the I.D.
After removing the CRC redundant bits from the k-sequence, the sequence from which the redundant bits have been removed is used as a decoding result by the decoder 100.
Output from 2.

【0015】以上に述べた方法による誤り訂正と誤り検
出符号器及び復号器が考案されている。
An error correction and error detection encoder and decoder using the above-described method have been devised.

【0016】また、例えば、特開昭63−257966
号公報には記録媒体の復号処理の際に、誤り訂正復号処
理と誤り検出復号処理とを並列に行うことにより復号処
理の高速化を図る方法が示されている。図11はこの特
開昭63−257966号公報に示された従来の復号処
理の際に、符号器及び復号器が使用するデータの配列を
示すデータ配列図であり、図12はこの図11に示され
た従来例に係る符号器を含むディジタル変調器の構成
図、図13は図11に示された従来例に係る復号器を含
むディジタル復調器の構成図である。
Further, for example, Japanese Patent Application Laid-Open No. 63-257966
Japanese Patent Application Laid-Open Publication No. H11-15764 discloses a method for speeding up the decoding process by performing an error correction decoding process and an error detection decoding process in parallel when decoding a recording medium. FIG. 11 is a data array diagram showing an array of data used by an encoder and a decoder in the conventional decoding process disclosed in Japanese Patent Application Laid-Open No. 63-257966. FIG. FIG. 13 is a block diagram of a digital modulator including a conventional encoder shown in FIG. 13, and FIG. 13 is a block diagram of a digital demodulator including a decoder according to the conventional example shown in FIG.

【0017】また、図12において、1201はバッフ
ァメモリ、1202は誤り訂正回路、1203は累積加
算回路、1204はCRCジェネレータ、1205はデ
ジタル変調回路、1206は記録媒体、1207はホス
トコンピュータ、1208はインタフェースである。
In FIG. 12, reference numeral 1201 denotes a buffer memory, 1202 denotes an error correction circuit, 1203 denotes a cumulative addition circuit, 1204 denotes a CRC generator, 1205 denotes a digital modulation circuit, 1206 denotes a recording medium, 1207 denotes a host computer, and 1208 denotes an interface. It is.

【0018】また、図13において、1301はバッフ
ァメモリ、1302は誤り訂正回路、1303は累積加
算回路、1304はCRCチェッカ、1305はデジタ
ル復調回路、1306は記録媒体であり、図12に示す
記録媒体1206と同じものである。また、1307は
ホストコンピュータ、1308はインタフェースであ
る。
In FIG. 13, reference numeral 1301 denotes a buffer memory, 1302 denotes an error correction circuit, 1303 denotes a cumulative addition circuit, 1304 denotes a CRC checker, 1305 denotes a digital demodulation circuit, 1306 denotes a recording medium, and FIG. It is the same as 1206. Reference numeral 1307 denotes a host computer, and 1308 denotes an interface.

【0019】以下に、この従来の誤り訂正及び誤り検出
の復号器の構成及び動作について、図11〜図13を用
いて説明する。記録媒体1306から読み出されたデー
タは図13に示すディジタル復調回路1305によって
復調され、バッファメモリ1301に図11に示すよう
な記録時と同じセクタフォーマットを形成するように格
納される。同時に、復調されたデータは次式に示される
ような累積加算回路1303へ入力され、XOR累積加
算が実行される。
The configuration and operation of the conventional error correction and error detection decoder will be described below with reference to FIGS. Data read from the recording medium 1306 is demodulated by the digital demodulation circuit 1305 shown in FIG. 13 and stored in the buffer memory 1301 so as to form the same sector format as that shown in FIG. At the same time, the demodulated data is input to a cumulative addition circuit 1303 as shown in the following equation, and XOR cumulative addition is performed.

【0020】[0020]

【数1】 (Equation 1)

【0021】これらのIj撃ヘバッファメモリ1301へ
格納される。次に、バッファメモリ1301からD景,j
の各iに関するデータ(図11の各横一列)と誤り訂正
用パリティE景,kが読み出され、誤り訂正回路1302
によって誤りの大きさ(パターン)と誤りの位置が計算
され、次にこの誤りの位置に対応するバッファメモリの
アドレスから誤りデータが読み出され、それに前記の誤
りの大きさがXOR加算され、元のアドレスへ再格納さ
れることにより、誤り訂正が実行される。
These Ij strikes are stored in the buffer memory 1301. Next, from the buffer memory 1301, the D scene, j
(I.e., each horizontal row in FIG. 11) and the error correction parity E scene, k are read out, and the error correction circuit 1302
The error size (pattern) and error position are calculated by the calculation, then error data is read from the buffer memory address corresponding to the error position, and the error size is XOR-added to the error data. , Error correction is executed.

【0022】この後、前記の誤り位置に対応するIj撃ェ
バッファメモリ1301から読み出され、これに前記の
誤りの大きさがXOR加算され、CRC演算用データに
修正が加えられた上で元のアドレスへ再格納される。こ
の操作を各i(各横一列)ごとにi回繰り返し実行す
る。最後にIj戟ij=103〜0の順), C3, C2,
C,C0の順に読み出され、CRCチェッカに入力され
誤りの有無がチェックされる。
After that, the data is read out from the Ij buffer memory 1301 corresponding to the error position, the magnitude of the error is XOR-added thereto, the CRC operation data is corrected, and the original data is corrected. Is stored again at the address. This operation is repeated i times for each i (one horizontal line). Finally, Ij ij = 103-0), C3, C2,
The data is read out in the order of C and C0, input to the CRC checker, and checked for errors.

【0023】以上のように、誤り訂正処理完了後、短時
間にCRC誤り検出復号処理が完了する方法が考案され
ている。
As described above, a method has been devised in which the CRC error detection decoding processing is completed in a short time after the error correction processing is completed.

【0024】また、例えば、特開平4−47813号公
報に記録媒体の誤り訂正符号の復号処理において高速化
を図る方法が示されている。この従来例では、リードソ
ロモン符号装置がガロア体GF(2の4乗)上の乗算処
理を実現するハードウェアを有しており、当該ハードウ
ェアはガロア体GF(2の4乗)上の乗算処理結果が登
録された乗算換算テーブルを収容するROMと、ガロア
体GF(2の4乗)上でハーフバイト情報として示され
る乗数及び被乗数に基づき前記乗算加算テーブルを直接
アクセスするアドレスを生成するアドレス生成回路とを
備え、乗算を乗数及び被乗数をもとにその解を表上で得
る方法が考案されている。
Further, for example, Japanese Patent Application Laid-Open No. 4-47813 discloses a method for increasing the speed in decoding an error correction code on a recording medium. In this conventional example, a Reed-Solomon encoder has hardware for realizing multiplication processing on a Galois field GF (2 to the fourth power), and the hardware performs multiplication on a Galois field GF (2 to the fourth power). ROM for storing a multiplication conversion table in which processing results are registered, and address generation for generating an address for directly accessing the multiplication addition table based on a multiplier and a multiplicand indicated as half-byte information on a Galois field GF (2 to the fourth power) A method has been devised that includes a circuit and obtains the solution of the multiplication on the basis of the multiplier and the multiplicand.

【0025】さらに、例えば、特開平6−39720号
公報には記録媒体における複数の信号フォーマットのデ
ータに対する誤り訂正符号化及び復号化処理を同一の回
路構成で実現する方法が示されている。この従来例で
は、異なるデータフォーマットを持つ映像信号(NTS
CとPAL)の誤り訂正回路を共通化するために、共用
する二つの信号フォーマットの内、データ量の大きい信
号フォーマットで誤り訂正回路を用い、データ量の少な
い信号フォーマットに利用する場合には、符号器系で予
め不足分のデータ領域にダミービット(0)を付加し
て、誤り訂正符号化を行い、ダミーデータのみで生成さ
れたダミービット部分を除いて記録を行い、復号器は復
号時に前記所定のダミーデータを補って復号する方法が
考案されている。
Further, for example, Japanese Unexamined Patent Publication No. Hei 6-39720 discloses a method for realizing error correction encoding and decoding processing for data of a plurality of signal formats on a recording medium with the same circuit configuration. In this conventional example, video signals having different data formats (NTS
In order to use the error correction circuit of C and PAL) in common, the error correction circuit is used for the signal format having a large data amount and the signal format having a small data amount is used among the two shared signal formats. The encoder system adds a dummy bit (0) to the insufficient data area in advance, performs error correction coding, performs recording with the exception of a dummy bit portion generated only with dummy data, and performs decoding at the time of decoding. A method of supplementing and decoding the predetermined dummy data has been devised.

【0026】[0026]

【発明が解決しようとする課題】特開平6−18886
2号公報に示されている従来の誤り検出符号および誤り
訂正符号の復号装置は、誤り訂正符号の復号化のための
剰余演算処理を行った後、当該剰余演算処理結果を用い
て誤り訂正を実施し、次に誤り訂正結果を元に誤り検出
符号の復号化のための剰余演算処理を行っていた。この
ように並列処理ではなく逐次処理であるため、処理時間
がかかるという問題点があった。
SUMMARY OF THE INVENTION Japanese Patent Application Laid-Open No. Hei 6-18886.
The conventional error detection code and error correction code decoding device disclosed in Japanese Patent Application Laid-Open Publication No. H06-15764 performs a remainder operation process for decoding the error correction code, and then performs error correction using the result of the remainder operation process. Then, a remainder calculation process for decoding the error detection code is performed based on the error correction result. As described above, since the processing is sequential processing instead of parallel processing, there is a problem that processing time is required.

【0027】また、特開平4−47813号公報に示さ
れている従来の誤り訂正符号の復号装置では、剰余演算
処理結果が登録された剰余演算換算テーブルを収容する
ROMを設けることにより誤り訂正復号器の高速化を図
っているが、正しい誤り検出符号を得るために、誤り訂
正復号を行った後に、再度、誤り検出符号の復号化のた
めの剰余演算処理を行わねばならないという問題点があ
った。
In the conventional error correction code decoding apparatus disclosed in Japanese Patent Laid-Open No. 4-47813, error correction decoding is performed by providing a ROM for storing a residue calculation conversion table in which the result of the remainder calculation is registered. In order to obtain a correct error detection code, there is a problem in that after performing error correction decoding, a remainder operation process for decoding the error detection code must be performed again. Was.

【0028】また、特開昭63−257966号公報に
示されている従来の誤り訂正符号の復号装置では、複数
のフォーマットに対応するためにダミービットを付加し
て対処しているが、誤り訂正時の誤り検出には対処して
いないという問題点があった。
In the conventional error correction code decoding apparatus disclosed in Japanese Patent Application Laid-Open No. 63-257966, dummy bits are added to handle a plurality of formats. There is a problem that error detection at the time is not addressed.

【0029】また、従来の誤り訂正符号の復号装置で
は、同一誤り訂正用の外符号内に異なるフォーマットを
持つ複数の誤り検出用の内符号を持つデータフォーマッ
トの場合には、フォーマットが異なる数だけの誤り検出
符号用復号回路を持たねばならないという問題点があっ
た。
In a conventional error correction code decoding apparatus, if a data format has a plurality of error detection inner codes having different formats within the same error correction outer code, the number of different formats is the same. Has to be provided with a decoding circuit for error detection codes.

【0030】この発明はこのような問題点を解決するた
めに為されたものであり、広帯域移動通信システムにお
いて、BCH符号の復号化及びCRC符号の復号化の処
理の高速化を小規模の復号回路で実現することを目的と
している。
The present invention has been made to solve such a problem, and in a broadband mobile communication system, a small-scale decoding is performed to speed up the processing of decoding a BCH code and a CRC code. It is intended to be realized by a circuit.

【0031】[0031]

【課題を解決するための手段】第1の発明に係る誤り訂
正符号及び誤り検出符号の復号器は、情報ビット系列に
対して剰余演算を行うBCH(Bose Chaudh
uri Hocquenghem)剰余演算回路と、前
記情報ビット系列に対して前記BCH剰余演算回路とは
異なる剰余演算を行うCRC(Cyclic Redu
ndancy Check)剰余演算回路と、前記BC
H剰余演算回路からの出力に基づき誤り位置を出力する
誤り訂正判定回路と、前記BCH剰余の内、該誤り訂正
判定回路から得られた誤り位置における部分に対して剰
余演算を行うCRC誤り検出判定回路と、前記情報ビッ
ト系列に対する前記CRC剰余演算回路の剰余演算によ
って出力された剰余の内、前記誤り位置における部分に
対して前記CRC誤り検出判定回路が剰余演算した結果
に基づいて訂正を施したした結果をCRC誤り検出結果
として出力するCRC誤り検出手段とを具備し、BCH
剰余演算回路から得られた剰余演算結果の内の誤り位置
の部分に対するCRC剰余演算結果を記憶したテーブル
を収容するROMと、前記BCH剰余演算回路からの剰
余演算結果に基づき前記テーブルを直接アクセスするア
ドレスを生成するアドレス生成回路とを備えたものであ
る。
An error correction code and error detection code decoder according to a first aspect of the present invention provides a BCH (Bose Chaudh) for performing a remainder operation on an information bit sequence.
uri Hocquenghem remainder operation circuit, and a CRC (Cyclic Redu) for performing a remainder operation on the information bit sequence differently from the BCH remainder operation circuit.
a residue operation circuit, and the BC
An error correction determination circuit that outputs an error position based on an output from an H residue arithmetic circuit, and a CRC error detection determination that performs a remainder operation on a part of the BCH remainder at the error position obtained from the error correction determination circuit Circuit and, of the remainder output by the CRC remainder operation circuit for the information bit sequence, a part at the error position is corrected based on the result of the remainder operation performed by the CRC error detection determination circuit. the result includes a CRC error detecting means for outputting a CRC error detection result, BCH
Error position in remainder operation result obtained from remainder operation circuit
Table storing the CRC remainder operation result for the part
And the remainder from the BCH remainder operation circuit.
An algorithm that directly accesses the table based on the result of extra computation
Address generation circuit for generating the address.
You.

【0032】の発明に係る誤り訂正符号及び誤り検
出符号の復号器は、アドレス生成回路が生成するアドレ
スはBCH剰余演算回路からの剰余をそのまま利用する
ものである。
In the decoder for error correction code and error detection code according to the second invention, the address generated by the address generation circuit uses the remainder from the BCH remainder operation circuit as it is.

【0033】の発明に係る誤り訂正符号及び誤り検
出符号の復号器は、所定の長さの源信号を復号化する誤
り訂正符号及び誤り検出符号の復号器において、前記所
定の長さよりも短い源信号であるビット系列に対して前
記所定の長さになるようにダミーデータ(0)を付加し
て符号化された情報系列を無線回線による伝送路もしく
は記録媒体を介して、受信もしくは読み出しを行った
後、BCH剰余演算回路で演算した結果である剰余出力
に対して誤り判定を行う誤り訂正判定回路は前記誤り位
置が前記仮想情報ビット系列である場合にも誤り位置と
して出力するものである。
An error correction code and error detection code decoder according to a third aspect of the present invention is an error correction code and error detection code decoder for decoding a source signal having a predetermined length. An information sequence encoded by adding dummy data (0) to the bit sequence as a short source signal so as to have the predetermined length is received or read out via a transmission line by a wireless line or a recording medium. Is performed, the error correction determination circuit that performs error determination on the remainder output that is the result calculated by the BCH remainder calculation circuit outputs the error position as the error position even when the error position is the virtual information bit sequence. is there.

【0034】の発明に係る誤り訂正符号及び誤り検
出符号の復号器は、情報ビット系列を分割して成る各情
報ビット系列毎に、各々異なるCRC誤り検出符号化を
施し、その異なるCRC誤り検出符号毎に、CRC剰余
演算回路と、誤り訂正判定回路から得られた誤り位置に
対する剰余演算を行うCRC誤り検出判定回路とを具
し、前記情報ビット系列に対する剰余演算を行うCRC
剰余演算回路からの出力と前記誤り位置に対する剰余演
算を行うCRC剰余演算回路の出力の加算結果を、前記
CRC誤り検出符号毎に、CRC誤り検出結果として出
力するものである。
The fourth error correction code and error detection code of a decoder according to the invention, for each information bit sequence formed by dividing the information bit sequence is subjected to each different CRC error detection coding, the different CRC error for each detection code, and CRC remainder calculation circuit, and ingredients Bei a CRC error detection judging circuit for performing a modulo operation on the error position obtained from the error correction determination circuit performs the remainder calculation for the information bit sequence CRC
The result of addition of the output from the remainder operation circuit and the output from the CRC remainder operation circuit that performs the remainder operation on the error position is output as a CRC error detection result for each CRC error detection code.

【0035】の発明に係る誤り訂正符号及び誤り検
出符号の復号方法は、情報ビット系列に対して剰余演算
を行うBCH(Bose Chaudhuri Hoc
quenghem)剰余演算工程と、前記情報ビット系
列に対して前記BCH剰余演算工程とは異なる剰余演算
を行うCRC(Cyclic Redundancy
Check)剰余演算工程と、前記BCH剰余演算工程
からの出力に基づき誤り位置を出力する誤り訂正判定工
程と、前記BCH剰余の内、該誤り訂正判定工程から得
られた誤り位置における部分に対して剰余演算を行うC
RC誤り検出判定工程と、前記情報ビット系列に対する
前記CRC剰余演算回路の剰余演算によって出力された
剰余の内、前記誤り位置における部分に対して前記CR
C誤り検出判定工程が剰余演算した結果に基づいて訂正
を施したした結果をCRC誤り検出結果として出力する
CRC誤り検出工程とを具備し、BCH剰余演算工程か
ら得られた剰余演算結果の内の誤り位置の部分に対する
CRC剰余演算結果を出力するテーブルと、前記BCH
剰余演算工程からの剰余演算結果に基づき前記テーブル
を直接アクセスするアドレスを生成する アドレス生成工
程とを備えたものである。
The method of decoding error correction code and error detection code according to the fifth invention performs a modulo operation on the information bit sequence BCH (Bose Chaudhuri Hoc
and a CRC (Cyclic Redundancy) for performing a remainder operation on the information bit sequence different from the BCH remainder operation step.
Check) a residue operation step, an error correction determination step of outputting an error position based on an output from the BCH residue operation step, and a part of the BCH residue at an error position obtained from the error correction determination step. C which performs remainder operation
An RC error detection determining step, and of the remainder at the error position of the remainder output by the remainder operation of the CRC remainder operation circuit on the information bit sequence,
A CRC error detection step of outputting, as a CRC error detection result, a result corrected by the C error detection determination step based on the result of the remainder operation.
Error part of the remainder operation result obtained from
A table for outputting a CRC remainder operation result;
The table based on the remainder calculation result from the remainder calculation step
Address generator that generates addresses that directly access
It is provided with a process.

【0036】の発明に係る誤り訂正符号及び誤り検
出符号の復号方法は、アドレス生成工程が生成するアド
レスはBCH剰余演算工程からの剰余をそのまま利用す
るものである。
In the decoding method of the error correction code and the error detection code according to the sixth invention, the address generated by the address generation step uses the remainder from the BCH remainder operation step as it is.

【0037】の発明に係る誤り訂正符号及び誤り検
出符号の復号方法は、所定の長さの源信号を復号化する
誤り訂正符号及び誤り検出符号の復号方法において、前
記所定の長さよりも短い源信号であるビット系列に対し
て前記所定の長さになるようにダミーデータ(0)を付
加して符号化された情報系列を無線回線による伝送路も
しくは記録媒体を介して、受信もしくは読み出しを行っ
た後、BCH剰余演算工程で演算した結果である剰余出
力に対して誤り判定を行う誤り訂正判定工程は前記誤り
位置が前記仮想情報ビット系列である場合にも誤り位置
として出力するものである。
According to a seventh aspect of the present invention, in the method for decoding an error correction code and an error detection code for decoding a source signal having a predetermined length, the error correction code and the error detection code may be decoded more than the predetermined length. An information sequence encoded by adding dummy data (0) to the bit sequence as a short source signal so as to have the predetermined length is received or read out via a transmission line by a wireless line or a recording medium. Is performed, the error correction determination step of performing error determination on the remainder output that is the result of the calculation in the BCH remainder calculation step is to output the error position as the error position even when the error position is the virtual information bit sequence. is there.

【0038】の発明に係る誤り訂正符号及び誤り検
出符号の復号方法は、情報ビット系列を分割して成る各
情報ビット系列毎に、各々異なるCRC誤り検出符号化
を施し、その異なるCRC誤り検出符号毎に、CRC剰
余演算工程と、誤り訂正判定工程から得られた誤り位置
に対する剰余演算を行うCRC誤り検出判定工程とを具
備し、前記情報ビット系列に対する剰余演算を行うCR
C剰余演算工程からの出力と前記誤り位置に対する剰余
演算を行うCRC剰余演算工程の出力の加算結果を、前
記CRC誤り検出符号毎に、CRC誤り検出結果として
出力するものである。
The method of decoding the eighth error correction code and error detection code according to the invention, for each information bit sequence formed by dividing the information bit sequence is subjected to each different CRC error detection coding, the different CRC error for each detection code, and CRC remainder calculation step, and immediately <br/> Bei a CRC error detection determination step of performing a remainder operation on the resulting error location from the error correction determination step, the remainder operation for the information bit sequence CR
The addition result of the output from the C remainder calculation step and the output of the CRC remainder calculation step for performing the remainder calculation on the error position is output as a CRC error detection result for each CRC error detection code.

【0039】[0039]

【発明の実施の形態】実施の形態1. 図1はこの発明に係る誤り訂正符号及び誤り検出符号の
復号回路の一実施の形態を示す構成図であり、図2は図
1に示す誤り訂正符号及び誤り検出符号の復号回路の動
作を示すフロー図である。また、図3は図1に示す復号
回路への入力データの構造を示すデータ配列図であり、
情報部とCRC冗長ビット、BCH冗長ビットから成る
ことを示している。以下、図1、図2及び図3を用いて
この発明に係るBCH及びCRC復号器の一実施の形態
を説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiment 1 FIG. 1 is a block diagram showing one embodiment of a circuit for decoding an error correction code and an error detection code according to the present invention, and FIG. 2 shows the operation of the error correction code and error detection code decoding circuit shown in FIG. It is a flowchart. FIG. 3 is a data array diagram showing the structure of input data to the decoding circuit shown in FIG.
This indicates that the information section includes a CRC redundant bit and a BCH redundant bit. An embodiment of the BCH and CRC decoder according to the present invention will be described below with reference to FIGS. 1, 2 and 3.

【0040】 図1において、101は入力データに対し
てBCH剰余演算を行うBCH剰余演算回路、102は
BCH剰余演算回路101からの演算結果に基づいて誤
り位置を算出するシンドローム演算回路、103はシン
ドローム演算回路からの出力である誤り位置とCRC剰
余演算結果の剰余との関係を表わすテーブルを持つRO
Mとし、誤り位置からCRC剰余演算結果を出力する誤
り位置でのCRC剰余演算回路である。
In FIG . 1, reference numeral 101 denotes a BCH remainder operation circuit for performing a BCH remainder operation on input data; 102, a syndrome operation circuit for calculating an error position based on the operation result from the BCH remainder operation circuit 101; RO having a table indicating the relationship between the error position output from the arithmetic circuit and the remainder of the CRC remainder operation result
M is a CRC remainder operation circuit at an error position that outputs a CRC remainder operation result from an error position.

【0041】 また、104は入力データを一時的に記憶
するFIFOバッファ、105はFIFOバッファの書
き込みアドレスを作成する書き込みカウンタ、106は
FIFOバッファの読み出しアドレスを作成する読み出
しカウンタ、107はシンドローム演算回路102から
のデータと読み出しカウンタ106からのデータを入力
し、この2つのデータが一致すれば、1を出力し、一致
しないときには0を出力する比較器、108は入力デー
タをCRC生成多項式で剰余演算し、その剰余(0:剰
余0、1:剰余0以外)を出力するCRC剰余演算回
路、109、110は2つの入力データのXOR演算を
行うXOR演算回路である。
Further, 104 FIFO buffer for temporarily storing the input data, 105 is a write counter that creates a write address of the FIFO buffer, the read counter to create a read address of the FIFO buffer 106, 107 a syndrome calculating circuit 102 , And data from the read counter 106. If the two data match, the comparator outputs 1; otherwise, it outputs 0. The comparator 108 modulates the input data by a CRC generating polynomial to perform a remainder operation. , A CRC remainder operation circuit that outputs the remainder (0: remainder 0, 1: other than remainder 0), and 109 and 110 are XOR operation circuits that perform an XOR operation on two input data.

【0042】 次に、図1に示すBCH及びCRC復号器
の動作を図2を用いて説明する。BCH及びCRC復号
器に入力されたデータはBCH剰余演算回路101とF
IFOバッファ104に入力され、CRC剰余演算回路
108にはBCH冗長ビットが外されたデータが入力さ
れる。BCH剰余演算回路101は入力データをBCH
生成多項式を用いて剰余演算を行い剰余を出力し、出力
結果は入力データの誤り位置を算出するシンドローム演
算回路102に入力される。
Next, will be described with reference to FIG. 2 the operation of the BCH and CRC decoder shown in FIG. The data input to the BCH and CRC decoders are
The data is input to the IFO buffer 104, and the data obtained by removing the BCH redundant bits is input to the CRC remainder operation circuit 108. The BCH remainder operation circuit 101 converts the input data into BCH
A remainder operation is performed using the generator polynomial, and the remainder is output. The output result is input to a syndrome operation circuit 102 that calculates an error position of input data.

【0043】 また、FIFOバッファ107は入力デー
タを格納する。なお、書き込み時には書き込みカウンタ
105がインクリメントされ、読み出し時には読み出し
カウンタ106がインクリメントされる。
[0043] In addition, FIFO buffer 107 you store the input data. At the time of writing, the write counter 105 is incremented, and at the time of reading, the read counter 106 is incremented.

【0044】 シンドローム演算回路102はBCH剰余
演算回路101からの剰余に基づいて誤り位置を算出す
る。比較器107はこのシンドローム演算回路102か
らの誤り位置を入力し、この誤り位置が読み込みカウン
タの値と一致したとき、「1」を出力し、XOR演算回
路109を介してFIFOバッファ104に書込まれた
データを出力する。FIFOバッファ104からの読み
出しカウンタ106と比較器107に入力された誤り位
置が一致したときすなわちFIFOバッファ104に書
き込まれた入力データは比較器107によって誤り位置
を検出したタイミングで読み出しが開始され、誤りのあ
るビットをXOR演算回路109が反転させることによ
って誤り訂正を施したデータを出力する。
The syndrome operation circuit 102 calculates an error position based on the remainder from the BCH remainder operation circuit 101. The comparator 107 inputs the error position from the syndrome operation circuit 102, outputs “1” when the error position matches the value of the read counter, and writes it to the FIFO buffer 104 via the XOR operation circuit 109. And output the data. When the read counter 106 from the FIFO buffer 104 matches the error position input to the comparator 107, that is, the input data written in the FIFO buffer 104 starts reading at the timing when the error position is detected by the comparator 107, The XOR operation circuit 109 inverts a certain bit, and outputs error-corrected data.

【0045】 また、CRC剰余演算回路108に入力さ
れた入力データはCRC生成多項式で剰余演算され剰余
(0もしくは1)が出力される。一方、シンドローム演
算回路102が算出した誤り位置は誤り位置でのCRC
剰余演算回路103に入力される。当該誤り位置でのC
RC剰余演算回路103は、入力された誤り位置を元
に、当該誤り位置に該当するビットのみを1としたデー
タをCRC生成多項式で剰余演算した剰余(0もしくは
1)を出力し、当該剰余をXOR演算回路110に入力
する。XOR演算回路110は前記予め求めたCRC剰
余演算回路108の出力結果と誤り位置でのCRC剰余
演算結果とのXOR演算を行い、誤り検出結果として出
力する。
The input data input to the CRC remainder operation circuit 108 is subjected to a remainder operation using a CRC generating polynomial, and the remainder (0 or 1) is output. On the other hand, the error position calculated by the syndrome operation circuit 102 is the CRC at the error position.
The remainder is input to the remainder operation circuit 103. C at the error position
The RC remainder operation circuit 103 outputs a remainder (0 or 1) obtained by performing a remainder operation on the data in which only the bit corresponding to the error position is set to 1 based on the input error position by using a CRC generation polynomial. Input to the XOR operation circuit 110. The XOR operation circuit 110 performs an XOR operation on the previously obtained output result of the CRC remainder operation circuit 108 and the CRC remainder operation result at the error position, and outputs the result as an error detection result.

【0046】 なお、この実施の形態ではシンドローム演
算回路102が誤り位置を算出しているが、BCH剰余
演算結果と誤り位置の関係を表わすテーブルを持つRO
Mをシンドローム演算回路102に置き換えてもよい。
In this embodiment, the syndrome calculation circuit 102 calculates the error position. However, the RO having a table indicating the relationship between the BCH remainder calculation result and the error position is used.
M may be replaced by the syndrome operation circuit 102.

【0047】 この実施の形態によれば、情報ビット系列
に対するBCH剰余演算とCRC剰余演算とを並行して
実施するだけでなく、誤り位置に対するCRC剰余演算
結果からの誤り検出結果をROM内のテーブルから直接
出力することにより、誤り訂正位置に対してのCRC剰
余演算も短時間で行えるため、誤り訂正復号処理と誤り
検出復号処理との時間差を短くできる。従ってBCH符
号及びCRC符号の復号化の高速化を図ることができる
という効果を奏する。
[0047] According to this embodiment, not only performed in parallel and BCH remainder calculation and CRC remainder calculation for the information bit sequence, the error detection result from the CRC remainder calculation result for the error location in the ROM table , The CRC remainder calculation for the error correction position can be performed in a short time, and the time difference between the error correction decoding processing and the error detection decoding processing can be shortened. Therefore, there is an effect that the speed of decoding the BCH code and the CRC code can be increased.

【0048】 実施の形態2. 図4はこの発明に係る誤り訂正符号及び誤り検出符号の
復号回路の別の実施の形態を示す構成図であり、図5は
図4に示す誤り訂正符号及び誤り検出符号の復号回路の
動作を示すフロー図である。
[0048] Embodiment 2. FIG. 4 is a block diagram showing another embodiment of the error correction code and error detection code decoding circuit according to the present invention. FIG. 5 shows the operation of the error correction code and error detection code decoding circuit shown in FIG. It is a flowchart which shows.

【0049】 図4において、図1と同符号は同一または
相当部分を示す。401はBCH剰余演算回路101か
らの出力に基づき当該出力に対応した誤り訂正用ROM
と誤り位置でのCRC剰余演算結果用ROM103の各
々のアドレスを生成するアドレス生成回路、402はア
ドレス生成回路401からのアドレスに対応した誤り位
置を出力する誤り訂正用ROMである。
In FIG . 4, the same reference numerals as those in FIG. 1 denote the same or corresponding parts. 401 is an error correction ROM corresponding to the output from the BCH remainder operation circuit 101 based on the output.
And an address generation circuit 402 for generating the respective addresses of the CRC remainder calculation result ROM 103 at the error position, and an error correction ROM 402 for outputting an error position corresponding to the address from the address generation circuit 401.

【0050】 アドレス生成回路401はBCH剰余演算
回路101からの出力に基づき当該出力に対応した誤り
訂正用ROM402と誤り位置でのCRC剰余演算結果
用ROM103の各々のアドレスを生成する。誤り訂正
用ROM402は前記アドレスと誤り位置との対応関係
を示すテーブルを持ち、誤り位置でのCRC剰余演算結
果用ROMも前記アドレスと誤り位置をとしたデータの
CRC剰余演算の剰余を出力する。
The address generation circuit 401 generates, based on the output from the BCH remainder operation circuit 101, the addresses of the error correction ROM 402 corresponding to the output and the CRC remainder operation result ROM 103 at the error position. The error correction ROM 402 has a table indicating the correspondence between the address and the error position, and the CRC remainder operation result ROM at the error position also outputs the remainder of the CRC remainder operation of the data using the address and the error position.

【0051】 次に、図4に示す復号器の動作を図5のフ
ロー図を用いて説明する。BCH及びCRC復号器に入
力されたデータはBCH剰余演算回路101とFIFO
バッファ104に入力され、CRC剰余演算回路108
には図3に示すBCH冗長ビットが外されたデータが入
力される。BCH剰余演算回路101は入力データに対
して生成多項式での剰余演算を行い剰余を出力し、出力
結果はアドレス生成回路401に入力される。
Next, it will be described with reference to the flowchart of FIG. 5 the operation of the decoder shown in FIG. The data input to the BCH and CRC decoder are transmitted to the BCH remainder operation circuit 101 and the FIFO.
The data is input to the buffer 104 and the CRC remainder operation circuit 108
Is input with data from which the BCH redundant bits shown in FIG. 3 have been removed. The BCH remainder operation circuit 101 performs a remainder operation on the input data using a generator polynomial and outputs the remainder, and the output result is input to the address generation circuit 401.

【0052】 アドレス生成回路401はBCH剰余演算
回路101から入力した剰余に対応するアドレスを出力
する。このアドレスは誤り訂正用ROM402および誤
り訂正位置でのCRC剰余結果用ROM103へ入力さ
れる。誤り訂正用ROM402によって当該アドレスに
書き込まれた誤り位置が読み出され、比較器107に入
力される。FIFOバッファ104からの読み出しカウ
ンタ106と比較器107に入力された誤り位置が一致
したときすなわち比較器107が誤り位置を検出したタ
イミングでFIFOバッファ104に書き込まれた入力
データの読み出しが開始され、誤りのあるビットをXO
R演算回路109が反転させることによって誤り訂正を
施したデータを出力する。
The address generation circuit 401 outputs an address corresponding to the remainder input from the BCH remainder operation circuit 101. This address is input to the error correction ROM 402 and the CRC remainder result ROM 103 at the error correction position. The error position written at the address is read by the error correction ROM 402 and input to the comparator 107. When the read counter 106 from the FIFO buffer 104 matches the error position input to the comparator 107, that is, at the timing when the comparator 107 detects the error position, the reading of the input data written in the FIFO buffer 104 is started, and the error is detected. Bit with XO
The R operation circuit 109 outputs data that has been subjected to error correction by inversion.

【0053】 また、CRC剰余演算回路108に入力さ
れた入力データはCRC生成多項式で剰余演算され剰余
(0もしくは1)が出力される。一方、アドレス生成回
路401はBCH剰余演算回路101から出力された剰
余に対応するアドレスを用いて、誤り位置でのCRC剰
余演算用ROM103内の当該アドレスに書き込まれて
いる誤り位置でのCRC剰余演算結果を読み出す。XO
R演算回路110はこの誤り位置でのCRC剰余演算結
果と前記予め求めたCRC剰余演算回路の出力結果との
XORを行うことにより、訂正を施した正しい誤り検出
結果を出力する。
The input data input to the CRC remainder operation circuit 108 is subjected to a remainder operation using a CRC generator polynomial, and the remainder (0 or 1) is output. On the other hand, the address generation circuit 401 uses the address corresponding to the remainder output from the BCH remainder operation circuit 101 to calculate the CRC remainder operation at the error position written at the address in the CRC remainder operation ROM 103 at the error position. Read the result. XO
The R operation circuit 110 outputs a corrected correct error detection result by XORing the CRC remainder operation result at the error position with the output result of the CRC remainder operation circuit obtained in advance.

【0054】 この実施の形態によれば、誤り位置に対す
るCRC剰余演算結果からの誤り検出結果をROM内の
テーブルにより直接出力するため、誤り検出復号処理を
短時間に行うことができるという効果を奏する。
[0054] According to this embodiment, an effect that the error detection result from the CRC remainder calculation result for the error position to directly output by the table in the ROM, a in a short time an error detection decoding process .

【0055】 なお、この実施の形態においてはアドレス
生成回路がBCH剰余演算回路の出力結果からROM内
のアドレスを算出しているが、BCH剰余演算回路の出
力結果そのものをアドレスとするテーブルをROM内に
構成しても構わない。この場合、アドレス生成回路が生
成するアドレスはBCH剰余演算回路からの剰余をその
まま利用するので、アドレス生成回路を省けるため、回
路規模の縮小を図るだけでなく、その分処理遅延がなく
なり高速化を図ることができることができるという効果
を奏する。
In this embodiment, the address generation circuit calculates the address in the ROM from the output result of the BCH remainder operation circuit, but a table in which the output result of the BCH remainder operation circuit itself is used as an address is stored in the ROM. May be configured. In this case, the address generated by the address generation circuit uses the remainder from the BCH remainder operation circuit as it is, so that the address generation circuit can be omitted, not only reducing the circuit scale but also reducing the processing delay and increasing the speed. This has the effect that it can be achieved.

【0056】 また、複数ビットの誤り訂正能力を持つB
CH符号を用いている場合には、誤り位置が複数発生す
るため、1つの剰余に対して複数のROMを持つ構造を
取ってもかまわない。
[0056] In addition, B with a multiple-bit error correction capability
When the CH code is used, a plurality of error positions are generated, so that a structure having a plurality of ROMs for one remainder may be adopted.

【0057】 実施の形態3. 図6はこの発明に係る誤り訂正符号及び誤り検出符号の
復号器におけるダミービット及び誤りの位置を示す説明
図であり、図7はこの実施の形態におけるBCH及びC
RC復号処理の動作を示すフロー図である。なお、図4
に示した構成図はこの実施の形態でも用いられる。以
下、図4、図6および図7を用いてこの実施の形態を説
明する。
[0057] Embodiment 3. FIG. 6 is an explanatory diagram showing positions of dummy bits and errors in an error correction code and error detection code decoder according to the present invention, and FIG. 7 shows BCH and C in this embodiment.
It is a flowchart which shows operation | movement of RC decoding processing. FIG.
1 is used in this embodiment as well. Hereinafter, this embodiment will be described with reference to FIGS. 4, 6, and 7. FIG.

【0058】 図6に示すように異なるデータ長を有する
複数のデータフォーマットを同一の符号器及び復号器が
符号化または復号化する場合には、当該符号器及び復号
器は対象となるデータの中で最大のデータ長を有するデ
ータに対応するように構成される。このように構成され
た符号器及び復号器が前記の最大データ長未満のデータ
長を持つデータを符号化する場合には当該データの最大
データ長よりも不足した分のビットをダミービット
(0)で補って仮想情報部分とし、さらにBCH符号の
符号化を行う場合には前記データからダミービットを削
除し、さらに算出したCRC冗長ビットとBCH冗長ビ
ットを付加した上で、伝送路へ出力もしくは記録媒体に
書き込む。
When a plurality of data formats having different data lengths are encoded or decoded by the same encoder and decoder as shown in FIG . Is configured to correspond to the data having the maximum data length. When the encoder and the decoder configured as described above encode data having a data length less than the maximum data length, bits that are shorter than the maximum data length of the data are replaced with dummy bits (0). When the BCH code is further encoded, dummy bits are deleted from the data, the calculated CRC redundant bits and BCH redundant bits are added, and then output or recorded on a transmission path. Write to media.

【0059】 一方、図7に示すように復号器は最大のデ
ータ長の入力データが入力されたものとみなし、復号化
処理に入る。図7に示すように、BCH及びCRC復号
器に入力されたデータは、最大情報長が入力されたもの
と見なされ、リセット状態の復号器には入力データのみ
をBCH剰余演算回路101とFIFOバッファ104
に入力し、CRC剰余演算回路108にはBCH冗長ビ
ットが外されたデータが入力される。BCH剰余演算回
路101はリセット状態から、最大情報長よりも短い入
力データを入力し、入力完了後に生成多項式を用いて剰
余演算を行うため、あたかも最大情報長に不足している
部分が「0」である最大情報長の入力がなされたものと
して剰余を出力し、出力結果である剰余はアドレス生成
回路401に入力される。
Meanwhile, the decoder as shown in Figure 7 assumes that the maximum data length of the input data is input, into the decoding process. As shown in FIG. 7, the data input to the BCH and CRC decoders is regarded as the input of the maximum information length, and only the input data is supplied to the decoder in the reset state by the BCH remainder operation circuit 101 and the FIFO buffer. 104
, And the data from which the BCH redundant bits have been removed is input to the CRC remainder operation circuit 108. Since the BCH remainder operation circuit 101 inputs the input data shorter than the maximum information length from the reset state and performs the remainder operation using the generator polynomial after the completion of the input, the portion where the maximum information length is insufficient is “0”. The remainder is output assuming that the maximum information length is input, and the remainder as the output result is input to the address generation circuit 401.

【0060】 アドレス生成回路401は入力された剰余
に対応するアドレスを生成して当該アドレスを誤り訂正
位置でのCRC剰余演算結果用ROMおよび誤り訂正用
ROMに出力する。誤り訂正用ROM402はアドレス
生成回路401からのアドレスに基づき、当該アドレス
に書き込まれた誤り位置を読み出し、比較器107に入
力する。FIFOバッファ104に書き込まれた入力デ
ータは比較器107に誤り位置が入力されたタイミング
で読み出しが開始され、FIFOバッファ104からの
読み出しカウンタ106と比較器107に入力された誤
り位置が一致したビットすなわち誤りのあるビットをX
OR演算回路で反転させて誤り訂正を施した出力データ
を生成して、出力する。但し、仮想情報部分は比較器1
07によって廃棄される。
The address generation circuit 401 generates an address corresponding to the input remainder and outputs the address to the CRC remainder calculation result ROM and the error correction ROM at the error correction position. The error correction ROM 402 reads an error position written at the address based on the address from the address generation circuit 401 and inputs the read error position to the comparator 107. The input data written in the FIFO buffer 104 starts to be read at the timing when the error position is input to the comparator 107, and the read counter 106 from the FIFO buffer 104 and the bit where the error position input to the comparator 107 matches, that is, Replace the erroneous bit with X
The output data is inverted and error-corrected by the OR operation circuit to generate and output. However, the virtual information part is the comparator 1
07 discarded.

【0061】 また、CRC剰余演算回路108の処理及
び誤り位置でのCRC剰余演算結果用ROM103の読
み出しは実施の形態2と同様にして実行される。
[0061] The processing and readout of the CRC remainder calculation result for ROM103 at the error position of the CRC remainder calculation circuit 108 is performed in the same manner as the second embodiment.

【0062】 この実施の形態で示した出力データ生成方
法において、仮想情報部分は比較器107によって廃棄
されたが、FIFOバッファ104にダミービット
「0」を入れたデータを書き込み、最終出力段で仮想部
分を廃棄するように構成しても構わない。
In the output data generation method described in this embodiment, although the virtual information portion is discarded by the comparator 107, data in which the dummy bit “0” is put in the FIFO buffer 104 is written, and the virtual You may comprise so that a part may be discarded.

【0063】 この実施の形態によれば、最大データ長の
復号器と同一のROMによるテーブルも含め、BCH誤
り訂正回路及びCRC誤り検出回路を用い、最大長より
も不足している部分をダミービットで補うことにより、
異なるデータ長のデータに対しても柔軟に符号化および
復号化を行うことができるという効果を奏する。
[0063] According to this embodiment, including the table by the same ROM as the decoder of the maximum data length, using a BCH error correction circuit and the CRC error detection circuit, the dummy bit portions missing than the maximum length By supplementing with
There is an effect that encoding and decoding can be flexibly performed even on data having different data lengths.

【0064】 実施の形態4. 図8はこの発明に係る誤り訂正符号及び誤り検出符号の
復号回路の別の実施の形態を示す構成図であり、図中、
図4と同符号は同一または相当部分を示す。また、図9
は図8に示す誤り訂正符号及び誤り検出符号の復号回路
への入力データの構成を示すデータ配列図であり、情報
部、CRC冗長ビット、BCH冗長ビットの関係を示し
ている。
[0064] Embodiment 4. FIG. 8 is a block diagram showing another embodiment of a decoding circuit for an error correction code and an error detection code according to the present invention.
4 denote the same or corresponding parts. FIG.
FIG. 10 is a data arrangement diagram showing a configuration of input data of the error correction code and the error detection code shown in FIG. 8 to the decoding circuit, and shows a relationship among an information part, a CRC redundant bit, and a BCH redundant bit.

【0065】 次に、図8に示す復号器の動作を説明す
る。図9に示すように図示しない符号器側ではN個の情
報ビット系列Xi(i=〜N)に対してCRC符号化を行
い冗長ビットDi(i=〜N)が生成される。但し、Diの
長さは各々異なる。符号器は、生成された情報ビット系
列Xi+Di(i=〜N)全体に対してBCH符号化を行い
冗長ビットCが付加し、情報ビット系列として伝送路に
送出、もしくは記録媒体に書き込む。
Next, the operation of the decoder shown in FIG. As shown in FIG. 9, an encoder (not shown) performs CRC coding on N information bit sequences Xi (i = iN) to generate redundant bits Di (i = 〜N). However, the lengths of Di are different from each other. The encoder performs BCH encoding on the entire generated information bit sequence Xi + Di (i = 〜N), adds a redundant bit C, and sends out the information bit sequence to a transmission path or writes it on a recording medium.

【0066】 図8に示す通り、この発明に係る符号器は
実施の形態2の符号器の構成回路と同一であるが、CR
C生成多項式の種類の数と同数のCRC剰余演算回路1
08(図中108a〜c)と、N個の誤り位置でのCR
C剰余演算用ROM103(図中103a〜c)を持
つ。以下、図8を用いて本実施の形態における復号化処
理を説明する。
As shown in FIG . 8, the encoder according to the present invention is the same as the configuration circuit of the encoder of the second embodiment,
CRC remainder operation circuit 1 as many as the number of types of C generator polynomials
08 (108a-c in the figure) and CR at N error positions
It has a ROM 103 for C remainder calculation (103a to 103c in the figure). Hereinafter, the decoding process according to the present embodiment will be described with reference to FIG.

【0067】 BCH及びCRC復号器に入力されたデー
タはBCH剰余演算回路101とFIFOバッファ10
4に入力され、各CRC剰余演算回路108にはBCH
冗長ビットが外されたデータが、それぞれのCRC生成
多項式に対応したCRC剰余演算回路108a〜cに入
力される。但し、これは入力データ内の予め定められた
ビット位置により振り分けられる。これに対して、BC
H剰余演算回路101には入力データそのものが入力さ
れ、生成多項式で剰余演算が行われて剰余が出力され
る。
The data input to the BCH and CRC decoder are output from the BCH remainder operation circuit 101 and the FIFO buffer 10.
4 and the CRC remainder operation circuit 108
The data from which the redundant bits have been removed are input to the CRC remainder operation circuits 108a to 108c corresponding to the respective CRC generating polynomials. However, this is distributed according to a predetermined bit position in the input data. On the other hand, BC
The input data itself is input to the H remainder operation circuit 101, the remainder operation is performed by a generator polynomial, and the remainder is output.

【0068】 出力結果である剰余はアドレス生成回路4
01に入力され、アドレス生成回路401は剰余に対応
するアドレスを算出し、当該アドレスを用いて誤り訂正
用ROM103a〜c内の当該アドレス位置に書き込ま
れた誤り位置を読み出し、比較器107に入力される。
一方、FIFOバッファ104に書き込まれた入力デー
タは比較器107に誤り位置が入力されたタイミングで
読み出しが開始され、FIFOバッファ104からの読
み出しカウンタ106と比較器に入力された誤り位置が
一致したビットすなわち誤りのあるビットをXOR演算
回路によって反転させて誤り訂正を施したデータを生成
し、訂正後データとして出力される。
The remainder as the output result is stored in the address generation circuit 4
01, the address generation circuit 401 calculates an address corresponding to the remainder, reads the error position written at the address position in the error correction ROMs 103a to 103c using the address, and inputs the error position to the comparator 107. You.
On the other hand, the input data written in the FIFO buffer 104 starts reading at the timing when the error position is input to the comparator 107, and the read counter 106 from the FIFO buffer 104 matches the bit where the error position input to the comparator matches. That is, an error-corrected data is generated by inverting an erroneous bit by an XOR operation circuit and output as corrected data.

【0069】 また、各CRC剰余演算回路108a〜c
は分割された入力データをCRC生成多項式を用いて剰
余演算を行い、剰余(0もしくは1)を各々出力する。
また、アドレス生成回路401はBCH剰余演算回路1
01から出力された剰余に基づき、N個の誤り位置での
CRC剰余演算用ROM103a〜cの内から対応する
ROMを選択するとともに対応アドレスを生成し、各誤
り位置でのCRC剰余演算用ROM103(103a〜
cのいずれか1つ)内の当該アドレスに書き込まれてい
る誤り位置でのCRC剰余演算結果を読み出し、該当す
るXOR演算回路110(110a〜cのいずれか1
つ)に入力し、対応するCRC剰余演算回路108(1
08a〜cのいずれか1つ)の出力結果と当該誤り位置
でのCRC剰余演算結果のXORを行い、対応する入力
データの誤り検出結果として出力する。
[0069] Further, the CRC remainder calculation circuit 108a~c
Performs a remainder operation on the divided input data using a CRC generating polynomial, and outputs a remainder (0 or 1).
The address generation circuit 401 is a BCH remainder operation circuit 1
Based on the remainder output from the N.01, a corresponding ROM is selected from the CRC remainder calculation ROMs 103a to 103c at the N error positions, a corresponding address is generated, and the CRC remainder calculation ROM 103 at each error position is generated. 103a-
c), the result of the CRC remainder operation at the error position written at the address in the corresponding one of the XOR operation circuits 110 (any one of 110a to 110c) is read out.
) And the corresponding CRC remainder operation circuit 108 (1
08a-c) and the result of the CRC remainder operation at the error position are XORed, and output as an error detection result of the corresponding input data.

【0070】 この実施の形態によれば、CRC剰余演算
回路と、誤り訂正判定回路から得られた誤り位置に対す
る剰余演算を行うCRC誤り検出判定回路とを、異なる
CRC誤り検出符号毎に持つことにより、複数に分割さ
れた情報ビット系列の各々にCRC冗長ビット付加を並
列に実行するので、誤り訂正符号化全体の高速化を図る
ことができるという効果を奏する。
[0070] According to this embodiment, the CRC remainder calculation circuit, and a CRC error detection judging circuit for performing a modulo operation on the resulting error location from the error correction determination circuit, by having each different CRC error detection code Since the addition of the CRC redundant bits to each of the plurality of divided information bit sequences is performed in parallel, there is an effect that the speed of the entire error correction coding can be increased.

【0071】[0071]

【発明の効果】この発明は、以上説明したように構成さ
れているので、以下に記載されるような効果が得られ
る。
Since the present invention is configured as described above, the following effects can be obtained.

【0072】 第1の発明によれば、誤り位置に対するC
RC剰余演算結果からの誤り検出結果をROM内のテー
ブルにより直接出力するため、誤り検出復号処理を短時
間に行うことができるという効果を奏する。
[0072] According to the first aspect, C for error location
The error detection result from the RC remainder operation result is stored in a table in ROM.
Error detection and decoding processing
This has the effect that it can be performed in between.

【0073】の発明によれば、アドレス生成回路が
生成するアドレスはBCH剰余演算回路からの剰余をそ
のまま利用するので、アドレス生成回路を省けるため、
回路規模の縮小を図るだけでなく、その分処理遅延がな
くなり高速化を図ることができることができるという効
果を奏する。
[0073] According to the second invention, since the address which the address generation circuit generates directly using residue from BCH remainder operation circuit, for Habukeru the address generation circuit,
In addition to reducing the circuit scale, there is an effect that the processing delay can be reduced and the speed can be increased.

【0074】の発明によれば、最大データ長の復号
器と同一構成の回路を用い、最大長よりも不足している
部分をダミービットで補うことにより、異なるデータ長
のデータに対しても柔軟に符号化および復号化を行うこ
とができるという効果を奏する。
[0074] According to the third invention, using the circuit of the decoder in the same configuration of the maximum data length, by supplementing a portion missing than the maximum length in the dummy bit for different data length of data Also has an effect that encoding and decoding can be performed flexibly.

【0075】の発明によれば、CRC剰余演算回路
と、誤り訂正判定回路から得られた誤り位置に対する剰
余演算を行うCRC誤り検出判定回路とを、異なるCR
C誤り検出符号毎に持つことにより、複数に分割された
情報ビット系列の各々にCRC冗長ビット付加を並列に
実行するので、誤り訂正符号化全体の高速化を図ること
ができるという効果を奏する。
[0075] According to a fourth aspect of the present invention, the CRC remainder calculation circuit, and a CRC error detection judging circuit for performing a modulo operation on the resulting error location from the error correction determination circuit, different CR
By providing each C error detection code, CRC redundant bits are added in parallel to each of a plurality of divided information bit sequences, so that the entire error correction coding can be speeded up.

【0076】の発明によれば、誤り位置に対するC
RC剰余演算結果からの誤り検出結果をテーブルにより
直接出力するため、誤り検出復号処理を短時間に行うこ
とができるという効果を奏する。
[0076] According to the fifth aspect, C for error location
Error detection result from RC remainder operation result is shown in table
Since direct output is performed, error detection decoding processing can be performed in a short time.
This has the effect of being able to

【0077】の発明によれば、アドレス生成工程が
生成するアドレスはBCH剰余演算工程からの剰余をそ
のまま利用するので、アドレス生成工程を省けるため、
その分処理遅延がなくなり高速化を図ることができるこ
とができるという効果を奏する。
[0077] According to the sixth invention, since the address which the address generation step generates as it is using residue from BCH remainder operation process, since Habukeru the address generation step,
This has the effect of eliminating the processing delay and increasing the speed.

【0078】の発明によれば、最大データ長に対応
する復号方法を用い、最大長よりも不足している部分を
ダミービットで補うことにより、異なるデータ長のデー
タに対しても柔軟に符号化および復号化を行うことがで
きるという効果を奏する。
[0078] According to the seventh aspect, using the decoding method corresponding to the maximum data length, by supplementing a portion missing than the maximum length in the dummy bit, flexibly for different data length of data There is an effect that encoding and decoding can be performed.

【0079】の発明によれば、CRC剰余演算工程
と、誤り訂正判定工程から得られた誤り位置に対する剰
余演算を行うCRC誤り検出判定工程とを、異なるCR
C誤り検出符号毎に持つことにより、複数に分割された
情報ビット系列の各々にCRC冗長ビット付加を並列に
実行するので、誤り訂正符号化全体の高速化を図ること
ができるという効果を奏する。
[0079] According to the eighth invention, the CRC remainder calculation step, and a CRC error detection determination step of performing a remainder operation on the resulting error location from the error correction determination step, different CR
By providing each C error detection code, CRC redundant bits are added in parallel to each of a plurality of divided information bit sequences, so that the entire error correction coding can be speeded up.

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

【図1】 この発明に係る誤り訂正符号及び誤り検出符
号の復号回路の一実施の形態を示す構成図である。
FIG. 1 is a configuration diagram showing an embodiment of a circuit for decoding an error correction code and an error detection code according to the present invention.

【図2】 図1に示す誤り訂正符号及び誤り検出符号の
復号回路の動作を示すフロー図である。
FIG. 2 is a flowchart showing the operation of the error correction code and error detection code decoding circuit shown in FIG.

【図3】 は図1に示す復号回路への入力データの構造
を示すデータ配列図である。
FIG. 3 is a data array diagram showing a structure of input data to a decoding circuit shown in FIG. 1;

【図4】 この発明に係る誤り訂正符号及び誤り検出符
号の復号回路の別の実施の形態を示す構成図である。
FIG. 4 is a configuration diagram showing another embodiment of the error correction code and error detection code decoding circuit according to the present invention.

【図5】 図4に示す誤り訂正符号及び誤り検出符号の
復号回路の動作を示すフロー図である。
FIG. 5 is a flowchart showing the operation of the error correction code and error detection code decoding circuit shown in FIG. 4;

【図6】 この発明に係る誤り訂正符号及び誤り検出符
号の復号器におけるダミービット及び誤りの位置を示す
説明図である。
FIG. 6 is an explanatory diagram showing positions of dummy bits and errors in a decoder for an error correction code and an error detection code according to the present invention.

【図7】 この実施の形態におけるBCH及びCRC復
号処理の動作を示すフロー図である。
FIG. 7 is a flowchart showing an operation of a BCH and CRC decoding process in this embodiment.

【図8】 この発明に係る誤り訂正符号及び誤り検出符
号の復号回路の別の実施の形態を示す構成図である。
FIG. 8 is a block diagram showing another embodiment of the error correction code and error detection code decoding circuit according to the present invention.

【図9】 図8に示す誤り訂正符号及び誤り検出符号の
復号回路への入力データの構成を示すデータ配列図であ
る。
9 is a data array diagram showing a configuration of input data to a decoding circuit of the error correction code and the error detection code shown in FIG.

【図10】 特開平6−188862号公報に示されて
いる従来の符号器と復号器の構成図である。
FIG. 10 is a configuration diagram of a conventional encoder and decoder disclosed in Japanese Patent Application Laid-Open No. H6-188862.

【図11】 特開昭63−257966号公報に示され
た従来の復号処理の際に、符号器及び復号器が使用する
データの配列を示すデータ配列図である。
FIG. 11 is a data arrangement diagram showing an arrangement of data used by an encoder and a decoder in a conventional decoding process disclosed in Japanese Patent Application Laid-Open No. 63-257966.

【図12】 図11に示された従来例に係る符号器を含
むディジタル変調器の構成図である。
12 is a configuration diagram of a digital modulator including the encoder according to the conventional example shown in FIG.

【図13】 図11に示された従来例に係る復号器を含
むディジタル復調器の構成図である。
13 is a configuration diagram of a digital demodulator including the decoder according to the conventional example shown in FIG.

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

101 BCH剰余演算回路 102 シンドローム演算回路 103 誤り位置でのCRC剰余演算回路 104 FIFOバッファ 105 書き込みカウンタ 106 読み出しカウンタ 107 比較器 108 CRC剰余演算回路 109 XOR演算回路 110 XOR演算回路 401 アドレス生成回路 402 誤り訂正用ROM 1001 符号器 1002 復号器 1003 無線伝送部 1011 CRC符号部 1012 分割部 1013 BCH符号部 1014 インタリービング部 1021 デ・インタリービング部/分割部 1022 ランダム誤り訂正復号部 1023 バースト誤り訂正復号部 1024 合成部 1025 CRC誤り検出復号部 1026 選択部 1201 バッファメモリ 1202 誤り訂正回路 1203 累積加算回路 1204 CRCジェネレータ 1205 ディジタル変調回路 1206 記録媒体 1207 ホストコンピュータ 1208 インタフェース 1301 バッファメモリ 1302 誤り訂正回路 1303 累積加算回路 1304 CRCチェッカ 1305 ディジタル復調回路 1306 記録媒体 1307 ホストコンピュータ 1308 インタフェース 101 BCH remainder operation circuit 102 syndrome operation circuit 103 CRC remainder operation circuit at error position 104 FIFO buffer 105 write counter 106 read counter 107 comparator 108 CRC remainder operation circuit 109 XOR operation circuit 110 XOR operation circuit 401 address generation circuit 402 error correction ROM 1001 Encoder 1002 Decoder 1003 Radio transmission unit 1011 CRC encoding unit 1012 Division unit 1013 BCH encoding unit 1014 Interleaving unit 1021 De-interleaving unit / division unit 1022 Random error correction decoding unit 1023 Burst error correction decoding unit 1024 Synthesis Unit 1025 CRC error detection decoding unit 1026 selection unit 1201 buffer memory 1202 error correction circuit 1203 cumulative addition circuit 1204 CRC Enereta 1205 digital modulating circuit 1206 recording medium 1207 host computer 1208 interface 1301 buffer memory 1302 error correction circuit 1303 cumulative addition circuit 1304 CRC checker 1305 digital demodulation circuit 1306 recording medium 1307 host computer 1308 interface

───────────────────────────────────────────────────── フロントページの続き (72)発明者 武 啓二郎 東京都千代田区丸の内二丁目2番3号 三菱電機株式会社内 (72)発明者 伊藤 修二 東京都千代田区丸の内二丁目2番3号 三菱電機株式会社内 (56)参考文献 特開 平2−211723(JP,A) (58)調査した分野(Int.Cl.7,DB名) H03M 13/00 G11B 20/00 ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Keijiro Take 2-3-2 Marunouchi, Chiyoda-ku, Tokyo Mitsubishi Electric Corporation (72) Inventor Shuji Ito 2-3-2 Marunouchi, Chiyoda-ku, Tokyo Mitsubishi Electric (56) References JP-A-2-21723 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) H03M 13/00 G11B 20/00

Claims (8)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 情報ビット系列に対して剰余演算を行う
BCH(BoseChaudhuri Hocquen
ghem)剰余演算回路と、 前記情報ビット系列に対して前記BCH剰余演算回路と
は異なる剰余演算を行うCRC(Cyclic Red
undancy Check)剰余演算回路と、前記B
CH剰余演算回路からの出力に基づき誤り位置を出力す
る誤り訂正判定回路と、 前記BCH剰余の内、該誤り訂正判定回路から得られた
誤り位置における部分に対して剰余演算を行うCRC誤
り検出判定回路と、 前記情報ビット系列に対する前記CRC剰余演算回路の
剰余演算によって出力された剰余の内、前記誤り位置に
おける部分に対して前記CRC誤り検出判定回路が剰余
演算した結果に基づいて訂正を施した結果をCRC誤り
検出結果として出力するCRC誤り検出手段とを具備し
た誤り訂正符号及び誤り検出符号の復号器において、前
記BCH剰余演算回路から得られた剰余演算結果の内の
誤り位置の部分に対するCRC剰余演算結果を記憶した
テーブルを収容するROMと、前記BCH剰余演算回路
からの剰余演算結果に基づき前記テーブルを直接アクセ
スするアドレスを生成するアドレス生成回路とを備えた
ことを特徴とする誤り訂正符号及び誤り検出符号の復号
1. A BCH (Bose Chaudhuri Hocquen) for performing a remainder operation on an information bit sequence.
ghem) remainder operation circuit, and a CRC (Cyclic Red) for performing a remainder operation on the information bit sequence differently from the BCH remainder operation circuit.
(undancy Check) remainder operation circuit;
An error correction determination circuit that outputs an error position based on an output from the CH remainder operation circuit; and a CRC error detection determination that performs a remainder operation on a part of the BCH remainder at the error position obtained from the error correction determination circuit. Circuit, of the remainder output by the CRC remainder operation circuit for the information bit sequence, a part at the error position is corrected based on the result of the remainder operation performed by the CRC error detection determination circuit. CRC error detection means for outputting a result as a CRC error detection result.
In mis Ri correction code and error detection code of the decoder has, before
Of the remainder calculation result obtained from the BCH remainder calculation circuit.
CRC remainder operation result for error location part is stored
ROM accommodating table and BCH remainder operation circuit
Direct access to the table based on the result of the remainder operation from
Address generating circuit for generating an address to
Decoding of error correction code and error detection code
Bowl .
【請求項2】 アドレス生成回路が生成するアドレスは
BCH剰余演算回路からの剰余をそのまま利用すること
を特徴とする請求項に記載の誤り訂正符号及び誤り検
出符号の復号器。
2. The error correction code and error detection code decoder according to claim 1 , wherein the address generated by the address generation circuit uses the remainder from the BCH remainder operation circuit as it is.
【請求項3】 定の長さよりも短い源信号であるビッ
ト系列に対して前記所定の長さになるようにダミーデー
タ(0)を付加して符号化された情報系列を無線回線に
よる伝送路もしくは記録媒体を介して、受信もしくは読
み出しを行った後、BCH剰余演算回路で演算した結果
である剰余出力に対して誤り判定を行う誤り訂正判定回
路は前記誤り位置が前記仮想情報ビット系列である場合
にも誤り位置として出力することを特徴とした請求項1
または請求項2に記載の誤り訂正符号及び誤り検出符号
の復号器。
3. A transmitting encoded information sequence by adding dummy data (0) to be a predetermined length for the bit sequence is a short original signal than Jo Tokoro length by the radio network An error correction determination circuit that performs error determination on a remainder output that is a result calculated by the BCH remainder arithmetic circuit after performing reception or reading through a channel or a recording medium, wherein the error position is the virtual information bit sequence. 2. An output as an error position even in a certain case.
Or a decoder for the error correction code and the error detection code according to claim 2 .
【請求項4】 情報ビット系列を分割して成る各情報ビ
ット系列毎に、各々異なるCRC誤り検出符号化を施
し、その異なるCRC誤り検出符号毎に、 CRC剰余演算回路と、 誤り訂正判定回路から得られた誤り位置に対する剰余演
算を行うCRC誤り検出判定回路とを具備し、前記情報
ビット系列に対する剰余演算を行うCRC剰余演算回路
からの出力と前記誤り位置に対する剰余演算を行うCR
C剰余演算回路の出力の加算結果を、前記CRC誤り検
出符号毎に、CRC誤り検出結果として出力することを
特徴とした請求項1または請求項2に記載の誤り訂正符
号及び誤り検出符号の復号器。
4. A different CRC error detection coding is performed for each information bit sequence obtained by dividing the information bit sequence, and for each of the different CRC error detection codes , a CRC remainder operation circuit and an error correction determination circuit obtained is immediately Bei a CRC error detection judging circuit for performing a modulo operation on the error position, performs remainder calculation for the output to the error position from the CRC remainder calculation circuit for performing a modulo operation on the information bit sequence CR
The error correction code and the error detection code decoding according to claim 1 or 2 , wherein the addition result of the output of the C remainder operation circuit is output as a CRC error detection result for each of the CRC error detection codes. vessel.
【請求項5】 情報ビット系列に対して剰余演算を行う
BCH(BoseChaudhuri Hocquen
ghem)剰余演算工程と、 前記情報ビット系列に対して前記BCH剰余演算工程と
は異なる剰余演算を行うCRC(Cyclic Red
undancy Check)剰余演算工程と、前記B
CH剰余演算工程からの出力に基づき誤り位置を出力す
る誤り訂正判定工程と、 前記BCH剰余の内、該誤り訂正判定工程から得られた
誤り位置における部分に対して剰余演算を行うCRC誤
り検出判定工程と、 前記情報ビット系列に対する前記CRC剰余演算回路の
剰余演算によって出力された剰余の内、前記誤り位置に
おける部分に対して前記CRC誤り検出判定工程が剰余
演算した結果に基づいて訂正を施したした結果をCRC
誤り検出結果として出力するCRC誤り検出工程とを具
備した誤り訂正符号及び誤り検出符号の復号方法におい
て、前記BCH剰余演算工程から得られた剰余演算結果
の内の誤り位置の部分に対するCRC剰余演算結果を出
力するテーブルと、前記BCH剰余演算工程からの剰余
演算結果に基づき前記テーブルを直接アクセスするアド
レスを生成するアドレス生成工程とを備えたことを特徴
とする誤り訂正符号及び誤り検出符号の復号方法。
5. A BCH (Bose Chaudhuri Hocquen) for performing a remainder operation on an information bit sequence.
ghem) residue operation step, and a CRC (Cyclic Red) for performing a residue operation on the information bit sequence different from the BCH residue operation step.
(undancy check) remainder operation step;
An error correction determination step of outputting an error position based on an output from the CH remainder calculation step, and a CRC error detection determination of performing a remainder calculation on a part of the BCH remainder at the error position obtained from the error correction determination step And, of the remainder output by the remainder calculation of the CRC remainder operation circuit on the information bit sequence, a part at the error position is corrected based on the result of the remainder operation performed by the CRC error detection determination step. CRC
Decoding method smell false Ri correction code and the error detecting code; and a CRC error detection step of outputting the error detection result
The remainder operation result obtained from the BCH remainder operation step
The result of the CRC remainder operation for the part at the error position in
And the remainder from the BCH remainder operation step
An address that directly accesses the table based on the operation result
Address generating step of generating addresses.
A decoding method of an error correction code and an error detection code.
【請求項6】 アドレス生成工程が生成するアドレスは
BCH剰余演算工程からの剰余をそのまま利用すること
を特徴とする請求項に記載の誤り訂正符号及び誤り検
出符号の復号方法。
6. The decoding method for an error correction code and an error detection code according to claim 5 , wherein the address generated by the address generation step uses the remainder from the BCH remainder operation step as it is.
【請求項7】 所定の長さの源信号を復号化する誤り訂
正符号及び誤り検出符号の復号方法において、前記所定
の長さよりも短い源信号であるビット系列に対して前記
所定の長さになるようにダミーデータ(0)を付加して
符号化された情報系列を無線回線による伝送路もしくは
記録媒体を介して、受信もしくは読み出しを行った後、
BCH剰余演算工程で演算した結果である剰余出力に対
して誤り判定を行う誤り訂正判定工程は前記誤り位置が
前記仮想情報ビット系列である場合にも誤り位置として
出力することを特徴とした請求項5または請求項6に記
載の誤り訂正符号及び誤り検出符号の復号方法。
7. A decoding method of an error correction code and an error detection code for decoding a source signal having a predetermined length, wherein a bit sequence which is a source signal shorter than the predetermined length has a predetermined length. After receiving or reading out the information sequence encoded by adding the dummy data (0) through a transmission line by a wireless line or a recording medium,
The error correction judging step of judging an error with respect to a remainder output obtained as a result of the operation performed in the BCH remainder operation step outputs the error position as the error position even when the error position is the virtual information bit sequence. The decoding method of an error correction code and an error detection code according to claim 5 or 6 .
【請求項8】 情報ビット系列を分割して成る各情報ビ
ット系列毎に、各々異なるCRC誤り検出符号化を施
し、その異なるCRC誤り検出符号毎に、 CRC剰余演算工程と、 誤り訂正判定工程から得られた誤り位置に対する剰余演
算を行うCRC誤り検出判定工程とを具備し、前記情報
ビット系列に対する剰余演算を行うCRC剰余演算工程
からの出力と前記誤り位置に対する剰余演算を行うCR
C剰余演算工程の出力の加算結果を、前記CRC誤り検
出符号毎に、CRC誤り検出結果として出力することを
特徴とした請求項5または請求項6に記載の誤り訂正符
号及び誤り検出符号の復号方法。
8. A different CRC error detection coding is performed for each information bit sequence obtained by dividing the information bit sequence, and for each of the different CRC error detection codes , a CRC remainder calculation step and an error correction determination step are performed. CR obtained is immediately Bei a CRC error detection determination step of performing a remainder operation on the error position, performs remainder calculation for the output to the error position from the CRC remainder calculation step of performing a modulo operation on the information bit sequence
7. The decoding of an error correction code and an error detection code according to claim 5 , wherein an addition result of an output of the C remainder operation step is output as a CRC error detection result for each of the CRC error detection codes. Method.
JP08081397A 1997-03-31 1997-03-31 Error correction code and error detection code decoder and decoding method thereof Expired - Fee Related JP3260095B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP08081397A JP3260095B2 (en) 1997-03-31 1997-03-31 Error correction code and error detection code decoder and decoding method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP08081397A JP3260095B2 (en) 1997-03-31 1997-03-31 Error correction code and error detection code decoder and decoding method thereof

Publications (2)

Publication Number Publication Date
JPH10276099A JPH10276099A (en) 1998-10-13
JP3260095B2 true JP3260095B2 (en) 2002-02-25

Family

ID=13728913

Family Applications (1)

Application Number Title Priority Date Filing Date
JP08081397A Expired - Fee Related JP3260095B2 (en) 1997-03-31 1997-03-31 Error correction code and error detection code decoder and decoding method thereof

Country Status (1)

Country Link
JP (1) JP3260095B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6572756B2 (en) 1997-01-31 2003-06-03 Elisha Holding Llc Aqueous electrolytic medium
US6592738B2 (en) 1997-01-31 2003-07-15 Elisha Holding Llc Electrolytic process for treating a conductive surface and products formed thereby
US6599643B2 (en) 1997-01-31 2003-07-29 Elisha Holding Llc Energy enhanced process for treating a conductive surface and products formed thereby

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100560712B1 (en) 1997-06-19 2006-03-16 가부시끼가이샤 도시바 Information data multiplexing transmission system, multiplexer and demultiplexer used therefor, and error correcting encoder and decoder
JP3270441B2 (en) 2000-01-26 2002-04-02 埼玉日本電気株式会社 Error bit correction method and circuit in time division multiple access system
CN100384090C (en) * 2003-07-14 2008-04-23 北京大学 A fast circulating CRC verification method used for correcting error bits in data frame
US7562283B2 (en) 2005-12-27 2009-07-14 D.S.P. Group Ltd. Systems and methods for error correction using binary coded hexidecimal or hamming decoding
JP4648255B2 (en) * 2006-06-26 2011-03-09 アラクサラネットワークス株式会社 Information processing apparatus and information processing method
JP5670117B2 (en) * 2010-08-04 2015-02-18 ルネサスエレクトロニクス株式会社 Display control device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6572756B2 (en) 1997-01-31 2003-06-03 Elisha Holding Llc Aqueous electrolytic medium
US6592738B2 (en) 1997-01-31 2003-07-15 Elisha Holding Llc Electrolytic process for treating a conductive surface and products formed thereby
US6599643B2 (en) 1997-01-31 2003-07-29 Elisha Holding Llc Energy enhanced process for treating a conductive surface and products formed thereby

Also Published As

Publication number Publication date
JPH10276099A (en) 1998-10-13

Similar Documents

Publication Publication Date Title
US7278085B1 (en) Simple error-correction codes for data buffers
KR960003094B1 (en) Error correction code generator
KR950012983B1 (en) Reed solomon decoding method
JP2824474B2 (en) Error correction system and decoder using this error correction system
KR930001071B1 (en) Error correction circuit
EP0167627A1 (en) Method and apparatus for decoding error correction code
JPH06216882A (en) Error correction transmitter and receiver
US4473902A (en) Error correcting code processing system
JPH11508712A (en) Method and apparatus for protecting data in a disk drive buffer
US20050188292A1 (en) Method and apparatus for encoding special uncorrectable errors in an error correction code
JP3645809B2 (en) Optical disc storage device encoding / decoding system
US20050149834A1 (en) (18, 9) Error correction code for double error correction and triple error detection
JP3260095B2 (en) Error correction code and error detection code decoder and decoding method thereof
KR19980014002A (en) Apparatus and method for error correction of digital processing system
JP2002043953A (en) Error correction method and error correction device
GB2136994A (en) Encoder verifier
US6981200B2 (en) Interconnect system with error correction
JP3891568B2 (en) Method and apparatus for decoding error correction code
US5623504A (en) Methods and apparatus for encoding and/or decoding digital data elements with different degrees of error protection in accordance with a quasi-product code
JPH0361381B2 (en)
US6453441B1 (en) Error correcting device and optical disk reader comprising same
EP0603932B1 (en) Method and apparatus for implementing a quasi-product code with different degrees of protection against errors
JPH07297817A (en) Data transmission system
JPH1021655A (en) Reproducing device, and recording and reproducing device
JP2001292066A (en) Error correction device and error correction method

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20071105

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20071105

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20071105

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071214

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081214

Year of fee payment: 7

A072 Dismissal of procedure

Free format text: JAPANESE INTERMEDIATE CODE: A072

Effective date: 20080304

A072 Dismissal of procedure

Free format text: JAPANESE INTERMEDIATE CODE: A072

Effective date: 20080311

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091214

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees