JP2545823B2 - Error detector - Google Patents

Error detector

Info

Publication number
JP2545823B2
JP2545823B2 JP62030512A JP3051287A JP2545823B2 JP 2545823 B2 JP2545823 B2 JP 2545823B2 JP 62030512 A JP62030512 A JP 62030512A JP 3051287 A JP3051287 A JP 3051287A JP 2545823 B2 JP2545823 B2 JP 2545823B2
Authority
JP
Japan
Prior art keywords
circuit
data
calculation
error
microprocessor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP62030512A
Other languages
Japanese (ja)
Other versions
JPS63197241A (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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP62030512A priority Critical patent/JP2545823B2/en
Publication of JPS63197241A publication Critical patent/JPS63197241A/en
Application granted granted Critical
Publication of JP2545823B2 publication Critical patent/JP2545823B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、読み取り情報のエラー・シンボルを検出す
るエラー検出装置に関し、特に、エラー・シンボルが多
数(3シンボル以上)ある場合、検出演算時間を短縮す
ることが可能なエラー検出装置に関する。
Description: TECHNICAL FIELD The present invention relates to an error detection device for detecting error symbols in read information, and in particular, when there are a large number of error symbols (3 symbols or more), a detection calculation time The present invention relates to an error detection device that can reduce the error.

〔従来技術〕[Prior art]

光ディスク装置において、一般にプラスチック製の光
ディスクを使用する場合、エラー・レートを低下してデ
ータの信頼性を向上する必要があるため、エラー・コレ
クション・コード(以下ECCと略す)を強化する方法が
必要となってきている。
Generally, when using a plastic optical disk in an optical disk device, it is necessary to reduce the error rate and improve the reliability of the data, so a method to strengthen the error correction code (ECC) is necessary. Is becoming.

このエラー訂正のため、リード・ソロモン符号(多元
BCH符号)を復号する手順については、まず、媒体デー
タを復調してからシンドロームを求め、そのシンドロー
ムからエラー・ロケーション多項式σ(χ)を計算し、
さらにσ(χ)の根の逆元(エラー位置)を求めてエラ
ー訂正を行う。
To correct this error, the Reed-Solomon code
As for the procedure of decoding BCH code), first, demodulate the media data, obtain the syndrome, calculate the error location polynomial σ (χ) from the syndrome,
Further, the inverse element (error position) of the root of σ (χ) is obtained and error correction is performed.

このようなエラー訂正の過程では、エラー・ロケーシ
ョン多項式σ(χ)を求めるために必要な計算の数が問
題であった。
In the process of such error correction, the number of calculations required to obtain the error location polynomial σ (χ) has been a problem.

例えば、特開昭54−32240号公報に記載されている装
置では、多重エラーの検出の前に単一エラーを検査して
訂正するという考え方で、リード・ソロモン符号の復号
を行い、エラー・シンボルが少い場合、検出計算を高速
化している。
For example, in the apparatus described in Japanese Patent Laid-Open No. 54-32240, Reed-Solomon code decoding is performed by using the concept that a single error is inspected and corrected before detection of multiple errors, and error symbols are detected. If the number is small, the detection calculation is speeded up.

しかし、この方法ではエラー・シンボル数が多い場合
について配慮がなされていない。
However, this method does not consider the case where the number of error symbols is large.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

上記従来技術では、エラー・シンボル数が多い場合、
そのエラー・シンボルのエラー位置、および、エラー・
パターンの検出計算時間について配慮がなされていない
ため、計算時間が長いという問題があった。
In the above conventional technique, when the number of error symbols is large,
The error position of the error symbol and the error
Since no consideration was given to the pattern detection calculation time, there was a problem that the calculation time was long.

本発明の目的は、このような問題点を改善し、エラー
・シンボル数が多い場合、エラー・シンボルの検出時間
を短縮することが可能なエラー検出装置を提供すること
にある。
An object of the present invention is to provide an error detecting apparatus which can solve such problems and shorten the error symbol detection time when the number of error symbols is large.

〔問題を解決するための手段〕[Means for solving problems]

上記目的を達成するため、本発明のエラー検出装置
は、データ・シンボルとリード・ソロモン符号による生
成多項式から生成された検査シンボルで構成された情報
により、エラー・シンボルを検出するエラー検出装置に
おいて、マイクロプロセッサ回路(26)からの計算デー
タM1をマトリクスデータに変換する第1の変換回路(3
2)と、マイクロプロセッサ回路(26)からの計算デー
タM2と前記第1の変換回路(32)の出力を掛け算する第
1の掛け算回路(34)と、マイクロプロセッサ回路(2
6)からの計算データM3をマトリクスデータに変換する
第2の変換回路(33)と、マイクロプロセッサ回路(2
6)からの計算データM4と前記第2の変換回路(33)の
出力を掛け算する第2の掛け算回路(35)と、前記第1
の掛け算回路(34)と第2の掛け算回路(35)の出力の
排他的論理和をとって前記マイクロプロセッサ回路(2
6)に出力するEOR回路(36)とから構成され、前記計算
データM1〜M4としてマイクロプロセッサ回路(26)から
エラー・シンドローム(S0〜S15)を入力することによ
ってエラー・ロケーション多項式の係数(σ〜σ
を求める第1の計算手段(第3図参照)と、計算データ
M1をマトリクスデータに変換する第1の変換回路(32)
と、計算データM2と前記第1の変換回路(32)の出力を
掛け算する第1の掛け算回路(34)と、計算データM3を
マトリクスデータに変換する第2の変換回路(33)と、
計算データM4と前記第2の変換回路(33)の出力を掛け
算する第2の掛け算回路(35)と、前記第1の掛け算回
路(34)と前記第2の掛け算回路(35)の出力の排他的
論理和をとるEOR回路(36)と、前記EOR回路(36)の出
力のゼロチェックを行うゼロチェック回路(44)と、シ
フトレジスタ(R1〜R7)と、前記計算データM1と最終実
行位置を示すデータM5を比較して計算終了を判定するコ
ンペアチェック回路(43)と、マイクロプロセッサ回路
(26)からのデータまたは前記第1の変換回路(32)の
出力のいずれか一方を計算データM1として選択する第1
のセレクタ(S1)と、マイクロプロセッサ回路(26)か
らのデータまたは前記EOR回路(36)の出力のいずれか
一方を計算データM2として選択する第2のセレクタ(S
2)と、マイクロプロセッサ回路(26)からのデータま
たは前記シフトレジスタ(R1〜R7)の出力のいずれか一
方を計算データM4として選択する第3のセレクタ(S4)
と、前記コンペア回路(43)およびゼロチェック回路
(44)の出力を入力し前記セレクタ(S1〜S4)およびシ
フトレジスタ(R1〜R7)を制御する計算制御回路(45)
とから構成され、前記第1の計算手段で求めたエラー・
ロケーション多項式の係数(σ〜σ)を前記シフト
レジスタ(R1〜R7)に、計算データM1〜M3にエラー・ロ
ケーションパラメータを入力することによって実際のエ
ラー・ロケーションの値を求める第2の計算手段(第4
図参照)とからなることを特徴としている。
In order to achieve the above object, the error detecting device of the present invention is an error detecting device for detecting an error symbol by information composed of a data symbol and a check symbol generated from a generator polynomial by a Reed-Solomon code, A first conversion circuit (3) for converting the calculation data M1 from the microprocessor circuit (26) into matrix data.
2), a first multiplication circuit (34) for multiplying the calculation data M2 from the microprocessor circuit (26) by the output of the first conversion circuit (32), and a microprocessor circuit (2
A second conversion circuit (33) for converting the calculation data M3 from 6) into matrix data, and a microprocessor circuit (2)
A second multiplication circuit (35) for multiplying the calculation data M4 from 6) by the output of the second conversion circuit (33);
The exclusive OR of the outputs of the multiplication circuit (34) and the second multiplication circuit (35)
6) output to the EOR circuit (36), and the error syndrome (S 0 to S 15 ) is input from the microprocessor circuit (26) as the calculation data M1 to M4 to obtain the coefficient of the error location polynomial. (Σ 1 to σ 8 )
First calculation means (see FIG. 3) for calculating the calculation data
First conversion circuit for converting M1 to matrix data (32)
A first multiplication circuit (34) for multiplying the calculation data M2 by the output of the first conversion circuit (32), a second conversion circuit (33) for converting the calculation data M3 into matrix data,
A second multiplication circuit (35) for multiplying the calculation data M4 by the output of the second conversion circuit (33), an output of the first multiplication circuit (34) and an output of the second multiplication circuit (35). An EOR circuit (36) for exclusive OR, a zero check circuit (44) for zero-checking the output of the EOR circuit (36), a shift register (R1 to R7), the calculation data M1 and final execution Either the data from the compare check circuit (43) that determines the end of calculation by comparing the data M5 indicating the position and the data from the microprocessor circuit (26) or the output of the first conversion circuit (32) is calculated data. First to choose as M1
Second selector (S1) for selecting the data from the microprocessor circuit (26) or the output of the EOR circuit (36) as the calculation data M2.
2) and a third selector (S4) for selecting either the data from the microprocessor circuit (26) or the output of the shift register (R1 to R7) as the calculation data M4.
And a calculation control circuit (45) which inputs the outputs of the compare circuit (43) and the zero check circuit (44) and controls the selectors (S1 to S4) and the shift registers (R1 to R7).
And the error calculated by the first calculation means.
Second calculation for obtaining the actual error location value by inputting the error location parameter to the shift registers (R1 to R7) in the calculation data M1 to M3 using the coefficients (σ 1 to σ 8 ) of the location polynomial Means (4th
(Refer to the figure).

〔作用〕[Action]

本発明においては、エラー・シンボル計算回路はマイ
クロ・プロセッサ回路により、計算入力データを指示さ
れ、マイクロ・プロセッサ回路は、その計算結果を認識
することができる。
In the present invention, the error symbol calculation circuit is instructed by the microprocessor circuit on the calculation input data, and the microprocessor circuit can recognize the calculation result.

また、マイクロ・プロセッサ回路が計算範囲を指示す
ることにより、エラー・シンボル計算回路は、自動的に
その範囲の計算入力データを切換えて計算を続行する。
When the microprocessor circuit indicates the calculation range, the error symbol calculation circuit automatically switches the calculation input data in that range and continues the calculation.

このため、エラー・シンボルが3シンボル以上の場合
も、エラー情報は高速で計算され、計算時間が短縮され
る。
Therefore, even when the number of error symbols is 3 symbols or more, the error information is calculated at high speed and the calculation time is shortened.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面により詳細に説明す
る。
An embodiment of the present invention will be described in detail below with reference to the drawings.

第1図は、本発明の一実施例におけるエラー検出装置
の構成図である。
FIG. 1 is a block diagram of an error detecting device in an embodiment of the present invention.

本実施例のエラー検出装置は、駆動装置21、復調回路
22、シンドローム演算回路23、データ・メモリ回路24、
シンドローム・チェック回路25、マイクロ・プロセッサ
回路26、および、エラー・シンボル計算回路27を備え、
ホスト28に接続される。
The error detection device of this embodiment includes a drive device 21 and a demodulation circuit.
22, syndrome arithmetic circuit 23, data memory circuit 24,
A syndrome check circuit 25, a microprocessor circuit 26, and an error symbol calculation circuit 27 are provided,
Connected to host 28.

また、エラー・シンボル計算回路27は、エラー・ロケ
ーション多項式の係数、およびエラー・パターンの計算
回路(第3図参照)と、エラー・ロケーションの計算回
路(第4図参照)とを備え、エラー・シンボルが3個以
上の場合、エラー・ロケーションの計算回路を用いて計
算を実行する。
Further, the error symbol calculation circuit 27 includes a coefficient of an error location polynomial and an error pattern calculation circuit (see FIG. 3) and an error location calculation circuit (see FIG. 4). When the number of symbols is 3 or more, the calculation is performed using the error location calculation circuit.

本実施例のエラー検出装置において、エラー検出を行
う場合、駆動装置21を介して送られた読み取りデータ1
は、復調回路22で復調され、バイト変換される。
In the error detection device of this embodiment, when error detection is performed, read data 1 sent via the drive device 21.
Is demodulated by the demodulation circuit 22 and converted into bytes.

次に、バイト変換された復調データ2は、データメモ
リ回路24、および、シンドローム演算回路23に送られ、
シンドローム演算回路23において、シンドロームを求め
るための計算を行う。
Next, the byte-converted demodulated data 2 is sent to the data memory circuit 24 and the syndrome arithmetic circuit 23,
In the syndrome calculation circuit 23, calculation for finding the syndrome is performed.

第2図は、本発明の一実施例におけるユーザデータ、
およびECCデータのデータ構成図である。
FIG. 2 shows user data in one embodiment of the present invention,
3 is a data configuration diagram of ECC data. FIG.

本実施例における復調データ2は、各々バイト単位で
あり、D0〜Dnのn+1バイトからなるユーザデータと、
C0〜C15の16バイトからなるECCデータとから構成され
る。
The demodulated data 2 in the present embodiment is in byte units, and user data composed of n + 1 bytes of D 0 to D n ,
Composed of the ECC data consisting of 16 bytes of C 0 -C 15.

従って、シンドローム演算回路23の計算により得られ
たシンドローム・データ3は16バイトになる。
Therefore, the syndrome data 3 obtained by the calculation of the syndrome calculation circuit 23 has 16 bytes.

また、ECCデータは、リード・ソロモン符号により生
成されたコードであり、この復号にあたってのシンドロ
ーム計算は一般的な復号法を利用する。
The ECC data is a code generated by the Reed-Solomon code, and the syndrome calculation for this decoding uses a general decoding method.

さらに、シンドローム演算回路23で演算されたシンド
ローム・データ3は、復調データ2がデータ・メモリ回
路24に格納された後、データ・メモリ回路24に格納され
る。また、この格納中には、転送されるシンドローム・
データ3が“00"であるか否かを、シンドローム・チェ
ック回路25でチェックする。
Further, the syndrome data 3 calculated by the syndrome calculation circuit 23 is stored in the data memory circuit 24 after the demodulation data 2 is stored in the data memory circuit 24. Also, during this storage, the syndrome
The syndrome check circuit 25 checks whether or not the data 3 is “00”.

そのチェック結果であるチェック・データ6は、シン
ドローム・データ3の格納後、マイクロ・プロセッサ回
路26に報告される。
The check data 6, which is the check result, is reported to the microprocessor circuit 26 after the syndrome data 3 is stored.

この場合、チェック・データ6が全て“00"を示す
と、マイクロ・プロセッサ回路26は、データ・メモリ回
路24に格納された復調データ2が正常に読取られたと判
断する。
In this case, when all the check data 6 indicate "00", the microprocessor circuit 26 determines that the demodulated data 2 stored in the data memory circuit 24 has been normally read.

また、シンドローム・データ3が全て“00"でないと
判断されると、データ・メモリ回路24に格納されたシン
ドローム・データ3を基に、エラー・シンボルの位置
と、エラーを補正する値であるエラー・パターンとを、
マイクロ・プロセッサ回路26で計算する。
Further, when it is determined that all the syndrome data 3 are not “00”, the position of the error symbol and the error that is a value for correcting the error are based on the syndrome data 3 stored in the data memory circuit 24.・ The pattern and
Calculated by the microprocessor circuit 26.

なお、この計算過程において、ガロア体の掛け算につ
いては、エラー・シンボル計算回路27で行われる。
In this calculation process, the Galois field multiplication is performed by the error symbol calculation circuit 27.

つまり、マイクロ・プロセッサ回路26からの計算入力
情報7を8元のマトリクスに展開して、1バイトのデー
タと掛け算し、計算結果を計算出力データ8としてマイ
クロ・プロセッサ回路26に報告する。
That is, the calculation input information 7 from the microprocessor circuit 26 is expanded into an 8-element matrix, multiplied by 1-byte data, and the calculation result is reported to the microprocessor circuit 26 as calculation output data 8.

そのシンドローム計算結果が全て00でない場合のシン
ドローム、つまり、エラー・シンドロームの16バイト
(S0〜S15)は、例えば、エラー・シンボルが8バイト
である場合、下記のように示される。
The syndrome when the syndrome calculation results are not all 00, that is, 16 bytes (S 0 to S 15 ) of the error syndrome are shown as follows when the error symbol is 8 bytes, for example.

(1) S0=em0+em1+…+em7 (2) S1=em0αm0+em1αm1+………+em7αm7 (3) S2=em0α2(m0)+em1α2(m1)+…+em7α2(m7) (4) S3=em0α3(m0)+em1α3(m1)+…+em7α3(m7) (5) S4=em0α4(m0)+em1α4(m1)+…+em7α4(m7) (6) S5=em0α5(m0)+em1α5(m1)+…+em7α5(m7) (7) S6=em0α6(m0)+em1α6(m1)+…+em7α6(m7) (8) S7=em0α7(m0)+em1α7(m1)+…+em7α7(m7) (9) S8=em0α8(m0)+em1α8(m1)+…+em7α8(m7) (10) S9=em0α9(m0)+em1α9(m1)+…+em7α9(m7) (11) S10=em0α10(m0)+em1α10(m1)+…+em7α10(m7) (12) S11=em0α11(m0)+em1α11(m1)+…+em7α11(m7) (13) S12=em0α12(m0)+em1α12(m1)+…+em7α12(m7) (14) S13=em0α13(m0)+em1α13(m1)+…+em7α13(m7) (15) S14=em0α14(m0)+em1α14(m1)+…+em7α14(m7) (16) S15=em0α15(m0)+em1α15(m1)+…+em7α15(m7) 但し、8バイトのエラー・シンボルを示す以上の式
(1)〜(16)において、m0〜m7はエラー位置を示し、
em0〜em7はそのエラーパターンを示す。
(1) S 0 = e m0 + e m1 + ... + e m7 (2) S 1 = e m0 α m0 + e m1 α m1 + ……… + e m7 α m7 (3) S 2 = e m0 α 2 (m0) + e m1 α 2 (m1) + ・ ・ ・ + e m7 α 2 (m7) (4) S 3 = e m0 α 3 (m0) + e m1 α 3 (m1) + ・ ・ ・ + e m7 α 3 (m7) (5) S 4 = e m0 α 4 (m0) + e m1 α 4 (m1) + ・ ・ ・ + e m7 α 4 (m7) (6) S 5 = e m0 α 5 (m0) + e m1 α 5 (m1) + ・ ・ ・ + e m7 α 5 ( m7) (7) S 6 = e m0 α 6 (m0) + e m1 α 6 (m1) +… + e m7 α 6 (m7) (8) S 7 = e m0 α 7 (m0) + e m1 α 7 (m1 ) +… + e m7 α 7 (m7) (9) S 8 = e m0 α 8 (m0) + e m1 α 8 (m1) +… + e m7 α 8 (m7) (10) S 9 = e m0 α 9 ( m0) + e m1 α 9 (m1) + ・ ・ ・ + e m7 α 9 (m7) (11) S 10 = e m0 α 10 (m0) + e m1 α 10 (m1) + ・ ・ ・ + e m7 α 10 (m7) (12) S 11 = e m0 α 11 (m0) + e m1 α 11 (m1) + ・ ・ ・ + e m7 α 11 (m7) (13) S 12 = e m0 α 12 (m0) + e m1 α 12 (m1) + ・ ・ ・ + e m7 α 12 (m7) (14) S 13 = e m0 α 13 (m0) + e m1 α 13 (m1) +… + e m7 α 13 (m7) (15) S 14 = e m0 α 14 (m0) + e m1 α 14 (m1) + ・ ・ ・ + e m7 α 14 (m7) (16) S 15 = e m0 α 15 (m0) + e m1 α 15 (m1) + ・ ・ ・ + e m7 α 15 (m7) However, , 8 bytes error symbol In the above formulas (1) to (16), m0 to m7 indicate error positions,
e m0 to e m7 indicate the error pattern.

また、リード・ソロモン符号語におけるエラー・ロケ
ーション多項式σ(χ)については、 (17) σ(χ)=χ+σχ+σχ+σχ +σχ+σχ+σχ+σχ+σ=0 という式で示される。
Regarding the error location polynomial σ (χ) in the Reed-Solomon codeword, (17) σ (χ) = χ 8 + σ 1 χ 7 + σ 2 χ 6 + σ 3 χ 5 + σ 4 χ 4 + σ 5 χ 3 + σ 6 χ 2 + σ 7 χ + σ 8 = 0.

但し、エラー・シンボル数は8であり、また、σ
(χ)の係数σ〜σは、この復号でのエラー・シン
ドロームS0〜S15と下記の式(18)〜(25)で示される
ような関係を有する。
However, the number of error symbols is 8, and σ
The coefficients σ 1 to σ 8 of (χ) have a relationship with the error syndromes S 0 to S 15 in this decoding as shown by the following equations (18) to (25).

(18) S8+S7σ+S6σ+S5σ+S4σ +S3σ+S2σ+S1σ+S0σ=0 (19) S9+S8σ+S7σ+S6σ+S5σ +S4σ+S3σ+S2σ+S1σ=0 (20) S10+S9σ+S8σ+S7σ+S6σ +S5σ+S4σ+S3σ+S1σ=0 (21) S11+S10σ+S9σ+S8σ+S7σ +S6σ+S5σ+S4σ+S3σ=0 (22) S12+S11σ+S10σ+S9σ+S8σ +S7σ+S6σ+S5σ+S4σ=0 (23) S13+S12σ+S11σ+S10σ+S9σ +S8σ+S7σ+S6σ+S5σ=0 (24) S14+S13σ+S12σ+S11σ+S10σ +S9σ+S8σ+S7σ+S6σ=0 (25) S15+S14σ+S13σ+S12σ+S11σ +S10σ+S9σ+S8σ+S7σ=0 本実施例のエラー検出装置では、マイクロ・プロセッ
サ回路26、およびエラー・シンボル計算回路27により、
これらの関係式(1)〜(25)からエラー・ロケーショ
ンとエラー・パターンとを算出する。
(18) S 8 + S 7 σ 1 + S 6 σ 2 + S 5 σ 3 + S 4 σ 4 + S 3 σ 5 + S 2 σ 6 + S 1 σ 7 + S 0 σ 8 = 0 (19) S 9 + S 8 σ 1 + S 7 σ 2 + S 6 σ 3 + S 5 σ 4 + S 4 σ 5 + S 3 σ 6 + S 2 σ 7 + S 1 σ 8 = 0 (20) S 10 + S 9 σ 1 + S 8 σ 2 + S 7 σ 3 + S 6 σ 4 + S 5 σ 5 + S 4 σ 6 + S 3 σ 7 + S 1 σ 8 = 0 (21) S 11 + S 10 σ 1 + S 9 σ 2 + S 8 σ 3 + S 7 σ 4 + S 6 σ 5 + S 5 σ 6 + S 4 σ 7 + S 3 σ 8 = 0 (22) S 12 + S 11 σ 1 + S 10 σ 2 + S 9 σ 3 + S 8 σ 4 + S 7 σ 5 + S 6 σ 6 + S 5 σ 7 + S 4 σ 8 = 0 (23) S 13 + S 12 σ 1 + S 11 σ 2 + S 10 σ 3 + S 9 σ 4 + S 8 σ 5 + S 7 σ 6 + S 6 σ 7 + S 5 σ 8 = 0 (24) S 14 + S 13 σ 1 + S 12 σ 2 + S 11 σ 3 + S 10 σ 4 + S 9 σ 5 + S 8 σ 6 + S 7 σ 7 + S 6 σ 8 = 0 (25) S 15 + S 14 σ 1 + S 13 σ 2 + S 12 σ 3 In S 11 σ 4 + S 10 σ 5 + S 9 σ 6 + S 8 σ 7 + S 7 σ error detecting apparatus 8 = 0 This example micro-processor circuit 26, and the error symbol calculation circuit 27,
The error location and the error pattern are calculated from these relational expressions (1) to (25).

その計算手順については、まず、関係式(18)〜(2
5)からσ〜σを算出し、次に、関係式(17)から
エラー・ロケーションαm0〜αm7を算出して、さらに、
エラー・パターンem0〜em7を算出する。
Regarding the calculation procedure, first, relational expressions (18) to (2
5) is used to calculate σ 1 to σ 8 , and then the error locations α m0 to α m7 are calculated from the relational expression (17).
Calculate error patterns e m0 to e m7 .

第3図は、本発明の一実施例のエラー・シンボル計算
回路におけるエラー・ロケーション多項式の係数、およ
びエラー・パターンの計算回路の構成図である。
FIG. 3 is a configuration diagram of the error location polynomial coefficient and the error pattern calculation circuit in the error symbol calculation circuit according to the embodiment of the present invention.

本実施例のエラー・シンボル計算回路27におけるエラ
ー・ロケーション多項式の係数、およびエラー・パター
ンの計算回路は、計算データM1〜M4、αM1→MM1変換回
路32、αM3→MM3変換回路33、MM1×αM2掛け算回路34、
MM3×αM4掛け算回路35、および、EOR回路36を備え、σ
〜σを算出するため、関係式(1)〜(25)から、
σから順にσまでを消去し、σを算出する。ま
た、同様にσ〜σを算出する。
Coefficients of the error location polynomial in the error symbol calculation circuit 27 of this embodiment, and calculation circuit error pattern calculation data M1~M4, α M1 → M M1 conversion circuit 32, α M3 → M M3 conversion circuit 33 , M M1 × α M2 multiplication circuit 34,
M M3 × α M4 multiplication circuit 35 and EOR circuit 36
In order to calculate 1 to σ 8 , from the relational expressions (1) to (25),
σ 8 to σ 2 are sequentially deleted, and σ 1 is calculated. Similarly, σ 2 to σ 8 are calculated.

まず、σ〜σを算出するため、マイクロ・プロセ
ッサ回路26により計算入力データ7を通してセットされ
た計算データM1とM2、および、計算データM3とM4とをそ
れぞれ掛け算し、それぞれの演算結果をEOR回路36によ
りEORして、計算出力データ8としてマイクロ・プロセ
ッサ回路26に報告する。
First, in order to calculate σ 1 to σ 8 , the calculation data M1 and M2 and the calculation data M3 and M4 set through the calculation input data 7 by the microprocessor circuit 26 are respectively multiplied, and the respective calculation results are obtained. EOR is performed by the EOR circuit 36, and the calculated output data 8 is reported to the microprocessor circuit 26.

この掛け算方法では、計算データM1、およびM3の内容
が、αM1→MM1変換回路32、および、αM3→MM3変換回路
33で、それぞれマトリクス・データ9に展開され、さら
に、MM1×αM2掛け算回路34、および、MM3×αM4掛け算
回路35で、それぞれ掛け算されて、それらの掛け算デー
タ10がEOR回路36でEORされる。
In this multiplication method, the contents of the calculation data M1 and M3 are the α M1 → M M1 conversion circuit 32 and the α M3 → M M3 conversion circuit.
At 33, the matrix data 9 are expanded respectively, and further multiplied by the M M1 × α M2 multiplication circuit 34 and the M M3 × α M4 multiplication circuit 35, respectively, and the multiplication data 10 are obtained by the EOR circuit 36. EORed.

また、この計算回路において、まずσを求めるた
め、σを消去する場合、関係式(18)のσ〜σ
掛かっていないS8を計算データM1にセットし、関係式
(19)のσの係数S1をM2にセットする。あるいは、関
係式(19)のσ〜σが掛かっていないS3を計算デー
タM3にセットし、関係式(18)のσの係数S0を計算デ
ータM4にセットして計算を行う。
Further, in this calculation circuit, for obtaining a first sigma 1, when erasing sigma 8, it sets the S 8 that no takes σ 18 relational expression (18) in the calculation data M1, equation (19 ), The coefficient S 1 of σ 8 is set to M2. Alternatively, S 3 which is not multiplied by σ 1 to σ 8 of the relational expression (19) is set to the calculation data M3, and the coefficient S 0 of σ 8 of the relational expression (18) is set to the calculation data M4 to perform the calculation. .

こうして得られた計算結果をK00として、マイクロ・
プロセッサ回路26内に記憶する。
The calculated result thus obtained is set as K 00 , and
It is stored in the processor circuit 26.

次に、関係式(18)のσの係数S7をM1にセットし、
関係式(19)のσの係数S8を計算データM3にセットし
て計算を行う。なお、計算データM2およびM4について
は、前回の計算で既にセットしてあるS1およびS0を使用
する。
Next, set the coefficient S 7 of σ 1 in relational expression (18) to M1,
The coefficient S 8 of σ 1 of the relational expression (19) is set in the calculation data M3 to perform the calculation. For the calculation data M2 and M4, S 1 and S 0 that have already been set in the previous calculation are used.

この計算結果をK01としてマイクロ・プロセッサ回路2
6に記憶する。さらに、関係式(18)のσの関係S6
計算データM1にセットし、関係式(19)のσの係数S7
を計算データM2にセットして計算し、その計算結果をK
02として記憶する。以降、同様にして、関係式(18)と
(19)とにおけるσ〜σの係数をセットし、それら
の計算結果をK03〜K07とする。
This calculation result is designated as K 01 , and the microprocessor circuit 2
Remember in 6. Further, the relation S 6 of σ 2 in the relational expression (18) is set in the calculation data M1, and the coefficient S 7 of σ 2 in the relational expression (19) is set.
Is set in the calculation data M2, and the calculation result is set to K
Remember as 02 . Thereafter, similarly, the coefficients of σ 3 to σ 7 in the relational expressions (18) and (19) are set, and the calculation results thereof are set to K 03 to K 07 .

この場合、関係式(18)と(19)との関係は、 (26) K00+K01σ+K02σ+K03σ+K04σ +K05σ+K06σ+K07σ=0 という式で示される。In this case, the relationship between the relations (18) and (19) is (26) K 00 + K 01 σ 1 + K 02 σ 2 + K 03 σ 3 + K 04 σ 4 + K 05 σ 5 + K 06 σ 6 + K 07 σ 7 = 0.

関係式(19)と(20)との間でも同様に計算を行っ
て、その計算結果をK10〜K17とすると、 (27) K10+K11σ+K12σ+K13σ+K14σ +K15σ+K16σ+K17σ=0 という関係式を得る。
The same calculation is performed between the relational expressions (19) and (20), and the calculation result is set to K 10 to K 17 , (27) K 10 + K 11 σ 1 + K 12 σ 2 + K 13 σ 3 + K The relational expression of 14 σ 4 + K 15 σ 5 + K 16 σ 6 + K 17 σ 7 = 0 is obtained.

関係式(20)と(21)とでは、その計算結果をK20〜K
27とすると、 (28) K20+K21σ+K22σ+K23σ+K24σ +K25σ+K26σ+K27σ=0 という関係式を得る。
In relational expressions (20) and (21), the calculation result is K 20 to K.
Assuming that 27 , (28) K 20 + K 21 σ 1 + K 22 σ 2 + K 23 σ 3 + K 24 σ 4 + K 25 σ 5 + K 26 σ 6 + K 27 σ 7 = 0.

関係式(21)と(22)とでは、その計算結果をK30〜K
37とすると、 (29) K30+K31σ+K32σ+K33σ+K34σ +K35σ+K36σ+K37σ=0 という関係式を得る。
In relational expressions (21) and (22), the calculation result is calculated as K 30 to K.
Assuming 37 , (29) the relational expression of K 30 + K 31 σ 1 + K 32 σ 2 + K 33 σ 3 + K 34 σ 4 + K 35 σ 5 + K 36 σ 6 + K 37 σ 7 = 0 is obtained.

関係式(22)と(23)とでは、その計算結果をK40〜K
47とすると、 (30) K40+K41σ+K42σ+K43σ+K44σ +K45σ+K46σ+K47σ=0 という関係式を得る。
With relational expressions (22) and (23), the calculation result is K 40 to K.
Assuming 47 , (30) K 40 + K 41 σ 1 + K 42 σ 2 + K 43 σ 3 + K 44 σ 4 + K 45 σ 5 + K 46 σ 6 + K 47 σ 7 = 0.

関係式(23)と(24)とでは、その計算結果をK50〜K
57とすると、 (31) K50+K51σ+K52σ+K53σ+K54σ +K55σ+K56σ+K57σ=0 という関係式を得る。
In relational expressions (23) and (24), the calculation result is calculated as K 50 to K.
Assuming that 57 , (31) K 50 + K 51 σ 1 + K 52 σ 2 + K 53 σ 3 + K 54 σ 4 + K 55 σ 5 + K 56 σ 6 + K 57 σ 7 = 0 is obtained.

関係式(24)と(25)とでは、その計算結果をK60〜K
67とすると、 (32) K60+K61σ+K62σ+K63σ+K64σ +K65σ+K66σ+K67σ=0 という関係式を得る。
In relational expressions (24) and (25), the calculation result is calculated as K 60 to K.
When it is set to 67 , the relational expression of (32) K 60 + K 61 σ 1 + K 62 σ 2 + K 63 σ 3 + K 64 σ 4 + K 65 σ 5 + K 66 σ 6 + K 67 σ 7 = 0 is obtained.

これらの7個の式(26)〜(32)においては、σ
消去されている。
In these seven equations (26) to (32), σ 8 is eliminated.

このようにして、関係式(26)〜(32)から、順にσ
〜σを消去すると、最後にσの1次方程式がで
き、σを算出することができる。なお、σ〜σ
ついても同様に算出する。
Thus, from relational expressions (26) to (32),
When 2 to σ 7 are deleted, a linear equation of σ 1 is finally created, and σ 1 can be calculated. Note that σ 2 to σ 8 are calculated similarly.

さらに、こうして求めたσ〜σを使用して関係式
(17)に代入し、計算結果が0になるχを求める。この
χがエラー・ロケーションである。
Further, by using σ 1 to σ 8 thus obtained, it is substituted into the relational expression (17) to obtain χ at which the calculation result becomes 0. This χ is the error location.

第4図は、本発明の一実施例のエラー・シンボル計算
回路におけるエラー・ロケーションの計算回路の構成図
である。
FIG. 4 is a configuration diagram of an error location calculating circuit in the error symbol calculating circuit according to the embodiment of the present invention.

本実施例のエラー・シンボル計算回路27におけるエラ
ー・ロケーションの計算回路は、セレクタS1,S2,S4、シ
フトレジスタR1〜R7、αM1→MM1変換回路32、MM1×αM2
掛け算回路34、EOR回路36、αM3→MM3変換回路33、MM3
×αM4掛け算回路35、コンペア・チェック回路43、ゼロ
・チェック回路44、および、計算制御回路45を備え、こ
うして求めたσ〜σを用いてエラー・ロケーション
を求める。
The error location calculation circuit in the error symbol calculation circuit 27 of the present embodiment includes selectors S1, S2, S4, shift registers R1 to R7, α M1 → M M1 conversion circuit 32, M M1 × α M2.
Multiplication circuit 34, EOR circuit 36, α M3 → M M3 conversion circuit 33, M M3
× alpha M4 multiplication circuit 35, and the compare check circuit 43, the zero check circuit 44, includes a calculation control circuit 45, thus using σ 18 found obtaining the error location.

なお、αM1→MM1変換回路32、MM1×αM2掛け算回路3
4、EOR回路36、αM3→MM3変換回路33、およびMM3×αM4
掛け算回路35は、第3図と同様の計算を実行する。
Note that α M1 → M M1 conversion circuit 32, M M1 × α M2 multiplication circuit 3
4, EOR circuit 36, α M3 → M M3 conversion circuit 33, and M M3 × α M4
The multiplication circuit 35 executes the same calculation as in FIG.

セレクタS1は計算入力データ7と、αM1+1のデータと
を切換え、セレクタS2は計算入力データ7と計算出力デ
ータ8とを切換える。また、セレクタS4は計算入力デー
タ7とレジスタR7の出力とを切換える。
The selector S1 switches the calculation input data 7 and the data of α M1 + 1 , and the selector S2 switches the calculation input data 7 and the calculation output data 8. Further, the selector S4 switches between the calculation input data 7 and the output of the register R7.

コンペア・チェック回路43は、計算データM1の内容と
計算データM5の内容とをコンペア・チェックする。
The compare check circuit 43 compares and checks the content of the calculation data M1 and the content of the calculation data M5.

ゼロ・チェック回路44は、計算出力データ8がゼロか
否かをチェックする。
The zero check circuit 44 checks whether or not the calculated output data 8 is zero.

シフトレジスタR1〜R7は、計算データM4の内容を順に
シフトする。
The shift registers R1 to R7 sequentially shift the contents of the calculation data M4.

計算制御回路45は、セレクタS1,S2,S4のセレクト制御
を行い、コンベア・チェック回路43の出力、および、ゼ
ロ・チェック回路44の出力を判定して、計算を連続して
行うか否かを判定する。また、シフトレジスタR1〜R7の
セットパルスを出力する。
The calculation control circuit 45 performs select control of the selectors S1, S2, S4, determines the output of the conveyor check circuit 43, and the output of the zero check circuit 44, and determines whether or not the calculation is continuously performed. judge. It also outputs the set pulse of the shift registers R1 to R7.

第5図は、本発明の一実施例におけるエラー・ロケー
ション多項式の解法フローチャートである。
FIG. 5 is a flowchart for solving an error location polynomial in one embodiment of the present invention.

第4図のような構成のエラー・ロケーションの計算回
路において、σ〜σをエラー・ロケーション多項式
σ(χ)に代入して、0となるχを求める場合、まず、
マイクロ・プロセッサ回路26により計算データM1〜M3、
およびαをセットする。
In the error location calculation circuit configured as shown in FIG. 4, when σ 1 to σ 8 are substituted into the error location polynomial σ (χ) to obtain χ that becomes 0, first,
Calculation data M1 to M3 by the microprocessor circuit 26,
And set α 0 .

次に、シフトレジスタR1〜R7は計算データM4を通して
σ876543を順にセットし、計算デ
ータM4にはσをセットする。また、計算データM5には
計算終了のχの値をセットする。
Then, the shift register R1~R7 the sigma 8 through calculation data M4, σ 7, σ 6, σ 5, σ 4, σ 3, sequentially sets the sigma 2, the calculation data M4 sets sigma 1. Further, the value of χ at the end of the calculation is set in the calculation data M5.

最後に制御指示信号12を通して、計算制御回路45に計
算開始指示を行う。
Finally, the calculation start instruction is given to the calculation control circuit 45 through the control instruction signal 12.

こうして、マイクロ・プロセッサ回路26から計算開始
指示を受けると、計算制御回路45の制御により、第5図
のように、現状でセットされている計算データM1〜M4の
内容を用いて計算を実行する(501)。
Thus, when the calculation start instruction is received from the microprocessor circuit 26, the calculation is executed by the control of the calculation control circuit 45 by using the contents of the calculation data M1 to M4 currently set as shown in FIG. (501).

この計算については、α×α+α×σ=α
+σである。但し、α=1である。
For this calculation, α 0 × α 0 + α 0 × σ 1 = α 0
+ Σ 1 . However, α 0 = 1.

次に、σ(χ)の計算が終了したか否かを判定する
(502)。
Next, it is determined whether the calculation of σ (χ) is completed (502).

計算が終了していない場合、計算データM2にその計算
結果を入れ、計算データM4にはシフトレジスタR7の内容
を移す。また、シフトレジスタR7の内容を移すと同時
に、M4→R1,R1→R2,R2→R3,R3→R4,R4→R5,R5→R6,R6→
R7というように、それぞれの内容をシフトして、計算を
実行する(503)。
When the calculation is not completed, the calculation result is put in the calculation data M2, and the contents of the shift register R7 are moved to the calculation data M4. At the same time as the contents of the shift register R7 are transferred, M4 → R1, R1 → R2, R2 → R3, R3 → R4, R4 → R5, R5 → R6, R6 →
The calculation is executed by shifting the contents of each, such as R7 (503).

この計算については、α(α+σ)+σとな
る。
For this calculation, α 00 + σ 1 ) + σ 2 .

こうして計算終了まで計算を実行すると、α(α
(α(α(α(α(α(α+σ)+
σ)+σ)+σ)+σ)+σ)+σ)+σ
となり、これは関係式(17)のσ(χ)の関係式であ
る。
In this way, when the calculation is executed until the end of calculation, α 00
000000 + σ 1 ) +
σ 2 ) + σ 3 ) + σ 4 ) + σ 5 ) + σ 6 ) + σ 7 ) + σ
8 , which is the relational expression of σ (χ) in the relational expression (17).

こうして計算終了すると(502)、計算結果の0チェ
ックの結果を判定する(504)。
When the calculation is completed in this way (502), the result of 0 check of the calculation result is determined (504).

計算結果が0と判定された場合(504)、ステータス
信号14により、マイクロ・プロセッサ回路26に対して計
算結果が0になったということを報告する。
If the calculation result is determined to be 0 (504), the status signal 14 reports to the microprocessor circuit 26 that the calculation result is 0.

この報告により、マイクロ・プロセッサ回路26は計算
データM1の内容をとり、計算データM1が解を示すことを
認識する。
By this report, the microprocessor circuit 26 takes the contents of the calculation data M1 and recognizes that the calculation data M1 shows a solution.

計算結果が0でない場合(504)、さらに、マイクロ
・プロセッサ回路26から計算データM5にセットされた最
終計算位置か否かを判定するため、計算データM1とM5と
をコンペア・チェックする(505)。
When the calculation result is not 0 (504), further, the microprocessor circuit 26 compares and checks the calculation data M1 and M5 to determine whether or not it is the final calculation position set in the calculation data M5 (505). .

最終計算位置でなければ(505)、マイクロ・プロセ
ッサ回路26は、第3図のように、制御指示信号12を通し
て再開始指示を行う。
If it is not the final calculation position (505), the microprocessor circuit 26 issues a restart instruction through the control instruction signal 12 as shown in FIG.

計算制御回路45は、この再開始指示を受けると、計算
データM1の内容のαM1をαM1+1に更新して計算を続行す
る(506)。
Upon receiving this restart instruction, the calculation control circuit 45 updates α M1 of the content of the calculation data M1 to α M1 + 1 and continues the calculation (506).

こうして、関係式(17)の解であるエラー・ロケーシ
ョンαm0〜αm7を算出する。
Thus, the error locations α m0 to α m7 , which are the solutions of the relational expression (17), are calculated.

このように算出されたエラー・ロケーションαm0〜α
m7を、関係式(2)〜(9)に代入して、σ〜σ
算出した方法により、エラー・パターンem0〜em7を算出
する。
The error locations α m0 to α calculated in this way
The m7, are substituted into equation (2) to (9), the method of calculating the σ 18, calculates the error pattern e m0 to e m7.

〔発明の効果〕〔The invention's effect〕

本発明によれば、エラー・シンボル数が多い場合、ハ
ードウェアで連立方程式を解くため、エラー・ロケーシ
ョン、およびエラー・パターンを高速で算出することが
可能である。
According to the present invention, when the number of error symbols is large, the simultaneous equations are solved by hardware, so that the error location and the error pattern can be calculated at high speed.

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

第1図は本発明の一実施例におけるエラー検出装置の構
成図,第2図は本発明の一実施例におけるユーザデー
タ、およびECCデータのデータ構成図,第3図は本発明
の一実施例のエラー・シンボル計算回路におけるエラー
・ロケーション多項式の係数、およびエラー・パターン
の計算回路の構成図,第4図は本発明の一実施例のエラ
ー・シンボル計算回路におけるエラー・ロケーションの
計算回路の構成図,第5図は本発明の一実施例における
エラー・ロケーション多項式の解法フローチャートであ
る。 1:読み取りデータ,2:復調データ,3:シンドローム・デー
タ,4:エラー情報,5:訂正データ,6:チェック・データ,7:
計算入力データ,8:計算出力データ,9:マトリクス・デー
タ,10:掛け算データ,11:チェック結果,12:制御指示信
号,13:αm1+1データ,14:ステータス信号,15:計算データ
M1,21:駆動装置,22:復調回路,23:シンドローム演算回
路,24:データ・メモリ回路,25:シンドローム・チェック
回路,26:マイクロ・プロセッサ回路,27:エラー・シンボ
ル計算回路,32:αM1→MM1変換回路,33:αM3→MM3変換回
路,34:MM1×αM2掛け算回路,35:MM3×αM4掛け算回路,3
6:EOR回路,43:コンペア・チェック回路,44:ゼロ・チェ
ック回路,45:計算制御回路45,M1〜M4:計算データ,R1〜R
7:シフトレジスタ,S1,S2,S4:セレクタ。
FIG. 1 is a block diagram of an error detection device in one embodiment of the present invention, FIG. 2 is a data configuration diagram of user data and ECC data in one embodiment of the present invention, and FIG. 3 is one embodiment of the present invention. Of the error location polynomial in the error symbol calculation circuit of FIG. 4 and the configuration diagram of the error pattern calculation circuit. FIG. 4 shows the configuration of the error location calculation circuit in the error symbol calculation circuit of one embodiment of the present invention. 5 and 5 are flowcharts for solving the error location polynomial in the embodiment of the present invention. 1: read data, 2: demodulation data, 3: syndrome data, 4: error information, 5: correction data, 6: check data, 7:
Calculation input data, 8: Calculation output data, 9: Matrix data, 10: Multiplication data, 11: Check result, 12: Control instruction signal, 13: α m1 + 1 data, 14: Status signal, 15: Calculation data
M1, 21: Drive device, 22: Demodulation circuit, 23: Syndrome arithmetic circuit, 24: Data memory circuit, 25: Syndrome check circuit, 26: Microprocessor circuit, 27: Error symbol calculation circuit, 32: α M1 → M M1 conversion circuit, 33: α M3 → M M3 conversion circuit, 34: M M1 × α M2 multiplication circuit, 35: M M3 × α M4 multiplication circuit, 3
6: EOR circuit, 43: Compare check circuit, 44: Zero check circuit, 45: Calculation control circuit 45, M1 to M4: Calculation data, R1 to R
7: Shift register, S1, S2, S4: Selector.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】データ・シンボルとリード・ソロモン符号
による生成多項式から生成された検査シンボルで構成さ
れた情報により、エラー・シンボルを検出するエラー検
出装置において、 マイクロプロセッサ回路(26)からの計算データM1をマ
トリクスデータに変換する第1の変換回路(32)と、マ
イクロプロセッサ回路(26)からの計算データM2と前記
第1の変換回路(32)の出力を掛け算する第1の掛け算
回路(34)と、マイクロプロセッサ回路(26)からの計
算データM3をマトリクスデータに変換する第2の変換回
路(33)と、マイクロプロセッサ回路(26)からの計算
データM4と前記第2の変換回路(33)の出力を掛け算す
る第2の掛け算回路(35)と、前記第1の掛け算回路
(34)と第2の掛け算回路(35)の出力の排他的論理和
をとって前記マイクロプロセッサ回路(26)に出力する
EOR回路(36)とから構成され、前記計算データM1〜M4
としてマイクロプロセッサ回路(26)からエラー・シン
ドローム(S0〜S15)を入力することによってエラー・
ロケーション多項式の係数(σ〜σ)を求める第1
の計算手段と、 計算データM1をマトリクスデータに変換する第1の変換
回路(32)と、計算データM2と前記第1の変換回路(3
2)の出力を掛け算する第1の掛け算回路(34)と、計
算データM3をマトリクスデータに変換する第2の変換回
路(33)と、計算データM4と前記第2の変換回路(33)
の出力を掛け算する第2の掛け算回路(35)と、前記第
1の掛け算回路(34)と前記第2の掛け算回路(35)の
出力の排他的論理和をとるEOR回路(36)と、前記EOR回
路(36)の出力のゼロチェックを行うゼロチェック回路
(44)と、シフトレジスタ(R1〜R7)と、前記計算デー
タM1と最終実行位置を示すデータM5を比較して計算終了
を判定するコンペアチェック回路(43)と、マイクロプ
ロセッサ回路(26)からのデータまたは前記第1の変換
回路(32)の出力のいずれか一方を計算データM1として
選択する第1のセレクタ(S1)と、マイクロプロセッサ
回路(26)からのデータまたは前記EOR回路(36)の出
力のいずれか一方を計算データM2として選択する第2の
セレクタ(S2)と、マイクロプロセッサ回路(26)から
のデータまたは前記シフトレジスタ(R1〜R7)の出力の
いずれか一方を計算データM4として選択する第3のセレ
クタ(S4)と、前記コンペア回路(43)およびゼロチェ
ック回路(44)の出力を入力し前記セレクタ(S1〜S4)
およびシフトレジスタ(R1〜R7)を制御する計算制御回
路(45)とから構成され、前記第1の計算手段で求めた
エラー・ロケーション多項式の係数(σ〜σ)を前
記シフトレジスタ(R1〜R7)に、計算データM1〜M3にエ
ラー・ロケーションパラメータを入力することによって
実際のエラー・ロケーションの値を求める第2の計算手
段とからなることを特徴とするエラー処理装置。
1. An error detection device for detecting an error symbol based on information composed of a data symbol and a check symbol generated from a generator polynomial based on a Reed-Solomon code, and calculation data from a microprocessor circuit (26). A first conversion circuit (32) for converting M1 into matrix data, and a first multiplication circuit (34) for multiplying the calculation data M2 from the microprocessor circuit (26) and the output of the first conversion circuit (32). ), A second conversion circuit (33) for converting the calculation data M3 from the microprocessor circuit (26) into matrix data, the calculation data M4 from the microprocessor circuit (26) and the second conversion circuit (33). ) And a second multiplication circuit (35) for multiplying the output of the second multiplication circuit (35) and an exclusive OR of the outputs of the first multiplication circuit (34) and the second multiplication circuit (35). Output to Lee black processor circuit (26)
It is composed of an EOR circuit (36) and the calculation data M1 to M4.
Error by inputting the error syndrome (S 0 to S 15 ) from the microprocessor circuit (26) as
First to obtain the coefficients (σ 1 to σ 8 ) of the location polynomial
Calculation means, a first conversion circuit (32) for converting the calculation data M1 into matrix data, the calculation data M2 and the first conversion circuit (3).
A first multiplication circuit (34) for multiplying the output of 2), a second conversion circuit (33) for converting the calculation data M3 into matrix data, a calculation data M4 and the second conversion circuit (33).
A second multiplication circuit (35) that multiplies the outputs of the two, an EOR circuit (36) that takes the exclusive OR of the outputs of the first multiplication circuit (34) and the second multiplication circuit (35), A zero check circuit (44) for performing a zero check of the output of the EOR circuit (36), a shift register (R1 to R7), the calculated data M1 and the data M5 indicating the final execution position are compared to determine the end of calculation. A compare check circuit (43), and a first selector (S1) for selecting either the data from the microprocessor circuit (26) or the output of the first conversion circuit (32) as the calculation data M1. A second selector (S2) for selecting either the data from the microprocessor circuit (26) or the output of the EOR circuit (36) as the calculation data M2, and the data from the microprocessor circuit (26) or the shift register( R1 to R7) third selector (S4) for selecting one of the outputs as the calculation data M4, and the selector (S1 to S4) receiving the outputs of the compare circuit (43) and the zero check circuit (44). )
And a calculation control circuit (45) for controlling the shift registers (R1 to R7), and the coefficients (σ 1 to σ 8 ) of the error location polynomial obtained by the first calculation means are transferred to the shift register (R1). To R7), the second processing means for obtaining an actual error location value by inputting the error location parameter to the calculation data M1 to M3.
JP62030512A 1987-02-12 1987-02-12 Error detector Expired - Lifetime JP2545823B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62030512A JP2545823B2 (en) 1987-02-12 1987-02-12 Error detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62030512A JP2545823B2 (en) 1987-02-12 1987-02-12 Error detector

Publications (2)

Publication Number Publication Date
JPS63197241A JPS63197241A (en) 1988-08-16
JP2545823B2 true JP2545823B2 (en) 1996-10-23

Family

ID=12305861

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62030512A Expired - Lifetime JP2545823B2 (en) 1987-02-12 1987-02-12 Error detector

Country Status (1)

Country Link
JP (1) JP2545823B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57182253A (en) * 1981-04-30 1982-11-10 Hiroichi Okano Decoding method for triple or quadruple error correction bch code
JPS58123144A (en) * 1982-01-18 1983-07-22 Nec Home Electronics Ltd Decoding system of read solomon code
JPS61288523A (en) * 1985-06-14 1986-12-18 Mitsubishi Electric Corp Error correcting and decoding method

Also Published As

Publication number Publication date
JPS63197241A (en) 1988-08-16

Similar Documents

Publication Publication Date Title
EP1131893B1 (en) Forward error corrector
US4099160A (en) Error location apparatus and methods
US4845714A (en) Multiple pass error correction process and apparatus for product codes
JP2695195B2 (en) Error correction circuit
JP3232602B2 (en) Euclidean circuit
US4504948A (en) Syndrome processing unit for multibyte error correcting systems
KR880011660A (en) Multiple error detection and correction methods and systems
EP0836285B1 (en) Reed-Solomon decoder with general-purpose processing unit and dedicated circuits
US4994993A (en) System for detecting and correcting errors generated by arithmetic logic units
JPH0728227B2 (en) Decoding device for BCH code
CN1113474C (en) CRC/EDC checker system
US5068856A (en) Method and circuit for detecting data error
JP2545823B2 (en) Error detector
JP3170920B2 (en) Error correction method and correction circuit
JP2553565B2 (en) Galois field arithmetic unit
JPH10322226A (en) Reed solomon decoding method
JP3139499B2 (en) Error correction processor
JPH09331263A (en) Method and device for correcting error
JPH05274820A (en) Error correction device
JP2008112522A (en) Device and method for detecting error
JP2553571B2 (en) Galois field arithmetic unit
JPS642293B2 (en)
JP3595271B2 (en) Error correction decoding method and apparatus
JPH10150367A (en) Error correction device
JPH0828670B2 (en) Galois field arithmetic unit