JPH01137474A - Data storage controller - Google Patents

Data storage controller

Info

Publication number
JPH01137474A
JPH01137474A JP62297039A JP29703987A JPH01137474A JP H01137474 A JPH01137474 A JP H01137474A JP 62297039 A JP62297039 A JP 62297039A JP 29703987 A JP29703987 A JP 29703987A JP H01137474 A JPH01137474 A JP H01137474A
Authority
JP
Japan
Prior art keywords
data
write
ecc
write data
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP62297039A
Other languages
Japanese (ja)
Inventor
Yasuhiro Masuyama
益山 恭宏
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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP62297039A priority Critical patent/JPH01137474A/en
Publication of JPH01137474A publication Critical patent/JPH01137474A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily recognize a read error due to the interruption of the write operation of a high-order device by inverting the polarities of the number of data, which an ECC (error correction code) has the correction capability for, to write data. CONSTITUTION:When the number 4 of write data received from the high-order device and the counted result of a reception write data set signal 5 are compared with each other at the time of starting write to detect that the write operation is interrupted by the trouble of the high-order device, the write operation is immediately interrupted, but the write operation terminating sequence adds the ECC to data, which is sent till then, to write data on a medium in the same manner as normal termination. Polarities of only the number of data which the ECC has the correction capability for are inverted to write data, and thereby, it is tested whether a corrected pattern is all '1' or not. Thus, the read error due to interruption of the write operation of the higher-order device is recognized in distinction from normal read error.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は情報処理装置に使用する磁気ディスク制御装置
等のデータ記憶制御装置に関し、特に書込み制御回路の
改良に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data storage control device such as a magnetic disk control device used in an information processing device, and particularly relates to an improvement of a write control circuit.

〔従来の技術〕[Conventional technology]

従来のデータ記憶装置、特に情報処理装置の外部記憶装
置として広く使用されている磁気ディスク装置の制御を
行う磁気ディスク制御装置においては上位装置より受け
取った書込みデータと受信書込みデータセット信号をそ
のまま磁気ディスク装置に送っている為、書込み動作中
に上位装置に異常が発生した場合は書込み動作が中断し
、磁気ディスク装置においてはそれまで送られたデータ
に対してECC(Error Correction 
Code )を付加しないで媒体上にデータを書込む。
Conventional data storage devices, especially magnetic disk control devices that control magnetic disk devices widely used as external storage devices for information processing devices, write data received from a host device and receive write data set signals directly to the magnetic disk. Since the data is being sent to the device, if an error occurs in the host device during a write operation, the write operation will be interrupted, and the magnetic disk device will apply ECC (Error Correction) to the data sent up to that point.
Write data on the medium without adding Code).

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来の制御装置では、上位装置に異常が発生し
たときに書込まれたデータを読んだ時には読出し誤りと
はなるが、その原因が磁気ディスク装置にあるかの様な
現象となり、上位装置の書込み動作の中断による読出し
誤りであることを検出できず、誤った保守処置を行って
しまうという欠点を有していた。
In the conventional control device described above, when reading data written when an abnormality occurs in the host device, a read error occurs, but the problem appears to be caused by the magnetic disk device, and the problem occurs when the host device However, it is not possible to detect a read error due to interruption of a write operation, resulting in incorrect maintenance.

〔問題点を解決するための手段〕[Means for solving problems]

本発明のデータ記憶制御装置は、 上位装置より送られて来た受信書込みデータ数情報を書
込みデータ数セット信号にて格納し書込みデータ数情報
として出力すると同時に受信書込みデータセット信号を
計数して受信書込みデータ数情報と同数の受信書込みデ
ータセット信号を受け取る前に書込み動作を中断したこ
とを検出する上位装置異常検出回路と、 データの書込みを指示する受信書込み指令信号がアクテ
ィブになると受信書込みデータセット信号が書込みデー
タ数情報に一致することを監視し初め上記上位装置異常
検出回路が発生した場合には書込み動作を直ちに終了す
るためECCデータ選択信号を7クテイブにしてECC
(エラー・コレクション・コード)の書込^を開始し、
しかも書込み中断動作が生じたことを示す為そのECC
の有する訂正能力内のデータ数(例えば1バイト)のみ
を極性反転する様指示するECCデータ反転指示信号を
出力するECCjデータ反転指示回路と、 ECCデータ選択信号がインアクティブの間は受信書込
みデータを受信書込みデータセット信号で一時蓄積した
書込み情報を書込みデータとし、ECCデータ選択信号
がアクティブでありECCデータ反転指示信号がインア
クティブの間はECCデータをECCデータセット信号
で一時蓄積したECC情報を書込みデータとし、モして
ECCデータ選択信号がアクティブでありしかもECC
データ反転指示信号も同時に7クテイブとなった時はE
CC情報を極性反転したものを書込みデータとして出力
する書込みデータ編集回路とを備えて構成さhる。
The data storage control device of the present invention stores received write data number information sent from a host device in a write data number set signal, outputs it as write data number information, and simultaneously counts and receives received write data set signals. The host device abnormality detection circuit detects that the write operation is interrupted before receiving the same number of received write data set signals as the write data count information, and the received write data set when the received write command signal that instructs to write data becomes active. The ECC data selection signal is set to 7 to immediately terminate the write operation when the above-mentioned host device abnormality detection circuit monitors whether the signal matches the write data number information and activates the ECC.
Start writing (error collection code)^,
Moreover, to indicate that a write abort operation has occurred, the ECC
The ECCj data inversion instruction circuit outputs an ECC data inversion instruction signal that instructs to invert only the number of data (for example, 1 byte) within the correction capability of the controller, and the ECCj data inversion instruction circuit outputs an ECC data inversion instruction signal that instructs to invert the polarity of only the number of data (for example, 1 byte) that is within the correction capability of the controller. The write information temporarily accumulated by the received write data set signal is used as write data, and while the ECC data selection signal is active and the ECC data inversion instruction signal is inactive, the ECC information temporarily accumulated by the ECC data set signal is written. data, the ECC data selection signal is active, and the ECC
When the data inversion instruction signal also becomes 7 active at the same time, E
and a write data editing circuit that outputs CC information with polarity inverted as write data.

本発明のデータ記憶制御装置は、書込み開始時に上位装
置より受け取った書込みデータ数と受信書込みデータセ
ット信号を計数した結果とを比較することにより上位装
置の障害により書込み動作が中断したことを検知し、書
込み動作は直ちに中断するが、書込み動作終了シーケン
スは正常の終了時と同様に、それまで送られたデータに
対してECCCError Correction C
ode )を付加して媒体上にデータを書込む。ただし
、そのECCの有する訂正能力内のデータ数(例えば1
バイト)のみを極性反転してデータの書込みを行うこと
により、読出し誤り発生時には、訂正動作を実施し、訂
正可能な読出し誤りであり、しかも、訂正位置がECC
部分であって、訂正パターンもオール“l”となるかど
うか試行する。これにより、上位装置の書込み動作の中
断による読出し誤りであることを通常の読出し誤りと明
確に区別して認識することができる。。
The data storage control device of the present invention detects that the write operation has been interrupted due to a failure in the host device by comparing the number of write data received from the host device at the start of writing with the result of counting the received write data set signals. , the write operation is immediately interrupted, but the write operation end sequence is similar to the normal end, and ECCCError Correction C is applied to the data sent so far.
ode ) to write the data on the medium. However, the number of data within the correction capacity of the ECC (for example, 1
By inverting the polarity of only the byte (byte) and writing data, when a read error occurs, a correction operation is performed, and the read error is correctable and the correction position is ECC.
It is tried whether the correction pattern also becomes all "1" in the part. Thereby, it is possible to clearly distinguish a read error caused by interruption of the write operation of the host device from a normal read error. .

〔実施例〕〔Example〕

次に、本発明の一実施例について図面を参照して説明す
る。
Next, an embodiment of the present invention will be described with reference to the drawings.

第1図は本発明をデータ記憶制御装置である磁気ディス
ク制御装置に適用した場合の実施例を示すブロック図で
ある。
FIG. 1 is a block diagram showing an embodiment in which the present invention is applied to a magnetic disk control device which is a data storage control device.

第1図を参照すると上位装置異常検出回路lは書込み動
作開始時に受け取るデータの数を示す受信書込みデータ
数情報4を書込みデータ数セット信号5にて格納し、引
き続き順次送られて来る受信書込みデータ数セット信号
13を計数する。書込み動作終了時に書込みデータ数情
報7と同数の受信書込みデータセット信号13を受け取
っていない場合には上位装置異常信号8をアクティブに
する。ECCデータ反転指示回路2は、書込みデータ数
情報7に等しい数の受信書込&データセット信号13の
受け取りが完了することを監視して、ECCデータ選択
信号10を出力すると同時に、上位装置異常信号8が発
生した場合には、ECCの最終バイトのタイミングでE
CCデータ反転指示信号11を出力する。この際、受信
書込み指令信号6の立ち上がりよりECCの書込みが完
了するまでの間書込み指令信号9はアクティブとなる。
Referring to FIG. 1, the host device abnormality detection circuit 1 stores received write data number information 4 indicating the number of data to be received at the start of a write operation as a write data number set signal 5, and receives received write data that is sequentially sent. Count the number set signal 13. If the same number of received write data set signals 13 as the write data number information 7 have not been received at the end of the write operation, the host device abnormality signal 8 is activated. The ECC data inversion instruction circuit 2 monitors the completion of receiving the number of received write & data set signals 13 equal to the write data number information 7, outputs the ECC data selection signal 10, and at the same time outputs the host device abnormality signal. If 8 occurs, E is generated at the timing of the last byte of ECC.
A CC data inversion instruction signal 11 is output. At this time, the write command signal 9 remains active from the rise of the received write command signal 6 until the writing of the ECC is completed.

また、クロック16はEOC書込みのタイミングを検出
するために使用される。
Further, the clock 16 is used to detect the timing of EOC writing.

書込みデータ編集回路3は、ECCデータ選択信号10
がインアクティブな間は、受信書込みデータ12を受信
書込みデータセット信号13で一時蓄積したデータを、
ECCデータ選択信号IOがアクティブになると、EC
Cデータ14をECCデータセット信号15で一時蓄積
したデータを書込みデータ17として出力する。ただし
、この際ECCデー゛夕反転指示信号11がアクティブ
だなったときは、その時点のECCの極性を反転させる
The write data editing circuit 3 receives the ECC data selection signal 10.
is inactive, the received write data 12 is temporarily stored using the received write data set signal 13.
When the ECC data selection signal IO becomes active, the EC
C data 14 is temporarily stored using an ECC data set signal 15, and the data is output as write data 17. However, if the ECC data inversion instruction signal 11 becomes active at this time, the polarity of the ECC at that time is inverted.

第2図は上位装置異常検出回路1の詳細を示す回路図で
ある。書込み動作開始時に受信書込みデータ数情報4は
書込みデータ数セット信号5にてレジスタ71に書込み
データ数情報7として格納される。続いて順次送られて
来る受信書込みデータセット信号13はカウンタ22の
クロック端子に接続され、その数を計数した書込みデー
タセット数信号27として出力される。尚、カウンタ2
2は受信書込み指令信号6がインバータ24を通してリ
セット端子に接続される為、受信書込み指令信号6がア
クティブな間のみ働く。書込みデータ数情報7と書込み
データセット数信号27は比較器23で比較されインバ
ータ25を通してDタイプフリップフロップ26に接続
される。また受信書込み指令信号6がインバータ24を
通してDタイプフリップフロップ26のクロック端子に
接続される為、受信書込み指令信号6がインアクティブ
になった時、書込みデータ数情報7と書込みデータセッ
ト数信号27とが一致していなければDタイプフリップ
フロップ26はセットされ、上位装置異常信号8が出力
される。
FIG. 2 is a circuit diagram showing details of the host device abnormality detection circuit 1. As shown in FIG. At the start of the write operation, the received write data number information 4 is stored in the register 71 as the write data number information 7 in response to the write data number set signal 5. Subsequently, the received write data set signals 13 that are sequentially sent are connected to the clock terminal of the counter 22, and the number thereof is counted and output as a write data set number signal 27. In addition, counter 2
Since the received write command signal 6 is connected to the reset terminal through the inverter 24, it works only while the received write command signal 6 is active. The write data number information 7 and the write data set number signal 27 are compared by a comparator 23 and connected to a D type flip-flop 26 through an inverter 25. Furthermore, since the received write command signal 6 is connected to the clock terminal of the D type flip-flop 26 through the inverter 24, when the received write command signal 6 becomes inactive, the write data number information 7 and the write data set number signal 27 are If they do not match, the D type flip-flop 26 is set and the host device abnormality signal 8 is output.

第3図はECCデータ反転指示回路2の詳細を示す回路
図である。受信書込み指令信号6はDタイプフリップフ
ロップ33のクロック端子に接続され、書込み動作開始
時に書込み指令信号9を出力する。書込み動作中は受信
書込色データセット信号13をカウンタ31にて計数し
ながら書込みデータ数情報7と比較器32で比較し、受
信書込みデータセット信号13の受け取り終了を監視す
る。書込み指令信号9をインバータ34を通してセット
端子に接続されたDタイプフリップフa、yプ35は、
書込み動作開始時にセットされており、データ転送未完
信号51はアクティブになっているが、カウンタ31が
書込みデータ数情報7と一致した時点でインアクティブ
となる。従って、アントゲ−I・42は“0″に変化し
、カウンタ38バクロ、り16を計数し始めると同時に
、アンドゲート45によりアンドゲート42の出力をイ
ンバータ46により極性反転した信号と書込み指令信号
9との論理積をとったECCデータ選択信号10はアク
ティブとなる。
FIG. 3 is a circuit diagram showing details of the ECC data inversion instruction circuit 2. The received write command signal 6 is connected to a clock terminal of a D-type flip-flop 33, which outputs a write command signal 9 at the start of a write operation. During the write operation, the received write color data set signal 13 is counted by the counter 31 and compared with the write data number information 7 by the comparator 32, and the completion of reception of the received write data set signal 13 is monitored. The D-type flip-flops a and y 35, which are connected to the set terminal through the inverter 34 for the write command signal 9,
It is set at the start of a write operation, and the data transfer incomplete signal 51 is active, but becomes inactive when the counter 31 matches the write data number information 7. Therefore, the anti-game I 42 changes to "0" and at the same time the counter 38 starts counting the output of the AND gate 42 and the write command signal 9 The ECC data selection signal 10, which is ANDed with , becomes active.

カウンタ38がECC転送必要長を出力する定数(1)
回路36の出力信号に等しくなった時、比較器39はD
タイプフリップフロップ33をリセットし、書込み指令
信号9は“θ″となる。また、上位装置異常信号8を受
けた場合にもインバータ41を通して7ンドゲート42
の出力は0”に変化し、ECC書込み動作を開始する。
Constant (1) for which the counter 38 outputs the required ECC transfer length
When equal to the output signal of circuit 36, comparator 39
The type flip-flop 33 is reset and the write command signal 9 becomes "θ". Also, when receiving the host device abnormality signal 8, the 7nd gate 42 is connected through the inverter 41.
The output of will change to 0'' and begin the ECC write operation.

゛しかし、この場合はデータ転送未完信号51はアクテ
ィブになったままであるからカウンタ38がE(、C転
送必要長より1バイト少ない値を出力する定数(2)回
路37の出力信号に等しくなった時、比較器40の出力
はアンドゲート43を通してフリップフロップ44をセ
ットし、ECCデータ反転指示信号11がアクティブと
なる。
However, in this case, the data transfer incomplete signal 51 remains active, so the counter 38 becomes equal to the output signal of the constant (2) circuit 37, which outputs a value 1 byte less than the required transfer length. At this time, the output of the comparator 40 sets the flip-flop 44 through the AND gate 43, and the ECC data inversion instruction signal 11 becomes active.

ECCデータ選択信号10、および、ECCデータ反転
指示信号11は、所定のECC転送が完了すると、書込
み指令信号9と共に“0”となる。
The ECC data selection signal 10 and the ECC data inversion instruction signal 11 become "0" together with the write instruction signal 9 when a predetermined ECC transfer is completed.

第4図は書込みデータ編集回路3の詳細を示す回路図で
ある。受信書込みデータ12は受信書込ミテー fi 
fi1セット信号13でレジスタ71に一時蓄積され、
選択回路75に入力される。また、ECCデータ14も
ECCデータセット信号15でレジスタ72に一時蓄積
され、選択回路74に入力される。それと同時に、レジ
スタ72の出力は極性反転回路73を通した後、選択回
路74に入力され、選択回路74の出力は、選択回路7
5に入力される。選択回路74、および選択回路75に
は選択切り換え信号としてそれぞれ、Eccデータ反転
指示信号11およびECCデータ選択信号10が接続さ
れているから、書込みデータ17は、ECCデータ選択
信号10がインアクティブな間はレジスタ71の出力で
あり、ECCデータ選択信号lOがアクティブになると
、レジスタ72の出力となる。ただし、この際ECCデ
ータ反転指示信号11がアクティブとなったときは、そ
の時点のECCの極性は反転したものとなる。
FIG. 4 is a circuit diagram showing details of the write data editing circuit 3. Received write data 12 is received write data fi
It is temporarily stored in the register 71 by the fi1 set signal 13,
It is input to the selection circuit 75. Further, the ECC data 14 is also temporarily stored in the register 72 using the ECC data set signal 15, and is input to the selection circuit 74. At the same time, the output of the register 72 is input to the selection circuit 74 after passing through the polarity inversion circuit 73, and the output of the selection circuit 74 is input to the selection circuit 74.
5 is input. Since the selection circuit 74 and the selection circuit 75 are connected with the ECC data inversion instruction signal 11 and the ECC data selection signal 10 as selection switching signals, respectively, the write data 17 is written while the ECC data selection signal 10 is inactive. is the output of the register 71, and becomes the output of the register 72 when the ECC data selection signal lO becomes active. However, when the ECC data inversion instruction signal 11 becomes active at this time, the polarity of the ECC at that time becomes inverted.

第5図は本実施例による正常な書込みによる媒体上のデ
ータ形式と、書込み中断時の媒体上のデータ形式を示し
たものである。
FIG. 5 shows the data format on the medium during normal writing and the data format on the medium when writing is interrupted according to this embodiment.

上側が正常な書込みによる媒体上のデータ形式であり、
データ1〜データNまでに対し、EC01〜ECC6が
本来の位置に書かれていること示している。一方、下側
は書込み中断時の媒体上のデータ形式であり、データ1
〜データM (Mは中断した時迄すでに書込みを行って
いたデータ数)にECC1〜ECC6を付加し、しかも
、ECC6の極性が反転されて書かhていることを示し
ている。
The upper side is the data format on the medium due to normal writing,
It shows that EC01 to ECC6 are written in the original positions for data 1 to data N. On the other hand, the lower part is the data format on the medium when writing was interrupted, and data 1
This shows that ECC1 to ECC6 are added to data M (M is the number of data that had already been written until the time of interruption), and that the polarity of ECC6 is inverted.

〔発明の効果〕〔Effect of the invention〕

以上詳細に説明した様に、本発明のデータ記憶制御装置
は上位装置からの書込み指令動作において、上位装置の
異常により書込みデータ数と等しい受信書込みデータセ
ット信号を受け取る前に書込み指令がとぎれたことを検
出して、書込み動作を中断してECCの書込みを開始す
るが、この際、ECCの有する訂正能力内のデータ数の
みを極性反転して書込みを行うので、このデータの部分
を後で読んだ場合にECCにより読出し誤りと判断され
ても、訂正動作を実施すれば、訂正位置および訂正パタ
ーンにより、上位装置の書込み動作の中断による読出し
誤りであることが容易に認識でき、的確な処置を行うこ
とが可能なデータ記憶制御装置が得られる。
As explained in detail above, in the data storage control device of the present invention, during a write command operation from a host device, the write command is interrupted before receiving a received write data set signal equal to the number of write data due to an abnormality in the host device. is detected, the write operation is interrupted, and ECC writing is started. At this time, only the number of data within the correction capacity of the ECC is written with the polarity reversed, so this data portion cannot be read later. Even if a read error is determined by the ECC in this case, if a correction operation is performed, the correction position and correction pattern will make it easy to recognize that the read error is due to an interruption in the write operation of the host device, and take appropriate measures. A data storage control device is obtained that can perform the following operations.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例を示すプロ、り図、第2図は
上位装置以上検出回路の詳細を示す回路図、第3図はE
CCデータ反転指示回路の詳細を示す回路図、第4図は
書込みデータ編集回路の詳細を示す回路図、第5図は本
実施例による正常な書込みによる媒体上めデータ形式と
、書込み中断時の媒体上のデータ形式を示す図である。 ■・・・・・・上位装置異常検出回路、2・・・・・・
ECCデータ反転指示回路、3・・・・・・書込みデー
タ編集回路、4・・・・・・受信書込みデータ数情報、
5・・・・・・書込みデータ数セット信号、6・・・・
・・受信書込み指令信号、7・・・・・・書込みデータ
数情報、8・・・・・・上位装置異常信号、9・・・・
・・書込み指令信号、10・・・・・・ECCデータ選
択信号、11・・・・・・ECCデータ反転指示信号、
12・・・・・・受信書込みデータ、13・・・・・・
受信書込みデータセット信号、14・・・・・・ECC
データ、15・・・・・・ECCデータセット信号、1
6・・・・・・クロック、17・・・・・・書込みデー
タ。 代理人 弁理士  内 原   音 if回 扁3し 第4図 二Mマ   デニタル:多へンうデ・りi貨?q=(Σ
・]不口[W浬1正票H「 l敷デグ 箭5図
Fig. 1 is a schematic diagram showing one embodiment of the present invention, Fig. 2 is a circuit diagram showing details of a detection circuit for a host device or higher, and Fig. 3 is an E
FIG. 4 is a circuit diagram showing details of the CC data inversion instruction circuit, FIG. 4 is a circuit diagram showing details of the write data editing circuit, and FIG. FIG. 3 is a diagram showing a data format on a medium. ■・・・Host device abnormality detection circuit, 2・・・・・・
ECC data inversion instruction circuit, 3...Write data editing circuit, 4...Received write data number information,
5...Write data number set signal, 6...
... Received write command signal, 7 ... Write data number information, 8 ... Upper device abnormality signal, 9 ...
...Write command signal, 10...ECC data selection signal, 11...ECC data inversion instruction signal,
12... Received write data, 13...
Receive write data set signal, 14...ECC
Data, 15... ECC data set signal, 1
6...Clock, 17...Write data. Agent Patent Attorney Uchihara Oto If the number of times is 3 and Figure 4 is 2M Digital: Is there a lot of money? q=(Σ
・] Fukuchi [W 浬 1 Spell H ``l Shiki Degu 5 fig.

Claims (1)

【特許請求の範囲】 上位装置から予め書込みデータ数を受取り引き続き書込
みデータを書込みデータセット信号に同期して受け取っ
てデータ記憶装置に送出するデータ記憶制御装置におい
て、 前記上位装置から送られて来た受信書込みデータ数情報
を書込みデータ数セット信号にて格納し書込みデータ数
情報として出力すると同時に受信書込みデータセット信
号を計数して受信書込データ数情報と同数の受信書込み
データセット信号を受け取る前に書込み動作を中断した
ことを検出する上位装置異常検出回路と、 データの書込みを指示する受信書込み指令信号がアクテ
ィブになると受信書込みデータセット信号が書込みデー
タ数情報に一致することを監視し初め上記上位装置異常
検出回路が発生した場合には書込み動作を直ちに終了す
るためECCデータ選択信号をアクティブにしてECC
(エラー・コレクション・コード)の書込みを開始し、
しかも書込み中断動作が生じたことを示す為そのECC
の有する訂正能力内のデータ数のみを極性反転する様指
示するECCデータ反転指示信号を出力するECCデー
タ反転指示回路と、 前記ECCデータ選択信号がインアクティブの間は受信
書込みデータを受信書込みデータセット信号で一時蓄積
した書込み情報を書込みデータとし、ECCデータ選択
信号がアクティブでありECCデータ反転指示信号がイ
ンアクティブの間はECCデータをECCデータセット
信号で一時蓄積したECC情報を書込データとし、そし
てECCデータ選択信号がアクティブでありしかもEC
Cデータ反転指示信号も同時にアクティブとなった時は
ECC情報を極性反転したものを書込みデータとして出
力する書込みデータ編集回路とを備えることを特徴とす
るデータ記憶制御装置。
[Scope of Claims] In a data storage control device that receives the number of write data in advance from a host device and subsequently receives the write data in synchronization with a write data set signal and sends it to a data storage device, Store the received write data number information in the write data number set signal and output it as the write data number information.At the same time, count the received write data set signals and before receiving the same number of received write data set signals as the received write data number information. When the host device abnormality detection circuit detects that the write operation has been interrupted, and the receive write command signal that instructs data writing becomes active, the host device starts monitoring whether the received write data set signal matches the write data count information. If the device abnormality detection circuit occurs, the ECC data selection signal is activated to terminate the write operation immediately.
(error collection code) starts writing,
Moreover, to indicate that a write abort operation has occurred, the ECC
an ECC data inversion instruction circuit that outputs an ECC data inversion instruction signal instructing to invert the polarity of only the number of data within the correction capability of the controller; The write information temporarily accumulated with the signal is used as write data, and while the ECC data selection signal is active and the ECC data inversion instruction signal is inactive, the ECC data is set as write data, and the ECC information temporarily accumulated with the ECC data set signal is used as write data. And if the ECC data selection signal is active and the EC
A data storage control device comprising: a write data editing circuit that outputs ECC information with polarity inverted as write data when a C data inversion instruction signal also becomes active at the same time.
JP62297039A 1987-11-24 1987-11-24 Data storage controller Pending JPH01137474A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62297039A JPH01137474A (en) 1987-11-24 1987-11-24 Data storage controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62297039A JPH01137474A (en) 1987-11-24 1987-11-24 Data storage controller

Publications (1)

Publication Number Publication Date
JPH01137474A true JPH01137474A (en) 1989-05-30

Family

ID=17841427

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62297039A Pending JPH01137474A (en) 1987-11-24 1987-11-24 Data storage controller

Country Status (1)

Country Link
JP (1) JPH01137474A (en)

Similar Documents

Publication Publication Date Title
JPH01137474A (en) Data storage controller
JPS6020366A (en) Error correcting method
JPS623471A (en) Magnetic disk control device
JPH04291084A (en) Memory control system
JPH04255032A (en) Error correcting system for control storage
KR840000246B1 (en) Data processing system
JPS5827247A (en) Logical device
SU1076952A1 (en) Storage with self-check
JPS6113259B2 (en)
JPH01251222A (en) Sector address counter
JPH02191043A (en) Checking method for digital input circuit
JPH0646505B2 (en) Magnetic bubble memory system
JPH0784814A (en) Error detecting device of computer
JPS6117012B2 (en)
JPH0198033A (en) Detecting circuit for data error
JPS6327940A (en) Storage controller
JPH0234071B2 (en)
JPS6324416A (en) Data storage control equipment
JPH11219323A (en) Data path fault detection method and information processor
JPH04256045A (en) Memory system
JPH01296357A (en) Input-output device
JPS62283462A (en) Magnetic disk controller
JPH01173479A (en) Disk controller
JPH1050004A (en) Magnetic disk control device
JPS62287472A (en) Magnetic tape controlling device