JPH0689237A - Memory control system - Google Patents
Memory control systemInfo
- Publication number
- JPH0689237A JPH0689237A JP4239476A JP23947692A JPH0689237A JP H0689237 A JPH0689237 A JP H0689237A JP 4239476 A JP4239476 A JP 4239476A JP 23947692 A JP23947692 A JP 23947692A JP H0689237 A JPH0689237 A JP H0689237A
- Authority
- JP
- Japan
- Prior art keywords
- memory
- refresh
- control circuit
- signal
- address
- 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.)
- Withdrawn
Links
- 238000001514 detection method Methods 0.000 claims abstract description 8
- 230000006870 function Effects 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
- For Increasing The Reliability Of Semiconductor Memories (AREA)
- Dram (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、メモリ制御システム、
特に、ECC付きメモリで読み出しデータにエラーが発
生した場合、そのメモリセルに訂正後のデータを再書込
みするメモリ制御システムに関する。BACKGROUND OF THE INVENTION The present invention relates to a memory control system,
In particular, the present invention relates to a memory control system that rewrites the corrected data in the memory cell when an error occurs in the read data in the memory with ECC.
【0002】[0002]
【従来の技術】従来のメモリ制御システムは、ECC
(Error Checking and Corre
ction)機能、すなわち、1ビットエラーの検出と
訂正および2ビットエラーの検出機能を有するECC付
きメモリ回路において、ソフトエラーによって1ビット
エラーが発生した場合、1ビットエラーは訂正されて読
み出され、その訂正後のデータを同じアドレスのメモリ
セルに再書込みをしていた。2. Description of the Related Art A conventional memory control system uses an ECC.
(Error Checking and Corre
function, that is, a memory circuit with an ECC having a function of detecting and correcting a 1-bit error and a function of detecting a 2-bit error, if a 1-bit error occurs due to a soft error, the 1-bit error is corrected and read, The corrected data was rewritten in the memory cell of the same address.
【0003】[0003]
【発明が解決しようとする課題】しかしながら、このよ
うな上述した従来のメモリ制御システムは、読み出し時
に1ビットエラーが発生した時にのみこのアドレスだけ
にしか行われないため、他のアドレスにおいてソフトエ
ラーによる1ビットエラーが発生していてもそのアドレ
スを読み出さない限り、その1ビットエラーを検出でき
ないとともに、再書込みも行われず、アクセス頻度の低
いアドレスにおいては、1ビットエラーが発生している
にもかかわらず再書込みが行われないために、ついには
2ビットエラーとなった後に読み出され、訂正不能にな
るという欠点があった。However, such a conventional memory control system as described above is performed only at this address only when a 1-bit error occurs at the time of reading. Therefore, due to a soft error at another address. Even if a 1-bit error occurs, the 1-bit error cannot be detected unless the address is read out, rewriting is not performed, and a 1-bit error occurs at an address with a low access frequency. However, since rewriting is not performed, there is a drawback in that the data is read after a 2-bit error and cannot be corrected.
【0004】[0004]
【課題を解決するための手段】本発明のメモリ制御シス
テムは、ECC付きメモリ回路にメモリリフレッシュ周
期信号によりカウントアップされるカウンタからなるア
ドレス生成回路を含むメモリ構成において、1ビットエ
ラーが検出された場合、次のメモリリフレッシュから再
書込み付きのメモリリフレッシュに切り替え、全メモリ
セルに対して再書込みを行う機能を有して構成される。According to the memory control system of the present invention, a 1-bit error is detected in a memory configuration including an address generation circuit including a counter that is incremented by a memory refresh cycle signal in a memory circuit with an ECC. In this case, the memory refresh is switched from the next memory refresh to the memory refresh with rewriting, and all memory cells are rewritten.
【0005】[0005]
【実施例】次に、本発明の実施例について、図面を参照
して説明する。Embodiments of the present invention will now be described with reference to the drawings.
【0006】図1は、本発明の一実施例を示すシステム
構成図である。FIG. 1 is a system configuration diagram showing an embodiment of the present invention.
【0007】図1に示すメモリ制御システムは、アドレ
スバス1と、データバス2と、メモリアクセスに応じた
ECC制御信号bをECC制御回路に供給しメモリ制御
信号cをメモリに供給するメモリアクセス制御回路3
と、メモリリフレッシュ時のロウアドレスおよび再書込
み時のロウアドレスを生成するロウアドレス生成カウン
タ4と、再書込み時のカラムアドレスを生成するカラム
アドレス生成カウンタ5と、ロウアドレスおよびカラム
アドレスとアドレスバス1から供給されるアドレスとを
選択してメモリアドレスとして供給するアドレスセレク
タ6と、メモリ9と、リフレッシュ周期信号gおよびカ
ウンタリセットh信号をロウアドレス生成カウンタ4お
よびカラムアドレス生成カウンタ5からなるアドレス生
成カウンタ10に供給しメモリリフレッシュ/再書込み
信号eをメモリアクセス制御回路3に送出するメモリリ
フレッシュ/再書込み制御回路7と、ECC制御回路で
あり1ビットエラー検出信号aを出力するとともに再書
込み時にECC制御信号bに従ってメモリ9から入力し
たデータを訂正するとともに訂正したデータをメモリ9
に送出するECC制御回路8とを含んで構成される。The memory control system shown in FIG. 1 has an address bus 1, a data bus 2 and a memory access control which supplies an ECC control signal b corresponding to a memory access to an ECC control circuit and a memory control signal c to a memory. Circuit 3
A row address generation counter 4 for generating a row address at the time of memory refresh and a row address at the time of rewriting, a column address generation counter 5 for generating a column address at the time of rewriting, a row address, a column address and an address bus 1. An address selector 6 which selects an address supplied from the memory and supplies it as a memory address, a memory 9, and a refresh period signal g and a counter reset h signal which are a row address generation counter 4 and a column address generation counter 5. The memory refresh / rewrite control circuit 7 which supplies the memory refresh / rewrite signal e to the memory access control circuit 3 and the ECC control circuit which outputs the 1-bit error detection signal a and also controls the ECC during rewriting. The corrected data with correct data inputted from the memory 9 in accordance with the signal b memory 9
And an ECC control circuit 8 for sending to the.
【0008】次に図1に示す実施例の動作について説明
する。Next, the operation of the embodiment shown in FIG. 1 will be described.
【0009】通常、1ビットエラーが発生しないとき、
メモリリフレッシュ動作はロウアドレス生成カウンタ4
の出力がロウアドレスとなり、ロウアドレスの示すメモ
リセルがリフレッシュされる。この場合、周知のRAS
オンリリフレッシュが行われる。Normally, when no 1-bit error occurs,
The memory refresh operation is performed by the row address generation counter 4
Becomes the row address, and the memory cell indicated by the row address is refreshed. In this case, the well-known RAS
Only refresh is performed.
【0010】メモリ9からのデータ読み出し時、1ビッ
トエラーが発生すると、ECC制御回路8はメモリ9か
ら出力されたデータを訂正してデータバス2に出力す
る。これと同時に、ECC制御回路8は1ビットエラー
検出信号aをリフレッシュ/再書込み制御回路7に送出
する。When a 1-bit error occurs when reading data from the memory 9, the ECC control circuit 8 corrects the data output from the memory 9 and outputs the corrected data to the data bus 2. At the same time, the ECC control circuit 8 sends the 1-bit error detection signal a to the refresh / rewrite control circuit 7.
【0011】1ビットエラー検出信号aを受けたリフレ
ッシュ/再書込み制御回路7はカウンタリセット信号h
をアドレス生成カウンタ10に送出し、カウンタは初期
化される。Upon receiving the 1-bit error detection signal a, the refresh / rewrite control circuit 7 receives the counter reset signal h.
Is sent to the address generation counter 10, and the counter is initialized.
【0012】次にリフレッシュ周期信号gが有効となっ
た時、メモリリフレッシュ/再書込み信号eがメモリア
クセス制御回路3に入力され、まず通常のメモリリフレ
ッシュが行われる。次にメモリアクセス制御回路3は、
他のメモリアクセス要求dを受け付けることなく再書込
みが行われるようにアドレスセレクタ制御信号f、メモ
リ制御信号c、ECC制御信号bを送出する。Next, when the refresh cycle signal g becomes valid, the memory refresh / rewrite signal e is input to the memory access control circuit 3, and normal memory refresh is first performed. Next, the memory access control circuit 3
The address selector control signal f, the memory control signal c, and the ECC control signal b are transmitted so that rewriting is performed without accepting another memory access request d.
【0013】ECC制御回路8は、再書込みのアドレス
に従ってデータを読み出し、訂正後同じアドレスに書き
戻す。これで、1回目の再書込み付きメモリリフレッシ
ュ動作は完了する。The ECC control circuit 8 reads the data in accordance with the rewritten address, corrects it, and writes it back to the same address. This completes the first memory refresh operation with rewriting.
【0014】そして、ロウアドレス生成カウンタ4がオ
ーバフローを起こしたとき、カラムアドレス生成カウン
タ5がカウントアップされ再書込み動作のカラムアドレ
スが切り替わる。そして、カラムアドレス生成カウンタ
5がオーバフローを起こしたとき、すなわち、全メモリ
セルに対して再書込みが施されると通常のメモリリフレ
ッシュ動作にもどる。When the row address generation counter 4 overflows, the column address generation counter 5 counts up and the column address for the rewriting operation is switched. Then, when the column address generation counter 5 overflows, that is, when all memory cells are rewritten, the normal memory refresh operation is resumed.
【0015】図1に示すメモリ9は例として再書込みア
ドレスとしてロウ、カラムそれぞれ10ビットあるた
め、220回の再書込み付きメモリリフレッシュ動作後、
通常のメモリリフレッシュ動作に戻ることとなる。As an example, the memory 9 shown in FIG. 1 has 10 bits for each row and column as a rewrite address. Therefore, after 2 20 times of memory refresh operation with rewrite,
It returns to the normal memory refresh operation.
【0016】[0016]
【発明の効果】本発明のメモリ制御システムは、リフレ
ッシュ制御回路をリフレッシュ再書込み制御回路に変更
することにより、1ビットエラー検出後、全メモリセル
に対して再書込みを行うことができるため、読み出した
アドレス以外にもソフトエラーによる1ビットエラー発
生していてもそのアドレスが読み出される前に訂正され
る確率を向上できるとともにアクセス頻度の低いアドレ
スの2ビットエラーとなる確立も低減できるのでメモリ
の信頼性を向上できるという効果がある。According to the memory control system of the present invention, by changing the refresh control circuit to a refresh rewrite control circuit, all memory cells can be rewritten after a 1-bit error is detected. Even if a 1-bit error due to a soft error occurs in addition to the address, the probability that the address will be corrected before being read can be improved and the probability of 2-bit error of an infrequently accessed address can be reduced. There is an effect that the property can be improved.
【図1】本発明の一実施例を示すシステム構成図であ
る。FIG. 1 is a system configuration diagram showing an embodiment of the present invention.
1 アドレスバス 2 データバス 3 メモリアクセス制御回路 4 ロウアドレス生成カウンタ 5 カラムアドレス生成カウンタ 6 アドレスセレクタ 7 リフレッシュ/再書込み制御回路 8 ECC制御回路 9 メモリ 10 アドレス生成カウンタ a 1ビットエラー検出信号 b ECC制御信号 c メモリ制御信号 d メモリアクセス要求 e メモリリフレッシュ/再書込み信号 f アドレスセレクタ信号 g リフレッシュ周期信号 h カウンタリセット信号 i メモリアドレス 1 address bus 2 data bus 3 memory access control circuit 4 row address generation counter 5 column address generation counter 6 address selector 7 refresh / rewrite control circuit 8 ECC control circuit 9 memory 10 address generation counter a 1 bit error detection signal b ECC control Signal c memory control signal d memory access request e memory refresh / rewrite signal f address selector signal g refresh cycle signal h counter reset signal i memory address
Claims (3)
発生した場合にエラー発生信号を出力するECC付きメ
モリ回路におけるメモリ制御システムにおいて、 ECC制御回路と、メモリリフレッシュ周期信号により
カウントアップされるカウンタからなるアドレス生成回
路と、前記アドレス生成回路で生成されたアドレスから
データを読み出しECCによって訂正されたデータを同
じアドレスに書き込むための再書込み動作をCPUの介
入なしに自動的に行う機構と、通常のメモリリフレッシ
ュ動作と再書込み動作付きのメモリリフレッシュ動作を
切り替える機構を有し、 ECC制御回路によってエラー検出信号が出力された場
合、次のメモリリフレッシュ動作から再書込み動作付き
のメモリリフレッシュ動作に切り替え、全メモリセルに
対して満遍なく再書込みが行われた後、通常のメモリリ
フレッシュ動作に戻るよう制御することを特徴とするメ
モリ制御システム。1. A memory control system in a memory circuit with an ECC that outputs an error occurrence signal when an error occurs in data read from a memory, comprising an ECC control circuit and a counter that is counted up by a memory refresh cycle signal. An address generation circuit, a mechanism for automatically performing a rewriting operation for reading data from the address generated by the address generation circuit and writing the data corrected by ECC to the same address without intervention of a CPU, and a normal memory It has a mechanism to switch between the refresh operation and the memory refresh operation with rewrite operation, and when the error detection signal is output by the ECC control circuit, it switches from the next memory refresh operation to the memory refresh operation with rewrite operation, In a cell After uniformly rewriting were performed, the memory control system and controlling to return to the normal memory refresh operation.
信号が出力されたときにメモリリフレッシュ/再書込み
信号を発生してメモリの中のすべてのメモリセルについ
て読み出してエラーがあれば訂正した後に、なければそ
のまま再書込みを行うことを特徴とするメモリ制御シス
テム。2. When a 1-bit error detection signal is output from the ECC control circuit, a memory refresh / rewrite signal is generated, all memory cells in the memory are read out, and if any error is found, it must be corrected. A memory control system characterized by rewriting as it is.
には同一のカラムアドレスで異なるすべてのロウアドレ
スで指示されるメモリセルに対してリフレッシュ動作を
行い、1ビットエラー検出信号が供給されたときには、
異なるカラムアドレスおよびロウアドレスで指示される
すべてのメモリセルに対してリフレッシュ動作を行うこ
とを特徴とするメモリ制御システム。3. When a refresh synchronization signal is supplied, a refresh operation is performed on memory cells designated by all different row addresses with the same column address, and when a 1-bit error detection signal is supplied,
A memory control system characterized by performing a refresh operation on all memory cells designated by different column addresses and row addresses.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4239476A JPH0689237A (en) | 1992-09-08 | 1992-09-08 | Memory control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4239476A JPH0689237A (en) | 1992-09-08 | 1992-09-08 | Memory control system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0689237A true JPH0689237A (en) | 1994-03-29 |
Family
ID=17045344
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP4239476A Withdrawn JPH0689237A (en) | 1992-09-08 | 1992-09-08 | Memory control system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0689237A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR19990032660A (en) * | 1997-10-20 | 1999-05-15 | 김영환 | System memory controller |
JP2005302250A (en) * | 2004-03-19 | 2005-10-27 | Sony Corp | Semiconductor device |
-
1992
- 1992-09-08 JP JP4239476A patent/JPH0689237A/en not_active Withdrawn
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR19990032660A (en) * | 1997-10-20 | 1999-05-15 | 김영환 | System memory controller |
JP2005302250A (en) * | 2004-03-19 | 2005-10-27 | Sony Corp | Semiconductor device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0226950B1 (en) | Memory access control circuit | |
EP0138964B1 (en) | Apparatus for controlling access to a memory | |
JPS6213758B2 (en) | ||
US7246257B2 (en) | Computer system and memory control method thereof | |
US5359559A (en) | Semiconductor memory device having redundant memory cells | |
JPH0689237A (en) | Memory control system | |
JP2885162B2 (en) | Cache memory | |
JPH0440697A (en) | Semiconductor memory | |
US20050210215A1 (en) | Semiconductor device permitting rapid data reading and writing between processor and memory | |
JPH06139153A (en) | Memory control system | |
JP3123855B2 (en) | Patrol control circuit of memory device | |
JPS5862891A (en) | Memory rewrite method | |
JPH06282449A (en) | Memory controller | |
JPS60225954A (en) | Storage device | |
JPH0588993A (en) | Memory control system | |
JP2853555B2 (en) | Storage controller | |
JPH11212877A (en) | Storage device | |
JPH0423295A (en) | Memory control system | |
JPH0675864A (en) | Memory error recovery system | |
JPS6024492B2 (en) | memory system | |
JPH02202655A (en) | Storage device | |
JPS61123957A (en) | Storage device | |
JP2001101084A (en) | Memory device with error detecting and correcting function and error detecting and correcting device | |
JPH11296441A (en) | Error correction circuit | |
JPH04220097A (en) | Address control memory circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 19991130 |