JPH11191073A - Pci bus processor - Google Patents

Pci bus processor

Info

Publication number
JPH11191073A
JPH11191073A JP9358491A JP35849197A JPH11191073A JP H11191073 A JPH11191073 A JP H11191073A JP 9358491 A JP9358491 A JP 9358491A JP 35849197 A JP35849197 A JP 35849197A JP H11191073 A JPH11191073 A JP H11191073A
Authority
JP
Japan
Prior art keywords
pci bus
bus
pci
address
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
JP9358491A
Other languages
Japanese (ja)
Inventor
Hitoshi Ishida
仁志 石田
Yuichi Tokunaga
雄一 徳永
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP9358491A priority Critical patent/JPH11191073A/en
Publication of JPH11191073A publication Critical patent/JPH11191073A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To perform continuous operation of a system in accordance with a PCI specification by sending an address and command information stored in a storage register through a dedicated line connected only to a CPU when an abnormality request signal from the CPU is received. SOLUTION: An abnormality detection circuit 23 supervises transaction on a PCI and when it detects abnormality, it outputs an address and a request signal for command information which are stored in a hold register 22. When a storage register 24 inputs the request signal from the circuit 23, it stores the address and command information from the register 22. When a PCI bus interface 25 receives an abnormality detection request signal from the CPU, it outputs the address and command information which are stored in the register 24 onto the PCI bus. Because of such a configuration, when abnormality occurs, the CPU can specify the occurrence place and separate the abnormal part.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、PCIバス仕様
に準拠しながら、システムの連続稼働性を実現すること
ができるとともに、多数のデバイスをPCIバスに接続
した場合でも、遅延を回避しシステム性能を向上させる
ことができるPCIバス処理装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention can realize continuous system operation while conforming to the PCI bus specification, and can avoid delays even when a large number of devices are connected to the PCI bus, thereby improving system performance. The present invention relates to a PCI bus processing device capable of improving the performance.

【0002】[0002]

【従来の技術】図1はPCIバスに接続されたPCIバ
ス処理装置とその周辺構成を示す構成図であり、図にお
いて、1は通信システム内のエラー処理を実行するCP
U、2はPCIバス4上にトランザクションを起動する
バスマスタ、3はバスマスタ2が起動したトランザクシ
ョンのターゲットであるバススレーブ、4は33MHz
の同期クロック信号で動作するPCI(Periphe
ral Component Interconnec
t)バスである。このPCIバス4により運ばれるアド
レス情報およびデータ情報は32ビット長であり、これ
らのアドレス情報およびデータ情報は、同じ32ビット
のバス上で多重化されている。多重化することによりア
ドレスラインとデータラインとを別にする必要がなく、
このことにより、他のバスアーキテクチャに比べた場
合、PCIバス4の環境で必要な信号の数を低減させる
ことができる。
2. Description of the Related Art FIG. 1 is a block diagram showing a PCI bus processing device connected to a PCI bus and its peripheral configuration. In the drawing, reference numeral 1 denotes a CP for executing error processing in a communication system.
U, 2 denotes a bus master that starts a transaction on the PCI bus 4, 3 denotes a bus slave that is a target of the transaction started by the bus master 2, 4 denotes 33 MHz
(Periphere) operating with a synchronous clock signal of
ral Component Interconnect
t) Bus. The address information and data information carried by the PCI bus 4 are 32 bits long, and these address information and data information are multiplexed on the same 32-bit bus. By multiplexing, there is no need to separate address lines and data lines,
This makes it possible to reduce the number of signals required in the environment of the PCI bus 4 as compared with other bus architectures.

【0003】このPCIバス4の仕様書(PCI Lo
cal Bus Specification Rev
ision 2.1)では、異常状態としてマスタアボ
ート、ターゲットアボート、パリティエラー、システム
エラーを定義し、それぞれに対して検出と報告をオプシ
ョンで規定している。したがって、検出や報告を実施す
るか否か、どのような情報を収集するかは、各PCIデ
バイスに依存する。また、PCIバス4の仕様書では、
バスマスタ2はバススレーブ3によってリトライ応答さ
れたトランザクションを転送が正常/異常終了するまで
繰り返し実行しなければならない。
The specification of the PCI bus 4 (PCI Lo)
cal Bus Specification Rev
In the specification 2.1), a master abort, a target abort, a parity error, and a system error are defined as abnormal states, and detection and reporting are optionally defined for each. Therefore, whether or not to perform detection and reporting and what information to collect depends on each PCI device. In the specification of the PCI bus 4,
The bus master 2 must repeatedly execute the transaction replied by the bus slave 3 until the transfer ends normally / abnormally.

【0004】また、コンピュータシステムは、通常、複
数のバスを含んでおり、このシステム内の各バスには装
置が接続されており、それらの装置はそのバスを介して
お互いにローカルに通信する。しかしながら、あるバス
に接続された装置が別のバスに接続された装置に情報を
書き込んだりあるいはその装置から情報を読み出したり
する必要がある場合には、異なるバスを介したシステム
ワイドな通信が必要とされる。この異なるバス上の装置
間におけるシステムワイドな通信を可能にするために、
あるバスの通信プロトコルと別のプロトコルを適合させ
るブリッジが設けられている。
A computer system usually includes a plurality of buses, and devices are connected to each bus in the system, and the devices communicate locally with each other via the buses. However, when a device connected to one bus needs to write information to or read information from a device connected to another bus, system-wide communication via a different bus is required. It is said. To enable system-wide communication between devices on this different bus,
Bridges are provided to adapt the communication protocol of one bus to another.

【0005】図15は、例えばDigital Equ
ipment Corp社のPCIバスブリッジを示す
構成図であり、図において、10はPCIブリッジ本
体、11はプライマリPCIバス、12はセカンダリP
CIバス、13はセカンダリPCIバス12のアービ
タ、14はPCIコントローラ、15はプライマリPC
Iバス11からセカンダリPCIバス12への方向のデ
ータパス、16はセカンダリPCIバス12からプライ
マリPCIバス11への方向のデータパスである。
FIG. 15 shows, for example, Digital Equ.
FIG. 2 is a configuration diagram showing a PCI bus bridge of an IP Corp. In the figure, 10 is a PCI bridge body, 11 is a primary PCI bus, and 12 is a secondary P bus.
CI bus 13, arbiter for secondary PCI bus 12, 14 for PCI controller, 15 for primary PC
Reference numeral 16 denotes a data path in a direction from the I bus 11 to the secondary PCI bus 12, and reference numeral 16 denotes a data path in a direction from the secondary PCI bus 12 to the primary PCI bus 11.

【0006】次に、プライマリPCIバス11からセカ
ンダリPCIバス12へのデータ転送のタイミングを説
明する。図16はプライマリPCIバスからセカンダリ
PCIバスへのデータ転送のタイミング図である。PC
Iブリッジ本体10はプライマリPCIバス11からア
ドレスを受信すると(図16のCY2)、PCIコント
ローラ14はそのトランザクションを受信しセカンダリ
PCIバス12に転送すべきものか否かを判別する(図
16のCY3)。セカンダリPCIバス12へ転送する
ものであれば、続くデータを受信しプライマリPCIバ
ス11からセカンダリPCIバス12への方向のデータ
パス15内バッファに蓄える(図16のCY4〜CY1
3)。
Next, the timing of data transfer from the primary PCI bus 11 to the secondary PCI bus 12 will be described. FIG. 16 is a timing chart of data transfer from the primary PCI bus to the secondary PCI bus. PC
When the I-bridge main body 10 receives the address from the primary PCI bus 11 (CY2 in FIG. 16), the PCI controller 14 receives the transaction and determines whether or not the transaction should be transferred to the secondary PCI bus 12 (CY3 in FIG. 16). . If the transfer is to the secondary PCI bus 12, the subsequent data is received and stored in a buffer in the data path 15 in the direction from the primary PCI bus 11 to the secondary PCI bus 12 (CY4 to CY1 in FIG. 16).
3).

【0007】それと同時にPCIコントローラ14はア
ービタ13によってセカンダリPCIバス12のバス使
用権を得て、セカンダリPCIバス12へトランザクシ
ョンを発行する(図16のCY5)。しかし、逆の場
合、すなわちセカンダリPCIバス12からプライマリ
PCIバス11への転送の場合、外部アービタへバス要
求を発行し、セカンダリPCIバス12からプライマリ
PCIバス11への方向のデータパス16のデータをプ
ライマリPCIバス11へ転送する。
At the same time, the PCI controller 14 obtains the right to use the secondary PCI bus 12 by the arbiter 13 and issues a transaction to the secondary PCI bus 12 (CY5 in FIG. 16). However, in the opposite case, that is, in the case of transfer from the secondary PCI bus 12 to the primary PCI bus 11, a bus request is issued to the external arbiter, and data on the data path 16 in the direction from the secondary PCI bus 12 to the primary PCI bus 11 is transmitted. Transfer to the primary PCI bus 11.

【0008】システムに異常が発生した際に、異常な箇
所を特定し、その部分のみ切り離すことにより、システ
ムとして連続稼動できる機能を必要とする分野がある
(例えば、サーバ機等)。従って、PCIバス4を連続
稼動性を要するシステムに適用する場合、情報の収集・
格納が必要であった。
[0008] In some fields, when an abnormality occurs in the system, a function that enables the system to operate continuously by specifying an abnormal part and isolating the part is required (for example, a server machine). Therefore, when the PCI bus 4 is applied to a system that requires continuous operation, information collection and
Storage was required.

【0009】また、PCIバス4を用いた処理装置で
は、PCIバス4は電気的に8デバイスまでの接続が限
界であり、さらにコネクタを介した場合は2デバイス分
の負荷を必要とするので、4デバイスが限界と接続数が
少ないため、多デバイスを接続したい場合にはPCIブ
リッジ本体10によって階層化しなければならなかっ
た。
Further, in a processing apparatus using the PCI bus 4, the connection of the PCI bus 4 is electrically limited to eight devices, and a load of two devices is required when the device is connected via a connector. Since four devices are limited and the number of connections is small, when connecting a large number of devices, the PCI bridge main body 10 must hierarchize.

【0010】[0010]

【発明が解決しようとする課題】従来のPCIバス処理
装置は以上のように構成されているので、PCIバス4
を連続稼動性を要するシステムに適用とする場合、情報
の収集・格納が必須となり、システム内の任意のバスス
レーブ3が異常によりリトライ応答を返し続けた場合、
バスマスタ2の処理は停止するだけでなく、異常発生の
原因を検知することができないなどの課題があった。
Since the conventional PCI bus processing device is configured as described above, the PCI bus
Is applied to a system requiring continuous operation, it is necessary to collect and store information. If any bus slave 3 in the system keeps returning a retry response due to an abnormality,
There are problems such as not only stopping the processing of the bus master 2 but also failing to detect the cause of the occurrence of the abnormality.

【0011】また、従来のPCIブリッジ本体10は、
上記に示したように一方のPCIバス4から受信が開始
され、アドレスの判断および他方のバスアービトレーシ
ョンの処理の後に他方へのデータを実施するために遅延
が発生するとともに、多階層接続のシステムの場合、バ
ススレーブ3までに経由する階層の数に比例して遅延が
増大し性能が低下するなどの課題があった。
Further, the conventional PCI bridge main body 10 includes:
As described above, reception starts from one PCI bus 4, and a delay occurs for executing data to the other after the address determination and the processing of the other bus arbitration. In such a case, there has been a problem that the delay increases in proportion to the number of hierarchies passing through the bus slave 3 and the performance decreases.

【0012】この発明は上記のような課題を解決するた
めになされたもので、PCIバス仕様に準拠しながら、
システムの連続稼働性を実現することができるPCIバ
ス処理装置を得ることを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and is based on the PCI bus specification.
An object of the present invention is to provide a PCI bus processing device capable of realizing continuous operation of a system.

【0013】また、この発明は、多数のデバイスをPC
Iバスに接続した場合でも、遅延を回避しシステム性能
を向上させることができるPCIバス処理装置を得るこ
とを目的とする。
Further, the present invention relates to a method for connecting a large number of devices to a PC
An object of the present invention is to provide a PCI bus processing device that can avoid delay and improve system performance even when connected to an I bus.

【0014】[0014]

【課題を解決するための手段】この発明に係るPCIバ
ス処理装置は、PCIバス上のトランザクションの開始
をトランザクション開始検出回路により検出し、このト
ランザクション開始検出回路からの検出信号を受信した
ときに、PCIバス上のアドレス/データ線およびバイ
トイネーブル線上のアドレスおよびコマンド情報を保持
レジスタに保持し、PCIバス上のトランザクションを
監視し異常を検出した場合に、保持レジスタに格納され
ているアドレス及びコマンド情報の要求信号を異常検出
回路により出力し、この異常検出回路からの要求信号を
入力すると、保持レジスタからのアドレス及びコマンド
情報を格納レジスタに格納し、CPUからの異常情報要
求信号を受信すると、格納レジスタに格納されているア
ドレス及びコマンド情報をPCIバスインタフェースに
よりPCIバス上に出力するようにしたものである。
SUMMARY OF THE INVENTION A PCI bus processing device according to the present invention detects the start of a transaction on a PCI bus by a transaction start detection circuit, and when a detection signal from the transaction start detection circuit is received, The address and command information on the address / data line and the byte enable line on the PCI bus are held in a holding register. When a transaction on the PCI bus is monitored and an abnormality is detected, the address and command information stored in the holding register are stored. Is output by the abnormality detection circuit. When the request signal from the abnormality detection circuit is input, the address and command information from the holding register are stored in the storage register, and when the abnormality information request signal from the CPU is received, the storage is performed. Address and command stored in register Information by the PCI bus interface is obtained so as to output onto the PCI bus.

【0015】この発明に係るPCIバス処理装置は、C
PUからの異常情報要求信号を受信すると、CPUにの
み接続されている専用線を介して格納レジスタに格納さ
れているアドレス及びコマンド情報を送信するようにし
たものである。
The PCI bus processing device according to the present invention
When an abnormal information request signal is received from the PU, the address and command information stored in the storage register are transmitted via a dedicated line connected only to the CPU.

【0016】この発明に係るPCIバス処理装置は、P
CIバス上のトランザクションの開始をトランザクショ
ン開始検出回路により検出し、この検出信号を受信した
ときに、PCIバス上のアドレス/データ線およびバイ
トイネーブル線上のアドレスおよびコマンド情報を保持
レジスタに保持し、PCIバス上のリトライ応答を検出
した場合にリトライ応答検出信号を出力とともに、検出
されたリトライ応答回数が設定されたリトライ応答回数
を超えた場合にリトライエラー検出回路からオバー信号
を出力し、このリトライ応答検出信号を入力すると、保
持レジスタから出力されたアドレスおよびコマンド情報
をリトライレジスタに保持し、リトライエラー検出回路
からのオバー信号を入力すると、リトライレジスタから
出力されたアドレスおよびコマンド情報を格納レジスタ
に保持し、CPUからの異常情報要求信号を受信する
と、格納レジスタに格納されているアドレス及びコマン
ド情報をPCIバスインタフェースによりPCIバス上
に出力するようにしたものである。
The PCI bus processing device according to the present invention
The start of a transaction on the CI bus is detected by a transaction start detection circuit, and when this detection signal is received, the address and command information on the address / data line and the byte enable line on the PCI bus are held in a holding register, and the PCI A retry response detection signal is output when a retry response on the bus is detected, and an over signal is output from the retry error detection circuit when the detected number of retry responses exceeds the set number of retry responses. When the detection signal is input, the address and command information output from the holding register is stored in the retry register, and when the over signal from the retry error detection circuit is input, the address and command information output from the retry register are stored in the storage register. And CPU Upon receiving the et abnormality information request signal, it is obtained so as to output onto the PCI bus by the PCI bus interface address and command information stored in the storage register.

【0017】この発明に係るPCIバス処理装置は、バ
スプロトコルの異なる第1のPCIバスと第2のPCI
バスとの調停およびバスプロトコルの同期を調整し、第
1のPCIバスから第2のPCIバスへのデータ転送を
ブリッジ装置により行い、バッファ装置は両者のPCI
バスのアクセス権を有している場合には、一方のPCI
バスからの送信データを他方のPCIバスへ通過させ、
何れか一方のPCIバスのアクセス権しか有していない
場合には送信データを一旦受信し、両者のPCIバスの
アクセス権を得た時点で、受信したデータをアクセス権
を得たPCIバスにデータ転送を行い、切替信号を受信
した場合に第1のパススイッチによりブリッジ装置に切
り替え、切替信号を受信した場合に第2のパススイッチ
によりブリッジ装置に切り替え、外部からのデータの書
き込みができるレジスタの値を検知し2つのパススイッ
チを連動して切り替える場合には切替信号をスイッチ切
替制御装置により出力するようにしたものである。
The PCI bus processing device according to the present invention comprises a first PCI bus and a second PCI bus having different bus protocols.
Arbitration with the bus and synchronization of the bus protocol are adjusted, and data transfer from the first PCI bus to the second PCI bus is performed by the bridge device.
If you have access to the bus, one PCI
Passing transmission data from the bus to the other PCI bus,
When only one of the PCI buses has the access right, the transmission data is received once, and when the access right of both PCI buses is obtained, the received data is transferred to the PCI bus which has obtained the access right. When a transfer signal is received, a switch is switched to a bridge device by a first path switch when a switch signal is received, and a switch is switched to a bridge device by a second path switch when a switch signal is received. When a value is detected and two path switches are switched in conjunction with each other, a switching signal is output by a switch switching control device.

【0018】この発明に係るPCIバス処理装置は、自
己の下層に位置するPCIバス処理装置のレジスタの値
を検知し、自己のレジスタも設定変更するようにしたも
のである。
The PCI bus processing device according to the present invention detects the value of the register of the PCI bus processing device located in the lower layer of the PCI bus processing device and changes the setting of the register of the PCI bus processing device.

【0019】この発明に係るPCIバス処理装置は、ブ
リッジ装置によりバスプロトコルの異なる第1のPCI
バスと第2のPCIバスの調停およびバスプロトコルの
同期を調整し、第1のPCIバスから第2のPCIバス
へのデータ転送を行い、バッファ装置は両者のPCIバ
スのアクセス権を有している場合には、一方のPCIバ
スからの送信データを他方のPCIバスへ通過させ、何
れか一方のPCIバスのアクセス権しか有していない場
合には送信データを一旦受信し、両者のPCIバスのア
クセス権を得た時点で、受信したデータをアクセス権を
得たPCIバスにデータ転送を行い、切替信号を受信し
た場合に第1のパススイッチによりブリッジ装置に切り
替え、切替信号を受信した場合に第2のパススイッチに
よりブリッジ装置に切り替え、アドレスデコーダにより
第1のPCIバス上のアドレスを検知し、データを第2
のPCIバスへ転送する必要があるか否かを判断し、ア
ービタにより第2のPCIバスがデバイスにより使用さ
れているか否かをチェックし、スイッチ切替制御装置に
よりアドレスデコーダによりデータを第2のPCIバス
へ転送する必要があると判断された場合とアービタによ
り第2のPCIバスがデバイスにより使用されていると
判断された場合に、第1のパススイッチと第2のパスス
イッチに切替信号を出力するようにしたものである。
The PCI bus processing device according to the present invention comprises a first PCI bus processing device having a different bus protocol depending on a bridge device.
The arbitration between the bus and the second PCI bus and the synchronization of the bus protocol are adjusted, and the data is transferred from the first PCI bus to the second PCI bus. The buffer device has access rights to both PCI buses. In this case, the transmission data from one PCI bus is passed to the other PCI bus, and if only one of the PCI buses has an access right, the transmission data is received once and both PCI buses are received. When the access right is obtained, the received data is transferred to the PCI bus from which the access right is obtained, and when the switch signal is received, the data is switched to the bridge device by the first path switch, and the switch signal is received. Then, the bridge device is switched to the bridge device by the second path switch, the address on the first PCI bus is detected by the address decoder, and the data is transferred to the second PCI bus.
Arbiter checks whether the second PCI bus is being used by a device, and the switch switching control device transmits data to the second PCI bus by the address decoder. A switching signal is output to the first path switch and the second path switch when it is determined that transfer to the bus is necessary and when the arbiter determines that the second PCI bus is being used by a device. It is something to do.

【0020】この発明に係るPCIバス処理装置のスイ
ッチ切替制御装置は、デバイス情報テーブルに格納され
たデバイスの情報とアドレスデコーダによるアドレスデ
コードの結果から、切替信号を出力するか否かを判断す
るようにしたものである。
A switch switching control device of a PCI bus processing device according to the present invention determines whether or not to output a switching signal based on device information stored in a device information table and a result of address decoding by an address decoder. It was made.

【0021】この発明に係るPCIバス処理装置は、複
数のPCIバスを1つのバス切替スイッチにスター型に
接続し、装置切替スイッチが転送先に応じて接続するP
CIバスを切り替えるようにしたものである。
In the PCI bus processing device according to the present invention, a plurality of PCI buses are connected to one bus changeover switch in a star configuration, and the device changeover switch is connected according to a transfer destination.
The CI bus is switched.

【0022】[0022]

【発明の実施の形態】以下、この発明の実施の一形態を
説明する。 実施の形態1.図2はこの発明の実施の形態1によるP
CIバス処理装置を示す構成図であり、図において、2
0はこの発明の実施の形態1によるPCIバス処理装置
であり、図1に示すPCIバス4上のトランザクション
を監視し、トランザクション中に異常が発生した場合、
該トランザクションのアドレスとコマンド情報を格納す
る。21はPCIバス4上のトランザクションの開始を
検出するトランザクション開始検出回路であり、PCI
バス信号のFRAME#を入力する。22はPCIバス
4上のアドレス/データ線及びコマンド/バイトイネー
ブル線上の情報を保持する保持レジスタであり、PCI
バス信号のAD[31:0]とC/BE[3:0]を入
力する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below. Embodiment 1 FIG. FIG. 2 shows P according to the first embodiment of the present invention.
FIG. 2 is a configuration diagram illustrating a CI bus processing device, in which FIG.
Reference numeral 0 denotes a PCI bus processing device according to the first embodiment of the present invention, which monitors a transaction on the PCI bus 4 shown in FIG. 1 and, when an abnormality occurs during the transaction,
The address and command information of the transaction are stored. A transaction start detection circuit 21 detects the start of a transaction on the PCI bus 4.
The bus signal FRAME # is input. Reference numeral 22 denotes a holding register for holding information on address / data lines and command / byte enable lines on the PCI bus 4;
The bus signals AD [31: 0] and C / BE [3: 0] are input.

【0023】23はPCIバス上の異常を検出する異常
検出回路であり、PCIバス信号のFRAME#、IR
DY#、DEVSEL#、TRDY#、STOP#、P
ERR#、およびSERR#を入力する。24は有効か
否かを示すvalidbitを有し、異常が発生した時
のアドレス及びコマンド情報を格納する格納レジスタ、
25はPCIバスインタフェースであり、全てのPCI
バス信号を入力する。
An abnormality detection circuit 23 detects an abnormality on the PCI bus, and detects FRAME #, IR of the PCI bus signal.
DY #, DEVSEL #, TRDY #, STOP #, P
Input ERR # and SERR #. A storage register 24 has a validbit indicating whether or not the address is valid, and stores an address and command information when an abnormality occurs.
25 is a PCI bus interface, and all PCI bus interfaces
Input bus signal.

【0024】次に動作について説明する。まず、図1の
構成を参照し通信システム全体の概略的な動作について
説明する。最初にバスマスタ2はバススレーブ3に対し
てPCIバス4上にトランザクションを起動し、トラン
ザクション中に異常が発生した場合、PCIバス仕様に
従って、異常を報告する。次に、PCIバス処理装置2
0は、PCIバス4上のトランザクションを監視し、ト
ランザクション中に異常が発生した場合、該トランザク
ションのアドレスとコマンド情報を格納する。そして、
CPU1はPCIバス処理装置20からPCIバス4上
での異常の報告を受けると、PCIバス処理装置20内
に格納されてトランザクション情報をPCIトランザク
ションによりリードし、異常内容並びに異常が発生した
モジュールを解析し、該モジュールをシステムから切り
離す。
Next, the operation will be described. First, a schematic operation of the entire communication system will be described with reference to the configuration of FIG. First, the bus master 2 starts a transaction on the PCI bus 4 with respect to the bus slave 3 and, when an abnormality occurs during the transaction, reports the abnormality according to the PCI bus specification. Next, the PCI bus processing device 2
0 monitors a transaction on the PCI bus 4, and stores an address of the transaction and command information when an abnormality occurs during the transaction. And
When the CPU 1 receives the report of the abnormality on the PCI bus 4 from the PCI bus processing device 20, the CPU 1 reads the transaction information stored in the PCI bus processing device 20 by the PCI transaction and analyzes the contents of the abnormality and the module in which the abnormality has occurred. Disconnect the module from the system.

【0025】次に、PCIバス仕様書で定義された異常
状態と該異常状態が発生した時のPCIバス処理装置2
0の動作を説明する。まず、マスタアボート(異常)が
発生した時のPCIバス処理装置20の動作を図3およ
び図1を用いて説明する。図3はこの発明の実施の形態
1によるPCIバス処理装置のマスタアボートの例を示
すタイミングチャートである。時刻T0でバスマスタ2
がPCIバス4上にトランザクションを開始すると、P
CIバス処理装置20内のトランザクション開始検出回
路21は時刻T1でトランザクションの開始を検出す
る。そして、保持レジスタ22は、トランザクション開
始検出回路21からの信号を受けて時刻T1でのアドレ
ス/コマンド情報を格納する。
Next, the abnormal state defined in the PCI bus specification and the PCI bus processor 2 when the abnormal state occurs
The operation of 0 will be described. First, the operation of the PCI bus processing device 20 when a master abort (abnormal) occurs will be described with reference to FIGS. FIG. 3 is a timing chart showing an example of a master abort of the PCI bus processing device according to the first embodiment of the present invention. Bus master 2 at time T0
Initiates a transaction on PCI bus 4, P
The transaction start detection circuit 21 in the CI bus processing device 20 detects the start of a transaction at time T1. Then, the holding register 22 receives the signal from the transaction start detection circuit 21 and stores the address / command information at the time T1.

【0026】次に、異常検出回路23は、PCIバス4
上のトランザクションを監視し、時刻T2でマスタアボ
ートが発生すると、保持レジスタ22の内容を格納レジ
スタ24に格納すると同時に、validbitを有効
にする。そして、PCIバス4上でマスタアボート発生
の報告を受けたCPU1は、PCIバス処理装置20内
の格納レジスタ24をPCIバス4を介してリードす
る。PCIバス処理装置20内のPCIバスインタフェ
ース25は、CPU1からのPCIリードトランザクシ
ョンを受けて、validbitが有効な場合のみ格納
レジスタ24の値をCPU1に返す。一方、valid
bitが無効な場合は“FFFFFFFFh”を返す。
Next, the abnormality detection circuit 23 is connected to the PCI bus 4
The above transaction is monitored, and when a master abort occurs at time T2, the contents of the holding register 22 are stored in the storage register 24, and at the same time, validbit is made valid. Then, the CPU 1 receiving the report of the occurrence of the master abort on the PCI bus 4 reads the storage register 24 in the PCI bus processing device 20 via the PCI bus 4. The PCI bus interface 25 in the PCI bus processing device 20 receives the PCI read transaction from the CPU 1 and returns the value of the storage register 24 to the CPU 1 only when validbit is valid. On the other hand, valid
If the bit is invalid, “FFFFFFFFh” is returned.

【0027】また、ターゲットアボートおよびパリティ
エラーが発生した時のPCIバス4上のトランザクショ
ンを説明する。図4はこの発明の実施の形態1によるP
CIバス処理装置のターゲットアボートの例を示すタイ
ミングチャートであり、図5はこの発明の実施の形態1
によるPCIバス処理装置のパリティエラーの例を示す
タイミングチャートである。時刻T0でトランザクショ
ンが開始され、時刻T1でアドレス/コマンド情報を格
納し、時刻T2で格納レジスタ24に格納する。
A transaction on the PCI bus 4 when a target abort and a parity error occur will be described. FIG. 4 shows P according to the first embodiment of the present invention.
FIG. 5 is a timing chart showing an example of a target abort of the CI bus processing device, and FIG.
6 is a timing chart showing an example of a parity error of the PCI bus processing device due to the following. A transaction is started at time T0, address / command information is stored at time T1, and stored in the storage register 24 at time T2.

【0028】以上のように、この実施の形態1によれ
ば、トランザクション開始検出回路21がPCIバス4
上のトランザクションの開始を検出し、保持レジスタ2
2がアドレス/コマンド情報を保持し、異常検出回路2
3がPCIバス4上の異常を検出し、格納レジスタ24
が異常情報を格納するようにしているので、CPU1は
異常が発生した時異常発生箇所を特定することができ、
異常発生箇所の切り離しが可能となるため、システムは
連続稼動することができるなどの効果が得られる。
As described above, according to the first embodiment, the transaction start detection circuit 21
The start of the above transaction is detected and the holding register 2
2 holds the address / command information, and the abnormality detection circuit 2
3 detects an abnormality on the PCI bus 4 and
Stores the abnormality information, the CPU 1 can identify the abnormality occurrence location when the abnormality occurs,
Since the location where the abnormality has occurred can be separated, effects such as continuous operation of the system can be obtained.

【0029】実施の形態2.図6はこの発明の実施の形
態2によるPCIバス処理装置とその周辺構成を示す構
成図であり、図において、実施の形態1と同一符号につ
いては同一または相当部分を示すので説明を省略する。
上記の実施の形態1では、異常情報をアクセスする際に
PCIバス4を使用するようにしたものであるが、この
実施の形態2ではPCIバス4自体が正常に動作しない
ような場合に異常発生箇所の解析が可能な場合を示す。
30はPCIバス4上のトランザクションを監視し異常
が発生した際の情報を収集・格納するPCIバス処理装
置、31はPCIバス処理装置30内の情報をアクセス
するための専用線である。
Embodiment 2 FIG. 6 is a configuration diagram showing a PCI bus processing device and its peripheral configuration according to a second embodiment of the present invention. In the figure, the same reference numerals as those in the first embodiment denote the same or corresponding parts, and a description thereof will be omitted.
In the first embodiment, the PCI bus 4 is used when accessing the abnormality information. However, in the second embodiment, when the PCI bus 4 itself does not operate normally, an abnormality occurs. The case where the analysis of a part is possible is shown.
Reference numeral 30 denotes a PCI bus processing unit that monitors transactions on the PCI bus 4 and collects and stores information when an abnormality occurs. Reference numeral 31 denotes a dedicated line for accessing information in the PCI bus processing unit 30.

【0030】次に動作について説明する。まず、図6に
おいて、バスマスタ2がバススレーブ3に対してPCI
バス4上にトランザクションを起動し、トランザクショ
ン中に異常が発生した場合、PCIバス4の仕様に従っ
て、異常をCPU1に報告する。次に、PCIバス処理
装置30はPCIバス4上のトランザクションを監視
し、トランザクション中に異常が発生した場合、該トラ
ンザクションのアドレスとコマンド情報を格納する。一
方、CPU1は、PCIバス4上で異常が報告される
と、PCIバス処理装置30内に格納されてトランザク
ション情報を専用線31を介してリードし、異常内容並
びに異常が発生したモジュールを解析し、該モジュール
をシステムから切り離す。
Next, the operation will be described. First, in FIG. 6, the bus master 2
When a transaction is activated on the bus 4 and an abnormality occurs during the transaction, the abnormality is reported to the CPU 1 in accordance with the specification of the PCI bus 4. Next, the PCI bus processing device 30 monitors a transaction on the PCI bus 4 and stores an address and command information of the transaction when an abnormality occurs during the transaction. On the other hand, when an abnormality is reported on the PCI bus 4, the CPU 1 reads the transaction information stored in the PCI bus processing device 30 via the dedicated line 31 and analyzes the contents of the abnormality and the module in which the abnormality has occurred. Disconnect the module from the system.

【0031】次に、図3および図7を用いてマスタアボ
ートが発生した時のPCIバス処理装置30の動作を説
明する。図7はこの発明の実施の形態2によるPCIバ
ス処理装置を示す構成図である。図7において、32は
格納レジスタ24に接続された専用線I/F部である。
まず、時刻T0でバスマスタ2がPCIバス4上にトラ
ンザクションを開始すると、PCIバス処理装置30内
のトランザクション開始検出回路21は時刻T1でトラ
ンザクションの開始を検出する。そして、保持レジスタ
22は、トランザクション開始検出回路21からの信号
を受けて時刻T1でのアドレス/コマンド情報を格納す
る。次に、異常検出回路23は、PCIバス4上のトラ
ンザクションを監視し、時刻T2でマスタアボートが発
生すると、保持レジスタ22の内容を格納レジスタ24
に格納すると同時に、validbitを有効にする。
PCIバス4上でマスタアボート発生の報告を受けたC
PU1は、PCIバス処理装置30内の格納レジスタ2
4を専用線31を介してリードする。
Next, the operation of the PCI bus processing unit 30 when a master abort occurs will be described with reference to FIGS. FIG. 7 is a configuration diagram showing a PCI bus processing device according to Embodiment 2 of the present invention. In FIG. 7, reference numeral 32 denotes a dedicated line I / F connected to the storage register 24.
First, when the bus master 2 starts a transaction on the PCI bus 4 at time T0, the transaction start detection circuit 21 in the PCI bus processing device 30 detects the start of the transaction at time T1. Then, the holding register 22 receives the signal from the transaction start detection circuit 21 and stores the address / command information at the time T1. Next, the abnormality detection circuit 23 monitors the transaction on the PCI bus 4 and, when a master abort occurs at time T2, stores the contents of the holding register 22 in the storage register 24.
And at the same time, validbit is made valid.
C receiving a report of occurrence of master abort on PCI bus 4
PU1 is a storage register 2 in the PCI bus processor 30.
4 is read via the dedicated line 31.

【0032】次に、PCIバス処理装置30内の専用線
I/F部32は、CPU1からのリードアクセスを受け
て、validbitが有効な場合のみ格納レジスタ2
4の値をCPU1に返し、validbitが無効な場
合は、“FFFFFFFFh”を返す。同様に図4と図
5がそれぞれターゲットアボート、パリティエラーが発
生した時のPCIバス4上のトランザクションを示して
おり、時刻T0でトランザクションが開始され、時刻T
1でアドレス/コマンド情報を格納し、時刻T2で格納
レジスタ24に格納する。
Next, the dedicated line I / F unit 32 in the PCI bus processing unit 30 receives the read access from the CPU 1 and stores the storage register 2 only when the valid bit is valid.
4 is returned to the CPU 1, and if the validbit is invalid, "FFFFFFFFh" is returned. Similarly, FIGS. 4 and 5 show transactions on the PCI bus 4 when a target abort and a parity error have occurred, respectively. The transaction starts at time T0 and starts at time T0.
The address / command information is stored at 1 and stored in the storage register 24 at time T2.

【0033】以上のように、この実施の形態2によれ
ば、PCIバス処理装置30内の情報を専用線31を介
してリードできるようにしているので、CPU1はPC
Iバス4自体に異常が発生した時でも異常発生箇所を特
定することができ、PCIバス4以外の部分でシステム
は連続稼動することができるなどの効果が得られる。
As described above, according to the second embodiment, the information in the PCI bus processor 30 can be read via the dedicated line 31, so that the CPU 1
Even when an abnormality occurs in the I bus 4, the location where the abnormality occurs can be specified, and the system can be continuously operated in a part other than the PCI bus 4, and the effect is obtained.

【0034】実施の形態3.図8はこの発明の実施の形
態3によるPCIバス処理装置を示す構成図であり、図
において、実施の形態1および実施の形態2と同一符号
については同一または相当部分を示すので説明を省略す
る。この実施の形態3では、システム内の任意のターゲ
ットが異常によりリトライ応答を返し続けた場合でも、
異常発生箇所の解析が可能な実施形態を示す。40はP
CIバス4上でリトライ応答を設定回数以上返し続ける
状態を検出すると、異常と判断して異常発生情報を保持
するPCIバス処理装置である。
Embodiment 3 FIG. 8 is a configuration diagram showing a PCI bus processing device according to a third embodiment of the present invention. In the figure, the same reference numerals as those in the first and second embodiments denote the same or corresponding parts, and a description thereof will be omitted. . In the third embodiment, even if any target in the system continues to return a retry response due to an abnormality,
An embodiment in which an abnormality occurrence location can be analyzed will be described. 40 is P
When a state in which a retry response is continuously returned more than a set number of times on the CI bus 4 is detected, the PCI bus processing device determines that an abnormality has occurred and holds the abnormality occurrence information.

【0035】41はPCIバス4上のトランザクション
を監視しリトライが発生したことを検知するリトライエ
ラー検出回路であり、PCIバス信号のFRAME#、
IRDY#、DEVSEL#、TRDY#、STOP
#、PERR#、およびSERR#を入力する。42は
リトライ応答の回数を保持するリトライカウンタ、43
はリトライ回数のしきい値を保持するしきい値レジスタ
であり、システムの初期化時に適当な値を設定される。
44はリトライ応答されたトランザクションのアドレス
を保持するリトライレジスタである。
A retry error detecting circuit 41 monitors a transaction on the PCI bus 4 and detects that a retry has occurred.
IRDY #, DEVSEL #, TRDY #, STOP
#, PERR #, and SERR #. 42, a retry counter for holding the number of retry responses, 43
Is a threshold register for holding a threshold of the number of retries, and an appropriate value is set at the time of system initialization.
Reference numeral 44 denotes a retry register that holds the address of the transaction that has received a retry response.

【0036】次に図6と図8を用いて動作を説明する。
バスマスタ2がバススレーブ3に対してトランザクショ
ンを起動した際、バススレーブ3がリトライ応答した場
合、バスマスタ2はリトライ応答を受信すると、バスを
一旦開放した後バス調停からトランザクションを再起動
する。トランザクション開始検出回路21は、PCIバ
ス4上のトランザクションを監視し、リトライ応答が発
生した時、リトライレジスタ44の値が無効な場合は、
保持レジスタ22の値をリトライレジスタ44に格納す
ると同時に、リトライカウンタ42の値を1つインクリ
メントする。
Next, the operation will be described with reference to FIGS.
When the bus master 2 initiates a transaction to the bus slave 3 and the bus slave 3 responds retry, upon receiving the retry response, the bus master 2 once releases the bus and restarts the transaction from the bus arbitration. The transaction start detection circuit 21 monitors the transaction on the PCI bus 4 and, when a retry response is generated and the value of the retry register 44 is invalid,
At the same time that the value of the holding register 22 is stored in the retry register 44, the value of the retry counter 42 is incremented by one.

【0037】次に、インクリメントした後のリトライカ
ウンタ42の値としきい値レジスタ43の値を比較し、
しきい値レジスタ43の値未満であれば状態を保持す
る。リトライエラー検出回路41は、再びPCIバス4
上でリトライ応答を検知した時、リトライレジスタ44
の値が有効な場合、保持レジスタ22の値とリトライレ
ジスタ44の値を比較し、一致した場合のみリトライカ
ウンタ42の値を1つインクリメントする。保持レジス
タ22とリトライレジスタ44の値が一致しない場合
は、無視する。
Next, the value of the retry counter 42 after the increment is compared with the value of the threshold value register 43, and
If the value is less than the value of the threshold register 43, the state is held. The retry error detection circuit 41 returns to the PCI bus 4
When a retry response is detected above, the retry register 44
Is valid, the value of the holding register 22 is compared with the value of the retry register 44, and only when the values match, the value of the retry counter 42 is incremented by one. If the values of the holding register 22 and the retry register 44 do not match, they are ignored.

【0038】次に、インクリメントした後のリトライカ
ウンタ42の値としきい値レジスタ43の値を比較し、
しきい値レジスタ43の値以上の場合、リトライレジス
タ44の値を格納レジスタ24に格納すると同時に、v
alidbitを有効にする。また、CPU1は、定期
的にPCIバス処理装置40内の異常情報をPCIバス
トランザクションを介してリードする。PCIバスイン
タフェース25は、CPU1からのリードアクセスを受
けて、validbitが有効な場合のみ格納レジスタ
24の値をCPU1に返す。一方、validbitが
無効な場合は、“FFFFFFFFh”を返す。
Next, the value of the retry counter 42 after the increment is compared with the value of the threshold value register 43, and
If the value is equal to or larger than the threshold register 43, the value of the retry register 44 is stored in the storage register 24, and
enable alidbit. Further, the CPU 1 periodically reads abnormality information in the PCI bus processing device 40 via a PCI bus transaction. The PCI bus interface 25 receives the read access from the CPU 1 and returns the value of the storage register 24 to the CPU 1 only when validbit is valid. On the other hand, if the validbit is invalid, “FFFFFFFFh” is returned.

【0039】この実施の形態3では、リトライカウンタ
42やリトライレジスタ44が1組の場合を示したが、
複数のトランザクションがリトライ応答されるシステム
では、複数個備える場合も同様である。格納レジスタ2
4の情報をPCIバストランザクションを経由してアク
セスしたが、実施の形態2で示したように専用線31を
用いてアクセスするシステムも構成可能である。
In the third embodiment, the case where the retry counter 42 and the retry register 44 are one set has been described.
In a system in which a plurality of transactions are retried, the same applies when a plurality of transactions are provided. Storage register 2
Although the information No. 4 is accessed via the PCI bus transaction, a system for accessing using the dedicated line 31 as described in the second embodiment can also be configured.

【0040】以上のように、この実施の形態3によれ
ば、PCIバス処理装置40がPCIバス4上でリトラ
イ応答を設定回数以上返し続ける状態を検出すると、異
常と判断して異常発生情報を保持するので、CPU1は
異常発生箇所を特定することができ、異常発生箇所の切
り離しが可能となるため、システムは連続稼動すること
ができるなどの効果が得られる。
As described above, according to the third embodiment, when the PCI bus processing unit 40 detects a state in which the retry response is continuously returned on the PCI bus 4 for the set number of times or more, it is determined that an abnormality has occurred, and abnormality occurrence information is determined. Since the information is held, the CPU 1 can specify the location where the abnormality has occurred, and the location where the abnormality has occurred can be separated, so that the system can operate continuously.

【0041】実施の形態4.図9は階層型PCIバス処
理装置の概略的な構成を示す図であり、図10はこの発
明の実施の形態4によるPCIバス処理装置を示す構成
図である。図において、実施の形態1から実施の形態3
と同一符号については同一または相当部分を示すので説
明を省略する。50はPCIバスブリッジとしてのPC
Iバス処理装置、51はプライマリPCIバス61の通
信プロトコルとセカンダリPCIバス62のプロトコル
を適合させるブリッジ装置、52はプライマリPCIバ
ス61とセカンダリPCIバス62とのバスに接続でき
る電気的負荷を増強して論理的にはスルーにするための
バッファ装置であり、両者のPCIバス61,62のア
クセス権を有している場合には、一方のPCIバス6
1,62からの送信データを他方のPCIバス61,6
2へ通過させ、何れか一方のPCIバス61,62のア
クセス権しか有していない場合には送信データを一旦受
信し、両者のPCIバス61,62のアクセス権を得た
時点で、受信したデータをアクセス権を得たPCIバス
61,62にデータ転送を行う。53はプライマリPC
Iバス61をブリッジ装置51に接続するかバッファ装
置52に接続するかを決定するためのパススイッチ(第
1のパススイッチ)、54はセカンダリPCIバス62
をブリッジ装置51に接続するかバッファ装置52に接
続するかを決定するためのパススイッチ(第2のパスス
イッチ)である。
Embodiment 4 FIG. FIG. 9 is a diagram showing a schematic configuration of a hierarchical PCI bus processing device, and FIG. 10 is a configuration diagram showing a PCI bus processing device according to a fourth embodiment of the present invention. In the figure, the first to third embodiments are shown.
The same reference numerals denote the same or corresponding parts, and a description thereof will not be repeated. 50 is a PC as a PCI bus bridge
An I bus processing device, 51 is a bridge device for adapting a communication protocol of the primary PCI bus 61 and a protocol of the secondary PCI bus 62, and 52 is a device for increasing an electric load connectable to a bus between the primary PCI bus 61 and the secondary PCI bus 62. This is a buffer device for logically passing through, and when having access rights to both PCI buses 61 and 62, one PCI bus 6
Transmission data from the other PCI buses 61 and 6
2, when only one of the PCI buses 61 and 62 has access right, the transmission data is received once, and when the access right of both PCI buses 61 and 62 is obtained, the transmission data is received. The data is transferred to the PCI buses 61 and 62 having the access right. 53 is the primary PC
A path switch (first path switch) for deciding whether to connect the I bus 61 to the bridge device 51 or the buffer device 52, and a secondary PCI bus 62
Is a path switch (second path switch) for determining whether to connect to the bridge device 51 or the buffer device 52.

【0042】55はパススイッチ53,54を制御する
ためのスイッチ切替制御装置であり、レジスタ56の値
をモニタしパススイッチ53,54を連動して切り替え
るしくみになっており、CPU1等がPCIバス処理装
置50内のレジスタ56へライトアクセスすることによ
って、ソフトウェア的に制御する。56はパススイッチ
53,54を外部から制御するためのレジスタである。
61はブリッジ装置51またはバッファ装置52に接続
されるプライマリPCIバス(第1のPCIバス)、6
2はブリッジ装置51またはバッファ装置52に接続さ
れるセカンダリPCIバス(第2のPCIバス)、63
はPCIバスオプションスロットである。
Reference numeral 55 denotes a switch switching control device for controlling the path switches 53 and 54, which monitors the value of the register 56 and switches the path switches 53 and 54 in conjunction with each other. By performing write access to the register 56 in the processing device 50, control is performed by software. Reference numeral 56 denotes a register for controlling the path switches 53 and 54 from outside.
61 is a primary PCI bus (first PCI bus) connected to the bridge device 51 or the buffer device 52;
2, a secondary PCI bus (second PCI bus) connected to the bridge device 51 or the buffer device 52;
Is a PCI bus option slot.

【0043】次に動作について説明する。まず、ブリッ
ジ装置51が選択されたときには、一方からトランザク
ションを受信し、もう一方へバス要求(アービトレーシ
ョン)後、トランザクションを発生し転送処理を実施す
る。この場合、プライマリPCIバス61とセカンダリ
PCIバス62は、独立したバスであるので、独立して
動くことができる。すなわち、お互いのバスへの転送が
ない限り、プライマリPCIバス61内のトランザクシ
ョンとセカンダリPCIバス62内のトランザクション
は同時に実行することができる。
Next, the operation will be described. First, when the bridge device 51 is selected, a transaction is received from one side, and after a bus request (arbitration) to the other side, a transaction is generated and transfer processing is performed. In this case, since the primary PCI bus 61 and the secondary PCI bus 62 are independent buses, they can operate independently. That is, the transaction in the primary PCI bus 61 and the transaction in the secondary PCI bus 62 can be executed simultaneously unless there is a transfer to each other's bus.

【0044】次に、バッファ装置52が選択されたとき
には、プライマリPCIバス61とセカンダリPCIバ
ス62の同期信号およびデータバスはバッファ装置52
でドライブ能力を増強されて接続される。すなわち、お
互いの動作タイミングはバッファ遅延の遅れだけであ
り、クロックタイミングでは、1つのバスとして動作し
ている。よって、プライマリPCIバス61とセカンダ
リPCIバス62は独立して動作することはできない
が、1階層のバスと同じ性能で多数のデバイスと通信で
きる。
Next, when the buffer device 52 is selected, the synchronization signal and data bus of the primary PCI bus 61 and the secondary PCI bus 62 are connected to the buffer device 52.
Drive capacity is increased and connected. That is, each operation timing is only a delay of the buffer delay, and the clock timing operates as one bus. Therefore, the primary PCI bus 61 and the secondary PCI bus 62 cannot operate independently, but can communicate with many devices with the same performance as the one-layer bus.

【0045】以上のように、この実施の形態4によれ
ば、2つの特徴をもつ接続形態をパススイッチ53,5
4で切り替えるようにしているので、処理目的に合わせ
て最適なPCIバス4の動作を選択することができ、多
数のデバイスをPCIバス4に接続した場合でも、遅延
を回避しシステム性能を向上させることができるなどの
効果が得られる。
As described above, according to the fourth embodiment, the connection modes having two features are changed to the path switches 53 and 5.
4, the optimal operation of the PCI bus 4 can be selected according to the processing purpose. Even when a large number of devices are connected to the PCI bus 4, delays are avoided and system performance is improved. And the like.

【0046】実施の形態5.図11はこの発明の実施の
形態5によるPCIバス処理装置の設定の流れを示す構
成図であり、図において、実施の形態1から実施の形態
4と同一符号については同一または相当部分を示すので
説明を省略する。実施の形態4では、レジスタアクセス
によってPCIバス4の接続形態を選択するようにした
ものであるが、実施の形態5では多階層構造の場合に一
度にすべての接続形態を選択するものである。65はホ
ストCPU、66はホストCPU65がアクセスしよう
としているPCIデバイス、67はプライマリPCIバ
ス61が接続されたPCIバス処理装置、68はセカン
ダリPCIバス62が接続されたPCIバス処理装置で
ある。なお、PCIバス処理装置67,68の構成は図
10と同一であるため説明を省略する。
Embodiment 5 FIG. FIG. 11 is a configuration diagram showing a flow of setting of the PCI bus processing device according to the fifth embodiment of the present invention. In the figure, the same reference numerals as those in the first to fourth embodiments denote the same or corresponding parts. Description is omitted. In the fourth embodiment, the connection mode of the PCI bus 4 is selected by register access, but in the fifth embodiment, all connection modes are selected at once in a multi-layer structure. 65 is a host CPU, 66 is a PCI device that the host CPU 65 is trying to access, 67 is a PCI bus processing device to which the primary PCI bus 61 is connected, and 68 is a PCI bus processing device to which the secondary PCI bus 62 is connected. The configuration of the PCI bus processing devices 67 and 68 is the same as that of FIG.

【0047】次に動作について説明する。まず、ホスト
CPU65が数階層下のPCIデバイス66にアクセス
する場合、ホストCPU65はPCIデバイス66と同
層のPCIバス処理装置(PCIブリッジ)68のスイ
ッチ制御レジスタの設定を行う。このとき、ホストCP
U65からのレジスタアクセストランザクションは、ま
ず、プライマリPCIバス61に送出され、プライマリ
PCIバス61に接続されたPCIバス処理装置(PC
Iブリッジ)67に達する。次に、PCIバス処理装置
67は、アドレスデコードの結果、セカンダリPCIバ
ス62へ転送すべきトランザクションであると判断し、
セカンダリPCIバス62へ送出するとともに、下層ブ
リッジのスイッチ制御レジスタアクセスであることも同
時に検知し、自己のレジスタも設定変更しスイッチを切
り替える。そして、セカンダリPCIバス62に送出さ
れたトランザクションは、セカンダリPCIバス62に
接続されたPCIバス処理装置68によって受信され、
レジスタ変更およびパススイッチ53,54の切り替え
が実施される。
Next, the operation will be described. First, when the host CPU 65 accesses a PCI device 66 several levels lower, the host CPU 65 sets a switch control register of a PCI bus processing device (PCI bridge) 68 on the same layer as the PCI device 66. At this time, the host CP
The register access transaction from the U65 is first sent to the primary PCI bus 61, and the PCI bus processing device (PC
I bridge) 67. Next, as a result of the address decoding, the PCI bus processing device 67 determines that the transaction is to be transferred to the secondary PCI bus 62,
While transmitting to the secondary PCI bus 62, it simultaneously detects that the access is to the switch control register of the lower layer bridge, changes the setting of its own register, and switches the switch. Then, the transaction sent to the secondary PCI bus 62 is received by the PCI bus processing device 68 connected to the secondary PCI bus 62,
The register is changed and the path switches 53 and 54 are switched.

【0048】以上のように、この実施の形態5によれ
ば、各層のPCIバス処理装置67が下層のPCIバス
処理装置68へのスイッチ制御レジスタアクセスを検知
し、自己のレジスタも設定変更することで、ホストCP
U65からの1回のトランザクションでPCIデバイス
66までの経路で通るすべてのPCIバス処理装置6
7,68のパススイッチ53,54を切り替えることが
できるため、多数のデバイスをPCIバス4に接続した
場合でも、遅延を回避しシステム性能を向上させること
ができるなどの効果が得られる。
As described above, according to the fifth embodiment, the PCI bus processing device 67 of each layer detects the switch control register access to the PCI bus processing device 68 of the lower layer, and the setting of its own register is changed. And the host CP
All the PCI bus processing units 6 passing through the path to the PCI device 66 in one transaction from the U65
Since the 7, 68 path switches 53 and 54 can be switched, even when a large number of devices are connected to the PCI bus 4, effects such as avoiding delay and improving system performance can be obtained.

【0049】実施の形態6.図12はこの発明の実施の
形態6によるPCIバス処理装置を示す構成図であり、
図において、実施の形態1から実施の形態5と同一符号
については同一または相当部分を示すので説明を省略す
る。実施の形態5は、スイッチの切り替えをレジスタに
頼るもの、すなわち、ソフトウェアによって実施したも
のであるが、実施の形態6ではこれをハードウェアで切
り替えるものである。70はパススイッチ53,54の
切り替えをハードウェアで実施するPCIバス処理装
置、71はパススイッチ53,54を制御するためのス
イッチ切替制御装置、72はプライマリPCIバス61
のアドレスからセカンダリPCIバス62への転送を判
断するアドレスデコーダ、73はセカンダリPCIバス
62のバス所有権を管理するアービタである。
Embodiment 6 FIG. FIG. 12 is a configuration diagram showing a PCI bus processing device according to Embodiment 6 of the present invention.
In the figure, the same reference numerals as those in the first to fifth embodiments denote the same or corresponding parts, and a description thereof will be omitted. In the fifth embodiment, the switching of the switches is performed by using a register, that is, the switching is performed by software. In the sixth embodiment, the switching is performed by hardware. 70 is a PCI bus processing device that switches the path switches 53 and 54 by hardware, 71 is a switch switching control device for controlling the path switches 53 and 54, and 72 is a primary PCI bus 61.
And an arbiter 73 for managing the ownership of the secondary PCI bus 62.

【0050】次に動作について説明する。ホストCPU
65(図11参照)から下層バスへのアクセスが発生
し、PCIバス処理装置70が受信すると、アドレスデ
コーダ72によって、セカンダリPCIバス62への送
信が検知される。このとき、スイッチ切替制御装置71
はセカンダリPCIバス62の使用状況をアービタ73
から判断し、バス要求者が存在しないとき、PCIバス
処理装置70はパススイッチ53,54をバッファ装置
52に切り替え、プライマリPCIバス61とセカンダ
リPCIバス62を一つのバスとして接続する。そし
て、プライマリPCIバス61から受信した時にセカン
ダリPCIバス62が使用中であったり、バッファ装置
52に切り替わっている時にセカンダリPCIバス62
のデバイスからバス使用要求が発生した場合、スイッチ
切替制御装置71はパススイッチ53,54をブリッジ
装置51に切り替え、プライマリPCIバス61とセカ
ンダリPCIバス62とを独立して使用できるようにす
る。
Next, the operation will be described. Host CPU
When an access to the lower layer bus occurs from 65 (see FIG. 11) and the PCI bus processor 70 receives the access, the address decoder 72 detects the transmission to the secondary PCI bus 62. At this time, the switch switching control device 71
Reports the usage status of the secondary PCI bus 62 to the arbiter 73
When there is no bus requester, the PCI bus processing device 70 switches the path switches 53 and 54 to the buffer device 52 and connects the primary PCI bus 61 and the secondary PCI bus 62 as one bus. When the secondary PCI bus 62 is in use when receiving from the primary PCI bus 61 or when switching to the buffer device 52, the secondary PCI bus 62 is used.
When the bus use request is issued from the device, the switch switching control device 71 switches the path switches 53 and 54 to the bridge device 51 so that the primary PCI bus 61 and the secondary PCI bus 62 can be used independently.

【0051】以上のように、この実施の形態6によれ
ば、パススイッチ53,54の切り替えをハードウェア
で実施することにより、メンテナンスが不要になる上、
より頻繁にスイッチを制御することができるため、多数
のデバイスをPCIバス4に接続した場合でも、遅延を
回避しシステム性能を向上させることができるなどの効
果が得られる。
As described above, according to the sixth embodiment, the switching of the path switches 53 and 54 is performed by hardware, so that maintenance becomes unnecessary and
Since the switches can be controlled more frequently, even when a large number of devices are connected to the PCI bus 4, effects such as improvement in system performance and avoiding delay can be obtained.

【0052】実施の形態7.図13はこの発明の実施の
形態7によるPCIバス処理装置を示す構成図であり、
図において、実施の形態1から実施の形態6と同一符号
については同一または相当部分を示すので説明を省略す
る。実施の形態6では、プライマリPCIバス61また
はセカンダリPCIバス62が空いている時にバッファ
装置52への切り替えを行うものであったが、実施の形
態7ではデバイス情報を用いて最適な方を選択するもの
である。80はデバイス情報に依存してブリッジ装置5
1に接続するか、バッファ装置52に接続するかを切り
替えることができるPCIバス処理装置、81はパスス
イッチ53,54の切り替えを実施するスイッチ切替制
御装置、82はプライマリPCIバス61のアドレス、
コマンド情報からターゲットのデバイスを特定し、その
デバイスへのアクセスをブリッジ装置51に接続する
か、バッファ装置52に接続するかの情報を格納したデ
バイス情報テーブルである。
Embodiment 7 FIG. FIG. 13 is a configuration diagram showing a PCI bus processing device according to Embodiment 7 of the present invention.
In the figure, the same reference numerals as those in the first to sixth embodiments denote the same or corresponding parts, and a description thereof will be omitted. In the sixth embodiment, the switching to the buffer device 52 is performed when the primary PCI bus 61 or the secondary PCI bus 62 is vacant. In the seventh embodiment, the optimum one is selected using the device information. Things. 80 is a bridge device 5 depending on device information.
1, a PCI bus processing device capable of switching between connection to the buffer device 52, a switch switching control device 81 for switching the path switches 53 and 54, an address 82 of the primary PCI bus 61,
9 is a device information table that specifies a target device from command information and stores information on whether to access the device to the bridge device 51 or to connect to the buffer device 52.

【0053】次に動作について説明する。プライマリP
CIバス61から受信し、セカンダリPCIバス62の
使用状況を監視するまでは実施の形態6と同様である。
その後、PCIバス処理装置80は、アドレスデコード
と同じタイミングで、デバイス情報テーブル82によっ
てアドレスからデバイスを特定し、プライマリPCIバ
ス61またはセカンダリPCIバス62を選択する。例
えば、ターゲットとなるデバイスの応答速度が非常に遅
い場合、パススイッチ53,54をバッファ装置52側
にしていると応答が済むまで上位バスも応答待ちとな
り、その間他のアクセスに使えない。この場合、PCI
バス処理装置80をブリッジ装置51に切り替え、プラ
イマリPCIバス61を解放した方が全体の性能は向上
する。
Next, the operation will be described. Primary P
The process up to the reception from the CI bus 61 and the monitoring of the usage status of the secondary PCI bus 62 is the same as in the sixth embodiment.
Thereafter, at the same timing as the address decoding, the PCI bus processing device 80 specifies the device from the address using the device information table 82, and selects the primary PCI bus 61 or the secondary PCI bus 62. For example, when the response speed of the target device is very low, if the path switches 53 and 54 are set to the buffer device 52 side, the upper bus also waits for a response until the response is completed, during which time it cannot be used for another access. In this case, the PCI
Switching the bus processing device 80 to the bridge device 51 and releasing the primary PCI bus 61 improves the overall performance.

【0054】また、同じデバイスに対してもライトアク
セスのようにデータを記憶バッファに蓄えるのに適した
トランザクションの場合はブリッジ装置51への切り替
えが適し、リードアクセスのように応答を待たなければ
ならないトランザクションの場合はバッファ装置52へ
の切り替えが適している。このようなデバイス固有の情
報を、デバイス情報テーブル82に記憶し、PCIバス
4のアドレス信号、コマンド信号を入力として、スイッ
チの判別信号を出力させる。スイッチ切替制御装置81
はアドレスデコーダによるセカンダリPCIバス62へ
の転送要求と、アービタ73によるバス未使用状態検出
のタイミングでデバイス情報テーブル82を参照し、パ
ススイッチ53,54を切り替える。
In the case of a transaction suitable for storing data in a storage buffer, such as write access, to the same device, switching to the bridge device 51 is appropriate, and a response must be waited for, such as read access. In the case of a transaction, switching to the buffer device 52 is suitable. Such device-specific information is stored in the device information table 82, and an address signal and a command signal of the PCI bus 4 are input to output a switch determination signal. Switch switching control device 81
Switches the path switches 53 and 54 with reference to the device information table 82 at the time of the transfer request to the secondary PCI bus 62 by the address decoder and the timing of detecting the bus unused state by the arbiter 73.

【0055】以上のように、この実施の形態7によれ
ば、デバイス情報に依存してブリッジ装置51への接続
か、バッファ装置52への接続かを切り替えることがで
きるので、よりPCIを効率よく稼動させることができ
るため、多数のデバイスをPCIバス4に接続した場合
でも、遅延を回避しシステム性能を向上させることがで
きるなどの効果が得られる。
As described above, according to the seventh embodiment, the connection to the bridge device 51 or the connection to the buffer device 52 can be switched depending on the device information. Since the device can be operated, even when a large number of devices are connected to the PCI bus 4, effects such as avoiding delay and improving system performance can be obtained.

【0056】実施の形態8.図14はこの発明の実施の
形態8によるPCIバス処理装置を示す構成図であり、
図において、実施の形態1から実施の形態7と同一符号
については同一または相当部分を示すので説明を省略す
る。実施の形態4から実施の形態7は、プライマリPC
Iバス61とセカンダリPCIバス62とを接続するも
のであったが、実施の形態8では3つ以上のバスを同時
に制御するものである。90は複数のPCIバス10
1,102,103を1箇所でスイッチング管理するこ
とで階層が浅くなり、より単純に制御することができる
PCIバス処理装置、91は複数のPCIバス101,
102,103から送受信の2本を選択するバス切替ス
イッチ、92はバッファ装置52およびブリッジ装置5
1を切り替える装置切替スイッチ、93は受信アドレス
からターゲットを特定し、転送するPCIバス101,
102,103を選択するアドレスデコーダである。
Embodiment 8 FIG. FIG. 14 is a configuration diagram showing a PCI bus processing device according to an eighth embodiment of the present invention.
In the figure, the same reference numerals as those in the first to seventh embodiments denote the same or corresponding parts, and a description thereof will be omitted. Embodiments 4 through 7 are based on the primary PC
Although the I bus 61 and the secondary PCI bus 62 are connected, in the eighth embodiment, three or more buses are simultaneously controlled. 90 is a plurality of PCI buses 10
By performing switching management of 1, 102, and 103 at one place, the hierarchy becomes shallower, and a PCI bus processing device 91 that can be controlled more simply.
A bus changeover switch for selecting two of transmission and reception from 102 and 103; 92 is a buffer device 52 and a bridge device 5;
1, a device changeover switch 93 for specifying the target from the reception address and transferring the PCI bus 101,
This is an address decoder for selecting 102 and 103.

【0057】次に動作について説明する。例えば、PC
Iバス101,102,103のいずれかでトランザク
ションが発生したとき、バス切替スイッチ91の一方が
切り替わりそのトランザクションを受け入れる。受信し
たアドレスをアドレスデコーダ93でデコードし、受信
したデータを転送するPCIバス101,102,10
3を特定し、バス切替スイッチ91の他方が切り替わ
る。これで送受信のためのPCIバス101,102,
103が接続される。以後、バッファ装置52とブリッ
ジ装置51の切り替え動作は実施形態4から実施の形態
7に従う。
Next, the operation will be described. For example, PC
When a transaction occurs on any of the I buses 101, 102, and 103, one of the bus changeover switches 91 switches to accept the transaction. PCI buses 101, 102, and 10 for decoding received addresses by an address decoder 93 and transferring received data.
3 is specified, and the other of the bus changeover switches 91 is switched. This allows the PCI buses 101, 102,
103 is connected. Thereafter, the switching operation between the buffer device 52 and the bridge device 51 is in accordance with the fourth to seventh embodiments.

【0058】以上のように、この実施の形態8によれ
ば、複数のPCIバス101,102,103のスイッ
チング管理を1箇所で行うことにより階層が浅くなり、
より単純に制御することができるため、多数のデバイス
をPCIバス4に接続した場合でも、遅延を回避しシス
テム性能を向上させることができるなどの効果が得られ
る。
As described above, according to the eighth embodiment, by performing switching management of the plurality of PCI buses 101, 102, and 103 at one place, the hierarchy becomes shallower,
Since control can be performed more simply, even when a large number of devices are connected to the PCI bus 4, effects such as the ability to avoid delay and improve system performance can be obtained.

【0059】[0059]

【発明の効果】以上のように、この発明によれば、PC
Iバス上のトランザクションの開始をトランザクション
開始検出回路により検出し、このトランザクション開始
検出回路からの検出信号を受信したときに、PCIバス
上のアドレス/データ線およびバイトイネーブル線上の
アドレスおよびコマンド情報を保持レジスタに保持し、
PCIバス上のトランザクションを監視し異常を検出し
た場合に、保持レジスタに格納されているアドレス及び
コマンド情報の要求信号を異常検出回路により出力し、
この異常検出回路からの要求信号を入力すると、保持レ
ジスタからのアドレス及びコマンド情報を格納レジスタ
に格納し、CPUからの異常情報要求信号を受信する
と、格納レジスタに格納されているアドレス及びコマン
ド情報をPCIバスインタフェースによりPCIバス上
に出力するように構成したので、CPUは異常が発生し
た時異常発生箇所を特定することができ、異常発生箇所
の切り離しが可能となるため、システムは連続稼動する
ことができる効果がある。
As described above, according to the present invention, the PC
The start of a transaction on the I bus is detected by a transaction start detection circuit, and when a detection signal from the transaction start detection circuit is received, the address and command information on the address / data line and the byte enable line on the PCI bus are held. In a register,
When a transaction on the PCI bus is monitored and an abnormality is detected, a request signal for the address and command information stored in the holding register is output by the abnormality detection circuit,
When the request signal from the abnormality detection circuit is input, the address and command information from the holding register are stored in the storage register, and when the abnormality information request signal is received from the CPU, the address and command information stored in the storage register are stored. The system is configured to output to the PCI bus by the PCI bus interface, so that the CPU can identify the location of the occurrence of the abnormality when the abnormality occurs, and the system can be continuously operated because the location of the abnormality can be separated. There is an effect that can be.

【0060】この発明によれば、CPUからの異常情報
要求信号を受信すると、CPUにのみ接続されている専
用線を介して格納レジスタに格納されているアドレス及
びコマンド情報を送信するように構成したので、CPU
はPCIバス自体に異常が発生した時でも異常発生箇所
を特定することができ、PCIバス以外の部分でシステ
ムは連続稼動することができる効果がある。
According to the present invention, when an abnormality information request signal from the CPU is received, the address and command information stored in the storage register are transmitted via the dedicated line connected only to the CPU. So the CPU
Can identify the location of the abnormality even when an abnormality occurs in the PCI bus itself, and the system can operate continuously in a portion other than the PCI bus.

【0061】この発明によれば、PCIバス上のトラン
ザクションの開始をトランザクション開始検出回路によ
り検出し、この検出信号を受信したときに、PCIバス
上のアドレス/データ線およびバイトイネーブル線上の
アドレスおよびコマンド情報を保持レジスタに保持し、
PCIバス上のリトライ応答を検出した場合にリトライ
応答検出信号を出力とともに、検出されたリトライ応答
回数が設定されたリトライ応答回数を超えた場合にリト
ライエラー検出回路からオバー信号を出力し、このリト
ライ応答検出信号を入力すると、保持レジスタから出力
されたアドレスおよびコマンド情報をリトライレジスタ
に保持し、リトライエラー検出回路からのオバー信号を
入力すると、リトライレジスタから出力されたアドレス
およびコマンド情報を格納レジスタに保持し、CPUか
らの異常情報要求信号を受信すると、格納レジスタに格
納されているアドレス及びコマンド情報をPCIバスイ
ンタフェースによりPCIバス上に出力するように構成
したので、CPUは異常発生箇所を特定することがで
き、異常発生箇所の切り離しが可能となるため、システ
ムは連続稼動することができる効果がある。
According to the present invention, the start of a transaction on the PCI bus is detected by the transaction start detecting circuit, and when this detection signal is received, the address and the command on the address / data line and the byte enable line on the PCI bus are detected. Hold the information in the holding register,
A retry response detection signal is output when a retry response on the PCI bus is detected, and an over signal is output from a retry error detection circuit when the detected number of retry responses exceeds a set number of retry responses. When the response detection signal is input, the address and command information output from the holding register is stored in the retry register, and when the over signal from the retry error detection circuit is input, the address and command information output from the retry register are stored in the storage register. When an error information request signal is received from the CPU, the address and command information stored in the storage register are output to the PCI bus by the PCI bus interface. Can be Apart because it becomes possible to Ri, the system has the advantage of being able to continuous operation.

【0062】この発明によれば、通信プロトコルの異な
る第1のPCIバスと第2のPCIバスとの調停および
送受信プロトコルの同期を調整し、第1のPCIバスか
ら第2のPCIバスへのデータ転送をブリッジ装置によ
り行い、バッファ装置は両者のPCIバスのアクセス権
を有している場合には、一方のPCIバスからの送信デ
ータを他方のPCIバスへ通過させ、何れか一方のPC
Iバスのアクセス権しか有していない場合には送信デー
タを一旦受信し、両者のPCIバスのアクセス権を得た
時点で、受信したデータをアクセス権を得たPCIバス
にデータ転送を行い、切替信号を受信した場合に第1の
パススイッチによりブリッジ装置に切り替え、切替信号
を受信した場合に第2のパススイッチによりブリッジ装
置に切り替え、外部からのデータの書き込みができるレ
ジスタの値を検知し2つのパススイッチを連動して切り
替える場合には切替信号をスイッチ切替制御装置により
出力するように構成したので、処理目的に合わせて最適
なPCIバスの動作を選択することができ、多数のデバ
イスをPCIバスに接続した場合でも、遅延を回避しシ
ステム性能を向上させることができる効果がある。
According to the present invention, the arbitration between the first PCI bus and the second PCI bus having different communication protocols and the synchronization of the transmission / reception protocol are adjusted, and the data from the first PCI bus to the second PCI bus is adjusted. When the transfer is performed by the bridge device and the buffer device has the access right of both PCI buses, the transmission data from one PCI bus is passed to the other PCI bus, and one of the PC buses is transmitted.
If the user has only the I-bus access right, the transmission data is once received, and when the two PCI bus access rights are obtained, the received data is transferred to the PCI bus having the access right. When the switch signal is received, the first path switch switches to the bridge device. When the switch signal is received, the second path switch switches to the bridge device, and the value of a register to which external data can be written is detected. When the two path switches are switched in conjunction with each other, the switching signal is output by the switch switching control device, so that the optimal operation of the PCI bus can be selected according to the processing purpose, and a large number of devices can be used. Even when connected to a PCI bus, there is an effect that delay can be avoided and system performance can be improved.

【0063】この発明によれば、自己の下層に位置する
PCIバス処理装置のレジスタの値を検知し、自己のレ
ジスタも設定変更するように構成したので、1回のトラ
ンザクションでPCIデバイスまでの経路で通るすべて
のPCIバス処理装置のパススイッチを切り替えること
ができ、多数のデバイスをPCIバスに接続した場合で
も、遅延を回避しシステム性能を向上させることができ
る効果がある。
According to the present invention, since the value of the register of the PCI bus processor located in the lower layer of the self is detected and the setting of the self register is changed, the path to the PCI device in one transaction is obtained. The path switches of all the PCI bus processing devices passing through can be switched, and even when a large number of devices are connected to the PCI bus, there is an effect that delay can be avoided and system performance can be improved.

【0064】この発明によれば、ブリッジ装置によりバ
スプロトコルの異なる第1のPCIバスと第2のPCI
バスの調停および送受信プロトコルの同期を調整し、第
1のPCIバスから第2のPCIバスへのデータ転送を
行い、バッファ装置は両者のPCIバスのアクセス権を
有している場合には、一方のPCIバスからの送信デー
タを他方のPCIバスへ通過させ、何れか一方のPCI
バスのアクセス権しか有していない場合には送信データ
を一旦受信し、両者のPCIバスのアクセス権を得た時
点で、受信したデータをアクセス権を得たPCIバスに
データ転送を行い、切替信号を受信した場合に第1のパ
ススイッチによりブリッジ装置に切り替え、切替信号を
受信した場合に第2のパススイッチによりブリッジ装置
に切り替え、アドレスデコーダにより第1のPCIバス
上のアドレスを検知し、データを第2のPCIバスへ転
送する必要があるか否かを判断し、アービタにより第2
のPCIバスがデバイスにより使用されているか否かを
チェックし、スイッチ切替制御装置によりアドレスデコ
ーダによりデータを第2のPCIバスへ転送する必要が
あると判断された場合とアービタにより第2のPCIバ
スがデバイスにより使用されていると判断された場合
に、第1のパススイッチと第2のパススイッチに切替信
号を出力するように構成したので、メンテナンスが不要
になる上、より頻繁にスイッチを制御することができ、
多数のデバイスをPCIバスに接続した場合でも、遅延
を回避しシステム性能を向上させることができる効果が
ある。
According to the present invention, the first PCI bus and the second PCI bus having different bus protocols by the bridge device
The arbitration of the bus and the synchronization of the transmission / reception protocol are adjusted, the data is transferred from the first PCI bus to the second PCI bus, and if the buffer device has the right to access both PCI buses, The transmission data from one PCI bus is passed to the other PCI bus, and one of the PCI buses is transmitted.
When the user has only the bus access right, the transmission data is received once, and when the access right of both PCI buses is obtained, the received data is transferred to the PCI bus for which the access right has been obtained, and is switched. When a signal is received, the first path switch switches to the bridge device. When a switching signal is received, the second path switch switches to the bridge device. The address decoder detects an address on the first PCI bus. It is determined whether or not the data needs to be transferred to the second PCI bus.
It is checked whether or not the PCI bus of the second PCI bus is used by the device, and when the switch switching control device determines that the data needs to be transferred to the second PCI bus by the address decoder, Is configured to output a switching signal to the first path switch and the second path switch when it is determined that the switch is used by the device, so that maintenance is not required and the switch is controlled more frequently. Can be
Even when a large number of devices are connected to the PCI bus, there is an effect that delay can be avoided and system performance can be improved.

【0065】この発明によれば、デバイス情報テーブル
に格納されたデバイスの情報とアドレスデコーダによる
アドレスデコードの結果から、切替信号を出力するか否
かを判断するように構成したので、よりPCIを効率よ
く稼動させることができ、多数のデバイスをPCIバス
に接続した場合でも、遅延を回避しシステム性能を向上
させることができる効果がある。
According to the present invention, it is configured to determine whether or not to output the switching signal based on the device information stored in the device information table and the result of the address decoding by the address decoder. The system can be operated well, and even when a large number of devices are connected to the PCI bus, there is an effect that delay can be avoided and system performance can be improved.

【0066】この発明によれば、複数のPCIバスを1
つのバス切替スイッチにスター型に接続し、装置切替ス
イッチが転送先に応じて接続するPCIバスを切り替え
るように構成したので、複数のPCIバスを1箇所でス
イッチング管理することで階層が浅くなり、より単純に
制御することができ、多数のデバイスをPCIバスに接
続した場合でも、遅延を回避しシステム性能を向上させ
ることができる効果がある。
According to the present invention, a plurality of PCI buses
One bus changeover switch is connected in a star configuration, and the device changeover switch is configured to switch the PCI bus to be connected according to the transfer destination, so that the switching management of a plurality of PCI buses at one place makes the hierarchy shallow, Control can be performed more simply, and even when a large number of devices are connected to the PCI bus, there is an effect that delay can be avoided and system performance can be improved.

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

【図1】 PCIバスに接続されたPCIバス処理装置
とその周辺構成を示す構成図である。
FIG. 1 is a configuration diagram illustrating a PCI bus processing device connected to a PCI bus and a peripheral configuration thereof.

【図2】 この発明の実施の形態1によるPCIバス処
理装置を示す構成図である。
FIG. 2 is a configuration diagram showing a PCI bus processing device according to the first embodiment of the present invention.

【図3】 この発明の実施の形態1によるPCIバス処
理装置のマスタアボートの例を示すタイミングチャート
である。
FIG. 3 is a timing chart illustrating an example of a master abort of the PCI bus processing device according to the first embodiment of the present invention;

【図4】 この発明の実施の形態1によるPCIバス処
理装置のターゲットアボートの例を示すタイミングチャ
ートである。
FIG. 4 is a timing chart illustrating an example of a target abort of the PCI bus processing device according to the first embodiment of the present invention;

【図5】 この発明の実施の形態1によるPCIバス処
理装置のパリティエラーの例を示すタイミングチャート
である。
FIG. 5 is a timing chart showing an example of a parity error of the PCI bus processing device according to the first embodiment of the present invention.

【図6】 この発明の実施の形態2によるPCIバス処
理装置とその周辺構成を示す図である。
FIG. 6 is a diagram showing a PCI bus processing device and its peripheral configuration according to a second embodiment of the present invention;

【図7】 この発明の実施の形態2によるPCIバス処
理装置を示す構成図である。
FIG. 7 is a configuration diagram showing a PCI bus processing device according to a second embodiment of the present invention.

【図8】 この発明の実施の形態3によるPCIバス処
理装置を示す構成図である。
FIG. 8 is a configuration diagram showing a PCI bus processing device according to a third embodiment of the present invention.

【図9】 階層型PCIバス処理装置の概略的な構成を
示す図である。
FIG. 9 is a diagram showing a schematic configuration of a hierarchical PCI bus processing device.

【図10】 この発明の実施の形態4によるPCIバス
処理装置を示す構成図である。
FIG. 10 is a configuration diagram illustrating a PCI bus processing device according to a fourth embodiment of the present invention.

【図11】 この発明の実施の形態5によるPCIバス
処理装置の設定の流れを示す構成図である。
FIG. 11 is a configuration diagram showing a flow of setting of a PCI bus processing device according to a fifth embodiment of the present invention.

【図12】 この発明の実施の形態6によるPCIバス
処理装置を示す構成図である。
FIG. 12 is a configuration diagram showing a PCI bus processing device according to a sixth embodiment of the present invention.

【図13】 この発明の実施の形態7によるPCIバス
処理装置を示す構成図である。
FIG. 13 is a configuration diagram illustrating a PCI bus processing device according to a seventh embodiment of the present invention.

【図14】 この発明の実施の形態8によるPCIバス
処理装置を示す構成図である。
FIG. 14 is a configuration diagram illustrating a PCI bus processing device according to an eighth embodiment of the present invention.

【図15】 Digital Equipment C
orp社のPCIバスブリッジを示す構成図である。
FIG. 15: Digital Equipment C
FIG. 2 is a configuration diagram illustrating a PCI bus bridge of orp Corporation.

【図16】 プライマリPCIバスからセカンダリPC
Iバスへのデータ転送のタイミング図である。
[FIG. 16] From a primary PCI bus to a secondary PC
FIG. 4 is a timing chart of data transfer to the I bus.

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

1 CPU、4 PCIバス、5,20,30,40,
50,70,80,90 PCIバス処理装置、21
トランザクション開始検出回路、22 保持レジスタ、
23 異常検出回路、24 格納レジスタ、25 PC
Iバスインタフェース、31 専用線、41 リトライ
エラー検出回路、44 リトライレジスタ、51 ブリ
ッジ装置、52 バッファ装置、53 パススイッチ
(第1のパススイッチ)、54 パススイッチ(第2の
パススイッチ)、55,71,81スイッチ切替制御装
置、56 レジスタ、61 プライマリPCIバス(第
1のPCIバス)、62 セカンダリPCIバス(第2
のPCIバス)、72,93 アドレスデコーダ、73
アービタ、82 デバイス情報テーブル、91バス切
替スイッチ、92 装置切替スイッチ。
1 CPU, 4 PCI bus, 5, 20, 30, 40,
50, 70, 80, 90 PCI bus processing device, 21
Transaction start detection circuit, 22 holding register,
23 abnormality detection circuit, 24 storage register, 25 PC
I bus interface, 31 dedicated line, 41 retry error detection circuit, 44 retry register, 51 bridge device, 52 buffer device, 53 path switch (first path switch), 54 path switch (second path switch), 55, 71, 81 switch switching control device, 56 registers, 61 primary PCI bus (first PCI bus), 62 secondary PCI bus (second
PCI bus), 72, 93 address decoder, 73
Arbiter, 82 device information table, 91 bus changeover switch, 92 device changeover switch.

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 PCIバス上のトランザクションを監視
し、このトランザクションに異常が発生した際の異常情
報を収集および格納するとともに、上記PCIバス上に
異常が発生したときに異常発生箇所を切り離すCPUに
上記異常情報を出力するPCIバス処理装置において、 上記PCIバス上のトランザクションの開始を検出する
トランザクション開始検出回路と、 このトランザクション開始検出回路からの検出信号を受
信したときに、上記PCIバス上のアドレス/データ線
およびバイトイネーブル線上のアドレスおよびコマンド
情報を保持する保持レジスタと、 上記PCIバス上のトランザクションを監視し異常を検
出した場合に、上記保持レジスタに格納されているアド
レス及びコマンド情報の要求信号を出力する異常検出回
路と、 この異常検出回路からの要求信号を入力すると、上記保
持レジスタからのアドレス及びコマンド情報を格納する
格納レジスタと、 上記CPUからの異常情報要求信号を受信すると、上記
格納レジスタに格納されているアドレス及びコマンド情
報を上記PCIバス上に出力するPCIバスインタフェ
ースとを備えたことを特徴とするPCIバス処理装置。
1. A CPU that monitors a transaction on a PCI bus, collects and stores abnormality information when an abnormality occurs in the transaction, and separates an abnormality occurrence location when an abnormality occurs on the PCI bus. In the PCI bus processing device for outputting the abnormality information, a transaction start detection circuit for detecting the start of a transaction on the PCI bus, and an address on the PCI bus when receiving a detection signal from the transaction start detection circuit A holding register for holding address and command information on a data line and a byte enable line, and a request signal for address and command information stored in the holding register when a transaction on the PCI bus is monitored and an abnormality is detected. An abnormality detection circuit that outputs When a request signal from the abnormality detection circuit is input, a storage register for storing address and command information from the holding register, and when an abnormality information request signal from the CPU is received, an address stored in the storage register A PCI bus interface for outputting command information to the PCI bus.
【請求項2】 CPUからの異常情報要求信号を受信す
ると、上記CPUにのみ接続されている専用線を介して
格納レジスタに格納されているアドレス及びコマンド情
報を送信することを特徴とする請求項1記載のPCIバ
ス処理装置。
2. Upon receipt of an abnormality information request signal from a CPU, an address and command information stored in a storage register are transmitted via a dedicated line connected only to the CPU. 2. The PCI bus processing device according to 1.
【請求項3】 PCIバス上のトランザクションを監視
し、このトランザクションに異常が発生した際の異常情
報を収集および格納するとともに、上記PCIバス上に
異常が発生したときに異常発生箇所を切り離すCPUに
上記異常情報を出力するPCIバス処理装置において、 上記PCIバス上のトランザクションの開始を検出する
トランザクション開始検出回路と、 このトランザクション開始検出回路からの検出信号を受
信したときに、上記PCIバス上のアドレス/データ線
およびバイトイネーブル線上のアドレスおよびコマンド
情報を保持する保持レジスタと、 上記PCIバス上のリトライ応答を検出した場合にリト
ライ応答検出信号を出力するとともに、検出されたリト
ライ応答回数が設定されたリトライ応答回数を超えた場
合にオバー信号を出力するリトライエラー検出回路と、 このリトライエラー検出回路からのリトライ応答検出信
号を入力すると、上記保持レジスタから出力されたアド
レスおよびコマンド情報を保持するリトライレジスタ
と、 上記リトライエラー検出回路からのオバー信号を入力す
ると、上記リトライレジスタから出力されたアドレスお
よびコマンド情報を保持する格納レジスタと、 上記CPUからの異常情報要求信号を受信すると、上記
格納レジスタに格納されているアドレス及びコマンド情
報を上記PCIバス上に出力するPCIバスインタフェ
ースとを備えたことを特徴とするPCIバス処理装置。
3. A CPU that monitors a transaction on a PCI bus, collects and stores abnormality information when an abnormality occurs in the transaction, and separates an abnormality occurrence location when an abnormality occurs on the PCI bus. In the PCI bus processing device for outputting the abnormality information, a transaction start detection circuit for detecting the start of a transaction on the PCI bus, and an address on the PCI bus when receiving a detection signal from the transaction start detection circuit A holding register for holding address and command information on a data line and a byte enable line, and a retry response detection signal when a retry response on the PCI bus is detected, and the number of detected retry responses is set. When the number of retry responses is exceeded A retry error detection circuit that outputs an over signal; a retry response detection signal that is input from the retry error detection circuit; a retry register that holds the address and command information output from the holding register; When an overflow signal is input, a storage register that holds the address and command information output from the retry register, and when an abnormality information request signal is received from the CPU, the address and command information stored in the storage register are read. A PCI bus processing device, comprising: a PCI bus interface for outputting data on the PCI bus.
【請求項4】 複数のPCIバスが階層的に接続された
PCIバス処理装置において、 バスプロトコルの異なる第1のPCIバスと第2のPC
Iバスとの調停および上記バスプロトコルの同期を調整
し、上記第1のPCIバスから上記第2のPCIバスへ
のデータ転送を行うブリッジ装置と、 上記両者のPCIバスのアクセス権を有している場合に
は、一方の上記PCIバスからの送信データを他方の上
記PCIバスへ通過させ、何れか一方の上記PCIバス
のアクセス権しか有していない場合には送信データを一
旦受信し、上記両者のPCIバスのアクセス権を得た時
点で、受信したデータをアクセス権を得た上記PCIバ
スにデータ転送を行うバッファ装置と、 通常は上記第1のPCIバスを上記バッファ装置に接続
し、切替信号を受信した場合に上記ブリッジ装置に切り
替える第1のパススイッチと、 通常は上記第2のPCIバスを上記バッファ装置に接続
し、上記切替信号を受信した場合に上記ブリッジ装置に
切り替える第2のパススイッチと、 外部からのデータの書き込みができるレジスタの値を検
知し上記2つのパススイッチを連動して切り替える場合
には上記切替信号を出力するスイッチ切替制御装置とを
備えたことを特徴とするPCIバス処理装置。
4. A PCI bus processing device in which a plurality of PCI buses are hierarchically connected, wherein a first PCI bus and a second PC having different bus protocols are provided.
A bridge device for adjusting arbitration with the I bus and synchronizing the bus protocol to transfer data from the first PCI bus to the second PCI bus; In the case where there is, the transmission data from one of the PCI buses is passed to the other PCI bus, and when only one of the PCI buses has an access right, the transmission data is temporarily received, and When the access right of both PCI buses is obtained, a buffer device for transferring received data to the PCI bus for which the access right has been obtained, and usually, the first PCI bus is connected to the buffer device, A first path switch for switching to the bridge device when a switching signal is received, and usually connecting the second PCI bus to the buffer device; A second path switch for switching to the bridge device when receiving, and a switch for outputting the switching signal when detecting the value of a register to which external data can be written and interlocking the two path switches. A PCI bus processing device, comprising: a switching control device.
【請求項5】 自己の下層に位置するPCIバス処理装
置のレジスタの値を検知し、自己のレジスタも設定変更
することを特徴とする請求項4記載のPCIバス処理装
置。
5. The PCI bus processing device according to claim 4, wherein a value of a register of a PCI bus processing device located in a lower layer of the own device is detected, and the setting of the own bus register is changed.
【請求項6】 複数のPCIバスが階層的に接続された
PCIバス処理装置において、 バスプロトコルの異なる第1のPCIバスと第2のPC
Iバスの調停および上記バスプロトコルの同期を調整
し、上記第1のPCIバスから上記第2のPCIバスへ
のデータ転送を行うブリッジ装置と、 上記両者のPCIバスのアクセス権を有している場合に
は、一方の上記PCIバスからの送信データを他方の上
記PCIバスへ通過させ、何れか一方の上記PCIバス
のアクセス権しか有していない場合には送信データを一
旦受信し、上記両者のPCIバスのアクセス権を得た時
点で、受信したデータをアクセス権を得た上記PCIバ
スにデータ転送を行うバッファ装置と、 通常は上記第1のPCIバスを上記バッファ装置に接続
し、切替信号を受信した場合に上記ブリッジ装置に切り
替える第1のパススイッチと、 通常は上記第2のPCIバスを上記バッファ装置に接続
し、上記切替信号を受信した場合に上記ブリッジ装置に
切り替える第2のパススイッチと、 上記第1のPCIバス上のアドレスを検知し、データを
上記第2のPCIバスへ転送する必要があるか否かを判
断するアドレスデコーダと、 上記第2のPCIバスがデバイスにより使用されている
か否かをチェックするアービタと、 上記アドレスデコーダによりデータを上記第2のPCI
バスへ転送する必要があると判断された場合と上記アー
ビタにより上記第2のPCIバスがデバイスにより使用
されていると判断された場合に、上記第1のパススイッ
チと上記第2のパススイッチに切替信号を出力するスイ
ッチ切替制御装置とを備えたことを特徴とするPCIバ
ス処理装置。
6. A PCI bus processing device in which a plurality of PCI buses are hierarchically connected, wherein a first PCI bus and a second PC having different bus protocols are provided.
A bridge device that adjusts the arbitration of the I bus and the synchronization of the bus protocol and transfers data from the first PCI bus to the second PCI bus; and has a right to access both the PCI buses. In this case, the transmission data from one PCI bus is passed to the other PCI bus, and if only one of the PCI buses has an access right, the transmission data is received once, A buffer device that transfers received data to the PCI bus to which the access right has been granted when the PCI bus access right has been obtained, and usually connects the first PCI bus to the buffer device and performs switching. A first path switch that switches to the bridge device when a signal is received, and usually connects the second PCI bus to the buffer device and transmits the switch signal A second path switch that switches to the bridge device when the data is transmitted, and an address that detects an address on the first PCI bus and determines whether data needs to be transferred to the second PCI bus. A decoder; an arbiter for checking whether the second PCI bus is being used by a device; and an address decoder for transferring data to the second PCI bus.
When the arbiter determines that it is necessary to transfer data to the bus, and when the arbiter determines that the second PCI bus is being used by a device, the first path switch and the second path switch A PCI bus processing device, comprising: a switch switching control device that outputs a switching signal.
【請求項7】 スイッチ切替制御装置は、デバイス情報
テーブルに格納されたデバイスの情報とアドレスデコー
ダによるアドレスデコードとの結果から、切替信号を出
力するか否かを判断することを特徴とする請求項6記載
のPCIバス処理装置。
7. The switch switching control device determines whether to output a switching signal based on device information stored in a device information table and a result of address decoding by an address decoder. 6. The PCI bus processing device according to 6.
【請求項8】 複数のPCIバスを1つのバス切替スイ
ッチにスター型に接続し、装置切替スイッチが転送先に
応じて接続する上記PCIバスを切り替えることを特徴
とする請求項4から請求項7のうちのいずれか1項記載
のPCIバス処理装置。
8. The system according to claim 4, wherein a plurality of PCI buses are connected to one bus changeover switch in a star configuration, and the device changeover switch switches the PCI bus to be connected according to a transfer destination. The PCI bus processing device according to any one of the preceding claims.
JP9358491A 1997-12-25 1997-12-25 Pci bus processor Pending JPH11191073A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9358491A JPH11191073A (en) 1997-12-25 1997-12-25 Pci bus processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9358491A JPH11191073A (en) 1997-12-25 1997-12-25 Pci bus processor

Publications (1)

Publication Number Publication Date
JPH11191073A true JPH11191073A (en) 1999-07-13

Family

ID=18459596

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9358491A Pending JPH11191073A (en) 1997-12-25 1997-12-25 Pci bus processor

Country Status (1)

Country Link
JP (1) JPH11191073A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006260273A (en) * 2005-03-17 2006-09-28 Ricoh Co Ltd Subsystem module, information processor, and data transfer method in the subsystem module
JP2007087247A (en) * 2005-09-26 2007-04-05 Nec Electronics Corp Bus control system
JP2010198098A (en) * 2009-02-23 2010-09-09 Nec Corp Information processing apparatus, circuit, method, and program for controlling bus
JP2010225085A (en) * 2009-03-25 2010-10-07 Fujitsu Ltd Switch, method for controlling the same and method for controlling switch system
WO2014020716A1 (en) * 2012-08-01 2014-02-06 富士通株式会社 Information processing device, control method, control program, and computer-readable recording medium having recorded control program
JP2017123083A (en) * 2016-01-08 2017-07-13 Necプラットフォームズ株式会社 Suspicious diagnosis circuit, information processing device, and suspicious diagnosis method and program
US10268560B2 (en) 2015-04-30 2019-04-23 Fujitsu Limited Bus connection target device, storage control device and bus communication system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006260273A (en) * 2005-03-17 2006-09-28 Ricoh Co Ltd Subsystem module, information processor, and data transfer method in the subsystem module
JP4589768B2 (en) * 2005-03-17 2010-12-01 株式会社リコー Information processing device
JP2007087247A (en) * 2005-09-26 2007-04-05 Nec Electronics Corp Bus control system
JP2010198098A (en) * 2009-02-23 2010-09-09 Nec Corp Information processing apparatus, circuit, method, and program for controlling bus
JP2010225085A (en) * 2009-03-25 2010-10-07 Fujitsu Ltd Switch, method for controlling the same and method for controlling switch system
WO2014020716A1 (en) * 2012-08-01 2014-02-06 富士通株式会社 Information processing device, control method, control program, and computer-readable recording medium having recorded control program
US10268560B2 (en) 2015-04-30 2019-04-23 Fujitsu Limited Bus connection target device, storage control device and bus communication system
JP2017123083A (en) * 2016-01-08 2017-07-13 Necプラットフォームズ株式会社 Suspicious diagnosis circuit, information processing device, and suspicious diagnosis method and program

Similar Documents

Publication Publication Date Title
US4494193A (en) Deadlock detection and resolution scheme
US4933838A (en) Segmentable parallel bus for multiprocessor computer systems
US6978397B2 (en) Memory controller supporting redundant synchronous memories
JP3838278B2 (en) Bridge circuit between two buses of a computer system
US6112271A (en) Multiconfiguration backplane
US6513128B1 (en) Network interface card accessible during low power consumption mode
US8700835B2 (en) Computer system and abnormality detection circuit
US6510484B1 (en) Technique for controlling synchronous devices and asynchronous devices connected to an inter-integrated circuit bus (I2C bus)
AU721685B2 (en) Bus interface control circuit
KR100258079B1 (en) The duplicated device by extention of memory bus in a tightly coupled fault tolerance system
US6618783B1 (en) Method and system for managing a PCI bus coupled to another system
JPH11191073A (en) Pci bus processor
JP2001337869A (en) Data storage system with message network including independent data transmitting division, a plurality of directors on common printed-circuit board, and redundant switching network
EP0183431B1 (en) System control network for multiple processor modules
KR0175742B1 (en) Operation separable high-speed data transmission apparatus in duplication system
US6381663B1 (en) Mechanism for implementing bus locking with a mixed architecture
CN1165004C (en) Spare duplex apparatus and its operated method
JP2002269029A (en) Highly reliable information processor, information processing method used for the same and program therefor
US20020089940A1 (en) Duplexing apparatus and method in large scale system
JP3626667B2 (en) Expansion slot hot plug controller
JP4554874B2 (en) Redundant bus connection device and redundancy method of redundant bus connection device
JP3141948B2 (en) Computer system
JP3123844B2 (en) Redundant device
KR100380328B1 (en) Down prevention device at board disconnection of exchange system
JPH05224964A (en) Bus abnormality information system

Legal Events

Date Code Title Description
S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20090413

Year of fee payment: 8

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

Year of fee payment: 9

Free format text: PAYMENT UNTIL: 20100413

LAPS Cancellation because of no payment of annual fees