JPH1116298A - Code error correcting device - Google Patents

Code error correcting device

Info

Publication number
JPH1116298A
JPH1116298A JP9162794A JP16279497A JPH1116298A JP H1116298 A JPH1116298 A JP H1116298A JP 9162794 A JP9162794 A JP 9162794A JP 16279497 A JP16279497 A JP 16279497A JP H1116298 A JPH1116298 A JP H1116298A
Authority
JP
Japan
Prior art keywords
error
data
code
internal memory
digital data
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
JP9162794A
Other languages
Japanese (ja)
Inventor
Yuuichirou Tsukamizu
雄一朗 塚水
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP9162794A priority Critical patent/JPH1116298A/en
Priority to US09/098,095 priority patent/US6243845B1/en
Publication of JPH1116298A publication Critical patent/JPH1116298A/en
Pending legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)

Abstract

PROBLEM TO BE SOLVED: To speed up the detecting and correcting processing of bit error of CD-ROM data. SOLUTION: An internal memory control circuit 15 and an external memory control circuit 16 are installed for an input interface 11, an error correcting circuit 12, an error detecting circuit 13 and an output interface to constitute a CD-ROM decoder together with an internal memory 17. The CD-ROM data are stored into the internal memory 17 and the external memory 20 respectively through the input interface and taken into an error correcting circuit 12 from the internal memory 17. Based on the positions and error of bit error calculated by an error correcting circuit 12, error portions are rewritten for the CD-ROM data stored in the internal memory 17 and the external memory 20. The CD- ROM data for which correcting processing is completed are taken into the output interface 14 from the external memory 20 to be transmitted to the host computer side.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、CD(Compact Dis
c)やDVD(Digital Video Disc)等の記録媒体から読み
出されるデジタルデータに対し、データに含まれる誤り
訂正符号及び誤り検出符号に従う処理を施す符号誤り訂
正検出装置に関する。
TECHNICAL FIELD The present invention relates to a CD (Compact Dis
The present invention relates to a code error correction detection device that performs processing in accordance with an error correction code and an error detection code included in data on digital data read from a recording medium such as c) or a DVD (Digital Video Disc).

【0002】[0002]

【従来の技術】デジタルオーディオに用いられるCDを
デジタルデータの読み出し専用メモリ(ROM)として
活用するCD−ROMシステムにおいては、ディスクか
ら読み出されるデータの信頼性を高めるため、読み出さ
れたデジタルデータに対して符号誤りの訂正処理が二重
に施される。これらの訂正処理は、オーディオシステム
と共通のデジタル信号処理部で1回目を実行し、CD−
ROMシステム専用に設けられるCD−ROMデコーダ
で2回目を実行するように構成される。
2. Description of the Related Art In a CD-ROM system in which a CD used for digital audio is utilized as a read-only memory (ROM) for digital data, in order to improve the reliability of data read from a disk, the read digital data is read. On the other hand, code error correction processing is performed twice. These correction processes are performed first by a digital signal processing unit common to the audio system, and the CD-
The CD-ROM decoder provided exclusively for the ROM system is configured to execute the second time.

【0003】図7は、CD−ROMシステムの構成を示
すブロック図で、図8は、このシステムの各部で取り扱
われるデータの構成図である。ピックアップ部1は、デ
ィスク2に照射される光の反射光を受け、その光の強弱
を電圧値の変化として取り出す。ピックアップ制御部3
は、ピックアップ部1がディスク2に記憶されたデータ
を正しい順序で読み出すことができるように、ディスク
2に対するCDピックアップ部1の読み取り位置を制御
する。ディスク2の再生では、ピックアップ部1で読み
取られるトラックの線速度を一定に保つようにするた
め、ピックアップ制御部3によるピックアップ部1の位
置の制御に合わせて、ディスク2を所定の速度で回転駆
動するようにサーボ制御が行われる。
FIG. 7 is a block diagram showing the structure of a CD-ROM system, and FIG. 8 is a diagram showing the structure of data handled by each part of the system. The pickup unit 1 receives the reflected light of the light applied to the disk 2 and extracts the intensity of the light as a change in the voltage value. Pickup controller 3
Controls the reading position of the CD pickup unit 1 with respect to the disk 2 so that the pickup unit 1 can read data stored in the disk 2 in a correct order. In reproducing the disk 2, the disk 2 is driven to rotate at a predetermined speed in accordance with the control of the position of the pickup unit 1 by the pickup control unit 3 in order to keep the linear velocity of the track read by the pickup unit 1 constant. Servo control is performed.

【0004】アナログ信号処理部4は、ピックアップ部
1から出力される電圧値の変化を読み取り、588ビッ
トを1フレームとするEFM(Eight to Fourteen Modul
ation)信号を生成する。このEFM信号は、図8に示す
ように、各フレームの始まりの24ビットが同期信号に
割り当てられ、その後に3ビットの接続ビットを挟んで
14ビットがデータビットに繰り返し割り当てられる。
デジタル信号処理部5は、アナログ信号処理部4から入
力されるEFM信号に対してEFM復調を施し、14ビ
ットを8ビットに変換する。このEFM復調の際には、
同期信号に続く最初のデータビットから8ビットのサブ
コードデータが生成され、残された32個のデータビッ
トから32バイトのシンボルデータが生成される。さら
に、32バイトのシンボルデータに対して、CIRC(C
ross-Interleave Reed-Solomon Code)復号を施し、1フ
レームが24バイトからなるCD−ROMデータが生成
される。このCIRC復号によって最初の符号誤りの訂
正処理が完了する。
An analog signal processing unit 4 reads a change in the voltage value output from the pickup unit 1 and uses an EFM (Eight to Fourteen Modul) that uses 588 bits as one frame.
ation) signal. As shown in FIG. 8, in the EFM signal, the first 24 bits of each frame are allocated to a synchronization signal, and thereafter, 14 bits are repeatedly allocated to data bits with three connection bits interposed therebetween.
The digital signal processing unit 5 performs EFM demodulation on the EFM signal input from the analog signal processing unit 4 and converts 14 bits to 8 bits. In this EFM demodulation,
8-bit subcode data is generated from the first data bit following the synchronization signal, and 32-byte symbol data is generated from the remaining 32 data bits. Further, CIRC (C
Cross-Interleave Reed-Solomon Code) decoding is performed to generate CD-ROM data in which one frame is composed of 24 bytes. The first code error correction process is completed by this CIRC decoding.

【0005】このCD−ROMデータは、24バイト×
98フレームの合計2352バイトが1ブロックとして
取り扱われる。この1ブロックのデータに対しては、通
常(モード1の場合)は図9に示すように、同期信号
〔12バイト〕、ヘッダ〔4バイト〕、ユーザデータ
〔2048バイト〕、誤り検出符号EDC(Error Detec
tion Code)〔4バイト〕及び誤り訂正符号ECC(Error
Correction Code)〔276バイト〕がそれぞれ割り当
てられる。また、このCD−ROMデータについては、
1ブロックのデータうち、同期信号12バイトを除いた
2340バイトにスクランブル処理が施されており、再
生時にディスクランブル処理が施されて元の状態に戻さ
れる。
[0005] This CD-ROM data is 24 bytes x
A total of 2352 bytes of 98 frames are treated as one block. Normally (in the case of mode 1), as shown in FIG. 9, the synchronization signal [12 bytes], the header [4 bytes], the user data [2048 bytes], and the error detection code EDC ( Error Detec
Option Code (4 bytes) and Error Correction Code ECC (Error
Correction Code) [276 bytes] is allocated. For this CD-ROM data,
Of the data of one block, 2340 bytes excluding the sync signal of 12 bytes have been scrambled, and are descrambled during reproduction to return to the original state.

【0006】CD−ROMデコーダ6は、デジタル信号
処理部5から入力されるCD−ROMデータに対して、
誤り訂正符号ECC及び誤り検出符号EDCに基づく符
号誤りの訂正処理及び検出処理を行い、処理が完了した
CD−ROMデータをホストコンピュータへ出力する。
このCD−ROMデコーダ6における処理では、通常、
誤り訂正符号ECCによってデータの符号誤りを訂正し
た後、誤り検出符号EDCによって符号誤りが正しく訂
正されているか否かを確認するようにしている。そし
て、符号の誤りが残されているときには、再度誤り訂正
符号ECCによる符号誤りの訂正処理を施すか、あるい
は、エラーフラグを付加した状態で、符号誤りを含んだ
ままのCD−ROMデータをホストコンピュータへ出力
するように構成される。
[0006] The CD-ROM decoder 6 converts CD-ROM data input from the digital signal processing section 5 into data.
It performs code error correction processing and detection processing based on the error correction code ECC and the error detection code EDC, and outputs the processed CD-ROM data to the host computer.
In the processing in the CD-ROM decoder 6, usually,
After correcting a code error of data by the error correction code ECC, it is confirmed whether or not the code error is correctly corrected by the error detection code EDC. If a code error remains, the code error is corrected again by the error correction code ECC, or the CD-ROM data containing the code error is transferred to the host computer with the error flag added. It is configured to output to a computer.

【0007】バッファRAM7は、CD−ROMデコー
ダ6に接続され、デジタル信号処理部5からCD−RO
Mデコーダ6に入力されるCD−ROMデータを1ブロ
ック単位で一時的に記憶する。誤り訂正符号ECC及び
誤り検出符号EDCは、1ブロック分のCD−ROMデ
ータに対して付加されるため、CD−ROMデコーダ6
での処理には少なくとも1ブロック分のCD−ROMデ
ータが必要となる。そこで、それぞれの処理で必要な1
ブロック分のCD−ROMデータを記憶するようにバッ
ファRAM7が設けられる。制御マイコン8は、制御プ
ログラムが記憶されたメモリを内蔵する所謂ワンチップ
マイコンで構成され、その制御プログラムに従ってCD
−ROMデコーダ6の動作を制御する。同時に、制御マ
イコン8は、ホストコンピュータから入力されるコマン
ドデータあるいはデジタル信号処理部5から入力される
サブコードデータを一旦内蔵のメモリに記憶する。これ
により制御マイコン8は、ホストコンピュータからの指
示に応答して各部の動作を制御し、CD−ROMデコー
ダ6からホストコンピュータへ所望のCD−ROMデー
タを出力させる。
[0007] The buffer RAM 7 is connected to the CD-ROM decoder 6 and receives a CD-RO signal from the digital signal processor 5.
The CD-ROM data input to the M decoder 6 is temporarily stored in units of one block. The error correction code ECC and the error detection code EDC are added to one block of CD-ROM data.
Requires at least one block of CD-ROM data. Therefore, the necessary 1
A buffer RAM 7 is provided to store CD-ROM data for blocks. The control microcomputer 8 is a so-called one-chip microcomputer having a built-in memory in which a control program is stored.
Control the operation of the ROM decoder 6; At the same time, the control microcomputer 8 temporarily stores command data input from the host computer or subcode data input from the digital signal processing unit 5 in a built-in memory. Thus, the control microcomputer 8 controls the operation of each unit in response to an instruction from the host computer, and causes the CD-ROM decoder 6 to output desired CD-ROM data to the host computer.

【0008】[0008]

【発明が解決しようとする課題】CD−ROMデコーダ
6では、CD−ROMデータに対する符号誤りの訂正検
出の処理に加えて、デジタル信号処理部5からのCD−
ROMデータの入力及びホストコンピュータへのCD−
ROMデータの出力が並列して行われる。そして、それ
ぞれの処理に合わせて、バッファRAM7に対するCD
−ROMデータの書き込み及び読み出しが繰り返され
る。このとき、CD−ROMデコーダ6からバッファR
AM7へのアクセスは、それぞれの処理毎にバイト単位
または符号単位で時分割に割り当てられる。
In the CD-ROM decoder 6, in addition to the process of detecting the error correction of the code error in the CD-ROM data, the CD-ROM decoder 6 receives the CD-ROM data from the digital signal processing unit 5.
ROM data input and CD to host computer
The output of the ROM data is performed in parallel. Then, in accordance with each processing, the CD in the buffer RAM 7 is stored.
-Writing and reading of ROM data are repeated. At this time, the buffer R
Access to the AM 7 is allocated in a time-division manner in byte units or code units for each process.

【0009】一般に、CD−ROMデコーダ6において
は、1つのブロックのCD−ROMデータに対する符号
誤りの訂正及び検出のための処理を1ブロック期間以内
で完了させるようにしている。ここで、再生速度の高速
化に伴い、1ブロック期間内で所定の処理を完了できな
くなることが生じると、連続して入力されるCD−RO
Mデータが次々にバッファRAM7に書き込まれるた
め、CD−ROMデータが未処理のままバッファRAM
7内に残される。このような状態が続けば、バッファR
AM7がオーバーフロー状態となり、CD−ROMデコ
ーダ6へのCD−ROMデータの入力を一時的に中断し
なければならなくなる。
In general, the CD-ROM decoder 6 completes a process for correcting and detecting a code error in one block of CD-ROM data within one block period. Here, if the predetermined processing cannot be completed within one block period due to the increase in the reproduction speed, the CD-RO continuously input
M data is successively written to the buffer RAM 7, so that the CD-ROM data is left unprocessed in the buffer RAM 7.
7 are left. If such a state continues, the buffer R
The AM 7 enters an overflow state, and the input of CD-ROM data to the CD-ROM decoder 6 must be temporarily interrupted.

【0010】CD−ROMシステムにおいて、各部の動
作の基準となるシステムクロックの周波数を変更するこ
となくディスク2の再生速度を上げる(倍速再生等の場
合)と、1ブロック期間のクロックの総数が減少する。
このため、CD−ROMデコーダ6での符号誤りの検出
及び訂正のためのクロック数が不足し、所定の処理を1
ブロック期間内に完了できなくなる可能性が高くなる。
また、CD−ROMデータをホストコンピュータへ転送
するためのバッファRAM7に対する読み出し頻度を高
くすると、CD−ROMデータの転送速度自体は高くな
る。しかしながら、符号誤りの訂正及び検出のためのバ
ッファRAM7に対する読み出し及び書き込みが時間的
に制限を受けるようになるため、CD−ROMデコーダ
6での符号誤りの訂正及び検出のための処理が遅れ、1
ブロック期間内で所定の処理を完了できなくなる可能性
はさらに高くなる。
In a CD-ROM system, if the reproduction speed of the disk 2 is increased without changing the frequency of the system clock as a reference for the operation of each unit (in the case of double-speed reproduction, etc.), the total number of clocks in one block period decreases. I do.
For this reason, the number of clocks for detecting and correcting a code error in the CD-ROM decoder 6 is insufficient, and the predetermined processing is performed by one.
It is more likely that the task cannot be completed within the block period.
Further, when the frequency of reading data from the buffer RAM 7 for transferring the CD-ROM data to the host computer is increased, the transfer speed of the CD-ROM data itself is increased. However, since reading and writing to and from the buffer RAM 7 for correcting and detecting a code error are time-limited, processing for correcting and detecting a code error in the CD-ROM decoder 6 is delayed.
The possibility that the predetermined processing cannot be completed within the block period is further increased.

【0011】これらの問題は、倍速再生のCD−ROM
システムに限らず、高密度記録媒体であるDVDをRO
Mとして利用するDVD−ROMシステムにおいても同
様に発生する。CDの約7倍の記憶容量を有するDVD
においては、その再生速度をCD以上に高速化すること
が望まれており、データの転送やデコード処理(符号誤
りの訂正検出)の速度の向上は重要な課題の一つであ
る。
[0011] These problems are caused by a double-speed reproduction CD-ROM.
Not only the system, but also DVD
This also occurs in a DVD-ROM system used as M. DVD with storage capacity about 7 times that of CD
In, it is desired that the reproduction speed be higher than that of a CD, and improving the speed of data transfer and decoding (correction detection of a code error) is one of the important issues.

【0012】そこで本発明は、一定時間内に所定の処理
を完了させながら、データの転送速度の高速化に有利な
誤り訂正検出装置を提供することを目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to provide an error correction detection device which is advantageous for increasing the data transfer speed while completing a predetermined process within a predetermined time.

【0013】[0013]

【課題を解決するための手段】本発明は、上述の課題を
解決するために成されたもので、その特徴とするところ
は、記録媒体から読み出される誤り訂正符号及び誤り検
出符号を含むデジタルデータに対して、誤り訂正符号及
び誤り検出符号に基づく処理を施し、処理済みのデジタ
ルデータをコンピュータ機器側へ転送する符号誤り訂正
検出装置において、所定のバイト数で構成されるブロッ
ク単位で記録媒体から読み出されたデジタルデータを取
り込む入力インタフェースと、上記入力インタフェース
回路に取り込まれる上記デジタルデータをブロック単位
で記憶する内部メモリと、上記内部メモリと共に、上記
デジタルデータをブロック単位で記憶する外部メモリ
と、上記内部メモリに記憶された上記デジタルデータを
取り込み、1ブロック毎に上記誤り訂正符号に基づく訂
正処理を施した後、上記内部メモリ及び上記外部メモリ
に記憶された上記デジタルデータの誤り箇所をそれぞれ
書き換える訂正回路と、上記訂正回路で誤り箇所が書き
換えられて上記内部メモリに記憶された上記デジタルデ
ータを取り込み、1ブロック毎に上記誤り検出符号に基
づく検出処理を施した後、検出結果に応じてエラーフラ
グを設定する検出回路と、上記外部メモリに記憶された
上記デジタルデータを外部コンピュータ機器へ出力する
出力インタフェースと、を備えたことにある。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and is characterized in that digital data including an error correction code and an error detection code read from a recording medium are provided. In the code error correction detection device that performs processing based on the error correction code and the error detection code and transfers the processed digital data to the computer device side, the recording medium is transmitted from the recording medium in block units each including a predetermined number of bytes. An input interface that captures the read digital data, an internal memory that stores the digital data captured by the input interface circuit in block units, and an external memory that stores the digital data in block units together with the internal memory, The digital data stored in the internal memory is fetched and one block After performing a correction process based on the error correction code for each time, a correction circuit that rewrites an error portion of the digital data stored in the internal memory and the external memory, and an error portion that is rewritten by the correction circuit. A detection circuit that fetches the digital data stored in the internal memory, performs a detection process based on the error detection code for each block, and sets an error flag in accordance with a detection result; and a detection circuit stored in the external memory. An output interface for outputting the digital data to an external computer device.

【0014】本発明によれば、内部メモリに記憶された
データに基づいて符号誤りの訂正処理のための演算が行
われ、その結果に従って内部メモリ及び外部メモリの両
方のデータに対して誤り部分の書き換えが行われる。誤
り訂正処理の演算ために内部メモリからデータが読み出
される間、外部メモリに対してはアクセスが停止するた
め、訂正処理が完了しているデータを外部メモリから出
力インタフェースへ読み出すことができる。従って、外
部メモリから出力インタフェースに対してデータを読み
出すための時間を十分に確保できるようになる。
According to the present invention, an operation for correcting a code error is performed based on the data stored in the internal memory, and an error portion of both the internal memory and the external memory is determined according to the result. Rewriting is performed. Since the access to the external memory is stopped while the data is read from the internal memory for the operation of the error correction processing, the data for which the correction processing has been completed can be read from the external memory to the output interface. Therefore, sufficient time for reading data from the external memory to the output interface can be secured.

【0015】[0015]

【発明の実施の形態】図1は、本発明の符号誤り訂正検
出装置の実施の形態を示すブロック図であり、図2は、
その動作において各部のデータの流れを説明するタイミ
ング図である。この実施の形態においては、CD−RO
Mデコーダ10及びバッファRAM20によって符号誤
り訂正検出装置を構成している。尚、このCD−ROM
デコーダ10及びバッファRAM20は、図7に示すC
D−ROMシステムのCD−ROMデコーダ6及びバッ
ファRAM7にそれぞれ対応するものである。
FIG. 1 is a block diagram showing an embodiment of a code error correction detection apparatus according to the present invention, and FIG.
FIG. 4 is a timing chart for explaining a data flow of each unit in the operation. In this embodiment, the CD-RO
The M-decoder 10 and the buffer RAM 20 constitute a code error correction detection device. This CD-ROM
The decoder 10 and the buffer RAM 20 correspond to C shown in FIG.
It corresponds to the CD-ROM decoder 6 and the buffer RAM 7 of the D-ROM system, respectively.

【0016】CD−ROMデコーダ10は、入力インタ
フェース11、誤り訂正回路12、誤り検出回路13、
出力インタフェース14、内部メモリ制御回路15、外
部メモリ制御回路16及び内部メモリ17より構成さ
れ、外部メモリ20が接続される。尚、CD−ROMデ
コーダ10の各部は、単一の半導体基板上に集積化して
形成される。
The CD-ROM decoder 10 includes an input interface 11, an error correction circuit 12, an error detection circuit 13,
It comprises an output interface 14, an internal memory control circuit 15, an external memory control circuit 16 and an internal memory 17, to which an external memory 20 is connected. Note that the components of the CD-ROM decoder 10 are integrated on a single semiconductor substrate.

【0017】入力インタフェース11は、1ブロックが
2352バイトからなるCD−ROMデータ(図9)を
生成するデジタル信号処理部とのインタフェースを成
し、そのCD−ROMデータを受けて内部メモリ制御回
路15及び外部メモリ制御回路16へ供給する。この入
力インタフェース11では、12バイトの同期信号を除
いた2340バイトのCD−ROMデータに対してスク
ランブル処理が施されているため、入力段階でディスク
ランブル処理が施される。同時に、CD−ROMデータ
から同期信号が取り出され、各ブロック毎の先頭のタイ
ミングを示すブロック同期信号が生成される。このブロ
ック同期信号は、CD−ROMデコーダ10の各部に供
給され、それぞれの処理のタイミングの同期に用いられ
る。
The input interface 11 forms an interface with a digital signal processing section for generating CD-ROM data (FIG. 9) having one block of 2352 bytes, and receives the CD-ROM data to receive an internal memory control circuit 15. And to the external memory control circuit 16. In the input interface 11, the scrambling process is performed on the 2340-byte CD-ROM data excluding the 12-byte synchronization signal, so that the descrambling process is performed at the input stage. At the same time, a synchronization signal is extracted from the CD-ROM data, and a block synchronization signal indicating the start timing of each block is generated. This block synchronization signal is supplied to each section of the CD-ROM decoder 10 and is used for synchronizing the timing of each processing.

【0018】誤り訂正回路12は、CD−ROMデータ
を1ブロック単位で取り込み、各ブロック毎の誤り訂正
符号(ECC)に基づいて、そのブロックに含まれる符
号誤りに対して訂正処理を施す。CD−ROMデータの
誤り訂正処理においては、1ブロック(2352バイ
ト)のデータが、上位バイト及び下位バイトの2組のプ
レーン(1176バイト)に分離され、各プレーン毎に
設定される2系列の符号語(P、Q)に基づくシンドロ
ーム演算が行われる。ECCのP符号語及びQ符号語
は、図3に示すように、同期信号及びECCを除いた1
プレーン中の1032個のシンボルデータに対して、P
シーケンス及びQシーケンスに従い、24個毎及び43
個毎にそれぞれ2個ずつ付される。これにより、43組
のシンボルデータに対応する86個のP符号語と、26
組のシンボルデータ(P符号語を含む)に対応する52
個のQ符号語とが設定される。そこで、Pシーケンス及
びQシーケンスに従う順序で、各符号語を含むシンボル
データに対してシンドローム演算を行うことにより、プ
レーン内の符号誤りの位置及びその誤りによって生じる
誤差が算出される。誤り訂正回路12は、その算出結果
に基づいて、その誤り位置に対応したシンボルデータに
誤差分を加算することにより、符号誤りを訂正するよう
に構成される。
The error correction circuit 12 fetches the CD-ROM data in units of one block, and performs a correction process on a code error contained in the block based on an error correction code (ECC) of each block. In the error correction processing of CD-ROM data, one block (2352 bytes) of data is separated into two sets of planes (1176 bytes) of an upper byte and a lower byte, and two series of codes set for each plane. A syndrome operation based on the word (P, Q) is performed. As shown in FIG. 3, the P code word and the Q code word of the ECC are 1 except for the synchronization signal and the ECC.
For 1032 symbol data in the plane, P
According to the sequence and the Q sequence, every 24 pieces and 43
Two pieces are attached to each piece. Thereby, 86 P code words corresponding to 43 sets of symbol data, 26
52 corresponding to the set of symbol data (including the P code word)
And Q codewords are set. Therefore, by performing a syndrome operation on the symbol data including each codeword in the order according to the P sequence and the Q sequence, the position of the code error in the plane and the error caused by the error are calculated. The error correction circuit 12 is configured to correct a code error by adding an error to the symbol data corresponding to the error position based on the calculation result.

【0019】誤り検出回路13は、誤り訂正回路12に
よって符号の誤りが訂正されたCD−ROMデータ(E
CCを除く)をブロック毎に順次取り込み、誤り検出符
号(EDC)に基づく演算処理を施すことにより、符号
誤りの有無を検出する。EDC自身は、誤りを訂正する
機能を有していないため、誤り検出回路13において
は、誤りが検出された場合には、CD−ROMデータに
エラーフラグを付して出力するように構成される。
The error detection circuit 13 outputs the CD-ROM data (E) whose code error has been corrected by the error correction circuit 12.
(Excluding CC) are sequentially fetched for each block, and arithmetic processing based on an error detection code (EDC) is performed to detect the presence or absence of a code error. Since the EDC itself does not have a function of correcting an error, the error detection circuit 13 is configured to add an error flag to the CD-ROM data and output it when an error is detected. .

【0020】出力インタフェース回路14は、ホストコ
ンピュータとのインタフェースを成し、ホストコンピュ
ータ側からの指示に応答して、所定の処理が完了したC
D−ROMデータをブロック単位で出力する。また、必
要に応じては、ホストコンピュータ側からの制御情報を
受け取り、各部の動作を制御する制御マイコンに供給す
る。
The output interface circuit 14 forms an interface with the host computer. In response to an instruction from the host computer, the output interface circuit 14 completes a predetermined process.
D-ROM data is output in block units. If necessary, control information is received from the host computer and supplied to a control microcomputer that controls the operation of each unit.

【0021】内部メモリ制御回路15は、内部メモリ1
7に接続され、入力インタフェース11から内部メモリ
17へのCD−ROMデータの書き込みと、内部メモリ
17から誤り訂正回路12あるいは誤り検出回路13へ
のCD−ROMデータの読み出しとを制御する。さら
に、内部メモリ制御回路15は、誤り訂正回路12にお
ける訂正処理の結果に応じて、内部メモリ17に記憶さ
れたCD−ROMデータの一部を書き換えるように構成
される。即ち、誤り訂正回路12において、符号誤りの
位置が算出されると、その誤り位置に対応するデータが
記憶されている内部メモリ17のアドレスにアクセス
し、そのデータを読み出して誤り訂正回路12に供給す
る。さらに、そのデータに対する訂正処理が完了した
後、訂正データを内部メモリ17の同一アドレスに書き
込むことにより、内部メモリ17内の誤りを含むデータ
の書き換えを完了する。
The internal memory control circuit 15 stores the internal memory 1
7 and controls writing of CD-ROM data from the input interface 11 to the internal memory 17 and reading of CD-ROM data from the internal memory 17 to the error correction circuit 12 or the error detection circuit 13. Further, the internal memory control circuit 15 is configured to rewrite a part of the CD-ROM data stored in the internal memory 17 according to the result of the correction processing in the error correction circuit 12. That is, when the position of the code error is calculated in the error correction circuit 12, the address of the internal memory 17 where the data corresponding to the error position is stored is read, and the data is read and supplied to the error correction circuit 12. I do. Further, after the correction process for the data is completed, the corrected data is written to the same address of the internal memory 17 to complete the rewriting of the data including the error in the internal memory 17.

【0022】外部メモリ制御回路16は、CD−ROM
デコーダ10に外付けされる外部メモリ20に接続さ
れ、入力インタフェース11から外部メモリ20へのC
D−ROMデータの書き込みと、外部メモリ20から出
力インタフェース14へのCD−ROMデータの読み出
しとを制御する。また、外部メモリ制御回路16は、内
部メモリ制御回路15と同様に、誤り訂正回路12にお
ける訂正処理の結果に応じて、外部メモリ20に記憶さ
れたCD−ROMデータの一部を書き換えるように構成
される。即ち、誤り部分の書き換え処理については、外
部メモリ20に記憶されたCD−ROMデータに対して
も、内部メモリ17に記憶されたCD−ROMデータに
対する書き換え処理と同時に行われる。
The external memory control circuit 16 is a CD-ROM
It is connected to an external memory 20 externally connected to the decoder 10, and is connected to the external memory 20 from the input interface 11.
It controls writing of D-ROM data and reading of CD-ROM data from the external memory 20 to the output interface 14. Further, the external memory control circuit 16 is configured to rewrite a part of the CD-ROM data stored in the external memory 20 in accordance with the result of the correction processing in the error correction circuit 12, similarly to the internal memory control circuit 15. Is done. That is, the rewriting process of the error portion is performed on the CD-ROM data stored in the external memory 20 simultaneously with the rewriting process on the CD-ROM data stored in the internal memory 17.

【0023】内部メモリ17は、SRAM(Static Rand
om Access Memory)等の読み出し及び書き込みが自由な
記録媒体からなり、入力インタフェース11に取り込ま
れるCD−ROMデータを一時的に記憶する。この内部
メモリ17は、CD−ROMデータを少なくとも2ブロ
ック分記憶できる容量に形成される。通常のフォーマッ
トのCD−ROMデータは、1ブロックが2352バイ
トで構成されていることから、内部メモリ17の容量
は、4.8Kバイト以上必要になる。
The internal memory 17 is an SRAM (Static Rand).
om Access Memory) and a recording medium that can be freely read and written, and temporarily stores CD-ROM data taken into the input interface 11. The internal memory 17 has a capacity capable of storing at least two blocks of CD-ROM data. Since one block of CD-ROM data in a normal format is composed of 2352 bytes, the capacity of the internal memory 17 needs to be 4.8 Kbytes or more.

【0024】外部メモリ20は、内部メモリ17と同様
の読み出し及び書き込みが可能な記録媒体からなり、出
力インタフェース14を介してホストコンピュータ側へ
転送するCD−ROMデータを一時的に記憶する。この
外部メモリ20については、CD−ROMデータを少な
くとも2ブロック分記憶できる容量があれば動作上は問
題ないが、ホストコンピュータ側へのCD−ROMデー
タの転送のタイミングに余裕を持たせるためには、内部
メモリ17よりも容量を大きくすることが好ましい。こ
の外部メモリ20については、CD−ROMデコーダ1
0とは別に集積化されるため、内部メモリ10に比べて
容量を大きくすることは容易である。
The external memory 20 is composed of a readable and writable recording medium similar to the internal memory 17, and temporarily stores CD-ROM data to be transferred to the host computer via the output interface 14. The external memory 20 has no problem in operation as long as it has a capacity capable of storing at least two blocks of CD-ROM data. However, in order to allow a margin for the transfer timing of the CD-ROM data to the host computer, Preferably, the capacity is larger than that of the internal memory 17. For the external memory 20, the CD-ROM decoder 1
Since it is integrated separately from 0, it is easy to increase the capacity as compared with the internal memory 10.

【0025】続いて、上述の符号誤り訂正検出装置の動
作について、図2に従い説明する。DSP側から1ブロ
ック毎に入力されるデータS(n)は、先ず、入力インタ
フェース11に入力され、この入力インタフェース11
から、内部メモリ17及び外部メモリ20にそれぞれ書
き込まれる。内部メモリ17に書き込まれたデータS
(n)は、次のデータS(n+1)が入力されるのに並行して、
誤り訂正回路12へ読み出され、符号誤りの訂正処理を
受ける。そして、訂正処理の結果、データS(n)に誤り
があれば、その誤りのある部分のみが正しいデータに書
き換えられる。この書き換えは、内部メモリ17に記憶
されたデータS(n)と外部メモリ20に記憶されたデー
タS(n)とのそれぞれに対して同時に行われる。訂正処
理が完了したデータS(n)は、内部メモリ17から誤り
検出回路13へ読み出される。これらのデータS(n)の
誤り訂正回路12及び誤り検出回路13への読み出し動
作は、次のデータS(n+1)が前段のデジタル信号処理部
から入力される期間(1ブロック期間)内に完了する。
そして、外部メモリ20に記憶されたデータS(n)は、
ホストコンピュータからの要求に応答して順次出力イン
タフェースへ読み出される。
Next, the operation of the above-described code error correction detecting device will be described with reference to FIG. The data S (n) input from the DSP for each block is first input to the input interface 11, and the input interface 11
Are written to the internal memory 17 and the external memory 20, respectively. Data S written to internal memory 17
(n) is parallel to the input of the next data S (n + 1),
The data is read out to the error correction circuit 12 and undergoes a code error correction process. Then, as a result of the correction processing, if there is an error in the data S (n), only the erroneous portion is rewritten to correct data. This rewriting is performed simultaneously on the data S (n) stored in the internal memory 17 and the data S (n) stored in the external memory 20. The data S (n) for which the correction processing has been completed is read from the internal memory 17 to the error detection circuit 13. The operation of reading the data S (n) to the error correction circuit 12 and the error detection circuit 13 is performed during a period (one block period) in which the next data S (n + 1) is input from the preceding digital signal processing unit. To be completed.
The data S (n) stored in the external memory 20 is
The data is sequentially read out to the output interface in response to a request from the host computer.

【0026】以上のような処理においては、内部メモリ
制御回路15から内部メモリ17へのアクセスが、入力
インタフェース11からのデータの書き込みと、誤り訂
正回路12あるいは誤り検出回路13へのデータの読み
出しとに時分割で割り当てられる。そして、外部メモリ
制御回路16から外部メモリ20へのアクセスが、入力
インタフェース11からのデータの書き込みと、誤り訂
正回路12からの訂正データの書き込みと、出力インタ
フェース14へのデータの読み出しとに割り当てられ
る。内部メモリ17から誤り訂正回路12あるいは誤り
検出回路13にデータが読み出さる間は、外部メモリ2
0に対するアクセスが停止するため、ホストコンピュー
タへのCD−ROMデータの転送のタイミングを広い範
囲で設定できるようになる。
In the above processing, the access from the internal memory control circuit 15 to the internal memory 17 includes writing of data from the input interface 11 and reading of data to the error correction circuit 12 or the error detection circuit 13. Are allocated in a time-sharing manner. The access from the external memory control circuit 16 to the external memory 20 is assigned to writing data from the input interface 11, writing corrected data from the error correction circuit 12, and reading data from the output interface 14. . While data is read from the internal memory 17 to the error correction circuit 12 or the error detection circuit 13, the external memory 2
Since the access to 0 is stopped, the transfer timing of the CD-ROM data to the host computer can be set in a wide range.

【0027】図4は、内部メモリ17または外部メモリ
20に対する書き込みアドレス信号及び読み出しアドレ
ス信号を供給するアドレス発生回路の構成を示すブロッ
ク図であり、図5及び図6は、各アドレス信号に対応し
た内部メモリ16及び外部メモリ20の利用状態の一例
を説明する模式図である。アドレス発生回路は、第1の
アドレス発生器21、第2のアドレス発生器22、ラッ
チ23及び加算器24より構成される。このアドレス発
生回路については、内部メモリ17及び外部メモリ20
のそれぞれに対応して独立に設けられる。
FIG. 4 is a block diagram showing a configuration of an address generating circuit for supplying a write address signal and a read address signal to the internal memory 17 or the external memory 20, and FIGS. 5 and 6 correspond to each address signal. FIG. 3 is a schematic diagram illustrating an example of a usage state of an internal memory 16 and an external memory 20. The address generation circuit includes a first address generator 21, a second address generator 22, a latch 23, and an adder 24. This address generation circuit includes an internal memory 17 and an external memory 20.
Are provided independently for each of the above.

【0028】第1のアドレス発生器21は、カウンタに
よって構成され、内部メモリ17あるいは外部メモリ2
0に対して、図5及び図6に示すように、全ての記憶領
域を0番地から最終番地まで所定の順序で指定する書き
込みアドレス信号WAを発生する。この書き込みアドレ
ス信号WAについては、アドレス位置が最終番地に達し
た後、0番地に戻って繰り返し同一順序でアドレスを指
定するように生成される。従って、内部メモリ17及び
外部メモリ20においては、入力インタフェース11に
取り込まれるCD−ROMデータが入力順序に従って順
次書き込まれるようになる。
The first address generator 21 is constituted by a counter, and is used for the internal memory 17 or the external memory 2.
In response to 0, as shown in FIGS. 5 and 6, a write address signal WA for designating all storage areas from address 0 to the last address in a predetermined order is generated. The write address signal WA is generated so that after the address position reaches the final address, the address returns to address 0 and the addresses are repeatedly specified in the same order. Therefore, in the internal memory 17 and the external memory 20, the CD-ROM data taken into the input interface 11 is sequentially written according to the input order.

【0029】第2のアドレス発生器22は、図5及び図
6に示すように、1ブロック分のCD−ROMデータに
対応する内部メモリ17及び外部メモリ20の一部領域
を各処理毎に定められた固有の順序で指定する巡回アド
レス信号CAを発生する。この巡回アドレス信号CA
は、内部メモリ17に対応する場合、誤り訂正符号の各
シーケンスに従う順序で1ブロック分のCD−ROMデ
ータを読み出すようにして生成される。例えば、図3に
示すように、P符号語のPシーケンスに従い、1ブロッ
ク分のデータを42個おきにに読み出し、Q符号語のQ
シーケンスに従い1ブロック分のデータを43個おきに
読み出すことができるように生成される。また、外部メ
モリ20に対応する場合には、巡回アドレスCAは、1
ブロック分のデータを書き込みアドレスと同様の順序で
読み出すように生成される。
As shown in FIGS. 5 and 6, the second address generator 22 determines a partial area of the internal memory 17 and the external memory 20 corresponding to one block of CD-ROM data for each processing. A cyclic address signal CA for designating in the specified unique order is generated. This cyclic address signal CA
Is generated by reading one block of CD-ROM data in the order according to each sequence of the error correction code when the internal memory 17 is used. For example, as shown in FIG. 3, in accordance with the P sequence of the P code word, data of one block is read out every 42 data and the Q code word is read.
It is generated so that data for one block can be read out every 43 data in accordance with the sequence. In the case of corresponding to the external memory 20, the cyclic address CA is 1
It is generated so that data for a block is read in the same order as the write address.

【0030】ラッチ23は、第1のアドレス発生器21
に接続され、書き込みアドレス信号WAの内、RAMに
記憶されるデータの各ブロックの先頭に対応するアドレ
ス情報WAhをラッチする。このラッチ23は、2段構
成であり、それぞれラッチした先頭アドレス情報WAh
を1ブロック分の処理が進む毎に1段ずつシフトする。
これにより、1段目には、現在入力されつつあるブロッ
クの先頭のデータが記憶される先頭アドレス情報WAh
(0)が保持される。そして、2段目には、1ブロック先
に入力されてエラー訂正処理が施されているブロックの
先頭のデータが記憶されたRAMの先頭アドレス情報W
Ah(1)が保持される。
The latch 23 is connected to the first address generator 21
And latches address information WAh corresponding to the head of each block of data stored in the RAM among the write address signals WA. The latch 23 has a two-stage configuration, and each of the latched head address information WAh
Is shifted by one stage each time the processing for one block progresses.
Thus, in the first row, the head address information WAh in which the head data of the currently input block is stored.
(0) is retained. In the second row, the head address information W of the RAM in which the head data of the block which has been input one block ahead and subjected to the error correction processing is stored.
Ah (1) is held.

【0031】加算器24は、第2のアドレス発生器22
及びラッチ23に接続され、第2のアドレス発生器22
から出力される巡回アドレス信号CAに、先頭アドレス
情報WAhを加算することにより、RAMに対する実際
の読み出しアドレス信号RAを生成する。即ち、巡回ア
ドレス信号CAについては、先頭のアドレスが0番地で
あり、RAMの記憶領域を1ブロックに対応する範囲で
指定するため、加算器24において、巡回アドレス信号
CAに先頭アドレス情報WAhを加算することで、RA
Mの記憶領域全体のアクセスを可能にしている。例え
ば、図5に示すように、ブロックnのCD−ROMデー
タが記憶された内部メモリ17の先頭アドレス情報WA
h(0)を巡回アドレス信号CAに加算することにより、ブ
ロックnのCD−ROMデータが記憶された領域を指定
する読み出しアドレス信号RA(0)が生成される。これ
により、訂正処理あるいは検出処理のため、内部メモリ
17から誤り訂正回路12あるいは誤り検出回路13へ
1ブロック分のCD−ROMデータが読み出される。ま
た、外部メモリ20についても、図6に示すように、ブ
ロックnのCD−ROMデータが記憶された外部メモリ
20の先頭アドレス情報WAh(0)を巡回アドレス信号C
Aに加算することにより、ブロックnのCD−ROMデ
ータが記憶された領域を指定する読み出しアドレス信号
RA(0)が生成される。これにより、ホストコンピュー
タ側へ転送するため、外部メモリ20から出力インタフ
ェース14へ訂正処理が完了した1ブロック分のCD−
ROMデータが読み出される。
The adder 24 includes a second address generator 22
And the second address generator 22
By adding the start address information WAh to the cyclic address signal CA output from the CPU, an actual read address signal RA for the RAM is generated. That is, for the cyclic address signal CA, the top address is address 0, and the storage area of the RAM is specified in a range corresponding to one block. Therefore, the adder 24 adds the top address information WAh to the cyclic address signal CA. By doing, RA
The entire storage area of M can be accessed. For example, as shown in FIG. 5, the head address information WA of the internal memory 17 in which the CD-ROM data of the block n is stored.
By adding h (0) to the cyclic address signal CA, a read address signal RA (0) specifying the area of the block n where the CD-ROM data is stored is generated. As a result, one block of CD-ROM data is read from the internal memory 17 to the error correction circuit 12 or the error detection circuit 13 for correction processing or detection processing. Also, as shown in FIG. 6, the external memory 20 transmits the start address information WAh (0) of the external memory 20 storing the CD-ROM data of the block n to the cyclic address signal C.
By adding to A, a read address signal RA (0) that specifies the area of the block n where the CD-ROM data is stored is generated. As a result, in order to transfer the data to the host computer, the external memory 20 sends the output data to the output interface 14 for one block of the completed CD-ROM.
ROM data is read.

【0032】以上のようにして生成される書き込みアド
レス信号WA及び読み出しアドレス信号RAについて
は、何れか一方が選択されて内部メモリ17及び外部メ
モリ20に供給される。通常、入力インタフェース1
1、誤り訂正回路12及び誤り検出回路13は、それぞ
れ並列に動作しており、各部から内部メモリ17あるい
は外部メモリ20へのアクセスは、それぞれ1ワード単
位の時分割で割り当てられる。このとき、外部メモリ制
御回路16の動作タイミングは、誤り訂正回路12ある
いは誤り検出回路13の読み出し動作のタイミングに直
接関係していないため、外部メモリ20に対してCD−
ROMデータを自由なタイミングで入出力することがで
きる。従って、誤り訂正回路12や誤り検出回路13の
動作の間隙を待つことなく、ホストコンピュータ側へC
D−ROMデータを転送することができる。
One of the write address signal WA and the read address signal RA generated as described above is selected and supplied to the internal memory 17 and the external memory 20. Normally, input interface 1
1. The error correction circuit 12 and the error detection circuit 13 operate in parallel, and access from each unit to the internal memory 17 or the external memory 20 is allocated in a time division manner in units of one word. At this time, since the operation timing of the external memory control circuit 16 is not directly related to the timing of the read operation of the error correction circuit 12 or the error detection circuit 13,
ROM data can be input / output at any time. Therefore, without waiting for the gap between the operations of the error correction circuit 12 and the error detection circuit 13, the C
D-ROM data can be transferred.

【0033】以上の実施の形態においては、記録媒体と
してCDを用いるCD−ROMシステムを例示したが、
記録媒体としては、DVD等のその他の媒体を用いるシ
ステムにも採用することができる。
In the above embodiment, a CD-ROM system using a CD as a recording medium has been exemplified.
As a recording medium, a system using other media such as a DVD can be adopted.

【0034】[0034]

【発明の効果】本発明によれば、CD−ROMデコーダ
に内蔵した内部メモリに誤り訂正処理のためにCD−R
OMデータを一時的に記憶するようにしたことで、外部
メモリとCD−ROMデコーダとの間のCD−ROMデ
ータの入出力の頻度を少なくすることができる。このた
め、ホストコンピュータ側へCD−ROMデータを転送
する際、外部メモリからの読み出しタイミングの自由度
が拡大され、結果的にCD−ROMデータの転送速度を
高速化することができる。また、内部メモリが誤り訂正
回路と同一の基板上に集積化されるため、内部メモリと
誤り訂正回路との間のCD−ROMデータの入出力の速
度を高速化できる。
According to the present invention, a CD-R for error correction processing is stored in an internal memory built in a CD-ROM decoder.
By temporarily storing the OM data, the frequency of input / output of CD-ROM data between the external memory and the CD-ROM decoder can be reduced. Therefore, when transferring the CD-ROM data to the host computer side, the degree of freedom of the read timing from the external memory is expanded, and as a result, the transfer speed of the CD-ROM data can be increased. Further, since the internal memory is integrated on the same substrate as the error correction circuit, the speed of input / output of CD-ROM data between the internal memory and the error correction circuit can be increased.

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

【図1】本発明の符号誤り訂正検出装置の構成を示すブ
ロック図である。
FIG. 1 is a block diagram illustrating a configuration of a code error correction detection device according to the present invention.

【図2】CD−ROMデータの流れを説明するタイミン
グ図である。
FIG. 2 is a timing chart for explaining the flow of CD-ROM data.

【図3】誤り訂正処理でのCD−ROMデータのアクセ
ス順序を説明する図である。
FIG. 3 is a diagram illustrating an access order of CD-ROM data in an error correction process.

【図4】アドレス発生回路の構成例を示すブロック図で
ある。
FIG. 4 is a block diagram illustrating a configuration example of an address generation circuit.

【図5】内部メモリのアクセスの状態の一例を説明する
模式図である。
FIG. 5 is a schematic diagram illustrating an example of an access state of an internal memory.

【図6】外部メモリのアクセスの状態の一例を説明する
模式図である。
FIG. 6 is a schematic diagram illustrating an example of an access state of an external memory.

【図7】CD−ROMシステムの構成を示すブロック図
である。
FIG. 7 is a block diagram illustrating a configuration of a CD-ROM system.

【図8】ディスクから読み出されるデータのフォーマッ
ト図である。
FIG. 8 is a format diagram of data read from a disk.

【図9】CD−ROMデータのフォーマット図である。FIG. 9 is a format diagram of CD-ROM data.

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

1 ピックアップ部 2 ディスク 3 ピックアップ制御部 4 アナログ信号処理部 5 デジタル信号処理部 6 CD−ROMデコーダ 7 バッファRAM 8 制御マイコン 10 CD−ROMデコーダ 11 入力インタフェース 12 誤り訂正回路 13 誤り検出回路 14 出力インタフェース 15 内部メモリ制御回路 16 外部メモリ制御回路 17 内部メモリ 20 外部メモリ DESCRIPTION OF SYMBOLS 1 Pickup part 2 Disk 3 Pickup control part 4 Analog signal processing part 5 Digital signal processing part 6 CD-ROM decoder 7 Buffer RAM 8 Control microcomputer 10 CD-ROM decoder 11 Input interface 12 Error correction circuit 13 Error detection circuit 14 Output interface 15 Internal memory control circuit 16 External memory control circuit 17 Internal memory 20 External memory

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 FI G11B 20/18 572 G11B 20/18 572F 574 574E ──────────────────────────────────────────────────の Continued on the front page (51) Int.Cl. 6 Identification code FI G11B 20/18 572 G11B 20/18 572F 574 574E

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 記録媒体から読み出される誤り訂正符号
及び誤り検出符号を含むデジタルデータに対して、誤り
訂正符号及び誤り検出符号に基づく処理を施し、処理済
みのデジタルデータをコンピュータ機器側へ転送する符
号誤り訂正検出装置において、所定のバイト数で構成さ
れるブロック単位で記録媒体から読み出されたデジタル
データを取り込む入力インタフェースと、上記入力イン
タフェース回路に取り込まれる上記デジタルデータをブ
ロック単位で記憶する内部メモリと、上記内部メモリと
共に、上記デジタルデータをブロック単位で記憶する外
部メモリと、上記内部メモリに記憶された上記デジタル
データを取り込み、1ブロック毎に上記誤り訂正符号に
基づく訂正処理を施した後、上記内部メモリ及び上記外
部メモリに記憶された上記デジタルデータの誤り箇所を
それぞれ書き換える訂正回路と、上記訂正回路で誤り箇
所が書き換えられて上記内部メモリに記憶された上記デ
ジタルデータを取り込み、1ブロック毎に上記誤り検出
符号に基づく検出処理を施した後、検出結果に応じてエ
ラーフラグを設定する検出回路と、上記外部メモリに記
憶された上記デジタルデータを外部コンピュータ機器へ
出力する出力インタフェースと、を備えたことを特徴と
する符号誤り訂正検出装置。
A digital data including an error correction code and an error detection code read from a recording medium is subjected to processing based on the error correction code and the error detection code, and the processed digital data is transferred to a computer device. In the code error correction detection device, an input interface for taking in digital data read from a recording medium in a block unit composed of a predetermined number of bytes, and an internal unit for storing the digital data taken in by the input interface circuit in a block unit A memory, an external memory for storing the digital data in block units together with the internal memory, and after taking the digital data stored in the internal memory and performing a correction process based on the error correction code for each block. Stored in the internal memory and the external memory A correction circuit for rewriting each error portion of the digital data, and a detection process based on the error detection code for each block in which the error data is rewritten by the correction circuit and the digital data stored in the internal memory is fetched. Code error correction, comprising: a detection circuit for setting an error flag in accordance with a detection result after performing the detection; and an output interface for outputting the digital data stored in the external memory to an external computer device. Detection device.
【請求項2】 上記内部メモリに接続され、上記入力イ
ンタフェースあるいは上記訂正回路から上記内部メモリ
への上記デジタルデータの書き込み及び上記内部メモリ
から上記訂正回路あるいは上記検出回路への上記デジタ
ルデータの読み出しを制御する内部メモリ制御回路と、
上記外部メモリに接続され、上記入力インタフェースあ
るいは上記誤り訂正回路から上記外部メモリへの上記デ
ジタルデータの書き込み及び上記外部メモリから上記出
力インタフェースへの上記デジタルデータの読み出しを
制御する外部メモリ制御回路と、をさらに備えたことを
特徴とする請求項1に記載の符号誤り訂正検出装置。
2. The method according to claim 1, further comprising the steps of: writing the digital data from the input interface or the correction circuit to the internal memory; and reading the digital data from the internal memory to the correction circuit or the detection circuit. An internal memory control circuit for controlling;
An external memory control circuit connected to the external memory and controlling writing of the digital data from the input interface or the error correction circuit to the external memory and reading of the digital data from the external memory to the output interface; The code error correction detection device according to claim 1, further comprising:
【請求項3】 上記内部メモリは、上記デジタルデータ
を少なくとも2ブロック分記憶可能な容量を有すること
を特徴する請求項2に記載の符号誤り訂正検出装置。
3. The code error correction detection device according to claim 2, wherein the internal memory has a capacity capable of storing at least two blocks of the digital data.
JP9162794A 1997-06-19 1997-06-19 Code error correcting device Pending JPH1116298A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP9162794A JPH1116298A (en) 1997-06-19 1997-06-19 Code error correcting device
US09/098,095 US6243845B1 (en) 1997-06-19 1998-06-16 Code error correcting and detecting apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9162794A JPH1116298A (en) 1997-06-19 1997-06-19 Code error correcting device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2005218582A Division JP3995693B2 (en) 2005-07-28 2005-07-28 Code error correction detection device

Publications (1)

Publication Number Publication Date
JPH1116298A true JPH1116298A (en) 1999-01-22

Family

ID=15761343

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9162794A Pending JPH1116298A (en) 1997-06-19 1997-06-19 Code error correcting device

Country Status (1)

Country Link
JP (1) JPH1116298A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006217318A (en) * 2005-02-04 2006-08-17 Nec Electronics Corp Data communication system
JP2009514126A (en) * 2003-07-09 2009-04-02 トムソン ライセンシング Error correction method for Reed-Solomon product code

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009514126A (en) * 2003-07-09 2009-04-02 トムソン ライセンシング Error correction method for Reed-Solomon product code
JP2006217318A (en) * 2005-02-04 2006-08-17 Nec Electronics Corp Data communication system
JP4563834B2 (en) * 2005-02-04 2010-10-13 ルネサスエレクトロニクス株式会社 Data communication system

Similar Documents

Publication Publication Date Title
US5818801A (en) Shockproof optical reproduction device
US6119260A (en) Decoder for executing error correction and error detection in parallel
US6243845B1 (en) Code error correcting and detecting apparatus
JPS62298970A (en) Sequential buffer
KR100373467B1 (en) Address generation circuit
JP3530388B2 (en) Code error correction device
US7127657B2 (en) System and method for processing digital data while buffering digital data in a buffer memory
JPH1116298A (en) Code error correcting device
JP4004102B2 (en) Code error correction detection device
JP3995693B2 (en) Code error correction detection device
JP2001291326A (en) Optical disk reproducing device and semiconductor integrated circuit used for the same
JP2854208B2 (en) CD-ROM decoder
JPH0917124A (en) Disk reproducing apparatus
KR100398719B1 (en) Disk reproducer
JPH1186465A (en) Signal processor
JP3670758B2 (en) CD-ROM decoder
JP3152525B2 (en) CD-ROM decoder
JP3454669B2 (en) CD-ROM decoder
JPH11339402A (en) Code error correction detecting apparatus
JPS63167482A (en) Magnetic recording and reproducing device
JP2000339700A (en) Shock proof controller
JPS63167483A (en) Magnetic recording and reproducing device
JPH08273307A (en) Coder and decoder
JPH09297962A (en) Synchronizing circuit and data processor provided with the same
JPH10261263A (en) Disk reproducing device and its reproducing method

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050301

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050425

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050614

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20051226