JPH0374731A - Error detecting circuit for decoder output signal - Google Patents

Error detecting circuit for decoder output signal

Info

Publication number
JPH0374731A
JPH0374731A JP1212050A JP21205089A JPH0374731A JP H0374731 A JPH0374731 A JP H0374731A JP 1212050 A JP1212050 A JP 1212050A JP 21205089 A JP21205089 A JP 21205089A JP H0374731 A JPH0374731 A JP H0374731A
Authority
JP
Japan
Prior art keywords
signal
error information
output
bits
decoder
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
JP1212050A
Other languages
Japanese (ja)
Inventor
Naoki Kobayashi
直樹 小林
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 JP1212050A priority Critical patent/JPH0374731A/en
Publication of JPH0374731A publication Critical patent/JPH0374731A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

PURPOSE:To reduce the power consumption and to improve the reliability for the detecting circuit by providing a logic circuit which performs the Ex.OR or Ex.NOR of an input signal and outputs the error information and an error information store register. CONSTITUTION:When a signal of plural bits received from the output side 1 is identical to the output of a decoder 1-1, the signal is transferred without adding the bit that is obtained at the side 1 by applying the exclusive OR to all bits of the signal. Then the Ex.OR or Ex.NOR (inverse output of exclusive OR) is applied to the signal bit only. This result is stored as the error information, and an error is detected by reference to the error information. Thus the number of necessary gates can be decreased for reduction of the power consumption and improvement of the reliability as long as the signal outputted from the decoder 1-1 has 8 bits or more.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、デコーダ出力信号のエラー検出回路に関する
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an error detection circuit for decoder output signals.

〔従来の技術〕[Conventional technology]

従来この種のエラー検出は、例えばデコーダの出力信号
が4ビツトの場合、第2図のエラー検出回路5−2のよ
うな回路で、転送された信号ビットに論理値“1″が2
個以上存在するか又は1個も存在しない場合をエラーと
するエラー情報を、エラー情報格納レジスタ5−3に格
納するか、第3図のように出力側のパリティビット付加
回路6−3によって信号にパリティビットを付加し、入
力側のEx、OR回路7−2でパリティビットを含む全
ビットなEx、ORL、その結果をエラー情報としてエ
ラー情報格納レジスタ7−3に格納し、その内容を参照
することによってエラーを検出している。
Conventionally, this type of error detection has been carried out using a circuit such as the error detection circuit 5-2 shown in FIG. 2, when the output signal of a decoder is 4 bits.
Error information indicating that it is an error if there are more than one bit or no bit exists is stored in the error information storage register 5-3, or as a signal by the parity bit adding circuit 6-3 on the output side as shown in Fig. 3. A parity bit is added to the Ex and OR circuit 7-2 on the input side, and the Ex and OR circuit 7-2 stores all bits including the parity bit in the Ex and OR circuit.The result is stored as error information in the error information storage register 7-3, and its contents are referred to. Errors are detected by

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のエラー検出回路では、次のような問題点
を有している。
The conventional error detection circuit described above has the following problems.

第2図のエラー検出回路5−2のような回路は、2ビツ
ト以上のエラーが生じた場合の検出率は高いが、デコー
ダから出力、転送される信号のビット数が8ビツト以上
の場合、Ex、OR回路あるいはEx、NOR回路に比
べ必要となるゲートの数が飛隨的に増大するので、消費
電力の増加やゲートの故障等による回路誤動作の確率が
高くなる等の問題が生じる。
A circuit like the error detection circuit 5-2 in FIG. 2 has a high detection rate when an error of 2 bits or more occurs, but when the number of bits of the signal output and transferred from the decoder is 8 bits or more, Since the number of required gates increases dramatically compared to an Ex, OR circuit or an Ex, NOR circuit, problems arise such as increased power consumption and a higher probability of circuit malfunction due to gate failure.

また、第3図のようにデコーダの出力にパリティビット
を付加するエラー検出回路では、パリティビット付加回
路6−3と、パリティビット用の信号線3−1及び信号
pin3−2.3−3が必要となり、これらの回路、信
号線、信号pin等は消費電力の増加及び信頼性、配線
性の低下を招くという欠点がある。
In addition, in the error detection circuit that adds a parity bit to the output of the decoder as shown in FIG. These circuits, signal lines, signal pins, etc. have the drawbacks of increasing power consumption and deteriorating reliability and wiring performance.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のデコーダ出力信号のエラー検出回路は、入力信
号のEx、OR又はEx、NORを行なってエラー情報
を出力する論理回路と、そのエラー情報を格納するエラ
ー情報格納レジスタを有している。
The decoder output signal error detection circuit of the present invention includes a logic circuit that performs Ex, OR or Ex, NOR on input signals and outputs error information, and an error information storage register that stores the error information.

〔実施例〕〔Example〕

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

第1図は本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.

図中1は出力側回路を有する集積回路チップ(以下LS
Iチップと称す)で、1−1はデコーダ、1−2はデコ
ーダの出力信号を転送するl/ジスタ、2は入力側回路
を有するLSIチップ、2−1は入力信号を受けるレジ
スタ、2−2は転送されたデコーダ出力信号の全信号ビ
ットのEx。
In the figure, 1 is an integrated circuit chip (hereinafter referred to as LS) having an output side circuit.
(referred to as an I chip), 1-1 is a decoder, 1-2 is an l/registor that transfers the output signal of the decoder, 2 is an LSI chip having an input side circuit, 2-1 is a register that receives input signals, and 2- 2 is Ex of all signal bits of the transferred decoder output signal.

NORを行なってエラー情報を出力するエラー情報生成
回路、2−3はそのエラー情報を格納するエラー情報格
納レジスタ、3−1は信号線、3−2はLSIチップの
pinである。
An error information generation circuit performs NOR and outputs error information, 2-3 is an error information storage register that stores the error information, 3-1 is a signal line, and 3-2 is a pin of the LSI chip.

本実施例においては、デコーダ1−1の出力信号は、出
力信号転送レジスタ1−2から入力信号レジスタ2−1
に転送され、更にエラー情報生成回路2−2でエラー情
報が生成されてエラー情報格納レジスタ2−3に格納さ
れる。
In this embodiment, the output signal of the decoder 1-1 is transferred from the output signal transfer register 1-2 to the input signal register 2-1.
Further, error information is generated by the error information generation circuit 2-2 and stored in the error information storage register 2-3.

このとき、デコーダl−1の出力信号は表1に示した値
のいずれかであるから、エラー情報生成回路2−2の出
力は、エラーが生じていなければ“0″となり、エラー
情報格納レジスタ2−3に格納される。
At this time, since the output signal of the decoder l-1 is one of the values shown in Table 1, the output of the error information generation circuit 2-2 becomes "0" if no error occurs, and the error information storage register 2-3.

また、1ビツトのエラーが生じていればエラー情報格納
レジスタ2−3には“1″が格納される。
Furthermore, if a 1-bit error has occurred, "1" is stored in the error information storage register 2-3.

ここで、2ビツト、4ビツト・・・等偶数ビットのエラ
ーが生じた場合、エラー情報格納レジスタ2−3には“
0″が格納されエラーは検出することができないが、一
般に2ビツト以上のエラーの生じる確率は極めて低いの
で、エラー情報格納レジスタ2−3の内容を参照するこ
とにより、エラーを検出することができる。
Here, if an error occurs in an even number of bits such as 2 bits, 4 bits, etc., "
0'' is stored and errors cannot be detected, but since the probability of an error of 2 bits or more occurring is generally extremely low, errors can be detected by referring to the contents of the error information storage register 2-3. .

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、出力側から転送する複数
ビットの信号がデコーダの出力である場合、出力側でパ
リティピットを付加することなく転送し、入力側で信号
ビットのみをEx、ORあるいはEx、NORしてその
結果をエラー情報として格納し、それを参照することに
よってエラーを検出することにより、以下のような効果
がある。
As explained above, in the present invention, when a multi-bit signal to be transferred from the output side is the output of a decoder, it is transferred without adding parity pits on the output side, and only the signal bits are exported, ORed, or By performing Ex and NOR, storing the result as error information, and detecting an error by referring to it, the following effects can be obtained.

第2図のようなエラー検出回路に対しては、デコーダか
ら出力転送される信号のビット数が8ビツト以上の場合
、使用するゲーI・数の大幅削減により消費電力を低減
し、信頼性を向上することができる効果がある。また、
第3図のデコーダ出力にパリティピットを付加するエラ
ー検出回路に対しては、パリティビット付加回路6−3
とパリティビット用の信号線3−1.信号pin3−2
.3−3が不要となり、これらの回路、信号線、信号p
in等の削除によって、消費電力を低減し信頼性、配線
性を向上することができる効果表  1
For the error detection circuit shown in Figure 2, if the number of bits of the signal output and transferred from the decoder is 8 bits or more, the number of gates used can be significantly reduced to reduce power consumption and improve reliability. There are effects that can be improved. Also,
For the error detection circuit that adds parity pits to the decoder output in Fig. 3, the parity bit addition circuit 6-3
and parity bit signal line 3-1. Signal pin3-2
.. 3-3 is no longer necessary, and these circuits, signal lines, and signal p
Effect table 1 of reducing power consumption and improving reliability and wiring by deleting in etc.

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

第1図は本発明の一実施例を示すブロック図、第2図は
従来の第1の例を示すブロック図、第3図は従来の第2
の例を示すブロック図である。 1・・・・・・出力側LSIチップ、■−1・・・・・
・デコーダ、l−2・・・・・・出力信号転送レジスタ
、2・・・・・・入力側LSIチップ、2−1・・・・
・・入力信号レジスタ、2−2・・・・・・エラー情報
生成回路(Ex、NOR回路)、2−3・・・・・・エ
ラー情報格納レジスタ、3−1・・・・・・信号線、3
−2・・・・・・LSIチップの信号pin、4・・・
・・・出力側LSIチップ、4−1・・・・・・デコー
ダ、4−2・・・・・・出力信号転送レジスタ、5・・
・・・・入力側LSIチップ、5−1・・・・・・入力
信号レジスタ、5−2・・・・・・エラー情報生成回路
、5−3・・・・・・エラー情報格納レジスタ、6・・
・・・・出力側LSIチップ、6−1・・・・・・デコ
ーダ、6−2・・・・・・出力信号転送レジスタ、6−
3・・・・・・パリティピット付加回路、7・・・・・
・入力側LSIチップ、7−1・・・・・・入力信号レ
ジスタ、7−2・・・・・・エラー情報生成回路(Ex
、OR回路)、7−3・・・・・・エラー情報格納レジ
スタ。
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a block diagram showing a conventional first example, and FIG. 3 is a block diagram showing a conventional second example.
FIG. 2 is a block diagram illustrating an example. 1... Output side LSI chip, ■-1...
・Decoder, l-2... Output signal transfer register, 2... Input side LSI chip, 2-1...
...Input signal register, 2-2...Error information generation circuit (Ex, NOR circuit), 2-3...Error information storage register, 3-1...Signal line, 3
-2... LSI chip signal pin, 4...
...Output side LSI chip, 4-1...Decoder, 4-2...Output signal transfer register, 5...
...Input side LSI chip, 5-1...Input signal register, 5-2...Error information generation circuit, 5-3...Error information storage register, 6...
...Output side LSI chip, 6-1...Decoder, 6-2...Output signal transfer register, 6-
3... Parity pit addition circuit, 7...
・Input side LSI chip, 7-1...Input signal register, 7-2...Error information generation circuit (Ex
, OR circuit), 7-3...Error information storage register.

Claims (1)

【特許請求の範囲】[Claims]  出力側から入力側に転送する複数のビット数からなる
信号について入力側でエラー検出を行なう回路において
、出力側から転送する複数ビットの信号がデコーダの出
力である場合、出力側で該信号の全ビットの排他的論理
和によって得られるビット(以下パリテイビットという
)等を付加することなく転送し、入力側で信号ビットの
みをEx.ORあるいはEx.NOR(排他的論理和の
反転出力)して、その結果をエラー情報として格納し、
該エラー情報を参照することによりエラーを検出するこ
とを特徴とするデコーダ出力信号のエラー検出回路。
In a circuit that performs error detection on the input side for a signal consisting of multiple bits transferred from the output side to the input side, if the multiple bit signal transferred from the output side is the output of a decoder, all of the signals are detected on the output side. It is transferred without adding bits obtained by exclusive ORing of bits (hereinafter referred to as parity bits), and only signal bits are transferred on the input side as Ex. OR or Ex. NOR (invert output of exclusive OR) and store the result as error information,
An error detection circuit for a decoder output signal, characterized in that an error is detected by referring to the error information.
JP1212050A 1989-08-16 1989-08-16 Error detecting circuit for decoder output signal Pending JPH0374731A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1212050A JPH0374731A (en) 1989-08-16 1989-08-16 Error detecting circuit for decoder output signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1212050A JPH0374731A (en) 1989-08-16 1989-08-16 Error detecting circuit for decoder output signal

Publications (1)

Publication Number Publication Date
JPH0374731A true JPH0374731A (en) 1991-03-29

Family

ID=16616037

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1212050A Pending JPH0374731A (en) 1989-08-16 1989-08-16 Error detecting circuit for decoder output signal

Country Status (1)

Country Link
JP (1) JPH0374731A (en)

Similar Documents

Publication Publication Date Title
US6311299B1 (en) Data compression circuit and method for testing embedded memory devices
JP3076185B2 (en) Semiconductor memory device and inspection method thereof
US7426683B2 (en) Semiconductor memory device equipped with error correction circuit
EP1336972B1 (en) Method and apparatus for data inversion in a memory device
KR890012323A (en) Semiconductor Memory with Error Correction Circuit
KR920001100B1 (en) Logical arithmetic unit
JPS62214599A (en) Semiconductor memory device
US4761783A (en) Apparatus and method for reporting occurrences of errors in signals stored in a data processor
US4905242A (en) Pipelined error detection and correction apparatus with programmable address trap
US4035766A (en) Error-checking scheme
JP2744154B2 (en) Bus system
US5434871A (en) Continuous embedded parity checking for error detection in memory structures
JPH04303234A (en) Data transfer system
JPH0374731A (en) Error detecting circuit for decoder output signal
JPS6120300A (en) Semiconductor memory having defect remedying circuit
US5515506A (en) Encoding and decoding of dual-ported RAM parity using one shared parity tree and within one clock cycle
US5835511A (en) Method and mechanism for checking integrity of byte enable signals
JPH0855066A (en) Error correction and conversion system
US20040123004A1 (en) An improved fifo based controller circuit for slave devices attached to a cpu bus
JPH04165441A (en) Interrupt report for single bit memory error
JPS6321928B2 (en)
JPH0746517B2 (en) Semiconductor memory and its testing method
JP2005044386A (en) Semiconductor storage device and microcomputer
JPS58200351A (en) Error correcting circuit
JPH0362245A (en) Semiconductor integrated circuit