JPH09288870A - Data decoding device and method and data reproducing device - Google Patents

Data decoding device and method and data reproducing device

Info

Publication number
JPH09288870A
JPH09288870A JP8308697A JP30869796A JPH09288870A JP H09288870 A JPH09288870 A JP H09288870A JP 8308697 A JP8308697 A JP 8308697A JP 30869796 A JP30869796 A JP 30869796A JP H09288870 A JPH09288870 A JP H09288870A
Authority
JP
Japan
Prior art keywords
data
sector
ecc
error correction
error
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.)
Granted
Application number
JP8308697A
Other languages
Japanese (ja)
Other versions
JP3672139B2 (en
Inventor
Takahiro Ichikawa
高廣 市川
Shigeharu Sato
重治 佐藤
Kazuhiro Yasuda
一博 安田
Satoru Kimura
悟 木村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP30869796A priority Critical patent/JP3672139B2/en
Publication of JPH09288870A publication Critical patent/JPH09288870A/en
Application granted granted Critical
Publication of JP3672139B2 publication Critical patent/JP3672139B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To reduce a memory capacity for decoding and also to rapidly access an objective data to be read out. SOLUTION: In the device 50 and its method for decoding a coded data S2 recorded on a recording medium, the coded data S2 read out of the recording medium is stored in a memory 51 for decoding. At this time, data information about a data to be a read-out object is detected from a decoded data generated in the midst of decoding the coded data S2, this data information is stored in a data information storage means, and also an output of the decoded data S10 is controlled based on the data information. Thus, independently of decoding of the coded data S2, the output of the decoded data S10 is controlled based on the data information.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【目次】以下の順序で本発明を説明する。 発明の属する技術分野 従来の技術(図53〜図57) 発明が解決しようとする課題 課題を解決するための手段 発明の実施の形態(図1〜図52) (1)第1実施例(図1〜図20) (1−1)データ再生装置の全体構成(図1) (1−2)ECC回路及びECC復号(図2〜図9) (1−3)セクタ検出(図10〜図20) (2)第2実施例 (2−1)記録データフオーマツト(図21〜図24) (2−2)データ再生装置及びECC復号(図1、図2
5〜図52) (2−3)第2実施例の動作及び効果(図43〜図4
5) (3)他の実施例 発明の効果
[Table of Contents] The present invention will be described in the following order. TECHNICAL FIELD OF THE INVENTION Conventional Technology (FIGS. 53 to 57) Problems to be Solved by the Invention Means for Solving the Problems Embodiments of the Invention (FIGS. 1 to 52) (1) First Example (FIGS. 1 to 20) (1-1) Overall configuration of data reproducing apparatus (FIG. 1) (1-2) ECC circuit and ECC decoding (FIGS. 2 to 9) (1-3) Sector detection (FIGS. 10 to 20) (2) Second embodiment (2-1) Recorded data format (FIGS. 21 to 24) (2-2) Data reproducing device and ECC decoding (FIGS. 1 and 2)
5 to 52) (2-3) Operations and effects of the second embodiment (FIGS. 43 to 4)
5) (3) Other Examples Effects of the invention

【0002】[0002]

【発明の属する技術分野】本発明はデータ復号装置及び
その方法並びにデータ再生装置に関し、例えば、デイジ
タル化されてデイスクに記録されている動画像を再生す
るものに用いて好適なものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data decoding apparatus, a method therefor, and a data reproducing apparatus, and is suitable for use in, for example, reproducing a moving image that has been digitalized and recorded on a disk.

【0003】[0003]

【従来の技術】従来、例えばMPEG(Moving Pictures Ex
pert Group)規格による動画像がデイジタル化されて可
変レートで記録されたデイスクがある。ここで用いられ
ているMPEGは、画像データに対してフレーム内符号画像
であるIピクチヤ(Intra-Picture)、フレーム間順方向
予測符号化画像であるPピクチヤ(Predictive-Pictur
e) 、双方向予測符号化画像であるBピクチヤ(Bidirect
ionally predictive-Picture)の3つのタイプを規定
し、これら3つの画像により画面群構造 GOP(Group Of
Pictures)を形成するものである。また音声データに対
しても同様にMPEG規格を適用しているが、音声データに
ついてはMPEG以外でも例えば、ATRAC(Aditive TRansfor
m Acoustic Coding)によりデイジタル化及び圧縮符号化
している。因みにATRAC は商標である。
2. Description of the Related Art Conventionally, for example, MPEG (Moving Pictures Ex
pert Group) There is a disk in which moving images according to the standard are digitalized and recorded at a variable rate. The MPEG used here is an I-picture (Intra-Picture) that is an intra-frame coded image for image data, and a P-picture (Predictive-Pictur) that is an inter-frame forward prediction coded image.
e), B picture (Bidirect)
Ionally predictive-Picture) is defined as three types, and the screen group structure GOP (Group Of
Pictures)). Similarly, the MPEG standard is applied to audio data, but for audio data other than MPEG, for example, ATRAC (Aditive TRansfor
m Acoustic Coding) for digitalization and compression coding. ATRAC is a trademark.

【0004】図53にデイスクに可変レートで記録され
ているデータを再生するデータ復号装置1を示す。デー
タ復号装置1は、光デイスク2に記録されたデータをピ
ツクアツプ3によつてレーザ光を照射し、その反射光か
ら再生する。ピツクアツプ3が出力する再生信号S1
は、システムコントローラ4によつて制御される復号回
路系5の復調回路6に入力され、復調される。復調回路
6により復調されたデータは、セクタ検出回路7を介し
てECC(Error Correction Code) 回路8に入力され、
エラー検出及び誤り訂正が実行される。
FIG. 53 shows a data decoding device 1 for reproducing data recorded on a disk at a variable rate. The data decoding device 1 irradiates the data recorded on the optical disk 2 with a laser beam by means of a pickup 3, and reproduces it from the reflected light. Playback signal S1 output by the pickup 3
Is input to the demodulation circuit 6 of the decoding circuit system 5 controlled by the system controller 4 and demodulated. The data demodulated by the demodulation circuit 6 is input to an ECC (Error Correction Code) circuit 8 via a sector detection circuit 7,
Error detection and error correction are performed.

【0005】ここでセクタ検出回路7において、光デイ
スク2のセクタに割り当てられたアドレスであるセクタ
番号が正常に検出されなかつた場合、トラツクジヤンプ
判定回路9にセクタ番号異常信号が出力される。ECC
回路8は、訂正不能のデータが生じた場合、トラツクジ
ヤンプ判定回路9にエラー発生信号を出力する。エラー
訂正されたデータは、ECC回路8からリングバツフア
メモリ10に送出されて記録される。
If the sector number which is the address assigned to the sector of the optical disk 2 is not normally detected in the sector detection circuit 7, a sector number abnormality signal is output to the track jump determination circuit 9. ECC
The circuit 8 outputs an error occurrence signal to the track jump determination circuit 9 when uncorrectable data is generated. The error-corrected data is sent from the ECC circuit 8 to the ring buffer memory 10 and recorded.

【0006】このときリングバツフア制御回路11は、
セクタ検出回路7の出力から各セクタ毎のアドレスを読
み取り、そのアドレスに対応するリングバツフアメモリ
10上の書き込みアドレス(以下、ライトポインタWP
という)を指定する。また、システムコントローラ4に
よつて制御されるリングバツフア制御回路11は、後段
の多重化データ分離回路13からのコードリクエスト信
号R10に基づき、リングバツフアメモリ10に書き込
まれたデータの読み出しアドレス(以下、リードポイン
タRPという)を指定し、その読み出しポインタRPか
らデータを読み出して多重化データ分離回路13に供給
する。
At this time, the ring buffer control circuit 11
The address of each sector is read from the output of the sector detection circuit 7, and the write address on the ring buffer memory 10 corresponding to the address (hereinafter, write pointer WP
Is specified). In addition, the ring buffer control circuit 11 controlled by the system controller 4 reads out the address of the data written in the ring buffer memory 10 (hereinafter, referred to as "the read buffer address") based on the code request signal R10 from the multiplexed data separation circuit 13 in the subsequent stage. A read pointer RP) is designated, data is read from the read pointer RP and supplied to the multiplexed data separation circuit 13.

【0007】ここで多重化データ分離回路13のヘツダ
分離回路14は、リングバツフアメモリ10から供給さ
れたデータからパツクヘツダ及びパケツトヘツダを分離
して分離回路制御回路15に供給する。分離回路制御回
路15は、ヘツダー分離回路11から供給されたパケツ
トヘツダのストリームID(Stream IDentifier)情報に従
い、スイツチング回路16の入力端子Gと出力端子(被
切換端子)H1、H2を順次サイクリツクに切り換え接
続することによつて、時分割多重されたデータを正しく
分離して対応するコードバツフアに供給する。
The header separation circuit 14 of the multiplexed data separation circuit 13 separates the pack header and the packet header from the data supplied from the ring buffer memory 10 and supplies the separated data to the separation circuit control circuit 15. The separation circuit control circuit 15 sequentially switches and connects the input terminal G and the output terminals (switched terminals) H1 and H2 of the switching circuit 16 in accordance with the stream ID (Stream IDentifier) information of the packet header supplied from the header separation circuit 11. By doing so, the time-division multiplexed data is correctly separated and supplied to the corresponding code buffer.

【0008】ここでビデオコードバツフア17は内部の
コードバツフアの残量により、多重化データ分離回路1
3に対してコードリクエストR1を発生する。そして受
け取つたデータを記憶する。また、ビデオデコーダ18
からのコードリクエストR1を受付け、内部のデータを
出力する。ビデオデコーダ18は供給されたデータから
ビデオ信号を再生し、出力端子OUT1から出力する。
Here, the video code buffer 17 is a multiplexed data demultiplexing circuit 1 depending on the remaining amount of the code buffer inside.
A code request R1 is generated for 3. Then, the received data is stored. Also, the video decoder 18
It receives the code request R1 from and outputs the internal data. The video decoder 18 reproduces a video signal from the supplied data and outputs it from the output terminal OUT1.

【0009】オーデイオコードバツフア19は内部のコ
ードバツフアの残量により、多重化データ分離回路13
に対してコードリクエストR2を発生する。そして受け
取つたデータを記憶する。また、オーデイオデコーダ2
0からのコードリクエストR2を受付け、内部のデータ
を出力する。オーデイオデコーダ20は供給されたデー
タからオーデイオ信号を再生し、出力端子OUT2から
出力する。
The audio code buffer 19 depends on the remaining amount of the code buffer inside the multiplexed data separation circuit 13.
A code request R2 is generated. Then, the received data is stored. Also, the audio decoder 2
The code request R2 from 0 is accepted, and the internal data is output. The audio decoder 20 reproduces an audio signal from the supplied data and outputs it from the output terminal OUT2.

【0010】このように、ビデオデコーダ18はビデオ
コードバツフア17にデータを要求し、ビデオコードバ
ツフア17は多重化データ分離回路13に要求を出し、
多重化データ分離回路13はリングバツフア制御回路1
1に対して要求を出す。この時にはデータがリングバツ
フアメモリ10から、今度は要求とは逆向きに流れてい
く。
As described above, the video decoder 18 requests data from the video code buffer 17, and the video code buffer 17 sends a request to the multiplexed data separation circuit 13,
The multiplexed data separation circuit 13 is a ring buffer control circuit 1.
Make a request to 1. At this time, data flows from the ring buffer memory 10 this time in the opposite direction to the request.

【0011】ここで復調回路系5におけるデータ復号に
ついて説明する。先ず、デイスク2から読み出された再
生信号S1は、復調回路6にてRF処理によつて2値化
信号に変換され、この信号S1のマーク長の計測結果に
基づいてラフサーボがかけられる。ここでセクタ検出回
路7は、システムコントローラ4のインターフエイスと
してEFM+でシンクヘツダを検出すると、PLL(Phase Lock
ed Loop)サーボがかけられる。その後、シンクヘツダが
数回連続して検出されると、EFM+復調後のデータS2が
インタリーブを解かれる(以下、デインターリーブとい
う)。
Data decoding in the demodulation circuit system 5 will now be described. First, the reproduction signal S1 read from the disk 2 is converted into a binary signal by RF processing in the demodulation circuit 6, and rough servo is applied based on the measurement result of the mark length of the signal S1. Here, when the sector detection circuit 7 detects a sync header with EFM + as an interface of the system controller 4, it detects a PLL (Phase Lock).
ed Loop) Servo is applied. After that, when the sync header is detected several times in succession, the EFM + demodulated data S2 is deinterleaved (hereinafter referred to as deinterleave).

【0012】図54に示すように、ECC回路8に送出
されたEFM+復調データS2は先ず、RAM24に一旦格
納された後、ECCデコーダ25、27、29におい
て、C1/C2畳み込み・リードソロモン符号(CIRC Pl
us) による3系列C11(C1系列1回目)、C2及び
C12(C1系列2回目)についてECC の復号を実行す
る。
As shown in FIG. 54, the EFM + demodulated data S2 sent to the ECC circuit 8 is first temporarily stored in the RAM 24 and then, in the ECC decoders 25, 27 and 29, the C1 / C2 convolution / Reed-Solomon code ( CIRC Pl
us) to decode ECC of 3 sequences C11 (first C1 sequence), C2 and C12 (second C1 sequence).

【0013】ECC回路8におけるECC 復号は、例えば
図55に示すように、00、01、〜A8、A9の順にEFM+復調
後のデータS2をRAM24へ書き込み、(EFM Write)
、RAM24へのEFM+復調後のデータが2フレーム格
納されたところで、フレーム1の00′、02′、〜A8′、
01、03、〜A9の順にECCデコーダ25へデータを転送
することでデインタリーブされたC1系列データのECC
復号を実行する。ここでエラー訂正は、ECCデコーダ
25からエラーの位置と訂正パターンを読み出すととも
に、RAM24からエラーのあるデータを読み出し(C
1 read)、訂正パターンとの排他的論理和をとつて、
図56に示すように、再びRAM26に書き戻すことで
実行する(C1 Write)。ここでECCデコーダ25に
よつてC1系列のECC 復号がC2符号系列長だけ実行さ
れる。
For ECC decoding in the ECC circuit 8, for example, as shown in FIG. 55, the data S2 after EFM + demodulation is written in the RAM 24 in the order of 00, 01, ..., A8, A9, and (EFM Write)
, When two frames of data after EFM + demodulation are stored in the RAM 24, 00 ', 02', ~ A8 'of frame 1
ECC of deinterleaved C1 sequence data by transferring data to the ECC decoder 25 in the order 01, 03, ... A9
Perform decryption. Here, in the error correction, the error position and the correction pattern are read from the ECC decoder 25, and the erroneous data is read from the RAM 24 (C
1 read), exclusive OR with the correction pattern,
As shown in FIG. 56, it is executed by writing back to the RAM 26 again (C1 Write). Here, the ECC decoder 25 executes the ECC decoding of the C1 sequence for the C2 code sequence length.

【0014】C1系列のECC 復号がC2符号系列長だけ
実行されると、C2系列のECC 復号の実行が可能とな
る。次にRAM26上のデータが00′、01′、02′、0
3′、〜A9′の順に読み出され(C2 read )、ECC
デコーダ27でC2系列のECC 復号が実行される。ここ
で各フレームに対する訂正不能フラグはデータに同期さ
せて後段のECCデコーダへ転送することでイレージヤ
訂正を行なうことができる。C2系列のイレージヤ訂正
については、C1の訂正不能フラグを使用する。エラー
訂正動作は、C1の場合と同様である。図57に示すよ
うに、C2系列のECC 復号結果がRAM28に書き込ま
れ(C2 Write)、C2系列のECC 復号がC1符号系列
長だけ実行されるとC12系列のECC 復号が実行可能と
なり、ECCデコーダ29によつて00′、01、02、03、
〜A9の順に読み出される(C12 read )C12系列の
ECC 復号が実行される。
When the C1 sequence ECC decoding is executed for the C2 code sequence length, the C2 sequence ECC decoding can be executed. Next, the data on the RAM 26 is 00 ', 01', 02 ', 0
3 ', ~ A9' are read in this order (C2 read), ECC
The decoder 27 executes C2 sequence ECC decoding. Here, the erasure correction can be performed by transferring the uncorrectable flag for each frame to the ECC decoder in the subsequent stage in synchronization with the data. For erasure correction of the C2 series, the uncorrectable flag of C1 is used. The error correction operation is similar to that of C1. As shown in FIG. 57, when the C2 sequence ECC decoding result is written to the RAM 28 (C2 Write) and the C2 sequence ECC decoding is executed for the C1 code sequence length, the C12 sequence ECC decoding becomes feasible and the ECC decoder According to 29, 00 ', 01, 02, 03,
~ A9 read in order (C12 read) of C12 series
ECC decoding is performed.

【0015】ここでC12系列のイレージヤ訂正につい
ては、C2の訂正不能フラグを使用する。そして、C1
2のエラー訂正が終了すると、図58に示すようにRA
M30に00、01、02、03、〜A9の順にC12系列のECC
復号結果が書き込まれる。こうしてRAM30には、EC
C の各系列C11、C2及びC12の復号データが格納
されていて、00、01、02、03、〜A9の順に読み出され(O
UT read)、デスクランブル処理されて、リングバツフア
メモリ10にデータ送出され、これにより必要なセクタ
データが書き込まれる。
Here, for erasure correction of the C12 series, the uncorrectable flag of C2 is used. And C1
When the error correction of No. 2 is completed, as shown in FIG.
ECC of C12 series in the order of 00, 01, 02, 03, to A9 in M30
The decryption result is written. In this way, the RAM 30 has EC
The decoded data of each sequence C11, C2, and C12 of C is stored and read out in the order of 00, 01, 02, 03, to A9 (O
UT read), descramble processing is performed, and the data is sent to the ring buffer memory 10, whereby necessary sector data is written.

【0016】ここで読み出しを求める出力データが属す
る目的セクタは、ECC 復号に用いるメモリとは別のメモ
リに格納した再生データからセクタアドレスを抜き出す
ことによつて検出される。すなわちセクタアドレスを検
出するために前段のインターリーブを解くためのメモリ
(RAM24)と、ECC 復号用のメモリ(RAM26、
28及び30)をセクタアドレス単位にセクタアドレス
が先頭に来るように割り当てている。このようにしてメ
モリ上に読み出された再生データよりセクタアドレスが
検出され、システムコントローラ4による光デイスク2
へのアクセスの際の位置情報として用いられる。
The target sector to which the output data to be read belongs is detected by extracting the sector address from the reproduction data stored in a memory different from the memory used for ECC decoding. That is, a memory (RAM 24) for solving interleaving in the previous stage to detect a sector address, and a memory (RAM 26, for ECC decoding).
28 and 30) are assigned in sector address units so that the sector address comes first. In this way, the sector address is detected from the reproduction data read on the memory, and the optical disk 2 by the system controller 4 is detected.
It is used as location information when accessing.

【0017】実際、ECC回路8においてECC 復号され
たECC 復号データS10は、検出されたセクタアドレス
とシステムコントローラ4によつて設定した目的セクタ
アドレスとをリングバツフア制御回路11で比較判定し
て、そのアドレスが一致していればECC 復号データをリ
ングバツフアメモリ10に書き込む。
In practice, the ECC decoded data S10 which has been ECC-decoded in the ECC circuit 8 compares the detected sector address with the target sector address set by the system controller 4 by the ring buffer control circuit 11 to determine the address. If they match, the ECC decoded data is written in the ring buffer memory 10.

【0018】このECC 復号方法では、デイスクアクセス
で目的セクタに対してECCのインタリーブ分を見込ん
で、数セクタ前のセクタを検出した後、EFM+復調された
再生データをセクタの先頭にECC 復号用メモリの開始フ
レームを対応させて書き込み、ECC 復号を実行してリン
グバツフアメモリ10に復号データを書き込んでいる。
In this ECC decoding method, the sector interleaved with respect to the target sector is detected by disk access, a sector several sectors before is detected, and then the EFM + demodulated reproduced data is placed at the beginning of the sector for ECC decoding memory. The corresponding start frame is written, ECC decoding is executed, and the decoded data is written in the ring buffer memory 10.

【0019】[0019]

【発明が解決しようとする課題】ここでインターリーブ
された符号化データを復号する場合、システムコントロ
ーラ4によるデイスクアクセスのためのセクタアドレス
認識と、そのセクタのデータが、ECC 復号後に出力され
るセクタアドレスとの間にECC 復号に要する時間分のず
れが生じる。このずれのために、デイスクアクセスのと
きにセクタアドレスを認識した時点では該セクタのECC
復号は未だ実行されていないので、ECC 復号データS1
0が必ずリングバツフアメモリ10に書き込まれるもの
かどうかを判別することができないという問題があつ
た。
When decoding the interleaved coded data, the sector address for the disk access by the system controller 4 is recognized, and the data of the sector is output after the ECC decoding. There is a gap between the and the time required for ECC decoding. Due to this shift, when the sector address is recognized during disk access, the ECC of the sector
Since the decoding has not been executed yet, the ECC decoded data S1
There is a problem that it is not possible to determine whether 0 is always written in the ring buffer memory 10.

【0020】またインタリーブがかかつている符号化デ
ータを復号する場合、目的セクタを検出するためのメモ
リと、ECC 復号に必要なメモリ等の記憶媒体とがそれぞ
れ別々に必要となるためメモリ容量が比較的大きくなる
という問題があつた。またセクタを認識するために、デ
インターリーブされたデータを任意のセクタ単位でまず
復号用メモリのRAM24に書き込むが、この際光デイ
スク2より読み出された再生データをメモリの先頭から
セクタの先頭を対応させて記憶させるため、メモリの容
量はセクタのN倍分用意する必要がある。
When decoding coded data with interleaving, a memory for detecting a target sector and a storage medium such as a memory necessary for ECC decoding are separately required. There was a problem of getting bigger. In order to recognize the sector, the deinterleaved data is first written into the RAM 24 of the decoding memory in arbitrary sector units. At this time, the reproduction data read from the optical disk 2 is read from the beginning of the memory to the beginning of the sector. In order to store the data correspondingly, it is necessary to prepare the memory capacity for N times the sector.

【0021】さらにリングバツフアメモリ10へ書き込
む段階では、復号データの先頭が必ずしもセクタの先頭
とは限らないのでECC 復号用のメモリ(RAM30)に
記憶したECC 復号データS10の中から再び、目的セク
タを検出する必要がある。このためにデイスクアクセス
の際のセクタアドレスを認識する回路とは別に目的のセ
クタアドレスのデータであるかを認識するための別の回
路を設けなければならず回路構成が複雑になるという問
題があつた。本発明は以上の点を考慮してなされたもの
で、ECC 復号用のメモリ容量を削減するとともに、目的
セクタへのアクセスを迅速になし得るデータ復号装置及
びその方法並びにデータ再生装置を提案しようとするも
のである。
Further, at the stage of writing to the ring buffer memory 10, since the head of the decoded data is not always the head of the sector, the ECC decoded data S10 stored in the memory for ECC decoding (RAM30) is read again from the target sector. Need to detect. Therefore, in addition to the circuit for recognizing the sector address at the time of disk access, another circuit for recognizing whether the data has the target sector address has to be provided, which causes a problem that the circuit configuration becomes complicated. It was The present invention has been made in view of the above points, and proposes a data decoding apparatus and method and a data reproducing apparatus that can quickly access a target sector while reducing the memory capacity for ECC decoding. To do.

【0022】[0022]

【課題を解決するための手段】かかる課題を解決するた
め本発明においては、記録媒体に記録された符号化デー
タを復号するデータ復号装置において、符号化データ及
び該符号化データより復号された復号データを記憶する
復号用メモリと、符号化データを復号する途中において
生成される復号データより、読み出し対象となるデータ
のデータ情報を検出するデータ情報検出回路と、データ
情報を格納するデータ情報格納手段と、データ情報に基
づいて復号データの出力を制御するデータ出力制御回路
とを備える。
In order to solve such a problem, according to the present invention, in a data decoding device for decoding coded data recorded on a recording medium, the coded data and the decoding decoded from the coded data are performed. A decoding memory for storing data, a data information detection circuit for detecting data information of data to be read from decoded data generated during decoding of encoded data, and a data information storage means for storing the data information. And a data output control circuit that controls the output of the decoded data based on the data information.

【0023】さらに本発明においては、記録媒体に記録
された符号化データを復号するデータ復号方法におい
て、記録媒体より読み出された上記符号化データを復号
用メモリに記憶して、上記符号化データを復号する途中
において生成される復号データより、読み出し対象とな
るデータのデータ情報を検出し、データ情報を格納する
とともに、該データ情報に基づいて復号データの出力を
制御するようにした。
Further, in the present invention, in the data decoding method for decoding the coded data recorded on the recording medium, the coded data read from the recording medium is stored in a decoding memory, and the coded data is stored. The data information of the data to be read is detected from the decoded data generated during the decoding of the data, the data information is stored, and the output of the decoded data is controlled based on the data information.

【0024】これにより記録媒体に記録された符号化デ
ータを復号する途中において、読み出し対象となるデー
タのデータ情報を検出して、データ情報格納手段に格納
しておくことにより、符号化データの復号とは独立して
該データ情報に基づいて復号データの出力を制御するこ
とができる。
As a result, during the decoding of the encoded data recorded on the recording medium, the data information of the data to be read is detected and stored in the data information storage means, thereby decoding the encoded data. The output of the decoded data can be controlled independently of the above based on the data information.

【0025】さらに本発明においては、記録媒体に記録
された符号化データでなる画像信号及び又は音声信号を
読み出して再生するデータ再生装置において、符号化デ
ータ及び該符号化データより復号された復号データを記
憶する復号用メモリと、符号化データを復号する途中に
おいて生成される復号データより、読み出し対象となる
データのデータ情報を検出するデータ情報検出回路と、
データ情報を格納するデータ情報格納手段と、データ情
報に基づいて復号データの出力を制御するデータ出力制
御回路とを有するデータ復号装置を設ける。
Further, in the present invention, in a data reproducing apparatus for reading and reproducing an image signal and / or an audio signal composed of encoded data recorded on a recording medium, the encoded data and the decoded data decoded from the encoded data are used. And a data information detection circuit for detecting data information of the data to be read from the decoded data generated during the decoding of the encoded data,
A data decoding device having a data information storage means for storing data information and a data output control circuit for controlling the output of decoded data based on the data information is provided.

【0026】これにより記録媒体に記録された符号化デ
ータを復号する途中において、読み出し対象となるデー
タのデータ情報を検出して、データ情報格納手段に格納
しておくことにより、符号化データの復号とは独立して
該データ情報に基づいて復号データの出力を制御するこ
とができ、復号データの再生が迅速になし得る。
Thus, in the course of decoding the encoded data recorded on the recording medium, the data information of the data to be read is detected and stored in the data information storage means, thereby decoding the encoded data. Independently of this, the output of the decoded data can be controlled based on the data information, and the decoded data can be reproduced quickly.

【0027】[0027]

【発明の実施の形態】以下図面について、本発明の一実
施例を詳述する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below in detail with reference to the drawings.

【0028】(1)第1実施例 (1−1)データ再生装置の全体構成 図52との対応部分に同一符号を付した図1において4
0は、本発明によるデータ復号装置を用いたデータ再生
装置の全体構成を示す。データ再生装置40は、光デイ
スク2に可変レートで記録されている画像データ及び音
声データを光デイスク2に対してレーザ光を照射し、そ
の反射光から記録されているデータを読み出して再生す
る。ピツクアツプ3で再生された再生信号S1は、シス
テムコントローラ4によつて制御される復調/復号回路
系35の復調回路6に送られる。復調回路6は、再生信
号S1を復調してセクタ検出回路7に出力する。
(1) First Embodiment (1-1) Overall Structure of Data Reproducing Device 4 in FIG. 1 in which parts corresponding to those in FIG.
Reference numeral 0 indicates the overall structure of a data reproducing device using the data decoding device according to the present invention. The data reproducing device 40 irradiates the optical disk 2 with laser light of image data and audio data recorded at a variable rate on the optical disk 2, and reads the recorded data from the reflected light to reproduce the data. The reproduction signal S1 reproduced by the pickup 3 is sent to the demodulation circuit 6 of the demodulation / decoding circuit system 35 controlled by the system controller 4. The demodulation circuit 6 demodulates the reproduction signal S1 and outputs it to the sector detection circuit 7.

【0029】セクタ検出回路7は、供給されたデータか
ら各セクタ毎に記録されているアドレスを検出し、リン
グバツフア制御回路11に出力すると共に、後段のEC
C回路50にセクタ同期をとつた状態でデータを出力す
る。システムコントローラ4によつて制御されるリング
バツフア制御回路11は、リングバツフアメモリ10に
対する書き込みと読み出しを制御すると共に、多重化デ
ータ分離回路13より出力されるデータを要求するコー
ドリクエスト信号R10を監視する。ここでセクタ検出
回路7は、アドレスを検出することができなかつたり、
検出したアドレスが連続していなかつた場合、リングバ
ツフア制御回路11を介してセクタ番号異常信号をトラ
ツクジヤンプ判定回路9に出力する。
The sector detection circuit 7 detects the address recorded in each sector from the supplied data and outputs it to the ring buffer control circuit 11, and at the same time, the EC in the subsequent stage.
The data is output to the C circuit 50 in a state in which the sector is synchronized. The ring buffer control circuit 11 controlled by the system controller 4 controls writing and reading with respect to the ring buffer memory 10 and monitors a code request signal R10 requesting data output from the multiplexed data separation circuit 13. . Here, the sector detection circuit 7 cannot detect an address,
When the detected addresses are not continuous, the sector buffer abnormality signal is output to the track jump determination circuit 9 via the ring buffer control circuit 11.

【0030】ECC回路50は、セクタ検出回路7より
供給されるデータの誤りを検出し、データに付加されて
いる冗長ビツトを用いて誤り訂正を実行して、FIFO(Fir
st In First Out)機能をもつトラツクジヤンプ用のリン
グバツフアメモリ10に出力する。リングバツフアメモ
リ10のデータは、多重化データ分離回路13に供給さ
れる。このときECC回路50はセクタヘツダデータを
検出してセクタ検出回路7を通じてシステムコントロー
ラ4に送出される。ここでECC回路50は、データの
誤りを訂正することができなかつた場合、エラー発生信
号をシステムコントローラ4に出力する。
The ECC circuit 50 detects an error in the data supplied from the sector detection circuit 7, executes error correction using the redundant bit added to the data, and outputs the FIFO (Fir
It is output to the ring buffer memory 10 for the track jump having the st in first out) function. The data in the ring buffer memory 10 is supplied to the multiplexed data separation circuit 13. At this time, the ECC circuit 50 detects the sector header data and sends it to the system controller 4 through the sector detection circuit 7. Here, if the ECC circuit 50 cannot correct the data error, it outputs an error occurrence signal to the system controller 4.

【0031】トラツクジヤンプ判定回路9は、リングバ
ツフア制御回路11の出力をモニタし、トラツクジヤン
プが必要なときトラツクジヤンプ信号JP1をトラツキ
ングサーボ回路22に出力し、ピツクアツプ3の光デイ
スク2に対する再生位置をトラツクジヤンプさせるよう
になつている。ここでシステムコントローラ4は、セク
タ検出回路7からのセクタ番号異常信号、またはECC
回路50からのエラー発生信号を検出すると、トラツク
ジヤンプ判定回路9よりトラツクジヤンプ信号をトラツ
キングサーボ回路22に出力してピツクアツプ3の再生
位置をトラツクジヤンプさせるようになされている。
The track jump judgment circuit 9 monitors the output of the ring buffer control circuit 11, outputs a track jump signal JP1 to the tracking servo circuit 22 when a track jump is necessary, and determines the reproduction position of the pick up 3 with respect to the optical disk 2. It's designed to trigger truck jumps. Here, the system controller 4 sends the sector number abnormality signal from the sector detection circuit 7 or the ECC.
When the error occurrence signal from the circuit 50 is detected, the track jump determination circuit 9 outputs a track jump signal to the tracking servo circuit 22 to track the reproduction position of the pick-up 3.

【0032】多重化データ分離回路13へのヘツダ分離
回路14は、リングバツフアメモリ10から供給された
データからパツクヘツダ及びパケツトヘツダを分離して
分離回路制御回路15に供給するとともに、時分割多重
されたデータをスイツチング回路16の入力端子Gに供
給する。スイツチング回路16の出力端子(被切換端
子)H1、H2はそれぞれビデオコードバツフア17、
オーデイオコードバツフア19の入力端子に接続されて
いる。ここでスイツチング回路16によつて出力端子が
H1に切り換えられると、ビデオコード出力はビデオコ
ードバツフア17を通じてビデオデコーダ18に送出さ
れ、出力端子OUT1より出力される。またスイツチン
グ回路16によつて出力端子がH2に切り換えられる
と、オーデイオコード出力はオーデイオコードバツフア
19を通じてオーデイオデコーダ20に送出され、出力
端子OUT2より出力される。
The header separation circuit 14 to the multiplexed data separation circuit 13 separates the packet header and the packet header from the data supplied from the ring buffer memory 10 and supplies them to the separation circuit control circuit 15 and time-division multiplexed. Data is supplied to the input terminal G of the switching circuit 16. The output terminals (switched terminals) H1 and H2 of the switching circuit 16 are the video code buffer 17, respectively.
It is connected to the input terminal of the audio code buffer 19. Here, when the output terminal is switched to H1 by the switching circuit 16, the video code output is sent to the video decoder 18 through the video code buffer 17 and output from the output terminal OUT1. When the output terminal is switched to H2 by the switching circuit 16, the audio code output is sent to the audio decoder 20 through the audio code buffer 19 and output from the output terminal OUT2.

【0033】また、ビデオデコーダ18が発生するコー
ドリクエスト信号R1はビデオコードバツフア17に入
力された後、多重化データ分離回路13に入力されてい
る。同様にオーデイオデコーダ20が発生するコードリ
クエスト信号R2はオーデイオコードバツフア19に入
力された後、多重化データ分離回路13に入力されてい
る。
The code request signal R1 generated by the video decoder 18 is input to the video code buffer 17 and then to the multiplexed data separation circuit 13. Similarly, the code request signal R2 generated by the audio decoder 20 is input to the audio code buffer 19 and then to the multiplexed data separation circuit 13.

【0034】ところで、例えば単純な画面に関するデー
タ処理が続き、ビデオデコーダ18の単位時間当たりの
データ消費量が少なくなると、リングバツフアメモリ1
0からの読み出しも少なくなる。この場合、リングバツ
フアメモリ10の記憶データ量が多くなり、オーバーフ
ローするおそれがある。このため、トラツクジヤンプ判
定回路9は、ライトポインタWPおよびリードポインタ
RPによりリングバツフアメモリ10が現在記憶してい
るデータ量を算出し、そのデータがあらかじめ設定され
た所定の基準値を越えた場合、リングバツフアメモリ1
0がオーバーフローするおそれがあると判断して、トラ
ツキングサーボ回路22にトラツクジヤンプ指令を出力
する。
By the way, for example, when the data processing relating to a simple screen continues and the data consumption amount of the video decoder 18 per unit time decreases, the ring buffer memory 1
Reads from 0 are also reduced. In this case, the amount of data stored in the ring buffer memory 10 increases and there is a risk of overflow. Therefore, the track jump determination circuit 9 calculates the amount of data currently stored in the ring buffer memory 10 by the write pointer WP and the read pointer RP, and when the data exceeds a predetermined reference value set in advance. , Ring buffer memory 1
It judges that 0 may overflow, and outputs a track jump command to the tracking servo circuit 22.

【0035】また、トラツクジヤンプ判定回路9は、セ
クタ検出回路7からのセクタ番号異常信号またはECC
回路50からのエラー発生信号を検出した場合、ライト
ポインタWPとリードポインタRPからリングバツフア
メモリ10内に残存しているデータ量を求めると共に、
現在のトラツク位置から、光デイスク2が1回転する間
に(光デイスク2の1回転待ちの間に)、リングバツフ
アメモリ10から多重化データ分離回路13の読み出し
を保証するのに必要なデータ量を求める。ここでリング
バツフアメモリ10の残存データ量が大きい場合、リン
グバツフアメモリ10から最高の転送レートでデータが
読み出されてもリングバツフアメモリ10にはアンダー
フローが生じない。このため、トラツクジヤンプ判定回
路9はエラー発生位置をピツクアツプ3で再度再生する
ことによりエラー回復が可能であると判断して、トラツ
キングサーボ回路22にトラツクジヤンプ指令を出力す
る。
Further, the track jump determination circuit 9 uses the sector number abnormal signal or ECC from the sector detection circuit 7.
When the error occurrence signal from the circuit 50 is detected, the amount of data remaining in the ring buffer memory 10 is obtained from the write pointer WP and the read pointer RP, and
Data required to guarantee the reading of the multiplexed data separation circuit 13 from the ring buffer memory 10 while the optical disk 2 makes one rotation (while waiting for one rotation of the optical disk 2) from the current track position. Find the amount. Here, when the amount of remaining data in the ring buffer memory 10 is large, underflow does not occur in the ring buffer memory 10 even if data is read from the ring buffer memory 10 at the highest transfer rate. Therefore, the track jump judgment circuit 9 judges that the error recovery is possible by reproducing the error occurrence position again by the pick-up 3, and outputs the track jump command to the tracking servo circuit 22.

【0036】(1−2)ECC回路及びECC復号 図2に示すECC回路50は、C1/C2畳み込み・リ
ードソロモン符号(CIRC Plus) によるECC を復号する。
ECC回路50は、リングバツフアメモリでなるRAM
(Random access Memory)51と、EFM+復調されたデータ
に対して誤り訂正を実行してECC 復号するECCデコー
ダ52と、エラー訂正不能フラグ、エラー訂正パターン
及びエラー位置を格納するためのエラーレジスタ53と
によつて形成される。
(1-2) ECC Circuit and ECC Decoding The ECC circuit 50 shown in FIG. 2 decodes ECC by C1 / C2 convolutional / Reed Solomon code (CIRC Plus).
The ECC circuit 50 is a RAM composed of a ring buffer memory.
A (Random access Memory) 51, an ECC decoder 52 that performs error correction on the EFM + demodulated data and performs ECC decoding, and an error register 53 for storing an error correction impossible flag, an error correction pattern, and an error position. Is formed by.

【0037】図2及び図3に示すようにECC復号は、
デイスク2から読み出された再生信号S1をRF処理回
路42にてRF処理及び2値化処理した後、復調回路4
4でEFM+の同期パターンを検出する。ここでEFM+の同期
パターンが検出されると、CLV制御回路46によつて
先ずラフサーボがかけられる。続いて復調回路44でEF
M+のシンクパターンが検出されると、PLL(Phase Locked
Loop)サーボがかけられる。その後、シンクパターンが
数回連続して検出されると、EFM+復調後のデータS2が
RMIF(Random Access Memory InterFace)48を通じ
てECC回路50のRAM51にフレーム単位で書き込
まれる。そしてOCTL(出力制御回路)56を通じて
リングバツフアメモリ10に出力される。
ECC decoding, as shown in FIGS. 2 and 3,
The reproduction signal S1 read from the disk 2 is subjected to RF processing and binarization processing in the RF processing circuit 42, and then the demodulation circuit 4
4 detects the EFM + sync pattern. When the EFM + synchronization pattern is detected, the CLV control circuit 46 first applies rough servo. Then, the demodulation circuit 44 EF
When the M + sync pattern is detected, the PLL (Phase Locked
Loop) Servo is applied. After that, when the sync pattern is detected several times in succession, the data S2 after EFM + demodulation is written in the RAM 51 of the ECC circuit 50 in a frame unit through the RMIF (Random Access Memory InterFace) 48. Then, it is output to the ring buffer memory 10 through the OCTL (output control circuit) 56.

【0038】ECC回路50では、RMIF48を通じ
てRAM51への書き込みアドレスを生成する。ここで
RAM51から読み出されるデータはRMIF48を通
じてECC制御部54及びECC復号部55に転送され
る。ここでエラーが検出され、そのエラーが訂正可能で
あつた場合、エラー位置とエラーの訂正パターンがEC
C復号部55からECC制御部54に出力される。この
場合、エラー位置とエラーの訂正パターンは、RAM5
1の各フレーム毎に出力され、エラーレジスタ53(図
2)に格納される。エラー訂正は、エラーレジスタ53
からエラー位置と訂正パターンとを読み出し、RAM5
1からエラー位置に対応するエラーデータを読み出して
訂正パターンとの排他的論理和(EXclusive OR,EXOR) を
とつて再びRAM51に書き戻すことで実行する。また
エラーの訂正不能が検出されたら、そのフレームの訂正
不能フラグを後段のECC のイレージヤ訂正に使用するた
めにエラーレジスタ53に格納する。
The ECC circuit 50 generates a write address to the RAM 51 through the RMIF 48. Here, the data read from the RAM 51 is transferred to the ECC controller 54 and the ECC decoder 55 through the RMIF 48. If an error is detected here and the error can be corrected, the error position and the error correction pattern are EC.
It is output from the C decoding unit 55 to the ECC control unit 54. In this case, the error position and the error correction pattern are stored in the RAM 5
1 is output for each frame and stored in the error register 53 (FIG. 2). For error correction, the error register 53
The error position and the correction pattern are read from the RAM 5
This is executed by reading the error data corresponding to the error position from 1 and taking the exclusive OR with the correction pattern and writing back to the RAM 51 again. When an uncorrectable error is detected, the uncorrectable flag of the frame is stored in the error register 53 for use in the ECC erasure correction in the subsequent stage.

【0039】この結果、エラーレジスタ53にはECC の
各系列C11、C2及びC12のそれぞれについてECC
を解くために必要なデータとしてエラー位置及び訂正パ
ターンが蓄積される。ここでECC を解くために必要かつ
十分なエラー位置及び訂正パターンが揃えられると、E
CC制御部54によつてRAM51に格納されているデ
ータとのエラー訂正が実行される。
As a result, the error register 53 stores the ECC for each ECC series C11, C2, and C12.
The error position and the correction pattern are accumulated as data necessary for solving If the error positions and correction patterns necessary and necessary to solve the ECC are aligned, E
The CC control unit 54 performs error correction with the data stored in the RAM 51.

【0040】ここでデータの格納アドレスRAは、図4に
示すようなRAM51に書き込まれたデータよりC1系
列のデータ順Dn、C1符号単位のフレームカウントFnを
用いて次式
Here, the data storage address RA is calculated from the data written in the RAM 51 as shown in FIG. 4 by using the data order Dn of the C1 series and the frame count Fn of the C1 code unit as follows.

【数1】 [Equation 1]

【数2】 [Equation 2]

【数3】 (Equation 3)

【数4】 により求められる。(Equation 4) Required by.

【0041】ここでRMIF48はRAM51上におい
て、ECC 復号の3系列C11、C2及びC12の結果
を、その系列の先頭のデータが含まれるフレームのA
A、AB、AC、AD、AE、AF番目のアドレスのい
ずれかに書き込む。ここで例えば、ECC 結果をAA、A
B、ACに書き込むとすると、フレームカウントFnとデ
ータ順AA、AB、ACによりECC 復号の3系列C1
1、C2及びC12の結果に対するRAM51のメモリ
アドレスを容易に生成できる。
Here, the RMIF 48 stores the results of the three ECC decoding sequences C11, C2 and C12 on the RAM 51 in the A of the frame including the head data of the sequence.
Write to any of A, AB, AC, AD, AE, and AFth addresses. Here, for example, the ECC result is AA, A
If writing to B and AC, three sequences C1 of ECC decoding are performed by frame count Fn and data order AA, AB, and AC.
The memory address of the RAM 51 for the results of 1, C2 and C12 can be easily generated.

【0042】ここでデイスク再生装置40では、リング
バツフアメモリ10から、多重化データ分離回路13へ
の読み出しを保証するだけのデータ量を確保する必要が
あるためRFCKは、デイスクの記録(カツテイング)時の
リフアレンス・チヤネル・ビツトレート26.6(Mbit/s)に
対して、再生時のチヤネルビツトレートのほうが大きい
値となるように設定しておく。
In the disk reproducing apparatus 40, since it is necessary to secure a sufficient amount of data from the ring buffer memory 10 to guarantee the reading to the multiplexed data separation circuit 13, the RFCK records the disk (cutting). Set the channel bit rate during playback to a larger value than the reference channel bit rate at 26.6 (Mbit / s).

【0043】図5に示すように、例えばRAM51のフ
レーム182 に対してEFM+の書き込み(EFM+ Wrire )が実
行されると、同時にC11系列のデータを00、02〜A9の
順にECCデコーダ52へデータ転送(C11read)す
る。続いてECCデコーダ52へは、C2系列のデータ
がデータ転送(C2read)された後、C12系列のデー
タ転送(C12read)が実行される。そして、各系列C
11、C2、C12のECC が実行されたフレーム0はO
CTL56にデータ転送(OUT) される。ここでは各系列
C11、C2及びC12のECC データ転送を固定間隔で
途切れがないように実行する。つまり1168サイクルのRF
CK1周期中、コード長が170 〔byte〕のECC は一旦、EC
C データが転送されればRFCKの周期内で必ず3回のECC
データが転送されるように設定されている。
As shown in FIG. 5, for example, when EFM + writing (EFM + Wrire) is executed for the frame 182 of the RAM 51, at the same time, the C11 series data is transferred to the ECC decoder 52 in the order of 00, 02 to A9. (C11 read) Subsequently, the C2 series data is transferred (C2 read) to the ECC decoder 52, and then the C12 series data transfer (C12 read) is executed. And each series C
Frame 0 in which ECC of 11, C2, and C12 is executed is O
Data is transferred (OUT) to the CTL 56. Here, ECC data transfer of each series C11, C2, and C12 is executed at fixed intervals without interruption. So 1168 cycles of RF
ECC with a code length of 170 [byte] during one CK cycle
If C data is transferred, ECC must be performed 3 times within the cycle of RFCK.
Data is set to be transferred.

【0044】このようにしてRAM51に蓄えられたEC
C の3系列C11、C2及びC12の各データS2は、
RFCKの1周期内でECCデコーダ52へデータが転送さ
れる。この際、RAM51内のECC データは、そのまま
残される。ここでECCデコーダ52においてECC エラ
ーが検出され、そのECC エラーが訂正可能であつた場
合、エラー位置とエラーの訂正パターンとがエラー結果
ERとしてエラーレジスタ53に送出される。ECC回
路50は、エラーレジスタ53から読み出される訂正パ
ターンと、エラー位置に基づいてRAM51より読み出
されるエラーのあるデータとの排他的論理和(EXOR)をと
つて、再びRAM51に書き戻すことでエラー訂正を実
行する。ECC回路50からは、復号されたデータS1
0及びセクタヘツダデータSHとが分離されてそれぞ
れ、リングバツフアメモリ10及びセクタ検出回路7へ
送出される。
The EC stored in the RAM 51 in this way
Each data S2 of the three series C11, C2 and C12 of C is
Data is transferred to the ECC decoder 52 within one cycle of RFCK. At this time, the ECC data in the RAM 51 is left as it is. Here, when the ECC decoder 52 detects an ECC error and the ECC error can be corrected, the error position and the error correction pattern are sent to the error register 53 as the error result ER. The ECC circuit 50 takes the exclusive OR (EXOR) of the correction pattern read from the error register 53 and the erroneous data read from the RAM 51 based on the error position, and writes it back to the RAM 51 to correct the error. To execute. From the ECC circuit 50, the decoded data S1
0 and the sector header data SH are separated and sent to the ring buffer memory 10 and the sector detection circuit 7, respectively.

【0045】図6にRAM51上のECC データの各系列
C11、C2及びC12の実際のデータ転送、エラー結
果出力及びエラー訂正の実行制御タイミングを示す。E
CC制御部54は、先ずECC復号部55へECC のC1
2系列のデータ転送を終了したときのタイミングでC1
1系列のエラー訂正(C11W)を実行する。次にRA
M51から次フレームのC11系列のデータをECCデ
コーダ52へ転送した後のタイミングで現フレームのC
2系列のエラー訂正(C2W)を実行する。さらに現フ
レームのC12系列のエラー訂正(C12W)を次フレ
ームのC2系列のデータ転送後のタイミングで実行す
る。
FIG. 6 shows the execution control timing of the actual data transfer, error result output and error correction of each series C11, C2 and C12 of the ECC data on the RAM 51. E
The CC control unit 54 first sends the ECC C1 to the ECC decoding unit 55.
C1 at the timing when the two-series data transfer is completed
Execute a series of error corrections (C11W). Next RA
At the timing after the C11 series data of the next frame is transferred from the M51 to the ECC decoder 52, the C of the current frame is transferred.
Two series of error correction (C2W) is executed. Further, the C12 series error correction (C12W) of the current frame is executed at the timing after the data transfer of the C2 series of the next frame.

【0046】このようにECC の各3系列のデータをRA
M51からECC復号部55へ連続して転送(C11
R、C2R及びC12R)し、引き続いて各3系列のデ
ータのECC エラー訂正(C11W、C2W及びC12
W)を実行することにより、ECCデータの読み出し及び
エラー訂正をそれぞれRFCKの1周期内でなし得る。この
結果、ECC の各系列C11、C2及びC12について、
RFCKに対して固定間隔で、かつ途切れないようにRAM
51よりデータ出力することができる。
In this way, the data of each of the three ECC series is RA
Continuous transfer from M51 to ECC decoder 55 (C11
R, C2R, and C12R), and then ECC error correction (C11W, C2W, and C12) of each 3-series data.
By executing W), the ECC data can be read and the error can be corrected within one cycle of RFCK. As a result, for each ECC series C11, C2, and C12,
RAM at fixed intervals with respect to RFCK and without interruption
Data can be output from 51.

【0047】ここでECC の転送コード長NCYCが170 サイ
クル、パリテイの転送コード長PCYCがmax 14サイクルの
とき、エラー結果がECC レジスタに出力されるタイミン
グは、次式
When the ECC transfer code length NCYC is 170 cycles and the parity transfer code length PCYC is max 14 cycles, the timing at which the error result is output to the ECC register is

【数5】 によつてECC 動作クロツク(ECCK)395 サイクルのタイミ
ングに設定される。ここでECC回路50のRMIF4
8からは、C1及びC2系列分のシンボル数のECCKがカ
ウントされ、1RFCK周期内に、C11R、C2R及びC
12Rのデータ転送に同期して3回分を必ず出力するよ
うになされている。従つて、C11の結果は、C12の
データ転送中に必ず出力される。また、C2、C12系
列の結果についても、C11、C2のデータ転送中に必
ず出力することができる。
(Equation 5) This sets the timing of ECC operation clock (ECCK) 395 cycles. Here, the RMIF4 of the ECC circuit 50
From 8 on, ECCKs of the number of symbols for C1 and C2 sequences are counted, and C11R, C2R, and C within one RFCK cycle.
It is designed to always output three times in synchronization with the 12R data transfer. Therefore, the result of C11 is always output during the data transfer of C12. Also, the results of the C2 and C12 series can be output without fail during the data transfer of C11 and C2.

【0048】図7にECC回路50のエラー出力のタイ
ミングの様子を示す。ここで(5)式によつて得られる
(ECCK)395 サイクル後にECC 結果の出力タイミングとな
るOSTT信号が出力されると、OSTT信号より3クロツク後
に、OCORRECT=1となり、ODATA[7:0]、OORIG[7:0]にエ
ラーパターンEDX 、エラーポジシヨンEAX が出力され
る。この例では3つのエラーED0 〜ED2 を出力する場合
について記す。因みにECC スタートパルス信号ESTTは、
ECCデコード部55がC1及びC2のデータの先頭を
認識する信号、OCORRECT信号は、ECC 結果ODATA[7:0]、
OORIG[7:0]を取り込むためのストローブ信号である。エ
ラーパターンEDX 、エラーポジシヨンEAX は、エラーレ
ジスタ53に一旦保持され、その時点のECCデコーダ
52へのデータ転送が終わつたところでエラー訂正が実
行される。
FIG. 7 shows the error output timing of the ECC circuit 50. Here, it is obtained by the equation (5).
(ECCK) When the OSTT signal, which is the output timing of the ECC result, is output after 395 cycles, OCORRECT = 1 after 3 clocks from the OSTT signal and the error pattern EDX appears in ODATA [7: 0] and OORIG [7: 0] , Error position EAX is output. In this example, the case where three errors ED0 to ED2 are output will be described. By the way, the ECC start pulse signal ESTT is
The ECC decoding unit 55 recognizes the beginning of the data of C1 and C2, the OCORRECT signal is the ECC result ODATA [7: 0],
This is a strobe signal for taking in OORIG [7: 0]. The error pattern EDX and the error position EAX are temporarily held in the error register 53, and the error correction is executed when the data transfer to the ECC decoder 52 at that time is completed.

【0049】ここで図8に各EFM+、C11、C2、C1
2、OUT の1フレーム(RFCK)周期、すなわち1168サイク
ル中のRAM51のアクセスに要するECC 動作クロツク
(ECCK)のクロツク数を示す。EFM+は、セクタシンクパタ
ーン書き込み1サイクル及び、EFM+復調出力に170 ±α
サイクルを要する。ECC C11系列は、C11の読み出
しに170 サイクル、C11のエラー訂正に8+8 サイクル
及び、C11の書き込みに1サイクルを要し、SUB にお
いてセクタシンクパターン読み出し1サイクル、ヘツダ
データ読み出し20サイクル及びセクタ情報書き込みとし
て1+(14)サイクルを要する。
Here, each EFM +, C11, C2, C1 is shown in FIG.
2, 1 frame (RFCK) cycle of OUT, that is, ECC operation clock required to access RAM51 during 1168 cycles
Indicates the number of clocks (ECCK). EFM + is 170 ± α for 1 cycle of writing sector sync pattern and EFM + demodulation output
It takes a cycle. The ECC C11 series requires 170 cycles for reading C11, 8 + 8 cycles for error correction for C11, and 1 cycle for writing C11, and 1 cycle for reading sector sync pattern, 20 cycles for reading header data and writing sector information in SUB. Requires 1+ (14) cycles.

【0050】さらにECC のC2系列は、C2の読み出し
に170 サイクル、C2のエラー訂正に14+14 サイクル及
び、C2の書き込みに1サイクルを要する。またECC C
12系列は、C12の読み出しに170 サイクル、C12
のエラー訂正に8+8 サイクル及び、C12の書き込みに
1サイクルを要する。さらにECC 復号の終了を示すOUT
をセクタ情報の読み出しに1サイクル、C11の訂正結
果読み出しに1サイクル、C2のエラー訂正結果読み出
しに1サイクル、C12の訂正結果読み出しに1サイク
ル及び、OUT に170 サイクルを要する。これによりC1
1、C2、C12、OUT のRAM51に対するアクセス
は合計948 サイクルになる。
Further, the ECC C2 series requires 170 cycles for reading C2, 14 + 14 cycles for correcting C2 errors, and one cycle for writing C2. Also ECC C
For 12 series, 170 cycles for reading C12, C12
It takes 8 + 8 cycles for error correction and 1 cycle for writing C12. OUT that indicates the end of ECC decoding
It takes 1 cycle to read the sector information, 1 cycle to read the correction result of C11, 1 cycle to read the error correction result of C2, 1 cycle to read the correction result of C12, and 170 cycles to OUT. This gives C1
Accessing RAM 51 of 1, C2, C12, and OUT is 948 cycles in total.

【0051】ヘツダデータの読み出し等を実行するSUB
は、セクタ検出回路7へのシンクコード(4バイト)+
ヘツダデータ(16バイト)の転送で、セクタを検出する
ためのセクタ検出回路7では、ヘツダデータの中からセ
クタアドレスを抜き出し、CRC チエツク後、フライホイ
ール(FW)を掛けて、システムコントローラに転送する。
セクタヘツダデータSHは、図6に示すC11W後のタ
イミング(SUB) にて、C11系列のみECCデコードさ
れたデータから抜き出すことにより、セクタ検出回路8
を通してシステムコントローラ4はセクタアドレスを取
り出すことでデイスクの位置情報をC2、C12系列の
ECC 復号にかかる時間だけ早く取り出す。フライホイー
ルは、数回シンクが未検出となつてもロツク状態を保持
するような保護及び内挿動作のことである。システムコ
ントローラ4では、目的セクタであるか否かを比較判定
する。フライホイールは、RF信号から取り出した2値
化信号のシンクパターンを数回連続して検出し、そのと
きメインシンクパターン及びサブシンクパターンを数回
連続して検出すると、FWロツクする。
SUB for executing reading of header data
Is the sync code (4 bytes) to the sector detection circuit 7 +
The sector detection circuit 7 for detecting a sector by transferring the header data (16 bytes) extracts the sector address from the header data, and after CRC check, applies a flywheel (FW) and transfers to the system controller.
The sector header data SH is extracted from the ECC-decoded data of only the C11 series at the timing (SUB) after C11W shown in FIG.
The system controller 4 extracts the sector address through the disk position information of the C2 and C12 series.
It takes out as early as the time required for ECC decoding. The flywheel is a protection and interpolation operation that keeps the lock state even if the sink is not detected several times. The system controller 4 compares and determines whether or not it is the target sector. The flywheel detects the sync pattern of the binarized signal extracted from the RF signal several times in succession, and if it detects the main sync pattern and the sub sync pattern several times in succession, it locks the FW.

【0052】また、メモリアドレスとRAM51に対す
るライト及びリードについてのフレーム単位動作(JOB
)の実行条件を次式
In addition, a frame unit operation (JOB
) Execution condition

【数6】 (Equation 6)

【数7】 (Equation 7)

【数8】 (Equation 8)

【数9】 のように設定する。ここでJOBXXXに対するフレームカウ
ントをFn(XXX )としたとき、カウントは、フレーム単
位のXXX に対するJOB が全て終了すると+1インクリメ
ントされる。なお、SUB はC11に含める。
[Equation 9] Set as follows. When the frame count for JOBXXX is Fn (XXX), the count is incremented by +1 when all JOBs for XXX in frame units are completed. SUB is included in C11.

【0053】EFM+において、シンクを数回連続して検出
するとシンクパターンFWロツクとなる。このときメモリ
ライトイネーブル信号MWENS は、MWENS =1となり、EF
M+復調データの書き込みが始まる。また、シンクを数回
連続して検出できない時には、シンクパターンFWアンロ
ツクとなり、メモリライトイネーブル信号はMWENS =0
となつてEFM+の書き込みが禁止され、各フレームカウン
タは0にリセツトされる。ここでMWENS は、シンクパタ
ーンFWがロツクしているときに1となる信号で、MWENS=
1のときにメモリへの書き込みを実行するメモリライト
イネーブル信号である。
In EFM +, when a sync is detected several times in succession, a sync pattern FW lock is obtained. At this time, the memory write enable signal MWENS becomes MWENS = 1 and EF
Writing of M + demodulation data starts. When the sync cannot be detected several times in succession, the sync pattern FW is unlocked and the memory write enable signal is MWENS = 0.
Therefore, writing of EFM + is prohibited and each frame counter is reset to 0. Here, MWENS is a signal that becomes 1 when the sync pattern FW is locked, and MWENS =
When it is 1, it is a memory write enable signal for writing to the memory.

【0054】ここで図9に、例えば、復号データの出力
OUT はC11Mの4周期に1度リクエストOUTREQを出す
とするとき、それぞれのリクエストに対して、OUTREQ、
EFMREQ、ECCREQの順に、アクセス獲得を優先させた時の
RAM51に対するアクセスの獲得タイミングを示す。
ここではXXX ACK(ACKnowledge)=1で所定のJOB が実行さ
れる。 ECCデータの出力は、RFCKの立ち上がりで起動さ
れ、JOB 実行条件に基づいて実行される。ECC の各系列
C11、C2及びC12は、SUB を含めてC11R−C
2W−C2R−C12W−C12R−C11W−SUB の
順に実行される。
Here, in FIG. 9, for example, output of decoded data
OUT issues a request OUTREQ once every four cycles of C11M, and OUTREQ,
The access acquisition timing for the RAM 51 when the access acquisition is prioritized is shown in the order of EFMREQ and ECCREQ.
Here, a predetermined job is executed with XXX ACK (ACKnowledge) = 1. ECC data output is started at the rising edge of RFCK and is executed based on the JOB execution conditions. Each ECC sequence C11, C2 and C12 includes C11R-C including SUB.
2W-C2R-C12W-C12R-C11W-SUB are executed in this order.

【0055】従つて、ECC の各系列C11、C2及びC
12並びにOUT は、一度シンクFWがロツクし、MWENS =
1の状態が続き、各JOB の実行条件が成立し続ければFn
(C11)〜Fn(OUT)のカウント値の差分値は、RFCK周
期で固定値となる。ところで、本発明が適用されるデー
タ復号装置40では、リングバツフアメモリ10から、
多重化データ分離回路13への読み出しを保証するだけ
のデータ量を確保する必要がある。従つてRFCKは、デイ
スクの記録(カツテイング)時のリフアレンス・チヤネ
ル・ビツトレート26.6(Mbit/s)に対して、再生時のチヤ
ネルビツトレートのほうが大きい値となるように設定す
る。
Therefore, each ECC sequence C11, C2 and C
For 12 and OUT, the sync FW once locks and MWENS =
If the condition of 1 continues and the execution condition of each JOB continues to be satisfied, Fn
The difference value between the count values of (C11) to Fn (OUT) is a fixed value in the RFCK cycle. By the way, in the data decoding device 40 to which the present invention is applied, from the ring buffer memory 10,
It is necessary to secure a data amount enough to guarantee the reading to the multiplexed data separation circuit 13. Therefore, RFCK is set so that the channel bit rate during playback is larger than the reference channel bit rate of 26.6 (Mbit / s) during disk recording (cutting).

【0056】(1−3)セクタ検出 図10〜図12を用いて光デイスク2の目的セクタの検
出及びセクタ情報の生成について説明する。まず図10
(A)及び(B)には光デイスク2より読み出される再
生データのフレーム構成及びシンクワードの具体的な内
容を示す。図10(B)に示すようにシンクワードは、
アデイシヨナルシンク(Additional Sync)S1、C1シ
ンク(C1 Sync)S2及びセクタシンク(Sector Sync)S
3からなつている。図11は、デインタリーブ後のセク
タフオーマツトを示す。セクタ検出回路7 によつてシン
クパターン(S1〜S3)を検出すると、シンクパター
ンFWロツクし、続いてセクタヘツダSH(HEADER)に
おいてセクタFWした後、さらにセクタアドレスSA
(ADRESS)を検出してセクタアドレスFWロツクする。
(1-3) Sector Detection Detection of the target sector of the optical disk 2 and generation of sector information will be described with reference to FIGS. First, FIG.
(A) and (B) show the frame structure of the reproduction data read from the optical disk 2 and the specific contents of the sync word. As shown in FIG. 10B, the sync word is
Additional Sync (Additional Sync) S1, C1 Sync (C1 Sync) S2, and Sector Sync (Sector Sync) S
It starts from 3. FIG. 11 shows the sector format after deinterleaving. When the sync pattern (S1 to S3) is detected by the sector detection circuit 7, the sync pattern FW is locked, then the sector FW is performed in the sector header SH (HEADER), and then the sector address SA
(ADRESS) is detected and the sector address FW is locked.

【0057】次に図12に示すセクタ情報の各ビツトB
ITデータについて説明する。先ず、ビツト7はセクタ
シンクパターンS3の有無の検出結果を示すもので、セ
クタシンクパターンS3が検出されたフレームで1がセ
ツトされる。ビツト6はシンクコードの有無の検出結果
を示し、セクタ検出回路7でセクタの頭のシンクコード
の位置に”HDCD”という特定コードが検出できたフレー
ムで"1" をセツトする。ビツト5はセクタシンクの認識
を示すもので、セクタシンクパターンS3とセクタシン
クコードSCの情報を用いて最終的にセクタシンクであ
るとセクタ検出回路7で見なしたフレームを1とするも
ので補間されたセクタシンクになる。
Next, each bit B of the sector information shown in FIG.
IT data will be described. First, bit 7 shows the detection result of the presence or absence of the sector sync pattern S3, and 1 is set in the frame in which the sector sync pattern S3 is detected. Bit 6 indicates the result of detection of the presence or absence of the sync code, and the sector detection circuit 7 sets "1" in the frame in which the specific code "HDCD" was detected at the sync code position at the head of the sector. Bit 5 indicates the recognition of the sector sync, and by using the information of the sector sync pattern S3 and the sector sync code SC, the frame finally regarded as the sector sync by the sector detection circuit 7 is set to 1 and is interpolated. Will be the sector sync.

【0058】次にビツト4はCRC チエツク結果を示すも
ので、毎セクタCRC の演算を実行した結果、エラーが検
出されなかつた場合、"0" を書き込む。ビツト3はC1
系列のECC 復号結果を示すもので、エラーが検出されな
ければ"0" に設定される。これはRMIF48からのC
11系列のECC 復号の結果、データが訂正不能であるか
否かを示すフラグをセクタ検出回路7で取り込み、この
ビツトに書き込んでいるものである。
Next, bit 4 shows the result of CRC check. If no error is detected as a result of executing the CRC calculation for each sector, "0" is written. Bit 3 is C1
Indicates the ECC decoding result of the sequence, and is set to "0" if no error is detected. This is a C from RMIF48
As a result of the ECC decoding of the 11 series, a flag indicating whether or not the data cannot be corrected is fetched by the sector detection circuit 7 and written in this bit.

【0059】ビツト2はセクタアドレスSAの連続性を
示すもので、現在、読み出されているセクタアドレス(R
aw Sector Adrress,RSA)とセクタ検出回路7に保管され
ているセクタアドレス(Current Sector Adrress,CSA)と
が等しいときに(実際にはRSAと前のセクタのCSA
+1とを比較している。)、セクタに連続性があると判
断し、BIT2=1 とする。ビツト1は開始のセクタアドレ
スBSAの検出結果を示すもので、アドレスBSAを検
出すると"1" に設定される。そしてビツト0は終了のセ
クタアドレスESAの検出結果を示すもので、アドレス
ESAを検出すると"1" に設定される。
Bit 2 indicates the continuity of the sector address SA, and the sector address (R
aw Sector Adrress, RSA) is equal to the sector address (Current Sector Adrress, CSA) stored in the sector detection circuit 7 (actually RSA and CSA of the previous sector).
Comparing with +1. ), It is determined that the sectors have continuity, and BIT2 = 1. Bit 1 shows the detection result of the starting sector address BSA, and is set to "1" when the address BSA is detected. Bit 0 indicates the detection result of the end sector address ESA, which is set to "1" when the address ESA is detected.

【0060】実際のセクタ検出は図13(A)に示すよ
うに、システムコントローラ4によつてセクタ検出回路
7内のレジスタ(図示せず)へBSA設定モードSACT=
1(後述する図19に示す)を設定すると共に、目的と
するセクタの先頭のアドレスBSA及びセクタの最後の
アドレスESAとを設定し、セクタ検出回路7内のレジ
スタ(図示せず)において、再生データから抜き出し、
セクタアドレスFWロツクしているセクタアドレスとを
比較する。この比較結果により検出したセクタアドレス
が目的セクタのものであることが確認されると、この比
較結果はセクタ情報(ビツト0、1)としてRAM51
に書き戻される。
As shown in FIG. 13A, the actual sector detection is performed by the system controller 4 to the register (not shown) in the sector detection circuit 7 in the BSA setting mode SACT =
1 (shown in FIG. 19 which will be described later) is set, a target sector start address BSA and a sector end address ESA are set, and reproduction is performed in a register (not shown) in the sector detection circuit 7. Extracted from the data,
The sector address FW is compared with the locked sector address. When it is confirmed from the comparison result that the detected sector address belongs to the target sector, this comparison result is stored in the RAM 51 as sector information (bits 0, 1).
Is written back to

【0061】ここで、SACT=1の場合、フレームMから出
力可能になる(図18)。ただし、セクタアドレスによ
りデスクランブルの初期化が行なわれる場合は、それ以
前にデスクランブルのための出力のセクタアドレスが抜
き出せているのが条件となる。出力セクタアドレスは、
セクタ情報のアドレス連続性により、保護された出力セ
クタアドレスを使用する。
Here, when SACT = 1, output is possible from frame M (FIG. 18). However, when the descramble is initialized by the sector address, the condition is that the sector address of the output for the descramble can be extracted before that. The output sector address is
The output sector address protected by the address continuity of the sector information is used.

【0062】さらにこのセクタ情報は、ECC回路50
によるECC 復号の終了したECC 復号データS10ととも
にOCTL56に送出され、ECC 復号データのデータ出
力OUT の制御に用いられる。このときシステムコントロ
ーラ4は、ECC のインターリーブを見込んで、デイスク
アクセス位置を目的とする光デイスク2上のセクタより
も前方の位置にトラツクジヤンプさせる。また、このと
きシステムコントローラ4によつて目的とするセクタを
特定しなければ予め、SACT=0に設定しておくことで、
ECC 復号データを読み出せる時点からデータ出力するこ
とができる。
Further, this sector information is stored in the ECC circuit 50.
It is sent to the OCTL 56 together with the ECC decoded data S10 for which the ECC decoding by is completed and is used for controlling the data output OUT of the ECC decoded data. At this time, the system controller 4 anticipates ECC interleaving, and causes the disk access position to track jump to a position in front of the intended sector on the optical disk 2. Further, at this time, if the target sector is not specified by the system controller 4, by setting SACT = 0 in advance,
Data can be output from the time when ECC decoded data can be read.

【0063】セクタ情報のビツト7のセクタシンクパタ
ーンS3の有無の検出結果は、EFM+復調回路44に
おけるEFM+復調の際、再生データより検出されるEFM+復
調データとともにフレームごとにRAM51に書き込ま
れ、ヘツダデータSHとともにセクタ検出回路7に転送
される。セクタ検出回路7では、各フレームでセクタシ
ンクパターンS3の有無の検出結果により光デイスク2
よりセクタを認識する。ここでセクタ検出回路7におい
て光デイスク2のセクタが認識されると、該セクタのヘ
ツダデータSHの中からセクタアドレスSAが抜き出さ
れる。
The detection result of the presence or absence of the sector sync pattern S3 of the bit 7 of the sector information is written in the RAM 51 for each frame together with the EFM + demodulated data detected from the reproduced data at the time of EFM + demodulation in the EFM + demodulation circuit 44, and the header data SH. At the same time, it is transferred to the sector detection circuit 7. The sector detection circuit 7 detects the presence / absence of the sector sync pattern S3 in each frame based on the detection result.
Recognize more sectors. When the sector of the optical disc 2 is recognized by the sector detection circuit 7, the sector address SA is extracted from the header data SH of the sector.

【0064】セクタ検出回路7では、ヘツダデータSH
内のCRC チエツクの結果、アドレスの連続性、セクタフ
レームのC1系列のECC 復号結果等を適応的に用いてセ
クタアドレスSAに対してフライホイールFWがかけら
れる。システムコントローラ4では、フライホイールF
Wがかけられ保護されたセクタアドレスFWロツク状態
であるセクタアドレスSAを取り出し、光デイスク2の
位置情報ADD として用いる。
In the sector detection circuit 7, the header data SH
The flywheel FW is applied to the sector address SA by adaptively using the result of the CRC check, the continuity of the address, the ECC decoding result of the C1 sequence of the sector frame, and the like. In the system controller 4, the flywheel F
The sector address SA in which the sector address FW is protected by W is taken out and used as the position information ADD of the optical disk 2.

【0065】セクタ情報の内、ビツト0及び1はOCT
L56で参照され、セクタ情報のビツト1が"1" でビツ
ト0が"0" のとき、すなわちセクタアドレスBSAから
ESAまでのセクタが検出されている場合はシステムコ
ントローラ4の目的とするセクタのデータを出力できる
ように設定している。ここで、セクタアドレスESAを
指定しない場合、ビツト0は、"0" を保持する。この
間、ECC 復号データはリングバツフアメモリ10に出力
され続けることになる。ここで例えば、OCTL56内
に設けられたデータ出力コントロールレジスタ(図示せ
ず)を用いてビツト0及び1の状態に関係なくデータ出
力を制御するようにしてもよい。
Of the sector information, bits 0 and 1 are OCT
When the bit 1 of the sector information is "1" and the bit 0 of the sector information is "0", which is referred to by L56, that is, when the sector from the sector address BSA to the ESA is detected, the data of the target sector of the system controller 4 is detected. Is set to output. Here, when the sector address ESA is not designated, the bit 0 holds "0". During this period, the ECC decoded data will continue to be output to the ring buffer memory 10. Here, for example, the data output control register (not shown) provided in the OCTL 56 may be used to control the data output regardless of the states of the bits 0 and 1.

【0066】ここで、図13(B)に示すように、開始
のセクタアドレスBSA及び終了のセクタアドレスES
Aの設定はトラツクジヤンプするとき以外にも、トラツ
クジヤンプ後にシステムコントローラ4から再設定する
ことも可能である。例えば、早送り操作時に要らないデ
ータを読み飛ばすとき等、デイスク上のアクセス位置が
近接している場合は、現在のセクタアドレスSAを認識
してからセクタアドレスBSA及び又はESAを再設定
する。これによりトラツクジヤンプをせずともセクタア
ドレスBSAからのデータ出力ができる。
Here, as shown in FIG. 13B, the starting sector address BSA and the ending sector address ES
The setting of A can be performed by the system controller 4 after the track jump, other than when the track jump is performed. For example, when the access positions on the disk are close to each other, such as when skipping unnecessary data during the fast-forward operation, the current sector address SA is recognized and then the sector addresses BSA and / or ESA are reset. As a result, data can be output from the sector address BSA without performing a track jump.

【0067】ここで図14にシンクパターン(S1〜S
3)がロツクしてからセクタアドレスSAが読めるよう
になり、データが出力されるまでの時間関係を示す。シ
ステムコントローラ4によりデイスクアクセス位置をト
ラツクジヤンプ後、EFM+復調が開始されてからシンクパ
ターン(S1〜S3)がロツクすると、シンクパターン
ロツクSYLKがSYLK=1となる。続いて目的セクタの
セクタアドレスSAが(SALK=1において)フライホイ
ールFWロツクする。続いてECC 復号のC11実行フレ
ームが170 以上となるとSTOK=1になり、それ以降のデ
ータはECC 復号後にデータの出力OUT が可能となる。実
際にはSTOK= 1のタイミングよりさらにジツタ分も含め
たC2系列のECC 復号分、約173 フレームを実行した
後、開始セクタアドレスBSAが検出されたタイミング
でECC 復号データの有効データを次段のリングバツフア
メモリ10に出力させるデータストローブ信号DSTBが、
DSTB= 1となり、ECC 復号データS10の有効データの
出力が開始される。
FIG. 14 shows sync patterns (S1 to S
3) shows the time relationship from when the sector address SA becomes readable to when data is output after the block 3). When the sync pattern (S1 to S3) is locked after the EFM + demodulation is started after the disk access position is track-jumped by the system controller 4, the sync pattern lock SYLK becomes SYLK = 1. Then, the sector address SA of the target sector is locked by the flywheel FW (at SALK = 1). Then, when the C11 execution frame of ECC decoding becomes 170 or more, STOK = 1, and the data after that becomes output OUT of data after ECC decoding. Actually, after executing about 173 frames of C2 sequence ECC decoding including jitter for STOK = 1 timing, the effective data of the ECC decoded data at the next stage is detected at the timing when the start sector address BSA is detected. The data strobe signal DSTB output to the ring buffer memory 10 is
DSTB = 1 and output of valid data of the ECC decoded data S10 is started.

【0068】以上の構成において、実際のセクタ検出及
びデータ出力は、EFM+復号データを書き込み可能にする
イネーブル信号+LATCHED MWENが"1" となつた状態でま
ず図15に矢印で示すC11実行後のタイミングでフレ
ームのセクタ情報のビツト7のセクタシンクパターンの
有無とシンクコードSC、ヘツダデータSHのデータを
セクタ検出回路7で解析してセクタアドレスSAの読み
取り動作を開始する。ここでリードフレームクロツクRF
CKの周期は次式、
In the above configuration, the actual sector detection and data output are the timings after the execution of C11 shown by the arrow in FIG. 15 with the enable signal + LATCHED MWEN for enabling the writing of EFM + decoded data being "1". Then, the presence or absence of the sector sync pattern of bit 7 of the sector information of the frame, the data of the sync code SC and the header data SH are analyzed by the sector detection circuit 7, and the reading operation of the sector address SA is started. Leadframe Clock RF here
The CK cycle is

【数10】 によつて求められる。(Equation 10) Required by

【0069】続いて図16に示すように、セクタの先頭
となるフレームが検出され(3フレーム)、例えばセク
タ情報のビツト6及び7が"1" となるセクタ確定条件が
満たされるとセクタFWがロツクする。さらに、セクタ
アドレスの連続性が正しいと判断されると、セクタアド
レスSA確定条件が満たされ、セクタアドレスFWがロ
ツクする(3フレーム)。この結果、(さらにジツタ等
のマージン約1フレーム分を考慮した)図中矢印で示す
タイミングでSALK=1となる。システムコントローラ4
では、SALK=1であればFWがロツクしたセクタアドレ
スSAを読み出すことができる。このときのECC 復号の
C11系列のフレームカウントFn(C11)、Nは次式、
Then, as shown in FIG. 16, when the frame at the head of the sector is detected (3 frames) and the sector confirmation condition that bits 6 and 7 of the sector information are "1" is satisfied, the sector FW is determined. Lock. Further, when it is determined that the continuity of the sector addresses is correct, the sector address SA confirmation condition is satisfied and the sector address FW is locked (3 frames). As a result, SALK = 1 at the timing shown by the arrow in the figure (considering a margin of one frame such as jitter). System controller 4
Then, if SALK = 1, the sector address SA locked by the FW can be read. Frame count Fn (C11) of C11 sequence of ECC decoding at this time, N is the following equation,

【数11】 によつて表される。[Equation 11] Is represented by

【0070】続いて図17に示すように、C11系列の
ECC 復号の170 フレーム以降は、ECC 復号の各C11、
C2及びC12系列全てが実行され、かつ出力されるフ
レームであるとRMIF48で判断されると、STOK= 1
となり、出力可能であることを、SUBのタイミングで
セクタ検出回路7に知らせる。
Then, as shown in FIG. 17, the C11 series
After 170 frames of ECC decoding, each C11 of ECC decoding,
If the RMIF 48 determines that the C2 and C12 sequences are all executed and output frames, STOK = 1
Then, the sector detection circuit 7 is notified at the timing of SUB that output is possible.

【0071】続いて図18に示すように、セクタの頭の
フレームMで開始セクタアドレスBSAが検出されたと
きにSTOK=1の場合、フレームMは将来、ECC 復号が実
行されて出力可能なのでセクタ情報のビツト1を"1" す
なわちセクタの先頭アドレスであるセクタアドレスBS
Aが検出されると"1" となる信号ISTTをISTT= 1にセツ
トし、セクタ情報のビツト7〜0がSUBの終わりのタ
イミングでRMIF48よりRAM51へ書き戻され
る。このときもし、開始セクタアドレスBSAの検出時
に、STOK=0のときは、エラーとして、システムコント
ローラ4は、例えば前回よりも前方の位置から光デイス
ク2に対して再アクセスを実行する。
Subsequently, as shown in FIG. 18, when STOK = 1 when the start sector address BSA is detected in the frame M at the head of the sector, the frame M is subjected to ECC decoding in the future and can be output. The information bit 1 is "1", that is, the sector address BS which is the start address of the sector.
When A is detected, the signal ISTT which becomes "1" is set to ITT = 1, and the bit 7 to 0 of the sector information is written back to the RAM 51 from the RMIF 48 at the timing of the end of SUB. At this time, if STOK = 0 when the start sector address BSA is detected, it is judged as an error that the system controller 4 re-accesses the optical disk 2 from a position ahead of the previous time, for example.

【0072】ここで図19に示すように、セクタアドレ
スBSAが設定され、SACT=1になつたとき、データス
トローブ信号DSTB=1となりフレームMから順次、ECC
復号データFn(OUT) が出力可能になる(図中、矢印で示
す)。ただし、セクタアドレスSAによりデスクランブ
ルの初期化が実行される場合は、それ以前に、デスクラ
ンブルのための出力セクタアドレスSAが抜き出せてい
ることが条件となる。出力セクタアドレスSAは、セク
タ情報のアドレス連続性により保護された出力セクタア
ドレスSAを用いる。
Here, as shown in FIG. 19, when the sector address BSA is set and SACT = 1, the data strobe signal DSTB = 1 and the ECC is sequentially started from the frame M.
The decoded data Fn (OUT) can be output (indicated by an arrow in the figure). However, when the descrambling initialization is executed by the sector address SA, it is a condition that the output sector address SA for descrambling can be extracted before that. As the output sector address SA, the output sector address SA protected by the address continuity of the sector information is used.

【0073】また図20に示すように、セクタアドレス
BSA及びESAを設定しないSACT=0の場合、170 番
目のフレーム以降のセクタの頭から出力可能になる(図
中、矢印で示す)。しかし、ここで170 番目のフレーム
から出力できないのは、デスクランブルのための出力セ
クタアドレスSAが必要となるためである。このため最
大1セクタ分、出力セクタアドレスSAが読み出される
のを待機する。そして出力セクタアドレスSAによりデ
スクランブルの初期化が実行されると、DSTB=1となり
リングバツフアメモリ10への出力が開始される。この
ようにセクタ情報によりセクタ検出し、目的セクタのデ
ータの出力を制御することができる。かくしてRAM5
1内に僅かなセクタ情報用のメモリ領域を設定すること
でECC 復号に必要なメモリを増やすことなく、セクタ情
報を用いて目的セクタデータに対して確実にアクセスし
てデータ出力を制御することができる。
As shown in FIG. 20, when SACT = 0 in which the sector addresses BSA and ESA are not set, output is possible from the head of the sector after the 170th frame (indicated by an arrow in the figure). However, the output from the 170th frame is impossible here because the output sector address SA for descrambling is required. Therefore, a maximum of one sector is waited for the output sector address SA to be read. When the descrambling is initialized by the output sector address SA, DSTB = 1 and output to the ring buffer memory 10 is started. In this way, it is possible to detect the sector based on the sector information and control the output of the data of the target sector. Thus RAM5
By setting a small memory area for sector information in 1 without increasing the memory required for ECC decoding, the sector information can be used to reliably access the target sector data and control the data output. it can.

【0074】以上の構成によれば、セクタ検出に用いる
セクタ情報を格納する僅かな領域をECC回路50内の
復号用のRAM51内に設けることにより、ECC回路
50において復号する符号化データにインタリーブがか
かつている場合でもセクタ検出用のメモリを別に設ける
ことなく、ほぼECC 復号に用いるだけのメモリ容量でEC
C 復号が実行できる。
According to the above configuration, a small area for storing sector information used for sector detection is provided in the decoding RAM 51 in the ECC circuit 50, so that the encoded data decoded in the ECC circuit 50 can be interleaved. Even if there is a problem, without providing a separate memory for sector detection, EC with almost the memory capacity used for ECC decoding
C decryption can be performed.

【0075】さらに上述の実施例によれば、セクタ検出
回路7において生成するセクタ情報及びRMIF48に
より生成するSTOK信号により、ECC 復号のC11系列を
終了したタイミングで次段のリングバツフアメモリ10
への出力の可否を判定することができる。これによりシ
ステムコントローラ4によるデイスクアクセスのための
セクタアドレスSAを認識するタイミングで直ちにセク
タデータを次段のリングバツフアメモリ10へ書き込む
ことが可能か否かを判断することができ、セクタデータ
に対するアクセスが高速かつ確実になし得る。
Further, according to the above-described embodiment, the sector buffer generated by the sector detection circuit 7 and the STOK signal generated by the RMIF 48 cause the ring buffer memory 10 of the next stage at the timing when the C11 sequence of ECC decoding is completed.
It is possible to determine whether or not to output to. As a result, it is possible to immediately judge whether or not the sector data can be written to the ring buffer memory 10 in the next stage at the timing of recognizing the sector address SA for the disk access by the system controller 4, and the access to the sector data can be performed. Can be done fast and reliably.

【0076】さらに上述の実施例によれば、システムコ
ントローラ4によつてデイスクアクセスするためのセク
タアドレスSAを認識するタイミングOCCRRECT=1(図
7)で次段のリングバツフアメモリ10へデータ出力す
ることが可能か否かを判定することができるので、RA
M51に格納されるECC 復号後のデータからセクタアド
レスSAを検出するための回路を新たに設ける必要がな
くなり、全体の回路構成を簡略化し得る。
Further, according to the above-described embodiment, data is output to the ring buffer memory 10 at the next stage at the timing OCCRRECT = 1 (FIG. 7) at which the system controller 4 recognizes the sector address SA for disk access. Since it is possible to determine whether or not
It is not necessary to additionally provide a circuit for detecting the sector address SA from the ECC-decoded data stored in M51, and the entire circuit configuration can be simplified.

【0077】(2)第2実施例 (2−1)記録データフオーマツト 図21〜図24は第2実施例における記録データフオー
マツトを示し、この実施例においては、1クラスタ(3
2kバイト)を1単位として、データが記録されてい
る。このクラスタの構成を以下に詳述する。
(2) Second Embodiment (2-1) Recording Data Format FIGS. 21 to 24 show recording data formats in the second embodiment. In this embodiment, one cluster (3
Data is recorded in units of 2 kbytes. The configuration of this cluster will be described in detail below.

【0078】すなわち、2kバイト(2060バイト)
のデータが、1セクタ分のデータとして抽出され、これ
に図21に示すように、4バイトのオーバヘツドが付加
される。このオーバヘツドには、エラー検出のためのエ
ラー検出符号(EDC(ErrorDetection Code))などが
含まれている。
That is, 2 kbytes (2060 bytes)
Data is extracted as data for one sector, and a 4-byte overhead is added to this data as shown in FIG. The overhead includes an error detection code (EDC) for error detection.

【0079】この合計2064(=2060+4)バイ
トの1セクタ分のデータが、図22に示すように、12
×172(=2064)バイトのデータとされる。そし
て、この1セクタ分のデータが16個集められ、192
(=12×16)×172バイトのデータとされる。こ
の192×172バイトのデータに対して、16バイト
の外符号(PO)が、縦(列)方向に各バイト毎にパリ
テイとして付加される。また、208(=192+1
6)×172バイトのデータとPOパリテイに対して、
10バイトの内符号(PI)が、横(行)方向に各バイ
ト毎にパリテイとして付加される。
Data of one sector of 2064 (= 2060 + 4) bytes in total is 12 as shown in FIG.
The data is x172 (= 2064) bytes. Then, 16 pieces of data for one sector are collected, and 192
(= 12 × 16) × 172 bytes of data. A 16-byte outer code (PO) is added to this 192 × 172-byte data as a parity for each byte in the vertical (column) direction. Also, 208 (= 192 + 1)
6) For x172 bytes of data and PO parity,
An inner code (PI) of 10 bytes is added as a parity for each byte in the horizontal (row) direction.

【0080】さらに、このようにして208(=192
+16)×182(=172+10)バイトにブロツク
化されたデータのうち、16×182バイトの外符号
(PO)の行は、16個の1×182バイトの行に区分
され、図23に示すように、12×182バイトの番号
0〜番号15の16個のセクタデータの下に1行ずつ挿
入されて、インターリーブされる。そして、13(=1
2+1)×182バイトのデータが1セクタのデータと
される。
Further, in this way, 208 (= 192
Of the data that has been blocked into +16) × 182 (= 172 + 10) bytes, the 16 × 182-byte row of the outer code (PO) is divided into 16 1 × 182-byte rows, as shown in FIG. , 16 rows of 12 × 182 bytes of sector data of numbers 0 to 15 are inserted line by line and interleaved. And 13 (= 1
Data of (2 + 1) × 182 bytes is data of one sector.

【0081】さらに、図23に示す208×182バイ
トのデータは、図24に示すように、縦方向に2分割さ
れ、1フレームを91バイトのデータで構成して、20
8×2フレームのデータとされる。91バイトのフレー
ムデータの先頭には、さらに2バイトのフレーム同期信
号(FS)が付加される。その結果、図24に示すよう
に、1フレームのデータは合計93バイトのデータとな
り、合計208×(93×2)バイトのブロツクのデー
タとなる。これが、1クラスタ(1ECCブロツク)分
のデータとなる。そのオーバヘツド部分を除いた実デー
タ部の大きさは2kバイト(=2048×16/102
4kバイト)となる。
Further, the 208 × 182-byte data shown in FIG. 23 is vertically divided into two, as shown in FIG. 24, and one frame is composed of 91-byte data.
The data is 8 × 2 frames of data. At the beginning of the 91-byte frame data, a 2-byte frame synchronization signal (FS) is further added. As a result, as shown in FIG. 24, one frame of data becomes a total of 93 bytes of data, and a total of 208 × (93 × 2) bytes of block data. This becomes data for one cluster (1ECC block). The size of the actual data part excluding the overhead part is 2 kbytes (= 2048 × 16/102
4 kbytes).

【0082】すなわち、この例の場合、1クラスタ(1
ECCブロツク)が16セクタより構成され、1セクタ
が24フレームにより構成される。このようなデータが
光デイスク2にクラスタ単位で記録されていることにな
る。
That is, in this example, one cluster (1
The ECC block) is composed of 16 sectors, and one sector is composed of 24 frames. Such data is recorded on the optical disk 2 in cluster units.

【0083】(2−2)データ再生装置及びECC復号 ここで図25は、第1実施例について上述したデータ再
生装置40に第2実施例の記録データフオーマツトを適
用する場合の、復調回路系35を示し、復調回路6(R
F処理回路130、EFM+復調回路131)、セクタ
検出回路7(SBCD回路134、RAMコントローラ
135、RAM137)、およびECC回路50(RA
Mコントローラ135、ECC制御回路136、RAM
137、ECCコア回路138、OCTL回路13
9)、並びにその周辺の回路の詳細な構成である。
(2-2) Data Reproducing Device and ECC Decoding Here, FIG. 25 shows a demodulation circuit system in the case of applying the recording data format of the second embodiment to the data reproducing device 40 described in the first embodiment. 35, the demodulation circuit 6 (R
F processing circuit 130, EFM + demodulation circuit 131, sector detection circuit 7 (SBCD circuit 134, RAM controller 135, RAM 137), and ECC circuit 50 (RA
M controller 135, ECC control circuit 136, RAM
137, ECC core circuit 138, OCTL circuit 13
9) and a detailed configuration of circuits around it.

【0084】この図において、RF処理回路130は、
図1に示すピツクアツプ3からのRF信号の入力を受
け、この信号を2値化した後、EFM+復調回路131
に出力する。EFM+復調回路131は、入力された信
号に対してEFM+復調を施すと共に、同期パターンの
検出を行う。CLV制御回路132は、EFM+復調回
路131が出力する同期パターンに基づき、ドライブイ
ンタフエース(以下、ドライブIFと略記する)133
を制御する。SBCD(サブコード)回路134はEF
M+復調回路131の出力からセクタの検出を行う。R
AMコントローラ135は図3のRMIF48に対応
し、RAM137の読み書きを制御する。
In this figure, the RF processing circuit 130 is
The RF signal input from the pickup 3 shown in FIG. 1 is received, the signal is binarized, and then the EFM + demodulation circuit 131
Output to The EFM + demodulation circuit 131 performs EFM + demodulation on the input signal and detects a synchronization pattern. The CLV control circuit 132, based on the synchronization pattern output from the EFM + demodulation circuit 131, drives interface (hereinafter abbreviated as drive IF) 133.
Control. The SBCD (subcode) circuit 134 is an EF
The sector is detected from the output of the M + demodulation circuit 131. R
The AM controller 135 corresponds to the RMIF 48 of FIG. 3 and controls the reading and writing of the RAM 137.

【0085】RAM137は、ECC制御回路136が
エラー訂正処理などを実行する際に、データ等を一時的
に格納するようになされている。ECCコア回路138
は図3のECC復号部55に対応し、リードソロモン符
号(PIとPO)を用いて、後述するECA、ECD、
SGLGなどを生成し、ECC制御回路136に出力す
る。ECC制御回路136は、ECCコア回路138か
ら供給されるECA、ECD、SFLGなどを用いて、
実際にエラー訂正を行う。OCTL回路139は、デス
クランブル処理、EDCチエツク、または、出力データ
の制御等を行う。また、ホストCPU140は図1のシ
ステムコントローラ4に対応し、装置の各部の制御を行
うようになれている。
The RAM 137 is adapted to temporarily store data and the like when the ECC control circuit 136 executes error correction processing and the like. ECC core circuit 138
Corresponds to the ECC decoding unit 55 in FIG. 3, and uses Reed-Solomon codes (PI and PO) to perform ECA, ECD,
The SGLG or the like is generated and output to the ECC control circuit 136. The ECC control circuit 136 uses ECA, ECD, SFLG, etc. supplied from the ECC core circuit 138,
Actually correct the error. The OCTL circuit 139 performs descramble processing, EDC check, control of output data, and the like. The host CPU 140 corresponds to the system controller 4 of FIG. 1 and is adapted to control each part of the apparatus.

【0086】光デイスク2(図1)からの再生信号は、
RF処理回路130において2値化信号に変換される。
そして、2値化された信号から、EFM+復調回路13
1により同期パターンが検出される。そして、CLV制
御回路132において、この同期パターンに基づき、ラ
フサーボがかけられ、その結果、データ中のシンクコー
ド(Sync Code )(図26におけるSY0〜SY7)が
さらに検出され、ドライブインタフエース133を介し
て光デイスク2の回転に対して、PLL(Phase Locked
Loop )による位相サーボがかけられる。
The reproduced signal from the optical disk 2 (FIG. 1) is
It is converted into a binarized signal in the RF processing circuit 130.
Then, from the binarized signal, the EFM + demodulation circuit 13
1, the sync pattern is detected. Then, in the CLV control circuit 132, rough servo is applied based on this synchronization pattern, and as a result, a sync code (Sync Code) (SY0 to SY7 in FIG. 26) in the data is further detected, and the result is passed through the drive interface 133. The PLL (Phase Locked
Loop) phase servo is applied.

【0087】図26に、光デイスク2の物理セクタの構
成例を示す。この図に示すように、物理セクタは、横方
向に2つのシンクフレーム(Sync frame)、縦方向に1
3個のシンクフレーム、合計で26個のシンクフレーム
により構成されている。各シンクフレームは32チヤン
ネルビツト(変調される前のデータビツトで表現すると
16ビツト(=2バイト))のシンクコード(SY0〜
SY7)と、1456チヤンネルビツト(変調される前
のデータビツトで表現すると728ビツト(=91バイ
ト))のデータ部から構成される。先頭のシンクフレー
ムのデータ部には、ID情報(セクタ番号)とIED
(IDに対するエラー検出符号)情報の他、メインデー
タ(main data )が格納されている。
FIG. 26 shows a configuration example of the physical sector of the optical disk 2. As shown in this figure, the physical sector consists of two Sync frames in the horizontal direction and one in the vertical direction.
It is composed of three sync frames, which is a total of 26 sync frames. Each sync frame has a sync code (SY0 to SY0) of 32 channels (16 bits (= 2 bytes when expressed in data bits before modulation)).
SY7) and a 1456 channel bit (expressed as a data bit before modulation, 728 bits (= 91 bytes)). In the data portion of the first sync frame, ID information (sector number) and IED
In addition to the (error detection code for ID) information, main data is stored.

【0088】32チヤンネルビツトのシンクパターン
は、データ中には表れないユニークなパターンとして、
その下位22ビツトが、「0001000000000
000010001」のように設定されている。
The 32-channel bit sync pattern is a unique pattern that does not appear in the data.
The lower 22 bits are "000000000000"
It is set as "000010001".

【0089】図26の左側の各シンクフレームのデータ
部には、メインデータが記録され、左側の最後のシンク
フレームのデータ部には、PO情報(パリテイ)が記録
されている。図26の右側のシンクフレームには、メイ
ンデータとPI情報が記録され、右側のシンクフレーム
の最後から2番目のシンクフレームには、EDC情報と
PI情報(パリテイ)が記録され、最後のシンクフレー
ムには、PO情報とPI情報が記録されている。
Main data is recorded in the data portion of each sync frame on the left side of FIG. 26, and PO information (parity) is recorded in the data portion of the last sync frame on the left side. Main data and PI information are recorded in the right sync frame of FIG. 26, EDC information and PI information (parity) are recorded in the second to last sync frame of the right sync frame, and the last sync frame is recorded. In this area, PO information and PI information are recorded.

【0090】図27は各セクタのPI情報とPO情報を
除くデータの詳細を示し、ID(セクタ番号)(4バイ
ト)、IED(IDに対するエラー検出符号(2バイ
ト))、RSV(保留領域)(6バイト)、メインデー
タおよび、EDC(4バイト)により1セクタのデータ
が構成されている。なお、メインデータにはスクランブ
ル処理が施されている。
FIG. 27 shows details of data excluding PI information and PO information of each sector. ID (sector number) (4 bytes), IED (error detection code for ID (2 bytes)), RSV (reserved area) (6 bytes), main data, and EDC (4 bytes) make up one sector of data. The main data has been subjected to scramble processing.

【0091】そして、このようなデータセクタが16セ
クタ分集められ、図22に示すように、16バイトのP
O符号と10バイトのPI符号とが付加される。さら
に、PO符号を含む16行が1データセクタ毎に配置さ
れるようにインターリーブされる。そして、得られたデ
ータは、図24に示すように、シンクコードSYx(x
=0、1、2、……、7)によつて表わされるFS(フ
レーム同期)コードが付加され、EFM+変調される。
これによりECCブロツク内の物理セクタは、図26に
示すように、13×2シンクフレームにより構成され
る。1ECCブロツクは16セクタにより構成されるの
で、物理セクタアドレスの下位4ビツトは0000〜1
111のいずれかとなる。その結果、ECCブロツクの
先頭のセクタの物理アドレスは下位4ビツトが0000
となる。
Then, 16 such data sectors are collected, and as shown in FIG.
An O code and a 10-byte PI code are added. Further, interleaving is performed so that 16 rows including the PO code are arranged for each data sector. Then, the obtained data is, as shown in FIG. 24, the sync code SYx (x
= 0 (0, 1, 2, ..., 7), an FS (frame synchronization) code is added and EFM + modulated.
As a result, the physical sector in the ECC block is composed of 13 × 2 sync frames as shown in FIG. Since one ECC block consists of 16 sectors, the lower 4 bits of the physical sector address are 0000 to 1
It will be one of 111. As a result, the physical address of the first sector of the ECC block is 0000 in the lower 4 bits.
Becomes

【0092】なお、メインデータに対するスクランブル
処理は、物理セクタアドレスの下位4ビツト〜7ビツト
により指定される値を初期値として生成されたスクラン
ブルデータと、メインデータとの間で排他的論理和を演
算することにより実行される。
In the scramble process for the main data, the exclusive OR is calculated between the scramble data generated with the value specified by the lower 4 bits to 7 bits of the physical sector address as the initial value and the main data. It is executed by

【0093】なお、この明細書においては、各種の信号
に各種の記号が用いられているので、ここで、それらを
まとめて説明する。
Since various symbols are used for various signals in this specification, they will be collectively described here.

【0094】block−top(Block Top ) SYLK信号がHの状態で、セクタの先頭からHとなる
信号である。 C11M(Clock 11.2896 MHz) システムの動作クロツクであり、その周波数は11.2
896〔MHz〕である。 DSTB(Data strobe ) ストリームデータSDとしてメインデータが出力されて
いるとき、Hとなるデータストローブ信号である。 ECA(ERR Correction Address) エラーのある位置(アドレス)を示すエラー訂正アドレ
ス信号である。 ECCK(ECC Clock ) ECCコア回路138の動作クロツクである。 ECD(Error Correction Data ) 誤つたデータと排他的論理和を演算したとき、正しいデ
ータとなるエラー訂正データである。 ECDE(ECC Code Data End) 入力データの最後を示すコントローラ信号である。 ECOD(ECC Code ERR) エラー訂正不能のとき、Hとなる信号である。 ECOR(ECC Correction) エラー訂正可能なデータ(ECA、ECD)の出力を示
すストローブ信号である。 ECYE(ECC Cycle End ) 入力符号データのサイクルの最後を示すコントローラ信
号である。 EDT(ECC Data ) エラー訂正のためRAM137から読み出され、ECC
制御回路36に転送されるデータである。 ESTB(Error Strobe) エラー訂正結果ERの転送時にHとなるエラー訂正結果
ストローブ信号である。 ESTT(ECC Start) 入力データの先頭を示すコントローラ信号である。 EFM+W Frame(EFM+Write Frame Counte
r ) RAM137へ書き込むメインフレームを表す信号であ
る。 HDEN(Header Data Enable) セクタヘツダデータのストローブ信号である。 main−FMSY(main Frame Sync ) 各PI行のメインシンク(先頭のシンク)でHとなる信
号である。 MWEN(Memory Write Enable ) EFM+復調データのRAM137への書き込みイネー
ブル信号である。 MWRQ(EFM Write Request) EFM+復調データのRAM137への書き込みリクエ
スト信号である。 OUTE(Output Flag ) 補間フラグ(出力フラグ)である。 OSTT(ECC Output Start ) 所定の符号系列におけるESTTから477(ECC
K)後に遅延して出力される信号である。 RDT(Read Data ) RAM137のリードデータバス上のデータである。 SALK(Sector Address Lock ) セクタアドレス(ID)が正常に検出されていることを
表す信号である。 SAUL(Sector Address Unlock ) SALK信号の逆極性の信号である。 SCSY(Sector Sync ) SY0のFrameでHとなる、セクタの先頭を判別す
るための信号である。 SD(Stream Data ) ストリームデータ(デコード出力データ)である。 SDCK(Stream Data Clock ) ストリームデータのクロツクである。 SFLG(Sector Flag ) PI1訂正のECC訂正不能フラグである。 SINF(Sector Infomation ) セクタの先頭でHとなるセクタ情報ストローブ信号であ
る。 SUB(SUB Data ) SBCD回路134に対して転送するIDとIEDを含
むデータである。 SYLK(Sync Lock ) シンクコードが連続して3回検出されたとき、Hとなる
信号である。 SYUL(Sync Unlock ) SYLK信号の逆極性の信号である。 WDT(Write Data) RAM137のライトデータバス上のデータである。 XHWE(Sector Header Write Enable) SBCD回路134からRAM137へ書き込むセクタ
情報の出力イネーブル信号である。
Block-top (Block Top) A signal which becomes H from the head of the sector when the SYLK signal is H. C11M (Clock 11.2896 MHz) This is the operating clock of the system, and its frequency is 11.2.
896 [MHz]. DSTB (Data strobe) This is a data strobe signal which becomes H when main data is output as the stream data SD. ECA (ERR Correction Address) An error correction address signal indicating a position (address) having an error. ECCK (ECC Clock) This is an operation clock of the ECC core circuit 138. ECD (Error Correction Data) ECD (Error Correction Data) is error correction data that becomes correct data when an exclusive OR is calculated with erroneous data. ECCE (ECC Code Data End) This is a controller signal indicating the end of input data. ECOD (ECC Code ERR) This signal is H when an error cannot be corrected. ECOR (ECC Correction) This is a strobe signal indicating the output of error-correctable data (ECA, ECD). ECYE (ECC Cycle End) This is a controller signal indicating the end of the cycle of input code data. EDT (ECC Data) Read from the RAM 137 for error correction, ECC
This is the data transferred to the control circuit 36. ESTB (Error Strobe) This is an error correction result strobe signal which becomes H when the error correction result ER is transferred. ESTT (ECC Start) This is a controller signal indicating the beginning of input data. EFM + W Frame (EFM + Write Frame Counte
r) A signal representing the main frame to be written in the RAM 137. HDEN (Header Data Enable) This is a strobe signal for sector header data. main-FMSY (main Frame Sync) This signal is H at the main sync (head sync) of each PI row. MWEN (Memory Write Enable) EFM + is a write enable signal to the RAM 137 for demodulated data. MWRQ (EFM Write Request) This is a write request signal of the EFM + demodulated data to the RAM 137. OUTE (Output Flag) This is an interpolation flag (output flag). OSTT (ECC Output Start) From ESTT in a predetermined code sequence to 477 (ECC
K) is a signal output after being delayed. RDT (Read Data) Data on the read data bus of the RAM 137. SALK (Sector Address Lock) This signal indicates that the sector address (ID) is normally detected. SAUL (Sector Address Unlock) This signal has the opposite polarity of the SALK signal. SCSY (Sector Sync) This signal is H for Frame of SY0 and is for determining the beginning of a sector. SD (Stream Data) This is stream data (decoded output data). SDCK (Stream Data Clock) This is a clock of stream data. SFLG (Sector Flag) This is an ECC uncorrectable flag for PI1 correction. SINF (Sector Information) This is a sector information strobe signal which becomes H at the head of a sector. SUB (SUB Data) is data including an ID and an IED transferred to the SBCD circuit 134. SYLK (Sync Lock) This signal becomes H when the sync code is detected three times in succession. SYUL (Sync Unlock) This signal has the opposite polarity of the SYLK signal. WDT (Write Data) Data on the write data bus of the RAM 137. XHWE (Sector Header Write Enable) This is an output enable signal of sector information written from the SBCD circuit 134 to the RAM 137.

【0095】EFM+復調回路131(図25)により
復調処理が施されたデータは、RAMコントローラ13
5の制御の下、図28に示すように、RAM137に格
納される。この図28は、1ECCブロツクについて示
している。RAM137に格納されているデータを読み
出す場合、RAMコントローラ35は、図28に示す行
および列の値を指定することにより、所望のデータを取
得することができる。すなわち、図28において、第M
行目の第Nバイト目にあるデータxは、2値(M,N)
を指定することによりRAM137から読み出すことが
できる。
The data demodulated by the EFM + demodulation circuit 131 (FIG. 25) is the RAM controller 13 data.
Under the control of No. 5, it is stored in the RAM 137 as shown in FIG. This FIG. 28 shows about one ECC block. When reading the data stored in the RAM 137, the RAM controller 35 can obtain desired data by designating the values of the rows and columns shown in FIG. That is, in FIG. 28, the M-th
The data x in the Nth byte of the row is binary (M, N)
Can be read from the RAM 137.

【0096】ここで光デイスク2に記録されているデー
タセクタの先頭が、SBCD回路134において、シン
クコードの種類と連続性に基づき認識されると、EFM
+復調回路131により復調されたデータは、先頭デー
タから順にRAM137に格納される。図29は、この
とき関係する回路の主要部分の信号のタイミングを示し
ている。
When the head of the data sector recorded on the optical disk 2 is recognized by the SBCD circuit 134 based on the type and continuity of the sync code, the EFM is performed.
The data demodulated by the + demodulation circuit 131 is stored in the RAM 137 in order from the top data. FIG. 29 shows the signal timing of the main part of the circuit concerned at this time.

【0097】すなわち、EFM+復調回路131は、図
30に示すように、シンクのロツク状態を検出してい
る。最初にステツプSP1において、図26に示すシン
クコード(SY0〜SY7)を各シンクフレームにおい
て検出することができたか否かを判定する。シンクコー
ドを検出することができた場合においては、ステツプS
P2に進み、変数SClockを1だけインクリメント
するとともに、変数SCunlockを0にセツトする。この
変数SClockは、シンクコードが連続して検出され
たときの回数を表し、変数SCunlockは、シンクが連続
して検出されなかつたときの回数を表す。
That is, the EFM + demodulation circuit 131 detects the lock state of the sync, as shown in FIG. First, in step SP1, it is determined whether or not the sync code (SY0 to SY7) shown in FIG. 26 can be detected in each sync frame. If the sync code can be detected, step S
In step P2, the variable SClock is incremented by 1, and the variable SC unlock is set to 0. The variable SClock represents the number of times when the sync code is continuously detected, and the variable SC unlock represents the number of times when the sync is not continuously detected.

【0098】次に、ステツプSP3において、変数SC
lockが3に等しいか否かを判定する。すなわち、シ
ンクが連続して3回検出されたか否かを判定する。変数
SClockが3より小さい場合においては、ステツプ
SP1に戻り、それ以降の処理を繰り返し実行する。ス
テツプSP3において、変数SClockが3に等しい
と判定された場合、ロツク状態になつたものとして、ス
テツプSP4において、SYLK信号をHに設定する。
そして、ステツプSP5において、さらに連続して3回
シンクが検出されたか否かを判定するために、変数SC
lockを2に設定し、ステツプSP1に戻り、それ以
降の処理を繰り返し実行する。
Next, at step SP3, the variable SC
Determine if lock equals 3. That is, it is determined whether the sync has been detected three times in succession. If the variable SLock is smaller than 3, the process returns to step SP1 to repeat the subsequent processing. If it is determined in step SP3 that the variable SLock is equal to 3, it is determined that the lock state has been reached, and the SYLK signal is set to H in step SP4.
Then, in step SP5, in order to determine whether or not the sync is detected three times in succession, the variable SC
The lock is set to 2, the process returns to step SP1, and the subsequent processes are repeatedly executed.

【0099】これに対して、ステツプSP1において、
シンクコードが検出されなかつたと判定された場合、ス
テツプSP6に進み、変数SCunlockを1だけインクリ
メントするとともに、変数SClockを0に設定する。ス
テツプSP7においては、変数SCunlockが3に等しい
か否かを判定する。すなわち、シンクコードが3回連続
して検出されなかつたか否かを判定する。連続して検出
されなかつた回数が2以下である場合には、ステツプS
P1に戻り、それ以降の処理を繰り返し実行する。連続
して3回シンクが検出されなかつた場合においては、ス
テツプSP8に進み、SYLK信号をLに設定する。そ
して、ステツプSP9に進み、変数SCunlockを2に設
定して、次のシンクコードの発生タイミングにおいて
も、シンクコードが検出されなかつたとき、SYLK信
号をLに設定したままとすることができるように、変数
SCunlockを2に設定し、ステツプSP1に戻る。
On the other hand, in step SP1,
If it is determined that the sync code has not been detected, the process proceeds to step SP6, where the variable SC unlock is incremented by 1 and the variable SC lock is set to 0. In step SP7, it is determined whether the variable SC unlock is equal to 3. That is, it is determined whether or not the sync code has not been detected three times in a row. If the number of consecutive failures is 2 or less, step S
The process returns to P1 and the subsequent processes are repeatedly executed. If the sync is not detected three times in succession, the process proceeds to step SP8 and the SYLK signal is set to L. Then, in step SP9, the variable SC unlock is set to 2 so that the SYLK signal can be kept set to L when the sync code is not detected even at the next sync code generation timing. Then, the variable SC unlock is set to 2, and the process returns to step SP1.

【0100】以上のようにして、EFM+復調回路13
1は、シンクコードを検出し、ロツク状態になつている
か否かを常に監視している。
As described above, the EFM + demodulation circuit 13
1 detects the sync code and constantly monitors whether it is in the locked state.

【0101】なお、上述の実施例においては、検出回数
をそれぞれ3回としたが、基準となる連続検出回数N
LOCKと、不連続の検出回数NUNLOCKは、それぞれ任意の
値とすることが可能である。
In the above embodiment, the number of times of detection is three, but the number of times of continuous detection N, which is a reference, is set.
LOCK and the discontinuity detection count N UNLOCK can be set to arbitrary values.

【0102】このようにEFM+復調回路131は、S
YLK信号がHになつたとき、すなわち、ロツク状態に
なつたとき、図31のフローチヤートに示す処理を実行
する。すなわち、ステツプSP21において、各セクタ
の先頭に配置されているシンクコードSY0が検出され
たか否かを判定する。シンクコードSY0が検出された
場合においては、ステツプSP22に進み、セクタの先
頭であることを表すSCSY信号を所定時間Hに設定す
る。次にステツプSP23に進み、SYLK信号がLに
変化したか否かを判定し、Lでなければ(Hのままであ
れば)ステツプSP21に戻り、同様の処理を繰り返し
実行する。ステツプSP21において、シンクコードS
Y0が検出されていないと判定された場合においては、
ステツプSP22の処理はスキツプされる。
As described above, the EFM + demodulation circuit 131 is
When the YLK signal becomes H, that is, when it becomes the lock state, the processing shown in the flow chart of FIG. 31 is executed. That is, in step SP21, it is determined whether or not the sync code SY0 arranged at the head of each sector is detected. When the sync code SY0 is detected, the process proceeds to step SP22, and the SCSY signal indicating the beginning of the sector is set to H for a predetermined time. Next, in step SP23, it is determined whether or not the SYLK signal has changed to L. If it is not L (if it is still H), the process returns to step SP21 to repeat the same processing. In step SP21, the sync code S
When it is determined that Y0 is not detected,
The processing of step SP22 is skipped.

【0103】以上のようにして、EFM+復調回路13
1は、各セクタの先頭において、図29(A)に示すS
CSY信号を発生する。
As described above, the EFM + demodulation circuit 13
No. 1 is S shown in FIG. 29A at the head of each sector.
Generate the CSY signal.

【0104】さらに、EFM+復調回路131は、SY
LK信号がHになつたとき、図32のフローチヤートに
示す処理を実行する。最初に、ステツプSP31におい
て、メインフレーム(以下、図26の横方向の2個のシ
ンクフレームを、まとめて1個のメインフレームと称す
る)のシンクコード(以下、図26のシンクコードのう
ち、左側に示すシンクコードをメインフレームシンクと
称する)を検出したか否かを判定する。メインフレーム
シンクを検出した場合においては、ステツプSP32に
進み、EFM+復調回路131は図29(B)に示すm
ain−FMSY信号を発生する。ステツプSP31に
おいて、メインフレームシンクが検出されていないと判
定された場合においては、ステツプSP32の処理はス
キツプされる。
Further, the EFM + demodulation circuit 131 is
When the LK signal becomes H, the processing shown in the flow chart of FIG. 32 is executed. First, in step SP31, the sync code of the main frame (hereinafter, the two horizontal sync frames of FIG. 26 are collectively referred to as one main frame) (hereinafter, the left side of the sync codes of FIG. 26). It is determined whether or not the sync code shown in (1) is detected as a main frame sync. When the main frame sync is detected, the process proceeds to step SP32, where the EFM + demodulation circuit 131 has m shown in FIG.
Generate the ain-FMSY signal. If it is determined in step SP31 that the main frame sync has not been detected, the processing in step SP32 is skipped.

【0105】次にステツプSP33に進み、SYLK信
号がLに変化したか否かが判定され、変化していない場
合(Hのままである場合)、ステツプSP31に戻り、
それ以降の処理を繰り返し実行する。SYLK信号がL
に変化した場合においては、main−FMSY信号の
生成処理は中止される。
Next, in step SP33, it is determined whether or not the SYLK signal has changed to L. If it has not changed (if it remains H), the process returns to step SP31.
The subsequent processing is repeatedly executed. SYLK signal is L
When it changes to, the generation process of the main-FMSY signal is stopped.

【0106】このようにして、EFM+復調回路131
は、メインフレームシンクの周期(図26における水平
方向の2つのシンクフレームの周期)毎に、main−
FMSY信号を発生する。
In this way, the EFM + demodulation circuit 131
Is the main-sync for each cycle of the main frame sync (cycle of two sync frames in the horizontal direction in FIG. 26).
Generate the FMSY signal.

【0107】RAMコントローラ135は、EFM+復
調回路131よりSCSY信号が入力されたとき、図2
9(D)に示すように、MWEN信号をHに設定し、R
AM137に対する、いま検出されているセクタのデー
タの書き込み処理を開始させる。すなわち、このときR
AMコントローラ135は、図29(E)に示すよう
に、内蔵するEFM+W Frameカウンタ(図示せ
ず)で図26に示すメインフレームをカウントする。こ
のカウント値は、図26に示すメインフレームの上から
順番の番号を表すことになる。
The RAM controller 135 receives the SCSY signal from the EFM + demodulation circuit 131, as shown in FIG.
9 (D), set the MWEN signal to H and R
The process of writing the data of the currently detected sector to the AM 137 is started. That is, at this time R
As shown in FIG. 29E, the AM controller 135 counts the mainframe shown in FIG. 26 with a built-in EFM + W Frame counter (not shown). This count value represents the numbers in order from the top of the main frame shown in FIG.

【0108】また、RAMコントローラ135は、図2
9(F)に示すように、内蔵するPI1 Frameカ
ウンタ(図示せず)により、RAM137に伝送するメ
インフレームの番号を管理する。
Further, the RAM controller 135 is shown in FIG.
As shown in FIG. 9 (F), the built-in PI1 Frame counter (not shown) manages the number of the mainframe transmitted to the RAM 137.

【0109】すなわち、図26に示す最初のメインフレ
ーム(番号0のメインフレーム(図26における最上行
のメインフレーム))のデータがRAM137に書き込
まれたとき、ECC制御回路136は、RAMコントロ
ーラ135の制御の下に、そのメインフレームのデータ
の供給を受ける。そして、このデータを、ECCコア回
路138に転送し、誤り訂正処理を実行させる。すなわ
ち、PI1処理を実行させる。PI1訂正後のデータ
は、再びRAM137に書き戻される。
That is, when the data of the first main frame shown in FIG. 26 (main frame of number 0 (main frame of the uppermost row in FIG. 26)) is written in the RAM 137, the ECC control circuit 136 causes the RAM controller 135 to operate. Under control, it is supplied with data for its mainframe. Then, this data is transferred to the ECC core circuit 138 and an error correction process is executed. That is, a PI1 process is executed. The data after PI1 correction is written back to the RAM 137 again.

【0110】RAMコントローラ135は、このPI1
訂正(PI訂正の1回目)の実行の後、RAM137に
記憶されている番号0のメインフレームのデータの中か
ら、IDとIEDデータ(SUB)を読み出し、図29
(C)の番号0で示すSUB信号のタイミングにおい
て、この番号0のメインフレームのIDとIEDデータ
をデータバスを介してSBCD回路134に転送させ
る。図26に示すように、IDとIEDデータは、各セ
クタの先頭にのみ配置されているため、この転送処理
は、番号0のメインフレームにおいてのみ実行される。
SBCD回路134においては、このようにして、物理
セクタのアドレス(ID)が検出される。
The RAM controller 135 uses this PI1
After the correction (first PI correction) is executed, the ID and the IED data (SUB) are read out from the data of the mainframe with the number 0 stored in the RAM 137, and FIG.
At the timing of the SUB signal indicated by the number 0 in (C), the ID and IED data of the main frame of the number 0 are transferred to the SBCD circuit 134 via the data bus. As shown in FIG. 26, since the ID and IED data are arranged only at the head of each sector, this transfer process is executed only in the mainframe with the number 0.
In this way, the SBCD circuit 134 detects the address (ID) of the physical sector.

【0111】そして、検出された物理セクタのアドレス
の下位4ビツトにより、ECCブロツクの先頭セクタが
検出される。
The leading sector of the ECC block is detected by the lower 4 bits of the detected physical sector address.

【0112】図33は、以上のIDの転送に続いてbl
ock−topを検出する場合のタイミング図を示して
おり、また、図34はblock−top検出以降の処
理を示しており、これらの図の動作については後述す
る。
FIG. 33 shows bl following the transfer of the above ID.
FIG. 34 shows a timing chart in the case of detecting the ock-top, and FIG. 34 shows the processing after the detection of the block-top, and the operation of these figures will be described later.

【0113】図35は、上述したIDの転送のより詳細
なタイミングを示すタイミング図である。図35(A)
に示すように、RAMコントローラ135は、SBCD
回路134に対して、RAM137からIDとIEDデ
ータが読み出されるタイミングを表すHDEN信号を出
力する。このとき、RAM137から、SBCD回路1
34に対して、第7ビツトから第0ビツトまでの合計8
ビツトのリードデータRDT(図35(C))として、
IDデータ(4バイト)とIEDデータ(2バイト)
が、11.2896〔MHz〕の周波数のクロツクC11
M(図35(F))に同期して転送される。このIDデ
ータとIEDデータは、PI1訂正の結果、訂正不能の
状態(この場合、SFLG信号はHとなる)にはなつて
いないことが、ECCコア回路138からECC制御回
路136に供給されているSFLG信号(=1)により
表されている。SBCD回路134は、ID(セククア
ドレス)の供給を受けると、そのID(セクタ)に対応
するセクタ情報SIを、ホストCPU140からの指令
(補間フラグの生成モード、スタートセクタ、エンドセ
クタなどの指令)に対応して生成する。例えば、ホスト
CPU140から出力が指定されたIDのセクタには、
セクタ情報のビツト5に1を設定し、ビツト4に0を設
定する。
FIG. 35 is a timing chart showing more detailed timing of the above-mentioned ID transfer. FIG. 35 (A)
As shown in FIG.
The HDEN signal indicating the timing of reading the ID and IED data from the RAM 137 is output to the circuit 134. At this time, the SBCD circuit 1 is read from the RAM 137.
For 34, total of 7th bit to 0th bit is 8
As the bit read data RDT (FIG. 35 (C)),
ID data (4 bytes) and IED data (2 bytes)
However, a clock C11 with a frequency of 11.2896 [MHz]
It is transferred in synchronization with M (FIG. 35 (F)). It is supplied from the ECC core circuit 138 to the ECC control circuit 136 that the ID data and the IED data are not in the uncorrectable state (in this case, the SFLG signal becomes H) as a result of PI1 correction. It is represented by the SFLG signal (= 1). When the SBCD circuit 134 is supplied with the ID (sequential address), the SBCD circuit 134 sends the sector information SI corresponding to the ID (sector) to the command from the host CPU 140 (command such as interpolation flag generation mode, start sector, end sector, etc.). ). For example, in the sector of the ID whose output is specified by the host CPU 140,
The bit 5 of the sector information is set to 1, and the bit 4 is set to 0.

【0114】図36は、セクタ情報(SI)の構成を示
している。同図に示すように、セクタ情報の各ビツト
は、以下に示す情報を有している。
FIG. 36 shows the structure of sector information (SI). As shown in the figure, each bit of the sector information has the following information.

【0115】ビツト7:補間フラグ(OUTF)生成モ
ードの設定(1:補間フラグ生成モード) ビツト6:ECCブロツクの先頭セクタ(物理セクタア
ドレスの下位4ビツトが0である場合に1とされる)
(1:先頭セクタ) ビツト5:スタートセクタ(物理セクタアドレスがホス
トCPU140で指定されたスタートセクタアドレスと
一致した場合は1とされる)(1:スタートセクタ) ビツト4:エンドセクタ(物理セクタアドレスがホスト
CPU140で指定されたエンドセクタアドレスと一致
した場合に1とされる)(1:エンドセクタ) ビツト3:デスクランブル初期化アドレスのビツト3
(物理セクタアドレスの第7ビツト) ビツト2:デスクランブル初期化アドレスのビツト2
(物理セクタアドレスの第6ビツト) ビツト1:デスクランブル初期化アドレスのビツト1
(物理セクタアドレスの第5ビツト) ビツト0:デスクランブル初期化アドレスのビツト0
(物理セクタアドレスの第4ビツト)
Bit 7: Setting of interpolation flag (OUTF) generation mode (1: Interpolation flag generation mode) Bit 6: First sector of ECC block (set to 1 when lower 4 bits of physical sector address is 0)
(1: Start sector) Bit 5: Start sector (1 if the physical sector address matches the start sector address specified by the host CPU 140) (1: Start sector) Bit 4: End sector (physical sector address) Is set to 1 when the end sector address specified by the host CPU 140 matches) (1: end sector) Bit 3: Descrambling initialization address Bit 3
(Seventh bit of physical sector address) Bit 2: Descramble initialization address bit 2
(Sixth bit of physical sector address) Bit 1: Descramble initialization address bit 1
(Fifth bit of physical sector address) Bit 0: Bit 0 of descrambling initialization address
(4th bit of physical sector address)

【0116】この4バイトのIDと2バイトのIEDを
用いて、図38〜図40を参照して後述するようにチエ
ツク処理が行われた後、図35(D)に示すXHWE信
号が、ECC制御回路136でLにされる。このとき、
SBCD回路134からRAM137に、8ビツトのラ
イトデータWDTとしてセクタ情報SIが転送され、書
き込まれる。16セクタ分のセクタ情報は、図28に示
すように、上方の16個のPI行に対応するように格納
される。従つて、所定のPI行の行数を指定することに
より、対応するセクタ情報を得ることができる。
After the check processing is performed by using the 4-byte ID and 2-byte IED as described later with reference to FIGS. 38 to 40, the XHWE signal shown in FIG. It is set to L by the control circuit 136. At this time,
The sector information SI is transferred from the SBCD circuit 134 to the RAM 137 as 8-bit write data WDT and written. The sector information for 16 sectors is stored so as to correspond to the upper 16 PI rows, as shown in FIG. Therefore, by designating the number of predetermined PI rows, the corresponding sector information can be obtained.

【0117】実際のセクタ検出は図37(A)に示すよ
うに、ホストCPU140によつてSBCD回路134
内のレジスタ(図示せず)へBSA設定モードを設定す
ると共に、目的とするセクタの先頭のアドレスBSA及
びセクタの最後のアドレスESAとを設定し、SBCD
回路134内のレジスタ(図示せず)において、再生デ
ータから抜き出し、セクタアドレスFWロツクしている
セクタアドレスとを比較する。この比較結果により検出
したセクタアドレスが目的セクタのものであることが確
認されると、この比較結果はセクタ情報(ビツト4及び
5)としてRAM137に書き戻される。
As shown in FIG. 37A, the actual sector detection is performed by the host CPU 140 by the SBCD circuit 134.
A BSA setting mode is set to a register (not shown) in the inside, and the start address BSA of the target sector and the end address ESA of the sector are set to SBCD.
A register (not shown) in the circuit 134 extracts the reproduced data and compares it with the sector address FW locked sector address. When it is confirmed from the comparison result that the detected sector address is of the target sector, the comparison result is written back to the RAM 137 as sector information (bits 4 and 5).

【0118】さらにこのセクタ情報は、ECC回路50
によるECC 復号の終了したECC デコードデータとともに
OCTL139に送出され、ECC デコードデータ出力時
の制御に用いられる。このときホストCPU140は、
ECC のインターリーブを見込んで、デイスクアクセス位
置を目的とする光デイスク2上のセクタよりも前方の位
置にトラツクジヤンプさせる。また、このときホストC
PU140によつて目的とするセクタを特定しなけれ
ば、予め、BSA設定モードを解除しておくことで、EC
C 復号データを読み出せる時点からデータ出力すること
ができる。
Further, this sector information is stored in the ECC circuit 50.
It is sent to the OCTL 139 together with the ECC decoded data whose ECC decoding has been completed by and is used for the control when outputting the ECC decoded data. At this time, the host CPU 140
In anticipation of ECC interleaving, the disk access position is track jumped to a position in front of the intended sector on the optical disk 2. At this time, the host C
If the target sector is not specified by the PU 140, by canceling the BSA setting mode in advance, the EC
Data can be output from the point when C-decoded data can be read.

【0119】セクタ情報の内、ビツト4及び5はOCT
L139で参照され、セクタ情報のビツト5が"1" でビ
ツト4が"0" のとき、すなわちセクタアドレスBSAか
らESAまでのセクタが検出されている場合はホストC
PU140の目的とするセクタのデータを出力できるよ
うに設定している。ここで、セクタアドレスESAを指
定しない場合、ビツト0は、"0" を保持する。この間、
ECC 復号データはリングバツフアメモリ10に出力され
続けることになる。ここで例えば、OCTL139内に
設けられたデータ出力コントロールレジスタ(図示せ
ず)を用いてビツト0及び1の状態に関係なくデータ出
力を制御するようにしてもよい。
Of the sector information, bits 4 and 5 are OCT
When the bit 5 of the sector information is "1" and the bit 4 is "0", which is referred to by L139, that is, when the sector from the sector address BSA to the ESA is detected, the host C
The PU 140 is set to output the data of the target sector. Here, when the sector address ESA is not designated, the bit 0 holds "0". During this time,
The ECC decoded data will continue to be output to the ring buffer memory 10. Here, for example, a data output control register (not shown) provided in the OCTL 139 may be used to control the data output regardless of the states of the bits 0 and 1.

【0120】ここで、図37(B)に示すように、開始
のセクタアドレスBSA及び終了のセクタアドレスES
Aの設定はトラツクジヤンプするとき以外にも、トラツ
クジヤンプ後にホストCPU140から再設定すること
も可能である。例えば、早送り操作時に要らないデータ
を読み飛ばすとき等、デイスク上のアクセス位置が近接
している場合は、現在のセクタアドレスSAを認識して
からセクタアドレスBSA及び又はESAを再設定す
る。これによりトラツクジヤンプをせずともセクタアド
レスBSAからのデータ出力ができる。
Here, as shown in FIG. 37B, the start sector address BSA and the end sector address ES
The setting of A can be reset from the host CPU 140 after the track jump, other than when the track jump is performed. For example, when the access positions on the disk are close to each other, such as when skipping unnecessary data during the fast-forward operation, the current sector address SA is recognized and then the sector addresses BSA and / or ESA are reset. As a result, data can be output from the sector address BSA without performing a track jump.

【0121】次に、図38〜図40のフローチヤートを
参照して、SBCD回路134におけるIDとIEDの
チエツク処理について説明する。
The ID and IED check processing in the SBCD circuit 134 will be described below with reference to the flow charts of FIGS. 38 to 40.

【0122】SBCD回路134は、図38のフローチ
ヤートに示す処理により、IEDのチエツク結果が正常
である(IDにエラーがない)セクタがN個(この実施
例の場合、3個)以上連続しているか否かを判定する。
The SBCD circuit 134, by the processing shown in the flow chart of FIG. 38, continuously has N or more (three in this embodiment) sectors in which the IED check result is normal (ID has no error). Is determined.

【0123】このため、最初のステツプSP41におい
て、いま、取り込んだIEDチエツクが正常であるか否
かを判定する。IEDチエツクが正常である場合におい
ては、ステツプSP42に進み、正常であるIDのセク
タの数を表す変数SAlockを1だけインクリメントす
る。そして、正常でないIDを有する(IDにエラーが
ある)セクタの連続回数を表す変数SAunlockを0に設
定する。
Therefore, in the first step SP41, it is determined whether or not the IED check that has just been taken in is normal. If the IED check is normal, the process proceeds to step SP42, where the variable SA lock representing the number of sectors with normal ID is incremented by one. Then, the variable SA unlock indicating the number of consecutive sectors having an abnormal ID (ID has an error) is set to 0.

【0124】次に、ステツプSP43に進み、変数SA
lockが3に等しいか否かを判定する。ステツプSP42
でインクリメントした変数SAlockが3に等しくないと
判定された場合、ステツプSP41に戻り、それ以降の
処理を繰り返し実行する。ステツプSP43において、
変数SAlockが3に等しいと判定された場合、すなわ
ち、正常なIDを有するセクタが3回連続して再生され
たとき、ステツプSP44に進み、フラグIECOKを
Hに設定する。ステツプSP45においては、さらに次
のIEDチエツクが連続して正常である回数を検出する
ために、変数SAlockを2に設定し、ステツプSP41
に戻り、それ以降の処理を繰り返し実行する。
Next, in step SP43, the variable SA
It is determined whether lock is equal to 3. Step SP42
When it is determined that the variable SA lock incremented in step 3 is not equal to 3, the process returns to step SP41 to repeat the subsequent processing. In step SP43,
When it is determined that the variable SA lock is equal to 3, that is, when the sector having the normal ID is reproduced three times in succession, the process proceeds to step SP44 and the flag IECOK is set to H. In step SP45, the variable SA lock is set to 2 in order to detect the number of times the next IED check is normal, and step SP41.
And the subsequent processing is repeatedly executed.

【0125】ステツプSP41において、IEDが正常
でないと判定された場合、ステツプSP46に進み、変
数SAunlockを1だけインクリメントするとともに、変
数SAlockを0に設定する。そして、ステツプSP47
において、変数SAunlockが3に等しいか否かを判定
し、等しくない場合においては、ステツプSP41に戻
り、それ以降の処理を繰り返し実行する。
If it is determined in step SP41 that the IED is not normal, the process proceeds to step SP46, where the variable SA unlock is incremented by 1 and the variable SA lock is set to 0. And step SP47
In, it is determined whether or not the variable SA unlock is equal to 3, and if it is not equal, the process returns to step SP41 and the subsequent processes are repeatedly executed.

【0126】ステツプSP47において、変数SA
unlockが3に等しいと判定された場合、すなわち、IE
Dチエツクが正常でないセクタが3回連続して検出され
たとき、ステツプSP48に進み、フラグIECOKを
Lに設定する。次に、ステツプSP49において、次の
IEDチエツクが正常でない場合に、その連続の回数が
3回であることを連続して検出することができるように
するために、変数SAunlockを2に設定し、ステツプS
P41に戻り、それ以降の処理を繰り返し実行する。
At step SP47, the variable SA
If unlock is determined to be equal to 3, ie IE
When the sector in which the D check is not normal is detected three times in a row, the process proceeds to step SP48, and the flag IECOK is set to L. Next, in step SP49, when the next IED check is not normal, the variable SA unlock is set to 2 so that it is possible to continuously detect that the number of consecutive IED checks is three. , Step S
The process returns to P41, and the subsequent processes are repeatedly executed.

【0127】以上のようにして、SBCD回路134
は、IEDチエツクが連続して3回以上正常である場合
においては、フラグIECOKをHに設定し、3回以上
連続して正常でない場合においては、フラグIECOK
をLに設定する。
As described above, the SBCD circuit 134
Sets the flag IECOK to H when the IED check is normal for three or more consecutive times, and sets the flag IECOK when it is not normal for three or more consecutive times.
Is set to L.

【0128】SBCD回路134は、さらに図39に示
す処理により、ID(アドレス)の連続性を判定する。
すなわち、1つのECCブロツク内の各セクタのID
は、順次1ずつインクリメントするように規定されてい
る。そこで、この連続性を次のようにして判定する。
The SBCD circuit 134 further determines the continuity of IDs (addresses) by the processing shown in FIG.
That is, the ID of each sector in one ECC block
Are specified to be sequentially incremented by one. Therefore, this continuity is determined as follows.

【0129】最初に、ステツプSP61において、ID
(セクタアドレス)が検出されたか否かを判定する。I
Dが検出された場合、ステツプSP62に進み、そのI
Dを次のIDと比較することができるように記憶する。
そして、ステツプSP63においては、今回検出したI
Dが、前回検出し、ステツプSP62において記憶した
IDより1だけ大きいか否かを判定する。今回のIDが
前回のIDより1だけ大きい場合には、ステツプSP6
4に進み、正しいIDが連続して検出されたことを示す
変数NS を1だけインクリメントする。また、IDが検
出されなかつたり、連続していない回数を表す変数NNS
を0に設定する。
First, in step SP61, ID
(Sector address) is detected. I
If D is detected, step SP62 follows and the I
Store D so that it can be compared with the next ID.
Then, in step SP63, the I detected this time is detected.
It is determined whether D is larger than the ID previously detected and stored in step SP62 by one. If the current ID is one greater than the previous ID, step SP6
In step 4, the variable N S indicating that correct IDs are continuously detected is incremented by 1. In addition, a variable N NS indicating the number of times the ID is not detected or is not continuous.
Is set to 0.

【0130】そして、ステツプSP65において、変数
S が3と等しいか否かを判定し、等しくなければ(3
回連続して1ずつインクリメントしたIDが検出されて
いなければ)、ステツプSP61に戻り、それ以降の処
理を繰り返し実行する。変数NS が3に等しいと判定さ
れた場合、ステツプSP66に進み、IDが連続して正
しい状態であることを表すフラグASをHに設定する。
そして、ステツプSP67において、次のIDを検出し
たとき、再び連続して3回正しいIDが検出されたこと
を検出することができるように、変数NS を2に設定
し、ステツプSP61に戻り、それ以降の処理を繰り返
し実行する。
Then, in step SP65, it is determined whether the variable N S is equal to 3 or not (3
If the ID which has been incremented by 1 continuously is not detected), the process returns to step SP61 to repeat the subsequent processing. When it is determined that the variable N S is equal to 3, the process proceeds to step SP66, and the flag AS indicating that the ID is continuously correct is set to H.
Then, in step SP67, when the next ID is detected, the variable N S is set to 2 so that the correct ID can be detected three times in succession again, and the process returns to step SP61. Repeat the subsequent processing.

【0131】ステツプSP61において、IDが検出さ
れなかつたり、ステツプSP63において、今回検出し
たIDが前回検出したIDより1だけ大きい値になつて
いないと判定された場合(不連続であると判定された場
合)、ステツプSP68に進み、フラグSALKがHで
あるか否かを判定する。このフラグSALKは、図26
を参照して後述するが、IEDチエツクが3回以上連続
して正常であり、かつ、IDの連続性が3回以上保持さ
れているとき、Hに設定されている。
When it is determined in step SP61 that the ID has not been detected, or in step SP63 that the ID detected this time has not reached a value larger by 1 than the previously detected ID (judged to be discontinuous). In the case), the process proceeds to step SP68 to determine whether the flag SALK is H or not. This flag SALK is shown in FIG.
As will be described later with reference to, when the IED check is normal for three consecutive times or more and the ID continuity is maintained for three or more times, it is set to H.

【0132】ステツプSP68において、フラグSAL
KがHに設定されていると判定された場合、ステツプS
P69に進み、IDを補間する処理を実行する。すなわ
ち、いま、IDが検出されなかつたか、あるいは、ID
が連続していなかつた場合であるので、前回のIDに1
を加算したIDを生成し、これを検出されたIDに代え
て使用するようにする。フラグSALKがLに設定され
ている場合においては、このような補間処理は行われ
ず、ステツプSP69の処理はスキツプされる。
At step SP68, the flag SAL is set.
If it is determined that K is set to H, step S
Proceeding to P69, the process of interpolating ID is executed. That is, the ID has not been detected, or the ID
Since it is a case where is not continuous, 1 in the previous ID
Is added to generate an ID, which is used instead of the detected ID. When the flag SALK is set to L, such an interpolation process is not performed and the process of step SP69 is skipped.

【0133】次に、ステツプSP70において、変数N
NSを1だけインクリメントするとともに、変数NS を0
に設定する。そして、ステツプSP71において、変数
NSが3と等しいか否かが判定され、等しくないと判定
された場合においては、ステツプSP61に戻り、それ
以降の処理を繰り返し実行する。これに対して、NNS
3に等しいと判定された場合、ステツプSP72に進
み、フラグASをLに設定する。そして、ステツプSP
73において、次のIDが検出されなかつた場合、連続
して3回検出されなかつたことを続けて検出することが
できるようにするために、変数NNSを2に設定し、ステ
ツプSP61に戻り、それ以降の処理を繰り返し実行す
る。
Next, in step SP70, the variable N
Increment NS by 1 and set variable N S to 0
Set to. Then, in step SP71, it is determined whether or not the variable N NS is equal to 3. If it is determined that the variable N NS is not equal to 3, the process returns to step SP61 to repeatedly execute the subsequent processing. On the other hand, if it is determined that N NS is equal to 3, the process proceeds to step SP72 and the flag AS is set to L. And step SP
In 73, if the next ID is not detected, the variable N NS is set to 2 and the process returns to step SP61 so that it can be continuously detected that it has not been detected three times in succession. , Repeat the subsequent processing.

【0134】以上のようにして、SBCD回路134
は、IDの連続性が確保されているとき、フラグASを
Hに設定し、確保されていないとき、Lに設定する。
As described above, the SBCD circuit 134
Sets the flag AS to H when the continuity of IDs is secured, and sets it to L when the continuity of IDs is not secured.

【0135】SBCD回路134は、以上のようにして
生成した2つのフラグIECOKとASを用いて、フラ
グSALKを生成する。
The SBCD circuit 134 uses the two flags IECK and AS generated as described above to generate the flag SALK.

【0136】すなわち、図40のステツプSP81にお
いては、フラグIECOKがHであるか否かが判定さ
れ、Hであると判定された場合、ステツプSP82に進
み、フラグASがHであるか否かが判定される。ステツ
プSP82において、フラグASがHであると判定され
た場合、ステツプSP83に進み、フラグASLKをH
に設定する。
That is, in step SP81 of FIG. 40, it is determined whether or not the flag IECOK is H, and if it is determined to be H, the process proceeds to step SP82 and whether or not the flag AS is H. To be judged. When it is determined in step SP82 that the flag AS is H, the flow proceeds to step SP83, and the flag ASLK is set to H.
Set to.

【0137】これに対して、ステツプSP81におい
て、フラグIECOKがLであると判定された場合、あ
るいは、ステツプSP82において、フラグASがLで
あると判定された場合、ステツプSP84に進み、フラ
グSALKをLに設定する。
On the other hand, if it is determined in step SP81 that the flag IECOK is L, or if it is determined in step SP82 that the flag AS is L, the process proceeds to step SP84 to set the flag SALK. Set to L.

【0138】以上のようにして、SBCD回路34にお
いては、IECが3回以上連続して正常であり、かつ、
IDが連続して3回以上1ずつインクリメントしている
場合には、フラグSALKがHに設定され、IECが連
続して3回以上正常でなかつたり、あるいはIDが連続
して3回以上不連続である場合には、フラグSALKが
Lに設定される。
As described above, in the SBCD circuit 34, the IEC is normal for three times or more, and
When the ID is continuously incremented by 1 three times or more, the flag SALK is set to H and the IEC is not normal three times or more, or the ID is discontinuous three times or more. If so, the flag SALK is set to L.

【0139】ホストCPU140は、SALKの状態と
共に、先に述べたIDデータを参照して、レーザビーム
が現在照射されている位置(光デイスク2上のアクセス
位置)を検出する。
The host CPU 140 refers to the above-mentioned ID data together with the state of SALK, and detects the position where the laser beam is currently irradiated (access position on the optical disk 2).

【0140】なお、PI1訂正の結果を図38のSA
lockまたはSAunlockの条件に加えることも可能であ
る。さらに、SAlockまたはSAunlockの回数は、前述
のように3回と設定されているが、ホストCPU140
により異なる値に設定することも可能である。
The result of PI1 correction is SA in FIG.
It is also possible to add to the conditions of lock or SA unlock . Furthermore, although the number of SA locks or SA unlocks is set to 3 times as described above, the host CPU 140
It is also possible to set different values depending on.

【0141】SALKの状態が、SALK=Lの状態
(このとき、SALK=Hとなる)で、SYLK=L
(このときSYUL=Hとなる)となると、RAM37
に対するEFM+復調回路31からのEFM+復調デー
タの書き込みとECCの制御が、いずれもリセツトされ
る。その後、unlock状態が解除され(SAUL=
Lとされ)、SYLK=Hとなると、RAM137に対
してEFM+復調データの書き込みが再開される。
When the state of SALK is SALK = L (at this time, SALK = H), SYLK = L
(At this time, SYUL = H), the RAM 37
The writing of the EFM + demodulated data from the EFM + demodulation circuit 31 and the control of the ECC are reset. Thereafter, the unlocked state is released (SAUL =
L) and SYLK = H, the writing of EFM + demodulated data to the RAM 137 is restarted.

【0142】なお、unlockは、ホストCPU14
0により強制的に実行することも可能である。例えば、
トラツク間のジヤンプ実行後にホストCPU140によ
りunlock状態にすることで、ECC制御をリセツ
トすることもできる。
Unlock is the host CPU 14
It is also possible to force execution by setting 0. For example,
The ECC control can be reset by putting the host CPU 140 into the unlocked state after executing the jump between tracks.

【0143】また、unlock状態の解除は、ホスト
CPU140により実行するか、ホストCPU140の
介入なしに自動的に実行するかの何れかを選択すること
ができる。
The unlocking state can be released by the host CPU 140 or automatically without the intervention of the host CPU 140.

【0144】SYLKがHの状態(ロツク状態)であ
り、さらに、セクタ情報のビツト6が1の状態(セクタ
の先頭)である場合、SBCD回路134はSYLK=
Lとなるまで(ロツクがはずれるまで)、図33に示す
ように、block−topをHの状態とする。blo
ck−top=Lである場合は、SCSYとmain−
FMSYが共にHの状態の場合(セクタの先頭)になつ
たとき、EFM+W frameの値は、12の次には
0に設定される。すなわち、この場合、EFM+W f
rameの値は各メインフレーム毎に、0〜12の値を
繰り返す。
When SYLK is in the H state (lock state) and the bit 6 of the sector information is 1 (the beginning of the sector), the SBCD circuit 134 outputs SYLK =
Until it becomes L (until the lock is removed), block-top is set to H state as shown in FIG. blo
When ck-top = L, SCSY and main-
When both FMSY are in the H state (beginning of a sector), the value of EFM + W frame is set to 0 after 12. That is, in this case, EFM + W f
The value of frame repeats a value of 0 to 12 for each mainframe.

【0145】これに対して、block−top=Hで
あれば、図34に示すように、EFM+W Frame
の値は、その値が13以上となつた場合でも引き続きイ
ンクリメントされる。その結果、図28に示すように各
ECCブロツクの各メインフレームのデータがRAM1
37の異なるアドレスに順次格納されることになる。
On the other hand, if block-top = H, as shown in FIG. 34, EFM + W Frame.
The value of is continuously incremented even when the value becomes 13 or more. As a result, as shown in FIG. 28, the data of each mainframe of each ECC block is stored in the RAM1.
It will be sequentially stored at 37 different addresses.

【0146】以下同様にして、EFM+復調データのR
AM137への書き込みが行われると共に、PI1訂正
が実行される。そして、1ECCブロツクのデータ(2
08行のデータ)に対するPI1訂正が終了すると、次
に、PO列方向のECC処理(PO訂正)が実行され
る。
In the same manner, EFM + R of demodulated data
Writing to the AM 137 is performed and PI1 correction is performed. And the data of 1 ECC block (2
When the PI1 correction for the 08th row data) is completed, next, the ECC process (PO correction) in the PO column direction is executed.

【0147】なお、PO列方向にデータを読み出す場合
は、PO行のインターリーブ(図23)を解除する必要
がある。従つて、例えば、図28に示す第Nバイト目の
列を読み出す場合、先ず、インターリーブされたPO行
をスキツプしながら、図の上から下方向に第Nバイト目
の列のデータを読み出した後、再度、同じ第Nバイト目
の列のPO行の符号だけを読み出し、ECCコア回路1
38に供給する。
When reading data in the PO column direction, it is necessary to cancel the interleaving of the PO row (FIG. 23). Therefore, for example, when reading the column of the N-th byte shown in FIG. 28, first, after reading the data of the column of the N-th byte from the top to the bottom of the figure while skipping the interleaved PO rows. , Again, only the code of the PO row in the same column of the Nth byte is read, and the ECC core circuit 1
38.

【0148】そして、ECCコア回路138が、PO訂
正を終了すると(図28の右端のPI列(10列)を除
く172列全ての処理が終了すると)、次に、PI2訂
正(PI訂正の2回目)を実行する。なお、PI行方向
のECC処理を2回実行するのは、エラーの訂正能力を
向上させるためである。
Then, when the ECC core circuit 138 finishes the PO correction (when the processing of all 172 columns except the PI column (10 columns) at the right end of FIG. 28 is finished), then PI2 correction (PI correction 2 Run the second time). The reason why the ECC processing in the PI row direction is performed twice is to improve the error correction capability.

【0149】また、PO訂正では、PI1訂正の結果に
基づいて生成されたエラーフラグ(PI1フラグ)に応
じてイレージヤ訂正が実行される。さらに、PI2訂正
においても、PO訂正の結果に応じて生成されたエラー
フラグ(POフラグ)を利用してイレージヤ訂正が実行
される。このようなイレージヤ訂正を行うのは、前述の
場合と同様に、エラーの訂正能力を向上させるためであ
る。
In PO correction, erasure correction is executed according to the error flag (PI1 flag) generated based on the result of PI1 correction. Further, also in PI2 correction, erasure correction is executed using an error flag (PO flag) generated according to the result of PO correction. The reason for performing such erasure correction is to improve the error correction capability as in the case described above.

【0150】PI2訂正の処理が終了したPI系列のデ
ータは、RAM137からOCTL回路139に転送さ
れ、メインデータに対するデスクランブル処理が、図3
6に示したセクタ情報のビツト3〜ビツト0を用いて、
各セクタ単位で実行される。また、このとき、OCTL
回路139でEDCに関する演算が行われる。そして、
その演算結果や、メインデータに付加されているエラー
フラグの有無により、対象となるセクタにエラーが存在
するか否かが判定される。ホストCPU140は、その
判定結果に基づいて、光デイスク2から再度データを読
み出すか否かを判定する。その結果、光デイスク2から
再度データを読み出すと判定した場合は、光デイスク2
に対するアクセスが再度実行される。また、データの読
み出しを再度行わないと判定した場合は、エラーを含む
セクタのデータが多重化データ分離回路13(図1)に
出力される。
The PI series data for which the PI2 correction processing has been completed is transferred from the RAM 137 to the OCTL circuit 139, and the descrambling processing for the main data is performed as shown in FIG.
Using bits 3 to 0 of the sector information shown in 6,
It is executed in each sector unit. Also, at this time, OCTL
The circuit 139 performs the EDC calculation. And
Whether or not there is an error in the target sector is determined based on the result of the calculation and the presence / absence of an error flag added to the main data. The host CPU 140 determines whether to read the data from the optical disk 2 again based on the determination result. As a result, when it is determined that the data is read again from the optical disk 2, the optical disk 2
Is accessed again. When it is determined that the data is not read again, the sector data including the error is output to the multiplexed data separation circuit 13 (FIG. 1).

【0151】ECCコア回路138は、汎用のリードソ
ロモン符号エラー訂正用LSIにより構成され、符号
長、パリテイ数、および訂正モード(通常訂正のみ、ま
たは、通常訂正およびイレージヤ訂正の2つのモード)
などをプログラムすることが可能とされている。また、
ECCコア回路138は、多符号連続符号化されたデー
タ(符号長が異なる複数の符号系列)もリアルタイムで
デコードすることが可能である。なお、リードソロモン
符号エラー訂正用LSIとしては、例えば、SONY
(商標)のCXD307−111Gがあり、このLSI
を使用して形成されたASIC(Application Speciali
zed Integrated Circuit)をECCコアと呼ぶ。なお、
図25に示すECCコア回路138には、このECCコ
アが使用されている。
The ECC core circuit 138 is composed of a general-purpose Reed-Solomon code error correction LSI, and has a code length, a parity number, and a correction mode (normal correction only or normal correction and erasure correction modes).
It is possible to program such as. Also,
The ECC core circuit 138 can also decode multi-code consecutively encoded data (a plurality of code sequences having different code lengths) in real time. As the Reed-Solomon code error correction LSI, for example, Sony
(Trademark) CXD307-111G
Formed by using ASIC (Application Speciali
The zed integrated circuit) is called an ECC core. In addition,
This ECC core is used in the ECC core circuit 138 shown in FIG.

【0152】図41は、エラー訂正動作の実行時におけ
る信号のタイミングを示している。この図において、E
STT(図41(A))は、符号(PI行またはPO
行)の先頭を示すコントロール信号であり、また、EC
DE(図41(B))は、符号(PI行またはPO行)
の最後を示すコントロール信号である。ECYE(図4
1(C))は、符号(PI行またはPO行)サイクルの
最後を示すコントロール信号である。これらはいずれ
も、RAMコントローラ135からECC制御回路13
6を介してECCコア回路138に供給される。ECC
コア回路138は、RAM137から供給されるデータ
を、これらのコントロール信号が識別する。
FIG. 41 shows the timing of signals during the execution of the error correction operation. In this figure, E
STT (FIG. 41 (A)) is a code (PI line or PO).
Control signal indicating the start of the
DE (FIG. 41 (B)) is a code (PI line or PO line)
Is a control signal indicating the end of the control signal. ECYE (Fig. 4
1 (C) is a control signal indicating the end of the code (PI row or PO row) cycle. These are all from the RAM controller 135 to the ECC control circuit 13
6 to the ECC core circuit 138. ECC
The core circuit 138 identifies the data supplied from the RAM 137 by these control signals.

【0153】図41に示すように、PI符号は、EST
TからEDCEまでの間に、182個のECCKで転送
される。PO符号も、ESTTからECDEまでの間
に、208個のECCKで転送される。
As shown in FIG. 41, the PI code is EST.
182 ECCKs are transferred between T and EDCE. The PO code is also transferred by 208 ECCKs from ESTT to ECDE.

【0154】なお、PI行の符号とPO列の符号の符号
長が異なる場合、符号サイクル長をPI行の符号または
PO列の符号のうち、符号長の長い方(この実施例の場
合、PO列の符号の208)に合わせることにより、訂
正すべきデータ(EDT)およびイレージヤ訂正のため
のエラーフラグ(PI1フラグ、PI2フラグ、POフ
ラグ)を、図41に示すように、いずれの符号系列であ
つたとしても、同様のタイミングで入力することができ
る。また、符号長およびパリテイ数等のパラメータとし
ては任意の値を設定可能である。すなわち、設定を変更
する際は、ESTT=Hとなるタイミングで、ECCコ
ア回路138に新たな設定データを供給すると、ECC
コア回路138は供給されたデータに基づき、内部設定
を自動的に変更する。
When the code lengths of the code of the PI row and the code of the PO column are different, the code cycle length of the code of the PI row and the code of the PO column, whichever has the longer code length (in this embodiment, PO is used). 41), the data to be corrected (EDT) and the error flag (PI1 flag, PI2 flag, PO flag) for erasure correction can be adjusted by any code sequence as shown in FIG. Even if you attach it, you can enter it at the same timing. Further, it is possible to set arbitrary values as parameters such as code length and number of parity. That is, when changing the setting, if new setting data is supplied to the ECC core circuit 138 at the timing when ESTT = H, the ECC
The core circuit 138 automatically changes the internal setting based on the supplied data.

【0155】データの訂正結果は、次式で示されるよう
に、477ECCKのサイクルで出力される。 throughput=2×NCYC+3×PCYC+13 =2×208+3×16+13=477(ECCK)
The data correction result is output in a cycle of 477 ECCK as shown by the following equation. throughput = 2 × NCYC + 3 × PCCYC + 13 = 2 × 208 + 3 × 16 + 13 = 477 (ECCK)

【0156】ここで、NCYCはPI行の符号またはP
O列の符号のうちで長い方の符号長を示し、また、PC
YCは長い方のパリテイ数を示している。図41に示す
ように、OSTT(図41(D))は、ESTT(図4
1(A))のタイミングから、データ出力サイクルの時
間だけ遅延して(訂正結果出力のタイミングで)ECC
コア回路138からECC制御回路136に出力される
ものであり、この実施例では、OSTTはESTTに対
して477ECCKだけ遅延されている。
Here, NCYC is the code of PI line or P
Indicates the longer code length of the O column code.
YC indicates the longer parity number. As shown in FIG. 41, OSTT (FIG. 41 (D)) is equivalent to ESTT (FIG. 4).
The ECC is delayed from the timing of 1 (A) by the time of the data output cycle (at the timing of outputting the correction result).
It is output from the core circuit 138 to the ECC control circuit 136, and in this embodiment, the OSTT is delayed by 477 ECCK with respect to the ESTT.

【0157】エラー検出処理が実行され、検出されたエ
ラーが訂正可能であれば、ECCコア回路138はEC
C制御回路136に対して、OSTT(図42(E))
=HのタイミングでO.CODEERR(図42
(G))=Lを出力し、その後、ECOR(図42
(F))=Hの位置に、エラーパターンを表す8ビツト
のデータ(誤つたデータと排他的論理和をとつたとき正
しいデータが得られるデータ)ECD〔7:0〕(図4
2(H))と、エラーポジシヨン(エラーのある位置
(アドレス)を示す8ビツトのデータ)ECA〔7:
0〕(図42(I))が出力される。
If the error detection processing is executed and the detected error can be corrected, the ECC core circuit 138 determines that the EC
For the C control circuit 136, the OSTT (FIG. 42 (E))
= O at the timing of H. CODEERR (Fig. 42
(G)) = L and then outputs ECOR (FIG. 42).
(F)) = H data of 8 bits representing the error pattern (correct data is obtained when exclusive OR is performed with erroneous data) ECD [7: 0] (FIG. 4)
2 (H)) and an error position (8-bit data indicating a position (address) where an error occurs) ECA [7:
0] (FIG. 42 (I)) is output.

【0158】なお、イレージヤ訂正モードにおいては、
エラーフラグEFLG(図42(C))を入力したポジ
シヨンに対応するデータのエラーポジシヨンECA
〔7:0〕(図42(I))データは必ず出力される
が、その位置のデータが正しい場合には、エラーパター
ンはECD〔7:0〕=00(H)となる。
In the erasure correction mode,
Error position ECA of data corresponding to the position in which the error flag EFLG (FIG. 42 (C)) is input
[7: 0] (FIG. 42 (I)) data is always output, but if the data at that position is correct, the error pattern is ECD [7: 0] = 00 (H).

【0159】また、エラー訂正が不可能な場合には、そ
のタイミングチヤートは図示していないが、OSTT
(図42(E))がHの状態になると同時に、O.CO
DEERR(図42(G))=Hとなり、その後、EC
OR(図42(F))はHの状態にはならない。また、
O.CODEERR(図42(G))の出力は、OST
T(図42(E))が再度Hの状態になるまでラツチさ
れ、ECOR(図42(F))、ECD〔7:0〕(図
42(H))およびECA〔7:0〕(図42(I))
は、OSTT(図42(E))が次にHの状態になるま
で出力され続ける。
When error correction is impossible, the timing chart is not shown, but
(FIG. 42 (E)) becomes the H state, and at the same time, the O. CO
DEERR (FIG. 42 (G)) = H, and then EC
OR (FIG. 42 (F)) is not in the H state. Also,
O. The output of CODEERR (Fig. 42 (G)) is OST.
T (FIG. 42 (E)) is latched until it becomes H state again, and ECOR (FIG. 42 (F)), ECD [7: 0] (FIG. 42 (H)) and ECA [7: 0] (FIG. 42 (I))
Continues to be output until the OSTT (FIG. 42 (E)) becomes the H state next time.

【0160】図43〜図45は、ECC処理実行時にお
ける制御のタイミング図を示している。ここで、図43
(B)、図44(B)及び図45(B)に示すPI1−
R、PO−R、または、PI2−Rは、それぞれ、PI
1(PI訂正の1回目)、PO(PO訂正)、またはP
I2(PI訂正の2回目)の各系列の、エラーが訂正さ
れるデータEDT〔7:0〕とEFLG(図42
(C))がRAM137からECC制御回路136を介
してECCコア回路138に転送されるタイミングを示
している。
43 to 45 are timing charts of control at the time of executing the ECC processing. Here, FIG.
PI1-shown in (B), FIG. 44 (B) and FIG. 45 (B)
R, PO-R, or PI2-R are respectively PI
1 (first PI correction), PO (PO correction), or P
The error-corrected data EDT [7: 0] and EFLG (FIG. 42) of each I2 (second PI correction) series.
(C) shows the timing of transfer from the RAM 137 to the ECC core circuit 138 via the ECC control circuit 136.

【0161】図43(A)、図44(A)及び図45
(A)に示すように、EFM+復調回路131からRA
M137に対して1PI行のデータEFM+W(182
バイトのデータ)を書き込むために、MWRQ信号が1
82回供給され、これによりRAM137に1PI行分
のEFM+復調データが書き込まれる。そして、この1
PI行分のデータの書き込みが行われる間に、既にRA
M137に書き込みが完了しているECCブロツクのデ
ータが読み出され、ECC制御回路136を介してEC
Cコア回路138に転送される。すなわち、1PI行分
のデータをRAM137にゆつくり書き込む間に、既に
書き込みが完了している他のPI行またはPO列のデー
タの読み出しが、3回迅速に行われる。さらに、セクタ
の先頭のPI行のデータを転送する場合においては、サ
ブコードデータ(IDとIED)の読み出しも行われ
る。これらの書き込みと読み出しは、一方が行われてい
るとき、他方は中止されている。
43 (A), 44 (A) and 45.
As shown in (A), EFM + demodulation circuit 131 to RA
1PI row of data EFM + W (182 for M137)
MWRQ signal is 1 to write byte data)
It is supplied 82 times, and as a result, the EFM + demodulated data for one PI row is written in the RAM 137. And this one
While writing data for PI lines, RA has already been completed.
The data of the ECC block that has been written to M137 is read out, and the EC is read via the ECC control circuit 136.
It is transferred to the C core circuit 138. That is, while the data for one PI row is written in the RAM 137 in a loose manner, the reading of the data of another PI row or PO column which has already been written is rapidly performed three times. Further, when the data of the PI row at the head of the sector is transferred, the subcode data (ID and IED) is also read. When one of these writing and reading is performed, the other is stopped.

【0162】例えば、ECCブロツクのPI1訂正を行
う場合においては、1PI行分のデータの書き込みが行
われる期間に、1PI行分のデータの読み出しが行われ
る。すなわち、RAM137から1PI行分のデータが
読み出され、ECC制御回路136を介してECCコア
回路138に転送される。なお、図43(B)、図44
(B)及び図45(B)においては、このPI1訂正の
ための読み出しデータPI1−Rの読み出しに、208
個のECCKを用いるようにしているが、このECCK
の数は、最長のデータ長であるPO列の長さに合わせて
あるためであり、PI行のデータを転送する場合には、
実質的には、このうちの182個のECCKのみが実際
のデータ転送に利用され、残りのECCKは、データ転
送には実際には用いられない。
For example, in the case of performing PI1 correction of the ECC block, the data of 1 PI row is read during the period of writing the data of 1 PI row. That is, data for one PI row is read from the RAM 137 and transferred to the ECC core circuit 138 via the ECC control circuit 136. Note that FIG. 43B and FIG.
In (B) and FIG. 45 (B), the read data PI1-R for this PI1 correction is read 208
I am trying to use one ECCK, but this ECCK
This is because the number of is matched to the length of the PO column, which is the longest data length, and when transferring the data of the PI row,
Practically, only 182 ECCKs of these are used for actual data transfer, and the remaining ECCKs are not actually used for data transfer.

【0163】図46はECC訂正処理の際のRAMコン
トローラ135によるRAM137に対するデータの書
き込み及び読み出し処理手順を示し、RAMコントロー
ラ135はステツプSP101においてRAM137か
ら1PI行分のデータをECCコア回路138に転送す
る。この実施例の場合、ECCブロツクごとにPI符号
(パリテイ)及びPO符号(パリテイ)が付加されてい
ることにより、第1のECCブロツク分の第1回目のP
I系列の訂正及び書き戻しが終了するまでは同一ECC
ブロツクのPO系列のデータPO−RまたはPI2系列
の読み出しデータPI2−Rを転送することはできな
い。そこで、この場合においては、次の2×208EC
CKのタイミングにおいては、特にデータは転送されな
い。そして、その次にサブコードデータ(SUB)が存
在する場合においては、これが転送される。
FIG. 46 shows a procedure for writing and reading data to and from the RAM 137 by the RAM controller 135 at the time of ECC correction processing. The RAM controller 135 transfers data for one PI line from the RAM 137 to the ECC core circuit 138 in step SP101. . In the case of this embodiment, since the PI code (parity) and the PO code (parity) are added to each ECC block, the first P for the first ECC block is added.
Same ECC until I series correction and write back are completed
Block PO series data PO-R or PI2 series read data PI2-R cannot be transferred. Therefore, in this case, the next 2 × 208 EC
No data is transferred at the timing of CK. Then, if subcode data (SUB) is present next, this is transferred.

【0164】従つてRAMコントローラ135は、図4
6のステツプSP101及びSP102において第1の
ECCブロツクの1PI行分のデータ及び必要に応じて
SUBコードデータの転送を順次行いながら、ステツプ
SP103において第1のECCブロツクの208行分
のPI1−Rデータが転送されたか否かを判断し、肯定
結果が得られるまで当該ステツプSP101、SP10
2及びSP103の処理を繰り返す。ステツプSP10
3において肯定結果が得られると、このことは第1のE
CCブロツクの208PI行分のデータ転送がすべて完
了したことを表しており、このときRAMコントローラ
135はステツプSP104に移つて第1のECCブロ
ツクに続く第2のECCブロツクのPI1−Rの転送及
び第1のECCブロツクのPO−Rの転送を次の182
MWRQの期間において開始する。
Therefore, the RAM controller 135 is shown in FIG.
In step SP101 and SP102, the PI1-R data of 208 lines of the first ECC block is sequentially transferred in step SP103 while sequentially transferring the data of one PI line of the first ECC block and the SUB code data as needed. Is transferred, and the steps SP101 and SP10 concerned are determined until a positive result is obtained.
2 and SP103 are repeated. Step SP10
If a positive result is obtained in step 3, this means that the first E
This indicates that the data transfer for 208 PI rows of the CC block is all completed, and at this time, the RAM controller 135 moves to step SP104 and transfers PI1-R of the second ECC block following the first ECC block and the second ECC block. Transfer the ECC block PO-R 1 of the following 182
It starts in the period of MWRQ.

【0165】すなわち次の182MWRQ期間において
は、最初に第1のECCブロツクに続く第2のECCブ
ロツクのPI1−Rが転送され、次に第1のECCブロ
ツクのPO−Rが2回転送される(2列分のPOデータ
が転送される)。
That is, in the next 182 MWRQ period, PI1-R of the second ECC block following the first ECC block is transferred first, and then PO-R of the first ECC block is transferred twice. (PO data for two columns is transferred).

【0166】このような動作が各182MWRQの期間
において行われ、第1のECCブロツクの合計172列
のPOデータが転送されたとき、RAMコントローラ1
35は、図46のステツプSP105において肯定結果
を得、続くステツプSP106において図45に示すよ
うに第1のECCブロツクのPI2系列のデータPI2
−Rを転送する。このデータPI2−Rは、図44
(B)に示す第1のECCブロツクのデータPO−Rの
転送タイミングと同一のタイミングで転送される。この
タイミングにおけるデータPI1−Rは、次のECCブ
ロツク(第2のECCブロツク)のデータのものとな
る。このようにして第1のECCブロツクのPI2−R
が208PI行分転送され、第1のECCブロツクのP
I1−R、PO−R及びPI2−Rの処理が終了する
と、図46のステツプSP107において肯定結果が得
られ、このときRAMコントローラ135は上述のステ
ツプSP101に戻つて続くECCブロツクに対する処
理を続ける。
When such an operation is performed in each 182 MWRQ period and a total of 172 columns of PO data of the first ECC block are transferred, the RAM controller 1
35, a positive result is obtained in step SP105 of FIG. 46, and in the subsequent step SP106, as shown in FIG. 45, the data PI2 of the PI2 series of the first ECC block.
-Transfer R. This data PI2-R is shown in FIG.
Data is transferred at the same timing as the transfer timing of the data PO-R of the first ECC block shown in FIG. The data PI1-R at this timing is the data of the next ECC block (second ECC block). In this way, the first ECC block PI2-R
Is transferred for 208 PI lines, and P of the first ECC block
When the processing of I1-R, PO-R, and PI2-R is completed, a positive result is obtained in step SP107 of FIG. 46, at which time the RAM controller 135 returns to step SP101 and continues the processing for the ECC block that follows.

【0167】なお、ECCK(図42(A))は、デー
タ転送期間においてのみ、RAMコントローラ135か
らECCコア回路138に出力される。また、上述した
ように、転送したデータの訂正結果は、その入力から、
477クロツク(ECCK)後に出力されることにな
る。従つて、ある系列のデータにエラーが含まれている
か否かの判定の結果(図43(C)、図44(C)、図
45(C))は、その系列から2つ後の系列のデータが
転送される際に出力されることになる(図43(B)、
図44(B)、図45(B))。この出力は、後述する
ERR FIFO回路136B(図47)に格納され
る。
ECCK (FIG. 42A) is output from the RAM controller 135 to the ECC core circuit 138 only during the data transfer period. Further, as described above, the correction result of the transferred data is
It will be output after 477 clocks (ECCK). Therefore, the result (FIG. 43 (C), FIG. 44 (C), FIG. 45 (C)) of determining whether or not the data of a certain series includes an error, It will be output when the data is transferred (FIG. 43 (B),
44 (B) and 45 (B)). This output is stored in the ERR FIFO circuit 136B (FIG. 47) described later.

【0168】以上のようにして、RAM137からEC
C制御回路136にエラー訂正すべきデータが入力され
ると、ECC制御回路136は、その例えば1PI行分
のデータのPI1訂正を行い、477ECCK後に訂正
結果を出力する(図43(C)、図44(C)、図45
(C))。この訂正結果は、後述するECC制御回路1
36のバツフアとしてのERR FIFO136Bに転
送され、一時的に格納される。そして、このデータは、
さらにERR FIFO136Bから読み出され、エラ
ー訂正が完了したデータとして、再びRAM137に転
送され、図44(D)、図45(D)に示すように、デ
ータPI1−Wとして書き込まれる。同様に、PO訂正
あるいはPI2訂正が完了したデータは、それぞれデー
タPO−WまたはPI2−Wとして、RAM137に書
き込まれる。
As described above, the EC is read from the RAM 137.
When the data to be error-corrected is input to the C control circuit 136, the ECC control circuit 136 performs PI1 correction of the data for one PI row, for example, and outputs the correction result after 477 ECCK (FIG. 43 (C), FIG. 44 (C), FIG.
(C)). This correction result is the ECC control circuit 1 described later.
36 is transferred to the ERR FIFO 136B as a buffer and temporarily stored. And this data is
Further, the data read from the ERR FIFO 136B is transferred to the RAM 137 again as the data for which the error correction is completed, and is written as the data PI1-W as shown in FIGS. 44 (D) and 45 (D). Similarly, the data for which the PO correction or the PI2 correction is completed is written in the RAM 137 as the data PO-W or PI2-W, respectively.

【0169】このように、RAM137に書き込まれた
エラー訂正の完了したデータは、さらに図43(E)、
図44(E)及び図45(E)に示すように、182S
DCKの周期で各PI行毎に読み出され、OCTL回路
139から出力される。
As described above, the error-corrected data written in the RAM 137 is further stored in FIG.
As shown in FIGS. 44 (E) and 45 (E), 182S
It is read for each PI row in the cycle of DCK and output from the OCTL circuit 139.

【0170】図25との対応部分に同一符号を付して示
す図47は、エラー訂正処理が実行される際の信号の流
れを示すブロツク図であり、ECC制御回路136は、
ERR COUNT136A、ERR FIFO136
B、FLAG RAM136C、およびEX−OR(排
他的論理和)回路136Dにより構成されている。
FIG. 47, in which parts corresponding to those in FIG. 25 are assigned the same reference numerals, is a block diagram showing the flow of signals when error correction processing is executed. The ECC control circuit 136
ERR COUNT 136A, ERR FIFO 136
B, FLAG RAM 136C, and EX-OR (exclusive OR) circuit 136D.

【0171】EFM+復調回路131から出力された復
調データは、RAMコントローラ135の制御の下、R
AM137に書き込まれる。各セクタの先頭に記憶され
ているSUBデータ(IDとIED)は、RAM137
から読み出され、SBCD回路134に転送される。S
BCD回路134は、図36に示すようなセクタ情報S
Iを生成する。このセクタ情報SIは、SBCD回路1
34から転送され、RAM137に書き込まれる。
Under the control of the RAM controller 135, the demodulated data output from the EFM + demodulation circuit 131 is R
Written to AM 137. The SUB data (ID and IED) stored at the beginning of each sector is stored in the RAM 137.
Is read out from and is transferred to the SBCD circuit 134. S
The BCD circuit 134 uses the sector information S as shown in FIG.
Generate I. This sector information SI is the SBCD circuit 1
34, and written in the RAM 137.

【0172】RAMコントローラ135は、RAM13
7(記憶手段)に書き込まれている1PI行分のデータ
を8ビツト毎のエラー訂正データEDTとして、ECC
制御回路136(エラー訂正手段)を介してECCコア
回路138に供給する(図47においては、便宜上、E
DTデータがECCコア回路138に直接供給されるよ
うに示されている)。ECCコア回路138は、1PI
行分のデータが供給されたとき、PI符号を用いて、8
ビツトのエラー訂正データECD(図42(H))と、
8ビツトのエラー訂正アドレスECA(図42(I))
を生成する。このエラー訂正データECDとエラー訂正
アドレスECAは、ECCコア回路138からECC制
御回路136のERR FIFO(First In First Ou
t) 136Bに転送され書き込まれる。
The RAM controller 135 is the RAM 13
The data for 1 PI line written in 7 (storage means) is used as the error correction data EDT for every 8 bits, ECC
It is supplied to the ECC core circuit 138 via the control circuit 136 (error correction means) (in FIG. 47, for convenience, E
DT data is shown fed directly to the ECC core circuit 138). The ECC core circuit 138 has 1PI
When the data for a row is supplied, the PI code is used to
Bit error correction data ECD (FIG. 42 (H)),
8-bit error correction address ECA (Fig. 42 (I))
Generate The error correction data ECD and the error correction address ECA are transmitted from the ECC core circuit 138 to the ERR FIFO (First In First Ou) of the ECC control circuit 136.
t) Transferred to 136B and written.

【0173】次に、実際にエラー訂正を行うためにRA
Mコントローラ135は、RAM137から、そのPI
行のデータEDTを読み出し、EX−OR回路136D
に供給する。このEX−OR回路136Dには、ERR
FIFO136Bからエラー訂正データECDとエラ
ー訂正アドレスECAが供給される。EX−OR回路1
36Dは、エラー訂正アドレスECAで指定されるビツ
トにおいて、エラー訂正データECDとRAMコントロ
ーラ135より読み出されたデータEDTとの排他的論
理和を演算することによりエラー訂正を行う。このエラ
ー訂正の行われたデータは、EX−OR回路136Dか
ら、RAMコントローラ135を介してRAM137
に、再び書き戻される。
Next, in order to actually perform error correction, RA
The M controller 135 reads the PI from the RAM 137.
The row data EDT is read and the EX-OR circuit 136D is read.
To supply. This EX-OR circuit 136D has an ERR
The error correction data ECD and the error correction address ECA are supplied from the FIFO 136B. EX-OR circuit 1
36D performs error correction by calculating the exclusive OR of the error correction data ECD and the data EDT read from the RAM controller 135 at the bit designated by the error correction address ECA. The error-corrected data is transferred from the EX-OR circuit 136D to the RAM 137 via the RAM controller 135.
Will be written back again.

【0174】また、ECCコア回路138は、ECDと
ECAから、図48に示すような8ビツトデータにより
構成されるエラー訂正結果ERを生成し、ECC制御回
路136のERR COUNT136Aに供給し記憶さ
せる。そして、この1バイトのエラー訂正結果ERは、
RAMコントローラ135を介して、RAM137に、
そのPI行に対応して図28に示すように書き込まれ
る。
Further, the ECC core circuit 138 generates an error correction result ER composed of 8-bit data as shown in FIG. 48 from the ECD and ECA, and supplies it to the ERR COUNT 136A of the ECC control circuit 136 for storage. Then, this 1-byte error correction result ER is
Via the RAM controller 135, to the RAM 137,
It is written as shown in FIG. 28 corresponding to the PI row.

【0175】なお、図48に示すエラー訂正結果ERの
8ビツトデータの各ビツトには、以下のような情報が格
納されている。 ビツト7:訂正不能(0:訂正可能/1:訂正不能)
(その系列のエラー訂正が不可能である場合に1とされ
る) ビツト6:PO(0:PI/1:PO)(その系列がP
IまたはPOのいずれであるかを判別するための情報ビ
ツト) ビツト5:PI2(0:PI1/1:PI2)(その系
列がPI1、またはPI2のいずれであるかを判別する
ための情報ビツト) ビツト4:訂正数(エラー訂正数の第5ビツト(MS
B)の値) ビツト3:訂正数(4ビツトのエラー訂正数の第4ビツ
トの値) ビツト2:訂正数(4ビツトのエラー訂正数の第3ビツ
トの値) ビツト1:訂正数(4ビツトのエラー訂正数の第2ビツ
トの値) ビツト0:訂正数(4ビツトのエラー訂正数の第1ビツ
トの値)
The following information is stored in each bit of the 8-bit data of the error correction result ER shown in FIG. Bit 7: Uncorrectable (0: Correctable / 1: Uncorrectable)
(It is set to 1 when the error correction of the series is impossible) Bit 6: PO (0: PI / 1: PO) (The series is P
Information bit for determining whether I or PO) Bit 5: PI2 (0: PI1 / 1: PI2) (Information bit for determining whether the series is PI1 or PI2) Bit 4: Correction number (5th bit of error correction number (MS
Value of B) Bit 3: Correction number (4th bit value of error correction number of 4 bits) Bit 2: Correction number (3rd bit value of error correction number of 4 bits) Bit 1: Correction number (4) Value of the second bit of the number of error corrections of the bit) Bit 0: Number of corrections (the value of the first bit of the number of error corrections of 4 bits)

【0176】データがPI1訂正により訂正不能であつ
たか否かの判定結果を示すエラーフラグ(PI1フラ
グ)(エラー訂正結果ERのビツト7)は、エラー訂正
結果ERの一部としてERR COUNT136Aに格
納される他、FLAG RAM136C(フラグ記憶手
段)にも格納される。以上のようなPI1訂正が、図2
8に示す208個のPI行について行われる。
An error flag (PI1 flag) (bit 7 of the error correction result ER) indicating the result of determination as to whether or not the data is uncorrectable by PI1 correction is stored in the ERR COUNT 136A as a part of the error correction result ER. Besides, it is also stored in the FLAG RAM 136C (flag storage means). The above PI1 correction is shown in FIG.
This is performed for 208 PI rows shown in FIG.

【0177】次に、RAMコントローラ135は、RA
M137から最初のPO列の208バイトのデータを読
み出し、ECC制御回路136を介して、EDTとし
て、ECCコア回路138に供給する。このECCコア
回路138にはまた、FLAGRAM136Cに書き込
まれているPI1フラグが読み出され、供給される。E
CCコア回路138は、パターンPOとPI1フラグを
利用して、通常の訂正またはイレージヤ訂正のためのE
CDとECAを生成する。このECDとECAは、EC
Cコア回路138からECC制御回路136のERR
FIFO136Bに供給され、記憶される。また、EC
Cコア回路138が、ECDとECAに基づき生成し
た、そのPO列のエラー訂正結果ERが、ERR CO
UNT136Aに転送され、記憶される。そして、その
うちのエラー訂正結果ERのビツト7に対応するPOフ
ラグは、FLAG RAM136Cにも書き込まれる。
Next, the RAM controller 135 sends the RA
The 208-byte data of the first PO column is read from M137, and is supplied to the ECC core circuit 138 as EDT via the ECC control circuit 136. The PI1 flag written in the FLAGRAM 136C is also read and supplied to the ECC core circuit 138. E
The CC core circuit 138 uses the pattern PO and the PI1 flag to perform E for normal correction or erasure correction.
Generate CD and ECA. This ECD and ECA are EC
ERR of the C core circuit 138 to the ECC control circuit 136
It is supplied to the FIFO 136B and stored therein. Also, EC
The error correction result ER of the PO column generated by the C core circuit 138 based on ECD and ECA is ERR CO
It is transferred to UNT 136A and stored. Then, the PO flag corresponding to bit 7 of the error correction result ER among them is also written in the FLAG RAM 136C.

【0178】RAM137から読み出された、そのPO
列のデータEDTは、EX−OR回路136Dに供給さ
れる。EX−OR回路136Dにはまた、ERR FI
FO136BからECDとECAが供給される。EX−
OR回路136Dは、ECAにより指定されるアドレス
のビツトに対応して、ECDとEDTとの排他的論理和
を演算し、エラー訂正を行う。エラー訂正されたデータ
は、RAM137に書き戻される。
The PO read from the RAM 137
The column data EDT is supplied to the EX-OR circuit 136D. The EX-OR circuit 136D also has an ERR FI
ECD and ECA are supplied from FO136B. EX-
The OR circuit 136D calculates the exclusive OR of ECD and EDT in response to the bit of the address designated by the ECA, and corrects the error. The error-corrected data is written back to the RAM 137.

【0179】また、そのPO列のエラー訂正結果ER
は、ERR COUNT136Aから読み出され、RA
M137に書き込まれる。PO列のエラー訂正結果ER
は、図28に示すように、上から順番に、172行のP
I行に対応する位置に順番に書き込まれる。以上のPO
訂正が、172列のPO列について行われる。
The error correction result ER of the PO column
Is read from ERR COUNT 136A and RA
Written to M137. Error correction result ER for PO column
As shown in FIG. 28, P in the 172th row is arranged in order from the top.
The data is sequentially written in the position corresponding to the I row. PO above
The correction is performed on the 172 PO columns.

【0180】次に、PI2訂正を行う場合においては、
PI1訂正とPO訂正が行われた後、最初の1PI行分
のデータが、RAM137からEDTとして読み出さ
れ、ECCコア回路138に供給される。ECCコア回
路138にはまた、FLAGRAM136Cに書き込ま
れたPOフラグが読み出され供給される。ECCコア回
路138は、このPOフラグとパリテイPIを用いて、
ECDとECAとを生成し、これをECC制御回路13
6をERR FIFO136Bに供給する。
Next, in the case of performing PI2 correction,
After PI1 correction and PO correction are performed, the data of the first 1PI row is read from the RAM 137 as EDT and supplied to the ECC core circuit 138. The PO flag written in the FLAGRAM 136C is also read and supplied to the ECC core circuit 138. The ECC core circuit 138 uses this PO flag and parity PI to
ECD and ECA are generated, and the ECC control circuit 13
6 to the ERR FIFO 136B.

【0181】このERR FIFO136Bに書き込ま
れたECDとECAHは、EX−OR回路136Dに供
給され、RAM137から読み出されたPI行のデータ
と排他的論理和演算が行われ、エラー訂正が実行され
る。エラー訂正が完了したデータは、EX−OR回路1
36Dから、RAMコントローラ135を介してRAM
137に書き戻される。
The ECD and ECAH written in the ERR FIFO 136B are supplied to the EX-OR circuit 136D, the exclusive OR operation is performed with the PI row data read from the RAM 137, and error correction is executed. . The data for which the error correction is completed is the EX-OR circuit 1
RAM from 36D via RAM controller 135
It is written back to 137.

【0182】ECCコア回路138はまた、ECDとE
CAから、エラー訂正結果ERを生成し、ECC制御回
路136のERR COUNT136Aに供給し記憶さ
せる。このうちのビツト7に対応するPI2フラグは、
FLAG RAM136Cにも書き込まれる。
The ECC core circuit 138 also uses the ECD and E
The error correction result ER is generated from CA, supplied to the ERR COUNT 136A of the ECC control circuit 136, and stored therein. The PI2 flag corresponding to bit 7 is
It is also written in the FLAG RAM 136C.

【0183】ERR COUNT136Aに書き込まれ
たPI2行のエラー訂正結果ERは、ERR COUN
T136Aから読み出され、RAM137に書き込まれ
る。このPI2行のエラー訂正結果ERは、図28に示
すように、ECCブロツクの208行の各PI行に対応
する位置に書き込まれる。以上のようなPI2訂正が、
208行のPI行すべてについて行われる。
The error correction result ER of the PI2 row written in the ERR COUNT 136A is ERR COUNT
It is read from T136A and written in the RAM 137. The error correction result ER of the PI2 row is written in a position corresponding to each PI row of 208 rows of the ECC block, as shown in FIG. The above PI2 correction is
This is performed for all 208 PI lines.

【0184】図49は、RAM137にアクセスする際
のバスアービトレーシヨン(調停)の様子を示すタイミ
ング図である。この図49において、EFMREQ(図
49(A))は、EFM+復調回路131がEFM+復
調データのRAM137への書き込みを要求する際に、
RAMコントローラ135に対して出力する信号であ
る。OUTREQ(図49(B))は、OCTL回路1
39が、ECC処理が施されたデータのRAM137か
らの読み出しを要求する際に、RAMコントローラ13
5に出力する信号である。また、ECCREQ(図49
(C))は、ECC制御回路136がECCコア回路1
38に対してデータを転送し、エラー訂正をさせるため
にRAM137にアクセスしたり、エラー訂正が施され
たデータを得るためにRAM137にアクセスしたり、
または、SBCD回路134に対してSUB転送(ID
とIEDのRAMコントローラ135に出力される信号
である。
FIG. 49 is a timing chart showing a state of bus arbitration (arbitration) when accessing the RAM 137. In FIG. 49, EFMREQ (FIG. 49 (A)) indicates that EFM + demodulation circuit 131 requests writing of EFM + demodulation data to RAM 137.
This is a signal output to the RAM controller 135. OUTREQ (FIG. 49 (B)) is the OCTL circuit 1
When the RAM 39 requests reading of the ECC-processed data from the RAM 137, the RAM controller 13
It is a signal output to 5. In addition, ECCREQ (Fig. 49
In (C), the ECC control circuit 136 has the ECC core circuit 1
38, data is transferred to 38, RAM 137 is accessed for error correction, RAM 137 is accessed for error-corrected data,
Alternatively, the SUB transfer (ID
And the signal output to the RAM controller 135 of the IED.

【0185】RAMコントローラ135は、これら3つ
の信号に対して優先順位(PriorityLevel)を予め設定
しており、これらの要求が同時になされた場合には、そ
の優先順位に従つて、RAM137のアクセス権を認め
るACK(認可)信号を順次出力する。EFMACK
(図49(D))、OUTACK(図49(E))、E
CCACK(図49(F))は、それぞれ、EFMRE
Q、OUTREQ、または、ECCREQに対する認可
信号である。この実施例において、前述の優先順位は、
OUTREQ、EFMREQ、ECCREQの順とされ
ている。従つて、図49に示すように、RAMコントロ
ーラ135は、この順位に従つて、REQ信号に対する
ACK信号を出力している。これらの信号は、システム
クロツクとしてのC11M(図49(G))に同期して
授受される。
The RAM controller 135 presets the priority order (PriorityLevel) for these three signals, and when these requests are made at the same time, the access right of the RAM 137 is assigned in accordance with the priority order. Acknowledge ACK (authorization) signals are sequentially output. EFMACK
(FIG. 49 (D)), OUTACK (FIG. 49 (E)), E
CCACK (FIG. 49 (F)) is the EFMRE, respectively.
It is an authorization signal for Q, OUTREQ, or ECCREQ. In this example, the priorities are:
The order is OUTREQ, EFMREQ, and ECCREQ. Therefore, as shown in FIG. 49, the RAM controller 135 outputs the ACK signal for the REQ signal in this order. These signals are transmitted / received in synchronization with C11M (FIG. 49 (G)) as the system clock.

【0186】このように、本実施例において、RAM1
37のアクセス権は、所定のサイクル毎にEFMRE
Q、ECCREQ、OUTREQの何れか1つに対応し
て与えられる。しかし、このサイクルは、RAM137
の構成、種類、または、アクセスのスピードに対応して
変更することも可能である。
Thus, in this embodiment, the RAM1
The access right of 37 is EFMRE every predetermined cycle.
It is given in correspondence with any one of Q, ECCREQ, and OUTREQ. However, this cycle is
It is also possible to change according to the configuration, type, or access speed.

【0187】図50は、1ECCブロツクのデータに対
してPI1訂正、PI2訂正、およびPO訂正を実行す
る場合に、RAM137がアクセスされる回数を示して
いる。この図50に示すように、PI1訂正、PO訂正
およびPI2訂正を実行した場合に必要となるRAM1
37のアクセスの回数は、1ECCブロツクあたり21
4716回であり、1メインフレームの平均は1033
回となる。例えば、EFM+復調データの書き込み動作
時におけるRAM37のアクセス回数は、1メインフレ
ームあたり182回であり、ECCの実行サイクル長は
208バイト(208メインフレーム)とされているの
で、37856(=182×208)回が1ブロツクあ
たりに必要なアクセス回数となる。このようにして各動
作について必要なアクセス回数を算出し、これらの合計
をとつたものが前述の値となる。
FIG. 50 shows the number of times the RAM 137 is accessed when PI1 correction, PI2 correction, and PO correction are executed on 1 ECC block data. As shown in FIG. 50, RAM1 required when PI1 correction, PO correction and PI2 correction are executed
37 times of access is 21 per 1 ECC block
4716 times, the average of one mainframe is 1033
Times. For example, the number of times the RAM 37 is accessed during the write operation of EFM + demodulated data is 182 per mainframe, and the ECC execution cycle length is 208 bytes (208 mainframes), so 37856 (= 182 × 208). ) Is the number of accesses required per block. In this way, the number of accesses required for each operation is calculated, and the sum of these is the above-mentioned value.

【0188】図51は、RAM137からOCTL回路
139を介してエラー訂正結果ERのデータを出力する
タイミングを示すタイミング図である。この図は、図4
3(E)、図44(E)、図45(E)の182SDC
Kの期間に先行する部分を、時間軸を拡大して示してい
る。この図において、SDCK(図51(A))はER
のデータをストリームデータとして出力する場合のクロ
ツク信号を示す。SINF(図51(B))はセクタ情
報ストローブ信号であり、セクタの先頭においてSIN
F=Hとなると共に、転送されるデータがセクタ情報
(SI)であることを示す。ESTB(図51(C))
は、エラー訂正結果ストローブ信号であり、ESTB=
Hとなることによりエラー訂正結果ERが転送されるこ
とを示す。なお、各PI行においてエラー訂正結果ER
は、PI1訂正、PO訂正、およびPI2訂正のそれぞ
れに対して1バイトずつ割り当てられているので、合計
で3バイトとられる。これらのデータは図28に格納さ
れている順序で出力されるので、エラー訂正結果ERの
ビツト5及び6(図48)を調べることにより、どの系
列の結果(データ)であるのかを判定することができ
る。また、PO訂正の結果が出力されないPI行では、
PO訂正の結果を出力するタイミングでESTB=Lと
される。
FIG. 51 is a timing chart showing the timing of outputting the data of the error correction result ER from the RAM 137 via the OCTL circuit 139. This figure is
182SDC of 3 (E), FIG. 44 (E), and FIG. 45 (E)
The part preceding the period K is shown with the time axis enlarged. In this figure, SDCK (Fig. 51 (A)) is ER
7 shows a clock signal when the above data is output as stream data. SINF (FIG. 51 (B)) is a sector information strobe signal, which is SIN at the beginning of the sector.
It indicates that F = H and the data to be transferred is sector information (SI). ESTB (Fig. 51 (C))
Is an error correction result strobe signal, and ESTB =
When it becomes H, it indicates that the error correction result ER is transferred. The error correction result ER in each PI line
Since 1 byte is assigned to each of PI1 correction, PO correction, and PI2 correction, is a total of 3 bytes. Since these data are output in the order stored in FIG. 28, it is possible to determine which series of results (data) by checking the bits 5 and 6 (FIG. 48) of the error correction result ER. You can In the PI line where the result of PO correction is not output,
At the timing of outputting the PO correction result, ESTB = L.

【0189】DSTB(図51(D))は、信号SD
〔7:0〕(図51(E))がメインデータであるとき
にDSTB=Hとされるデータストローブ信号である。
SINF、ESTB、またはDSTBの3つの信号は、
OCTL回路139により生成される。なお、図51
(E)に示すように、セクタ情報SIとエラー訂正結果
ERは、182SDCKによりPI行方向のデータを送
出する直前に出力される。
DSTB (FIG. 51 (D)) is a signal SD
[7: 0] (FIG. 51 (E)) is a data strobe signal that sets DSTB = H when it is main data.
The three signals SINF, ESTB, or DSTB are:
It is generated by the OCTL circuit 139. Note that FIG.
As shown in (E), the sector information SI and the error correction result ER are output immediately before the data in the PI row direction is transmitted by 182SDCK.

【0190】OUTF(補間フラグ)(図51(F))
は、メインデータに対するエラーフラグであり、図47
のFLAG RAM136Cに格納されているPIとP
Oの訂正不能フラグに基づき、エラーのあるメインデー
タに対して補間フラグで付加されて、出力されることに
なる。
OUTF (interpolation flag) (FIG. 51 (F))
Is an error flag for the main data, and FIG.
PI and P stored in the FLAG RAM 136C of
Based on the O uncorrectable flag, the main data having an error is added with an interpolation flag and then output.

【0191】OCTL回路139は、デコードが終了し
たセクタのデータが、出力されるべきデータであるか否
かを、SBCD回路134が生成したセクタ情報のビツ
ト4、5(図36)より判定する。セクタ情報のビツト
4、5は、図36に示すように、エンドセクタとスター
トセクタとをそれぞれ示している。従つて、OCTL回
路139は、ビツト4=0かつビツト5=1であるセク
タのデータを、出力が指定された(出力されるべき)セ
クタのデータとして、出力する。
The OCTL circuit 139 determines from the bits 4 and 5 (FIG. 36) of the sector information generated by the SBCD circuit 134 whether or not the data of the sector which has been decoded is the data to be output. Bits 4 and 5 of the sector information respectively indicate an end sector and a start sector, as shown in FIG. Therefore, the OCTL circuit 139 outputs the data of the sector whose bit 4 = 0 and bit 5 = 1 as the data of the sector whose output is designated (should be output).

【0192】また、OCTL回路139は、例えば、メ
インデータのエラーフラグの有無やEDCの結果など
が、ホストCPU140により予め設定された条件を満
足するか否かも判定し、満足する場合、デコードデータ
を出力する。もし、設定された出力条件が満たされない
場合には、デコードデータの出力を停止し、ホストCP
U140に異常を知らせる。
The OCTL circuit 139 also determines whether or not the presence or absence of an error flag in the main data, the EDC result, and the like satisfy the conditions preset by the host CPU 140, and if so, decode the decoded data. Output. If the set output condition is not satisfied, the output of the decoded data is stopped and the host CP
Notify U140 of abnormality.

【0193】データの出力条件は、例えば次のように設
定される。 (1)出力を指定されたセクタのデータである。 (2)ECC結果からエラーが検出されない。 (3)メインデータにエラーフラグが全く付加されてい
ない。 出力条件がこのように設定された場合、これらの条件を
全て満足するデータが最終的に出力される。また、以上
の条件に拘らず、ホストCPU140により強制的に出
力を禁止することができる。
The data output conditions are set as follows, for example. (1) Data of a sector whose output is specified. (2) No error is detected from the ECC result. (3) No error flag is added to the main data. When the output conditions are set as described above, data satisfying all of these conditions is finally output. Further, regardless of the above conditions, the output can be forcibly prohibited by the host CPU 140.

【0194】OCTL回路139は、図52に示すよう
なセクタ・データの出力手順に従つてメインデータとセ
クタ情報SI及びエラー訂正結果ERを順次出力する。
まずOCTL回路139は、ステツプSP111におい
てOCTL回路139にてセクタ情報SI(図36)の
ビツト4に格納されたエンドセクタ検出の結果及びビツ
ト5に格納されているスタートセクタ検出の結果を解析
して、ビツト4が0で、かつビツト5が1であるセクタ
・データを出力されるべきセクタ・データであると判断
する。これにより次のステツプSP112において、デ
コードデータが出力されるべきデータではないと判断さ
れた場合はステツプSP114に移つてデータの出力を
停止する。またデコードデータが出力条件を満たした出
力されるべきデータであると判断された場合はステツプ
SP113に進む。
The OCTL circuit 139 sequentially outputs main data, sector information SI and error correction result ER in accordance with the sector data output procedure as shown in FIG.
First, the OCTL circuit 139 analyzes the end sector detection result stored in the bit 4 of the sector information SI (FIG. 36) and the start sector detection result stored in the bit 5 in the OCTL circuit 139 in step SP111. , Sector 4 in which bit 4 is 0 and bit 5 is 1 is determined to be the sector data to be output. As a result, if it is determined in the next step SP112 that the decoded data is not the data to be output, the process proceeds to step SP114 and the data output is stopped. If it is determined that the decoded data is the data to be output that satisfies the output condition, the process proceeds to step SP113.

【0195】OCTL回路139はステツプSP113
において、出力データの各ストローブ信号を生成してセ
クタ情報SIのストローブ信号SINF(図51
(B))、エラー訂正結果ERのストローブ信号EST
B(図51(C))、メインデータのストローブ信号D
STB(図51(D))を順で出力する。この結果、O
CTL回路139は次のステツプSP115でセクタ情
報SI、エラー訂正結果ER及びメインデータ(D0、
D1、D2……)の順でデータ出力し、全てのセクタ・
データを出力し終えるとセクタ・データの出力手順を終
了する。
The OCTL circuit 139 is connected to the step SP113.
At the strobe signal SINF of the sector information SI (see FIG. 51).
(B)), strobe signal EST of error correction result ER
B (FIG. 51C), strobe signal D of main data
STB (FIG. 51 (D)) is output in order. As a result, O
In the next step SP115, the CTL circuit 139 receives the sector information SI, the error correction result ER and the main data (D0,
Data is output in the order of D1, D2 ...) and all sectors
When the data output is completed, the sector data output procedure is completed.

【0196】(2−3)第2実施例の動作及び効果 以上の構成において、182MWRQ期間内にRAM1
37からECCコア回路138に転送されるデータ(P
I1−R、PO−R及びPI2−R(図43、図44、
図45))は、転送用クロツク(ECCK)に応じてR
AM137から読み出される。このとき各データ(PI
1−R、PO−R及びPI2−R)の転送区間相互の間
にそれぞれ所定期間だけ転送用クロツク(ECCK)を
停止させることにより、当該停止期間においてはデータ
(PI1−R、PO−R及びPI2−R)の転送が停止
される。すなわち、各データ(PI1−R、PO−R及
びPI2−R)の間には所定期間だけデータの転送が行
われない期間が形成される。
(2-3) Operation and effects of the second embodiment With the above configuration, the RAM1 is operated within the 182 MWRQ period.
Data transferred from 37 to the ECC core circuit 138 (P
I1-R, PO-R and PI2-R (Fig. 43, Fig. 44,
Fig. 45)) shows R depending on the transfer clock (ECCK).
It is read from AM137. At this time, each data (PI
1-R, PO-R, and PI2-R), the transfer clock (ECCK) is stopped for a predetermined period between transfer sections, so that the data (PI1-R, PO-R, and PO-R) is stopped during the stop period. PI2-R) transfer is stopped. That is, a period in which no data is transferred is formed between the respective data (PI1-R, PO-R, and PI2-R) for a predetermined period.

【0197】この期間において、RAMコントローラ1
35は、PI1訂正(PI1−W)の実行後、RAM1
37内の番号0のメインフレームに格納されているセク
タアドレス情報(ID)及びIDに対するエラー検出符
号(IED)をSUB(図43(B)、図45(B))
のタイミングで読み出してSBCD回路134に転送さ
せる。SBCD回路134は、セクタアドレス情報ID
を検出すると、そのセクタの開始セクタアドレスBSA
及び終了セクタアドレスESAと、ホストCPU140
によつて予め指定されている出力すべき目的セクタのセ
クタアドレスとを比較する。すなわちそのセクタが目的
セクタであつたときは、その目的セクタの開始セクタア
ドレスBSAであることを示すためにセクタ情報SIの
ビツト5を”1”に設定し、さらに終了セクタアドレス
ESAの検出ビツト4を”0”に設定する。そしてSB
CD回路134は、セクタアドレス情報IDを検出した
セクタデータが目的セクタか否かをセクタ情報SIのビ
ツト4及び5に設定した後、そのセクタ情報SIを所定
のPI行に対応するようにRAM137内に設けられた
僅かな領域内に格納する。
During this period, the RAM controller 1
35 is RAM1 after the execution of PI1 correction (PI1-W)
The sector address information (ID) and the error detection code (IED) for the ID stored in the number 0 mainframe in 37 are SUB (FIG. 43 (B), FIG. 45 (B)).
At the timing of, the data is read and transferred to the SBCD circuit 134. The SBCD circuit 134 uses the sector address information ID
Is detected, the start sector address BSA of that sector is detected.
And end sector address ESA and host CPU 140
To compare with the sector address of the target sector to be output which is designated in advance. That is, when the sector is the target sector, the bit 5 of the sector information SI is set to "1" to indicate that it is the start sector address BSA of the target sector, and the detection bit 4 of the end sector address ESA is set. Is set to "0". And SB
The CD circuit 134 sets in the bits 4 and 5 of the sector information SI whether or not the sector data in which the sector address information ID is detected is the target sector, and then stores the sector information SI in the RAM 137 so as to correspond to a predetermined PI row. It is stored in a small area provided in.

【0198】ここでRAMコントローラ135は、EF
M+復調データのRAM137への書き込みの際にEC
C回路50においてデコード処理されたセクタデータを
OCTL回路139に転送する。OCTL回路139
は、転送されてくるセクタデータの中にセクタ情報SI
を検出すると、セクタ情報SIのビツト4及び5の情報
に応じてそのセクタデータが目的セクタであるか否かを
判別して次段のリングバツフアメモリ10に対する出力
を制御する。
Here, the RAM controller 135 uses the EF
EC when writing M + demodulated data to RAM 137
The sector data decoded in the C circuit 50 is transferred to the OCTL circuit 139. OCTL circuit 139
Is the sector information SI in the transferred sector data.
Is detected, whether or not the sector data is the target sector is determined according to the information of bits 4 and 5 of the sector information SI, and the output to the ring buffer memory 10 at the next stage is controlled.

【0199】このようにSBCD回路134において、
開始のセクタアドレスBSA及び終了のセクタアドレス
ESAを検出して予めホストCPU140によつて設定
されている目的セクタであるか否かに関するセクタ情報
SIを生成してRAM137内に設けられた僅かな領域
内に格納しておくことにより、デコードデータの出力
時、OCTL回路139においてセクタ情報SIに基づ
いてデコードデータの出力を制御し得る。これにより例
えば、検出したセクタアドレス情報IDをもとにしてホ
ストCPU140によつて予め設定しておいた目的セク
タのセクタアドレスとの比較処理ステツプを省略し得
る。
Thus, in the SBCD circuit 134,
In the small area provided in the RAM 137, the start sector address BSA and the end sector address ESA are detected to generate sector information SI regarding whether or not the target sector is preset by the host CPU 140. By storing the decoded data in the OCTL circuit 139, the output of the decoded data can be controlled in the OCTL circuit 139 based on the sector information SI. As a result, for example, the step of comparison processing with the sector address of the target sector preset by the host CPU 140 based on the detected sector address information ID can be omitted.

【0200】以上の構成によれば、ECC復号したEC
Cブロツクデータのメインデータを次段のリングバツフ
アメモリ10に出力する場合、前もつてSBCD回路1
34において、ECC復号時にセクタデータが目的セク
タであるか否かの情報をセクタ情報SIのビツト4及び
5に記録しておくようにしたことにより、データ出力時
に、再びセクタアドレス情報IDと目的セクタのセクタ
アドレスとを比較してデータ出力の可否を判定するステ
ツプを省くことができる。かくしてセクタ単位のECC
デコードを出力する場合、ECCデコードデータからセ
クタアドレス情報IDを検出してセクタアドレスとの比
較処理をするための回路を新たに設ける必要がなくな
り、全体の回路構成を簡略化し得ると共に、セクタデー
タに対するアクセスを高速かつ確実になし得る。
According to the above configuration, the ECC-decoded EC
When the main data of the C block data is output to the ring buffer memory 10 in the next stage, the SBCD circuit 1 is used in advance.
In 34, the information as to whether the sector data is the target sector at the time of ECC decoding is recorded in the bits 4 and 5 of the sector information SI, so that the sector address information ID and the target sector are again output at the time of data output. It is possible to omit the step of comparing with the sector address of No. 1 to determine whether data can be output. Thus sector-by-sector ECC
When outputting the decode, it is not necessary to newly provide a circuit for detecting the sector address information ID from the ECC decoded data and comparing the sector address information ID with the sector address, so that the entire circuit configuration can be simplified and the sector data can be processed. Access can be made quickly and reliably.

【0201】さらに上述の実施例によれば、RAM13
7内に設けられた僅かな領域内にセクタ情報SIを格納
しておくようにしたことにより、特別にセクタ検出用の
メモリ領域を設けずとも良く、これによりメモリ容量を
節約し得る。
Further, according to the above embodiment, the RAM 13
By storing the sector information SI in a small area provided in 7, it is not necessary to provide a special memory area for sector detection, and the memory capacity can be saved.

【0202】さらに上述の実施例によれば、PI系列及
びPO系列によつてブロツク化してECC処理するよう
にしたことにより、C1系列及びC2系列によるECC
符号化のときのように次のECCブロツクに跨がつた斜
め方向のC2系列の復号終了を待たずに1ECCブロツ
クのデコード終了時に、直ちにリングバツフアメモリ1
0へのデータ出力の可否を判断することができる。
Further, according to the above-mentioned embodiment, since the PI series and the PO series are blocked and the ECC processing is performed, the ECC of the C1 series and the C2 series is obtained.
The ring buffer memory 1 immediately after the completion of the decoding of one ECC block without waiting for the completion of the decoding of the diagonal C2 sequence straddling the next ECC block as in the case of encoding.
Whether data can be output to 0 can be determined.

【0203】(3)他の実施例 なお上述の実施例においては、C1/C2畳み込み・リ
ードソロモン符号化、又は行方向に誤り訂正内符号を付
加すると共に列方向に誤り訂正外符号を付加して符号化
したデータを復号した場合について述べたが、本発明は
これに限らず、広く一般にインタリーブ又はクロス・イ
ンタリーブにより誤り訂正符号が付加された符号化デー
タの復号に適用し得る。また上述の実施例においては、
符号化データを誤り訂正符号とした場合について述べた
が、本発明はこれに限らず、広く一般に符号化データを
復号するのに用いることができる。
(3) Other Embodiments In the above embodiment, C1 / C2 convolution / Reed-Solomon coding, or error correction inner code is added in the row direction and error correction outer code is added in the column direction. Although the case where the data encoded by the above is decoded is described, the present invention is not limited to this and can be widely applied to the decoding of the encoded data to which the error correction code is added generally by interleaving or cross interleaving. In the above embodiment,
The case where the encoded data is an error correction code has been described, but the present invention is not limited to this, and can be widely used for decoding encoded data in general.

【0204】さらに上述の実施例においては、データ再
生装置40によつて光デイスク2に記録された符号化デ
ータを復号して再生する場合について述べたが、本発明
はこれに限らず、一般に符号化データを記録した記録媒
体から符号化データを読み出し、復号して再生する場合
に適用し得る。
Further, in the above-mentioned embodiment, the case where the data reproducing device 40 decodes and reproduces the encoded data recorded in the optical disk 2 has been described. However, the present invention is not limited to this, and generally the code The present invention can be applied to a case where encoded data is read from a recording medium in which encoded data is recorded, decoded and reproduced.

【0205】[0205]

【発明の効果】上述のように本発明によれば、記録媒体
に記録された符号化データを復号する途中において、読
み出し対象となるデータのデータ情報を検出して、デー
タ情報格納手段に格納しておくことにより、符号化デー
タの復号とは独立して該データ情報に基づいて復号デー
タの出力を制御することができるデータ復号装置及びそ
の方法を実現し得る。
As described above, according to the present invention, during the decoding of the encoded data recorded on the recording medium, the data information of the data to be read is detected and stored in the data information storage means. By doing so, it is possible to realize a data decoding apparatus and method that can control the output of decoded data based on the data information independently of the decoding of encoded data.

【0206】さらに本発明によれば、これにより記録媒
体に記録された符号化データを復号する途中において、
読み出し対象となるデータのデータ情報を検出して、デ
ータ情報格納手段に格納しておくことにより、符号化デ
ータの復号とは独立して該データ情報に基づいて復号デ
ータの出力を制御することができ、復号データの再生が
迅速にできるデータ再生装置を実現し得る。
Further, according to the present invention, during decoding of the encoded data recorded on the recording medium,
By detecting the data information of the data to be read and storing it in the data information storage means, it is possible to control the output of the decoded data based on the data information independently of the decoding of the encoded data. Therefore, it is possible to realize a data reproducing device that can reproduce the decoded data quickly.

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

【図1】データ再生装置の全体構成を示すブロツク図で
ある。
FIG. 1 is a block diagram showing the overall configuration of a data reproducing device.

【図2】図1のECC回路の構成を示すブロツク図であ
る。
FIG. 2 is a block diagram showing the configuration of the ECC circuit of FIG.

【図3】図1の復調回路、セクタ検出回路及びECC回
路の接続の説明に供するブロツク図である。
FIG. 3 is a block diagram for explaining the connection of the demodulation circuit, sector detection circuit, and ECC circuit of FIG.

【図4】図2のRAMに格納するデータの説明に供する
略線図である。
FIG. 4 is a schematic diagram used to explain data stored in the RAM of FIG.

【図5】図2のECC回路によるECC 結果の説明に供す
る略線図である。
5 is a schematic diagram for explaining an ECC result by the ECC circuit of FIG.

【図6】図2のECC回路によるECC 復号の実行制御の
説明に供するタイミングチヤートである。
FIG. 6 is a timing chart for explaining execution control of ECC decoding by the ECC circuit of FIG.

【図7】図2のECC回路によるエラー出力の説明に供
するタイミングチヤートである。
FIG. 7 is a timing chart used for explaining error output by the ECC circuit of FIG.

【図8】図2のECC回路のRAMに対するアクセスの
説明に供する表である。
FIG. 8 is a table provided for explaining access to RAM of the ECC circuit of FIG.

【図9】図2のECC回路のRAMに対するアクセスの
優先順位の説明に供するタイミングチヤートである。
9 is a timing chart used for explaining the priority order of access to the RAM of the ECC circuit of FIG.

【図10】再生データのフレーム構成を示す略線図であ
る。
FIG. 10 is a schematic diagram showing a frame structure of reproduction data.

【図11】復調データのセクタフオーマツトの説明に供
する略線図である。
FIG. 11 is a schematic diagram for explaining a sector format of demodulated data.

【図12】セクタ情報の説明に供する図表である。FIG. 12 is a chart for explaining sector information.

【図13】セクタアドレスの設定の説明に供するタイミ
ングチヤートである。
FIG. 13 is a timing chart used for explaining setting of a sector address.

【図14】セクタ検出及びデータ出力の説明に供するタ
イミングチヤートである。
FIG. 14 is a timing chart used for explaining sector detection and data output.

【図15】セクタ検出及びデータ出力の説明に供するタ
イミングチヤートである。
FIG. 15 is a timing chart used for explaining sector detection and data output.

【図16】セクタ検出及びデータ出力の説明に供するタ
イミングチヤートである。
FIG. 16 is a timing chart used for explaining sector detection and data output.

【図17】セクタ検出及びデータ出力の説明に供するタ
イミングチヤートである。
FIG. 17 is a timing chart used for explaining sector detection and data output.

【図18】セクタ検出及びデータ出力の説明に供するタ
イミングチヤートである。
FIG. 18 is a timing chart used for explaining sector detection and data output.

【図19】セクタ検出及びデータ出力の説明に供するタ
イミングチヤートである。
FIG. 19 is a timing chart used for explaining sector detection and data output.

【図20】セクタ検出及びデータ出力の説明に供するタ
イミングチヤートである。
FIG. 20 is a timing chart for explaining sector detection and data output.

【図21】第2実施例のセクタデータの構成を示す略線
図である。
FIG. 21 is a schematic diagram showing the structure of sector data according to the second embodiment.

【図22】第2実施例のECCブロツクの構成を示す略
線図である。
FIG. 22 is a schematic diagram showing the configuration of an ECC block of the second embodiment.

【図23】第2実施例のPOパリテイ(外符号)のイン
ターリーブを示す略線図である。
FIG. 23 is a schematic diagram showing interleaving of PO parity (outer code) according to the second embodiment.

【図24】第2実施例のEFM変調前の32Kバイトブロ
ツクのデータ構成を示す略線図である。
FIG. 24 is a schematic diagram showing the data structure of a 32 Kbyte block before EFM modulation according to the second embodiment.

【図25】第2実施例の復調回路系の構成を示すブロツ
ク図である。
FIG. 25 is a block diagram showing the configuration of the demodulation circuit system of the second embodiment.

【図26】第2実施例のEFM変調号の物理セクタの構
成を示す略線図である。
FIG. 26 is a schematic diagram showing a configuration of a physical sector of an EFM modulation signal according to a second embodiment.

【図27】第2実施例の各セクタのデータ構成を示す略
線図である。
FIG. 27 is a schematic diagram showing a data configuration of each sector of the second embodiment.

【図28】第2実施例のRAMへの格納状態の説明に供
する略線図である。
FIG. 28 is a schematic diagram for explaining the storage state in the RAM of the second embodiment.

【図29】第2実施例のEFM復調出力のRAMへの書
込み動作を示す信号波形図である。
FIG. 29 is a signal waveform diagram showing an operation of writing the EFM demodulation output of the second embodiment into RAM.

【図30】第2実施例のロツク検出処理手順を示すフロ
ーチヤートである。
FIG. 30 is a flowchart showing a lock detection processing procedure of the second embodiment.

【図31】第2実施例のSCSY信号の生成処理手順を
示すフローチヤートである。
FIG. 31 is a flow chart showing the procedure of SCSY signal generation processing according to the second embodiment.

【図32】第2実施例のmain-FMSY 信号の発生処理手順
を示すフローチヤートである。
FIG. 32 is a flowchart showing a main-FMSY signal generation processing procedure according to the second embodiment.

【図33】第2実施例のblock-top の検出動作の説明に
供する信号波形図である。
FIG. 33 is a signal waveform diagram for explaining a block-top detection operation of the second example.

【図34】第2実施例のblock-top の検出後の処理動作
の説明に供する信号波形図である。
FIG. 34 is a signal waveform diagram for explaining a processing operation after block-top detection in the second embodiment.

【図35】第2実施例のSUBの転送動作の説明に供す
る信号波形図である。
FIG. 35 is a signal waveform diagram for explaining the transfer operation of the SUB of the second example.

【図36】第2実施例のセクタ情報の構成を示す略線図
である。
FIG. 36 is a schematic diagram showing the structure of sector information according to the second embodiment.

【図37】第2実施例のセクタアドレスの設定の説明に
供するタイミングチヤートである。
FIG. 37 is a timing chart for explaining setting of a sector address according to the second embodiment.

【図38】第2実施例のIEDの連続正常検出判定処理
手順を示すフローチヤートである。
FIG. 38 is a flow chart showing the procedure of the IED continuous normality detection determination process of the second embodiment.

【図39】第2実施例のID(アドレス)の連続判定処
理手順を示すフローチヤートである。
FIG. 39 is a flowchart showing an ID (address) continuity determination processing procedure according to the second embodiment.

【図40】第2実施例のSALK生成処理手順を示すフ
ローチヤートである。
FIG. 40 is a flow chart showing a SALK generation processing procedure of the second embodiment.

【図41】第2実施例のエラー訂正動作の説明に供する
信号波形図である。
FIG. 41 is a signal waveform diagram for explaining the error correcting operation of the second embodiment.

【図42】第2実施例のエラー訂正動作の説明に供する
信号波形図である。
FIG. 42 is a signal waveform diagram for explaining the error correction operation of the second embodiment.

【図43】第2実施例のECC処理の制御動作の説明に
供するタイミングチヤートである。
FIG. 43 is a timing chart for explaining a control operation of ECC processing of the second embodiment.

【図44】第2実施例のECC処理の制御動作の説明に
供するタイミングチヤートである。
FIG. 44 is a timing chart for explaining the control operation of the ECC processing according to the second embodiment.

【図45】第2実施例のECC処理の制御動作の説明に
供するタイミングチヤートである。
FIG. 45 is a timing chart for explaining the control operation of the ECC process of the second example.

【図46】第2実施例のECC処理のRAMコントロー
ラの処理手順を示すフローチヤートである。
FIG. 46 is a flowchart showing the processing procedure of the RAM controller for the ECC processing according to the second embodiment.

【図47】第2実施例のエラー訂正回路系の構成を示す
ブロツク図である。
FIG. 47 is a block diagram showing the configuration of the error correction circuit system of the second embodiment.

【図48】第2実施例のエラー訂正結果を示す略線図で
ある。
FIG. 48 is a schematic diagram showing an error correction result of the second embodiment.

【図49】第2実施例のバスアービトレーシヨンの説明
に供する信号波形図である。
FIG. 49 is a signal waveform diagram for explaining the bus arbitration of the second embodiment.

【図50】第2実施例の1ECCブロツク訂正における
RAMのアクセス回数を示す略線図である。
FIG. 50 is a schematic diagram showing the number of RAM accesses in the 1ECC block correction of the second embodiment.

【図51】第2実施例のエラー訂正結果の出力の説明に
供する信号波形図である。
FIG. 51 is a signal waveform diagram for explaining the output of the error correction result of the second embodiment.

【図52】第2実施例のセクタデータの出力の説明に供
するフローチヤートである。
FIG. 52 is a flow chart for explaining output of sector data according to the second embodiment.

【図53】従来のデータ再生装置を示すブロツク図であ
る。
FIG. 53 is a block diagram showing a conventional data reproducing device.

【図54】図53のECC回路を示すブロツク図であ
る。
FIG. 54 is a block diagram showing the ECC circuit of FIG. 53.

【図55】図54のECC回路によるECC 復号の説明に
供する略線図である。
FIG. 55 is a schematic diagram for explaining ECC decoding by the ECC circuit in FIG. 54.

【図56】図54のECC回路によるECC 復号の説明に
供する略線図である。
56 is a schematic diagram for explaining ECC decoding by the ECC circuit in FIG. 54.

【図57】図54のECC回路によるECC 復号の説明に
供する略線図である。
FIG. 57 is a schematic diagram for explaining ECC decoding by the ECC circuit in FIG. 54.

【図58】図54のECC回路によるECC 復号の説明に
供する略線図である。
FIG. 58 is a schematic diagram for explaining ECC decoding by the ECC circuit in FIG. 54.

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

1、40……データ再生装置、2……光デイスク、3…
…ピツクアツプ、4……システムコントローラ、5、3
5……復調回路系、6……復調回路、7……セクタ検出
回路、8、50……ECC回路、9……トラツクジヤン
プ判定回路、10……リングバツフアメモリ、11……
リングバツフア制御回路、13……多重化データ分離回
路、14……ヘツダ分離回路、15……分離回路制御回
路、16……スイツチング回路、17……ビデオコード
バツフア、18……ビデオデコーダ、19……オーデイ
オコードバツフア、20……オーデイオデコーダ、22
……トラツキングサーボ回路、24、26、28、3
0、51……RAM、25、27、29、52……EC
Cデコーダ、42……RF処理回路、44、131……
EFM+復調回路、46……CLV制御回路、48……
RMIF、53……エラーレジスタ、54……ECC制
御部、55……ECC復号部、56、139……OCT
L回路、134……SBCD回路、135……RAMコ
ントローラ、136……ECC制御回路、137……R
AM、138……ECCコア回路、140……ホストC
PU。
1, 40 ... Data reproducing device, 2 ... Optical disk, 3 ...
… Pickup 4 …… System controller 5,3
5 ... Demodulation circuit system, 6 ... Demodulation circuit, 7 ... Sector detection circuit, 8, 50 ... ECC circuit, 9 ... Track jump jump determination circuit, 10 ... Ring buffer memory, 11 ...
Ring buffer control circuit, 13 ... Multiplexed data separation circuit, 14 ... Header separation circuit, 15 ... Separation circuit control circuit, 16 ... Switching circuit, 17 ... Video code buffer, 18 ... Video decoder, 19 ... … Audio code buffer, 20… Audio decoder, 22
...... Tracking servo circuit, 24, 26, 28, 3
0,51 ... RAM, 25,27,29,52 ... EC
C decoder, 42 ... RF processing circuit, 44, 131 ...
EFM + demodulation circuit, 46 ... CLV control circuit, 48 ...
RMIF, 53 ... Error register, 54 ... ECC control unit, 55 ... ECC decoding unit, 56, 139 ... OCT
L circuit, 134 ... SBCD circuit, 135 ... RAM controller, 136 ... ECC control circuit, 137 ... R
AM, 138 ... ECC core circuit, 140 ... Host C
PU.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 木村 悟 東京都品川区北品川6丁目7番35号ソニー 株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Satoru Kimura 6-7-35 Kitashinagawa, Shinagawa-ku, Tokyo Sony Corporation

Claims (29)

【特許請求の範囲】[Claims] 【請求項1】記録媒体に記録された符号化データを復号
するデータ復号装置において、 上記符号化データ及び当該符号化データより復号された
復号データを記憶する復号用メモリと、 上記符号化データを復号する途中において生成される上
記復号データより、読み出し対象となるデータのデータ
情報を検出するデータ情報検出回路と、 上記データ情報を格納するデータ情報格納手段と、 上記データ情報に基づいて上記復号データの出力を制御
するデータ出力制御回路とを具えることを特徴とするデ
ータ復号装置。
1. A data decoding apparatus for decoding coded data recorded on a recording medium, comprising: a decoding memory for storing the coded data and decoded data decoded from the coded data; and the coded data. A data information detection circuit that detects the data information of the data to be read from the decoded data that is generated during decoding, a data information storage unit that stores the data information, and the decoded data based on the data information. And a data output control circuit for controlling the output of the data decoding device.
【請求項2】上記記録媒体は、デイスク記録媒体でなる
ことを特徴とする請求項1に記載のデータ復号装置。
2. The data decoding apparatus according to claim 1, wherein the recording medium is a disk recording medium.
【請求項3】上記データ情報は、上記デイスク記録媒体
についてのセクタ情報でなることを特徴とする請求項2
に記載のデータ復号装置。
3. The data information is sector information about the disk recording medium.
The data decoding device according to.
【請求項4】上記データ情報検出回路は、上記データ情
報に基づいて上記デイスク記録媒体上の読み出し対象と
なるデータのセクタを検出することを特徴とする請求項
2に記載のデータ復号装置。
4. The data decoding device according to claim 2, wherein the data information detection circuit detects a sector of data to be read on the disk recording medium based on the data information.
【請求項5】上記セクタ情報は、上記デイスク記録媒体
のセクタアドレス情報及び誤り訂正結果及び又は読み出
しセクタアドレス情報でなることを特徴とする請求項3
に記載のデータ復号装置。
5. The sector information comprises sector address information and error correction result and / or read sector address information of the disk recording medium.
The data decoding device according to.
【請求項6】上記メモリは、フアーストインフアースト
アウト(FIFO)機能を有することを特徴とする請求
項1に記載のデータ復号装置。
6. The data decoding apparatus according to claim 1, wherein the memory has a first-in first-out (FIFO) function.
【請求項7】上記符号化データは、インターリーブ符号
化されていることを特徴とする請求項1に記載のデータ
復号装置。
7. The data decoding apparatus according to claim 1, wherein the coded data is interleave coded.
【請求項8】上記符号化データは、誤り訂正符号データ
であることを特徴とする請求項1に記載のデータ復号装
置。
8. The data decoding apparatus according to claim 1, wherein the coded data is error correction coded data.
【請求項9】上記誤り訂正符号は、C1/C2畳み込み
・リードソロモン符号であることを特徴とする請求項8
に記載のデータ復号装置。
9. The error correcting code is a C1 / C2 convolutional / Reed-Solomon code.
The data decoding device according to.
【請求項10】上記誤り訂正符号は、符号化データの行
方向に誤り訂正内符号を付加するとともに列方向に誤り
訂正外符号を付加してなることを特徴とする請求項1に
記載のデータ復号装置。
10. The data according to claim 1, wherein the error correction code is formed by adding an error correction inner code in a row direction of the encoded data and an error correction outer code in a column direction. Decoding device.
【請求項11】上記データ復号装置は、 上記誤り訂正内符号が付加された行方向のデータを行単
位で第1のブロツク分だけエラー訂正し、 上記誤り訂正外符号が付加された列方向のデータを列単
位で上記第1のブロツク分だけエラー訂正し、 上記行単位で第1のブロツク分だけエラー訂正された上
記誤り訂正内符号が付加された上記行方向のデータに対
して行単位で再びエラー訂正することを特徴とする請求
項10に記載のデータ復号装置。
11. The data decoding apparatus corrects the data in the row direction, to which the inner code for error correction is added, by a first block in units of rows, and corrects the data in the column direction to which the outer code for error correction is added. Data is error-corrected by the first block in units of columns, and the error-correction inner code is error-corrected by the first block in units of rows. The data decoding apparatus according to claim 10, wherein the error correction is performed again.
【請求項12】上記データ復号装置は、 上記メモリから上記行方向データを1行分又は上記列方
向データを1列分だけ転送完了したとき、当該タイミン
グにおいて上記レジスタ内に格納されている上記エラー
位置及びエラーパターンに基づくエラー訂正を実行する
ことを特徴とする請求項10に記載のデータ復号装置。
12. The data decoding device, when the row direction data for one row or the column direction data for one column is completely transferred from the memory, the error stored in the register at the timing. The data decoding device according to claim 10, wherein error correction is performed based on the position and the error pattern.
【請求項13】記録媒体に記録された符号化データを復
号するデータ復号方法において、 上記記録媒体より読み出された上記符号化データを復号
用メモリに記憶して、上記符号化データを復号する途中
において生成される上記復号データより、読み出し対象
となるデータのデータ情報を検出し、 上記データ情報を格納するとともに、当該データ情報に
基づいて上記復号データの出力を制御することを特徴と
するデータ復号方法。
13. A data decoding method for decoding coded data recorded on a recording medium, wherein the coded data read from the recording medium is stored in a decoding memory to decode the coded data. Data characterized by detecting data information of data to be read from the decoded data generated on the way, storing the data information, and controlling output of the decoded data based on the data information. Decryption method.
【請求項14】上記記録媒体は、デイスク記録媒体でな
ることを特徴とする請求項13に記載のデータ復号方
法。
14. The data decoding method according to claim 13, wherein the recording medium is a disk recording medium.
【請求項15】上記データ情報は、上記デイスク記録媒
体についてのセクタ情報でなることを特徴とする請求項
14に記載のデータ復号方法。
15. The data decoding method according to claim 14, wherein the data information is sector information about the disk recording medium.
【請求項16】上記データ情報検出回路は、上記データ
情報に基づいて読み出し対象となるデータのセクタを検
出することを特徴とする請求項13に記載のデータ復号
方法。
16. The data decoding method according to claim 13, wherein the data information detection circuit detects a sector of data to be read based on the data information.
【請求項17】上記セクタ情報は、上記デイスク記録媒
体のセクタアドレス情報及び誤り訂正結果及び又は読み
出しセクタアドレス情報でなることを特徴とする請求項
15に記載のデータ復号方法。
17. The data decoding method according to claim 15, wherein the sector information comprises sector address information of the disk recording medium, an error correction result, and / or read sector address information.
【請求項18】上記メモリは、フアーストインフアース
トアウト(FIFO)機能を有することを特徴とする請
求項13に記載のデータ復号方法。
18. The data decoding method according to claim 13, wherein the memory has a first-in first-out (FIFO) function.
【請求項19】上記符号化データは、インターリーブ符
号化されていることを特徴とする請求項13に記載のデ
ータ復号方法。
19. The data decoding method according to claim 13, wherein the coded data is interleave coded.
【請求項20】上記符号化データは、誤り訂正符号デー
タであることを特徴とする請求項13に記載のデータ復
号方法。
20. The data decoding method according to claim 13, wherein the coded data is error correction coded data.
【請求項21】上記誤り訂正符号は、C1/C2畳み込
み・リードソロモン符号であることを特徴とする請求項
20に記載のデータ復号方法。
21. The data decoding method according to claim 20, wherein the error correction code is a C1 / C2 convolutional / Reed-Solomon code.
【請求項22】上記誤り訂正符号は、符号化データの行
方向に誤り訂正内符号を付加するとともに列方向に誤り
訂正外符号を付加してなることを特徴とする請求項13
に記載のデータ復号方法。
22. The error correction code comprises an error correction inner code added in the row direction of the encoded data and an error correction outer code added in the column direction.
The data decoding method described in.
【請求項23】上記データ復号方法は、 上記誤り訂正内符号が付加された行方向のデータを行単
位で第1のブロツク分だけエラー訂正し、 上記誤り訂正外符号が付加された列方向のデータを列単
位で上記第1のブロツク分だけエラー訂正し、 上記行単位で第1のブロツク分だけエラー訂正された上
記誤り訂正内符号が付加された上記行方向のデータに対
して行単位で再びエラー訂正することを特徴とする請求
項22に記載のデータ復号方法。
23. In the data decoding method, the data in the row direction to which the inner code for error correction is added is error-corrected by a first block for each row, and the data in the column direction to which the outer code for error correction is added is corrected. Data is error-corrected by the first block in units of columns, and the error-correction inner code is error-corrected by the first block in units of rows. 23. The data decoding method according to claim 22, wherein the error correction is performed again.
【請求項24】上記データ復号方法は、圧縮符号化され
てなる動画像データを復号することを特徴とする請求項
13に記載のデータ復号方法。
24. The data decoding method according to claim 13, wherein the data decoding method decodes moving image data that has been compression-encoded.
【請求項25】記録媒体に記録された符号化データでな
る画像信号及び又は音声信号を読み出して再生するデー
タ再生装置において、 上記符号化データ及び当該符号化データより復号された
復号データを記憶する復号用メモリと、上記符号化デー
タを復号する途中において生成される上記復号データよ
り、読み出し対象となるデータのデータ情報を検出する
データ情報検出回路と、上記データ情報を格納するデー
タ情報格納手段と、上記データ情報に基づいて上記復号
データの出力を制御するデータ出力制御回路とを有する
データ復号装置を設けることを特徴とするデータ再生装
置。
25. A data reproducing apparatus for reading and reproducing an image signal and / or an audio signal composed of encoded data recorded on a recording medium, wherein the encoded data and decoded data decoded from the encoded data are stored. A decoding memory, a data information detection circuit for detecting data information of the data to be read from the decoded data generated during the decoding of the encoded data, and a data information storage means for storing the data information. A data reproducing device having a data output control circuit for controlling the output of the decoded data based on the data information.
【請求項26】上記誤り訂正符号は、C1/C2畳み込
み・リードソロモン符号であることを特徴とする請求項
25に記載のデータ再生装置。
26. The data reproducing apparatus according to claim 25, wherein the error correction code is a C1 / C2 convolutional / Reed-Solomon code.
【請求項27】上記誤り訂正符号は、符号化データの行
方向に誤り訂正内符号を付加するとともに列方向に誤り
訂正外符号を付加してなることを特徴とする請求項25
に記載のデータ再生装置。
27. The error correction code is formed by adding an error correction inner code in the row direction of encoded data and an error correction outer code in the column direction of the encoded data.
A data reproducing apparatus according to claim 1.
【請求項28】上記データ再生装置は、 上記誤り訂正内符号が付加された行方向のデータを行単
位で第1のブロツク分だけエラー訂正し、 上記誤り訂正外符号が付加された列方向のデータを列単
位で上記第1のブロツク分だけエラー訂正し、 上記行単位で第1のブロツク分だけエラー訂正された上
記誤り訂正内符号が付加された上記行方向のデータに対
して行単位で再びエラー訂正することを特徴とする請求
項25に記載のデータ再生装置。
28. The data reproducing device corrects the data in the row direction to which the inner code for error correction is added by a first block for each row, and to correct the data in the column direction to which the outer code for error correction is added. Data is error-corrected by the first block in units of columns, and the error-correction inner code is error-corrected by the first block in units of rows. 26. The data reproducing apparatus according to claim 25, wherein error correction is performed again.
【請求項29】上記データ再生装置は、 上記メモリから上記行方向データを1行分又は上記列方
向データを1列分だけ転送完了したとき、当該タイミン
グにおいて上記レジスタ内に格納されている上記エラー
位置及びエラーの訂正パターンに基づくエラー訂正を実
行することを特徴とする請求項25に記載のデータ再生
装置。
29. The data reproducing apparatus, when the row direction data for one row or the column direction data for one column is completely transferred from the memory, the error stored in the register at the timing. The data reproducing apparatus according to claim 25, wherein error correction is performed based on a position and error correction pattern.
JP30869796A 1996-02-19 1996-11-05 Data decoding apparatus and method, and data reproducing apparatus Expired - Fee Related JP3672139B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30869796A JP3672139B2 (en) 1996-02-19 1996-11-05 Data decoding apparatus and method, and data reproducing apparatus

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP8-55471 1996-02-19
JP5547196 1996-02-19
JP30869796A JP3672139B2 (en) 1996-02-19 1996-11-05 Data decoding apparatus and method, and data reproducing apparatus

Publications (2)

Publication Number Publication Date
JPH09288870A true JPH09288870A (en) 1997-11-04
JP3672139B2 JP3672139B2 (en) 2005-07-13

Family

ID=26396364

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30869796A Expired - Fee Related JP3672139B2 (en) 1996-02-19 1996-11-05 Data decoding apparatus and method, and data reproducing apparatus

Country Status (1)

Country Link
JP (1) JP3672139B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012095063A (en) * 2010-10-27 2012-05-17 Sony Corp Decoding apparatus and method, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012095063A (en) * 2010-10-27 2012-05-17 Sony Corp Decoding apparatus and method, and program

Also Published As

Publication number Publication date
JP3672139B2 (en) 2005-07-13

Similar Documents

Publication Publication Date Title
JP3305966B2 (en) Data decoding apparatus and method, and data reproducing apparatus
KR100496211B1 (en) Data decoding device and method and data reproducing device
US5793724A (en) Optical disk error-correcting code system correlating error correction with sector address
AU697039B2 (en) Data reproduction apparatus and data storage
JP3562544B2 (en) Decoding device and decoding method
JP2001126398A (en) Data reproducing device and its method
JPH09288870A (en) Data decoding device and method and data reproducing device
JPH09265735A (en) Data decoding device and method therefor and data reproducing device
JPH09266564A (en) Device and method for data decoding, and data reproducing device
JPH09265730A (en) Data reproducing device and method therefor
JPH10188471A (en) Data producing device and data reproducing method
CA2385422C (en) Data reproduction apparatus and data storage medium
KR19980066264A (en) Data decoding apparatus and method and data reproducing apparatus
AU708660B2 (en) Data reproducing device and data recording medium
JP3978732B2 (en) Data reproducing apparatus and method
JP3849943B2 (en) Data playback device
JP3849944B2 (en) Data playback device
JP3846734B2 (en) Data playback device

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041001

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041116

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050401

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050414

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

Free format text: PAYMENT UNTIL: 20080428

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20090428

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090428

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100428

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees