JPH0540646A - Error correcting circuit - Google Patents
Error correcting circuitInfo
- Publication number
- JPH0540646A JPH0540646A JP3193375A JP19337591A JPH0540646A JP H0540646 A JPH0540646 A JP H0540646A JP 3193375 A JP3193375 A JP 3193375A JP 19337591 A JP19337591 A JP 19337591A JP H0540646 A JPH0540646 A JP H0540646A
- Authority
- JP
- Japan
- Prior art keywords
- data
- flag
- ram
- bit
- flags
- 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
Links
- 238000000034 method Methods 0.000 abstract description 7
- 238000010586 diagram Methods 0.000 description 4
- 208000011580 syndromic disease Diseases 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 1
Landscapes
- Detection And Correction Of Errors (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明はデータ誤り訂正回路に関
し、特にCD−ROM用誤り訂正回路に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data error correction circuit, and more particularly to a CD-ROM error correction circuit.
【0002】[0002]
【従来の技術】CD−ROM再生装置のデータ処理回路
は、大きくわけて2つのブロックから成り立っている。
1つはCD−DA(DigitalAudio)用のデ
ータ処理回路、もう1つはCD−ROM用データ処理回
路である。2. Description of the Related Art A data processing circuit of a CD-ROM reproducing device is roughly divided into two blocks.
One is a data processing circuit for CD-DA (Digital Audio), and the other is a data processing circuit for CD-ROM.
【0003】CD−DAデータ処理回路は、CD−DA
規格に従ってデータの誤り訂正を行い、CD−ROMデ
ータ処理回路は、CD−DAデータ処理回路の出力を受
け取って、CD−DA誤り訂正処理で訂正しきれなかっ
たデータをCD−ROM規格に従って誤り訂正処理す
る。The CD-DA data processing circuit is a CD-DA
The CD-ROM data processing circuit receives the output of the CD-DA data processing circuit and corrects the data that could not be corrected by the CD-DA error correction processing according to the standard. To process.
【0004】CD−ROM規格による誤り訂正処理には
2種類の方法がある。1つは、誤りデータの位置と誤り
パターンをデータの演算だけで求めるシンドローム訂正
と呼ばれる方法であり、もう1つは誤りデータの演算で
もとめるイレージャー(消失)訂正と呼ばれる方法であ
る。There are two types of methods for error correction processing according to the CD-ROM standard. One is a method called syndrome correction, which finds the position of error data and an error pattern only by calculating data, and the other is a method called erasure correction, which is also found by calculating error data.
【0005】2つの訂正方を比較すると、シンドローム
訂正では、1つの符号語(44バイト)中1バイトが訂
正できるのに対して、イレージャー訂正では、2バイト
の訂正が可能である。Comparing the two correction methods, one byte in one codeword (44 bytes) can be corrected by the syndrome correction, while two bytes can be corrected by the erasure correction.
【0006】従来のイレージャー訂正を行うためには、
図3に示すように、データRAM6と全く同じ様にペー
ジ分割されたフラグRAM14あるいは、データとフラ
グを同じRAMの同じアドレスに格納するための9bi
t幅のRAMを使うのが一般的であった。To perform conventional erasure correction,
As shown in FIG. 3, the flag RAM 14 divided into pages exactly like the data RAM 6 or 9bi for storing the data and the flag at the same address in the same RAM
It was common to use t-width RAM.
【0007】[0007]
【発明が解決しようとする課題】この従来のイレージャ
ー訂正回路では、8bitのデータと1bitのフラグ
を同じアドレスに格納しているために、合計9bit幅
のRAMが必要となる。実現手段としては、RAMを2
個使用するか、または9bit幅の特殊なRAMを使っ
ているために、シンドローム訂正に比べて、コスト実装
面積か大きくなるという問題点かあった。In this conventional erasure correction circuit, since 8-bit data and 1-bit flag are stored at the same address, a RAM having a total width of 9 bits is required. As a realization means, 2 RAM
There is a problem in that the cost mounting area becomes larger than that of the syndrome correction because it is used individually or a special RAM having a width of 9 bits is used.
【0008】本発明の目的は、RAMを2個使用又は、
9bit幅の特殊なRAMを使うことがない誤り訂正回
路を提供することにある。An object of the present invention is to use two RAMs or
It is to provide an error correction circuit that does not use a special 9-bit width RAM.
【0009】[0009]
【課題を解決するための手段】上述の問題点を解消する
ために、本発明の誤り訂正回路は、1bitのフラグを
8bit単位にまとめるフラグバッファ7とフラグバッ
ファ7からのデータバスリクエスト信号を受けつける機
能を備えたBusArbiter15とRAM6から読
み出された8bit構成のフラグを処理して、データの
誤り位置を算出するフラグ処理回路13を備えている。In order to solve the above problems, the error correction circuit of the present invention receives a data buffer request signal from a flag buffer 7 that collects 1-bit flags in 8-bit units. A Bus Arbiter 15 having a function and a flag processing circuit 13 for processing an 8-bit configuration flag read from the RAM 6 to calculate an error position of data are provided.
【0010】[0010]
【実施例】次に本発明について図面を参照して説明す
る。図1は、本発明の一実施例の誤り訂正回路のブロッ
ク図である。フラグ入力処理回路2にはバイトクロック
入力端子10からデータのバイト単位に同期したクロッ
クが入力され、フラグ入力端子11からは、このバイト
クロックに同期して1bitづつフラグが入力される。The present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of an error correction circuit according to an embodiment of the present invention. The flag input processing circuit 2 receives a clock synchronized with the byte unit of data from the byte clock input terminal 10, and the flag input terminal 11 inputs a flag in 1-bit units in synchronization with the byte clock.
【0011】フラグ入力処理回路2を出力は、フラグバ
ッファ7に入力され、ここで8bitにもとめられる。
8bitのデータがそろった時点で、フラグバッファ7
よりBusArbiter15へデータバスリクエスト
信号が出力される。The output from the flag input processing circuit 2 is input to the flag buffer 7, where it is held at 8 bits.
When 8 bits of data are available, the flag buffer 7
The data bus request signal is output to the BusArbiter 15.
【0012】BusArbiter15は、他に優先度
の高いリクエスト信号がなければフラグバッファ7にデ
ータバス使用許可信号を与えるとともにアドレスジェネ
レータ4を制御して、RAM6のアドレスを図2(a)
に示すRAMのフラグ領域に切りかえる。フラグ領域は
データ2430バイトと、フラグ2341bit(≒2
93バイト)を合わせた2633バイトが1ブロックに
なるように分割されたブロック内の1部に割りあてられ
ている。3分割されたブロックはそれぞれ入力処理,訂
正処理,出力処理に使われる。The BusArbiter 15 gives the data bus use permission signal to the flag buffer 7 and controls the address generator 4 if there is no other request signal having a high priority, and the address of the RAM 6 is shown in FIG.
Switch to the flag area of the RAM shown in. The flag area has data of 2430 bytes and a flag of 2341 bits (≈2
The total of 2633 bytes (93 bytes) is allocated to one part in the divided block. The divided blocks are used for input processing, correction processing, and output processing, respectively.
【0013】各ブロック間のデータ転送はブロックの上
位アドレスをリング状に変化させることで行なわれるの
で、本実施例のようにデータとフラグを同じブロックに
入れておけば各処理において、データに対応したフラグ
を容易によみ出すことができる。読み出したフラグはフ
ラグ処理回路13によって処理されECC回路12に対
して、どのデータが誤っているかが通知される。Since data transfer between blocks is performed by changing the upper address of the block in a ring shape, if the data and the flag are put in the same block as in this embodiment, the data can be dealt with in each process. The flag that has been removed can be easily extruded. The read flag is processed by the flag processing circuit 13, and the ECC circuit 12 is notified of which data is incorrect.
【0014】[0014]
【発明の効果】以上説明したように本発明は、データを
格納するRAMの一部を使ってフラグを格納するように
したので、データ用とフラグ用で2個必要であったRA
Mが1個で済むという効果を有する。あるいは9bit
幅の特殊なRAMのかわりに8bitの標準的なRAM
が使えるため、コストが下げられるという効果を有す
る。As described above, according to the present invention, since the flag is stored by using a part of the RAM for storing the data, two RAs are required for the data and the flag.
It has an effect that only one M is required. Or 9 bits
8bit standard RAM instead of special width RAM
Since it can be used, it has an effect of reducing the cost.
【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.
【図2】図1に示すRAMの領域を示す図である。FIG. 2 is a diagram showing an area of a RAM shown in FIG.
【図3】従来例を示すブロック図である。FIG. 3 is a block diagram showing a conventional example.
1 データ入力処理回路 2 フラグ入力処理回路 3 BusArbiter 4 アドレスジェネレータ 5 データバス 6 RAM 7 フラグバッファ 8 ビットクロック入力端子 9 データ入力端子 10 バイトクロック入力端子 11 フラグ入力端子 12 訂正処理回路 13 フラグ処理回路 14 フラグRAM 15 BusArbiter 1 Data Input Processing Circuit 2 Flag Input Processing Circuit 3 BusArbiter 4 Address Generator 5 Data Bus 6 RAM 7 Flag Buffer 8 Bit Clock Input Terminal 9 Data Input Terminal 10 Byte Clock Input Terminal 11 Flag Input Terminal 12 Correction Processing Circuit 13 Flag Processing Circuit 14 Flag RAM 15 BusArbiter
Claims (2)
りの有無を示すフラグを受信し、前記フラグで指定され
たデータの誤り訂正を行う誤り訂正回路において、受信
したフラグを所定ビット毎にまとめて前記入力データと
同じバイト単位のフラグデータとし、入力データを格納
するためのバッファRAM上に前記フラグデータを格納
するため専用アドレス領域を設けたことを特徴とする誤
り訂正回路。1. An error correction circuit that receives a flag indicating the presence or absence of an error in the data in synchronization with input data, and corrects the error in the data designated by the flag. An error correction circuit characterized in that a flag data in the same byte unit as that of the input data is put together, and a dedicated address area for storing the flag data is provided on a buffer RAM for storing the input data.
特徴とする請求項1記載の誤り訂正回路。2. The error correction circuit according to claim 1, wherein the predetermined bits are 8 bits.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3193375A JPH0540646A (en) | 1991-08-02 | 1991-08-02 | Error correcting circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3193375A JPH0540646A (en) | 1991-08-02 | 1991-08-02 | Error correcting circuit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0540646A true JPH0540646A (en) | 1993-02-19 |
Family
ID=16306878
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP3193375A Pending JPH0540646A (en) | 1991-08-02 | 1991-08-02 | Error correcting circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0540646A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2004062927A (en) * | 2002-07-25 | 2004-02-26 | Nec Yamagata Ltd | Optical disc reproducing apparatus and data reproducing method thereof |
-
1991
- 1991-08-02 JP JP3193375A patent/JPH0540646A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2004062927A (en) * | 2002-07-25 | 2004-02-26 | Nec Yamagata Ltd | Optical disc reproducing apparatus and data reproducing method thereof |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CA2003862A1 (en) | Error correction and detection apparatus and method | |
| JPS6248889A (en) | Digital signal processing device | |
| JPH0540646A (en) | Error correcting circuit | |
| US5408476A (en) | One bit error correction method having actual data reproduction function | |
| KR100189531B1 (en) | Method and circuit for decoding sector data in a CD-ROM drive | |
| JPH05314021A (en) | Memory error correction circuit | |
| KR950022774A (en) | Method and device for contour correction of video signal | |
| JP2725419B2 (en) | Counting circuit | |
| JP3052848B2 (en) | Frame synchronization protection circuit | |
| KR0176795B1 (en) | Error correction device and method of cd player | |
| JPH09246994A (en) | Code error correction method and code error correction device | |
| JP2957190B2 (en) | Error correction device | |
| JPH03117923A (en) | error correction decoder | |
| JPH04199255A (en) | Timer control method for multiprocessor system | |
| JPH0152939B2 (en) | ||
| JP2001273727A (en) | Synchronizing signal detecting circuit | |
| JPH0683853A (en) | Microcomputer | |
| JP2748399B2 (en) | Error correction device | |
| JPH0955728A (en) | Frame synchronism detection system | |
| JPH0262982B2 (en) | ||
| JPS61227273A (en) | Error correcting method | |
| JPS61228517A (en) | Timing correction circuit | |
| JPH04113723A (en) | Error correction system | |
| JPH05210919A (en) | Cd-rom data processor | |
| JPS63305430A (en) | Error correcting circuit |