JP2000305864A - Method for diagnosing bus interface circuit and bus interface circuit - Google Patents

Method for diagnosing bus interface circuit and bus interface circuit

Info

Publication number
JP2000305864A
JP2000305864A JP11111487A JP11148799A JP2000305864A JP 2000305864 A JP2000305864 A JP 2000305864A JP 11111487 A JP11111487 A JP 11111487A JP 11148799 A JP11148799 A JP 11148799A JP 2000305864 A JP2000305864 A JP 2000305864A
Authority
JP
Japan
Prior art keywords
bus
output
diagnosis
signal
input
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.)
Granted
Application number
JP11111487A
Other languages
Japanese (ja)
Other versions
JP3427776B2 (en
Inventor
Shinji Watabe
晋司 渡部
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 JP11148799A priority Critical patent/JP3427776B2/en
Publication of JP2000305864A publication Critical patent/JP2000305864A/en
Application granted granted Critical
Publication of JP3427776B2 publication Critical patent/JP3427776B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PROBLEM TO BE SOLVED: To execute various diagnoses on a bus interface circuit and to prevent other devices connected to a bus from being adversely affected by diagnosis. SOLUTION: A diagnosis instruction circuit 125 outputs an instruction signal for instructing the start of the diagnosis of a bus interface circuit 104 to a bus interface control circuit 124 and a bus output control circuit 123. The circuit 123 instructs a control bus 103 to execute the output of a control signal other than a start signal, i.e., the output of a command signal from a command output register, and the output of an enable signal from an enable signal output register. The circuit 124 sets up the data pattern of diagnosis testing data in each of an address output register 115, a data output register 117 and a bus control output register 119 and instructs the output of the data pattern to respective buses 101 to 103.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、情報処理装置等で
バスとのインターフェースを行う一連の回路から構成さ
れたバスインターフェース回路において、このバスイン
ターフェース回路の診断を行う際のバスインターフェー
ス回路診断方法と、このバスインターフェース回路診断
方法を具現するバスインターフェース回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bus interface circuit diagnosing method for diagnosing a bus interface circuit in a bus interface circuit comprising a series of circuits for interfacing with a bus in an information processing device or the like. And a bus interface circuit embodying the bus interface circuit diagnosis method.

【0002】[0002]

【従来の技術】図6は従来技術の一例によるバスインタ
ーフェース回路診断方法を実現するバスインターフェー
ス回路のブロック構成図である。ここで、バスインター
フェース回路10に接続されたバスは、例えば双方向バ
スA0をなすものであり、図6に示すように、双方向性
バスA0は、データが伝送されるデータバスA1と、デ
ータの転送先となる相手装置の装置アドレスを伝送する
アドレスバスA2と、相手装置へのデータ書き込み及び
相手装置からのデータ読み出しを制御するバス制御線A
3とから構成されている。双方向性バスA0に接続され
るバスインターフェース回路10は、レシーバ11a,
11bと、スリーステートドライバ12a,12bと、
データ入力レジスタ13と、データ出力レジスタ14
と、アドレス出力レジスタ15と、アドレス比較回路1
6と、入出力制御回路17と、バスインターフェース制
御回路18とから構成されている。ここで、バス制御線
A3は、双方向性バスA0に接続される各装置で共通と
されており、バスインターフェース回路10の入出力制
御回路17に接続されている。入出力制御回路17は、
アドレス比較回路16からアドレス一致信号D1を受信
すると共に、入出力制御信号D2を出力する。ここで、
入出力制御信号D2は、データ入力レジスタ13に入力
される入力ストローブ信号と、スリーステートドライバ
12a,12bの各出力イネーブル端子を制御する信号
とから構成されている。
2. Description of the Related Art FIG. 6 is a block diagram of a bus interface circuit for realizing a bus interface circuit diagnostic method according to an example of the prior art. Here, the bus connected to the bus interface circuit 10 constitutes, for example, a bidirectional bus A0. As shown in FIG. 6, the bidirectional bus A0 includes a data bus A1 through which data is transmitted, and a data bus A1. An address bus A2 for transmitting a device address of a partner device as a transfer destination, and a bus control line A for controlling data writing to the partner device and data reading from the partner device.
And 3. The bus interface circuit 10 connected to the bidirectional bus A0 includes a receiver 11a,
11b, three-state drivers 12a and 12b,
Data input register 13 and data output register 14
, Address output register 15 and address comparison circuit 1
6, an input / output control circuit 17, and a bus interface control circuit 18. Here, the bus control line A3 is common to the devices connected to the bidirectional bus A0, and is connected to the input / output control circuit 17 of the bus interface circuit 10. The input / output control circuit 17
It receives an address match signal D1 from the address comparison circuit 16 and outputs an input / output control signal D2. here,
The input / output control signal D2 includes an input strobe signal input to the data input register 13 and a signal for controlling each output enable terminal of the three-state drivers 12a and 12b.

【0003】バスインターフェース制御回路18は双方
向性バスA0に接続されるバスインターフェース回路1
0の入出力動作を制御する。バスインターフェース制御
回路18はデータ入力レジスタ13からデータ入力線B
1を介してデータを受信し、データ出力レジスタ14に
データ出力線B2を介して相手装置へ転送するデータを
セットし、アドレス出力レジスタ15にアドレス出力線
B3を介して相手装置を指定する装置アドレスをセット
する。さらに、バスインターフェース制御回路18は入
出力制御回路17との間において、入出力動作制御信号
D3の授受を行う。バスインターフェース制御回路18
には診断通知線A4が接続されており、診断通知線A4
では、バスインターフェース回路10の診断開始を通知
する指示信号と、診断結果を通知する信号とが伝送され
る。
The bus interface control circuit 18 is a bus interface circuit 1 connected to the bidirectional bus A0.
0 controls the input / output operation. The bus interface control circuit 18 sends the data input line B
1, the data to be transferred to the partner device via the data output line B2 is set in the data output register 14, and the device address for specifying the partner device via the address output line B3 is set in the address output register 15. Is set. Further, the bus interface control circuit 18 exchanges an input / output operation control signal D3 with the input / output control circuit 17. Bus interface control circuit 18
Is connected to a diagnosis notification line A4.
In this case, an instruction signal for notifying the start of diagnosis of the bus interface circuit 10 and a signal for notifying the diagnosis result are transmitted.

【0004】次に、上記構成のバスインターフェース回
路10におけるバスインターフェース回路診断方法の動
作について、特に、データ書込み転送動作の診断につい
て説明する。先ず、診断通知線A4を介してバスインタ
ーフェース制御回路18が診断開始の指示信号を受信す
ると、バスインターフェース制御回路18は、診断試験
用の書込みデータをデータ出力レジスタ14にセットす
ると共に、自分自身すなわちバスインターフェース回路
10を具備する装置の装置アドレスをアドレス出力レジ
スタ15にセットし、入出力動作制御信号D3を入出力
制御回路17に送出して通信相手すなわち自分自身への
データ書込み転送を指示する。次に、入出力制御回路1
7は入出力制御信号D2を送出してスリーステートドラ
イバ12a,12bの各出力をイネーブル状態にするこ
とによって、データバスA1にデータ出力レジスタ14
内の診断試験用書込みデータを出力させ、アドレスバス
A2にアドレス出力レジスタ15内の装置アドレスを出
力させる。さらに、入出力制御回路17はデータ書込み
転送であることを通知する制御信号をバス制御線A3へ
出力する。次に、アドレス比較回路16は、アドレスバ
スA2上の装置アドレスと、自分自身すなわちバスイン
ターフェース回路10を具備する装置の装置アドレスと
の比較を行い、比較結果が一致した場合にアドレス一致
信号D1を入出力制御回路17に出力する。次に、入出
力制御回路17はバス制御線A3から、自分自身へのデ
ータ書込み転送であることを通知する制御信号を受信す
ると、バスインターフェース制御回路18へ入出力制御
信号D3を送出してデータの入力を通知する。次に、バ
スインターフェース制御回路18は、データ入力レジス
タ13がデータバスA1から受信したデータをデータ入
力線B1を介して受信し、診断試験用の書込みデータと
一致するか否かの比較を行う。この比較結果は診断通知
線A4に出力される。
Next, the operation of the bus interface circuit diagnosing method in the bus interface circuit 10 having the above configuration, particularly the diagnosis of the data write / transfer operation, will be described. First, when the bus interface control circuit 18 receives a diagnosis start instruction signal via the diagnosis notification line A4, the bus interface control circuit 18 sets the write data for the diagnostic test in the data output register 14 and sets itself, that is, The device address of the device provided with the bus interface circuit 10 is set in the address output register 15, and the input / output operation control signal D3 is sent to the input / output control circuit 17 to instruct data communication transfer to the communication partner, that is, itself. Next, the input / output control circuit 1
7 outputs an input / output control signal D2 to enable the outputs of the three-state drivers 12a and 12b, thereby connecting the data output register 14 to the data bus A1.
And outputs the device address in the address output register 15 to the address bus A2. Further, the input / output control circuit 17 outputs a control signal for notifying the data write transfer to the bus control line A3. Next, the address comparing circuit 16 compares the device address on the address bus A2 with itself, that is, the device address of the device having the bus interface circuit 10, and when the comparison result matches, outputs the address match signal D1. Output to the input / output control circuit 17. Next, when the input / output control circuit 17 receives, from the bus control line A3, a control signal notifying that it is a data write transfer to itself, the input / output control circuit 17 sends the input / output control signal D3 to the bus interface control circuit 18 to transmit the data. Notify input. Next, the bus interface control circuit 18 receives the data received by the data input register 13 from the data bus A1 via the data input line B1, and compares the data with the write data for the diagnostic test. This comparison result is output to the diagnosis notification line A4.

【0005】次に、上述したバスインターフェース回路
診断方法により、EISA(Extended Industry Standa
rd Architecture)バスに対する診断を行う際の動作に
ついて、図6及び図7を参照しながら説明する。図7は
従来技術によるバスインターフェース回路診断方法によ
りEISAバスの診断を行う際のタイミングチャートで
ある。ここで、MREQ信号は、バスA0の調停回路
(図示しない)に対してバスA0の使用権を要求するた
めの負論理(“1”レベルで無効、“0”レベルで有
効)の信号であり、バスA0に接続された各装置(以
下、エージェントと呼ぶ)と調停回路間で1対1に対応
付けられる信号である。なお、調停回路(図示しない)
は、バスA0を備える情報処理装置等のCPUと、バス
A0との間に設置されており、各エージェントに対して
バスA0の使用における優先順位等を指定する。MAC
K信号は、MREQ信号によりバスの使用権を要求して
きたエージェントに対して、バスA0の調停回路からバ
スA0の使用を許可することを通知するために使用さ
れ、調停回路と各エージェント間で1対1に対応付けら
れる負論理の信号である。START信号はバスA0を
獲得したエージェントがバストランザクションを開始す
ることを通知する負論理の信号である。W_R信号は開
始されたバストランザクションがリードトランザクショ
ンであるかライトトランザクションであるかを示す。M
_IO信号は開始されたバストランザクションの種別を
示す。BE<3:0>信号(”<3:0>”は、<3
>,<2>,<1>,<0>の4ビットを示す)は、4
バイト幅のデータであるD<31:0>信号の中の有効
なバイト位置を示す。LA<31:2>信号はアドレス
である。ここで、LA<31:2>信号はアドレスバス
A2上の信号に対応し、D<31:0>信号はデータバ
スA1上の信号に対応し、これら以外の信号、すなわち
W_R信号、M_IO信号、BE<3:0>信号、ST
ART信号はバス制御線A3上の信号に対応する。
Next, an EISA (Extended Industry Standa
The operation for performing a diagnosis on the (rd Architecture) bus will be described with reference to FIGS. FIG. 7 is a timing chart when diagnosing the EISA bus by the bus interface circuit diagnostic method according to the prior art. Here, the MREQ signal is a signal of negative logic (invalid at "1" level, valid at "0" level) for requesting the arbitration circuit (not shown) of bus A0 to use the bus A0. , Are signals that are associated one-to-one with each device (hereinafter, referred to as an agent) connected to the bus A0 and the arbitration circuit. An arbitration circuit (not shown)
Is installed between a CPU such as an information processing apparatus provided with the bus A0 and the bus A0, and designates a priority in using the bus A0 to each agent. MAC
The K signal is used to notify the agent that has requested the right to use the bus by the MREQ signal that the use of the bus A0 is permitted from the arbitration circuit of the bus A0. This is a signal of negative logic associated with one to one. The START signal is a signal of negative logic notifying that the agent that has acquired the bus A0 starts a bus transaction. The W_R signal indicates whether the started bus transaction is a read transaction or a write transaction. M
The _IO signal indicates the type of the started bus transaction. The BE <3: 0> signal (“<3: 0>”
>, <2>, <1>, <0>) are 4
It indicates a valid byte position in the D <31: 0> signal which is byte-width data. The LA <31: 2> signal is an address. Here, the LA <31: 2> signal corresponds to a signal on the address bus A2, the D <31: 0> signal corresponds to a signal on the data bus A1, and other signals, that is, the W_R signal and the M_IO signal. , BE <3: 0> signals, ST
The ART signal corresponds to the signal on the bus control line A3.

【0006】図7に示すように、先ず、バスインターフ
ェース回路10は、T0サイクルでバスA0の使用権を
要求するためにMREQ信号をバスA0の調停回路に対
して出力し、T2サイクルで調停回路からのMACK信
号によりバスA0の使用が許可される。次に、双方向性
バスインターフェース回路10は、T3サイクルでバス
トランザクションを開始することを通知するSTART
信号と、その他の制御信号であるW_R信号及びM_I
O信号及びBE<3:0>信号とをバス制御線A3に出
力すると共に、アドレスバスA2にLA<31:2>信
号を出力する。次に、双方向性バスインターフェース装
置10は、T4サイクルでデータであるD<31:0>
信号をデータバスA1に出力する。次に、T4サイクル
でバストランザクションが完了すると、バスインターフ
ェース回路10は、バスA0の使用権を放棄してバスA
0を解放するために、T5サイクルでMREQ信号を無
効とする。次に、バスインターフェース回路10は、T
6サイクルでMACK信号を無効としてバスA0を解放
する。
As shown in FIG. 7, first, the bus interface circuit 10 outputs an MREQ signal to the arbitration circuit of the bus A0 in order to request the right to use the bus A0 in the T0 cycle, and the arbitration circuit in the T2 cycle. The use of the bus A0 is permitted by the MACK signal from. Next, the bidirectional bus interface circuit 10 starts the bus transaction in the T3 cycle.
Signal and other control signals W_R signal and M_I
The O signal and the BE <3: 0> signal are output to the bus control line A3, and the LA <31: 2> signal is output to the address bus A2. Next, the bidirectional bus interface device 10 outputs the data D <31: 0> in the T4 cycle.
The signal is output to the data bus A1. Next, when the bus transaction is completed in the T4 cycle, the bus interface circuit 10 relinquishes the right to use the bus A0 and
In order to release 0, the MREQ signal is invalidated in the T5 cycle. Next, the bus interface circuit 10
In six cycles, the MACK signal is invalidated and the bus A0 is released.

【0007】[0007]

【発明が解決しようとする課題】ところで、上記構成の
バスインターフェース回路10におけるバスインターフ
ェース回路診断方法では、バス制御の都合上、診断のた
めに双方向性バスA0に出力するデータのうち、データ
パターンを自由に設定できるのは、データバスA1に対
するD<31:0>信号のみとなり、その他の信号、例
えばアドレスバスA2に出力されるLA<31:2>信
号は固定パターンの信号とされる。このため、双方向性
バスA0に対して完全な診断を行うことができず、診断
時に障害を発見することができない恐れがある。更に、
アドレスバスA2に障害が発生している場合、例えば双
方向性バスA0に接続されている他の装置に対してバス
トランザクションを実行してしまうと、この装置のデー
タを破壊して動作不能にしてしまう恐れがある。本発明
は上記事情に鑑みてなされたもので、バスインターフェ
ース回路の診断時に、任意のデータパターンおよびバス
トランザクションタイプを設定して、データバスに加え
てアドレスバスおよび制御バス等を含むバスの診断を行
うと共に、バスに接続された他の装置に悪影響を与えな
いことが可能なバスインターフェース回路診断方法およ
びバスインターフェース回路を提供することを目的とす
る。
However, in the bus interface circuit diagnosis method in the bus interface circuit 10 having the above-described structure, the data pattern among the data output to the bidirectional bus A0 for the diagnosis for the sake of bus control is included. Can be freely set, only the D <31: 0> signal for the data bus A1, and other signals, for example, the LA <31: 2> signals output to the address bus A2, are fixed pattern signals. For this reason, a complete diagnosis cannot be performed on the bidirectional bus A0, and a failure may not be found during the diagnosis. Furthermore,
When a failure occurs in the address bus A2, for example, if a bus transaction is executed for another device connected to the bidirectional bus A0, the data of this device is destroyed and the device becomes inoperable. There is a risk that it will. The present invention has been made in view of the above circumstances, and, when diagnosing a bus interface circuit, sets an arbitrary data pattern and a bus transaction type to diagnose a bus including an address bus and a control bus in addition to a data bus. It is another object of the present invention to provide a bus interface circuit diagnostic method and a bus interface circuit capable of performing the bus interface circuit without adversely affecting other devices connected to the bus.

【0008】[0008]

【課題を解決するための手段】上記課題を解決して係る
目的を達成するために、請求項1に記載の本発明のバス
インターフェース回路診断方法は、情報処理装置のバス
に出力した出力データと、前記バスから受信した入力デ
ータとを比較することによって診断を行うバスインター
フェース回路診断方法であって、診断の開始を指示する
診断指示信号を受信して適宜のデータパターンを有する
前記出力データを前記バスに出力する際に、バスサイク
ルを有効とするスタート信号を前記バスに出力しないこ
とを特徴としている。
In order to solve the above-mentioned problems and achieve the above object, a bus interface circuit diagnostic method according to the present invention according to the first aspect of the present invention provides a method for diagnosing output data output to a bus of an information processing apparatus. A bus interface circuit diagnostic method for performing a diagnosis by comparing the input data received from the bus with a diagnostic instruction signal for instructing the start of the diagnosis, and converting the output data having an appropriate data pattern When outputting to the bus, a start signal for validating a bus cycle is not output to the bus.

【0009】さらに、請求項2に記載のバスインターフ
ェース回路診断方法は、情報処理装置のバスに出力した
出力データと、前記バスから受信した入力データとを比
較することによって診断を行うバスインターフェース回
路診断方法であって、前記バスに接続された装置に診断
の開始を指示する診断指示信号を送信する第1の処理
と、前記装置のうちの何れかが診断中であることを通知
する通知信号を前記バスに接続された全ての前記装置に
送信する第2の処理と、前記診断指示信号を受信して適
宜のデータパターンを有する前記出力データを前記バス
に出力する第3の処理とを含み、前記診断指示信号を受
信していない状態で、前記通知信号を受信すると、前記
バスからの全ての入力を無効とすることを特徴としてい
る。
Further, according to a second aspect of the present invention, there is provided a bus interface circuit diagnostic method for diagnosing a bus interface circuit by comparing output data output to a bus of an information processing apparatus with input data received from the bus. A method for transmitting a diagnostic instruction signal for instructing a device connected to the bus to start diagnosis, and a notification signal for notifying that any of the devices is under diagnosis. A second process for transmitting to all the devices connected to the bus, and a third process for receiving the diagnosis instruction signal and outputting the output data having an appropriate data pattern to the bus, When the notification signal is received while the diagnosis instruction signal is not received, all inputs from the bus are invalidated.

【0010】また、請求項3に記載のバスインターフェ
ース回路は、情報処理装置のバスに出力した出力データ
と、前記バスから受信した入力データとを比較すること
によって診断を行うバスインターフェース回路であっ
て、前記バスインターフェース回路は、前記バスに接続
されて前記出力データの出力及び前記入力データの受信
を行う入出力バッファと、診断の開始を指示する診断指
示信号を送出する診断指示回路と、前記診断指示信号を
受信して、適宜のデータパターンを有する前記出力デー
タを前記入出力バッファに送出するバスインターフェー
ス制御回路と、前記診断指示信号を受信して、前記入出
力バッファから前記バスへの出力を制御するバス出力制
御回路とを備えており、診断時に、前記バス出力制御回
路は、バスサイクルを有効とするスタート信号を前記バ
スに出力しないことを特徴としている。
A bus interface circuit according to a third aspect of the present invention is a bus interface circuit that performs diagnosis by comparing output data output to a bus of an information processing device with input data received from the bus. An input / output buffer connected to the bus for outputting the output data and receiving the input data; a diagnostic instruction circuit for transmitting a diagnostic instruction signal for instructing start of a diagnosis; A bus interface control circuit that receives an instruction signal and sends out the output data having an appropriate data pattern to the input / output buffer; and receives the diagnostic instruction signal and outputs an output from the input / output buffer to the bus. And a bus output control circuit for controlling the bus cycle. Is characterized in that does not output the start signal to enable the bus.

【0011】さらに、請求項4に記載のバスインターフ
ェース回路は、情報処理装置のバスに出力した出力デー
タと、前記バスから受信した入力データとを比較するこ
とによって診断を行うバスインターフェース回路であっ
て、前記バスインターフェース回路には診断指示回路が
接続されており、前記診断指示回路は、前記バスに接続
された装置毎に診断の開始を指示する診断指示信号を送
信する第1の手段と、前記装置のうちの何れかが診断中
であることを通知する診断監視信号を前記バスに接続さ
れた全ての前記装置に送信する第2の手段とを備えてお
り、前記バスインターフェース回路は、前記バスに接続
されて前記出力データの出力及び前記入力データの受信
を行う入出力バッファと、前記診断指示信号を受信し
て、適宜のデータパターンを有する前記出力データを前
記入出力バッファに送出するバスインタフェース制御回
路と、前記診断指示回路から前記診断監視信号を受信し
て、前記バスから前記入出力バッファへの入力を制御す
るバス入力制御回路とを備えており、前記バス入力制御
回路は、前記診断指示回路から前記診断指示信号を受信
していない状態で、前記診断監視信号を受信すると、前
記バスからの全ての入力を無効とすることを特徴として
いる。
Further, the bus interface circuit according to claim 4 is a bus interface circuit for performing a diagnosis by comparing output data output to a bus of an information processing device with input data received from the bus. A diagnostic instruction circuit connected to the bus interface circuit, wherein the diagnostic instruction circuit transmits a diagnostic instruction signal for instructing a start of diagnosis for each device connected to the bus; Second means for transmitting a diagnostic monitoring signal notifying that any of the devices is being diagnosed to all the devices connected to the bus, wherein the bus interface circuit comprises: An input / output buffer connected to the input / output port for outputting the output data and receiving the input data; A bus interface control circuit for sending the output data having the input signal to the input / output buffer, and a bus input for receiving the diagnostic monitoring signal from the diagnostic instruction circuit and controlling an input from the bus to the input / output buffer. A control circuit, wherein the bus input control circuit, when not receiving the diagnostic instruction signal from the diagnostic instruction circuit, receives the diagnostic monitoring signal and invalidates all inputs from the bus. It is characterized by doing.

【0012】さらに、請求項5に記載のバスインターフ
ェース回路は、情報処理装置のバスに出力した出力デー
タと、前記バスから受信した入力データとを比較するこ
とによって診断を行うバスインターフェース回路であっ
て、前記バスインターフェース回路は、前記バスに接続
されて前記出力データの出力及び前記入力データの受信
を行う入出力バッファと、診断の開始を指示する診断指
示信号を送出すると共に、診断を開始することを通知す
る診断通知信号を診断通知バスを介して前記バスに接続
された全ての前記装置に送出する診断指示回路と、前記
診断指示信号を受信して、適宜のデータパターンを有す
る前記出力データを前記入出力バッファに送出するバス
インタフェース制御回路と、前記診断通知バスから前記
診断通知信号を受信して、前記バスから前記入出力バッ
ファへの入力を制御するバス入力制御回路とを備えてお
り、前記バス入力制御回路は、前記診断指示回路から前
記診断指示信号を受信していない状態で、前記診断通知
信号を受信すると、前記バスからの全ての入力を無効と
することを特徴としている。
Further, the bus interface circuit according to a fifth aspect is a bus interface circuit for performing a diagnosis by comparing output data output to a bus of an information processing device with input data received from the bus. The input / output buffer connected to the bus for outputting the output data and receiving the input data, and transmitting a diagnosis instruction signal for instructing start of diagnosis, and starting diagnosis. A diagnostic instruction circuit that sends a diagnostic notification signal to notify all the devices connected to the bus via a diagnostic notification bus, and receives the diagnostic instruction signal, and outputs the output data having an appropriate data pattern. A bus interface control circuit for transmitting the signal to the input / output buffer; A bus input control circuit that controls input from the bus to the input / output buffer, wherein the bus input control circuit does not receive the diagnostic instruction signal from the diagnostic instruction circuit, Upon receiving the diagnostic notification signal, all inputs from the bus are invalidated.

【0013】[0013]

【発明の実施の形態】以下、本発明のバスインターフェ
ース回路診断方法を具現するバスインターフェース回路
の実施形態について添付図面を参照しながら説明する。
図1は本発明の一実施形態に係わるバスインターフェー
ス部診断方法を具現するバスインターフェース回路のブ
ロック構成図であり、図2は図1に示すバスインターフ
ェース回路において制御バスに接続される要部の構成を
示すブロック構成図である。なお、上述した従来技術と
同一部分には同じ符号を配して説明を省略又は簡略す
る。本実施の形態によるバス100は、アドレスを伝達
するアドレスバス101と、データを伝達するデータバ
ス102と、バスを制御するためのバス制御データを伝
達する制御バス103とから構成されている。本実施の
形態によるバスインターフェース回路診断方法を具現す
るバスインターフェース回路104は、各バス101,
102,103とのインターフェースを行う入出力バッ
ファ111,112,113と、アドレス入力レジスタ
114と、アドレス出力レジスタ115と、データ入力
レジスタ116と、データ出力レジスタ117と、バス
制御入力レジスタ118と、バス制御出力レジスタ11
9と、比較回路120,121,122と、バス出力制
御回路123と、バスインターフェース制御回路124
と、診断指示回路125と、診断結果保持レジスタ12
6と、内部論理127とから構成されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a bus interface circuit embodying a bus interface circuit diagnostic method according to the present invention will be described below with reference to the accompanying drawings.
FIG. 1 is a block diagram of a bus interface circuit embodying a method of diagnosing a bus interface unit according to an embodiment of the present invention, and FIG. 2 is a configuration of a main part connected to a control bus in the bus interface circuit shown in FIG. FIG. 3 is a block diagram showing the configuration. Note that the same reference numerals are assigned to the same portions as those of the above-described conventional technology, and the description is omitted or simplified. The bus 100 according to the present embodiment includes an address bus 101 for transmitting an address, a data bus 102 for transmitting data, and a control bus 103 for transmitting bus control data for controlling the bus. The bus interface circuit 104 that implements the bus interface circuit diagnostic method according to the present embodiment includes
I / O buffers 111, 112, and 113 for interfacing with 102 and 103, an address input register 114, an address output register 115, a data input register 116, a data output register 117, a bus control input register 118, a bus Control output register 11
9, a comparison circuit 120, 121, 122, a bus output control circuit 123, and a bus interface control circuit 124.
Diagnostic instruction circuit 125 and diagnostic result holding register 12
6 and an internal logic 127.

【0014】アドレスバス101に出力されるアドレス
は、内部論理127からバスインターフェース制御回路
124を介してアドレス出力レジスタ115にセットさ
れ、入出力バッファ111を介してアドレスバス101
へ出力される。アドレスバス101からの入力されるア
ドレスは、入出力バッファ111を通してアドレス入力
レジスタ114に格納される。データ出力レジスタ11
7はデータバス102へ出力するデータを格納し、デー
タ入力レジスタ116はデータバス102から入力され
るデータを格納する。バス制御出力レジスタ119は制
御バス103に出力するバス制御データを格納し、バス
制御入力レジスタ118は制御バス103から入力され
るバス制御データを格納する。診断指示回路125は、
バスインターフェース回路104の診断開始を指示する
指示信号をバスインターフェース制御回路124とバス
出力制御回路123に出力する。バスインターフェース
制御回路124はバス100の診断試験用データのデー
タパターンをアドレス出力レジスタ115と、データ出
力レジスタ117と、バス制御出力レジスタ119とに
セットする。バス出力制御回路123は、診断指示回路
125からの指示信号に基づいて、各入出力バッファ1
11,112から各バス101,102への出力を指示
すると共に、入出力バッファ113に対しては、バスサ
イクルを有効にする信号以外のバス制御データを制御バ
ス103へ出力するように指示する。
The address output to the address bus 101 is set in the address output register 115 from the internal logic 127 via the bus interface control circuit 124, and is set via the input / output buffer 111.
Output to The address input from the address bus 101 is stored in the address input register 114 through the input / output buffer 111. Data output register 11
7 stores data to be output to the data bus 102, and the data input register 116 stores data input from the data bus 102. The bus control output register 119 stores bus control data to be output to the control bus 103, and the bus control input register 118 stores bus control data input from the control bus 103. The diagnosis instruction circuit 125
An instruction signal for instructing the bus interface circuit 104 to start diagnosis is output to the bus interface control circuit 124 and the bus output control circuit 123. The bus interface control circuit 124 sets the data pattern of the diagnostic test data on the bus 100 in the address output register 115, the data output register 117, and the bus control output register 119. The bus output control circuit 123 controls each input / output buffer 1 based on an instruction signal from the diagnosis instruction circuit 125.
11 and 112, and instructs the input / output buffer 113 to output bus control data other than the signal for validating the bus cycle to the control bus 103.

【0015】比較回路120は、アドレスバス101へ
出力されるアドレス出力レジスタ115に格納されてい
るアドレスと、アドレスバス101から入力されてアド
レス入力レジスタ114へ格納されたアドレスとを比較
する。ここで、入出力バッファ111が故障している場
合は比較結果が不一致となり、バスインターフェース回
路104の障害を通知する情報が診断結果保持レジスタ
126に格納される。同様に、比較回路121は、デー
タ入力レジスタ116のデータと、データ出力レジスタ
117のデータとを比較し、比較結果が不一致の場合は
バスインターフェース回路104の障害を通知する情報
を診断結果保持レジスタ126に保持する。比較回路1
22は、バス制御入力レジスタ118のバス制御データ
と、バス制御出力レジスタ119のバス制御データとを
比較し、比較結果が不一致の場合はバスインターフェー
ス回路104の障害を通知する情報を診断結果保持レジ
スタ126に保持する。
The comparing circuit 120 compares the address stored in the address output register 115 output to the address bus 101 with the address input from the address bus 101 and stored in the address input register 114. Here, when the input / output buffer 111 is out of order, the comparison result becomes inconsistent, and information for notifying the fault of the bus interface circuit 104 is stored in the diagnosis result holding register 126. Similarly, the comparison circuit 121 compares the data in the data input register 116 with the data in the data output register 117. If the comparison results do not match, the comparison circuit 121 outputs the information notifying the failure of the bus interface circuit 104 to the diagnosis result holding register 126. To hold. Comparison circuit 1
Reference numeral 22 compares the bus control data of the bus control input register 118 with the bus control data of the bus control output register 119. If the comparison results do not match, information for notifying the failure of the bus interface circuit 104 is stored in the diagnosis result holding register. 126.

【0016】図2に示すように、制御バス103は、バ
ス100に発行するバストランザクションのタイプを示
すコマンド信号201と、データバス102で伝達され
るデータを構成する複数バイトのうち、どのバイトが有
効かを示すイネーブル信号202と、バス100上のバ
ストランザクションの開始を示すと共に、有効なバスサ
イクルが開始されることを示すスタート信号203とを
含んでいる。ここで、診断指示回路125からバス出力
制御回路123にバスインターフェース回路104の診
断開始を指示する指示信号が送出された時、バス出力制
御回路123は、コマンド出力レジスタ211からコマ
ンド信号201の出力と、イネーブル出力レジスタ21
4からイネーブル信号202の出力とを実行するように
指示する。なお、スタート出力レジスタ216からスタ
ート信号203の出力は指示しない。
As shown in FIG. 2, the control bus 103 includes a command signal 201 indicating the type of a bus transaction issued to the bus 100, and which byte of a plurality of bytes constituting data transmitted on the data bus 102 It includes an enable signal 202 indicating validity, and a start signal 203 indicating the start of a bus transaction on the bus 100 and indicating that a valid bus cycle is started. Here, when an instruction signal instructing the start of diagnosis of the bus interface circuit 104 is sent from the diagnosis instruction circuit 125 to the bus output control circuit 123, the bus output control circuit 123 outputs the command signal 201 from the command output register 211 and , Enable output register 21
4 to output the enable signal 202. The output of the start signal 203 from the start output register 216 is not instructed.

【0017】本実施の形態によるバスインターフェース
回路診断方法を具現するバスインターフェース回路10
4は上述の構成を備えており、次に、バスインターフェ
ース回路104におけるバスインターフェース回路診断
方法の動作について、特にEISAバスに対する診断を
行う際の動作について、図1から図3を参照しながら説
明する。図3はEISAバスの診断を行う際のタイミン
グチャートである。ここで、LA<31:2>信号はア
ドレスバス101上のアドレスに対応し、D<31:0
>信号はデータバス102上のデータに対応し、これら
以外の信号、すなわちW_R信号、M_IO信号、BE
<3:0>信号、START信号は制御バス103上の
信号に対応する。すなわち、コマンド信号201はW_
R信号及びM_IO信号に対応し、イネーブル信号20
2はBE<3:0>信号に対応し、スタート信号203
はSTART信号に対応する。
The bus interface circuit 10 embodying the bus interface circuit diagnostic method according to the present embodiment.
4 has the above-described configuration. Next, the operation of the bus interface circuit diagnostic method in the bus interface circuit 104, particularly, the operation when performing diagnosis on the EISA bus will be described with reference to FIGS. . FIG. 3 is a timing chart at the time of diagnosing the EISA bus. Here, the LA <31: 2> signal corresponds to an address on the address bus 101, and the D <31: 0> signal.
> Signal corresponds to data on the data bus 102, and other signals, that is, W_R signal, M_IO signal, BE
The <3: 0> signal and the START signal correspond to signals on the control bus 103. That is, the command signal 201 is W_
The enable signal 20 corresponding to the R signal and the M_IO signal
2 corresponds to the BE <3: 0> signal, and the start signal 203
Corresponds to the START signal.

【0018】図3に示すように、先ず、バスインターフ
ェース回路104は、T0サイクルでバス100の使用
権を要求するためにMREQ信号をバス100の調停回
路に対して出力し、T2サイクルで調停回路からのMA
CK信号を受信してバス100の使用が許可される。バ
ス100の使用権を得た後、T3からT5までの3サイ
クルからなる診断サイクルにおいて、バスインターフェ
ース回路104は、バス出力制御回路123の制御によ
りSTART信号を出力することなしに、バス100上
にSTART信号以外の各信号、すなわちW_R信号及
びM_IO信号及びBE<3:0>信号を制御バス10
3に出力すると共に、アドレスバス102にLA<3
1:2>信号を出力し、データバス101にD<31:
0>信号を出力する。ここで、BE<3:0>信号及び
LA<31:2>信号及びD<31:0>信号のそれぞ
れに対しては、複数パターンの診断データ、例えば全て
が”0”のデータや、全てが”1”のデータ等が出力さ
れる。次に、バスインターフェース回路104は、診断
終了後のT6サイクルでMREQ信号を無効とし、T7
サイクルでバス100が解放されることによって一連の
診断処理が終了する。
As shown in FIG. 3, first, the bus interface circuit 104 outputs an MREQ signal to the arbitration circuit of the bus 100 in order to request the right to use the bus 100 in the T0 cycle, and the arbitration circuit in the T2 cycle. MA from
Upon receiving the CK signal, use of the bus 100 is permitted. After obtaining the right to use the bus 100, in a diagnostic cycle consisting of three cycles from T3 to T5, the bus interface circuit 104 outputs a START signal under the control of the bus output control circuit 123 without outputting a START signal. Each signal other than the START signal, that is, the W_R signal, the M_IO signal, and the BE <3: 0> signal is transmitted to the control bus 10.
3 and LA <3 on the address bus 102.
1: 2> signal, and D <31:
0> output signal. Here, for each of the BE <3: 0> signal, the LA <31: 2> signal, and the D <31: 0> signal, diagnostic data of a plurality of patterns, for example, data of all “0” or all of Is output as "1". Next, the bus interface circuit 104 invalidates the MREQ signal in the T6 cycle after completion of the diagnosis, and
When the bus 100 is released in the cycle, a series of diagnostic processing ends.

【0019】本実施の形態によるバスインターフェース
回路診断方法を具現するバスインターフェース回路10
4によれば、MACK信号が出力されてバス100の使
用権を得た後も、バス出力制御回路123の制御により
START信号を出力することがないため、バス100
に接続された他の装置はバス100のバスサイクルが開
始されたことを認識することがなく、バス100上のデ
ータを取り込むことはない。このため、START信号
以外の各信号に自由なデータパターンを設定してバス1
00上に出力することができ、自由なデータパターンの
信号によりバスインターフェース回路104に対して多
様な診断を行うことができ、障害の発生を見逃すことを
防ぐことが可能となる。また、バスインターフェース回
路104に障害が発生し、例えば予期しないデータがバ
ス100上に出力された場合であっても、他の装置には
バス100上のデータが入力されないため、バス100
に接続された他の装置に悪影響を与えることがなく、他
の装置に対して無意味なバストランザクションを実行し
て他の装置のデータを破壊する恐れもない。さらに、バ
スインターフェース回路104がバス100を解放する
まで診断サイクルを継続することができるため、効率的
にバスインターフェース回路104の診断を実行するこ
とができる。
A bus interface circuit 10 embodying the bus interface circuit diagnostic method according to the present embodiment.
According to No. 4, even after the MACK signal is output and the right to use the bus 100 is obtained, the START signal is not output under the control of the bus output control circuit 123.
Does not recognize that the bus cycle of the bus 100 has started, and does not take in the data on the bus 100. Therefore, a free data pattern is set for each signal other than the START signal, and the bus 1
00, and various diagnostics can be performed on the bus interface circuit 104 by a signal of a free data pattern, and it is possible to prevent a failure from being overlooked. Further, even if a failure occurs in the bus interface circuit 104 and, for example, unexpected data is output on the bus 100, data on the bus 100 is not input to other devices.
It does not adversely affect other devices connected to the device, and does not execute meaningless bus transactions on other devices to destroy data of other devices. Further, since the diagnostic cycle can be continued until the bus interface circuit 104 releases the bus 100, the diagnosis of the bus interface circuit 104 can be efficiently executed.

【0020】なお、本実施の形態においては、バス10
0としてEISAバスについて説明したが、これに限定
されず、他の規格例えばPCI(Peripheral Component
Interconnect)バスであってもよい。この場合、EI
SAバスのSTART信号は、PCIバスのFRAME
(サイクルフレーム)信号に対応する。また、本実施の
形態においては、アドレスバス101と、データバス1
02とは分離しているが、これに限定されず、アドレス
とデータが共通の信号線を使用するアドレス/データ共
有バスであってもよい。
In this embodiment, the bus 10
Although the EISA bus has been described as 0, the present invention is not limited to this, and other standards such as PCI (Peripheral Component
Interconnect) bus. In this case, EI
The START signal of the SA bus is the FRAME of the PCI bus.
(Cycle frame) signal. In the present embodiment, the address bus 101 and the data bus 1
02 is separate from, but not limited to, an address / data shared bus using a common signal line for address and data.

【0021】次に、本実施の形態によるバスインターフ
ェース回路診断方法を具現するバスインターフェース回
路の第1変形例について図4を参照しながら説明する。
図4は本実施形態の第1変形例に係わるバスインターフ
ェース回路診断方法を具現するバスインターフェース回
路501のブロック構成図である。なお、上述した実施
の形態と同一部分には同じ符号を配して説明を省略又は
簡略する。図4に示すように、バスインターフェース装
置501は、入出力バッファ111,112,113
と、アドレス入力レジスタ114と、アドレス出力レジ
スタ115と、データ入力レジスタ116と、データ出
力レジスタ117と、バス制御入力レジスタ118と、
バス制御出力レジスタ119と、比較回路120,12
1,122と、バスインターフェース制御回路124
と、診断結果保持レジスタ126と、内部論理127
と、バス入力制御回路502とから構成されている。ま
た、バス100に対して1つの診断指示回路503が備
えられており、診断指示回路503はバス100に接続
される各装置で共通とされている。診断指示回路503
は、バス100に接続される各装置に対して、各装置毎
に設けられた診断指示信号線511を介して、診断開始
を指示する診断指示信号を送出すると共に、各装置で共
通とされた診断監視信号線512を介して何れかの装置
が診断中であることを通知する診断監視信号をバス10
0に接続された各装置に通知する。
Next, a first modification of the bus interface circuit which embodies the bus interface circuit diagnostic method according to the present embodiment will be described with reference to FIG.
FIG. 4 is a block diagram of a bus interface circuit 501 that embodies a bus interface circuit diagnostic method according to a first modification of the present embodiment. The same parts as those in the above-described embodiment are denoted by the same reference numerals, and description thereof will be omitted or simplified. As shown in FIG. 4, the bus interface device 501 includes input / output buffers 111, 112, and 113.
, An address input register 114, an address output register 115, a data input register 116, a data output register 117, a bus control input register 118,
A bus control output register 119 and comparison circuits 120 and 12
1, 122 and a bus interface control circuit 124
, Diagnosis result holding register 126, and internal logic 127
And a bus input control circuit 502. Also, one diagnostic instruction circuit 503 is provided for the bus 100, and the diagnostic instruction circuit 503 is common to each device connected to the bus 100. Diagnosis instruction circuit 503
Transmits a diagnostic instruction signal for instructing the start of diagnosis to each device connected to the bus 100 via a diagnostic instruction signal line 511 provided for each device, and is shared by each device. A diagnostic monitoring signal for notifying that any device is being diagnosed via the diagnostic monitoring signal line 512 is transmitted to the bus 10.
Notify each device connected to “0”.

【0022】バス入力制御回路502は、診断指示信号
線511からの診断指示信号を受信していない状態で、
診断監視信号線512からの診断監視信号により何れか
の装置で診断が開始されたことを検出すると、各入力バ
ッファ111,112,113において、アドレスバス
101、データバス102、制御バス103のそれぞれ
からの入力を無効にする。一方、診断指示信号511か
らの診断指示信号により、自分自身すなわちバスインタ
ーフェース装置501の診断を実施する場合は、各バス
101,102,103からの入力を有効とする。この
場合、各バス101,102,103から各入力バッフ
ァ111,112,113への入力は、診断指示回路5
03により制御されているため、バス入力制御回路50
2はバスサイクルを有効とするスタート信号をスタート
信号線203に出力することができ、このスタート信号
を含めた診断が可能となる。
The bus input control circuit 502 receives the diagnosis instruction signal from the diagnosis instruction signal line 511,
When it is detected that the diagnosis has been started in any of the devices by the diagnosis monitoring signal from the diagnosis monitoring signal line 512, the input buffers 111, 112, and 113 transmit the signals from the address bus 101, the data bus 102, and the control bus 103, respectively. Disable input of. On the other hand, when the diagnosis of itself, that is, the bus interface device 501 is performed by the diagnosis instruction signal from the diagnosis instruction signal 511, the input from each of the buses 101, 102, and 103 is made valid. In this case, the input from each of the buses 101, 102, and 103 to each of the input buffers 111, 112, and 113 is performed by the diagnosis instruction circuit 5
03, the bus input control circuit 50
2 can output a start signal for validating a bus cycle to the start signal line 203, and diagnosis including the start signal can be performed.

【0023】次に、本実施の形態によるバスインターフ
ェース回路診断方法を具現するバスインターフェース回
路の第2変形例について図5を参照しながら説明する。
図5は本実施形態の第2変形例に係わるバスインターフ
ェース回路診断方法を具現するバスインターフェース回
路601のブロック構成図である。なお、上述した実施
の形態と同一部分には同じ符号を配して説明を省略又は
簡略する。図5に示すように、バスインターフェース回
路601は、入出力バッファ111,112,113,
602と、アドレス入力レジスタ114と、アドレス出
力レジスタ115と、データ入力レジスタ116と、デ
ータ出力レジスタ117と、バス制御入力レジスタ11
8と、バス制御出力レジスタ119と、比較回路12
0,121,122と、バスインターフェース制御回路
124と、診断指示回路125と、診断結果保持レジス
タ126と、内部論理127と、バス入力制御回路60
3とから構成されている。また、バス605は、アドレ
スバス101と、データバス102と、制御バス103
と、診断通知バス606とから構成されている。
Next, a second modification of the bus interface circuit which embodies the bus interface circuit diagnosis method according to the present embodiment will be described with reference to FIG.
FIG. 5 is a block diagram of a bus interface circuit 601 that embodies a bus interface circuit diagnosis method according to a second modification of the present embodiment. The same parts as those in the above-described embodiment are denoted by the same reference numerals, and description thereof will be omitted or simplified. As shown in FIG. 5, the bus interface circuit 601 includes input / output buffers 111, 112, 113,
602, an address input register 114, an address output register 115, a data input register 116, a data output register 117, and a bus control input register 11
8, the bus control output register 119, and the comparison circuit 12
0, 121, 122, bus interface control circuit 124, diagnosis instruction circuit 125, diagnosis result holding register 126, internal logic 127, bus input control circuit 60
And 3. The bus 605 includes an address bus 101, a data bus 102, and a control bus 103.
And a diagnosis notification bus 606.

【0024】バスインターフェース回路601は、診断
指示回路125からバスインターフェース回路601の
診断開始が指示されると、他の装置に対してバスインタ
ーフェース回路601が診断中であることを通知するた
めに、入出力バッファ602を介して診断通知バス60
6に診断通知信号を出力する。バス入力制御回路603
は、診断指示回路125からの診断指示信号を受信して
いない場合に、診断通知バス606から入出力バッファ
602を介して診断通知信号を受信すると、バス605
に接続された他の装置が診断を実行中であると認識し、
各入力バッファ111,112,113において、アド
レスバス101、データバス102、制御バス103の
それぞれからの入力を無効にする。一方、診断指示回路
125からの指示により、自分自身すなわちバスインタ
ーフェース装置601が診断中の場合、バス入力制御回
路603は各バス101,102,103からの入力を
有効とする。この場合、診断を行うための診断指示信号
と、何れかの装置が診断中であることを通知する診断監
視信号とが、一本の信号線からなる診断通知バス606
を介して伝送されるため、EISAバスやPCIバス等
の汎用のバスにおいても、例えば1本の未使用ピンを使
用することにより診断通知バス606と接続することが
できる。また、各バス101,102,103から各入
力バッファ111,112,113への入力は、診断通
知信号により制御されているため、バス入力制御回路6
03はバスサイクルを有効とするスタート信号203を
出力することができ、このスタート信号203を含めた
診断が可能となる。
When the diagnosis instructing circuit 125 instructs the start of the diagnosis of the bus interface circuit 601, the bus interface circuit 601 receives an input signal to notify another device that the bus interface circuit 601 is under diagnosis. Diagnostic notification bus 60 via output buffer 602
6 outputs a diagnosis notification signal. Bus input control circuit 603
When the diagnostic notification signal is received from the diagnostic notification bus 606 via the input / output buffer 602 when the diagnostic instruction signal from the diagnostic instruction circuit 125 is not received,
Recognizes that another device connected to
In each of the input buffers 111, 112, and 113, the input from each of the address bus 101, the data bus 102, and the control bus 103 is invalidated. On the other hand, according to the instruction from the diagnosis instruction circuit 125, when the bus interface device 601 itself is performing the diagnosis, the bus input control circuit 603 validates the input from each of the buses 101, 102, and 103. In this case, a diagnosis instruction signal for performing a diagnosis and a diagnosis monitoring signal for notifying that any device is performing a diagnosis are provided by a diagnosis notification bus 606 including one signal line.
Therefore, even a general-purpose bus such as an EISA bus or a PCI bus can be connected to the diagnostic notification bus 606 by using one unused pin, for example. The inputs from the buses 101, 102, and 103 to the input buffers 111, 112, and 113 are controlled by the diagnostic notification signal.
Reference numeral 03 can output a start signal 203 for validating a bus cycle, and diagnosis including the start signal 203 can be performed.

【0025】[0025]

【発明の効果】以上説明したように、請求項1記載の本
発明のバスインターフェース回路診断方法によれば、診
断時にバスサイクルを有効とするスタート信号をバスに
出力しないため、バスに接続された他の装置はバスのバ
スサイクルが開始されたことを認識することがなく、バ
ス上のデータを取り込むことはない。これによって、バ
スに接続された他の装置に悪影響を与えることなく、バ
スに出力する出力データに対して自由なデータパターン
を設定することができ、多様な診断を行うことによって
障害の発生を見逃すのを防ぐことが可能となる。さら
に、バスインターフェース回路がバスを解放するまで自
己診断を継続することができるため、効率的に診断を行
うことができる。さらに、請求項2記載のバスインター
フェース回路診断方法によれば、診断指示回路から診断
の開始を指示する診断指示信号を受信していない状態
で、バスに接続された装置のうちの何れかが自己診断中
であることを通知する通知信号を受信すると、バスから
の全ての入力を無効とするため、診断中の装置以外の装
置はバス上から入力データを取り込むことはない。これ
によって、バスに接続された他の装置に悪影響を与える
ことなく、バスに出力する出力データに対して自由なデ
ータパターンを設定することができる。さらに、この場
合、バスサイクルを有効とするスタート信号に対しても
自由なデータパターンを設定して診断を行うことがで
き、多様な診断を行うことによって障害の発生を見逃す
のを防ぐことが可能となる。
As described above, according to the bus interface circuit diagnosing method of the first aspect of the present invention, since the start signal for validating the bus cycle is not output to the bus at the time of diagnosis, the bus interface circuit is connected to the bus. Other devices do not recognize that the bus cycle of the bus has started, and do not take in data on the bus. As a result, a free data pattern can be set for the output data to be output to the bus without adversely affecting other devices connected to the bus, and a failure can be overlooked by performing various diagnoses. Can be prevented. Further, since the self-diagnosis can be continued until the bus interface circuit releases the bus, the diagnosis can be performed efficiently. Further, according to the bus interface circuit diagnosis method of the present invention, when any of the devices connected to the bus does not receive the diagnosis instruction signal for instructing the start of diagnosis from the diagnosis instruction circuit, Upon receiving a notification signal notifying that the diagnosis is being performed, all inputs from the bus are invalidated, so that devices other than the device being diagnosed do not take in input data from the bus. As a result, a free data pattern can be set for output data to be output to the bus without adversely affecting other devices connected to the bus. In addition, in this case, a free data pattern can be set for the start signal that makes the bus cycle valid, and diagnosis can be performed. By performing various diagnoses, it is possible to prevent failures from being overlooked Becomes

【0026】また、請求項3記載のバスインターフェー
ス回路によれば、診断指示回路から診断指示信号を受信
した際に入出力バッファからバスへの出力を制御するバ
ス出力制御回路が備えられており、診断時にバス制御信
号のうちバスサイクルを有効とするスタート信号をバス
に出力しないように制御するため、バスに接続された他
の装置はバスのバスサイクルが開始されたことを認識す
ることがなく、バス上から入力データを取り込むことは
ない。これによって、バスに接続された他の装置に悪影
響を与えることなく、バスに出力する出力データに対し
て自由なデータパターンを設定することができ、多様な
診断を行うことによって障害の発生を見逃すのを防ぐこ
とが可能となる。また、請求項4記載のバスインターフ
ェース回路によれば、バスインターフェース回路の外部
に診断指示回路が設けられており、この診断指示回路は
バスに接続された装置毎に個別に診断の開始を指示する
診断指示信号を送信すると共に、バスに接続された装置
のうちの何れかが診断中であることを通知する診断監視
信号をバスに接続された全ての装置に送信する。ここ
で、バスインターフェース回路のバス入力制御回路は、
診断指示回路から診断指示信号を受信していない状態
で、診断監視信号を受信すると、バスからの全ての入力
を無効とするため、診断中の装置以外の装置はバス上か
ら入力データを取り込むことはない。これによって、バ
スに接続された他の装置に悪影響を与えることなく、バ
スに出力する出力データに対して自由なデータパターン
を設定することができる。また、この場合、バスサイク
ルを有効とするスタート信号に対しても自由なデータパ
ターンを設定して診断を行うことができ、多様な診断を
行うことによって障害の発生を見逃すのを防ぐことが可
能となる。
According to the bus interface circuit of the third aspect, there is provided a bus output control circuit for controlling an output from the input / output buffer to the bus when a diagnostic instruction signal is received from the diagnostic instruction circuit, During the diagnosis, control is performed so that the start signal that enables the bus cycle among the bus control signals is not output to the bus, so that other devices connected to the bus do not recognize that the bus cycle of the bus has started. No input data is taken in from the bus. As a result, a free data pattern can be set for the output data to be output to the bus without adversely affecting other devices connected to the bus, and a failure can be overlooked by performing various diagnoses. Can be prevented. According to the bus interface circuit of the fourth aspect, a diagnosis instruction circuit is provided outside the bus interface circuit, and the diagnosis instruction circuit individually instructs start of diagnosis for each device connected to the bus. A diagnostic instruction signal is transmitted, and a diagnostic monitoring signal notifying that any of the devices connected to the bus is performing a diagnosis is transmitted to all the devices connected to the bus. Here, the bus input control circuit of the bus interface circuit is
If a diagnostic monitoring signal is received without receiving a diagnostic instruction signal from the diagnostic instruction circuit, all inputs from the bus will be invalidated, so devices other than the device under diagnosis must take input data from the bus. There is no. As a result, a free data pattern can be set for output data to be output to the bus without adversely affecting other devices connected to the bus. Also, in this case, diagnosis can be performed by setting a free data pattern even for the start signal that enables the bus cycle, and it is possible to prevent failures from being overlooked by performing various diagnosis. Becomes

【0027】また、請求項5記載のバスインターフェー
ス回路によれば、診断を開始することを通知する診断通
知信号を診断通知バスを介してバスに接続された全ての
装置に送出する診断指示回路が備えられており、バスイ
ンターフェース回路のバス入力制御回路は、診断指示回
路から診断指示信号を受信していない状態で、診断通知
信号を受信すると、バスからの全ての入力を無効とする
ため、バスに接続された他の装置に悪影響を与えること
なく、バスサイクルを有効とするスタート信号を含む出
力データに対して自由なデータパターンを設定すること
ができ、多様な診断を行うことによって障害の発生を見
逃すのを防ぐことが可能となる。さらに、この場合、診
断通知信号は診断通知バスを介して送信されるため、バ
スに接続された装置毎に、診断指示回路と装置間とを接
続する伝送路を確保する必要が無く、例えばEISAバ
スやPCIバス等の汎用のバスにおいても、1本の未使
用ピンを使用して診断通知バスと接続することができ、
容易に実施することができる。
According to the bus interface circuit of the present invention, the diagnostic instruction circuit for transmitting a diagnostic notification signal for notifying the start of diagnosis to all devices connected to the bus via the diagnostic notification bus is provided. The bus input control circuit of the bus interface circuit is provided with a bus input control circuit that, when not receiving a diagnostic instruction signal from the diagnostic instruction circuit, receives a diagnostic notification signal and invalidates all inputs from the bus. A free data pattern can be set for output data including a start signal that enables a bus cycle without adversely affecting other devices connected to the Can be prevented from being overlooked. Further, in this case, since the diagnostic notification signal is transmitted via the diagnostic notification bus, there is no need to secure a transmission path connecting the diagnostic instruction circuit and the device for each device connected to the bus. A general-purpose bus such as a bus or a PCI bus can be connected to the diagnostic notification bus using one unused pin.
It can be easily implemented.

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

【図1】 本発明の一実施形態に係わるバスインターフ
ェース部診断方法を具現するバスインターフェース装置
のブロック構成図である。
FIG. 1 is a block diagram illustrating a bus interface device embodying a bus interface unit diagnosis method according to an embodiment of the present invention.

【図2】 図1に示すバスインターフェース装置におい
て制御バスに接続される要部の構成を詳細に示すブロッ
ク構成図である。
FIG. 2 is a block diagram showing in detail a configuration of a main part connected to a control bus in the bus interface device shown in FIG.

【図3】 図1に示すバスインターフェース装置により
EISAバスの診断を行う際のタイミングチャートであ
る。
FIG. 3 is a timing chart when an EISA bus is diagnosed by the bus interface device shown in FIG. 1;

【図4】 本実施形態の第1変形例に係わるバスインタ
ーフェース回路診断方法を具現するバスインターフェー
ス回路のブロック構成図である。
FIG. 4 is a block diagram of a bus interface circuit embodying a bus interface circuit diagnostic method according to a first modification of the embodiment.

【図5】 本実施形態の第2変形例に係わるバスインタ
ーフェース回路診断方法を具現するバスインターフェー
ス回路のブロック構成図である。
FIG. 5 is a block diagram of a bus interface circuit embodying a bus interface circuit diagnostic method according to a second modification of the embodiment.

【図6】 従来技術によるバスインターフェース回路診
断方法を実現するバスインターフェース回路のブロック
構成図である。
FIG. 6 is a block diagram of a bus interface circuit that implements a conventional bus interface circuit diagnostic method.

【図7】 従来技術によるバスインターフェース回路診
断方法によりEISAバスの診断を行う際のタイミング
チャートである。
FIG. 7 is a timing chart when diagnosing an EISA bus by a conventional bus interface circuit diagnostic method.

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

100 バス 101 アドレスバス 102 データバス 103 制御バス 104 バスインターフェース装置 111,112,113,602 入出力バッファ 114 アドレス入力レジスタ 115 アドレス出力レジスタ 116 データ入力レジスタ 117 データ出力レジスタ 118 バス制御入力レジスタ 119 バス制御出力レジスタ 120,121,122 比較回路 123 バス出力制御回路 124 バスインターフェース制御回路 125 診断指示回路 126 診断結果保持レジスタ 127 内部論理 201 コマンド信号 202 イネーブル信号 203 スタート信号 211 コマンド入力レジスタ 212 コマンド出力レジスタ 213 イネーブル入力レジスタ 214 イネーブル出力レジスタ 215 スタート入力レジスタ 216 スタート出力レジスタ Reference Signs List 100 bus 101 address bus 102 data bus 103 control bus 104 bus interface device 111, 112, 113, 602 input / output buffer 114 address input register 115 address output register 116 data input register 117 data output register 118 bus control input register 119 bus control output Registers 120, 121, 122 Comparison circuit 123 Bus output control circuit 124 Bus interface control circuit 125 Diagnosis instruction circuit 126 Diagnosis result holding register 127 Internal logic 201 Command signal 202 Enable signal 203 Start signal 211 Command input register 212 Command output register 213 Enable input Register 214 Enable output register 215 Start input register 216 Star Output register

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 情報処理装置のバスに出力した出力デー
タと、前記バスから受信した入力データとを比較するこ
とによって診断を行うバスインターフェース回路診断方
法であって、 診断の開始を指示する診断指示信号を受信して適宜のデ
ータパターンを有する前記出力データを前記バスに出力
する際に、バスサイクルを有効とするスタート信号を前
記バスに出力しないことを特徴とするバスインターフェ
ース回路診断方法。
1. A bus interface circuit diagnostic method for diagnosing by comparing output data output to a bus of an information processing device with input data received from the bus, comprising: a diagnostic instruction for instructing a start of a diagnostic; A bus interface circuit diagnostic method, comprising: not receiving a start signal for validating a bus cycle to the bus when receiving the signal and outputting the output data having an appropriate data pattern to the bus.
【請求項2】 情報処理装置のバスに出力した出力デー
タと、前記バスから受信した入力データとを比較するこ
とによって診断を行うバスインターフェース回路診断方
法であって、 前記バスに接続された装置に診断の開始を指示する診断
指示信号を送信する第1の処理と、 前記装置のうちの何れかが診断中であることを通知する
通知信号を前記バスに接続された全ての前記装置に送信
する第2の処理と、 前記診断指示信号を受信して適宜のデータパターンを有
する前記出力データを前記バスに出力する第3の処理と
を含み、 前記診断指示信号を受信していない状態で、前記通知信
号を受信すると、前記バスからの全ての入力を無効とす
ることを特徴とするバスインターフェース回路診断方
法。
2. A bus interface circuit diagnosing method for performing a diagnosis by comparing output data output to a bus of an information processing device with input data received from the bus, comprising: First processing for transmitting a diagnosis instruction signal for instructing start of diagnosis, and transmitting a notification signal for notifying that any of the devices is being diagnosed to all the devices connected to the bus A second process of receiving the diagnosis instruction signal and outputting the output data having an appropriate data pattern to the bus, and a third process of receiving the diagnosis instruction signal. A bus interface circuit diagnostic method, comprising: upon receiving a notification signal, invalidating all inputs from the bus.
【請求項3】 情報処理装置のバスに出力した出力デー
タと、前記バスから受信した入力データとを比較するこ
とによって診断を行うバスインターフェース回路であっ
て、 前記バスインターフェース回路は、前記バスに接続され
て前記出力データの出力及び前記入力データの受信を行
う入出力バッファと、診断の開始を指示する診断指示信
号を送出する診断指示回路と、前記診断指示信号を受信
して、適宜のデータパターンを有する前記出力データを
前記入出力バッファに送出するバスインターフェース制
御回路と、前記診断指示信号を受信して、前記入出力バ
ッファから前記バスへの出力を制御するバス出力制御回
路とを備えており、 診断時に、前記バス出力制御回路は、バスサイクルを有
効とするスタート信号を前記バスに出力しないことを特
徴とするバスインターフェース回路。
3. A bus interface circuit for performing diagnosis by comparing output data output to a bus of an information processing device with input data received from the bus, wherein the bus interface circuit is connected to the bus. An input / output buffer for outputting the output data and receiving the input data, a diagnostic instruction circuit for transmitting a diagnostic instruction signal for instructing the start of a diagnosis, and receiving the diagnostic instruction signal to obtain an appropriate data pattern. A bus interface control circuit that sends the output data to the input / output buffer, and a bus output control circuit that receives the diagnostic instruction signal and controls output from the input / output buffer to the bus. At the time of diagnosis, the bus output control circuit does not output a start signal for validating a bus cycle to the bus. Bus interface circuit according to claim.
【請求項4】 情報処理装置のバスに出力した出力デー
タと、前記バスから受信した入力データとを比較するこ
とによって診断を行うバスインターフェース回路であっ
て、 前記バスインターフェース回路には診断指示回路が接続
されており、前記診断指示回路は、前記バスに接続され
た装置毎に診断の開始を指示する診断指示信号を送信す
る第1の手段と、前記装置のうちの何れかが診断中であ
ることを通知する診断監視信号を前記バスに接続された
全ての前記装置に送信する第2の手段とを備えており、 前記バスインターフェース回路は、前記バスに接続され
て前記出力データの出力及び前記入力データの受信を行
う入出力バッファと、前記診断指示信号を受信して、適
宜のデータパターンを有する前記出力データを前記入出
力バッファに送出するバスインタフェース制御回路と、
前記診断指示回路から前記診断監視信号を受信して、前
記バスから前記入出力バッファへの入力を制御するバス
入力制御回路とを備えており、 前記バス入力制御回路は、前記診断指示回路から前記診
断指示信号を受信していない状態で、前記診断監視信号
を受信すると、前記バスからの全ての入力を無効とする
ことを特徴とするバスインターフェース回路。
4. A bus interface circuit for performing a diagnosis by comparing output data output to a bus of an information processing device with input data received from the bus, wherein the bus interface circuit includes a diagnosis instruction circuit. Being connected, the diagnostic instruction circuit is configured to transmit a diagnostic instruction signal for instructing start of diagnosis for each of the devices connected to the bus, and one of the devices is performing a diagnosis. A second means for transmitting a diagnostic monitoring signal notifying the above to all the devices connected to the bus, wherein the bus interface circuit is connected to the bus and outputs the output data and the output data. An input / output buffer that receives input data, and receives the diagnostic instruction signal, and outputs the output data having an appropriate data pattern to the input / output buffer. And a bus interface control circuit to be out,
A bus input control circuit that receives the diagnosis monitoring signal from the diagnosis instruction circuit and controls an input from the bus to the input / output buffer. A bus interface circuit that invalidates all inputs from the bus when the diagnostic monitoring signal is received without receiving a diagnostic instruction signal.
【請求項5】 情報処理装置のバスに出力した出力デー
タと、前記バスから受信した入力データとを比較するこ
とによって診断を行うバスインターフェース回路であっ
て、 前記バスインターフェース回路は、前記バスに接続され
て前記出力データの出力及び前記入力データの受信を行
う入出力バッファと、 診断の開始を指示する診断指示信号を送出すると共に、
診断を開始することを通知する診断通知信号を診断通知
バスを介して前記バスに接続された全ての前記装置に送
出する診断指示回路と、 前記診断指示信号を受信して、適宜のデータパターンを
有する前記出力データを前記入出力バッファに送出する
バスインタフェース制御回路と、前記診断通知バスから
前記診断通知信号を受信して、前記バスから前記入出力
バッファへの入力を制御するバス入力制御回路とを備え
ており、 前記バス入力制御回路は、前記診断指示回路から前記診
断指示信号を受信していない状態で、前記診断通知信号
を受信すると、前記バスからの全ての入力を無効とする
ことを特徴とするバスインターフェース回路。
5. A bus interface circuit for performing diagnosis by comparing output data output to a bus of an information processing device with input data received from the bus, wherein the bus interface circuit is connected to the bus. An input / output buffer for outputting the output data and receiving the input data, and transmitting a diagnosis instruction signal for instructing start of diagnosis,
A diagnostic instruction circuit for transmitting a diagnostic notification signal for notifying the start of diagnosis to all the devices connected to the bus via a diagnostic notification bus; and receiving the diagnostic instruction signal and forming an appropriate data pattern. A bus interface control circuit that sends the output data to the input / output buffer, a bus input control circuit that receives the diagnosis notification signal from the diagnosis notification bus, and controls input from the bus to the input / output buffer; When the bus input control circuit receives the diagnosis notification signal while not receiving the diagnosis instruction signal from the diagnosis instruction circuit, the bus input control circuit invalidates all inputs from the bus. Bus interface circuit characterized.
JP11148799A 1999-04-19 1999-04-19 Bus interface circuit diagnostic method and bus interface circuit Expired - Fee Related JP3427776B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11148799A JP3427776B2 (en) 1999-04-19 1999-04-19 Bus interface circuit diagnostic method and bus interface circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11148799A JP3427776B2 (en) 1999-04-19 1999-04-19 Bus interface circuit diagnostic method and bus interface circuit

Publications (2)

Publication Number Publication Date
JP2000305864A true JP2000305864A (en) 2000-11-02
JP3427776B2 JP3427776B2 (en) 2003-07-22

Family

ID=14562524

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11148799A Expired - Fee Related JP3427776B2 (en) 1999-04-19 1999-04-19 Bus interface circuit diagnostic method and bus interface circuit

Country Status (1)

Country Link
JP (1) JP3427776B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011191975A (en) * 2010-03-15 2011-09-29 Toshiba Corp Computer function verification method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109839548A (en) * 2017-11-24 2019-06-04 深圳市科比特航空科技有限公司 Interface test method, apparatus and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011191975A (en) * 2010-03-15 2011-09-29 Toshiba Corp Computer function verification method

Also Published As

Publication number Publication date
JP3427776B2 (en) 2003-07-22

Similar Documents

Publication Publication Date Title
JP3987589B2 (en) Integrated circuit
JP2996440B2 (en) Diagnosis method of data processing system
JPH0219954A (en) Data communication bus system
JPH02224140A (en) Interruption testing device
US5428623A (en) Scannable interface to nonscannable microprocessor
JPH0735816A (en) Pattern memory circuit for integrated circuit tester
JP3427776B2 (en) Bus interface circuit diagnostic method and bus interface circuit
JP2001168917A (en) Integrated circuit having additional port
JP2000231539A (en) Data transfer system and data transfer method
JPS6218067B2 (en)
JPH087442Y2 (en) Input / output device of programmable controller
JPH0399337A (en) Diagnostic method for data processing unit, data processing unit and data processing system
JP2908135B2 (en) Microprocessor failure detection device
US8341301B2 (en) Device and method for testing a direct memory access controller
JPH0667923A (en) Self diagnostic system
JPH11328102A (en) Bus control system and bus control method
JP3341738B2 (en) Memory error detection method
JPH07104795B2 (en) Error detection method
JPS5975354A (en) Processor device
JP2000076199A (en) Multiprocessor device provided with debugging terminal
JPH04152448A (en) Method and device for conversion of interface
JPS63310033A (en) Multiprocessor diagnostic system
JPH01162960A (en) Diagnostic system for i/o interface control circuit
JPH0776947B2 (en) Failure diagnosis method
JPH0570853B2 (en)

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20030408

LAPS Cancellation because of no payment of annual fees