JPS61110247A - Storage device - Google Patents

Storage device

Info

Publication number
JPS61110247A
JPS61110247A JP59231963A JP23196384A JPS61110247A JP S61110247 A JPS61110247 A JP S61110247A JP 59231963 A JP59231963 A JP 59231963A JP 23196384 A JP23196384 A JP 23196384A JP S61110247 A JPS61110247 A JP S61110247A
Authority
JP
Japan
Prior art keywords
signal line
byte
write
bit error
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
JP59231963A
Other languages
Japanese (ja)
Inventor
Toru Takishima
瀧島 亨
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 JP59231963A priority Critical patent/JPS61110247A/en
Publication of JPS61110247A publication Critical patent/JPS61110247A/en
Pending legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To improve the storing performance of a storage device, by operating the storage device by extending the cycle time only when the error of a byte which is not designated for writing occurs at the time of partial writing operations. CONSTITUTION:When a 1-bit error controlling signal on a signal line 26 is '1', a cycle time is extended. Namely, read out data which are corrected by a correction circuit 17 and sent onto a signal line 37 are selected by the 2nd selector 18. Read out data on a signal line 38 or writing data on a signal line 28 are selected by the 1st selector 9. The writing data on the signal line 28 are selected as a byte to which writing is designated and the read out data on the signal line 38 are selected as a byte to which writing is not designated. Selected data on a signal line 29 and a check bit on a signal line 30 are written in a memory matrix circuit 11 at a timing delayed from the timing at the time of no error.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は1ビットエラーの発生時に限ってサイクル時間
を延ばすことができる記憶装置に関し、特に部分書込み
動作時の制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a memory device that can extend the cycle time only when a 1-bit error occurs, and particularly relates to a control method during a partial write operation.

(従来の技術) 第3図は従来技術による記憶装置の一例を示すブロック
図であシ、1ビットエラーの発生時に限ってサイクル時
間を延ばすように構成したものである。第3図において
、1は制御回路、5は第1のレジスタ、6はアドレス制
御回路、TV!バッファ、8は第2のレジスタ、9は第
1のセレクタ、10はチェックビット生成回路、11は
メモリマトリクス回路、12は第3のレジスタ、13は
シンドローム生成回路、14はバイトデコーダ、15は
ビットデコーダ、16はANDゲート、1Tは訂正回路
、1Bは第2のセレクタ、43はパリティチェッカであ
る。
(Prior Art) FIG. 3 is a block diagram showing an example of a storage device according to the prior art, which is configured to extend the cycle time only when a 1-bit error occurs. In FIG. 3, 1 is a control circuit, 5 is a first register, 6 is an address control circuit, and TV! buffer, 8 is a second register, 9 is a first selector, 10 is a check bit generation circuit, 11 is a memory matrix circuit, 12 is a third register, 13 is a syndrome generation circuit, 14 is a byte decoder, 15 is a bit 16 is an AND gate, 1T is a correction circuit, 1B is a second selector, and 43 is a parity checker.

従来、1ビットエラーの発生時に限ってサイクル時間を
延ばすことができるように構成した記憶装置で部分書込
み動作が実行された場合には、第2図に示すようにメモ
リマトリクス回路11から信号線31への読出しデータ
ll′C1ビットエラーがあると、シンドローム生成回
路13から信号線33上へシンドロームが生成され、信
号線33からパリティチェッカ43ヘシンドロームが入
力され、パリティチェッカ43によってシンドロームが
チェックされて1ビットエラー信号が信号線44上に送
出される。信号線44上の1ビットエラー信号は制御回
路1に入力され、各種タイミング信号および信号線21
上の制御信号をエラーのない時よりも遅れたタイミング
で発生する。すなわち、訂正回路17によって訂正され
た読出しデータは信号線37を介してセレクタ1Bに入
力され、第2のセレクタ1Bで選択される。書込み指定
のないバイトの読出しデータは信号線3Bから出力され
、第1のセレクタ9に入力される。次に、第1のセレク
タ9は信号線28上の書込み指定バイトの書込みデータ
を選択し、信号1s29上の書込みデータと、チェック
ビット生成回路10で生成され、信号線30上に送出さ
れたチェックビットとを、タイミング遅延させたライト
イネーブル信号によってメモリマトリクス回路11に書
込む。
Conventionally, when a partial write operation is executed in a storage device configured such that the cycle time can be extended only when a 1-bit error occurs, the signal line 31 from the memory matrix circuit 11 as shown in FIG. When there is a bit error in read data ll'C1, a syndrome is generated from the syndrome generation circuit 13 onto the signal line 33, the syndrome is input from the signal line 33 to the parity checker 43, and the syndrome is checked by the parity checker 43. A 1-bit error signal is sent on signal line 44. The 1-bit error signal on the signal line 44 is input to the control circuit 1, and is sent to various timing signals and the signal line 21.
The above control signal is generated at a later timing than when there is no error. That is, the read data corrected by the correction circuit 17 is input to the selector 1B via the signal line 37, and is selected by the second selector 1B. Read data of bytes without write designation is output from the signal line 3B and input to the first selector 9. Next, the first selector 9 selects the write data of the designated write byte on the signal line 28, and combines the write data on the signal 1s29 with the check bit generated by the check bit generation circuit 10 and sent out on the signal line 30. The bits are written to the memory matrix circuit 11 using a write enable signal whose timing is delayed.

(発明が解決しようとする問題点) したがって、1とットエラー発生時に限ってサイクル時
間を延長するように構成した記憶装置にシいては、部分
書込み動作が実行された場合でも、読出しデータIC1
ビットエラーが発生した時には読出し動作と同様にサイ
クル時間を延ばさなければならないと云う問題点がわっ
た。
(Problem to be Solved by the Invention) Therefore, in a storage device configured to extend the cycle time only when a 1 write error occurs, even if a partial write operation is executed, the read data IC1
A problem has arisen in that when a bit error occurs, the cycle time must be extended as in the read operation.

本発明の目的は、部分書込み動作時に書込み指定バイト
で1ビットエラーが発生した場合には1ビットエラー制
御信号の発生を禁止し、書込み指定ではないバイトのエ
ラーの時には1ビットエラー制御信号を発生するように
して上記欠点を除去し、1ビットエラー発生時に限って
サイクル時間を延ばすように構成した記憶装置を提供す
ることKある。
The purpose of the present invention is to prohibit the generation of a 1-bit error control signal when a 1-bit error occurs in a write-designated byte during a partial write operation, and generate a 1-bit error control signal when an error occurs in a byte that is not a write-designated byte. It is an object of the present invention to provide a memory device configured to eliminate the above-mentioned drawbacks and extend the cycle time only when a 1-bit error occurs.

(問題点を解決するための手段) 本発明による記憶装置は演算処理装置からの書込み/読
出し命令に対して書込み/読出し動作を実行することが
可能であって1ビットエラー訂正機能を有し、読出しデ
ータIC1ビットエラーが発生した場合にエラーのない
定常サイクルよりもサイクル時間を延長して動作を実行
できるように構成したものであり、バイトデコーダ手段
と、複数の論理積手段と、論理和手段とを具備して構成
したものである。
(Means for Solving the Problems) A storage device according to the present invention is capable of executing write/read operations in response to write/read instructions from an arithmetic processing unit, and has a 1-bit error correction function, It is configured so that when a read data IC 1-bit error occurs, the operation can be executed with a longer cycle time than in a normal cycle without an error, and includes a byte decoder means, a plurality of logical product means, and a logical sum means. It is constructed by comprising the following.

バイトデコーダ手段は、生成されたシンドロームにより
1ビットエラーを含む読出しデータバイトを解読するた
めのものである。
The byte decoder means are for decoding read data bytes containing one bit errors due to generated syndromes.

各読出しデータバイトに対して1ビットエラーのエラー
バイト指定信号、書込みバイト指定信号、ならびに部分
書込み指定信号の論理積を求めるためのものである。
This is for calculating the AND of the error byte designation signal for a 1-bit error, the write byte designation signal, and the partial write designation signal for each read data byte.

論理和手段は、部分書込み動作時に書込み指定バイトで
1ビットエラーが発生した場合には1ビットエラー制御
信号の発生を禁止し、書込みが指定されていないバイト
でエラーが発生している時には、エビットエラー制御信
号を発生するように複数の論理積手段の出力の論理和を
求めるためのものである。
The OR means prohibits the generation of a 1-bit error control signal when a 1-bit error occurs in a write-designated byte during a partial write operation, and prohibits the generation of a 1-bit error control signal when an error occurs in a byte for which writing is not designated. This is for calculating the logical sum of the outputs of a plurality of logical product means to generate a bit error control signal.

(実施例) 次に1本発明の実施例について図面を参照して詳細に説
明する。
(Example) Next, an example of the present invention will be described in detail with reference to the drawings.

第1図は、本発明による記憶装置の一実施例を示すブロ
ック図である。第1図において第2図と同じ番号は第2
図におけるものと同様な要素を示すものであるが、2は
NANDゲート、3はANDゲート、4はORゲートで
ある。
FIG. 1 is a block diagram showing an embodiment of a storage device according to the present invention. In Figure 1, the same numbers as in Figure 2 refer to
The same elements as those in the figure are shown, except that 2 is a NAND gate, 3 is an AND gate, and 4 is an OR gate.

第1図において部分書込み動作の場合には、信号線39
上のアドレスが第1のレジスタ5と、アドレス制御回路
6と、バッファ7とを介してメモリマトリクス回路11
に与えられると、メモリマトリクス回路11から信号線
31上に読出しデータが読出され、第3のレジスタ12
にセットされる。信号#31上の読出しデータに1ビッ
トエラ−があるとシンドローム生成回路13によってシ
ンドロームが生成されて信号線33上に送出される。こ
のため、バイトデコーダ14から信号線34上)Cエラ
ーバイト指定信号が発生し、どのバイトで1ビットエラ
ーが発生しているかが判明する。一方、信号線22上の
バイト指定信号と信号線23上の部分書込み指定信号と
の論理積の否定をとることKよって、部分書込み動作の
時点で、指定されたバイトに限って信号線24上の部分
書込みバイト指定信号を@0#にする。部分書込み動作
において指定されていないバイトの時、または部分書込
みバイト指定信号の部分書込み動作以外の時には、信号
124上の部分書込みバイト指定信号を′1“にする。
In FIG. 1, in the case of a partial write operation, the signal line 39
The upper address is sent to the memory matrix circuit 11 via the first register 5, address control circuit 6, and buffer 7.
, the read data is read out from the memory matrix circuit 11 onto the signal line 31, and the read data is read out from the memory matrix circuit 11 onto the signal line 31.
is set to If there is a 1-bit error in the read data on signal #31, a syndrome is generated by syndrome generation circuit 13 and sent onto signal line 33. Therefore, a C error byte designation signal is generated from the byte decoder 14 on the signal line 34, and it becomes clear in which byte a 1-bit error has occurred. On the other hand, by negating the AND of the byte designation signal on the signal line 22 and the partial write designation signal on the signal line 23, only the designated byte is sent to the signal line 24 at the time of the partial write operation. Set the partial write byte designation signal to @0#. When a byte is not specified in a partial write operation, or when the partial write byte designation signal is not specified for a partial write operation, the partial write byte designation signal on the signal 124 is set to '1'.

NANDゲート2から信号線34上へ送出されたエラー
バイト指定信号と、信号線24上の部分書込みバイト指
定信号との論理積を、ANDゲー)3により求めて信号
線25に出力する。信号線25からORゲー)4に入力
されるバイトの論理積信号と、他の系統の(NAND+
AND)系からORゲート4に入力される他のバイトの
論理積信号との間で論理和を求め、信号線26上に1ビ
ットエラー制御信号を発生する。
The error byte designation signal sent from the NAND gate 2 onto the signal line 34 and the partial write byte designation signal on the signal line 24 are ANDed by an AND gate 3 and output to the signal line 25. The AND signal of the byte input from the signal line 25 to the OR game) 4 and the (NAND+
A logical sum is calculated with the AND signal of another byte inputted from the AND) system to the OR gate 4, and a 1-bit error control signal is generated on the signal line 26.

すなわち、部分書込み動作の場合には、書込み指定され
たバイトに1ビットエラーがあると、信号線24上の部
分書込みバイト指定信号は′″0#であるため、信号線
26上の1ビットエラー制御信号が10″になる。書込
み指定されていないパイ)K1ビットエラーがあると、
信号線24上の部分書込みバイト指定信号は11#にな
り、信号1fs34上のエラーバイト指定信号は@1′
となるため、信号線2日上の1ビットエラー制御信号は
@1”Kなる。
That is, in the case of a partial write operation, if there is a 1-bit error in the write-designated byte, the partial write byte designation signal on the signal line 24 is ``0#'', so there will be a 1-bit error on the signal line 26. The control signal becomes 10''. If there is a K1 bit error (Pi for which writing is not specified),
The partial write byte designation signal on signal line 24 becomes 11#, and the error byte designation signal on signal 1fs34 becomes @1'.
Therefore, the 1-bit error control signal on the second signal line becomes @1''K.

第3図は、データを4バイトに指定した場合に1ビット
エラー制御信号を発生するゲート回路(NAND+AN
D)のブロック図を示す。第3図において、202〜2
04はそれぞれNANDゲート、302〜304はそれ
ぞれANDゲートである。信号線26上の1ピツ上工ラ
ー制御信号が“0′であると、読出しデータに1ビット
エラーがない時のサイクルで動作は終了する。すなわち
、レジスタ12から出力される訂正前のデータが第2の
セレクタ18によって選択される。信号線38上の選択
された読出しデータ、あるいは信号線2Tを介して第2
のレジスタ8に入力された書込みデータが第2のセレク
タ9によって選択される。書込み指定されたバイトとし
て信号線2B上の書込みデータが選択され、書込み指定
されていないバイトとして信号線38上の読出しデータ
が選択される。この時に書込み指定されたバイトに1ビ
ツトのエラーが発生しているため、1ビットエラーの読
出しデータが選択されることはない。
Figure 3 shows a gate circuit (NAND+AN) that generates a 1-bit error control signal when data is specified as 4 bytes.
A block diagram of D) is shown. In Figure 3, 202-2
04 are NAND gates, and 302 to 304 are AND gates. When the 1-bit error control signal on the signal line 26 is “0,” the operation ends in a cycle when there is no 1-bit error in the read data.In other words, the uncorrected data output from the register 12 Selected by the second selector 18. The selected read data on the signal line 38 or the second
The write data input to the register 8 is selected by the second selector 9. The write data on the signal line 2B is selected as the write-designated byte, and the read data on the signal line 38 is selected as the non-write-designated byte. At this time, since a 1-bit error has occurred in the write-designated byte, read data with a 1-bit error will not be selected.

信号線29上の選択されたデータと、チェックビット生
成回路10により生成され、信号線30上に送出された
チェックビットがメモリマトリクス回路11に書込まれ
る。
The selected data on the signal line 29 and the check bit generated by the check bit generation circuit 10 and sent out on the signal line 30 are written into the memory matrix circuit 11.

信号線26上の1ビットエラー制御信号が@1”である
と、サイクル時間が延長される。すなわち、訂正回路1
Tによって訂正され、信号線3T上に送出された読出し
データは第2のセレクタ1Bによって選択される。信号
線3B上の選択された読出しデータ、あるいは信号線2
8上の書込みデータが第1のセレクタ9によって選択さ
れる。書込み指定されたバイトとしては信号線28上の
書込みデータが選択され、書込み指定されていないバイ
トとしては信号線38上の読出しデータが選択される。
When the 1-bit error control signal on signal line 26 is @1'', the cycle time is extended.
The read data corrected by T and sent onto the signal line 3T is selected by the second selector 1B. Selected read data on signal line 3B or signal line 2
The write data on 8 is selected by the first selector 9. The write data on the signal line 28 is selected as the byte designated to be written, and the read data on the signal line 38 is selected as the byte not designated to be written.

信号線29上の選択されたデータと信号線30上のチェ
ックビットとが、エラーのない時のタイミングよりも遅
れたタイミングでメモリマトリクス回路11に書込まれ
る。
The selected data on the signal line 29 and the check bit on the signal line 30 are written to the memory matrix circuit 11 at a timing later than when no error occurs.

(発明の効果) 本発明は以上説明したように、部分書込み動作において
書込み指定されたバイトの読出しデータに1ビットエラ
ーがあった時にはサイクル時間を延長しないようにする
が、読出しデータへ1ビットエラーが発生した時に限っ
てサイクル時間を延長して動作することにより、記憶性
能を容易に向上することができると云う効果がある。
(Effects of the Invention) As explained above, the present invention prevents the cycle time from being extended when there is a 1-bit error in the read data of a byte designated for writing in a partial write operation, but the cycle time is not extended when there is a 1-bit error in the read data. By extending the cycle time and operating only when a problem occurs, there is an effect that storage performance can be easily improved.

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

第1図は、本発明による記憶装置の一実施例を示すブロ
ック図である。 第2図は、第1図に示す記憶装置の一部分を詳細に示す
ブロック図である。 第3図は、従来技術による記憶装置の一実施例を示すブ
ロック図である。 1・・・制御回路 2.202〜204・・・NANDゲート3.302〜
304.16・・・ANDゲート4・・ ・ORゲート 5.8.12・・・レジスタ 6・・・アドレス制御回路 T−―・バッファ 9.18・・−セレクタ 10・・・チェックビット生成回路 11・・・メモリマトリクス回路 13・・・シンドローム生成回路 14・・・バイトデコーダ 15・・・ビットデコーダ 17・・・訂正回路 19〜4j、2202〜2204.2402〜2404
.2502〜2504.3402〜3404・・・信号
FIG. 1 is a block diagram showing an embodiment of a storage device according to the present invention. FIG. 2 is a block diagram showing in detail a portion of the storage device shown in FIG. 1. FIG. 3 is a block diagram showing an embodiment of a storage device according to the prior art. 1...Control circuit 2.202~204...NAND gate 3.302~
304.16...AND gate 4... -OR gate 5.8.12...Register 6...Address control circuit T----Buffer 9.18...-Selector 10...Check bit generation circuit 11...Memory matrix circuit 13...Syndrome generation circuit 14...Byte decoder 15...Bit decoder 17...Correction circuits 19-4j, 2202-2204.2402-2404
.. 2502-2504.3402-3404...Signal line

Claims (1)

【特許請求の範囲】[Claims] 演算処理装置からの書込み/読出し命令に対して書込み
/読出し動作を実行することができて1ビットエラー訂
正機能を有し、読出しデータに1ビットエラーが発生し
た場合にエラーのない定常サイクルよりもサイクル時間
を延長して動作を実行できる記憶装置において、生成さ
れたシンドロームにより1ビットエラーを含む読出しデ
ータバイトを解読するためのバイトデコーダ手段と、前
記各読出しデータバイトに対して前記1ビットエラーの
エラーバイト指定信号、書込みバイト指定信号、ならび
に部分書込み指定信号の論理積を求めるための複数の論
理積手段と、前記部分書込み動作時に書込み指定バイト
で前記1ビットエラーが発生した場合には1ビットエラ
ー制御信号の発生を禁止し、前記書込みが指定されてい
ないバイトでエラーが発生している時には前記1ビット
エラー制御信号を発生するように前記複数の論理積手段
の出力の論理和を求めるための論理和手段とを具備して
構成したことを特徴とする記憶装置。
It can execute write/read operations in response to write/read instructions from the processing unit and has a 1-bit error correction function. In a storage device capable of performing operations with an extended cycle time, byte decoder means for decoding a read data byte containing a 1-bit error due to a generated syndrome; a plurality of AND means for calculating the logical product of the error byte designation signal, the write byte designation signal, and the partial write designation signal; and 1 bit if the 1 bit error occurs in the write designation byte during the partial write operation To obtain the logical sum of the outputs of the plurality of AND means so as to prohibit the generation of the error control signal and generate the 1-bit error control signal when an error occurs in the byte for which writing is not specified. What is claimed is: 1. A storage device comprising a logical sum means.
JP59231963A 1984-11-02 1984-11-02 Storage device Pending JPS61110247A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59231963A JPS61110247A (en) 1984-11-02 1984-11-02 Storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59231963A JPS61110247A (en) 1984-11-02 1984-11-02 Storage device

Publications (1)

Publication Number Publication Date
JPS61110247A true JPS61110247A (en) 1986-05-28

Family

ID=16931792

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59231963A Pending JPS61110247A (en) 1984-11-02 1984-11-02 Storage device

Country Status (1)

Country Link
JP (1) JPS61110247A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01195557A (en) * 1987-12-28 1989-08-07 Internatl Business Mach Corp <Ibm> Data transfer for data processing system
JP2020514869A (en) * 2017-01-05 2020-05-21 日本テキサス・インスツルメンツ合同会社 Error correction code memory

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5298434A (en) * 1976-02-14 1977-08-18 Hitachi Ltd Correction for memory error
JPS58108100A (en) * 1981-12-18 1983-06-28 Nec Corp Error correctable storage device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5298434A (en) * 1976-02-14 1977-08-18 Hitachi Ltd Correction for memory error
JPS58108100A (en) * 1981-12-18 1983-06-28 Nec Corp Error correctable storage device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01195557A (en) * 1987-12-28 1989-08-07 Internatl Business Mach Corp <Ibm> Data transfer for data processing system
JP2020514869A (en) * 2017-01-05 2020-05-21 日本テキサス・インスツルメンツ合同会社 Error correction code memory

Similar Documents

Publication Publication Date Title
JP4102313B2 (en) Semiconductor integrated circuit device
JPH06187248A (en) Data error detection and correction control circuit
US20040030985A1 (en) Cross interleave reed-solomon code correction
JPS61110247A (en) Storage device
KR100189531B1 (en) Sector data decoding method and circuit in a cd-rom driver
JPS6129024B2 (en)
JPH06230990A (en) Method and apparatus for discrimination and correction of error of code
JPS58222497A (en) Microprogram controller
JP2930239B2 (en) Storage device failure detection method and storage control device
JPS6053337B2 (en) Error correction code generation and error correction circuit
JPS6223902B2 (en)
JP2518333B2 (en) Storage device
JP2594563B2 (en) Error correction circuit
JPS58175200A (en) Checking system of storage system
SU951406A1 (en) Memory device with self-check capability
JPH0646520B2 (en) Semiconductor memory device
JPH038029A (en) Microprogram controller
JPS615500A (en) Memory integrated circuit
JPS59129995A (en) Storage device
TW202109545A (en) Memory apparatus and data accessing method thereof
JPH0520215A (en) Information processor
JPH08166891A (en) Fault tolerant computer system
JPS6041151A (en) Correcting system of memory error
JPH03242745A (en) Information processor
JPS59180635A (en) Method for controlling prefetch of instruction