JPH01246639A - Comparison error detection control circuit - Google Patents

Comparison error detection control circuit

Info

Publication number
JPH01246639A
JPH01246639A JP63077139A JP7713988A JPH01246639A JP H01246639 A JPH01246639 A JP H01246639A JP 63077139 A JP63077139 A JP 63077139A JP 7713988 A JP7713988 A JP 7713988A JP H01246639 A JPH01246639 A JP H01246639A
Authority
JP
Japan
Prior art keywords
parity
error
comparison
internal bus
register
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
JP63077139A
Other languages
Japanese (ja)
Inventor
Shinji Ueno
上野 伸二
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 JP63077139A priority Critical patent/JPH01246639A/en
Publication of JPH01246639A publication Critical patent/JPH01246639A/en
Pending legal-status Critical Current

Links

Landscapes

  • Hardware Redundancy (AREA)

Abstract

PURPOSE:To correctly detect error by using a microprogram and an error detection start control circuit and starting comparison after termination of initialization of the internal state of a dual system. CONSTITUTION:Data on an internal bus 43 is set to an internal bus register 1, and parity of the output is generated by a parity generating part 2. Internal bus parity generated by the other arithmetic processing device in the same manner is inputted from an external terminal 13 and is compared with said parity by a parity comparing part 3. Since comparison is always performed, comparison error occurs when the internal state is not initialized yet just after system rise. For the purpose of preventing this error, an initializing microprogram is started after system rise and an error detection start instruction is stored in a register 4 after initialization and is decoded by a decoding part 5.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はコンピュータシステムにおける演算処理装置の
2重化されたシステムの比較エラーの報告に関するもの
である。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to reporting of comparison errors in a duplicate system of arithmetic processing units in a computer system.

〔従来の技術〕[Conventional technology]

従来の技術としてのシステムの信頼性をあげるための演
算処理装置の2重化システムにおいては、レジスタ及び
演算器を接続する内部バスの比較により演算結果の照合
を行なってエラーを検出していた。その内部バスの比較
の方法は、第4図に示すように、外部のEPU41より
入力するデータと、内部バスレジスタ42に格納されて
いる内部バス43上のデータの各ビットの排他的論理和
の否定をゲート19でとり、異なる値をもつビットのあ
る場合、ANDゲート20を介してエラーレジスタ8に
報告していた。
In a conventional dual arithmetic processing unit system for increasing system reliability, errors are detected by comparing arithmetic results by comparing internal buses connecting registers and arithmetic units. As shown in FIG. 4, the method for comparing the internal buses is the exclusive OR of each bit of the data input from the external EPU 41 and the data on the internal bus 43 stored in the internal bus register 42. Negation is taken at gate 19, and if there are bits with different values, it is reported to error register 8 via AND gate 20.

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

上述した内部バスのデータの比較においては、システム
立上げ直後より常時比較しているので、演算処理装置内
部のレジスタおうち初期化がおこなわれていないものが
存在し、それが内部バスへ出力されている場合に、内部
バスパリティの比較エラーを検出してエラーレジスタに
報告してしまうという欠点があった。
In the above-mentioned comparison of internal bus data, since it is constantly compared immediately after system startup, there are some registers inside the arithmetic processing unit that have not been initialized, and these are output to the internal bus. However, there is a drawback in that when the internal bus parity comparison error is detected and reported to the error register.

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

本発明の内部バスパリティの比較検出制御回路は、内部
バスのデータパリティのみ比較するためのパリティ生成
回路と、外部の演算処理装置の内部バスデータのパリテ
ィを比較するパリティコンベア部と、エラー検出制御に
マイクロプログラム制御を行なう際のマイクロ命令を格
納するレジスタと、そのマイクロ命令を解読するデコー
ダと、その解読の結果、内部バスパリティの比較を開始
する命令であった時にその制御信号を生成するエラー検
出開始制御部と、その制御信号を基に内部バスパリティ
の比較エラー結果をエラーレジスタに報告する手段及び
エラーレジスタを有している。
The internal bus parity comparison detection control circuit of the present invention includes a parity generation circuit for comparing only the data parity of the internal bus, a parity conveyor section for comparing the parity of internal bus data of an external arithmetic processing unit, and an error detection control circuit. A register that stores microinstructions for microprogram control, a decoder that decodes the microinstructions, and an error that generates a control signal when the decoding results in an instruction that starts internal bus parity comparison. It has a detection start control section, a means for reporting an internal bus parity comparison error result to an error register based on the control signal thereof, and an error register.

〔実施例〕〔Example〕

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

第1図は本発明の一実施例のブロック図である。内部バ
ス43上のデータは内部バスレジスタ1にセットされ、
その出力のパリティをパリティ生成部2により生成する
。同様にして、他方の演算処理装置で生成された内部バ
スパリティが外部端子13より入力され、パリティコン
ベア部3で比較チェックされる。ここで、2重化システ
ムのエラーは、装置の片方で検出すればよいので、スレ
ーブ側が検出することにすると、第2図のパリティコン
ベア部の具体例で示すように、2重化システムのスレー
ブであることを示す信号S。
FIG. 1 is a block diagram of one embodiment of the present invention. The data on the internal bus 43 is set in the internal bus register 1,
The parity generation unit 2 generates the parity of the output. Similarly, the internal bus parity generated by the other arithmetic processing unit is inputted from the external terminal 13 and compared and checked by the parity conveyor section 3. Here, errors in the duplex system only need to be detected on one side of the device, so if we decide to detect it on the slave side, as shown in the specific example of the parity conveyor section in Figure 2, the slave side of the duplex system A signal S indicating that

S′で対応するパリティのコンベアの結果であるEXN
ORゲート14の出力を、ANDゲート7をとおして制
御する。また、スレーブ側はマスター側へ比較データパ
リティを出力することがないので、出力ドライバ12を
ディセーブルにする。
EXN which is the result of the conveyor of parity corresponding to S'
The output of OR gate 14 is controlled through AND gate 7. Furthermore, since the slave side does not output comparison data parity to the master side, the output driver 12 is disabled.

比較は常時性なわれているため、システム立上げ直後、
内部の初期化がおこなわれていない場合には、比較エラ
ーが起こってしまう。
Since the comparison is constant, immediately after starting the system,
If internal initialization is not performed, a comparison error will occur.

本実施例においては、それを防ぐため、比較エラー検出
開始の制御に、マイクロプログラム制御をおこなってい
る。システム立上げ後、初期化マイクロブロウラムが起
動され、システム内部のレジスタの初期化が終了後、エ
ラー検出開始のマイクロ命令が第1図のレジスタ4に格
納され、マイクロ命令デコード部もで解読される。
In this embodiment, in order to prevent this, microprogram control is performed to control the start of comparison error detection. After the system is started up, the initialization microprogram is started, and after the initialization of the system's internal registers is completed, the microinstruction to start error detection is stored in register 4 in Figure 1, and is decoded by the microinstruction decoder. Ru.

次に、第3図に、エラー検出開始制御部とエラーレジス
タにセットされるまでの具体例を示す。
Next, FIG. 3 shows a specific example of the error detection start control section and the process up to setting the error register.

F/F−17は、比較エラー検出開始の命令によって、
マイクロ命令デコード部5によって生成した信号を、そ
れ以降保持するためのもので、システムリセット時にク
リアされる。ANDゲート7はパリティコンベア部の出
力が1′である場合、エラーレジスタ18に1′をセッ
トしてエラーを報告するが、その時、F/F 17の出
力が0の場合、すなわちマイクロ命令のエラー検出開始
命令がきられていない場合には、エラー報告を無効とす
る。
F/F-17 is instructed to start comparison error detection.
It is used to hold the signal generated by the microinstruction decoding unit 5 from then on, and is cleared when the system is reset. If the output of the parity conveyor section is 1', the AND gate 7 sets 1' in the error register 18 and reports an error, but at that time, if the output of the F/F 17 is 0, that is, it is a microinstruction error. If the detection start command has not been issued, the error report is invalidated.

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

以上説明したように本発明は、演算処理装置の2重化シ
ステムで内部状態を比較する際に、マイクロプログラム
とエラー検出開始制御回路を用いることで、内部状態の
初期化が終了した後、比較の開始を行ない正しくエラー
を検出する事ができる効果がある。
As explained above, the present invention uses a microprogram and an error detection start control circuit when comparing internal states in a duplex system of arithmetic processing units, so that the comparison can be made after the initialization of the internal states is completed. This has the effect of correctly detecting errors.

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

第1図は本発明の一実施例のブロック図、第2図は内部
バスパリティコンベア部の具体例の回路図、第3図はマ
イクロ命令格納レジスタよりエラーレジスタまでの具体
例の回路図、第4図は従来の2重化システムの比較エラ
ー検出回路である。 1・・・内部バスレジスタ、2・・・パリティ生成部、
3・・・内部バスパリティコンベア部、4・・・マイク
ロ命令格納レジスタ、5・・・マイクロ命令デコード部
、6・・・比較エラー検出開始制御部、7・・・AN 
Dゲート、8・・・エラーレジスタ(18・・・内部バ
スバリティ比較エラ一対応ビットのD−F/F)、9・
・・内部に接続するレジスタ群、10・・・ALU、1
2・・・出力ドライバ、13・・・外部接続端子、14
・・・EXNORゲート、15・・・ジャンプタグ(第
3図のANDゲート7の入力)、16・・・ORゲート
、17・・・制御信号を保持するマスクリセット付り−
フリップフロップ、19・・・EXNORゲート、20
・・・ANDゲート。
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a circuit diagram of a specific example of the internal bus parity conveyor section, FIG. 3 is a circuit diagram of a specific example from the microinstruction storage register to the error register, and FIG. FIG. 4 shows a comparison error detection circuit of a conventional duplex system. 1... Internal bus register, 2... Parity generation section,
3... Internal bus parity conveyor unit, 4... Micro instruction storage register, 5... Micro instruction decoding unit, 6... Comparison error detection start control unit, 7... AN
D gate, 8...Error register (18...D-F/F of internal bus parity comparison error-corresponding bit), 9.
...Register group connected internally, 10...ALU, 1
2... Output driver, 13... External connection terminal, 14
... EXNOR gate, 15 ... Jump tag (input of AND gate 7 in Figure 3), 16 ... OR gate, 17 ... With mask reset to hold control signal -
Flip-flop, 19...EXNOR gate, 20
...AND gate.

Claims (1)

【特許請求の範囲】[Claims]  2台のデータ処理装置を設けて同時に同一の処理を実
行せしめて動作チェックを行なうデータ処理装置におい
て、前記データ処理装置の内部バス上のデータを格納す
るレジスタと、そのパリティ生成部と該パリティ生成出
力を他方のデータ処理装置の内部バスパリテイとの間で
比較する内部バスパリティコンベア部と、マイクロ命令
格納レジスタと、マイクロ命令デコード部と、デコード
された命令が内部バスパリティ比較のエラー検出を有効
とさせる命令である時に比較開始の制御信号を生成する
手段と、その比較エラーの報告を制御する手段と、その
エラー報告をうけるエラーレジスタとを含んで構成され
る事を特徴とする比較エラー検出制御回路。
In a data processing apparatus in which two data processing apparatuses are provided and the same processing is executed simultaneously to perform an operation check, a register for storing data on an internal bus of the data processing apparatus, a parity generation unit thereof, and the parity generation unit are provided. An internal bus parity conveyor unit that compares the output with the internal bus parity of the other data processing device, a microinstruction storage register, a microinstruction decode unit, and a microinstruction decode unit that enables error detection of the internal bus parity comparison of the decoded instructions. A comparison error detection control comprising: means for generating a control signal for starting a comparison when an instruction is issued to cause a comparison error; means for controlling reporting of a comparison error; and an error register for receiving the error report. circuit.
JP63077139A 1988-03-29 1988-03-29 Comparison error detection control circuit Pending JPH01246639A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63077139A JPH01246639A (en) 1988-03-29 1988-03-29 Comparison error detection control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63077139A JPH01246639A (en) 1988-03-29 1988-03-29 Comparison error detection control circuit

Publications (1)

Publication Number Publication Date
JPH01246639A true JPH01246639A (en) 1989-10-02

Family

ID=13625471

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63077139A Pending JPH01246639A (en) 1988-03-29 1988-03-29 Comparison error detection control circuit

Country Status (1)

Country Link
JP (1) JPH01246639A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009016705A1 (en) * 2007-07-27 2009-02-05 Fujitsu Limited Communication device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009016705A1 (en) * 2007-07-27 2009-02-05 Fujitsu Limited Communication device

Similar Documents

Publication Publication Date Title
JP3176093B2 (en) Microprocessor interrupt controller
KR900002604B1 (en) Restoring method and apparatus for the error of processor
EP0461792B1 (en) Master/slave checking system
JPH0689201A (en) Microprocessor having run/stop pin for accessing idle mode and operating method thereof
EP0010123B1 (en) Paging control store data processing apparatus
JPH01246639A (en) Comparison error detection control circuit
JPH04248629A (en) Arithmetic processing system
JPH0147818B2 (en)
JPS6158051A (en) False trouble generating system
SU959079A1 (en) Multiprogram control device
JPH05100883A (en) Semiconductor device for processing data
JP3114909B2 (en) Calculation error processing method of programmable controller
JP3171615B2 (en) Data transfer retry control method
JP2716274B2 (en) In-circuit emulator
JPS6278630A (en) Information processor
JPS58129555A (en) Microprogram control device
JPS62272326A (en) Microprogram controller
JPH06250857A (en) Microcomputer
JPH0772869B2 (en) Data processing device
JPS60101649A (en) Diagnosis device of electronic computer
JPS6051135B2 (en) Instruction word verification method by adding parity bits
JPH0797326B2 (en) Information processing equipment
JPH02150933A (en) Debug controller
JPH06208461A (en) Microprocessor
JPS62272327A (en) Microprogram controller