JPH10154941A - Error correction circuit - Google Patents

Error correction circuit

Info

Publication number
JPH10154941A
JPH10154941A JP8327637A JP32763796A JPH10154941A JP H10154941 A JPH10154941 A JP H10154941A JP 8327637 A JP8327637 A JP 8327637A JP 32763796 A JP32763796 A JP 32763796A JP H10154941 A JPH10154941 A JP H10154941A
Authority
JP
Japan
Prior art keywords
error
error correction
output
data
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP8327637A
Other languages
Japanese (ja)
Inventor
Yoriji Kawasaki
順志 川崎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP8327637A priority Critical patent/JPH10154941A/en
Publication of JPH10154941A publication Critical patent/JPH10154941A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide a recovery device that is used to reduce a circuit scale of the error correction circuit processing an error correction code with a long code length. SOLUTION: The correction circuit is provided with a memory circuit storing error correction codes before and after correction, a syndrome calculation section 1 that calculates a syndrome of before-correction data 101, an error value/ error position calculation section 2 that calculates an error value/error position from the syndrome, an XOR gate 3 that reads again data before correction from the memory and applies exclusive OR to the data and an output of the error value/error position calculation section 2, and an output control section 5 that outputs after-correction data based on output enable signal to write back the corrected data to the memory circuit.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、光ディスクの記録
再生装置あるいは再生装置の再生信号処理回路に関し、
特に、再生信号の誤りを訂正する誤り訂正回路に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an optical disk recording / reproducing apparatus or a reproducing signal processing circuit of a reproducing apparatus.
In particular, the present invention relates to an error correction circuit for correcting an error in a reproduced signal.

【0002】[0002]

【従来の技術】近年、コンパクトディスク(CD)やレ
ーザーディスク(LD)など様々な種類の光ディスクが
商品化され、またデジタルビデオディスク(DVD)の
ような大容量の新たな規格の光ディスクが登場してい
る。
2. Description of the Related Art In recent years, various types of optical disks such as a compact disk (CD) and a laser disk (LD) have been commercialized, and large-capacity optical disks such as digital video disks (DVD) have appeared. ing.

【0003】DVDなどの大容量ディスクは、従来のC
Dなどと比べて、情報が高密度に記録されているため、
再生信号に誤りが生じ易くなる。例えばトラックピッチ
を狭くすることで、トラック間のクロストークが大きく
なり、またピット長を短く(線密度を高く)すること
で、符号間干渉が大きくなり、信号を誤って再生する確
率が高くなる。
[0003] Large-capacity disks such as DVDs use the conventional C
Because information is recorded at a higher density than D and so on,
An error easily occurs in the reproduction signal. For example, narrowing the track pitch increases crosstalk between tracks, and shortening the pit length (highing the linear density) increases intersymbol interference and increases the probability of erroneously reproducing a signal. .

【0004】このため、高密度光ディスクでは、従来の
CDなどで使われている誤り訂正符号よりも高性能な訂
正能力の大きい誤り訂正符号を採用している。
For this reason, a high-density optical disk employs an error correction code having a higher performance and a higher correction capability than an error correction code used in a conventional CD or the like.

【0005】DVDにおいては、図8に示すように、1
6データセクタ(1セクタは2Kバイト)、すなわち1
72バイト×192行の配列に対して16行のPOパリ
ティと10列のPIパリティを生成付加し、182バイ
ト×208列のリードソロモン積符号を構成する。この
図8に示す誤り訂正方式をRSPC(Reed-SolomonProd
uct Code)といい、その詳細は、文献(平山康一、
“DVDの物理フォーマットと変調方式”、“O plus
E”,1996-6,No.199、p93-97)等の記載が参照される。
In a DVD, as shown in FIG.
6 data sectors (1 sector is 2K bytes), ie 1
A PO parity of 16 rows and a PI parity of 10 columns are generated and added to an array of 72 bytes × 192 rows to form a Reed-Solomon product code of 182 bytes × 208 columns. The error correction method shown in FIG. 8 is applied to the RSPC (Reed-SolomonProd
uct Code) and its details are described in the literature (Koichi Hirayama,
“Physical format and modulation method of DVD”, “O plus
E ", 1996-6, No. 199, p93-97).

【0006】このように、誤り訂正符号として、積符号
を使う場合、入力されるデータを一旦メモリに蓄える必
要がある。再生信号データは、図8において、アドレス
0番地から、1、2、3、…、N番と順にメモリに納め
られる。行方向(図8の横方向)の誤り訂正(PI訂
正)は、データが、図8における右端の番地(182×
(n−1)番地:n=1〜208)まで入力されれば実
行することができるが、列方向(図8の縦方向)は、メ
モリが最後の行まで入力が終わらないと実行できない。
As described above, when a product code is used as an error correction code, it is necessary to temporarily store input data in a memory. In FIG. 8, the reproduction signal data is stored in the memory in the order of address 0, 1, 2, 3,..., N. In the error correction (PI correction) in the row direction (horizontal direction in FIG. 8), the data is written in the rightmost address (182 ×
This can be executed if the address is input up to (n-1) address: n = 1 to 208, but cannot be executed in the column direction (vertical direction in FIG. 8) unless the input is completed to the last row of the memory.

【0007】したがって、RSPC方式では、最低で
も、182×208バイト以上の入力データを記録する
メモリが必要になる。
Therefore, in the RSPC system, a memory for recording input data of at least 182 × 208 bytes is required.

【0008】また連続してデータが入力される場合に
は、例えば182×208×2ページ分のメモリを用意
し、一方のページにデータが入力されている間に、他方
のページに格納されているデータの誤り訂正処理を行う
ようにする。
In the case where data is continuously input, for example, a memory for 182 × 208 × 2 pages is prepared, and while data is input to one page, the data is stored in the other page. Error correction processing of existing data.

【0009】図5に、従来の誤り訂正回路の構成をブロ
ック図にて示す。図5を参照して、訂正前データ101
は、シンドローム計算部1に入力され、シンドロームが
計算される。ここで、シンドムーロが零であれば誤りが
なく、入力された訂正前データ101の誤りの有無が判
定できる。
FIG. 5 is a block diagram showing a configuration of a conventional error correction circuit. With reference to FIG.
Is input to the syndrome calculation unit 1 and the syndrome is calculated. Here, if the sindur is zero, there is no error, and the presence or absence of an error in the input pre-correction data 101 can be determined.

【0010】またシンドロームが非零で誤りがある場合
には、次の誤り値/誤り位置計算部2で誤りの値と位置
が計算され、訂正前データ101を誤り訂正処理に要す
る時間分だけ入力データ遅延部11(例えばシフトレジ
スタで構成される)で遅延させた訂正前遅延データ10
2と、XOR(Exclusive OR;排他的論理和)回路
3で排他的論理和をとって、訂正後データ103を出力
する。
If the syndrome is non-zero and there is an error, the next error value / error position calculator 2 calculates the error value and position, and inputs the uncorrected data 101 for the time required for error correction processing. The uncorrected delay data 10 delayed by the data delay unit 11 (for example, a shift register)
2, and an XOR (Exclusive OR) circuit 3 performs an exclusive OR operation to output corrected data 103.

【0011】訂正後データ103は、出力制御部5から
出力イネーブル信号105がアクティブな期間に、メモ
リデータバス106へ出力される。
The corrected data 103 is output from the output control unit 5 to the memory data bus 106 while the output enable signal 105 is active.

【0012】図5に示した従来の誤り訂正回路の詳細に
ついては、例えば刊行物1(「符号理論」、今井秀樹
著、電子情報通信学会、1990年)、あるいは刊行物
2(「符号理論入門」、岩垂好裕著、昭晃堂、1992
年)などの記載が参照される。
For details of the conventional error correction circuit shown in FIG. 5, see, for example, Publication 1 (“Code Theory”, written by Hideki Imai, IEICE, 1990) or Publication 2 (“Introduction to Code Theory”). By Yoshihiro Iwadare, Shokodo, 1992
) Is referred to.

【0013】またRSPC方式などの積符号を用いるD
VDにおいては、外部メモリに入力データを一時記憶し
て、これを順番に誤り訂正回路に送ることにより、誤り
訂正を行う。
D using a product code such as the RSPC method
In VD, error correction is performed by temporarily storing input data in an external memory and sequentially sending the input data to an error correction circuit.

【0014】このような場合の、従来の誤り訂正回路の
メモリ制御回路の構成をブロック図にて図6に示す。メ
モリ制御回路は、誤り訂正を行うデータを読み出し、訂
正後のデータを書き込むためにメモリのアドレスを生成
する回路である。
FIG. 6 is a block diagram showing the configuration of a memory control circuit of a conventional error correction circuit in such a case. The memory control circuit is a circuit that reads data to be subjected to error correction and generates an address of a memory to write the corrected data.

【0015】図6を参照して、メモリ制御部6は、メモ
リへの書き込みアドレスを生成する書き込みアドレスポ
インタ7へ書き込みポインタ更新信号109を、読み込
みアドレスポインタ8へ読み込みポインタ更新信号11
0を出力する。
Referring to FIG. 6, memory control unit 6 transmits a write pointer update signal 109 to write address pointer 7 for generating a write address to the memory, and a read pointer update signal 11 to read address pointer 8.
Outputs 0.

【0016】そして、書き込みアドレスポインタ7は書
き込みアドレス111を、読み込みアドレスポインタ8
は読み込みアドレス112をそれぞれ生成し、書き込み
アドレス111及び読み込みアドレス112を入力とす
るアドレス選択部9にて、メモリリードサイクルの時に
は、読み込みアドレス112を、メモリライトサイクル
の時には、書き込みアドレス111を選択し、メモリア
ドレス113をアドレスバス114へ出力する。
The write address pointer 7 stores the write address 111 and the read address pointer 8
Generates the read address 112, and selects the read address 112 in the memory read cycle and the write address 111 in the memory write cycle in the address selection unit 9 which receives the write address 111 and the read address 112 as inputs. , And outputs the memory address 113 to the address bus 114.

【0017】またメモリ制御部6は、R(リード)/W
(ライト)コントロール信号108を、R/W信号コン
トロール部10へ送る。ここで、アドレスバス114に
出力されるメモリアドレス113と同期して、R/W信
号コントロール部10は、メモリリード信号106、メ
モリライト信号107、出力イネーブル信号105を出
力する。
Further, the memory control unit 6 calculates R (read) / W
A (write) control signal 108 is sent to the R / W signal control unit 10. Here, in synchronization with the memory address 113 output to the address bus 114, the R / W signal control section 10 outputs a memory read signal 106, a memory write signal 107, and an output enable signal 105.

【0018】メモリリード信号106、メモリライト信
号107は、それぞれ入力データを記憶するメモリ(図
示せず)のR/W入力端子にそれぞれ接続し、出力イネ
ーブル信号105は、図5に示した誤り訂正回路の出力
制御部5に接続する。これらの動作をタイミングチャー
トで示すと、図7に示すようなものとなる。すなわち、
訂正後データ103(図5参照)が確定した時点で出力
イネーブル信号105がアクティブ(Lowレベル)と
なり、メモリライト信号107がアクティブ(Lowレ
ベル)とされてメモリに書き込まれる。
The memory read signal 106 and the memory write signal 107 are respectively connected to R / W input terminals of a memory (not shown) for storing input data, and the output enable signal 105 is used for the error correction shown in FIG. It is connected to the output control unit 5 of the circuit. These operations are shown in a timing chart as shown in FIG. That is,
When the corrected data 103 (see FIG. 5) is determined, the output enable signal 105 becomes active (Low level), and the memory write signal 107 becomes active (Low level) and is written into the memory.

【0019】[0019]

【発明が解決しようとする課題】以上説明したように、
DVDの誤り訂正方式(RSPC方式)では、2つのリ
ードソロモン符号(PIとPO)を用いている。PI訂
正ではRS(182、172)、PO訂正ではRS(2
08、192)であり、それぞれ10、16バイトのパ
リティを持つ。
As described above,
In the DVD error correction method (RSPC method), two Reed-Solomon codes (PI and PO) are used. RS (182, 172) for PI correction, RS (2
08, 192) and have parity of 10, 16 bytes, respectively.

【0020】そして、このように長い符号長の誤り訂正
符号を扱う訂正回路は、一般に回路規模が大きくなる、
という問題点がある。
A correction circuit which handles an error correction code having such a long code length generally has a large circuit scale.
There is a problem.

【0021】したがって、本発明は、上記問題点に鑑み
てなされたものであって、その目的は、符号長の長い誤
り訂正符号を処理する場合に回路規模を縮小して誤り訂
正を行う回路を備えた再生装置の提供することにある。
Accordingly, the present invention has been made in view of the above problems, and an object of the present invention is to provide a circuit for performing error correction by reducing the circuit scale when processing an error correction code having a long code length. And a playback device provided with the playback device.

【0022】[0022]

【課題を解決するための手段】前記目的を達成するた
め、本発明は、光ディスク等のデジタルデータを再生も
しくは記録再生する装置において、光ディスク等からの
再生信号を復調した後の訂正前データを一旦記憶する記
憶手段と、前記記憶手段に記憶されたデータ列を予め定
められた順番に読み出して誤り訂正部に送出し、前記誤
り訂正部において、誤り値/誤り位置の出力が確定した
際に、前記出力に対応する訂正前のデータを再び元の記
憶位置から読み出し、訂正箇所を訂正した後に、前記記
憶手段に、訂正後データを再書き込み、するように制御
する手段と、を備えたことを特徴とする。
In order to achieve the above object, the present invention relates to an apparatus for reproducing or recording / reproducing digital data on an optical disk or the like, in which data before correction after demodulating a reproduction signal from an optical disk or the like is temporarily used. A storage unit for storing, and a data sequence stored in the storage unit are read out in a predetermined order and sent to an error correction unit, and when the output of the error value / error position is determined in the error correction unit, Means for reading out the uncorrected data corresponding to the output from the original storage position again, correcting the corrected part, and then rewriting the corrected data in the storage means, and controlling the data to be rewritten. Features.

【0023】また本発明においては、誤り訂正回路は、
入力符号のシンドロームを計算するシンドローム計算部
と、該シンドロームより誤り値および誤り位置を計算す
る誤り値/誤り位置計算部、メモリデータバスよりラッ
チした訂正前データとの排他的論理和をとるXOR部、
訂正したデータをメモリに書き戻すために出力イネーブ
ル信号により訂正後データを出力する出力制御部と、を
備えて構成される。
According to the present invention, the error correction circuit comprises:
A syndrome calculation unit for calculating a syndrome of an input code; an error value / error position calculation unit for calculating an error value and an error position from the syndrome; and an XOR unit for performing an exclusive OR operation with uncorrected data latched from a memory data bus ,
And an output control unit that outputs corrected data by an output enable signal in order to write the corrected data back to the memory.

【0024】[0024]

【発明の実施の形態】本発明の実施の形態を図面を参照
して以下に説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0025】図4に、本発明に係る誤り訂正回路の実施
の形態の全体構成をブロック図にて示す。図4を参照す
ると、RSPC方式などの積符号を訂正する回路は、入
力データを記憶するメモリ回路14と、メモリ回路14
のアドレスを生成するメモリ制御回路12と、実際の誤
り訂正処理を行う誤り訂正回路13(この誤り訂正回路
13は請求項1、2の「誤り訂正部」に対応する)と、
を備えて構成される。
FIG. 4 is a block diagram showing the overall configuration of an embodiment of the error correction circuit according to the present invention. Referring to FIG. 4, a circuit for correcting a product code such as the RSPC method includes a memory circuit 14 for storing input data, and a memory circuit 14 for storing input data.
A memory control circuit 12 for generating an address of the above, an error correction circuit 13 for performing an actual error correction process (this error correction circuit 13 corresponds to the “error correction section” in claims 1 and 2),
It is comprised including.

【0026】メモリ制御回路12は、誤り訂正回路13
へ訂正前データを送るための読み込みアドレス112を
生成し、メモリ回路14へメモリリード信号106とと
もに送り、メモリ回路14に記憶されたデータをメモリ
データバス115へ出力させ、その後、誤り訂正回路1
3へラッチ信号104を送り、データを保持させる。
The memory control circuit 12 includes an error correction circuit 13
A read address 112 for sending uncorrected data to the memory circuit 14 is sent to the memory circuit 14 together with the memory read signal 106, and the data stored in the memory circuit 14 is output to the memory data bus 115.
3 to send the latch signal 104 to hold the data.

【0027】誤り訂正回路13で訂正されたデータは、
メモリデータバス115へ出力され、同時に、メモリ制
御回路12からアドレスバス114に書き込みアドレス
111とメモリライト信号107が出力され、メモリ回
路14に再記録される。
The data corrected by the error correction circuit 13 is
The data is output to the memory data bus 115, and at the same time, the write address 111 and the memory write signal 107 are output from the memory control circuit 12 to the address bus 114, and are re-recorded in the memory circuit 14.

【0028】この処理の繰り返しで、図8に示すよう
な、RSPC方式のエラー訂正が行われる。すなわち、
誤り訂正回路13において、誤り値/誤り位置の出力が
確定した際に、メモリ回路14から再読み出しされた訂
正前データの誤り箇所を訂正し、この訂正後データをメ
モリ回路14に書き込む処理を繰り返してエラー訂正が
行われる。
By repeating this process, the error correction of the RSPC system is performed as shown in FIG. That is,
When the output of the error value / error position is determined in the error correction circuit 13, the process of correcting the error portion of the pre-correction data re-read from the memory circuit 14 and writing the corrected data to the memory circuit 14 is repeated. Error correction is performed.

【0029】上記した本発明の実施の形態について更に
詳細に説明すべく、本発明の実施例について以下に説明
する。図2は、本発明の一実施例におけるメモリ制御回
路12の構成をブロック図にて示したものである。図2
を参照すると、メモリ制御回路12は、メモリ制御部
6、書き込みアドレスポインタ7、読み込みアドレスポ
インタ8、アドレス選択部9、及びR/W信号コントロ
ール部10を備えて構成されている。
In order to describe the above-described embodiment of the present invention in more detail, examples of the present invention will be described below. FIG. 2 is a block diagram showing a configuration of the memory control circuit 12 according to one embodiment of the present invention. FIG.
2, the memory control circuit 12 includes a memory control unit 6, a write address pointer 7, a read address pointer 8, an address selection unit 9, and an R / W signal control unit 10.

【0030】この回路全体の制御はメモリ制御部6が行
う。メモリ制御部6は、メモリへの書き込みアドレス1
11を生成する書き込みアドレスポインタ7に対して、
次のアドレスを生成するように、書き込みポインタ更新
信号109を送ることで行う。また同様に、読み込みア
ドレス112は、読み込みアドレスポインタ8で生成さ
れ、メモリ制御部6からの読み込みポインタ更新信号1
10により更新される。
The control of the entire circuit is performed by the memory control unit 6. The memory control unit 6 stores the write address 1 to the memory.
11 for a write address pointer 7 that generates
This is performed by sending a write pointer update signal 109 so as to generate the next address. Similarly, the read address 112 is generated by the read address pointer 8 and the read pointer update signal 1 from the memory control unit 6 is read.
Updated by 10.

【0031】またメモリ制御部6は、R/W信号コント
ロール回路10へ、R/Wコントロール108を送るこ
とにより、図3にタイミング図として示すタイミングに
従い、各種制御信号を、順番に出力する。
The memory control section 6 sends the R / W control 108 to the R / W signal control circuit 10 to sequentially output various control signals in accordance with the timing shown in the timing chart of FIG.

【0032】アドレス選択部9は、メモリリード信号1
06が出された場合には読み込みアドレス112、メモ
リライト信号107が出された場合には書き込みアドレ
ス111をアドレスバス114に出力する。
The address selection section 9 receives the memory read signal 1
When 06 is output, the read address 112 is output to the address bus 114, and when the memory write signal 107 is output, the write address 111 is output to the address bus 114.

【0033】図1は、本発明の一実施例における誤り訂
正部の構成をブロック図にて示したものである。図1を
参照すると、誤り訂正部は、訂正前データ(図4の誤り
訂正回路13)のシンドロームを計算するシンドローム
計算部1と、このシンドロームより誤り値および誤り位
置を計算する誤り値/誤り位置計算部2と、メモリデー
タバス115よりラッチ回路4にてラッチした訂正前デ
ータと誤り値/誤り位置計算部2の出力との排他的論理
和をとるXOR部3と、訂正したデータ103をメモリ
回路に書き戻すために出力イネーブル信号により訂正後
データを出力する出力制御部5と、を備えた構成とされ
る。
FIG. 1 is a block diagram showing a configuration of an error correction unit according to an embodiment of the present invention. Referring to FIG. 1, the error correction unit includes a syndrome calculation unit 1 for calculating a syndrome of the data before correction (the error correction circuit 13 in FIG. 4), and an error value / error position for calculating an error value and an error position from the syndrome. A calculation unit 2; an XOR unit 3 for performing an exclusive OR operation on the data before correction latched by the latch circuit 4 from the memory data bus 115 and the output of the error value / error position calculation unit 2; And an output control unit 5 that outputs corrected data by an output enable signal in order to write back to the circuit.

【0034】訂正前データ101は、シンドローム計算
部1でシンドロームが計算され、エラーの有無がまず判
定される。シンドロームがゼロの場合には、誤り値/誤
り位置計算部2で、エラーの位置を特定し、当該エラー
位置のビットを“1”にする(エラーのないところは
“0”)。なお、ここまでの処理は、図5に示した従来
技術と同じ処理である。
The syndrome of the uncorrected data 101 is calculated by the syndrome calculation unit 1, and the presence or absence of an error is first determined. If the syndrome is zero, the error value / error position calculation unit 2 specifies the position of the error, and sets the bit at the error position to “1” (“0” where there is no error). The processing up to this point is the same processing as the conventional technique shown in FIG.

【0035】その後、メモリ回路14(図4参照)から
メモリデータバス115上に読み出された訂正前データ
101は、図5に示した従来技術のように遅延回路(図
5の入力データ遅延部11)からのデータではなく、メ
モリ回路14から再読み出しされてラッチ回路4にて保
持され、オーバーライト位置訂正前データ102とし
て、XOR回路3で誤り位置が反転されて誤り訂正が行
われ、訂正後データ103となり、出力イネーブル信号
105により出力制御部5からメモリデータバス115
へ出力される。
Thereafter, the uncorrected data 101 read from the memory circuit 14 (see FIG. 4) onto the memory data bus 115 is supplied to the delay circuit (the input data delay unit shown in FIG. 5) as in the prior art shown in FIG. 11), the data is re-read from the memory circuit 14 and held in the latch circuit 4, and as the data 102 before overwrite position correction, the error position is inverted by the XOR circuit 3 and error correction is performed. After that, the data becomes the data 103, and the output enable signal 105 causes the output control unit 5 to output the data bus 115
Output to

【0036】この訂正後データ103は、前述したよう
に、メモリ制御回路12の制御により、メモリ回路14
へ書き戻される。
The corrected data 103 is stored in the memory circuit 14 under the control of the memory control circuit 12 as described above.
Written back to

【0037】この動作の様子をタイミングチャートで表
すと、図3に示すようなものとなる。図3を参照して、
メモリリード信号106がアクティブとされ(Lowレ
ベル)、まずメモリ回路14から訂正前データ101が
読み出され、誤り値/誤り位置計算部2での計算出力が
確定した時点で、ラッチ信号104の立ち上がりエッジ
にて、再び読み出された訂正前データをラッチ回路4が
ラッチしてオーバライト位置訂正前データ102として
出力保持し、このオーバライト位置訂正前データ102
と誤り値/誤り位置計算部2の出力(エラーがある位置
は“1”、エラーがなければ“0”)との排他的論理和
出力が訂正後データとしてXOR部3から出力され、こ
の訂正後データをメモリライト信号107をアクティブ
(Lowレベル)としてメモリ回路14に書き込む。
FIG. 3 shows a timing chart of this operation. Referring to FIG.
When the memory read signal 106 is activated (Low level), first, the uncorrected data 101 is read from the memory circuit 14, and when the calculation output by the error value / error position calculation unit 2 is determined, the rising of the latch signal 104 is started. At the edge, the pre-correction data read again is latched by the latch circuit 4 and output and held as the overwrite position correction data 102.
The exclusive-OR output of the output of the error value / error position calculation unit 2 (the position where an error is present is “1”, and if there is no error is “0”) is output from the XOR unit 3 as corrected data. The subsequent data is written to the memory circuit 14 with the memory write signal 107 active (Low level).

【0038】本発明の実施例の変形として、入力される
誤り訂正符号の符号長の長い場合には、図1を参照して
説明した誤り訂正回路を用い、一方、符号長の短い場合
には、メモリ回路14からの再読み出しを行わずに、訂
正処理遅延時間分の段数を持つシフトレジスタ(図5の
11)を介して訂正前遅延データ102をXOR部10
3に供給するように構成してもよい。この場合、誤り訂
正回路の符号長が30シンボルよりも短い場合に、メモ
リ回路14からの再読み出しを行わずに誤り訂正部のシ
フトレジスタを用いて訂正前データを遅延させるものと
する。
As a modification of the embodiment of the present invention, when the code length of the input error correction code is long, the error correction circuit described with reference to FIG. 1 is used. On the other hand, when the code length is short, Without re-reading from the memory circuit 14, the XOR unit 10 converts the uncorrected delay data 102 through the shift register (11 in FIG. 5) having the number of stages corresponding to the correction processing delay time.
3 may be supplied. In this case, when the code length of the error correction circuit is shorter than 30 symbols, the data before correction is delayed using the shift register of the error correction unit without performing rereading from the memory circuit 14.

【0039】[0039]

【発明の効果】以上説明したように、本発明の誤り訂正
回路によれば、DVDのような長い符号長のデータを扱
う場合においても、入力信号の遅延のためのシフトレジ
スタを削減することが可能となり、回路のゲート数を少
なくすることができる。このため、本発明によれば、L
SIのコストを抑制でき、光ディスク装置の低コスト化
を達成するという効果を奏する。
As described above, according to the error correction circuit of the present invention, the shift register for delaying the input signal can be reduced even when data having a long code length such as a DVD is handled. This makes it possible to reduce the number of gates in the circuit. Therefore, according to the present invention, L
This has the effect of reducing the cost of the SI and achieving a reduction in the cost of the optical disk device.

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

【図1】本発明の一実施例の誤り訂正回路の構成を示す
ブロック図である。
FIG. 1 is a block diagram illustrating a configuration of an error correction circuit according to an embodiment of the present invention.

【図2】本発明の一実施例における誤り訂正回路のメモ
リ制御回路の構成を示すブロック図である。
FIG. 2 is a block diagram illustrating a configuration of a memory control circuit of an error correction circuit according to one embodiment of the present invention.

【図3】本発明の一実施例の動作を説明するためのタイ
ミングチャートである。
FIG. 3 is a timing chart for explaining the operation of one embodiment of the present invention.

【図4】本発明の実施の形態の全体構成を示すブロック
図である。
FIG. 4 is a block diagram showing an overall configuration of an embodiment of the present invention.

【図5】従来の誤り訂正回路の構成例を示すブロック図
である。
FIG. 5 is a block diagram illustrating a configuration example of a conventional error correction circuit.

【図6】従来の誤り訂正回路のメモリ制御回路の構成を
示すブロック図である。
FIG. 6 is a block diagram showing a configuration of a memory control circuit of a conventional error correction circuit.

【図7】従来技術の動作を説明するためのタイミングチ
ャートである。
FIG. 7 is a timing chart for explaining the operation of the related art.

【図8】RSPC誤り訂正方式のフォーマットを説明す
るための図である。
FIG. 8 is a diagram for explaining a format of an RSPC error correction system.

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

1 シンドローム計算部 2 誤り値/誤り位置計算部 3 XOR部 4 ラッチ 5 出力制御部 6 メモリ制御部 7 書込みアドレスポインタ 8 読込みアドレスポインタ 9 アドレス選択部 10 R/W信号コントロール部 11 入力データ遅延部 12 メモリ制御回路 13 誤り訂正回路 14 メモリ回路 101 訂正前データ 102 オーバーライト位置訂正前データ 103 訂正後データ 104 ラッチ信号 105 出力イネーブル信号 106 メモリデータバス 107 メモリライト信号 108 R/Wコントロール 109 書き込みポインタ更新信号 110 読み込みポインタ更新信号 111 書込みアドレス 112 読込みアドレス 113 メモリアドレス 114 アドレスバス 115 メモリデータバス DESCRIPTION OF SYMBOLS 1 Syndrome calculation part 2 Error value / error position calculation part 3 XOR part 4 Latch 5 Output control part 6 Memory control part 7 Write address pointer 8 Read address pointer 9 Address selection part 10 R / W signal control part 11 Input data delay part 12 Memory control circuit 13 Error correction circuit 14 Memory circuit 101 Data before correction 102 Data before overwrite position correction 103 Data after correction 104 Latch signal 105 Output enable signal 106 Memory data bus 107 Memory write signal 108 R / W control 109 Write pointer update signal 110 Read pointer update signal 111 Write address 112 Read address 113 Memory address 114 Address bus 115 Memory data bus

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】光ディスク等のデジタルデータを再生もし
くは記録再生する装置において、 光ディスク等からの再生信号を復調した後の訂正前デー
タを一旦記憶する記憶手段と、 前記記憶手段に記憶されたデータ列を予め定められた順
番に読み出して誤り訂正部に送出し、 前記誤り訂正部において、誤り値/誤り位置の出力が確
定した際に、前記出力に対応する訂正前のデータを再び
元の記憶位置から読み出し、訂正箇所を訂正した後に、
前記記憶手段に、訂正後データを再書き込み、するよう
に制御する手段と、 を備えたことを特徴とする誤り訂正回路。
An apparatus for reproducing or recording / reproducing digital data on an optical disk or the like, comprising: storage means for temporarily storing data before correction after demodulating a reproduction signal from an optical disk or the like; and a data string stored in the storage means Are read out in a predetermined order and sent to the error correction unit. When the output of the error value / error position is determined in the error correction unit, the data before correction corresponding to the output is returned to the original storage position. After reading from the
An error correction circuit, comprising: a means for controlling the rewriting of the corrected data in the storage means.
【請求項2】前記誤り訂正部が、入力符号のシンドロー
ムを計算するシンドローム計算部と、 該シンドロームより誤り値および誤り位置を計算する誤
り値/誤り位置計算部と、 前記記憶手段から読み出された訂正前データと前記誤り
値/誤り位置計算部の出力との排他的論理論理和を出力
する手段と、 訂正したデータを前記記憶手段に書き戻すために出力イ
ネーブル信号により訂正後データを出力する出力制御部
と、 を備えたことを特徴とする請求項1記載の誤り訂正回
路。
2. An error correction unit for calculating a syndrome of an input code; an error value / error position calculation unit for calculating an error value and an error position from the syndrome; Means for outputting an exclusive-OR of the corrected data before correction and the output of the error value / error position calculating section; and outputting corrected data by an output enable signal for writing back the corrected data to the storage means. The error correction circuit according to claim 1, further comprising: an output control unit.
【請求項3】入力される誤り訂正符号の符号長の長い場
合には、請求項1記載の誤り訂正回路を用い、符号長の
短い場合には前記記憶手段からの再読み出しを行わず
に、誤り訂正部に、訂正処理遅延時間分の段数を持つシ
フトレジスタを備えたことを特徴とする誤り訂正回路。
3. An error correction circuit according to claim 1, wherein the code length of the input error correction code is long, and when the code length is short, rereading from said storage means is not performed. An error correction circuit, wherein the error correction unit includes a shift register having the number of stages corresponding to the correction processing delay time.
【請求項4】誤り訂正回路の符号長が30シンボルより
も短い場合に、前記記憶手段からの再読み出しを行わず
に、誤り訂正部に内蔵されたシフトレジスタを用いるこ
とを特徴とする請求項3記載の誤り訂正回路。
4. The method according to claim 1, wherein when the code length of the error correction circuit is shorter than 30 symbols, a shift register built in the error correction unit is used without rereading from the storage means. 3. The error correction circuit according to 3.
【請求項5】光ディスク等のデジタルデータを再生もし
くは記録再生する装置において、 光ディスク等からの再生信号を復調した後の訂正前デー
タを一旦記憶する記憶手段、を備え、 入力符号のシンドロームを計算するシンドローム計算部
と、 該シンドロームより誤り値および誤り位置を計算する誤
り値/誤り位置計算部と、 訂正前データと前記誤り値/誤り位置計算部の出力との
排他的論理論理和をとるゲート手段と、 訂正したデータを前記記憶手段に書き戻すために出力イ
ネーブル信号により訂正後データを出力する出力制御部
と、 を有する誤り訂正部、を備え、 前記記憶手段に記憶されたデータ列を予め定められた順
番に読み出して前記誤り訂正部に送出し、 前記誤り値/誤り位置計算部の出力が確定した際に、前
記記憶手段の元の記憶位置から再び読み出された前記出
力に対応する訂正前データを入力とするラッチ回路にラ
ッチタイミング信号を供給し、 前記ラッチ回路の出力と前記誤り値/誤り位置計算部の
出力との排他的論理論理和を、訂正後データとして、前
記出力制御部から前記記憶手段に再書き込みするように
制御する制御手段を、更に備えたことを特徴とする誤り
訂正回路。
5. An apparatus for reproducing or recording / reproducing digital data on an optical disk or the like, comprising storage means for temporarily storing data before correction after demodulating a reproduction signal from the optical disk or the like, and calculating a syndrome of an input code. A syndrome calculating unit, an error value / error position calculating unit for calculating an error value and an error position from the syndrome, and a gate means for obtaining an exclusive OR of data before correction and an output of the error value / error position calculating unit An output control unit that outputs corrected data by an output enable signal in order to write the corrected data back to the storage unit; and an error correction unit that includes: Read out in the order given and sent to the error correction unit. When the output of the error value / error position calculation unit is determined, A latch timing signal is supplied to a latch circuit which receives the uncorrected data corresponding to the output read again from the storage position of the latch circuit, and exclusion of the output of the latch circuit and the output of the error value / error position calculation unit is performed. An error correction circuit, further comprising control means for controlling rewriting of the logical sum as corrected data from the output control unit to the storage means.
JP8327637A 1996-11-22 1996-11-22 Error correction circuit Pending JPH10154941A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8327637A JPH10154941A (en) 1996-11-22 1996-11-22 Error correction circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8327637A JPH10154941A (en) 1996-11-22 1996-11-22 Error correction circuit

Publications (1)

Publication Number Publication Date
JPH10154941A true JPH10154941A (en) 1998-06-09

Family

ID=18201282

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8327637A Pending JPH10154941A (en) 1996-11-22 1996-11-22 Error correction circuit

Country Status (1)

Country Link
JP (1) JPH10154941A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6907559B2 (en) 2000-12-22 2005-06-14 Koninklijke Philips Electronics N.V. Method and apparatus for data reproduction
US9298549B2 (en) 2013-12-11 2016-03-29 International Business Machines Corporation Read buffer architecture supporting integrated XOR-reconstructed and read-retry for non-volatile random access memory (NVRAM) systems

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6907559B2 (en) 2000-12-22 2005-06-14 Koninklijke Philips Electronics N.V. Method and apparatus for data reproduction
US9298549B2 (en) 2013-12-11 2016-03-29 International Business Machines Corporation Read buffer architecture supporting integrated XOR-reconstructed and read-retry for non-volatile random access memory (NVRAM) systems
US10169145B2 (en) 2013-12-11 2019-01-01 International Business Machines Corporation Read buffer architecture supporting integrated XOR-reconstructed and read-retry for non-volatile random access memory (NVRAM) systems

Similar Documents

Publication Publication Date Title
US6553533B2 (en) Method and apparatus for detecting and correcting errors and erasures in product ECC-coded data arrays for DVD and similar storage subsystems
KR100517482B1 (en) Concurrent row/column syndrome generator for a product code
US4881232A (en) Method and apparatus for error correction
US8001447B2 (en) Error correction method and apparatus for data storage device
JP2004348824A (en) Ecc encoding method and ecc encoding device
JPH10154941A (en) Error correction circuit
JP2000207837A (en) Information recording method
KR100361947B1 (en) Error detection circuit applied to disk reproducing apparatus
US20080109706A1 (en) Error correction method and apparatus for optical information storage medium recording/reproducing apparatus
US20030159091A1 (en) Data processor
US7213190B2 (en) Data processing apparatus and method
JP2000010807A (en) Digital data reproducing device
JPH07169205A (en) Method for reproducing data and device therefor
JP3302896B2 (en) Error correction circuit, disk reproducing apparatus and CD-ROM drive using the same
JP4004102B2 (en) Code error correction detection device
KR100207616B1 (en) Method and circuit for the processing of error flags
JPS63197122A (en) Error correcting and checking device
KR100215807B1 (en) Error correcting apparatus and method for digital signal
JP3740256B2 (en) Error correction code decoding apparatus and error correction code decoding method
KR19990049147A (en) Error correction method
JPS63298776A (en) Error correction processing system
JP4504591B2 (en) Optical disc recording method and recording / reproducing apparatus
JP3995693B2 (en) Code error correction detection device
JPH10320933A (en) Circuit for processing reproduction signal of optical disk
JPH11213575A (en) Data recording device and data recording and reproducing device

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20000425