JP2001337909A - Pci bridge - Google Patents

Pci bridge

Info

Publication number
JP2001337909A
JP2001337909A JP2000154494A JP2000154494A JP2001337909A JP 2001337909 A JP2001337909 A JP 2001337909A JP 2000154494 A JP2000154494 A JP 2000154494A JP 2000154494 A JP2000154494 A JP 2000154494A JP 2001337909 A JP2001337909 A JP 2001337909A
Authority
JP
Japan
Prior art keywords
address
pci
pci bus
bus
base address
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
JP2000154494A
Other languages
Japanese (ja)
Inventor
Masahiko Kadoya
雅彦 角屋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Engineering Ltd
Original Assignee
NEC Engineering 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 NEC Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP2000154494A priority Critical patent/JP2001337909A/en
Publication of JP2001337909A publication Critical patent/JP2001337909A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a PCI bridge resolving the lacking of the memory space of PCI in a system structure in which a plurality of PCI buses are connected together via the PCI bridge. SOLUTION: This PCI bridge is provided with a base address memory means 30 for a (primary) PCI bus 100 storing the base address of the first PCI bus 100, a converted base address memory means 33 for a (secondary) PCI bus 200 storing the converted base address to the second PCI bus 200, a (first) effective size memory means 31 storing the effective size from the base address indicated by the base address memory means 30 for the (primary) PCI bus 100, a (first) address comparing means 32 comparing whether the PCI address determined on the first PCI bus 100 lies in the effective size indicated by the (first) effective size memory means 31 or not based on the base address indicated by the base address memory means for the (primary) PCI bus 100, and a (first) address converting means 34 converting the address of the second PCI bus 200 with the converted base address memory means 33 for the (secondary) PCI bus 200 when the comparison results of the (first) address comparing means 32 coincide.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はPCI(Protocol C
ontrol Information:プロトコル制御情報)ブリッジ、
特に1次(第1)PCIバスアドレス空間から2次(第
2)PCIバスアドレス空間にアドレスを変換するPC
Iブリッジに関する。
The present invention relates to a PCI (Protocol C)
ontrol Information: protocol control information) bridge,
In particular, a PC for converting an address from a primary (first) PCI bus address space to a secondary (second) PCI bus address space
Regarding I-bridge.

【0002】[0002]

【従来の技術】このような、PCIブリッジの従来技術
は、例えば特開平10-222457号公報、特開平1
0-247163号公報および特開平11-3282号公
報等に開示されている。斯かる従来のPCIブリッジで
は、一般的に2次PCIバスのアドレス空間を1次PC
Iバスのアドレス空間内に割り付ける。そのため、複数
のPCIバスをPCIブリッジで接続する場合に、PC
Iバスのアドレス空間が不足する場合があった。図9
は、従来のPCIブリッジの1例である。図9のPCI
ブリッジ300は、1次PCIバス100および2次P
CIバス200間に接続されている。1次PCIバス1
00には、第1CPU(中央演算処理装置、以下CPU
(1)という)および複数のI/O(入出力)カード1
3、14が接続されている。第1CPU(1)は、プロセ
ッサ10、メモリ11およびコントローラ12より構成
される。一方、2次PCIバス200には、第2CPU
(2)および複数のI/Oカード23、24が接続されて
いる。ここで、第2CPU(2)は、第1CPU(1)と同
様構成であり、プロセッサ20、メモリ21およびコン
トローラ22より構成される。PCIブリッジ300
は、PCIバス100用ベースアドレス記憶手段30、
有効サイズ記憶手段31およびアドレス比較手段32よ
り構成される。このPCIブリッジ300は、1次PC
Iバス100と2次PCIバス200を接続する。
2. Description of the Related Art The prior art of such a PCI bridge is disclosed in, for example, JP-A-10-222457, JP-A-10-222457.
No. 0-247163 and JP-A-11-3282. In such a conventional PCI bridge, generally, the address space of the secondary PCI bus is
It is allocated in the address space of the I bus. Therefore, when connecting a plurality of PCI buses with a PCI bridge, the PC
There was a case where the address space of the I bus was insufficient. FIG.
Is an example of a conventional PCI bridge. PCI of FIG.
The bridge 300 includes a primary PCI bus 100 and a secondary P bus.
It is connected between the CI buses 200. Primary PCI bus 1
The first CPU (Central Processing Unit, hereinafter referred to as CPU)
(1)) and a plurality of I / O (input / output) cards 1
3 and 14 are connected. The first CPU (1) includes a processor 10, a memory 11, and a controller 12. On the other hand, the secondary PCI bus 200 has a second CPU
(2) and a plurality of I / O cards 23 and 24 are connected. Here, the second CPU (2) has the same configuration as the first CPU (1), and includes a processor 20, a memory 21, and a controller 22. PCI bridge 300
Are the base address storage means 30 for the PCI bus 100,
It comprises an effective size storage means 31 and an address comparison means 32. This PCI bridge 300 is a primary PC
The I bus 100 and the secondary PCI bus 200 are connected.

【0003】図10は、図9に示す第1CPU(1)、
第2CPU(2)および各I/Oカード13、14、2
3、24のPCIメモリマッピングの1例を示す。1次
PCIバス100に接続された第1CPU(1)は、
「アドレス=0」〜「アドレス=A−1」に、I/Oカ
ード13は「アドレス=A」〜「アドレス=B−1」
に、I/Oカード14は「アドレス=B」〜「アドレス
=C−1」に、PCIブリッジ300は「アドレス=
C」〜「アドレス=TOP」に各々マッピングされてい
る。2次PCIバス200に接続された第2CPU
(2)は、「アドレス=C」〜「アドレス=D−1」
に、I/Oカード23は「アドレス=D」〜「アドレス
=E−1」に、I/Oカード24は「アドレス=E」〜
「アドレス=TOP」に夫々マッピングされる。このと
き、2次PCIバス200のメモリ空間は、1次PCI
バス100のPCIブリッジ300のメモリ空間中にマ
ッピングされ、「アドレス=D」および「アドレス=
E」は、「アドレス=C」〜「アドレス=TOP」の範
囲内となる。
FIG. 10 shows the first CPU (1) shown in FIG.
Second CPU (2) and each I / O card 13, 14, 2
An example of 3, 24 PCI memory mapping is shown. The first CPU (1) connected to the primary PCI bus 100
The "address = 0" to "address = A-1" and the I / O card 13 is "address = A" to "address = B-1"
In addition, the I / O card 14 is set to “address = B” to “address = C−1”, and the PCI bridge 300 is set to “address = B”.
C "to" address = TOP ". Second CPU connected to secondary PCI bus 200
(2) is “address = C” to “address = D−1”
The I / O card 23 has “address = D” to “address = E−1”, and the I / O card 24 has “address = E”.
Each is mapped to “address = TOP”. At this time, the memory space of the secondary PCI bus 200 is
It is mapped in the memory space of the PCI bridge 300 of the bus 100, and “address = D” and “address =
“E” falls within the range of “address = C” to “address = TOP”.

【0004】次に、図11を参照して図9に示すPCI
ブリッジ300の動作例を示す。このPCIブリッジ3
00では、図10中においては「m=1024」、「n
=2048」を仮定している。第1CPU(1)は、P
CIブリッジ300のPCIバス100用ベースアドレ
ス記憶手段30へ「アドレス=C」を設定する(ステッ
プS1)。有効サイズ記憶手段31へ「サイズ=TOP
−C」を設定する(ステップS2)。第1CPU(1)か
らI/Oカード23のデータをリード(読み出し)する場
合には、第1CPU(1)は例えばPCIバス100へ
「アドレス=C+1056」でデータリード要求を発行
する。PCIブリッジ300は、PCIバス100用ベ
ースアドレス記憶手段30および有効サイズ記憶手段3
1と「アドレス=C+1056」をアドレス比較手段3
2で比較する。この比較結果が一致した場合には、PC
Iバス200へ「アドレス=C+1056」でデータリ
ード要求を発行する(ステップS3)。このアドレスは、
「アドレス=D」〜「アドレス=E−1」の範囲に一致
するため、I/Oカード23がこのアドレスに応答し、
リードデータを返却する(ステップS4)。
[0004] Next, referring to FIG.
4 shows an operation example of the bridge 300. This PCI bridge 3
00, “m = 1024” and “n” in FIG.
= 2048 ". The first CPU (1)
"Address = C" is set in the base address storage means 30 for the PCI bus 100 of the CI bridge 300 (step S1). To the effective size storage means 31, "size = TOP"
-C "is set (step S2). When reading (reading) the data of the I / O card 23 from the first CPU (1), the first CPU (1) issues a data read request to the PCI bus 100, for example, at “address = C + 1056”. The PCI bridge 300 includes a base address storage unit 30 for the PCI bus 100 and an effective size storage unit 3.
1 and “address = C + 1056” are compared with the address comparing means 3
Compare with 2. If the comparison results match, the PC
A data read request is issued to the I bus 200 at "address = C + 1 056" (step S3). This address is
Since the address matches the range of “address = D” to “address = E−1”, the I / O card 23 responds to this address,
The read data is returned (step S4).

【0005】同様に、第1CPU(1)からI/Oカー
ド24へデータをライト(書き込み)する場合には、第1
CPI(1)は例えば「アドレス=C+2112」でデ
ータライト要求を発行する。PCIブリッジ300は、
PCIバス100用ベースアドレス記憶手段30および
有効サイズ記憶手段31と「アドレス=C+2112」
をアドレス比較手段32で比較する。この比較結果が一
致した場合には、PCIバス200へ「アドレス=C+
2112」でデータライト要求を発行する。このアドレ
スは、「アドレス=E」〜「アドレス=TOP」の範囲
に一致するため、I/Oカード24がこのアドレスに応
答し、ライトデータを受信する(ステップS5)。
Similarly, when data is written from the first CPU (1) to the I / O card 24, the first
The CPI (1) issues a data write request at, for example, “address = C + 2112”. The PCI bridge 300
PCI bus 100 base address storage means 30 and effective size storage means 31 and "address = C + 2112"
Are compared by the address comparing means 32. If the comparison results match, the PCI bus 200 sends “address = C +
At 2112 ", a data write request is issued. Since this address matches the range of “address = E” to “address = TOP”, the I / O card 24 responds to this address and receives write data (step S5).

【0006】PCIバス200のI/Oカード24から
第1CPU(1)のメモリ11にデータをライトする場
合には、I/Oカード24は例えば「アドレス=0」で
データライト要求を発行する。PCIブリッジ300
は、「アドレス=0」が「アドレス=C」〜「アドレス
=TOP」の範囲外のため、1次PCIバス100へデ
ータライト要求を発行する。このアドレスは、「アドレ
ス=0」〜「アドレス=A−1」の範囲に一致するた
め、第1CPU(1)がこのアドレスに応答し、ライト
データをメモリ11へライトする(ステップS6)。
When data is written from the I / O card 24 of the PCI bus 200 to the memory 11 of the first CPU (1), the I / O card 24 issues a data write request, for example, at "address = 0". PCI bridge 300
Issues a data write request to the primary PCI bus 100 because “address = 0” is outside the range of “address = C” to “address = TOP”. Since this address matches the range of “address = 0” to “address = A−1”, the first CPU (1) responds to this address and writes the write data to the memory 11 (step S6).

【0007】[0007]

【発明が解決しようとする課題】しかし、上述した従来
技術では、一般的に2次PCIバスのアドレス空間を1
次PCIバスのアドレス空間内に割り付けるため、2次
PCIバスに接続されるI/Oカードが大きなPCIメ
モリ空間を必要とする場合には、PCIメモリ空間が不
足するという問題がある。同様に、複数のPCIバスを
PCIブリッジで接続する場合には、I/Oカード数が
増加する。各I/Oカードが必要とするPCIメモリ空
間が小さくても、I/Oカード等の数分のPCIメモリ
空間が必要なため、PCIバスのアドレス空間が不足す
るという問題がある。
However, in the above-described prior art, the address space of the secondary PCI bus is generally one.
When the I / O card connected to the secondary PCI bus requires a large PCI memory space because of allocation in the address space of the next PCI bus, there is a problem that the PCI memory space is insufficient. Similarly, when a plurality of PCI buses are connected by a PCI bridge, the number of I / O cards increases. Even if the PCI memory space required by each I / O card is small, a PCI memory space for several I / O cards or the like is required, so that there is a problem that the address space of the PCI bus is insufficient.

【0008】[0008]

【発明の目的】従って、本発明の目的は、PCIブリッ
ジを介してPCIバスを拡張しても、PCIアドレス空
間不足を解消して、システム全体としてPCIのアドレ
ス空間をPCIバスの数倍に拡張できるPCIブリッジ
を提供することである。
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to solve the shortage of the PCI address space even if the PCI bus is extended via a PCI bridge, and to extend the PCI address space to several times the PCI bus as a whole system. To provide a possible PCI bridge.

【0009】[0009]

【課題を解決するための手段】本発明によるPCIブリ
ッジは、第1PCIバスおよび第2PCIバスに接続さ
れ、第1PCIバスのベースアドレスを記憶する第1P
CIバス用ベースアドレス記憶手段、この第1PCIバ
ス用ベースアドレス記憶手段が示すベースアドレスから
の有効サイズを記憶する第1有効サイズ記憶手段および
第1PCIバスに確定したPCIアドレスが、第1有効
サイズ記憶手段が示すベースアドレスから第1有効サイ
ズ記憶手段が示す有効サイズ内か否か比較判定する第1
アドレス比較手段を含むものであって、第2PCIバス
用変換先アドレスを記憶する第2PCIバス用変換先ベ
ースアドレス記憶手段と、この第2PCIバス用変換先
ベースアドレス記憶手段および第1アドレス比較手段の
出力に基づき第2PCIバスアドレスを求める第1アド
レス変換手段とを備える。
A PCI bridge according to the present invention is connected to a first PCI bus and a second PCI bus, and stores a base address of the first PCI bus.
CI bus base address storage means, first effective size storage means for storing an effective size from the base address indicated by the first PCI bus base address storage means, and a PCI address determined on the first PCI bus stored in the first effective size storage area. First comparing and judging from the base address indicated by the means whether it is within the effective size indicated by the first effective size storage means;
A second PCI bus conversion destination base address storage means for storing a second PCI bus conversion destination address; and a second PCI bus conversion destination base address storage means and a first address comparison means. First address conversion means for obtaining a second PCI bus address based on the output.

【0010】また、本発明の好適実施形態によると、第
1アドレス変換手段は、第1アドレス比較手段の比較結
果が一致する場合に、第1PCIバス上のアドレスと第
1PCIバス用ベースアドレス記憶手段のベースアドレ
スの差分を求め、第2PCIバス用変換先ベースアドレ
ス記憶手段の変換先ベースアドレスと加算して第2PC
Iバスのアドレスを求める。第2PCIバスには、複数
のI/Oカードが接続され、PCIブリッジに割り当て
られた第1PCIバスのメモリ空間を第1アドレス変換
手段により第2PCIバスのメモリを複数のI/Oカー
ドに割り当てる。第2PCIバス用ベースアドレスを記
憶する第2PCIバス用ベースアドレス記憶手段と、有
効サイズを記憶する第2有効サイズ記憶手段と、これら
第2PCIバス用ベースアドレス記憶手段および第2有
効サイズ記憶手段に基づきアドレスを比較する第2アド
レス比較手段とを備える。第2アドレス比較手段からの
一致出力を受け、第1PCIバス用アドレスに変換する
第2アドレス変換手段およびこの第2アドレス変換手段
に第1PCIバス用変換先ベースアドレスを出力する第
1PCIバス用変換先ベースアドレス記憶手段を備え
る。第1および第2アドレス変換手段は、夫々第2PC
Iバスおよび第1PCIバスに接続される。
Further, according to a preferred embodiment of the present invention, the first address conversion means, when the comparison result of the first address comparison means matches, the address on the first PCI bus and the first PCI bus base address storage means. Of the base address of the second PCI bus, and adds the result to the base address of the second PCI bus.
Find the address of the I bus. A plurality of I / O cards are connected to the second PCI bus, and the memory space of the first PCI bus allocated to the PCI bridge is allocated to the plurality of I / O cards by the first address conversion means. Based on a second PCI bus base address storing means for storing a second PCI bus base address, a second effective size storing means for storing an effective size, and based on the second PCI bus base address storing means and a second effective size storing means. Second address comparing means for comparing addresses. A second address conversion means for receiving a match output from the second address comparison means and converting it to a first PCI bus address; and a first PCI bus conversion destination for outputting a first PCI bus conversion destination base address to the second address conversion means. A base address storage unit; The first and second address translating means are respectively connected to a second PC
It is connected to the I bus and the first PCI bus.

【0011】[0011]

【発明の実施の形態】以下、本発明によるPCIブリッ
ジの好適実施形態の構成および動作を、添付図を参照し
て詳細に説明する。尚、本発明における構成要素のうち
従来技術の構成要素に対応する構成要素には、便宜上、
同様の参照符号を使用する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The configuration and operation of a preferred embodiment of a PCI bridge according to the present invention will be described below in detail with reference to the accompanying drawings. Incidentally, among the components in the present invention, the components corresponding to the components of the prior art, for convenience,
Similar reference numbers are used.

【0012】図1は、本発明によるPCIブリッジの第
1実施形態の構成を示すブロック図である。このPCI
ブリッジ300は、1次(第1)PCIバス100および
2次(第2)PCIバス200間に接続されている。1次
PCIバス100には、プロセッサ10、メモリ11お
よびコントローラ12より構成される第1CPU(1)お
よび複数のI/Oカード13、14が接続されている。
また、2次PCIバス200には、複数のI/Oカード
23、24が接続されている。PCIブリッジ300
は、(1次)PCIバス100用ベースアドレス記憶手
段30、(第1)有効サイズ記憶手段31および(第1)ア
ドレス比較手段32に加えて(2次)PCIバス200
用変換先ベースアドレス記憶手段33、(第1)アドレス
変換手段34、(2次)PCIバス200用ベースアド
レス記憶手段35、(第2)有効サイズ記憶手段36およ
び(第2)アドレス比較手段37より構成される。
FIG. 1 is a block diagram showing a configuration of a first embodiment of a PCI bridge according to the present invention. This PCI
The bridge 300 is connected between the primary (first) PCI bus 100 and the secondary (second) PCI bus 200. To the primary PCI bus 100, a first CPU (1) including a processor 10, a memory 11, and a controller 12, and a plurality of I / O cards 13, 14 are connected.
Further, a plurality of I / O cards 23 and 24 are connected to the secondary PCI bus 200. PCI bridge 300
Is a (secondary) PCI bus 200 in addition to the (primary) PCI bus 100 base address storage means 30, the (first) effective size storage means 31, and the (first) address comparison means 32.
Conversion destination base address storage means 33, (first) address conversion means 34, (secondary) base address storage means 35 for PCI bus 200, (second) effective size storage means 36, and (second) address comparison means 37 It is composed of

【0013】図1に示すPCIブリッジ300は、1次
PCIバス100と2次PCIバス200を接続する。
第1CPU(1)のコントローラ12は、1次PCIバ
ス100とプロセッサ10およびメモリ11との接続を
制御する。アドレス比較手段32は、1次PCIバス1
00上のアドレスを比較する。アドレス変換手段34
は、1次PCIバス100のアドレスを2次PCIバス
200のアドレスに変換する。また、アドレス比較手段
37は、2次PCIバス200からアクセスされたアド
レスが2次PCIバス200用ベースアドレス記憶手段
35から有効サイズ記憶手段36の範囲内にあるか否か
を比較する。
The PCI bridge 300 shown in FIG. 1 connects the primary PCI bus 100 and the secondary PCI bus 200.
The controller 12 of the first CPU (1) controls connection between the primary PCI bus 100, the processor 10, and the memory 11. The address comparing means 32 is a primary PCI bus 1
Compare the address on 00. Address conversion means 34
Converts the address of the primary PCI bus 100 to the address of the secondary PCI bus 200. The address comparing unit 37 compares whether the address accessed from the secondary PCI bus 200 is within the range from the base address storing unit 35 for the secondary PCI bus 200 to the effective size storing unit 36.

【0014】次に、図2は、図1に示すPCIブリッジ
300のアドレス変換機構の構成例、即ち(1次)PC
Iバス100用ベースアドレス記憶手段30、このベー
スアドレスからの有効サイズ記憶手段31、(2次)P
CIバス200用変換先ベースアドレス記憶手段33、
アドレス比較手段32およびアドレス変換手段34の詳
細構成を示す。図2において、(1次)PCIバス10
0用ベースアドレス記憶手段30、このベースアドレス
からの有効サイズ記憶手段31および(2次)PCIバ
ス200用変換先ベースアドレス記憶手段33は、複数
エントリ(または単一エントリ)から構成され、エント
リ毎にアドレスおよびサイズが指定されている。アドレ
ス比較手段32は、1次PCIバス100上のアドレス
が、PCIバス100用ベースアドレス記憶手段30の
ベースアドレスから有効サイズ記憶手段31のサイズ内
と一致するか否か各エントリをサーチして比較する。ア
ドレス変換手段34は、アドレス比較手段32の比較結
果が一致する場合には、PCIバス100上のアドレス
とPCIバス100用ベースアドレス記憶手段30のベ
ースアドレスの差分を求める。そして、この差分をPC
Iバス200用変換先ベースアドレス記憶手段33の変
換先ベースアドレスと加算して、2次PCIバス200
のアドレスを求める。
FIG. 2 shows an example of the configuration of the address translation mechanism of the PCI bridge 300 shown in FIG. 1, that is, the (primary) PC
Base address storage means 30 for I bus 100, effective size storage means 31 from this base address, (secondary) P
A conversion destination base address storage means 33 for the CI bus 200,
The detailed configuration of the address comparing means 32 and the address converting means 34 is shown. In FIG. 2, the (primary) PCI bus 10
The base address storage means 30 for 0, the effective size storage means 31 based on the base address, and the conversion destination base address storage means 33 for the (secondary) PCI bus 200 are composed of a plurality of entries (or a single entry). Address and size are specified. The address comparing means 32 searches each entry to determine whether the address on the primary PCI bus 100 matches the size of the effective size storing means 31 from the base address of the base address storing means 30 for the PCI bus 100. I do. When the result of the comparison by the address comparing means 32 matches, the address converting means 34 calculates a difference between the address on the PCI bus 100 and the base address of the base address storing means 30 for the PCI bus 100. And this difference is
It adds to the conversion destination base address of the conversion destination base address storage means 33 for the I bus 200, and
Find the address of

【0015】次に、本発明によるPCIブリッジの第1
実施形態のアドレスマッピング動作を、図1乃至図3を
参照して説明する。図3は、図1に示すPCIブリッジ
300のPCIアドレスマッピング例である。1次PC
Iバス100のメモリ空間は、「アドレス=0」〜「ア
ドレス=A−1」に第1CPU(1)のメモリ空間を、
「アドレス=A」〜「アドレス=B−1」にI/Oカー
ド13のメモリ空間を、「アドレス=B」〜「アドレス
=C−1」にI/Oカード14のメモリ空間を、「アド
レス=C」〜「アドレス=TOP」にPCIブリッジ3
00のメモリ空間をそれぞれ割り当てる。2次PCIバ
ス200のメモリ空間は、「アドレス=D」〜「アドレ
ス=E−1」にI/Oカード24のメモリ空間を、「ア
ドレス=E」〜「アドレス=TOP」にI/Oカード2
3のメモリ空間を割り当てる。尚、「アドレス=0」〜
「アドレス=D−1」は、1次PCIバス100の第1
CPU(1)のメモリ空間に相当する。また、「アドレ
ス=D」は、「アドレス=A」〜「アドレス=TOP」
の範囲内にマッピングされている。
Next, the first of the PCI bridges according to the present invention will be described.
An address mapping operation according to the embodiment will be described with reference to FIGS. FIG. 3 is a PCI address mapping example of the PCI bridge 300 shown in FIG. Primary PC
The memory space of the I bus 100 includes the memory space of the first CPU (1) in “address = 0” to “address = A−1”.
“Address = A” to “address = B−1” indicates the memory space of the I / O card 13, and “Address = B” to “address = C−1” indicates the memory space of the I / O card 14. = C ”to“ address = TOP ”for PCI bridge 3
00 memory spaces are allocated. The memory space of the secondary PCI bus 200 is such that the memory space of the I / O card 24 is “address = D” to “address = E−1”, and the I / O card is “address = E” to “address = TOP”. 2
Allocate 3 memory spaces. Note that “address = 0” to
“Address = D−1” corresponds to the first PCI bus 100
It corresponds to the memory space of the CPU (1). “Address = D” means “address = A” to “address = TOP”
Are mapped within the range.

【0016】図4は、図1に示すPCIブリッジ30
0、第1CPU(1)およびPCIバス200の動作例を
示す。第1CPU(1)は、「アドレス=C」をPCI
バス100用ベースアドレス記憶手段30のエントリ0
に設定する(ステップA1)。「サイズ=64」を有効サ
イズ記憶手段31のエントリ0に設定する(ステップA
2)。「アドレス=D+16」をPCIバス200用変
換先ベースアドレス記憶手段33のエントリ0に設定す
る(ステップA3)。同様に、第1CPU(1)は、「ア
ドレス=C+64」をPCIバス100用ベースアドレ
ス記憶手段30のエントリ1に設定する(ステップA
4)。「サイズ=64」を有効サイズ記憶手段31のエ
ントリ1に設定する(ステップA5)。また、「アドレス
=E」をPCIバス200用変換先ベースアドレス記憶
手段33のエントリ1に設定する(ステップA6)。
FIG. 4 shows the PCI bridge 30 shown in FIG.
0, an operation example of the first CPU (1) and the PCI bus 200 will be described. The first CPU (1) sets “address = C” to PCI
Entry 0 of base address storage means 30 for bus 100
(Step A1). “Size = 64” is set in the entry 0 of the effective size storage unit 31 (Step A)
2). “Address = D + 16” is set in the entry 0 of the conversion destination base address storage means 33 for the PCI bus 200 (step A3). Similarly, the first CPU (1) sets “address = C + 64” in the entry 1 of the base address storage unit 30 for the PCI bus 100 (step A).
4). “Size = 64” is set in the entry 1 of the effective size storage unit 31 (step A5). Further, "address = E" is set in the entry 1 of the conversion destination base address storage means 33 for the PCI bus 200 (step A6).

【0017】これらの設定において、第1CPU(1)
からI/Oカード23の「アドレス=E+32」のデー
タをリードする場合には、PCIバス100に「アドレ
ス=C+96」でリード要求を発行する(ステップA
7)。PCIブリッジ300は、「アドレス=C+9
6」が、PCIバス100用ベースアドレス記憶手段3
0と有効サイズ記憶手段31のエントリ1に設定された
「アドレス=C+64」〜「サイズ=64」の範囲に一
致することをアドレス比較手段32で検出する(ステッ
プA7)。アドレス変換手段34は、PCIバス100
用ベースアドレス記憶手段30のエントリ1より「差分
=C+96−C+64=32」を求め、PCIバス20
0用変換先ベースアドレス記憶手段33のエントリ1の
「アドレス=E」と加算して、「アドレス=E+32」
で2次PCIバス200にデータリード要求を発行す
る。I/Oカード23は「アドレス=E+32」に応答
して、該当データを返却する(ステップA8)。
In these settings, the first CPU (1)
When reading the data of “address = E + 32” of the I / O card 23 from the I / O card 23, a read request is issued to the PCI bus 100 with “address = C + 96” (step A).
7). The PCI bridge 300 sets “address = C + 9
6 "is the base address storage means 3 for the PCI bus 100
The address comparing unit 32 detects that the address matches 0 with the range of “address = C + 64” to “size = 64” set in the entry 1 of the effective size storage unit 31 (step A7). The address conversion means 34 is a PCI bus 100
"Difference = C + 96-C + 64 = 32" is obtained from the entry 1 of the base address storage means 30 for the PCI bus 20.
"Address = E + 32" by adding to "Address = E" of entry 1 of conversion destination base address storage means 33 for 0
Issues a data read request to the secondary PCI bus 200. The I / O card 23 returns the corresponding data in response to "address = E + 32" (step A8).

【0018】また、第1CPU(1)からI/Oカード
24の「アドレス=D+48」へデータをライトする場
合には、PCIバス100に「アドレス=C+32」で
ライト要求を発行する。PCIブリッジ300は、「ア
ドレス=C+32」が、PCIバス100用ベースアド
レス記憶手段30と有効サイズ記憶手段31のエントリ
0に設定された「アドレス=C」〜「サイズ=64」の
範囲に一致することをアドレス比較手段32で検出す
る。アドレス変換手段34は、PCIバス100用ベー
スアドレス記憶手段30のエントリ0より「差分=C+
32−C=32」を求め、PCIバス200用変換先ベ
ースアドレス記憶手段33のエントリ1の「アドレス=
D+16」と加算して、「アドレス=D+48」で2次
PCIバス200にデータライト要求を発行する。I/
Oカード24は「アドレス=D+48」に応答して、該
当データを書き込む(ステップA9)。
When writing data from the first CPU (1) to “address = D + 48” of the I / O card 24, a write request is issued to the PCI bus 100 at “address = C + 32”. In the PCI bridge 300, “address = C + 32” matches the range of “address = C” to “size = 64” set in the entry 0 of the base address storage unit 30 for the PCI bus 100 and the effective size storage unit 31. This is detected by the address comparing means 32. The address conversion unit 34 calculates “difference = C +” from the entry 0 of the base address storage unit 30 for the PCI bus 100.
32-C = 32 ", and the" address = "of the entry 1 of the conversion destination base address storage means 33 for the PCI bus 200 is obtained.
D + 16 ", and issues a data write request to the secondary PCI bus 200 at" address = D + 48 ". I /
The O card 24 writes the corresponding data in response to "address = D + 48" (step A9).

【0019】I/Oカード24から第1CPU(1)へ
アクセスする場合には、第1CPU(1)は、予め「ア
ドレス=0」をPCIバス200用ベースアドレス記憶
手段35に設定し(ステップA10)、「サイズ=A」を
有効サイズ記憶手段36に設定しておく。I/Oカード
24から「アドレス=8」でPCIバス200にデータ
ライト要求を発行すると、PCIブリッジ300は、
「アドレス=8」が、PCIバス200用ベースアドレ
ス記憶手段35と有効サイズ記憶手段36のエントリ0
に設定された「アドレス=0」〜「サイズ=A」の範囲
に一致することをアドレス比較手段37で検出する(ス
テップA11)。一致した場合には、「アドレス=8」
で1次PCIバス100へデータライト要求を発行し、
第1CPU(1)が応答して、該当データをメモリ11
へ書き込む(ステップA12)。この結果、PCIバス単
位にPCIアドレス空間を最大限確保でき且つ各PCI
バス100、200のアドレス空間を最大限使用してマ
ッピングしても、各PCIバスの全アドレス空間にアク
セス可能になる。従って、PCIバス毎にアドレス空間
を最大限に利用できるという効果が得られる。
When accessing the first CPU (1) from the I / O card 24, the first CPU (1) previously sets "address = 0" in the base address storage means 35 for the PCI bus 200 (step A10). ), “Size = A” is set in the effective size storage unit 36. When a data write request is issued from the I / O card 24 to the PCI bus 200 at “address = 8”, the PCI bridge 300
“Address = 8” is the entry 0 of the base address storage unit 35 for the PCI bus 200 and the effective size storage unit 36
The address comparison means 37 detects that the address matches the range of “address = 0” to “size = A” (step A11). If they match, "address = 8"
Issues a data write request to the primary PCI bus 100,
The first CPU (1) responds and stores the corresponding data in the memory 11
(Step A12). As a result, the maximum PCI address space can be secured for each PCI bus and
Even if mapping is performed by using the maximum address space of the buses 100 and 200, the entire address space of each PCI bus can be accessed. Therefore, the effect is obtained that the address space can be used to the maximum for each PCI bus.

【0020】次に、図5は、本発明によるPCIブリッ
ジの第2実施形態の構成を示す。この第2実施形態の基
本的構成は、上述した図1に示す第1実施形態と同様で
あるので、対応する構成要素には同様参照符号を使用す
る。また、以下の説明は、主として第1実施形態との相
違点を中心に行うこととする。1次PCIバス100お
よびそれに接続される第1CPU(1)およびI/Oカー
ド13、14は、図1の第1実施形態と同様である。し
かし、PCIブリッジ300Aは、(1次)PCIバス
100用ベースアドレス記憶手段30、(第1)有効サイ
ズ記憶手段31、(第1)アドレス比較手段32、(2
次)PCIバス200用変換先ベースアドレス記憶手段
33、(第1)アドレス変換手段34、(2次)PCI
バス200用ベースアドレス記憶手段35、(第2)有効
サイズ記憶手段36および(第2)アドレス比較手段37
に加えて(1次)PCIバス100用変換先ベースアド
レス記憶手段38および(第2)アドレス変換手段39を
備える。また、2次PCIバス200に接続される構成
要素が、図1のI/Oカード23、24に加えてプロセ
ッサ20、メモリ21およびコントローラ22より構成
される第2CPU(2)を有する。即ち、2次PCIバ
ス200から1次PCIバス100への伝送路にも、P
CIバス100用変換先ベースアドレス記憶手段38お
よびアドレス変換手段39を設け、2次PCIバス20
0から1次PCIバス100へのアクセス時にもアドレ
ス変換を行うよう構成している。
FIG. 5 shows the configuration of a second embodiment of the PCI bridge according to the present invention. Since the basic configuration of the second embodiment is the same as that of the first embodiment shown in FIG. 1 described above, the same reference numerals are used for the corresponding components. Further, the following description will mainly be made on differences from the first embodiment. The primary PCI bus 100, the first CPU (1) connected thereto, and the I / O cards 13 and 14 are the same as in the first embodiment in FIG. However, the PCI bridge 300A includes the (primary) PCI bus 100 base address storage means 30, (first) effective size storage means 31, (first) address comparison means 32, (2)
(Next) PCI bus 200 conversion destination base address storage means 33, (first) address conversion means 34, (secondary) PCI
Base address storage means 35 for bus 200, (second) effective size storage means 36, and (second) address comparison means 37
In addition, a (primary) PCI bus 100 conversion destination base address storage means 38 and a (second) address conversion means 39 are provided. The components connected to the secondary PCI bus 200 include a second CPU (2) including a processor 20, a memory 21, and a controller 22, in addition to the I / O cards 23 and 24 in FIG. That is, the transmission path from the secondary PCI bus 200 to the primary PCI bus 100
A conversion destination base address storage means for CI bus 100 and an address conversion means 39 are provided.
The address conversion is performed even when the primary PCI bus 100 is accessed from 0.

【0021】次に、図6は、図5に示す本発明による第
2実施形態におけるアドレス変換機構の詳細構成を示
す。図6のアドレス変換機構は、2次PCIバス200
用ベースアドレス記憶手段35、このベースアドレスか
らの有効サイズ記憶手段36、1次PCIバス用変換先
ベースアドレス記憶手段38、アドレス比較手段37お
よびアドレス変換手段39の構成を有する。この構成
は、図2の(1次)PCIバス100用ベースアドレス
記憶手段30、このベースアドレスからの有効サイズ記
憶手段31、2次PCIバス用変換先ベースアドレス記
憶手段33、アドレス比較手段32およびアドレス変換
手段34と同様である。
Next, FIG. 6 shows a detailed configuration of the address translation mechanism in the second embodiment according to the present invention shown in FIG. The address translation mechanism of FIG.
A base address storage unit 35, an effective size storage unit 36 from the base address, a primary PCI bus conversion destination base address storage unit 38, an address comparison unit 37, and an address conversion unit 39. This configuration includes a base address storage unit 30 for the (primary) PCI bus 100 in FIG. 2, an effective size storage unit 31 from the base address, a secondary PCI bus conversion destination base address storage unit 33, an address comparison unit 32, This is the same as the address conversion means 34.

【0022】図5に示す本発明によるPCIブリッジの
第2実施形態のPCIアドレスマッピングを、図7を参
照して説明する。1次PCIバス100のメモリ空間
は、「アドレス=0」〜「アドレス=A−1」に第1C
PU(1)のメモリ空間を、「アドレス=A」〜「アド
レス=B−1」にI/Oカード13のメモリ空間を、
「アドレス=B」〜「アドレス=C−1」にI/Oカー
ド14のメモリ空間を、「アドレス=C」〜「アドレス
=TOP」にPCIブリッジ300のメモリ空間を割り
当てる。一方、2次PCIバス200のメモリ空間は、
「アドレス=0」〜「アドレス=D−1」にPCIブリ
ッジ300のメモリ空間を、「アドレス=D」〜「アド
レス=E−1」にI/Oカード24のメモリ空間を、
「アドレス=E」〜「アドレス=F−1」にI/Oカー
ド23のメモリ空間を「アドレス=F」〜「アドレス=
TOP」に第2CPU(2)のメモリ空間を割り当て
る。
The PCI address mapping of the PCI bridge according to the second embodiment of the present invention shown in FIG. 5 will be described with reference to FIG. The memory space of the primary PCI bus 100 has the first address “address = 0” to “address = A−1”.
The memory space of the PU (1) is changed from “address = A” to “address = B−1” to the memory space of the I / O card 13,
The memory space of the I / O card 14 is allocated to “address = B” to “address = C−1”, and the memory space of the PCI bridge 300 is allocated to “address = C” to “address = TOP”. On the other hand, the memory space of the secondary PCI bus 200 is
“Address = 0” to “address = D−1” represent the memory space of the PCI bridge 300, “Address = D” to “address = E−1” represent the memory space of the I / O card 24,
The memory space of the I / O card 23 is changed from "address = F" to "address = F-1" to "address = F-1".
The memory space of the second CPU (2) is allocated to “TOP”.

【0023】次に、図8は、図5に示す本発明によるP
CIブリッジ300A、第1CPU(1)およびPCIバ
ス200の動作を説明する。第1CPU(1)は、「ア
ドレス=C」をPCIバス100用ベースアドレス記憶
手段30のエントリ0に設定する(ステップB1)。「サ
イズ=64」を有効サイズ記憶手段31のエントリ0に
設定する(ステップB2)。「アドレス=D」をPCIバ
ス200用変換先ベースアドレス記憶手段33のエント
リ0に設定する(ステップB3)。同様に、第1CPU
(1)は、「アドレス=16」をPCIバス200用ベ
ースアドレス記憶手段35のエントリ1に設定する(ス
テップB4)。「サイズ=A−16」を有効サイズ記憶
手段36のエントリ1に設定する(ステップB5)。そし
て、「アドレス=0」をPCIバス100用変換先ベー
スアドレス記憶手段38のエントリ1に設定する(ステ
ップB6)。
Next, FIG. 8 shows the P according to the present invention shown in FIG.
The operation of the CI bridge 300A, the first CPU (1), and the PCI bus 200 will be described. The first CPU (1) sets “address = C” in entry 0 of the base address storage means 30 for the PCI bus 100 (step B1). “Size = 64” is set in the entry 0 of the effective size storage unit 31 (step B2). “Address = D” is set in entry 0 of the conversion destination base address storage means 33 for the PCI bus 200 (step B3). Similarly, the first CPU
(1) sets “address = 16” in the entry 1 of the base address storage means 35 for the PCI bus 200 (step B4). "Size = A-16" is set in the entry 1 of the effective size storage means 36 (step B5). Then, "address = 0" is set in the entry 1 of the conversion destination base address storage means 38 for the PCI bus 100 (step B6).

【0024】以上の設定において、第1CPU(1)か
らI/Oカード24の「アドレス=D+32」へデータ
をライトする場合には、1次PCIバス100に「アド
レス=C+32」でライト要求を発行する。PCIブリ
ッジ300Aは、「アドレス=C+32」が、PCIバ
ス100用ベースアドレス記憶手段30と有効サイズ記
憶手段31のエントリ0に設定された「アドレス=C」
〜「サイズ=64」の範囲に一致することをアドレス比
較手段32で検出する。アドレス変換手段34は、PC
Iバス100用ベースアドレス記憶手段30のエントリ
0より「差分=C+32−C=32」を求め、PCIバ
ス200用変換先ベースアドレス記憶手段33のエント
リ1の「アドレス=D」と加算して、「アドレス=D+
32」で2次PCIバス200にデータライト要求を発
行する。I/Oカード24は「アドレス=D+32」に
応答して、該当データを書き込む(ステップB7)。
In the above setting, when data is written from the first CPU (1) to “address = D + 32” of the I / O card 24, a write request is issued to the primary PCI bus 100 at “address = C + 32”. I do. In the PCI bridge 300A, “address = C + 32” is set to “address = C” set in the entry 0 of the base address storage unit 30 for the PCI bus 100 and the effective size storage unit 31.
The address comparison unit 32 detects that the size matches the range of “size = 64”. The address conversion means 34 is a PC
From the entry 0 of the base address storage unit 30 for the I bus 100, “difference = C + 32−C = 32” is obtained, and added to the “address = D” of the entry 1 of the conversion destination base address storage unit 33 for the PCI bus 200, "Address = D +
At 32, a data write request is issued to the secondary PCI bus 200. The I / O card 24 writes the corresponding data in response to "address = D + 32" (step B7).

【0025】同様に、I/Oカード24から第1CPU
(1)へ「アドレス=8」でデータをライトする場合に
は、2次PCIバス200に「アドレス=24」でライ
ト要求を発行する。PCIブリッジ300Aは、「アド
レス=24」が、PCIバス200用ベースアドレス記
憶手段35と有効サイズ記憶手段36のエントリ1に設
定された「アドレス=16」〜「サイズ=A−16」の
範囲に一致することをアドレス比較手段37で検出す
る。アドレス変換手段39は、PCIバス200用ベー
スアドレス記憶手段35のエントリ1より「差分=24
−16=8」を求め、PCIバス100用変換先ベース
アドレス記憶手段38のエントリ1の「アドレス=0」
と加算して、「アドレス=8」で1次PCIバス100
にデータライト要求を発行し、CPU(1)が応答し
て、該当データをメモリ11へ書き込む(ステップB
8)。
Similarly, from the I / O card 24 to the first CPU
When data is written to (1) at “address = 8”, a write request is issued to the secondary PCI bus 200 at “address = 24”. The PCI bridge 300A sets the “address = 24” in the range of “address = 16” to “size = A−16” set in the entry 1 of the base address storage unit 35 for the PCI bus 200 and the effective size storage unit 36. The coincidence is detected by the address comparing means 37. The address conversion means 39 calculates “difference = 24” from the entry 1 of the base address storage means 35 for the PCI bus 200.
−16 = 8 ”, and the“ address = 0 ”of the entry 1 of the conversion destination base address storage means 38 for the PCI bus 100
To the primary PCI bus 100 at “address = 8”.
Issue a data write request, and the CPU (1) responds and writes the corresponding data to the memory 11 (step B).
8).

【0026】以上、本発明によるPCIブリッジの好適
実施形態の構成および動作を詳述した。しかし、斯かる
実施形態は、本発明の単なる例示に過ぎず、何ら本発明
を限定するものではない。本発明の要旨を逸脱すること
なく、特定用途に応じて種々の変形変更が可能であるこ
と、当業者には容易に理解できよう。
The configuration and operation of the preferred embodiment of the PCI bridge according to the present invention have been described above in detail. However, such an embodiment is merely an example of the present invention and does not limit the present invention in any way. It will be readily apparent to those skilled in the art that various modifications can be made in accordance with the particular application without departing from the spirit of the invention.

【0027】[0027]

【発明の効果】以上説明した如く、本発明のPCIブリ
ッジによれば、アドレス変換機構を設けることにより、
PCIバス毎のアドレス空間を最大限に利用できるシス
テムが可能になるという実用上の顕著な効果が得られ
る。
As described above, according to the PCI bridge of the present invention, by providing the address translation mechanism,
This has a practically remarkable effect that a system capable of maximizing the use of the address space of each PCI bus becomes possible.

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

【図1】本発明によるPCIブリッジの第1実施形態の
構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a first embodiment of a PCI bridge according to the present invention.

【図2】図1に示す本発明によるPCIブリッジのアド
レス変換機構の構成を示す詳細図である。
FIG. 2 is a detailed diagram showing a configuration of an address translation mechanism of the PCI bridge according to the present invention shown in FIG. 1;

【図3】図1に示すPCIブリッジのPCIアドレスマ
ッピング例を示す図である。
FIG. 3 is a diagram showing a PCI address mapping example of the PCI bridge shown in FIG. 1;

【図4】図1に示すPCIブリッジの動作を示すフロー
チャートである。
FIG. 4 is a flowchart showing an operation of the PCI bridge shown in FIG. 1;

【図5】本発明によるPCIブリッジの第2実施形態の
構成を示すブロック図である。
FIG. 5 is a block diagram showing a configuration of a second embodiment of a PCI bridge according to the present invention.

【図6】図5に示す第2実施形態におけるアドレス変換
機構の詳細構成を示す図である。
FIG. 6 is a diagram showing a detailed configuration of an address translation mechanism in the second embodiment shown in FIG.

【図7】図5に示すPCIブリッジにおけるPCIアド
レスマッピングの例を示す図である。
FIG. 7 is a diagram illustrating an example of PCI address mapping in the PCI bridge illustrated in FIG. 5;

【図8】図5に示すPCIブリッジの動作を示すフロー
チャートである。
8 is a flowchart showing an operation of the PCI bridge shown in FIG.

【図9】従来のPCIブリッジの構成を示す図である。FIG. 9 is a diagram showing a configuration of a conventional PCI bridge.

【図10】図9に示す従来のPCIブリッジのPCIア
ドレスマッピング例を示す図である。
FIG. 10 is a diagram showing an example of a PCI address mapping of the conventional PCI bridge shown in FIG. 9;

【図11】図9に示す従来のPCIブリッジの動作を説
明するフローチャートである。
FIG. 11 is a flowchart illustrating the operation of the conventional PCI bridge shown in FIG.

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

100 1次(第1)PCIバス 200 2次(第2)PCIバス 13、14、23、24 I/Oカード 300、300A PCIブリッジ 30 (1次)PCIバス用ベースアドレス
記憶手段 31 (第1)有効サイズ記憶手段 32 (第1)アドレス比較手段 33 (2次)PCIバス200用変換先ベ
ースアドレス記憶手段 34 (第1)1アドレス変換手段 35 (2次)PCIバス200用ベースア
ドレス記憶手段 36 (第2)有効サイズ記憶手段 37 (第2)アドレス比較手段 38 (1次)PCIバス100用変換先ベ
ースアドレス記憶手段 39 (第2)アドレス変換手段
Reference Signs List 100 primary (first) PCI bus 200 secondary (second) PCI bus 13, 14, 23, 24 I / O card 300, 300A PCI bridge 30 (primary) PCI bus base address storage means 31 (first) ) Effective size storage means 32 (first) address comparison means 33 (secondary) conversion destination base address storage means for PCI bus 200 34 (first) one address conversion means 35 (secondary) base address storage means for PCI bus 200 36 (second) effective size storage means 37 (second) address comparison means 38 (primary) conversion destination base address storage means for PCI bus 100 39 (second) address conversion means

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】第1PCIバスおよび第2PCIバスに接
続され、前記第1PCIバスのベースアドレスを記憶す
る第1PCIバス用ベースアドレス記憶手段、該第1P
CIバス用ベースアドレス記憶手段が示すベースアドレ
スからの有効サイズを記憶する第1有効サイズ記憶手段
および前記第1PCIバスに確定したPCIアドレス
が、前記第1PCIバス用ベースアドレス記憶手段が示
すベースアドレスから前記第1有効サイズ記憶手段が示
す有効サイズ内か否か比較判定する第1アドレス比較手
段を含むPCIブリッジにおいて、 前記第2PCIバス用変換先ベースアドレスを記憶する
第2PCIバス用変換先ベースアドレス記憶手段と、該
第2PCIバス用変換先ベースアドレス記憶手段および
前記第1アドレス比較手段の出力に基づき前記第2PC
Iバスアドレスを求める第1アドレス変換手段とを備え
ることを特徴とするPCIブリッジ。
A first PCI bus base address storage means connected to a first PCI bus and a second PCI bus for storing a base address of the first PCI bus;
The first effective size storage means for storing the effective size from the base address indicated by the CI bus base address storage means and the PCI address determined on the first PCI bus are determined from the base address indicated by the first PCI bus base address storage means. In a PCI bridge including first address comparing means for comparing and judging whether or not the size is within an effective size indicated by the first effective size storing means, storing a second PCI bus conversion destination base address for storing the second PCI bus conversion destination base address Means for converting the second PCI bus based on the output of the second PCI bus conversion destination base address storing means and the first address comparing means.
A PCI bridge, comprising: first address conversion means for obtaining an I bus address.
【請求項2】前記第1アドレス変換手段は、前記第1ア
ドレス比較手段の比較結果が一致する場合に、前記第1
PCIバス上のアドレスと前記第1PCIバス用ベース
アドレス記憶手段のベースアドレスの差分を求め、前記
第2PCIバス用変換先ベースアドレス記憶手段の変換
先ベースアドレスと加算して前記第2PCIバスのアド
レスを求めることを特徴とする請求項1に記載のPCI
ブリッジ。
2. The method according to claim 1, wherein the first address conversion means is configured to output the first address when the comparison result of the first address comparison means matches.
A difference between the address on the PCI bus and the base address of the first PCI bus base address storage means is obtained, and the difference is added to the conversion destination base address of the second PCI bus conversion destination base address storage means to obtain the address of the second PCI bus. 2. The PCI according to claim 1, wherein the value is obtained.
bridge.
【請求項3】前記第2PCIバスには、複数のI/Oカ
ードが接続され、PCIブリッジに割り当てられた前記
第1PCIバスのメモリ空間を前記第1アドレス変換手
段により前記複数のI/Oカードに前記第2PCIバス
のメモリ空間を割り当てることを特徴とする請求項1又
は2に記載のPCIブリッジ。
3. A plurality of I / O cards are connected to the second PCI bus, and a memory space of the first PCI bus allocated to a PCI bridge is allocated to the plurality of I / O cards by the first address conversion means. The PCI bridge according to claim 1, wherein a memory space of the second PCI bus is allocated to the PCI bridge.
【請求項4】前記第2PCIバス用ベースアドレスを記
憶する第2PCIバス用ベースアドレス記憶手段と、有
効サイズを記憶する第2有効サイズ記憶手段と、前記第
2PCIバス用ベースアドレス記憶手段および前記第2
有効サイズ記憶手段に基づきアドレスを比較する第2ア
ドレス比較手段とを備えることを特徴とする請求項1に
記載のPCIブリッジ。
4. A second PCI bus base address storage means for storing the second PCI bus base address; a second effective size storage means for storing an effective size; a second PCI bus base address storage means; 2
2. The PCI bridge according to claim 1, further comprising second address comparing means for comparing addresses based on effective size storage means.
【請求項5】前記第2アドレス比較手段からの一致出力
を受け前記第1PCIバス用アドレスに変換する第2ア
ドレス変換手段および該第2アドレス変換手段に第1P
CIバス用変換先ベースアドレスを出力する第1PCI
バス用変換先ベースアドレス記憶手段を備えることを特
徴とする請求項4に記載のPCIブリッジ。
5. A second address conversion means for receiving a coincidence output from said second address comparison means and converting the same to an address for said first PCI bus, and providing said second address conversion means with a first P address.
First PCI for outputting CI bus conversion destination base address
5. The PCI bridge according to claim 4, further comprising a bus conversion destination base address storage unit.
【請求項6】前記第1および第2アドレス変換手段は、
それぞれ前記第2PCIバスおよび第1PCIバスに接
続されることを特徴とする請求項5に記載のPCIブリ
ッジ。
6. The first and second address translation means,
The PCI bridge according to claim 5, wherein the PCI bridge is connected to the second PCI bus and the first PCI bus, respectively.
JP2000154494A 2000-05-25 2000-05-25 Pci bridge Pending JP2001337909A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000154494A JP2001337909A (en) 2000-05-25 2000-05-25 Pci bridge

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000154494A JP2001337909A (en) 2000-05-25 2000-05-25 Pci bridge

Publications (1)

Publication Number Publication Date
JP2001337909A true JP2001337909A (en) 2001-12-07

Family

ID=18659579

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000154494A Pending JP2001337909A (en) 2000-05-25 2000-05-25 Pci bridge

Country Status (1)

Country Link
JP (1) JP2001337909A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009025381A1 (en) * 2007-08-23 2009-02-26 Nec Corporation I/o system and i/o control method
US20100036995A1 (en) * 2008-08-05 2010-02-11 Hitachi, Ltd. Computer system and bus assignment method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009025381A1 (en) * 2007-08-23 2009-02-26 Nec Corporation I/o system and i/o control method
US8683110B2 (en) 2007-08-23 2014-03-25 Nec Corporation I/O system and I/O control method
JP5477707B2 (en) * 2007-08-23 2014-04-23 日本電気株式会社 I / O system and I / O control method
US20100036995A1 (en) * 2008-08-05 2010-02-11 Hitachi, Ltd. Computer system and bus assignment method
US8352665B2 (en) * 2008-08-05 2013-01-08 Hitachi, Ltd. Computer system and bus assignment method
US8683109B2 (en) 2008-08-05 2014-03-25 Hitachi, Ltd. Computer system and bus assignment method

Similar Documents

Publication Publication Date Title
JP2625385B2 (en) Multiprocessor system
US20090037688A1 (en) Communicating between Partitions in a Statically Partitioned Multiprocessing System
JPS61211758A (en) Multiprocessor system
JPH0744455A (en) Address decoder
JP2846697B2 (en) Cache memory controller
JP2001337909A (en) Pci bridge
JP3181301B2 (en) Bus extension system
US6647483B1 (en) Address translation circuit for processors utilizing a single code image
JPH04288643A (en) Memory mapping system for multi-processor system
JP4015867B2 (en) Address signal output device
JPS60150148A (en) Virtual address mapping using 2-level conversion buffer
JPS645341B2 (en)
JPH07334420A (en) Extended memory control circuit
US20030051106A1 (en) Multi-memory architecture and access controller therefor
US20030035323A1 (en) Data write circuit
JPS5953588B2 (en) Memory interleave control method
JPS61147352A (en) Computer device
JP2000357123A (en) Memory access control system
JP2581484B2 (en) Data processing system
JPH02116939A (en) Address selecting system
JPS63255749A (en) Memory system
JPH0528085A (en) Address conversion system for electronic computer
JP2002007317A (en) Integrated circuit
JPH03276357A (en) I/o address conversion system
JPH11265340A (en) Bridge device