JPS6386620A - Detector for erroneous operation of decoder - Google Patents

Detector for erroneous operation of decoder

Info

Publication number
JPS6386620A
JPS6386620A JP61230013A JP23001386A JPS6386620A JP S6386620 A JPS6386620 A JP S6386620A JP 61230013 A JP61230013 A JP 61230013A JP 23001386 A JP23001386 A JP 23001386A JP S6386620 A JPS6386620 A JP S6386620A
Authority
JP
Japan
Prior art keywords
decoder
circuit
code information
bit code
output
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
JP61230013A
Other languages
Japanese (ja)
Inventor
Yuji Seki
関 勇二
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP61230013A priority Critical patent/JPS6386620A/en
Publication of JPS6386620A publication Critical patent/JPS6386620A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To simplify the constitution and to contrive to improve the performance of the titled detector to detect an operational error of a decoder by comparing an N-bit code information that is an input to the decoder and an N-bit code information that is an output of an encoder, and outputting an error detection signal when prescribed agreement is not obtained from the comparison. CONSTITUTION:The output of the decoder is inputted to the encoder circuit 2 of the error detection circuit 4, and the decoder circuit 2 executes the opposite action of that of the decoder circuit 1. Accordingly, as far as the chip actions of the circuits 1 and 2 are normal, the 3-bit code information output of the circuit 2 is identical to the 3-bit code information input of the circuit 1. A data comparison circuit 3 compares these 3-bit code information input and 3-bit code information output, and outputs an error signal to its output terminal 0 in case of disagreement is obtained. In such a way, the titled detector can be constituted with less circuit elements, and can be made effectively detect many kinds of operational errors.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明はNビット符号情報に1対1対応する2N個の排
他的出力を形成するデコーダの動作誤り検出装置に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an operation error detection device for a decoder that forms 2N exclusive outputs in one-to-one correspondence with N-bit code information.

[従来の技術] Nビット符号情報に1対1対応する2N個の排他的出力
状態を形成するデコーダの動作は基本的かつ重要な論理
動作であって、デコーダ論理回路はもとより、それ以外
の分野にも多く採用されている。従って、デコーダがそ
の動作を誤るとシステムに重大な影■を与える。
[Prior Art] The operation of a decoder to form 2N exclusive output states in one-to-one correspondence with N-bit code information is a fundamental and important logical operation, and is used not only in decoder logic circuits but also in other fields. It is also widely adopted. Therefore, if the decoder makes a mistake in its operation, it will have a serious impact on the system.

第2図は従来のデコーダ回路の】り作誤り検出回路を示
す図である。図において、1は典型的なデコーダ回路で
あって、3ビツトのコード情報を人力とし、その出力端
子O〜7には前記入カニートに1対1対応する23個の
排他的出力状態(何れh)1つの出力のみが論理“1゛
°の状態)を形成する。5はパリティチェッカ回路であ
ってデコーダ回路1の動作誤り検出回路6を構成してい
る。
FIG. 2 is a diagram showing a production error detection circuit of a conventional decoder circuit. In the figure, 1 is a typical decoder circuit, which manually inputs 3-bit code information, and its output terminals O to 7 have 23 exclusive output states (which are h ) Only one output forms a logic "1° state". Reference numeral 5 denotes a parity checker circuit, which constitutes an operation error detection circuit 6 of the decoder circuit 1.

即ち、デコーダ回路1が誤動作してその出力に偶数個の
論理“1”の状態が形成されたときは動作誤りを検出で
きるようになっている。
That is, when the decoder circuit 1 malfunctions and an even number of logic "1" states are formed at its output, an operational error can be detected.

しかし、上記検出回路6はデコーダ出力の奇偶検査しか
行なわないので、その他の誤動作、例えば3つの出力ラ
インにおいて論理“1”の状態が同時に形成された場合
、あるいは本来のデコード出力ラインに論理“1”が出
力されないでその代わりに他の出力ラインに論理“1”
が出力された場合には動作誤りを発見できなかった。こ
のため同一のデコーダ回路1を二重に設けて、両デコー
ダ回路出力の比較の一致/不一致を検査することにより
動作誤りを検出する方式もあるが、この方式ではデコー
ダ回路及び比較回路の素子数が増大するという欠点があ
った。
However, since the detection circuit 6 only performs an odd-even test on the decoder output, if other malfunctions occur, for example, when logic "1" states are formed on three output lines at the same time, or when a logic "1" state is formed on the original decode output line, ” is not output and instead a logic “1” is sent to the other output lines.
If this is the case, an operational error could not be found. For this reason, there is a method in which the same decoder circuit 1 is provided twice and the operation error is detected by checking whether the outputs of both decoder circuits match or do not match, but in this method, the number of elements in the decoder circuit and comparison circuit The disadvantage was that it increased.

[発明が解決しようとする問題点] 本発明は上述従来技術の欠点に鑑みて成されたものであ
って、その目的とする所は、より少ない要素で構成でき
、かつデコーダの動作誤り検出能力をさらに改良したデ
コーダの動作誤り検出装置を提供することにある。
[Problems to be Solved by the Invention] The present invention has been made in view of the above-mentioned drawbacks of the prior art, and its purpose is to achieve a configuration with fewer elements and to improve the decoder's ability to detect operational errors. An object of the present invention is to provide a decoder operation error detection device that is further improved.

[問題点を解決するための手段] 本発明のデコーダの動作誤り検出装置は上記目的を達成
するために、デコーダの各出力に1対1対応するNビッ
ト符号情報を形成するエンコーダと、デコーダ入力のN
ビット符号情報とエンコーダ出力のNビット符号情報を
比較して所定の一致が得られないときに誤り検出12号
を出力する比較手段を備える。
[Means for Solving the Problems] In order to achieve the above object, the decoder operation error detection device of the present invention includes an encoder that forms N-bit code information in one-to-one correspondence with each output of the decoder, and a decoder input. N of
Comparing means is provided which compares the bit code information and the N-bit code information output from the encoder and outputs error detection No. 12 when a predetermined match is not obtained.

[作用コ かかる構成において、デコーダはNビット符号情報の入
力に応じて対応する2N個の排他的出力の何れか1つを
形成する。エンコーダはデコーダの排他的出力に応じて
対応するNビット符号情報を形成する。モして比較手段
はデコーダ入力のNビット符号情報とエンコーダ出力の
Nビット符号情報を比較して所定の一致が得られないと
きに誤り検出で8号を出力する。
[Operation] In such a configuration, the decoder forms any one of 2N corresponding exclusive outputs in response to an input of N-bit code information. The encoder forms corresponding N-bit code information in response to the exclusive output of the decoder. The comparing means compares the N-bit code information input to the decoder and the N-bit code information output from the encoder, and when a predetermined match is not obtained, outputs No. 8 for error detection.

[実施例の説明] 以下、添付図面に従って本発明の実施例を詳細に説明す
る。
[Description of Embodiments] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

第1図は実本例のデコーダの動作誤り検出回路を示す図
である。図において、1は例えば3ビツトコード1青報
を入力して対応する23個のデコード出力のうちの何れ
か1つを論理“1゛の状態にするデコーダ回路、2は前
記23個のデコード出力のうちの何れか1つの論理“1
”の13号に対応する3ビツトコード情報出力を形成す
るエンコーダ回路、3はデコーダ回路1の3ビツトコー
ド情報人力とエンコーダ回路203ビツトコード清報出
力の一致/不一致を比較するデータ比較回路である。こ
こで、本実施例に係るデコーダの動作誤り検出回路はエ
ンコーダ回路2とデータ比較回路3より成る。
FIG. 1 is a diagram showing an operation error detection circuit of a decoder according to an actual example. In the figure, 1 is a decoder circuit which inputs, for example, a 3-bit code 1 report and sets any one of the corresponding 23 decode outputs to the logic "1" state, and 2 is a decoder circuit that outputs one of the 23 decode outputs. Any one of the logic “1”
3 is a data comparison circuit that compares the match/mismatch between the 3-bit code information output of the decoder circuit 1 and the encoder circuit 203 bit code information output. The decoder operation error detection circuit according to this embodiment is composed of an encoder circuit 2 and a data comparison circuit 3.

かかる構成において、3ビツトコード情報はデコーダ回
路1及びデータ比較回路3に人力されている。そしてデ
コーダ回路1に人力した3ビツトコード情報はデコート
されて出力端子0〜7の何れか1つに論理“1”レヘル
の信号を出力する。
In this configuration, 3-bit code information is manually input to the decoder circuit 1 and the data comparison circuit 3. The 3-bit code information inputted to the decoder circuit 1 is decoded and outputted as a logic "1" level signal to any one of the output terminals 0-7.

このデコート出力は図のように・必要なものが外部に引
き出され、図示せぬ他の論理回路において使用される。
As shown in the figure, the necessary decoding outputs are extracted to the outside and used in other logic circuits (not shown).

一方、該デコード出力は誤り検出回路4のエンコーダ回
路2に入力される。エンコーダ回路2はデコーダ回路1
の丁度逆の動作を行うようになっている。従って、デコ
ーダ回路1及びエンコーダ回路2のチップ動作が正常で
ある限りにおいては、エンコーダ回路2の3ビツトコー
ド情報出力はデコーダ回路1の3ビツトコード情報入力
と同一のはずである。従って、データ比較回路3はこの
3ビツトコード情報入力と3ビツトコード情報出力を比
較して、もし不一致を検出したときはその出力端子0に
エラー信号を出力する。
On the other hand, the decoded output is input to the encoder circuit 2 of the error detection circuit 4. Encoder circuit 2 is decoder circuit 1
It is designed to perform exactly the opposite operation. Therefore, as long as the chip operations of decoder circuit 1 and encoder circuit 2 are normal, the 3-bit code information output of encoder circuit 2 should be the same as the 3-bit code information input of decoder circuit 1. Therefore, the data comparison circuit 3 compares the 3-bit code information input and the 3-bit code information output, and outputs an error signal to its output terminal 0 if a mismatch is detected.

こうして、本実施例の誤り検出回路4は2つのデコート
出力ラインにおいて論理“1”の状態が同時に形成され
たときはもとより、3つ以上の場合も、あるいは本来の
デコード出力ラインに論理“1”が出力されないでその
代わりに他の出力ラインに論理”1”が出力された場合
でも確実にデコーダの動作誤りを発見できる。
In this way, the error detection circuit 4 of the present embodiment not only detects when a logic "1" state is formed on two decode output lines simultaneously, but also when there are three or more, or when a logic "1" state is formed on the original decode output line. Even if a logic "1" is not outputted and instead a logic "1" is outputted to another output line, an operational error in the decoder can be reliably discovered.

尚、上述の実施例においては3ビツトコード情報のデコ
ードについて説明したが、本発明は3ビツトに限らず、
他の任意のNビットについても同様に適用できる。
Incidentally, in the above embodiment, decoding of 3-bit code information was explained, but the present invention is not limited to 3-bit code information.
The same applies to other arbitrary N bits.

また、本発明は実施例のような電気的デコーダ回路に限
らず、それ以外の、例えば機械的デコーダの動作誤り検
出装置にも容易に通用できる。
Furthermore, the present invention is not limited to electrical decoder circuits as in the embodiments, but can be easily applied to other types of operation error detection devices, such as mechanical decoders.

[発明の効果] 以上説明したように本発明によれば、より少ない要素で
デコーダの動作誤り検出装置を構成でき、かつより多く
の種類の動作誤りを有効に検出できる効果がある。
[Effects of the Invention] As described above, according to the present invention, a decoder operation error detection device can be configured with fewer elements, and more types of operation errors can be effectively detected.

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

第1図は実施例のデコーダの動作誤り検出回路を示す図
、 第2図は従来のデコーダ回路の動作誤り検出回路を示す
図である。 図中、1・・・デコーダ回路、2・・・エンコーダ回路
、3・・・データ比較回路、4・・・誤り検出回路であ
る。 特許出願人   キャノン株式会社 代理人 弁理士   犬 塚 康 さ:IT”、、7.
具・ 1′、“; 第2図
FIG. 1 is a diagram showing an operation error detection circuit of a decoder according to an embodiment, and FIG. 2 is a diagram showing an operation error detection circuit of a conventional decoder circuit. In the figure, 1: decoder circuit, 2: encoder circuit, 3: data comparison circuit, 4: error detection circuit. Patent Applicant: Canon Co., Ltd. Representative Patent Attorney: Yasushi Inuzuka Sa: IT”, 7.
Fig. 2

Claims (1)

【特許請求の範囲】[Claims] Nビツト符号情報に1対1対応する2^N個の排他的出
力を形成するデコーダの動作誤り検出装置において、前
記デコーダの各出力に1対1対応するNビツト符号情報
を形成するエンコーダと、前記デコーダ入力のNビツト
符号情報と前記エンコーダ出力のNビツト符号情報を比
較して所定の一致が得られないときに誤り検出信号を出
力する比較手段を備えることを特徴とするデコーダの動
作誤り検出装置。
An operation error detection device for a decoder that forms 2^N exclusive outputs in one-to-one correspondence to N-bit code information, comprising: an encoder that forms N-bit code information in one-to-one correspondence to each output of the decoder; Detection of operational errors in a decoder, characterized in that it comprises a comparison means for comparing the N-bit code information input to the decoder and the N-bit code information output from the encoder and outputting an error detection signal when a predetermined match is not obtained. Device.
JP61230013A 1986-09-30 1986-09-30 Detector for erroneous operation of decoder Pending JPS6386620A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61230013A JPS6386620A (en) 1986-09-30 1986-09-30 Detector for erroneous operation of decoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61230013A JPS6386620A (en) 1986-09-30 1986-09-30 Detector for erroneous operation of decoder

Publications (1)

Publication Number Publication Date
JPS6386620A true JPS6386620A (en) 1988-04-18

Family

ID=16901216

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61230013A Pending JPS6386620A (en) 1986-09-30 1986-09-30 Detector for erroneous operation of decoder

Country Status (1)

Country Link
JP (1) JPS6386620A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0378346U (en) * 1989-11-28 1991-08-08
JPH0379550U (en) * 1989-12-04 1991-08-14
JPH03189736A (en) * 1989-12-19 1991-08-19 Nec Corp Fault detecting system for selection circuit
DE4127920A1 (en) * 1990-08-23 1992-04-09 Fuji Xerox Co Ltd IMAGE CODING DEVICE
DE4192982C2 (en) * 1990-11-21 1994-05-26 Motorola Inc Fault detection system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0378346U (en) * 1989-11-28 1991-08-08
JPH0379550U (en) * 1989-12-04 1991-08-14
JPH03189736A (en) * 1989-12-19 1991-08-19 Nec Corp Fault detecting system for selection circuit
DE4127920A1 (en) * 1990-08-23 1992-04-09 Fuji Xerox Co Ltd IMAGE CODING DEVICE
DE4192982C2 (en) * 1990-11-21 1994-05-26 Motorola Inc Fault detection system

Similar Documents

Publication Publication Date Title
US6799287B1 (en) Method and apparatus for verifying error correcting codes
EP0188192B1 (en) Extended error correction for package error correction codes
US5631915A (en) Method of correcting single errors
JPH0260013B2 (en)
EP0265639A3 (en) ECC circuit failure verifier
JPH0529935B2 (en)
JPS6386620A (en) Detector for erroneous operation of decoder
US10860415B2 (en) Memory architecture including response manager for error correction circuit
US3504340A (en) Triple error correction circuit
RU2297034C2 (en) Fault-tolerant information storage device
RU2297030C2 (en) Self-correcting information storage device
RU2297036C2 (en) Fault-tolerant device
RU2297028C2 (en) Self-controlled device
RU42685U1 (en) FAILURE-RESISTANT DEVICE
RU2297032C2 (en) Self-correcting memorizing device
RU2297035C2 (en) Fault-tolerant memorizing device
RU42686U1 (en) SELF-CORRECTING DEVICE
JP2002251898A (en) Single event upset compensating circuit
RU44201U1 (en) FAULT-RESISTANT MEMORY DEVICE
RU2297029C2 (en) Self-correcting device
JPS61224044A (en) Error check circuit
RU42684U1 (en) SELF-CORRECTING MEMORY DEVICE
RU42682U1 (en) FAILURE-RESISTANT INFORMATION STORAGE DEVICE
JPS61232726A (en) Error correcting device
JP2555336B2 (en) Device and method for detecting and correcting error in IC chip with automatic self-diagnosis of chip operation