JPH09246998A - Error correction device - Google Patents

Error correction device

Info

Publication number
JPH09246998A
JPH09246998A JP8079504A JP7950496A JPH09246998A JP H09246998 A JPH09246998 A JP H09246998A JP 8079504 A JP8079504 A JP 8079504A JP 7950496 A JP7950496 A JP 7950496A JP H09246998 A JPH09246998 A JP H09246998A
Authority
JP
Japan
Prior art keywords
data
error correction
error
code
decoder
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP8079504A
Other languages
Japanese (ja)
Inventor
Minoru Kawahara
実 河原
Hideyuki Koike
秀幸 小池
Kenji Yamasaki
健治 山▲さき▼
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 JP8079504A priority Critical patent/JPH09246998A/en
Publication of JPH09246998A publication Critical patent/JPH09246998A/en
Pending legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)
  • Television Signal Processing For Recording (AREA)
  • Error Detection And Correction (AREA)

Abstract

PROBLEM TO BE SOLVED: To eliminate useless power consumption by an external code decoder in the case that error correction by an external code is not required by specifying which one of internal code and external code error flags is to be outputted by the flag of 1 byte that is Sel EF. SOLUTION: The error correction by an internal code is performed to video data in an internal code decoder 23. A flag corresponding to the result is put in the internal code error flag of a bit 7 in an EF. Then, the Sel EF is defined as '1'. They are sent to a write processing to an SDRAM 30. When the video data for one error correction block are accumulated, they are sent to an external code decoder and corrected when a block internal code error is not present at all. Than, corresponding to the Sel EF, whether it is internal code error flag or the external code error flag is judged, the error corrected video data, the external code error flag and the Sel EF are sent to the write processing to the SDRAM 30 and the data written in the SDRAM 30 are read and outputted as digital video data.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、積符号を用いて
エラー訂正符号化されたディジタルデータを復号化する
ために用いられるエラー訂正装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an error correction device used for decoding digital data error-correction-encoded using a product code.

【0002】[0002]

【従来の技術】現在、DVCR(ディジタルビデオカセ
ットレコーダ)などの、A/V(オーディオ/ビデオ)
信号をディジタル的に磁気テープなどの記録媒体に対し
て記録/再生する装置においては、エラー訂正のために
積符号による符号化が多く用いられている。
2. Description of the Related Art Currently, A / V (audio / video) such as DVCR (digital video cassette recorder)
In an apparatus which digitally records / reproduces a signal on / from a recording medium such as a magnetic tape, encoding by a product code is often used for error correction.

【0003】この積符号による符号化においては、1シ
ンボル(例えば1バイト)単位でマトリクス状に配列さ
れたデータに対して、その列方向に対して例えばリード
ソロモン符号によってそれぞれ符号化がなされ、外符号
パリティが生成される。そして、データおよび外符号パ
リティに対して、行方向に対して符号化がなされ、内符
号パリティが生成される。このように、列方向に対して
外符号パリティが生成され、行方向に対して内符号パリ
ティが生成されることによって、積符号によるエラー訂
正符号化が行われる。このとき、データの時系列の順序
は、例えば行方向に一致している。
In the coding by the product code, the data arranged in a matrix in units of 1 symbol (for example, 1 byte) is coded in the column direction, for example, by the Reed-Solomon code. Code parity is generated. Then, the data and outer code parity are encoded in the row direction to generate inner code parity. As described above, the outer code parity is generated in the column direction and the inner code parity is generated in the row direction, so that the error correction coding by the product code is performed. At this time, the time-series order of the data coincides with, for example, the row direction.

【0004】図16は、この積符号による符号化を用い
た、従来技術によるディジタル記録/再生装置の構成の
一例を示す。例えばディジタルビデオデータが記録デー
タとしてインターフェイス100を介してBRR(Bit R
ate Reduction)エンコーダ101に供給される。このB
RRエンコーダ101では、供給された記録データに対
してデータ圧縮が施される。圧縮された記録データは、
上述した積符号によるエラー訂正符号化を行うエラー訂
正エンコーダ102に供給される。
FIG. 16 shows an example of the configuration of a digital recording / reproducing apparatus according to the prior art, which uses this product code encoding. For example, digital video data is recorded as BRR (Bit R
ate Reduction) is supplied to the encoder 101. This B
The RR encoder 101 compresses the supplied recording data. The compressed recording data is
It is supplied to the error correction encoder 102 which performs the error correction encoding by the above product code.

【0005】このエラー訂正エンコーダ102は、RA
M(図示しない)と接続されており、供給された記録デ
ータは、このRAMに書き込まれる。そして、供給され
RAMメモリに書き込まれたたこの記録データに対し
て、上述のように、外符号パリティおよび内符号パリテ
ィが生成され、積符号のエラー訂正符号化がなされる。
符号化されたこの記録データは、上述の行方向に従って
RAMから読み出され、記録のためのアンプなどを含む
記録駆動部103に供給され、磁気ヘッド104によっ
て磁気テープ105に記録される。
The error correction encoder 102 has an RA
M (not shown), and the supplied recording data is written to the RAM. Then, as described above, the outer code parity and the inner code parity are generated with respect to the recording data supplied and written in the RAM memory, and the error correction encoding of the product code is performed.
The encoded recording data is read from the RAM according to the row direction described above, supplied to the recording drive unit 103 including an amplifier for recording, and recorded on the magnetic tape 105 by the magnetic head 104.

【0006】このときの記録は、例えば、磁気ヘッド1
04が回転ドラム上に設けられ、この磁気ヘッド104
によって磁気テープ105に対して斜めにトラックを形
成するような、ヘリカルスキャン方式で以て行われる。
Recording at this time is performed by, for example, the magnetic head 1.
The magnetic head 104 is provided on a rotating drum.
Is performed by a helical scan method in which tracks are formed obliquely with respect to the magnetic tape 105.

【0007】磁気テープ105に記録されたデータが磁
気ヘッド106によって読み出され、再生データとされ
る。この再生データは、イコライザ107を介して内符
号デコーダ108に供給され、内符号によるエラー訂正
が行われる。すなわち、データの各行に対して配された
内符号パリティに基づき、各行毎にエラー訂正が行われ
る。そして、エラー訂正結果として、エラーフラグが各
行のシンボルに対して付される。これは、例えば、エラ
ー数が符号の持つエラー訂正能力を上回り、エラーが訂
正されずに残っている場合、エラーが存在することを示
すために、その行の全シンボルに対してエラーフラグが
付される。
The data recorded on the magnetic tape 105 is read by the magnetic head 106 to be reproduced data. This reproduced data is supplied to the inner code decoder 108 via the equalizer 107, and error correction by the inner code is performed. That is, error correction is performed for each row based on the inner code parity allocated to each row of data. Then, as an error correction result, an error flag is attached to the symbols in each row. This is because, for example, if the number of errors exceeds the error correction capability of the code and the errors remain uncorrected, an error flag is attached to all symbols in the line to indicate that there is an error. To be done.

【0008】内符号のエラー訂正がなされたこの再生デ
ータは、RAM109に書き込まれる。この内符号デコ
ーダ108は、RAM109に対するアドレス制御を行
うことができるもので、このRAM109に書き込まれ
る再生データは、内符号デコーダ108によってアドレ
ス制御され、RAM109におけるアドレス空間内に配
置される。
This reproduced data in which the inner code is error-corrected is written in the RAM 109. The inner code decoder 108 can control the address of the RAM 109, and the reproduction data written in the RAM 109 is address-controlled by the inner code decoder 108 and arranged in the address space of the RAM 109.

【0009】このようにして、内符号デコーダ108に
おいて内符号によるエラー訂正が行われると、このエラ
ー訂正された再生データがRAM109から読み出され
る。このとき、デコーダ108によるアドレス制御によ
って、再生データは、RAM109の積符号の列方向に
向かって読み出される。したがって、このRAM109
において、外符号の方向にデータの順序が読み替えられ
る。
When the error correction by the inner code is performed in the inner code decoder 108 in this way, the error-corrected reproduced data is read from the RAM 109. At this time, the reproduction data is read out in the column direction of the product code of the RAM 109 by the address control by the decoder 108. Therefore, this RAM 109
In, the order of data is read in the direction of the outer code.

【0010】こうして外符号方向に読み替えられた再生
データは、外符号デコーダ110に供給され、外符号デ
コーダ110によって外符号によるエラー訂正が行われ
る。すなわち、データの各列に対して配された外符号パ
リティに基づき、各列毎にエラー訂正が行われる。この
外符号によるエラー訂正の際には、外符号と共に、内符
号デコーダ108における復号化の際に各シンボルに対
して付されたエラーフラグも用いられる。
The reproduced data read in the outer code direction is supplied to the outer code decoder 110, and the outer code decoder 110 corrects the error by the outer code. That is, error correction is performed for each column based on the outer code parity allocated to each column of data. In the error correction using the outer code, an error flag attached to each symbol at the time of decoding in the inner code decoder 108 is used together with the outer code.

【0011】外符号デコーダ110においてエラー訂正
されたこの再生データは、RAM111に書き込まれ
る。この外符号デコーダ110は、RAM111に対す
るアドレス制御を行うことができるもので、このRAM
111に書き込まれる再生データは、外符号デコーダ1
10によってアドレス制御され、RAM109における
アドレス空間内に配置される。
The reproduced data which has been error-corrected in the outer code decoder 110 is written in the RAM 111. The outer code decoder 110 can control the address of the RAM 111.
The reproduction data written in 111 is the outer code decoder 1
The address is controlled by 10 and is arranged in the address space in the RAM 109.

【0012】そして、エラー訂正結果として、エラーフ
ラグが各シンボルに対して付される。これは、例えば、
エラー数が符号の持つエラー訂正能力を上回り、エラー
訂正が行われなかった場合、エラーが存在することを示
すために付される。
Then, as an error correction result, an error flag is attached to each symbol. This is, for example,
If the number of errors exceeds the error correction capability of the code and no error correction has been performed, this is added to indicate that an error exists.

【0013】外符号デコーダ110において外符号によ
るエラー訂正が行われると、このエラー訂正された再生
データがRAM111から読み出される。このとき、デ
コーダ110によるアドレス制御によって、再生データ
は、RAM111のアドレス空間における行方向に向か
って読み出される。したがって、このRAM111にお
いて、RAM109からの読み出しの際に読み替えられ
た読み出し方向が再び読み替えられ、最初の読み出し方
向、すなわち、本来のデータ順に戻される。
When the outer code decoder 110 corrects the error by the outer code, the error-corrected reproduced data is read from the RAM 111. At this time, the reproduced data is read out in the row direction in the address space of the RAM 111 by the address control by the decoder 110. Therefore, in the RAM 111, the read direction read at the time of reading from the RAM 109 is read again, and the original read direction, that is, the original data order is returned.

【0014】このようにして、内符号および外符号によ
るエラー訂正が行われたこの再生データは、BRRデコ
ーダ112に供給される。このBRRデコーダ112に
おいて、記録時にデータに施されたデータ圧縮が解かれ
る。圧縮を解かれたこの再生データは、インターフェイ
ス113を介してディジタルビデオデータとして外部に
出力される。
The reproduced data subjected to the error correction by the inner code and the outer code is supplied to the BRR decoder 112. In the BRR decoder 112, the data compression applied to the data at the time of recording is released. This decompressed reproduction data is output to the outside as digital video data via the interface 113.

【0015】なお、外符号デコーダ110においてエラ
ー訂正しきれずに、エラーフラグが付されたデータに関
しては、この後、例えば補間などの手法を用いてエラー
修整がなされる。
Incidentally, with respect to the data to which the error code is not completely corrected in the outer code decoder 110, the error correction is thereafter performed by using a method such as interpolation.

【0016】上述のようなディジタル記録/再生装置に
おいて、実際的には、記録側のBRRエンコーダ101
およびエラー訂正エンコーダ102は、それぞれ1つの
集積回路で構成される。また、再生側において、内符号
デコーダ108,外符号デコーダ110,およびBRR
デコーダ112がそれぞれ1つの集積回路で構成され
る。
In the digital recording / reproducing apparatus as described above, the BRR encoder 101 on the recording side is practically used.
Each of the error correction encoder 102 and the error correction encoder 102 is configured by one integrated circuit. Also, on the reproduction side, the inner code decoder 108, the outer code decoder 110, and the BRR
Each decoder 112 is composed of one integrated circuit.

【0017】[0017]

【発明が解決しようとする課題】ところで、ヘリカルス
キャン方式で以て磁気テープにデータを記録するDVC
Rにおいては、記録時のテープの速度に対して例えば数
倍〜数十倍程度テープ速度を速くした再生を行う高速再
生の際には、ヘッドがテープ上に形成された複数トラッ
クに対して横断するようにトレースし、この複数トラッ
クのデータを1フィールド分のデータとして再生処理を
行う。そのため、積符号の行方向に対してエラー訂正を
行う内符号によるエラー訂正は行われるが、列方向に対
してエラー訂正を行う外符号によるエラー訂正を行わな
い。
By the way, a DVC for recording data on a magnetic tape by a helical scan method.
In the case of R, the head traverses a plurality of tracks formed on the tape at the time of high-speed reproduction in which the tape speed is made several to several tens of times faster than the tape speed at the time of recording. Then, the reproduction processing is performed by using the data of the plurality of tracks as data for one field. Therefore, error correction by the inner code that performs error correction in the row direction of the product code is performed, but error correction by the outer code that performs error correction in the column direction is not performed.

【0018】従来では、この高速再生などの際にも、必
要無いにも関わらず内符号デコーダ108から外符号デ
コーダ110に対して再生データを供給しなくてななら
ないため、無駄な処理が外符号デコーダ110において
行われ、その結果、無駄な電力が消費されてしまうとい
った問題点があった。
Conventionally, even in the case of this high-speed reproduction, since the reproduction data has to be supplied from the inner code decoder 108 to the outer code decoder 110 although it is not necessary, wasteful processing is unnecessary. This is performed in the decoder 110, and as a result, useless power is consumed.

【0019】また、同様に、最初の内符号デコーダ10
8によるエラー訂正においてエラーが全く無いか、また
は、エラーがすべて訂正され、その結果、外符号デコー
ダ110におけるエラー訂正が不要である場合でも、内
符号デコーダ108から外符号デコーダ110に対して
再生データが送られてしまい、この場合においても、無
駄な電力が消費されてしまうという問題点があった。
Similarly, the first inner code decoder 10
Even if there is no error in the error correction by 8 or all the errors are corrected, and as a result, the error correction in the outer code decoder 110 is unnecessary, the reproduction data from the inner code decoder 108 to the outer code decoder 110 is reproduced. However, even in this case, there is a problem that useless power is consumed.

【0020】また、上述した従来技術においては、外符
号デコーダ110において、内符号デコーダ108から
送られたデータに対してそのまま外符号によるエラー訂
正を行うために、データの全シンボルにエラーフラグを
付して内符号デコーダ108から外符号デコーダ110
に対してデータを送っていた。しかしながら、内符号デ
コーダ108では、1シンク毎にエラーフラグが出るだ
けなので、このように全シンボルに対してシンボル毎に
エラーフラグを付すことには無駄があった。
Further, in the above-mentioned conventional technique, in the outer code decoder 110, in order to perform error correction on the data sent from the inner code decoder 108 by the outer code as it is, an error flag is attached to all the symbols of the data. The inner code decoder 108 to the outer code decoder 110.
Was sending data to. However, since the inner code decoder 108 only outputs an error flag for each sync, adding an error flag for each symbol to all symbols in this way is wasteful.

【0021】さらに、内符号デコーダ108においてシ
ンボル毎にエラーフラグが付されるために、例えば再生
データが8ビットである場合、8ビット+エラーフラグ
1ビット=9ビットのデータがRAM109および11
1に書き込まれていた。そのため、データバス幅が9ビ
ットという汎用性に欠けるものになってしまうという問
題点があった。またそのため、コストアップにもなって
いた。
Further, since an error flag is added to each symbol in the inner code decoder 108, if the reproduced data is, for example, 8 bits, data of 8 bits + error flag 1 bit = 9 bits is stored in the RAMs 109 and 11.
It was written in 1. Therefore, there is a problem that the data bus width is 9 bits, which lacks versatility. Therefore, the cost was also increased.

【0022】したがって、この発明の目的は、外符号に
よるエラー訂正が不要な場合の外符号デコーダによる無
駄な電力消費が無いようなエラー訂正装置を提供するこ
とにある。
Therefore, an object of the present invention is to provide an error correction device which eliminates unnecessary power consumption by the outer code decoder when the error correction by the outer code is unnecessary.

【0023】また、この発明の他の目的は、例えば8ビ
ットといったような、汎用性のあるデータバス幅で内部
処理が行えるエラー訂正装置を提供することにある。
Another object of the present invention is to provide an error correction device capable of performing internal processing with a versatile data bus width such as 8 bits.

【0024】[0024]

【課題を解決するための手段】この発明は、上述した課
題を解決するために、内符号によるエラー訂正を行う内
符号デコーダと、内符号デコーダによるエラー訂正が行
われた後に外符号によるエラー訂正を行う外符号デコー
ダとを有し、エラー訂正装置内でのデータフォーマット
において、内符号によるエラー訂正の結果、エラーが存
在するか否かを示す内符号エラーフラグを格納する領域
と、内符号によるエラー訂正が行われたことにより得ら
れた内符号エラーフラグと、外符号によるエラー訂正が
行われたことにより得られた外符号エラーフラグとの何
方が有効であるかを示すエラーフラグ選択フラグを格納
する領域とが設けられたことを特徴とするエラー訂正装
置である。
SUMMARY OF THE INVENTION In order to solve the above problems, the present invention provides an inner code decoder for performing error correction by an inner code and an error correction by an outer code after the error correction by the inner code decoder. In the data format in the error correction device, an outer code decoder for performing an internal code error flag indicating whether or not an error exists as a result of error correction by the inner code, and an inner code An error flag selection flag indicating which of the inner code error flag obtained by performing the error correction and the outer code error flag obtained by performing the error correction by the outer code is effective is set. An error correction device characterized in that a storage area is provided.

【0025】上述したように、この発明は、内符号によ
るエラー訂正の結果、エラーが存在するか否かを示すフ
ラグと、内符号および外符号の何方のエラー訂正による
エラーフラグが有効であるかを示すフラグがデータフォ
ーマット中に格納されるため、外符号によるエラー訂正
を必要に応じてキャンセルさせることができる。
As described above, according to the present invention, the flag indicating whether or not an error exists as a result of the error correction by the inner code, and which of the inner code and the outer code the error flag by which the error correction is effective is effective. Since the flag indicating is stored in the data format, the error correction by the outer code can be canceled if necessary.

【0026】[0026]

【発明の実施の形態】以下、この発明の実施の一形態
を、図面を参照しながら説明する。図1は、この発明に
よるエラー訂正装置が適用されたディジタルビデオ記録
/再生装置の構成の一例を概略的に示す。この発明にお
いては、積符号によって符号化されたデータの復号化の
際の、内符号によるエラー訂正を行う内符号デコーダ、
および、外符号によるエラー訂正を行う外符号デコーダ
とを、1つの集積回路内に構成するものである。また、
従来内符号デコーダおよび外符号デコーダに対してそれ
ぞれ必要だったデータ読み替え用のRAMを、RAMに
対するアクセスを時分割制御することで1つに共用化す
るものである。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 schematically shows an example of the configuration of a digital video recording / reproducing device to which an error correction device according to the present invention is applied. In the present invention, an inner code decoder that performs error correction by an inner code when decoding data encoded by a product code,
In addition, an outer code decoder for performing error correction using an outer code is formed in one integrated circuit. Also,
The RAM for data replacement, which was conventionally required for the inner code decoder and the outer code decoder, is shared by controlling access to the RAM in a time division manner.

【0027】図1において、例えばビデオデータおよび
4チャンネルのオーディオデータが含まれる記録データ
がインターフェイス1を介してBRRエンコーダ2に供
給される。このBRRエンコーダ2では、供給された記
録データに対してデータ圧縮が施される。この圧縮は、
例えば、BRRエンコーダ2に供給されたデータがブロ
ック化されDCT変換され、量子化され、可変長符号化
されることによって行われる。このようにして圧縮され
た記録データは、エラー訂正エンコーダ3に供給され
る。
In FIG. 1, recording data including, for example, video data and 4-channel audio data is supplied to a BRR encoder 2 via an interface 1. In the BRR encoder 2, the supplied recording data is subjected to data compression. This compression is
For example, the data supplied to the BRR encoder 2 is converted into blocks, DCT-transformed, quantized, and variable-length coded. The recording data compressed in this way is supplied to the error correction encoder 3.

【0028】このエラー訂正エンコーダ3は、RAM
(図示しない)と接続されており、供給された記録デー
タは、このRAMに書き込まれる。そして、供給されR
AMメモリに書き込まれたこの記録データに対して、上
述の従来技術において説明したように、外符号パリティ
および内符号パリティが生成され、積符号のエラー訂正
符号化される。この、内符号および外符号の積符号が完
結するデータの大きさを、エラー訂正ブロックと称す
る。
The error correction encoder 3 is a RAM
(Not shown), and the supplied recording data is written to the RAM. And supplied R
For this recording data written in the AM memory, an outer code parity and an inner code parity are generated and error correction coding of a product code is performed, as described in the above-described related art. The size of the data in which the product code of the inner code and the outer code is completed is called an error correction block.

【0029】エラー訂正エンコーダからの符号化データ
は、上述の行方向に従ってRAMから読み出され、記録
のためのアンプなどを含む記録駆動部4に供給され、磁
気ヘッド5によって磁気テープ6に記録される。この記
録は、回転ドラム上に設けられた磁気ヘッド5によって
磁気テープ6に対して斜めにトラックが形成される、ヘ
リカルスキャン方式で以て行われ、さらに、互いに異な
る角度を有する1組の磁気ヘッドによって、隣接するト
ラックにおいてアジマスが異ならされ記録される、アジ
マス方式が用いられる。
The encoded data from the error correction encoder is read from the RAM according to the row direction described above, supplied to the recording drive unit 4 including an amplifier for recording, and recorded on the magnetic tape 6 by the magnetic head 5. It This recording is performed by a helical scan method in which tracks are formed obliquely with respect to the magnetic tape 6 by a magnetic head 5 provided on a rotating drum, and further, a set of magnetic heads having different angles from each other. The azimuth method is used in which different azimuths are recorded in adjacent tracks.

【0030】この記録方式の一例として、回転ドラム上
に4個の磁気ヘッド5が設けられ、各ヘッドに対応する
チャンネルをA,B,C,Dとした場合、これら4個の
磁気ヘッド4によってA,B,C,Dの順でトラックが
形成される。また、これらのうち、AおよびC,Bおよ
びDがそれぞれアジマスが一致するトラックである。こ
のとき、互いにアジマスの異なる、隣接した2トラック
(AおよびBチャンネル、並びにCおよびDチャンネ
ル)を1組としてセグメントが構成される。また、4チ
ャンネルあるオーディオデータは、例えば、トラックに
対して中央部に、ビデオデータに挟まれるように配され
る。
As an example of this recording method, when four magnetic heads 5 are provided on a rotary drum and channels corresponding to the heads are A, B, C and D, these four magnetic heads 4 are used. Tracks are formed in the order of A, B, C, and D. Of these, A and C and B and D are tracks whose azimuths match. At this time, a segment is composed of two adjacent tracks (A and B channels and C and D channels) having different azimuths. Also, the audio data having four channels is arranged, for example, in the center of the track so as to be sandwiched between the video data.

【0031】磁気テープ6に記録されたデータが磁気ヘ
ッド7によって、上述した、記録データが記録された順
序に従って読み出され、再生データとされる。この読み
出された再生データは、イコライザ8を介してエラー訂
正デコーダ9に供給される。このエラー訂正デコーダ9
は、内符号デコーダおよび外符号デコーダが1つの集積
回路として構成されたもので、接続されたRAM10に
対するアドレス制御を行うことができる。
The data recorded on the magnetic tape 6 is read by the magnetic head 7 in the order in which the recording data is recorded, and is used as reproduction data. The read reproduction data is supplied to an error correction decoder 9 via an equalizer 8. This error correction decoder 9
Is configured such that an inner code decoder and an outer code decoder are configured as one integrated circuit, and can perform address control for the connected RAM 10.

【0032】エラー訂正デコーダ9に供給された再生デ
ータは、内符号によるエラー訂正を施され、アドレス制
御されRAM10に書き込まれる。こうして、1エラー
訂正ブロック分のデータがRAM10にたまると、外符
号によるエラー訂正を行うために、外符号方向にデータ
が読み出され、エラー訂正デコーダ9に供給される。供
給されたこのデータは、外符号によるエラー訂正を施さ
れ、再びRAM10に書き込まれる。このようにして1
エラー訂正ブロック分のエラー訂正が終了すると、エラ
ー訂正デコーダ9の制御によってRAM10からデータ
が内符号方向(元のデータの順序)に読み出され、出力
される。このとき、エラーが符号の持つエラー訂正能力
を超えて存在したときには、データに対して所定の位置
にエラーフラグが付され出力される。
The reproduced data supplied to the error correction decoder 9 is error-corrected by the inner code, and is address-controlled and written in the RAM 10. When the data for one error correction block accumulates in the RAM 10 in this manner, the data is read in the outer code direction and supplied to the error correction decoder 9 in order to perform error correction using the outer code. The supplied data is subjected to error correction using an outer code, and is written into the RAM 10 again. In this way 1
When the error correction for the error correction block is completed, the data is read out from the RAM 10 in the inner code direction (the order of the original data) under the control of the error correction decoder 9 and output. At this time, if an error exists beyond the error correction capability of the code, an error flag is attached to a predetermined position with respect to the data and output.

【0033】このRAM10におけるこれら内符号およ
び外符号によるエラー訂正時のデータ入出力の際には、
A/Vデータにおけるビデオデータおよびオーディオデ
ータのそれぞれにおける処理単位の違いがあり、また、
1つのRAMで外符号によるエラー訂正のためおよびエ
ラー訂正後の出力のためのデータの読み替えが生じるた
め、RAM10に対するデータの書き込みおよび読み出
しのタイミングが交錯する。そのため、このRAM10
に対するデータの書き込みおよび読み出しのタイミング
の制御は、エラー訂正デコーダ9の制御により時分割で
行われる。この制御の詳細については、後述する。
At the time of data input / output at the time of error correction by the inner code and the outer code in the RAM 10,
There is a difference in processing unit between video data and audio data in A / V data.
Since the data for the error correction by the outer code and the output for the error-corrected output occur in one RAM, the timing of writing and reading the data to and from the RAM 10 intersects. Therefore, this RAM 10
The control of the timing of writing and reading data to and from is performed in a time division manner under the control of the error correction decoder 9. Details of this control will be described later.

【0034】このエラー訂正デコーダ9から出力された
再生データは、BRRデコーダ11に供給される。この
BRRデコーダ11において、記録時にデータに施され
たデータ圧縮が解かれる。例えば、BRRデコーダ11
に供給されたデータが可変長復号化され逆量子化され、
逆DCT変換され逆ブロック変換されることによって圧
縮が解かれる。このようにして圧縮を解かれたこの再生
データは、インターフェイス12を介してディジタルビ
デオデータとして外部に出力される。
The reproduced data output from the error correction decoder 9 is supplied to the BRR decoder 11. In the BRR decoder 11, the data compression applied to the data at the time of recording is released. For example, the BRR decoder 11
The data supplied to is variable-length decoded and dequantized,
The compression is released by inverse DCT and inverse block transform. The reproduced data thus decompressed is output to the outside as digital video data via the interface 12.

【0035】なお、エラー訂正デコーダ9においてエラ
ー訂正しきれずに、エラーフラグが付されたデータに関
しては、この後、例えば補間などの手法を用いてエラー
修整がなされる。
Incidentally, with respect to the data to which the error correction decoder 9 cannot correct the error and the error flag is added, thereafter, the error correction is performed by using a method such as interpolation.

【0036】図2および図3は、上述のエラー訂正ブロ
ックの構成の一例を概略的に示す。この例では、1フレ
ームのデータが磁気テープ上に形成された12トラック
によって構成される。また、上述したように、互いにア
ジマスの異なる、隣接した2トラックを1組としてセグ
メントが構成されており、1フレームは、12トラック
=6セグメントから成る。これらセグメントには、0〜
5までセグメント番号が付けられる。
2 and 3 schematically show an example of the configuration of the above-mentioned error correction block. In this example, one frame of data is composed of 12 tracks formed on a magnetic tape. Further, as described above, a segment is formed by setting two adjacent tracks having different azimuths as one set, and one frame consists of 12 tracks = 6 segments. These segments include 0-
Segment numbers up to 5 are assigned.

【0037】図2に示されるビデオデータの例において
は、図2Aの如くこの12フレーム中の1トラックが図
2Bに示される1エラー訂正ブロックを形成する。例え
ば217バイト×226バイトのデータ配列から成るビ
デオデータに対して、矢印bの方向に、各列のデータが
例えば(250,226)リードソロモン符号によって
符号化され、24バイトの外符号パリティが生成され
る。さらに、これらビデオデータおよび外符号パリティ
に対して、矢印aの方向に、各行のデータが例えば(2
29,217)リードソロモン符号によって符号化さ
れ、12バイトの内符号パリティが生成される。また、
各々のデータ行の先頭には、それぞれ2バイトの大きさ
を有するシンクデータおよびIDが配される。
In the example of the video data shown in FIG. 2, one track in these 12 frames forms one error correction block shown in FIG. 2B as in FIG. 2A. For example, for video data having a data array of 217 bytes × 226 bytes, data in each column is encoded by, for example, a (250,226) Reed-Solomon code in the direction of arrow b to generate a 24-byte outer code parity. Is done. Further, with respect to the video data and the outer code parity, the data of each row is, for example, (2
29, 217) Reed-Solomon code is used to generate 12-byte inner code parity. Also,
Sync data and ID each having a size of 2 bytes are arranged at the head of each data row.

【0038】図3は、オーディオデータにおけるエラー
訂正ブロックの構成の一例を示す。図3Aに示されるよ
うに、オーディオデータは、1フレーム分の12トラッ
クのうち6トラックで1エラー訂正ブロックを形成す
る。例えば217バイト×12バイトのデータ配列から
成るオーディオデータに対して、矢印bの方向に、例え
ば(24,12)リードソロモン符号によって符号化さ
れ、12バイトの外符号パリティが生成される。さら
に、これらビデオデータおよび外符号パリティに対し
て、矢印aの方向に、例えば(229,217)リード
ソロモン符号によって符号化され、12バイトの内符号
パリティが生成される。また、それぞれのデータ行の先
頭には、シンクデータおよびIDが配される。
FIG. 3 shows an example of the structure of an error correction block in audio data. As shown in FIG. 3A, audio data forms one error correction block in 6 tracks out of 12 tracks for one frame. For example, audio data composed of a data array of 217 bytes × 12 bytes is encoded in the direction of arrow b by, for example, a (24,12) Reed-Solomon code to generate a 12-byte outer code parity. Further, the video data and the outer code parity are encoded in the direction of arrow a by, for example, a (229,217) Reed-Solomon code, and a 12-byte inner code parity is generated. Sync data and ID are arranged at the head of each data line.

【0039】図4は、これらエラー訂正ブロックにおけ
る1シンクブロックの構成を、ビデオデータを例にとっ
て概略的に示す。先頭の2バイトはシンクデータであ
る。続く2バイトはIDであって、この1シンクブロッ
クの1トラック内での番号(セグメント番号)やシンク
ブロック番号などが記される。このIDに217バイト
のビデオデータ(または外符号パリティ)および内符号
パリティが続く。磁気テープに対する記録データは、こ
のシンクブロックが連続したものである。
FIG. 4 schematically shows the structure of one sync block in these error correction blocks, taking video data as an example. The first two bytes are sync data. The subsequent 2 bytes are an ID, and the number (segment number) in one track of this one sync block, the sync block number, etc. are described. This ID is followed by 217 bytes of video data (or outer code parity) and inner code parity. The recording data on the magnetic tape is a sequence of the sync blocks.

【0040】図5は、上述のエラー訂正デコーダ9の構
成の一例を示す。このエラー訂正デコーダ9は、1つの
集積回路として構成される。このエラー訂正デコーダ9
は、磁気ヘッドの2つのアジマスのうちの片アジマスに
対応している。すなわち、1つのエラー訂正デコーダ9
には、例えばAおよびCチャンネルのデータが供給され
る。そのため、上述のディジタルビデオ記録/再生装置
においては、BおよびDチャンネルのデータの処理のた
めのエラー訂正デコーダが設けられる。この他方のエラ
ー訂正デコーダは、図5に示すエラー訂正デコーダ9と
同一の構成であるので、その説明を省略する。
FIG. 5 shows an example of the configuration of the error correction decoder 9 described above. This error correction decoder 9 is configured as one integrated circuit. This error correction decoder 9
Corresponds to one azimuth of the two azimuths of the magnetic head. That is, one error correction decoder 9
Is supplied with data of the A and C channels, for example. Therefore, in the above-described digital video recording / reproducing apparatus, an error correction decoder for processing the data of the B and D channels is provided. Since the other error correction decoder has the same configuration as the error correction decoder 9 shown in FIG. 5, the description thereof is omitted.

【0041】オーディオデータおよびビデオデータから
成る再生データがイコライザ8からシリアル/パラレル
変換回路(以降、S/Pと称する)20に供給される。
イコライザ8から例えば94MHzのビットレートのビ
ットシリアルデータとして出力された再生データは、こ
のS/P20において、例えば11.7MHzの8ビッ
トパラレルデータとされる。このパラレルデータがシン
ク検出回路21に供給されシンクデータを検出され、レ
ートコンバータ22に供給される。
Reproduction data consisting of audio data and video data is supplied from the equalizer 8 to a serial / parallel conversion circuit (hereinafter referred to as S / P) 20.
The reproduced data output from the equalizer 8 as bit serial data at a bit rate of 94 MHz, for example, is converted into 8-bit parallel data at 11.7 MHz at the S / P 20. The parallel data is supplied to the sync detection circuit 21 to detect the sync data, and is supplied to the rate converter 22.

【0042】このレートコンバータ22は、内部にメモ
リを有しており、供給されたデータをためてクロックの
乗せ替えを行うことによりデータのレートを変換する。
この例では、再生データのデータレート11.7MHz
がより高いレート、例えば46.4MHzに変換され
る。このように高いレートに変換するのは、後述のメモ
リコントローラでデータの書き込みおよび読み出しを時
分割処理で以て行うためである。
The rate converter 22 has a memory therein and converts the data rate by accumulating the supplied data and changing the clock.
In this example, the data rate of the reproduced data is 11.7 MHz.
Is converted to a higher rate, for example, 46.4 MHz. The conversion to such a high rate is performed so that writing and reading of data are performed by time-division processing in a memory controller described later.

【0043】レートコンバータ22でレートを上げられ
た再生データは、内符号デコーダ23に供給される。そ
して、この内符号デコーダ23において、1シンクブロ
ック毎に内符号によるエラー訂正が行われる。このと
き、符号の持つエラー訂正能力を超えたエラーがデータ
に含まれるときには、エラー訂正は行われず、エラーが
あることを示すフラグがデータに付される。
The reproduced data whose rate has been increased by the rate converter 22 is supplied to the inner code decoder 23. Then, the inner code decoder 23 performs error correction by the inner code for each sync block. At this time, when an error exceeding the error correction capability of the code is included in the data, error correction is not performed, and a flag indicating that there is an error is added to the data.

【0044】また、このときのエラー訂正情報がエラー
カウンタ24に供給される。そして、このエラーカウン
タ24において内符号エラー訂正デコーダ23における
エラー数がカウントされ、カウント結果がバス25を介
してインターフェイス26に供給される。一方、内符号
エラー訂正デコーダ23でエラー訂正された再生データ
は、ID補間回路27に供給される。
Further, the error correction information at this time is supplied to the error counter 24. The error counter 24 counts the number of errors in the inner code error correction decoder 23, and supplies the count result to the interface 26 via the bus 25. On the other hand, the reproduced data that has been error-corrected by the inner code error correction decoder 23 is supplied to the ID interpolation circuit 27.

【0045】ID補間回路27に供給された再生データ
は、内部処理のためのIDの付け替えなどが行われ、デ
スクランブル回路28は、エンコーダ側のスクランブル
回路によるスクランブルと逆の処理を行うもので、例え
ば‘1111’や‘0000’といったような同レベル
の信号の連続が起きないようにされる。このデスクラン
ブル回路28の出力は、メモリコントローラ29に供給
される。
The reproduced data supplied to the ID interpolating circuit 27 is subjected to ID reassignment for internal processing, and the descramble circuit 28 performs a process reverse to the scrambling by the scrambling circuit on the encoder side. For example, continuous signals of the same level such as '1111' and '0000' are prevented. The output of the descramble circuit 28 is supplied to a memory controller 29.

【0046】このメモリコントローラ29には、SDR
AM30が接続される。このSDRAM30に対するア
ドレス制御やデータの書き込み,読み出しの制御がこの
メモリコントローラ29によって行われる。なお、SD
RAM30は、クロック同期式のRAMであり、例えば
16Mbitの容量のものが用いられる。
This memory controller 29 has an SDR
AM 30 is connected. The memory controller 29 performs address control and data write / read control with respect to the SDRAM 30. Note that SD
The RAM 30 is a clock synchronous RAM, and has a capacity of, for example, 16 Mbit.

【0047】また、このメモリコントローラ29におい
て、供給された再生データをSDRAM30に書き込む
か、ビデオ外符号デコーダ31に供給するか、また、そ
のまま出力するかなどの判断もなされる。この判断は、
例えば、再生データに対してこのエラー訂正デコーダ内
部で付加された情報に基づいて行ってもよい。また、外
部からインターフェイス26を介して供給された情報に
基づいて行うこともできる。
Further, in the memory controller 29, it is judged whether the supplied reproduction data is written in the SDRAM 30, supplied to the video outer code decoder 31 or outputted as it is. This decision
For example, it may be performed based on information added to the reproduction data inside the error correction decoder. Further, it can be performed based on information supplied from outside via the interface 26.

【0048】再生データに対して外符号によるエラー訂
正が必要な場合には、このメモリコントローラ29の制
御によって、供給されたこのデータがSDRAM30に
書き込まれ、外符号方向に読み替えられビデオ外符号デ
コーダ31に供給される。供給されたこのデータは、ビ
デオ外符号デコーダ31により外符号によるエラー訂正
がなされ、エラー訂正結果として外符号エラーフラグが
付される。そして、エラー訂正されたこの再生データが
メモリコントローラ29を介してSDRAM30に書き
込まれる。そして、SDRAM30から時系列方向にデ
ータが読み出され、メモリコントローラ29を介して外
部に出力される。
When the reproduced data needs to be error-corrected by the outer code, the supplied data is written in the SDRAM 30 under the control of the memory controller 29, and is read in the outer code direction to be read out in the video outer code decoder 31. Is supplied to. The supplied data is subjected to error correction by an outer code by a video outer code decoder 31, and an outer code error flag is added as an error correction result. The error-corrected reproduction data is written to the SDRAM 30 via the memory controller 29. Then, data is read from the SDRAM 30 in the time-series direction, and output to the outside via the memory controller 29.

【0049】また、再生データに対してエラー訂正が必
要無い場合には、このデータは、メモリコントローラ2
9からビデオ外符号デコーダ31に送られること無く外
部に出力される。この場合、データがSDRAM30か
ら読み出されて出力される場合と、メモリコントローラ
29からそのまま出力される場合とがある。このデータ
のエラー訂正の制御については、後述する。
If error correction is not necessary for the reproduced data, this data is stored in the memory controller 2
9 is output to the outside without being sent to the video outer code decoder 31. In this case, data may be read out from the SDRAM 30 and output, or may be output directly from the memory controller 29. The control of the data error correction will be described later.

【0050】読み出されたオーディオデータは、オーデ
ィオ外符号エラー訂正デコーダ32に供給される。そし
て、このデコーダ32で外符号によるエラー訂正が行わ
れる。このとき、この1つのエラー訂正デコーダ9には
例えばAおよびCチャンネルといった、片アジマスのデ
ータしか供給されない。上述のビデオデータと異なり、
6トラックで1エラー訂正ブロックが形成されるオーデ
ィオデータについては、片アジマスのデータだけではエ
ラー訂正ブロックが形成されず、エラー訂正を行うこと
ができない。そのため、他方のエラー訂正デコーダ(図
示しない)からこのエラー訂正デコーダ9のオーディオ
外符号デコーダ32に対して、例えばBおよびDチャン
ネルのデータが供給される。一方、AおよびCチャンネ
ルの再生オーディオデータが他方のエラー訂正デコーダ
のオーディオ外符号デコーダに対して供給される。
The read audio data is supplied to the audio outer code error correction decoder 32. Then, the decoder 32 performs error correction using an outer code. At this time, only one azimuth data such as the A and C channels is supplied to the one error correction decoder 9. Unlike the video data described above,
With regard to audio data in which one error correction block is formed by six tracks, an error correction block cannot be formed only by data of one azimuth and error correction cannot be performed. Therefore, for example, B and D channel data is supplied from the other error correction decoder (not shown) to the audio outer code decoder 32 of the error correction decoder 9. On the other hand, the reproduced audio data of the A and C channels is supplied to the outer audio code decoder of the other error correction decoder.

【0051】なお、このオーディオデータに対する外符
号によるエラー訂正の際にも、データに符号が持つエラ
ー訂正能力を超えてエラーが存在した場合には、エラー
フラグがオーディオ再生データに対して付される。
Even when the error correction is performed on the audio data by the outer code, if an error exists beyond the error correction capability of the code, the error flag is added to the audio reproduction data. .

【0052】このようにして、エラー訂正された再生オ
ーディオデータは、レートコンバータ33に供給され、
例えば256fs(12.3MHz)であるオーディオ
信号のクロックに乗せ替えられる。レートコンバータ3
3からのオーディオデータがデシャッフリング回路34
において時間軸方向に正しく並べ替えられコンシール回
路35に供給される。このコンシール回路35では、デ
ータに付されたエラーフラグに基づいてデータ修整が行
われる。そして、この修整された再生オーディオデータ
が外部に出力される。
The reproduced audio data whose error has been corrected in this way is supplied to the rate converter 33.
For example, a clock of an audio signal of 256 fs (12.3 MHz) is used. Rate converter 3
3 is supplied to the deshuffling circuit 34.
In the time axis direction, the data is properly rearranged and supplied to the conceal circuit 35. In the concealing circuit 35, data correction is performed based on an error flag added to the data. Then, the modified reproduced audio data is output to the outside.

【0053】なお、メモリコントローラ29に供給され
たビデオデータから、ビデオVAUX回路36によって
VAUXデータが抜き出される。また、オーディオAU
X回路37によってオーディオ外符号デコーダ32の出
力からAAUXデータが抜き出される。抜き出されたこ
のVAUXデータおよびAAUXデータがバス25およ
びインターフェイス26とを介して、外部の機器などに
送られる。ここで、VAUXデータおよびAAUXデー
タは、それぞれビデオデータおよびオーディオデータに
関連する補助的なデータである。
The video VAUX circuit 36 extracts VAUX data from the video data supplied to the memory controller 29. Audio AU
AAUX data is extracted from the output of the audio outer code decoder 32 by the X circuit 37. The extracted VAUX data and AAUX data are sent to an external device via the bus 25 and the interface 26. Here, VAUX data and AAUX data are auxiliary data related to video data and audio data, respectively.

【0054】なお、エラー訂正デコーダ9において用い
られる、各種タイミング信号は、タイミング信号発生回
路38によって生成される。また、エラーカウンタ24
には、上述したように、内符号エラー訂正デコーダ23
およびビデオ外符号デコーダ31における、デコード時
のエラー数が供給されている。供給されたこれらの信号
に基づいてこのエラーカウンタ24でカウントされたエ
ラー数は、バス25およびインターフェイス26を介し
て外部に送られる。これにより、エラーレートの計測な
どを行うことができる。
The various timing signals used in the error correction decoder 9 are generated by the timing signal generation circuit 38. The error counter 24
As described above, the inner code error correction decoder 23
Further, the number of errors at the time of decoding in the outer video code decoder 31 is supplied. The number of errors counted by the error counter 24 based on these supplied signals is sent to the outside via the bus 25 and the interface 26. This makes it possible to measure an error rate and the like.

【0055】エラー訂正デコーダ9の内部では、データ
は、1シンクブロックが1パケットとして扱われる。図
6は、この1パケットおけるデータ構成の例を示す。こ
こでは、データは、8ビットを1シンボルとして扱われ
る。ID0およびID1は、上述の図4に示した1シン
クブロックのデータ構成におけるIDをより詳細に示し
たものである。このデータの内容の一例を以下に記す。
Inside the error correction decoder 9, one sync block of data is treated as one packet. FIG. 6 shows an example of the data structure of this one packet. Here, 8 bits of data are treated as one symbol. ID0 and ID1 are more detailed IDs in the data structure of one sync block shown in FIG. An example of the contents of this data is given below.

【0056】ID0・・・シンクブロック番号 ID1・・・セグメント番号,ビデオ/オーディオ識別
情報など Data0〜Data216・・・ビデオデータ,ある
いはオーディオデータ ID2・・・テープの走行方向や通常再生,高速再生と
いった走行モードなどの補助的な情報 EF・・・シンクブロック単位でのエラーに関する情報 Rcount・・・早送り再生などの高速再生の際に、
エラーなどの原因によりデータの更新がないままビデオ
データの出力が何回行われたかを示す情報 PID0・・・磁気ヘッドのヘッドスイッチング信号に
基づき予測されたシンクブロック番号 外符号エラーフラグ・・・外符号によるエラー訂正後に
おいて、1シンボル毎に1ビット付されるエラーフラグ
ID0 ... Sync block number ID1 ... Segment number, video / audio identification information, etc. Data0-Data216 ... Video data or audio data ID2 ... Tape running direction, normal playback, high-speed playback, etc. Auxiliary information such as driving mode EF ... Information about error in sync block unit Rcount ... During high-speed playback such as fast-forward playback
Information indicating how many times the video data was output without updating the data due to an error or the like PID0 ... Sync block number predicted based on the head switching signal of the magnetic head Outer code error flag ... Outer An error flag added with 1 bit for each symbol after error correction by code

【0057】これらのうち、内符号デコーダ23におい
て、エラーシンボルの数が符号の持つエラー訂正能力を
超え、エラー訂正できなかった場合、すなわち、デコー
ダ23の出力にエラーが存在する場合、EFに対してエ
ラーフラグが立てられる。図7は、このEFのビット構
成を示す。ビット7が内符号のエラー訂正結果に対応す
る内符号エラーフラグである。ビット6のSel EF
は、最終的にこのエラー訂正デコーダ9から出力される
ビデオデータにおいて、内符号エラーフラグおよび外符
号エラーフラグの何方のエラーフラグが有効かを示すも
のである。これは、例えばSel EF=‘1’であれ
ば内符号エラーフラグが有効とされ、‘0’であれば外
符号エラーフラグが有効であるとされる。ビット0〜ビ
ット5までは未定義である。
Among these, in the inner code decoder 23, when the number of error symbols exceeds the error correction capability of the code and the error cannot be corrected, that is, when there is an error in the output of the decoder 23, the EF is compared with the EF. Error flag is set. FIG. 7 shows the bit configuration of this EF. Bit 7 is an inner code error flag corresponding to the error correction result of the inner code. Bit 6 Sel EF
Indicates which of the inner code error flag and the outer code error flag is valid in the video data finally output from the error correction decoder 9. This means that, for example, if Sel EF = '1', the inner code error flag is valid, and if it is '0', the outer code error flag is valid. Bit 0 to bit 5 are undefined.

【0058】図8は、SDRAM30に対して、1シン
クブロック分の再生データが書き込まれる際のフォーマ
ットの一例を示す。このSDRAM30は、16ビット
のデータ幅を有しているため、上述の図6で示した8ビ
ット幅のデータフォーマットがこのように16ビットが
1ワードとされ、ワード数も112ワードと半分にされ
る。
FIG. 8 shows an example of a format in which reproduction data for one sync block is written in the SDRAM 30. Since this SDRAM 30 has a data width of 16 bits, the data format of the 8-bit width shown in FIG. 6 is 16 bits as one word, and the number of words is also halved to 112 words. It

【0059】この再生データがSDRAM30に書き込
まれる際に、メモリコントローラ29の制御によりデー
タのタイミングコントロールが行われる。また、再生デ
ータは、SDRAM30に対してセグメント別にビデオ
データおよびオーディオデータとに分けられ書き込まれ
るが、このときのアドレス制御もメモリコントローラ2
9によって行われる。
When this reproduced data is written in the SDRAM 30, the timing of the data is controlled by the control of the memory controller 29. The reproduction data is divided into video data and audio data for each segment and written into the SDRAM 30, and the address control at this time is also performed by the memory controller 2.
9 is performed.

【0060】図9および図10は、このアドレス制御に
よるSDRAM30におけるアドレス割り当ての一例を
示す。図9は、ロー(列)アドレスの割り当てを示す。
ビット8〜10において、ビデオデータは、セグメント
0〜5のセグメント別に分けられ、オーディオデータ
は、‘6’に固定とされる。このように、このビット8
〜10でビデオデータおよびオーディオデータがアドレ
ス割り当てにおいてぶつからないようにされる。また、
ビデオデータにおいて、ビット6,7は、テープの走行
方向を示し、通常走行では‘0’、逆転走行では‘1’
とされる。さらに、ビット0〜5は、シンクブロック番
号をB7〜B0の8ビットで表した場合における、B7
〜B2の6ビットが入れられる。
9 and 10 show an example of address allocation in the SDRAM 30 by this address control. FIG. 9 shows row (column) address allocation.
In bits 8 to 10, video data is divided into segments 0 to 5, and audio data is fixed to "6". Like this bit 8
In 10 to 10, video data and audio data are prevented from colliding in address assignment. Also,
In the video data, bits 6 and 7 indicate the tape running direction, which is "0" for normal running and "1" for reverse running.
It is said. Further, bits 0 to 5 are B7 when the sync block number is represented by 8 bits B7 to B0.
6 bits of B2 are inserted.

【0061】オーディオデータにおいては、ビット6,
7は、‘0’に固定とされている。また、ビット4,5
に対してこのフィールド0〜3が入れられる。また、ビ
ット2,3は、4チャンネルあるオーディオチャンネル
別に割り当てられる。ビット0,1には、シンクブロッ
ク番号の2,3ビット(B2,B3)が入れられる。
In audio data, bit 6,
7 is fixed to "0". Also, bits 4 and 5
, The fields 0 to 3 are entered. Bits 2 and 3 are assigned to each of the four audio channels. Bits 0 and 1 contain a few bits (B2, B3) of the sync block number.

【0062】図10は、カラム(行)アドレスの割り当
てを示す。このカラムアドレスの割り当ては、オーディ
オデータおよびビデオデータに共通である。このSDR
AM30は、バンクAおよびバンクBから成る2バンク
構成とされており、データは、これらバンクAおよびバ
ンクBとに割り当てられる。また、カラムにおいては、
シンクブロック番号のビット0,1(B0,B1)が
0,1,2,3の4つのシンクブロックのデータが混在
するように割り当てられる。図中に記されるS0,S
1,S2,S3は、これらシンクブロック番号のビット
0,1(B0,B1)が0,1,2,3であるシンクブ
ロックのデータをそれぞれ表している。
FIG. 10 shows the allocation of column (row) addresses. This column address allocation is common to audio data and video data. This SDR
The AM 30 has a two-bank configuration including a bank A and a bank B, and data is assigned to the bank A and the bank B. Also, in the column,
Bits 0 and 1 (B0, B1) of the sync block number are allocated so that data of four sync blocks 0, 1, 2, and 3 are mixed. S0 and S marked in the figure
1, S2 and S3 represent sync block data in which bits 0 and 1 (B0, B1) of these sync block numbers are 0, 1, 2, and 3, respectively.

【0063】このカラムアドレスにおけるビット0,1
によるシンクブロック割り当てと、上述のローアドレス
におけるシンクブロック番号の割り当てを組み合わせる
ことで、全てのシンクブロックに対してアドレス割り当
てを行うことができる。
Bits 0 and 1 in this column address
By combining the sync block allocation according to (4) and the sync block number allocation in the row address described above, address allocation can be performed for all sync blocks.

【0064】バンクAのカラムアドレス0〜3には、上
述の図6に示されるID0およびID1が割り当てられ
る。また、カラムアドレス4〜223には、データ0〜
109が割り当てられる。一方、バンクBのカラムアド
レス0〜222には、データ110〜215が割り当て
られる。そして、バンクBのカラムアドレス223に
は、データ216およびID2が割り当てられる。
Column addresses 0 to 3 in bank A are assigned ID0 and ID1 shown in FIG. The column addresses 4 to 223 have data 0 to
109 is allocated. On the other hand, the data 110 to 215 are assigned to the column addresses 0 to 222 of the bank B. Data 216 and ID2 are assigned to the column address 223 of bank B.

【0065】また、バンクAのカラムアドレス224〜
251およびバンクBのカラムアドレス224〜251
は、外符号によるエラー訂正が行われた結果のエラーフ
ラグが書き込まれる。このエラーフラグは、1データに
対して1ビット割り当てられるので、1ワードでは16
データ分のエラーフラグを格納することができる。した
がって、バンクAのカラムアドレス224〜251には
データ0〜111に対するエラーフラグが格納され、バ
ンクBのカラムアドレス224〜251には、データ1
12〜216に対するエラーフラグが格納される。
Further, the column addresses 224 to
251 and the column address 224 to 251 of the bank B
Is written with an error flag as a result of error correction using an outer code. This error flag is assigned to 1 bit for 1 data, so 1 word is 16
An error flag for data can be stored. Therefore, the error flags for the data 0 to 111 are stored in the column addresses 224 to 251 of the bank A, and the data 1 is stored in the column addresses 224 to 251 of the bank B.
Error flags for 12 to 216 are stored.

【0066】上述の図9および図10に示したSDRA
M30のローアドレスおよびカラムアドレスの割り当て
は、データが内符号によるエラー訂正を終えてこのSD
RAM30に対して書き込まれ、後述する外符号による
エラー訂正が行われこのSDRAM30からデータが読
み出されるまで変わらない。
SDRA shown in FIGS. 9 and 10 described above.
The row address and column address of M30 are assigned to the SD after data has been error-corrected by the inner code.
It does not change until the data is read from the SDRAM 30 after being written in the RAM 30 and subjected to error correction by an outer code described later.

【0067】図11は、これらローアドレスおよびカラ
ムアドレスから成るSDRAM30におけるアドレス空
間を概略的に示す。切り換えて使用されるバンクAおよ
びバンクBのそれぞれにおいて、ローアドレスが11ビ
ット設けられる。この11ビットのローアドレスのそれ
ぞれに対して、16ビットを1ワードとして252ワー
ドから成るカラムアドレスが配される。したがって、こ
の例では、このSDRAM30のデータ容量は、16
(ビット)×252×2048×2=16Mビットであ
る。
FIG. 11 schematically shows an address space in the SDRAM 30 composed of these row addresses and column addresses. Each of the bank A and the bank B used by switching is provided with 11 bits of row address. For each of the 11-bit row addresses, a column address composed of 252 words is arranged with 16 bits as one word. Therefore, in this example, the data capacity of the SDRAM 30 is 16
(Bits) × 252 × 2048 × 2 = 16 Mbits.

【0068】なお、上述の図6に示された1パケットの
データフォーマットにおけるEF等は、このSDRAM
30の所定の領域または別のメモリに書き込まれる。
The EF and the like in the one-packet data format shown in FIG.
It is written to a predetermined area of 30 or another memory.

【0069】次に、上述の構成を以て行われるエラー処
理制御について説明する。この例においては、メモリコ
ントローラ29に対して供給された再生データが通常速
度による再生で得られたものであるかどうかで制御が異
なる。すなわち、高速再生の場合、磁気ヘッドが磁気テ
ープ上に形成された複数トラックを跨いでトレースす
る。上述したように、ビデオデータの1エラー訂正ブロ
ックは、1トラック分のビデオデータによって形成され
る。そのため、この高速再生の際には、内符号によるエ
ラー訂正は行われるが、外符号によるエラー訂正は行わ
れない。したがって、この高速再生の際には、外符号に
よるエラー訂正がキャンセルされる。
Next, the error processing control performed by the above configuration will be described. In this example, the control differs depending on whether or not the reproduction data supplied to the memory controller 29 is obtained by reproduction at the normal speed. That is, in the case of high speed reproduction, the magnetic head traces over a plurality of tracks formed on the magnetic tape. As described above, one error correction block of video data is formed by video data of one track. Therefore, at the time of this high speed reproduction, error correction by the inner code is performed, but error correction by the outer code is not performed. Therefore, during this high-speed reproduction, the error correction by the outer code is canceled.

【0070】また、内符号デコーダ23での内符号によ
るエラー訂正において、すべてのエラーが訂正されたか
どうかによっても、制御が異なる。すなわち、内符号に
よるエラー訂正ですべてのエラーの訂正が行われると、
外符号によるエラー訂正の必要が無くなる。そのため、
この場合においても、外符号によるエラー訂正がキャン
セルされる。
Further, in the error correction by the inner code in the inner code decoder 23, the control differs depending on whether or not all the errors are corrected. That is, if all the errors are corrected by the error correction using the inner code,
The need for error correction with outer codes is eliminated. for that reason,
Even in this case, the error correction by the outer code is canceled.

【0071】なお、供給された再生データが通常速度に
よる再生のものかどうかは、例えば、外部からインター
フェイス26を介して制御信号をこのエラー訂正デコー
ダ9に対して送ることで知ることができる。また、再生
データに、再生速度を示すデータを付加するようにして
もよい。
Whether or not the supplied reproduction data is reproduction at normal speed can be known by sending a control signal from the outside to the error correction decoder 9 via the interface 26, for example. Also, data indicating the reproduction speed may be added to the reproduction data.

【0072】図12は、この、エラー処理制御の一例を
概略的に示す。ステップS50で、内符号デコーダ23
において内符号によるエラー訂正がビデオデータに対し
て行われる。このエラー訂正の結果に対応するフラグが
上述の図7に示されるEFにおけるビット7の、内符号
エラーフラグに入れられる。そして、Sel EFが内
符号エラーフラグが有効であることを示す値(この例で
は‘1’)とされる。このエラー訂正されたビデオデー
タ,内符号エラーフラグ,およびSel EFがステッ
プS51のSDRAM30への書き込み処理に送られ
る。
FIG. 12 schematically shows an example of this error processing control. In step S50, the inner code decoder 23
In, error correction by the inner code is performed on the video data. A flag corresponding to the result of this error correction is put in the inner code error flag of bit 7 in EF shown in FIG. 7 described above. Then, Sel EF is set to a value ('1' in this example) indicating that the inner code error flag is valid. The error-corrected video data, inner code error flag, and Sel EF are sent to the writing process to the SDRAM 30 in step S51.

【0073】若し、このエラー訂正されたビデオデータ
が通常速度による再生で得られたものであれば、ステッ
プS51で、このビデオデータ,内符号エラーフラグ,
およびSel EFがSDRAM30に書き込まれる。
そして、1エラー訂正ブロック分のビデオデータがこの
SDRAM30にたまると、この1エラー訂正ブロック
分の内符号エラーフラグが全てエラー無しであるかどう
かが判断される。若し、エラーが一つも無ければ、ビデ
オ外符号デコーダ31によるエラー訂正が不要であるた
め、ビデオデータ,内符号エラーフラグ,およびSel
EFは、ステップS52の外符号によるエラー訂正の処
理に送られない。
If the error-corrected video data is obtained by reproduction at the normal speed, then in step S51, the video data, the inner code error flag,
And Sel EF are written to the SDRAM 30.
When the video data for one error correction block is accumulated in the SDRAM 30, it is determined whether or not all the inner code error flags for this one error correction block are error free. If there is no error, error correction by the video outer code decoder 31 is unnecessary, so the video data, inner code error flag, and Sel
The EF is not sent to the error correction process using the outer code in step S52.

【0074】このような、再生データがビデオ外符号デ
コーダ31におけるエラー訂正が行われずに、メモリコ
ントローラ29からそのままエラー訂正デコーダ9の外
部に出力されるような場合には、ビデオ外符号デコーダ
31の動作が止められる。これは、例えばこのデコーダ
31に供給されるクロックを停止することによってなさ
れる。このエラー訂正デコーダ9がCMOS ICであ
る場合には、このようにクロックを停止させることで、
その回路において電力を消費しないようにできる。
In such a case where the reproduced data is output from the memory controller 29 as it is to the outside of the error correction decoder 9 without the error correction being performed in the video outer code decoder 31, the reproduction code of the video outer code decoder 31 is used. The movement is stopped. This is done, for example, by stopping the clock supplied to this decoder 31. When the error correction decoder 9 is a CMOS IC, by stopping the clock in this way,
The circuit can be made to consume no power.

【0075】一方、このビデオデータが高速再生によっ
て得られたものである場合には、上述したように、外符
号によるエラー訂正を行わない。そのため、ビデオデー
タ,内符号エラーフラグ,およびSel EFは、ステ
ップS52の外符号によるエラー訂正の処理に送られな
い。また、それと共に、クロックの供給を停止するなど
して、ビデオ外符号デコーダ31の動作が止められる。
On the other hand, when this video data is obtained by high speed reproduction, error correction by the outer code is not performed as described above. Therefore, the video data, inner code error flag, and Sel EF are not sent to the error correction process using the outer code in step S52. At the same time, the operation of the outer video code decoder 31 is stopped by stopping the supply of the clock.

【0076】また一方、1つでもエラーがあると判断さ
れれば、ビデオデータ,内符号エラーフラグ,およびS
el EFがステップS52の処理に送られ、外符号に
よるエラー訂正が行われる。そして、Sel EFが外
符号エラーフラグが有効であることを示す値(この例で
は‘0’)とされる。エラー訂正されたビデオデータ,
外符号エラーフラグ,およびSel EFがステップS
51のSDRAM30への書き込み処理に送られる。
On the other hand, if it is determined that there is even one error, the video data, the inner code error flag, and the S
el EF is sent to the process of step S52, and error correction is performed using the outer code. Then, Sel EF is set to a value ('0' in this example) indicating that the outer code error flag is valid. Error-corrected video data,
Outer code error flag, and Sel EF is step S
51 is sent to the writing process to the SDRAM 30.

【0077】SDRAM30に書き込まれたデータの出
力は、ステップS53で行われる。通常速度による再生
で得られたデータは、SDRAM30から行方向に読み
出され、出力される。また、高速再生によって得られた
データは、メモリコントローラ29からそのまま出力さ
れる。このとき、エラーフラグの出力も行われるが、こ
れは、SDRAM30に書き込まれているSel EF
の値に基づいて行われる。すなわち、Sel EF=
‘1’であれば内符号エラーフラグが出力され、Sel
EF=‘0’であれば、外符号エラーフラグが出力さ
れる。後続するコンシール回路では、このSel EF
の値に基づいて、内符号エラーフラグあるいは外符号エ
ラーフラグによってデータのコンシールが行われる。
The output of the data written in the SDRAM 30 is performed in step S53. The data obtained by the reproduction at the normal speed is read from the SDRAM 30 in the row direction and output. The data obtained by the high speed reproduction is output from the memory controller 29 as it is. At this time, an error flag is also output, but this is due to the Sel EF written in the SDRAM 30.
Is performed based on the value of That is, Sel EF =
If it is "1", the inner code error flag is output and Sel
If EF = '0', the outer code error flag is output. In the subsequent conceal circuit, this Sel EF
Based on the value of, the data is concealed by the inner code error flag or the outer code error flag.

【0078】このように、この発明によれば、1ビット
のフラグであるSel EFを設けることによって、外
符号によるエラー訂正処理を簡単にスキップさせること
ができる。
As described above, according to the present invention, by providing the 1-bit flag Sel EF, the error correction processing by the outer code can be easily skipped.

【0079】次に、メモリコントローラ29によるSD
RAM30の制御について説明する。図13,図14,
図15は、このSDRAM30の制御の一例を示すタイ
ムチャートである。図13は、通常速度再生時のSDR
AM30に対するアクセス制御を示す。図中、セグメン
ト0〜5は、それぞれのセグメントに対して設けられた
SDRAM30における領域を示し、また、オーディオ
0〜3は、それぞれのオーディオデータの1エラー訂正
ブロックに対して設けられたSDRAM30における領
域を示す。
Next, SD by the memory controller 29
The control of the RAM 30 will be described. 13, 14,
FIG. 15 is a time chart showing an example of control of the SDRAM 30. FIG. 13 shows SDR during normal speed reproduction.
The access control to AM30 is shown. In the figure, segments 0 to 5 indicate areas in the SDRAM 30 provided for each segment, and audios 0 to 3 indicate areas in the SDRAM 30 provided for one error correction block of each audio data. Indicates.

【0080】図13Aの、SDRAM30に対する、内
符号によるエラー訂正後のビデオデータ書き込み周期に
対してセグメント0〜5のビデオデータが供給され書き
込まれる。そして、書き込まれたこれらのデータに対し
て、ビデオ外符号デコーダ31での、外符号によるエラ
ー訂正処理のための読み出しおよび書き込みが行われ
る。その後、図13Bのビデオデータの読み出し周期に
基づいてビデオデータの出力のための読み出しが行われ
る。図13Dに示されるように、これらビデオデータの
SDRAM30に対する書き込みおよび読み出しは、各
セグメント毎に行われる。また、オーディオデータは、
図13Cに示されるように、1フィールドを書き込みお
よび読み出し周期とされる。そして、図13Eに示され
るように、各チャンネル毎にSDRAM30対するデー
タの書き込みおよび読み出しが行われる。
Video data of segments 0 to 5 is supplied and written in the video data write cycle after error correction by the inner code to the SDRAM 30 of FIG. 13A. Then, these written data are read and written by the video outer code decoder 31 for error correction processing by the outer code. After that, the reading for outputting the video data is performed based on the reading cycle of the video data in FIG. 13B. As shown in FIG. 13D, writing and reading of these video data with respect to the SDRAM 30 are performed for each segment. Also, the audio data is
As shown in FIG. 13C, one field is a write and read cycle. Then, as shown in FIG. 13E, writing and reading of data with respect to the SDRAM 30 are performed for each channel.

【0081】このように、通常速度による再生において
は、内符号によるエラー訂正後のビデオデータ書き込
み,外符号によるエラー訂正処理のための読み出しおよ
び書き込み,ビデオデータの出力のための読み出し,お
よびオーディオデータの書き込みおよび読み出しという
複数の処理が並行的に行われる。これは、上述したよう
に、このエラー訂正デコーダ9の内部のクロックレート
がレートコンバータ22によって46.4MHzという
十分に高いものに変換されているため、これらの処理を
時分割で行うことが可能とされることで実現されるもの
である。
As described above, during reproduction at normal speed, video data writing after error correction by the inner code, reading and writing for error correction processing by the outer code, reading for outputting video data, and audio data A plurality of processes of writing and reading are performed in parallel. This is because the clock rate inside the error correction decoder 9 is converted to a sufficiently high value of 46.4 MHz by the rate converter 22 as described above, so that these processes can be performed in a time division manner. It is realized by being done.

【0082】なお、これらの処理のうち、内符号による
エラー訂正後のビデオデータ書き込みは、そのタイミン
グが外部によって規定されるが、その他の処理について
は、メモリコントローラ29において制御されるもので
ある。
Of these processes, the timing of video data writing after error correction by the inner code is defined by the outside, but the other processes are controlled by the memory controller 29.

【0083】図14は、高速再生時のSDRAM30に
対するアクセス制御を示す。内符号によるエラー訂正後
のビデオデータ書き込みのタイミングおよびSDRAM
30からのビデオデータ読み出しのタイミングは、上述
の通常速度による再生の場合と同じである。この高速再
生の場合には、外符号によるエラー訂正およびオーディ
オデータの出力が無いため、図14Cに示されるよう
に、制御が簡単になっている。また、この高速再生時
は、通常速度による再生時とはテープの速度が異なり、
テープに記録されるデータと磁気ヘッド5との相対速度
が変わる。そのため、図14Aに示される内符号による
エラー訂正後のデータ書き込み処理の周期が上述の図1
3Aに示される周期と異なる。
FIG. 14 shows access control to the SDRAM 30 during high speed reproduction. Timing of writing video data after error correction by inner code and SDRAM
The timing of reading the video data from 30 is the same as in the case of the reproduction at the normal speed described above. In the case of this high-speed reproduction, since there is no error correction by the outer code and the output of the audio data, the control is simple as shown in FIG. 14C. Also, during this high-speed playback, the tape speed is different from that during normal speed playback.
The relative speed between the data recorded on the tape and the magnetic head 5 changes. Therefore, the cycle of the data writing process after the error correction by the inner code shown in FIG.
It differs from the period shown in 3A.

【0084】図15は、このSDRAM30におけるデ
ータの書き込みおよび読み出しの時分割処理の一例を示
す。30フレーム/1秒である場合、1フレームは、4
6.4MHzのクロックで1,546,872クロック
に相当する。このクロックに対して、1008クロック
単位で上述の複数の処理の時分割処理が行われる。
FIG. 15 shows an example of a time division process of writing and reading data in the SDRAM 30. If 30 frames / second, 1 frame is 4
The 6.4 MHz clock corresponds to 1,546,872 clocks. The time division processing of the above-described plurality of processings is performed on this clock in units of 1008 clocks.

【0085】この1008クロックに対して、各々の処
理に必要なクロックが予め割り当てられることによって
時分割処理が行われる。例えば、図15Bに示されるよ
うに、154クロックが内符号および外符号によるエラ
ー訂正処理後のビデオデータ出力に対して割り当てられ
る。16クロックがオーディオ外符号デコーダ32によ
るエラー訂正のためのオーディオデータ読み出しに対し
て割り当てられる。256クロックがビデオ外符号デコ
ーダ31によるエラー訂正のためのビデオデータの書き
込みおよび読み出しに割り当てられる。また、582ク
ロックが内符号によるエラー訂正後のSDRAM30に
対するA/Vデータの書き込みに割り当てられる。
Time division processing is performed by pre-allocating clocks necessary for each processing to the 1008 clock. For example, as shown in FIG. 15B, 154 clocks are allocated to the video data output after the error correction processing by the inner code and the outer code. Sixteen clocks are allocated to audio data reading for error correction by the outer audio code decoder 32. 256 clocks are allocated to writing and reading of video data for error correction by the outer video code decoder 31. Further, 582 clocks are allocated to writing of A / V data to the SDRAM 30 after error correction by the inner code.

【0086】このようなクロック割り当てに対して、先
ず、内符号および外符号によるエラー訂正処理後のビデ
オデータ出力およびオーディオ外符号デコーダ32によ
るエラー訂正のためのオーディオデータ読み出しがそれ
ぞれ154クロックおよび16クロックのうちに行われ
る。そして、続く256クロックでビデオ外符号デコー
ダ31によるエラー訂正のためのビデオデータの書き込
みおよび読み出しが行われ、最後に、内符号によるエラ
ー訂正後のSDRAM30に対するA/Vデータの書き
込みが行われる。この書き込まれたデータは、次の周期
で読み出され、同様の処理が行われる。
For such clock allocation, first, the video data output after the error correction processing by the inner code and the outer code and the audio data read by the audio outer code decoder 32 for the error correction are respectively 154 clocks and 16 clocks. Will be done in time. Then, in the following 256 clocks, video data for error correction is written and read by the outer video code decoder 31, and finally, A / V data is written to the SDRAM 30 after error correction by the inner code. The written data is read out in the next cycle, and the same processing is performed.

【0087】[0087]

【発明の効果】以上説明したように、この発明によれ
ば、Sel EFという1バイトのフラグによって、内
符号エラーフラグおよび外符号エラーフラグのうち何方
を出力するかが指定される。そのため、例えば外符号に
よるエラー訂正が必要ない高速再生のために、外符号デ
コーダの処理をスキップさせる回路を専用に設ける必要
がない。そのため、外符号によるエラー訂正をスキップ
する際にも、通常再生の場合と同様なエラーフラグの出
力回路を用いることができる効果がある。
As described above, according to the present invention, which of the inner code error flag and the outer code error flag is to be output is designated by the 1-byte flag Sel EF. Therefore, it is not necessary to provide a dedicated circuit for skipping the processing of the outer code decoder for high-speed reproduction that does not require error correction by the outer code, for example. Therefore, even when the error correction by the outer code is skipped, it is possible to use the same error flag output circuit as in the normal reproduction.

【0088】また、同様に、内符号によるエラー訂正の
結果エラーが全く無いような場合にも、通常のエラーフ
ラグの出力回路を用いて外符号によるエラー訂正処理を
スキップさせることができる効果がある。これらのた
め、省電力化が容易に実現できる効果がある。
Similarly, even when there is no error as a result of error correction by the inner code, the error correction process by the outer code can be skipped by using the normal error flag output circuit. . Therefore, there is an effect that power saving can be easily realized.

【0089】また、Sel EFという1バイトのフラ
グによってエラー情報を伝えることができ、すべてのシ
ンボルにエラーフラグを付す必要がないため、データ幅
が8ビットのまま内部で扱え、また出力できる。そのた
め、RAMのデータバス幅が8ビットの整数倍であるよ
うな、汎用性があるRAMを使用することができる効果
がある。また、これにより、コストの削減ができる効果
がある。
Further, error information can be transmitted by a 1-byte flag called Sel EF, and since it is not necessary to attach an error flag to all symbols, the data width can be internally handled as 8 bits and can be output. Therefore, it is possible to use a versatile RAM such that the data bus width of the RAM is an integral multiple of 8 bits. In addition, this has the effect of reducing costs.

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

【図1】この発明の実施の一形態によるエラー訂正装置
が適用された、ディジタルビデオ記録/再生装置の構成
の一例をブロック図である。
FIG. 1 is a block diagram showing an example of a configuration of a digital video recording / reproducing apparatus to which an error correcting apparatus according to an embodiment of the present invention is applied.

【図2】ビデオデータにおけるエラー訂正ブロックの構
成の一例を示す略線図である。
FIG. 2 is a schematic diagram showing an example of the configuration of an error correction block in video data.

【図3】オーディオデータにおけるエラー訂正ブロック
の構成の一例を示す略線図である。
FIG. 3 is a schematic diagram showing an example of a configuration of an error correction block in audio data.

【図4】ビデオデータにおけるエラー訂正ブロックにお
ける1シンクブロックの構成の例を概略的に示す略線図
である。
FIG. 4 is a schematic diagram schematically showing an example of the configuration of one sync block in an error correction block in video data.

【図5】エラー訂正デコーダの構成の一例を示す略線図
である。
FIG. 5 is a schematic diagram showing an example of a configuration of an error correction decoder.

【図6】1パケットおけるデータ構成の例を示す略線図
である。
FIG. 6 is a schematic diagram showing an example of a data structure in one packet.

【図7】EFのビット構成を示す略線図である。FIG. 7 is a schematic diagram showing a bit configuration of EF.

【図8】SDRAMに対して1シンクブロック分の再生
データが書き込まれる際のフォーマットの一例を示す略
線図である。
FIG. 8 is a schematic diagram showing an example of a format when one sync block worth of reproduction data is written to the SDRAM.

【図9】SDRAMでのローのアドレス割り当てを示す
略線図である。
FIG. 9 is a schematic diagram showing row address allocation in an SDRAM.

【図10】SDRAMでのカラムのアドレス割り当てを
示す略線図である。
FIG. 10 is a schematic diagram showing column address assignment in an SDRAM.

【図11】SDRAMでのアドレス空間を概略的に示す
略線図である。
FIG. 11 is a schematic diagram schematically showing an address space in an SDRAM.

【図12】データおよびエラーフラグの処理を概略的に
示す略線図である。
FIG. 12 is a schematic diagram schematically showing processing of data and error flags.

【図13】SDRAMに対するアクセス制御を示すタイ
ムチャートである。
FIG. 13 is a time chart showing access control for SDRAM.

【図14】SDRAMに対するアクセス制御を示すタイ
ムチャートである。
FIG. 14 is a time chart showing access control for SDRAM.

【図15】SDRAMに対するアクセス制御を示すタイ
ムチャートである。
FIG. 15 is a time chart showing access control to SDRAM.

【図16】積符号による符号化を用いた、従来技術によ
るディジタル記録/再生装置の構成の一例を示すブロッ
ク図である。
FIG. 16 is a block diagram showing an example of the configuration of a digital recording / reproducing apparatus according to the related art, which uses encoding by product code.

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

9・・・エラー訂正デコーダ、22・・・レートコンバ
ータ、23・・・内符号デコーダ、29・・・メモリコ
ントローラ、30・・・SDRAM、31・・・ビデオ
外符号デコーダ、32・・・オーディオ外符号デコーダ
9 ... Error correction decoder, 22 ... Rate converter, 23 ... Inner code decoder, 29 ... Memory controller, 30 ... SDRAM, 31 ... Video outer code decoder, 32 ... Audio Outer code decoder

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04N 5/92 H04N 5/92 H ──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 6 Identification code Agency reference number FI Technical display location H04N 5/92 H04N 5/92 H

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 積符号によってエラー訂正符号化された
データを復号化するようにしたエラー訂正装置におい
て、 内符号によるエラー訂正を行う内符号デコーダと、 上記内符号デコーダによるエラー訂正が行われた後に外
符号によるエラー訂正を行う外符号デコーダとを有し、 内部のデータフォーマットが、上記内符号によるエラー
訂正の結果、エラーが存在するか否かを示す内符号エラ
ーフラグを格納する領域と、上記内符号によるエラー訂
正が行われたことにより得られた内符号エラーフラグ
と、上記外符号によるエラー訂正が行われたことにより
得られた外符号エラーフラグとの何方が有効であるかを
示すエラーフラグ選択フラグを格納する領域とを有する
ことを特徴とするエラー訂正装置。
1. An error correction device for decoding data that has been error correction coded by a product code, wherein an inner code decoder for error correction by an inner code and an error correction by the inner code decoder are performed. An outer code decoder for performing error correction by an outer code later, and an internal data format, as a result of the error correction by the inner code, an area for storing an inner code error flag indicating whether or not an error exists, Indicates which of the inner code error flag obtained by the error correction by the inner code and the outer code error flag obtained by the error correction by the outer code is effective. An error correction device having an area for storing an error flag selection flag.
【請求項2】 請求項1に記載のエラー訂正装置におい
て、 上記外符号によるエラー訂正の必要が無い場合、上記外
符号デコーダの動作を停止させることを特徴とするエラ
ー訂正装置。
2. The error correction device according to claim 1, wherein the operation of the outer code decoder is stopped when the error correction by the outer code is not necessary.
JP8079504A 1996-03-07 1996-03-07 Error correction device Pending JPH09246998A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8079504A JPH09246998A (en) 1996-03-07 1996-03-07 Error correction device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8079504A JPH09246998A (en) 1996-03-07 1996-03-07 Error correction device

Publications (1)

Publication Number Publication Date
JPH09246998A true JPH09246998A (en) 1997-09-19

Family

ID=13691776

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8079504A Pending JPH09246998A (en) 1996-03-07 1996-03-07 Error correction device

Country Status (1)

Country Link
JP (1) JPH09246998A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009260975A (en) * 2001-08-20 2009-11-05 Qualcomm Inc Method and system for using external decoder in broadcast service communication system
US8291300B2 (en) 2003-08-21 2012-10-16 Qualcomm Incorporated Outer coding methods for broadcast/multicast content and related apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009260975A (en) * 2001-08-20 2009-11-05 Qualcomm Inc Method and system for using external decoder in broadcast service communication system
US8291300B2 (en) 2003-08-21 2012-10-16 Qualcomm Incorporated Outer coding methods for broadcast/multicast content and related apparatus

Similar Documents

Publication Publication Date Title
JPH04320114A (en) Coding/decoding circuit
JPH10275417A (en) Device for recording and reproducing digital information signal and method therefor
WO1998014940A1 (en) Reproducing device and device and method for correcting error
US5432613A (en) Image data processing apparatus and method for processing image data
US6158026A (en) Scrambling apparatus, method thereof, descrambling apparatus, and method thereof
US5986593A (en) Reproducing apparatus, error correcting device and error correcting method
JPH09246998A (en) Error correction device
US6118921A (en) Apparatus and method for reproducing a video segment for a digital video cassette recorder
JP2001157172A (en) Device for recording digital signal and recording medium
JP3809719B2 (en) Digital video signal processing apparatus and method, digital video signal reproduction apparatus, decoding apparatus and method, and reproduction apparatus and method
JP3173949B2 (en) Disc playback device
JP3882257B2 (en) Recording / reproducing apparatus and method
JPH09259403A (en) Device for recording and reproducing audio and video data and method therefor
JPH09246997A (en) Error correction device
JPH04143904A (en) Digital picture recording device
JPH09246996A (en) Error correction device
KR100208665B1 (en) Method for decoding digital vhs and the decoder therefor
JP3834922B2 (en) Error correction apparatus and method
JPH0690859B2 (en) Digital information signal processing method
JP3744134B2 (en) Error correction apparatus and method, and digital signal reproduction apparatus and method
JPH0783275B2 (en) Error correction code decoding device
GB2275151A (en) Image data processing for digital video tape recorder
JPH11164261A (en) Digital video signal processing unit and digital video signal reproduction device
JP2001177419A (en) Error correction device and program recording medium
JP2606221B2 (en) Digital VTR playback circuit