JPH08123703A - Failure detecting system for parity check circuit - Google Patents

Failure detecting system for parity check circuit

Info

Publication number
JPH08123703A
JPH08123703A JP6258061A JP25806194A JPH08123703A JP H08123703 A JPH08123703 A JP H08123703A JP 6258061 A JP6258061 A JP 6258061A JP 25806194 A JP25806194 A JP 25806194A JP H08123703 A JPH08123703 A JP H08123703A
Authority
JP
Japan
Prior art keywords
signal
parity
parity check
operation monitoring
monitoring 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.)
Granted
Application number
JP6258061A
Other languages
Japanese (ja)
Other versions
JP2606160B2 (en
Inventor
Masahiko Shiroichi
昌彦 城市
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 JP6258061A priority Critical patent/JP2606160B2/en
Publication of JPH08123703A publication Critical patent/JPH08123703A/en
Application granted granted Critical
Publication of JP2606160B2 publication Critical patent/JP2606160B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE: To provide a failure detecting system capable of detecting a failure in a parity check circuit at a shorter period during the operation of the system. CONSTITUTION: An operation monitoring signal sending means 105 sends an operation monitoring signal to be periodically inverted based upon an instruction sent from a switching instruction sending means 106. A parity checking means 103 receives transfer data obtained by adding a parity bit to data transmitted from a data register 101 as an input signal together with the operation monitoring signal, outputs a parity check result for the transfer data as a parity error signal independently of the value of the operation monitoring signal at the time of normal operation, and at the occurrence of a failure, a parity check result changed in accordance with a change in the value of the operation monitoring signal as a parity error signal. A failure detecting means 104 detects the existence of failure occurrence in accordance with a change in the value of the parity error signal generated before and after a change in the value of the operation monitoring signal.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はパリティチェック回路の
故障検出方式に係り、特にデータのビット誤りを検出す
るパリティチェック回路の故障を検出する故障検出方式
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a failure detection method for a parity check circuit, and more particularly to a failure detection method for detecting a failure of a parity check circuit for detecting a data bit error.

【0002】[0002]

【従来の技術】従来より、コンピュータの内部や通信路
においてデータの伝送時にノイズやその他の原因により
ビットの値が本来の値と異なる値(すなわち、1のとき
に0、0のときに1)となるような誤りを生じることが
あるため、データにパリティビットを付加してパリティ
チェックを行うパリティチェック回路が設けられる。
2. Description of the Related Art Conventionally, when data is transmitted inside a computer or a communication path, a bit value is different from an original value due to noise or other causes (that is, 1 when 0, 0 when 1). Therefore, a parity check circuit for adding a parity bit to data and performing a parity check is provided.

【0003】図4は従来のパリティチェック回路の故障
検出方式の一例の構成図を示す。同図において、データ
レジスタ401に一旦保持されたデータはパリティビッ
トPが付加されており、これより転送データ信号403
として後段へ出力されると共にパリティチェック回路4
02に供給される。
FIG. 4 is a block diagram showing an example of a conventional fault detection method for a parity check circuit. In the figure, the data once held in the data register 401 is added with a parity bit P, and the data
And is output to the subsequent stage as a parity check circuit 4
02.

【0004】パリティチェック回路402は入力された
転送データ信号403の1の数が奇数パリティの場合は
奇数個(偶数パリティの場合は偶数個)あるかどうか検
査し、奇数個(偶数パリティの場合は偶数個)ないとき
にはパリティエラー信号を出力する。
The parity check circuit 402 checks whether the number of 1's in the input transfer data signal 403 is an odd number (even number in the case of even parity) when odd parity, and an odd number (in the case of even parity). If there is no even number), a parity error signal is output.

【0005】ここで、パリティチェック回路402も故
障することがあり、故障時にはデータの誤りを検出でき
なくなってしまうため、従来は定期的にパリティチェッ
ク回路402の診断プログラムを実行することで故障検
出を行っている。すなわち、上記の診断プログラムは、
システムの運用を止めてすべてのデータレジスタ401
に対して、順次擬似障害が発生するような擬似障害発生
データを与えてパリティエラーを発生させ、パリティチ
ェック回路402が正常な場合はパリティエラー信号を
出力させるようにして、パリティチェック回路402が
正常動作しているかの確認をしている。
Here, the parity check circuit 402 may also fail, and it is impossible to detect a data error at the time of failure. Therefore, conventionally, failure detection is performed by periodically executing the diagnostic program of the parity check circuit 402. Is going. That is, the above diagnostic program is
Stop the operation of the system and all data registers 401
In response to this, a parity error is generated by giving pseudo-failure occurrence data such that a pseudo-failure occurs sequentially, and a parity error signal is output when the parity check circuit 402 is normal. Checking that it is working.

【0006】[0006]

【発明が解決しようとする課題】しかるに、上記の従来
の故障検出方式では、装置内のすべてのパリティチェッ
ク回路の故障の有無を確認するには、システムの運用を
停止させて専用の診断プログラムを実行させなければな
らず、また、その実行時間も比較的長くかかるため頻繁
に行うことができない。
However, in the above-described conventional failure detection method, in order to confirm whether or not all the parity check circuits in the device have a failure, the operation of the system is stopped and a dedicated diagnostic program is executed. It must be executed, and the execution time is relatively long, so that it cannot be executed frequently.

【0007】そのため、パリティチェック回路が故障し
ていても、次回の診断プログラムの実行まではパリティ
チェック回路の故障が発見できず、その結果データ化け
が発生してもそのまま動作し続けるので、システムに与
える影響が非常に大きいという問題がある。
For this reason, even if the parity check circuit has failed, no failure of the parity check circuit can be found until the next execution of the diagnostic program. As a result, even if data corruption occurs, the parity check circuit continues to operate. There is a problem that the influence is very large.

【0008】また、上記の診断プログラムは、ハードウ
ェアに合わせて作成する必要があるため、ハードウェア
の修正・変更があれば診断プログラムもその度に修正し
なければならず、また非常に多くの工数が必要であると
いう問題がある。
Further, since the above diagnostic program needs to be created in accordance with the hardware, if the hardware is modified or changed, the diagnostic program must be modified each time. There is a problem that man-hours are required.

【0009】本発明は以上の点に鑑みなされたもので、
パリティチェック回路の故障検出をシステムの運用中に
より短い周期で行い得るパリティチェック回路の故障検
出方式を提供することを目的とする。
[0009] The present invention has been made in view of the above points,
It is an object of the present invention to provide a parity check circuit failure detection method capable of detecting a failure of a parity check circuit in a shorter cycle during system operation.

【0010】また、本発明の他の目的はハードウェアの
修正・変更に無関係にパリティチェック回路の故障検出
を行い得るパリティチェック回路の故障検出方式を提供
することにある。
It is another object of the present invention to provide a parity check circuit failure detection system capable of detecting a failure of a parity check circuit regardless of hardware modification / change.

【0011】[0011]

【課題を解決するための手段】本発明は上記の目的を達
成するため、定期的に反転する動作監視信号を発生する
動作監視信号発生手段と、伝送されるデータにパリティ
ビットが付加された転送データを動作監視信号と共に入
力信号として受け、正常動作時には転送データのパリテ
ィチェック結果を動作監視信号の値に無関係にパリティ
エラー信号として出力し、故障発生時には動作監視信号
の値の変化に応じて変化するパリティチェック結果をパ
リティエラー信号として出力するパリティチェック手段
と、パリティエラー信号と動作監視信号とを入力信号と
して受け、動作監視信号の値が変化する前後のパリティ
エラー信号の値が変化しているかどうかにより故障発生
の有無を検出する故障検出手段とを有する構成としたも
のである。
In order to achieve the above object, the present invention has an operation monitor signal generating means for generating an operation monitor signal which is periodically inverted, and a transfer in which a parity bit is added to transmitted data. Receives data as an input signal together with the operation monitoring signal, outputs the parity check result of the transfer data as a parity error signal regardless of the value of the operation monitoring signal during normal operation, and changes according to the change in the value of the operation monitoring signal when a failure occurs. Parity check means for outputting the parity check result as a parity error signal, and whether the value of the parity error signal before and after the value of the operation monitoring signal has changed by receiving the parity error signal and the operation monitoring signal as input signals It is configured to include a failure detection unit that detects whether or not a failure has occurred.

【0012】また、本発明でのパリティチェック手段
は、転送データと動作監視信号とが入力されて転送デー
タのパリティチェックを行うと共に、パリティチェック
の結果と動作監視信号との排他的論理和演算を行って得
た信号を出力する第1の演算回路と、第1の演算回路の
出力信号と動作監視信号との排他的論理和演算を行って
得た信号をパリティエラー信号として出力する第2の演
算回路とよりなる構成とすることが、パリティチェック
が正常に行われた時には、動作監視信号の値に無関係に
パリティチェック結果が変化せず、一方、パリティチェ
ックが正常に行われていないときには動作監視信号の値
に応じてパリティチェック結果が変化する信号を容易に
得ることができ、望ましい。
The parity check means of the present invention receives the transfer data and the operation monitoring signal and performs a parity check on the transfer data, and performs an exclusive OR operation on the result of the parity check and the operation monitoring signal. A first arithmetic circuit for outputting a signal obtained by performing the operation, and a second operation circuit for outputting, as a parity error signal, a signal obtained by performing an exclusive OR operation of an output signal of the first arithmetic circuit and the operation monitoring signal. When the parity check is performed normally, the result of the parity check does not change regardless of the value of the operation monitoring signal. On the other hand, when the parity check is not performed normally, the operation is performed. It is desirable to easily obtain a signal whose parity check result changes according to the value of the monitoring signal.

【0013】[0013]

【作用】本発明では、パリティチェック手段により入力
転送データのパリティチェックを行うと共に、そのパリ
ティチェック結果と定期的に値が反転する動作監視信号
とに基づいて論理演算を行い、正常動作時には転送デー
タのパリティチェック結果を動作監視信号の値に無関係
にパリティエラー信号として出力し、故障発生時には動
作監視信号の値の変化に応じて変化するパリティチェッ
ク結果をパリティエラー信号として出力するようにした
ため、故障検出手段により動作監視信号の値が変化する
直前と直後のそれぞれにおけるパリティエラー信号の値
が変化していないと検出したときにはパリティエラー回
路の故障の発生はなく、パリティエラー信号の値が変化
しているときにはパリティエラー回路に故障発生有りと
検出することができる。
According to the present invention, the parity check means performs a parity check on input transfer data, and performs a logical operation based on the parity check result and an operation monitoring signal whose value is periodically inverted. The parity check result is output as a parity error signal irrespective of the value of the operation monitoring signal, and when a failure occurs, the parity check result that changes according to the change in the value of the operation monitoring signal is output as a parity error signal. When the detecting means detects that the value of the parity error signal has not changed immediately before and immediately after the change of the value of the operation monitoring signal, no failure of the parity error circuit occurs, and the value of the parity error signal changes. The parity error circuit can detect that a failure has occurred. That.

【0014】[0014]

【実施例】次に、本発明の実施例について説明する。図
1は本発明の一実施例の構成図を示す。同図に示すよう
に、本実施例はデータレジスタ101、エラー検出手段
102、動作監視信号送出手段105及び切り替え指示
送出手段106より構成されている。動作監視信号送出
手段105及び切り替え指示送出手段106は、前記動
作監視信号発生手段を構成している。データレジスタ1
01は、例えばデータ8ビットと1ビットのパリティビ
ット(偶数パリティ)とを保持する。
Next, an embodiment of the present invention will be described. FIG. 1 shows a block diagram of an embodiment of the present invention. As shown in the figure, this embodiment comprises a data register 101, an error detection means 102, an operation monitoring signal transmission means 105 and a switching instruction transmission means 106. The operation monitoring signal transmitting means 105 and the switching instruction transmitting means 106 constitute the operation monitoring signal generating means. Data register 1
01 holds, for example, 8-bit data and 1-bit parity bit (even parity).

【0015】エラー検出手段102は、バリティチェッ
クを行い、エラー検出時に所定値のパリティエラー信号
109を出力するパリティチェック手段103と、故障
検出時に故障検出信号110を出力する故障検出手段1
04とから構成されている。動作監視信号送出手段10
5はパリティチェック手段103が正常に動作している
かどうかの動作監視信号108を送出する。切り替え指
示送出手段106は、動作監視信号108の値を一定周
期で切り替えるための指示を送出する手段である。
The error detecting means 102 performs a parity check and outputs a parity error signal 109 having a predetermined value when an error is detected. The fault detecting means 1 outputs a fault detection signal 110 when a fault is detected.
04 and 04. Operation monitoring signal sending means 10
5 transmits an operation monitoring signal 108 indicating whether the parity check means 103 is operating normally. The switching instruction sending means 106 is a means for sending an instruction for switching the value of the operation monitoring signal 108 at a constant cycle.

【0016】パリティチェック手段103は、例えば図
2に示す如く、データレジスタ101からの転送データ
信号107と動作監視信号送出手段105からの動作監
視信号108とが入力され、これらの全ビットでの排他
的論理和演算を行う排他的論理和(EXOR)回路20
1と、このEXOR回路201の出力信号と動作監視信
号108との排他的論理和演算を行う排他的論理和(E
XOR)回路202とから構成されている。
As shown in FIG. 2, for example, a transfer data signal 107 from the data register 101 and an operation monitoring signal 108 from the operation monitoring signal transmitting means 105 are input to the parity check means 103, and exclusive use of all these bits is performed. Exclusive OR (EXOR) circuit 20 for performing a logical OR operation
1 and an exclusive OR (E) for performing an exclusive OR operation of the output signal of the EXOR circuit 201 and the operation monitoring signal 108
XOR) circuit 202.

【0017】また、故障検出手段104は、例えば図3
に示すフローチャートに従った動作を行う。すなわち、
パリティチェック手段103から送出されるパリティエ
ラー信号109と動作監視信号送出手段105からの動
作監視信号108とを入力信号として受け、動作監視信
号108の値が”1”から”0”に立下ったこと、及
び”0”から”1”に立上ったことを検出し(ステップ
301)、その検出時にチェック信号を出力してその出
力時点の前後でパリティエラー信号109が”0”か
ら”1”あるいは”1”から”0”に変化したかどうか
検出する(ステップ302)。
The failure detecting means 104 is, for example, as shown in FIG.
The operation according to the flowchart shown in FIG. That is,
A parity error signal 109 sent from the parity check unit 103 and an operation monitoring signal 108 from the operation monitoring signal sending unit 105 are received as input signals, and the value of the operation monitoring signal 108 falls from “1” to “0”. That is, it is detected that the signal has risen from "0" to "1" (step 301). At that time, a check signal is output, and the parity error signal 109 changes from "0" to "1" before and after the output point. It is detected whether "or" has changed from "1" to "0" (step 302).

【0018】次に、本実施例の動作について図1〜図3
と共に説明する。通常は、切り替え指示送出手段106
は、装置の運用が開始されると、決められた或る一定時
間がくる度に動作監視信号送出手段105に動作監視信
号108の値をその時に”0”であったならば”1”
に、”1”であったならば”0”に反転するように指示
を送出する。
Next, the operation of this embodiment will be described with reference to FIGS.
Will be explained together. Normally, the switching instruction sending means 106
When the operation of the apparatus is started, the value of the operation monitoring signal 108 to the operation monitoring signal transmitting means 105 is set to "1" if the value is "0" at that time every time a predetermined fixed time comes.
Then, if it is "1", an instruction to invert to "0" is sent.

【0019】従って、この切り替え指示を受け取った動
作監視信号送出手段105は、上記の一定時間毎に反転
する信号を動作監視信号108として、エラー検出手段
102内のパリティチェック手段103及び故障検出手
段104のそれぞれに出力する。
Therefore, the operation monitoring signal transmitting means 105 receiving the switching instruction uses the above-mentioned signal inverted at regular intervals as the operation monitoring signal 108 as the parity checking means 103 and the failure detecting means 104 in the error detecting means 102. Output to each of.

【0020】エラー検出手段102は常時パリティチェ
ックを行っており、正常に動作しているときには、パリ
ティチェックの結果は正常に送出される。すなわち、パ
リティチェック手段103が正常のときには、入力転送
データ信号107にパリティエラーがない場合、図2に
示したEXOR回路201の出力が動作監視信号108
が”0”のときは”0”、動作監視信号108が”1”
のときは”1”となるが、次段のEXOR回路202か
らは動作監視信号108が”0”のときでも”1”のと
きでもいずれも”0”のパリティエラー無しを示す信号
が取り出される。同様に、パリティエラーがあるときに
はEXOR回路202からは動作監視信号108が”
0”のときでも”1”のときでもパリティエラー有をし
めす”1”の信号が出力される。
The error detecting means 102 constantly carries out a parity check, and when it is operating normally, the result of the parity check is sent normally. That is, when the parity check means 103 is normal and there is no parity error in the input transfer data signal 107, the output of the EXOR circuit 201 shown in FIG.
Is “0”, and the operation monitoring signal 108 is “1”.
In this case, the signal becomes "1", but a signal indicating that there is no parity error of "0" is taken out from the EXOR circuit 202 at the next stage regardless of whether the operation monitoring signal 108 is "0" or "1". . Similarly, when there is a parity error, the operation monitoring signal 108 is output from the EXOR circuit 202 to “
Whether "0" or "1", a "1" signal indicating a parity error is output.

【0021】すなわち、パリティチェック手段103
は、同一の動作監視信号108が2つのEXOR回路2
01及び202に共通に入力される構成とされているた
め、動作監視信号108が”1”のときでも”0”のと
きでも、パリティチェック手段103が正常のときには
入力転送データ信号107をパリティチェックして得ら
れた結果が正常にパリティエラー信号109として出力
される(すなわち、パリティチェックの結果は動作監視
信号108の値によっては変化しない。)。
That is, the parity check means 103
Indicates that the EXOR circuit 2 having the same operation monitoring signal 108 has two
01 and 202, the input transfer data signal 107 is checked by the parity check means 103 when the operation monitoring signal 108 is "1" or "0". The result obtained as a result is normally output as the parity error signal 109 (that is, the result of the parity check does not change depending on the value of the operation monitoring signal 108).

【0022】従って、動作監視信号108が”0”か
ら”1”に、あるいは”1”から”0”に変化した時点
で故障検出手段104においてチェック信号が発生され
て図3のステップ302でパリティエラー信号109の
値がその前後で変化したかどうか検出されたときにも値
は変化しないため、故障検出信号110は”0”のま
ま、すなわち動作正常を示している(ステップ30
3)。
Therefore, when the operation monitoring signal 108 changes from "0" to "1" or from "1" to "0", a check signal is generated in the failure detecting means 104 and the parity is detected in step 302 of FIG. The value does not change even when it is detected whether or not the value of the error signal 109 has changed before and after that, so the failure detection signal 110 remains "0", that is, normal operation is indicated (step 30).
3).

【0023】しかし、パリティチェック手段103が故
障した場合は、故障検出信号110が”1”となる。す
なわち、パリティチェック手段103内のバリティチェ
ックを行っている一段目のEXOR回路201が”0”
スタック故障した場合、動作監視信号108が”0”の
ときは二段目のEXOR回路202の2入力信号はいず
れも”0”となるからパリティエラー信号109が”
0”となるのに対し、動作監視信号108が”1”のと
きは二段目のEXOR回路202の2入力信号は”0”
と”1”となるからパリティエラー信号109が”1”
となる。
However, when the parity check means 103 fails, the failure detection signal 110 becomes "1". That is, the first-stage EXOR circuit 201 which performs the parity check in the parity check means 103 is “0”.
When a stack failure occurs, when the operation monitoring signal 108 is "0", the two input signals of the EXOR circuit 202 in the second stage are both "0", so that the parity error signal 109 becomes "0".
When the operation monitoring signal 108 is “1”, the two input signals of the second-stage EXOR circuit 202 are “0”.
And "1", the parity error signal 109 becomes "1".
Becomes

【0024】また、パリティチェック手段103内のバ
リティチェックを行っている一段目のEXOR回路20
1が”1”スタック故障した場合、動作監視信号108
が”0”のときは二段目のEXOR回路202の2入力
信号は”0”と”1”となるからパリティエラー信号1
09が”1”となるのに対し、動作監視信号108が”
1”のときは二段目のEXOR回路202の2入力信号
はいずれも”1”となるからパリティエラー信号109
が”0”となる。
Further, the EXOR circuit 20 of the first stage which is performing the validity check in the parity check means 103.
When the “1” stack failure occurs, the operation monitoring signal 108
Is "0", the two input signals of the EXOR circuit 202 in the second stage are "0" and "1", so the parity error signal 1
09 becomes “1”, while the operation monitoring signal 108 becomes “1”.
When the value is “1”, the two input signals of the second-stage EXOR circuit 202 are both “1”, so that the parity error signal 109
Becomes “0”.

【0025】故障検出手段104は、図3に示したよう
に、動作監視信号108が”0”から”1”へ、又は”
1”から”0”へ変化したことを検出すると(ステップ
301)、その検出時点の前後でパリティエラー信号が
変化したかどうか検出する(ステップ302)ようにし
ているため、パリティチェック手段103が故障した場
合は上記のようにパリティエラー信号の値が変化するた
め、パリティチェック回路が故障したことがわかり、故
障検出信号110を”1”とする(ステップ304)。
As shown in FIG. 3, the failure detecting means 104 changes the operation monitoring signal 108 from "0" to "1" or "1".
When the change from 1 "to" 0 "is detected (step 301), it is detected whether or not the parity error signal has changed before and after the detection (step 302). In this case, since the value of the parity error signal changes as described above, it is known that the parity check circuit has failed, and the failure detection signal 110 is set to "1" (step 304).

【0026】この故障検出信号110が”1”になるこ
とによって、データレジスタ101がパリティエラーを
発生したのか、パリティチェック回路が故障したのかの
判定ができる。
When the failure detection signal 110 becomes "1", it can be determined whether the data register 101 has generated a parity error or the parity check circuit has failed.

【0027】なお、本発明は上記の実施例に限定される
ものではなく、例えば動作監視信号108は一定周期で
なくとも予め定めた周期で(要は定期的に)反転させる
ようにすればよく、また、パリティチェック手段103
のEXOR回路201は奇数パリティによるパリティチ
ェックを行うと共に動作監視信号との排他的論理和演算
を行うような回路構成とすることもできることは勿論で
ある。
The present invention is not limited to the above-described embodiment, and for example, the operation monitoring signal 108 may be inverted at a predetermined cycle (in short, periodically) even if it is not a constant cycle. Also, the parity check means 103
It is needless to say that the EXOR circuit 201 can have a circuit configuration that performs a parity check using an odd parity and performs an exclusive OR operation with an operation monitoring signal.

【0028】[0028]

【発明の効果】以上説明したように、本発明によれば、
動作監視信号の値が変化する直前と直後のそれぞれにお
けるパリティエラー信号の値が変化していないと検出し
たときにはパリティエラー回路の故障の発生はなく、パ
リティエラー信号の値が変化しているときにはパリティ
エラー回路に故障発生有りと検出するようにしたため、
システムの運用中でもパリティチェック回路の故障検出
ができ、従って従来に比べて非常に短い周期でパリティ
チェック回路の故障検出ができ、データのビット誤りの
ままシステムが動作し続ける不具合の発生を殆どなくす
ことができる。
As described above, according to the present invention,
When it is detected that the value of the parity error signal has not changed immediately before and immediately after the change of the value of the operation monitoring signal, no failure of the parity error circuit occurs, and when the value of the parity error signal changes, the parity is not changed. Because the error circuit detects that a failure has occurred,
The parity check circuit failure can be detected even during the operation of the system, and therefore the parity check circuit failure can be detected in a much shorter cycle than in the past, and the occurrence of a problem that the system continues to operate with a data bit error almost eliminated. Can be.

【0029】また、本発明によれば、動作監視信号を用
いて故障検出をしており、故障検出のための従来の診断
プログラムの実行を不要としているため、ハードウェア
の修正・変更があっても、診断プログラムの修正が不要
であり、工数の削減ができる。
Further, according to the present invention, the failure is detected using the operation monitoring signal, and it is not necessary to execute the conventional diagnostic program for detecting the failure. Also, no modification of the diagnostic program is required, and the man-hour can be reduced.

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

【図1】本発明の一実施例の構成図である。FIG. 1 is a configuration diagram of an embodiment of the present invention.

【図2】図1のパリティチェック手段の一実施例のブロ
ック図である。
FIG. 2 is a block diagram of an embodiment of a parity check unit of FIG. 1;

【図3】図1の故障検出手段の動作説明用フローチャー
トである。
FIG. 3 is a flowchart for explaining the operation of the failure detection means in FIG. 1;

【図4】従来方式の一例の構成図である。FIG. 4 is a block diagram of an example of a conventional method.

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

101 データレジスタ 102 エラー検出手段 103 パリティチェック手段 104 故障検出手段 105 動作監視信号送出手段 106 切り替え指示送出手段 201、202 排他的論理和(EXOR)回路 101 data register 102 error detection means 103 parity check means 104 failure detection means 105 operation monitoring signal transmission means 106 switching instruction transmission means 201, 202 exclusive OR (EXOR) circuit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 定期的に反転する動作監視信号を発生す
る動作監視信号発生手段と、 伝送されるデータにパリティビットが付加された転送デ
ータを前記動作監視信号と共に入力信号として受け、正
常動作時には該転送データのパリティチェック結果を該
動作監視信号の値に無関係にパリティエラー信号として
出力し、故障発生時には該動作監視信号の値の変化に応
じて変化するパリティチェック結果をパリティエラー信
号として出力するパリティチェック手段と、 該パリティチェック手段の出力パリティエラー信号と前
記動作監視信号とを入力信号として受け、該動作監視信
号の値が変化する前後の該パリティエラー信号の値が変
化しているかどうかにより故障発生の有無を検出する故
障検出手段とを有することを特徴とするパリティチェッ
ク回路の故障検出方式。
1. An operation monitor signal generating means for generating an operation monitor signal which is periodically inverted, and transfer data in which a parity bit is added to transmitted data is received as an input signal together with the operation monitor signal, and at the time of normal operation. The parity check result of the transfer data is output as a parity error signal regardless of the value of the operation monitoring signal, and the parity check result that changes according to the change of the value of the operation monitoring signal is output as a parity error signal when a failure occurs. Depending on whether the parity check means receives the output parity error signal of the parity check means and the operation monitoring signal as an input signal, and the value of the parity error signal before and after the value of the operation monitoring signal changes. A parity check characterized by having a failure detection means for detecting the occurrence of a failure. Failure detection method of circuit.
【請求項2】 前記パリティチェック手段は、前記転送
データと前記動作監視信号とが入力されて該転送データ
のパリティチェックを行うと共に、該パリティチェック
の結果と該動作監視信号との排他的論理和演算を行って
得た信号を出力する第1の演算回路と、該第1の演算回
路の出力信号と前記動作監視信号との排他的論理和演算
を行って得た信号を前記パリティエラー信号として出力
する第2の演算回路とよりなることを特徴とする請求項
1記載のパリティチェック回路の故障検出方式。
2. The parity check means receives the transfer data and the operation monitor signal to perform a parity check on the transfer data, and an exclusive OR of the result of the parity check and the operation monitor signal. A first arithmetic circuit that outputs a signal obtained by performing an arithmetic operation, and a signal obtained by performing an exclusive OR operation of the output signal of the first arithmetic circuit and the operation monitoring signal as the parity error signal. The fault detection system for a parity check circuit according to claim 1, further comprising a second arithmetic circuit for outputting.
JP6258061A 1994-10-24 1994-10-24 Failure detection method for parity check circuit Expired - Lifetime JP2606160B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6258061A JP2606160B2 (en) 1994-10-24 1994-10-24 Failure detection method for parity check circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6258061A JP2606160B2 (en) 1994-10-24 1994-10-24 Failure detection method for parity check circuit

Publications (2)

Publication Number Publication Date
JPH08123703A true JPH08123703A (en) 1996-05-17
JP2606160B2 JP2606160B2 (en) 1997-04-30

Family

ID=17314994

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6258061A Expired - Lifetime JP2606160B2 (en) 1994-10-24 1994-10-24 Failure detection method for parity check circuit

Country Status (1)

Country Link
JP (1) JP2606160B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61195431A (en) * 1985-02-25 1986-08-29 Nec Corp Parity check circuit capable of performing automatic inspection

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61195431A (en) * 1985-02-25 1986-08-29 Nec Corp Parity check circuit capable of performing automatic inspection

Also Published As

Publication number Publication date
JP2606160B2 (en) 1997-04-30

Similar Documents

Publication Publication Date Title
JPH0746322B2 (en) Faulty device identification system
JP2968251B2 (en) How to detect a bus driver when an error occurs on a clock synchronous bus
JP2606160B2 (en) Failure detection method for parity check circuit
JP2806856B2 (en) Diagnostic device for error detection and correction circuit
JPH0535616A (en) Data transfer system
JP2591455B2 (en) Communication device
JPH04267631A (en) Parity bit addition system
JP3549702B2 (en) Bus control circuit and test method thereof
JP2578186B2 (en) Diagnosis method of failure detection circuit
JPH05108385A (en) Error correction circuit diagnostic system
JPH1115698A (en) Method for reporting failure and mechanism therefor
JPH06326716A (en) Communication bus supervisory equipment
JPH02264337A (en) Data transfer control system
JPH01277951A (en) Data transfer equipment
JPH05298201A (en) System bus error processing system for information processing system
JPH02245939A (en) Parity inspection device
JPH01162032A (en) Pseudo-error generating device
JPH0434180B2 (en)
JPH01236331A (en) Error detecting system
JPH0226152A (en) Trouble inspecting method for error detecting circuit
JPH0198033A (en) Detecting circuit for data error
JPH11184723A (en) System for detecting failure
JPH07107055A (en) Fault detection circuit
JPH05235907A (en) Error counter circuit monitor
JPS61228366A (en) System for checking erroneous operation of lsi