[go: up one dir, main page]

JPS61136135A - Detecting circuit for external bus error - Google Patents

Detecting circuit for external bus error

Info

Publication number
JPS61136135A
JPS61136135A JP59258705A JP25870584A JPS61136135A JP S61136135 A JPS61136135 A JP S61136135A JP 59258705 A JP59258705 A JP 59258705A JP 25870584 A JP25870584 A JP 25870584A JP S61136135 A JPS61136135 A JP S61136135A
Authority
JP
Japan
Prior art keywords
external bus
signal
logical value
output
buffer
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
JP59258705A
Other languages
Japanese (ja)
Inventor
Jun Koike
純 小池
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 JP59258705A priority Critical patent/JPS61136135A/en
Publication of JPS61136135A publication Critical patent/JPS61136135A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To detect an external bus error easily in real time by an extremely simple circuit by adding a circuit which compares the data delivered to an external bus with the data supplied from said bus in a data output mode. CONSTITUTION:An external bus error detecting part 1-0 consists of an output buffer 2, input buffer 3 and a comparator 4. The comparator 4 receives supply of a signal d0 and an output signal of the same logical value as a signal D0 sent from the buffer 3. The logic values of these signals are compared with each other, and a comparison result signal P0 of the logical value ''1'' is delivered when no coincidence is obtained from said comparison. The signal D0 has the same logical value as the signal d0 when an external bus is normal. When the logical value of the signal D0 is different from that of the signal d0, it is known that an external bus error occurs. Then the signal P0 of the logical value ''1'' shows that the external bus error is detected.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、マイクロコ/ピエータシステムにおける外部
バスのエラー全検出する外部バスエラー検出回路に関す
る。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to an external bus error detection circuit that detects all errors on an external bus in a microcomputer/pieta system.

(従来の技術) 外部バスへ接続される装置の出力信号が外部バスkC接
続されることにより外部バスの影響金うけて変化する場
合がめる。従来、かかる外部バスのエラー全検出する為
に、各種符号付加方式やパリティチェック方式がある。
(Prior Art) The output signal of a device connected to an external bus may change due to the influence of the external bus by being connected to the external bus kC. Conventionally, various code addition methods and parity check methods have been used to detect all errors on the external bus.

符号付加方式のうち、例えばハミングコードによる誤り
検出方式では、ある冗長度金持った検査符号を付加する
必要があり、かつバスのビット数が多(なると、そnだ
け付加する検査符号ビット数も多くなる。つまり、デー
タ転送用としてのバスだけではなく、検査符号を送受す
る為の信号線をバスと並行して置く必要がある。、、ま
た、バスへのデータ送信側では、ハミングコード生成回
路を有し、受信側でにハミングコード解析用の回路を必
要とする。
Among code addition methods, for example, in the error detection method using a Hamming code, it is necessary to add a check code with a certain degree of redundancy, and the number of bits of the bus is large (if the number of check code bits to be added is n) In other words, it is necessary to install not only a bus for data transfer, but also a signal line for transmitting and receiving check codes in parallel with the bus.In addition, on the data transmission side to the bus, Hamming code generation A Hamming code analysis circuit is required on the receiving side.

他の符号付加方式として、?イクリンクコード万式もあ
るが、ハミングコード方式と同様にサイクリックコード
生成及び解析用回路を必要とし、かつ複数のデータワー
ド毎に1ワードのサイクリックコード全付加する必要が
ある。
As another sign addition method? There is also a complete cyclic code system, but like the Hamming code system, it requires circuits for cyclic code generation and analysis, and it is necessary to add a full word of cyclic code to each of a plurality of data words.

以上の様に符号付加方式でにバスにつながったデータ送
受信双方に、専用の複雑な付加回路を必要とする。
As described above, dedicated complicated additional circuits are required for both transmitting and receiving data connected to the bus using the code addition method.

パリティチェック方式は、前述の方式よりも簡便でi6
るが、まず水平パリティチェック方式では、データワー
ドの全ビットのパリティをとる為のパリティビット生成
口@全データ送受信双方に必要とし、更に該データワー
ドにパリティビット金付加し、バスと並行して、パリテ
ィピットt−送受するパリティビットライ/l−要する
。垂直パリナイチェック方式では、複数のデータワード
毎にパリティをとるパリティ生成回路t−要し、複数の
データワード毎にパリティのワードを付加する必要があ
る。
The parity check method is simpler than the above method and
However, in the horizontal parity check method, a parity bit generation port is required for both transmitting and receiving all data to obtain the parity of all bits of a data word, and a parity bit is added to the data word, and a parity bit is generated in parallel with the bus. , parity pit t--requires parity bit ry/l-to send and receive. The vertical parity check method requires a parity generation circuit t which takes parity for each of a plurality of data words, and it is necessary to add a parity word to each of a plurality of data words.

(発明が解決しようとする問題点) 以上、従来この種のバスエラー検出方式では、複雑な付
加回路を必要とし、方式によってはバスと並行して走る
データエラー検出用の専用信号綴金も必要とするといり
問題点があった。
(Problems to be Solved by the Invention) As described above, conventional bus error detection methods of this type require complicated additional circuits, and depending on the method, a dedicated signal wire for detecting data errors running in parallel with the bus is also required. However, there was a problem.

本発明の目的は、複雑な回W&を使用することなく、外
部バスへデータ出力する際、同時に外部バス全監視する
だけの簡単な回路により外部バスのエラー金検出できる
外部バスエラー検出回路上提供することにある。
An object of the present invention is to provide an external bus error detection circuit that can detect errors on an external bus with a simple circuit that simultaneously monitors all external buses when outputting data to an external bus without using complicated circuits. It's about doing.

(問題点全解決するための手段) 本発明の装置に、外部バスに接続され供給される入力デ
ータを前記外部バスに供給する出力バッファと、前記外
部バスVC接続され前記出力バッファから前記外部バス
に供給されるデータを入力データとする入力パッフアと
、前記出力バッ7アへの入力データと前記入力バッファ
からの出力データとを比較し不一致のときには不一致信
号金発生する比較手段とを含んで構成される。
(Means for Solving All Problems) The device of the present invention includes an output buffer connected to an external bus for supplying input data to the external bus, and an output buffer connected to the external bus VC from the output buffer to the external bus. and a comparison means that compares the input data to the output buffer with the output data from the input buffer and generates a mismatch signal when they do not match. be done.

(実施例) 次に図面を参照して本発明の一実施例を説明する。(Example) Next, an embodiment of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例を示すブロック図である。第
1図の外部バスエラー検出回路に8個の外部バスエラー
検出部1−0〜1−7と、オアゲート5と、ア/トゲ−
トロとから構成さルる。
FIG. 1 is a block diagram showing one embodiment of the present invention. The external bus error detection circuit shown in FIG. 1 includes eight external bus error detection units 1-0 to 1-7, an OR gate 5, and an
It is composed of Toro.

本実施例は外部バスに接続される装置の出力と外部バス
との間に挿入されるものであり、第1図においては外部
パスVc@続される装置1および外部バスは省略しであ
るが、第1図に図示のdo−dγは外部バスに接続され
る装置から出力さルたデータの各ディジットヲ示す(例
として8ビツトの場合を示す)ものであり、図示のり、
−D7は前記d。
This embodiment is inserted between the output of a device connected to an external bus and the external bus, and in FIG. 1, the device 1 connected to the external path Vc@ and the external bus are omitted. , do-dγ shown in FIG. 1 indicates each digit of data output from a device connected to the external bus (8-bit case is shown as an example).
-D7 is the above d.

〜d丁が本実施例を経由して外部バス上に出力された場
合金示す。
.about.d is output on the external bus via this embodiment.

8個の外部バスエラー検出!l5I−0〜1−7は構成
はすべて同一であり、データのそ1ぞnの1デイジツト
ヲ担当している。例として外部バスエラー検出部1−0
について説明する。
8 external bus errors detected! All of I5I-0 to 1-7 have the same configuration, and each one is responsible for one digit of data. As an example, external bus error detection unit 1-0
I will explain about it.

外部バスエラー検出部1−OH出力バッファ2と、入力
バッファ3と比較回路4とから構成される。出力バッフ
ァ2に外部バスへの接続による入力do への影響をな
くすためだけの回路であり、同様に入力バッファ3は外
部バスからの入力り。
It is composed of an external bus error detection section 1, an OH output buffer 2, an input buffer 3, and a comparison circuit 4. This circuit is only for eliminating the influence on the input do due to the connection of the output buffer 2 to the external bus. Similarly, the input buffer 3 is connected to the external bus.

への比較回路4による影響金なくすためだけの回路であ
り、したがって出力バッ7ア2および入力バッファ3は
共に入力信号の論理値と出力信号の論理値は外部バスが
正常であれば等しい。信号へに論理11′のときに外部
バスエラー検出部1−0全作動させ、論理@O″のとき
不動作にする制御信号である。
This circuit is only used to eliminate the influence of the comparator circuit 4 on the output buffer 2 and the input buffer 3. Therefore, the logical value of the input signal and the logical value of the output signal of both the output buffer 2 and the input buffer 3 are equal if the external bus is normal. This is a control signal which causes all of the external bus error detection units 1-0 to be activated when the signal is at logic 11', and is inactivated when the signal is at logic @O''.

次に外部バスエラー検出部1−0の動作について説明す
る。
Next, the operation of the external bus error detection section 1-0 will be explained.

論理@1′の信号Aの供給上うけて出力バッファ2は作
動状態となり、信号doの供給上うけて出力バッファ2
は外部バスが正常であれば同−論理値の出力信号Do 
を外部バスに供給するっ入力バッファ3は前記外部バス
上の信号Do の供給をうけて同−輪埋f直の出力信号
を比較回路4に供給する。
In response to the supply of the signal A of logic @1', the output buffer 2 is activated, and in response to the supply of the signal do, the output buffer 2 is activated.
If the external bus is normal, the output signal Do has the same logical value.
The input buffer 3 receives the signal Do on the external bus and supplies the same output signal to the comparison circuit 4.

比較回路4は信号cto  と入力バッ7ア3がらの信
号Do  と同−論理値の出力信号との供給をうけ、こ
れらの論理値を比較し異っているときには論理値”ビの
比較結果信号Po を出力する。信号り。
The comparator circuit 4 is supplied with the signal cto, the signal Do from the input buffer 7, and the output signal of the same logical value, and compares these logical values, and when they are different, outputs a comparison result signal of the logical value "bi". Outputs Po. Signal.

は外部バスが正常の場合には信号dOと同−論理値であ
るが、それが信号cto  と異なっているということ
は外部バスエラーが発生したことを意味し、論理値“ビ
の比較結果信号Poは外部バスエラー全検出したOとを
示している。
is the same logical value as the signal dO when the external bus is normal, but the fact that it is different from the signal cto means that an external bus error has occurred, and the comparison result signal of the logical value Po indicates O where all external bus errors have been detected.

他の外部バスエラー検出部においても同様′の動作が行
なわn、比較結果信号Po−Pyがオアゲート5に供給
され、比較結果信号Po−P、の中央くとも1つが論理
イ直@1“の場合vcはオアゲート5の出力は論理(直
1ビとなり、この信号がア/トゲ−トロiC供給される
。ア/トゲ−トロの他方の入力信号は信号Aであり、論
理値′″1#が与えら几ているのでア/トゲ−トロの出
力信号QU上記の比較結果信号Po、−、Pyのうち少
くとも1つが論理値“1”、すなわち外部バスのエラー
が発生したときには論理値“1”とな9外部バスエラー
全検出したことを報知することとなる。
The same operation is performed in other external bus error detection sections, and the comparison result signals Po-Py are supplied to the OR gate 5, and at least one of the comparison result signals Po-P is the logical In the case vc, the output of the OR gate 5 becomes logic (direct 1 bit), and this signal is supplied to the A/To Gatero iC. The other input signal of the A/To Gatero is the signal A, and the logic value '''1 is given, so at least one of the above comparison result signals Po, -, and Py of the output signal QU of the A/TO GETRO has a logic value "1", that is, when an error on the external bus occurs, the logic value " This will notify that all 9 external bus errors (1") have been detected.

第2図には出力バッファ20回路図が示してあり、この
出力バッフ丁にナンドゲ−)21とノアゲート22とイ
/パータ23とPチャネルMOSトランジスタ24とN
チャネルMOSトランジスタ25とから構成される。
FIG. 2 shows a circuit diagram of the output buffer 20, in which the output buffer includes a NAND gate 21, a NOR gate 22, an I/P transistor 23, a P channel MOS transistor 24,
It is composed of a channel MOS transistor 25.

信号へが論理値@O”のときには、信号do  の如何
にかかわらずPチャネルMOSトラノジスタ24Vcは
論理値1ビの信号が供給され、NチャネルMOSトラン
ジスタ25には論理ffL @O”の信号が供給されて
、両MOSトランジスタ共高イ/ピーダ/スとなり外部
バスへの影響をな(している。
When the signal is at the logical value @O'', the P-channel MOS transistor 24Vc is supplied with a signal of logical value 1 bit regardless of the signal do, and the N-channel MOS transistor 25 is supplied with a signal of the logical value ffL@O''. As a result, both MOS transistors have high I/P/S, which affects the external bus.

信号Aが論理値@1′のときVCに、ナントゲート21
とノアゲート4は共にゲートヲ開き、両トラ/ジスタに
は信号do  と論理値を異にする信号が供給され、両
トラ/ジスタにより論理値が反転されて結果として信号
do  と同一の論理値の信号り。
When the signal A has a logic value @1', the Nant gate 21
and NOR gate 4 both open their gates, and both transistors/registers are supplied with a signal that has a different logic value from the signal do, and both transistors/registers invert the logic value, resulting in a signal with the same logic value as the signal do. the law of nature.

が出力さルる。is output.

第3図には入力バッファ3の回路図が示してあり、この
人カバッ7アiPチャネルMOSトランジスタ31とN
チャネルMO8トラ/ジスタ32↑ とインバータ33とから構成さ几る。
FIG. 3 shows a circuit diagram of the input buffer 3, which includes the iP channel MOS transistor 31 and the N
It consists of a channel MO8 transistor/register 32↑ and an inverter 33.

入力信号り、は両刀のトラ/ラスタ31および32で論
理値が反転され、更にイ/パータ33で再反転され、結
果として本人カバッファは信号り。
The logic value of the input signal R is inverted by the double-edged tiger/rasters 31 and 32, and further inverted again by the I/raster 33, and as a result, the main buffer is inverted.

と同一の論理値の出力信号を外部に供給することとなる
An output signal with the same logical value as is supplied to the outside.

第4図には比較回路4の回路図が示してあり、こAi排
他的論理和ゲート(イクスクルーシブオアゲート)より
構成される。この回路に分動のように、2つの入力信号
が同−論理値の場合に論理値10#の信号Po、異った
論理値の場合には論理値”1”の信号Po  を外部に
供給する。
FIG. 4 shows a circuit diagram of the comparator circuit 4, which is composed of an Ai exclusive OR gate. This circuit is supplied with a signal Po of logical value 10# when the two input signals have the same logical value, and a signal Po of logical value "1" when the two input signals have different logical values. do.

以上のように、本実施例では外部バスの影響により論理
値が反転するという外部バスエラーが生じた場合には、
容易にこルを検出し通報することができる。
As described above, in this embodiment, when an external bus error occurs in which the logical value is inverted due to the influence of the external bus,
It is possible to easily detect and report a crash.

本実施例では出力バッフ了への入力(3号と入力バッフ
ァからの出力信号との比較を行なったが本発明にこれに
限定さ几るものでになく、論理上外部バスが正常時、同
−論理値である任意の場所の2つの信号を比較してもよ
い。例えば第2図のアットゲート21またはノアゲート
22の出力信号と渠3図のイノパータ33の入力信号と
を比較回路4の入力としてもよい。
In this embodiment, the input to the output buffer (No. 3) was compared with the output signal from the input buffer, but the present invention is not limited to this, and logically when the external bus is normal, the same - You may compare two signals at arbitrary locations that are logical values.For example, the output signal of the at gate 21 or the NOR gate 22 in FIG. You can also use it as

(発明の効果) 本発明vci外部バスへ出力さ几るデータと外部バスか
ら入力されるデータとをデータ出力時に前記2つのデー
タを比較する回路7付加することにより外部バスエフ−
の検出を極めて簡単な回路でリアルタイムで容易に実行
することができマイクロコンビエータシステムの信頼性
を向上できるという効果がある。
(Effects of the Invention) By adding a circuit 7 that compares the data output to the VCI external bus and the data input from the external bus at the time of data output, the external bus
Detection can be easily carried out in real time using an extremely simple circuit, which has the effect of improving the reliability of the micro combinator system.

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

第1図は本発明の一実施例金示すブロック図、第2図、
@3図および第4図にそnぞA第1図の出力717丁の
入力バッファおよび比較回路の回路図である。 1−0.1−1〜1−7・・・・・・外部バスエラー検
出部、2・・・・・・出力バッファ% 3・・・・・・
入力パッフア、4・・・・・・比較回路、5・・・・・
・オアゲート、6・・・・・・アットゲート、21・・
・・・・ナントゲート、22・・・・・・ノアゲート、
23.33・・・・・・インバータ、24.31・・・
・・・PチャネルMOSトランジスタ、25.32代理
人 弁理士  内 原   普パ−′  ”11 ご \−を 筋1図
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG.
Figures 3 and 4 are circuit diagrams of the input buffer and comparison circuit of the 717 outputs in Figure 1. 1-0.1-1 to 1-7... External bus error detection section, 2... Output buffer % 3...
Input puffer, 4... Comparison circuit, 5...
・Or Gate, 6...At Gate, 21...
...Nant Gate, 22...Noah Gate,
23.33... Inverter, 24.31...
...P-channel MOS transistor, 25.32 Agent Patent Attorney Uchihara Ppar' 11 Figure 1

Claims (1)

【特許請求の範囲】 外部バスに接続され供給される入力データを前記外部バ
スに供給する出力バッファと、 前記外部バスに接続され前記出力バッファから前記外部
バスに供給されるデータを入力データとする入力バッフ
ァと、 前記出力バッファへの入力データと前記入力バッファか
らの出力データとを比較し不一致のときは不一致信号を
発生する比較手段とを含むことを特徴とする外部バスエ
ラー検出回路。
[Scope of Claims] An output buffer that is connected to an external bus and supplies input data supplied to the external bus; and an output buffer that is connected to the external bus and uses data supplied from the output buffer to the external bus as input data. An external bus error detection circuit comprising: an input buffer; and comparison means for comparing input data to the output buffer and output data from the input buffer and generating a mismatch signal when they do not match.
JP59258705A 1984-12-07 1984-12-07 Detecting circuit for external bus error Pending JPS61136135A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59258705A JPS61136135A (en) 1984-12-07 1984-12-07 Detecting circuit for external bus error

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59258705A JPS61136135A (en) 1984-12-07 1984-12-07 Detecting circuit for external bus error

Publications (1)

Publication Number Publication Date
JPS61136135A true JPS61136135A (en) 1986-06-24

Family

ID=17323953

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59258705A Pending JPS61136135A (en) 1984-12-07 1984-12-07 Detecting circuit for external bus error

Country Status (1)

Country Link
JP (1) JPS61136135A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01172668A (en) * 1987-12-28 1989-07-07 Aisin Aw Co Ltd Failure detecting device for interface circuit of other party in communication
JPH02287744A (en) * 1989-04-28 1990-11-27 Yokogawa Electric Corp Bus master device
JPH0543400U (en) * 1991-11-06 1993-06-11 株式会社東芝 Output buffer failure detection circuit of ASIC
JPH0944420A (en) * 1995-07-26 1997-02-14 Nec Telecom Syst Ltd Bus interface abnormality detection circuit for multiprocessor system
JPH09160844A (en) * 1995-12-08 1997-06-20 Nec Corp Method and circuit for detecting driver circuit fault, fault reporting method, and magnetic disk drive

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01172668A (en) * 1987-12-28 1989-07-07 Aisin Aw Co Ltd Failure detecting device for interface circuit of other party in communication
JPH02287744A (en) * 1989-04-28 1990-11-27 Yokogawa Electric Corp Bus master device
JPH0543400U (en) * 1991-11-06 1993-06-11 株式会社東芝 Output buffer failure detection circuit of ASIC
JPH0944420A (en) * 1995-07-26 1997-02-14 Nec Telecom Syst Ltd Bus interface abnormality detection circuit for multiprocessor system
JPH09160844A (en) * 1995-12-08 1997-06-20 Nec Corp Method and circuit for detecting driver circuit fault, fault reporting method, and magnetic disk drive

Similar Documents

Publication Publication Date Title
AU580730B2 (en) Self-checking computer circuitry
EP0287302B1 (en) Cross-coupled checking circuit
EP0228071A2 (en) High-reliability computer system
US4090173A (en) Vital digital communication system
US4891809A (en) Cache memory having self-error checking and sequential verification circuits
US20220382627A1 (en) Infrastructure integrity checking
JPS61136135A (en) Detecting circuit for external bus error
US4249240A (en) Address system for bus interconnected computer system
US4580265A (en) Failure detection method and apparatus
GB1444513A (en) Control method using computers operating in parallel
US4225959A (en) Tri-state bussing system
US4410988A (en) Out of cycle error correction apparatus
US5835511A (en) Method and mechanism for checking integrity of byte enable signals
US3256513A (en) Method and circuit arrangement for improving the operating reliability of electronically controlled telecom-munication switching systems
US3779458A (en) Self-checking decision logic circuit
US4698814A (en) Arrangement for checking the parity of parity-bits containing bit groups
US7024618B2 (en) Transmission error checking in result forwarding
US6027243A (en) Parity check circuit
EP0152974A1 (en) Arrangement for checking the parity bit-containing bit groups
JPH087442Y2 (en) Input / output device of programmable controller
SU457990A1 (en) Redundant system
SU1015386A1 (en) Device for testing memory checking circuits
SU475332A2 (en) Automatic stacker control device
SU1051533A2 (en) Adder in m-from-n-code
SU1075313A1 (en) Device for detecting and correcting single errors