JPH03282738A - Information processor - Google Patents

Information processor

Info

Publication number
JPH03282738A
JPH03282738A JP2081271A JP8127190A JPH03282738A JP H03282738 A JPH03282738 A JP H03282738A JP 2081271 A JP2081271 A JP 2081271A JP 8127190 A JP8127190 A JP 8127190A JP H03282738 A JPH03282738 A JP H03282738A
Authority
JP
Japan
Prior art keywords
microprocessor
information
bus
comparison
data bus
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
JP2081271A
Other languages
Japanese (ja)
Inventor
Satoshi Ishii
智 石井
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 JP2081271A priority Critical patent/JPH03282738A/en
Publication of JPH03282738A publication Critical patent/JPH03282738A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To detect accidental malfunction or fault in microprocessor to construct the system with high reliability by synchronously operating two micro processors and permitting both to compare information outputted to buses. CONSTITUTION:The first microprocessor 1 for executing a regular processing, the second microprocessor 2 which synchronously operates with the first microprocessor 1 and which is for executing a supervisory processing and a comparison means 8 comparing information on the bus of the first microprocessor 1 and information on the bus of the second microprocessor 2 are provided. When a compared result noncoincident, it is judged that malfunction and the fault occur, and an exceptional processing request is transmitted. Thus, an information processor which can detect an error and whose reliability is high can be realized.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、マイクロプロセッサを利用した情報処理装置
に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an information processing device using a microprocessor.

〔従来の技術〕[Conventional technology]

従来、この種の情報処理装置においては、マイクロプロ
セッサの二重化を行っていなかった。これは、二重化の
サポートをしているマイクロプロセッサがほとんど無か
ったことに起因している。
Conventionally, in this type of information processing apparatus, microprocessors have not been duplicated. This is due to the fact that there were almost no microprocessors that supported duplexing.

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

このように、従来では、マイクロプロセッサの二重化を
行なっていなかったので、マイクロプロセッサ内部での
偶発的な誤動作や故障を検出することができないという
欠点があった。
As described above, in the past, since the microprocessors were not duplicated, there was a drawback that accidental malfunctions or failures inside the microprocessors could not be detected.

本発明はこのような従来の欠点を改善したもので、その
目的は、誤り検出が可能な信頼度の高い情報処理装置を
提供することにある。
The present invention has been made to improve upon these conventional drawbacks, and its purpose is to provide a highly reliable information processing device that is capable of detecting errors.

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

本発明の情報処理装置は、通常処理を行うための第1マ
イクロプロセツサと、該第1のマイクロプロセッサと同
期して動作し監視処理を行うための第2のマイクロプロ
セッサと、前記第1のマイクロプロセッサのバス上の情
報と前記第2のマイクロプロセッサのバス上の情報とを
比較する比較手段とを有し、該比較手段における比較結
果が不一致となったときに例外処理要求を発信するよう
になっている。
The information processing device of the present invention includes a first microprocessor for performing normal processing, a second microprocessor that operates in synchronization with the first microprocessor and performs monitoring processing, and a first microprocessor for performing monitoring processing. Comparing means for comparing information on the bus of the microprocessor and information on the bus of the second microprocessor, and configured to issue an exception handling request when the comparison result of the comparing means does not match. It has become.

なお、比較手段においては、第1のマイクロプロセッサ
がデータバスへ情報を出力する場合に第1のマイクロプ
ロセッサのデータバス上の情報と第2のマイクロプロセ
ッサのデータバス上の情報とを比較するようになっても
良いし、あるいは第1のマイクロプロセッサがバスサイ
クルを起動した場合に第1のマイクロプロセッサのアド
レスバス上の情報と第2のマイクロプロセッサのアドレ
スバス上の情報とを比較するようになっていても良い。
The comparing means compares information on the data bus of the first microprocessor with information on the data bus of the second microprocessor when the first microprocessor outputs information to the data bus. or to compare the information on the first microprocessor's address bus with the information on the second microprocessor's address bus when the first microprocessor initiates a bus cycle. It's okay to be.

〔作 用〕[For production]

第1のマイクロプロセッサにおいて処理を行なわせると
きに、これに同期して第2のマイクロプロセッサを動作
させ、比較手段において第1のマイクロプロセッサのバ
ス(データバスまたはアドレスバス)上の情報と第2の
マイクロプロセッサのバス(データバスまたはアドレス
バス)上の情報とを比較し、比較結果が不一致となった
ときには、誤動作、故障が発生したと判断し、例外処理
要求を送信する。
When processing is performed in the first microprocessor, the second microprocessor is operated in synchronization with the processing, and the comparison means compares information on the bus (data bus or address bus) of the first microprocessor with the information on the second microprocessor. and the information on the microprocessor bus (data bus or address bus), and if the comparison results do not match, it is determined that a malfunction or failure has occurred, and an exception handling request is sent.

〔実施例〕〔Example〕

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

第1図は本発明の第1の実施例のブロック図である。第
1図の情報処理装置では、通常処理を行なうマイクロプ
ロセッサ1の他に、さらに監視用のマイクロプロセッサ
2が設けられており、2個の汎用のマイクロプロセッサ
1.2を同期して動作させることによりマイクロプロセ
ッサの二重化が行なわれるようになっている。
FIG. 1 is a block diagram of a first embodiment of the present invention. In the information processing apparatus shown in FIG. 1, in addition to the microprocessor 1 that performs normal processing, a monitoring microprocessor 2 is provided, and two general-purpose microprocessors 1 and 2 are operated synchronously. Duplication of microprocessors has become possible.

通常処理を行うマイクロプロセッサ1には、アドレスバ
ス101、データバス102、制御信号バス103が接
続されており、アドレスバス101の一部はデコード回
路9にも与えられ、制御信号バス103の情報と組み合
わされて読み出し専用メモリ4、読み書き可能メモリ5
、入出力制御部6の各々のセレクト信号110,111
,112を出力するようになっている。また、アドレス
バス101およびデータバス102は読み出し専用メモ
リ4、読み書き可能メモリ5、入出力制御部6にも接続
されている。デコード回路9は、マイクロプロセッサ1
が出力したアドレスバス101の一部と制御信号バス1
03を解読してマイクロプロセッサ1が起動したバスサ
イクルを制御するための信号115を発生するようにな
っている。
An address bus 101, a data bus 102, and a control signal bus 103 are connected to the microprocessor 1 that performs normal processing. Part of the address bus 101 is also given to the decoding circuit 9, and information on the control signal bus 103 and the control signal bus 103 are connected to the microprocessor 1. Combined with 4 read-only memories and 5 read-write memories
, each select signal 110, 111 of the input/output control unit 6
, 112 are output. Further, the address bus 101 and the data bus 102 are also connected to the read-only memory 4, the read/write memory 5, and the input/output control unit 6. The decoding circuit 9 includes the microprocessor 1
A part of address bus 101 and control signal bus 1 outputted by
03 and generates a signal 115 for controlling the bus cycle activated by the microprocessor 1.

また、マイクロプロセッサ1、デコード回路9にはクロ
ック発生回路3からのクロック信号120が供給され、
更に、マイクロプロセッサ1には外部からリセット信号
121、割り込み要求信号122が入力するようになっ
ている。
Further, a clock signal 120 from the clock generation circuit 3 is supplied to the microprocessor 1 and the decoding circuit 9.
Furthermore, a reset signal 121 and an interrupt request signal 122 are input to the microprocessor 1 from the outside.

さらに、監視用のマイクロプロセッサ2には、マイクロ
プロセッサ1が起動したバスサイクルを制御するための
信号115が入力するようになっており、マイクロプロ
セッサ2のデータバス202はバッファ回路7と比較回
路8に接続されている。
Furthermore, a signal 115 for controlling the bus cycle started by the microprocessor 1 is input to the monitoring microprocessor 2, and the data bus 202 of the microprocessor 2 is connected to the buffer circuit 7 and the comparison circuit 8. It is connected to the.

また、マイクロプロセッサ2にも、マイクロプロセッサ
1と同様に、クロック信号120、リセット信号121
および割り込み要求信号122が入力するようになって
いる。なお、マイクロプロセッサ2のアドレスバス20
1、制御信号バス203はどこにも接続されないように
なっている。
In addition, the microprocessor 2 also has a clock signal 120, a reset signal 121, and the like as well as the microprocessor 1.
and an interrupt request signal 122 are input. Note that the address bus 20 of the microprocessor 2
1. The control signal bus 203 is not connected anywhere.

次にこのような構成の情報処理装置の動作について説明
する。
Next, the operation of the information processing apparatus having such a configuration will be explained.

デコード回路9は、制御信号バス103からの情報によ
って、マイクロプロセッサ1のバスサイクルが入力であ
るか出力であるかを判断する。
Decode circuit 9 determines whether a bus cycle of microprocessor 1 is an input or an output based on information from control signal bus 103.

[バスサイクルが入力であることを示す場合には、デコ
ード回路9は真の制御入力信号113を出力する。バッ
ファ回路7は、その制御入力信号113が真である場合
に、読み出し専用メモリ4、読み書き可能メモリ5ある
いは入出力制御部6から読み出したデータバス102上
の情報をマイクロプロセッサ2のデータバス202へ中
継し、この時点でマイクロプロセッサ2はデータバス2
02上の情報を取り込む。この動作によりマイクロプロ
セッサ2は、アドレスバス201および制御信号バス2
03を利用することなくマイクロプロセッサ1が得る情
報と等価な情報を得る。
[If the bus cycle indicates an input, the decode circuit 9 outputs a true control input signal 113. When the control input signal 113 is true, the buffer circuit 7 transfers information on the data bus 102 read from the read-only memory 4, the read/write memory 5, or the input/output control section 6 to the data bus 202 of the microprocessor 2. At this point, microprocessor 2 is connected to data bus 2.
Import the information on 02. This operation causes the microprocessor 2 to control the address bus 201 and the control signal bus 2.
To obtain information equivalent to the information obtained by the microprocessor 1 without using the microprocessor 03.

一方デコード回路9は、制御信号バス103からの情報
によってバスサイクルが出力であることを示す場合には
、真の制御入力信号114を出力する。比較回路8はそ
の制御入力信号114が真である場合に、マイクロプロ
セッサ1が出力したデータバス102上の情報とマイク
ロプロセッサ2が出力したデータバス202上の情報と
を比較する。この比較の結果、不一致である場合に比較
回路8は異常発生通知信号123を真にする。
On the other hand, decoding circuit 9 outputs a true control input signal 114 when information from control signal bus 103 indicates that the bus cycle is an output. When the control input signal 114 is true, the comparator circuit 8 compares the information on the data bus 102 output by the microprocessor 1 with the information on the data bus 202 output by the microprocessor 2. As a result of this comparison, if there is a mismatch, the comparison circuit 8 sets the abnormality occurrence notification signal 123 to true.

このように、マイクロプロセッサ2はマイクロプロセッ
サ1と同期して同一タイミングで同一命令を実行してい
るが、2台のマイクロプロセッサが出力するデータバス
上の情報が不一致となったことを検出することによって
マイクロプロセッサ1またはマイクロプロセッサ2の内
部での偶発的な誤動作あるいは故障が発生したことを検
出して上位の装置(図示せず)に対して例外処理要求を
発することが可能となる。
In this way, microprocessor 2 executes the same instruction at the same timing in synchronization with microprocessor 1, but it is difficult to detect that the information on the data bus output by the two microprocessors is inconsistent. This makes it possible to detect the occurrence of an accidental malfunction or failure within the microprocessor 1 or the microprocessor 2, and issue an exception handling request to a higher-level device (not shown).

第2図は本発明の第2の実施例のブロツク図である。な
お、第2図において第1図と同様の箇所には同じ符号を
付している。
FIG. 2 is a block diagram of a second embodiment of the invention. Note that in FIG. 2, the same parts as in FIG. 1 are given the same reference numerals.

上記第1の実施例においては、マイクロプロセッサ2の
アドレスバス201および制御信号バス203をどこに
も接続せず、データバス201を比較回路8に接続して
おり、これにより比較回路8においては、マイクロプロ
セッサ1が出力したデータバス102上の情報とマイク
ロプロセッサ2が出力したデータバス202上の情報と
を比較するようになっているが、第2の実施例において
は、第2図かられかるように、マイクロプロセッサ2の
データバス202のかわりにアドレスバス201を比較
回路8に接続し、また、マイクロプロセッサ1のデータ
バス102のかわりにアドレスバス101を比較回路8
に接続するようにしている。
In the first embodiment, the address bus 201 and control signal bus 203 of the microprocessor 2 are not connected anywhere, and the data bus 201 is connected to the comparator circuit 8. The information on the data bus 102 output by the processor 1 and the information on the data bus 202 output by the microprocessor 2 are compared, but in the second embodiment, as shown in FIG. In this case, the address bus 201 is connected to the comparison circuit 8 instead of the data bus 202 of the microprocessor 2, and the address bus 101 is connected to the comparison circuit 8 instead of the data bus 102 of the microprocessor 1.
I am trying to connect to.

これにより、比較回路8では、マイクロプロセッサ1が
バスサイクルを起動した場合にのみ、マイクロプロセッ
サ1のアドレスバス101上の情報とマイクロプロセッ
サ2のアドレスバス201上の情報を比較する。
As a result, the comparison circuit 8 compares the information on the address bus 101 of the microprocessor 1 and the information on the address bus 201 of the microprocessor 2 only when the microprocessor 1 starts a bus cycle.

すなわち、第2の実施例では、デコード回路9は、制御
信号バス103からの情報によってバスサイクルが起動
中であることを示す場合には真の制御入力信号114を
出力する。比較回路8はその制御入力信号114が真で
ある場合に、マイクロプロセッサ1が出力したアドレス
バス101上の情報とマイクロプロセッサ2が出力した
アドレスバス201上の情報とを比較する。この比較の
結果、不一致である場合に比較回路8は異常発生通知信
号123を真にする。
That is, in the second embodiment, decoding circuit 9 outputs true control input signal 114 when information from control signal bus 103 indicates that a bus cycle is being activated. When the control input signal 114 is true, the comparison circuit 8 compares the information on the address bus 101 outputted by the microprocessor 1 with the information outputted on the address bus 201 outputted by the microprocessor 2. As a result of this comparison, if there is a mismatch, the comparison circuit 8 sets the abnormality occurrence notification signal 123 to true.

このように、マイクロプロセッサ2はマイクロプロセッ
サ1と同期して同一タイミングで同一命令を実行してい
るが、2台のマイクロプロセッサが出力するアドレスバ
ス上の情報が不一致となったことを検出することによっ
てマイクロプロセッサ1またはマイクロプロセッサ2の
内部での偶発的な誤動作あるいは故障が発生したことと
を検出して上位の装置(図示せず)に対して致命的な例
外処理要求を発することが可能となる。
In this way, microprocessor 2 executes the same instruction at the same timing in synchronization with microprocessor 1, but it is difficult to detect that the information on the address buses output by the two microprocessors is inconsistent. It is possible to detect the occurrence of an accidental malfunction or failure within the microprocessor 1 or microprocessor 2 and issue a fatal exception handling request to a higher-level device (not shown). Become.

〔発明の効果) 以上で説明したように本発明によれば、2台のマイクロ
プロセッサを同期して動作させ、監視用のマイクロプロ
セッサがバスへ出力する情報と処理用のマイクロプロセ
ッサがバスへ出力する情報とを比較するようにしている
ので、マイクロプロセッサ内部での偶発的な誤動作ある
いは故障を検出することが可能となり、信頼性の高いシ
ステムを構築することができる。
[Effects of the Invention] As explained above, according to the present invention, two microprocessors are operated synchronously, and the information that the monitoring microprocessor outputs to the bus and the processing microprocessor outputs to the bus. Since the information is compared with the information provided by the microprocessor, it is possible to detect an accidental malfunction or failure within the microprocessor, and a highly reliable system can be constructed.

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

第1図は本発明に係る情報処理装置の第1の実0 施例のブロック図、第2図は本発明に係る情報処理装置
の第2の実施例のブロック図である。 図において、 1.2・・・マイクロプロセッサ、3・・・クロック発
生回路、4・・・読み出し専用メモリ、5・・・読み書
き可能メモリ、6・・・入出力制御部、7・・・バッフ
ァ回路、8・・・比較回路、9・・・デコード回路。
FIG. 1 is a block diagram of a first embodiment of an information processing apparatus according to the present invention, and FIG. 2 is a block diagram of a second embodiment of the information processing apparatus according to the present invention. In the figure, 1.2...Microprocessor, 3...Clock generation circuit, 4...Read-only memory, 5...Readable/writable memory, 6...I/O control unit, 7...Buffer Circuit, 8... Comparison circuit, 9... Decoding circuit.

Claims (1)

【特許請求の範囲】 1)通常処理を行うための第1のマイクロプロセッサと
、該第1のマイクロプロセッサと同期して動作し監視処
理を行うための第2のマイクロプロセッサと、前記第1
のマイクロプロセッサのバス上の情報と前記第2のマイ
クロプロセッサのバス上の情報とを比較する比較手段と
を有し、該比較手段における比較結果が不一致となった
ときに例外処理要求を発信するようになっていることを
特徴とする情報処理装置。 2)前記比較手段は、前記第1のマイクロプロセッサの
データバス上の情報と前記第2のマイクロプロセッサの
データバス上の情報とを比較し、前記第1のマイクロプ
ロセッサがデータバスへ情報を出力する場合にのみ比較
を行うようになっていることを特徴とする請求項1記載
の情報処理装置。 3)前記比較手段は、前記第1のマイクロプロセッサの
アドレスバス上の情報と前記第2のマイクロプロセッサ
のアドレスバス上の情報とを比較し、前記第1のマイク
ロプロセッサがバスサイクルを起動した場合にのみ比較
を行なうようになっていることを特徴とする請求項1記
載の情報処理装置。
[Claims] 1) a first microprocessor for performing normal processing; a second microprocessor for operating in synchronization with the first microprocessor and performing monitoring processing;
and a comparison means for comparing information on the bus of the second microprocessor and information on the bus of the second microprocessor, and transmits an exception handling request when the comparison result in the comparison means is a mismatch. An information processing device characterized by: 2) The comparing means compares the information on the data bus of the first microprocessor and the information on the data bus of the second microprocessor, and the first microprocessor outputs the information to the data bus. 2. The information processing apparatus according to claim 1, wherein the comparison is performed only when the information processing apparatus performs the comparison. 3) The comparing means compares information on the address bus of the first microprocessor and information on the address bus of the second microprocessor, and when the first microprocessor starts a bus cycle; 2. The information processing apparatus according to claim 1, wherein the information processing apparatus is configured to compare only the information processing apparatus.
JP2081271A 1990-03-30 1990-03-30 Information processor Pending JPH03282738A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2081271A JPH03282738A (en) 1990-03-30 1990-03-30 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2081271A JPH03282738A (en) 1990-03-30 1990-03-30 Information processor

Publications (1)

Publication Number Publication Date
JPH03282738A true JPH03282738A (en) 1991-12-12

Family

ID=13741704

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2081271A Pending JPH03282738A (en) 1990-03-30 1990-03-30 Information processor

Country Status (1)

Country Link
JP (1) JPH03282738A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02111612A (en) * 1988-10-20 1990-04-24 Sumitomo Electric Ind Ltd Synthesis of granular diamond

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02111612A (en) * 1988-10-20 1990-04-24 Sumitomo Electric Ind Ltd Synthesis of granular diamond
JP2639505B2 (en) * 1988-10-20 1997-08-13 住友電気工業株式会社 Synthesis method of granular diamond

Similar Documents

Publication Publication Date Title
US4785453A (en) High level self-checking intelligent I/O controller
JP2006285631A (en) Duplex system
US7418626B2 (en) Information processing apparatus
JP3063334B2 (en) Highly reliable information processing equipment
JPH03282738A (en) Information processor
JPH0916535A (en) Multiprocessor computer
JPS6113626B2 (en)
JPH1115661A (en) Self-diagnosis method for cpu
JPS6095663A (en) Automatic switching device of dual type magnetic disk device
JPH04178839A (en) Microprocessor
JPS5911455A (en) Redundancy system of central operation processing unit
JPH0498326A (en) Microprocessor
JPH04302332A (en) Synchronizing system for dual cpu system
JP3019336B2 (en) Microprocessor development support equipment
JPH03228189A (en) Microprocessor
JP3055249B2 (en) Processor debugging method
JP3055906B2 (en) Emergency operation method
JPH04211841A (en) Duplex processor
JPH1055290A (en) Failure detection method for program by emulator
JPS60173647A (en) Detecting system of error generating part of information processing unit
JPH06168151A (en) Duplex computer system
JPH02171837A (en) Microprocessor
JPH0232409A (en) Diagnosing device for abnormality monitoring part
JPH04344941A (en) Highly reliable processor
JPH0721050A (en) Complete clock synchronous duplex circuit