JPH0571977B2 - - Google Patents

Info

Publication number
JPH0571977B2
JPH0571977B2 JP60002849A JP284985A JPH0571977B2 JP H0571977 B2 JPH0571977 B2 JP H0571977B2 JP 60002849 A JP60002849 A JP 60002849A JP 284985 A JP284985 A JP 284985A JP H0571977 B2 JPH0571977 B2 JP H0571977B2
Authority
JP
Japan
Prior art keywords
ecc check
write
partial
check bit
bit generation
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 - Lifetime
Application number
JP60002849A
Other languages
Japanese (ja)
Other versions
JPS61161565A (en
Inventor
Isao Kimura
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 JP60002849A priority Critical patent/JPS61161565A/en
Publication of JPS61161565A publication Critical patent/JPS61161565A/en
Publication of JPH0571977B2 publication Critical patent/JPH0571977B2/ja
Granted legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はデータ処理装置に使用される記憶装置
に関し、特にそのエラー訂正に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a storage device used in a data processing device, and particularly to error correction thereof.

(従来の技術) 従来、この種の記憶装置では第3図に示すよう
に、演算処理装置からの読出し、ならびに全書込
み/部分書込みの動作要求を受付けてデータの読
出し/書込みを行うように構成していた。第3図
において、50は書込みデータレジスタ、51は
アドレスレジスタ、52は主制御回路、53は選
択回路、54はECCチエツクビツト発生回路、
55,56はそれぞれ第1および第2のバンク、
57は読出しデータレジスタ、58はECCチエ
ツク訂正回路である。
(Prior Art) Conventionally, as shown in FIG. 3, this type of storage device is configured to read and write data by accepting read and full write/partial write operation requests from an arithmetic processing unit. Was. In FIG. 3, 50 is a write data register, 51 is an address register, 52 is a main control circuit, 53 is a selection circuit, 54 is an ECC check bit generation circuit,
55 and 56 are the first and second banks, respectively;
57 is a read data register, and 58 is an ECC check correction circuit.

第3図に示す記憶装置ではECCチエツクビツ
ト発生回路とECCチエツクビツト訂正回路58
とを備え、さらに一対のバンク55,56が備え
てあり、それぞれのバンク55,56は独立にイ
ンターリーブして読出し/書込みを行うことがで
きる。例えば、第1のバンク55に部分書込みを
動作を要求した後に第2のバンク16に全書込
み、または部分書込み動作を要求すると、ECC
チエツクビツト発生回路54では第1のバンク5
5の動作に対して或る時間が占有されるため、第
2のバンク56の書込み動作は禁止されている。
In the storage device shown in FIG. 3, an ECC check bit generation circuit and an ECC check bit correction circuit 58 are used.
Further, a pair of banks 55 and 56 are provided, and each bank 55 and 56 can be independently interleaved and read/written. For example, if you request a partial write operation to the first bank 55 and then request a full write operation or a partial write operation to the second bank 16, the ECC
In the check bit generation circuit 54, the first bank 5
The write operation of the second bank 56 is prohibited because a certain amount of time is occupied for the operation of the second bank 56.

(発明が解決しようとする問題点) 従つて、上記従来技術による記憶装置において
は、部分書込み動作の後には或る時間だけ書込み
動作を行うことができないと云う欠点があつた。
(Problems to be Solved by the Invention) Therefore, the storage device according to the above-mentioned prior art has a drawback in that a write operation cannot be performed for a certain period of time after a partial write operation.

本発明の目的は、独立に読出し、ならびに全書
込み/部分書込み動作を行うように複数のバンク
を備え、読出しデータのチエツクと訂正とを行う
と共に、全書込み動作のECCチエツクビツト発
生回路と部分書込み動作のECCチエツクビツト
発生回路とを個々に備えることにより上記欠点を
除去し、部分書込み動作の直後にも全書込み動作
を行うことができるように構成した記憶装置を提
供することにある。
An object of the present invention is to provide a plurality of banks for independently performing read and full write/partial write operations, to check and correct read data, and to provide an ECC check bit generation circuit for all write operations and for partial write operations. It is an object of the present invention to provide a memory device which eliminates the above-mentioned drawbacks by individually providing ECC check bit generation circuits, and is configured so that a full write operation can be performed immediately after a partial write operation.

(問題点を解決するための手段) 本発明による記憶装置は複数個のバンクと、
ECCチエツク訂正回路と、第1および第2の
ECCチエツクビツト生成回路とを備え、全書込
み動作と部分書込み動作をそれぞれ異なるバンク
に対して行うとき、部分書込みの直後にも全書込
みを可能に構成したものである。
(Means for Solving the Problems) A storage device according to the present invention includes a plurality of banks,
ECC check correction circuit, first and second
It is equipped with an ECC check bit generation circuit, and is configured to enable full writing even immediately after partial writing when performing full write operations and partial write operations to different banks.

複数個のバンクはそれぞれ独立にデータを読出
すことができると共に全書込み/部分書込みを行
うことができるものである。
Data can be independently read from each of the plurality of banks, and full/partial writing can be performed on the banks.

ECCチエツク訂正回路は、バンクから読出し
たデータのチエツクと訂正とを行うためのもので
ある。
The ECC check and correction circuit is for checking and correcting data read from the bank.

第1のECCチエツクビツト生成回路は全書込
み用のECCチエツクビツトを生成し、第2の
ECCチエツクビツト生成回路は部分書込み用の
ECCチエツクビツトを生成するためのものであ
る。
The first ECC check bit generation circuit generates ECC check bits for all writes, and the second ECC check bit generation circuit generates ECC check bits for all writes.
The ECC check bit generation circuit is for partial writing.
This is for generating ECC check bits.

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

第1図は、本発明による記憶装置の一実施例を
示すブロツク図である。第1図において、5は書
込みデータレジスタ、6はアドレスレジスタ、7
は主制御回路、9は選択回路、11,12はそれ
ぞれ第1および第2のECCチエツクビツト発生
回路、16,17はそれぞれ第1および第2のバ
ンク、19は読出しデータレジスタ、21は
ECCチエツク訂正回路である。
FIG. 1 is a block diagram showing one embodiment of a storage device according to the present invention. In FIG. 1, 5 is a write data register, 6 is an address register, and 7 is a write data register.
1 is a main control circuit, 9 is a selection circuit, 11 and 12 are first and second ECC check bit generation circuits, 16 and 17 are first and second banks, respectively, 19 is a read data register, and 21 is a
This is an ECC check correction circuit.

図示されていない演算処理装置から書込みデー
タ信号線1と、アドレス信号線2と、制御信号線
3とを介してそれぞれの信号が転送され、それぞ
れ書込みデータレジスタ5と、アドレスレジスタ
6と、主制御回路7とによつて受信される。
Signals are transferred from an arithmetic processing unit (not shown) via a write data signal line 1, an address signal line 2, and a control signal line 3, and are sent to a write data register 5, an address register 6, and a main controller, respectively. The signal is received by the circuit 7.

第2図は、第1図に示す記憶装置の動作を示す
タイミングチヤートである。第1図に示す記憶装
置は、第2図に示すクロツク100に同期して動
作する。クロツク#0のタイミングで信号線3上
の制御信号101と、信号線1上の書込みデータ
103とが記憶装置に受信される。受信された命
令により第1のバンク16の部分書込みが実行さ
れる。信号線15上のアドレス信号は第1のバン
ク16に供給される。主制御回路7は各回路を制
御するものであり、第1のバンク16のメモリセ
ルアレイからデータを読出す。主制御回路7によ
りクロツク#2のタイミングで読出しデータが信
号線18を介して読出しデータレジスタ19にセ
ツトされ、その出力が信号線20を介してECC
チエツク訂正回路21に加えられ、ECCチエツ
クが行われる。
FIG. 2 is a timing chart showing the operation of the storage device shown in FIG. The storage device shown in FIG. 1 operates in synchronization with the clock 100 shown in FIG. Control signal 101 on signal line 3 and write data 103 on signal line 1 are received by the storage device at the timing of clock #0. Partial writing of the first bank 16 is executed according to the received command. Address signals on signal line 15 are supplied to first bank 16 . The main control circuit 7 controls each circuit and reads data from the memory cell array of the first bank 16. The main control circuit 7 sets the read data to the read data register 19 via the signal line 18 at the timing of clock #2, and the output is set to the ECC via the signal line 20.
It is added to the check correction circuit 21 and ECC check is performed.

もしデータに誤りがあれば、ECCチエツク訂
正回路21は誤りビツトの訂正も行う。そこで訂
正後の読出しデータは信号線4を介して演算処理
装置(図示してない)へ送出されると共に、選択
回路9にも与えられる。選択回路9は信号線8上
の書込みデータと信号線4上の読出しデータとの
選択を部分書込み信号に従つて行い、信号線10
上の合成書込みデータを第2のECCチエツクビ
ツト発生回路12に与える。第2のチエツクビツ
ト発生回路12は信号線10上の合成書込みデー
タに対し、ECCチエツクビツトをクロツク#3
のタイミングにより信号線13上に発生し、第1
のバンク16のメモリセルアレイに送つて書込み
を行う。
If there is an error in the data, the ECC check and correction circuit 21 also corrects the error bit. Therefore, the corrected read data is sent to the arithmetic processing unit (not shown) via the signal line 4 and is also provided to the selection circuit 9. The selection circuit 9 selects the write data on the signal line 8 and the read data on the signal line 4 according to the partial write signal, and
The above composite write data is applied to the second ECC check bit generation circuit 12. The second check bit generation circuit 12 clocks the ECC check bit #3 for the composite write data on the signal line 10.
occurs on the signal line 13 due to the timing of the first
The data is sent to the memory cell array of bank 16 for writing.

クロツク#2のタイミングではタイミング11
0の制御信号と、タイミング111の書込みデー
タとが第2のバンク17へ転送される。全書込み
動作が要求される場合には、信号線8上の全書込
みデータは全書込みデータ用の第1のECCチエ
ツクビツト発生回路11に送出され、クロツク
#3のタイミングで信号線14上のECCチエツ
クビツト112が発生する。
Timing 11 at clock #2 timing
The control signal of 0 and the write data at timing 111 are transferred to the second bank 17 . When a full write operation is required, all write data on signal line 8 is sent to the first ECC check bit generation circuit 11 for all write data, and the ECC check bit on signal line 14 is sent to the first ECC check bit generation circuit 11 for all write data. 112 occurs.

さらに、クロツク#4のタイミング113で上
記データは第2のバンク17へ送出される。第2
のバンク17への書込み動作は、第1のバンク1
6への部分書込み動作と同時に行うことができる
ことは明らかである。
Furthermore, the above data is sent to the second bank 17 at timing 113 of clock #4. Second
A write operation to bank 17 of
It is clear that this can be done simultaneously with the partial write operation to 6.

(発明の効果) 本発明は以上説明したように、全書込み動作用
と部分書込み動作用とに対してそれぞれECCチ
エツクビツト発生回路を設けることによつて部分
書込み動作の直後にも全書込み動作を行うことが
できるので、容易にインターリーブを行うことが
でき、書込み性能を向上できると云う効果があ
る。
(Effects of the Invention) As explained above, the present invention performs a full write operation immediately after a partial write operation by providing an ECC check bit generation circuit for each of the full write operation and the partial write operation. Therefore, interleaving can be easily performed and writing performance can be improved.

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

第1図は、本発明による記憶装置の一実施例を
部分的に示すブロツク図である。第2図は、第1
図に示す記憶装置のタイミング関係を示すタイミ
ングチヤートである。第3図は、従来技術による
記憶装置の一例を部分的に示すブロツク図であ
る。 5,50…書込みデータレジスタ、6,51…
アドレスレジスタ、7,52…主制御回路、9,
53…選択回路、11,12,54…ECCチエ
ツクビツト発生回路、16,17,55,56…
バンク、19,57…読出しデータレジスタ、2
1,58…ECCチエツク訂正回路、1〜4,8,
10,13〜15,18,20…信号線、100
〜113…タイミング。
FIG. 1 is a block diagram partially showing one embodiment of a storage device according to the present invention. Figure 2 shows the first
3 is a timing chart showing the timing relationship of the storage device shown in the figure. FIG. 3 is a block diagram partially showing an example of a storage device according to the prior art. 5, 50...Write data register, 6, 51...
Address register, 7, 52... Main control circuit, 9,
53... Selection circuit, 11, 12, 54... ECC check bit generation circuit, 16, 17, 55, 56...
Bank, 19, 57...Read data register, 2
1,58...ECC check correction circuit, 1 to 4,8,
10, 13 to 15, 18, 20...Signal line, 100
~113...Timing.

Claims (1)

【特許請求の範囲】 1 それぞれ独立にデータを読出すことができる
と共に全書込み/部分書込みを行うことができる
複数個のバンクと、 前記バンクから読出したデータのチエツクと訂
正とを行うためのECCチエツク訂正回路と、 全書込み用のECCチエツクビツトを生成する
ための第1のECCチエツクビツト生成回路と、 部分書込み用のECCチエツクビツトを生成す
るための第2のECCチエツクビツト生成回路と
を具備し、 全書込み動作と部分書込み動作をそれぞれ異な
るバンクに対して行うとき、部分書込みの直後に
も全書込みを可能に構成したことを特徴とする記
憶装置。
[Scope of Claims] 1. A plurality of banks from which data can be read independently and from which full/partial writing can be performed, and an ECC for checking and correcting data read from the banks. It is equipped with a check correction circuit, a first ECC check bit generation circuit for generating ECC check bits for full write, and a second ECC check bit generation circuit for generating ECC check bits for partial write. 1. A storage device characterized in that when an operation and a partial write operation are performed on different banks, the entire write can be performed immediately after the partial write.
JP60002849A 1985-01-11 1985-01-11 Storage device Granted JPS61161565A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60002849A JPS61161565A (en) 1985-01-11 1985-01-11 Storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60002849A JPS61161565A (en) 1985-01-11 1985-01-11 Storage device

Publications (2)

Publication Number Publication Date
JPS61161565A JPS61161565A (en) 1986-07-22
JPH0571977B2 true JPH0571977B2 (en) 1993-10-08

Family

ID=11540845

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60002849A Granted JPS61161565A (en) 1985-01-11 1985-01-11 Storage device

Country Status (1)

Country Link
JP (1) JPS61161565A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04248198A (en) * 1991-01-24 1992-09-03 Mitsubishi Electric Corp Portable type semiconductor storage device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57108951A (en) * 1980-12-25 1982-07-07 Fujitsu Ltd Memory busy control system
JPS58143500A (en) * 1982-02-18 1983-08-26 Nec Corp Storage device available for interleaving

Also Published As

Publication number Publication date
JPS61161565A (en) 1986-07-22

Similar Documents

Publication Publication Date Title
GB2075730A (en) Refresch and error detection and correction technique for a data processing system
JP2004246754A (en) Semiconductor memory and its controller
JPH0571977B2 (en)
JPS6321225B2 (en)
JPS6349809B2 (en)
KR100328818B1 (en) How to save data in flash memory
JPS5870500A (en) Semiconductor storing circuit
JPH01223541A (en) Interleave memory
JPH0129639Y2 (en)
JPS635778B2 (en)
JPH0533252U (en) Memory controller
JPS61131138A (en) Write control system of memory
JPH0227600A (en) Integrated circuit device
JPS6321224B2 (en)
JPS58199498A (en) Memory system
JP2586072B2 (en) Storage device
JPH01134645A (en) Timing generating circuit
JPS6349808B2 (en)
JPH05153677A (en) Memory monitoring circuit
JPH0241058B2 (en)
JPH04153984A (en) Method for controlling dynamic memory
JPH02119746U (en)
JPS6077251A (en) Detecting circuit of error
JPS598184A (en) Memory
JP2001075874A (en) Memory control circuit and recording medium device incorporating the circuit