JPH02133843A - Memory error detecting system - Google Patents

Memory error detecting system

Info

Publication number
JPH02133843A
JPH02133843A JP63288399A JP28839988A JPH02133843A JP H02133843 A JPH02133843 A JP H02133843A JP 63288399 A JP63288399 A JP 63288399A JP 28839988 A JP28839988 A JP 28839988A JP H02133843 A JPH02133843 A JP H02133843A
Authority
JP
Japan
Prior art keywords
error
memory
address
circuit
address 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
JP63288399A
Other languages
Japanese (ja)
Inventor
Noriaki Maekawa
前川 則昭
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.)
Toyo Communication Equipment Co Ltd
Original Assignee
Toyo Communication Equipment 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 Toyo Communication Equipment Co Ltd filed Critical Toyo Communication Equipment Co Ltd
Priority to JP63288399A priority Critical patent/JPH02133843A/en
Publication of JPH02133843A publication Critical patent/JPH02133843A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To early recover the error of the memory contents by detecting the occurrence of the error and at the same time holding the address signal value. CONSTITUTION:In the case one of memory chips 3a - 3n has a memory error, an error detecting circuit 7 detects the error and produces an error detection signal. Then an address latch circuit 8 performs a latching operation to latch the address signal (showing a reading address at occurrence of an error) outputted from an address expanding circuit 6. At the same time, the circuit 8 supplies the latched address signal to other circuits of a CPU 1, a decoder, etc., via a gate circuit 9. Thus it is possible to detect the occurrence of a memory error in a simple constitution and also to decide a specific memory chip that is produced an error. Then the error can be early recovered.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はマイクロプロセッサシステム等に用いられるメ
モリエラー検出方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a memory error detection method used in microprocessor systems and the like.

(従来の技術) マイクロプロセッサを使用したコンピュータシステムに
おいては、メモリに格納されているデータを読み出した
とき、なんらかの原因によりこのデータが格納したデー
タと異なっていることがある。
(Prior Art) In a computer system using a microprocessor, when data stored in a memory is read out, the data may differ from the stored data for some reason.

このため、従来からこのようなコンピュータシステムに
おいては、誤ったデータが用いられることを防止するた
めに、パリティチエツク方式などを用いたエラー検出回
路を設け、パリティエラーが発生したとき実行中の処理
を中断しエラーの発生を表示を実行するようにしている
For this reason, in order to prevent incorrect data from being used, such computer systems have traditionally been equipped with an error detection circuit that uses a parity check method, etc., to stop the process being executed when a parity error occurs. The execution is interrupted and displays the occurrence of an error.

しかしながらこのようなマイクロプロセッサシステムに
設けられているエラー検出回路は、エラーの有無を判定
するのみで、その後のエラー処理及び復旧処理に有効な
情報を提供するものではなかった。
However, the error detection circuit provided in such a microprocessor system only determines the presence or absence of an error, but does not provide information effective for subsequent error processing and recovery processing.

このため、オペレータがエラー処理する際、メモリ内の
各番地を最初からチエツクしてエラー発生箇所やエラー
内容を検査しなければならず、エラーの復旧に手間取る
という問題があった。
For this reason, when an operator handles an error, he or she must check each address in the memory from the beginning to determine where the error has occurred and the content of the error, which poses a problem in that it takes time to recover from the error.

また、回路の経年変化等に基づいて性能劣化等でメモリ
のエラー箇所が数千回に1回程度のエラー発生率である
ときには、オペレータがエラー箇所をチエツクしたとき
正常に動作して、エラー箇所を発見できないこともあっ
た。
In addition, if the memory error occurs at a rate of about 1 in several thousand times due to performance deterioration due to aging of the circuit, etc., when the operator checks the error location, the memory will operate normally and the error location will be removed. Sometimes I couldn't find it.

(発明の目的) 本発明は上記の事情に鑑みてなされたものであって、簡
単な構成によってメモリエラーの発生箇所を特定するこ
とができ、これによってエラーを早期に復旧させること
ができるメモリエラー検出方式を提供することを目的と
している・。
(Object of the Invention) The present invention has been made in view of the above-mentioned circumstances, and it is possible to identify the location where a memory error occurs with a simple configuration, thereby enabling early recovery from the error. The purpose is to provide a detection method.

(発明の概要) 上記の問題点を解決するために本発明によるメモリエラ
ー検出方式においては、マイクロプロセッサによって読
み出されるメモリ内容にエラーが発生したとき、これを
検知してこのときのアドレス信号値を保持し、後でエラ
ー発生番地がわかるようにすることを特徴としている。
(Summary of the Invention) In order to solve the above problems, in the memory error detection method according to the present invention, when an error occurs in the memory contents read by the microprocessor, this is detected and the address signal value at this time is detected. The feature is that the address where the error occurred can be found later.

(実施例) 第1図は本発明によるメモリエラー検出方式の一実施例
を適用したマイクロプロセッサシステムの一例を示すブ
ロック図である。
(Embodiment) FIG. 1 is a block diagram showing an example of a microprocessor system to which an embodiment of the memory error detection method according to the present invention is applied.

この図に示すマイクロプロセッサシステムはシステムの
中心となるCPUIと、このCPUIから出力されるア
ドレス信号の上位数ビットをデコードしてチップセレク
ト信号C81〜CS nを1つだけ生成するアドレスデ
コーダ2と、複数のメモリチップ38〜3nを有し前記
アドレスデコーダ2から出力されるチップセレクト信号
と前記アドレス信号の残りビットによってメモリチップ
の1つが選択されてその内部の番地が読出し・書込み可
能になるメモリ部4と、前記各メモリチップ3a〜3n
のいずれかにエラーが発生したときこれを検知してその
ときのアドレス信号値を保持するエラー検出部5とを備
えている。
The microprocessor system shown in this figure includes a CPU that is the center of the system, an address decoder 2 that decodes the upper few bits of the address signal output from the CPUI, and generates only one chip select signal C81 to CSn. A memory section that has a plurality of memory chips 38 to 3n, and one of the memory chips is selected by the chip select signal outputted from the address decoder 2 and the remaining bits of the address signal, and the internal address thereof becomes readable and writable. 4, and each of the memory chips 3a to 3n.
The error detection section 5 detects when an error occurs in any one of the address signals and holds the address signal value at that time.

前記エラー検出部5は前記CPUIから出力されるアド
レス信号を所定時間(例えば、次のアドレス信号が出力
されまでの時間)だけ伸長するアドレス伸長回路6と、
前記各メモリチップ3a〜3nに入出力されるデータ信
号のパリティチエツク(又は他のチエツク)を行なって
前記各メモリチップ3a〜3nのいずれかにメモリエラ
ーが発生したときこれを検出してエラー検出信号を発生
するエラー検出回路7と、このエラー検出回路7からエ
ラー検出信号が出力されたとき前記アドレス伸長回路6
が保持しているアドレス信号を取り込んでラッチするア
ドレスラッチ回路8と、このアドレスラッチ回路8によ
ってラッチされているアドレス信号を前記CPUIやデ
コーダ等の他の回路に供給するゲート回路9とを備えて
いる。
The error detection unit 5 includes an address expansion circuit 6 that expands the address signal output from the CPUI for a predetermined time (for example, the time until the next address signal is output);
Error detection is performed by performing a parity check (or other check) on data signals input and output to each of the memory chips 3a to 3n, and detecting when a memory error occurs in any of the memory chips 3a to 3n. an error detection circuit 7 that generates a signal; and an address expansion circuit 6 when an error detection signal is output from the error detection circuit 7;
The address latch circuit 8 takes in and latches the address signal held by the address latch circuit 8, and the gate circuit 9 supplies the address signal latched by the address latch circuit 8 to other circuits such as the CPUI and the decoder. There is.

そして、メモリチップ3a〜3nが正常に動作している
ときには、エラー検出部5のエラー検出回路7がエラー
検知信号を発生しないので、アドレスラッチ回路8はラ
ッチ動作を行なわない。
When the memory chips 3a to 3n are operating normally, the error detection circuit 7 of the error detection section 5 does not generate an error detection signal, so the address latch circuit 8 does not perform a latch operation.

また、メモリチップ38〜3nのいずれかにメモリエラ
ーが発生すれば、エラー検出回路7はこれを検知してエ
ラー検知信号を発生する。これによって、アドレスラッ
チ回路8がラッチ動作を行なってアドレス伸長回路6か
ら出力されているアドレス信号(エラーが発生したとき
の読出し番地を示すアドレス信号)をラッチするととも
に、ゲート回路9を介してこれを前記CPUIやデコー
ダ等の他の回路に供給する。
Furthermore, if a memory error occurs in any of the memory chips 38 to 3n, the error detection circuit 7 detects this and generates an error detection signal. As a result, the address latch circuit 8 performs a latch operation to latch the address signal (address signal indicating the read address when an error occurs) output from the address expansion circuit 6, and also sends the address signal via the gate circuit 9. is supplied to the CPUI and other circuits such as a decoder.

このようにこの実施例においては、メモリチップ3a〜
3nのいずれかにメモリエラーが発生すれば、このとき
のアドレス信号値をラッチするようにしているので、後
で必要に応じてその内容を表示すればどのメモリチップ
のどの部分がエラーを発生したのか容易に知ることがで
き、これによってエラーを早期に復旧させることができ
る。
As described above, in this embodiment, the memory chips 3a to
If a memory error occurs in any of 3n, the address signal value at that time is latched, so if you display the contents later as necessary, you can see which part of which memory chip caused the error. This makes it easy to know whether the error is occurring or not, and this allows for early recovery from the error.

(発明の効果) 以上説明したように本発明によれば、簡単な構成によっ
てメモリエラーの発生を検出することができるとともに
、どのメモリチップがエラーを発生したのか判定するこ
とができ、これによってエラーを早期に復旧させること
ができる。
(Effects of the Invention) As explained above, according to the present invention, it is possible to detect the occurrence of a memory error with a simple configuration, and it is also possible to determine which memory chip has caused the error. can be restored quickly.

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

第1図は本発明によるメモリエラー検出方式の一実施例
を適用したマイクロプロセッサシステムの一例を示すブ
ロック図である。 1・・・マイクロプロセッサ(CPU) 、3a〜3n
・・・メモリチップ、5・・・エラー検出部。 特許出願人  東洋通信機株式会社
FIG. 1 is a block diagram showing an example of a microprocessor system to which an embodiment of the memory error detection method according to the present invention is applied. 1... Microprocessor (CPU), 3a to 3n
...Memory chip, 5...Error detection section. Patent applicant: Toyo Tsushinki Co., Ltd.

Claims (1)

【特許請求の範囲】[Claims] (1)マイクロプロセッサによってメモリから読み出さ
れるデータにエラーが発生したとき、これを検知してこ
のときのアドレス信号値を保持し、必要に応じて表示す
ることを特徴とするメモリエラー検出方式。
(1) A memory error detection method that detects when an error occurs in data read from a memory by a microprocessor, holds the address signal value at that time, and displays it as necessary.
JP63288399A 1988-11-15 1988-11-15 Memory error detecting system Pending JPH02133843A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63288399A JPH02133843A (en) 1988-11-15 1988-11-15 Memory error detecting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63288399A JPH02133843A (en) 1988-11-15 1988-11-15 Memory error detecting system

Publications (1)

Publication Number Publication Date
JPH02133843A true JPH02133843A (en) 1990-05-23

Family

ID=17729706

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63288399A Pending JPH02133843A (en) 1988-11-15 1988-11-15 Memory error detecting system

Country Status (1)

Country Link
JP (1) JPH02133843A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07200417A (en) * 1993-12-29 1995-08-04 Nec Corp Memory error detection device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07200417A (en) * 1993-12-29 1995-08-04 Nec Corp Memory error detection device

Similar Documents

Publication Publication Date Title
JPH08161234A (en) Method and appartus for execution and protection of linear sequence of instruction processed by processor
JPS6222199B2 (en)
JPH02133843A (en) Memory error detecting system
US7954042B2 (en) Check testing of an address decoder
JPH0316655B2 (en)
KR100525537B1 (en) Applied Program Bungle Detection Apparatus and Method by Interrupt
JP3154853B2 (en) Illegal memory access detection method
JP2751822B2 (en) Memory control method for FIFO memory device
US6473722B1 (en) Compact fault detecting system capable of detecting fault without omission
JPS60181947A (en) Memory diagnosing system
JP2609768B2 (en) Error detection method for control information read data
JPH0395653A (en) Address error detecting method for data storage device
JPH04115339A (en) Memory error processing system
JPH05265864A (en) Memory managing circuit and processor unit with memory managing circuit
JPS5922147A (en) Checking system of retrial processing
JPS59163653A (en) Debug device
JPS62169245A (en) Data processing system
JPS63129440A (en) Store through buffer device
JPH04239923A (en) Error recovery system for soft visible register
JPH05165735A (en) Identification system for parity error occured memory element
JP2000122887A (en) Method for detecting hardware abnormality
JPH0244432A (en) Electronic computer control system
JPH05324396A (en) Program traveling history recording system
JPH05113936A (en) Memory error detecting method
JPS63193241A (en) Information processor