JP2003167842A - Pci bus bridge circuit and transaction control method - Google Patents

Pci bus bridge circuit and transaction control method

Info

Publication number
JP2003167842A
JP2003167842A JP2001365877A JP2001365877A JP2003167842A JP 2003167842 A JP2003167842 A JP 2003167842A JP 2001365877 A JP2001365877 A JP 2001365877A JP 2001365877 A JP2001365877 A JP 2001365877A JP 2003167842 A JP2003167842 A JP 2003167842A
Authority
JP
Japan
Prior art keywords
transaction
bus
block
priority
agent
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
JP2001365877A
Other languages
Japanese (ja)
Inventor
Masashi Yamauchi
将士 山内
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2001365877A priority Critical patent/JP2003167842A/en
Publication of JP2003167842A publication Critical patent/JP2003167842A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To solve a problem that as the priority in performing the transaction is fixed, the transaction of low priority can not be performed when the processing of the transaction of high priority are frequently required. <P>SOLUTION: A PCI bus bridge circuit is composed of an arbitration block for arbitrating a bus to an agent, a transaction analyzing block for analyzing the contents of required transaction, a transaction holding block for accumulating the transaction, a first bus monitoring block for monitoring a use condition of a first bus, a transaction requiring block for outputting the transaction requirement order to the transaction holding block, and a priority changing block for counting the number of times of processing the transaction, and temporarily changing the priority, to perform the transaction control to the first bus. <P>COPYRIGHT: (C)2003,JPO

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はPCIバスブリッジ
回路とトランザクション制御方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a PCI bus bridge circuit and a transaction control method.

【0002】[0002]

【従来の技術】異なる2つのバスに接続され、いずれか
一方のバスがPCIバスであるバス間のデータ通信を制
御するPCIバスブリッジ回路において、PCIバス上
のエージェントから他方のバス上のエージェントに対す
るトランザクションを蓄積、実行する回路においてトラ
ンザクション実行の優先順位を固定していた。
2. Description of the Related Art In a PCI bus bridge circuit connected to two different buses, one of which is a PCI bus for controlling data communication between the buses, from an agent on the PCI bus to an agent on the other bus. The priority of transaction execution is fixed in the circuit that stores and executes transactions.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、トラン
ザクション実行の優先順位が固定されているため、優先
度の高いトランザクション処理が頻繁に発生された場合
において、優先度の低いトランザクション処理は蓄積さ
れたままの状態にあり、処理実行されなかった。
However, since the priority of transaction execution is fixed, when high priority transaction processing is frequently generated, low priority transaction processing remains stored. It was in a state and processing was not executed.

【0004】本発明は優先度の高いトランザクションを
優先的に実行し、PCIバスを有効的に使用することの
可能なPCIバスブリッジ回路及びトランザクション制
御方法を提供することを目的とする。
It is an object of the present invention to provide a PCI bus bridge circuit and a transaction control method capable of executing a high priority transaction preferentially and effectively using the PCI bus.

【0005】[0005]

【課題を解決するための手段】PCIバス上のエージェ
ントに対するバス調停を行うためのアービトレーション
ブロックと要求されたトランザクションの内容を解析す
るためのトランザクション解析ブロックとトランザクシ
ョンを蓄積するためのトランザクション蓄積ブロックと
他方のバスの使用状態を観測するためのバス監視ブロッ
クとトランザクション蓄積ブロックに対するトランザク
ション要求命令を出すためのトランザクション要求ブロ
ックとバスの使用状況からバスの優先度を変更させるた
めの優先順位変更ブロックを具備したPCIバスブリッ
ジ回路とPCIバスエージェントからのトランザクショ
ン内容による優先度の判定と各トランザクション処理の
状況から一時的に変更される優先順位によってトランザ
クション実行の制御を行う。
An arbitration block for performing bus arbitration for an agent on a PCI bus, a transaction analysis block for analyzing the contents of a requested transaction, and a transaction accumulation block for accumulating a transaction and the other. A bus monitoring block for observing the bus usage state of the other, a transaction request block for issuing a transaction request command to the transaction accumulation block, and a priority change block for changing the bus priority from the bus usage status The transaction execution is controlled by the priority determination based on the transaction contents from the PCI bus bridge circuit and the PCI bus agent and the priority temporarily changed from the status of each transaction processing. It is carried out.

【0006】[0006]

【発明の実施の形態】(実施の形態1)本発明のPCI
バスブリッジ回路について図1を用いて説明する。図1
は本発明のシステム構成図であり、説明のため第二バス
をPCIバスとする。
BEST MODE FOR CARRYING OUT THE INVENTION (Embodiment 1) PCI of the present invention
The bus bridge circuit will be described with reference to FIG. Figure 1
FIG. 3 is a system configuration diagram of the present invention, and the second bus is a PCI bus for explanation.

【0007】本発明のPCIバスブリッジ回路100は
PCIバス114上のエージェント109、エージェン
ト110、エージェント111、エージェント112か
らのバスリクエストに対してのアービトレーションを行
うためのアービトレーションブロック104と、エージ
ェントからのトランザクション内容を解析するためのト
ランザクション解析ブロック103と、任意数のトラン
ザクションを蓄積するためのトランザクション蓄積ブロ
ック105と、第一バス113の使用状況を観測するた
めの第一バス監視ブロック101と、前記トランザクシ
ョン蓄積ブロック105に対して第一バス113上のエ
ージェント106、エージェント107、エージェント
108へのトランザクション実行の要求を行うトランザ
クション発生要求ブロック102と、トランザクション
発生要求ブロック102によって実行された各エージェ
ントによるトランザクションの実行回数をカウントする
ことによりアービトレーションの優先順位変更とトラン
ザクション実行順序を制御する優先順位変更ブロック1
15を具備する構成を採る。
The PCI bus bridge circuit 100 of the present invention includes an arbitration block 104 for arbitrating bus requests from the agents 109, 110, 111 and 112 on the PCI bus 114, and a transaction from the agent. A transaction analysis block 103 for analyzing the contents, a transaction accumulation block 105 for accumulating an arbitrary number of transactions, a first bus monitoring block 101 for observing the usage status of the first bus 113, and the transaction accumulation. Transaction generation request for requesting block 105 to execute a transaction to agents 106, 107, 108 on the first bus 113 The lock 102, priority change block 1 which controls the arbitration priority change and transaction execution order of by counting the number of times execution of a transaction by each agent performed by the transaction generation request block 102
A configuration including 15 is adopted.

【0008】次いで前記の構成からなる本回路の動作に
ついて説明する。PCIバス114上のエージェント1
10、エージェント111、エージェント112からバ
ス権要求が起こった際、アービトレーションブロック1
04は、アービトレーションを行うが、その際のアービ
トレーション方法は予めエージェントに対して任意に割
り当てた優先順位によって行う。
Next, the operation of this circuit having the above configuration will be described. Agent 1 on PCI bus 114
Arbitration block 1 when a bus right request is issued from 10, agent 111, or agent 112
04 performs arbitration, and the arbitration method at that time is performed according to the priority order arbitrarily assigned to the agent in advance.

【0009】ここで、説明のためエージェントの優先順
位はエージェント109が最も高く、次いでエージェン
ト110、エージェント111、エージェント112の
順に割り当てたとする。
Here, for the sake of explanation, it is assumed that the agent 109 has the highest priority, and the agent 110, the agent 111, and the agent 112 are assigned in this order.

【0010】アービトレーションブロック104はアー
ビトレーションの結果からエージェント110に対して
の許可信号をアサートし、エージェント110にバス使
用権を与える。バス権を与えられたエージェント110
はPCIバスブリッジ回路100にアドレスフェーズと
してコマンド、アドレス情報を送信する。
The arbitration block 104 asserts a permission signal for the agent 110 based on the result of the arbitration, and gives the agent 110 the right to use the bus. Agent 110 given bus right
Sends a command and address information as an address phase to the PCI bus bridge circuit 100.

【0011】PCIバスブリッジ回路100ではこの情
報をトランザクション蓄積ブロック105によって受信
する。この時、第一バス113の使用状況を第一バス監
視ブロック101により観測し、第一バス113へのト
ランザクション実行が可能である場合にエージェント1
10からのトランザクションを対象となる第一バス上の
エージェントに対して行う。
The PCI bus bridge circuit 100 receives this information by the transaction storage block 105. At this time, the usage status of the first bus 113 is observed by the first bus monitoring block 101, and when the transaction to the first bus 113 can be executed, the agent 1
The transaction from 10 is performed to the target agent on the first bus.

【0012】第一バス監視ブロックによる観測の結果、
第一バス113が使用中である場合には受信したアドレ
スフェーズでの情報を蓄積すると共にトランザクション
解析ブロック103へ送り新たにデータフェーズにおい
てバイトイネーブル、データの情報を受信する。トラン
ザクション解析ブロック103はアービトレーションブ
ロック104の次段に設け、アービトレーションブロッ
ク104によってバス権を与えられたエージェントがエ
ージェント110であるという情報とアドレスフェーズ
における情報を保持すると共にトランザクションの実行
順序を蓄積情報に付加する。
As a result of the observation by the first bus monitoring block,
When the first bus 113 is in use, the received information in the address phase is accumulated and is sent to the transaction analysis block 103 to newly receive byte enable and data information in the data phase. The transaction analysis block 103 is provided in the next stage of the arbitration block 104, holds information that the agent given the bus right by the arbitration block 104 is the agent 110 and information in the address phase, and adds the transaction execution order to the stored information. To do.

【0013】トランザクション蓄積ブロック105は任
意数のトランザクションの情報をそのトランザクション
が完了するまで情報を保持する。第一バス監視ブロック
101は第一バスの使用状況を観測し続け、その結果を
トランザクション発生要求ブロック102へ送る。トラ
ンザクション発生要求ブロック102は前記トランザク
ション蓄積ブロック105にトランザクションが蓄積さ
れている場合において第一バス監視ブロックから受け取
るバスの使用状況情報によって第一バスが解放されてい
ることを認識した際、トランザクション蓄積ブロック1
05に対して、対象となる第一バス113上のエージェ
ントへのトランザクション実行命令を発生するとともに
エージェント110のトランザクション処理が行われた
ことを優先順位変更ブロック115に通知する。前記通
知情報をもとに優先順位変更ブロック115はエージェ
ント110のトランザクションの処理回数をカウントア
ップする。トランザクションの処理回数のカウント上限
は任意に変更可能とし、カウントの上限は優先度の高い
ものが大きくなるように与える。
The transaction storage block 105 holds information on an arbitrary number of transactions until the transaction is completed. The first bus monitoring block 101 continues to observe the usage status of the first bus and sends the result to the transaction generation request block 102. When the transaction generation request block 102 recognizes that the first bus is released from the bus usage status information received from the first bus monitoring block when transactions are stored in the transaction storage block 105, the transaction generation block 102 1
05, a transaction execution command is issued to the target agent on the first bus 113 and the priority change block 115 is notified that the transaction processing of the agent 110 has been performed. Based on the notification information, the priority changing block 115 counts up the number of times the agent 110 processes the transaction. The upper limit of the number of times a transaction is processed can be arbitrarily changed, and the upper limit of the count is given such that the higher the priority is.

【0014】第一バスが依然として解放されず、エージ
ェント110によるトランザクションがPCIバスブリ
ッジ回路100において実行待ちである時に新たにエー
ジェント109からトランザクション要求が起った場
合、PCIバスブリッジ回路100はエージェント11
0の場合と同様にトランザクション情報を受信する。こ
の時、トランザクション解析ブロック103において既
に蓄積されているアドレスフェーズ情報とエージェント
109からのアドレスフェーズ情報を比較し、エージェ
ント110からのトランザクションの優先度が高くなけ
れば、エージェントとしてより優先度の高いエージェン
ト109のトランザクションが先に実行されるように、
付加した実行順序データの書き換えを行う。
If a new transaction request is issued from the agent 109 while the transaction by the agent 110 is awaiting execution in the PCI bus bridge circuit 100, the first bus is not released yet, and the PCI bus bridge circuit 100 causes the agent 11 to execute a transaction request.
Transaction information is received as in the case of 0. At this time, the address phase information already accumulated in the transaction analysis block 103 is compared with the address phase information from the agent 109, and if the transaction from the agent 110 has a high priority, the agent 109 having a higher priority as an agent. So that the transactions in
The added execution order data is rewritten.

【0015】この実行順序データにより第一バスが解放
された際のトランザクションを実行し、各エージェント
のトランザクション処理回数のカウントアップを行う。
トランザクションの処理回数が設定した上限に達した場
合、優先順位変更ブロック115は既に蓄積されている
他のエージェントからのトランザクション処理が実行さ
れるまで処理回数が上限に達したエージェントの優先順
位を最下位に変更制御する。トランザクションの処理が
進むことで処理回数の上限に達したエージェントによる
処理が完了した際、トランザクション処理回数を0にク
リアし優先順位を元の順位に戻す。
The transaction when the first bus is released is executed by the execution order data, and the number of transaction processes of each agent is counted up.
When the transaction processing count reaches the set upper limit, the priority changing block 115 sets the lowest priority to the agent whose processing count has reached the upper limit until the transaction processing from another agent already accumulated is executed. Change control to. When the processing by the agent, which has reached the upper limit of the number of processing due to the progress of transaction processing, is completed, the number of transaction processing is cleared to 0 and the priority order is returned to the original order.

【0016】前記構成および制御を行うことによってよ
り優先度の高いトランザクションを実行することがで
き、優先度が低いために実行されない状態に留まり続け
たトランザクションについても一時的に優先順位を変更
することで処理を行うことができる。
By performing the above-mentioned configuration and control, it is possible to execute a transaction with a higher priority, and by temporarily changing the priority of a transaction that remains in an unexecuted state due to a low priority. Processing can be performed.

【0017】[0017]

【発明の効果】以上に説明したようにPCIバスブリッ
ジ回路を構成し、且つ前述のトランザクション制御を行
うことにより、PCIバスを効率的に使用することが可
能となると共に、第一バスへのトランザクション実行順
序を使用状況に応じた優先順位によって変更すること
で、より重要なトランザクションを優先的に実行しなが
らも優先度が低いために処理実行されないトランザクシ
ョンを実行することが可能となる。
As described above, by configuring the PCI bus bridge circuit and performing the above-mentioned transaction control, the PCI bus can be used efficiently, and the transaction to the first bus can be performed. By changing the execution order according to the priority order according to the usage status, it is possible to execute a transaction that is not processed due to a low priority while executing a more important transaction with priority.

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

【図1】PCIバスブリッジ回路構成図FIG. 1 PCI bus bridge circuit configuration diagram

【図2】トランザクション制御方法を示す図FIG. 2 is a diagram showing a transaction control method.

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

100 PCIバスブリッジ回路 101 第一バス監視ブロック 102 トランザクション発生要求ブロック 103 トランザクション解析ブロック 104 アービトレーションブロック 105 トランザクション蓄積ブロック 106 第一バス上のエージェント 107 第一バス上のエージェント 108 第一バス上のエージェント 109 PCIバス上のエージェント 110 PCIバス上のエージェント 111 PCIバス上のエージェント 112 PCIバス上のエージェント 113 第一バス 114 第二バス(PCIバス) 115 優先順位変更ブロック 201 トランザクション蓄積工程 202 次トランザクション受付け工程 203 トランザクション解析・順序決定工程 204 トランザクション実行工程 205 優先順位変更工程 100 PCI bus bridge circuit 101 First Bus Monitoring Block 102 transaction generation request block 103 transaction analysis block 104 Arbitration Block 105 transaction accumulation block 106 Agent on the first bus 107 Agent on the first bus 108 Agent on the first bus 109 Agent on PCI bus 110 Agent on PCI bus 111 Agent on PCI bus 112 Agent on PCI Bus 113 First Bus 114 Second bus (PCI bus) 115 Priority change block 201 Transaction accumulation process 20 2nd transaction acceptance process 203 Transaction analysis / order determination process 204 Transaction execution process 205 Priority change process

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 PCIバス上のエージェントからのバス
リクエストに対するバス調停を行うためのアービトレー
ションブロックと、要求されたトランザクションの内容
を解析するためのトランザクション解析ブロックと、ト
ランザクションを蓄積するためのトランザクション保持
ブロックと、ターゲットとなるバスの使用状態を観測す
るためのバス監視ブロックと、トランザクション保持ブ
ロックに対するトランザクション要求命令を出すための
トランザクション要求ブロックとバスの使用状況から一
時的に優先順位を変更するための優先順位変更ブロック
を具備し、第一バスまたは第二バスにPCIバスをもつ
バス間のブリッジ機能として機能することを特徴とする
PCIバスブリッジ回路。
1. An arbitration block for performing bus arbitration for a bus request from an agent on a PCI bus, a transaction analysis block for analyzing contents of a requested transaction, and a transaction holding block for accumulating transactions. And a bus monitoring block for observing the usage status of the target bus, a transaction request block for issuing a transaction request command to the transaction holding block, and a priority for temporarily changing the priority from the usage status of the bus. A PCI bus bridge circuit comprising a rank changing block and functioning as a bridge function between buses having a PCI bus as a first bus or a second bus.
【請求項2】 PCIバス上のエージェントによって発
行されたトランザクションを蓄積するトランザクション
蓄積工程と、新たにPCIバス上の他のエージェントに
よって発行されるトランザクションを受け付ける次トラ
ンザクション受付け工程と、エージェントあるいはトラ
ンザクションの優先度とトランザクションの種類を解析
し優先度に応じてトランザクションの順序を入れ換える
トランザクション解析・順序決定工程と、他方のバスが
解放された際に優先度の高いトランザクションから実行
するトランザクション実行工程とバスの使用状況に応じ
て一時的に優先順位を変更する優先順位変更工程によっ
て行うことを特徴とするトランザクション制御方法。
2. A transaction accumulation step of accumulating a transaction issued by an agent on the PCI bus, a next transaction acceptance step of accepting a transaction newly issued by another agent on the PCI bus, and priority of the agent or transaction. Transaction analysis and order determination process that analyzes the degree and transaction type and changes the transaction order according to the priority, and the transaction execution process and bus that executes from the transaction with the higher priority when the other bus is released A transaction control method characterized in that the transaction is performed by a priority order changing step of temporarily changing the priority order according to the situation.
JP2001365877A 2001-11-30 2001-11-30 Pci bus bridge circuit and transaction control method Pending JP2003167842A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001365877A JP2003167842A (en) 2001-11-30 2001-11-30 Pci bus bridge circuit and transaction control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001365877A JP2003167842A (en) 2001-11-30 2001-11-30 Pci bus bridge circuit and transaction control method

Publications (1)

Publication Number Publication Date
JP2003167842A true JP2003167842A (en) 2003-06-13

Family

ID=19175853

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001365877A Pending JP2003167842A (en) 2001-11-30 2001-11-30 Pci bus bridge circuit and transaction control method

Country Status (1)

Country Link
JP (1) JP2003167842A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8145815B2 (en) 2009-06-04 2012-03-27 Renesas Electronics Corporation Data processing system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8145815B2 (en) 2009-06-04 2012-03-27 Renesas Electronics Corporation Data processing system

Similar Documents

Publication Publication Date Title
JP4456490B2 (en) DMA equipment
JP3312266B2 (en) Scalable system interrupt structure for multiprocessing systems
US7822885B2 (en) Channel-less multithreaded DMA controller
KR100899951B1 (en) System and method for controlling bus arbitration during cache memory burst cycles
JP2005517228A (en) Method and apparatus for scheduling requests using criteria of an ordered stage of scheduling
US5790813A (en) Pre-arbitration system allowing look-around and bypass for significant operations
JP5578713B2 (en) Information processing device
JP3864252B2 (en) Intercommunication preprocessor
JPH06223042A (en) Apparatus and method for control of interruption in multiprocessor system
JPWO2011148920A1 (en) Multiprocessor system, execution control method, execution control program
US6681270B1 (en) Effective channel priority processing for transfer controller with hub and ports
US20050066093A1 (en) Real-time processor system and control method
US7028116B2 (en) Enhancement of transaction order queue
JP2003167842A (en) Pci bus bridge circuit and transaction control method
JP5239769B2 (en) Request order control system, request order control method, and request order control program
JP2005258509A (en) Storage device
WO2007039933A1 (en) Operation processing device
JPH08292932A (en) Multiprocessor system and method for executing task in the same
JP2004362425A (en) Resource contention control system, control method, and program
EP1115065B1 (en) Effective channel priority processing for transfer controller with hub and ports
RU2571376C1 (en) Method and apparatus for parallel processing of digital information in computer system
JP2003006142A (en) Pci bus bridge circuit and method for controlling transaction
JP2007241922A (en) Arbitration method for use of shared resource, and arbitration device therefor
JP2007164713A (en) Device and method for managing resource
JP2002278753A (en) Data processing system