JPH01236331A - Error detecting system - Google Patents

Error detecting system

Info

Publication number
JPH01236331A
JPH01236331A JP63064466A JP6446688A JPH01236331A JP H01236331 A JPH01236331 A JP H01236331A JP 63064466 A JP63064466 A JP 63064466A JP 6446688 A JP6446688 A JP 6446688A JP H01236331 A JPH01236331 A JP H01236331A
Authority
JP
Japan
Prior art keywords
control signal
register
data
gate
abnormality
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
JP63064466A
Other languages
Japanese (ja)
Inventor
Atsushi Takahashi
淳 高橋
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 JP63064466A priority Critical patent/JPH01236331A/en
Publication of JPH01236331A publication Critical patent/JPH01236331A/en
Pending legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)

Abstract

PURPOSE:To diagnose a faulty point where a data changing trouble, etc., takes place by reporting the abnormality of a selection control signal which controls the selection of data to be stored in a register as a parity error of the register when the abnormality is detected. CONSTITUTION:Presence/absence of abnormality in a control signal producing section 7 is detected by performing AND operation on inverted signals 108 which are produced by inverting selection controlling signals 104 from the section 7 at a NOT gate 5 and condition signals 103 and 113 at an AND gate 6. When abnormality is detected, a parity error signal 110 from an OR gate 4, at which the OR with the output signal 107 of a parity check circuit 3 is taken, becomes '1'. Therefore, where a fault occurs at a register or at the control signal producing section 7 can be discriminated when the calculated result from the AND gate is checked.

Description

【発明の詳細な説明】 1血欠ヱ 本発明はエラー検出方式に関し、特に動作時にデータレ
ジスタに格納されたデータの不正をパリティチエツクに
より検出するコンピュータにおいてデータ化けの原因と
もなりうるデータレジスタ回りの制御信号の不正を検出
するエラー検出方式従来、信号線のエラー検出方式には
、パリティ符号などの各種符号論理による方法や、デー
タの比較によりデータの不一致を検出する方法などがと
られている。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an error detection method, and in particular to an error detection system for detecting errors in data registers that can cause data corruption in computers that use parity checks to detect irregularities in data stored in data registers during operation. Error Detection Methods for Detecting Illegal Control Signals Conventionally, error detection methods for signal lines include methods using various code logics such as parity codes, and methods that detect data mismatches by comparing data.

しかしながら、データレジスタ回りの制御信号の正常性
に対するチエツクは、制御信号生成部の正常性に対する
チエツクをも含む場合には、その符号生成論理およびエ
ラー検出論理の金物量が増大することや、データレジス
タ自体の故障率に比べて制御信号生成部の故障率が小さ
いこと、あるいは金物量の増大によりコスト高になるこ
となどから、信顆性が特に要求される一部のシステム以
外には実施されていないのが現状である。
However, if checking the normality of the control signals around the data register also includes checking the normality of the control signal generation section, the amount of hardware for the code generation logic and error detection logic increases, and the amount of hardware required for the data register increases. Because the failure rate of the control signal generation unit is lower than the failure rate of the control signal generation unit itself, or because the cost increases due to an increase in the amount of hardware, it is not implemented in systems other than some systems where reliability is particularly required. The current situation is that there is no such thing.

また、コンピュータを構成しているパッケージ間で制御
信号がパッケージ間をまたいで送られている場合には、
パッケージ間インタフェース部の障害が多いということ
から、パッケージ間インタフ鳳−スのエラーのみを検出
することにより装置の信頼性を向上させている。
Also, if control signals are sent across packages that make up a computer,
Since there are many failures at the inter-package interface, the reliability of the device is improved by detecting only errors at the inter-package interface.

すなわち、この場合には制御信号の送出側のパッケージ
でパリティを生成し、受信側のパッケージでそのパリテ
ィをチエツクしてバヅゲージ間インタフェース部の障害
を検出している。ただし、この方法では制御信号主成部
自体の異常検出はできない。
That is, in this case, a parity is generated in the package on the sending side of the control signal, and the parity is checked in the package on the receiving side to detect a failure in the interface section between the bag gauges. However, this method cannot detect abnormalities in the main component of the control signal itself.

このような従来のエラー検出方式では、故障率や金物量
およびコストなどの点から、データレジスタから読出さ
れたデータに対するパリティチエツク回路は設けられて
いるが、データレジスタへのセットデータを切換える切
換え回路の制御信号に対するエラー検出回路は設けられ
ていない。そのため、切換え回路の制御信号の不正によ
り誤ったデータが選択されてデータレジスタにセットさ
れても、制御信号の不正が原因で誤ったデータがデータ
レジスタにセットされたことを検出する手段がないとい
う問題がある。
In such conventional error detection methods, a parity check circuit is provided for the data read from the data register due to failure rate, amount of hardware, cost, etc., but a switching circuit for switching the set data to the data register is provided. No error detection circuit is provided for the control signal. Therefore, even if incorrect data is selected and set in the data register due to an incorrect control signal in the switching circuit, there is no way to detect that incorrect data has been set in the data register due to an incorrect control signal. There's a problem.

また、制御信号がパッケージ間をまたぐような場合に、
パリティチエツクによってパッケージ間インダフェース
のエラーの検出は可能であるが、この制m信号を生成す
る制御信号生成部の異常を検出することはできないとい
う問題がある。
Also, when control signals cross between packages,
Although it is possible to detect errors in the inter-package interface by parity checking, there is a problem in that it is not possible to detect an abnormality in the control signal generation section that generates the control signal.

さらに、切換え回路の制御信号の不正により誤ったデー
タがデータレジスタにセットされると、この誤ったデー
タのパリティが揃っているときにはデータレジスタから
のデータの読出し時に行われるパリティチエツクではそ
のエラーを検出することができない場合があり、すなわ
ちデータ化けを起こす可能性があるという問題がある。
Furthermore, if incorrect data is set in the data register due to an incorrect control signal of the switching circuit, the parity check performed when reading data from the data register will detect the error if the parity of the incorrect data is correct. There are cases where it is not possible to do so, and there is a problem that data may be garbled.

このようなデータ化けの場合には、障害箇所の診断が非
常に置敷である。
In the case of data corruption like this, it is extremely difficult to diagnose the location of the failure.

ユJ!とl似 本発明は上記のような従来のものの問題点を除去すべく
なされたもので、データ化は障害時などの障害箇所の診
断を容易に行うことができるエラー検出方式の提供を目
的とする。
Yu J! Similar to this, the present invention was made in order to eliminate the problems of the conventional ones as described above, and the purpose of data conversion is to provide an error detection method that can easily diagnose the location of a failure in the event of a failure. do.

九匪二■ス 本発明によるエラー検出方式は、複数のデータのうち一
つが選択制御信号に応じて選択されてレジスタに格納さ
れる情報処理装置のエラー検出方式であって、前記選択
制御信号の異常を検出する検出手段を有し、前記検出手
段により前記選択制御信号の異常が検出されたときに、
前記異常を前記レジスタにおけるパリティエラーとして
報告するようにしたことを特徴とする。
The error detection method according to the present invention is an error detection method for an information processing device in which one of a plurality of pieces of data is selected according to a selection control signal and stored in a register, and the comprising a detection means for detecting an abnormality, and when the detection means detects an abnormality in the selection control signal,
The present invention is characterized in that the abnormality is reported as a parity error in the register.

K1贋 次に、本発明の一実施例について図面を参照して説明す
る。
K1 fake Next, one embodiment of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例の構成を示すブロック図であ
る0図において、本発明の一実施例は、切換え回路1と
、レジスタ2と、パリティチエツク回13と、オアゲー
ト4と、ノットゲート5と、アンドゲート6と、制御信
号生成部7とにより構成されている。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. In FIG. It is composed of a gate 5, an AND gate 6, and a control signal generation section 7.

通常動作時には、制御信号生成部7が条件信号103を
受付けると、選択制御信号104を生成して切換え回路
1に出力する。切換え回路1は制御信号生成部7からの
選択制御信号104の制御によりデータ101とデータ
102とを切換えてレジスタ2にセットデータ105と
して送出する。
During normal operation, when the control signal generation section 7 receives the condition signal 103, it generates the selection control signal 104 and outputs it to the switching circuit 1. The switching circuit 1 switches between data 101 and data 102 under the control of a selection control signal 104 from the control signal generating section 7 and sends it to the register 2 as set data 105.

切換え回路1には通常論理“0”の選択制御信号104
が入力されており、データ101がセットデータ105
としてレジスタ2に送出されているが、条件信号103
が論理“1”となったときにこれを契機として制御信号
生成部7で複数要因の論理がとられ、制御信号生成部7
からの選択制御信号104が論理“1”となることによ
って、切換え回路1では初めてデータ102が選択され
、データ102がセットデータ105としてレジスタ2
に送出される。
The switching circuit 1 normally receives a selection control signal 104 of logic “0”.
is input, and data 101 is set data 105
The condition signal 103 is sent to register 2 as
When becomes the logic "1", the control signal generation unit 7 takes the logic of multiple factors using this as a trigger, and the control signal generation unit 7
When the selection control signal 104 from the switch circuit 1 becomes logic "1", the data 102 is selected for the first time in the switching circuit 1, and the data 102 is transferred to the register 2 as the set data 105.
sent to.

レジスタ2からの出力データ106はパリティチエツク
回路3によって異常の有無がチエツクされ、出力データ
106が正常であればパリティチエツク回路3からの出
力信号107は論理“0”であり、出力データ106に
異常があればパリティチエツク回路3からの出力信号1
07は論理“1”となる。
The output data 106 from the register 2 is checked for abnormality by the parity check circuit 3. If the output data 106 is normal, the output signal 107 from the parity check circuit 3 is logic "0", indicating that the output data 106 is abnormal. If there is, output signal 1 from parity check circuit 3
07 becomes logic "1".

パリティチエツク回1i183からの出力信号107が
論理“1”となると、パリティエラー信号110として
論理“1”がオアゲート4を介して外部に出力され、パ
リティエラーの検出が報告される。
When the output signal 107 from the parity check circuit 1i 183 becomes a logic "1", a logic "1" is outputted to the outside as a parity error signal 110 via the OR gate 4, and the detection of a parity error is reported.

一方、上述の動作中に制御信号生成部7からの選択制御
信号104はノットゲート5で反転されて反転信号10
8としてアンドゲート6に出力される。
On the other hand, during the above operation, the selection control signal 104 from the control signal generation unit 7 is inverted by the not gate 5 and the inverted signal 10
8 and is output to the AND gate 6.

アンドゲート6では条件信号103と反転信号108と
の論理積演算が行われ、その演算結果信号109がオア
ゲート4と外部とに出力される。
The AND gate 6 performs an AND operation between the condition signal 103 and the inverted signal 108, and outputs the operation result signal 109 to the OR gate 4 and the outside.

制御信号生成部7が正常に動作しているときには、この
制御信号生成部7の異常を報告するアンドゲート6から
の演算結果信号109には論理“0”が出力される。
When the control signal generation section 7 is operating normally, a logic "0" is output as the operation result signal 109 from the AND gate 6 which reports the abnormality of the control signal generation section 7.

次に、制御信号生成部7に異常が発生して選択制御信号
104が発行されない場合には、条件信号103として
論理“1”が制御信号生成部7に入力されているにもか
かわらず選択制御信号104が論理“1″とはならず、
ノットゲート5からの反転信号108が論理“1”とな
るのでアンドゲート6からの演算結果信号109には論
理“1”が出力されて制御信号生成部7の異常が表示さ
れる。
Next, if an abnormality occurs in the control signal generation unit 7 and the selection control signal 104 is not issued, the selection control signal 104 is not issued even though logic “1” is input to the control signal generation unit 7 as the condition signal 103. The signal 104 does not become a logic “1”;
Since the inverted signal 108 from the NOT gate 5 becomes logic "1", the operation result signal 109 from the AND gate 6 is outputted as logic "1", indicating that the control signal generating section 7 is abnormal.

アンドゲート6からの演算結果信号109はオアゲート
4でパリティチエツク回路3からの出力信号107との
論理和がとられており、制御信号生成7の異常が検出さ
れた場合にはあたかもレジスタ2のパリティエラーとし
て報告される。
The operation result signal 109 from the AND gate 6 is logically summed with the output signal 107 from the parity check circuit 3 in the OR gate 4, and when an abnormality in the control signal generation 7 is detected, the parity of the register 2 is Reported as an error.

オアゲート4からのパリティエラー信号110が論理“
1”となったときには、アンドゲート6からの演算結果
信号109をみることによってレジスタ2の障害である
のか、制御信号生成部7の障害であるのかを判断するこ
とができる。
The parity error signal 110 from the OR gate 4 is logic “
1'', by looking at the operation result signal 109 from the AND gate 6, it can be determined whether the fault is in the register 2 or in the control signal generating section 7.

第2図は第1図の制御信号生成部7の具体例を示すブロ
ック図である。図において、制御信号生成部7に設けら
れ、装置内各レジスタ(図示せず)の初期設定を制御す
るリセット制御レジスタ71と、リセット信号112を
保持するフリップフロップ8とが設けられ、切換え回路
1に初期設定データ111が入力されている以外は第1
図と同じ構成となっており、第1図と同じ構成部品には
同じ符号を付しである。
FIG. 2 is a block diagram showing a specific example of the control signal generating section 7 shown in FIG. 1. In the figure, a reset control register 71 that is provided in the control signal generation unit 7 and controls the initial settings of each register (not shown) in the device, and a flip-flop 8 that holds a reset signal 112 are provided, and the switching circuit 1 1 except that the initial setting data 111 is input to
It has the same configuration as the figure, and the same components as in FIG. 1 are given the same reference numerals.

制御信号生成部7内部のリセット制御レジスタ71はリ
セット信号112が論理“1″のときにリセットされる
。このとき、リセット制御レジスタ71のとット0は論
理“0”となる。
The reset control register 71 inside the control signal generator 7 is reset when the reset signal 112 is at logic "1". At this time, bit 0 of the reset control register 71 becomes logic "0".

リセット制御レジスタ71のビット0が論理“0”とな
ったときに、このビット0の値が反転されて出力される
選択制御信号104は論理“1″となり、この選択制御
信号104により切換え回路1は初期設定データ111
を選択してレジスタ2に出力する。レジスタ2は切換え
回路1からの初期設定データ111がセットされること
により初期設定される。このレジスタ2からの出力デー
タ106のパリティチエツクは第1図に示した本発明の
一実施例と同様である。
When bit 0 of the reset control register 71 becomes logic "0", the selection control signal 104 outputted by inverting the value of bit 0 becomes logic "1", and this selection control signal 104 causes the switching circuit 1 is initial setting data 111
Select and output to register 2. The register 2 is initialized by setting the initial setting data 111 from the switching circuit 1. Parity checking of output data 106 from register 2 is similar to the embodiment of the present invention shown in FIG.

フリップフロップ8から出力される条件信号113はリ
セット信号112と等価な信号であり、そのタイミング
としてはリセット制御レジスタ71から出力される選択
制御信号104のタイミングに等しい。
The condition signal 113 outputted from the flip-flop 8 is a signal equivalent to the reset signal 112, and its timing is equal to the timing of the selection control signal 104 outputted from the reset control register 71.

すなわち、制御信号生成部7に論理“1”のリセット信
号112が入力されると選択制御信号104が出力され
、この選択制御信号104によって切換え回1i’ll
が制御される。このとき、フリップフロップ8からの条
件信号113がアンドゲート6に出力されるのである。
That is, when the reset signal 112 of logic "1" is input to the control signal generation section 7, the selection control signal 104 is outputted, and the selection control signal 104 causes the switching circuit 1i'll
is controlled. At this time, the condition signal 113 from the flip-flop 8 is output to the AND gate 6.

したがって、アンドゲート6によってノットゲート5か
らの反転信号108とフリップフロップ8からの条件信
号113との論理積演算を行うことにより、制御信号生
成部7における異常の有無が検出される。
Therefore, by performing an AND operation between the inverted signal 108 from the NOT gate 5 and the condition signal 113 from the flip-flop 8 using the AND gate 6, the presence or absence of an abnormality in the control signal generation section 7 is detected.

このように、制御信号生成部7からの選択制御信号10
4がノットゲート5で反転された反転信号108と、条
件信号103,113とをアンドゲート6により論理積
演算して制御信号生成部7の異常の有無を検出し、異常
が検出されたときにはオアゲート4からパリティエラー
信号110として出力するようにすることによって、制
御信号生成部7に生じた異常を原因とするレジスタ2へ
の正常なデータセットの失敗を検出することができ、デ
ータ化は障害時などの障害箇所の診断を容易に行うこと
ができる。
In this way, the selection control signal 10 from the control signal generation section 7
4 is inverted by the NOT gate 5, and the condition signals 103 and 113 are logically ANDed by the AND gate 6 to detect whether or not there is an abnormality in the control signal generation section 7. When an abnormality is detected, the OR gate is activated. 4 as a parity error signal 110, it is possible to detect a failure in normally setting data to the register 2 due to an abnormality occurring in the control signal generation unit 7, and data conversion is performed at the time of failure. It is possible to easily diagnose failure points such as:

九肌五豆A 以上説明したように本発明によれば、レジスタに格納さ
れるデータを選択するための選択制御信号に異常が検出
されたとき、この異常をレジスタにおけるパリティエラ
ーとして報告するようにすることによって、データ化は
障害時などの障害箇所の診断を容易に行うことができる
という効果がある。
Kuhada Gozu A As explained above, according to the present invention, when an abnormality is detected in the selection control signal for selecting data to be stored in a register, this abnormality is reported as a parity error in the register. By doing so, data conversion has the effect of making it easier to diagnose the location of a failure in the event of a failure.

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

第1図は本発明の一実施例を示すブロック図、第2図は
第1図の制御信号生成部の具体例を示すブロック図であ
る。 主要部分の符号の説明 1・・・・・・切換え回路   2・・・・・・レジス
タ4・・・・・・オアゲート 5・・・・・・ノットゲート 6・・・・・・アンドゲート 7・・・・・・制御信号生成部
FIG. 1 is a block diagram showing one embodiment of the present invention, and FIG. 2 is a block diagram showing a specific example of the control signal generation section of FIG. 1. Explanation of symbols of main parts 1...Switching circuit 2...Register 4...OR gate 5...Not gate 6...And gate 7・・・・・・Control signal generation section

Claims (1)

【特許請求の範囲】[Claims] (1)複数のデータのうち一つが選択制御信号に応じて
選択されてレジスタに格納される情報処理装置のエラー
検出方式であって、前記選択制御信号の異常を検出する
検出手段を有し、前記検出手段により前記選択制御信号
の異常が検出されたときに、前記異常を前記レジスタに
おけるパリテイエラーとして報告するようにしたことを
特徴とするエラー検出方式。
(1) An error detection method for an information processing device in which one of a plurality of data is selected according to a selection control signal and stored in a register, comprising a detection means for detecting an abnormality in the selection control signal, An error detection method characterized in that when an abnormality in the selection control signal is detected by the detection means, the abnormality is reported as a parity error in the register.
JP63064466A 1988-03-17 1988-03-17 Error detecting system Pending JPH01236331A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63064466A JPH01236331A (en) 1988-03-17 1988-03-17 Error detecting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63064466A JPH01236331A (en) 1988-03-17 1988-03-17 Error detecting system

Publications (1)

Publication Number Publication Date
JPH01236331A true JPH01236331A (en) 1989-09-21

Family

ID=13259033

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63064466A Pending JPH01236331A (en) 1988-03-17 1988-03-17 Error detecting system

Country Status (1)

Country Link
JP (1) JPH01236331A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03132829A (en) * 1989-10-16 1991-06-06 Internatl Business Mach Corp <Ibm> Parity inspection system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03132829A (en) * 1989-10-16 1991-06-06 Internatl Business Mach Corp <Ibm> Parity inspection system

Similar Documents

Publication Publication Date Title
US4996688A (en) Fault capture/fault injection system
US6886116B1 (en) Data storage system adapted to validate error detection logic used in such system
US6192489B1 (en) Fault tolerant design for identification of AC defects including variance of cycle time to maintain system operation
JPH0746322B2 (en) Faulty device identification system
US4727548A (en) On-line, limited mode, built-in fault detection/isolation system for state machines and combinational logic
US4627057A (en) Method and arrangement for the functional testing of computers
JPH01236331A (en) Error detecting system
JPH0563823B2 (en)
JP7749596B2 (en) Electronic circuit and method for self-testing data memories
JP3272195B2 (en) Redundant system switching monitoring control device
JP2806856B2 (en) Diagnostic device for error detection and correction circuit
JPH01236332A (en) Error detecting system
CN120821605B (en) Fault detection systems, methods, electronic devices, storage media, and program products
JP2606160B2 (en) Failure detection method for parity check circuit
JPS6027423B2 (en) Pseudo-intermittent error check code generator
KR19980063196A (en) Determination of Operation Mode of Redundant Processor System
JPH06139089A (en) Fault processing device for information processor
SU1341665A1 (en) Device for checking service life of technical system
JPH04170657A (en) Transmission line control device
JPS5916302B2 (en) Check device
JPS62113241A (en) Fault recovery device
JPS60195649A (en) Error reporting system of microprogram-controlled type data processor
JPH0232409A (en) Diagnosing device for abnormality monitoring part
JPS5917465B2 (en) Check device
JPS60173647A (en) Detecting system of error generating part of information processing unit