JP2586072B2 - Storage device - Google Patents

Storage device

Info

Publication number
JP2586072B2
JP2586072B2 JP62307323A JP30732387A JP2586072B2 JP 2586072 B2 JP2586072 B2 JP 2586072B2 JP 62307323 A JP62307323 A JP 62307323A JP 30732387 A JP30732387 A JP 30732387A JP 2586072 B2 JP2586072 B2 JP 2586072B2
Authority
JP
Japan
Prior art keywords
error
write
bytes
signal
units
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
JP62307323A
Other languages
Japanese (ja)
Other versions
JPH01147754A (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.)
NEC Corp
Original Assignee
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP62307323A priority Critical patent/JP2586072B2/en
Publication of JPH01147754A publication Critical patent/JPH01147754A/en
Application granted granted Critical
Publication of JP2586072B2 publication Critical patent/JP2586072B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はインターレース動作を実行する記憶装置の制
御に関し、特にその書込みデータパリテイエラー検出時
の制御に関する。
Description: BACKGROUND OF THE INVENTION The present invention relates to the control of a storage device that performs an interlaced operation, and more particularly, to the control when a write data parity error is detected.

(従来の技術) 従来、Nバイト(N:正の整数>1)単位にMインター
レース(M:正の整数>1)の書込み動作を実行したと
き、1〜M番のいずれかのNバイトの書込みデータに書
込みデータパリテイエラーが検出されると、システム制
御装置にエラーリプライが返送されてシステムダウンを
起していた。
(Prior Art) Conventionally, when a write operation of M interlaces (M: positive integer> 1) is executed in units of N bytes (N: positive integer> 1), any one of the first to Mth N-byte When a write data parity error is detected in the write data, an error reply is returned to the system controller, causing a system down.

(発明が解決しようとする問題点) 上述した従来の書込み時に1〜M番のいずれかのNバ
イトの書込みデータにパリテイエラーが検出されたとき
に、エラーリプライをシステム制御装置に返送する方式
であると、読出し時のMインターレース動作では書込み
データパリテイエラーの発生しているNバイトを読出す
ことができるが、システム制御装置には必要のないNバ
イトであつた場合、あるいはそのアドレスを読出す前に
書換えられると云う場合にはシステムダウンが起ると云
う欠点がある。
(Problem to be Solved by the Invention) A method of returning an error reply to the system control device when a parity error is detected in any of the N-byte write data of Nos. 1 to M during the above-described conventional write. In the M-interlacing operation at the time of reading, N bytes in which a write data parity error has occurred can be read. However, if the N bytes are unnecessary for the system controller, or if the address is changed, If rewriting is performed before reading, there is a disadvantage that a system down occurs.

本発明の目的は、システム制御装置からの全書込み/
読出し命令、または部分書込み命令に対して、Nバイト
単位にMインターレースの全書込み動作/読出し動作、
または部分書込み動作を実行し、エラー検出時にはエラ
ーリプライを返送するときに、書込み時に時系列にNバ
イト単位に書込みデータパリテイエラーを検出し、検出
信号を時系列にNバイトデータとともにメモリマトリク
ス回路に書込み、読出し時にNバイト単位に時系列にシ
ステム制御装置から送られてくるNバイト有効ビツト信
号を時系列にM個のレジスタにセツトし、メモリマトリ
クス回路から時系列に読出されたNバイト単位の検出信
号を他のM個のレジスタにセツトし、これらのレジスタ
の出力信号の論理積をとつてM個の論理積信号の論理和
をシステム制御装置へエラーリプライ信号として送出す
ることにより上記欠点を除去し、システムダウンを起す
可能性を減ずることができるように構成した記憶装置を
提供することにある。
It is an object of the present invention to perform all writing / writing from the system controller.
In response to a read instruction or a partial write instruction, all write / read operations of the M interlace are performed in units of N bytes,
Alternatively, when a partial write operation is performed and an error reply is returned when an error is detected, a write data parity error is detected in a time series of N bytes at the time of writing, and the detection signal is time-series along with the N byte data in a memory matrix circuit. The N-byte valid bit signal sent from the system controller in N-byte units in time series at the time of writing and reading is set in M registers in time series, and the N-byte units read in time series from the memory matrix circuit Is set in the other M registers, and the logical sum of the output signals of these registers is calculated, and the logical sum of the M logical product signals is sent to the system controller as an error reply signal. And to provide a storage device configured to reduce the possibility of system down. .

(問題点を解決するための手段) 本発明による記憶装置は、システム制御装置からの全
書込み/読出し、または部分書込み命令に対してNバイ
ト単位でMインターレースの全書込み動作/読出し動
作、または部分書込み動作を実行してエラー検出時には
エラーリプライを返送するものであつて、パリテイチエ
ツク回路と、メモリマトリクス回路と、M個の第1のレ
ジスタと、M個の第2のレジスタと、エラーリプライ制
御回路とを具備して構成したものである。
(Means for Solving the Problems) A storage device according to the present invention is capable of performing all write / read operations or partial operations of M interlaces in N bytes in response to a full write / read or partial write instruction from a system controller. When a write operation is executed and an error is detected, an error reply is returned. The parity check circuit, the memory matrix circuit, the M first registers, the M second registers, and the error reply And a control circuit.

パリテイチエツク回路は、書込み時に時系列にNバイ
ト単位に書込みデータパリテイエラーを検出して検出信
号を送出するためのものである。
The parity check circuit is for detecting a write data parity error in a time series of N bytes at the time of writing and transmitting a detection signal.

メモリマトリクス回路は、検出信号をN系列にNバイ
トのデータとともに書込むためのものである。
The memory matrix circuit is for writing detection signals in N series together with N bytes of data.

M個の第1のレジスタは、メモリマトリクス回路の内
容の読出し時に、Nバイト単位に時系列にシステム制御
装置から送られてくるNバイトの有効ビツト信号を時系
列にセツトするためのものである。
The M first registers are for setting, in time series, N-byte effective bit signals sent from the system control unit in time series in units of N bytes when reading the contents of the memory matrix circuit. .

M個の第2のレジスタは、メモリマトリクス回路から
時系列に読出されたNバイト単位の検出信号をセツトす
るためのものである。
The M second registers are for setting detection signals in N-byte units read out in time series from the memory matrix circuit.

エラーリプライ制御回路は、第1および第2のレジス
タの出力信号の論理積をとり、M個の論理積信号の論理
和をシステム制御装置へエラーリプライ信号として送出
するためのものである。
The error reply control circuit calculates the logical product of the output signals of the first and second registers, and sends the logical sum of the M logical product signals to the system control device as an error reply signal.

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

第1図は、本発明による記憶装置の一実施例を示すブ
ロツク図である。第1図において、1は主制御回路、2
はエラーリプライ制御回路、3はメモリマトリクス回
路、4,7,11,16はそれぞれレジスタ、5はチエツクビツ
ト発生回路、6はパリテイチエツク回路、8はシンドロ
ーム生成回路、9はデコーダ、10は訂正回路である。
FIG. 1 is a block diagram showing an embodiment of a storage device according to the present invention. In FIG. 1, 1 is a main control circuit, 2
Is an error reply control circuit, 3 is a memory matrix circuit, 4, 7, 11, and 16 are registers, 5 is a check bit generation circuit, 6 is a parity check circuit, 8 is a syndrome generation circuit, 9 is a decoder, and 10 is a correction circuit. It is.

システム制御回路(図示されていない。)から信号線
20を介してリクエストが転送され、信号線21を介してコ
マンドおよびバイト指示が転送されてくると、記憶装置
はこれらの信号を受付ける。主制御回路1では、信号線
21上のコマンドを解読して書込み動作の実行を開始す
る。実行の開始にあたつては、信号線23上に装置内制御
信号を発生する。信号線25上の書込みデータはレジスタ
4でセツトされ、メモリマトリクス回路3へ送出され
る。
Signal line from system control circuit (not shown)
When a request is transferred via the line 20 and a command and a byte instruction are transferred via the signal line 21, the storage device receives these signals. In the main control circuit 1, signal lines
The command on 21 is decoded to start execution of the write operation. To start the execution, an in-device control signal is generated on a signal line 23. The write data on the signal line 25 is set in the register 4 and sent to the memory matrix circuit 3.

次に、アドレス(図示されていない。)およびRAS/CA
S/WE(信号線22)のタイミングにより、信号線26を介し
てメモリマトリクス回路3の指定番地にデータが書込ま
れ、信号線27を介してメモリマトリクス回路3の他の指
定番地にパリテイチエツクビツトが書込まれる。信号線
26上の書込みデータはパリテイチエツク回路6でパリテ
イチエツクされ、信号線28上の検出信号もデータ(信号
線26)およびチエツクビツト(信号線27)と同様にメモ
リマトリクス回路3に書込まれる。
Next, the address (not shown) and RAS / CA
At the timing of S / WE (signal line 22), data is written to the designated address of the memory matrix circuit 3 via the signal line 26, and parity is written to another designated address of the memory matrix circuit 3 via the signal line 27. Check bits are written. Signal line
The write data on 26 is parity-checked by the parity check circuit 6, and the detection signal on the signal line 28 is written to the memory matrix circuit 3 in the same manner as the data (signal line 26) and the check bit (signal line 27).

以後の動作も最初の動作と同様に4バイト単位に、時
系列に信号線26上のデータ、信号線27上のチエツクビツ
ト、および信号線28上の検出信号が書込まれて16バイト
の書込み動作が完了する。このとき、書込みデータパリ
テイエラーが検出されたとしても、エラーリプライを返
送しないで書込みを実行する。
In the subsequent operations, as in the first operation, the data on the signal line 26, the check bits on the signal line 27, and the detection signal on the signal line 28 are written in a time series in units of 4 bytes, and a 16-byte write operation is performed. Is completed. At this time, even if a write data parity error is detected, writing is performed without returning an error reply.

次に、システム制御装置から信号線20を介してリクエ
ストが転送され、信号線21を介してコマンドが転送され
てくると、記憶装置はこれらの信号を受付け、主制御回
路1によつて信号線21上のコマンドを解読して読出し動
作の実行を開始する。実行の開始にあたつて、信号線23
上では装置内制御信号を発生する。次に、アドレスおよ
び信号線22上のRAS/CASのタイミングによりメモリアト
リクス回路3から指定番地のデータ/チエツクビツトが
信号線31上に読出され、書込みデータパリテイエラー検
出信号が信号線29上に読出される。
Next, when a request is transferred from the system control device via the signal line 20 and a command is transferred via the signal line 21, the storage device receives these signals and the main control circuit 1 controls the signal line. The command on 21 is decoded to start execution of the read operation. At the start of execution, signal line 23
Above, an in-device control signal is generated. Next, the data / check bit at the designated address is read out on the signal line 31 by the address and the RAS / CAS timing on the signal line 22 and the write data parity error detection signal is read out on the signal line 29. Is done.

信号線31上のデータはシンドローム生成回路8、デコ
ーダ、訂正回路10、およびレジスタ11を介してシステム
制御装置へ送出される。また、信号線29上の検出信号は
レジスタ7を介してエラーリプライ制御回路2へ送出さ
れる。以後の動作も、最初の動作と同様に4バイト単位
に単位クロツクごとに次々と行われる。
The data on the signal line 31 is sent to the system controller via the syndrome generation circuit 8, the decoder, the correction circuit 10, and the register 11. The detection signal on the signal line 29 is sent to the error reply control circuit 2 via the register 7. Subsequent operations are performed one after another for each unit clock in units of 4 bytes, as in the first operation.

いつぽう、信号線20上のリクエストと同一タイミング
で1番目に読出される4バイトのデータを、システム制
御装置で必要とするか否かを表わす信号線17上の4バイ
ト有効ビツト信号がシステム制御装置から送られてく
る。同様に、2〜4番目の4バイトの読出しデータに対
応する信号線17上の4バイト有効ビツト信号がクロツク
ごとに次々と送られてくる。
At any time, the 4-byte valid bit signal on the signal line 17 indicating whether the 4-byte data to be read first at the same timing as the request on the signal line 20 is required by the system control unit is controlled by the system control unit. Sent from the device. Similarly, a 4-byte valid bit signal on the signal line 17 corresponding to the second to fourth 4-byte read data is successively transmitted for each clock.

信号線17上に送られてきた有効ビツト信号は、レジス
タ16を介してエラーリプライ制御装置2へ送出される。
エラーリプライ制御回路2では、信号線18上の有効ビツ
ト信号と信号線30上のエラー検出信号との論理積が時系
列に求められ、論理積が論理値“1"になつた場合には信
号線19を介してエラーリプライをシステム制御装置へ返
送する。
The valid bit signal transmitted on the signal line 17 is transmitted to the error reply control device 2 via the register 16.
In the error reply control circuit 2, the logical product of the effective bit signal on the signal line 18 and the error detection signal on the signal line 30 is obtained in a time series, and when the logical product becomes a logical value "1", the signal is obtained. An error reply is sent back to the system controller via line 19.

第2図は、第1図の記憶装置で1番目と3番目との4
バイトが有効であつて、2番目と4番目との4バイトが
無効の場合を示す信号波形のタイミング図である。書込
み時に検出された書込みデータパリテイエラーは2番目
に登録されているが、2番目の4バイトはシステム制御
装置で必要とされないためにエラーリプライが返送され
ない。
FIG. 2 shows the first and third storage devices in the storage device of FIG.
FIG. 9 is a timing chart of signal waveforms showing a case where a byte is valid and the second and fourth bytes are invalid. The write data parity error detected at the time of writing is registered second, but no error reply is returned because the second four bytes are not required by the system controller.

第3図は、第1図の記憶装置で1番目と4番目との4
バイトが有効であつて、2番目と3番目とが無効な場合
を示す信号のタイミング図である。システム制御装置で
必要とする4番目にエラーが登録されているため、エラ
ーリプライが返送される。
FIG. 3 shows the first and fourth data storage devices in the storage device shown in FIG.
FIG. 9 is a timing chart of signals indicating a case where a byte is valid and a second and a third are invalid. Since the fourth error required by the system controller is registered, an error reply is returned.

(発明の効果) 以上説明したように本発明は、(Nバイト)×(Mイ
ンターレース)の全書込み/読出し、または部分書込み
動作を実行するとき、書込み時にNバイト単位に検出さ
れた書込みデータパリテイエラーの検出信号をシステム
制御装置へエラーとして報告せずに、書込みデータとと
もにメモリマトリクス回路にNバイト単位に時系列にM
回書込み、読出し時に1〜M番目のNバイトのデータが
有効であるか否かを表わす有効ビツト信号を受けて、有
効なNバイトのデータの書込みデータパリテイエラー検
出信号を読出したときに限つてエラーリプライ信号をシ
ステム制御装置へ返送し、無効なNバイトのデータのと
きにはエラーリプライ信号を返送しないように制御する
ことにより、システムの信頼性を向上することができる
と云う効果がある。
(Effects of the Invention) As described above, the present invention provides a method of performing (N bytes) × (M interlace) full write / read or partial write operation, which is performed when a write data parity detected in N bytes at the time of writing is used. Without reporting the detection error signal to the system controller as an error, the memory matrix circuit stores the M data in N-byte units in time series with the write data.
Only when a write data parity error detection signal of valid N-byte data is read after receiving a valid bit signal indicating whether the first to M-th N-byte data is valid at the time of writing and reading Then, by returning an error reply signal to the system controller and controlling not to return the error reply signal when the data is invalid N bytes, there is an effect that the reliability of the system can be improved.

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

第1図は、本発明による記憶装置の一実施例を示すブロ
ツク図である。 第2図および第3図は、第1図の記憶装置の信号波形を
示すタイミング図である。 1……主制御回路 2……エラーリプライ制御回路 3……メモリマトリクス回路 4,7,11,16……レジスタ 5……チエツクビツト発生回路 6……パリテイチエツク回路 8……シンドローム生成回路 9……デコーダ、10……訂正回路 17〜35……信号線
FIG. 1 is a block diagram showing an embodiment of a storage device according to the present invention. FIGS. 2 and 3 are timing diagrams showing signal waveforms of the storage device of FIG. DESCRIPTION OF SYMBOLS 1 ... Main control circuit 2 ... Error reply control circuit 3 ... Memory matrix circuit 4,7,11,16 ... Register 5 ... Check bit generation circuit 6 ... Parity check circuit 8 ... Syndrome generation circuit 9 ... ... Decoder, 10 ... Correction circuit 17-35 ... Signal line

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】システム制御装置からの全書込み/読出
し、または部分書込み命令に対してNバイト単位でMイ
ンターレースの全書込み動作/読出し動作、または部分
書込み動作を実行してエラー検出時にはエラーリプライ
を返送する記憶装置であつて、書込み時に時系列にNバ
イト(N:正の整数>1)単位に書込みデータパリテイエ
ラーを検出して検出信号を送出するためのパリテイチエ
ツク回路と、前記検出信号をN系列にNバイトのデータ
とともに書込むためのメモリマトリクス回路と、前記メ
モリマトリクス回路の内容の読出し時に前記Nバイト単
位に時系列にシステム制御装置から送られてくるNバイ
トの有効ビツト信号を時系列にセツトするためのM個
(M:正の整数>1)の第1のレジスタと、前記メモリマ
トリクス回路から時系列に読出された前記Nバイト単位
の前記検出信号をセツトするためのM個の第2のレジス
タと、前記第1および第2のレジスタの出力信号の論理
積をとり、前記M個の論理積信号の論理和を前記システ
ム制御装置へエラーリプライ信号として送出するための
エラーリプライ制御回路とを具備して構成したことを特
徴とする記憶装置。
1. An M-interlace full-write / read-out operation or a partial-write operation in units of N bytes in response to a full-write / read-out or a partial-write instruction from a system controller, and an error reply is sent when an error is detected. A parity check circuit for detecting a write data parity error in units of N bytes (N: positive integer> 1) in time series at the time of writing and sending out a detection signal, A memory matrix circuit for writing signals in N series together with N bytes of data, and an N-byte effective bit signal sent from the system controller in time series in units of N bytes when reading the contents of the memory matrix circuit (M: positive integer> 1) of first registers for setting time series in ANDing the output signals of the first and second registers with M second registers for setting the detection signal in N-byte units read out at the same time, and obtaining the M logical product signals And an error reply control circuit for sending a logical sum of the two to the system control device as an error reply signal.
JP62307323A 1987-12-04 1987-12-04 Storage device Expired - Fee Related JP2586072B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62307323A JP2586072B2 (en) 1987-12-04 1987-12-04 Storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62307323A JP2586072B2 (en) 1987-12-04 1987-12-04 Storage device

Publications (2)

Publication Number Publication Date
JPH01147754A JPH01147754A (en) 1989-06-09
JP2586072B2 true JP2586072B2 (en) 1997-02-26

Family

ID=17967758

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62307323A Expired - Fee Related JP2586072B2 (en) 1987-12-04 1987-12-04 Storage device

Country Status (1)

Country Link
JP (1) JP2586072B2 (en)

Also Published As

Publication number Publication date
JPH01147754A (en) 1989-06-09

Similar Documents

Publication Publication Date Title
JP3170145B2 (en) Memory control system
JP2586072B2 (en) Storage device
JPS6232813B2 (en)
JPH06149685A (en) Memory error recovering circuit
JPH0652065A (en) Memory control circuit
JPH045213B2 (en)
JPH0675864A (en) Memory error recovery system
JP2567986B2 (en) Data processing system
JPS58199498A (en) Memory system
JP3106448B2 (en) Processor unit
JPS6148183B2 (en)
JPH0588993A (en) Memory control system
JPH038040A (en) 1-bit error information storage device
JPS63240658A (en) Memory device
JPS63231553A (en) Partial writing system
JPH01280817A (en) Controller for external power supply state detecting i/o equipment
JPH054266U (en) Memory device
JPS61239499A (en) Semiconductor memory
JPH0535455B2 (en)
JPS6321221B2 (en)
JPS5936359B2 (en) data buffer device
JPH05289947A (en) ECC check method
JPS5833574B2 (en) New Year's Day Warranty
JPH06110790A (en) Memory controller
JPH04233052A (en) Duplex memory device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees