JPH07129424A - One-bit error detection informing device for ecc function circuit - Google Patents
One-bit error detection informing device for ecc function circuitInfo
- Publication number
- JPH07129424A JPH07129424A JP5276305A JP27630593A JPH07129424A JP H07129424 A JPH07129424 A JP H07129424A JP 5276305 A JP5276305 A JP 5276305A JP 27630593 A JP27630593 A JP 27630593A JP H07129424 A JPH07129424 A JP H07129424A
- Authority
- JP
- Japan
- Prior art keywords
- bit error
- memory
- mode
- circuit
- cpu
- 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
Links
Landscapes
- Detection And Correction Of Errors (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、記憶回路の出力データ
の誤りを検知し、訂正符号を発生する回路としてのEC
C機能回路が、1ビット誤りの検出時に出力する検知情
報をメモリ異常としてCPUに通知する装置に関する。
なお、以下各図において同一の符号は同一もしくは相当
部分を示す。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an EC as a circuit for detecting an error in output data of a memory circuit and generating a correction code.
The present invention relates to a device in which a C function circuit notifies the CPU of detection information output when a 1-bit error is detected as a memory abnormality.
In the drawings, the same reference numerals denote the same or corresponding parts.
【0002】[0002]
【従来の技術】図2はこの種のECC機能回路を備えた
情報処理装置の要部の構成例を示す。同図において1は
CPU、6はメモリ回路、5はメモリ回路6の出力デー
タ6aの誤りを検知し、1ビット誤りに対しては訂正符
号を発生するECC機能回路である。なお、このECC
機能回路5は1ビット誤りの検知時には1ビットエラー
検知信号ER1を出力し、2ビット以上の誤りの検知時
には2ビット以上エラー検知信号ER2を出力する。2
はアクセス制御部で、CPU1からのメモリアクセス要
求を受けてメモリ回路6からデータ6aを出力する制御
を行うと共に、ECC機能回路5からのエラー検知信号
ER1,ER2を入力し、2ビット以上エラー検知信号
ER2を、メモリ異常割込みINTMとしてCPU1へ
通知する。7はデータバスである。2. Description of the Related Art FIG. 2 shows an example of the configuration of a main part of an information processing apparatus having an ECC function circuit of this type. In the figure, 1 is a CPU, 6 is a memory circuit, and 5 is an ECC function circuit that detects an error in the output data 6a of the memory circuit 6 and generates a correction code for a 1-bit error. In addition, this ECC
The functional circuit 5 outputs a 1-bit error detection signal ER1 when detecting a 1-bit error, and outputs a 2-bit or more error detection signal ER2 when detecting an error of 2 bits or more. Two
Is an access control unit that controls the output of data 6a from the memory circuit 6 in response to a memory access request from the CPU 1 and inputs error detection signals ER1 and ER2 from the ECC function circuit 5 to detect an error of 2 bits or more. The signal ER2 is notified to the CPU 1 as a memory abnormality interrupt INTM. 7 is a data bus.
【0003】このように一般に情報処理装置には、メモ
リ回路6の出力データ6aの誤りを検出する回路と、1
ビット誤りの訂正符号を発生する回路とからなるECC
機能回路5が付加されている。そしてメモリ回路6の故
障やデータ線の断線などから、メモリ回路6からのデー
タに1ビット誤りが頻繁にある場合でも、ECC機能回
路5によって1ビット誤りは自動修正されてしまうた
め、従来、CPU1には1ビットエラー検知信号ER1
は通知されず、そのまま放置されている。As described above, in general, the information processing apparatus includes a circuit for detecting an error in the output data 6a of the memory circuit 6 and a circuit for detecting an error.
ECC comprising a circuit for generating a bit error correction code
A functional circuit 5 is added. Even if there is a frequent 1-bit error in the data from the memory circuit 6 due to a failure of the memory circuit 6 or a disconnection of the data line, the 1-bit error is automatically corrected by the ECC function circuit 5. 1-bit error detection signal ER1
Is not notified and is left as it is.
【0004】[0004]
【発明が解決しようとする課題】前述のように従来の情
報処理装置では、通常の動作におけるデータの1ビット
誤りの検出時は、データの自動修正が行われるため、メ
モリの故障等で頻繁にデータの1ビット誤りが発生して
もメモリ故障等の発見ができずに、偶然に他のもう1ビ
ット誤りが発生してシステムダウンをしてしまう可能性
がある。As described above, in the conventional information processing apparatus, when a 1-bit error of data is detected in the normal operation, the data is automatically corrected, so that the failure of the memory frequently occurs. Even if a 1-bit error occurs in the data, the memory failure or the like cannot be detected, and another 1-bit error may occur by accident, causing the system to go down.
【0005】そこで本発明は1ビットエラーもモード設
定に応じてCPUに連絡し、システムダウンを防ぐこと
ができるECC機能回路の1ビット誤り検知通知装置を
提供することを課題とする。Therefore, it is an object of the present invention to provide a 1-bit error detection / notification device of an ECC function circuit which can notify a CPU of a 1-bit error according to a mode setting and prevent a system down.
【0006】[0006]
【課題を解決するための手段】前記の課題を解決するた
めに、本発明の1ビット誤り検知通知装置は、ECC機
能を持つ回路(5など)がメモリ回路(6など)からの
出力データ(6aなど)の1ビット誤りを検知して出力
する検知情報(1ビットエラー検知信号ER1など)
を、所定のモード(テストモードなどの)設定時にCP
U(1など)に(メモリ異常割込みINTMなどとし
て)通知する手段(モード切替部4,メモリアクセス制
御部3など)を備えたものとする。In order to solve the above-mentioned problems, in the 1-bit error detection notification device of the present invention, a circuit (5 or the like) having an ECC function outputs data from a memory circuit (6 or the like) ( 6a, etc.) detection information for detecting and outputting a 1-bit error (1-bit error detection signal ER1, etc.)
CP when setting a predetermined mode (test mode, etc.)
It is assumed that a unit (mode switching unit 4, memory access control unit 3, etc.) for notifying U (1 etc.) (as a memory abnormality interrupt INTM, etc.) is provided.
【0007】[0007]
【作用】アクセス制御部2内に、ECC機能回路5から
の1ビットエラー検知信号ER1をモード設定に応じ、
メモリ異常を示す割込み信号INTMとしてCPU1へ
通知する回路を設ける。In the access control unit 2, the 1-bit error detection signal ER1 from the ECC function circuit 5 is set in accordance with the mode setting.
A circuit for notifying the CPU 1 as an interrupt signal INTM indicating a memory abnormality is provided.
【0008】[0008]
【実施例】図1は本発明の実施例としての情報処理装置
の要部の構成図で図2に対応する。図1においては、ア
クセス制御部2内にメモリアクセス制御部3と、AND
ゲートG1,ORゲートG2からなるモード切替部4と
が設けられている。次に図1の動作を説明する。CPU
1がメモリ回路6からデータを読み出す場合、CPU1
はアクセス制御部2に対してメモリアクセス要求をす
る。要求されたアクセス制御部2内のメモリアクセス制
御部3は、メモリ回路6からデータを出力する制御を行
う。メモリ回路6から出力されたデータ6aに対して
は、ECC機能回路5でデータのビット誤りの検知が行
われる。そしてECC機能回路5は、前述のように1ビ
ットの誤りを検知したときは1ビットエラー検知信号E
R1を“1”として出力し、2ビット以上の誤りを検知
したときは2ビット以上エラー検知信号ER2を“1”
として出力する。メモリアクセス制御部3は、CPU1
等の指令に基づき1ビットエラーをCPU1に通知すべ
き場合、テストモード信号TMを有効“1”としてモー
ド切替部4内のANDゲートG1に与える。1 is a block diagram of the essential parts of an information processing apparatus as an embodiment of the present invention and corresponds to FIG. In FIG. 1, a memory access control unit 3 and an AND
A mode switching unit 4 including a gate G1 and an OR gate G2 is provided. Next, the operation of FIG. 1 will be described. CPU
1 reads data from the memory circuit 6, the CPU 1
Makes a memory access request to the access control unit 2. The requested memory access control unit 3 in the access control unit 2 controls the data output from the memory circuit 6. For the data 6a output from the memory circuit 6, the ECC function circuit 5 detects a data bit error. When the ECC function circuit 5 detects a 1-bit error as described above, the ECC function circuit 5 outputs the 1-bit error detection signal E.
When R1 is output as "1" and an error of 2 bits or more is detected, the error detection signal ER2 of 2 bits or more is "1".
Output as. The memory access control unit 3 includes the CPU 1
When a 1-bit error is to be notified to the CPU 1 based on a command such as the above, the test mode signal TM is given as valid "1" and given to the AND gate G1 in the mode switching unit 4.
【0009】そこで、ビット誤りの検知モードを切り替
えるモード切替部4が1ビット誤り検知有効モード(つ
まりテストモード信号TMが“1”)になっている時
は、ECC機能回路5が出力した“1”の1ビットエラ
ー検知信号ER1をANDゲートG1,ORゲートG2
を介し、メモリアクセス制御部3にメモリ異常MERと
して通知する。メモリ異常MERを受けたメモリアクセ
ス制御部3は、CPU1に割込みINTMとして通知す
る。Therefore, when the mode switching unit 4 for switching the bit error detection mode is in the 1-bit error detection valid mode (that is, the test mode signal TM is "1"), the ECC function circuit 5 outputs "1". 1-bit error detection signal ER1 of "AND gate G1, OR gate G2
The memory access control unit 3 is notified as a memory abnormality MER via. The memory access control unit 3 that has received the memory abnormality MER notifies the CPU 1 as an interrupt INTM.
【0010】[0010]
【発明の効果】本発明によれば、モードの切替に応じて
メモリ回路が出力するデータ6aの1ビット誤りの検知
を、メモリ異常INTMとしてCPUに通知するように
したので、従来放置されていた1ビット誤りを発見でき
るため、2ビット誤りの不具合によるシステム停止が事
前に防止できる。例えば、定期的なメモリ診断プログラ
ムなどを、1ビット誤り検知有効モード(テストモー
ド)で実行すると、オンラインでメモリの1ビット誤り
異常を検出することができるため、システムの信頼性を
向上させることができる。According to the present invention, the detection of a 1-bit error in the data 6a output from the memory circuit in response to the mode switching is notified to the CPU as a memory abnormality INTM. Since a 1-bit error can be detected, system stoppage due to a 2-bit error can be prevented in advance. For example, if a regular memory diagnostic program or the like is executed in the 1-bit error detection valid mode (test mode), it is possible to detect a 1-bit error abnormality of the memory online, and therefore the system reliability can be improved. it can.
【図1】本発明の一実施例としての情報処理装置の要部
の構成図FIG. 1 is a configuration diagram of a main part of an information processing apparatus as an embodiment of the present invention.
【図2】図1に対応する従来の構成図FIG. 2 is a conventional configuration diagram corresponding to FIG.
1 CPU 2 アクセス制御部 3 メモリアクセス制御部 4 モード切替部 5 ECC機能回路 6 メモリ回路 6a メモリ回路6の出力データ 7 データバス G1 ANDゲート G2 ORゲート ER1 1ビットエラー検知信号 ER2 2ビット以上エラー検知信号 TM テストモード信号 MER メモリ異常 INTM メモリ異常割込み 1 CPU 2 access control unit 3 memory access control unit 4 mode switching unit 5 ECC function circuit 6 memory circuit 6a output data of memory circuit 6 7 data bus G1 AND gate G2 OR gate ER1 1 bit error detection signal ER2 2 bits or more error detection Signal TM Test mode signal MER Memory error INTM Memory error Interrupt
Claims (1)
出力データの1ビット誤りを検知して出力する検知情報
を、所定のモード設定時にCPUに通知する手段を備え
たことを特徴とするECC機能回路の1ビット誤り検知
通知装置。1. An ECC, comprising: a circuit having an ECC function, which detects a 1-bit error in output data from a memory circuit and outputs detection information to a CPU when setting a predetermined mode. 1-bit error detection notification device for functional circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5276305A JPH07129424A (en) | 1993-11-05 | 1993-11-05 | One-bit error detection informing device for ecc function circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5276305A JPH07129424A (en) | 1993-11-05 | 1993-11-05 | One-bit error detection informing device for ecc function circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH07129424A true JPH07129424A (en) | 1995-05-19 |
Family
ID=17567606
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP5276305A Pending JPH07129424A (en) | 1993-11-05 | 1993-11-05 | One-bit error detection informing device for ecc function circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH07129424A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09190384A (en) * | 1996-01-09 | 1997-07-22 | Yokogawa Electric Corp | Memory controller |
JP2000305861A (en) * | 1999-04-26 | 2000-11-02 | Hitachi Ltd | Storage device and memory card |
JP2019526845A (en) * | 2016-06-29 | 2019-09-19 | マイクロン テクノロジー,インク. | Error correction code event detection |
US10552255B2 (en) | 2015-09-11 | 2020-02-04 | Toshiba Memory Corporation | Memory device |
-
1993
- 1993-11-05 JP JP5276305A patent/JPH07129424A/en active Pending
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09190384A (en) * | 1996-01-09 | 1997-07-22 | Yokogawa Electric Corp | Memory controller |
JP2000305861A (en) * | 1999-04-26 | 2000-11-02 | Hitachi Ltd | Storage device and memory card |
US10552255B2 (en) | 2015-09-11 | 2020-02-04 | Toshiba Memory Corporation | Memory device |
JP2019526845A (en) * | 2016-06-29 | 2019-09-19 | マイクロン テクノロジー,インク. | Error correction code event detection |
US10949300B2 (en) | 2016-06-29 | 2021-03-16 | Micron Technology, Inc. | Error correction code event detection |
JP2022009444A (en) * | 2016-06-29 | 2022-01-14 | マイクロン テクノロジー,インク. | Error correction code Event detection |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6563047B2 (en) | Alarm processing circuit and alarm processing method | |
JPS6280733A (en) | Information processor | |
JPH113290A (en) | Memory control system | |
JPH07129424A (en) | One-bit error detection informing device for ecc function circuit | |
JP2768693B2 (en) | Apparatus for monitoring a computer system having two processors | |
JPH10105422A (en) | Control circuit of protecting device | |
JP2998804B2 (en) | Multi-microprocessor system | |
JP2000259444A (en) | Data processor and its testing method | |
JP2004310291A (en) | Cpu system equipped with watchdog timer failure detecting circuit | |
JP2706027B2 (en) | Programmable controller | |
JPH02281343A (en) | Cpu operation monitor system | |
JP2559531B2 (en) | Redundant system error check circuit | |
JP2778691B2 (en) | Bus monitoring circuit | |
KR100408266B1 (en) | Device for automatically recovering fault of computer system | |
JP3107104B2 (en) | Standby redundancy method | |
JP2892821B2 (en) | Data transfer device | |
KR200280669Y1 (en) | interrupt equipement having an error detecting function | |
JP2002073375A (en) | Software operation monitoring method in system that contains microcomputer | |
JPH0981465A (en) | Main storage controller | |
JPS63298458A (en) | Data transfer circuit | |
JPS58197555A (en) | Information processor | |
JPH0887938A (en) | Latch relay supervisory device | |
JPS60173647A (en) | Detecting system of error generating part of information processing unit | |
JPS63124156A (en) | Memory error detecting method | |
JPH0887431A (en) | Abnormality detecting device for central processing unit |