JPH0778494A - Dynamic ram - Google Patents

Dynamic ram

Info

Publication number
JPH0778494A
JPH0778494A JP5172125A JP17212593A JPH0778494A JP H0778494 A JPH0778494 A JP H0778494A JP 5172125 A JP5172125 A JP 5172125A JP 17212593 A JP17212593 A JP 17212593A JP H0778494 A JPH0778494 A JP H0778494A
Authority
JP
Japan
Prior art keywords
error
control code
data
error control
storage unit
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
JP5172125A
Other languages
Japanese (ja)
Inventor
Yoichi Nishi
洋一 西
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.)
Nippon Avionics Co Ltd
Original Assignee
Nippon Avionics 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 Avionics Co Ltd filed Critical Nippon Avionics Co Ltd
Priority to JP5172125A priority Critical patent/JPH0778494A/en
Publication of JPH0778494A publication Critical patent/JPH0778494A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To correct an error with a good economicity and to make an incorri gible error be not generated at the time of a refresh. CONSTITUTION:The error of a data read out from a data storage part 11 is corrected with an error control code read out from an error control code storage part 12 in an error correction circuit 13. The data is stored again in the data storage part 11 and also an error control code with respect to the error corrected data is newly produced in an error control code adding part 14 to be stored in the error control code storage part 12. This refreshing operation is repeated in a RAM.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、リフレッシュ動作中の
データに対しても誤り訂正を行うダイナミックRAMに
関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a dynamic RAM which performs error correction even on data being refreshed.

【0002】[0002]

【従来の技術】一般に、半導体メモリ素子を使用し、メ
モリ素子の持つ特性によるビット誤りを回避し信頼性を
向上させる場合、誤り訂正回路をメモリ素子の外部回路
により構成し、誤り訂正を行っている。
2. Description of the Related Art Generally, when a semiconductor memory device is used and bit errors due to the characteristics of the memory device are avoided and reliability is improved, an error correction circuit is constructed by an external circuit of the memory device to perform error correction. There is.

【0003】[0003]

【発明が解決しようとする課題】しかしながらこのよう
な従来の装置は誤り訂正回路をメモリ素子の外部で持た
なければならず、コスト高になる。また、すでに設計さ
れた装置に信頼性向上のため、後で誤り訂正回路を付加
しようとしても再設計が必要となりこの点でも不経済で
ある。また、このような誤り訂正を行ってもダイナミッ
クRAMにおいてはメモリ素子の内部でリフレッシュ動
作を行っているため、リフレッシュ中に誤りが発生する
とそれを訂正することができず、メモリ素子の内部に誤
りが蓄積されることになり、最後には誤り訂正回路では
訂正不能な誤りとなるという課題を有していた。本発明
はこの様な状況に鑑みて成されたもので、経済性良く誤
り訂正しかつ、リフレッシュ時に訂正不能な誤りを生じ
ないようにしたものである。
However, such a conventional device has to have an error correction circuit outside the memory element, resulting in high cost. In addition, even if an error correction circuit is added later to improve reliability of an already designed device, redesign is required, which is also uneconomical. In addition, even if such error correction is performed, in the dynamic RAM, the refresh operation is performed inside the memory element. Therefore, if an error occurs during refresh, it cannot be corrected, and the error does not occur inside the memory element. However, there is a problem that an error that cannot be corrected by the error correction circuit is finally generated. The present invention has been made in view of such a situation, and is intended to correct an error economically and prevent an uncorrectable error from being generated at the time of refreshing.

【0004】[0004]

【課題を解決するための手段】このような課題を解決す
るために本発明はデータを記憶するデータ記憶部と、デ
ータの誤り制御符号を記憶する誤り制御符号記憶部と、
リフレッシュ時あるいは読出信号が供給されることによ
ってデータ記憶部から読み出したデータ内容が誤ってい
るときに誤り制御符号記憶部から読み出した誤り制御符
号を使用して誤り訂正を行う誤り訂正回路と、誤り訂正
回路によって誤り訂正されたデータに対する誤り制御符
号を発生し誤り制御符号記憶部に記憶させる誤り制御符
号付加部とを一体に組み込んだものである。
In order to solve such a problem, the present invention provides a data storage unit for storing data, an error control code storage unit for storing an error control code of data,
An error correction circuit that performs error correction using the error control code read from the error control code storage unit when the data content read from the data storage unit is incorrect at the time of refreshing or when a read signal is supplied. An error control code adding unit for generating an error control code for the data error-corrected by the correction circuit and storing it in the error control code storage unit is integrally incorporated.

【0005】[0005]

【作用】データ記憶部から読み出されたデータが、誤り
制御符号記憶部から読み出された誤り制御符号によって
誤り訂正され、それが再びデータ記憶部に記憶されると
ともに、誤り制御符号付加部で誤り訂正されたデータに
対する誤り制御符号が新たに作られ、それが誤り制御符
号記憶部に記憶されるリフレッシュ動作が繰り返され
る。
The data read out from the data storage unit is error-corrected by the error control code read out from the error control code storage unit, and the error control code is stored again in the data storage unit. An error control code is newly created for the error-corrected data, and the refresh operation of storing the error control code in the error control code storage unit is repeated.

【0006】[0006]

【実施例】図1は本発明の一実施例を示すブロック図で
あり、ダイナミックRAM1はデータを記憶するデータ
記憶部11、誤り制御符号を記憶する誤り制御符号記憶
部12、データ記憶部11から読み出されたデータと誤
り制御符号記憶部12から読み出された誤り制御符号に
よって誤り訂正を行う誤り訂正回路13、誤り訂正され
たデータに対して誤り制御符号を付加する誤り符号付加
部14から構成されている。なお記号2はI/Oスイッ
チであり、図示しない制御信号によって入力信号を取り
込むか否かを制御するものである。
FIG. 1 is a block diagram showing an embodiment of the present invention. A dynamic RAM 1 includes a data storage unit 11 for storing data, an error control code storage unit 12 for storing error control codes, and a data storage unit 11. From the error correction circuit 13 that performs error correction with the read data and the error control code read from the error control code storage unit 12, from the error code addition unit 14 that adds the error control code to the error corrected data It is configured. Note that symbol 2 is an I / O switch, which controls whether or not an input signal is taken in by a control signal (not shown).

【0007】この様に構成された装置において、リフレ
ッシュ時は外部から供給される図示しないリフレッシュ
信号によってデータ記憶部11からデータが読み出さ
れ、また、誤り制御符号記憶部12からそのデータに対
応する誤り制御符号が読み出され、それらが誤り訂正回
路13に供給される。この結果、誤り訂正回路13は誤
り制御符号を用いて読み出されたデータに誤りがないか
否か検出し、誤りがあれば訂正してその訂正したデータ
を送出する。
In the apparatus thus configured, at the time of refreshing, data is read from the data storage section 11 by a refresh signal (not shown) supplied from the outside, and corresponding data is read from the error control code storage section 12. The error control codes are read out and supplied to the error correction circuit 13. As a result, the error correction circuit 13 detects whether or not there is an error in the read data by using the error control code, corrects any error, and sends the corrected data.

【0008】誤り訂正回路13から送出されたデータは
出力端子に送出されるとともに、誤り制御符号付加部1
4に供給される。誤り制御符号付加部14は供給された
データに対して誤り訂正を行うための制御符号を発生し
て誤り制御符号記憶部12に供給する。これにより発生
した誤り制御符号は誤り制御符号記憶部12に記憶され
る。
The data sent from the error correction circuit 13 is sent to the output terminal and the error control code adding section 1
4 is supplied. The error control code adding unit 14 generates a control code for performing error correction on the supplied data and supplies it to the error control code storage unit 12. The error control code generated thereby is stored in the error control code storage unit 12.

【0009】一方、誤り訂正回路13から送出されたデ
ータはデータ記憶部11に供給されているので、そこで
記憶される。これによりデータおよび誤り制御符号の双
方のリフレッシュが完了する。
On the other hand, since the data sent from the error correction circuit 13 is supplied to the data storage unit 11, it is stored there. This completes the refresh of both the data and the error control code.

【0010】外部からの読み出しはアドレス入力信号が
外部から供給されると、そのアドレス信号のデータがデ
ータ記憶部11および誤り制御符号記憶部12から読み
出され、それぞれが誤り訂正回路13に供給され、そこ
で誤りチェックが行われ、読み出し誤りがあれば訂正し
て訂正したデータが出力端子に送出される。もちろん誤
りがなければ読み出したデータをそのまま出力端子に供
給する。
When an address input signal is supplied from the outside, the data of the address signal is read from the data storage unit 11 and the error control code storage unit 12 and is supplied to the error correction circuit 13 respectively. An error check is performed there, and if there is a read error, it is corrected and the corrected data is sent to the output terminal. Of course, if there is no error, the read data is directly supplied to the output terminal.

【0011】外部からデータの書き込みを行うには入力
端子に書き込むためのデータが供給され、図示していな
いがその後に外部回路からI/Oスイッチ2をオンにす
るために信号が供給されることによってI/Oスイッチ
2がオンになる。このため、書き込むためのデータはデ
ータ記憶部11に供給されて記憶されるとともに、誤り
制御符号記憶部12は書き込んだデータの誤り訂正を行
うための誤り制御符号を発生するので、その発生した符
号が誤り制御符号記憶部12に記憶される。
In order to write data from the outside, data to be written is supplied to the input terminal, and a signal for turning on the I / O switch 2 is then supplied from an external circuit (not shown). Turns on the I / O switch 2. Therefore, the data to be written is supplied to and stored in the data storage unit 11, and the error control code storage unit 12 generates an error control code for error correction of the written data. Are stored in the error control code storage unit 12.

【0012】なお、ダイナミックRAMにはクロック信
号、書込信号、読出信号、リフレッシュ信号、I/Oス
イッチ2をオンにするための信号等が必要であるが、こ
れらの信号については周知であるので、その詳細につい
ては説明を省略している。
The dynamic RAM needs a clock signal, a write signal, a read signal, a refresh signal, a signal for turning on the I / O switch 2, and the like, but these signals are well known. , Its details are omitted.

【0013】[0013]

【発明の効果】以上説明したように本発明は記憶時にデ
ータとともに誤り制御符号も合わせて記憶し、読み出し
時はデータおよび誤り制御符号の双方を読み出し、読み
出したデータを誤り制御符号を用いて誤り訂正し、リフ
レッシュ時はその誤り訂正されたデータを再び記憶する
とともに、その記憶したデータの誤り訂正のための誤り
制御符号を新たに発生し、その誤り制御符号も合わせて
記憶するようにしたものであるから、確実な誤り訂正が
行える。また誤り訂正回路を一体に組み込んだものであ
るから、経済性が良くなるとともに、従来はリフレッシ
ュ時に発生した読み出し誤りは蓄積されやがては訂正不
能の誤りとなっていたのに対して、読み出し誤りが直ち
に訂正が可能になり、読み出し誤りによる訂正不能の誤
りが発生することがないという効果を有する。
As described above, according to the present invention, the error control code is stored together with the data at the time of storage, both the data and the error control code are read at the time of reading, and the read data is erroneous by using the error control code. When the data is corrected and refreshed, the error-corrected data is stored again, an error control code is newly generated for error correction of the stored data, and the error control code is also stored. Therefore, reliable error correction can be performed. In addition, since the error correction circuit is integrated, the economy is improved, and in the past, read errors that occurred during refresh were accumulated and eventually became uncorrectable. It is possible to correct immediately, and there is an effect that an uncorrectable error due to a read error does not occur.

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

【図1】本発明の一実施例の構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1 ダイナミックRAM 11 データ記憶部 12 誤り制御符号記憶部 13 誤り訂正回路 14 誤り制御符号付加部 2 I/Oスイッチ 1 Dynamic RAM 11 Data Storage Unit 12 Error Control Code Storage Unit 13 Error Correction Circuit 14 Error Control Code Addition Unit 2 I / O Switch

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 データを記憶するデータ記憶部と、 前記データの誤り制御符号を記憶する誤り制御符号記憶
部と、 リフレッシュ時あるいは読出信号が供給されることによ
って前記データ記憶部から読み出したデータ内容が誤っ
ているときに前記誤り制御符号記憶部から読み出した誤
り制御符号を使用して誤り訂正を行う誤り訂正回路と、 前記誤り訂正回路によって誤り訂正されたデータに対す
る誤り制御符号を発生し前記誤り制御符号記憶部に記憶
させる誤り制御符号付加部とを一体に組み込んだことを
ことを特徴とするダイナミックRAM。
1. A data storage unit for storing data, an error control code storage unit for storing an error control code of the data, and a data content read from the data storage unit at the time of refreshing or by supplying a read signal. Error correction circuit that performs error correction using the error control code read from the error control code storage unit when an error is present, and an error control code that generates error control code for the data error-corrected by the error correction circuit A dynamic RAM characterized in that an error control code addition section to be stored in a control code storage section is integrally incorporated.
JP5172125A 1993-06-21 1993-06-21 Dynamic ram Pending JPH0778494A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5172125A JPH0778494A (en) 1993-06-21 1993-06-21 Dynamic ram

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5172125A JPH0778494A (en) 1993-06-21 1993-06-21 Dynamic ram

Publications (1)

Publication Number Publication Date
JPH0778494A true JPH0778494A (en) 1995-03-20

Family

ID=15936027

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5172125A Pending JPH0778494A (en) 1993-06-21 1993-06-21 Dynamic ram

Country Status (1)

Country Link
JP (1) JPH0778494A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005302250A (en) * 2004-03-19 2005-10-27 Sony Corp Semiconductor device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005302250A (en) * 2004-03-19 2005-10-27 Sony Corp Semiconductor device
JP4569182B2 (en) * 2004-03-19 2010-10-27 ソニー株式会社 Semiconductor device

Similar Documents

Publication Publication Date Title
US7299400B2 (en) Error correction circuit
JP2830308B2 (en) Information processing device
EP0141743A3 (en) Pipeline error correction
JP2001351398A (en) Storage device
JP4050091B2 (en) Semiconductor memory device
JP4102313B2 (en) Semiconductor integrated circuit device
US5063565A (en) Single-error detecting and correcting system
US7530005B2 (en) Storage device
JPH0212445A (en) Storage device
JPH0778494A (en) Dynamic ram
JPH04149899A (en) Dynamic random access memory
JPS567299A (en) Error correcting circuit
JPH04115340A (en) Duplex storage circuit
JPS623520B2 (en)
US11955989B2 (en) Memory device and test method thereof
JPH0816488A (en) Electronic disk device
JPH0756816A (en) Controller for memory
JPH0689237A (en) Memory control system
JPH0675864A (en) Memory error recovery system
JPH06139153A (en) Memory control system
JPH0765586A (en) Access system for eeprom
SU439020A1 (en) Autonomous control storage device
JPH05158810A (en) Error detection circuit
JPH0667989A (en) Patrol circuit for memory
JPS5766598A (en) Memory circuit having error correction function