JP2507969B2 - Parity error detection method test method - Google Patents

Parity error detection method test method

Info

Publication number
JP2507969B2
JP2507969B2 JP5184719A JP18471993A JP2507969B2 JP 2507969 B2 JP2507969 B2 JP 2507969B2 JP 5184719 A JP5184719 A JP 5184719A JP 18471993 A JP18471993 A JP 18471993A JP 2507969 B2 JP2507969 B2 JP 2507969B2
Authority
JP
Japan
Prior art keywords
parity
test
bus
parity error
communication
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 - Fee Related
Application number
JP5184719A
Other languages
Japanese (ja)
Other versions
JPH0744409A (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
Nippon Electric Co Ltd
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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP5184719A priority Critical patent/JP2507969B2/en
Publication of JPH0744409A publication Critical patent/JPH0744409A/en
Application granted granted Critical
Publication of JP2507969B2 publication Critical patent/JP2507969B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はパリティエラー検出手段
の試験方式に関し、特に二重化構成プロセッサのバス交
差手段におけるパリティエラー検出手段の試験方式に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a test method for parity error detection means, and more particularly to a test method for parity error detection means in bus crossing means of a duplex processor.

【0002】[0002]

【従来の技術】二重化構成のプロセッサのバス交差手段
において、交差信号線にパリティを付与してパリティエ
ラーを検出する手段の正常性を試験する方式は、従来
は、CPUからの指示でファームウェア制御されるマイ
クロプロセッサにより疑似パリティエラーを発生させる
等の複雑な処理を必要としていた。また、試験アクセス
時に、本来の運用のための通常アクセスを停止するため
の手順と制約が不可欠であった。
2. Description of the Related Art In a bus crossing means of a dual processor, a method for testing the normality of a means for applying a parity to a crossing signal line and detecting a parity error is conventionally controlled by firmware from an instruction from a CPU. It requires complicated processing such as generation of pseudo parity error by the microprocessor. Moreover, at the time of test access, the procedure and restrictions for stopping the normal access for the original operation were indispensable.

【0003】[0003]

【発明が解決しようとする課題】この従来のパリティエ
ラー検出手段の試験方式では、試験機能以外には不要な
マイクロプロセッサ及びその周辺手段を持つため、ハー
ドウェア量が増大し、試験アクセス時には通常アクセス
を停止させる必要が有るため、搭載するソフトウェアが
煩雑で開発量が増大するという問題点が有った。
In the conventional test method of the parity error detecting means, since the microprocessor and unnecessary peripheral means other than the test function are provided, the amount of hardware increases, and the normal access is made during the test access. Therefore, there is a problem that the installed software is complicated and the development amount increases.

【0004】[0004]

【課題を解決するための手段】本発明のパリティエラー
検出手段の試験方式は、各プロセッサの内部バスに接続
して二重化構成の他方のプロセッサと通信する、二重化
構成のプロセッサのバス交差手段において、バス交差手
段間の通常通信にパリティを付与する機能及びプロセッ
サ内部バスからの通常通信とパリティエラー検出手段の
試験用通信とを識別する機能を有するアクセス判定手段
と、前記アクセス判定手段の判定結果を受けて試験用デ
ータを発生させる手段と、前記試験用データに通常のデ
ータパリティとは反転したパリティを付与するパリティ
反転手段と、前記アクセス判定手段の判定結果を受け
て、前記アクセス判定手段からの通常通信と前記パリテ
ィ反転手段からの試験用データとの一方を選択して二重
化構成の他方のバス交差手段に情報を送出するセレクタ
手段と、他方のバス交差手段から送出される情報のパリ
ティをチェックし、エラーを検出する機能及びパリティ
エラーを他方のバス交差手段に通知する機能を有するパ
リティエラー検出手段とを具備している。
The test method of the parity error detecting means of the present invention is a bus crossing means of a dual processor, which is connected to an internal bus of each processor and communicates with the other processor of the dual structure. Access determining means having a function of giving parity to normal communication between the bus crossing means and a function of distinguishing normal communication from the processor internal bus and test communication of the parity error detecting means; and a judgment result of the access judging means. A means for receiving and generating test data, a parity inverting means for giving the test data a parity that is the inverse of the normal data parity, and a decision result from the access deciding means, One of the normal communication and the test data from the parity inverting means is selected to provide the other bus of the duplex configuration. Parity error detection having a selector means for sending information to the difference means, a function for checking the parity of the information sent from the other bus crossing means and detecting an error, and a function for notifying the other bus crossing means of a parity error. And means.

【0005】[0005]

【作用】バス交差手段に設けたアクセス判定手段がプロ
セッサ内部バスからの通信が通常の通信かパリティエラ
ー検出手段の試験用通信であるかを判定し、その判定結
果を受けて、試験用データを発生させまた試験用の反転
パリティを付与し、試験用情報として他方のバス交差手
段のパリティエラー検出手段に送出し、他方のパリティ
エラー検出手段の試験を行う。
The access judging means provided in the bus crossing means judges whether the communication from the processor internal bus is the normal communication or the test communication of the parity error detecting means, and the test data is received based on the judgment result. The parity is generated and added with the inverted parity for the test, and sent as the test information to the parity error detecting means of the other bus crossing means to test the other parity error detecting means.

【0006】[0006]

【実施例】次に本発明について図面を参照して説明す
る。
The present invention will be described below with reference to the drawings.

【0007】図1は本発明の一実施例のパリティエラー
検出手段の試験方式のブロック図である。本実施例で
は、図1の全体であるところの二重化構成のプロセッサ
のバス交差手段2及び5の間で、バス交差手段2からバ
ス交差手段5に向かって行われる通信のパリティエラー
検出手段55の正常性試験を対象として説明するが、逆
にバス交差手段5からバス交差手段2に向って行われる
通信のパリティーエラー検出手段25の場合も同様であ
る。
FIG. 1 is a block diagram of a test system for a parity error detecting means according to an embodiment of the present invention. In the present embodiment, the parity error detecting means 55 of the communication performed from the bus crossing means 2 toward the bus crossing means 5 between the bus crossing means 2 and 5 of the processor of the duplex configuration which is the whole of FIG. Although the normality test will be described as an object, the same applies to the case of the parity error detecting means 25 of the communication performed from the bus crossing means 5 to the bus crossing means 2 on the contrary.

【0008】CPU1またはI/O装置3から他方のプ
ロセッサのCPU4またはI/O装置6に向けて送出さ
れる通信は、プロセッサ内部バス100を経て、バス交
差手段2のアクセス判定手段21に入力する。あらかじ
め、通信内容のうちの特定部分の情報を通常の通信の場
合とパリティエラー検出手段試験用の通信の場合とで異
なる設定に取り決めておく。このパリティエラー検出手
段試験用通信を受信した場合、アクセス判定手段21は
これを識別し、試験用通信データ発生手段22とパリテ
ィ反転手段24とセレクタ手段23に試験用通信送信指
示信号線201を通して、試験用通信の送信を指示す
る。
Communications sent from the CPU 1 or I / O device 3 to the CPU 4 or I / O device 6 of the other processor are input to the access determination means 21 of the bus crossing means 2 via the processor internal bus 100. . In advance, information about a specific portion of the communication content is set to have different settings for normal communication and communication for testing the parity error detecting means. When this parity error detection means test communication is received, the access determination means 21 identifies this, and the test communication data generation means 22, parity inversion means 24, and selector means 23 pass through the test communication transmission instruction signal line 201, Instruct to send test communication.

【0009】試験用通信データ発生手段22には、事前
に、試験用通信の開始データを設定しておき、試験用通
信送信指示を受けた試験用通信データ発生手段22は、
まず、一回目の試験用通信に対しては、この開始データ
を出力する。その後、試験用通信送信指示を受ける度
に、データを1ビット左にシフトして送出し、試験用通
信の度にデータを変化させる。
In the test communication data generating means 22, the start data of the test communication is set in advance, and the test communication data generating means 22 which has received the test communication transmission instruction,
First, the start data is output for the first test communication. After that, each time the test communication transmission instruction is received, the data is shifted to the left by one bit and transmitted, and the data is changed each time the test communication is performed.

【0010】試験用通信送信指示信号線201により、
試験用通信送信指示を受けたパリティ反転手段24は試
験用通信データ発生手段22からの出力である試験用通
信データに正常時の通信データに付与するパリティとは
逆の極性のパリティを付与して、セレクタ手段23に送
出する。
By the test communication transmission instruction signal line 201,
Upon receiving the test communication transmission instruction, the parity inverting means 24 adds parity to the test communication data output from the test communication data generating means 22 with a polarity opposite to that of the parity to be added to the normal communication data. , To the selector means 23.

【0011】セレクタ手段23は通常はアクセス判定手
段21から受信する通常の通信を選択して、二重化構成
をなす他方のプロセッサのバス交差手段5に対して送信
する。試験用通信送信指示信号線201により、試験用
通信送信指示を受けたセレクタ23は、パリティ反転手
段24から受信した正常時の通信データに付与するパリ
ティとは逆の極性のパリティを付与された試験用通信デ
ータを選択して、二重化構成をなす他方のプロセッサの
バス交差手段5に対して送信する。
The selector means 23 normally selects the normal communication received from the access determination means 21 and transmits it to the bus crossing means 5 of the other processor which constitutes the duplex configuration. The selector 23, which has received the test communication transmission instruction through the test communication transmission instruction signal line 201, is given a parity having a polarity opposite to that of the parity given to the normal communication data received from the parity inverting means 24. The communication data for use is selected and transmitted to the bus crossing means 5 of the other processor having the duplex configuration.

【0012】二重化構成をなす他方のプロセッサのバス
交差手段2から試験用通信データを受信したバス交差手
段5の内部のパリティエラー検出手段55はバス交差信
号線300を通して受信した受信データのパリティをチ
ェックし、正常であれば、パリティエラーを送信側のバ
ス交差手段2に通知する。バス交差手段2は二重化構成
をなす他方のプロセッサのバス交差手段5からのパリテ
ィエラー通知を受けた場合、試験通信の正常を表示す
る。また、パリティエラーとなるべき試験用通信を送出
したにも関わらず、正常終了が通知された場合、パリテ
ィエラー検出手段の異常を表示する。
The parity error detecting means 55 inside the bus crossing means 5 which has received the test communication data from the bus crossing means 2 of the other processor forming the duplex configuration checks the parity of the received data received through the bus crossing signal line 300. If it is normal, a parity error is notified to the bus crossing means 2 on the transmitting side. When the bus crossing means 2 receives the parity error notification from the bus crossing means 5 of the other processor having the duplicated configuration, the bus crossing means 2 displays the normality of the test communication. Further, when the normal end is notified although the test communication which should be a parity error is sent, the abnormality of the parity error detecting means is displayed.

【0013】尚、プロセッサ内部バス100を通してパ
リティエラー検出手段試験用通信を受信してから他方の
プロセッサからのパリティエラーまたは正常終了の通知
により試験用通信が完了するまでに、バス交差手段は他
の通信を受信した場合、ビジー応答を送信元に返送する
ことで、試験用通信以外の正常応答が期待される通信に
対してパリティエラーが通知されることはない。
It should be noted that, after the parity error detecting means test communication is received through the processor internal bus 100 until the test communication is completed by the notification of the parity error or the normal end from the other processor, the bus crossing means is not When the communication is received, the busy response is returned to the transmission source, so that the parity error is not notified to the communication other than the test communication for which a normal response is expected.

【0014】[0014]

【発明の効果】以上説明したように本発明は、二重化構
成のプロセッサシステムにおいて、各プロセッサの内部
バスに接続して二重化構成の他方のプロセッサと通信す
るバス交差手段が、通常の通信と通信内容を異ならせた
パリティエラー検出手段試験用に定義されたプロセッサ
内部バスの試験用通信と通常の通信とを識別するアクセ
ス判定手段と、アクセス判定手段の識別結果を受けて試
験用のデータを発生させる手段と、この試験用データに
通常データパリティとは反転したパリティを付与する手
段と、前記アクセス判定手段の識別結果を受けてプロセ
ッサ内部バスからの通信と試験用データとの一方を選択
して二重化構成の他方のプロセッサに送出するセレクタ
手段とを具備しているので、試験機能以外には不要なマ
イクロプロセッサ及びその周辺手段を必要とせず、試験
アクセス時に通常アクセスを停止させる必要がないた
め、少ないハードウェア量で、ソフトウェアの開発がし
やすい、高信頼なプロセッサシステムを実現できる。
As described above, according to the present invention, in a dual processor system, the bus crossing means for connecting to the internal bus of each processor and communicating with the other processor of the dual structure has normal communication and communication content. Parity error detecting means different from each other, access determining means for distinguishing between test communication and normal communication of the processor internal bus defined for testing, and test data is generated in response to the identification result of the access determining means. Means, a means for giving the test data parity that is the inverse of the normal data parity, and one of the communication from the processor internal bus and the test data selected in response to the identification result of the access determination means for duplication. Since it has a selector means for sending it to the other processor of the configuration, it is a microprocessor unnecessary for other than the test function. Beauty without requiring its peripheral means, since it is not necessary to stop the normal access during the test access, a small amount of hardware, easier to develop software capable of realizing a highly reliable processor system.

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

【図1】本発明の一実施例のブロック図。FIG. 1 is a block diagram of an embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1、4 CPU 2、5 バス交差手段 3、6 I/O 21、51 アクセス判定手段 22、52 試験用通信データ発生手段 23、53 セレクタ手段 24、54 パリティ反転手段 25、51 パリティエラー検出手段 100、400 プロセッサ内部バス 201、501 試験用通信送信指示信号線 202、502 試験用通信データ信号線 203、503 通常通信データ信号線 300 バス交差信号線 1, 4 CPU 2, 5 Bus crossing means 3, 6 I / O 21, 51 Access determination means 22, 52 Test communication data generation means 23, 53 Selector means 24, 54 Parity inversion means 25, 51 Parity error detection means 100 , 400 Processor internal bus 201, 501 Test communication transmission instruction signal line 202, 502 Test communication data signal line 203, 503 Normal communication data signal line 300 Bus crossing signal line

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 各プロセッサの内部バスに接続して二重
化構成の他方のプロセッサと通信する、二重化構成のプ
ロセッサのバス交差手段において、 バス交差手段間の通常通信にパリティを付与する機能及
びプロセッサ内部バスからの通常通信とパリティエラー
検出手段の試験用通信とを識別する機能を有するアクセ
ス判定手段と、 前記アクセス判定手段の判定結果を受けて試験用データ
を発生させる手段と、 前記試験用データに通常のデータパリティとは反転した
パリティを付与するパリティ反転手段と、 前記アクセス判定手段の判定結果を受けて、前記アクセ
ス判定手段からの通常通信と前記パリティ反転手段から
の試験用データとの一方を選択して二重化構成の他方の
バス交差手段に情報を送出するセレクタ手段と、 他方のバス交差手段から送出される情報のパリティをチ
ェックし、エラーを検出する機能及びパリティエラーを
他方のバス交差手段に通知する機能を有するパリティエ
ラー検出手段とを具備することを特徴とする二重化構成
のプロセッサシステムにおけるパリティエラー検出手段
の試験方式。
1. A function of adding parity to normal communication between bus crossing means in a bus crossing means of a duplicated processor, which is connected to an internal bus of each processor and communicates with another processor in a duplicated structure, and the inside of the processor. Access determining means having a function of distinguishing normal communication from the bus and test communication of the parity error detecting means, means for generating test data in response to the determination result of the access determining means, and the test data Parity inversion means for giving parity inverted to normal data parity, and one of the normal communication from the access determination means and the test data from the parity inversion means in response to the determination result of the access determination means. Selector means for selecting and transmitting information to the other bus crossing means of the duplex configuration, and the other bus crossing means And a parity error detecting means having a function of checking the parity of information transmitted from the device and detecting an error and a function of notifying the other bus crossing means of a parity error. Test method for parity error detection means.
【請求項2】 前記試験用データーを発生する手段は、
前記アクセス判定手段からの判定結果を受ける度にデー
タの“1”のビット位置をシフトさせ、また追加、削除
させる機能を備えることを特徴とする請求項1記載のパ
リティエラー検出手段の試験方式。
2. The means for generating the test data comprises:
2. The test method of the parity error detecting means according to claim 1, further comprising a function of shifting a bit position of "1" of data and adding or deleting each time a judgment result from the access judging means is received.
JP5184719A 1993-07-27 1993-07-27 Parity error detection method test method Expired - Fee Related JP2507969B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5184719A JP2507969B2 (en) 1993-07-27 1993-07-27 Parity error detection method test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5184719A JP2507969B2 (en) 1993-07-27 1993-07-27 Parity error detection method test method

Publications (2)

Publication Number Publication Date
JPH0744409A JPH0744409A (en) 1995-02-14
JP2507969B2 true JP2507969B2 (en) 1996-06-19

Family

ID=16158174

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5184719A Expired - Fee Related JP2507969B2 (en) 1993-07-27 1993-07-27 Parity error detection method test method

Country Status (1)

Country Link
JP (1) JP2507969B2 (en)

Also Published As

Publication number Publication date
JPH0744409A (en) 1995-02-14

Similar Documents

Publication Publication Date Title
JPH0738183B2 (en) Communication processing method between central processing units
JP2507969B2 (en) Parity error detection method test method
JP2710777B2 (en) Test circuit for intermediate control unit
JP3291729B2 (en) Redundant computer system
JP2827331B2 (en) Bus control device
KR960015586B1 (en) Asserting scheme of transfer failure interrupt in a multiprocessor interrupt requester
JP3549702B2 (en) Bus control circuit and test method thereof
JP3245552B2 (en) Transfer control system
CA1269141A (en) Task synchronization arrangement and method for remote duplex processors
JP2550273Y2 (en) Communication device
JP2612951B2 (en) Operation check method of parity detection circuit
JP2824890B2 (en) SCSI protocol controller
JPH0362752A (en) Communication system
JPH077344B2 (en) Faulty processor identification method
JPH0863407A (en) Information transfer controller
JPS62293453A (en) Multiple bus system data processor
JPH04346145A (en) Information processor
JPS62162156A (en) Memory access controller
JPS6123263A (en) Test system
JPH0282737A (en) Method for diagnosing duplexed bus
JPH08249200A (en) Redundant system computer system
JP2004180096A (en) Information processor and method for detecting device abnormality
JPH03214940A (en) Data communication system
JPH03105649A (en) Data transfer control system for information processor
JPH06301614A (en) Hollow fiber having chemicals volatility and method for volatilizing chemicals

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080416

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090416

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100416

Year of fee payment: 14

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110416

Year of fee payment: 15

LAPS Cancellation because of no payment of annual fees