JPH05100878A - Selection circuit error detection system - Google Patents

Selection circuit error detection system

Info

Publication number
JPH05100878A
JPH05100878A JP3257806A JP25780691A JPH05100878A JP H05100878 A JPH05100878 A JP H05100878A JP 3257806 A JP3257806 A JP 3257806A JP 25780691 A JP25780691 A JP 25780691A JP H05100878 A JPH05100878 A JP H05100878A
Authority
JP
Japan
Prior art keywords
circuit
parity
selection
error
selection circuit
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.)
Withdrawn
Application number
JP3257806A
Other languages
Japanese (ja)
Inventor
Hiroshi Kikuchi
宏 菊地
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 JP3257806A priority Critical patent/JPH05100878A/en
Publication of JPH05100878A publication Critical patent/JPH05100878A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)

Abstract

PURPOSE:To detect the malfunction of a selection circuit with a little increase of hardware amount. CONSTITUTION:Plural data holding circuits 1 and 2 holding data including a parity, the selection circuit 6, a parity check circuit 7, the decoding circuit 3 of selection signals 10 and 12, the parity inversion control circuits 4 and 5 of the respective holding circuits 1 and 2 and an error discrimination circuit 8 inputting a control signal 11 and detecting a selection error after a parity error is detected are given. Furthermore, a decoding circuit 3 has an enable terminal. An error discrimination circuit discriminating the data parity error with the selection error is given.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、選択回路の誤動作を検
出する選択回路エラー検出方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a selection circuit error detection system for detecting malfunction of a selection circuit.

【0002】[0002]

【従来の技術】従来、選択回路の誤動作を検出する方式
として、選択回路を二重化しそれぞれの選択回路の出力
値を比較して一致しているかどうかを調べる方式があ
る。
2. Description of the Related Art Conventionally, as a method of detecting a malfunction of a selection circuit, there is a method of duplicating the selection circuit and comparing output values of the respective selection circuits to check whether they match.

【0003】また、公知例として特開昭60−1448
35号(選択回路エラー検出方式)のデコーダ回路の入
力信号パス値に対するパリティの偶数/奇数からエラー
を検出する方式、特開平01−309137号(選択回
路誤動作検出方式)のデータ保持回路に固有の識別値を
保持させ選択回路の出力の識別値により誤動作を判別す
る方式等がある。
Further, as a known example, Japanese Patent Laid-Open No. 60-1448.
No. 35 (selection circuit error detection method), a method of detecting an error from the even / odd parity of the input signal path value of the decoder circuit, which is unique to the data holding circuit of Japanese Patent Laid-Open No. 01-309137 (selection circuit malfunction detection method). There is a method of holding a discrimination value and discriminating a malfunction by the discrimination value of the output of the selection circuit.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、選択回
路の誤動作を検出する方式では、二重化によりハードウ
エア量が2倍必要とする。
However, the method of detecting the malfunction of the selection circuit requires twice the hardware amount due to the duplication.

【0005】それ故に本発明の課題は、ハードウエア物
量を増大させることなく選択回路の誤動作を検出する方
法を提供することにある。
Therefore, it is an object of the present invention to provide a method for detecting a malfunction of a selection circuit without increasing the amount of hardware.

【0006】[0006]

【課題を解決するための手段】本発明によれば、パリテ
ィを含むデータを保持するデータ保持回路群のうち、い
づれか1つのデータ保持回路の出力が選択回路で選択さ
れ、該選択回路の出力でパリティチェックを行う選択回
路エラー検出方式において、選択信号をデコードするデ
コード手段と、上記各データ保持回路の上記パリティを
反転する反転手段とを有し、選択されない上記データ保
持回路のパリティを反転して上記選択回路へ入力し、上
記選択回路が誤動作により不正な上記データ保持回路の
データを出力した場合、上記パリティチェックで選択エ
ラーを検出することを特徴とする選択回路エラー検出方
式が得られる。
According to the present invention, the output of any one of the data holding circuit groups for holding data including parity is selected by the selection circuit, and the output of the selection circuit is selected. In a selection circuit error detection method for performing a parity check, a decoding means for decoding a selection signal and an inverting means for inverting the parity of each of the data holding circuits are provided, and the parity of the data holding circuit that is not selected is inverted. A selection circuit error detection system characterized by detecting a selection error by the parity check when inputting to the selection circuit and outputting incorrect data of the data holding circuit due to a malfunction of the selection circuit is obtained.

【0007】また、本発明によれば、上記デコード手段
において制御信号を入力するイネーブル端子を有するこ
とを特徴とする選択回路エラー検出方式が得られる。
Further, according to the present invention, there is provided a selection circuit error detection system characterized in that the decoding means has an enable terminal for inputting a control signal.

【0008】また、本発明によれば、上記パリティチェ
ック結果及び制御信号を入力し、データパリティエラー
と選択エラーを判別するエラー判別手段を有することを
特徴とする選択回路エラー検出方式が得られる。
Further, according to the present invention, there is provided a selection circuit error detection system characterized by comprising an error discrimination means for discriminating a data parity error and a selection error by inputting the parity check result and the control signal.

【0009】[0009]

【作用】デコード回路は選択信号を入力し、デコード結
果をパリティ反転制御回路に出力する。パリティ反転制
御回路は、選択されていないデータ保持回路のパリティ
を反転させる。選択回路が誤動作し、選択されていない
データ保持回路の値を出力した場合、パリティチェック
回路でエラーとなる。データ保持回路のパリティエラー
と選択回路の選択エラーを区別するため、デコード回路
は制御信号を入力し、選択エラー判別時にのみパリティ
反転制御回路でパリティを反転させる。また、エラー判
別回路は制御信号を入力し、パリティエラー検出後に選
択エラーを検出する。
The decoding circuit inputs the selection signal and outputs the decoding result to the parity inversion control circuit. The parity inversion control circuit inverts the parity of the non-selected data holding circuit. If the selection circuit malfunctions and outputs the value of the data holding circuit that is not selected, an error occurs in the parity check circuit. In order to distinguish between the parity error of the data holding circuit and the selection error of the selection circuit, the decoding circuit inputs the control signal, and the parity inversion control circuit inverts the parity only when the selection error is determined. Further, the error discrimination circuit inputs a control signal and detects a selection error after detecting a parity error.

【0010】[0010]

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.

【0011】図1は、本発明の選択回路エラー検出方式
の一実施例を示すブロック図である。図1を参照して、
選択回路エラー検出方式はパリティを含むデータを保持
する第1及び第2のデータ保持回路1,2と、選択回路
6と、パリティチェック回路7と、第1及び第2の選択
信号10,12のデコード回路3と、第1及び第2のパ
リティ反転制御回路4,5とを有している。第1及び第
2の選択信号10,12はまったく同じ信号であるが、
これらを出力する回路は異なっていた方が良い。なぜな
ら、もし同じ一つの回路からこれらの信号が出力される
ものとすると、この回路の故障により第1及び第2の選
択信号10,12は共に誤動作してしまい、その結果、
選択回路6の誤動作を検出できなくなるからである。
FIG. 1 is a block diagram showing an embodiment of the selection circuit error detection system of the present invention. Referring to FIG.
The selection circuit error detection method includes a first and second data holding circuits 1 and 2 for holding data including parity, a selection circuit 6, a parity check circuit 7, and first and second selection signals 10 and 12. It has a decoding circuit 3 and first and second parity inversion control circuits 4 and 5. The first and second selection signals 10 and 12 are exactly the same signals,
The circuits that output these should be different. This is because if these signals are output from the same circuit, a failure of this circuit will cause both the first and second selection signals 10 and 12 to malfunction, and as a result,
This is because the malfunction of the selection circuit 6 cannot be detected.

【0012】第1及び第2の選択信号10,12が
「0」の時、選択回路6は、パリティを含むデータを保
持する第1のデータ保持回路1を選択し、この第1のデ
ータ保持回路1のデータ及びパリティを出力する。デコ
ード回路3は、デコード出力17を「0」にし、選択さ
れたデータ保持回路1のパリティを排他的論理和による
第1のパリティ反転制御回路4で反転させずにそのまま
選択回路6に入力する。また、デコード回路3は、デコ
ード出力18を「1」にし、選択されない第2のデータ
保持回路2のパリティを第2のパリティ反転制御回路5
で反転させて選択回路6に入力させる。
When the first and second selection signals 10 and 12 are "0", the selection circuit 6 selects the first data holding circuit 1 which holds the data including the parity, and holds the first data holding. The data and parity of the circuit 1 are output. The decode circuit 3 sets the decode output 17 to “0”, and inputs the parity of the selected data holding circuit 1 to the selection circuit 6 as it is without inverting it by the first parity inversion control circuit 4 by exclusive OR. Further, the decode circuit 3 sets the decode output 18 to “1” and sets the parity of the unselected second data holding circuit 2 to the second parity inversion control circuit 5.
Is inverted and input to the selection circuit 6.

【0013】第1及び第2の選択信号10,12が
「1」の時、選択回路6は、パリティを含むデータを保
持する第2のデータ保持回路2を選択し、第2のデータ
保持回路2のデータ及びパリティを出力する。デコード
回路3は、デコード出力18を「0」にし、選択された
第2のデータ保持回路2のパリティを排他的論理和によ
る第2のパリティ反転制御回路5で反転させずにそのま
ま選択回路6に入力する。また、デコード回路3は、デ
コード出力17を「1」にし、選択されない第1のデー
タ保持回路1のパリティを第1のパリティ反転制御回路
4で反転させて選択回路6に入力させる。
When the first and second selection signals 10 and 12 are "1", the selection circuit 6 selects the second data holding circuit 2 which holds the data including the parity, and the second data holding circuit. 2 data and parity are output. The decode circuit 3 sets the decode output 18 to “0”, and the parity of the selected second data holding circuit 2 is directly inverted to the selection circuit 6 without being inverted by the second parity inversion control circuit 5 by exclusive OR. input. Further, the decode circuit 3 sets the decode output 17 to “1”, the parity of the unselected first data holding circuit 1 is inverted by the first parity inversion control circuit 4, and is input to the selection circuit 6.

【0014】いま、選択回路6が誤動作した場合、選択
回路6のパリティ出力は選択されない第2のデータ保持
回路2の反転された不正のパリティとなるため、パリテ
ィチェック回路7でエラーを検出することができる。
When the selection circuit 6 malfunctions, the parity output of the selection circuit 6 becomes the inverted incorrect parity of the second data holding circuit 2 which is not selected. Therefore, the parity check circuit 7 must detect the error. You can

【0015】ところが、このままではパリティチェック
回路7で検出したエラーが、選択された第1データ保持
回路1もしくは第2のデータ回路2の故障による本来の
パリティエラーなのか、または選択回路6の故障による
選択エラーかを区別できないという問題が残る。そこ
で、デコード回路3にイネーブル端子を設け、パリティ
エラー検出と選択エラー検出を分けておこなうようにす
る。
However, in this state, the error detected by the parity check circuit 7 is the original parity error due to the failure of the selected first data holding circuit 1 or the second data circuit 2, or the failure of the selection circuit 6. The problem remains that it is not possible to distinguish between selection errors. Therefore, the decode circuit 3 is provided with an enable terminal so that the parity error detection and the selection error detection are performed separately.

【0016】パリティエラー検出時には、制御信号11
を「0」にし、デコード回路3の第1及び第2のパリテ
ィ制御信号17,18を全て「0」にする。第1及び第
2のパリティ反転制御回路4,5はパリティを反転せず
に選択回路6に出力する。選択回路6のパリティ出力は
反転していないため、パリティエラー検出回路8でのパ
リティエラー検出結果は、各データ保持回路1,2で保
持するデータのパリティエラーとなる。
When a parity error is detected, the control signal 11
Is set to "0", and the first and second parity control signals 17 and 18 of the decoding circuit 3 are all set to "0". The first and second parity inversion control circuits 4 and 5 output the parity to the selection circuit 6 without inverting it. Since the parity output of the selection circuit 6 is not inverted, the parity error detection result of the parity error detection circuit 8 becomes a parity error of the data held in each data holding circuit 1 or 2.

【0017】選択エラー検出時には、制御信号11を
「1」にし、デコード回路3の第1及び第2のパリティ
反転制御信号17,18を選択信号10に従ってそれぞ
れ出力させる。第1及び第2のパリティ反転制御回路
4,5は選択された第1及び第2のデータ保持回路1,
2のパリティを反転せず、選択されない第1及び第2の
データ保持回数1,2のパリティを反転して、選択回路
6に出力する。選択回路6が誤動作し、選択されていな
い第1及び第2のデータ保持回路1,2のデータ及びパ
リティを出力した場合、パリティは反転している。パリ
ティチェック回路7でのパリティエラー検出結果は、選
択回路6の選択エラーとなる。
When a selection error is detected, the control signal 11 is set to "1", and the first and second parity inversion control signals 17 and 18 of the decoding circuit 3 are output according to the selection signal 10, respectively. The first and second parity inversion control circuits 4 and 5 are the selected first and second data holding circuits 1 and 2.
The parity of the first and second data holding times 1 and 2 which is not selected is inverted without inverting the parity of 2, and is output to the selection circuit 6. When the selection circuit 6 malfunctions and outputs the data and parity of the unselected first and second data holding circuits 1 and 2, the parity is inverted. The parity error detection result of the parity check circuit 7 becomes a selection error of the selection circuit 6.

【0018】第1及び第2のデータ保持回路1,2が故
障している場合、パリティエラー検出時にパリティチェ
ック回路7はエラーを出力し、更に選択エラー検出時に
もエラーを出力してしまう。そこで、パリティエラー検
出後に選択エラーを検出することにする。パリティエラ
ー検出時エラーしていなければ選択エラーの検出を行
い、パリティエラー検出時エラーとしていれば選択エラ
ーの検出を行わない。
When the first and second data holding circuits 1 and 2 are out of order, the parity check circuit 7 outputs an error when a parity error is detected and also outputs an error when a selection error is detected. Therefore, the selection error is detected after the parity error is detected. If no error occurs when a parity error is detected, a selection error is detected. If an error occurs when a parity error is detected, no selection error is detected.

【0019】上述のエラー判別を行うためエラー判別回
路8を設ける。エラー判別回路8は、パリティチェック
回路7のチェック結果に加え制御信号11を入力して、
パリティエラー及び選択エラーを判別し出力する。
An error discrimination circuit 8 is provided to make the above-mentioned error discrimination. The error discrimination circuit 8 inputs the control signal 11 in addition to the check result of the parity check circuit 7,
Parity error and selection error are discriminated and output.

【0020】[0020]

【発明の効果】以上説明したように本発明の選択回路エ
ラー検出方式によると、選択回路によって不正に選ばれ
たデータが選択回路から出力された場合、これを検出で
きるのでデータ化け等の事故を未然に防ぐことができ、
さらに、一般的によく用いられるパリティチェック回路
を利用するためハードウエア量の増加を少なくできる効
果がある。
As described above, according to the selection circuit error detection method of the present invention, when data incorrectly selected by the selection circuit is output from the selection circuit, this can be detected, so that an accident such as garbled data can be prevented. Can be prevented in advance,
Furthermore, since a parity check circuit that is commonly used is used, there is an effect that the increase in the amount of hardware can be suppressed.

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

【図1】本発明の選択回路エラー検出方式の一実施例を
示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a selection circuit error detection system of the present invention.

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

1,2 データ保持回路 3 デコード回路 4,5 パリティ反転制御回路 6 選択回路 7 パリティチェック回路 8 エラー判別回路 10,12 選択信号 11 制御信号 13 選択データ出力 14 選択パリティ出力 15 パリティエラー 16 選択エラー 17,18 パリティ反転制御信号 1, 2 Data holding circuit 3 Decoding circuit 4, 5 Parity inversion control circuit 6 Selection circuit 7 Parity check circuit 8 Error determination circuit 10, 12 Selection signal 11 Control signal 13 Selection data output 14 Selection parity output 15 Parity error 16 Selection error 17 , 18 Parity inversion control signal

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 パリティを含むデータを保持するデータ
保持回路群のうち、いづれか1つのデータ保持回路の出
力が選択回路で選択され、該選択回路の出力でパリティ
チェックを行う選択回路エラー検出方式において、選択
信号をデコードするデコード手段と、上記各データ保持
回路の上記パリティを反転する反転手段とを有し、選択
されない上記データ保持回路の上記パリティを反転して
上記選択回路へ入力し、上記選択回路が誤動作により不
正な上記データ保持回路のデータを出力した場合、パリ
ティチェックで選択エラーを検出することを特徴とする
選択回路エラー検出方式。
1. A selection circuit error detection method in which an output of any one of the data holding circuits which holds data including parity is selected by a selection circuit, and a parity check is performed by the output of the selection circuit. , A decoding means for decoding the selection signal and an inverting means for inverting the parity of each of the data holding circuits, and inverting the parity of the data holding circuit that is not selected and inputting it to the selection circuit. A selection circuit error detection method characterized by detecting a selection error by a parity check when the circuit outputs incorrect data from the data holding circuit due to a malfunction.
【請求項2】 上記デコード手段において制御信号を入
力するイネーブル端子を有することを特徴とする請求範
囲第1項記載の選択回路エラー検出方式。
2. The selection circuit error detection system according to claim 1, wherein the decoding means has an enable terminal for inputting a control signal.
【請求項3】 上記パリティチェック結果及び制御信号
を入力し、データパリティエラーと選択エラーを判別す
るエラー判別手段を有することを特徴とする請求範囲1
又は2項記載の選択回路エラー検出方式。
3. An error discriminating means for discriminating a data parity error and a selection error by inputting the parity check result and the control signal.
Alternatively, the selection circuit error detection method described in item 2.
JP3257806A 1991-10-04 1991-10-04 Selection circuit error detection system Withdrawn JPH05100878A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3257806A JPH05100878A (en) 1991-10-04 1991-10-04 Selection circuit error detection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3257806A JPH05100878A (en) 1991-10-04 1991-10-04 Selection circuit error detection system

Publications (1)

Publication Number Publication Date
JPH05100878A true JPH05100878A (en) 1993-04-23

Family

ID=17311374

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3257806A Withdrawn JPH05100878A (en) 1991-10-04 1991-10-04 Selection circuit error detection system

Country Status (1)

Country Link
JP (1) JPH05100878A (en)

Similar Documents

Publication Publication Date Title
JPH05100878A (en) Selection circuit error detection system
US6027243A (en) Parity check circuit
JP2906850B2 (en) Time-division switch monitoring circuit
JP2806856B2 (en) Diagnostic device for error detection and correction circuit
JPH05108385A (en) Error correction circuit diagnostic system
JPH05165734A (en) Fixed fault diagnostic device for main storage device
JP2752929B2 (en) Program runaway detection device and runaway detection method
JPS61224044A (en) Error check circuit
JP2900550B2 (en) Bit error detection and correction circuit
JP2606160B2 (en) Failure detection method for parity check circuit
JPH01277951A (en) Data transfer equipment
JPH08153013A (en) Error detection circuit
JPH03189736A (en) Fault detecting system for selection circuit
JPS62144250A (en) Information processor containing error correcting circuit
JPH04180134A (en) Pseudo error generating system
JPH03113644A (en) Detection circuit for majority decision error
JPH05300117A (en) Frame conversion error detecting circuit
JPH0336634A (en) Fault detecting system for circuit including register file
JPH01171031A (en) Trouble detecting circuit
JPH04242835A (en) Failure detecting system
JPH02278343A (en) Diagnostic system
JPS59178545A (en) Error detecting system
JPH01273450A (en) Test system for data error detecting circuit
JPH06132938A (en) Frame conversion error correcting circuit
JPS61148539A (en) Information processor

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990107