JP3418718B2 - Control device for magnetic tape device and method for detecting resynchronization signal - Google Patents

Control device for magnetic tape device and method for detecting resynchronization signal

Info

Publication number
JP3418718B2
JP3418718B2 JP06341196A JP6341196A JP3418718B2 JP 3418718 B2 JP3418718 B2 JP 3418718B2 JP 06341196 A JP06341196 A JP 06341196A JP 6341196 A JP6341196 A JP 6341196A JP 3418718 B2 JP3418718 B2 JP 3418718B2
Authority
JP
Japan
Prior art keywords
data
bit
byte
circuit
read
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.)
Expired - Fee Related
Application number
JP06341196A
Other languages
Japanese (ja)
Other versions
JPH09258910A (en
Inventor
一人 浅井
裕之 稗田
義典 永井
克彦 福田
一 川▲崎▼
大直 小西
泰典 西村
雅彦 片田
小百合 田中
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.)
Fujitsu Ltd
Fujitsu Peripherals Ltd
Original Assignee
Fujitsu Ltd
Fujitsu Peripherals Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd, Fujitsu Peripherals Ltd filed Critical Fujitsu Ltd
Priority to JP06341196A priority Critical patent/JP3418718B2/en
Publication of JPH09258910A publication Critical patent/JPH09258910A/en
Application granted granted Critical
Publication of JP3418718B2 publication Critical patent/JP3418718B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、磁気テープ装置の
制御装置及びその制御装置における再同期信号検出方法
に関し、特に、磁気テープ装置の大容量化,高機能化,
転送速度の高速化を実現させるための制御装置と、磁気
テープ装置からの読み出しデータ中の再同期信号を検出
する再同期信号検出方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control device for a magnetic tape device and a resynchronization signal detecting method for the control device.
The present invention relates to a control device for realizing a high transfer rate and a resynchronization signal detection method for detecting a resynchronization signal in read data from a magnetic tape device.

【0002】[0002]

【従来の技術及び発明が解決しようとする課題】近年の
コンピュータシステムの高速化に伴い、周辺装置である
磁気テープ装置においても高速化が要求されている。こ
のため、データバス幅の拡大、制御方法の改善が必要と
されている。
2. Description of the Related Art With the increase in speed of computer systems in recent years, there has been a demand for higher speed in magnetic tape devices, which are peripheral devices. Therefore, it is necessary to increase the data bus width and improve the control method.

【0003】図2は、テープサブシステムの構成図であ
り、テープサブシステムは、上位装置としてのホスト1
0と、データを記録する磁気テープユニット(MTU:
Magneteic Tape Unit)12と、ホ
スト10及びMTU12間に介在されてデータのフォー
マット変換を行う磁気テープ制御装置(MTC:Mag
neteic Tape Cotroller)11と
から構成されている。データ書き込み時には、ホスト1
0からのデータがMTC11に入力され、ここでフォー
マット変換が行われた後にMTU12にデータが転送さ
れる。データ読み取り時には、MTU12からの読み出
しデータがMTC11に転送され、ここで誤り訂正が行
われると共にフォーマット変換が行われた後にデータが
ホスト10に送られる。なお、MTC11は、ホスト1
0とのデータの送受を行うためのインターフェース部1
1aと、フォーマット変換,誤り訂正等の処理を行うデ
ータフォーマット部11bと、データをD/A変換・A
/D変換するデータ変換部11cとを有する。
FIG. 2 is a block diagram of the tape subsystem. The tape subsystem is a host 1 as a host device.
0 and a magnetic tape unit (MTU:
A magnetic tape unit (MTC) that intervenes between the host computer 10 and the MTU 12 to perform data format conversion (MTC: Mag).
and a nete tape controller 11). When writing data, host 1
The data from 0 is input to the MTC 11, where the format conversion is performed and then the data is transferred to the MTU 12. When reading data, the read data from the MTU 12 is transferred to the MTC 11, where error correction is performed and format conversion is performed, and then the data is sent to the host 10. The MTC 11 is the host 1
Interface unit 1 for sending and receiving data with 0
1a, a data format section 11b that performs processing such as format conversion and error correction, and data D / A conversion / A
And a data conversion unit 11c that performs / D conversion.

【0004】図1は、MTC11のデータフォーマット
部11bの内部構成を示すブロック図であり、データフ
ォーマット部11bは、MTU12内の磁気テープ上に
記録するためのフォーマット化を行う書き込みフォーマ
ット部11dと、磁気テープから読み出したデータのト
ラックずれを補正したり、データの誤り検出及び訂正を
行う読み出しフォーマット部11eとに分けられる。
FIG. 1 is a block diagram showing the internal structure of the data format section 11b of the MTC 11. The data format section 11b includes a write format section 11d for formatting for recording on the magnetic tape in the MTU 12. It is divided into a read format section 11e for correcting track deviation of data read from the magnetic tape and for detecting and correcting data errors.

【0005】書き込みフォーマット部11dは、残余バ
イト作成回路1と、マルチプレクサ2,4と、誤り訂正
符号化回路3とを有する。残余バイト作成回路1は、ホ
スト10からのデータをテープフォーマットに合わせる
ために必要な残余バイト(RESIDUAL−BYT
E)を作成する。マルチプレクサ2は、ホスト10から
のカスタム(CUSTOM)データ,残余バイト作成回
路1からの残余バイト,ブロック(BLOCK)ID,
冗長バイトであるパッド(PAD)バイト等を結合す
る。誤り訂正符号化回路3は、誤り訂正のため検査キャ
ラクタである誤り訂正符号(ECC:Error Co
rrection Code)を作成する。誤り訂正符
号としては、AXP(Adaptive Cross
Parity)符号またはリードソロモン(Reed−
Solomon)符号が良く使われている。マルチプレ
クサ4は、マルチプレクサ2及び誤り訂正符号化回路3
の出力を結合する。
The write format section 11d has a residual byte creation circuit 1, multiplexers 2 and 4, and an error correction coding circuit 3. The residual byte creating circuit 1 is a residual byte (RESIDUAL-BYT) necessary for adjusting the data from the host 10 to the tape format.
Create E). The multiplexer 2 has custom (CUSTOM) data from the host 10, residual bytes from the residual byte generation circuit 1, block (BLOCK) ID,
Pad (PAD) bytes, which are redundant bytes, are combined. The error correction coding circuit 3 uses an error correction code (ECC: Error Co) which is a check character for error correction.
redirection code). The error correction code is AXP (Adaptive Cross).
Parity code or Reed-Solomon (Reed-
The Solomon) code is often used. The multiplexer 4 includes the multiplexer 2 and the error correction coding circuit 3.
Combine the outputs of.

【0006】一方、読み出しフォーマット部11eは、
デスキュー回路5と、シンドローム作成回路6と、誤り
訂正回路7と、フレームバッファ8とを有する。デスキ
ュー回路5は、MTU12から読み出したデータ間のず
れを補正する。磁気テープに記録されたデータを読み込
んだ時に、磁気テープと磁気ヘッドとは一般的には垂直
にならず、ある程度の誤差角度が生じるので、それに応
じてデータ間のずれ(スキュー)が発生する。デスキュ
ー回路5はこのデータ間のずれを補正する。シンドロー
ム作成回路6は、読み出しデータの誤りの有無を判定す
るためのシンドロームと呼ばれる情報を作成する。誤り
訂正回路7は、読み出しデータの誤りを訂正する。フレ
ームバッファ8は、磁気テープのデータ読み出し方向に
よるデータの並べ換え、及び、誤り訂正回路7において
誤り係数の計算が行われる間のデータの保持(遅延)を
行う。
On the other hand, the read format section 11e is
The deskew circuit 5, the syndrome generation circuit 6, the error correction circuit 7, and the frame buffer 8 are included. The deskew circuit 5 corrects the deviation between the data read from the MTU 12. When the data recorded on the magnetic tape is read, the magnetic tape and the magnetic head are not generally perpendicular to each other, and an error angle is generated to some extent, and accordingly a shift (skew) between the data occurs. The deskew circuit 5 corrects the deviation between the data. The syndrome creating circuit 6 creates information called a syndrome for determining whether or not there is an error in read data. The error correction circuit 7 corrects an error in read data. The frame buffer 8 rearranges the data according to the data reading direction of the magnetic tape, and holds (delays) the data while the error correction circuit 7 calculates the error coefficient.

【0007】テープサブシステムでは、1フレームは一
般的に18バイト(14バイトのデータ等と4バイトの
誤り訂正符号(ECC))にて構成されており、従来例
では8ビットまたは9ビットを1バイトとして、バイト
単位にデータの転送を行っている。以下に、データフォ
ーマット部11b内の各回路における従来の構成,動作
について説明する。
In the tape subsystem, one frame is generally composed of 18 bytes (14 bytes of data etc. and 4 bytes of error correction code (ECC)). In the conventional example, 8 bits or 9 bits are 1 As bytes, data is transferred byte by byte. The conventional configuration and operation of each circuit in the data format section 11b will be described below.

【0008】(残余バイト作成回路1)図61は、磁気
テープに記録されたデータブロックフォーマットの例を
示す図である。データブロックは、先頭が「IBG」フ
レーム,「ALL1」フレームで始まり、次に同期のた
めの「SYNC」フレーム,データ領域の始まりを示す
「PREFIX0」「PREFIX1」フレームが記録
され、その後、先頭が「SYNC」フレームまたは「R
ESYNC」フレームで始まる72フレーム毎のデータ
グループが繰り返される。
(Residual Byte Creating Circuit 1) FIG. 61 is a diagram showing an example of a data block format recorded on a magnetic tape. The data block starts with an "IBG" frame and an "ALL1" frame, then a "SYNC" frame for synchronization, and a "PREFIX0" and "PREFIX1" frame indicating the start of the data area are recorded. "SYNC" frame or "R"
The data group is repeated every 72 frames starting with the "ESYNC" frame.

【0009】1番目のデータグループには69フレーム
のデータ(DATA)が記録され、2番目以降のデータ
グループにはそれぞれ71フレームのデータ(DAT
A)が記録される。そして、最終番目の データグルー
プには、残った(n−1)フレームのデータ(DAT
A)が記録される。その後、「RESID1」「RES
ID2」「COMP1」「COMP2」「SYNC」の
各フレームが記録され、最後に「SYNC」「ALL
1」の各フレームが記録される。
69 frames of data (DATA) are recorded in the first data group, and 71 frames of data (DAT) are recorded in the second and subsequent data groups.
A) is recorded. Then, in the final data group, the remaining (n-1) frame data (DAT)
A) is recorded. After that, "RESID1""RES
Each frame of ID2, "COMP1", "COMP2", and "SYNC" is recorded, and finally "SYNC" and "ALL" are recorded.
Each frame of "1" is recorded.

【0010】「SYNC」フレーム及び「RESYN
C」フレームには、何れも同じ9ビットの特殊コード
(100010001)が記録され、両者のフレームは
同一のコードである。この「SYNC」フレームまたは
「RESYNC」フレームに基づいて、同期信号または
再同期信号が検出される。同期信号または再同期信号
は、データグループの開始を知らせ、しかも、デスキュ
ー回路5におけるスキュー補正のトリガとなる信号であ
る。
"SYNC" frame and "RESYN"
The same 9-bit special code (100010001) is recorded in each of the "C" frames, and both frames have the same code. The sync signal or the resync signal is detected based on the "SYNC" frame or the "RESSYNC" frame. The synchronization signal or the re-synchronization signal is a signal that notifies the start of the data group and that triggers skew correction in the deskew circuit 5.

【0011】ブロックID(BLOCK ID:BI
D)は、4バイトで構成されており、ブロックの通し番
号である。1フレームは14バイトが一単位であるの
で、ホスト10からのカスタムデータのバイト数によっ
ては、14バイトに構成するためのつめもの用のバイト
(0〜13バイト)が必要であり、このバイトをパッド
バイト(PAD BYTE)という。残余バイトカウン
ト(RESIDUAL BYTE COUNT)の1バ
イトは、パッドバイトが何バイト詰まっているかを下位
4ビットで表し、上位4ビットには他の情報が入る。
Block ID (BLOCK ID: BI
D) is composed of 4 bytes and is a block serial number. Since 1 frame has 14 bytes as a unit, depending on the number of bytes of custom data from the host 10, a byte (0 to 13 bytes) for the pawl is required to configure 14 bytes. It is called a pad byte (PAD BYTE). One byte of the residual byte count (RESIDUAL BYTE COUNT) indicates how many bytes the pad bytes are packed by the lower 4 bits, and the upper 4 bits contain other information.

【0012】具体的に、ホスト10からのカスタムデー
タが12バイトの場合と、7バイトの場合とにおけるデ
ータフォーマットを図62,図63にそれぞれ示す。図
62に示す12バイトの場合では、パッドバイトが9バ
イトとなり、残余バイトカウントに9が入る。図63に
示す7バイトの場合では、パッドバイトの必要性がない
ので、残余バイトカウントに0が入る。以上のように、
カスタムデータの長さに応じて、0〜13の値が残余バ
イトカウントに入る。
[0012] Concretely, data formats when the custom data from the host 10 is 12 bytes and 7 bytes are shown in FIGS. 62 and 63, respectively. In the case of 12 bytes shown in FIG. 62, the pad byte is 9 bytes, and 9 is entered in the remaining byte count. In the case of 7 bytes shown in FIG. 63, there is no need for pad bytes, so 0 is entered in the remaining byte count. As mentioned above,
Depending on the length of the custom data, a value from 0 to 13 will be in the residual byte count.

【0013】残余バイト作成回路1の従来例の構成を図
64に示す。残余バイト作成回路1は、AND(論理
積)回路13とNOR回路14とMOD14カウンタ1
5とを有する。CKは、カウンタ15を動作させるため
のクロックである。−RSYNCは、72フレーム毎に
発生するRESYNCの制御信号であり、この信号がロ
ーである場合にカウンタ15の動作は停止する。WRB
Kは、レジスタからセットされる信号であり、書き込み
ブロックが開始された時にのみセットされる。SMDC
は、フレームデータ作成時にブロックIDの選択の終了
を示し、この信号がローである場合に、ブロックIDが
終了したことを表しカウンタ15の動作は停止する。C
USTBLKは、カスタムデータまたはブロックIDで
ある場合にハイになる。−CLRは、カウンタ値をクリ
アすべくレジスタからセットされる信号であり、装置初
期化時及び「IBG」フレーム中にセットされる。−M
OD1〜−MOD8は、パッドバイトの数を表す信号で
あり、これらの信号が表す値が残余バイトカウントの1
バイトの下位4ビットに反映される。
FIG. 64 shows the configuration of a conventional example of the residual byte generation circuit 1. The residual byte creation circuit 1 includes an AND (logical product) circuit 13, a NOR circuit 14, and a MOD 14 counter 1.
5 and. CK is a clock for operating the counter 15. -RSYNC is a RESYNC control signal that is generated every 72 frames, and when this signal is low, the operation of the counter 15 is stopped. WRB
K is a signal set from the register and is set only when the write block is started. SMDC
Indicates the end of the selection of the block ID when the frame data is created, and when this signal is low, it indicates that the block ID has ended, and the operation of the counter 15 is stopped. C
USTBLK goes high if it is a custom data or block ID. -CLR is a signal that is set from the register to clear the counter value, and is set at device initialization and during the "IBG" frame. -M
OD1 to -MOD8 are signals that represent the number of pad bytes, and the values represented by these signals are 1 of the residual byte count.
Reflected in the lower 4 bits of the byte.

【0014】残余バイトカウントの1バイトはmod1
4カウンタ15によって実現し、カウンタ15の出力値
はパッドバイトの数を表す。このカウンタ15は、カス
タムデータ,ブロックIDの数をカウントアップし、
「RESYNC」フレーム中及びECCの4バイト時に
は、その動作を停止する。
One byte of the remaining byte count is mod1
4 counter 15 and the output value of the counter 15 represents the number of pad bytes. This counter 15 counts up the number of custom data and block ID,
The operation is stopped in the "RESSYNC" frame and when the ECC has 4 bytes.

【0015】カスタムデータが8バイトである場合の動
作について説明する。図65はその場合のタイミングチ
ャート、図66はmod14カウンタ15の出力をそれ
ぞれ示す。
The operation when the custom data is 8 bytes will be described. FIG. 65 shows a timing chart in that case, and FIG. 66 shows an output of the mod 14 counter 15.

【0016】装置初期化時及び「IBG」フレーム中
に、カウンタ15の初期化が行われる。このときのカウ
ンタ値は、”0000”である。ファームウェアによ
り、レジスタからWRBK信号が書き込みブロック開始
時のみセットされる。このときのカウンタ値は、”00
10”である。カスタムデータを処理する頃になると、
CUSTBLK信号がセットされ、カウンタ15のカウ
ント動作を開始する。ブロックIDが終了すると、SM
DC信号がリセットされ、カウント動作を停止する。カ
ウント動作が停止した際のカウンタ値(”0010”)
の反転信号となる−MOD1〜−MOD8の値(”11
01”=13)が、残余バイトカウントの下位4ビット
に入る。
The counter 15 is initialized at the time of device initialization and during the "IBG" frame. The counter value at this time is "0000". The firmware sets the WRBK signal from the register only at the beginning of the write block. The counter value at this time is "00
10 ". When it comes time to process custom data,
The CUSTBLK signal is set, and the counting operation of the counter 15 is started. When the block ID ends, SM
The DC signal is reset and the counting operation is stopped. Counter value when the count operation is stopped ("0010")
Value of "-MOD1" to "-MOD8"("11
01 "= 13) enters the lower 4 bits of the residual byte count.

【0017】(誤り訂正符号化回路3)AXP符号を用
いる誤り訂正方式では、18個のトラックのうちの14
個のトラックにそれぞれ1フレームのデータが書き込ま
れ、これらの14個のトラックのデータに対する誤り訂
正符号が残りの4トラックに書き込まれる。誤り訂正符
号は、DRC(Diagonal Redundanc
y Check)キャラクタと、VRC(Vertic
al Redundancy Check)キャラクタ
とから構成されている。全18トラックは、9トラック
ずつ、奇数トラックがセットA,偶数トラックがセット
Bに分けられる。
(Error Correction Coding Circuit 3) In the error correction system using the AXP code, 14 out of 18 tracks are used.
One frame of data is written in each of the 14 tracks, and error correction codes for the data of these 14 tracks are written in the remaining 4 tracks. The error correction code is DRC (Diagonal Redundancy).
y Check) character and VRC (Vertic)
al Redundancy Check) character. All 18 tracks are divided into set A of 9 odd tracks and set B of even tracks.

【0018】DRCは、誤り訂正符号用のトラック中の
0Aトラック及び0Bトラックに記録される。このDR
Cの2バイトは、他のトラックに記録されたVRC以外
(15ビット)から計算され、m番目の値は以下の通り
である。
The DRC is recorded on the 0A track and the 0B track in the error correction code track. This DR
The 2 bytes of C are calculated from other than VRC (15 bits) recorded in another track, and the m-th value is as follows.

【0019】A0m =(A1m-1 +A2m-2 +A3m-3
+・・・+A7m-7 +B7m-8 +B6m-9 +B5m-10
・・・+B0m-15MOD2 B0m =(B1m-1 +B2m-2 +B3m-3 +・・・+B
m-7 +A7m-8 +A6m-9 +A5m-10+・・・+A0
m-15MOD2
A0 m = (A1 m-1 + A2 m-2 + A3 m-3
+ ・ ・ ・ + A7 m-7 + B7 m-8 + B6 m-9 + B5 m-10
... + B0 m-15 ) MOD2 B0 m = (B1 m-1 + B2 m-2 + B3 m-3 + ... + B
7 m-7 + A7 m-8 + A6 m-9 + A5 m-10 + ... + A0
m-15 ) MOD2

【0020】図67は従来のDRCの作成方法の原理を
説明するための図、図68は実際にユーザデータのDR
CA,DRCBを計算した結果を示す図表、図69は従
来のDRC作成回路の構成を示す図である。DRC作成
回路は、クロックのタイミングを調節してデータを斜め
に取り込む1個のビットマトリックスアレイ81及び各
フレームに対応した3個のFFアレイ82からなる回路
系を、セットA及びセットB用に1組ずつ有しており、
各回路系からの出力が、VRC作成回路83からのVR
CA及びVRCBと共にマルチプレクサ84にて結合さ
れる。
FIG. 67 is a diagram for explaining the principle of a conventional DRC creating method, and FIG. 68 is an actual DR of user data.
FIG. 69 is a diagram showing a result of calculating CA and DRCB, and FIG. 69 is a diagram showing a configuration of a conventional DRC creating circuit. The DRC creation circuit has a circuit system consisting of one bit matrix array 81 for obliquely taking in data by adjusting the clock timing and three FF arrays 82 corresponding to each frame, one for set A and one for set B. We have each group,
The output from each circuit system is the VR from the VRC creating circuit 83.
Together with CA and VRCB at multiplexer 84.

【0021】DRCは、斜め方向の冗長検査であるの
で、斜め方向に対して冗長なデータを付加することでデ
ータのチェックをする。この際、斜め方向にデータを取
り込んでいくので隣合う3フレームのデータに跨がって
DRCは作成され、VRCを除いた斜め方向のデータに
対して、1ビットずつ偶数パリティを取っていくことで
DRCを作成する。
Since the DRC is a diagonal redundancy check, the data is checked by adding redundant data in the diagonal direction. At this time, since the data is taken in diagonally, the DRC is created across the data of three adjacent frames, and even parity is taken bit by bit for the data in the diagonal direction excluding VRC. Create a DRC with.

【0022】VRCは、誤り訂正符号用のトラック中の
8Aトラック及び8Bトラックに記録される。このVR
Cの2バイトは、セットA(7ビットのデータ+DRC
A),セットB(7ビットのデータ+DRCB)各々で
計算され、m番目の値は以下の通りである。
VRC is recorded on the 8A track and the 8B track in the track for error correction code. This VR
2 bytes of C are set A (7-bit data + DRC
A) and set B (7-bit data + DRCB) are calculated, and the m-th value is as follows.

【0023】A8m =(A0m +A1m +A2m +・・
・+A7m MOD2 但し、A0m :DRCA A1m ,A2m ,・・・.A7m :データ B8m =(B0m +B1m +B2m +・・・+B7m
MOD2 但し、B0m :DRCB B1m ,B2m ,・・・.B7m :データ
A8 m = (A0 m + A1 m + A2 m + ...
. + A7 m ) MOD2 However, A0 m : DRCA A1 m , A2 m , ... A7 m : Data B8 m = (B0 m + B1 m + B2 m + ... + B7 m )
MOD2 However, B0 m : DRCB B1 m , B2 m , ... B7 m : Data

【0024】図70は従来のVRCの作成方法の原理を
説明するための図、図71は実際にユーザデータのVR
CA,VRCBを計算した結果を示す図表、図72は従
来のVRC作成回路の構成を示す図である。VRC作成
回路85は、8個のトグル動作のJKフリップ・フロッ
プをそれぞれ有する、VRCA作成用のVRCA作成回
路86とVRCB作成用のVRCB作成回路87とに分
かれる。
FIG. 70 is a diagram for explaining the principle of a conventional VRC creating method, and FIG. 71 is an actual VR of user data.
FIG. 72 is a diagram showing a result of calculating CA and VRCB, and FIG. 72 is a diagram showing a configuration of a conventional VRC creating circuit. The VRC creating circuit 85 is divided into a VRCA creating circuit 86 for creating VRCA and a VRCB creating circuit 87 for creating VRCB, each of which has eight JK flip-flops for toggle operation.

【0025】VRCは、縦方向の冗長検査であるので、
縦方向に対して冗長なデータを付加することでデータの
チェックをする。この際、縦方向にデータを取り込んで
いくのでVRCは1フレーム内で作成される。全体とし
てVRCA用,VRCB用の2つの作成回路86,87
(8ビット)で構成され、セットAで1バイトずつ入力
するとVRCAのそれぞれのビットに対応する回路に入
力され、セットBで1バイトずつ入力するとVRCBの
それぞれのビットに対応する回路に入力される。VRC
Aビット1はバイト1,2,3,4,5,6,7,DR
CAのビット1を入力とする。VRCAビット2はバイ
ト1,2,3,4,5,6,7,DRCAのビット2を
入力とする。その他も同様である。
Since VRC is a vertical redundancy check,
Data is checked by adding redundant data in the vertical direction. At this time, since data is taken in in the vertical direction, VRC is created within one frame. Two creation circuits 86 and 87 for VRCA and VRCB as a whole
It is composed of (8 bits), and when 1 byte is input in set A, it is input to the circuit corresponding to each bit of VRCA, and when 1 byte is input in set B, it is input to the circuit corresponding to each bit of VRCB. . VRC
A bit 1 is byte 1, 2, 3, 4, 5, 6, 7, DR
Input bit 1 of CA. The VRCA bit 2 receives the bytes 1, 2, 3, 4, 5, 6, 7, and bit 2 of DRCA as an input. Others are the same.

【0026】データとしては、1バイトずつ入力される
ので、1つのタイミングで1ビットのVRC作成回路に
は1ビットだけ入力される。そして、セットA,セット
B各々1ビットは、縦方向のデータ7ビットとDRC1
ビットに対して偶数パリティを持つことと同じである。
即ち、VRCAはデータバイト1〜7とDRCAとの偶
数パリティをとっているのと同じであり、VRCBはデ
ータバイト8〜14とDRCBとの偶数パリティをとっ
ているのと同じである。
Since data is input byte by byte, only 1 bit is input to the 1 bit VRC generation circuit at one timing. 1 bit each of set A and set B is 7 bits of vertical data and DRC1.
This is the same as having even parity for bits.
That is, VRCA is the same as taking even parity between data bytes 1-7 and DRCA, and VRCB is the same as taking even parity between data bytes 8-14 and DRCB.

【0027】図72に示す回路構成では、CKとタイミ
ング信号とでデータの取り込みタイミングを制御する。
データをトグル動作のJKフリップ・フロップに入力す
ることで偶数パリティをとっていることになる。1フレ
ームにおけるデータ入力順序は以下のようになり、1フ
レームの動作をするのに18タイミングが必要である。 データ入力順序 タイミング (1) (2) (3) (4) (5) (6) バイト 1 2 3 4 5 6 タイミング (7) (8) (9) (10) (11) (12) バイト 7 DRCA VRCA 8 9 10 タイミング (13) (14) (15) (16) (17) (18) バイト 11 12 13 14 DRCB VRCB
In the circuit configuration shown in FIG. 72, the data acquisition timing is controlled by CK and the timing signal.
Even parity is taken by inputting the data to the JK flip-flop which operates in the toggle mode. The data input order in one frame is as follows, and 18 timings are required to operate one frame. Data input order Timing (1) (2) (3) (4) (5) (6) Byte 1 2 3 4 5 6 Timing (7) (8) (9) (10) (11) (12) Byte 7 DRCA VRCA 8 9 10 Timing (13) (14) (15) (16) (17) (18) Byte 11 12 13 14 DRCB VRCB

【0028】また、36トラックの磁気テープ装置の誤
り訂正符号としてリードソロモン符号が採用されてい
る。ガロア体GF(q)上の原始元をαとするとき、 αh ,αh+1 ,αh+2 ,・・・,αh+d-2 (0≦h<q
−1,2≦d≦q) を根とする符号長n=q−1のq元巡回符号がリードソ
ロモン符号であり、デジタル信号を扱う装置において、
実用上重要なq=2m ,h=0の場合、 符号長 n=2m −1 情報点数 k=2m −d 検査点数 n−k=d−1 最小距離 dmin =d=n−k+1 の2m 元符号となり、生成多項式G(x)は、 G(x)=(x−αd-2 )・・・(x−α2 )(x−
α)(x−1) となり、αd-2 ,・・・,α2 ,α,1を根とする多項
式である。リードソロモン符号の任意の符号多項式C
(x)は、αd-2 ,・・・,α2 ,α,1を根とする。
A Reed-Solomon code is used as an error correction code for a 36-track magnetic tape device. When the primitive element on the Galois field GF (q) is α, α h , α h + 1 , α h + 2 , ..., α h + d-2 (0 ≦ h <q
-1, 2, ≤ d ≤ q) is a Reed-Solomon code, which is a q-ary cyclic code with a code length n = q-1 and is a device that handles digital signals.
In the case of q = 2 m and h = 0, which are important for practical use, code length n = 2 m −1 information points k = 2 m −d inspection points n−k = d−1 minimum distance d min = d = n−k + 1 becomes 2 m original code, generator polynomial G (x), G (x) = (x -α d-2) ··· (x-α 2) (x-
α) (x-1), which is a polynomial whose roots are α d-2 , ..., α 2 , α, 1. Arbitrary code polynomial C of Reed-Solomon code
(X) has α d−2 , ..., α 2 , α, 1 as a root.

【0029】言い換えれば、n−1次以下のGF
(28 )上の多項式C(x)が符号多項式となるための
必要条件は、 C(α0 )=0 C(α1 )=0 ・ ・ ・ C(αd-2 )=0 であり、ij (0≦j≦k−1)をGF(28 )の元と
し、k≦28 −dであるk個の情報語i0 ,i1 ,・・
・,ik-1 を符号化する場合、 I(x)=ik-1 k-1 +・・・+i2 2 +i1 x+
0 という情報多項式I(x)を作る。
In other words, GFs of order n−1 or less
The necessary condition for the polynomial C (x) on (2 8 ) to be a code polynomial is that C (α 0 ) = 0 C (α 1 ) = 0 ... C (α d-2 ) = 0 , i j a (0 ≦ j ≦ k-1 ) as the original GF (2 8), k ≦ 2 8 k pieces of information word i 0 is -d, i 1, ··
., I k-1 is encoded, I (x) = i k-1 x k-1 + ... + i 2 x 2 + i 1 x +
An information polynomial I (x) called i 0 is created.

【0030】次に、I(x)にxd-1 を乗算し、生成多
項式G(x)で除算したときの剰余多項式をD(x)と
する。この場合の商多項式をQ(x)とすると、これら
の多項式の関係は以下のようになる。 I(x)×xd-1 =Q(x)×G(x)+D(x) ここで、剰余多項式D(x)はxd-2 次以下の多項式で
あるので、 D(x)=dd-2 ×xd-2 +・・・+d2 ×x2 +d1
×x+d0 とする。符号に対応する多項式(符号多項式)は、G
(x)で割り切れる必要があるため、 C(x)=Q(x)×G(x) =I(x)×xd-1 +D(x) 〔GF上の減算と加算とは同一〕 となり、C(x)の係数からなるGF(28 )上のn次
元ベクトルは、 C=(cn-1 ,・・・,c2 ,c1 ,c0 ) =(ik-1 ,・・・,i2 ,i1 ,i0 ,dd-2 ,・・・,d1 ,d0 ) となる。これが情報語i0 ,i1 ,・・・,ik-1 に対
するリードソロモン符号の符号語である。検査語
d-2 ,・・・,d1 ,d0 は、情報語i0 ,i1 ,・
・・,ik-1 から以上のように、多項式の除算を用いて
求められる。また、検査バイトd3 ,d2 ,d1 ,d0
は検査行列を用いて導くことができる。
Next, I (x) is multiplied by x d-1, and the remainder polynomial when divided by the generator polynomial G (x) is D (x). If the quotient polynomial in this case is Q (x), the relationship between these polynomials is as follows. I (x) × x d−1 = Q (x) × G (x) + D (x) Here, since the remainder polynomial D (x) is a polynomial of order x d−2 or less, D (x) = d d-2 × x d-2 + ・ ・ ・ + d 2 × x 2 + d 1
Let xx + d 0 . The polynomial (code polynomial) corresponding to the code is G
Since it must be divisible by (x), C (x) = Q (x) × G (x) = I (x) × x d-1 + D (x) [subtraction and addition on GF are the same] , C (x), the n-dimensional vector on GF (2 8 ) is C = (c n−1 , ..., C 2 , c 1 , c 0 ) = (i k−1 , ... .., i 2 , i 1 , i 0 , d d-2 , ..., d 1 , d 0 ). This is the code word of the Reed-Solomon code for the information words i 0 , i 1 , ..., I k-1 . The inspection words d d-2 , ..., d 1 , d 0 are information words i 0 , i 1 ,.
.., i k-1 is obtained using the polynomial division as described above. Also, the inspection bytes d 3 , d 2 , d 1 , d 0
Can be derived using a check matrix.

【0031】GF(2m )上のn−1次以下の多項式
が、αd-2 ,・・・,α2 ,α,1を根として持つなら
ば、検査行列Hと上記リードソロモン符号の符号語Cの
転置行列Ct との積は0行列となる。
If a polynomial of degree n−1 or less on GF (2 m ) has α d-2 , ..., α 2 , α, 1 as a root, the parity check matrix H and the Reed-Solomon code are The product of the code word C and the transposed matrix C t is a zero matrix.

【0032】[0032]

【数1】 [Equation 1]

【0033】ここで、この行列式は以下のように書き直
せる。
Here, this determinant can be rewritten as follows.

【0034】[0034]

【数2】 [Equation 2]

【0035】またこの式は、以下の行列式として表さ
れ、クラメルの公式を用いてdd-2 ,・・・,d1 ,d
0 について解けば、a0 〜ad-2 とαのべきとを用いた
乗算処理及び加算処理によって検査語を求めることがで
きる。
This equation is expressed as the following determinant, and using the Kramel formula, d d-2 , ..., d 1 , d
If 0 is solved, the check word can be obtained by a multiplication process and an addition process using a 0 to a d-2 and a power of α.

【0036】[0036]

【数3】 [Equation 3]

【0037】以上のような符号化を実行するための回路
構成について説明する。図73は、生成多項式で除算を
行う場合の回路構成を示し、LFSR(リニアフィード
バックシフトレジスタ)と呼ばれるフィードバックレジ
スタを採用し、加算回路25とレジスタ26とαのべき
の乗算回路27とから構成され、情報語を1バイト単位
で順次入力を行い、即ち情報多項式を構成するために最
初に入力するバイトを最上位バイトとして除算を行い、
最下位バイトの入力が終了した時点の剰余を求める。
A circuit configuration for executing the above encoding will be described. FIG. 73 shows a circuit configuration in the case of performing division by a generator polynomial, which employs a feedback register called an LFSR (linear feedback shift register) and is composed of an adder circuit 25, a register 26, and a power of α multiplication circuit 27. , Information words are sequentially input in 1-byte units, that is, division is performed with the first input byte for constructing an information polynomial as the most significant byte,
Find the remainder when the least significant byte is input.

【0038】検査行列による符号化の場合の回路は、図
74,図75に示す情報語の総和を計算する回路と
0 ,a1 ,・・・,ad-2 ,d0 ,d1 ,・・・,d
d-2 を求めるためのαのべきの乗算及び加算を行う回路
とが必要である。
The circuit in the case of encoding by the check matrix is the circuit for calculating the sum of the information words shown in FIGS. 74 and 75 and a 0 , a 1 , ..., A d-2 , d 0 , d 1. ,,, d
A circuit for performing multiplication and addition of powers of α to obtain d-2 is required.

【0039】このときに総和を計算する回路は、情報語
の各々のバイトにαのべきを順次乗算する必要があり、
通常、α0 ,α1 ,α2 ,・・・,αn-1 を乗算するた
めに構成が簡単な乗算回路27と加算回路25とレジス
タ26とを組み合わせ、1バイト単位に乗算−加算─保
持を繰り返し計算することにより総和を求めている。
At this time, the circuit for calculating the total sum needs to sequentially multiply each byte of the information word by the power of α,
Usually, α 0, α 1, α 2, ···, a simple multiplication circuit 27 is configured to multiply the alpha n-1 combination of an adder circuit 25 and the register 26, multiplied by 1 byte - adding ─ The sum is obtained by repeatedly calculating the retention.

【0040】(シンドローム作成回路6)対象となる符
号語を{D0 ,D1 ,D2 ,・・・,Dn-2 ,Dn-1
とする。これがまずメモリに記憶される。例えばリード
ソロモン符号で誤り訂正処理を行う場合、ハミング距離
をDmin とするとき、誤り訂正能力はDmin /2を超え
ない最大の整数である。このような整数は(Dmin
1)であり、これを求める際に次のようなシンドローム
演算を行う。
(Syndrome creating circuit 6) The target code word is {D 0 , D 1 , D 2 , ..., D n-2 , D n-1 }.
And This is first stored in memory. For example, in the case of performing error correction processing with the Reed-Solomon code, when the Hamming distance is D min , the error correction capability is the maximum integer that does not exceed D min / 2. Such an integer is (D min
1), and when obtaining this, the following syndrome calculation is performed.

【0041】受信語を表す多項式をR(x)とした場
合、リードソロモン符号の復号は、このR(x)からシ
ンドローム Si=R(αi )(i=0,1,2,3,・・・,d−
2) を計算することから始まる。これは、受信語にGF(2
m )上の定数乗算、即ちαi の乗算を行うことである。
When the polynomial representing the received word is R (x), the decoding of the Reed-Solomon code is based on this R (x) and the syndrome Si = R (α i ) (i = 0, 1, 2, 3, ... .., d-
2) Start by calculating This is GF (2
m ) The constant multiplication above, that is, the multiplication of α i .

【0042】このようなシンドロームの演算法として、
メモリに記憶されたn個のデータをDn-1 より順次1個
ずつαi の乗算回路に入力し、全データ入力後にその出
力をシンドロームの結果として得る方法が行われてい
る。
As a calculation method of such a syndrome,
A method has been performed in which n pieces of data stored in the memory are sequentially input to the multiplication circuit of α i one by one from D n−1 and the output is obtained as a result of the syndrome after inputting all the data.

【0043】従来の技術によれば、データを1個(1バ
イト)ずつメモリより読み出すため、アクセスが遅いメ
モリを使用すると処理時間の大幅な遅延を招くという問
題点がある。
According to the conventional technique, since data is read one by one (1 byte) from the memory, there is a problem that a processing time is significantly delayed when a memory with a slow access is used.

【0044】(デスキュー回路5)図76は、磁気テー
プの傾斜したトラックに記録されたデータブロックフォ
ーマットの一例を示す図、図77はデータブロックフォ
ーマットをビット単位で示した図76の部分拡大図であ
る。図76,図77において図61と同一のフレームに
は、SYNC,RESYNC等の同一の略称を付してい
る。図76に示すように、左から右に向かって先頭から
順にフレームの記録または再生を行うのがフォワード
(FWD)方向(順方向)であり、その逆の方向がバッ
クワード(BWD)方向(逆方向)である。
(Deskew Circuit 5) FIG. 76 is a diagram showing an example of a data block format recorded on a slanted track of a magnetic tape, and FIG. 77 is a partially enlarged view of FIG. 76 showing the data block format in bit units. is there. In FIGS. 76 and 77, the same frames as those in FIG. 61 have the same abbreviations such as SYNC and RESYNC. As shown in FIG. 76, it is the forward (FWD) direction (forward direction) that sequentially records or reproduces frames from the left to the right, and the opposite direction is the backward (BWD) direction (reverse direction). Direction).

【0045】図78は、従来のデスキュー回路5の内部
構成を示すブロック図である。図76,図77に示した
データブロックフォーマットを採用したMTU12から
送られてきたデータ(DATA)は各トラック間におい
て不揃いが生じており、これらのデータをデスキューイ
ングバッファと呼ばれるメモリに一旦書き込み、スキュ
ー補正を行った後に、そのデスキューイングバッファか
らデータを読み出して誤り訂正を行うべく、シンドロー
ム作成回路6及びバッファメモリ8に送信する。
FIG. 78 is a block diagram showing the internal structure of the conventional deskew circuit 5. The data (DATA) sent from the MTU 12 that employs the data block format shown in FIGS. 76 and 77 has unevenness between tracks, and these data are once written to a memory called a deskewing buffer and then skewed. After the correction, the data is read from the deskewing buffer and transmitted to the syndrome creating circuit 6 and the buffer memory 8 for error correction.

【0046】デスキューイングバッファはそれに用いる
メモリ容量を少なくするように、図78に示すように、
3個のデスキューイングバッファ42A,42B,42
Cで構成されている。各デスキューイングバッファ42
A,42B,42Cは、18トラックのデータのうち6
トラック分ずつをそれぞれが担当する。また、各デスキ
ューイングバッファ42A,42B,42Cに付随する
デスキュー制御回路41A,41B,41C及びマルチ
プレクサ43A,43B,43Cも6トラック毎の3系
統にて構成されている。44は、各マルチプレクサ43
A,43B,43Cの9ビットの出力を8ビットに変換
する9−8変換回路である。
In order to reduce the memory capacity used in the deskewing buffer, as shown in FIG. 78,
Three deskewing buffers 42A, 42B, 42
It is composed of C. Each deskewing buffer 42
A, 42B and 42C are 6 out of the data of 18 tracks.
Each is responsible for each track. Further, deskew control circuits 41A, 41B, 41C and multiplexers 43A, 43B, 43C associated with the deskewing buffers 42A, 42B, 42C are also constituted by three systems for every 6 tracks. 44 is each multiplexer 43
It is a 9-8 conversion circuit that converts the 9-bit output of A, 43B, and 43C into 8-bit.

【0047】各デスキューイングバッファ42A,42
B,42Cは、その内部メモリ領域をアドレスに従って
6分割(A,B,C,D,E,F)し、分割した各領域
に1トラック分の同期信号(再同期信号)から同期信号
(再同期信号)までの72フレームのデータを書き込
む。
Each deskewing buffer 42A, 42
B and 42C divide the internal memory area into 6 according to the address (A, B, C, D, E, F), and divide the sync signal (resync signal) from one track into the sync signal (resync signal) in each of the divided areas. Data of 72 frames up to the synchronization signal) is written.

【0048】図79〜図82は、各デスキューイングバ
ッファ42A,42B,42CにおけるFWD方向での
書き込み・読み出し制御を示す図、図83〜図86は、
同じくBWD方向での書き込み・読み出し制御を示す図
である。
79 to 82 show write / read control in the FWD direction in the deskewing buffers 42A, 42B and 42C, and FIGS. 83 to 86 show
It is a figure which similarly shows write / read control in the BWD direction.

【0049】一例として、デスキュー制御回路41A及
びデスキューイングバッファ42AのFWD方向時の動
作について説明する。磁気テープ上の傾斜した各トラッ
クにおいて、1バイトデータ(9ビットデータ)が揃っ
たトラックを分割した各メモリ領域に順次書き込んでい
く。まず、1A−トラックのデータを、デスキューイン
グバッファ42Aの1A−トラックに割り当てられたメ
モリ領域(Aの位置)に書き込む。以下同様に、4A−
トラックのデータはBの位置、7A−トラックのデータ
はCの位置、7B−トラックのデータはDの位置、4B
−トラックのデータはEの位置、1B−トラックのデー
タはFの位置に書き込む(図79参照)。
As an example, the operation of the deskew control circuit 41A and deskewing buffer 42A in the FWD direction will be described. In each inclined track on the magnetic tape, a track in which 1-byte data (9-bit data) is complete is sequentially written into each divided memory area. First, the 1A-track data is written to the memory area (position A) allocated to the 1A-track of the deskewing buffer 42A. Similarly, 4A-
Track data is position B, 7A-track data is position C, 7B-track data is position D, 4B
-The data of the track is written in the E position and the data of the 1B-track is written in the F position (see Fig. 79).

【0050】同様にして、デスキューイングバッファ4
2B,42Cにおいても各トラックのデータを割り当て
られた対応するメモリ領域に書き込む(図80,図81
参照)。以上のようにして、18トラック分のデータの
書き込みを終了する。
Similarly, the deskewing buffer 4
Also in 2B and 42C, the data of each track is written to the corresponding memory area (FIGS. 80 and 81).
reference). As described above, the writing of data for 18 tracks is completed.

【0051】データの書き込みを終了すると、1バイト
データ毎の読み出し(1バイトデータ転送)が始まる。
図79〜図81に示した読み出し順位に従って、各デス
キューイングバッファ42A,42B,42Cからの読
み出しデータが各マルチプレクサ43A,43B,43
Cにて選択され、誤り訂正方法に合った図82に示す順
序で9−8変換回路44に出力される。磁気テープ上の
データは9ビットデータであるため、9−8変換回路4
4にて8ビットデータに変換されて、後段の誤り訂正処
理系に送られる。
When the writing of data is completed, the reading of each 1-byte data (1-byte data transfer) starts.
According to the reading order shown in FIGS. 79 to 81, the read data from the deskewing buffers 42A, 42B and 42C are transferred to the multiplexers 43A, 43B and 43, respectively.
The data is selected by C and output to the 9-8 conversion circuit 44 in the order shown in FIG. 82 that matches the error correction method. Since the data on the magnetic tape is 9-bit data, the 9-8 conversion circuit 4
It is converted to 8-bit data at 4 and sent to the error correction processing system at the subsequent stage.

【0052】なお、BWD方向時においては、各トラッ
クのデータの書き込み位置はFWD方向時とは異なる
が、基本的な処理手順は同様であるのでその説明は省略
する。
In the BWD direction, the data write position of each track is different from that in the FWD direction, but since the basic processing procedure is the same, its description is omitted.

【0053】MTU12から送られてきたデータをデス
キューイングバッファに一旦書き込み、その後読み出す
ことによってスキュー補正を行いデータ転送を行ってい
る。この際、従来は1バイトデータ転送であるので、1
フレームのデータを転送するのに18回デスキューイン
グバッファからの読み出しが必要である。従って、高速
処理には向いていないという問題がある。また、FWD
方向,BWD方向によって、MTU12から送られてき
たデータはビット定義が反対、1バイトデータ(9ビッ
トデータ)が揃うトラック順が反対などの違いがあるた
め、FWD方向とBWD方向とでは誤り訂正方法に見合
った順番での1バイトデータ転送が必要であった。この
ように従来例では、FWD方向とBWD方向とで、各デ
スキューイングバッファ内の6分割されたメモリ領域の
割当が異なっており、FWD方向とBWD方向とでは異
なる書き込み・読み出し制御が必要であるという問題が
ある。
The data sent from the MTU 12 is once written into the deskewing buffer and then read out to perform skew correction and data transfer. At this time, since 1 byte data transfer is used conventionally, 1
It takes 18 reads from the deskewing buffer to transfer the frame data. Therefore, there is a problem that it is not suitable for high-speed processing. Also, FWD
The data transmitted from the MTU 12 have different bit definitions depending on the direction and the BWD direction, and there is a difference in the track order in which 1-byte data (9-bit data) is aligned. It was necessary to transfer 1-byte data in the order corresponding to. As described above, in the conventional example, the allocation of the six divided memory areas in each deskewing buffer is different in the FWD direction and the BWD direction, and different write / read control is required in the FWD direction and the BWD direction. There is a problem.

【0054】(読み出しフォーマット部11e内におけ
るデータ転送制御)従来、データを転送する際に、デー
タを一時的に格納してその転送タイミングを切り換える
方法としては、マルチプレクサ(セレクタ),フリップ
フロップ等の素子を用いて転送方法を制御する方式が一
般的に使われている。しかし、高密度,高速データ転送
に対応した誤り訂正を行ったり、FWD方向,BWD方
向のデータ書き込み・読み出し動作に対応するために
は、単にメモリ素子を追加するとか、セレクタで各々の
ケースに対応して切り替え制御を行うといって方法で
は、回路が複雑化し、回路の規模を増大させることにな
るという問題がある。
(Data Transfer Control in Read Format Unit 11e) Conventionally, when transferring data, as a method of temporarily storing the data and switching the transfer timing, an element such as a multiplexer (selector) or a flip-flop is used. A method of controlling the transfer method using is generally used. However, in order to perform error correction corresponding to high-density and high-speed data transfer, and to support data writing / reading operations in the FWD and BWD directions, simply add a memory element or use a selector to handle each case. However, the method of performing the switching control has a problem that the circuit becomes complicated and the scale of the circuit is increased.

【0055】以上のように、従来の磁気テープ装置の制
御装置では、データフォーマット部11b内の書き込み
フォーマット部11d及び読み出しフォーマット部11
eにおいて、1バイト単位にて処理を行っているので、
処理速度が遅いという問題がある。処理速度を速めるた
めには、データフォーマット部11b内の各回路を構成
する素子を追加してデータ転送の高速化を図ることが考
えられるが、この場合には、回路規模の増大,複雑化を
招くといった問題がある。
As described above, in the control device of the conventional magnetic tape device, the write format section 11d and the read format section 11 in the data format section 11b.
In e, since processing is performed in 1-byte units,
There is a problem that the processing speed is slow. In order to increase the processing speed, it is conceivable to add an element configuring each circuit in the data format section 11b to speed up the data transfer, but in this case, the circuit scale increases and the complexity increases. There is a problem of inviting.

【0056】ところで、MTC11内にて上述したよう
な各種の誤り訂正方法が採用されているが、誤りを検出
したトラックについては、誤差トラックポインタ(Er
ror Track pointer;ETP)をセッ
トし、誤りを訂正した後にはそのETPをリセットす
る。そして、そのリセットのタイミングはフォーマット
中の「RESYNC」パターン(再同期信号)の検出時
である。誤り訂正処理においては、ETPの個数によっ
て誤差訂正能力が変動し、しかもETPの個数には上限
があるので、誤差が訂正された場合には「RESYN
C」パターンを速やかに検出してETPをリセットする
必要がある。
By the way, although various error correction methods as described above are adopted in the MTC 11, an error track pointer (Er) is set for a track in which an error is detected.
ROR TRACK POINTER (ETP) is set, and after correcting the error, the ETP is reset. The reset timing is at the time of detection of the "RESYNC" pattern (resynchronization signal) in the format. In the error correction process, the error correction capability varies depending on the number of ETPs, and the number of ETPs has an upper limit. Therefore, when the error is corrected, “RESYN
It is necessary to quickly detect the "C" pattern and reset the ETP.

【0057】図87は、「RESYNC」パターンを検
出する回路とその周辺部を含む従来のMTC11の内部
構成を示すブロック図である。MTC11は、デスキュ
ーイングバッファ61と、書き込みアドレス制御部62
と、読み出しアドレス制御部63と、ETP(誤差トラ
ックポインタ)認識部64と、ETP(誤差トラックポ
インタ)保持部65と、SYNC−RESYNC判定部
66と、誤り訂正処理部67と、マイクロプログラム制
御部68とを有する。なお、これらの中で、書き込みア
ドレス制御部62,ETP認識部64,ETP保持部6
5及びSYNC−RESYNC判定部66は、それぞれ
トラック数分だけ設けられている。
FIG. 87 is a block diagram showing the internal structure of a conventional MTC 11 including a circuit for detecting the "RESSYNC" pattern and its peripheral portion. The MTC 11 includes a deskewing buffer 61 and a write address controller 62.
A read address control unit 63, an ETP (error track pointer) recognition unit 64, an ETP (error track pointer) holding unit 65, a SYNC-RESYNC determination unit 66, an error correction processing unit 67, and a microprogram control unit. 68 and. Note that among these, the write address control unit 62, the ETP recognition unit 64, the ETP holding unit 6
5 and SYNC-RESYNC determining units 66 are provided for each of the tracks.

【0058】デスキューイングバッファ61は、MTU
12から読み取った各トラックのデータ(DATA)を
一旦書き込み、その後読み出し、ETP認識部64,S
YNC−RESYNC判定部66及び誤り訂正処理部6
7に読み出しデータ(READ−DATA)を出力す
る。書き込みアドレス制御部62は、MTU12からの
データに対して、デスキューイングバッファ61に書き
込むアドレス(WRT−ADRS)(図76のAフレー
ムをアドレス0として、後は順にアドレス1,アドレス
2,…とする)を決定する。また、ETP保持部65か
らETP情報またはSYNC−RESYNC判定部66
からロード信号が入力されると、書き込みアドレス制御
部62に0(ZERO)がロードされる。読み出しアド
レス制御部63は、デスキューイングバッファ61から
の読み出しアドレス(RD−ADRS)(書込みと同様
にAフレームをアドレス0として、後は順にアドレス
1,アドレス2,…とする)を決定する。書き込みアド
レス制御部62及び読み出しアドレス制御部63は、図
76のAフレームがアドレス0、Bフレームがアドレス
0となるように、71カウント(0〜71)するカウン
タから構成されている。
The deskewing buffer 61 is an MTU.
The data (DATA) of each track read from 12 is once written and then read, and the ETP recognition unit 64, S is read.
YNC-RESSYNC determination unit 66 and error correction processing unit 6
The read data (READ-DATA) is output to 7. The write address control unit 62 sets an address (WRT-ADRS) to be written in the deskewing buffer 61 with respect to the data from the MTU 12 (the A frame in FIG. 76 is the address 0, and the addresses are sequentially address 1, address 2, ...). ) Is determined. Also, from the ETP holding unit 65, the ETP information or the SYNC-RESYNC determination unit 66.
When a load signal is input from 0, 0 (ZERO) is loaded into the write address control unit 62. The read address control unit 63 determines a read address (RD-ADRS) from the deskewing buffer 61 (the A frame is set to the address 0 as in the writing, and the address is set to the address 1, the address 2, and so on in sequence). The write address control unit 62 and the read address control unit 63 are configured by a counter that counts 71 (0 to 71) so that the A frame in FIG. 76 has the address 0 and the B frame has the address 0.

【0059】ETP認識部64は、デスキューイングバ
ッファ61からの読み出しデータに誤りがあるか否かを
判断した誤り訂正処理部67からの誤り情報に従って、
誤りがある場合にはそのトラックに対してETPをセッ
トするためのセット信号をETP保持部65に出力す
る。ETP保持部65は、このセット信号に基づいてE
TPを誤り訂正処理部67に出力し、リセット信号が入
力されるまでETPを保持する。ETPが立った場合、
誤り訂正処理部67は、デスキューイングバッファ61
からの読み出しデータの誤りを検出して、その誤りを訂
正する。
The ETP recognizing unit 64 determines whether or not the read data from the deskewing buffer 61 has an error according to the error information from the error correction processing unit 67.
If there is an error, a set signal for setting ETP for the track is output to the ETP holding unit 65. Based on this set signal, the ETP holding unit 65 outputs E
The TP is output to the error correction processing unit 67, and the ETP is held until the reset signal is input. If ETP stands,
The error correction processing unit 67 uses the deskewing buffer 61
The error of the read data from is detected and the error is corrected.

【0060】誤り訂正処理部67は、データ誤りに関す
る情報をマイクロプログラム制御部68へ送り、その情
報に基づき、誤り訂正処理部67で処理できなかった場
合等に同一ブロックのデータ読み取りが再実行される。
なお、このような過程をリトライという。
The error correction processing unit 67 sends the information regarding the data error to the microprogram control unit 68, and based on the information, when the error correction processing unit 67 cannot process the data, the data reading of the same block is performed again. It
This process is called a retry.

【0061】SYNC−RESYNC判定部66は、後
に説明する手法に従って、MTU12からのデータまた
はデスキューイングバッファ61からの読み出しデータ
から、RESYNCパターン(再同期信号)を検出し、
検出した場合には、書き込みアドレス制御部62にロー
ド信号を出力すると共に、ETP認識部64にETPリ
セット信号を出力する。ETP認識部64は、このET
Pリセット信号に従ってETPをリセットする。
The SYNC-RESYNC judging section 66 detects a RESYNC pattern (resynchronization signal) from the data from the MTU 12 or the read data from the deskewing buffer 61 according to the method described later.
When detected, the load signal is output to the write address control unit 62 and the ETP reset signal is output to the ETP recognition unit 64. The ETP recognition unit 64 uses this ET
ETP is reset according to the P reset signal.

【0062】ETPが立った場合、その誤り発生トラッ
クのETP発生以降のデータは、誤り訂正が必要なデー
タとして誤り訂正処理部67にて誤り訂正処理が行われ
る。そのため、誤り発生トラックのETP発生以降のデ
ータは任意のデータで良く、そのトラックの書き込みア
ドレス制御部62はカウント動作を停止する。また、読
み出しアドレス制御部63は、そのままカウント動作を
行い、デスキューイングバッファ61からのデータの読
み出しは通常通り行う。その結果、デスキューイングバ
ッファ61からの読み出しデータは、誤り発生トラック
のETP発生以降のデータは任意のデータ、その他のト
ラックは正常データとして読み出され、誤り訂正処理部
67へと送られる。
When the ETP is raised, the data after the ETP occurrence on the error occurrence track is subjected to error correction processing by the error correction processing unit 67 as data requiring error correction. Therefore, the data after the ETP occurrence in the error-occurring track may be arbitrary data, and the write address controller 62 of the track stops the counting operation. Further, the read address control unit 63 performs the counting operation as it is, and reads the data from the deskewing buffer 61 as usual. As a result, the read data from the deskewing buffer 61 is read as arbitrary data after the ETP occurrence in the error-occurring track, and as normal data in the other tracks, and sent to the error correction processing unit 67.

【0063】従来、図76に示したデータブロックフォ
ーマットを採用した磁気テープ装置においては、RES
YNCパターン(再同期信号)を、MTU12からのデ
ータ(デスキューイングバッファ61への書き込みデー
タ)から検出できると、誤り発生トラックの書き込みア
ドレス制御部62はカウント動作を始め、デスキューイ
ングバッファ61への、データの書き込みを正常に始め
る。次に、デスキューイングバッファ61からの読み出
しデータからRESYNCパターン(再同期信号)を検
出できると、ETPのリセット制御を行う。この結果、
検出したRESYNCパターン(再同期信号)以降のデ
ータに関しては、正常データへの誤り訂正処理を行うこ
とに伴う誤り訂正処理部67の誤り訂正能力の低下を防
ぎ、データの読み取り性能を向上させている。
Conventionally, in the magnetic tape device adopting the data block format shown in FIG.
When the YNC pattern (resynchronization signal) can be detected from the data from the MTU 12 (write data to the deskewing buffer 61), the write address control unit 62 of the error occurrence track starts the counting operation, and Start writing data normally. Next, when the RESYNC pattern (resynchronization signal) can be detected from the read data from the deskewing buffer 61, the ETP reset control is performed. As a result,
Regarding the data after the detected RESYNC pattern (resynchronization signal), a decrease in the error correction capability of the error correction processing unit 67 due to the error correction process for normal data is prevented, and the data reading performance is improved. .

【0064】SYNC−RESYNC判定部66におけ
る正規位置のRESYNCパターン(再同期信号)の検
出は、以下の方法にて行っている。なお、以下に示す手
法は、本出願人により既に出願されている(特開平7−
73605号公報)。
The detection of the RESYNC pattern (resynchronization signal) at the regular position in the SYNC-RESYNC judging section 66 is carried out by the following method. The method described below has already been filed by the applicant (Japanese Patent Laid-Open No. 7-
73605).

【0065】(1)FWD方向(順方向) i.デスキューイングバッファ61からの読み出しデー
タの場合 図76に示したデータブロックフォーマットから理解さ
れるように、一定周期(例えば図76のAフレーム〜B
フレーム間、Bフレーム〜Cフレーム間の72フレー
ム)毎にRESYNCパターン(再同期信号)が周期的
に存在するので、SYNC−RESYNC判定部66に
おけるカウント動作によって、正規位置(この場合アド
レス0)にRESYNCパターン(再同期信号)の有無
を容易に認識できる。
(1) FWD direction (forward direction) i. In the case of read data from the deskewing buffer 61 As can be understood from the data block format shown in FIG.
Since the RESYNC pattern (resynchronization signal) is periodically present in every frame, every 72 frames between the B frame and the C frame), by the counting operation in the SYNC-RESYNC determination unit 66, the RESYNC pattern is moved to the regular position (address 0 in this case). The presence / absence of the RESYNC pattern (resynchronization signal) can be easily recognized.

【0066】ii.MTU12からのデータ(デスキュー
イングバッファ61への書き込みデータ)の場合 MTU12からのデータはデスキューイングバッファ6
1からの読み出しデータより先に進んでいるので、何フ
レーム分だけ先に進んでいるかを予め予測し、デスキュ
ーイングバッファ61からの読み出しデータのRESY
NCパターン(再同期信号)フレーム位置からその予測
フレーム分だけ逆算して、その逆算した位置からデスキ
ューイングバッファからの読み出しデータのRESYN
Cパターン(再同期信号)フレーム位置までの範囲を求
め(以下、この検出範囲のことをSYNCYと記述す
る)、その検出範囲SYNCYに存在するRESYNC
パターン(再同期信号)をSYNC−RESYNC判定
部に66よって検出する。
Ii. In the case of data from the MTU 12 (write data to the deskewing buffer 61), the data from the MTU 12 is the deskewing buffer 6
Since it is ahead of the read data from 1, the number of frames ahead is predicted in advance and RESY of the read data from the deskewing buffer 61 is predicted.
The NC pattern (resynchronization signal) frame position is calculated backward by the predicted frame, and the read data RESYN from the deskewing buffer is calculated from the calculated position.
A range up to the C pattern (resynchronization signal) frame position is obtained (hereinafter, this detection range is referred to as SYNCY), and the RESYNC existing in the detection range SYNCY is detected.
The pattern (resynchronization signal) is detected by the SYNC-RESYNC determination unit 66.

【0067】(2)BWD方向(逆方向)の場合 i.デスキューイングバッファ61からの読み出しデー
タの場合 データブロックフォーマットは一定の周期性を有してい
るので、SYNC−RESYNC判定部66におけるカ
ウント動作によって、周期的に存在するRESYNCパ
ターン(再同期信号)を検出する。
(2) Case of BWD direction (reverse direction) i. In the case of the read data from the deskewing buffer 61, the data block format has a certain periodicity, and therefore the counting operation in the SYNC-RESYNC determination unit 66 detects the periodically existing RESYNC pattern (resynchronization signal). To do.

【0068】ii.MTU12からのデータ(デスキュー
イングバッファ61への書き込みデータ)の場合 デスキューイングバッファ61から読み出されるデータ
の中からRESYNCパターン(再同期信号)を検出し
たときの読み出しアドレスを同期アドレス(アドレス値
V)としてアドレスレジスタに格納しておき、読み出し
アドレスが(V−一定値)から(V)までの検出範囲S
YNCYに存在するRESYNCパターン(再同期信
号)をSYNC−RESYNC判定部に66よって検出
する。
Ii. In the case of data from the MTU 12 (write data to the deskewing buffer 61), the read address when the RESYNC pattern (resynchronization signal) is detected from the data read from the deskewing buffer 61 is used as the synchronization address (address value V). The read address is stored in the address register, and the read address is in the detection range S from (V-constant value) to (V).
The RESYNC pattern (resynchronization signal) existing in YNCY is detected by the SYNC-RESYNC determination unit 66.

【0069】MTU12からのデータ(デスキューイン
グバッファ61への書き込みデータ)からRESYNC
パターン(再同期信号)を検出する場合、その検出範囲
SYNCYは、FWD,BWD方向とも従来は固定値で
あった。前述したように、読み出しデータの信頼性を高
めるために、誤り訂正処理部67での訂正能力より大き
い誤りが読み出しデータにあった場合、同一ブロックに
対するデータの再読み出し(リトライ)をマイクロプロ
グラム制御部68のマイクロプログラムの処理により行
っている。データ読み取り,リトライによるデータ読み
取りの両方において、テープのスキュー等で検出範囲S
YNCYを超えてRESYNCパターン(再同期信号)
が存在した場合には、そのRESYNCパターン(再同
期信号)を検出できない。この結果、ETPのリセット
が行えなくなり、誤り訂正能力が低下し、更なるリトラ
イ発生の原因になっているという問題がある。
From the data from the MTU 12 (data to be written to the deskewing buffer 61) to RESYNC
In the case of detecting a pattern (resynchronization signal), the detection range SYNCY has conventionally been a fixed value in both the FWD and BWD directions. As described above, in order to improve the reliability of the read data, when the read data has an error larger than the correction capability of the error correction processing unit 67, the microprogram control unit performs the re-reading (retry) of the data for the same block. This is performed by the processing of 68 microprograms. In both data reading and data reading by retry, the detection range S due to the skew of the tape, etc.
RESYNC pattern (resync signal) beyond YNCY
, The RESYNC pattern (resynchronization signal) cannot be detected. As a result, there is a problem in that the ETP cannot be reset, the error correction capability deteriorates, and further retry occurs.

【0070】本発明は斯かる事情に鑑みてなされたもの
であり、複数バイト単位の処理が可能であり、回路を複
雑化せず、また回路規模の増大を招くことなく、処理す
るデータバス幅を拡大することができ、データ転送の高
速化を図れる磁気テープ装置の制御装置を提供すること
を目的とする。
The present invention has been made in view of the above circumstances, and it is possible to perform processing in units of a plurality of bytes, and the data bus width to be processed does not complicate the circuit and does not increase the circuit scale. It is an object of the present invention to provide a control device for a magnetic tape device, which is capable of increasing the number of times and speeds up data transfer.

【0071】本発明の更に他の目的は、RESYNCパ
ターン(再同期信号)を検出する範囲SYNCYを可変
として、RESYNCパターン(再同期信号)を確実に
検出することができ、誤り訂正能力の低下を防止できる
磁気テープ装置の制御装置における再同期信号検出方法
を提供することにある。
Still another object of the present invention is to make the range SYNC for detecting the RESYNC pattern (resynchronization signal) variable so that the RESYNC pattern (resynchronization signal) can be surely detected and the error correction capability is lowered. It is an object of the present invention to provide a resynchronization signal detection method in a control device of a magnetic tape device, which can be prevented.

【0072】[0072]

【課題を解決するための手段】請求項1に係る磁気テー
プ装置の制御装置は、上位装置から入力したデータに誤
り訂正符号を付加してフォーマット変換し、フォーマッ
ト変換したデータを磁気テープユニットに転送すると共
に、前記磁気テープユニットから読み出したデータに誤
り訂正を行ってフォーマット変換し、フォーマット変換
したデータを前記上位装置に転送する磁気テープ装置の
制御装置において、前記上位装置からの入力データ、及
び/または、前記磁気テープユニットからの読み出しデ
ータに対して、複数バイト単位での処理を行うように構
しており、前記磁気テープユニットから読み出したデ
ータ間のずれを補正するデスキュー補正手段を備え、該
デスキュー補正手段が、読み出しデータを格納するデス
キューイングバッファと、該デスキューイングバッファ
のデータの書き込み・読み出しを制御するデスキュー制
御回路とを、N個のトラック毎に設けたM/N(M:デ
ータ1フレーム分のバイト数,N:2以上の整数)個ず
つ有し、1回の読み出し処理にて前記デスキューイング
バッファからM/Nバイトずつのデータを読み出して転
送するように構成したことを特徴とする。
According to a first aspect of the present invention, a control device for a magnetic tape device adds an error correction code to data input from a host device, converts the format, and transfers the format-converted data to a magnetic tape unit. In addition, in the controller of the magnetic tape device for performing the error correction on the data read from the magnetic tape unit, converting the format, and transferring the format-converted data to the upper device, the input data from the upper device, and / or Alternatively, the read data from the magnetic tape unit is configured to be processed in units of a plurality of bytes, and the data read from the magnetic tape unit is read.
The deskew correction means for correcting the deviation between the data
The deskew correction means stores the read data.
Queuing buffer and the deskewing buffer
Deskew system that controls writing and reading of data
A control circuit and an M / N (M:
Number of bytes for one frame, N: integer of 2 or more)
It has the above-mentioned deskewing in one read process.
Reads M / N bytes of data from the buffer and transfers it.
It is characterized in that it is configured to send .

【0073】[0073]

【0074】[0074]

【0075】[0075]

【0076】[0076]

【0077】[0077]

【0078】[0078]

【0079】[0079]

【0080】[0080]

【0081】[0081]

【0082】[0082]

【0083】[0083]

【0084】請求項に係る磁気テープ装置の制御装置
は、請求項において、前記デスキューイングバッファ
からデータを転送する際に、誤り訂正のデータフォーマ
ットに応じて、前記デスキューイングバッファ及びデス
キュー制御回路の担当トラックを変更するように構成し
たことを特徴とする。
According to a second aspect of the present invention, in the magnetic tape device control apparatus according to the first aspect , when the data is transferred from the deskewing buffer, the deskewing buffer and deskew control circuit are provided according to a data format of error correction. It is characterized in that it is configured to change the truck in charge of.

【0085】本発明では、磁気テープ装置の制御装置内
の各回路の構成を工夫して、上位装置からのデータ及び
磁気テープユニットからの読み出しデータに対して、複
数バイト単位での処理を行えるようにし、1バイト単位
での処理を行っていた従来例に比べてデータ処理の高速
化を図る。M/N個のデスキューイングバッファを同時
に読み出して1回あたりM/Nバイトのデータを転送す
る処理をN回行うことにより、1フレームMバイトの転
送速度を従来例のM/N倍に高めて、磁気テープユニッ
トからの複数バイト単位の読み出しデータに対応でき
る。デスキューイングバッファからデータを転送する際
に、誤り訂正のデータフォーマットに応じて、その担当
トラックを変更するようにして、FWD方向とBWD方
向とにおいて、デスキューイングバッファにおける書き
込み・読み出し制御を共通とする。
In the present invention, in the control device of the magnetic tape device.
By devising the configuration of each circuit of the
For the data read from the magnetic tape unit,
Allows processing in units of several bytes, and in units of 1 byte
High-speed data processing compared to the conventional example in which
Try to change. By performing the processing of simultaneously reading M / N deskewing buffers and transferring M / N bytes of data N times, the transfer rate of 1 frame of M bytes is increased to M / N times that of the conventional example. It is possible to handle read data in units of multiple bytes from the magnetic tape unit. When data is transferred from the deskewing buffer, the assigned track is changed according to the data format for error correction, and the write / read control in the deskewing buffer is common in the FWD direction and the BWD direction. .

【0086】[0086]

【0087】[0087]

【0088】[0088]

【0089】[0089]

【0090】請求項に係る磁気テープ装置の制御装置
の再同期信号検出方法は、磁気テープユニットから読み
出したデータ間のずれを補正するために、読み出しデー
タをデスキューイングバッファに格納する磁気テープ装
置の制御装置にあって、前記磁気テープユニットから前
記デスキューイングバッファに書き込まれるデータから
再同期信号を検出する方法において、再同期信号を検出
するフレームの範囲を可変とすることを特徴とする。
According to a third aspect of the present invention, there is provided a magnetic tape device control method for detecting a resynchronization signal in which a read data is stored in a deskewing buffer to correct a deviation between data read from the magnetic tape unit. In the method of detecting the resynchronization signal from the data written in the deskewing buffer from the magnetic tape unit in the control device, the range of the frame in which the resynchronization signal is detected is variable.

【0091】請求項に係る磁気テープ装置の制御装置
の再同期信号検出方法は、請求項において、同一のデ
ータブロックに対するデータの読み出し処理を再度実行
する度に、再同期信号を検出するフレームの範囲を順次
広くしていくことを特徴とする。
According to a fourth aspect of the present invention, there is provided a method for detecting a resynchronization signal in a control device for a magnetic tape device according to the third aspect, wherein a frame for detecting the resynchronization signal is executed each time data read processing for the same data block is executed again. It is characterized by gradually increasing the range of.

【0092】再同期信号を検出する範囲を可変できるよ
うにし、磁気テープのスキュー等で検出範囲を超えて再
同期信号が存在した場合、リトライ時にその検出範囲を
広くするように制御する。磁気テープユニットからのデ
ータの再同期信号の検出を容易にし、読み出しデータの
信頼性を高める。
The range for detecting the re-synchronization signal is made variable, and when the re-synchronization signal exists beyond the detection range due to the skew of the magnetic tape or the like, the detection range is controlled to be widened at the time of retry. It facilitates detection of a resynchronization signal of data from the magnetic tape unit and improves reliability of read data.

【0093】[0093]

【発明の実施の形態】以下、本発明をその実施の形態を
示す図面に基づいて具体的に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION The present invention will be specifically described below with reference to the drawings showing the embodiments thereof.

【0094】図2はテープサブシステムの構成図、図1
は図2に示すMTC11のデータフォーマット部11b
の内部構成を示すブロック図である。テープサブシステ
ムは、上位装置としてのホスト10と、データを記録す
るMTU12と、ホスト10及びMTU12間に介在さ
れてデータのフォーマット変換を行うMTC11とから
構成されている。データ書き込み時には、ホスト10か
らのデータがMTC11に入力され、ここでフォーマッ
ト変換が行われた後にMTU12にデータが転送され
る。データ読み取り時には、MTU12からの読み出し
データがMTC11に転送され、ここで誤り訂正が行わ
れると共にフォーマット変換が行われた後にデータがホ
スト10に送られる。
FIG. 2 is a block diagram of the tape subsystem, FIG.
Is the data format section 11b of the MTC 11 shown in FIG.
3 is a block diagram showing the internal configuration of FIG. The tape subsystem is composed of a host 10 as a host device, an MTU 12 that records data, and an MTC 11 that is interposed between the host 10 and the MTU 12 to perform data format conversion. At the time of writing data, the data from the host 10 is input to the MTC 11, where the format conversion is performed and then the data is transferred to the MTU 12. When reading data, the read data from the MTU 12 is transferred to the MTC 11, where error correction is performed and format conversion is performed, and then the data is sent to the host 10.

【0095】MTC11は、ホスト10とのデータの送
受を行うためのインターフェース部11aと、フォーマ
ット変換,誤り訂正等の処理を行うデータフォーマット
部11bと、データをD/A変換・A/D変換するデー
タ変換部11cとを有する。データフォーマット部11
bは、磁気テープ上に記録するためのフォーマット化を
行う書き込みフォーマット部11dと、磁気テープから
読み出したデータのトラックずれを補正したり、データ
の誤り検出及び訂正を行う読み出しフォーマット部11
eとに分けられる。
The MTC 11 has an interface section 11a for transmitting / receiving data to / from the host 10, a data format section 11b for processing such as format conversion and error correction, and D / A conversion / A / D conversion of data. The data conversion unit 11c. Data format section 11
Reference numeral b denotes a write format unit 11d that performs formatting for recording on a magnetic tape, and a read format unit 11 that corrects a track deviation of data read from the magnetic tape and performs error detection and correction of data.
It is divided into e and.

【0096】書き込みフォーマット部11dは、残余バ
イト作成回路1と、マルチプレクサ2,4と、誤り訂正
符号化回路3とを有する。残余バイト作成回路1は、ホ
スト10からのデータをテープフォーマットに合わせる
ために必要な残余バイトを作成する。マルチプレクサ2
は、ホスト10からのカスタムデータ,残余バイト作成
回路1からの残余バイト,ブロックID,冗長バイトで
あるパッドバイト等を結合する。誤り訂正符号化回路3
は、誤り訂正のため検査キャラクタである誤り訂正符号
を作成する。誤り訂正符号としては、AXP符号または
リードソロモン符号が良く使われている。マルチプレク
サ4は、マルチプレクサ2及び誤り訂正符号化回路3の
出力を結合する。
The write format section 11d has a residual byte generation circuit 1, multiplexers 2 and 4, and an error correction coding circuit 3. The residual byte creation circuit 1 creates the residual bytes required to match the data from the host 10 to the tape format. Multiplexer 2
Combines the custom data from the host 10, the residual byte from the residual byte generation circuit 1, the block ID, the pad byte which is a redundant byte, and the like. Error correction coding circuit 3
Creates an error correction code that is a check character for error correction. An AXP code or a Reed-Solomon code is often used as the error correction code. The multiplexer 4 couples the outputs of the multiplexer 2 and the error correction coding circuit 3.

【0097】一方、読み出しフォーマット部11eは、
デスキュー回路5と、シンドローム作成回路6と、誤り
訂正回路7と、フレームバッファ8とを有する。デスキ
ュー回路5は、MTU12から読み出したデータ間のず
れを補正する。磁気テープに記録されたデータを読み込
んだ時に、磁気テープと磁気ヘッドとは一般的には垂直
にならず、ある程度の誤差角度を生じるので、それに応
じてデータ間のずれが発生する。デスキュー回路5はこ
のデータ間のずれを補正する。シンドローム作成回路6
は、読み出しデータの誤りの有無を判定するためのシン
ドロームと呼ばれる情報を作成する。誤り訂正回路7
は、読み出しデータの誤りを訂正する。フレームバッフ
ァ8は、磁気テープのデータ読み出し方向によるデータ
の並べ換え、及び、誤り訂正回路7において誤り係数の
計算が行われる間のデータの保持(遅延)を行う。
On the other hand, the read format section 11e
The deskew circuit 5, the syndrome generation circuit 6, the error correction circuit 7, and the frame buffer 8 are included. The deskew circuit 5 corrects the deviation between the data read from the MTU 12. When the data recorded on the magnetic tape is read, the magnetic tape and the magnetic head are generally not perpendicular to each other, and an error angle is generated to some extent, so that a deviation between the data occurs accordingly. The deskew circuit 5 corrects the deviation between the data. Syndrome creation circuit 6
Creates information called a syndrome for determining whether or not there is an error in read data. Error correction circuit 7
Corrects an error in read data. The frame buffer 8 rearranges the data according to the data reading direction of the magnetic tape, and holds (delays) the data while the error correction circuit 7 calculates the error coefficient.

【0098】上述したように、本発明におけるテープサ
ブシステム及びMTC11の基本構成は従来例と同じで
あるが、MTC11内のデータフォーマット部11bを
構成する各回路の内部構成及び処理動作が異なってい
る。即ち、従来例では1バイト幅で処理を行っていた
が、本発明では複数バイト幅で処理を行えるようにし
て、データ処理の高速化を図っている。従って、図1に
おけるデータバスが、本発明では従来例に比べてN(N
は2以上の整数)倍に拡大されている。
As described above, the basic structure of the tape subsystem and the MTC 11 in the present invention is the same as the conventional example, but the internal structure and processing operation of each circuit forming the data format section 11b in the MTC 11 are different. . That is, in the conventional example, processing is performed with a width of 1 byte, but in the present invention, processing is performed with a width of a plurality of bytes to speed up data processing. Therefore, in the present invention, the data bus in FIG.
Is an integer greater than or equal to 2) times.

【0099】以下、本発明におけるデータフォーマット
部11b内の各回路の構成及び動作について詳述する。
なお、以下の実施の形態では、書き込みフォーマット部
11d内においては2バイト幅にて処理が行え、読み出
しフォーマット部11d内においては3バイト幅にて処
理が行える場合について説明する。
The configuration and operation of each circuit in the data format section 11b according to the present invention will be described in detail below.
In the following embodiments, a case will be described in which the write format unit 11d can perform processing with a 2-byte width and the read format unit 11d can perform processing with a 3-byte width.

【0100】(残余バイト作成回路1)本発明では、書
き込みフォーマット部11dが、データ幅を従来の1バ
イト幅から2バイト幅に倍増させて処理を行っており、
高速(従来の2倍)のデータ処理を行えるようになって
いる。従って、本発明の残余バイト作成回路1は、従来
の1バイト処理から2バイト処理に対応できるようにし
ている。本発明では、従来例で使用していたmod14
カウンタの動作を、2バイト処理に対応させている。
(Residual Byte Creating Circuit 1) In the present invention, the write format section 11d performs processing by doubling the data width from the conventional 1 byte width to 2 bytes width.
High-speed (twice as much as conventional) data processing can be performed. Therefore, the residual byte creating circuit 1 of the present invention can cope with the conventional 2-byte processing from the conventional 1-byte processing. In the present invention, mod14 used in the conventional example
The operation of the counter corresponds to the 2-byte processing.

【0101】残余バイト作成回路1の本発明の構成を図
3に示す。残余バイト作成回路1は、2個のAND回路
13a,13bとNOR回路14とMOD14カウンタ
15とを有する。CKは、カウンタ15を動作させるた
めのクロックである。−RSYNCは、72フレーム毎
に発生するRESYNCの制御信号であり、この信号が
ローである場合にカウンタ15の動作は停止する。WR
BKは、レジスタからセットされる信号であり、書き込
みブロックが開始された時にのみセットされる。SMD
Cは、フレームデータ作成時にブロックIDの選択の終
了を示し、この信号がローである場合に、ブロックID
が終了したことを表しカウンタ15の動作は停止する。
CUSTBLKは、カスタムデータまたはブロックID
である場合にハイになる。−CLRは、カウンタ値をク
リアすべくレジスタからセットされる信号であり、装置
初期化時及び「IBG」フレーム中にセットされる。B
ID3は、書き込みフォーマット部11d内にて発生さ
れる信号であり、ブロックIDの3バイト目を処理して
いるときにセットされる。ODDは、書き込みフォーマ
ット部11d内にて発生される信号であり、ホスト10
からカスタムデータが転送される際に奇数バイトか偶数
バイトかが判断されて奇数バイトであればセットされ
る。−MOD1〜−MOD8は、パッドバイトの数を表
す信号であり、これらの信号が表す値が残余バイトカウ
ントの1バイトの下位4ビットに反映される。
The structure of the present invention of the residual byte forming circuit 1 is shown in FIG. The residual byte creation circuit 1 has two AND circuits 13a and 13b, a NOR circuit 14, and a MOD 14 counter 15. CK is a clock for operating the counter 15. -RSYNC is a RESYNC control signal that is generated every 72 frames, and when this signal is low, the operation of the counter 15 is stopped. WR
BK is a signal that is set from the register and is set only when the write block is started. SMD
C indicates the end of the selection of the block ID when the frame data is created, and when this signal is low, the block ID
Indicates that the counter has finished, and the operation of the counter 15 is stopped.
CUSTBLK is custom data or block ID
Goes high if. -CLR is a signal that is set from the register to clear the counter value, and is set at device initialization and during the "IBG" frame. B
ID3 is a signal generated in the write format unit 11d, and is set when the third byte of the block ID is being processed. ODD is a signal generated in the write format unit 11d and is used by the host 10
When the custom data is transferred from, it is determined whether it is an odd byte or an even byte, and if it is an odd byte, it is set. -MOD1 to -MOD8 are signals representing the number of pad bytes, and the values represented by these signals are reflected in the lower 4 bits of 1 byte of the residual byte count.

【0102】図4,図5はカスタムデータが8バイト,
9バイトである場合のタイミングチャート、図6はMO
D14カウンタ15の出力をそれぞれ示す。残余バイト
カウントのバイトは2バイト処理に対応したmod14
カウンタ15によって実現し、カウンタ15の出力値は
パッドバイトの数を表す。このカウンタ15は、カスタ
ムデータ,ブロックIDの数をカウントアップし、「R
ESYNC」フレーム中及び誤り訂正符号(ECC)の
4バイト時には、その動作を停止する。また、カスタム
データのバイト数によっては、偶数バイトの場合と奇数
バイトの場合とがあり、偶数,奇数の2通りの動作を満
足する必要がある。
In FIGS. 4 and 5, the custom data is 8 bytes,
Timing chart for 9 bytes, MO for FIG.
The outputs of the D14 counter 15 are shown. The byte of the remaining byte count is mod14 that supports 2-byte processing.
It is realized by the counter 15, and the output value of the counter 15 represents the number of pad bytes. This counter 15 counts up the number of custom data and block ID, and
The operation is stopped during the "ESYNC" frame and when the error correction code (ECC) is 4 bytes. Further, depending on the number of bytes of custom data, there are cases of even bytes and cases of odd bytes, and it is necessary to satisfy two types of operations, even and odd.

【0103】次に、カスタムデータが9バイトである場
合の動作について説明する。装置初期化時及び「IB
G」フレーム中に、カウンタ15の初期化が行われる。
この時のカウンタ値は、”0000”である。ファーム
ウェアにより、レジスタからWRBK信号が書き込みブ
ロック開始時のみセットされる。この時のカウンタ値
は、”0010”である。カスタムデータを処理する頃
になると、CUSTBLK信号がセットされ、カウンタ
15のカウント動作を開始する。カウンタ動作は+2ず
つカウントアップする。BID3信号がセットされてい
て、且つODD信号がセットされている場合に、カウン
タ15の動作が図6の右表に遷移する。ブロックIDが
終了すると、SMDC信号がリセットされ、カウント動
作を停止する。カウント動作が停止した際のカウンタ値
(”0011”)の反転信号となる−MOD1〜−MO
D8の値(”1100”=12)が、残余バイトカウン
トの下位4ビットに入る。
Next, the operation when the custom data is 9 bytes will be described. At device initialization and "IB
The counter 15 is initialized during the "G" frame.
The counter value at this time is "0000". The firmware sets the WRBK signal from the register only at the beginning of the write block. The counter value at this time is "0010". When it comes time to process the custom data, the CUSTBLK signal is set and the counting operation of the counter 15 is started. The counter operation counts up by +2. When the BID3 signal is set and the ODD signal is set, the operation of the counter 15 transits to the table on the right side of FIG. When the block ID ends, the SMDC signal is reset and the counting operation is stopped. -MOD1 to -MO, which are inverted signals of the counter value ("0011") when the counting operation is stopped
The value of D8 ("1100" = 12) enters the lower 4 bits of the residual byte count.

【0104】(誤り訂正符号化回路3) 〔AXP符号化方式〕図7,図8は本発明のDRC作成
回路の構成を示す図、図9は本発明のVRC作成回路の
構成を示す図である。この構成例は、複数バイト(2バ
イト)入力のときの例である。DRC作成回路は、セッ
トA用(図7)とセットB用(図8)との2系統に分か
れており、セットA用(セットB用)のDRC作成回路
は、データ選択部21A(21B)と、データパリティ
作成部22A(22B)と、フレーム制御部23A(2
3B)と、データマスク部24A(24B)と、タイミ
ング制御回路(図示せず)とで構成されている。
(Error Correction Encoding Circuit 3) [AXP Encoding System] FIGS. 7 and 8 are diagrams showing the configuration of the DRC creating circuit of the present invention, and FIG. 9 is a diagram showing the configuration of the VRC creating circuit of the present invention. is there. This configuration example is an example when a plurality of bytes (2 bytes) are input. The DRC creation circuit is divided into two systems, one for set A (FIG. 7) and one for set B (FIG. 8). The DRC creation circuit for set A (for set B) is the data selection unit 21A (21B). A data parity creation unit 22A (22B) and a frame control unit 23A (2
3B), a data mask section 24A (24B), and a timing control circuit (not shown).

【0105】DRC,VRCは、基本的にそれぞれ斜め
方向,縦方向のビット同士のパリティをとっている。1
バイトずつ入力していた従来のDRC作成回路,VRC
作成回路では、各回路において1ビットずつパリティを
とっていたが、複数バイトずつ入力する本発明のDRC
作成回路,VRC作成回路では、各回路において複数ビ
ット同時にパリティをとればよい。これは、DRC,V
RCの作成に必要な複数ビットをそれぞれ選択し、選択
した複数ビットにてパリティを求めるようにすれば実現
できる。
The DRC and VRC basically take the parity of the bits in the diagonal direction and the vertical direction, respectively. 1
VRC, a conventional DRC generation circuit that inputs bytes by byte
In the creating circuit, the parity was taken for each bit in each circuit, but the DRC of the present invention in which a plurality of bytes are input
In the creating circuit and the VRC creating circuit, it is only necessary to simultaneously take a plurality of bits of parity in each circuit. This is DRC, V
This can be realized by selecting each of a plurality of bits required to create the RC and obtaining the parity with the selected plurality of bits.

【0106】次に、動作について説明する。AXP符号
のDRC,VRCを求める式は、1バイトずつ入力する
場合と複数バイトずつ入力する場合とは同じであるの
で、DRC,VRCのセットA,セットBの各々で計算
されるm番目の値は以下のようになる。
Next, the operation will be described. The formula for calculating DRC and VRC of AXP code is the same when inputting one byte at a time and when inputting a plurality of bytes at a time, so the m-th value calculated in each of set A and set B of DRC and VRC. Is as follows.

【0107】DRC A0m =(A1m-1 +A2m-2 +A3m-3 +・・・+A
m-7 +B7m-8 +B6m-9 +B5m-10+・・・+B0
m-15MOD2 B0m =(B1m-1 +B2m-2 +B3m-3 +・・・+B
m-7 +A7m-8 +A6m-9 +A5m-10+・・・+A0
m-15MOD2
DRC A0 m = (A1 m-1 + A2 m-2 + A3 m-3 + ... + A
7 m-7 + B7 m-8 + B6 m-9 + B5 m-10 + ・ ・ ・ + B0
m-15 ) MOD2 B0 m = (B1 m-1 + B2 m-2 + B3 m-3 + ... + B
7 m-7 + A7 m-8 + A6 m-9 + A5 m-10 + ... + A0
m-15 ) MOD2

【0108】VRC A8m =(A0m +A1m +A2m +・・・+A7m
MOD2 但し、A0m :DRCA A1m ,A2m ,・・・.A7m :データ B8m =(B0m +B1m +B2m +・・・+B7m
MOD2 但し、B0m :DRCB B1m ,B2m ,・・・.B7m :データ
VRC A8 m = (A0 m + A1 m + A2 m + ... + A7 m )
MOD2 However, A0 m : DRCA A1 m , A2 m , ... A7 m : Data B8 m = (B0 m + B1 m + B2 m + ... + B7 m )
MOD2 However, B0 m : DRCB B1 m , B2 m , ... B7 m : Data

【0109】入力データが2バイトずつであるので、1
フレームのタイミングは9タイミングである。図10は
その入力データとタイミングとの関係を示す図表、ま
た、図11は本発明のDRCの作成方法の原理を説明す
るための図である。DRCを作成する際、図10のよう
にデータを入力すると、その入力データは2バイト(B
S1,2,3,4,6,7,ECC1の場合)または1
バイト(BS5,ECC2の場合)であるが、入力され
た偶数(EVEN)バイトのうち1ビット、奇数(OD
D)バイトのうち1ビットを対象にしてデータを選んで
DRCの1ビットを作成する。データフレーム3−DR
CAビット7はc1〜cFのデータビットに対して作成
するので、それ以外のデータビットはどんな値でも関係
ない。このことは、データフレーム4−DRCAビット
7,データフレーム5−DRCAビット7についても同
様である。
Since the input data is 2 bytes each, 1
The frame timing is 9 timings. FIG. 10 is a chart showing the relationship between the input data and timing, and FIG. 11 is a diagram for explaining the principle of the DRC creating method of the present invention. When data is input as shown in FIG. 10 when creating a DRC, the input data is 2 bytes (B
S1, 2, 3, 4, 6, 7, ECC1) or 1
Although it is a byte (in the case of BS5 and ECC2), it is 1 bit out of the input even (EVEN) byte and odd (OD
D) Select 1 bit of the byte to select data and create 1 bit of DRC. Data frame 3-DR
Since the CA bit 7 is created for the data bits c1 to cF, the other data bits do not have any value. The same applies to the data frame 4-DRCA bit 7 and the data frame 5-DRCA bit 7.

【0110】例えば、データフレーム3のDRCA−ビ
ット7を作成する際に対象とされるデータは、データフ
レーム2−バイト8−ビット7(c8),バイト9−ビ
ット6(c9),バイト10−ビット5(cA),バイ
ト11−ビット4(cB),バイト12−ビット3(c
C),バイト13−ビット2(cD),バイト14−ビ
ット1(cE),DRCB−ビット0(cF),データ
フレーム3−バイト1−ビット6(c1),バイト2−
ビット5(c2),バイト3−ビット4(c3),バイ
ト4−ビット3(c4),バイト5−ビット2(c
5),バイト6−ビット1(c6),バイト7−ビット
0(c7)となる。同様に、データフレーム4のDRC
A−ビット7を作成する際に対象とされるデータは、デ
ータフレーム3−バイト8−ビット7(a8),バイト
9−ビット6(a9),バイト10−ビット5(a
A),バイト11−ビット4(aB),バイト12−ビ
ット3(aC),バイト13−ビット2(aD),バイ
ト14−ビット1(aE),DRCB−ビット0(a
F),データフレーム4−バイト1−ビット6(a
1),バイト2−ビット5(a2),バイト3−ビット
4(a3),バイト4−ビット3(a4),バイト5−
ビット2(a5),バイト6−ビット1(a6),バイ
ト7−ビット0(a7)となる。更に、データフレーム
5のDRCA−ビット7を作成する際に対象とされるデ
ータは、データフレーム4−バイト8−ビット7(b
8),バイト9−ビット6(b9),バイト10−ビッ
ト5(bA),バイト11−ビット4(bB),バイト
12−ビット3(bC),バイト13−ビット2(b
D),バイト14−ビット1(bE),DRCB−ビッ
ト0(bF),データフレーム5−バイト1−ビット6
(b1),バイト2−ビット5(b2),バイト3−ビ
ット4(b3),バイト4−ビット3(b4),バイト
5−ビット2(b5),バイト6−ビット1(b6),
バイト7−ビット0(b7)となる。
For example, the data targeted when creating the DRCA-bit 7 of the data frame 3 is data frame 2-byte 8-bit 7 (c8), byte 9-bit 6 (c9), byte 10-. Bit 5 (cA), byte 11-bit 4 (cB), byte 12-bit 3 (c
C), byte 13-bit 2 (cD), byte 14-bit 1 (cE), DRCB-bit 0 (cF), data frame 3-byte 1-bit 6 (c1), byte 2-
Bit 5 (c2), byte 3-bit 4 (c3), byte 4-bit 3 (c4), byte 5-bit 2 (c
5), byte 6-bit 1 (c6), byte 7-bit 0 (c7). Similarly, the DRC of data frame 4
The data targeted when creating the A-bit 7 is the data frame 3-byte 8-bit 7 (a8), byte 9-bit 6 (a9), byte 10-bit 5 (a
A), byte 11-bit 4 (aB), byte 12-bit 3 (aC), byte 13-bit 2 (aD), byte 14-bit 1 (aE), DRCB-bit 0 (a
F), data frame 4-byte 1-bit 6 (a
1), byte 2-bit 5 (a2), byte 3-bit 4 (a3), byte 4-bit 3 (a4), byte 5-
Bit 2 (a5), byte 6-bit 1 (a6), byte 7-bit 0 (a7). Further, the data targeted when creating the DRCA-bit 7 of the data frame 5 is the data frame 4-byte 8-bit 7 (b
8), byte 9-bit 6 (b9), byte 10-bit 5 (bA), byte 11-bit 4 (bB), byte 12-bit 3 (bC), byte 13-bit 2 (b
D), byte 14-bit 1 (bE), DRCB-bit 0 (bF), data frame 5-byte 1-bit 6
(B1), byte 2-bit 5 (b2), byte 3-bit 4 (b3), byte 4-bit 3 (b4), byte 5-bit 2 (b5), byte 6-bit 1 (b6),
Byte 7-bit 0 (b7).

【0111】以上のような対象とされる斜め方向のデー
タに対して偶数パリティをとれば、DRCAの1ビット
が作成される。そして、各ビットについて同様の処理を
順次行うことによりDRCを作成できる。
If even parity is taken with respect to the data in the diagonal direction which is the object as described above, one bit of DRCA is created. Then, the DRC can be created by sequentially performing the same processing for each bit.

【0112】DRCAのビット単位で考えていくと、図
11から分かるようにDRCは斜め方向のデータに対し
て作成するため、複数フレーム(2〜3フレーム)に渡
ってしまう。そのため3つの制御フレームに分けてどこ
のデータを選ぶかを決定する。例えばデータフレーム3
について考えると、その1フレーム中のデータは制御フ
レーム0,1,2のDRCAを作成するためのデータと
して3分割され、選ばれるデータとしては重なり合うこ
とはない。
Considering the DRCA bit unit, as can be seen from FIG. 11, since the DRC is created for the data in the diagonal direction, it extends over a plurality of frames (2 to 3 frames). Therefore, the data to be selected is divided into three control frames. For example, data frame 3
Considering the above, the data in the one frame is divided into three as data for creating the DRCA of the control frames 0, 1 and 2, and the data selected does not overlap.

【0113】データフレーム3,4,5を見比べると、
データの選び方により何バイト目の何ビット目が、必ず
DRCの何ビット目に選ばれているということが分か
る。選ばれる制御フレームは異なるが、DRCの何ビッ
ト目に選ばれるかということがわかる。例えばバイト1
のビット6は、データフレーム3(c1)ではDRCA
のビット7、データフレーム4(a1)ではDRCAの
ビット7、データフレーム5(b1)ではDRCAのビ
ット7に選ばれる。また、バイト1のビット0は、デー
タフレーム3ではDRCAのビット1、データフレーム
4ではDRCAのビット1、データフレーム5ではDR
CAのビット1に選ばれる。
Comparing the data frames 3, 4, and 5,
It can be seen that depending on how the data is selected, the bit of the byte and the bit of the DRC are always selected. Although the control frame selected is different, it can be seen which bit of the DRC is selected. For example byte 1
Bit 6 of the data frame 3 (c1) is DRCA
7 of the data frame, data frame 4 (a1) is selected as bit 7 of DRCA, and data frame 5 (b1) is selected as bit 7 of DRCA. Also, bit 0 of byte 1 is bit 1 of DRCA in data frame 3, bit 1 of DRCA in data frame 4, and DR in data frame 5.
Selected as bit 1 of CA.

【0114】このことから必ずバイト1のビット1はD
RCAのビット2に選択され、バイト2のビットはDR
CAのビット2に選択される。従って、制御フレーム
0,1,2のDRC作成回路でそのデータを取り込むか
否かを制御するようにすれば良い。あと一点考えなけれ
ばいけないのは、DRCの作成は3フレームに渡って行
うので、例えば実際に扱っているデータフレーム3のと
きはデータフレーム3,4,5のときに出力するDRC
を同時に作成しなければいけない点である。従って、最
低でも3フレーム分のDRC作成回路を持つ必要がある
ことが分かる。
Therefore, bit 1 of byte 1 is always D
Bit 2 of RCA is selected and bit of byte 2 is DR
Selected as bit 2 of CA. Therefore, it suffices to control whether or not the data is taken in by the DRC generation circuit of the control frames 0, 1. Another point to consider is that the DRC is created over three frames, so for example, the DRC output when the data frame 3, 4 or 5 is actually handled.
Is the point that must be created at the same time. Therefore, it is understood that it is necessary to have a DRC creation circuit for at least 3 frames.

【0115】データの選び方についてもう少し詳細に説
明する。データフレーム3(制御フレーム2)のデータ
が入力されてきた場合、どのビットをDRCAの何ビッ
ト目の作成回路に選べば良いかを説明する。
The method of selecting data will be described in more detail. When the data of the data frame 3 (control frame 2) is input, which bit should be selected as the generation circuit of the DRCA will be described.

【0116】バイト1のビット0は制御フレーム2のD
RCA−ビット1、ビット1はDRCA−ビット2、ビ
ット2はDRCA−ビット3、ビット3はDRCA−ビ
ット4、ビット4はDRCA−ビット5、ビット5はD
RCA−ビット6、ビット6(c1)はDRCA−ビッ
ト7、ビット7は制御フレーム0のDRCA−ビット
0、バイト2のビット0は制御フレーム2のDRCA−
ビット2、ビット1はDRCA−ビット3、ビット2は
DRCA−ビット4、ビット3はDRCA−ビット5、
ビット4はDRCA−ビット6、ビット5(c2)はD
RCA−ビット7、ビット6は制御フレーム0のDRC
A−ビット0、ビット7はDRCA−ビット1、バイト
3のビット0は制御フレーム2のDRCA−ビット3、
ビット1はDRCA−ビット4、ビット2はDRCA−
ビット5、ビット3はDRCA−ビット6、ビット4
(c3)はDRCA−ビット7、ビット5は制御フレー
ム0のDRCA−ビット0、ビット6はDRCA−ビッ
ト1、ビット7はDRCA−ビット2、バイト4のビッ
ト0は制御フレーム2のDRCA−ビット4、ビット1
はDRCA−ビット3、ビット2はDRCA−ビット
2、ビット3(c4)はDRCA−ビット1、ビット4
は制御フレーム0のDRCA−ビット0、ビット5はD
RCA−ビット1、ビット6はDRCA−ビット2、ビ
ット7はDRCA−ビット3、バイト5のビット0は制
御フレーム2のDRCA−ビット5、ビット1はDRC
A−ビット6、ビット2はDRCA−ビット7、ビット
3は制御フレーム0のDRCA−ビット0、ビット4は
DRCA−ビット1、ビット5はDRCA−ビット2、
ビット6はDRCA−ビット3、ビット7はDRCA−
ビット4、バイト6のビット0は制御フレーム2のDR
CA−ビット6、ビット1(c6)はDRCA−ビット
7、ビット2は制御フレーム0のDRCA−ビット0、
ビット3はDRCA−ビット1、ビット4はDRCA−
ビット2、ビット5はDRCA−ビット3、ビット6は
DRCA−ビット4、ビット7はDRCA−ビット5、
バイト7のビット0は制御フレーム2のDRCA−ビッ
ト7、ビット1は制御フレーム0のDRCA−ビット
0、ビット2はDRCA−ビット1、ビット3はDRC
A−ビット2、ビット4はDRCA−ビット3、ビット
5はDRCA−ビット4、ビット6はDRCA−ビット
5、ビット7はDRCA−ビット6、バイト8のビット
0は制御フレーム0のDRCA−ビット0、ビット1は
DRCA−ビット1、ビット2はDRCA−ビット2、
ビット3はDRCA−ビット3、ビット4はDRCA−
ビット4、ビット5はDRCA−ビット5、ビット6は
DRCA−ビット6、ビット7(a8)はDRCA−ビ
ット7、バイト9のビット0は制御フレーム0のDRC
A−ビット1、ビット1はDRCA−ビット2、ビット
2はDRCA−ビット3、ビット3はDRCA−ビット
4、ビット4はDRCA−ビット5、ビット5はDRC
A−ビット6、ビット6(a9)はDRCA−ビット
7、ビット7は制御フレーム1のDRCA−ビット0、
バイト10のビット0は制御フレーム0のDRCA−ビ
ット2、ビット1はDRCA−ビット3、ビット2はD
RCA−ビット4、ビット3はDRCA−ビット5、ビ
ット4はDRCA−ビット6、ビット5(aA)はDR
CA−ビット7、ビット6は制御フレーム1のDRCA
−ビット0、ビット7はDRCA−ビット1、バイト1
1のビット0は制御フレーム0のDRCA−ビット3、
ビット1はDRCA−ビット4、ビット2はDRCA−
ビット5、ビット3はDRCA−ビット6、ビット4
(aB)はDRCA−ビット7、ビット5は制御フレー
ム1のDRCA−ビット0、ビット6はDRCA−ビッ
ト1、ビット7はDRCA−ビット2、バイト12のビ
ット0は制御フレーム0のDRCA−ビット4、ビット
1はDRCA−ビット5、ビット2はDRCA−ビット
6、ビット3(aC)はDRCA−ビット7、ビット4
は制御フレーム1のDRCA−ビット0、ビット5はD
RCA−ビット1、ビット6はDRCA−ビット2、ビ
ット7はDRCA−ビット3、バイト13のビット0は
制御フレーム0のDRCA−ビット5、ビット1はDR
CA−ビット6、ビット2(aD)はDRCA−ビット
7、ビット3は制御フレーム1のDRCA−ビット0、
ビット4はDRCA−ビット1、ビット5はDRCA−
ビット2、ビット6はDRCA−ビット3、ビット7は
DRCA−ビット4、バイト14のビット0は制御フレ
ーム0のDRCA−ビット6、ビット1(cE)はDR
CA−ビット7、ビット2は制御フレーム1のDRCA
−ビット0、ビット3はDRCA−ビット1、ビット4
はDRCA−ビット2、ビット5はDRCA−ビット
3、ビット6はDRCA−ビット4、ビット7はDRC
A−ビット5、DRCBのビット0(aF)は制御フレ
ーム0のDRCA−ビット7、ビット1は制御フレーム
1のDRCA−ビット0、ビット2はDRCA−ビット
1、ビット3はDRCA−ビット2、ビット4はDRC
A−ビット3、ビット5はDRCA−ビット4、ビット
6はDRCA−ビット5、ビット7はDRCA−ビット
6となる。
Bit 0 of byte 1 is D of control frame 2
RCA-bit 1, bit 1 is DRCA-bit 2, bit 2 is DRCA-bit 3, bit 3 is DRCA-bit 4, bit 4 is DRCA-bit 5, bit 5 is D
RCA-bit 6, bit 6 (c1) is DRCA-bit 7, bit 7 is DRCA-bit 0 of control frame 0, bit 0 of byte 2 is DRCA- of control frame 2
Bit 2, Bit 1 is DRCA-bit 3, Bit 2 is DRCA-bit 4, Bit 3 is DRCA-bit 5,
Bit 4 is DRCA-bit 6, bit 5 (c2) is D
RCA-bit 7, bit 6 is DRC of control frame 0
A-bit 0, bit 7 is DRCA-bit 1, bit 0 of byte 3 is DRCA-bit 3 of control frame 2,
Bit 1 is DRCA-bit 4, bit 2 is DRCA-
Bit 5 and bit 3 are DRCA-bit 6 and bit 4
(C3) is DRCA-bit 7, bit 5 is DRCA-bit 0 of control frame 0, bit 6 is DRCA-bit 1, bit 7 is DRCA-bit 2, bit 0 of byte 4 is DRCA-bit of control frame 2 4, bit 1
Is DRCA-bit 3, bit 2 is DRCA-bit 2, bit 3 (c4) is DRCA-bit 1, bit 4
Is DRCA of control frame 0-bit 0, bit 5 is D
RCA-bit 1, bit 6 is DRCA-bit 2, bit 7 is DRCA-bit 3, bit 5 of byte 5 is DRCA-bit 5 of control frame 2, bit 1 is DRC
A-bit 6, bit 2 is DRCA-bit 7, bit 3 is DRCA-bit 0 of control frame 0, bit 4 is DRCA-bit 1, bit 5 is DRCA-bit 2,
Bit 6 is DRCA-bit 3, bit 7 is DRCA-
Bit 4, bit 0 of byte 6 is DR of control frame 2
CA-bit 6, bit 1 (c6) is DRCA-bit 7, bit 2 is DRCA-bit 0 of control frame 0,
Bit 3 is DRCA-bit 1, bit 4 is DRCA-
Bits 2 and 5 are DRCA-bit 3, Bit 6 is DRCA-bit 4, Bit 7 is DRCA-bit 5,
Bit 0 of byte 7 is DRCA-bit 7 of control frame 2, bit 1 is DRCA-bit 0 of control frame 0, bit 2 is DRCA-bit 1, bit 3 is DRC.
A-bit 2, bit 4 is DRCA-bit 3, bit 5 is DRCA-bit 4, bit 6 is DRCA-bit 5, bit 7 is DRCA-bit 6, bit 0 of byte 8 is DRCA-bit of control frame 0 0, bit 1 is DRCA-bit 1, bit 2 is DRCA-bit 2,
Bit 3 is DRCA-bit 3 and bit 4 is DRCA-
Bit 4 and bit 5 are DRCA-bit 5, bit 6 is DRCA-bit 6, bit 7 (a8) is DRCA-bit 7, bit 0 of byte 9 is DRC of control frame 0
A-bit 1, bit 1 is DRCA-bit 2, bit 2 is DRCA-bit 3, bit 3 is DRCA-bit 4, bit 4 is DRCA-bit 5, bit 5 is DRC
A-bit 6, bit 6 (a 9) is DRCA-bit 7, bit 7 is DRCA-bit 0 of control frame 1,
Bit 0 of byte 10 is DRCA-bit 2 of control frame 0, bit 1 is DRCA-bit 3, bit 2 is D
RCA-bit 4, bit 3 is DRCA-bit 5, bit 4 is DRCA-bit 6, bit 5 (aA) is DR
CA-bit 7 and bit 6 are DRCA of control frame 1
-Bit 0, bit 7 is DRCA-bit 1, byte 1
Bit 0 of 1 is DRCA-bit 3 of control frame 0,
Bit 1 is DRCA-bit 4, bit 2 is DRCA-
Bit 5 and bit 3 are DRCA-bit 6 and bit 4
(AB) is DRCA-bit 7, bit 5 is DRCA-bit 0 of control frame 1, bit 6 is DRCA-bit 1, bit 7 is DRCA-bit 2, bit 0 of byte 12 is DRCA-bit of control frame 0 4, bit 1 is DRCA-bit 5, bit 2 is DRCA-bit 6, bit 3 (aC) is DRCA-bit 7, bit 4
Is DRCA of control frame 1-bit 0, bit 5 is D
RCA-bit 1, bit 6 is DRCA-bit 2, bit 7 is DRCA-bit 3, bit 0 of byte 13 is DRCA-bit 5 of control frame 0, bit 1 is DR
CA-bit 6, bit 2 (aD) is DRCA-bit 7, bit 3 is DRCA-bit 0 of control frame 1,
Bit 4 is DRCA-bit 1, bit 5 is DRCA-
Bit 2 and bit 6 are DRCA-bit 3, bit 7 is DRCA-bit 4, bit 0 of byte 14 is DRCA-bit 6 of control frame 0, and bit 1 (cE) is DR.
CA-bit 7, bit 2 is DRCA of control frame 1
-Bit 0, bit 3 is DRCA-bit 1, bit 4
Is DRCA-bit 2, bit 5 is DRCA-bit 3, bit 6 is DRCA-bit 4, bit 7 is DRC
A-bit 5, bit 0 (aF) of DRCB is DRCA-bit 7 of control frame 0, bit 1 is DRCA-bit 0 of control frame 1, bit 2 is DRCA-bit 1, bit 3 is DRCA-bit 2, Bit 4 is DRC
A-bit 3, bit 5 is DRCA-bit 4, bit 6 is DRCA-bit 5, and bit 7 is DRCA-bit 6.

【0117】以上のような選択関係を表にまとめると、
図12,図13となる。これを2バイト入力の図10の
タイミングで表にすると、図14,図15のようにな
る。このような表の関係を実現するための回路の構成例
を、図16〜図19に示す。
When the above selection relationships are summarized in a table,
12 and 13, respectively. When this is tabulated at the timing of FIG. 10 when 2 bytes are input, it becomes as shown in FIG. 14 and FIG. 16 to 19 show configuration examples of circuits for realizing such a table relationship.

【0118】データを2バイトずつ入力するので、DR
C作成時にデータの作成に不必要なデータは入力しない
ようにしなければならない。DRCはビット単位で作成
されるので、1バイト目の1ビットと2バイト目の1ビ
ットとで片一方だけのビットが必要になった場合に、取
り込まないデータが不必要なデータとなる。
Since data is input by 2 bytes at a time, DR
At the time of creating C, it is necessary not to input data that is unnecessary for creating data. Since the DRC is created in bit units, if only one bit of the 1st bit of the 1st byte and the 1st bit of the 2nd byte is required, the data that is not captured becomes unnecessary data.

【0119】図11のDRC作成フォーマットを参照し
て、不必要なデータを例示する。制御フレーム0のDR
CAビット1を求める場合を考える。制御フレーム0の
バイト1,バイト2が入力されたとき、DRCA作成に
使用されるのはバイト1のビット0だけであって、バイ
ト2は使用されない。DRCAビット1を作成すると
き、データはバイト1のビット0とバイト2のビット2
とが選択されているが、使用するデータ(バイト1のビ
ット0)のみを選択するようにすれば良い。この選択を
行うために、入力された不必要なデータ(バイト2のビ
ット2)をマスクする。もう一例挙げてみると、制御フ
レーム0のDRCAビット3を求める際、タイミングB
S2,バイト3のビット0とバイト4のビット7とが入
力されているが、不必要なバイト4のビット7をマスク
する。
Unnecessary data will be illustrated with reference to the DRC creation format shown in FIG. DR of control frame 0
Consider the case of finding CA bit 1. When byte 1 and byte 2 of control frame 0 are input, only bit 0 of byte 1 is used for creating the DRCA and byte 2 is not used. When creating DRCA bit 1, the data is bit 0 of byte 1 and bit 2 of byte 2.
Although and are selected, only the data to be used (bit 0 of byte 1) may be selected. To make this selection, the input unwanted data (bit 2 of byte 2) is masked. As another example, when determining the DRCA bit 3 of the control frame 0, the timing B
S2, bit 0 of byte 3 and bit 7 of byte 4 are input, but unnecessary bit 7 of byte 4 is masked.

【0120】このようにデータの入力が1ビットのと
き、図7,図8のデータマスク部24A,24Bでデー
タのマスクを実施する。データのマスクの詳細は図2
0,図21に示す。図7,図8のデータマスク部24
A,24Bに入力している信号は、MAO−0?,MA
E−0?,MAO−1?,MAE−1?,MAO−2
?,MAE−2?と、MBO−0?,MBE−0?,M
BO−1?,MBE−1?,MBO−2?,MBE−2
?とである。この信号はDRCを作成する際の制御フレ
ームとタイミング信号とで作成される。データマスク部
24A,24Bの内部回路の詳細は、図22及び図2
3,図24及び図25に示す。
Thus, when the data input is 1 bit, the data masking is performed by the data masking sections 24A and 24B shown in FIGS. Figure 2 shows the details of the data mask
0, shown in FIG. The data mask section 24 shown in FIGS.
The signals input to A and 24B are MAO-0? , MA
E-0? , MAO-1? , MAE-1? , MAO-2
? , MAE-2? And MBO-0? , MBE-0? , M
BO-1? , MBE-1? , MBO-2? , MBE-2
? And. This signal is created by the control frame and the timing signal when creating the DRC. 22 and 2 for details of the internal circuits of the data mask units 24A and 24B.
3, shown in FIGS. 24 and 25.

【0121】入力されるデータは、データ選択部21
A,21Bとデータマスク部24A,24Bとで決まる
ので、データの取り込むタイミングについて述べる。D
RCA作成回路,DRCB作成回路はそれぞれ3フレー
ム分の回路を有するが、それぞれのデータの取り込むタ
イミングが異なるので、タイミング制御が必要である。
データの取り込むタイミング表を図26〜図31に示
す。DRCの作成時に出力フレーム0,1,2毎にどの
データを取り込むかを表す。
The input data is the data selection section 21.
Since it is determined by A and 21B and the data mask sections 24A and 24B, the timing of taking in data will be described. D
Each of the RCA creation circuit and the DRCB creation circuit has a circuit for three frames, but since the timing of loading each data is different, timing control is necessary.
26 to 31 show timing charts for fetching data. It indicates which data is to be fetched for each output frame 0, 1 and 2 when the DRC is created.

【0122】現在どのフレームを処理しているかを示す
制御フレーム0,1,2と、3つのフレームタイミング
でDRCを出力する出力フレームとによって、どのデー
タのビットを取り込むかを表す。○はその印がある場所
のビットを取り込むことを示す。×はDRCが作成され
たことを示す。○の所を取り込むタイミングとして表を
作ると、図32〜図37のようになる。この表をもとに
図7,図8のデータパリティ作成部22A,22Bのフ
リップ・フロップのセット条件を制御する信号CE0F
A?,CE1FA?,CE2FA?,CE0FB?,C
E1FB?,CE2FB?を作成する。
The control frames 0, 1 and 2, which indicate which frame is currently being processed, and the output frame which outputs the DRC at three frame timings, indicate which bit of data is to be fetched. A circle indicates that the bit at the place with the mark is taken in. × indicates that the DRC was created. If a table is created as a timing for taking in the circles, it becomes as shown in FIGS. Based on this table, a signal CE0F for controlling the flip-flop set conditions of the data parity creation units 22A and 22B of FIGS.
A? , CE1FA? , CE2FA? , CE0FB? , C
E1FB? , CE2FB? To create.

【0123】以上のように、データ選択部21A,21
Bにてデータを選択し、データマスク部24A,24B
にて不必要なデータをマスクし、データパリティ作成部
22A,22Bにてデータの斜め方向のパリティをとる
ことにより、DRCを作成する。
As described above, the data selection units 21A, 21
Select the data with B, and the data mask parts 24A, 24B
Then, unnecessary data is masked, and the data parity creation units 22A and 22B take the diagonal parity of the data to create the DRC.

【0124】次に、VRCについて述べる。VRCを作
成する理論は1バイトずつ入力する場合と2バイトずつ
入力する場合とは同じである。つまりセットA,セット
Bのビットごとの偶数パリティをとれば良い。図9に示
すような回路構成を用いればVRCの作成を実現でき
る。
Next, VRC will be described. The theory of creating VRC is the same when inputting 1 byte at a time and when inputting 2 bytes at a time. That is, even parity for each bit of set A and set B may be taken. VRC can be created by using the circuit configuration shown in FIG.

【0125】まず、データを入力する前にJKフリップ
・フロップをクリアしておく。セットAでは、1バイト
目と2バイト目とのビットごとをEOR(排他的論理
和)してトグル回路のJKフリップ・フロップに入力す
る。3,4バイト目、5,6バイト目、7バイト目+D
RCAを同様に入力すれば、フリップ・フロップにVR
CAが作成される。セットBでは、8バイト目を入力し
てトグル回路のJKフリップ・フロップに入力する。
9,10バイト目のビットごとをEORしてトグル回路
のJKフリップ・フロップに入力する。11,12バイ
ト目、13,14バイト目を同様に入力する。そしてD
RCBとJKフリップ・フロップの出力とをEORする
と、VRCBが作成される。
First, the JK flip-flop is cleared before inputting data. In the set A, each bit of the first byte and the second byte is EOR (exclusive OR) and input to the JK flip-flop of the toggle circuit. 3rd, 4th byte, 5th, 6th byte, 7th byte + D
If RCA is input in the same way, VR will be input to the flip-flop.
CA is created. In set B, the 8th byte is input and input to the JK flip-flop of the toggle circuit.
The bits of the 9th and 10th bytes are EORed and input to the JK flip-flop of the toggle circuit. Similarly, the 11th, 12th and 13th, 14th bytes are input. And D
EORing the RCB and the output of the JK flip-flop creates VRCB.

【0126】上述のDRC作成回路の構成では、図7,
図8のように3フレームのデータ選択部が共通になって
いて、データマスク部とフリップ・フロップとのセット
制御でデータの選択をしている。しかし、データ選択の
実施方法としては、別の方法もある。データの選択は図
38の網かけで示したように3種類のグループが存在す
る。この3種類を順番に選択することでデータを選ぶこ
とができる。このような例における回路構成は図39の
ようになる。
In the configuration of the DRC creating circuit described above,
As shown in FIG. 8, the data selection section for three frames is common, and data is selected by the set control of the data mask section and the flip-flop. However, there is another method for performing data selection. There are three types of groups for data selection, as shown by shading in FIG. Data can be selected by sequentially selecting these three types. The circuit configuration in such an example is as shown in FIG.

【0127】また、上述の例では、2バイトずつ入力し
てAXP訂正符号を作成する場合について説明したが、
2バイト以外の複数バイトずつ入力して、DRCの斜め
方向のパリティ及びVRCの縦方向のパリティをとるこ
とも可能である。
In the above example, the case where two bytes are input to create the AXP correction code has been described.
It is also possible to input a plurality of bytes other than 2 bytes and obtain the diagonal parity of DRC and the vertical parity of VRC.

【0128】〔リードソロモン符号〕次に、本発明のリ
ードソロモン符号の高速化について説明する。検査行列
を利用した符号化計算を以下の符号を用いて具体的に示
す。 符号長 n=18 情報点数 k=14 検査点数 n−k=4 最小距離 dmin =5 原始多項式 g(x)=x8 +x4 +x3 +x2 +1 生成多項式 G(x)=(x−α3 )(x−α2 )(x−α)(x−1) =x4 +α753 +α249 2 +α78x+α6 と展開できる。d0 〜d3 は以下の行列で表される。
[Reed-Solomon Code] Next, speeding up of the Reed-Solomon code of the present invention will be described. The coding calculation using the check matrix will be specifically shown by using the following codes. Code length n = 18 Number of information points k = 14 Number of check points n−k = 4 Minimum distance d min = 5 Primitive polynomial g (x) = x 8 + x 4 + x 3 + x 2 +1 Generator polynomial G (x) = (x−α 3 ) (x−α 2 ) (x−α) (x−1) = x 4 + α 75 x 3 + α 249 x 2 + α 78 x + α 6 d 0 to d 3 are represented by the following matrix.

【0129】ここで、下記に示される総和、Here, the sum total shown below,

【0130】[0130]

【数4】 [Equation 4]

【0131】即ち、a0 〜a3 を展開すれば、 a0 =i13+i12+i11+i10+i9 +i8 +i7 +i
6 +i5 +i4 +i3+i2 +i1 +i01 =i13×α17+i12×α16+i11×α15+i10×α
14+i9 ×α13+i8 ×α12+i7 ×α11+i6 ×α10
+i5 ×α9 +i4 ×α8+i3 ×α7 +i2 ×α6
1 ×α5 +i0 ×α42 =i13×α34+i12×α32+i11×α30+i10×α
28+i9 ×α26+i8 ×α24+i7 ×α22+i6 ×α20
+i5 ×α18+i4 ×α16+i3 ×α14+i2 ×α12
1 ×α10+i0 ×α83 =i13×α51+i12×α48+i11×α45+i10×α
42+i9 ×α39+i8 ×α36+i7 ×α33+i6 ×α30
+i5 ×α27+i4 ×α24+i3 ×α21+i2 ×α18
1 ×α15+i0 ×α12 となる。
That is, by expanding a 0 to a 3 , a 0 = i 13 + i 12 + i 11 + i 10 + i 9 + i 8 + i 7 + i
6 + i 5 + i 4 + i 3 + i 2 + i 1 + i 0 a 1 = i 13 × α 17 + i 12 × α 16 + i 11 × α 15 + i 10 × α
14 + i 9 × α 13 + i 8 × α 12 + i 7 × α 11 + i 6 × α 10
+ I 5 × α 9 + i 4 × α 8 + i 3 × α 7 + i 2 × α 6 +
i 1 × α 5 + i 0 × α 4 a 2 = i 13 × α 34 + i 12 × α 32 + i 11 × α 30 + i 10 × α
28 + i 9 × α 26 + i 8 × α 24 + i 7 × α 22 + i 6 × α 20
+ I 5 × α 18 + i 4 × α 16 + i 3 × α 14 + i 2 × α 12 +
i 1 × α 10 + i 0 × α 8 a 3 = i 13 × α 51 + i 12 × α 48 + i 11 × α 45 + i 10 × α
42 + i 9 × α 39 + i 8 × α 36 + i 7 × α 33 + i 6 × α 30
+ I 5 × α 27 + i 4 × α 24 + i 3 × α 21 + i 2 × α 18 +
i 1 × α 15 + i 0 × α 12 .

【0132】ここで情報語i13〜i0 を2バイト単位
(i13とi12,i11とi10,i9 とi 8 ,i7 とi6
5 とi4 ,i3 とi2 ,i1 とi0 )で、総和を求め
る回路に入力することを考え、a1 〜a3 を以下のよう
な共通項でまとめた式に変更する。 a1 =α5 (i13×α12++i11×α10+i9 ×α8
7 ×α6+i5 ×α4 +i3 ×α2 +i1 ×α0 )+
α4 (i12×α12++i10×α10+i8 ×α8 +i6 ×
α6+i4 ×α4 +i2 ×α2 +i0 ×α0 ) a2 =α10(i13×α24++i11×α20+i9 ×α16
7 ×α12+i5 ×α8 +i3 ×α4 +i1 ×α0 )+
α8 (i12×α24++i10×α20+i8 ×α16+i6 ×
α12+i4 ×α8 +i2 ×α4 +i0 ×α0 ) a3 =α15(i13×α36++i11×α30+i9 ×α24
7 ×α18+i5 ×α12+i3 ×α6 +i1 ×α0 )+
α12(i12×α36++i10×α30+i8 ×α24+i6 ×
α18+i4 ×α12+i2 ×α6 +i0 ×α0
Here, the information word i13~ I0In units of 2 bytes
(I13And i12, I11And iTen, I9And i 8, I7And i6
iFiveAnd iFour, I3And i2, I1And i0), Find the sum
Input to the circuit1~ A3As below
Change to the formula summarized in the common section. a1= ΑFive(I13× α12++ i11× αTen+ I9× α8+
i7× α6+ IFive× αFour+ I3× α2+ I1× α0) +
αFour(I12× α12++ iTen× αTen+ I8× α8+ I6×
α6+ IFour× αFour+ I2× α2+ I0× α0) a2= ΑTen(I13× αtwenty four++ i11× α20+ I9× α16+
i7× α12+ IFive× α8+ I3× αFour+ I1× α0) +
α8(I12× αtwenty four++ iTen× α20+ I8× α16+ I6×
α12+ IFour× α8+ I2× αFour+ I0× α0) a3= Α15(I13× α36++ i11× α30+ I9× αtwenty four+
i7× α18+ IFive× α12+ I3× α6+ I1× α0) +
α12(I12× α36++ iTen× α30+ I8× αtwenty four+ I6×
α18+ IFour× α12+ I2× α6+ I0× α0)

【0133】この式は、2バイト単位で入力したとき
に、偶数バイトと奇数バイトとの各々に定数の乗算を行
うことにより、総和を求める回路の簡略化が可能である
ことを示す。また、この式からa1 を求める場合の乗算
回路における乗算定数は、偶数バイト,奇数バイト共に
α2 であり、また、a2 の場合の乗算定数はα4 、a3
の場合の乗算定数はα6 と偶数バイト及び奇数バイトで
共通な同じ値になる。よって、乗算−加算−保持を順次
繰り返すことで、各式の括弧内の値を求めることができ
る。即ち、従来の回路と比較して2倍の速度で情報語の
総和を求めることが可能になる。
This equation shows that when inputting in units of 2 bytes, the circuit for obtaining the sum can be simplified by multiplying each of the even number bytes and the odd number bytes by a constant. Further, the multiplication constant in the multiplication circuit for obtaining a 1 from this equation is α 2 for both even and odd bytes, and the multiplication constants for a 2 are α 4 , a 3
In the case of, the multiplication constant is the same value that is common to α 6 and even bytes and odd bytes. Therefore, the value in the parentheses of each expression can be obtained by sequentially repeating multiplication-addition-holding. That is, it becomes possible to obtain the sum total of the information words at twice the speed as compared with the conventional circuit.

【0134】次に、a0 〜a3 から検査語d0 〜d3
求めるには、前述の行列式を解く回路を構成すればよ
く、従来と同様に所定の乗算定数を設定した乗算回路と
加算回路とを用いて、以下に示すような演算式に従って
実現できる。 d0 =α218 ×a0 +α158 ×a1 +α156 ×a2 +α212 ×a3 1 =α158 ×a0 +α138 ×a1 +α2 ×a2 +α153 ×a3 2 =α156 ×a0 +α2 ×a1 +α135 ×a2 +α152 ×a3 3 =α212 ×a0 +α153 ×a1 +α152 ×a2 +α209 ×a3
[0134] Then, a 0 from ~a 3 to obtain the test word d 0 to d 3 may be a circuit to solve the above matrix equation, conventional multiplying circuit which sets a predetermined multiplicative constant as well And an adder circuit can be used to implement the operation according to the following arithmetic expression. d 0 = α 218 × a 0 + α 158 × a 1 + α 156 × a 2 + α 212 × a 3 d 1 = α 158 × a 0 + α 138 × a 1 + α 2 × a 2 + α 153 × a 3 d 2 = α 156 × a 0 + α 2 × a 1 + α 135 × a 2 + α 152 × a 3 d 3 = α 212 × a 0 + α 153 × a 1 + α 152 × a 2 + α 209 × a 3

【0135】図40,図41は、以上のようなa0 〜a
3 及びd0 〜d3 を求めるようにした回路の構成図であ
る。EORで構成されたガロア体上の加算回路25と、
EOR及びANDで構成されたガロア体上の定数項の乗
算回路27と、乗算−加算されたデータ(情報語)を保
持するためのレジスタ26とを有する。符号化を行う場
合には、情報語を2バイト単位で入力し、全てのデータ
が入力された時点でa 0 〜a3 が図40の回路にて計算
され、計算されたa0 〜a3 が図41の回路に入力され
て同時に検査語d0 〜d3 が求まる。即ち、符号化に必
要な時間は、情報語長÷2となり、従来例に比べて誤り
訂正符号化の処理時間が半分に短縮する。
FIGS. 40 and 41 show the above a0~ A
3And d0~ D3It is a block diagram of a circuit that is designed to obtain
It An addition circuit 25 on the Galois field composed of EOR;
Power of constant term on Galois field composed of EOR and AND
The arithmetic circuit 27 and the multiplication-added data (information word) are stored.
And a register 26 for holding. When encoding
In case of information, enter the information word in 2-byte units and
When is input a 0~ A3Is calculated by the circuit in Figure 40
And calculated a0~ A3Is input to the circuit of Figure 41
And the inspection word d0~ D3Is required. That is, it is necessary for encoding.
The required time is information word length / 2, which is incorrect compared to the conventional example.
The correction coding processing time is cut in half.

【0136】なお、上述の説明においては、説明を簡単
にするために、入力データを2バイト単位としている
が、例えば4バイト,6バイト,・・・(単位が偶数)
であれば、同じ考え方で符号化回路を構成することがで
きる。
In the above description, the input data is in units of 2 bytes for simplification of description, but for example, 4 bytes, 6 bytes, ... (Unit is an even number).
If so, the encoding circuit can be configured in the same way.

【0137】(リードソロモン符号に対するシンドロー
ム作成回路6)図42は、本発明のシンドローム作成回
路6の構成を示すブロック図であり、シンドローム作成
回路6は、メモリ31と、ビット重み変換部32と、並
列シンドローム演算部33と、シンドローム結果記憶部
34と、コントローラ部35とを有する。
(Syndrome creating circuit 6 for Reed-Solomon code) FIG. 42 is a block diagram showing the configuration of the syndrome creating circuit 6 of the present invention. The syndrome creating circuit 6 includes a memory 31, a bit weight conversion section 32, and It has a parallel syndrome calculation unit 33, a syndrome result storage unit 34, and a controller unit 35.

【0138】シンドローム演算前、メモリ31より読み
出したデータについて走行方向によりそのガロア体GF
が異なってビット重みの入れ換えが必要となる場合があ
る。この場合に、ビット重み変換部32は、データのビ
ット重みを入れ換えて、並列シンドローム演算部33に
出力する。並列シンドローム演算部33は、ビット重み
変換後のデータのシンドロームを求める。シンドローム
結果記憶部34は、シンドロームの演算結果を記憶す
る。コントローラ部35は、この並列シンドローム演算
部33での演算処理を制御する。
Before the syndrome calculation, the Galois field GF of the data read from the memory 31 is changed according to the traveling direction.
However, it may be necessary to exchange the bit weights. In this case, the bit weight converter 32 replaces the bit weight of the data and outputs it to the parallel syndrome calculator 33. The parallel syndrome calculation unit 33 obtains the syndrome of the data after the bit weight conversion. The syndrome result storage unit 34 stores the calculation result of the syndrome. The controller unit 35 controls the arithmetic processing in the parallel syndrome arithmetic unit 33.

【0139】図43は、図42の並列シンドローム演算
部33及びコントローラ部35の内部構成を示す。並列
シンドローム演算部33は、EOR器36と乗算器37
とアルチプレクサ38とレジスタ39とを有し、コント
ローラ部35は、バイト切り換え器35aとパルス発生
器35bとを有する。
FIG. 43 shows the internal structure of the parallel syndrome computing section 33 and the controller section 35 of FIG. The parallel syndrome arithmetic unit 33 includes an EOR unit 36 and a multiplier 37.
The controller section 35 has a byte switch 35a and a pulse generator 35b.

【0140】以下の条件に従った動作について説明す
る。 符号が存在する体:GF(2) 元の総数は256個 体を構成する原始多項式:g(x)=x8 +x4 +x3 +x2 +1 RS符号の生成多項式:G(x)=x4 +α753 +α249 2 +α78x +α6 =(x+α0 )(x+α1 )(x+α2 ) (x+α3 ) 符号長 n=18バイト 情報点数 k=14バイト 検査点数 m=4バイト 最小距離 dmin =5 訂正能力 誤り訂正=2個、または、誤り検出=4個まで可能
The operation according to the following conditions will be described. Body code is present: GF (2) the original total primitive polynomial constituting 256 bodies: g (x) = x 8 + x 4 + x 3 + x 2 +1 RS code generator polynomial: G (x) = x 4 + Α 75 x 3 + α 249 x 2 + α 78 x + α 6 = (x + α 0 ) (x + α 1 ) (x + α 2 ) (x + α 3 ) Code length n = 18 bytes Information points k = 14 bytes Inspection points m = 4 bytes Minimum distance d min = 5 correction capability error correction = 2 or error detection = 4 possible

【0141】まず、メモリ31に記憶された18バイト
の符号語を3バイト毎にまとめ、その3バイトのデータ
を同時にビット重み変換器32に取り込み、走行方向に
よってガロア体が異なりビット重みの入れ換えが必要な
場合にビット重みを入れ換える。ビット重み変換後のデ
ータは並列シンドローム演算部33に入力されてシンド
ロームが演算される。各々EORした結果を、乗算器3
7のべき乗テーブルと乗算することによりシンドローム
が求まる。マルチプレクサ38は、データ転送時のバイ
ト数の切り換えに必要であり、コントローラ部35のシ
ンドローム演算用のバイト切り換え器35aにより外部
からの情報でバイト数が切り換えられる。また、レジス
タ39は、演算したシンドローム結果を一時保存してお
き、正確に出力するために必要なものである。18バイ
トのデータが入力された後、演算されたシンドローム結
果は、18バイトのデータ入力後にパルス発生器35b
から発生されるタイミングパルスに応じて、シンドロー
ム結果記憶部34に保存される。
First, the 18-byte code words stored in the memory 31 are collected every 3 bytes, and the 3-byte data is simultaneously taken into the bit weight converter 32. The Galois field differs depending on the traveling direction, and the bit weights are exchanged. Swap bit weights when needed. The data after bit weight conversion is input to the parallel syndrome calculator 33 to calculate the syndrome. The result of each EOR is the multiplier 3
The syndrome is obtained by multiplying with a power of 7 table. The multiplexer 38 is necessary for switching the number of bytes at the time of data transfer, and the number of bytes is switched by information from the outside by the byte switch 35a for syndrome calculation of the controller unit 35. The register 39 is necessary for temporarily storing the calculated syndrome result and outputting it accurately. After the 18-byte data is input, the calculated syndrome result is the pulse generator 35b after the 18-byte data is input.
Are stored in the syndrome result storage unit 34 in accordance with the timing pulse generated from

【0142】以上のように、3バイト単位での処理を実
施するので、シンドローム演算を高速に行うことができ
る。
As described above, since the processing is performed in units of 3 bytes, the syndrome calculation can be performed at high speed.

【0143】(デスキュー回路5)本発明では、3個の
デスキューイングバッファを同時に読み出して1回あた
り3バイトのデータを転送する処理を6回行うことによ
り、1フレームのデータの転送速度を従来例の3倍に高
める。また、デスキューイングバッファの各トラックの
割当てを変更し、且つ制御方法を変更することによっ
て、FWD方向とBWD方向とにおいて同一の制御法に
よりデータ転送が可能なようにする。
(Deskew Circuit 5) In the present invention, the processing speed of simultaneously reading three deskewing buffers and transferring 3 bytes of data each time is performed six times, so that the data transfer rate of one frame can be increased as in the conventional example. 3 times higher. Further, by changing the allocation of each track of the deskewing buffer and changing the control method, data transfer can be performed by the same control method in the FWD direction and the BWD direction.

【0144】図44は、本発明のデスキュー回路5の内
部構成を示すブロック図である。デスキュー制御回路4
1A(41B,41C)と、デスキューイングバッファ
42A(42B,42C)と、マルチプレクサ43A
(43B,43C)と、9−8変換回路44A(44
B,44C)とから構成される3系統の回路を設けて、
一度に3バイトのデータを転送できるようにしている。
FIG. 44 is a block diagram showing the internal structure of the deskew circuit 5 of the present invention. Deskew control circuit 4
1A (41B, 41C), deskewing buffer 42A (42B, 42C), multiplexer 43A
(43B, 43C) and the 9-8 conversion circuit 44A (44
B, 44C) and three circuits
3 bytes of data can be transferred at one time.

【0145】図45〜図48は、各デスキューイングバ
ッファ42A,42B,42Cにおけるデータの書き込
み・読み出し制御を示す図である。本発明では、従来例
と異なり、FWD方向及びBWD方向においてその書き
込み・読み出し制御は共通である。
45 to 48 are diagrams showing data write / read control in each deskewing buffer 42A, 42B, 42C. In the present invention, unlike the conventional example, the writing / reading control is common in the FWD direction and the BWD direction.

【0146】一例として、デスキュー制御回路41A及
びデスキューイングバッファ42Aの制御動作について
説明する。磁気テープ上の傾斜した各トラックにおい
て、1バイトデータ(9ビットデータ)が揃ったトラッ
クを分割した各メモリ領域に順次書き込んでいく。ま
ず、1A−トラックのデータを、デスキューイングバッ
ファ42Aの1A−トラックに割り当てられたメモリ領
域(Aの位置)に書き込む。以下同様に、4A−トラッ
クのデータはBの位置、7A−トラックのデータはCの
位置、5B−トラックのデータはDの位置、2B−トラ
ックのデータはEの位置、0A−トラックのデータはF
の位置に書き込む(図45参照)。
As an example, the control operation of the deskew control circuit 41A and deskewing buffer 42A will be described. In each inclined track on the magnetic tape, a track in which 1-byte data (9-bit data) is complete is sequentially written into each divided memory area. First, the 1A-track data is written to the memory area (position A) allocated to the 1A-track of the deskewing buffer 42A. Similarly, 4A-track data is at B position, 7A-track data is at C position, 5B-track data is at D position, 2B-track data is at E position, and 0A-track data is at F
Write at the position (see FIG. 45).

【0147】同様にして、デスキューイングバッファ4
2B,42Cにおいても各トラックのデータを割り当て
られた対応するメモリ領域に書き込む(図46,図47
参照)。以上のようにして、18トラック分のデータの
書き込みを終了する。
Similarly, the deskewing buffer 4
Also in 2B and 42C, the data of each track is written in the corresponding memory area (FIGS. 46 and 47).
reference). As described above, the writing of data for 18 tracks is completed.

【0148】データの書き込みを終了すると、3バイト
データの転送を始める。図45〜図47に示す各デスキ
ューイングバッファ42A,42B,42Cの読み出し
順位1番のブロック(Aの位置)のデータを同時に読み
出して、1回のタイミングで3バイト転送を実現する。
読み出した3バイトデータは3系統独立の9−8変換回
路44A,44B,44Cに転送されて、8ビットのデ
ータに変換される。次に、各デスキューイングバッファ
42A,42B,42Cの読み出し順位2番のブロック
(Bの位置)、次いで、読み出し順位3番というよう
に、合計6回のタイミングで18トラック分の1フレー
ムのデータを送信する(図48参照)。
When the data writing is completed, the 3-byte data transfer is started. The data of the block (position A) having the first reading order of the deskewing buffers 42A, 42B, and 42C shown in FIGS. 45 to 47 is read at the same time, and 3-byte transfer is realized at one timing.
The read 3-byte data is transferred to the 9-8 conversion circuits 44A, 44B, and 44C independent of the three systems, and converted into 8-bit data. Next, the 1st block of data for 18 tracks is read at a total of 6 times, such as the block (position B) having the second reading order of the deskewing buffers 42A, 42B, 42C, and the third reading order. It is transmitted (see FIG. 48).

【0149】以上のような手法により、1フレームのデ
ータ転送において従来例の3倍速の転送が可能になり、
処理速度を向上することができる。また、FWD方向,
BWD方向に関わらずに、同一の制御手法でのデスキュ
ー処理が可能になる。
With the above-described method, it is possible to transfer data of one frame at 3 times the speed of the conventional example.
The processing speed can be improved. Also, in the FWD direction,
The deskew process can be performed by the same control method regardless of the BWD direction.

【0150】(読み出しフォーマット部11e内におけ
るデータ転送制御)従来の3倍である3バイト幅で転送
されるデータに対して、次段の回路(ホスト10)へ転
送するまでに誤り訂正処理を行う場合、一時的にデータ
を格納する手段が必要である。その格納手段として、メ
モリ,フリップ・フロップ,セレクタ等の素子の使用を
最小限にし、しかもFWD方向及びBWD方向の読み出
し動作に対応できるためには、そのメモリアドレスの制
御方法を工夫する必要がある。
(Data Transfer Control in Read Format Unit 11e) Error correction processing is performed on the data transferred with a width of 3 bytes, which is three times as large as that of the conventional technique, until it is transferred to the circuit (host 10) in the next stage. In that case, a means for temporarily storing data is required. In order to minimize the use of elements such as memories, flip-flops, and selectors as the storage means, and to support read operations in the FWD and BWD directions, it is necessary to devise a method for controlling the memory address. .

【0151】磁気テープ等の媒体から読み出されたデー
タをメモリに格納する際、格納するメモリアドレスを制
御するカウンタ制御回路によってアドレスカウンタを制
御する。カウンタの出力値はメモリのアドレス線に入力
されており、データをメモリの決まった領域に格納する
ようにアドレス制御するようになっている。また、カウ
ンタ制御回路では、磁気テープ読み取り方向(FWD方
向かBWD方向か)によってアドレス順を切り替えるこ
とができる。誤り訂正処理を行う際に、入力データ順が
BWD方向とFWD方向とでは逆であるが、カウンタ制
御回路でアドレス順を切り替えることによって、BWD
方向とFWD方向とで個別の誤り訂正回路を設ける必要
がない。
When data read from a medium such as a magnetic tape is stored in the memory, the address counter is controlled by the counter control circuit which controls the memory address to be stored. The output value of the counter is input to the address line of the memory, and the address is controlled so that the data is stored in a predetermined area of the memory. Further, the counter control circuit can switch the address order depending on the magnetic tape reading direction (FWD direction or BWD direction). When performing the error correction process, the input data order is opposite between the BWD direction and the FWD direction, but by switching the address order by the counter control circuit, the BWD direction can be changed.
It is not necessary to provide separate error correction circuits for the direction and the FWD direction.

【0152】図49は、本発明のデータ転送制御系の構
成を示すブロック図である。図49に示すデータ転送制
御系は、データを格納するためのメモリ領域を有するS
RAM51と、特定アドレス値を設定するアドレスロー
ド値設定回路52と、FWD方向,BWD方向各々にお
いて転送データの順序を切り替えるためのFWD/BW
D切替回路53と、書き込み,読み出しそれぞれのアド
レスを制御するアドレスカウンタ回路54と、磁気テー
プ等の媒体55と、誤り訂正を行う誤り訂正処理回路5
6と、FWD方向,BWD方向を判別するための走行方
向判断回路57と、BWD方向時に同一アドレス内の3
バイトのデータ順を並べ換えるBWDバイトデータ変換
回路58とを備える。アドレスカウンタ回路54は、書
き込みカウンタ54aと読み出しカウンタ54bとを有
する。
FIG. 49 is a block diagram showing the structure of the data transfer control system of the present invention. The data transfer control system shown in FIG. 49 has an S having a memory area for storing data.
RAM 51, address load value setting circuit 52 for setting a specific address value, and FWD / BW for switching the order of transfer data in each of the FWD direction and the BWD direction.
D switching circuit 53, address counter circuit 54 for controlling write and read addresses, medium 55 such as magnetic tape, and error correction processing circuit 5 for error correction
6, a traveling direction determination circuit 57 for determining the FWD direction and the BWD direction, and 3 in the same address in the BWD direction.
And a BWD byte data conversion circuit 58 for rearranging the data order of bytes. The address counter circuit 54 has a write counter 54a and a read counter 54b.

【0153】図50はSRAM51におけるメモリマッ
プを示す図であり、グループ毎のメモリ格納領域を示し
ている。図50において、,,はフレーム単位の
データのグループ番号、00,05,06,0B,0
C,11,12は各グループのデータを格納する領域を
表したアドレス初期値(ロード値)である。
FIG. 50 is a diagram showing a memory map in the SRAM 51, showing a memory storage area for each group. In FIG. 50 ,,, are group numbers of data in frame units, 00, 05, 06, 0B, 0
C, 11, and 12 are address initial values (load values) representing areas for storing the data of each group.

【0154】図51は、媒体55から3バイト単位で転
送されてくるデータの1フレーム分のフォーマットを示
す図であり、図51(a)はFWD方向での読み出し
時、図51(b)はBWD方向での読み出し時のデータ
フォーマットをそれぞれ示す。また、図52はフレーム
単位のデータの書き込み,読み出しのタイミングチャー
ト、図53はある特定のフレームデータにおけるFWD
時の書き込み,読み出しの詳細なタイミングチャート、
図54はある特定のフレームデータにおけるBWD時の
書き込み,読み出しの詳細なタイミングチャートであ
る。
FIG. 51 is a diagram showing the format of one frame of data transferred from the medium 55 in 3-byte units. FIG. 51 (a) shows the case of reading in the FWD direction, and FIG. 51 (b) shows that. The respective data formats at the time of reading in the BWD direction are shown. Further, FIG. 52 is a timing chart of writing and reading of data in frame units, and FIG. 53 is an FWD in a specific frame data.
Detailed timing chart for writing and reading
FIG. 54 is a detailed timing chart of writing and reading during BWD in specific frame data.

【0155】媒体55からFWD方向に読み出されたデ
ータが、図51(a)に示すようなフォーマット(3バ
イト幅:1A,2A,3A)でパラレルに送られてきた
場合、アドレスロード値設定回路52によって設定され
たフレーム単位(1Aから8Bまでの18バイト)のグ
ループ毎に、SRAM51の決められた格納アドレス
(ロード値)にデータが3バイト格納される。この場
合、まず00がロードされ、アドレス00には、1A,
2A,3Aの3バイトが格納される。
When the data read from the medium 55 in the FWD direction is sent in parallel in the format (3 byte width: 1A, 2A, 3A) as shown in FIG. 51A, the address load value setting 3 bytes of data are stored in the determined storage address (load value) of the SRAM 51 for each group of frame units (18 bytes from 1A to 8B) set by the circuit 52. In this case, 00 is loaded first, and the address 00 has 1A,
3 bytes of 2A and 3A are stored.

【0156】その後、アドレスカウンタ回路54によっ
てアドレスがインクリメントされ、それぞれ、インクリ
メントされたアドレスに応じてデータが3バイトずつ格
納されていく。05までインクリメントされたアドレス
にデータが格納されると、1フレームのデータ、即ちグ
ループの格納が終了する。同様に、グループはアド
レス06から0Bまで、グループは0Cから11まで
というようにグループ毎にデータ格納処理が行われる。
After that, the address is incremented by the address counter circuit 54, and the data is stored by 3 bytes each in accordance with the incremented address. When the data is stored in the addresses incremented to 05, the storage of one frame of data, that is, the group is completed. Similarly, data storage processing is performed for each group, such as addresses 06 to 0B for groups and groups 0C to 11 for groups.

【0157】次に、グループ毎にSRAM51に格納さ
れた(書き込まれた)同一のアドレスを、読み出す場合
の説明を行う。この際、図52に示すように、書き込み
と読み出しとのタイミングで2フレームの遅れが生じ
る。これは、フレームデータ(18バイト)書き込み完
了に1フレーム、更に書き込まれたデータに関して誤り
訂正処理を行うために1フレームかかるためである。デ
ータ格納時にグループを3つに分け、それぞれの開始ア
ドレスと終了アドレスとをロード値として設定するの
は、この2フレームのずれに対処するためである。
Next, a description will be given of the case where the same address stored (written) in the SRAM 51 is read out for each group. At this time, as shown in FIG. 52, a delay of two frames occurs at the timing of writing and reading. This is because it takes 1 frame to complete the writing of the frame data (18 bytes) and 1 frame to perform error correction processing on the written data. The reason why the group is divided into three groups at the time of data storage and the respective start addresses and end addresses are set as load values is for coping with the shift of these two frames.

【0158】SRAM1に書き込まれた同一のアドレス
を読み出すのに2フレーム遅れるため、図52に示すよ
うに、グループを書き込んでいるときはグループを
読み出し、グループを書き込んでいるときはグループ
を読み出し、グループを書き込んでいるときはグル
ープを読み出すというように、書き込み,読み出しそ
れぞれのアドレスカウンタ54a,54bを制御する。
図53はこのアドレスカウンタ制御の詳細なタイミング
を示す。図53では、0Cを書き込んでいるときは00
を読み出し、08を書き込んでいるときは0Cを読み出
していることを表している。
Since reading the same address written in the SRAM 1 is delayed by 2 frames, as shown in FIG. 52, the group is read when the group is being written and the group is read when the group is being written. The address counters 54a and 54b for writing and reading are controlled such that the group is read when writing is written.
FIG. 53 shows the detailed timing of this address counter control. In FIG. 53, 00 is written when 0C is written.
Is read, and when 08 is written, 0C is read.

【0159】なお、上述した例はFWD方向時の書き込
みについての説明であるが、BWD方向時の書き込みの
場合、媒体55から読み出される読み出しデータは、誤
り訂正処理の都合上、前段でFWD方向のデータ順に変
換されており、次段へ出力する場合はBWD方向に変換
し直さないといけない。FWD/BWD各々の走行方向
を判断する走行方向判断回路57によって走行方向を判
別し、読み出し/書き込み順を制御するFWD/BWD
切替回路53によって切り替える。つまり、FWD方向
の場合はグループの開始アドレスをロードし、カウンタ
値を増やしていくが、BWD方向の場合は、グループの
最終アドレスをロード値とし、カウンタ値を減らしてい
くようにする。
Note that, although the above-mentioned example describes the writing in the FWD direction, in the case of writing in the BWD direction, the read data read from the medium 55 is in the FWD direction in the previous stage for the sake of error correction processing. The data has been converted in the order of data, and when outputting to the next stage, it has to be converted again in the BWD direction. FWD / BWD that determines the traveling direction by the traveling direction determination circuit 57 that determines the traveling direction of each of FWD / BWD and controls the reading / writing order
Switching is performed by the switching circuit 53. That is, in the case of the FWD direction, the start address of the group is loaded and the counter value is increased, but in the case of the BWD direction, the final address of the group is set as the load value and the counter value is decreased.

【0160】例えば、図54において、グループをB
WD方向で読み出す場合、0Cを書き込んでいるときは
05を読み出すというように、グループの最終アドレ
スをロード値としダウンカウントするように読み出しア
ドレスカウンタを制御する。また、BWD時は図51
(b)に示すように、出力データ順に加えて同一アドレ
ス内の3バイトの並びも変わるので、BWD時はBWD
バイトデータ変換回路58によってバイト変換制御を行
う。
For example, in FIG. 54, the group is B
When reading in the WD direction, the read address counter is controlled so that the last address of the group is used as the load value and down counting is performed such that 05 is read when 0C is written. Moreover, at the time of BWD, FIG.
As shown in (b), since the arrangement of 3 bytes in the same address changes in addition to the order of output data, BWD is used during BWD.
The byte data conversion circuit 58 controls byte conversion.

【0161】以上のような手法によると、データ転送の
高速化(3バイト転送)、テープ媒体からのデータの読
み出し順序がFWD方向またはBWD方向に変化した場
合、また、高性能な誤り訂正処理を行う際に、フレーム
単位としてデータのずれが生じた場合等においても、よ
り高度,複雑になりつつあるデータ転送制御方式におい
て、以上に挙げた要因に総括的に対処できる。アドレス
カウンタをFWD方向,BWD方向で切り換えて制御す
ることにより、カウンタロード値を設定し、カウンタを
アップカウントにするかダウンカウントにするかによっ
て、FWD方向及びBWD方向での読み出し動作に対応
できる。データを3つのグループに分けることによっ
て、上に述べた書き込み時と読み出し時とで2フレーム
ずれるという現象においても、同じタイミングにおいて
書き込み動作と読み出し動作とを行え、3バイトデータ
高速転送に対応することができる。
According to the method described above, speeding up of data transfer (3 byte transfer), high-performance error correction processing when the reading order of data from the tape medium changes in the FWD direction or the BWD direction. When the data transfer control method is becoming more sophisticated and complicated, even when data shift occurs in frame units, the above-mentioned factors can be dealt with comprehensively. By controlling the address counter by switching it between the FWD direction and the BWD direction, the counter load value is set, and depending on whether the counter is up-counting or down-counting, the read operation in the FWD direction and the BWD direction can be handled. By dividing the data into three groups, it is possible to perform the write operation and the read operation at the same timing even in the above-described phenomenon that two frames are deviated during writing and reading, and it is possible to support 3-byte data high-speed transfer. You can

【0162】データ転送制御方法における従来からの改
良手法の常套手段である、データ格納またはバッファ制
御を行うためのフリップ・フロップ,セレクタ等の素子
の多量追加という方法に対し、本発明では以上のような
手法にてデータ転送制御を行うので、データ格納,バッ
ファ制御を行うために使用される素子の絶対数を最小限
に抑え、回路規模の増大,複雑化を防ぎ、開発期間の短
縮、開発費の低減、更にはテスト項目の簡略化をも図る
ことができ、多方面にわたって効率面での向上が可能と
なる。
In contrast to the method of adding a large number of elements such as flip-flops and selectors for performing data storage or buffer control, which is a conventional means of the conventional improved method in the data transfer control method, the present invention has been described above. Since data transfer control is performed by various methods, the absolute number of elements used for data storage and buffer control can be minimized to prevent an increase in circuit scale and complexity, shorten development time, and reduce development costs. Can be reduced and the test items can be simplified, and efficiency can be improved in many fields.

【0163】次に、本発明の再同期信号検出方法につい
て説明する。本発明の再同期信号検出方法では、RES
YNCパターン(再同期信号)を検出する範囲SYNC
Yを可変できるように回路を設定し、磁気テープのスキ
ュー等で検出範囲SYNCYを超えてRESYNCパタ
ーン(再同期信号)が存在した場合、リトライ時にその
検出範囲SYNCYを広くするように制御する。つま
り、リトライの回数が所定回数に達するまで、同一ブロ
ックに対するデータの読み出しを再度実行する度に、検
出範囲SYNCYを広げていく。そうすることによっ
て、MTU12からのデータ(デスキューイングバッフ
ァ61への書き込みデータ)からのRESYNCパター
ン(再同期信号)の検出を容易にし、ETPのリセット
を確実に行えて、読み出しデータの信頼性を高める。
Next, the resynchronization signal detecting method of the present invention will be described. In the resynchronization signal detection method of the present invention, the RES
Range SYNC for detecting YNC pattern (resync signal)
A circuit is set so that Y can be varied, and when a RESYNC pattern (resynchronization signal) exists beyond the detection range SYNCY due to skew of the magnetic tape or the like, control is performed to widen the detection range SYNCY upon retry. In other words, the detection range SYNCY is expanded each time data is read from the same block again until the number of retries reaches a predetermined number. By doing so, it becomes easy to detect the RESYNC pattern (resynchronization signal) from the data from the MTU 12 (write data to the deskewing buffer 61), the ETP can be reliably reset, and the reliability of the read data is improved. .

【0164】図55は、RESYNCパターン(再同期
信号)を検出する本発明におけるMTC11の内部構成
を示すブロック図である。MTC11は、デスキューイ
ングバッファ61と、書き込みアドレス制御部62と、
読み出しアドレス制御部63と、ETP認識部64と、
ETP保持部65と、SYNC−RESYNC判定部6
6と、誤り訂正処理部67と、マイクロプログラム制御
部68と、SYNC演算部69と、SYNC保持部70
と、AND回路71とを有する。なお、これらの中で、
書き込みアドレス制御部62,ETP認識部64,ET
P保持部65,SYNC−RESYNC判定部66,S
YNC演算部69及びSYNC保持部70は、それぞれ
トラック数分だけ設けられている。
FIG. 55 is a block diagram showing the internal structure of the MTC 11 according to the present invention for detecting the RESYNC pattern (resynchronization signal). The MTC 11 includes a deskewing buffer 61, a write address control unit 62,
A read address control unit 63, an ETP recognition unit 64,
The ETP holding unit 65 and the SYNC-RESYNC determination unit 6
6, an error correction processing unit 67, a micro program control unit 68, a SYNC calculation unit 69, and a SYNC holding unit 70.
And an AND circuit 71. Among these,
Write address control unit 62, ETP recognition unit 64, ET
P holding unit 65, SYNC-RESYNC determination unit 66, S
The YNC calculation units 69 and the SYNC holding units 70 are provided by the number of tracks.

【0165】デスキューイングバッファ61は、MTU
12から読み取った各トラックのデータを一旦書き込
み、その後読み出し、ETP認識部64,SYNC−R
ESYNC判定部66及び誤り訂正処理部67に読み出
しデータを出力する。書き込みアドレス制御部62は、
MTU12からのデータに対して、デスキューイングバ
ッファ61に書き込むアドレスを決定する。また、ET
P保持部65からETP情報またはSYNC−RESY
NC判定部66からロード信号が入力されると、0が書
き込みアドレス制御部62にロードされる。読み出しア
ドレス制御部63は、デスキューイングバッファ61か
らの読み出しアドレスを決定し、読み出しアドレスにて
デスキューイングバッファ61での読み出し処理を制御
すると共に、その読み出しアドレスをSYNC−RES
YNC判定部66及びSYNC保持部69に出力する。
書き込みアドレス制御部62及び読み出しアドレス制御
部63は、従来例と同様に、71カウントするカウンタ
から構成されている。
The deskewing buffer 61 is an MTU.
The data of each track read from 12 is once written and then read out, and the ETP recognition unit 64, SYNC-R is read.
The read data is output to the ESYNC determination unit 66 and the error correction processing unit 67. The write address controller 62
An address to be written in the deskewing buffer 61 is determined for the data from the MTU 12. Also, ET
ETP information or SYNC-RESY from the P holding unit 65
When the load signal is input from the NC determination unit 66, 0 is loaded into the write address control unit 62. The read address control unit 63 determines the read address from the deskewing buffer 61, controls the read processing in the deskewing buffer 61 with the read address, and also determines the read address from the SYNC-RES.
The data is output to the YNC determination unit 66 and the SYNC holding unit 69.
The write address control unit 62 and the read address control unit 63 are composed of a counter that counts 71, as in the conventional example.

【0166】ETP認識部64は、デスキューイングバ
ッファ61からの読み出しデータに誤りがあるか否かを
判断した誤り訂正処理部67からの訂正情報に従って、
誤りがある場合にはそのトラックに対してETPをセッ
トするためのセット信号をETP保持部65に出力す
る。ETP保持部65は、このセット信号に基づいてE
TPを誤り訂正処理部67に出力し、リセット信号が入
力されるまでETPを保持する。ETPが立った場合、
誤り訂正処理部67は、デスキューイングバッファ61
からの読み出しデータの誤りを検出して、その誤りを訂
正する。
The ETP recognizing unit 64 determines whether or not the read data from the deskewing buffer 61 has an error according to the correction information from the error correction processing unit 67.
If there is an error, a set signal for setting ETP for the track is output to the ETP holding unit 65. Based on this set signal, the ETP holding unit 65 outputs E
The TP is output to the error correction processing unit 67, and the ETP is held until the reset signal is input. If ETP stands,
The error correction processing unit 67 uses the deskewing buffer 61
The error of the read data from is detected and the error is corrected.

【0167】誤り訂正処理部67は、データ誤りに関す
る情報、例えばデータを読めたとか読めなかったとかい
う情報をマイクロプログラム制御部68へ送り、その情
報に基づき、誤り訂正処理部67で処理できなかった場
合等は同一ブロックのデータ読み取りを再実行するリト
ライを行う。そして、リトライを行った場合には、マイ
クロプログラム制御部68はSYNCY演算部69に、
RESYNCパターン(再同期信号)の検出範囲SYN
CYの変更を指示するSYNCY制御信号を出力する。
The error correction processing section 67 sends information relating to the data error, for example, information that the data could be read or could not be read, to the microprogram control section 68, and the error correction processing section 67 could not process based on the information. In such a case, a retry is performed to re-execute the data reading of the same block. Then, when the retry is performed, the micro program control unit 68 causes the SYNC operation unit 69 to
RESYNC pattern (resynchronization signal) detection range SYN
A SYNC control signal for instructing the change of CY is output.

【0168】SYNCY演算部69は、読み出しアドレ
ス制御部63からの読み出しアドレス、SYNC−RE
SYNC判定部66からのRESYNCを検出した際の
読み出しアドレス(”0”)、及び、マイクロプログラ
ム制御部68からのSYNCY制御信号に基づいて、S
YNCYを演算する。AND回路71は、SYNCY演
算部69の出力とFWDかBWDかを示す信号とのAN
Dを求めてSYNCY保持部70に出力する。SYNC
Y保持部70は、求められたSYNCYを保持し必要に
応じてSYNC−RESYNC判定部66に出力する。
The SYNC operation unit 69 uses the read address from the read address control unit 63, SYNC-RE.
Based on the read address (“0”) at the time of detecting RESYNC from the SYNC determination unit 66 and the SYNC control signal from the microprogram control unit 68, S
Calculate YNCY. The AND circuit 71 is an AN for the output of the SYNC calculator 69 and a signal indicating whether it is FWD or BWD.
D is obtained and output to the SYNC holding unit 70. SYNC
The Y holding unit 70 holds the obtained SYNCY and outputs it to the SYNC-RESYNC determination unit 66 as necessary.

【0169】SYNC−RESYNC判定部66は、M
TU12からのデータまたはデスキューイングバッファ
61からの読み出しデータから、RESYNCパターン
(再同期信号)を検出し、検出した場合には、書き込み
アドレス制御部62にロード信号を出力すると共に、E
TP認識部64にETPリセット信号を出力する。ET
P認識部64は、このETPリセット信号に従ってET
Pをリセットする。
The SYNC-RESYNC judging unit 66
A RESYNC pattern (resynchronization signal) is detected from the data from the TU 12 or the read data from the deskewing buffer 61, and when it is detected, a load signal is output to the write address control unit 62 and E
The ETP reset signal is output to the TP recognition unit 64. ET
The P recognition unit 64 receives the ET according to the ETP reset signal.
Reset P.

【0170】図56は、SYNCY演算部69の内部構
成を示す図であり、可変であるSYNCYの設定範囲の
例を示している。図56において、ROF−01,RO
F−02,ROF−04,ROF−08,ROF−1
6,ROF−32,ROF−64は、読み出しアドレス
制御部63から得られる読み出しアドレスである。ま
た、SET0,SET1,SET2,SET3,SET
4,SET5は、マイクロプログラム制御部68から出
力されるSYNCY制御信号である。図56に示す回路
においては、SYNCYの範囲は0〜7まで可能であ
る。例えば、SYNCY制御信号を”011111”
(SET0〜SET5)と入力すると、SYNCYはフ
レーム66〜71,0までの”7”の範囲になり、”1
01111”と入力すると、SYNCYはフレーム67
〜71,0までの”6”の範囲になる。
FIG. 56 is a diagram showing the internal structure of the SYNC calculation unit 69, and shows an example of a variable SYNC setting range. In FIG. 56, ROF-01 and RO
F-02, ROF-04, ROF-08, ROF-1
6, ROF-32 and ROF-64 are read addresses obtained from the read address control unit 63. In addition, SET0, SET1, SET2, SET3, SET
4, SET5 are SYNCY control signals output from the microprogram control unit 68. In the circuit shown in FIG. 56, the range of SYNC can be 0 to 7. For example, the SYNCY control signal is set to "011111".
If you input (SET0-SET5), SYNC will be in the range of "7" from frames 66 to 71,0, and "1".
If you enter 01111 ", the SYNC
It becomes the range of "6" from to 71,0.

【0171】次に、動作について説明する。図57〜図
60は動作手順を示すフローチャートである。
Next, the operation will be described. 57 to 60 are flowcharts showing the operation procedure.

【0172】まず、RESYNCパターン(再同期信
号)の検出範囲SYNCYを入力する(S1)。例え
ば、図56において、SYNCY制御信号SET0〜5
=”111011”を入力して、SYNCYを69,7
0,71,0フレーム間に設定する。次に、読み取り方
向がFWD方向かBWD方向かを判断する(S2)。F
WD方向である場合、データの読み取りを開始し(S
3)、ETPをセットする条件があるか否かを判断する
(S4)。条件がなければ、データの読み取りを行い
(S13)、データの読み取りが終われば処理を終了す
る(S14)。
First, the detection range SYNCY of the RESYNC pattern (resynchronization signal) is input (S1). For example, in FIG. 56, the SYNC control signals SET0-5 are set.
= ”111011” is input and SYNC is 69,7
Set between 0,71,0 frames. Next, it is determined whether the reading direction is the FWD direction or the BWD direction (S2). F
If it is in the WD direction, start reading data (S
3), it is determined whether there is a condition for setting ETP (S4). If there is no condition, the data is read (S13), and if the data is read, the process is finished (S14).

【0173】ETPをセットする条件があれば、”0”
をロードして該当するトラックの書き込みアドレスを停
止させて(S5)、ETPをセットする(S6)。”
0”から所定値を引いた減算値を求め(S7)、所定の
範囲(減算値から0までの範囲)にあるMTU12から
のデータ中のRESYNCパターンを検出したか否かを
判断する(S8)。検出した場合には”0”から書き込
みアドレスをカウントアップする(S9)。次いで、デ
スキューイングバッファ61からの読み出しデータ中か
らRESYNCパターンを検出したか否かを判断し(S
10)、検出した場合にはETPをリセットして(S1
1)、S4に戻る。
"0" if there is a condition to set ETP
Is loaded to stop the write address of the corresponding track (S5), and ETP is set (S6). ”
A subtraction value obtained by subtracting a predetermined value from "0" is obtained (S7), and it is determined whether or not the RESYNC pattern in the data from the MTU 12 in the predetermined range (range from the subtraction value to 0) is detected (S8). If detected, the write address is counted up from "0" (S9), and then it is determined whether a RESYNC pattern is detected in the read data from the deskewing buffer 61 (S).
10) If detected, reset ETP (S1
1), return to S4.

【0174】S8でRESYNCパターンを検出しない
場合にはそのまま、また、S10でRESYNCパター
ンを検出しない場合にはフォーマット誤りの訂正を行っ
た後(S12)に、誤りがあったか否かを判断する(S
15)。誤りがない場合はそのまま処理を終了する。一
方、誤りがあった場合には、誤り訂正処理部67からの
情報に基づくマイクロプログラム処理部68でのマイク
ロプログラムによる処理によってリトライを行い、カウ
ンタを1だけインクリメントする(S16)。所定回数
だけリトライを行ったか否かを判断し(S17)、行っ
た場合には誤り報告をして(S19)処理を終了する。
一方、所定回数にリトライ数が達していない場合には、
SYNCYを変更して広くして(S18)、S4に戻
る。例えば、図56において、SYNCY制御信号SE
T0〜5=”110111”を入力して、SYNCYを
68,69,70,71,0フレーム間に設定する。
If the RESYNC pattern is not detected in S8, it is determined as it is. If the RESYNC pattern is not detected in S10, the format error is corrected (S12), and then it is determined whether or not there is an error (S).
15). If there is no error, the process ends as it is. On the other hand, if there is an error, a retry is performed by the microprogram processing in the microprogram processing unit 68 based on the information from the error correction processing unit 67, and the counter is incremented by 1 (S16). It is determined whether or not the retries have been performed a predetermined number of times (S17), and if the retries have been performed, an error is reported (S19), and the process ends.
On the other hand, if the number of retries has not reached the specified number of times,
Change SYNCY to make it wider (S18) and return to S4. For example, in FIG. 56, the SYNC control signal SE
Input T0-5 = "110111" to set SYNCY between 68, 69, 70, 71 and 0 frames.

【0175】S3の判断でBWD方向である場合、デー
タの読み取りを開始し(S21)、2個目のRESYN
C(またはSYNC)パターンを検出したか否かを判断
する(S22)。検出しない場合にはそのまま、検出し
た場合には検出時の読み出しアドレスを取り込んだ(S
23)後に、ETPをセットする条件があるか否かを判
断する(S24)。条件がなければ、データの読み取り
を行い(S35)、データの読み取りが終われば処理を
終了する(S36)。
If it is judged in S3 that it is in the BWD direction, data reading is started (S21) and the second RESYN
It is determined whether or not the C (or SYNC) pattern is detected (S22). When not detected, the read address at the time of detection is fetched as it is (S
After 23), it is determined whether there is a condition for setting ETP (S24). If there is no condition, the data is read (S35), and if the data is read, the process is finished (S36).

【0176】ETPをセットする条件があれば、”0”
をロードして該当するトラックの書き込みアドレスを停
止させて(S25)、ETPをセットする(S26)。
次いで、保持している同期アドレスを書き込みアドレス
にロードする(S27)。その同期アドレス値から所定
値を引いた減算値を求め(S28)、所定の範囲(減算
値から同期アドレス値までの範囲)にあるMTU12か
らのデータ中のRESYNCパターンを検出したか否か
を判断する(S29)。検出した場合には同期アドレス
値から書き込みアドレスをカウントアップする(S3
0)。次いで、デスキューイングバッファ61からの読
み出しデータ中からRESYNCパターンを検出したか
否かを判断し(S31)、検出した場合にはETPをリ
セットして(S32)、S24に戻る。
"0" if there is a condition to set ETP
Is loaded to stop the write address of the corresponding track (S25), and ETP is set (S26).
Next, the held synchronous address is loaded into the write address (S27). A subtraction value obtained by subtracting a predetermined value from the synchronization address value is obtained (S28), and it is determined whether or not a RESYNC pattern in the data from the MTU 12 in a predetermined range (range from the subtraction value to the synchronization address value) is detected. Yes (S29). When detected, the write address is counted up from the synchronous address value (S3
0). Next, it is determined whether or not the RESYNC pattern is detected in the read data from the deskewing buffer 61 (S31), and if detected, the ETP is reset (S32) and the process returns to S24.

【0177】S29,S31でRESYNCパターンを
検出しない場合、ETPをリセットせずに(S33,S
34)、誤りがあったか否かを判断する(S37)。誤
りがない場合はそのまま処理を終了する。一方、誤りが
あった場合には、誤り訂正処理部67からの情報に基づ
くマイクロプログラム処理部68でのマイクロプログラ
ムによる処理によってリトライを行い、カウンタを1だ
けインクリメントする(S38)。所定回数だけリトラ
イを行ったか否かを判断し(S39)、行った場合には
誤り報告をして(S41)処理を終了する。一方、所定
回数にリトライ数が達していない場合には、SYNCY
を変更して広くして(S40)、S24に戻る。
When the RESYNC pattern is not detected in S29 and S31, the ETP is not reset (S33, S
34), it is determined whether or not there is an error (S37). If there is no error, the process ends as it is. On the other hand, if there is an error, a retry is performed by the processing by the microprogram in the microprogram processing unit 68 based on the information from the error correction processing unit 67, and the counter is incremented by 1 (S38). It is determined whether or not the retry has been performed a predetermined number of times (S39), and if the retry has been performed, an error is reported (S41), and the process ends. On the other hand, if the number of retries has not reached the predetermined number, SYNCY
Is changed to widen (S40) and the process returns to S24.

【0178】このように、リトライ時にRESYNCパ
ターン(再同期信号)の検出範囲SYNCYを広げた後
に、MTU12からのデータ(デスキューイングバッフ
ァ61への書き込みデータ)からRESYNCパターン
(再同期信号)の検出を行いETPのリセットを行う。
このようにSYNCYを可変とすることにより、最初は
RESYNCパターン(再同期信号)を検出できなくて
も、リトライを繰り返していくとそれを検出できるよう
になる。よって例えば、以前はデータブロックの読み取
りが可能であったが、経年変化等により今では読み取り
が不可能となった磁気テープに対してどうしても読み出
しを行いたい場合、本発明の手法を用いることによって
読み取りが可能になる。
As described above, after the detection range SYNCY of the RESYNC pattern (resynchronization signal) is widened at the time of retry, the detection of the RESYNC pattern (resynchronization signal) from the data from the MTU 12 (write data to the deskewing buffer 61). Perform ETP reset.
By making the SYNC variable in this way, even if the RESYNC pattern (resynchronization signal) cannot be detected at the beginning, it can be detected by repeating the retries. So, for example, if you want to read a magnetic tape that was previously readable but could not be read now due to aging, etc., use the method of the present invention to read. Will be possible.

【0179】また、データの読み取り開始時に設定する
SYNCYを予めテープ再生時は従来装置の固定の所定
値より広くしておくと、今までより、より緩い条件でテ
ープの再生が行え、テープ記録時は従来装置の固定の所
定値より狭くしておくと、今までより、より厳しい条件
でテープ記録が行える。また、記録時には再生時より設
定するSYNCYを狭くしておくと、上述した磁気テー
プの経年変化等に対して、それらを見越したデータ記録
が可能になり、磁気テープへの書き込み保証を図ること
ができる。
Further, if the SYNCY set at the start of reading data is made wider than the fixed value fixed in the conventional apparatus at the time of tape reproduction in advance, the tape can be reproduced under a more lenient condition than before. If the value is set smaller than the fixed value of the conventional device, tape recording can be performed under more severe conditions than before. Further, if the SYNCY set during recording is set narrower than that during reproduction, data recording can be performed in anticipation of the above-described aging of the magnetic tape, and writing on the magnetic tape can be guaranteed. it can.

【0180】[0180]

【発明の効果】以上説明したように、本発明によれば、
磁気テープ制御装置のデータフォーマット部内の各回路
の機能の高速化を図り、回路を複雑化することなく、デ
ータバスの拡大を行うことができ、データ転送速度の高
速化を可能とし、磁気テープ装置の性能向上に寄与する
ところが大きい。
As described above, according to the present invention,
The function of each circuit in the data format section of the magnetic tape control device can be increased, the data bus can be expanded without complicating the circuit, and the data transfer speed can be increased. It greatly contributes to the performance improvement of.

【0181】また、本発明の再同期信号検出方法では、
再同期信号を検出する範囲を可変としたので、従来では
検出できなかったような場合でも、再同期信号を容易に
検出することができ、読み出しデータの信頼性を高める
ことができる。また、データの読み取り開始時に、再同
期信号を検出する範囲を任意の広さの範囲に設定できる
ので、媒体への記録時,再生時にその範囲を可変とする
ことによって、記録,再生能力の許容量を自由に設定で
き、媒体への書き込み保証を図ることができる。
In the resynchronization signal detecting method of the present invention,
Since the range for detecting the re-synchronization signal is variable, the re-synchronization signal can be easily detected even in the case where the re-synchronization signal cannot be detected conventionally, and the reliability of the read data can be improved. In addition, since the range for detecting the resynchronization signal can be set to an arbitrary wide range at the start of reading the data, the range of recording and reproducing can be made variable by recording and reproducing on the medium. It is possible to set the capacity freely, and it is possible to ensure writing on the medium.

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

【図1】磁気テープ制御装置のデータフォーマット部の
内部構成例を示すブロック図である。
FIG. 1 is a block diagram illustrating an internal configuration example of a data format unit of a magnetic tape control device.

【図2】テープサブシステムの構成例を示すブロック図
である。
FIG. 2 is a block diagram showing a configuration example of a tape subsystem.

【図3】本発明の残余バイト作成回路の構成例を示す図
である。
FIG. 3 is a diagram showing a configuration example of a residual byte creation circuit of the present invention.

【図4】本発明の残余バイト作成回路のタイミングチャ
ート(カスタムデータが8バイト)である。
FIG. 4 is a timing chart (8 bytes of custom data) of the residual byte creating circuit of the present invention.

【図5】本発明の残余バイト作成回路のタイミングチャ
ート(カスタムデータが9バイト)である。
FIG. 5 is a timing chart (9 bytes of custom data) of the residual byte creation circuit of the present invention.

【図6】本発明の残余バイト作成回路のmod14カウ
ンタ出力を示す図表である。
FIG. 6 is a chart showing a mod14 counter output of the residual byte generation circuit of the present invention.

【図7】本発明のDRC作成回路の構成例を示す図であ
る。
FIG. 7 is a diagram showing a configuration example of a DRC creation circuit of the present invention.

【図8】本発明のDRC作成回路の構成例を示す図であ
る。
FIG. 8 is a diagram showing a configuration example of a DRC creation circuit of the present invention.

【図9】本発明のVRC作成回路の構成例を示す図であ
る。
FIG. 9 is a diagram showing a configuration example of a VRC creation circuit of the present invention.

【図10】本発明におけるDRC作成時の入力データと
データタイミングとの関係を示す図表である。
FIG. 10 is a chart showing the relationship between input data and data timing when creating a DRC in the present invention.

【図11】本発明におけるDRC作成の一例を示す図で
ある。
FIG. 11 is a diagram showing an example of DRC creation in the present invention.

【図12】従来例のDRC作成回路でのデータ選択を示
す図表である。
FIG. 12 is a chart showing data selection in a DRC creation circuit of a conventional example.

【図13】従来例のDRC作成回路でのデータ選択を示
す図表である。
FIG. 13 is a chart showing data selection in the DRC creation circuit of the conventional example.

【図14】本発明のDRC作成回路でのデータ選択を示
す図表である。
FIG. 14 is a chart showing data selection in the DRC creation circuit of the present invention.

【図15】本発明のDRC作成回路でのデータ選択を示
す図表である。
FIG. 15 is a chart showing data selection in the DRC creation circuit of the present invention.

【図16】本発明のDRC作成回路でのデータ選択部の
構成例を示す図である。
FIG. 16 is a diagram showing a configuration example of a data selection unit in the DRC creation circuit of the present invention.

【図17】本発明のDRC作成回路でのデータ選択部の
構成例を示す図である。
FIG. 17 is a diagram showing a configuration example of a data selection unit in the DRC creation circuit of the present invention.

【図18】本発明のDRC作成回路でのデータ選択部の
構成例を示す図である。
FIG. 18 is a diagram showing a configuration example of a data selection unit in the DRC creation circuit of the present invention.

【図19】本発明のDRC作成回路でのデータ選択部の
構成例を示す図である。
FIG. 19 is a diagram showing a configuration example of a data selection unit in the DRC creation circuit of the present invention.

【図20】本発明のDRC作成回路のデータマスク部で
のデータマスクタイミングを示す図表である。
FIG. 20 is a chart showing data mask timing in the data mask section of the DRC creation circuit of the present invention.

【図21】本発明のDRC作成回路のデータマスク部で
のデータマスクタイミングを示す図表である。
FIG. 21 is a table showing data mask timing in the data mask section of the DRC creation circuit of the present invention.

【図22】本発明のDRC作成回路のデータマスク部の
構成例を示す図である。
FIG. 22 is a diagram showing a configuration example of a data mask unit of the DRC creation circuit of the present invention.

【図23】本発明のDRC作成回路でのデータマスク部
の構成例を示す図である。
FIG. 23 is a diagram showing a configuration example of a data mask section in the DRC creation circuit of the present invention.

【図24】本発明のDRC作成回路のデータマスク部の
構成例を示す図である。
FIG. 24 is a diagram showing a configuration example of a data mask unit of the DRC creation circuit of the present invention.

【図25】本発明のDRC作成回路でのデータマスク部
の構成例を示す図である。
FIG. 25 is a diagram showing a configuration example of a data mask section in the DRC creation circuit of the present invention.

【図26】本発明のDRC作成回路でのデータ取り込み
タイミングを示す図である。
FIG. 26 is a diagram showing a data capture timing in the DRC creation circuit of the present invention.

【図27】本発明のDRC作成回路でのデータ取り込み
タイミングを示す図である。
FIG. 27 is a diagram showing a data capture timing in the DRC creation circuit of the present invention.

【図28】本発明のDRC作成回路でのデータ取り込み
タイミングを示す図である。
FIG. 28 is a diagram showing a data capture timing in the DRC creation circuit of the present invention.

【図29】本発明のDRC作成回路でのデータ取り込み
タイミングを示す図である。
FIG. 29 is a diagram showing a data capture timing in the DRC creation circuit of the present invention.

【図30】本発明のDRC作成回路でのデータ取り込み
タイミングを示す図である。
FIG. 30 is a diagram showing a data fetch timing in the DRC creation circuit of the present invention.

【図31】本発明のDRC作成回路でのデータ取り込み
タイミングを示す図である。
FIG. 31 is a diagram showing a data capture timing in the DRC creation circuit of the present invention.

【図32】本発明のDRC作成回路でのデータセットタ
イミングを示す図である。
FIG. 32 is a diagram showing a data set timing in the DRC creation circuit of the present invention.

【図33】本発明のDRC作成回路でのデータセットタ
イミングを示す図である。
FIG. 33 is a diagram showing a data set timing in the DRC creation circuit of the present invention.

【図34】本発明のDRC作成回路でのデータセットタ
イミングを示す図である。
FIG. 34 is a diagram showing a data set timing in the DRC creation circuit of the present invention.

【図35】本発明のDRC作成回路でのデータセットタ
イミングを示す図である。
FIG. 35 is a diagram showing a data set timing in the DRC creation circuit of the present invention.

【図36】本発明のDRC作成回路でのデータセットタ
イミングを示す図である。
FIG. 36 is a diagram showing a data set timing in the DRC creation circuit of the present invention.

【図37】本発明のDRC作成回路でのデータセットタ
イミングを示す図である。
FIG. 37 is a diagram showing a data set timing in the DRC creation circuit of the present invention.

【図38】本発明のDRC作成回路でのデータ選択を示
す図である。
FIG. 38 is a diagram showing data selection in the DRC creation circuit of the present invention.

【図39】本発明のDRC作成回路のデータ選択部の構
成例を示す図である。
FIG. 39 is a diagram showing a configuration example of a data selection unit of the DRC creation circuit of the present invention.

【図40】本発明の符号化回路の構成例を示す図であ
る。
FIG. 40 is a diagram showing a configuration example of an encoding circuit of the present invention.

【図41】本発明の符号化回路の構成例を示す図であ
る。
FIG. 41 is a diagram showing a configuration example of an encoding circuit of the present invention.

【図42】本発明のシンドローム作成回路の構成例を示
すブロック図である。
FIG. 42 is a block diagram showing a configuration example of a syndrome creating circuit of the present invention.

【図43】図42に示す並列シンドローム演算部及びコ
ントローラ部の内部構成例を示す図である。
43 is a diagram showing an internal configuration example of a parallel syndrome computing unit and a controller unit shown in FIG. 42.

【図44】本発明のデスキュー回路の構成例を示すブロ
ック図である。
FIG. 44 is a block diagram showing a configuration example of a deskew circuit of the present invention.

【図45】本発明のデスキュー回路におけるデスキュー
イングバッファの動きを示す図である。
FIG. 45 is a diagram showing the operation of the deskewing buffer in the deskew circuit of the present invention.

【図46】本発明のデスキュー回路におけるデスキュー
イングバッファの動きを示す図である。
FIG. 46 is a diagram showing the operation of the deskewing buffer in the deskew circuit of the present invention.

【図47】本発明のデスキュー回路におけるデスキュー
イングバッファの動きを示す図である。
FIG. 47 is a diagram showing the operation of the deskewing buffer in the deskew circuit of the present invention.

【図48】本発明のデスキュー回路におけるデスキュー
イングバッファの動きを示す図である。
FIG. 48 is a diagram showing the operation of the deskewing buffer in the deskew circuit of the present invention.

【図49】本発明のデータ転送制御系の構成例を示すブ
ロック図である。
FIG. 49 is a block diagram showing a configuration example of a data transfer control system of the present invention.

【図50】本発明のデータ転送制御系におけるメモリマ
ップを示す図である。
FIG. 50 is a diagram showing a memory map in the data transfer control system of the present invention.

【図51】本発明のデータ転送制御系におけるフレーム
データフォーマットを示す図である。
FIG. 51 is a diagram showing a frame data format in the data transfer control system of the present invention.

【図52】本発明のデータ転送制御系におけるフレーム
データ転送タイミングを示す図である。
FIG. 52 is a diagram showing frame data transfer timing in the data transfer control system of the present invention.

【図53】本発明のデータ転送制御系における書き込み
・読み出し(FWD時)のタイミングチャートである。
FIG. 53 is a timing chart of writing / reading (during FWD) in the data transfer control system of the present invention.

【図54】本発明のデータ転送制御系における書き込み
・読み出し(BWD時)のタイミングチャートである。
FIG. 54 is a timing chart of writing / reading (during BWD) in the data transfer control system of the present invention.

【図55】本発明の磁気テープ装置の読み出しフォーマ
ット部の構成例を示すブロック図である。
FIG. 55 is a block diagram showing a configuration example of a read format unit of the magnetic tape device of the present invention.

【図56】本発明の再同期信号検出範囲の可変方法の一
例を示す図である。
FIG. 56 is a diagram showing an example of a method of varying the resynchronization signal detection range of the present invention.

【図57】本発明の再同期信号検出範囲可変方法の手順
を示すフローチャートである。
FIG. 57 is a flowchart showing a procedure of a resynchronization signal detection range changing method of the present invention.

【図58】本発明の再同期信号検出範囲可変方法の手順
を示すフローチャートである。
FIG. 58 is a flowchart showing a procedure of a resynchronization signal detection range changing method of the present invention.

【図59】本発明の再同期信号検出範囲可変方法の手順
を示すフローチャートである。
FIG. 59 is a flowchart showing the procedure of a resynchronization signal detection range changing method of the present invention.

【図60】本発明の再同期信号検出範囲可変方法の手順
を示すフローチャートである。
FIG. 60 is a flowchart showing a procedure of a resynchronization signal detection range changing method of the present invention.

【図61】磁気テープに記録されたデータフォーマット
を示す図である。
FIG. 61 is a diagram showing a data format recorded on a magnetic tape.

【図62】カスタムデータが12バイト時のデータフォ
ーマットを示す図である。
FIG. 62 is a diagram showing a data format when custom data is 12 bytes.

【図63】カスタムデータが7バイト時のデータフォー
マットを示す図である。
FIG. 63 is a diagram showing a data format when custom data is 7 bytes.

【図64】従来例の残余バイト作成回路の構成例を示す
図である。
FIG. 64 is a diagram showing a configuration example of a residual byte creation circuit of a conventional example.

【図65】従来例の残余バイト作成回路のタイミングチ
ャートである。
FIG. 65 is a timing chart of a residual byte creation circuit of a conventional example.

【図66】従来例の残余バイト作成回路のmod14カ
ウンタ出力を示す図表である。
FIG. 66 is a chart showing a mod14 counter output of a residual byte creation circuit of a conventional example.

【図67】従来例のDRC作成フォーマットを示す図で
ある。
FIG. 67 is a diagram showing a conventional DRC creation format.

【図68】従来例におけるDRCの計算例を示す図表で
ある。
FIG. 68 is a chart showing an example of DRC calculation in a conventional example.

【図69】従来例のDRC作成回路の構成例を示す図で
ある。
FIG. 69 is a diagram showing a configuration example of a conventional DRC creation circuit.

【図70】従来例におけるVRCの作成方法を示す図で
ある。
FIG. 70 is a diagram showing a method of creating a VRC in a conventional example.

【図71】従来例におけるVRCの計算例を示す図表で
ある。
FIG. 71 is a chart showing an example of VRC calculation in the conventional example.

【図72】従来例のVRC作成回路の構成例を示す図で
ある。
FIG. 72 is a diagram showing a configuration example of a conventional VRC creation circuit.

【図73】従来例のLFSRを用いた符号化回路の構成
例を示す図である。
[Fig. 73] Fig. 73 is a diagram illustrating a configuration example of a coding circuit using a conventional LFSR.

【図74】従来例の検査行列を用いた符号化回路の構成
例を示す図である。
[Fig. 74] Fig. 74 is a diagram illustrating a configuration example of an encoding circuit using a conventional check matrix.

【図75】従来例の検査行列を用いた符号化回路の構成
例を示す図である。
[Fig. 75] Fig. 75 is a diagram illustrating a configuration example of a coding circuit using a conventional check matrix.

【図76】磁気テープ上のデータフォーマットを示す図
である。
FIG. 76 is a diagram showing a data format on a magnetic tape.

【図77】図76に示すデータフォーマットの部分拡大
図である。
77 is a partially enlarged view of the data format shown in FIG. 76. FIG.

【図78】従来例のデスキュー回路の構成例を示すブロ
ック図である。
FIG. 78 is a block diagram showing a configuration example of a conventional deskew circuit.

【図79】従来例のデスキュー回路におけるデスキュー
イングバッファの動き(FWD時)を示す図である。
FIG. 79 is a diagram showing movement of the deskewing buffer (during FWD) in the deskew circuit of the conventional example.

【図80】従来例のデスキュー回路におけるデスキュー
イングバッファの動き(FWD時)を示す図である。
FIG. 80 is a diagram showing a movement (during FWD) of a deskewing buffer in a deskew circuit of a conventional example.

【図81】従来例のデスキュー回路におけるデスキュー
イングバッファの動き(FWD時)を示す図である。
FIG. 81 is a diagram showing movement (during FWD) of the deskewing buffer in the deskew circuit of the conventional example.

【図82】従来例のデスキュー回路におけるデスキュー
イングバッファの動き(FWD時)を示す図である。
FIG. 82 is a diagram showing a movement (during FWD) of a deskewing buffer in a deskew circuit of a conventional example.

【図83】従来例のデスキュー回路におけるデスキュー
イングバッファの動き(BWD時)を示す図である。
FIG. 83 is a diagram showing movement of the deskewing buffer (during BWD) in the deskew circuit of the conventional example.

【図84】従来例のデスキュー回路におけるデスキュー
イングバッファの動き(BWD時)を示す図である。
FIG. 84 is a diagram showing a movement (during BWD) of the deskewing buffer in the deskew circuit of the conventional example.

【図85】従来例のデスキュー回路におけるデスキュー
イングバッファの動き(BWD時)を示す図である。
FIG. 85 is a diagram showing movement of the deskewing buffer (during BWD) in the deskew circuit of the conventional example.

【図86】従来例のデスキュー回路におけるデスキュー
イングバッファの動き(BWD時)を示す図である。
FIG. 86 is a diagram showing a movement (during BWD) of a deskewing buffer in a deskew circuit of a conventional example.

【図87】従来例の磁気テープ制御装置の読み出しフォ
ーマット部の構成例を示すブロック図である。
[Fig. 87] Fig. 87 is a block diagram illustrating a configuration example of a read format unit of a conventional magnetic tape control device.

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

1 残余バイト作成回路 2,4 マルチプレクサ 3 誤り訂正符号化回路 5 デスキュー回路 6 シンドローム作成回路 7 誤り訂正回路 8 フレームバッファ 10 ホスト 11 磁気テープ制御装置(MTC) 12 磁気テープユニット(MTU) 11b データフォーマット部 11d 書き込みフォーマット部 11e 読み出しフォーマット部 21A,21B データ選択部 22A,22B データパリティ作成部 23A,23B フレーム制御部 24A,24B データマスク部 25 加算回路 26 レジスタ 27 乗算回路 33 並列シンドローム演算部 41A,41B,41C デスキュー制御回路 42A,42B,42C デスキューイングバッファ 51 SRAM 52 アドレスロード値設定回路 53 FWD/BWD切替回路 54 アドレスカウンタ回路 61 デスキューイングバッファ 62 書き込みアドレス制御部 63 読み出しアドレス制御部 66 SYNC−RESYNC判定部 68 マイクロプログラム制御部 69 SYNC演算部 70 SYNC保持部 1 Residual byte creation circuit 2,4 multiplexer 3 Error correction coding circuit 5 Deskew circuit 6 Syndrome creation circuit 7 Error correction circuit 8 frame buffer 10 hosts 11 Magnetic tape controller (MTC) 12 Magnetic tape unit (MTU) 11b Data format section 11d write format section 11e Read-out format section 21A, 21B data selection section 22A, 22B data parity creation unit 23A, 23B frame control unit 24A, 24B data mask section 25 adder circuit 26 registers 27 Multiplier circuit 33 Parallel Syndrome Operation Unit 41A, 41B, 41C deskew control circuit 42A, 42B, 42C deskewing buffer 51 SRAM 52 Address load value setting circuit 53 FWD / BWD switching circuit 54 address counter circuit 61 deskewing buffer 62 write address controller 63 Read address controller 66 SYNC-RESYNC determination unit 68 Micro Program Control Unit 69 SYNC calculator 70 SYNC holding part

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI G11B 20/18 G11B 20/18 572G 20/20 20/20 (72)発明者 永井 義典 兵庫県加東郡社町佐保35番(番地なし) 富士通周辺機株式会社内 (72)発明者 福田 克彦 兵庫県加東郡社町佐保35番(番地なし) 富士通周辺機株式会社内 (72)発明者 川▲崎▼ 一 兵庫県加東郡社町佐保35番(番地なし) 富士通周辺機株式会社内 (72)発明者 小西 大直 兵庫県加東郡社町佐保35番(番地なし) 富士通周辺機株式会社内 (72)発明者 西村 泰典 兵庫県加東郡社町佐保35番(番地なし) 富士通周辺機株式会社内 (72)発明者 片田 雅彦 兵庫県加東郡社町佐保35番(番地なし) 富士通周辺機株式会社内 (72)発明者 田中 小百合 兵庫県加東郡社町佐保35番(番地なし) 富士通周辺機株式会社内 (56)参考文献 特開 平5−204552(JP,A) 特開 昭63−211169(JP,A) 特開 平4−128917(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 3/06 - 3/08 G11B 20/10 - 20/10 ─────────────────────────────────────────────────── ─── Continuation of front page (51) Int.Cl. 7 Identification code FI G11B 20/18 G11B 20/18 572G 20/20 20/20 (72) Inventor Yoshinori Nagai 35th Saho, Kato-gun, Hyogo Prefecture No address) Within Fujitsu Peripherals Co., Ltd. (72) Inventor Katsuhiko Fukuda No.35 Saho, Shrine Town, Kato-gun, Hyogo Prefecture (No address) Inside Fujitsu Peripherals Co., Ltd. (72) Inventor Kawa ▲ ▼ 1 Kato-gun, Hyogo Prefecture Machisaho No. 35 (no address) Fujitsu Peripheral Machine Co., Ltd. (72) Inventor Daionori Konishi Hyogo Prefecture Kato-gun Shrine Town Saho No. 35 (no address) Fujitsu Peripheral Machine Co., Ltd. (72) Inventor Yasunori Nishimura Hyogo No. 35 Saho, Shrine Town, Kato-gun (no street number) In Fujitsu Peripherals Co., Ltd. (72) Inventor Masahiko Katada No. 35 Saho, Shrine Town, Kato-gun, Hyogo Prefecture (no street number) In Fujitsu Peripherals Co., Ltd. (72) Inventor Sayuri Tanaka No. 35, Saho, Kato-gun, Kako-gun (No address) In Fujitsu Peripheral Co., Ltd. (56) Reference JP-A-5-204552 (JP, A) JP-A-63-211169 (JP, A) JP-A-4 −128917 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) G06F 3/06-3/08 G11B 20/10-20/10

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 上位装置から入力したデータに誤り訂正
符号を付加してフォーマット変換し、フォーマット変換
したデータを磁気テープユニットに転送すると共に、前
記磁気テープユニットから読み出したデータに誤り訂正
を行ってフォーマット変換し、フォーマット変換したデ
ータを前記上位装置に転送する磁気テープ装置の制御装
置において、 前記上位装置からの入力データ、及び/または、前記磁
気テープユニットからの読み出しデータに対して、複数
バイト単位での処理を行うように構成しており、前記磁
気テープユニットから読み出したデータ間のずれを補正
するデスキュー補正手段を備え、該デスキュー補正手段
が、読み出しデータを格納するデスキューイングバッフ
ァと、該デスキューイングバッファのデータの書き込み
・読み出しを制御するデスキュー制御回路とを、N個の
トラック毎に設けたM/N(M:データ1フレーム分の
バイト数,N:2以上の整数)個ずつ有し、1回の読み
出し処理にて前記デスキューイングバッファからM/N
バイトずつのデータを読み出して転送するように構成し
たことを特徴とする磁気テープ装置の制御装置。
1. An error correction code is added to data input from a host device, format conversion is performed, the format-converted data is transferred to a magnetic tape unit, and error correction is performed on the data read from the magnetic tape unit. In a control device of a magnetic tape device that performs format conversion and transfers the format-converted data to the host device, in units of a plurality of bytes for input data from the host device and / or read data from the magnetic tape unit. process and configured to perform at the magnetic
Corrects the gap between the data read from the air tape unit
And a deskew correction means for
Is a deskewing buffer that stores read data
And writing of data in the deskewing buffer
・ N deskew control circuit for controlling readout
M / N provided for each track (M: 1 frame of data
Number of bytes, N: integer of 2 or more) each, and one reading
M / N from the deskewing buffer in the output process
A control device for a magnetic tape device, which is configured to read and transfer data byte by byte .
【請求項2】 前記デスキューイングバッファからデー
タを転送する際に、誤り訂正のデータフォーマットに応
じて、前記デスキューイングバッファ及びデスキュー制
御回路の担当トラックを変更するように構成したことを
特徴とする請求項1記載の磁気テープ装置の制御装置。
2. The data from the deskewing buffer
The data format for error correction is
The deskewing buffer and deskew system
2. The control device for the magnetic tape device according to claim 1, wherein the control track of the control circuit is changed .
【請求項3】 磁気テープユニットから読み出したデー
タ間のずれを補正するために、読み出しデータをデスキ
ューイングバッファに格納する磁気テープ装置の制御装
置にあって、前記磁気テープユニットから前記デスキュ
ーイングバッファに書き込まれるデータから再同期信号
を検出する方法において、再同期信号を検出するフレー
ムの範囲を可変とすることを特徴とする磁気テープ装置
の制御装置の再同期信号検出方法。
3. A data read from a magnetic tape unit
Read data to correct the deviation between
The control device for the magnetic tape device that stores the data in the viewing buffer.
The magnetic tape unit and the desk
Resync signal from the data written to the buffer
In the method of detecting the
Magnetic tape device characterized by variable range
Resynchronization signal detection method for control device of the above.
【請求項4】 同一のデータブロックに対するデータの
読み出し処理を再度実行する度に、再同期信号を検出す
るフレームの範囲を順次広くしていくことを特徴とする
請求項3記載の磁気テープ装置の制御装置の再同期信号
検出方法。
4. Data of the same data block
Each time the read process is executed again, the resync signal is detected.
It is characterized by gradually increasing the range of frames
A resynchronization signal for the control device of the magnetic tape device according to claim 3.
Detection method.
JP06341196A 1996-03-19 1996-03-19 Control device for magnetic tape device and method for detecting resynchronization signal Expired - Fee Related JP3418718B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP06341196A JP3418718B2 (en) 1996-03-19 1996-03-19 Control device for magnetic tape device and method for detecting resynchronization signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP06341196A JP3418718B2 (en) 1996-03-19 1996-03-19 Control device for magnetic tape device and method for detecting resynchronization signal

Related Child Applications (2)

Application Number Title Priority Date Filing Date
JP2003037366A Division JP2003288762A (en) 2003-02-14 2003-02-14 Control device for magnetic tape apparatus
JP2003037365A Division JP2003317400A (en) 2003-02-14 2003-02-14 Controller for magnetic tape unit

Publications (2)

Publication Number Publication Date
JPH09258910A JPH09258910A (en) 1997-10-03
JP3418718B2 true JP3418718B2 (en) 2003-06-23

Family

ID=13228532

Family Applications (1)

Application Number Title Priority Date Filing Date
JP06341196A Expired - Fee Related JP3418718B2 (en) 1996-03-19 1996-03-19 Control device for magnetic tape device and method for detecting resynchronization signal

Country Status (1)

Country Link
JP (1) JP3418718B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7664915B2 (en) * 2006-12-19 2010-02-16 Intel Corporation High performance raid-6 system architecture with pattern matching

Also Published As

Publication number Publication date
JPH09258910A (en) 1997-10-03

Similar Documents

Publication Publication Date Title
US5592404A (en) Versatile error correction system
JP2821324B2 (en) Error correction circuit
KR20010033954A (en) A physical block address recovery apparatus, system and method for cyclic error correction codes
EP0781472B1 (en) Multipurpose error correction calculation circuit
US20090037796A1 (en) Error correction device
JP3281387B2 (en) CRC / EDC checker system
EP0905911A2 (en) Data error correcting method and apparatus
JP3502583B2 (en) Error correction method and error correction device
JP3418718B2 (en) Control device for magnetic tape device and method for detecting resynchronization signal
EP0942421B1 (en) Error correction device and optical disk reader comprising such a device
US6453441B1 (en) Error correcting device and optical disk reader comprising same
EP0354065A2 (en) Digital data modulation circuit and method and digital data demodulation circuit
JP3306413B2 (en) Error correction device and error correction method
US6564352B1 (en) Error detection circuit applicable to a disk reproduction apparatus
JP2006085900A (en) Controller for magnetic tape unit
JP2003288762A (en) Control device for magnetic tape apparatus
JP2003317400A (en) Controller for magnetic tape unit
JP2726902B2 (en) Wide bandwidth Reed-Solomon encoding, decoding and error correction circuits
JP3310186B2 (en) Reed-Solomon decoding circuit
JP2665268B2 (en) Step-by-step decoding method and decoder for cyclic code
JP3295537B2 (en) Multi-byte error detection and correction device
JP2612029B2 (en) Error correction control method
JPH07261943A (en) Data error correcting method and device therefor
JP2647646B2 (en) Error correction method
JP2000101447A (en) Device and method of error correction

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20030311

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

Free format text: PAYMENT UNTIL: 20080418

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090418

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090418

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100418

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees