Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0831049B2 - Locked processor method - Google Patents
[go: Go Back, main page]

JPH0831049B2 - Locked processor method - Google Patents

Locked processor method

Info

Publication number
JPH0831049B2
JPH0831049B2 JP61126787A JP12678786A JPH0831049B2 JP H0831049 B2 JPH0831049 B2 JP H0831049B2 JP 61126787 A JP61126787 A JP 61126787A JP 12678786 A JP12678786 A JP 12678786A JP H0831049 B2 JPH0831049 B2 JP H0831049B2
Authority
JP
Japan
Prior art keywords
data
parity
data processing
bus
processing device
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.)
Expired - Lifetime
Application number
JP61126787A
Other languages
Japanese (ja)
Other versions
JPS62284438A (en
Inventor
正敏 冨永
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 JP61126787A priority Critical patent/JPH0831049B2/en
Publication of JPS62284438A publication Critical patent/JPS62284438A/en
Publication of JPH0831049B2 publication Critical patent/JPH0831049B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Hardware Redundancy (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はデータ処理装置のエラー検出方式に関し、特
に2台のデータ処理装置に同時に同一の動作をさせて不
正を検出するというロックドプロセッサ方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an error detection system for a data processing device, and more particularly, a locked processor system in which two data processing devices simultaneously perform the same operation to detect fraud. Regarding

〔従来の技術〕[Conventional technology]

データ処理装置のデータインテグリティを向上させる
ために、2台のデータ処理装置に同じ処理を実行させる
というロックドプロセッサ方式には、従来から各種の方
式が存在するが、その代表的な例は、COMPUTER(Volume
17,Number8,August′84)で紹介されているIntel 432;A
VLSI Archetecture for Fault Tolerant Computer Syst
emsに示されるものである。
In order to improve the data integrity of the data processing device, there are various types of conventional locked processor systems in which two data processing devices execute the same processing, but a typical example is COMPUTER. (Volume
17, Number8, August′84) Intel 432; A
VLSI Archetecture for Fault Tolerant Computer Syst
It is shown in ems.

このインテル432コンピュータでは、2台のGDP(Gene
ralized Data Processor)をマルチバスに接続し、一方
をマスター、他方をチェッカーと定義して同時に同一の
動作をさせている。この際、マスターとなったGDPはバ
スにパリティを付加したデータを出力し、チェッカーと
なったGDPはマスターのGDPがバスに出力したデータを入
力して自己の内部データと比較している。
This Intel 432 computer has two GDP (Gene
ralized Data Processor) is connected to the multi-bus, one is the master, the other is defined as a checker and have the same operation at the same time. At this time, the master GDP outputs data with parity added to the bus, and the checker GDP inputs the data output by the master GDP to the bus and compares it with its own internal data.

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

上述した従来のロックドプロセッサ方式は、マスター
と定義されたデータ処理装置側からはパリティを含むデ
ータ全てが出力され、チェック側のデータ処理装置はバ
スに何も出力せず、いつもバス上のデータを自データと
比較チェックするのみとなっているので、マスターのデ
ータ処理装置が不正動作をした場合、バス上のデータだ
けをみると、常にパリティも正しく正常なデータ形式を
しているので、チェッカー側のデータ処理装置がエラー
を検出したときにバスに送出されたデータは受信側(例
えば記憶装置)では恰も正しいデータとして常に処理さ
れてしまうことになる。このような不正動作によって例
えば記憶装置の誤ったアドレスにデータが書込まれてし
まうと、最早再開は困難となるので、たとえ不正動作が
行なわれても、受信側が恰も正しいデータとして処理し
てしまう確率を低下させることが望まれる。
In the conventional locked processor method described above, all data including parity is output from the data processing device side defined as the master, and the data processing device on the check side does not output anything to the bus, and the data on the bus is always output. Since it is only checked by comparing the data with its own data, if the master data processing device operates illegally, if you look only at the data on the bus, the parity is always correct and the normal data format. The data transmitted to the bus when the data processing device on the receiving side detects an error is always processed as correct data on the receiving side (for example, the storage device). If data is written to the wrong address in the storage device due to such an illegal operation, it will be difficult to restart the data anymore. Therefore, even if the illegal operation is performed, the receiving side will process it as correct data. It is desirable to reduce the probability.

本発明はこのような事情に鑑みて為されたもので、そ
の目的は、何れかのデータ処理装置で不正動作が起こっ
た場合、できるだけ受信側でパリティ・エラーが発生し
得るようにすることにより、システムの再開始の可能性
を高めることにある。
The present invention has been made in view of such circumstances, and an object thereof is to allow a parity error to occur on the receiving side as much as possible when an illegal operation occurs in any of the data processing devices. , To increase the likelihood of restarting the system.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は上記目的を達成するために、2台のデータ処
理装置を同一のバスに接続して同時に同一の処理を実行
せしめて動作チェックするロックドプロセッサ方式にお
いて、 前記2台のデータ処理装置の各々に、 データ処理装置内のパリティ付データのデータ部のみ
を選択的に前記バスに出力する第1の選択手段と、 前記パリティ付データのパリティ部のみを選択的に前
記バスに出力する第2の選択手段と、 前記バス上のデータ部を受信し、該受信データ部と前
記データ処理装置内のパリティ付データのデータ部とを
比較する第1の比較手段と、 該第1の比較手段の有効,無効を制御する第1の制御
手段と、 前記バス上のパリティ部を受信し、該受信パリティ部
と前記データ処理装置内のパリティ付データのパリティ
部とを比較する第2の比較手段と、 該第2の比較手段の有効,無効を制御する第2の制御
手段とを設け、且つ、 一方のデータ処理装置がデータ部を前記バスに出力す
るときには他方のデータ処理装置はパリティ部を前記バ
スに出力するように前記第1および第2の制御手段が制
御され、更に、 各々のデータ処理装置は、前記バスに自らが出力しな
いデータ部もしくはパリティ部と、前記バス上のデータ
部もしくはパリティ部とを比較するように前記第1およ
び第2の制御手段が設定され、 いずれかのデータ処理装置で比較不一致が検出された
とき、いずれかのデータ処理装置が不正動作をしたこと
を示す信号を発生するように構成される。
In order to achieve the above-mentioned object, the present invention provides a locked processor system in which two data processing devices are connected to the same bus to execute the same processing at the same time to perform an operation check. First selection means for selectively outputting only the data part of the data with parity in the data processing device to the bus; and second selecting means for selectively outputting only the parity part of the data with parity to the bus. Selecting means, first comparing means for receiving the data part on the bus, and comparing the received data part with the data part of the data with parity in the data processing device, and the first comparing means. A first control means for controlling validity and invalidity; and a second control means for receiving a parity part on the bus and comparing the received parity part with a parity part of data with parity in the data processing device. Comparing means and second controlling means for controlling the validity and invalidity of the second comparing means are provided, and when one data processing device outputs a data section to the bus, the other data processing device is parity. The first and second control means are controlled so as to output a unit to the bus, and each data processing device further includes a data unit or a parity unit which is not itself output to the bus, and a data on the bus. The first and second control means are set so as to compare the data section or the parity section, and when any one of the data processing apparatuses detects a comparison disagreement, one of the data processing apparatuses performs an illegal operation. Is configured to generate a signal indicating

〔作用〕[Action]

一方のデータ処理装置は内部のパリティ付データのデ
ータ部のみをバスに出力し、他方のデータ処理装置は内
部のパリティ付データのパリティ部のみをバスに出力
し、この両者でバス上のパリティ付データが形成され
る。従って、何れかのデータ処理装置が不正動作した場
合、バス上のパリティ付データには、パリティの形式す
なわちデータの何ビット毎に1ビットのパリティが付い
ているかの形式に応じた程度でパリティ・エラーが発生
することになり、バス上のパリティ付データの受信側に
おいて正しいデータとして処理される確率を低下させる
ことができる。
One data processing device outputs only the data part of the internal parity-added data to the bus, and the other data processing device outputs only the parity part of the internal parity-added data to the bus. Data is formed. Therefore, when any one of the data processing devices is illegally operated, the parity-added data on the bus is parity-checked to the extent depending on the format of the parity, that is, the format of how many bits of the data have 1-bit parity. Since an error occurs, the probability that the data with parity on the bus will be processed as correct data can be reduced.

〔実施例〕〔Example〕

次に本発明の実施例について図面を参照して説明す
る。
Next, embodiments of the present invention will be described with reference to the drawings.

第2図は本発明を適用したデータ処理システムのブロ
ック図である。同図において、200はシステム・バスで
あり、システム内装置間のデータ転送パスを提供する。
このシステム・バス200は前記インテル432コンピュータ
システムにおけるマルチバスに相当する。220は記憶装
置であり、処理用プログラムやデータを格納している。
210,211は、データ処理装置であり、記憶装置220内に格
納されたプログラムを実行する。このデータ処理装置21
0,211は同一の装置であり、同じ処理(命令の実行)を
2台で行ない、互いに比較しながら走行するロックドプ
ロセッサ方式型の装置である。230,231は入出力処理装
置であり、データ処理装置210,211からの指令に従って
周辺装置(図示せず)と記憶装置220との間のデータ転
送を制御する。240はサービスプロセッサであり、デー
タ処理装置210,211の動作モード制御やエラーリカバリ
ー処理等を行なう。
FIG. 2 is a block diagram of a data processing system to which the present invention is applied. In the figure, reference numeral 200 denotes a system bus, which provides a data transfer path between devices in the system.
The system bus 200 corresponds to the multi-bus in the Intel 432 computer system. A storage device 220 stores processing programs and data.
Reference numerals 210 and 211 denote data processing devices, which execute programs stored in the storage device 220. This data processor 21
Reference numerals 0 and 211 are the same device, and are locked processor type devices that perform the same processing (execution of instructions) by two units and run while being compared with each other. Reference numerals 230 and 231 denote input / output processing devices, which control data transfer between a peripheral device (not shown) and the storage device 220 in accordance with commands from the data processing devices 210 and 211. A service processor 240 controls the operation modes of the data processing devices 210 and 211 and performs error recovery processing.

第1図はデータ処理装置210,211内におけるシステム
・バス・インタフェイス部の実施例のブロック図であ
る。データ処理装置210,211は互いに比較して動作する
ことから、内部にはパリティ等のチェック回路は有して
いない。その為、システム・バス200へのインタフェイ
ス部において、出力するアドレス/データについてはパ
リティ発生を行ない、入力するデータについてはパリテ
ィチェックを行なう必要がある。
FIG. 1 is a block diagram of an embodiment of a system bus interface unit in the data processing devices 210 and 211. Since the data processing devices 210 and 211 operate in comparison with each other, they do not have a check circuit for parity or the like inside. Therefore, in the interface portion to the system bus 200, it is necessary to generate parity for the output address / data and perform parity check for the input data.

第1図において、100,500は、上述の入力データに対
するパリティチェック回路で、PE0,PE1はパリティエラ
ー信号であり、101,501は出力アドレス/データに対す
るパリティ発生回路である。150,550はデータ・アウト
・レジスタ(DOR)で、システム・バス200へ出力すべき
アドレス又はデータ情報はここに一時格納される。この
データ・アウト・レジスタ150,550は、本実施例ではデ
ータ8ビットとパリティ1ビットとに相当する容量のレ
ジスタである。
In FIG. 1, 100 and 500 are parity check circuits for the above-mentioned input data, PE0 and PE1 are parity error signals, and 101 and 501 are parity generation circuits for output addresses / data. Data out registers (DOR) 150 and 550 are used to temporarily store address or data information to be output to the system bus 200. The data out registers 150 and 550 have a capacity corresponding to 8 bits of data and 1 bit of parity in this embodiment.

130,530はデータ・ビットに対するトライ・ステート
・ドライバーで、8ゲートで構成されている。このトラ
イ・ステート・ドライバー130,530は、サービスプロセ
ッサ240からの制御信号ENDT0,ENDT1が“1"である時には
データ・アウト・レジスタ150,550のデータ部の内容を
システム・バス200に出力し、制御信号ENDT0,ENDT1が
“0"の時には出力はハイ・インピーダンスになってシス
テム・バス200をドライブしなくなる。
130 and 530 are tri-state drivers for data bits, which consist of 8 gates. The tri-state drivers 130 and 530 output the contents of the data portion of the data out registers 150 and 550 to the system bus 200 when the control signals ENDT0 and ENDT1 from the service processor 240 are “1”, and the control signals ENDT0, When ENDT1 is “0”, the output becomes high impedance and does not drive system bus 200.

131,531はパリティ・ビットに対するトライ・ステー
ト・ドライバーであり、1ゲートで構成されている。こ
のトライ・ステート・ドライバー131,531は、サービス
プロセッサ240からの制御信号ENPT0,ENPT1が“1"である
時にはデータ・アウト・レジスタ150,550のパリティ部
のパリティ・ビットをシステム・バス200に出力し、制
御信号ENPT0,ENPT1が“0"の時には出力はハイ・インピ
ーダンスになってシステム・バス200をドライブしな
い。
Reference numerals 131 and 531 denote tri-state drivers for the parity bit, which are composed of one gate. When the control signals ENPT0, ENPT1 from the service processor 240 are “1”, the tri-state drivers 131, 531 output the parity bits of the parity part of the data out registers 150, 550 to the system bus 200 and control signals. When ENPT0 and ENPT1 are “0”, the output becomes high impedance and does not drive the system bus 200.

140,540はデータ・ビットに対するレシーバで、8ゲ
ートで構成されている。このレシーバ140,540はシステ
ム・バス200からデータ部の内容を受信する。141,541は
パリティ・ビットに対するレシーバで、システム・バス
200からパリティ・ビットを受信する。
140 and 540 are receivers for data bits, and are composed of 8 gates. The receivers 140 and 540 receive the contents of the data section from the system bus 200. 141 and 541 are receivers for the parity bit, and system bus
Receives parity bit from 200.

110,510はシステム・バス200へ出力すべきデータ・ア
ウト・レジスタ150,550のデータ部の内容とレシーバ14
0,540で受信したシステム・バス200のデータ部の内容と
を比較する比較回路であり、111,511はシステム・バス2
00へ出力されるべきデータ・アウト・レジスタ150,550
のパリティ・ビットとレシーバ141,541で受信したシス
テム・バス200上のパリティ・ビットとを比較する比較
回路である。
110 and 510 are the contents of the data section of the data out registers 150 and 550 to be output to the system bus 200 and the receiver 14
0,540 is a comparison circuit that compares the contents of the data part of the system bus 200 received.
Data out register 150,550 to be output to 00
2 is a comparison circuit for comparing the parity bit of the above with the parity bit on the system bus 200 received by the receivers 141 and 541.

151,551はデータ・イン・レジスタ(DIR)で、システ
ム・バス200から受信したデータを内部で使う場合には
そのデータ情報がこのレジスタに一時保持される。この
データ・イン・レジスタ151,551は、データ8ビットと
パリティ1ビットとに相当する容量を有するレジスタで
ある。なお、データ・イン・レジスタ151,551のデータ
を内部に取込むときは、上記パリティはパリティチェッ
ク回路100,500でチェックされると使用済みとなる。
151 and 551 are data-in registers (DIR). When the data received from the system bus 200 is used internally, the data information is temporarily held in this register. The data-in registers 151 and 551 are registers having a capacity corresponding to 8 bits of data and 1 bit of parity. When the data in the data-in registers 151 and 551 are taken in internally, the parity is used when checked by the parity check circuits 100 and 500.

120,520はデータビットの比較回路110,510の出力の有
効,無効を制御するアンド・ゲートであり、サービスプ
ロセッサ240からの制御信号CMPD0,CMPD1が“1"のとき有
効,“0"のとき無効に制御する。
120 and 520 are AND gates that control the validity and invalidity of the outputs of the data bit comparison circuits 110 and 510, and control them when the control signals CMPD0 and CMPD1 from the service processor 240 are “1” and invalid when they are “0”. .

121,521はパリティ・ビットの比較回路111,511の出力
の有効,無効を制御するアンド・ゲートであり、サービ
スプロセッサ240からの制御信号CMPP0,CMPP1が“1"のと
き有効,“0"のとき無効に制御する。
121 and 521 are AND gates that control the validity and invalidity of the outputs of the parity bit comparison circuits 111 and 511, and are valid when the control signals CMPP0 and CMPP1 from the service processor 240 are "1" and invalid when they are "0". To do.

122,522はアンド・ゲート120,520の出力とアンド・ゲ
ート121,521の出力とを論理和するオア・ゲートであ
る。
122 and 522 are OR gates that logically OR the outputs of the AND gates 120 and 520 and the outputs of the AND gates 121 and 521.

190はデータ処理装置210での比較エラー信号(オア・
ゲート122の出力)とデータ処理装置211での比較エラー
信号(オア・ゲート522の出力)とを論理和して、いず
れかのデータ処理装置が不正動作をしたことを示す信号
CMPERをサービスプロセッサ240に出力するオア・ゲート
である。
190 is a comparison error signal (OR
A signal that indicates that one of the data processing devices has performed an illegal operation by ORing the output of the gate 122) and the comparison error signal of the data processing device 211 (the output of the OR gate 522).
An OR gate that outputs CMPER to the service processor 240.

上記の各制御信号ENDT0,ENDT1,ENPT0,ENPT1,CMPD0,CM
PD1,CMPP0,CMPP1は、前述したようにサービスプロセッ
サ240から与えられるものであり、上記各制御信号の組
み合わせ例を第3図に示す。
Each of the above control signals ENDT0, ENDT1, ENPT0, ENPT1, CMPD0, CM
PD1, CMPP0 and CMPP1 are provided from the service processor 240 as described above, and an example of a combination of the above control signals is shown in FIG.

第3図において、ケース1とケース2が本発明方式を
実施する際の各制御信号の設定例であり、ケース3とケ
ース4は従来技術で説明した方式と同じように一方のデ
ータ処理装置がマスターとしてデータ及びパリティを出
力し、他方がチェッカーとしてデータとパリティとを比
較する方式を第2図のシステムで実現する際の各制御信
号の設定例であり、ケース5とケース6は試験,診断時
にロックを外してデータ処理装置を1台ずつ動作させて
テスト・プログラム等を実行させる際の各制御信号の設
定例である。なお、ケース5はデータ処理装置210オン
リーモード、ケース6はデータ処理装置211オンリーモ
ードである。以下、ケース1を例にして本発明の実施例
の動作を説明する。
In FIG. 3, Case 1 and Case 2 are examples of setting of each control signal when implementing the method of the present invention, and Case 3 and Case 4 are one of the data processing devices as in the method described in the prior art. 2 is a setting example of each control signal when the system of FIG. 2 implements a method of outputting data and parity as a master and comparing data and parity as a checker, and Case 5 and Case 6 are tests and diagnostics. It is an example of setting each control signal when the lock is released and the data processing devices are operated one by one to execute a test program or the like. Note that Case 5 is the data processing apparatus 210 only mode, and Case 6 is the data processing apparatus 211 only mode. Hereinafter, the operation of the embodiment of the present invention will be described by taking Case 1 as an example.

第2図においてサービスプロセッサ240からの制御信
号ENDT0が“1",制御信号ENDT1が“0"になることによっ
て、トライ・ステート・ドライバー130がイネーブル状
態、トライ・ステート・ドライバー530がディスエーブ
ル状態となり、データ処理装置210のデータ・アウト・
レジスタ150のデータ部の内容がシステム・バス200に出
力され、データ処理装置211のデータ・アウト・レジス
タ550のデータ部の内容はシステム・バス200に出力され
ないようになる。また、制御信号ENPT0が“0",制御信号
ENPT1が“1"になることによって、トライ・ステート・
ドライバー131がディスエーブル状態、トライ・ステー
ト・ドライバー531がイネーブル状態となり、データ処
理装置210のデータ・アウト・レジスタ150のパリティ・
ビットはシステム・バス200に出力されず、データ処理
装置211のデータ・アウト・レジスタ550のパリティ・ビ
ットがシステム・バス200に出力されるようになる。更
に、制御信号CMPD0が“0",制御信号CMPD1が“1"となる
ことにより、アンド・ゲート120が閉状態,アンド・ゲ
ート520が開状態となって、データ処理装置211のデータ
・アウト・レジスタ550のデータ部(システム・バス200
に出力されないデータ部)とシステム・バス200から取
込んだデータ部(データ処理装置210が送出したデータ
部)との比較を行なう比較回路510の出力が有効とな
り、制御信号CMPP0が“1",制御信号CMPP1が“0"になる
ことにより、アンド・ゲート121が開状態,アンド・ゲ
ート521が閉状態となって、データ処理装置210のデータ
・アウト・レジスタ150のパリティ・ビット(システム
・バス200に出力されないパリティ・ビット)とシステ
ム・バス200から取込んだパリティ・ビット(データ処
理装置211が送出したパリティ・ビット)との比較を行
なう比較回路110の出力が有効となる。即ち、ケース1
では、データ処理装置210がデータ部をシステム・バス2
00に出力して、内部のパリティ・ビットをシステム・バ
ス200のパリティ・ビット(実はデータ処理装置211の出
力)と比較し、他方、データ処理装置211はパリティ・
ビットをシステム・バス200に出力して、内部のデータ
部とシステム・バス200のパリティ・ビット(実はデー
タ処理装置210の出力)とを比較することになる。
In FIG. 2, when the control signal ENDT0 from the service processor 240 becomes "1" and the control signal ENDT1 becomes "0", the tri-state driver 130 is enabled and the tri-state driver 530 is disabled. , Data out of the data processor 210
The contents of the data part of the register 150 are output to the system bus 200, and the contents of the data part of the data out register 550 of the data processing device 211 are not output to the system bus 200. Also, the control signal ENPT0 is “0”, the control signal
By setting ENPT1 to “1”, tri-state
Driver 131 is disabled, tri-state driver 531 is enabled, and data processor 210 data out register 150 parity
No bits are output on the system bus 200, and the parity bits of the data out register 550 of the data processing unit 211 will be output on the system bus 200. Further, when the control signal CMPD0 is "0" and the control signal CMPD1 is "1", the AND gate 120 is closed and the AND gate 520 is opened, so that the data output of the data processing device 211 is out. Data part of register 550 (system bus 200
Output of the comparison circuit 510 for comparing the data portion not output to the device) and the data portion fetched from the system bus 200 (the data portion transmitted by the data processing device 210), the control signal CMPP0 becomes "1", When the control signal CMPP1 becomes “0”, the AND gate 121 is opened and the AND gate 521 is closed, so that the parity bit of the data out register 150 of the data processing device 210 (system bus The output of the comparison circuit 110, which compares the parity bit not output to 200) with the parity bit fetched from the system bus 200 (parity bit sent by the data processing device 211), becomes effective. That is, case 1
Then, the data processor 210 transfers the data part to the system bus 2
00 to compare the internal parity bit with the parity bit of the system bus 200 (actually the output of the data processing unit 211), while the data processing unit 211 outputs the parity bit.
The bits will be output to the system bus 200 and the internal data portion will be compared with the parity bits of the system bus 200 (actually the output of the data processor 210).

従って、データ処理装置210,211の何れか一方が不正
な動作を行ない、データ処理装置210のデータ・アウト
・レジスタ150のデータ部の値と、データ処理装置211の
データ部の値とが相違すると、データ処理装置211の比
較回路510で不一致が検出され、その不一致信号がアン
ド・ゲート520,オア・ゲート522,オア・ゲート190を介
して、信号CMRERとしてサービスプロセッサ240に通知さ
れ、サービスプロセッサ240においてデータ処理装置21
0,211のエラーリカバリ処理が行なわれることになる。
この場合、システム・バス200上にデータ処理装置211か
ら出力されたパリティ・ビットによってパリティ・エラ
ーが発生する確率は、第2図の実施例ではデータ8ビッ
トについて1ビットのパリティが付加されているので、
1/2となり、システム・バス200のデータを受信する例え
ば記憶装置220があたかも正しいデータとして処理する
確率も1/2にすることができる。
Therefore, if either one of the data processing devices 210 and 211 performs an illegal operation and the value of the data part of the data out register 150 of the data processing device 210 and the value of the data part of the data processing device 211 are different, A mismatch is detected by the comparison circuit 510 of the processing unit 211, and the mismatch signal is notified to the service processor 240 as a signal CMRER via the AND gate 520, the OR gate 522, and the OR gate 190, and the data is received by the service processor 240. Processor 21
The error recovery processing of 0,211 will be performed.
In this case, the probability that a parity error will occur due to the parity bit output from the data processor 211 on the system bus 200 is such that 1 bit parity is added to 8 bits of data in the embodiment of FIG. So
For example, the probability that the storage device 220 that receives the data on the system bus 200 will process it as correct data can also be halved.

前記ケース2は、ケース1とは逆に、データ処理装置
211がシステム・バス200上のデータ・ビットを分担し、
データ処理装置210がパリティ・ビットを分担する場合
であり、データ処理装置210,211の動作は上述したケー
ス1と互いに反対となる。
Contrary to case 1, case 2 is a data processing device.
211 shares the data bits on system bus 200,
This is the case where the data processing device 210 shares the parity bit, and the operations of the data processing devices 210 and 211 are opposite to those in case 1 described above.

以上の実施例は、各データ処理装置内のデータが8ビ
ットで、それに1ビットのパリティが付加された例を示
したが、一般に本発明はn×mビットのデータを扱い、
mビット毎に1ビットのパリティを付加したデータ形式
のデータ処理装置に対して適用可能である。
In the above embodiment, the data in each data processing device is 8 bits, and 1 bit parity is added to the data. However, in general, the present invention handles n × m bit data.
It is applicable to a data processing device of a data format in which 1-bit parity is added for every m bits.

第4図はデータ部が32ビットで、その各8ビット毎に
1ビットのパリティを付加したデータ形式のデータ処理
装置210′,211′に本発明を適用したものであり、400
(1),401(1)は1バイト目のデータとパリティを扱
うシステム・バス・インタフェイス部、400(2),401
(2)は2バイト目のデータとパリティを扱うシステム
・バス・インタフェイス部、400(3),401(3)は3
バイト目のデータとパリティを扱うシステム・バス・イ
ンタフェイス部、400(4),401(4)は4バイト目の
データとパリティを扱うシステム・バス・インタフェイ
ス部であり、各々第2図に示したシステム・バス・イン
タフェイス部と同様な構成を有するものである。また、
システム・バス200′は、1〜4バイト目のデータとパ
リティを伝える4組のバスから構成されており、第1図
のオア・ゲート190に相当するオア・ゲート410には各シ
ステム・バス・インタフェイス部における第1図のオア
・ゲート122に相当するオア・ゲートからの信号が加え
られている。このような構成では、何れかのデータ処理
装置210′,211′で不正動作が行なわれたときに、シス
テム・バス200′上のデータ形式でパリティ・エラーが
発生する確率は15/16となり、受信側で恰も正しいデー
タとして処理される確率を1/16にすることができる。
FIG. 4 shows that the present invention is applied to a data processing device 210 ', 211' of a data format in which the data part has 32 bits and 1 bit parity is added for each 8 bits.
(1), 401 (1) is a system bus interface section that handles the first byte data and parity, 400 (2), 401
(2) is the system bus interface that handles the second byte of data and parity, and 400 (3) and 401 (3) are 3
System bus interface section handling byte data and parity, 400 (4) and 401 (4) are system bus interface section handling 4th byte data and parity. It has the same configuration as the system bus interface section shown. Also,
The system bus 200 'is composed of four sets of buses for transmitting data of the first to fourth bytes and parity, and an OR gate 410 corresponding to the OR gate 190 in FIG. A signal from an OR gate corresponding to the OR gate 122 in FIG. 1 in the interface section is added. In such a configuration, the probability that a parity error will occur in the data format on the system bus 200 'is 15/16 when an illegal operation is performed in any of the data processing devices 210' and 211 '. The probability that the receiving side will process it as correct data can be reduced to 1/16.

〔発明の効果〕〔The invention's effect〕

以上説明したように、本発明は、ロックドプロセッサ
方式において、一方がデータ部を出力し、他方がパリテ
ィ部を出力するように構成し、且つ、互いに出力しない
データ部またはパリティ部を内部のデータ部またはパリ
ティ部と比較することにより、従来と同様に100%のエ
ラー検出率を達成しつつ、何れかのデータ処理装置で不
正動作が行なわれた際、バス上に出されたデータにパリ
ティ・エラーを発生させることができ、受信側で誤って
正しいデータとして処理される確率を低下させることが
できる。従って、不正動作時における再開始の可能性を
高めることができる効果がある。
As described above, according to the present invention, in the locked processor system, one is configured to output the data part and the other is configured to output the parity part, and the data part or the parity part that does not output each other is used as the internal data. By comparing with the parity part or the parity part, while achieving an error detection rate of 100% as in the conventional case, when an illegal operation is performed in any of the data processing devices, the parity output is performed on the data output on the bus. An error can be generated, and the probability that the data will be erroneously processed as correct data on the receiving side can be reduced. Therefore, there is an effect that it is possible to increase the possibility of restarting at the time of an illegal operation.

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

第1図はデータ処理装置内のシステム・バス・インタフ
ェイス部の構成例を示す本発明の実施例のブロック図、 第2図は本発明を適用したデータ処理装置を含むシステ
ム例のブロック図、 第3図は各種制御信号の設定例を示す図および、 第4図は本発明の別の実施例のブロック図である。 図において、100,500…パリティ・チェック回路、101,5
01…パリティ発生回路、150,550…データ・アウト・レ
ジスタ、110,111,510,511…比較回路、151,551…データ
・イン・レジスタ、120,121,520,521…アンド・ゲー
ト、122,522,190,410…オア・ゲート、130,131,530,531
…トライ・ステート・ドライバー、140,141,540,541…
レシーバ、200,200′…システム・バス、210,211,21
0′,211′…データ処理装置、220…記憶装置、230,231
…入出力制御装置、240…サービスプロセッサ。
FIG. 1 is a block diagram of an embodiment of the present invention showing a configuration example of a system bus interface section in a data processing device, and FIG. 2 is a block diagram of an example system including a data processing device to which the present invention is applied. FIG. 3 is a diagram showing an example of setting various control signals, and FIG. 4 is a block diagram of another embodiment of the present invention. In the figure, 100,500 ... Parity check circuit, 101,5
01 ... parity generation circuit, 150,550 ... data out register, 110,111,510,511 ... comparison circuit, 151,551 ... data in register, 120,121,520,521 ... and gate, 122,522,190,410 ... or gate, 130,131,530,531
… Tri-state drivers, 140,141,540,541…
Receiver, 200,200 '... System bus, 210,211,21
0 ', 211' ... Data processing device, 220 ... Storage device, 230, 231
... I / O controller, 240 ... Service processor.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】2台のデータ処理装置を同一のバスに接続
して同時に同一の処理を実行せしめて動作チェックする
ロックドプロセッサ方式において、 前記2台のデータ処理装置の各々に、 データ処理装置内のパリティ付データのデータ部のみを
選択的に前記バスに出力する第1の選択手段と、 前記パリティ付データのパリティ部のみを選択的に前記
バスに出力する第2の選択手段と、 前記バス上のデータ部を受信し、該受信データ部と前記
データ処理装置内のパリティ付データのデータ部とを比
較する第1の比較手段と、 該第1の比較手段の有効,無効を制御する第1の制御手
段と、 前記バス上のパリティ部を受信し、該受信パリティ部と
前記データ処理装置内のパリティ付データのパリティ部
とを比較する第2の比較手段と、 該第2の比較手段の有効,無効を制御する第2の制御手
段とを設け、且つ、 一方のデータ処理装置がデータ部を前記バスに出力する
ときには他方のデータ処理装置はパリティ部を前記バス
に出力するように前記第1および第2の選択手段が制御
され、更に、 各々のデータ処理装置は、前記バスに自らが出力しない
データ部もしくはパリティ部と、前記バス上のデータ部
もしくはパリティ部とを比較するように前記第1および
第2の制御手段が設定され、 いずれかのデータ処理装置で比較不一致が検出されたと
き、いずれかのデータ処理装置が不正動作をしたことを
示す信号を発生するように構成されたことを特徴とする
ロックドプロセッサ方式。
1. A locked processor system in which two data processing devices are connected to the same bus to execute the same processing at the same time to perform an operation check, wherein each of the two data processing devices has a data processing device. First selecting means for selectively outputting only the data part of the data with parity in the bus to the bus, and second selecting means for selectively outputting only the parity part of the data with parity to the bus, First comparing means for receiving the data part on the bus and comparing the received data part with the data part of the data with parity in the data processing device, and controlling the validity / invalidity of the first comparing means. First control means, second comparing means for receiving the parity part on the bus and comparing the received parity part with the parity part of the data with parity in the data processing device; and the second ratio means. Second control means for controlling the validity and invalidity of the comparing means are provided, and when one data processing device outputs a data part to the bus, the other data processing device outputs a parity part to the bus. The first and second selection means are controlled by each of the data processing devices, and each data processing device compares a data part or a parity part which the data output device does not output to the bus with a data part or a parity part on the bus. The first and second control means are set so that when any one of the data processing devices detects a comparison mismatch, it generates a signal indicating that one of the data processing devices has performed an illegal operation. Locked processor method characterized by being configured.
JP61126787A 1986-05-31 1986-05-31 Locked processor method Expired - Lifetime JPH0831049B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61126787A JPH0831049B2 (en) 1986-05-31 1986-05-31 Locked processor method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61126787A JPH0831049B2 (en) 1986-05-31 1986-05-31 Locked processor method

Publications (2)

Publication Number Publication Date
JPS62284438A JPS62284438A (en) 1987-12-10
JPH0831049B2 true JPH0831049B2 (en) 1996-03-27

Family

ID=14943926

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61126787A Expired - Lifetime JPH0831049B2 (en) 1986-05-31 1986-05-31 Locked processor method

Country Status (1)

Country Link
JP (1) JPH0831049B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0792764B2 (en) * 1988-05-25 1995-10-09 日本電気株式会社 Microprocessor
JP2559531B2 (en) * 1990-10-18 1996-12-04 富士通株式会社 Redundant system error check circuit
JPH04111630U (en) * 1991-03-13 1992-09-29 横河電機株式会社 microprocessor device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4541094A (en) * 1983-03-21 1985-09-10 Sequoia Systems, Inc. Self-checking computer circuitry

Also Published As

Publication number Publication date
JPS62284438A (en) 1987-12-10

Similar Documents

Publication Publication Date Title
US6584526B1 (en) Inserting bus inversion scheme in bus path without increased access latency
US6823476B2 (en) Mechanism to improve fault isolation and diagnosis in computers
JPH06337820A (en) Mechanism and method for detection and recovery of error in multiple bus system
JP2968251B2 (en) How to detect a bus driver when an error occurs on a clock synchronous bus
JPH0831049B2 (en) Locked processor method
US4410988A (en) Out of cycle error correction apparatus
JPH036141A (en) Fail-safe remote control system
JPS6235144B2 (en)
JPS62293441A (en) Data outputting system
JPH0316655B2 (en)
US5182754A (en) Microprocessor having improved functional redundancy monitor mode arrangement
JPH03209523A (en) Detection system for error of instruction data
JP2559531B2 (en) Redundant system error check circuit
JPH07160587A (en) Multiplexed memory device
JPS5812062A (en) Output device for parallel electronic computer system
JPS63115240A (en) Fault detecting system
JPH04304541A (en) Bus interface circuit
JP3497045B2 (en) Information processing equipment
JPS5930125A (en) Input and output processing device
JPS6029413B2 (en) Arithmetic circuit error checking method
GB2027958A (en) Microprogrammed control unit
JPH05158820A (en) Bus controlling system
JPH01277951A (en) Data transfer equipment
JPH05265875A (en) Data deformation preventing system
JPH0498326A (en) Microprocessor

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term