JPH0336634A - Fault detecting system for circuit including register file - Google Patents

Fault detecting system for circuit including register file

Info

Publication number
JPH0336634A
JPH0336634A JP1169800A JP16980089A JPH0336634A JP H0336634 A JPH0336634 A JP H0336634A JP 1169800 A JP1169800 A JP 1169800A JP 16980089 A JP16980089 A JP 16980089A JP H0336634 A JPH0336634 A JP H0336634A
Authority
JP
Japan
Prior art keywords
circuit
error
read
register file
data
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
JP1169800A
Other languages
Japanese (ja)
Inventor
Masayuki Kaneda
金田 正幸
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
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP1169800A priority Critical patent/JPH0336634A/en
Publication of JPH0336634A publication Critical patent/JPH0336634A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the resolution of a faulty range by judging the state of a read flag circuit concerning error, and identifying whether the error is generated by reading or reading/writing. CONSTITUTION:The identification for the write/read of data to plural words in a register file part 200 is executed by plural read flag circuits 210-213. A parity check circuit 240 detects the error of the data read from the file part 200. When the error is detected in the read data, the states of the circuits 210-213 are identified and the fault range of the circuit is selected. Thus, since the state of the read flag circuit is judged and it is identified whether the error is generated by reading or reading/writing when the error is detected in the read data, the fault range of the circuit including the register file can be specified.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は回路における故障検出方式に関し、特にレジス
タファイルを含む回路の故障検出方式に関するものであ
る。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a fault detection method in a circuit, and more particularly to a fault detection method in a circuit including a register file.

[従来の技術] 近年、情報処理装置を構成する論理回路の故1+Iに占
める間欠故障の割合が増加している。このため、この間
欠故障を検出するエラー検出回路のエラー出力をエラー
インジケータフラグ回路に送出し、この送出されたエラ
ー情報がち故障診断辞書を索引して故障の被疑範囲を指
摘するという故障診断方法が採用されている〈例えば、
NEC技報第40巻第11号rAcosシステム200
0シリーズのRASJ)。
[Background Art] In recent years, the proportion of intermittent failures in 1+I of logic circuits forming information processing devices has been increasing. For this reason, there is a fault diagnosis method in which the error output of the error detection circuit that detects intermittent faults is sent to the error indicator flag circuit, and this sent error information is indexed into a fault diagnosis dictionary to point out the suspected range of the fault. Adopted (for example,
NEC Technical Report Volume 40 No. 11 rAcos System 200
0 series RASJ).

そして5.二の故障検出方法は、レジスタファイルの読
みだしデータのエラー検出を行うエラー検出回路のエラ
ー出力により、一意的にこのレジスタファイルおよびこ
のレジスタファイルの書き込みデータ生成回路を故障の
被疑範囲として検出するものとなっている。
And 5. The second fault detection method is to uniquely detect this register file and the write data generation circuit of this register file as a suspected fault area by using the error output of the error detection circuit that detects errors in the read data of the register file. It becomes.

[発明が解決しようとする課題1 上述した従来のレジスタファイルを含む回路の故障検出
方式は、レジスタファイルの読みだしデータがエラー検
出回路によってエラー出力された場合、このレジスタフ
ァイルおよびこのレジスタファイルの書き込みデータ生
成回路を一意的に・故障の被疑範囲として選択する方式
であるので、−度レジスタフアイルから読みだしを行っ
てエラーが検出されない場合、すなわちレジスタファイ
ルの書き込みデータ生成回路の正常性が確認されている
場合でもこのデータ生成回路を故障の被疑範囲に含めて
しまい、この結果故障範囲の分解能が落ちてしまうとい
う問題があった。
[Problem to be Solved by the Invention 1] The above-described conventional fault detection method for a circuit including a register file is such that when read data from a register file is output as an error by an error detection circuit, this register file and this register file are not written. Since this method uniquely selects the data generation circuit as the suspected failure area, if no error is detected after reading from the register file, the normality of the data generation circuit written in the register file is confirmed. Even in the case where the data generating circuit is included in the suspected fault range, there is a problem in that the resolution of the fault range is degraded as a result.

[課題を解決するための手段1 このような課題を解決するために本発明のレジスタファ
イルを含む回路の故障検出方式による装置は、レジスタ
ファイル部内の複数のワードに対応して設けられこのワ
ードへのデータの書き込みまたは読みだしの識別を行う
複数のリードフラグ回路と、レジスタファイル部から読
み出されたデータのエラー検出を行うエラー検出回路と
を備えたものである。
[Means for Solving the Problems 1] In order to solve such problems, a device based on a failure detection method for a circuit including a register file according to the present invention is provided corresponding to a plurality of words in the register file section, This device includes a plurality of read flag circuits that identify writing or reading of data, and an error detection circuit that detects errors in data read from the register file section.

[作用] 読みだしデータのエラーが検出されたとき、リードフラ
グ回路の状態を判断して、読みだしに伴うエラーかまた
は読みだしおよび書き込みに伴うエラーかを識別する。
[Operation] When an error in read data is detected, the state of the read flag circuit is determined to identify whether the error is associated with reading or with reading and writing.

この結果、レジスタファイル部を含む回路の故障範囲を
特定できる。
As a result, the failure range of the circuit including the register file section can be identified.

[実施例] 次に、本発明について図面を参照して説明する。[Example] Next, the present invention will be explained with reference to the drawings.

図は本発明のレジスタファイルを含む回路の故障検出方
式の一実施例を示すブロック図である。
The figure is a block diagram showing an embodiment of a failure detection method for a circuit including a register file according to the present invention.

同図において、10.20はそれぞれ故障が発生したと
き指摘される最小の被疑範囲(最小の故障範囲)の回路
ブロック、30.270は信号線、100は回路ブロッ
ク部20に書き込むデータを生成するレジスタファイル
入力データ生成回路、200はレジスタファイル入力デ
ータ生成回路100からのデータが書き込まれるレジス
タファイル部、210〜213はレジスタファイル部2
00内の4個のワード(図示せず〉のそれぞれに1対1
に対応して設けられたリードフラグ回路である。
In the figure, 10.20 is a circuit block of the minimum suspect range (minimum fault range) pointed out when a failure occurs, 30.270 is a signal line, and 100 is a circuit block that generates data to be written to the circuit block section 20. A register file input data generation circuit; 200 is a register file section into which data from the register file input data generation circuit 100 is written; 210 to 213 are register file sections 2;
1 to 1 for each of the 4 words (not shown) in 00
This is a read flag circuit provided correspondingly.

そして、220はリードアドレス信号線、225はライ
トアドレス信号線、230はリードアドレス信号線22
0によりリードフラグ回路210〜213のうちの何れ
かの出力を選択するセレクタ、240はレジスタファイ
ル部200からデータを読みだしするときにこのデータ
のパリティチエツクを行うパリティチエツク回路(エラ
ー検出回路)、250はパリティチエツク回路240に
よりエラーが検出されたときエラーフラグをセットする
エラーインジケータフラグ回路、260はエラーインジ
ケータフラグ回路250のフラグがセットされてオンし
たとき既にセットされたリードフラグ回路210〜21
3のフラグの状態を保持する自ブロック特定フラグ回路
、280はリードアドレス信号線220゛およびライト
アドレス信号線225からのアドレス信号をデコードす
るデコーダである。
220 is a read address signal line, 225 is a write address signal line, and 230 is a read address signal line 22.
0 selects the output of one of the read flag circuits 210 to 213; 240 is a parity check circuit (error detection circuit) that performs a parity check on data when reading data from the register file section 200; 250 is an error indicator flag circuit that sets an error flag when an error is detected by the parity check circuit 240; 260 is a read flag circuit 210 to 21 that is already set when the flag of the error indicator flag circuit 250 is set and turned on;
280 is a decoder that decodes address signals from the read address signal line 220' and the write address signal line 225.

以上のようにtR威されたレジスタファイルを含む回路
の故障検出方式の動作を説明する。
The operation of the failure detection method for a circuit including a register file subjected to tR as described above will be explained.

レジスタファイル入力生成回路100によって生成され
たデータが信号線30を介してレジスタファイル部20
0内の該当するワード(以下、ワードiという)に送出
されて書き込まれると、このときライトアドレス信号線
225から送出されるライトアドレス信号がデコーダ2
80によりデコードされ、このデコードされたアドレス
信号に基づいてワードiに対応するリードフラグ回路(
以下、リードフラグ回路iという)はオフされる。この
リードフラグ回路iは、該当するワードiのデータが読
み出されるまでオフ状態を保持している。従って、レジ
スタファイル部200内のワードiから1回目の読み出
しする前には、リードフラグ回路iはオフ状態である。
Data generated by the register file input generation circuit 100 is transmitted to the register file section 20 via the signal line 30.
When the write address signal is sent and written to the corresponding word in 0 (hereinafter referred to as word i), the write address signal sent from the write address signal line 225 at this time is sent to the decoder 2.
80, and based on this decoded address signal, a read flag circuit (
The read flag circuit (hereinafter referred to as the read flag circuit i) is turned off. This read flag circuit i maintains an off state until the data of the corresponding word i is read. Therefore, before the first read from word i in the register file unit 200, the read flag circuit i is in an off state.

そして、読みたしが開始されたとき、自ブロック特定フ
ラグ回路260には、リードアドレス信号線220から
のリードアドレス信号によって制御されたセレクタ23
0に選択されたリードフラグ回路iのオフ状態、すなわ
ち「0」がセットされる。また、このときリードアドレ
ス信号線220から送出されるリードアドレス信号がデ
コーダ280によりデコードされ、このデコードされた
アドレス信号に基づいてワードiに対応するリードフラ
グ回路量はオンされる。そして、このワードlの読み出
し時に、パリティチエツク回路240によってエラーが
検出されてエラーインジケータフラグ回路250がオン
したとき、自ブロック特定フラグ回路260は、「O」
状態であり、信号線270を介してエラーインジケータ
フラグ回路250によりこの「0」状態のまま保持され
る。
Then, when reading is started, the own block identification flag circuit 260 has a selector 23 controlled by the read address signal from the read address signal line 220.
The read flag circuit i selected as 0 is set to the off state, that is, "0". Further, at this time, the read address signal sent from the read address signal line 220 is decoded by the decoder 280, and the read flag circuit quantity corresponding to word i is turned on based on the decoded address signal. Then, when an error is detected by the parity check circuit 240 and the error indicator flag circuit 250 is turned on when reading this word l, the own block identification flag circuit 260 outputs "O".
This “0” state is maintained by the error indicator flag circuit 250 via the signal line 270.

次にこのような状態で、すなわちレジスタファイル部2
00への書き込みが行われる前に、2回目の読みだしを
行った場合について説明する。2回目の読みだしを行う
前には、上記したようにリードフラグ回路量はオン状態
であり、読みだしを開始1−たとき、自ブロック特定フ
ラグ回路260には、セレクタ230に選択されてリー
ドフラグ回路量のオン状態、すなわち「11がセットさ
れる。また、このときリードフラグ回路量はオンされる
。そして、このワードiの読み出し時に、パリティチエ
ツク回路240によってエラーが検出されてエラーイン
ジケータフラグ回路250がオンしたとき、白ブロツク
特定フラグ回路260は、「■」状態となっている。
Next, in this state, that is, register file section 2
A case will be described in which a second read is performed before writing to 00 is performed. Before performing the second read, the read flag circuit quantity is in the on state as described above, and when the read starts, the own block identification flag circuit 260 contains the read flag selected by the selector 230. The flag circuit quantity is turned on, that is, "11" is set. Also, at this time, the read flag circuit quantity is turned on. Then, when reading this word i, an error is detected by the parity check circuit 240 and the error indicator flag is set. When the circuit 250 is turned on, the white block identification flag circuit 260 is in the "■" state.

次に、以上に述べた結果を下表に示す。Next, the results described above are shown in the table below.

この表は、回路ブロック10.20の故障発生時の故障
診断辞書の構成の一例を示す表である。
This table shows an example of the structure of a fault diagnosis dictionary when a fault occurs in the circuit block 10.20.

この表によると、と記した1凹目の読みだし時にエラー
が発生して、エラーインジケータフラグ回路250がオ
ン、すなわち「1」状態のとき、自ブロック特定フラグ
回路260が「0」であれば、データの書き込みおよび
読みだし時の何れかにエラーが発生したということで、
被疑範囲として回路ブロック部10と回路ブロック部2
0とが選択される。
According to this table, when an error occurs when reading the first indentation marked and the error indicator flag circuit 250 is on, that is, in the "1" state, if the own block identification flag circuit 260 is "0" , an error occurred either when writing or reading data.
The suspected area is circuit block section 10 and circuit block section 2.
0 is selected.

次に、上記した2凹目の読みだし時にエラーが発生して
、エラーインジケータフラグ回路250がオン状態で自
ブロック特定フラグ回路260がrl、であれば、デー
タ読みだし時のエラーであるということで、被疑範囲と
して回路ブロック部20が選択される。
Next, if an error occurs when reading the second recess as described above, and the error indicator flag circuit 250 is on and the own block identification flag circuit 260 is rl, this means that the error occurred when reading data. Then, the circuit block section 20 is selected as the suspected range.

[発明の効果] 以上説明したように本発明のレジスタファイルを含む回
路の故障検出方式は、読みだしデータのエラーが検出さ
れたとき、リードフラグ回路の状態を判断して、読みだ
しに件゛うエラーかまたは読みだしおよび書き込みに伴
うエラーかを識別するように構成したので、レジスタフ
ァイルを含む回路の故障範囲が特定でき、故障範囲の分
解能を向上させることができるという効果がある。
[Effects of the Invention] As explained above, the failure detection method for a circuit including a register file according to the present invention determines the state of the read flag circuit when an error in read data is detected, and detects the read problem. Since the configuration is configured to identify whether the error is an error associated with reading or writing, or an error associated with reading and writing, the fault range of the circuit including the register file can be identified, and the resolution of the fault range can be improved.

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

図は本発明のレジスタファイルを含む回路の故障検出方
式の一実施例を示すブロック図である。 10.20・・・・回路ブロック、30,270−・・
・信号線、100・・・・レジスタファイル入力データ
生成回路、200・・ ・レジスタファイル部、210
〜213・・・・リードフラグ回路、220・・・・リ
ードアドレス信号線、225・・・ ライトアドレス信
号線、230・・・・セレクタ、240・・・・パリテ
ィチエツク回路、250・・・・エラーインジケータフ
ラグ回路、260・・・・自ブロック特定フラグ回路、
280・・ ・デコーダ。
The figure is a block diagram showing an embodiment of a failure detection method for a circuit including a register file according to the present invention. 10.20...Circuit block, 30,270-...
- Signal line, 100...Register file input data generation circuit, 200... -Register file section, 210
~213... Read flag circuit, 220... Read address signal line, 225... Write address signal line, 230... Selector, 240... Parity check circuit, 250... Error indicator flag circuit, 260... own block identification flag circuit,
280... Decoder.

Claims (1)

【特許請求の範囲】 複数のワードからなるレジスタファイル部を含む回路に
おいて、 前記複数のワードに対応して設けられこのワードへのデ
ータの書き込みまたは読みだしの識別を行う複数のリー
ドフラグ回路と、 前記レジスタファイル部から読み出されたデータのエラ
ー検出を行うエラー検出回路と を備え、前記読みだしデータのエラーが検出されたとき
前記リードフラグ回路の状態を識別して前記レジスタフ
ァイルを含む回路の故障範囲を選択するようにしたこと
を特徴とするレジスタファイルを含む回路の故障検出方
式。
[Scope of Claims] A circuit including a register file section consisting of a plurality of words, comprising: a plurality of read flag circuits provided corresponding to the plurality of words to identify writing or reading of data to the words; an error detection circuit that detects an error in the data read from the register file section, and when an error in the read data is detected, the state of the read flag circuit is identified and the circuit including the register file is detected. A failure detection method for a circuit including a register file, characterized in that a failure range is selected.
JP1169800A 1989-07-03 1989-07-03 Fault detecting system for circuit including register file Pending JPH0336634A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1169800A JPH0336634A (en) 1989-07-03 1989-07-03 Fault detecting system for circuit including register file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1169800A JPH0336634A (en) 1989-07-03 1989-07-03 Fault detecting system for circuit including register file

Publications (1)

Publication Number Publication Date
JPH0336634A true JPH0336634A (en) 1991-02-18

Family

ID=15893129

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1169800A Pending JPH0336634A (en) 1989-07-03 1989-07-03 Fault detecting system for circuit including register file

Country Status (1)

Country Link
JP (1) JPH0336634A (en)

Similar Documents

Publication Publication Date Title
US4926426A (en) Error correction check during write cycles
JPS63200249A (en) Pseudo fault generating system for cache memory device
JPH0336634A (en) Fault detecting system for circuit including register file
JP2806856B2 (en) Diagnostic device for error detection and correction circuit
JPS61110243A (en) Diagnostic system for error correcting and detecting circuit
JPH05165734A (en) Fixed fault diagnostic device for main storage device
JPH0793225A (en) Memory check system
JPH05108385A (en) Error correction circuit diagnostic system
JPH01156834A (en) Diagnosing system for check circuit
JPH09311825A (en) Rom monitoring circuit
JP3045532B2 (en) Memory device
JPS63140342A (en) Test system for error detecting circuit
JPS6237756A (en) Error detecting circuit
JPH0216658A (en) Memory device
JP2976621B2 (en) Semiconductor integrated circuit
JPS63261436A (en) Parity error recovery system
JPS59230342A (en) Device for testing operation of failure detector
JPS60173647A (en) Detecting system of error generating part of information processing unit
JPH0331953A (en) Information processor
JPH01297733A (en) System for diagnosing error detection circuit
JPH05289946A (en) Memory control system
JPS60191350A (en) Memory device
JPS63118953A (en) System for detecting parity abnormality
JPS58159158A (en) Detecting system for fault of address bus
JPH03126124A (en) Disk subsystem