JP4595238B2 - Erasure Only Correction Method, Erasure Only Correction Method Program, Recording Medium Recording Erasure Only Correction Method Program, and Erasure Correction Dedicated Circuit - Google Patents

Erasure Only Correction Method, Erasure Only Correction Method Program, Recording Medium Recording Erasure Only Correction Method Program, and Erasure Correction Dedicated Circuit Download PDF

Info

Publication number
JP4595238B2
JP4595238B2 JP2001133886A JP2001133886A JP4595238B2 JP 4595238 B2 JP4595238 B2 JP 4595238B2 JP 2001133886 A JP2001133886 A JP 2001133886A JP 2001133886 A JP2001133886 A JP 2001133886A JP 4595238 B2 JP4595238 B2 JP 4595238B2
Authority
JP
Japan
Prior art keywords
polynomial
error
erasure
syndrome
obtaining
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
JP2001133886A
Other languages
Japanese (ja)
Other versions
JP2002330077A (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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP2001133886A priority Critical patent/JP4595238B2/en
Publication of JP2002330077A publication Critical patent/JP2002330077A/en
Application granted granted Critical
Publication of JP4595238B2 publication Critical patent/JP4595238B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

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

Description

【0001】
【発明の属する技術分野】
本発明は、消失のみ訂正方法、消失のみ訂正方法のプログラム、消失のみ訂正方法のプログラムを記録した記録媒体及び消失訂正専用回路に関し、例えばデータの記録再生装置、データの送受信装置における誤り訂正処理に適用することができ、より具体的にはデータレコーダー、データ伝送装置等に適用することができる。本発明は、消失訂正のみを実行する場合に不要となるユークリッド演算機能を削除し、この削除に対応する構成とすることにより、簡易な構成により消失訂正に特化して消失訂正することができるようにする。
【0002】
【従来の技術】
従来、各種のデータ処理装置においては、通常訂正と消失訂正との繰り返しによりエラー訂正するようになされている。すなわち図47は、この一連のエラー訂正処理の処理手順を示すフローチャートである。
【0003】
なお以下の説明においては、元が2m であるガロア体GF(2m )上で定義される有限体を用いて、p個のパリティが付加された符号長nのRS(Reed-Solomon)符号を用いた場合の復号手順を示す。また符号全体にε個の消失シンボル(消失誤り)と、消失位置以外にν個の誤り(通常誤り)が存在する場合を考える。但し、εとνとは、次式の関係式を満たすものとする。
【0004】
【数1】

Figure 0004595238
【0005】
またそれぞれ符号の先頭より数えた消失位置をUi (1≦i≦ε)とし、この消失位置の消失パターンをVi (1≦i≦ε)とする。また同様にして示す消失シンボル以外の誤り位置をXi (1≦i≦ν)とし、この誤り位置の誤りパターンをYi (1≦i≦ν)とする。またシンドローム多項式の係数は、シンドローム多項式S(x)の最高次の係数Sp-1 を最低次の係数に設定し、以下、最低次の係数S0 が最高次の係数になる迄、順次、係数の順序を入れ換えてなる逆順シンドローム多項式((4)式))を用いて復号することとする。なおこの逆順シンドローム多項式は、元のシンドローム多項式S(x)の根の逆数を根として持つ多項式であり、以下、適宜、単にシンドローム多項式と呼ぶ。
【0006】
このような前提において、エラー訂正処理においては、図47の処理により、消失シンボル以外の誤り位置Xi と、全ての誤りパターンVi 及びYi とを求める。すなわちエラー訂正処理においては、ステップSP1からステップSP2に移り、シンドロームの算出処理と消失位置多項式の算出処理を実行する。
【0007】
(シンドロームの算出)
ここでシンドロームの算出処理においては、受信信号である受信データrとパリティ検査行列Hとの積として、次式の演算処理によりp個のシンドロームSj (0≦j≦p−1)を求める。但しここで、Sはシンドローム、cは送信データ、eは誤りデータである。
【0008】
【数2】
Figure 0004595238
【0009】
シンドロームSは、誤りデータeが0の場合には、0となる。また符号長n、パリティ数pの場合のパリティ検査行列Hは、次式により表される。
【0010】
【数3】
Figure 0004595238
このようにして得られるシンドロームSj を係数に持つp−1次の多項式がシンドローム多項式であり、次式により表される。
【0011】
【数4】
Figure 0004595238
【0012】
ここで(数3)式より、消失位置Ui がαm の場合、パリティ検査行列Hにおける誤り位置のj行目の要素が(αm j =Ui j と表されることにより、シンドローム多項式の各係数Sj は、消失位置Ui 、誤り位置Xi 、消失パターンVi 、誤りパターンYi を用いて次式により表される。
【0013】
【数5】
Figure 0004595238
【0014】
従って、シンドローム多項式は、(数4)式及び(数5)式から、次式により表すことができ、これによりエラー訂正においては、シンドローム多項式S(x)を計算するようになされている。
【0015】
【数6】
Figure 0004595238
【0016】
(消失位置多項式の算出)
これに対して消失位置多項式の算出処理においては、上述したと同様にして定義する既知のε個の消失位置Us からε次の消失位置多項式を定義する。消失位置多項式は、x=Us (1≦s≦ε)において、値が0となる多項式で、次式のように設定することができる。
【0017】
【数7】
Figure 0004595238
【0018】
(修正シンドローム多項式の算出)
エラー訂正処理においては、続いてステップSP3に移り、修正シンドローム多項式の算出処理を実行する。ここでこの修正シンドローム多項式の算出処理は、消失位置多項式とシンドローム多項式の積のxp に対する剰余として、次式により修正シンドローム多項式を定義する。
【0019】
【数8】
Figure 0004595238
【0020】
(誤り位置多項式、誤り評価多項式の導出)
続いてエラー訂正処理においては、ステップSP4に移り、ユークリッド互除演算の処理により、誤り位置多項式、誤り評価多項式が導出される。すなわち誤り位置多項式は、消失位置多項式と同様に、x=Xt (1≦t≦ν)において、(数7)式が値0となる多項式であり、次式のように設定することができる。
【0021】
【数9】
Figure 0004595238
【0022】
誤り評価多項式は、Key equationを用いて次式のように表されるp−1次の多項式であり、(数8)式について上述した修正シンドローム多項式T(x)と、(数9)式により表される誤り位置多項式から求めることができる。
【0023】
【数10】
Figure 0004595238
【0024】
(誤りパターン、消失パターンの算出)
続いてエラー訂正処理は、ステップSP5に移り、誤り位置が検出され、誤りパターンが検出される。すなわちエラー訂正処理では、(数9)式による誤り位置多項式、(数7)式による消失位置多項式、(数10)式による誤り評価多項式が求まると、Forney algorithmによって、誤りパターンYi (1≦i≦ε)、消失パターンVi (1≦i≦ν)を求めることが出来る。
【0025】
すなわちForney algorithmによる処理においては、誤り位置多項式と消失位置多項式を掛けた積多項式を次式により定義する。
【0026】
【数11】
Figure 0004595238
【0027】
先ず、誤りパターンYi を求める場合、次式により示すように、(数11)式により表される積多項式を一次微分し、求めたい誤りパターンYi の誤り位置Xi を代入する。
【0028】
【数12】
Figure 0004595238
【0029】
【数13】
Figure 0004595238
【0030】
ここで(数10)式により示される誤り評価多項式にx=Xi を代入し、(数13)式を変形すると、次式を求めることができる。
【0031】
【数14】
Figure 0004595238
【0032】
この(数14)式は、次式のように変形することができ、これにより誤りパターンYi を求めることができる。
【0033】
【数15】
Figure 0004595238
【0034】
これに対して消失パターンVi を求める場合、次式により示すように、(数12)式により表される積多項式の一次微分に、求めたい消失パターンVi の誤り位置Ui を代入する。
【0035】
【数16】
Figure 0004595238
【0036】
ここで(数10)式により表される誤り評価多項式にx=Ui を代入し、(数16)式を用いて変形すると、次式を求めることができる。
【0037】
【数17】
Figure 0004595238
【0038】
この(数17)式は、次式に示すように変形することができ、これにより消失パターンVi を求めることができる。
【0039】
【数18】
Figure 0004595238
【0040】
(データの訂正)
エラー訂正処理においては、このようにして誤りパターン及び消失パターンを検出すると、続くステップSP6において、受信信号である受信データrに対して、誤り位置Xi において、誤りパターンYi (1≦i≦v)を加えることにより、また消失位置Ui において、消失パターンVi (1≦i≦ε)を加えることにより、受信データrを訂正した後、ステップSP7に移って誤り訂正したデータを出力する。
【0041】
図48は、このようなエラー訂正処理を実行する消失訂正回路を示すブロック図である。この消失訂正回路1において、SYNブロック2は、受信信号rからシンドロームを算出してシンドローム多項式の生成し、また消失フラグUから消失位置多項式を生成する。また続くEUCブロック3は、SYNブロック2による処理結果D02であるシンドローム多項式、消失位置多項式から修正シンドローム多項式を生成し、またこの修正シンドローム多項式と消失位置多項式からユークリッド互除演算処理によって誤り評価多項式、誤り位置多項式を生成する。続くCHSブロック4は、EUCブロック3の処理結果D03である誤り評価多項式、誤り位置多項式から誤り位置、誤りパターンを求め、さらに受信信号rを訂正して出力信号cを出力する。
【0042】
これらのブロック2〜4のうち、EUCブロック3は、A列及びB列による2つのシフトレジスタと、ガロア体割算器、ガロア体乗算器、ガロア体加算器により構成され、この2つのシフトレジスタにユークリッド互除演算を実行する2つの多項式の係数を格納し、多項式同士の割算処理を繰り返す。
【0043】
図49〜図53は、このEUCブロック3を示す接続図である。EUCブロック3は、図49〜図53により示す各部を順次縦続接続して構成される。なお図49〜図53においては、信号線に付した符号により相互の接続関係を示す。すなわちEUCブロック3は、図49により示す割算ユニットDIVと、図50〜図53により示すと乗算加算ユニットMLTとにより構成される。このうち割算ユニットDIV(図49)は、ユークリッド互除演算における最上位の係数の割算を実行する割算器11、この割算器11に各種係数を設定する切替器12、最上位の係数を格納するレジスタ13A0、13B0、これらのレジスタ13A0、13B0を初期化し、さらには係数を格納する切替器14A0、14B01により構成される。
【0044】
これに対して乗算加算ユニットMLT(図50〜図53)は、各係数に対応する乗算器15B1〜15B12及び加算器16A1〜16A12、これら乗算器15B1〜15B12及び加算器16A1〜16A12への入力をそれぞれ切り替える切替器17AB1〜17AB12、各切替器17AB1〜17AB12の入力である係数をそれぞれセットするレジスタ18A1〜18A12、18B1〜18B12、各レジスタ18A1〜18A12、18B1〜18B12の入力を切り替える切替器19A1〜19A12、19B1〜19B12により構成される。
【0045】
これらのうちA列の切替器19A1〜19A12は、SYNブロック2からの対応する出力、対応する加算器16A1〜16A12の出力、A列の対応するレジスタ18A1〜18A12の出力、後段の加算器出力、論理0のプリセット値をA列のレジスタ18A1〜18A12に選択出力できるように構成され、またB列の切替器19B1〜19B12は、対応する加算器16A1〜16A12の出力、切替器17AB1〜17AB12の出力、論理0のプリセット値をB列のレジスタ18B1〜18B12に選択出力できるように構成される。なお最後段の切替器19A12においては、後段の加算器出力に対応する入力に、論理0のプリセット値が入力される。
【0046】
また切替器17AB1〜17AB12は、それぞれ対応するA列及びB列のレジスタ18A1〜18A12及び18B1〜18B12の出力を選択して対応する加算器16A1〜16A12に出力できるように構成され、また同様にしてA列及びB列のレジスタ18A1〜18A12及び18B1〜18B12の出力を乗算器15B1〜15B12に選択的に出力できるように構成される。これに対して乗算器15B1〜15B12は、割算器11の出力と切替器17AB1〜17AB12の出力とによる乗算値を出力し、加算器16A1〜16A12は、この乗算器15B1〜15B12の出力と切替器17AB1〜17AB12の出力とによる加算値を出力する。
【0047】
これにより乗算加算ユニットMLTにおいては、これら切替器17AB1〜17AB12、19A1〜19A12、19B1〜19B12の切替え制御により、A列及びB列のレジスタ18A1〜18A12、18B1〜18B12にそれぞれ2つの多項式の係数をセットし、このセットした係数と割算器11の出力とを用いて加算器16A1〜16A12及び乗算器15B1〜15B12により演算処理して、その結果得られる演算結果を、それぞれA列及びB列のレジスタ18A1〜18A12、18B1〜18B12にセットし、さらにはこの演算結果を続くA列のレジスタ18A1〜18A12にセットすることができるようになされている。
【0048】
これに対して割算ユニットDIVにおいて、A列の切替器14A0は、SYNブロック2からの対応する出力、レジスタ13A0の出力、後段である乗算加算ユニットMLTの加算器16A9の出力、論理0のプリセット値をA列のレジスタ18A1〜18A12に選択出力できるように構成され、またB列の切替器14B0は、切替器12の出力、論理1のプリセット値、乗算加算ユニットMLTにおけるレジスタ18A7の出力、レジスタ13B0の出力をレジスタ13B0に選択出力できるように構成される。これに対して切替器12は、レジスタ13A0及び13B0の選択出力をそれぞれ割算器11の分母側入力、分子側入力に切替えて出力するように構成され、割算器11は、割算結果を乗算加算ユニットMLTの切替え器19B1〜19B12に出力するようになされている。
【0049】
これらにより割り算ユニットDIVにおいても、最上位の係数をA列及びB列、さらには割算ユニットDIVにおける中間出力をレジスタ13A0、13B0にセットすることができるようになされ、このセットした係数により割算の処理を実行して、その結果得られる演算結果を割算ユニットDIVのB列のレジスタにセットできるようになされている。これらによりEUCブロック3は、所定の制御機構による切替器の制御により、2つの多項式から所望する多項式の係数を計算できるようになされている。
【0050】
これによりEUCブロック2は、1個の割算器11、2×p個(p:パリティ数)の乗算器15B1〜15B12、2×p個の加算器16A1〜16A12、多項式の係数を格納する4×p+2個のレジスタ18A1〜18A12、18B1〜18B12等により構成される。なおこの図50〜図53に示す構成においては、パリティー数pが6個の場合である。
【0051】
このような消失訂正回路においては、1つの演算器を時分割で使用することにより、回路構成を低減する構成が提案されるようになされている。すなわちこの構成の場合、例えばこのような時分割による多重度をLと置くと、乗算器及び乗算器の数をそれぞれ(2×p)/L個に少なくすることができる。なおこの場合、多項式の係数を格納するレジスタについては、2×L×(2×p)/L+3個となる。
【0052】
図54〜図59は、多重度L=3によるEUCブロックを示す接続図である。なおこの図54〜図59において、上述した図48〜図53のEUCブロック3と同一の構成は、対応する符号を付して示し、重複した説明は省略する。このEUCブロック23の乗算加算ユニットMLTにおいては(図56〜図59)、パリティー数pの2倍の段数によるA列及びB列のレジスタ18A1〜18A12、18B1/18B12にそれぞれ係数等を保持できるように構成される。乗算加算ユニットMLTは、これらA列及びB列のレジスタ18A1〜18A12、18B1/18B12が3個単位でグループ化され、各グループの先頭に配置されるA列及びB列のレジスタに対して、上述したEUCブロック3と同様に、加算器16A1〜16A10、乗算器15B1〜15B10、切替器17AB1〜17AB10が配置される。また各グループの最後尾に配置されるA列及びB列のレジスタに対しても、それぞれ上述したEUCブロック3と同様に、切替器19A3〜19A12、19B3〜19B12が配置される。なお切替器19A3〜19A12、19B3〜19B12においては、選択出力を供給するレジスタに代えて、各グループの先頭に配置されたレジスタ出力が供給されるようになされている。
【0053】
各グループにおいて、B系列は、各レジスタが直列に接続される。これに対してA系列は、それぞれ切替器24A1〜24A10、25A2、25A11を間に挟んで、レジスタが直列に接続される。ここで切替器24A1〜24A10は、係数の入力と、後段のレジスタ出力との選択出力を続くレジスタに出力できるように構成される。これに対して切替器25A2、25A11は、係数の入力と、後段のレジスタ出力と、論理0のプリセット値と、各グループに割り当てられた加算器16A1〜16A10の出力との選択出力を続くレジスタに出力できるようになされている。
【0054】
これらによりこの乗算加算ユニットMLTにおいては、切替器19A3〜19A12、24A1〜24A10、25A2、25A11を介して、各グループを構成するA列のレジスタに多項式の係数をセットした後、これらの係数を各グループ内で転送してB系列のレジスタにセットできるようになされ、さらに加算器16A1〜16A10、乗算器15B1〜15B10による演算結果をレジスタ18A1〜18A12、18B1〜18B12にセットできるようになされ、これらにより各グループ毎に加算器16A1〜16A10、乗算器15B1〜15B10を共用できるようになされている。
【0055】
このようなグループを単位にした乗算加算ユニットMLTの処理に対応するように、割算ユニットDIV(図55)は、切替器27を介して割算器11の出力を乗算加算ユニットMLTに出力するように構成される。ここで切替器27は、割算器11の出力を乗算加算ユニットMLTに出力し、またまたレジスタ28により割算器11の出力を保持して乗算加算ユニットMLTに出力し直し、さらにはこれらに代えて論理0のリセット値を出力できるようになされている。
【0056】
またEUCブロックでは、ELLユニット(図54)において、乗算加算ユニットMLTの最上位であるレジスタ13A0の出力を0検出回路29に受け、ここでこのレジスタ13A0の出力に論理0が発生するタイミングを検出する。またA列及びB列に対応する2つのレジスタDR及びDgの値を切替器30により切替え、このレジスタDR及びDgの値と、0検出回路29とによりステータスとをコントローラ25で判定して乗算加算ユニットMLTに配置した各切替器の動作を制御する。なお切替器30においては、A列に対応するレジスタDRに対して、所定の設定値p、レジスタDgの出力値、極性判定器(−1)を介して極性を判定してなるレジスタDRの出力値、極性判定器(−1)を介して極性を判定してなるレジスタDgの出力値の何れかを設定できるように構成される。またB列に対応するレジスタDgに対して、所定の設定値p+1、レジスタDRの出力値、レジスタDgの出力値の何れかを設定できるように構成される。
【0057】
【発明が解決しようとする課題】
ところで近年、種々のディジタル機器が開発されており、このようなディジタル機器においては、一般に、通常訂正と消失訂正との繰り返しによりエラー訂正するようになされている。しかしながら消失訂正のみ実行するシステムも近年提案されるようになされており、このようなシステムにおいては、通常訂正と消失訂正との双方を実行可能な消失訂正回路を用いて、消失訂正のみ実行するようになされていた。
【0058】
しかしながらこのように通常訂正と消失訂正との双方を実行可能な消失訂正回路を用いて、消失訂正のみ実行する場合、本来不必要である機能を無駄に含むことになり、その分、回路規模が無駄に増加することになり、特に、小型化が必要な機器においては、十分に改善の余地が残れていると考えられる。
【0059】
本発明は以上の点を考慮してなされたもので、簡易な構成により消失訂正に特化して消失訂正することができる消失訂正方法、消失訂正方法のプログラム、消失訂正方法のプログラムを記録した記録媒体及び消失訂正回路を提案しようとするものである。
【0060】
本発明の消失のみ訂正方法は、入力データからシンドローム多項式を求める第1のステップと、前記入力データに対応した消失フラグから消失位置多項式を求める第2のステップと、前記シンドローム多項式及び消失位置多項式から修正シンドローム多項式を求める第3のステップと、前記消失位置多項式から誤り位置多項式を求めると共に、前記誤り位置多項式の値を1とすることにより、前記修正シンドローム多項式から誤り評価多項式を求める第4のステップと、前記誤り位置多項式及び前記誤り評価多項式から誤り位置及び誤り値を求める第5のステップと、前記誤り位置及び前記誤り値を用いて前記入力データの誤りを訂正する第6のステップと、を有す
【0061】
本発明の消失のみ訂正方法のプログラムは、入力データからシンドローム多項式を求める第1のステップと、前記入力データに対応した消失フラグから消失位置多項式を求める第2のステップと、前記シンドローム多項式及び消失位置多項式から修正シンドローム多項式を求める第3のステップと、前記消失位置多項式から誤り位置多項式を求めると共に、前記誤り位置多項式の値を1とすることにより、前記修正シンドローム多項式から誤り評価多項式を求める第4のステップと、前記誤り位置多項式及び前記誤り評価多項式から誤り位置及び誤り値を求める第5のステップと、前記誤り位置及び前記誤り値を用いて前記入力データの誤りを訂正する第6のステップと、を有する。
【0062】
本発明の消失のみ訂正方法のプログラムを記録した記録媒体は、入力データからシンドローム多項式を求める第1のステップと、前記入力データに対応した消失フラグから消失位置多項式を求める第2のステップと、前記シンドローム多項式及び消失位置多項式から修正シンドローム多項式を求める第3のステップと、前記消失位置多項式から誤り位置多項式を求めると共に、前記誤り位置多項式の値を1とすることにより、前記修正シンドローム多項式から誤り評価多項式を求める第4のステップと、前記誤り位置多項式及び前記誤り評価多項式から誤り位置及び誤り値を求める第5のステップと、前記誤り位置及び前記誤り値を用いて前記入力データの誤りを訂正する第6のステップと、を有する。
【0063】
本発明の消失訂正専用回路は、入力データからシンドローム多項式を求める第1の演算手段と、前記入力データに対応した消失フラグから消失位置多項式を求める第2の演算手段と、前記シンドローム多項式及び消失位置多項式から修正シンドローム多項式を求める第3の演算手段と、前記消失位置多項式から誤り位置多項式を求めると共に、前記誤り位置多項式の値を1とすることにより、前記修正シンドローム多項式から誤り評価多項式を求める第4の演算手段と、前記誤り位置多項式及び前記誤り評価多項式から誤り位置及び誤り値を求める第5の演算手段と、前記誤り位置及び前記誤り値を用いて前記入力データの誤りを訂正する第6の演算手段と、を有する。
【0066】
【発明の実施の形態】
以下、適宜図面を参照しながら本発明の実施の形態を詳述する。
【0067】
(1)第1の実施の形態
(1−1)第1の実施の形態の構成
図1は、図47との対比により本発明の実施の形態に係る消失訂正のみの処理手順を示すフローチャートである。この実施の形態においては、ユークリッド互除演算処理を省略して、修正シンドローム多項式算出処理の後、誤り位置検出処理を実行する。さらにこの誤り位置検出処理においては、消失訂正のみ実行し、これらにより簡易な処理により消失訂正に特化して消失訂正することができるようになされている。
【0068】
なお以下の説明においては、元が2m であるガロア体GF(2m )上で定義される有限体を用いて、p個のパリティが付加された符号長nのRS符号を用いた場合の復号手順を示す。また符号全体にε個の消失シンボル(消失誤り)が存在する場合を考える。但し、εは、次式の関係式を満たすものとする。
【0069】
【数19】
Figure 0004595238
【0070】
またそれぞれ符号の先頭より数えた消失位置をUi (1≦i≦ε)とし、この消失位置の消失パターンをVi (1≦i≦ε)とする。またシンドローム多項式の係数は、シンドローム多項式S(x)の最高次の係数Sp-1 を最低次の係数に設定し、以下、最低次の係数S0 が最高次の係数になる迄、順次、係数の順序を入れ換えてなる逆順シンドローム多項式((22)式))を用いて復号することとする。なおこの逆順シンドローム多項式は、元のシンドローム多項式S(x)の根の逆数を根として持つ多項式であり、以下、適宜、単にシンドローム多項式と呼ぶ。
【0071】
このような前提において、エラー訂正処理においては、図1のステップSP11からステップSP12に移り、シンドロームの算出処理と消失位置多項式の算出処理を実行する。
【0072】
(シンドロームの算出)
ここでシンドロームの算出処理においては、受信信号である受信データrとパリティ検査行列Hとの積として、次式の演算処理によりp個のシンドロームSj (0≦j≦p−1)を求める。但しここで、Sはシンドローム、cは送信データ、eは誤りデータである。
【0073】
【数20】
Figure 0004595238
【0074】
シンドロームSは、誤りデータeが0の場合には、0となる。また符号長n、パリティ数pの場合のパリティ検査行列Hは、次式により表される。
【0075】
【数21】
Figure 0004595238
このようにして得られるシンドロームSj を係数に持つp−1次の多項式がシンドローム多項式であり、次式により表される。
【0076】
【数22】
Figure 0004595238
【0077】
ここで(数21)式より、消失位置Ui がαm の場合、パリティ検査行列Hにおける誤り位置のj行目の要素が(αm j =Ui j と表されることにより、シンドローム多項式の各係数Sj は、消失位置Ui 、消失パターンVi 、を用いて次式により表される。
【0078】
【数23】
Figure 0004595238
【0079】
従って、シンドローム多項式は、(数22)式及び(数23)式から、次式により表すことができ、これによりエラー訂正においては、入力データからシンドローム多項式を計算するようになされている。
【0080】
【数24】
Figure 0004595238
【0081】
(消失位置多項式の算出)
これに対して消失位置多項式の算出処理においては、上述したと同様にして定義する既知のε個の消失位置Uk からε次の消失位置多項式を定義する。消失位置多項式は、x=Uk (1≦k≦ε)において、値が0となる多項式で、次式のように設定することができ、これにより入力データに対応した消失フラグから消失位置多項式を求めるようになされている。
【0082】
【数25】
Figure 0004595238
【0083】
(修正シンドローム多項式の算出)
エラー訂正処理においては、このようにしてシンドローム多項式、消失位置多項式を計算すると、続くステップSP13において、修正シンドローム多項式の算出処理を実行する。ここでこの修正シンドローム多項式の算出処理は、消失位置多項式とシンドローム多項式の積のxp に対する剰余として、次式により修正シンドローム多項式を定義する。
【0084】
【数26】
Figure 0004595238
【0085】
ここでシンドローム多項式S(x)のj−k次の係数がSp-j-1+k で表されることにより、この修正シンドローム多項式においては、各次数の係数Tj (0≦j≦p−1)を次式で表すことができる。
【0086】
【数27】
Figure 0004595238
【0087】
【数28】
Figure 0004595238
【0088】
従ってこれらより修正シンドローム多項式のε次以上の項Tj (ε≦j)が値0でなければ、デコードすることが困難であることが判る。また、これらの修正シンドローム多項式の各係数から、修正シンドローム多項式は、次式により表すことができる。
【0089】
【数29】
Figure 0004595238
【0090】
これによりこの実施の形態によるエラー訂正処理においては、この演算処理によりシンドローム多項式及び消失位置多項式から修正シンドローム多項式を計算する。
【0091】
(誤り評価多項式の導出)
この実施の形態では、続くステップSP14において、誤り評価多項式を導出し、誤りパターンVを検出する。ここで誤り評価多項式は、Key equationを用いて次式により示すp−1次の多項式により表すことができる。なおここで消失誤りのみの処理であることにより、誤り位置多項式は、誤り位置多項式の値を1とおく。この演算処理により、この実施の形態では、誤り評価多項式を修正シンドローム多項式より導出するようになされている。なお誤り位置多項式については、消失位置多項式より求めるようになされている。
【0092】
【数30】
Figure 0004595238
【0093】
(消失パターンの算出)
このようにして消失位置多項式、誤り評価多項式が求まると、Forneyalgorithmにより、消失パターンVi (1≦i≦ν)を求めることができる。すなわち(数30)式による誤り評価多項式においては、次式に示すように変形することができる。
【0094】
【数31】
Figure 0004595238
【0095】
これに対して(数25)式による消失位置多項式を一次微分し、求めたい消失パターンVi の消失位置Ui を代入すると、次式の関係式を得ることができる。
【0096】
【数32】
Figure 0004595238
【0097】
【数33】
Figure 0004595238
【0098】
またこの消失位置多項式に、消失位置Uk (1≦k≦ε)のうちの任意の2つの消失位置Ui とUl (i≠l)を代入した場合、次式の関係式が成立する。
【0099】
【数34】
Figure 0004595238
【0100】
さらにこの(数34)式から次式の関係式を得ることができる。
【0101】
【数35】
Figure 0004595238
【0102】
従って、Ui ≠Ul の場合には、次式の関係式を得ることができる。
【0103】
【数36】
Figure 0004595238
【0104】
これらにより(数31)式による誤り評価多項式にx=Ui を代入し、(数33式)と(数36)式を用いて変形すると、次式の関係式を求めることができる。
【0105】
【数37】
Figure 0004595238
【0106】
これによりこの(数37)式より消失パターンVi を求めると、次式により消失パターンVi を求めることができる。
【0107】
【数38】
Figure 0004595238
【0108】
これによりこの実施の形態では、このステップSP14において、誤り位置多項式及び誤り評価多項式から誤り位置及び誤り値を求めるようになされている。
【0109】
(データの訂正)
このようにして消失パターンVi を求めると、続くステップSP15においてデータを訂正し、その後、ステップSP16でこの訂正したデータを出力する。このデータの訂正においては、受信信号rに対して、消失位置Ui において、消失パターンVi (1≦i≦ε)を加えることにより、受信信号の訂正を行う。
【0110】
図2は、図48との対比によりこの消失訂正処理手順による消失訂正専用回路を示すブロック図である。この消失訂正専用回路31は、EUCブロック33及びCHSブロック34の構成が異なる点を除いて、消失訂正回路1と同一に構成される。これによりこの実施の形態では、SYNブロック2が、入力データからシンドローム多項式を求める第1の演算手段と、入力データに対応した消失フラグから消失位置多項式を求める第2の演算手段とを構成するのに対し、EUCブロック33が、シンドローム多項式及び消失位置多項式から修正シンドローム多項式を求める第3の演算手段と、この修正シンドローム多項式及び消失位置多項式から誤り評価多項式及び誤り位置多項式を求める第4の演算手段を構成する。また続くCHSブロック34が、誤り位置多項式及び誤り評価多項式から誤り位置及び誤り値を求める第5の演算手段と、誤り位置及び誤り値を用いて入力データの誤りを訂正する第6の演算手段を構成するようになされている。
【0111】
かくするにつき図3は、この実施の形態に係る処理手順を図48について上述した処理手順との比較により示す図表である。消失のみ訂正の処理手順においては、消失訂正処理と異なり、修正シンドローム多項式が誤り評価多項式と等しく、また消失位置多項式が誤り位置多項式と等しくなることにより、ユークリッド互除演算を行なう必要がなくなるのである。これによりこの実施の形態では、消失訂正専用回路におけるEUCブロックの構造を簡略化することができ、簡易な処理により消失訂正に特化して消失訂正することができるようになされている。
【0112】
図4〜図8は、この実施の形態に係る消失訂正専用回路のEUCブロック33を示す接続図である。EUCブロック33は、修正シンドローム多項式と消失位置多項式とを演算する為に、1列のシフトレジスタ、ガロア体割算器、ガロア体乗算器、ガロア体加算器等により構成される。
【0113】
このうちガロア体割算器は、消失位置の逆数Ui -1を求めるために設けられ、このためEUCブロック33の内部に1つだけ配置されて割算ユニットDIV(図4)を構成するようになされている。すなわち消失フラグの位置情報は、図9に示されるように、入力時、符号の最後尾αn-1 から符号の先頭α0 の順で入力される。これによりここで検出される消失位置は、本来の消失位置Ui ではなく、符号を逆順にカウントしたものとなる。これにより(数25)式により表される消失位置多項式に適用する場合、本来の消失位置Ui の逆数Ui -1が必要となる。
【0114】
このため割算ユニットDIVにおいては、切替器35及び36を介してレジスタ37及び38に消失フラグの位置情報をセットし、割算器39によりレジスタ37及び38に格納したデータを割算することにより、次式の演算式によりこのUi -1による消失位置を計算するようになされている。
【0115】
【数39】
Figure 0004595238
【0116】
乗算加算ユニットMLT(図5〜図8)は、レジスタ、ガロア体乗算器及びガロア体加算器によるユニットをパリティー数に応じた所定個数だけカスケード接続して構成される。ここで1つのユニットは、図10に示すように、この乗算加算ユニットMLTにおける1列のシフトレジスタを構成するレジスタ41に対して、切替器40により係数等をセットできるように構成される。このユニットは、切替器42の選択出力と、後段側ユニットに配置されたレジスタ41の出力とを乗算器(ガロア体乗算器)43により乗算し、この乗算器43の乗算結果とレジスタ41の出力とを加算器44で加算するように構成される。
【0117】
レジスタ41の入力を切り替える切替器40においては、この乗算加算ユニットMLTのモードに応じて接点を切り替えるように制御される。すなわちレジスタ41の内容をクリアする場合、図11に示すように、論理0のリセット入力が選択されるようになされている。これに対して係数をレジスタにロードする場合、図12に示すように、SYNブロック2の対応する出力に接点が切替えられる。また図13に示すように、後段ユニットによる出力値をシフトさせる場合、この後段ユニットにおけるレジスタ41の出力を選択するように制御される。またこの後段のさらに後段ユニットによる出力値をシフトさせる場合、対応する後段ユニットにおけるレジスタ41の出力を選択するように制御される(符号3により示す接点である)。
【0118】
これに対して演算等の処理においては、加算器44の出力が選択される。すなわち図14に示すように、乗算器43の入力を切替える切替器42で値0の設定値を選択して乗算器43の出力を値0に設定し、加算器44の出力を切替器40により選択することにより、レジスタ41の出力をそのままレジスタ41にセットし直し、これによりホールドの処理が実行される。またこのホールドの設定において、図15に示すように、切替器42で割算ユニットDIVの出力を選択することにより、演算結果をレジスタ41に格納し、さらには続くユニットに出力できるようになされている。
【0119】
なお図5〜図8においては、この図10の各部に付した符号に添え字を付して各ユニットの対応する構成を示す。各ユニットにおいては、求められる動作に応じてこの図10に示す基本的な構成に対して、切替器40における入力が省略され、また乗算器43、加算器44が省略されるようになされている。
【0120】
ここでこの実施の形態では、修正シンドローム多項式の係数が最大でp個であり、また消失位置多項式の係数は最大p+1個であるのに対し、消失位置多項式の0次の係数は必ず1になる。これによりこの乗算加算ユニットMLTでは、修正シンドローム多項式及び消失位置多項式に対して、それぞれp個のユニット数である全体で2×p個のユニット数によりこのカスケード接続が構成され、これによりシフトレジスタの段数が2×p段に設定されるようになされている。これによりこの実施の形態においては、消失位置多項式の0次の係数は必ず1であることを有効に利用してシフトレジスタの段数を低減するようになされている。
【0121】
これらによりこのEUCブロック33では、修正シンドローム多項式と消失位置多項式とを格納するためのレジスタが2×p個必要となり、EUCブロック33全体では、1個のガロア体割算器、2×p個のガロア体乗算器、2×p個のガロア体加算器、2×p+2個のレジスタが必要となる。これによりこの実施の形態では、従来の消失訂正回路に比してレジスタを2×p個の削減し、さらにその分、制御回路の構成を簡略化できるようになされている。
【0122】
具体的には、パリティ数が6の場合(図4〜図8)、ガロア体割算器1個、ガロア体乗算器12個、ガロア体加算器12個、演算結果を格納するレジスタが14個が必要となる。
【0123】
図16は、このEUCブロック33のモードを示す図表である。EUCブロック33の動作は、この図表によるモードに区分される。ここでPIモードは、シンドロームと消失位置の係数を対応するレジスタにロードするモードであり、PMモードは、修正シンドローム多項式と消失位置多項式を求める演算を実行するモードである。またSIモードは、0次の係数を値1に設定して、レジスタに保持した演算結果をシフトアップするモードであり、SMモードは、最下位レジスタを0に設定してレジスタに保持した演算結果をシフトアップするモードである。
【0124】
図17は、EUCブロック33におけるモードの切替えを示すフローチャートであり、この図17に示すように、EUCブロック33は、PIモードより順次、PMモード、SIモード、SMモードにモードを切り替えて一連の処理を実行する。
【0125】
すなわちEUCブロック33は、図18に示すように、ステージ=0において、PIモードに設定され、まず初期値として、A1 〜Ap のレジスタに対してシンドロームS0 〜Sp-1 が格納され、Ap+1 〜A2pのレジスタに対して消失位置U1 〜Up が格納される。なお以下において、シフトレジスタを構成する各レジスタを、割算ユニットDIVから順次A0 〜A2pの符号により示す。
【0126】
さらに続くステージ(0<STAGE≦ε)においては、PMモードに設定され、消失位置U1 〜Up をシフトアップしつつ、シンドロームS0 〜Sp-1 と消失位置(1−Ui -1x)[1≦i≦ε]を順次乗算することにより、修正シンドローム多項式の係数Tp-1 〜T0 と消失位置多項式の係数uε〜u1 を求める。
【0127】
また続くステージ(ε<STAGE≦P)においては、SIモード、SMモードに設定され、各々の係数をp−ε回シフトアップして出力する。このときレジスタA1 の値が0かどうかをチェックし、A1 =0であれば正復号し、A1 ≠0であればデコードfailrであること(信号誤り)を上位のコントローラに通知する。なおSIモードにおいては、事前に、U0 =1をA2Pに設定する。
【0128】
より具体的に、図4〜図8との対比により図19及び図20に示すように、p=6、ε=6の場合、EUCブロック33は、ステージ0において、レジスタA0 〜A6 にシンドロームS0 〜S6 が格納され、またレジスタA7 〜A12に消失位置U1 〜U6 が格納される。さらに最上位のレジスタA0 と、レジスタA7 〜A12の間でシフトの処理が実行されると共に、最下位のレジスタA12が値0にリセットされ、ステージ1の状態が形成される。さらにPMモードにより、同様の、レジスタA0 とA7 〜A12の間でシフトの処理が実行されると共に、レジスタA1 〜A5 において、下位側のレジスタA2 〜A6 の内容との間でガロア演算して演算結果をセットし直すことにより、ステージ2の状態が形成される。なおここでシンドロームS6 を保持したレジスタA6 がホールドの状態に保持され、最下位のレジスタA12は、ガロア割算器(DIV)の演算結果がセットされる。
【0129】
また続いて、同様に、レジスタA0 とA7 〜A11の間でシフトの処理が実行され、またレジスタA1 〜A5 において、下位側のレジスタA2 〜A6 の内容との間でガロア演算して演算結果をセットし直すことにより、ステージ3の状態が形成される。なおここでシンドロームS6 を保持したレジスタA6 がホールドの状態に保持され、最下位レジスタA12は、ガロア割算器(DIV)の演算結果、続くレジスタA11は、最下位レジスタA12との間のガロア演算結果がセットされる。
【0130】
このようにレジスタを順次切り替えて、ホールド、シフト、演算の処理が繰り返されることにより、EUCブロック33は、順次ステージを切り替えるようになされている。なお図22及び図23は、図20及び図21との対比により示すp=6、ε=2の場合の状態遷移である。
【0131】
このような演算結果により、修正シンドローム多項式T及び消失位置多項式の係数は、図23に示すように表される。修正シンドローム多項式の最高時の係数が常にレジスタA1 に格納され、また消失位置多項式の最高次係数が常にレジスタAP+1 に格納されることになる。ただし、p=εの場合には、消失位置多項式の0次の係数が省略され、消失位置多項式のε次〜1次の係数のみがレジスタAP+1 〜A2Pに格納される。これによりレジスタを2p段により構成した場合でも、p≦εを条件に、デコードできるようになされている。
【0132】
(1−2)第1の実施の形態の効果
以上の構成によれば、消失訂正のみを実行する場合に不要となるユークリッド演算機能を削除し、この削除に対応する構成とすることにより、簡易な構成により消失訂正に特化して消失訂正することができる。
【0133】
すなわちガロア体加算器、ガロア体乗算器、レジスタによるユニットのカスケード接続による構成によって、修正シンドローム多項式及び消失位置多項式から誤り評価多項式及び誤り位置多項式を求めることにより、ユークリッド演算によらないで誤り評価多項式及び誤り位置多項式を求めることができ、簡易な構成により消失訂正に特化して消失訂正することができる。
【0134】
またこのとき消失位置多項式の0次の項が必ず1であるように設定して、消失位置多項式の係数の最大値p+1個に対して、ユニットの数を2×p個に設定することにより、全体構成を簡略化することができる。
【0135】
また修正シンドローム多項式の消失個数ε次以上の係数が0以外の場合、デコードfailerであることを出力することによっても、全体構成を簡略化することができる。
【0136】
(2)第2の実施の形態
この実施の形態においては、EUCブロックにいわゆる多重化の構成を適用する。すなわちEUCブロックにおいて、1つのガロア体演算器を複数の係数の演算に時分割により使用することにより、これら複数の係数の演算でガロア体演算器を共用し、その分、EUCブロックの回路構成を簡略化する。
【0137】
すなわち時分割による多重度をLと置くと、多重化による構成においては、1個のガロア体割算器、(2×p)/L個のガロア体乗算器、(2×p)/L個のガロア体加算器、((L+1)×(2×p)/L)+3個のレジスタによりEUCブロックを構成することができ、その分、回路構成を簡略化することができる。これにより従来の消失訂正との比較により、((L−1)×(2×p)/L)個、レジスタを削減することができ、またその分、制御回路の構成を簡略化することができる。
【0138】
図24〜図28は、この実施の形態に係る消失訂正専用回路に適用されるEUCブロックを示す接続図である。この実施の形態において、割算ユニットDIVは、切替器54により乗算加算ユニットMLTに割り当てられた所定のレジスタ出力(図27)又はレジスタ37の出力を選択的にレジスタ37にセットできるように構成される。また切替器36により、レジスタ38の出力、論理1のリセット値を選択的にレジスタ38にセットできるように構成される。また切替器55、レジスタ56を介して、割算器39の出力を乗算加算ユニットMLTに出力できるようになされ、さらにはこの出力を保持できるようになされている。
【0139】
これに対して乗算加算ユニットMLTは、図29に示す基本的な構成によるユニットのカスケード接続により形成される。ここでこのユニットにおいては、それぞれ入力側に切替器60、61、62を多重度Lに対応する3段のレジスタ57、58、59が直列に接続されて配置される。このユニットは、割算ユニットDIVの出力、論理0のリセット値、論理1のリセット値を切替器63により選択して乗算器64に入力し、この乗算器64により切替器63の出力と真ん中に配置したレジスタ58の出力とを乗算する。また最上段のレジスタ57の出力、論理0のリセット値を切替器66により選択して加算器67に入力し、この加算器67で乗算器64の出力と乗算して最下段の切替器62に入力する。
【0140】
各レジスタ57、58、59の切替器60、61、62は、対応する多項式の係数、後段のレジスタ出力を選択できるように構成される。また最後段の切替器62においては、論理1のリセット値、加算器67の出力値を選択できるように構成される。また最上段の切替器60は、切替器73、レジスタ74を介して加算器67の出力、さらにはこの出力の保持値を選択できるようになされている。
【0141】
これらによりユニットにおいては、図30に示すように切替器60〜62を設定することにより、シンドローム多項式の係数、消失位置多項式の係数を対応するレジスタに設定できるようになされている。EUCブロック53は、第1の実施の形態について上述したと同一のモードの切替えにより動作するように構成され、この図30に示す設定が、第1の実施の形態について上述したPIモード等におけるロードの処理に対応するようになされている。
【0142】
またSI、SMモードに対応するホールドの処理においては、図31に示すように、各ユニットのレジスタ57〜59、74間でデータを転送して実行される。なおこの図31における各サイクルSYCに対応する切替器60〜62、63、73の設定を図32〜図35に示す。またPIモードにおけるシフトにおいては、図36に示す繰り返しの処理により実行される。なおこの図36における各サイクルSYCに対応する切替器60〜62、63、73の設定を図37〜図40に示す。
【0143】
またPMモードにおける演算の処理においては、図41に示す繰り返しの処理により実行される。なおこの図41における各サイクルSYCに対応する切替器60〜62、63、73の設定を図42〜図45に示す。またこれらより演算処理を伴うシフトの処理においては、図46に示す繰り返しの処理により実行される。
【0144】
この実施の形態によれば、1つのガロア体演算器を複数の係数の演算に時分割により使用して、複数の係数の演算で共用することにより、その分、さらに一段と全体構成を簡略化することができる。
【0145】
(3)他の実施の形態
なお上述の実施の形態においては、パリティー数p=6の場合について述べたが、本発明はこれに限らず、種々のパリティー数の場合に広く適用することができる。
【0146】
さらに上述の実施の形態においては、多重度を3に設定する場合について述べたが、本発明はこれに限らず、種々の多重度による場合に広く適用することができる。
【0147】
【発明の効果】
上述のように本発明によれば、消失訂正のみを実行する場合に不要となるユークリッド演算機能を削除し、この削除に対応する構成とすることにより、簡易な構成により消失訂正に特化して消失訂正することができる。
【図面の簡単な説明】
【図1】本発明の第1の実施の形態に係る消失訂正の処理手順を示すフローチャートである。
【図2】図1の処理手順による消失訂正専用回路を示すブロック図である。
【図3】従来の処理手順との比較により図1の処理手順を示すタイムチャートである。
【図4】図2の消失訂正専用回路におけるEUCブロックを示す接続図である。
【図5】図4の続きを示す接続図である。
【図6】図5の続きを示す接続図である。
【図7】図6の続きを示す接続図である。
【図8】図7の続きを示す接続図である。
【図9】図4のEUCブロックにおける消失位置の説明に供する図表である。
【図10】図3のEUCブロックにおけるユニットの基本的な構成を示す接続図である。
【図11】図10のユニットのクリアの処理における接続を示す図である。
【図12】図10のユニットのロードの処理における接続を示す図である。
【図13】図10のユニットのシフトの処理における接続を示す図である。
【図14】図10のユニットのホールドの処理における接続を示す図である。
【図15】図10のユニットの演算処理における接続を示す図である。
【図16】図4のEUCブロックにおけるモードの説明に供する図表である。
【図17】図4のEUCブロックにおけるモードの遷移の説明に供するフローチャートである。
【図18】図17のモードの遷移の説明に供する略線図である。
【図19】図17のモードの遷移に対応するレジスタの変化を示す略線図である。
【図20】図19の続きを示す略線図である。
【図21】図19との対比によりε=2の場合を示す略線図である。
【図22】図21の続きを示す略線図である。
【図23】図4のEUCブロックにおけるレジスタの内容を示す図表である。
【図24】本発明の第2の実施の形態に係る消失訂正専用回路に適用されるEUCブロックを示す接続図である。
【図25】図24の続きを示す接続図である。
【図26】図25の続きを示す接続図である。
【図27】図26の続きを示す接続図である。
【図28】図27の続きを示す接続図である。
【図29】図24のEUCブロックにおけるユニットの基本的な構成を示す接続図である。
【図30】図29のユニットのロードの処理における接続を示す図である。
【図31】図29のユニットのホールド処理におけるレジスタの内容の変化を示す図である。
【図32】図29のユニットのホールドの処理における接続を示す図である。
【図33】図32の続きを示す接続図である。
【図34】図33の続きを示す接続図である。
【図35】図34の続きを示す接続図である。
【図36】図29のユニットのシフトの処理におけるレジスタの内容の変化を示す図である。
【図37】図29のユニットのシフトの処理における接続を示す図である。
【図38】図37の続きを示す接続図である。
【図39】図38の続きを示す接続図である。
【図40】図39の続きを示す接続図である。
【図41】図29のユニットの演算処理におけるレジスタの内容の変化を示す図である。
【図42】図29のユニットの演算処理における接続を示す図である。
【図43】図42の続きを示す接続図である。
【図44】図43の続きを示す接続図である。
【図45】図44の続きを示す接続図である。
【図46】図29のユニットのシフトの処理を伴う演算処理におけるレジスタの内容の変化を示す図である。
【図47】従来の消失訂正処理の処理手順を示すフローチャートである。
【図48】図47の処理手順による消失訂正回路を示すブロック図である。
【図49】図48の消失訂正回路に適用されるEUCブロックを示す接続図である。
【図50】図49の続きを示す接続図である。
【図51】図50の続きを示す接続図である。
【図52】図51の続きを示す接続図である。
【図53】図52の続きを示す接続図である。
【図54】多重化に係るEUCブロックを示す接続図である。
【図55】図54の続きを示す接続図である。
【図56】図55の続きを示す接続図である。
【図57】図56の続きを示す接続図である。
【図58】図57の続きを示す接続図である。
【図59】図58の続きを示す接続図である。
【符号の説明】
1……消失訂正回路、2……SYNブロック、3、33、53……EUCブロック、4、34……CHSブロック[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an erasure-only correction method, an erasure-only correction method program, a recording medium storing the erasure-only correction method program, and an erasure correction dedicated circuit, for example, for error correction processing in a data recording / reproducing apparatus and data transmitting / receiving apparatus. More specifically, the present invention can be applied to a data recorder, a data transmission device, and the like. The present invention eliminates the Euclidean arithmetic function that is unnecessary when only erasure correction is performed, and adopts a configuration corresponding to this deletion, so that erasure correction can be performed with a simple configuration specialized for erasure correction. To.
[0002]
[Prior art]
Conventionally, in various data processing apparatuses, error correction is performed by repeating normal correction and erasure correction. That is, FIG. 47 is a flowchart showing the processing procedure of this series of error correction processing.
[0003]
In the following explanation, the original is 2mGalois field GF (2m) A decoding procedure when an RS (Reed-Solomon) code having a code length n to which p parities are added using the finite field defined above is shown. Consider a case where ε erasure symbols (erasure errors) and ν errors (normal errors) exist in addition to the erasure positions in the entire code. However, ε and ν satisfy the following relational expression.
[0004]
[Expression 1]
Figure 0004595238
[0005]
Also, the erasure positions counted from the beginning of each code are Ui(1 ≦ i ≦ ε), and the disappearance pattern of this disappearance position is Vi(1 ≦ i ≦ ε). Similarly, error positions other than the erasure symbol shown are Xi(1 ≦ i ≦ ν), and the error pattern at this error position is Yi(1 ≦ i ≦ ν). The coefficient of the syndrome polynomial is the highest order coefficient S of the syndrome polynomial S (x).p-1 Is set to the lowest order coefficient, and hereinafter, the lowest order coefficient S0 Are decoded using a reverse syndrome polynomial (equation (4)) in which the order of the coefficients is sequentially changed until. Note that this reverse-order syndrome polynomial is a polynomial having the root of the inverse of the original syndrome polynomial S (x) as a root, and hereinafter simply referred to as a syndrome polynomial as appropriate.
[0006]
Under such a premise, in the error correction process, the error position X other than the lost symbol is obtained by the process of FIG.iAnd all error patterns ViAnd YiAnd ask. That is, in the error correction process, the process proceeds from step SP1 to step SP2, and the syndrome calculation process and the erasure position polynomial calculation process are executed.
[0007]
(Calculation of syndrome)
Here, in the syndrome calculation process, as the product of the reception data r, which is the received signal, and the parity check matrix H, p syndromes S are calculated by the following calculation process.j(0 ≦ j ≦ p−1) is obtained. Here, S is a syndrome, c is transmission data, and e is error data.
[0008]
[Expression 2]
Figure 0004595238
[0009]
The syndrome S is 0 when the error data e is 0. Further, the parity check matrix H in the case of the code length n and the parity number p is expressed by the following equation.
[0010]
[Equation 3]
Figure 0004595238
Syndrome S obtained in this wayjIs a syndrome polynomial, and is expressed by the following equation.
[0011]
[Expression 4]
Figure 0004595238
[0012]
Here, from the formula (3), the disappearance position UiIs αm, The element in the jth row of the error position in the parity check matrix H is (αm)j= Ui jIs expressed by each coefficient S of the syndrome polynomial.jIs the disappearance position Ui, Error position Xi, Disappearance pattern Vi, Error pattern YiIs expressed by the following equation.
[0013]
[Equation 5]
Figure 0004595238
[0014]
Therefore, the syndrome polynomial can be expressed by the following equation from the equations (4) and (5), and the syndrome polynomial S (x) is calculated in error correction.
[0015]
[Formula 6]
Figure 0004595238
[0016]
(Calculation of erasure position polynomial)
On the other hand, in the calculation process of the erasure position polynomial, the known ε erasure positions U defined in the same manner as described above.sΕ-order erasure position polynomial is defined. The erasure position polynomial is x = UsIn (1 ≦ s ≦ ε), a polynomial with a value of 0 can be set as follows:
[0017]
[Expression 7]
Figure 0004595238
[0018]
(Calculation of modified syndrome polynomial)
In the error correction process, the process proceeds to step SP3, and a correction syndrome polynomial calculation process is executed. Here, the calculation process of the modified syndrome polynomial is performed by x of the product of the erasure position polynomial and the syndrome polynomial.pA modified syndrome polynomial is defined as the remainder for
[0019]
[Equation 8]
Figure 0004595238
[0020]
(Derivation of error location polynomial and error evaluation polynomial)
Subsequently, in the error correction process, the process proceeds to step SP4, and an error position polynomial and an error evaluation polynomial are derived by the Euclidean mutual division calculation process. That is, the error locator polynomial is similar to the erasure locator polynomial as x = XtIn (1 ≦ t ≦ ν), Equation (7) is a polynomial value 0, and can be set as the following equation.
[0021]
[Equation 9]
Figure 0004595238
[0022]
The error evaluation polynomial is a p−1 order polynomial expressed by the following equation using the key equation, and the modified syndrome polynomial T (x) described above with respect to the equation (8) and the equation (9) It can be obtained from the expressed error locator polynomial.
[0023]
[Expression 10]
Figure 0004595238
[0024]
(Calculation of error pattern and erasure pattern)
Subsequently, the error correction process proceeds to step SP5, where an error position is detected and an error pattern is detected. That is, in the error correction process, when the error position polynomial according to Equation (9), the erasure position polynomial according to Equation (7), and the error evaluation polynomial according to Equation (10) are obtained, the error pattern Y is calculated according to Forney algorithm.i(1 ≦ i ≦ ε), disappearance pattern Vi(1 ≦ i ≦ ν) can be obtained.
[0025]
That is, in the processing by Forney algorithm, a product polynomial obtained by multiplying the error position polynomial and the erasure position polynomial is defined by the following equation.
[0026]
## EQU11 ##
Figure 0004595238
[0027]
First, the error pattern YiAs shown by the following equation, the product polynomial represented by the equation (11) is first-order differentiated to obtain the error pattern Y to be obtained.iError position XiIs assigned.
[0028]
[Expression 12]
Figure 0004595238
[0029]
[Formula 13]
Figure 0004595238
[0030]
Here, x = X in the error evaluation polynomial expressed by the equation (10)iAnd substituting Eq. (13), the following equation can be obtained.
[0031]
[Expression 14]
Figure 0004595238
[0032]
This equation (14) can be modified as the following equation, whereby the error pattern YiCan be requested.
[0033]
[Expression 15]
Figure 0004595238
[0034]
On the other hand, disappearance pattern ViAs shown by the following equation, the disappearance pattern V to be obtained is obtained by the first derivative of the product polynomial represented by the equation (12).iError position UiIs assigned.
[0035]
[Expression 16]
Figure 0004595238
[0036]
Here, the error evaluation polynomial expressed by the equation (10) is expressed as x = UiAnd substituting and using the equation (16), the following equation can be obtained.
[0037]
[Expression 17]
Figure 0004595238
[0038]
This (Equation 17) can be modified as shown in the following equation, whereby the disappearance pattern ViCan be requested.
[0039]
[Expression 18]
Figure 0004595238
[0040]
(Correction of data)
In the error correction process, when the error pattern and the erasure pattern are detected in this way, the error position X is detected with respect to the reception data r as the reception signal in the subsequent step SP6.iError pattern YiBy adding (1 ≦ i ≦ v), the disappearance position UiIn erasure pattern ViAfter the received data r is corrected by adding (1 ≦ i ≦ ε), the process proceeds to step SP7 to output error-corrected data.
[0041]
FIG. 48 is a block diagram showing an erasure correction circuit for executing such error correction processing. In the erasure correction circuit 1, the SYN block 2 calculates a syndrome from the received signal r to generate a syndrome polynomial, and generates an erasure position polynomial from the erasure flag U. The following EUC block 3 generates a corrected syndrome polynomial from the syndrome polynomial and erasure position polynomial which are the processing result D02 of the SYN block 2, and also uses the Euclidean algorithm to calculate an error evaluation polynomial and error from the corrected syndrome polynomial and erasure position polynomial. Generate a position polynomial. The subsequent CHS block 4 obtains an error position and an error pattern from the error evaluation polynomial and error position polynomial, which are the processing results D03 of the EUC block 3, further corrects the received signal r and outputs an output signal c.
[0042]
Among these blocks 2 to 4, the EUC block 3 is composed of two shift registers of A columns and B columns, a Galois field divider, a Galois field multiplier, and a Galois field adder. The coefficients of two polynomials that perform Euclidean mutual division are stored in, and division processing between the polynomials is repeated.
[0043]
49 to 53 are connection diagrams showing the EUC block 3. The EUC block 3 is configured by serially connecting the units shown in FIGS. 49 to 53. In FIG. 49 to FIG. 53, the mutual connection relationship is indicated by the reference numerals attached to the signal lines. That is, the EUC block 3 includes a division unit DIV shown in FIG. 49 and a multiplication / addition unit MLT as shown in FIGS. Among them, the division unit DIV (FIG. 49) includes a divider 11 that performs division of the highest coefficient in the Euclidean mutual division calculation, a switch 12 that sets various coefficients in the divider 11, and a highest coefficient. Are stored in registers 13A0 and 13B0, and these registers 13A0 and 13B0 are initialized, and further, switches 14A0 and 14B01 that store coefficients.
[0044]
On the other hand, the multiplication / addition unit MLT (FIGS. 50 to 53) inputs the multipliers 15B1 to 15B12 and the adders 16A1 to 16A12 corresponding to the respective coefficients, and inputs to the multipliers 15B1 to 15B12 and the adders 16A1 to 16A12. Switches 17AB1 to 17AB12 for switching, registers 18A1 to 18A12, 18B1 to 18B12 for setting coefficients that are input to the switches 17AB1 to 17AB12, and switches 19A1 to 19A12 for switching inputs of the registers 18A1 to 18A12, 18B1 to 18B12 , 19B1 to 19B12.
[0045]
Among these, the A column switching units 19A1 to 19A12 are the corresponding outputs from the SYN block 2, the outputs of the corresponding adders 16A1 to 16A12, the outputs of the corresponding registers 18A1 to 18A12 of the A column, the output of the subsequent stage, The logic 0 preset value can be selectively output to the A column registers 18A1 to 18A12, and the B column switching units 19B1 to 19B12 are outputs of the corresponding adders 16A1 to 16A12 and switching units 17AB1 to 17AB12. The logic 0 preset value can be selectively output to the B-column registers 18B1 to 18B12. In the last stage switch 19A12, a preset value of logic 0 is input to the input corresponding to the output of the subsequent stage adder.
[0046]
The switchers 17AB1 to 17AB12 are configured to select the outputs of the corresponding A column and B column registers 18A1 to 18A12 and 18B1 to 18B12 and output them to the corresponding adders 16A1 to 16A12, respectively. The outputs of the A column and B column registers 18A1 to 18A12 and 18B1 to 18B12 can be selectively output to the multipliers 15B1 to 15B12. On the other hand, the multipliers 15B1 to 15B12 output a multiplication value based on the output of the divider 11 and the outputs of the switchers 17AB1 to 17AB12, and the adders 16A1 to 16A12 switch between the outputs of the multipliers 15B1 to 15B12. The added value based on the outputs of the devices 17AB1 to 17AB12 is output.
[0047]
Thereby, in the multiplication and addition unit MLT, the coefficients of two polynomials are respectively applied to the A column and B column registers 18A1 to 18A12 and 18B1 to 18B12 by switching control of these switches 17AB1 to 17AB12, 19A1 to 19A12, 19B1 to 19B12. Set, the adder 16A1 to 16A12 and the multipliers 15B1 to 15B12 perform arithmetic processing using the set coefficient and the output of the divider 11, and the calculation results obtained as a result are respectively stored in the columns A and B. The registers 18A1 to 18A12 and 18B1 to 18B12 are set, and further, the operation result can be set to the registers 18A1 to 18A12 in the A column.
[0048]
On the other hand, in the division unit DIV, the A column switch 14A0 outputs the corresponding output from the SYN block 2, the output of the register 13A0, the output of the adder 16A9 of the subsequent multiplication addition unit MLT, and the logic 0 preset. A value can be selected and output to the registers 18A1 to 18A12 in the A column, and the switch 14B0 in the B column includes the output of the switch 12, the preset value of logic 1, the output of the register 18A7 in the multiplication and addition unit MLT, the register The output of 13B0 can be selectively output to the register 13B0. On the other hand, the switch 12 is configured to switch the selected outputs of the registers 13A0 and 13B0 to the denominator side input and the numerator side input of the divider 11, respectively, and the divider 11 outputs the division result. The data is output to the switches 19B1 to 19B12 of the multiplication / addition unit MLT.
[0049]
As a result, also in the division unit DIV, the highest coefficients can be set in the columns A and B, and the intermediate output in the division unit DIV can be set in the registers 13A0 and 13B0. Thus, the operation result obtained as a result can be set in the register in the B column of the division unit DIV. As a result, the EUC block 3 can calculate a coefficient of a desired polynomial from two polynomials under the control of a switch by a predetermined control mechanism.
[0050]
As a result, the EUC block 2 stores one divider 11, 2 × p (p: number of parity) multipliers 15B1 to 15B12, 2 × p adders 16A1 to 16A12, and polynomial coefficients 4 × p + 2 registers 18A1 to 18A12, 18B1 to 18B12, etc. In the configuration shown in FIGS. 50 to 53, the number of parity p is six.
[0051]
In such an erasure correction circuit, a configuration for reducing the circuit configuration by using one arithmetic unit in a time division manner has been proposed. That is, in this configuration, for example, when the multiplicity by such time division is set to L, the number of multipliers and multipliers can be reduced to (2 × p) / L, respectively. In this case, the number of registers storing polynomial coefficients is 2 × L × (2 × p) / L + 3.
[0052]
54 to 59 are connection diagrams showing EUC blocks with multiplicity L = 3. 54 to 59, the same configurations as those of the EUC block 3 in FIGS. 48 to 53 described above are denoted by the corresponding reference numerals, and redundant description is omitted. In the multiplication and addition unit MLT of the EUC block 23 (FIGS. 56 to 59), the coefficients and the like can be held in the A column and B column registers 18A1 to 18A12 and 18B1 / 18B12 by the number of stages twice the number of parity p, respectively. Configured. In the multiplication and addition unit MLT, the A column and B column registers 18A1 to 18A12 and 18B1 / 18B12 are grouped in units of three, and the A column and B column registers arranged at the head of each group are described above. Similarly to the EUC block 3, adders 16A1 to 16A10, multipliers 15B1 to 15B10, and switchers 17AB1 to 17AB10 are arranged. Similarly to the EUC block 3 described above, the switches 19A3 to 19A12 and 19B3 to 19B12 are also arranged for the registers in the A column and the B column arranged at the end of each group. In the switches 19A3 to 19A12 and 19B3 to 19B12, the register output arranged at the head of each group is supplied instead of the register that supplies the selection output.
[0053]
In each group, in the B series, each register is connected in series. On the other hand, in the A series, the registers are connected in series with the switches 24A1 to 24A10, 25A2, and 25A11 interposed therebetween. Here, the switchers 24A1 to 24A10 are configured to output a selection output of a coefficient input and a subsequent register output to a subsequent register. On the other hand, the switching devices 25A2 and 25A11 use the following registers to select outputs of the coefficient, the subsequent register output, the logic 0 preset value, and the outputs of the adders 16A1 to 16A10 assigned to each group. It can be output.
[0054]
As a result, in this multiplication and addition unit MLT, polynomial coefficients are set in the registers of the A columns constituting each group via the switches 19A3 to 19A12, 24A1 to 24A10, 25A2, and 25A11, and then these coefficients are set to the respective coefficients. The data can be transferred within the group and set in the B series register, and the operation results by the adders 16A1 to 16A10 and the multipliers 15B1 to 15B10 can be set in the registers 18A1 to 18A12 and 18B1 to 18B12. The adders 16A1 to 16A10 and the multipliers 15B1 to 15B10 can be shared for each group.
[0055]
The division unit DIV (FIG. 55) outputs the output of the divider 11 to the multiplication and addition unit MLT via the switch 27 so as to correspond to the processing of the multiplication and addition unit MLT in units of such groups. Configured as follows. Here, the switch 27 outputs the output of the divider 11 to the multiplication / addition unit MLT, holds the output of the divider 11 by the register 28, and outputs it again to the multiplication / addition unit MLT. Thus, a reset value of logic 0 can be output.
[0056]
In the EUC block, in the ELL unit (FIG. 54), the 0 detection circuit 29 receives the output of the register 13A0, which is the highest level of the multiplication and addition unit MLT, and detects the timing at which logic 0 is generated in the output of the register 13A0. To do. Further, the values of the two registers DR and Dg corresponding to the A column and the B column are switched by the switch 30, and the values of the registers DR and Dg and the status of the 0 detection circuit 29 are determined by the controller 25 and multiplied and added. The operation of each switching device arranged in the unit MLT is controlled. In the switch 30, for the register DR corresponding to the A column, a predetermined set value p, the output value of the register Dg, and the output of the register DR that determines the polarity via the polarity determiner (−1). Any one of the output values of the register Dg, which is determined by determining the polarity via the value / polarity determination unit (-1), can be set. The register Dg corresponding to the B column can be set to any one of a predetermined set value p + 1, an output value of the register DR, and an output value of the register Dg.
[0057]
[Problems to be solved by the invention]
In recent years, various digital devices have been developed, and in such digital devices, error correction is generally performed by repeating normal correction and erasure correction. However, systems that perform only erasure correction have been proposed in recent years. In such systems, only erasure correction is performed using an erasure correction circuit that can perform both normal correction and erasure correction. It was made to.
[0058]
However, when only the erasure correction is performed using the erasure correction circuit capable of performing both the normal correction and the erasure correction in this way, the function that is originally unnecessary is included in vain, and the circuit scale is accordingly increased. It will increase uselessly, and it is considered that there is still room for improvement, especially in devices that require downsizing.
[0059]
The present invention has been made in consideration of the above points, and a erasure correction method capable of performing erasure correction specialized for erasure correction with a simple configuration, a program of the erasure correction method, and a record recording the program of the erasure correction method A medium and erasure correction circuit are proposed.
[0060]
  The erasure-only correction method of the present invention isA first step of obtaining a syndrome polynomial from input data; a second step of obtaining an erasure position polynomial from an erasure flag corresponding to the input data; and a third step of obtaining a modified syndrome polynomial from the syndrome polynomial and erasure position polynomial. When,An error position polynomial is obtained from the erasure position polynomial, and an error evaluation polynomial is obtained from the modified syndrome polynomial by setting the value of the error position polynomial to 1.A fourth step, the error locator polynomial andSaidA fifth step of obtaining an error position and an error value from an error evaluation polynomial;SaidAnd a sixth step of correcting an error of the input data using an error value.Ru.
[0061]
  The program of the erasure only correction method of the present invention includes a first step of obtaining a syndrome polynomial from input data, a second step of obtaining an erasure position polynomial from an erasure flag corresponding to the input data, the syndrome polynomial and the erasure position. A third step of obtaining a corrected syndrome polynomial from a polynomial; and a fourth step of obtaining an error evaluation polynomial from the corrected syndrome polynomial by obtaining an error position polynomial from the erasure position polynomial and setting the value of the error position polynomial to 1. A fifth step of obtaining an error position and an error value from the error position polynomial and the error evaluation polynomial, and a sixth step of correcting an error of the input data using the error position and the error value. Have.
[0062]
  The recording medium recording the program of the erasure only correction method of the present invention includes a first step of obtaining a syndrome polynomial from input data, a second step of obtaining an erasure position polynomial from an erasure flag corresponding to the input data, A third step of obtaining a corrected syndrome polynomial from the syndrome polynomial and the erasure position polynomial; and obtaining an error position polynomial from the erasure position polynomial and setting the value of the error position polynomial to 1, thereby evaluating the error from the corrected syndrome polynomial. A fourth step of obtaining a polynomial; a fifth step of obtaining an error position and an error value from the error position polynomial and the error evaluation polynomial; and correcting an error in the input data using the error position and the error value. And a sixth step.
[0063]
  The dedicated circuit for erasure correction according to the present invention includes a first computing means for obtaining a syndrome polynomial from input data, a second computing means for obtaining an erasure position polynomial from an erasure flag corresponding to the input data, the syndrome polynomial and the erasure position. A third computing means for obtaining a corrected syndrome polynomial from a polynomial; an error position polynomial from the erasure position polynomial; and an error evaluation polynomial from the corrected syndrome polynomial by obtaining a value of 1 for the error position polynomial. 4 arithmetic means, fifth arithmetic means for obtaining an error position and error value from the error position polynomial and the error evaluation polynomial, and sixth error correcting the input data using the error position and error value And calculating means.
[0066]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings as appropriate.
[0067]
(1) First embodiment
(1-1) Configuration of the first embodiment
FIG. 1 is a flowchart showing a processing procedure of only erasure correction according to the embodiment of the present invention in comparison with FIG. In this embodiment, the Euclidean mutual division calculation process is omitted, and the error position detection process is executed after the correction syndrome polynomial calculation process. Furthermore, in this error position detection process, only erasure correction is performed, and erasure correction can be performed by specializing in erasure correction through simple processing.
[0068]
In the following explanation, the original is 2mGalois field GF (2m) A decoding procedure when using an RS code having a code length n to which p parities are added using the finite field defined above is shown. Consider a case where ε erasure symbols (erasure errors) exist in the entire code. However, ε satisfies the following relational expression.
[0069]
[Equation 19]
Figure 0004595238
[0070]
Also, the erasure positions counted from the beginning of each code are Ui(1 ≦ i ≦ ε), and the disappearance pattern of this disappearance position is Vi(1 ≦ i ≦ ε). The coefficient of the syndrome polynomial is the highest order coefficient S of the syndrome polynomial S (x).p-1 Is set to the lowest order coefficient, and hereinafter, the lowest order coefficient S0 Are decoded using a reverse syndrome polynomial (Equation (22))) in which the order of the coefficients is sequentially changed until. Note that this reverse-order syndrome polynomial is a polynomial having the root of the inverse of the original syndrome polynomial S (x) as a root, and hereinafter simply referred to as a syndrome polynomial as appropriate.
[0071]
Under such a premise, in the error correction process, the process proceeds from step SP11 to step SP12 in FIG. 1 to execute the syndrome calculation process and the erasure position polynomial calculation process.
[0072]
(Calculation of syndrome)
Here, in the syndrome calculation process, as the product of the reception data r, which is the received signal, and the parity check matrix H, p syndromes S are calculated by the following calculation process.j(0 ≦ j ≦ p−1) is obtained. Here, S is a syndrome, c is transmission data, and e is error data.
[0073]
[Expression 20]
Figure 0004595238
[0074]
The syndrome S is 0 when the error data e is 0. Further, the parity check matrix H in the case of the code length n and the parity number p is expressed by the following equation.
[0075]
[Expression 21]
Figure 0004595238
Syndrome S obtained in this wayjIs a syndrome polynomial, and is expressed by the following equation.
[0076]
[Expression 22]
Figure 0004595238
[0077]
Here, from the equation (21), the disappearance position UiIs αm, The element in the jth row of the error position in the parity check matrix H is (αm)j= Ui jIs expressed by each coefficient S of the syndrome polynomial.jIs the disappearance position Ui, Disappearance pattern ViAnd is expressed by the following equation.
[0078]
[Expression 23]
Figure 0004595238
[0079]
Therefore, the syndrome polynomial can be expressed by the following equation from Equation (22) and Equation (23). With this, in the error correction, the syndrome polynomial is calculated from the input data.
[0080]
[Expression 24]
Figure 0004595238
[0081]
(Calculation of erasure position polynomial)
On the other hand, in the calculation process of the erasure position polynomial, the known ε erasure positions U defined in the same manner as described above.kΕ-order erasure position polynomial is defined. The erasure position polynomial is x = UkIn (1 ≦ k ≦ ε), a polynomial having a value of 0 can be set as in the following equation, whereby the erasure position polynomial is obtained from the erasure flag corresponding to the input data.
[0082]
[Expression 25]
Figure 0004595238
[0083]
(Calculation of modified syndrome polynomial)
In the error correction process, when the syndrome polynomial and the erasure position polynomial are calculated in this way, a correction syndrome polynomial calculation process is executed in the subsequent step SP13. Here, the calculation process of the modified syndrome polynomial is performed by x of the product of the erasure position polynomial and the syndrome polynomial.pA modified syndrome polynomial is defined as the remainder for
[0084]
[Equation 26]
Figure 0004595238
[0085]
Here, the jk-th order coefficient of the syndrome polynomial S (x) is Spj-1 + kIn this modified syndrome polynomial, each order coefficient Tj(0 ≦ j ≦ p−1) can be expressed by the following equation.
[0086]
[Expression 27]
Figure 0004595238
[0087]
[Expression 28]
Figure 0004595238
[0088]
Therefore, a term T higher than the ε-order of the modified syndrome polynomial from these.jIf (ε ≦ j) is not 0, it is difficult to decode. Further, from each coefficient of the modified syndrome polynomial, the modified syndrome polynomial can be expressed by the following equation.
[0089]
[Expression 29]
Figure 0004595238
[0090]
Thus, in the error correction processing according to this embodiment, a corrected syndrome polynomial is calculated from the syndrome polynomial and the erasure position polynomial by this calculation processing.
[0091]
(Derivation of error evaluation polynomial)
In this embodiment, an error evaluation polynomial is derived and an error pattern V is detected in subsequent step SP14. Here, the error evaluation polynomial can be expressed by a p-1 order polynomial expressed by the following equation using the key equation. Note that the error locator polynomial is set to 1 as the error locator polynomial is processed only for erasure errors. By this arithmetic processing, in this embodiment, the error evaluation polynomial is derived from the corrected syndrome polynomial. The error position polynomial is obtained from the erasure position polynomial.
[0092]
[30]
Figure 0004595238
[0093]
(Calculation of disappearance pattern)
When the erasure position polynomial and the error evaluation polynomial are obtained in this way, the erasure pattern V is calculated by Fornealgorithm.i(1 ≦ i ≦ ν) can be obtained. That is, the error evaluation polynomial according to equation (30) can be modified as shown in the following equation.
[0094]
[31]
Figure 0004595238
[0095]
On the other hand, the erasure pattern V to be obtained by first-order differentiation of the erasure position polynomial by the equation (25)iDisappearance position UiBy substituting, the following relational expression can be obtained.
[0096]
[Expression 32]
Figure 0004595238
[0097]
[Expression 33]
Figure 0004595238
[0098]
Further, the erasure position polynomial is added to the erasure position U.kAny two erasure positions U of (1 ≦ k ≦ ε)iAnd UlWhen (i ≠ l) is substituted, the following relational expression is established.
[0099]
[Expression 34]
Figure 0004595238
[0100]
Furthermore, the following relational expression can be obtained from this (Expression 34).
[0101]
[Expression 35]
Figure 0004595238
[0102]
Therefore, Ui≠ UlIn this case, the following relational expression can be obtained.
[0103]
[Expression 36]
Figure 0004595238
[0104]
As a result, an error evaluation polynomial according to the equation (31) is expressed as x = UiIs substituted using (Expression 33) and (Expression 36), and the following relational expression can be obtained.
[0105]
[Expression 37]
Figure 0004595238
[0106]
As a result, the disappearance pattern V is calculated from the equation (37).iIs calculated by the following equation.iCan be requested.
[0107]
[Formula 38]
Figure 0004595238
[0108]
Thus, in this embodiment, in this step SP14, an error position and an error value are obtained from the error position polynomial and the error evaluation polynomial.
[0109]
(Correction of data)
In this way, the disappearance pattern ViIs obtained, the data is corrected in the following step SP15, and then the corrected data is output in step SP16. In the correction of this data, the erasure position U with respect to the received signal r.iIn erasure pattern ViThe received signal is corrected by adding (1 ≦ i ≦ ε).
[0110]
FIG. 2 is a block diagram showing a dedicated erasure correction circuit according to this erasure correction processing procedure in comparison with FIG. The erasure correction dedicated circuit 31 is configured in the same way as the erasure correction circuit 1 except that the configurations of the EUC block 33 and the CHS block 34 are different. Thereby, in this embodiment, the SYN block 2 constitutes a first computing means for obtaining a syndrome polynomial from input data and a second computing means for obtaining an erasure position polynomial from an erasure flag corresponding to the input data. On the other hand, the EUC block 33 is a third computing means for obtaining a corrected syndrome polynomial from the syndrome polynomial and the erasure position polynomial, and a fourth computing means for obtaining an error evaluation polynomial and an error position polynomial from the modified syndrome polynomial and the erasure position polynomial. Configure. The subsequent CHS block 34 includes fifth arithmetic means for obtaining an error position and an error value from the error position polynomial and the error evaluation polynomial, and sixth arithmetic means for correcting an error in the input data using the error position and error value. It is made to compose.
[0111]
3 is a chart showing the processing procedure according to this embodiment in comparison with the processing procedure described above with reference to FIG. In the erasure only correction processing procedure, unlike the erasure correction processing, the modified syndrome polynomial is equal to the error evaluation polynomial, and the erasure position polynomial is equal to the error position polynomial, so that it is not necessary to perform Euclidean mutual division. As a result, in this embodiment, the structure of the EUC block in the erasure correction dedicated circuit can be simplified, and erasure correction can be performed by specializing in erasure correction by a simple process.
[0112]
4 to 8 are connection diagrams showing the EUC block 33 of the dedicated circuit for erasure correction according to this embodiment. The EUC block 33 includes a shift register, a Galois field divider, a Galois field multiplier, a Galois field adder, and the like for calculating a modified syndrome polynomial and an erasure position polynomial.
[0113]
Of these, the Galois field divider is the reciprocal number U of the disappearance position.i -1For this reason, only one is arranged inside the EUC block 33 to constitute the division unit DIV (FIG. 4). That is, the position information of the erasure flag is, as shown in FIG.n-1 To the beginning of the sign α0 Are entered in the order. Thereby, the erasure position detected here is the original erasure position U.iInstead, the codes are counted in reverse order. Thus, when applied to the erasure position polynomial expressed by the equation (25), the original erasure position UiInverse of Ui -1Is required.
[0114]
For this reason, in the division unit DIV, the position information of the erasure flag is set in the registers 37 and 38 via the switches 35 and 36, and the data stored in the registers 37 and 38 is divided by the divider 39. This U is calculated by the following equation:i -1The erasure position by is calculated.
[0115]
[39]
Figure 0004595238
[0116]
The multiplication / addition unit MLT (FIGS. 5 to 8) is configured by cascading a predetermined number of units corresponding to the number of parities, including a register, a Galois field multiplier, and a Galois field adder. Here, as shown in FIG. 10, one unit is configured such that a coefficient or the like can be set by a switch 40 with respect to a register 41 that constitutes a shift register of one column in the multiplication and addition unit MLT. This unit multiplies the selection output of the switch 42 and the output of the register 41 arranged in the rear-stage unit by a multiplier (Galois multiplier) 43, and the multiplication result of the multiplier 43 and the output of the register 41 Are added by the adder 44.
[0117]
The switcher 40 that switches the input of the register 41 is controlled so as to switch the contacts according to the mode of the multiplication / addition unit MLT. That is, when the contents of the register 41 are cleared, as shown in FIG. 11, a reset input of logic 0 is selected. On the other hand, when the coefficient is loaded into the register, the contact is switched to the corresponding output of the SYN block 2 as shown in FIG. Further, as shown in FIG. 13, when the output value of the subsequent unit is shifted, the output of the register 41 in the subsequent unit is controlled to be selected. Further, when the output value of the subsequent unit of the subsequent stage is shifted, control is performed so as to select the output of the register 41 in the corresponding subsequent unit (a contact indicated by reference numeral 3).
[0118]
On the other hand, in processing such as calculation, the output of the adder 44 is selected. That is, as shown in FIG. 14, a setting value of 0 is selected by a switch 42 for switching the input of the multiplier 43, the output of the multiplier 43 is set to a value of 0, and the output of the adder 44 is switched by the switch 40. By selecting, the output of the register 41 is reset to the register 41 as it is, and the hold process is executed. In this hold setting, as shown in FIG. 15, by selecting the output of the division unit DIV by the switch 42, the calculation result is stored in the register 41 and can be output to the subsequent unit. Yes.
[0119]
5-8, the code | symbol attached | subjected to each part of this FIG. 10 is attached with a subscript, and the structure corresponding to each unit is shown. In each unit, the input in the switching unit 40 is omitted and the multiplier 43 and the adder 44 are omitted from the basic configuration shown in FIG. 10 according to the required operation. .
[0120]
Here, in this embodiment, the maximum number of coefficients of the modified syndrome polynomial is p and the maximum number of coefficients of the erasure position polynomial is p + 1, whereas the zeroth order coefficient of the erasure position polynomial is always 1. . As a result, in this multiplication and addition unit MLT, the cascade connection is constituted by the total number of 2 × p units, which is the number of p units, respectively, with respect to the modified syndrome polynomial and the erasure position polynomial. The number of stages is set to 2 × p stages. Thus, in this embodiment, the number of shift register stages is reduced by effectively utilizing the fact that the zeroth-order coefficient of the erasure position polynomial is always 1.
[0121]
As a result, the EUC block 33 requires 2 × p registers for storing the modified syndrome polynomial and the erasure position polynomial, and the EUC block 33 as a whole has one Galois field divider and 2 × p registers. A Galois field multiplier, 2 × p Galois field adders, and 2 × p + 2 registers are required. Thus, in this embodiment, the number of registers is reduced by 2 × p as compared with the conventional erasure correction circuit, and the configuration of the control circuit can be simplified correspondingly.
[0122]
Specifically, when the number of parity is 6 (FIGS. 4 to 8), one Galois field divider, 12 Galois field multipliers, 12 Galois field adders, and 14 registers for storing operation results. Is required.
[0123]
FIG. 16 is a chart showing the modes of this EUC block 33. The operation of the EUC block 33 is divided into modes according to this chart. Here, the PI mode is a mode in which coefficients of syndromes and erasure positions are loaded into corresponding registers, and the PM mode is a mode in which an operation for obtaining a corrected syndrome polynomial and an erasure position polynomial is executed. The SI mode is a mode in which the 0th order coefficient is set to 1 and the operation result held in the register is shifted up. The SM mode is the operation result in which the least significant register is set to 0 and held in the register. This is a mode to shift up.
[0124]
FIG. 17 is a flowchart showing the mode switching in the EUC block 33. As shown in FIG. 17, the EUC block 33 sequentially switches the mode from the PI mode to the PM mode, the SI mode, and the SM mode. Execute the process.
[0125]
That is, as shown in FIG. 18, the EUC block 33 is set to the PI mode at stage = 0, and first, as an initial value, A1 ~ ApSyndrome S for the register0 ~ Sp-1 Is stored and Ap + 1 ~ A2pErasure position U for the register of1 ~ UpIs stored. In the following description, each register constituting the shift register is sequentially transferred from the division unit DIV to A.0 ~ A2pThis is indicated by the symbol.
[0126]
In the subsequent stage (0 <STAGE ≦ ε), the PM mode is set and the disappearance position U is set.1 ~ UpSyndrome S while shifting up0 ~ Sp-1 And disappearance position (1-Ui -1x) A coefficient T of the modified syndrome polynomial by sequentially multiplying [1 ≦ i ≦ ε].p-1 ~ T0 And the coefficient of the erasure position polynomial uε to u1Ask for.
[0127]
In the subsequent stage (ε <STAGE ≦ P), the SI mode and the SM mode are set, and each coefficient is shifted up by p−ε times and output. At this time, register A1 Check whether the value of A is 0 and A1 If = 0, correct decoding and A1 If ≠ 0, the host controller is notified of the decoding failure (signal error). In SI mode, U0= 1 to A2PSet to.
[0128]
More specifically, as shown in FIGS. 19 and 20 in comparison with FIGS. 4 to 8, when p = 6 and ε = 6, the EUC block 33 determines that the register A0 ~ A6 Syndrome S0 ~ S6 Is stored, and register A7 ~ A12Disappearance position U1 ~ U6 Is stored. Furthermore, the highest register A0 And register A7 ~ A12Shift processing between the lowest register A and12Is reset to the value 0, and the state of stage 1 is formed. Further, in the PM mode, the same register A is used.0 And A7 ~ A12Shift processing is performed between the register A and the register A1 ~ AFive , The lower register A2 ~ A6 The state of the stage 2 is formed by performing a Galois operation with the contents of and resetting the calculation result. Syndrome S here6 Register A holding6 Is held in the hold state, and the lowest register A12Is set with the calculation result of the Galois divider (DIV).
[0129]
Subsequently, similarly, register A0 And A7 ~ A11Shift processing is performed between the register A and the register A1 ~ AFive , The lower register A2 ~ A6 The state of the stage 3 is formed by performing a Galois operation with the contents of and resetting the calculation result. Syndrome S here6 Register A holding6 Is held in the hold state, and the lowest register A12Is the result of the Galois Divider (DIV) operation, followed by register A11Is the lowest register A12Galois operation result between is set.
[0130]
Thus, the EUC block 33 is configured to sequentially switch the stages by sequentially switching the registers and repeating the processes of hold, shift, and calculation. 22 and 23 show state transitions in the case of p = 6 and ε = 2, which are shown by comparison with FIG. 20 and FIG.
[0131]
Based on the calculation result, the coefficients of the corrected syndrome polynomial T and the erasure position polynomial are expressed as shown in FIG. The highest coefficient of the modified syndrome polynomial is always the register A1 The highest order coefficient of the erasure position polynomial is always stored in register A.P + 1 Will be stored. However, when p = ε, the zeroth order coefficient of the erasure position polynomial is omitted, and only the εth to first order coefficients of the erasure position polynomial are stored in the register A.P + 1 ~ A2PStored in As a result, even when the register is composed of 2p stages, decoding can be performed on condition that p ≦ ε.
[0132]
(1-2) Effects of the first embodiment
According to the above configuration, by deleting the Euclidean arithmetic function that is not required when performing only erasure correction, and by adopting a configuration corresponding to this deletion, erasure correction specialized for erasure correction can be performed with a simple configuration. Can do.
[0133]
In other words, an error evaluation polynomial can be obtained without using the Euclidean operation by obtaining an error evaluation polynomial and an error position polynomial from the corrected syndrome polynomial and the erasure position polynomial by a configuration in which the units are cascaded by a Galois field adder, a Galois field multiplier, and a register. In addition, an error position polynomial can be obtained, and erasure correction can be performed with a simple configuration specialized for erasure correction.
[0134]
At this time, by setting the 0th order term of the erasure position polynomial to be always 1 and setting the number of units to 2 × p for the maximum value p + 1 of the coefficient of the erasure position polynomial, The overall configuration can be simplified.
[0135]
In addition, when the coefficient of the number of disappearances of the modified syndrome polynomial is ε-order or higher, the overall configuration can be simplified by outputting the fact that it is a decode failure.
[0136]
(2) Second embodiment
In this embodiment, a so-called multiplexing configuration is applied to the EUC block. That is, in the EUC block, by using one Galois field arithmetic unit for the calculation of a plurality of coefficients by time division, the Galois field arithmetic unit is shared for the calculation of the plurality of coefficients, and the circuit configuration of the EUC block is correspondingly increased. Simplify.
[0137]
That is, if the multiplicity by time division is set to L, in the structure by multiplexing, one Galois field divider, (2 × p) / L Galois field multipliers, (2 × p) / L The Galois field adder, ((L + 1) × (2 × p) / L) +3 registers can constitute an EUC block, and the circuit configuration can be simplified correspondingly. Thereby, by comparison with the conventional erasure correction, ((L-1) × (2 × p) / L) registers can be reduced, and the configuration of the control circuit can be simplified correspondingly. it can.
[0138]
24 to 28 are connection diagrams showing EUC blocks applied to the erasure correction dedicated circuit according to this embodiment. In this embodiment, the division unit DIV is configured such that a predetermined register output (FIG. 27) assigned to the multiplication / addition unit MLT by the switch 54 or the output of the register 37 can be selectively set in the register 37. The The switch 36 is configured to selectively set the output of the register 38 and the reset value of logic 1 in the register 38. Further, the output of the divider 39 can be output to the multiplication and addition unit MLT via the switch 55 and the register 56, and this output can be held.
[0139]
On the other hand, the multiplication and addition unit MLT is formed by cascade connection of units having the basic configuration shown in FIG. Here, in this unit, switches 60, 61, 62 on the input side are arranged in series with three stages of registers 57, 58, 59 corresponding to multiplicity L. In this unit, the output of the division unit DIV, the reset value of logic 0, and the reset value of logic 1 are selected by the switch 63 and input to the multiplier 64, and the output of the switch 63 is centered by the multiplier 64. The output of the arranged register 58 is multiplied. Further, the output of the uppermost register 57 and the reset value of logic 0 are selected by the switch 66 and input to the adder 67. The adder 67 multiplies the output of the multiplier 64 to the lowermost switch 62. input.
[0140]
The switches 60, 61, 62 of the registers 57, 58, 59 are configured to be able to select corresponding polynomial coefficients and subsequent register outputs. Further, the last-stage switcher 62 is configured such that a logic 1 reset value and an output value of the adder 67 can be selected. Further, the uppermost switching device 60 can select the output of the adder 67 via the switching device 73 and the register 74, and further, the retained value of this output.
[0141]
Accordingly, in the unit, by setting the switches 60 to 62 as shown in FIG. 30, the coefficient of the syndrome polynomial and the coefficient of the erasure position polynomial can be set in the corresponding registers. The EUC block 53 is configured to operate by switching the same mode as described above for the first embodiment, and the setting shown in FIG. 30 is the load in the PI mode described above for the first embodiment. It is made to correspond to the processing of.
[0142]
In the hold processing corresponding to the SI and SM modes, as shown in FIG. 31, data is transferred between the registers 57 to 59 and 74 of each unit. The setting of the switches 60 to 62, 63 and 73 corresponding to each cycle SYC in FIG. 31 is shown in FIGS. Further, the shift in the PI mode is executed by the repeated processing shown in FIG. The settings of the switches 60 to 62, 63 and 73 corresponding to each cycle SYC in FIG. 36 are shown in FIGS.
[0143]
Further, the calculation processing in the PM mode is executed by the repeated processing shown in FIG. The settings of the switches 60 to 62, 63 and 73 corresponding to the respective cycles SYC in FIG. 41 are shown in FIGS. In addition, the shift process accompanied by the calculation process is executed by the repeated process shown in FIG.
[0144]
According to this embodiment, a single Galois field arithmetic unit is used for the calculation of a plurality of coefficients by time division, and is shared by the calculation of a plurality of coefficients, thereby further simplifying the entire configuration. be able to.
[0145]
(3) Other embodiments
In the above-described embodiment, the case where the number of parities p = 6 has been described. However, the present invention is not limited to this, and can be widely applied to cases where the number of parities is various.
[0146]
Furthermore, in the above-described embodiment, the case where the multiplicity is set to 3 has been described. However, the present invention is not limited to this, and can be widely applied to cases where various multiplicity are used.
[0147]
【The invention's effect】
As described above, according to the present invention, the Euclidean operation function that is unnecessary when only erasure correction is performed is deleted, and the configuration corresponding to this deletion makes it possible to specialize erasure correction with a simple configuration. It can be corrected.
[Brief description of the drawings]
FIG. 1 is a flowchart showing a erasure correction processing procedure according to a first embodiment of the present invention;
FIG. 2 is a block diagram showing a dedicated erasure correction circuit according to the processing procedure of FIG. 1;
FIG. 3 is a time chart showing the processing procedure of FIG. 1 in comparison with a conventional processing procedure.
4 is a connection diagram showing an EUC block in the erasure correction dedicated circuit of FIG. 2; FIG.
FIG. 5 is a connection diagram showing a continuation of FIG. 4;
6 is a connection diagram showing a continuation of FIG. 5;
FIG. 7 is a connection diagram showing a continuation of FIG. 6;
FIG. 8 is a connection diagram showing a continuation of FIG. 7;
FIG. 9 is a chart for explaining an erasure position in the EUC block of FIG. 4;
10 is a connection diagram showing a basic configuration of units in the EUC block of FIG. 3;
FIG. 11 is a diagram showing connections in the unit clear process of FIG. 10;
12 is a diagram showing connections in the process of loading the unit in FIG. 10; FIG.
13 is a diagram showing connections in the process of shifting the units in FIG. 10. FIG.
14 is a diagram showing connections in hold processing of the unit in FIG. 10; FIG.
15 is a diagram showing connections in the arithmetic processing of the unit of FIG.
FIG. 16 is a chart for explaining modes in the EUC block of FIG. 4;
FIG. 17 is a flowchart for explaining mode transition in the EUC block of FIG. 4;
FIG. 18 is a schematic diagram for explaining the mode transition of FIG. 17;
FIG. 19 is a schematic diagram illustrating changes in registers corresponding to the mode transition of FIG. 17;
FIG. 20 is a schematic diagram showing a continuation of FIG. 19;
FIG. 21 is a schematic diagram illustrating a case where ε = 2 in comparison with FIG. 19;
22 is a schematic diagram showing a continuation of FIG. 21. FIG.
FIG. 23 is a chart showing register contents in the EUC block of FIG. 4;
FIG. 24 is a connection diagram showing an EUC block applied to an erasure correction dedicated circuit according to a second embodiment of the present invention.
25 is a connection diagram showing a continuation of FIG. 24. FIG.
FIG. 26 is a connection diagram showing a continuation of FIG. 25;
FIG. 27 is a connection diagram showing a continuation of FIG.
FIG. 28 is a connection diagram showing a continuation of FIG. 27;
29 is a connection diagram showing a basic configuration of units in the EUC block of FIG. 24. FIG.
30 is a diagram showing connections in the process of loading the unit in FIG. 29. FIG.
FIG. 31 is a diagram showing a change in register contents in the hold processing of the unit in FIG. 29;
32 is a diagram showing connections in the hold processing of the unit in FIG. 29. FIG.
FIG. 33 is a connection diagram showing a continuation of FIG. 32;
34 is a connection diagram showing a continuation of FIG. 33. FIG.
FIG. 35 is a connection diagram showing a continuation of FIG. 34;
36 is a diagram showing changes in register contents in the shift processing of the unit in FIG. 29; FIG.
FIG. 37 is a diagram showing connections in the process of shifting the units in FIG. 29;
FIG. 38 is a connection diagram showing a continuation of FIG.
FIG. 39 is a connection diagram showing a continuation of FIG. 38;
40 is a connection diagram showing a continuation of FIG. 39. FIG.
41 is a diagram showing changes in register contents in the arithmetic processing of the unit in FIG. 29; FIG.
42 is a diagram showing connections in the arithmetic processing of the units in FIG. 29. FIG.
43 is a connection diagram showing a continuation of FIG. 42. FIG.
44 is a connection diagram showing a continuation of FIG. 43. FIG.
45 is a connection diagram showing a continuation of FIG. 44. FIG.
FIG. 46 is a diagram showing a change in the contents of a register in an arithmetic process involving the shift process of the unit in FIG. 29;
FIG. 47 is a flowchart showing a processing procedure of conventional erasure correction processing.
48 is a block diagram showing an erasure correction circuit according to the processing procedure of FIG. 47. FIG.
49 is a connection diagram showing an EUC block applied to the erasure correction circuit of FIG. 48. FIG.
50 is a connection diagram showing a continuation of FIG. 49. FIG.
51 is a connection diagram showing a continuation of FIG. 50. FIG.
52 is a connection diagram showing a continuation of FIG. 51. FIG.
FIG. 53 is a connection diagram showing a continuation of FIG. 52;
FIG. 54 is a connection diagram showing EUC blocks related to multiplexing.
FIG. 55 is a connection diagram showing a continuation of FIG. 54.
56 is a connection diagram showing a continuation of FIG. 55. FIG.
57 is a connection diagram showing a continuation of FIG. 56. FIG.
58 is a connection diagram showing a continuation of FIG. 57. FIG.
FIG. 59 is a connection diagram showing a continuation of FIG. 58;
[Explanation of symbols]
1 ... Erasure correction circuit, 2 ... SYN block, 3, 33, 53 ... EUC block, 4,34 ... CHS block

Claims (9)

入力データからシンドローム多項式を求める第1のステップと、
前記入力データに対応した消失フラグから消失位置多項式を求める第2のステップと、
前記シンドローム多項式及び消失位置多項式から修正シンドローム多項式を求める第3のステップと、
前記消失位置多項式から誤り位置多項式を求めると共に、前記誤り位置多項式の値を1とすることにより、前記修正シンドローム多項式から誤り評価多項式を求める第4のステップと、
前記誤り位置多項式及び前記誤り評価多項式から誤り位置及び誤り値を求める第5のステップと、
前記誤り位置及び前記誤り値を用いて前記入力データの誤りを訂正する第6のステップと、
を有する消失のみ訂正方法。
A first step of obtaining a syndrome polynomial from input data;
A second step of obtaining an erasure position polynomial from an erasure flag corresponding to the input data;
A third step of determining a modified syndrome polynomial from the syndrome polynomial and erasure position polynomial;
A fourth step of determining an error evaluation polynomial from the modified syndrome polynomial by determining an error position polynomial from the erasure position polynomial and setting the value of the error position polynomial to 1 ;
A fifth step of obtaining an error location and error value from the error location polynomial and the error evaluator polynomial,
A step of sixth correcting errors of the input data using the error location and the error value,
LOSS only correction method that have a.
前記第5のステップは、前記修正シンドローム多項式の消失個数ε次以上の係数が0以外の場合、デコードの失敗を出力する
求項1に記載の消失のみ訂正方法。
The fifth step outputs a decoding failure when a coefficient equal to or greater than the number of disappearances ε of the modified syndrome polynomial is other than 0.
It lost only correction method according to Motomeko 1.
入力データからシンドローム多項式を求める第1のステップと、
前記入力データに対応した消失フラグから消失位置多項式を求める第2のステップと、
前記シンドローム多項式及び消失位置多項式から修正シンドローム多項式を求める第3のステップと、
前記消失位置多項式から誤り位置多項式を求めると共に、前記誤り位置多項式の値を1とすることにより、前記修正シンドローム多項式から誤り評価多項式を求める第4のステップと、
前記誤り位置多項式及び前記誤り評価多項式から誤り位置及び誤り値を求める第5のステップと、
前記誤り位置及び前記誤り値を用いて前記入力データの誤りを訂正する第6のステップと、
を有する消失のみ訂正方法のプログラム。
A first step of obtaining a syndrome polynomial from input data;
A second step of obtaining an erasure position polynomial from an erasure flag corresponding to the input data;
A third step of determining a modified syndrome polynomial from the syndrome polynomial and erasure position polynomial;
A fourth step of determining an error evaluation polynomial from the modified syndrome polynomial by determining an error position polynomial from the erasure position polynomial and setting the value of the error position polynomial to 1 ;
A fifth step of obtaining an error location and error value from the error location polynomial and the error evaluator polynomial,
A step of sixth correcting errors of the input data using the error location and the error value,
Only LOSS that have a program of correction method.
入力データからシンドローム多項式を求める第1のステップと、
前記入力データに対応した消失フラグから消失位置多項式を求める第2のステップと、
前記シンドローム多項式及び消失位置多項式から修正シンドローム多項式を求める第3のステップと、
前記消失位置多項式から誤り位置多項式を求めると共に、前記誤り位置多項式の値を1とすることにより、前記修正シンドローム多項式から誤り評価多項式を求める第4のステップと、
前記誤り位置多項式及び前記誤り評価多項式から誤り位置及び誤り値を求める第5のステップと、
前記誤り位置及び前記誤り値を用いて前記入力データの誤りを訂正する第6のステップと、
を有する消失のみ訂正方法のプログラムを記録した記録媒体。
A first step of obtaining a syndrome polynomial from input data;
A second step of obtaining an erasure position polynomial from an erasure flag corresponding to the input data;
A third step of determining a modified syndrome polynomial from the syndrome polynomial and erasure position polynomial;
A fourth step of determining an error evaluation polynomial from the modified syndrome polynomial by determining an error position polynomial from the erasure position polynomial and setting the value of the error position polynomial to 1 ;
A fifth step of obtaining an error location and error value from the error location polynomial and the error evaluator polynomial,
A step of sixth correcting errors of the input data using the error location and the error value,
Recording medium for recording a program of an anti-loss only correction method that have a.
入力データからシンドローム多項式を求める第1の演算手段と、
前記入力データに対応した消失フラグから消失位置多項式を求める第2の演算手段と、
前記シンドローム多項式及び消失位置多項式から修正シンドローム多項式を求める第3の演算手段と、
前記消失位置多項式から誤り位置多項式を求めると共に、前記誤り位置多項式の値を1とすることにより、前記修正シンドローム多項式から誤り評価多項式を求める第4の演算手段と、
前記誤り位置多項式及び前記誤り評価多項式から誤り位置及び誤り値を求める第5の演算手段と、
前記誤り位置及び前記誤り値を用いて前記入力データの誤りを訂正する第6の演算手段と、
を有する消失訂正専用回路。
First computing means for obtaining a syndrome polynomial from input data;
Second computing means for obtaining an erasure position polynomial from an erasure flag corresponding to the input data;
Third computing means for obtaining a corrected syndrome polynomial from the syndrome polynomial and erasure position polynomial;
A fourth computing means for obtaining an error evaluation polynomial from the corrected syndrome polynomial by obtaining an error position polynomial from the erasure position polynomial and setting the value of the error position polynomial to 1 ;
A fifth arithmetic means for calculating an error position and error value from the error location polynomial and the error evaluator polynomial,
Calculating means sixth correcting errors of the input data using the error location and the error value,
LOSS correction dedicated circuit that have a.
前記第4の演算手段は、
ガロア体加算器、ガロア体乗算器、レジスタによるユニットのカスケード接続により形成された
求項5に記載の消失訂正専用回路。
The fourth calculation means includes:
Formed by cascading units by Galois field adder, Galois field multiplier, and register
Erasure correction dedicated circuit according to Motomeko 5.
前記第4の演算手段は、
前記消失位置多項式の0次の項が必ず1であるように設定して、前記消失位置多項式の係数の最大値p+1個に対して、前記ユニットの数が2×p個に設定された
求項6に記載の消失訂正専用回路。
The fourth calculation means includes:
The zero-order term of the erasure position polynomial is set to be always 1, and the number of units is set to 2 × p for the maximum value p + 1 of the coefficient of the erasure position polynomial.
Erasure correction dedicated circuit according to Motomeko 6.
前記第5の演算手段は、
前記修正シンドローム多項式の消失個数ε次以上の係数が0以外の場合、デコードの失敗を出力する
求項5に記載の消失訂正専用回路。
The fifth computing means includes
When the coefficient of the number of disappearances of the modified syndrome polynomial is not 0, a decoding failure is output.
Erasure correction dedicated circuit according to Motomeko 5.
前記第4の演算手段は、
1つのガロア体演算器を複数の係数の演算に時分割により使用して前記複数の係数の演算で共用する
求項5に記載の消失訂正専用回路。
The fourth calculation means includes:
One Galois field arithmetic unit is used by time division for calculation of a plurality of coefficients, and is shared by the calculation of the plurality of coefficients.
Erasure correction dedicated circuit according to Motomeko 5.
JP2001133886A 2001-05-01 2001-05-01 Erasure Only Correction Method, Erasure Only Correction Method Program, Recording Medium Recording Erasure Only Correction Method Program, and Erasure Correction Dedicated Circuit Expired - Fee Related JP4595238B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001133886A JP4595238B2 (en) 2001-05-01 2001-05-01 Erasure Only Correction Method, Erasure Only Correction Method Program, Recording Medium Recording Erasure Only Correction Method Program, and Erasure Correction Dedicated Circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001133886A JP4595238B2 (en) 2001-05-01 2001-05-01 Erasure Only Correction Method, Erasure Only Correction Method Program, Recording Medium Recording Erasure Only Correction Method Program, and Erasure Correction Dedicated Circuit

Publications (2)

Publication Number Publication Date
JP2002330077A JP2002330077A (en) 2002-11-15
JP4595238B2 true JP4595238B2 (en) 2010-12-08

Family

ID=18981671

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001133886A Expired - Fee Related JP4595238B2 (en) 2001-05-01 2001-05-01 Erasure Only Correction Method, Erasure Only Correction Method Program, Recording Medium Recording Erasure Only Correction Method Program, and Erasure Correction Dedicated Circuit

Country Status (1)

Country Link
JP (1) JP4595238B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000091924A (en) * 1998-09-07 2000-03-31 Sony Corp Decoding method and decoder for error correction code

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000091924A (en) * 1998-09-07 2000-03-31 Sony Corp Decoding method and decoder for error correction code

Also Published As

Publication number Publication date
JP2002330077A (en) 2002-11-15

Similar Documents

Publication Publication Date Title
US5157669A (en) Comparison of an estimated CRC syndrome to a generated CRC syndrome in an ECC/CRC system to detect uncorrectable errors
JP3250735B2 (en) Multipurpose error correction system
US5027357A (en) ECC/CRC error detection and correction system
US6374383B1 (en) Determining error locations using error correction codes
JP3232602B2 (en) Euclidean circuit
JPH09507117A (en) Reed-Solomon decoder
US20040210816A1 (en) Error-correcting device and decoder enabling fast error correction with reduced circuit scale
US5983389A (en) Error correction decoding apparatus
JP3245119B2 (en) Reed-Solomon decoder employing new polynomial array structure and decoding method thereof
JP3502583B2 (en) Error correction method and error correction device
US5107506A (en) Error trapping decoding method and apparatus
JP3250736B2 (en) Multipurpose error correction calculation circuit
JP2001196938A (en) Device and method for decoding digital data
US6405339B1 (en) Parallelized programmable encoder/syndrome generator
JP3239522B2 (en) Data loss correction method and circuit
JP4595238B2 (en) Erasure Only Correction Method, Erasure Only Correction Method Program, Recording Medium Recording Erasure Only Correction Method Program, and Erasure Correction Dedicated Circuit
JPH0865175A (en) Error position detecting circuit of reed-solomon decoder
JP2553565B2 (en) Galois field arithmetic unit
JPH0476540B2 (en)
JP3233502B2 (en) Decryption device
EP0341851A2 (en) Method and apparatus for interleaved encoding
WO1999016175A1 (en) Semiconductor integrated circuit and data processing system
JP2907138B2 (en) Error correction arithmetic processing method and processing circuit
JPH04365139A (en) Syndrome operation circuit for error correction processing
JP3850512B2 (en) Reed-Solomon decoder

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080122

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20090330

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20090402

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100112

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100413

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100607

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100824

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100906

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

Free format text: PAYMENT UNTIL: 20131001

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees