Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3565719B2 - Bus connection circuit and computer system - Google Patents
[go: Go Back, main page]

JP3565719B2 - Bus connection circuit and computer system - Google Patents

Bus connection circuit and computer system Download PDF

Info

Publication number
JP3565719B2
JP3565719B2 JP23254798A JP23254798A JP3565719B2 JP 3565719 B2 JP3565719 B2 JP 3565719B2 JP 23254798 A JP23254798 A JP 23254798A JP 23254798 A JP23254798 A JP 23254798A JP 3565719 B2 JP3565719 B2 JP 3565719B2
Authority
JP
Japan
Prior art keywords
bus
primary
pci
pci bus
register
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP23254798A
Other languages
Japanese (ja)
Other versions
JP2000066992A (en
Inventor
達成 橋爪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP23254798A priority Critical patent/JP3565719B2/en
Publication of JP2000066992A publication Critical patent/JP2000066992A/en
Application granted granted Critical
Publication of JP3565719B2 publication Critical patent/JP3565719B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Bus Control (AREA)

Description

【0001】
【発明の属する技術分野】
この発明は、バス間接続回路及びコンピュータシステムに関し、例えば、PCI−PCIバスブリッジの1次側と2次側とが動的に切り替わるコンピュータシステムに適用し得るものである。
【0002】
【従来の技術】
近年、マルチメディアやGUI(Graphical User Interface)などをきっかけに、コンピュータシステムが処理するデータ量は格段に増え、システム内部のデバイス間でデータ転送する内部バスにも高速なものが必要になった。
【0003】
PCI( Peripheral Conponent Interconnect)バスは、このような背景から、米国のインテル社が中心となって標準化が進められた内部バスである。
【0004】
このPCIバスは、ある特定のCPU( Central Processing Unit)やアーキテクチャを前提にしたものではなく、そのため、PCIバス上に接続される各デバイスには、そのデバイスの種類や動作ステータス等を示すコンフィギュレーションレジスタを設けることが規定されている。
【0005】
また、PCIバスには、設定上、最大32個までのデバイスが接続できることになっているが、実際には電気的な負荷や安定性などの観点から、10個程度が限界になる。そこで、さらに多くのデバイスを接続するためには、システム内に複数のPCIバスを用意し、各PCIバス間をPCI−PCIバスブリッジで接続することになる。
【0006】
図2は、従来のPCI−PCIバスブリッジの構成を示したブロック図である。以下、このPCI−PCIバスブリッジについて簡単に説明する。なお、図2において、ホストCPUに近い側が1次側PCIバス、ホストCPUに遠い側が2次側PCIバスである。
【0007】
電源ONやリセットなどのシステム初期化時において、ホストCPUは、システム内の複数のPCIバスを識別するために、各PCIバスを検索してバス番号を割り振る。この割り振られたバス番号は、ホストCPUによって、各PCIバスに接続するホストブリッジやPCI−PCIバスブリッジのコンフィギュレーションレジスタに設定され、以後の各デバイス間のデータ転送の識別に用いられることになる。
【0008】
ここで、図2に示すように、PCI−PCIブリッジのコンフィギュレーションレジスタ15には、1次側バス番号レジスタ(PriBN)151と2次側バス番号レジスタ(SecBN)152とサブオーディネートバス番号レジスタ(SubBN)153とがあり、各レジスタには適当なバス番号が設定されることになる。なお、サブオーディネートバスとは、2次側PCIバスの更に先にPCI−PCIバスブリッジを介して存在するPCIバスのことであり、複数のサブオーディネートバスが存在する可能性がある。また、サブオーディネートバスが存在しない場合、サブオーディネートバス番号レジスタ153には、2次側のバス番号が設定されることになる。
【0009】
【発明が解決しようとする課題】
しかしながら、上述した従来のPCI−PCIバスブリッジには、1次側バスと2次側バスとが固定されているシステムを前提としているので、1次側PCIバスと2次側PCIバスとが動的に切り替わるようなシステムには適用できないという課題があった。
【0010】
例えば、後述するように、運用系と待機系の2つのホストCPUの系切り替えを行う冗長システムにおいて、異なるホストCPUで制御されるPCIバス間を接続するPCI−PCIバスブリッジには、1次側と2次側とが動的に切り替わるので適用することができない。
【0011】
そのため、1次側と2次側とを動的に切り替えることができるバス間接続回路及びコンピュータシステムが求められていた。
【0012】
【課題を解決するための手段】
かかる課題を解決するため、本発明は、第1のバス上の要素と第2のバス上の要素とを接続するための制御情報が設定されたレジスタを有し、このレジスタに設定された制御情報に基づき、第1のバスと第2のバスとの間で、内蔵する1次側及び2次側の専用インタフェースを介して情報本体の授受を行うバス間接続回路において、(1)与えられた1次側指示命令に基づき、1次側の第1又は第2のバスが内蔵する1次側の専用インタフェースに接続され、2次側の第2又は第1のバスが内蔵する2次側の専用インタフェースに接続されるように接続関係を切り替える接続切替手段を備え、(2)新たに切り替わった1次側の第1又は第2のバスに対応した制御情報と2次側の第2又は第1のバスに対応した制御情報とに、レジスタを設定し直すことを特徴とする。
【0013】
【発明の実施の形態】
(A)第1の実施形態
以下、本発明によるバス間接続回路を、1次側と2次側とが動的に切り替わるPCI−PCIバスブリッジに適用した第1の実施形態について、図面を参照しながら詳述する。
【0014】
(A−1)構成の説明
図1は、第1の実施形態のコンピュータシステムの構成を示すブロック図である。図1において、このコンピュータシステムは、A側PCIバス1と、B側PCIバス2と、PCI−PCIバスブリッジ3とを有し、A側PCIバス1とPCI−PCIバスブリッジ3との間は、データ信号線11及び制御信号線21で接続され、B側PCIバス2とPCI−PCIバスブリッジ3との間は、データ信号線12及び制御信号線22で接続される。また、PCI−PCIバスブリッジ3と図示しないシステム制御部との間は、1次側指示信号線131で接続される。
【0015】
さらに、PCI−PCIバスブリッジ3は、データ信号ドライバ/レシーバ13、14、111及び112と、1次側バス番号レジスタ(PriBN)151と2次側バス番号レジスタ(SecBN)152とサブオーディネートバス番号レジスタ(SubBN)153とを有するコンフィギュレーションレジスタ群15と、バッファ部16と、制御信号ドライバ/レシーバ23、24、121及び122と、1次側ターゲットインタフェース25と、2次側マスタインタフェース26と、1次側マスタインタフェース27と、2次側ターゲットインタフェース28と、論理反転素子134とを有する。
【0016】
A側PCIバス1及びB側PCIバス2は、PCI−PCIバスブリッジ3に接続される2つのバスであり、それぞれがホストCPUに対して近い側(1次側)と遠い側(2次側)とに交互に切り替わるものである。ここで、A側PCIバス1は、データ信号(アドレス/データバスやC/BE信号など)と制御信号(FRAME信号やIRDY信号など)とから構成され、これらのデータ信号及び制御信号は、データ信号線11及び制御信号線21によってPCI−PCIバスブリッジ3と授受されることになる。また、B側PCIバス2も、A側PCIバス1と同様のものであり、B側PCIバス2のデータ信号及び制御信号は、データ信号線12及び制御信号線22によってPCI−PCIバスブリッジ3と授受されることになる。
【0017】
データ信号ドライバ/レシーバ13及び111はそれぞれ、データ信号線11に接続され、データ信号線11に対しデータ信号をレシーブ(受信)又はドライブ(送信)するものである。一方、データ信号ドライバ/レシーバ14及び112はそれぞれ、データ信号線12に接続され、データ信号線12に対しデータ信号をレシーブ(受信)又はドライブ(送信)するものである。
【0018】
ここで、後述するように、図示しないシステム制御部によって、1次側指示信号線131からアクティブ信号が与えられると、A側PCIバスが1次側であることを示す信号(A=Pri信号)がアクティブ、B側PCIバスが1次側であることを示す信号(B=Pri信号)がインアクティブになるので、データ信号ドライバ/レシーバ13及び14が動作し、データ信号ドライバ/レシーバ111及び112が動作停止する。一方、1次側指示信号線131からインアクティブ信号が与えられると、A=Pri信号がインアクティブ、B=Pri信号がアクティブになるので、データ信号ドライバ/レシーバ13及び14が動作停止し、データ信号ドライバ/レシーバ111及び112が動作する。
【0019】
コンフィギュレーションレジスタ群15は、A側PCIバス1及びB側PCIバス2に対するPCI−PCIバスブリッジ3の特性・種類・動作方法等が設定される複数のレジスタを有するものである。この実施形態では、図1に示すように、コンフィギュレーションレジスタ群15は、1次側PCIバスのバス番号が設定される1次側バス番号レジスタ(PriBN)151と、2次側PCIバスのバス番号が設定される2次側バス番号レジスタ(SecBN)152と、サブオーディネートバスのバス番号(サブオーディネートバスが存在しないときは、2次側のバス番号)が設定されるサブオーディネートバス番号レジスタ(SubBN)153とを有する。
【0020】
バッファ部16は、データ信号ドライバ/レシーバ13及び111又は14及び112で受信されたデータ信号を一時的に格納し、1次側マスタインタフェース27又は2次側マスタインタフェース26からの指示に基づき、この格納したデータ信号をデータ信号ドライバ/レシーバ14及び111又は13及び112に与えるものである。
【0021】
制御信号ドライバ/レシーバ23及び121はそれぞれ、制御信号線21に接続され、制御信号線21に対し制御信号をレシーブ(受信)又はドライブ(送信)するものである。一方、制御信号ドライバ/レシーバ24及び122はそれぞれ、制御信号線22に接続され、制御信号線22に対し制御信号をレシーブ(受信)又はドライブ(送信)するものである。
【0022】
ここで、後述するように、図示しないシステム制御部によって、1次側指示信号線131からアクティブ信号が与えられると、A=Pri信号がアクティブ、B=Pri信号がインアクティブになるので、制御信号ドライバ/レシーバ23及び24が動作し、制御信号ドライバ/レシーバ121及び122が動作停止する。一方、1次側指示信号線131からインアクティブ信号が与えられると、A=Pri信号がインアクティブ、B=Pri信号がアクティブになるので、制御信号ドライバ/レシーバ23及び24が動作停止し、制御信号ドライバ/レシーバ121及び122が動作する。
【0023】
ところで、一般にコンピュータのバス上でデータ転送を行う場合には、データの送り手と受け手の間に、「マスタ」と「スレーブ」の関係がある。ここで、PCIバスにおいては、「マスタ」に該当する言葉として「イニシエータ」が、「スレーブ」に該当する言葉として「ターゲット」が使われるときもあり、以下、この実施形態においても同様な意味で用いて説明する。
【0024】
1次側ターゲットインタフェース25は、1次側のA側PCIバス1又はB側PCIバス2の制御信号線21又は22から、マスタデバイスからのアクセス要求を受信し、このアクセス要求によってデータ信号線11又は12から与えられたアドレスに基づき、コンフィギュレーションレジスタ群15を参照して伝送先を検索し、この検索結果を2次マスタインタフェース26に与えるものである。また、1次側ターゲットインタフェース25は、1次側に接続されたホストCPUからコンフィギュレーション設定要求を受信し、この設定要求によってデータ信号線11又は12から与えられた設定データをコンフィギュレーションレジスタ群15に設定するものである。
【0025】
2次側マスタインタフェース26は、1次側ターゲットインタフェース25からの検索結果に基づく制御信号を、2次側のA側PCIバス1又はB側PCIバス2の制御信号線21又は22に出力すると共に、1次側ターゲットインタフェース25からの検索結果に基づく伝送先アドレスとバッファ部16に格納された伝送データとを、2次側のA側PCIバス1又はB側PCIバス2のデータ信号線11又は12に出力するものである。
【0026】
2次側ターゲットインタフェース28は、2次側のA側PCIバス1又はB側PCIバス2の制御信号線21又は22から、マスタデバイスからのアクセス依頼を受信し、このアクセス依頼によってデータ信号線11又は12から与えられたアドレスに基づき、コンフィギュレーションレジスタ群15を参照して伝送先を検索し、この検索結果を1次マスタインタフェース27に与えるものである。
【0027】
1次側マスタインタフェース27は、2次側ターゲットインタフェース28からの検索結果に基づく制御信号を、1次側のA側PCIバス1又はB側PCIバス2の制御信号線21又は22に出力すると共に、2次側ターゲットインタフェース28からの検索結果に基づく伝送先アドレスとバッファ部16に格納された伝送データとを、1次側のA側PCIバス1又はB側PCIバス2のデータ信号線11又は12に出力するものである。
【0028】
論理反転素子134は、与えられた信号の論理を反転するものであり、この実施形態の場合、1次側指示信号線131からアクティブ信号又はインアクティブ信号が与えられたときに、インアクティブ信号又はアクティブ信号に論理を反転して出力するものである。
【0029】
(A−2)動作の説明
次に、このような構成を有するコンピュータシステムの動作について、図3〜5を参照しながら説明する。
【0030】
1次側指示信号線131からアクティブ信号が与えられると、A=Pri信号がアクティブ、B=Pri信号がインアクティブになるので、データ信号ドライバ/レシーバ13及び14と制御信号ドライバ/レシーバ23及び24とが動作し、これらを通るパスが有効になり、一方、データ信号ドライバ/レシーバ111及び112と制御信号ドライバ/レシーバ121及び122とが動作停止し、これらを通るパスが無効になる。ここで、図3は、この場合の動作状態を示したブロック図であり、有効なパスの部分を太線で示している。従って、図2に示した従来例と同様に、A側PCIバス1が1次側、B側PCIバス2が2次側となる。
【0031】
また、1次側指示信号線131からインアクティブ信号が与えられると、A=Pri信号がインアクティブ、B=Pri信号がアクティブになるので、データ信号ドライバ/レシーバ111及び112と制御信号ドライバ/レシーバ121び122が動作し、これらを通るパスが有効になり、一方、データ信号ドライバ/レシーバ13及び14と制御信号ドライバ/レシーバ23び24が動作停止し、これらを通るバスが無効になる。なお、図4は、この場合の動作状態を示したブロック図であり、有効なパスの部分を太線で示している。従って、図2に示した従来例とは逆に、A側PCIバス1が2次側、B側PCIバス2が1次側となる。
【0032】
一方、1次側バスと2次側バスを切り替えた後には、PCI−PCIバスブリッジ3に対する各PCIバスのバス番号が変わるので、コンフィギュレーションレジスタ群15に設定されたバス番号を変更して再設定しなければならない。ここで、図5は、この再設定の動作を説明するための説明図である。図5(a)が切り替わる前のA側PCIバスが1次側であるコンピュータシステムを示し、図5(b)が切り替わった後のB側PCIバスが1次側であるコンピュータシステムを示している。図5に示すように、切り替わる前のコンピュータシステムにおいては、PriBNにはバス番号1、SecBNにはバス番号3、SubBNにはバス番号4が設定されているが、切り替わった後のシステムにおいては、PriBNにはバス番号3、SecBNにはバス番号1、SubBNにはバス番号2が再設定される必要がある。
【0033】
ここでさらに、コンフィギュレーションレジスタ群15を設定(再設定)する場合と、1次側PCIバスから2次側PCIバスに接続されたターゲットデバイスにデータを転送する場合との詳細動作について説明する。
【0034】
1.コンフィギュレーションレジスタ群15を設定(再設定)する場合
まず、1次側PCIバスの制御信号線21又は22に出力されたホストCPUからのコンフィギュレーション設定要求が、1次側ターゲットインタフェース25によって認識される。
【0035】
次に、1次側ターゲットインタフェース25では、1次側PCIバスのデータ信号線11又は12に出力されたホストCPUからの設定データ(設定するレジスタのアドレス及び設定するバス番号)に基づき、コンフィギュレーションレジスタ群15の目的のレジスタにバス番号が書き込まれることになる。
【0036】
2.1次側PCIバスから2次側PCIバスに接続されたターゲットデバイスにデータを転送する場合
まず、1次側のPCIバスの制御信号線21又は22に出力されたマスタデバイスからのアクセス要求が、1次側ターゲットインタフェース25によって認識されると共に、1次側のPCIバスのデータ信号線11又は12に出力されたマスタデバイスからの伝送データがバッファ部16に書き込まれる。
【0037】
次に、1次側ターゲットインタフェース25では、1次側PCIバスのデータ信号線11又は12に出力されたマスタデバイスからのアドレスに基づき、コンフィギュレーションレジスタ群15を参照して伝送先が検索され、この検索結果が2次マスタインタフェース26に与えられる。
【0038】
さらに、2次マスタインタフェース26では、この検索結果に基づいた制御信号が2次側のPCIバスの制御信号線21又は22に出力されると共に、この検索結果に基づく伝送先アドレスとバッファ部16に格納された伝送データとが、2次側のPCIバスのデータ信号線11又は12に出力され、ターゲットデバイスにデータが転送されることになる。
【0039】
なお、2次側PCIバスから1次側PCIバスに接続されたターゲットデバイスにデータを転送する場合も、説明は省略するが、同様な動作で行われることになる。
【0040】
例えば、このようなPCI−PCIバスブリッジは、図6に示すように、運用系と待機系との2つのホストCPUの切り替えを行う冗長システムにおいて、異なるホストCPUで制御されるPCIバス間を接続するPCI−PCIバスブリッジに適用して好適なものである。ここで、図6(a)は、A側PCIバスに接続されたホストCPUが運用状態で、A側PCIバスが1次側であるコンピュータシステムを示し、図6(b)は、B側PCIバスに接続されたホストCPUが運用状態で、b側PCIバスが1次側であるコンピュータシステムを示している。
【0041】
(A−3)効果の説明
以上のように、第1の実施形態によれば、(1)1次側指示信号線からの信号に基づいて、PCI−PCIバスブリッジ3に接続されている2つのPCIバスの1次側と2次側を切り替えるデータ信号ドライバ/レシーバ13、14、111、112、及び、制御信号ドライバ/レシーバ23、24、121、122を有し、(2)この切り替えに基づいて、ホストCPUがコンフィギュレーションレジスタ群15のレジスタを、切り替え後のバス構成に適用するように再設定するので、1次側指示信号線からの信号に基づいて、PCI−PCIバスブリッジ3の1次側と2次側を動的に切り替えることができる。
【0042】
(B)第2の実施形態
以下、本発明によるバス間接続回路を、1次側と2次側とが動的に切り替わるPCI−PCIバスブリッジに適用した第2の実施形態について、図面を参照しながら詳述する。
【0043】
(B−1)構成の説明
図7は、第2の実施形態のコンピュータシステムの構成を示すブロック図である。図7において、このコンピュータシステムは、A側PCIバス1と、B側PCIバス2と、PCI−PCIバスブリッジ3とを有し、A側PCIバス1とPCI−PCIバスブリッジ3との間は、データ信号線11及び制御信号線21で接続され、B側PCIバス2とPCI−PCIバスブリッジ3との間は、データ信号線12及び制御信号線22で接続される。また、PCI−PCIバスブリッジ3と図示しないシステム制御部との間は、1次側指示信号線131で接続される。
【0044】
さらに、PCI−PCIバスブリッジ3は、データ信号ドライバ/レシーバ13、14、111及び112と、A側PCIバス用1次側バス番号レジスタ(PriBN−A)154とA側PCIバス用2次側バス番号レジスタ(SecBN−A)155とA側PCIバス用サブオーディネートバス番号レジスタ(SubBN−A)156とB側PCIバス用1次側バス番号レジスタ(PriBN−B)157とB側PCIバス用2次側バス番号レジスタ(SecBN−B)158とB側PCIバス用サブオーディネートバス番号レジスタ(SubBN−B)159とを有するコンフィギュレーションレジスタ群15と、バッファ部16と、制御信号ドライバ/レシーバ23、24、121及び122と、1次側ターゲットインタフェース25と、2次側マスタインタフェース26と、1次側マスタインタフェース27と、2次側ターゲットインタフェース28と、論理反転素子134とを有する。
【0045】
なお、図7においては、図1に示した第1の実施形態と対応する構成部分は同一の符号を付して示している。したがって、その構成部分の説明は省略し、以下、コンフィギュレーションレジスタ群15の詳細構成について説明する。
【0046】
コンフィギュレーションレジスタ群15は、A側PCIバス1が1次側である場合の1次側PCIバスのバス番号が設定されるA側PCIバス用1次側バス番号レジスタ(PriBN−A)154と、A側PCIバス1が1次側である場合の2次側PCIバスのバス番号が設定されるA側PCIバス用2次側バス番号レジスタ(SecBN−A)155と、A側PCIバス1が1次側である場合のサブオーディネートバスのバス番号(サブオーディネートバスが存在しないときは2次側のバス番号)が設定されるA側PCIバス用サブオーディネートバス番号レジスタ(SubBN−A)156と、B側PCIバス2が1次側である場合の1次側PCIバスのバス番号が設定されるB側PCIバス用1次側バス番号レジスタ(PriBN−B)157と、B側PCIバス1が1次側である場合の2次側PCIバスのバス番号が設定されるB側PCIバス用2次側バス番号レジスタ(SecBN−B)158と、B側PCIバス1が1次側である場合のサブオーディネートバスのバス番号(サブオーディネートバスが存在しないときは2次側のバス番号)が設定されるB側PCIバス用サブオーディネートバス番号レジスタ(SubBN−B)159とを有する。なお、コンフィギュレーションレジスタ群15には、A=Pri信号とB=Pri信号とが与えられている。
【0047】
ここで、後述するように、図示しないシステム制御部によって、1次側指示信号線131からアクティブ信号が与えられると、A=Pri信号がアクティブ、B=Pri信号がインアクティブになり、A側PCIバスが1次側である場合のPriBN−A154とSecBN−A155とSubBN−A156とが有効になり、B側PCIバスが1次側である場合のPriBN−B157とSecBN−B158とSubBN−B159とが無効になる。一方、1次側指示信号線131からインアクティブ信号が与えられると、A=Pri信号がインアクティブ、B=Pri信号がアクティブになり、A側PCIバスが1次側である場合のPriBN−A154とSecBN−A155とSubBN−A156とが無効になり、B側PCIバスが1次側である場合のPriBN−B157とSecBN−B158とSubBN−B159とが有効になる。
【0048】
(B−2)動作の説明
次に、このような構成を有するコンピュータシステムの動作について、図8〜10を参照しながら説明する。
【0049】
1次側指示信号線131からアクティブ信号が与えられると、A=Pri信号がアクティブ、B=Pri信号がインアクティブになるので、データ信号ドライバ/レシーバ13及び14と制御信号ドライバ/レシーバ23及び24とが動作し、これらを通るパスが有効になり、一方、データ信号ドライバ/レシーバ111及び112と制御信号ドライバ/レシーバ121及び122とが動作停止し、これらを通るパスが無効になる。ここで、図8は、この場合の動作状態を示したブロック図であり、有効なパスの部分を太線で示している。従って、図2に示した従来例と同様に、A側PCIバス1が1次側、B側PCIバス2が2次側となる。
【0050】
また、1次側指示信号線131からインアクティブ信号が与えられると、A=Pri信号がインアクティブ、B=Pri信号がアクティブになるので、データ信号ドライバ/レシーバ111及び112と制御信号ドライバ/レシーバ121び122が動作し、これらを通るパスが有効になり、一方、データ信号ドライバ/レシーバ13及び14と制御信号ドライバ/レシーバ23び24が動作停止し、これらを通るパスが無効になる。なお、図9は、この場合の動作状態を示したブロック図であり、有効なパスの部分を太線で示している。従って、図2に示した従来例とは逆に、A側PCIバス1が2次側、B側PCIバス2が1次側となる。
【0051】
さらに、図10は、コンフィギュレーションレジスタ群15の切り替えの動作を説明するための説明図である。図10(a)が切り替わる前のコンピュータシステムを示し、図10(b)が切り替わった後のコンピュータシステムを示している。
【0052】
図10に示すように、切り替わる前のA側PCIバスが1次側であるコンピュータシステムにおいては、A=Pri信号がアクティブ、B=Pri信号がインアクティブになるので、A側PCIバスが1次側である場合のPriBN−A154とSecBN−A155とSubBN−A156とが有効になり、B側PCIバスが1次側である場合のPriBN−B157とSecBN−B158とSubBN−B159とが無効になる。一方、切り替わった後のB側PCIバスが1次側であるシステムにおいては、A=Pri信号がインアクティブ、B=Pri信号がアクティブになるので、A側PCIバスが1次側である場合のPriBN−A154とSecBN−A155とSubBN−A156とが無効になり、B側PCIバスが1次側である場合のPriBN−B157とSecBN−B158とSubBN−B159とが有効になる。
【0053】
なお、コンフィギュレーションレジスタ群15を設定(再設定)する場合と、1次側PCIバスから2次側PCIバスに接続されたターゲットデバイスにデータを転送する場合との詳細動作については、第1の実施形態と同様であるため、説明を省略する。
【0054】
また、この第2の実施形態のPCI−PCIバスブリッジも、図6に示した運用系と待機系との2つのホストCPUの切り替えを行う冗長システムに適用できることは勿論である。
【0055】
(B−3)効果の説明
以上のように、第2の実施形態によれば、第1の実施形態と同様な効果が得られる。
【0056】
また、第2の実施形態によれば、コンフィギュレーションレジスタ群15において、切り替わる前後双方のバス番号が格納されたレジスタを有し、A=Pri信号及びB=Pri信号に基づいて、その一方を有効に他方を無効に切り替えるので、コンフィギュレーションレジスタ群15を再設定する必要がなくなる。
【0057】
(C)他の実施形態
なお、上記各実施形態では、内部バスがPCIバスであるものを示したが、PCIバスに限定することなく、バス間接続回路に同様なバス番号を設定するコンフィギュレーションレジスタ群を有するものであれば、同様に本発明に適用できる。
【0058】
また、上記各実施形態では、コンフィギュレーションレジスタ群にバス番号が設定されるものを示したが、バス番号に限定することなく、他の制御情報が設定されるものであっても、同様に本発明に適用できる。
【0059】
さらに、図6に示した運用系と待機系の系切り替えを行う冗長構成のコンピュータシステムでは、ホストCPUが2つのものを示したが、ホストCPUが3以上あるものであっても良い。
【0060】
【発明の効果】
以上のように、本発明によれば、第1のバス上の要素と第2のバス上の要素とを接続するための制御情報が設定されたレジスタを有し、このレジスタに設定された制御情報に基づき、第1のバスと第2のバスとの間で、内蔵する1次側及び2次側の専用インタフェースを介して情報本体の授受を行うバス間接続回路において、与えられた1次側指示命令に基づき、1次側の第1又は第2のバスが内蔵する1次側の専用インタフェースに接続され、2次側の第2又は第1のバスが内蔵する2次側の専用インタフェースに接続されるように接続関係を切り替える接続切替手段を備え、新たに切り替わった1次側の第1又は第2のバスに対応した制御情報と2次側の第2又は第1のバスに対応した制御情報とに、レジスタを設定し直すことで、外部からの1次側指示命令に基づき、第1及び第2のバスの1次側と2次側とを動的に切り替えることができるようになる。
【図面の簡単な説明】
【図1】第1の実施形態のコンピュータシステムの構成を示すブロック図である。
【図2】従来のPCI−PCIバスブリッジの説明図である。
【図3】第1の実施形態において、A=Pri信号がアクティブ、B=Pri信号がインアクティブの場合の動作説明図である。
【図4】第1の実施形態において、A=Pri信号がインアクティブ、B=Pri信号がアクティブの場合の動作説明図である。
【図5】第1の実施形態において、コンフィギュレーションレジスタ群15の再設定の動作説明図である。
【図6】運用系と待機系の2つのホストCPUの切り替えを行うコンピュータシステムの動作説明図である。
【図7】第2の実施形態のコンピュータシステムの構成を示すブロック図である。
【図8】第2の実施形態において、A=Pri信号がアクティブ、B=Pri信号がインアクティブの場合の動作説明図である。
【図9】第2の実施形態において、A=Pri信号がインアクティブ、B=Pri信号がアクティブの場合の動作説明図である。
【図10】第2の実施形態において、コンフィギュレーションレジスタ群15の再設定の動作説明図である。
【符号の説明】
13、14、111、112…データ信号ドライバ/レシーバ、23、24、121、122…制御信号ドライバ/レシーバ、131…1次側指示信号線。
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a bus connection circuit and a computer system, and can be applied to, for example, a computer system in which a primary side and a secondary side of a PCI-PCI bus bridge are dynamically switched.
[0002]
[Prior art]
In recent years, the amount of data processed by a computer system has increased remarkably due to multimedia, a GUI (Graphical User Interface), and the like, and a high-speed internal bus for transferring data between devices in the system has been required.
[0003]
Against this background, the PCI (Peripheral Component Interconnect) bus is an internal bus that has been standardized mainly by Intel Corporation in the United States.
[0004]
This PCI bus is not based on a specific CPU (Central Processing Unit) or architecture. Therefore, each device connected to the PCI bus has a configuration indicating the type and operation status of the device. It is stipulated that a register be provided.
[0005]
Further, up to 32 devices can be connected to the PCI bus in terms of setting. However, in practice, the limit is about 10 devices from the viewpoint of electrical load and stability. Therefore, in order to connect more devices, a plurality of PCI buses are prepared in the system, and each PCI bus is connected by a PCI-PCI bus bridge.
[0006]
FIG. 2 is a block diagram showing a configuration of a conventional PCI-PCI bus bridge. Hereinafter, the PCI-PCI bus bridge will be briefly described. In FIG. 2, the side closer to the host CPU is the primary PCI bus, and the side farther from the host CPU is the secondary PCI bus.
[0007]
At the time of system initialization such as power-on or reset, the host CPU searches each PCI bus and assigns a bus number to identify a plurality of PCI buses in the system. The assigned bus number is set by the host CPU in a configuration register of a host bridge connected to each PCI bus or a PCI-PCI bus bridge, and is used for identification of data transfer between devices thereafter. .
[0008]
Here, as shown in FIG. 2, the configuration register 15 of the PCI-PCI bridge includes a primary bus number register (PriBN) 151, a secondary bus number register (SecBN) 152, and a subordinate bus number register. (SubBN) 153, and an appropriate bus number is set in each register. It should be noted that the subordinate bus is a PCI bus that is located ahead of the secondary-side PCI bus via a PCI-PCI bus bridge, and a plurality of subordinate buses may exist. If there is no subordinate bus, the secondary bus number is set in the subordinate bus number register 153.
[0009]
[Problems to be solved by the invention]
However, the above-described conventional PCI-PCI bus bridge presupposes a system in which the primary bus and the secondary bus are fixed, so that the primary PCI bus and the secondary PCI bus operate. There is a problem that it cannot be applied to a system in which the switching is performed.
[0010]
For example, as will be described later, in a redundant system in which system switching is performed between two host CPUs of an active system and a standby system, a PCI-PCI bus bridge connecting PCI buses controlled by different host CPUs has a primary side. And the secondary side is dynamically switched, so it cannot be applied.
[0011]
Therefore, a bus connection circuit and a computer system that can dynamically switch between the primary side and the secondary side have been demanded.
[0012]
[Means for Solving the Problems]
In order to solve such a problem, the present invention includes a register in which control information for connecting an element on a first bus and an element on a second bus is set, and the control set in the register. In the inter-bus connection circuit for exchanging the information body between the first bus and the second bus via the built-in primary and secondary side dedicated interfaces based on the information, Based on the primary-side instruction command, the primary-side first or second bus is connected to the built-in primary-side dedicated interface, and the secondary-side second or first bus is built-in. Switching means for switching the connection relationship so that the connection is made to the dedicated interface Equipped (2) control information corresponding to the newly switched primary side first or second bus And control information corresponding to the second or first bus on the secondary side And reset the register Suko And features.
[0013]
BEST MODE FOR CARRYING OUT THE INVENTION
(A) First embodiment
Hereinafter, a first embodiment in which a bus connection circuit according to the present invention is applied to a PCI-PCI bus bridge in which a primary side and a secondary side are dynamically switched will be described in detail with reference to the drawings.
[0014]
(A-1) Description of Configuration
FIG. 1 is a block diagram illustrating the configuration of the computer system according to the first embodiment. In FIG. 1, this computer system has an A-side PCI bus 1, a B-side PCI bus 2, and a PCI-PCI bus bridge 3, and a connection between the A-side PCI bus 1 and the PCI-PCI bus bridge 3. , A data signal line 11 and a control signal line 21, and a data signal line 12 and a control signal line 22 are connected between the B-side PCI bus 2 and the PCI-PCI bus bridge 3. The PCI-PCI bus bridge 3 and a system control unit (not shown) are connected by a primary instruction signal line 131.
[0015]
Further, the PCI-PCI bus bridge 3 includes data signal drivers / receivers 13, 14, 111 and 112, a primary bus number register (PriBN) 151, a secondary bus number register (SecBN) 152, and a subordinate bus. A configuration register group 15 having a number register (SubBN) 153, a buffer unit 16, control signal drivers / receivers 23, 24, 121 and 122, a primary side target interface 25, and a secondary side master interface 26; , A primary master interface 27, a secondary target interface 28, and a logical inversion element 134.
[0016]
The A-side PCI bus 1 and the B-side PCI bus 2 are two buses connected to the PCI-PCI bus bridge 3, each of which is closer (primary side) and farther (secondary side) to the host CPU. ). Here, the A-side PCI bus 1 is composed of a data signal (address / data bus, C / BE signal, etc.) and a control signal (FRAME signal, IRDY signal, etc.). The signal is transmitted / received to / from the PCI-PCI bus bridge 3 via the signal line 11 and the control signal line 21. The B-side PCI bus 2 is the same as the A-side PCI bus 1, and the data signal and the control signal of the B-side PCI bus 2 are transmitted by the data signal line 12 and the control signal line 22 to the PCI-PCI bus bridge 3. Will be given and received.
[0017]
The data signal drivers / receivers 13 and 111 are connected to the data signal line 11 and receive (drive) or drive (transmit) a data signal to the data signal line 11. On the other hand, the data signal drivers / receivers 14 and 112 are respectively connected to the data signal line 12 and receive (receive) or drive (transmit) a data signal to the data signal line 12.
[0018]
Here, as described later, when an active signal is given from the primary-side instruction signal line 131 by a system control unit (not shown), a signal indicating that the A-side PCI bus is the primary side (A = Pri signal). Is active and the signal indicating that the B-side PCI bus is the primary side (B = Pri signal) becomes inactive, so that the data signal drivers / receivers 13 and 14 operate and the data signal drivers / receivers 111 and 112 Stops working. On the other hand, when an inactive signal is given from the primary side instruction signal line 131, the A = Pri signal becomes inactive and the B = Pri signal becomes active, so that the data signal drivers / receivers 13 and 14 stop operating, and the data The signal drivers / receivers 111 and 112 operate.
[0019]
The configuration register group 15 has a plurality of registers in which the characteristics, types, operation methods, and the like of the PCI-PCI bus bridge 3 for the A-side PCI bus 1 and the B-side PCI bus 2 are set. In this embodiment, as shown in FIG. 1, the configuration register group 15 includes a primary bus number register (PriBN) 151 in which the bus number of the primary PCI bus is set, and a bus of the secondary PCI bus. The secondary bus number register (SecBN) 152 in which the number is set, and the subordinate bus in which the bus number of the subordinate bus (or the secondary bus number when there is no subordinate bus) are set. And a number register (SubBN) 153.
[0020]
The buffer unit 16 temporarily stores the data signals received by the data signal drivers / receivers 13 and 111 or 14 and 112, and based on an instruction from the primary master interface 27 or the secondary master interface 26, The stored data signal is supplied to the data signal drivers / receivers 14 and 111 or 13 and 112.
[0021]
The control signal drivers / receivers 23 and 121 are connected to the control signal line 21 and receive (receive) or drive (transmit) a control signal to the control signal line 21. On the other hand, the control signal drivers / receivers 24 and 122 are respectively connected to the control signal line 22 and receive (drive) or drive (transmit) a control signal to the control signal line 22.
[0022]
Here, as described later, when an active signal is given from the primary-side instruction signal line 131 by a system control unit (not shown), the A = Pri signal becomes active and the B = Pri signal becomes inactive. The drivers / receivers 23 and 24 operate, and the control signal drivers / receivers 121 and 122 stop operating. On the other hand, when an inactive signal is given from the primary side instruction signal line 131, the A = Pri signal becomes inactive and the B = Pri signal becomes active, so that the control signal drivers / receivers 23 and 24 stop operating, and The signal drivers / receivers 121 and 122 operate.
[0023]
In general, when data is transferred on a computer bus, there is a "master" and "slave" relationship between a data sender and a data receiver. Here, in the PCI bus, "initiator" may be used as a word corresponding to "master" and "target" may be used as a word corresponding to "slave". Hereinafter, the same meaning is used in this embodiment. It will be described using FIG.
[0024]
The primary-side target interface 25 receives an access request from the master device from the control signal line 21 or 22 of the primary A-side PCI bus 1 or the B-side PCI bus 2, and receives the data signal line 11 in response to the access request. Alternatively, based on the address given from 12, a destination is searched by referring to the configuration register group 15, and the search result is given to the secondary master interface 26. The primary side target interface 25 receives a configuration setting request from the host CPU connected to the primary side, and transmits the setting data given from the data signal line 11 or 12 by the setting request to the configuration register group 15. Is set to
[0025]
The secondary master interface 26 outputs a control signal based on a search result from the primary target interface 25 to the control signal line 21 or 22 of the secondary A-side PCI bus 1 or the B-side PCI bus 2 and The transmission destination address based on the search result from the primary side target interface 25 and the transmission data stored in the buffer unit 16 are transferred to the data signal line 11 of the secondary A-side PCI bus 1 or the B-side PCI bus 2 or 12 is output.
[0026]
The secondary-side target interface 28 receives an access request from the master device from the control signal line 21 or 22 of the secondary A-side PCI bus 1 or the B-side PCI bus 2, and receives the data signal line 11 in response to the access request. Alternatively, based on the address given from 12, the destination is searched for by referring to the configuration register group 15, and the search result is given to the primary master interface 27.
[0027]
The primary master interface 27 outputs a control signal based on the search result from the secondary target interface 28 to the control signal line 21 or 22 of the primary A-side PCI bus 1 or B-side PCI bus 2 and The transmission destination address based on the search result from the secondary target interface 28 and the transmission data stored in the buffer unit 16 are transferred to the data signal line 11 of the primary A-side PCI bus 1 or the B-side PCI bus 2 or 12 is output.
[0028]
The logic inversion element 134 is for inverting the logic of the applied signal. In this embodiment, when an active signal or an inactive signal is applied from the primary-side instruction signal line 131, the inactive signal or It inverts the logic of the active signal and outputs it.
[0029]
(A-2) Description of operation
Next, the operation of the computer system having such a configuration will be described with reference to FIGS.
[0030]
When an active signal is given from the primary instruction signal line 131, the A = Pri signal becomes active and the B = Pri signal becomes inactive, so that the data signal drivers / receivers 13 and 14 and the control signal drivers / receivers 23 and 24 are provided. Operate and the paths through them become valid, while the data signal drivers / receivers 111 and 112 and the control signal drivers / receivers 121 and 122 stop operating, and the paths through them become invalid. Here, FIG. 3 is a block diagram showing an operation state in this case, and a valid path portion is indicated by a thick line. Therefore, as in the conventional example shown in FIG. 2, the A-side PCI bus 1 is on the primary side and the B-side PCI bus 2 is on the secondary side.
[0031]
When an inactive signal is supplied from the primary instruction signal line 131, the A = Pri signal becomes inactive and the B = Pri signal becomes active, so that the data signal drivers / receivers 111 and 112 and the control signal driver / receiver 121 and 122 operate and the paths through them become valid, while the data signal drivers / receivers 13 and 14 and the control signal drivers / receivers 23 and 24 cease operation and the bus through them becomes invalid. FIG. 4 is a block diagram showing an operation state in this case, in which a valid path portion is indicated by a thick line. Therefore, contrary to the conventional example shown in FIG. 2, the A-side PCI bus 1 is on the secondary side and the B-side PCI bus 2 is on the primary side.
[0032]
On the other hand, after switching between the primary side bus and the secondary side bus, the bus number of each PCI bus for the PCI-PCI bus bridge 3 changes, so the bus number set in the configuration register group 15 is changed and the bus number is changed again. Must be set. Here, FIG. 5 is an explanatory diagram for explaining this resetting operation. FIG. 5A shows a computer system in which the A-side PCI bus before switching is the primary side, and FIG. 5B shows a computer system in which the B-side PCI bus after switching is the primary side. . As shown in FIG. 5, in the computer system before switching, the bus number 1 is set in PriBN, the bus number 3 is set in SecBN, and the bus number 4 is set in SubBN, but in the system after switching, The bus number 3 must be reset for PriBN, the bus number 1 for SecBN, and the bus number 2 for SubBN.
[0033]
Here, the detailed operation of setting (re-setting) the configuration register group 15 and the case of transferring data from the primary PCI bus to the target device connected to the secondary PCI bus will be described.
[0034]
1. When setting (re-setting) the configuration register group 15
First, the primary target interface 25 recognizes a configuration setting request from the host CPU output to the control signal line 21 or 22 of the primary PCI bus.
[0035]
Next, in the primary-side target interface 25, the configuration is performed based on the setting data (the address of the register to be set and the bus number to be set) from the host CPU output to the data signal line 11 or 12 of the primary-side PCI bus. The bus number is written to the target register of the register group 15.
[0036]
2. When transferring data from the primary PCI bus to a target device connected to the secondary PCI bus
First, the access request from the master device output to the control signal line 21 or 22 of the primary PCI bus is recognized by the primary target interface 25 and the data signal line 11 of the primary PCI bus is recognized. Alternatively, the transmission data from the master device output to 12 is written to the buffer unit 16.
[0037]
Next, in the primary target interface 25, a transmission destination is searched by referring to the configuration register group 15 based on the address from the master device output to the data signal line 11 or 12 of the primary PCI bus, This search result is provided to the secondary master interface 26.
[0038]
Further, in the secondary master interface 26, a control signal based on the search result is output to the control signal line 21 or 22 of the secondary PCI bus, and a transmission destination address based on the search result and the buffer unit 16 are sent to the secondary master interface 26. The stored transmission data is output to the data signal line 11 or 12 of the secondary PCI bus, and the data is transferred to the target device.
[0039]
When data is transferred from the secondary PCI bus to the target device connected to the primary PCI bus, the same operation is performed, although the description is omitted.
[0040]
For example, as shown in FIG. 6, such a PCI-PCI bus bridge connects PCI buses controlled by different host CPUs in a redundant system in which two host CPUs are switched between an active system and a standby system. This is suitable for application to a PCI-PCI bus bridge. Here, FIG. 6A shows a computer system in which the host CPU connected to the A-side PCI bus is operating and the A-side PCI bus is the primary side, and FIG. 6B shows the B-side PCI bus. This figure shows a computer system in which the host CPU connected to the bus is in operation and the b-side PCI bus is the primary side.
[0041]
(A-3) Description of effects
As described above, according to the first embodiment, (1) the primary side of the two PCI buses connected to the PCI-PCI bus bridge 3 based on the signal from the primary side instruction signal line It has data signal drivers / receivers 13, 14, 111, 112 for switching the secondary side, and control signal drivers / receivers 23, 24, 121, 122. (2) The host CPU performs the configuration based on this switching. Since the registers of the register group 15 are reset so as to be applied to the bus configuration after switching, the primary side and the secondary side of the PCI-PCI bus bridge 3 are set based on the signal from the primary side instruction signal line. Can be switched dynamically.
[0042]
(B) Second embodiment
Hereinafter, a second embodiment in which a bus connection circuit according to the present invention is applied to a PCI-PCI bus bridge in which a primary side and a secondary side are dynamically switched will be described in detail with reference to the drawings.
[0043]
(B-1) Description of Configuration
FIG. 7 is a block diagram illustrating a configuration of a computer system according to the second embodiment. In FIG. 7, this computer system has an A-side PCI bus 1, a B-side PCI bus 2, and a PCI-PCI bus bridge 3, and a connection between the A-side PCI bus 1 and the PCI-PCI bus bridge 3. , A data signal line 11 and a control signal line 21, and a data signal line 12 and a control signal line 22 are connected between the B-side PCI bus 2 and the PCI-PCI bus bridge 3. The PCI-PCI bus bridge 3 and a system control unit (not shown) are connected by a primary instruction signal line 131.
[0044]
Further, the PCI-PCI bus bridge 3 includes data signal drivers / receivers 13, 14, 111 and 112, an A-side PCI bus primary side bus number register (PriBN-A) 154, and an A-side PCI bus secondary side. Bus number register (SecBN-A) 155, A-side PCI bus subordinate bus number register (SubBN-A) 156, B-side PCI bus primary side bus number register (PriBN-B) 157, and B-side PCI bus Register group 15 having a secondary bus number register (SecBN-B) 158 and a subordinate bus number register (SubBN-B) 159 for a B-side PCI bus, a buffer unit 16, a control signal driver / Receivers 23, 24, 121 and 122 and primary side target interface 25 Has a secondary master interface 26, the primary side master interface 27, a secondary-side target interface 28, and a logic inversion element 134.
[0045]
In FIG. 7, components corresponding to those of the first embodiment shown in FIG. 1 are denoted by the same reference numerals. Therefore, the description of the components will be omitted, and the detailed configuration of the configuration register group 15 will be described below.
[0046]
The configuration register group 15 includes an A-side PCI bus primary-side bus number register (PriBN-A) 154 for setting the bus number of the primary-side PCI bus when the A-side PCI bus 1 is the primary side. , An A-side PCI bus secondary bus number register (SecBN-A) 155 in which the bus number of the secondary-side PCI bus is set when the A-side PCI bus 1 is the primary side; Is the primary side, the subordinate bus number register (SubBN-) for the A-side PCI bus in which the bus number of the subordinate bus (the secondary bus number when there is no subordinate bus) is set. A) 156 and a primary bus number register (PriBN-B) for the B-side PCI bus in which the bus number of the primary-side PCI bus when the B-side PCI bus 2 is the primary side is set. 157, a B-side PCI bus secondary bus number register (SecBN-B) 158 for setting the bus number of the secondary-side PCI bus when the B-side PCI bus 1 is the primary side, and a B-side PCI A subordinate bus number register for the B side PCI bus in which the bus number of the subordinate bus when the bus 1 is the primary side (or the secondary bus number when there is no subordinate bus) is set. SubBN-B) 159. Note that the configuration register group 15 is provided with an A = Pri signal and a B = Pri signal.
[0047]
Here, as described later, when an active signal is given from the primary-side instruction signal line 131 by a system control unit (not shown), the A = Pri signal becomes active, the B = Pri signal becomes inactive, and the A-side PCI becomes inactive. PriBN-A154, SecBN-A155, and SubBN-A156 when the bus is the primary side are valid, and PriBN-B157, SecBN-B158, and SubBN-B159 when the B-side PCI bus is the primary side. Becomes invalid. On the other hand, when an inactive signal is given from the primary-side instruction signal line 131, the A = Pri signal becomes inactive, the B = Pri signal becomes active, and the PriBN-A154 when the A-side PCI bus is the primary side. , SecBN-A155, and SubBN-A156 become invalid, and PriBN-B157, SecBN-B158, and SubBN-B159 when the B-side PCI bus is the primary side become valid.
[0048]
(B-2) Description of operation
Next, the operation of the computer system having such a configuration will be described with reference to FIGS.
[0049]
When an active signal is given from the primary instruction signal line 131, the A = Pri signal becomes active and the B = Pri signal becomes inactive, so that the data signal drivers / receivers 13 and 14 and the control signal drivers / receivers 23 and 24 are provided. Operate and the paths through them become valid, while the data signal drivers / receivers 111 and 112 and the control signal drivers / receivers 121 and 122 stop operating, and the paths through them become invalid. Here, FIG. 8 is a block diagram showing an operation state in this case, and a valid path portion is indicated by a thick line. Therefore, as in the conventional example shown in FIG. 2, the A-side PCI bus 1 is on the primary side and the B-side PCI bus 2 is on the secondary side.
[0050]
When an inactive signal is supplied from the primary instruction signal line 131, the A = Pri signal becomes inactive and the B = Pri signal becomes active, so that the data signal drivers / receivers 111 and 112 and the control signal driver / receiver 121 and 122 operate and the paths through them become valid, while the data signal drivers / receivers 13 and 14 and the control signal drivers / receivers 23 and 24 are deactivated and the paths through them become invalid. FIG. 9 is a block diagram showing an operation state in this case, and a portion of an effective path is indicated by a thick line. Therefore, contrary to the conventional example shown in FIG. 2, the A-side PCI bus 1 is on the secondary side and the B-side PCI bus 2 is on the primary side.
[0051]
FIG. 10 is an explanatory diagram for explaining an operation of switching the configuration register group 15. FIG. 10A shows the computer system before the switching, and FIG. 10B shows the computer system after the switching.
[0052]
As shown in FIG. 10, in a computer system in which the A-side PCI bus before switching is the primary side, the A = Pri signal becomes active and the B = Pri signal becomes inactive, so that the A-side PCI bus becomes primary. PriBN-A 154, SecBN-A 155, and SubBN-A 156 when the primary side is enabled, and PriBN-B 157, SecBN-B 158, and SubBN-B 159 when the B side PCI bus is the primary side are disabled. . On the other hand, in a system in which the B-side PCI bus after switching is the primary side, the A = Pri signal becomes inactive and the B = Pri signal becomes active, so that the A-side PCI bus becomes the primary side. PriBN-A154, SecBN-A155, and SubBN-A156 become invalid, and PriBN-B157, SecBN-B158, and SubBN-B159 become effective when the B-side PCI bus is the primary side.
[0053]
The detailed operations of setting (resetting) the configuration register group 15 and transferring data from the primary PCI bus to the target device connected to the secondary PCI bus are described in the first. The description is omitted because it is the same as the embodiment.
[0054]
Further, the PCI-PCI bus bridge of the second embodiment can of course be applied to the redundant system for switching between the two host CPUs of the active system and the standby system shown in FIG.
[0055]
(B-3) Description of effects
As described above, according to the second embodiment, effects similar to those of the first embodiment can be obtained.
[0056]
Further, according to the second embodiment, the configuration register group 15 has a register in which bus numbers before and after switching are stored, and one of them is enabled based on the A = Pri signal and the B = Pri signal. Since the other is invalidated, there is no need to reset the configuration register group 15.
[0057]
(C) Other embodiments
In each of the above embodiments, the internal bus is a PCI bus. However, the present invention is not limited to the PCI bus, and any configuration register group that sets the same bus number in the inter-bus connection circuit may be used. The present invention can be similarly applied to the present invention.
[0058]
In each of the above embodiments, the bus number is set in the configuration register group. However, the present invention is not limited to the bus number, and other control information may be set. Applicable to the invention.
[0059]
Further, in the redundantly configured computer system for switching between the active system and the standby system shown in FIG. 6, the number of host CPUs is two, but the number of host CPUs may be three or more.
[0060]
【The invention's effect】
As described above, according to the present invention, there is provided the register in which the control information for connecting the element on the first bus and the element on the second bus is set, and the control set in the register is provided. An inter-bus connection circuit for exchanging an information body between a first bus and a second bus via a built-in primary-side and secondary-side dedicated interface based on information. , Giving Based on the obtained primary-side instruction command, the primary-side first or second bus is connected to the built-in primary-side dedicated interface, and the secondary-side second or first bus is built-in. Connection switching means that switches the connection relationship so that it is connected to the dedicated interface on the next side With new Control information corresponding to the primary or second bus that has just been switched And control information corresponding to the second or first bus on the secondary side And reset the register By doing , The primary and secondary buses of the first and second buses can be dynamically switched based on a primary side instruction command from the outside.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration of a computer system according to a first embodiment.
FIG. 2 is an explanatory diagram of a conventional PCI-PCI bus bridge.
FIG. 3 is an operation explanatory diagram in a case where an A = Pri signal is active and a B = Pri signal is inactive in the first embodiment;
FIG. 4 is a diagram illustrating an operation in the first embodiment when an A = Pri signal is inactive and a B = Pri signal is active;
FIG. 5 is an operation explanatory diagram of resetting of a configuration register group 15 in the first embodiment.
FIG. 6 is an explanatory diagram of an operation of a computer system that switches between two host CPUs of an active system and a standby system.
FIG. 7 is a block diagram illustrating a configuration of a computer system according to a second embodiment.
FIG. 8 is an operation explanatory diagram in a case where an A = Pri signal is active and a B = Pri signal is inactive in the second embodiment.
FIG. 9 is an operation explanatory diagram in a case where an A = Pri signal is inactive and a B = Pri signal is active in the second embodiment.
FIG. 10 is an explanatory diagram of an operation of resetting the configuration register group 15 in the second embodiment.
[Explanation of symbols]
13, 14, 111, 112: data signal driver / receiver, 23, 24, 121, 122: control signal driver / receiver, 131: primary instruction signal line.

Claims (4)

第1のバス上の要素と第2のバス上の要素とを接続するための制御情報が設定されたレジスタを有し、このレジスタに設定された制御情報に基づき、第1のバスと第2のバスとの間で、内蔵する1次側及び2次側の専用インタフェースを介して情報本体の授受を行うバス間接続回路において、
与えられた1次側指示命令に基づき、1次側の上記第1又は第2のバスが内蔵する1次側の専用インタフェースに接続され、2次側の上記第2又は第1のバスが内蔵する2次側の専用インタフェースに接続されるように接続関係を切り替える接続切替手段を備え
新たに切り替わった1次側の上記第1又は第2のバスに対応した制御情報と2次側の上記第2又は第1のバスに対応した制御情報とに、上記レジスタを設定し直すことを特徴とするバス間接続回路。
A register in which control information for connecting an element on the first bus to an element on the second bus is set, and the first bus and the second bus are set based on the control information set in the register. A bus connection circuit for exchanging information with the bus via a built-in primary and secondary side dedicated interface,
Based on a given primary-side instruction command, the primary-side first or second bus is connected to a primary-side dedicated interface, and the secondary-side second or first bus is built-in. Connection switching means for switching the connection relationship so as to be connected to the secondary-side dedicated interface,
In the above the switched primary first or control information corresponding to the second bus and control information corresponding to the secondary side to the second or first bus to a new, and score straight sets the register A bus connection circuit characterized by the above-mentioned.
第1のバス上の要素と第2のバス上の要素とを接続するための制御情報が設定されたレジスタを有し、このレジスタに設定された制御情報に基づき、第1のバスと第2のバスとの間で、内蔵する1次側及び2次側の専用インタフェースを介して情報本体の授受を行うバス間接続回路において、
上記レジスタは、下記接続切替手段が切り替える1次側の上記第1又は第2のバスに対応した制御情報も予め設定され、
与えられた1次側指示命令に基づき、1次側の上記第1又は第2のバスが内蔵する1次側の専用インタフェースに接続され、2次側の上記第2又は第1のバスが内蔵する2次側の専用インタフェースに接続されるように接続関係を切り替える接続切替手段を備え
上記レジスタの有効領域を、新たに切り替わった1次側の上記第1又は第2のバスに対応した制御情報の領域と2次側の上記第2又は第1のバスに対応した制御情報の領域とに選定することを特徴とするバス間接続回路。
A register in which control information for connecting an element on the first bus to an element on the second bus is set, and the first bus and the second bus are set based on the control information set in the register. A bus connection circuit for exchanging information with the bus via a built-in primary and secondary side dedicated interface,
In the register, control information corresponding to the first or second bus on the primary side to be switched by the following connection switching means is also set in advance,
Based on a given primary-side instruction command, the primary-side first or second bus is connected to a primary-side dedicated interface, and the secondary-side second or first bus is built-in. Connection switching means for switching the connection relationship so as to be connected to the secondary-side dedicated interface,
The effective area of the register is changed to an area of control information corresponding to the newly switched primary-side first or second bus and an area of control information corresponding to the secondary-side second or first bus. An inter-bus connection circuit characterized in that:
上記第1及び第2のバスがPCIバスであることを特徴とする請求項1又は2に記載のバス間接続回路。 3. The bus connection circuit according to claim 1, wherein the first and second buses are PCI buses. 運用系と待機系の複数のCPUを有し、運用系から待機系に系切り替えを行うコンピュータシステムにおいて、
上記CPUで制御されるバス間を接続するバス間接続回路に、請求項1〜3のいずれかに記載のバス間接続回路を適用することを特徴とするコンピュータシステム。
In a computer system having a plurality of CPUs of an active system and a standby system, and performing system switching from the active system to the standby system,
4. A computer system, wherein the inter-bus connection circuit according to claim 1 is applied to an inter-bus connection circuit that connects buses controlled by each CPU.
JP23254798A 1998-08-19 1998-08-19 Bus connection circuit and computer system Expired - Fee Related JP3565719B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23254798A JP3565719B2 (en) 1998-08-19 1998-08-19 Bus connection circuit and computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23254798A JP3565719B2 (en) 1998-08-19 1998-08-19 Bus connection circuit and computer system

Publications (2)

Publication Number Publication Date
JP2000066992A JP2000066992A (en) 2000-03-03
JP3565719B2 true JP3565719B2 (en) 2004-09-15

Family

ID=16941042

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23254798A Expired - Fee Related JP3565719B2 (en) 1998-08-19 1998-08-19 Bus connection circuit and computer system

Country Status (1)

Country Link
JP (1) JP3565719B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4432975B2 (en) 2007-01-15 2010-03-17 日本電気株式会社 Packet communication device, packet communication method, and packet communication program
JP4839484B2 (en) 2007-04-06 2011-12-21 日本電気株式会社 Bus connection device, bus connection method, and bus connection program
JP2011517497A (en) * 2008-03-25 2011-06-09 ヒューレット−パッカード デベロップメント カンパニー エル.ピー. System and method for converting PCIE SR-IOV function to appear as legacy function

Also Published As

Publication number Publication date
JP2000066992A (en) 2000-03-03

Similar Documents

Publication Publication Date Title
US7979621B2 (en) Transparent PCI-based multi-host switch
US5935233A (en) Computer system with a switch interconnector for computer devices
EP1080418B1 (en) Multiconfiguration backplane
US8305879B2 (en) Peripheral component switch having automatic link failover
US6112311A (en) Bridge failover system
US5878272A (en) Computer system having two DMA circuits assigned to the same address space
US7062594B1 (en) Root complex connection system
US7945721B1 (en) Flexible control and/or status register configuration
JP3807250B2 (en) Cluster system, computer and program
JP3476174B2 (en) Dual host bridge with peer-to-peer support
US7016994B2 (en) Retry mechanism for blocking interfaces
JP2002518745A (en) Bus controller with cycle end monitor
CN101710314A (en) High-speed peripheral component interconnection switching controller and realizing method thereof
US6510484B1 (en) Technique for controlling synchronous devices and asynchronous devices connected to an inter-integrated circuit bus (I2C bus)
JP2002518742A (en) Direct storage access in bridges for multiprocessor systems
EP0855819A1 (en) Network switch stacking mechanism
KR20140078161A (en) PCI express switch and computer system using the same
US7269666B1 (en) Memory utilization in a network interface
US6389554B1 (en) Concurrent write duplex device
US7096290B2 (en) On-chip high speed data interface
US7752376B1 (en) Flexible configuration space
US7120722B2 (en) Using information provided through tag space
US6557060B1 (en) Data transfer in host expansion bridge
JP2002526818A (en) Resource control in computer systems
JP3565719B2 (en) Bus connection circuit and computer system

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040317

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040330

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040514

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040608

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040608

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20090618

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090618

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100618

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100618

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110618

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110618

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120618

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130618

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees