JPH1166025A - Arbitration circuit - Google Patents

Arbitration circuit

Info

Publication number
JPH1166025A
JPH1166025A JP9230656A JP23065697A JPH1166025A JP H1166025 A JPH1166025 A JP H1166025A JP 9230656 A JP9230656 A JP 9230656A JP 23065697 A JP23065697 A JP 23065697A JP H1166025 A JPH1166025 A JP H1166025A
Authority
JP
Japan
Prior art keywords
transfer
arbitration
request
circuit
arbitration circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP9230656A
Other languages
Japanese (ja)
Other versions
JP3667504B2 (en
Inventor
Toshiya Hiraoka
俊也 平岡
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 JP23065697A priority Critical patent/JP3667504B2/en
Publication of JPH1166025A publication Critical patent/JPH1166025A/en
Application granted granted Critical
Publication of JP3667504B2 publication Critical patent/JP3667504B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Bus Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an arbitration circuit with which the bias in the processing between request system and a reply system is reduced and the throughput of an entire system can be prevented from being lowered. SOLUTION: A request system arbitration circuit 1 arbitrates the transfer request of the request system, and a reply system arbitration circuit 2 arbitrates the transfer request of the reply system. A switching flip-flop 3, AND circuits 8-13 and 16-19, OR. circuit 14 and exclusive OR circuit 15 suppress the output of the result of one processing operation during the processing operation between the request system and reply system arbitration circuits 1 and 2 and permit the output of the result of one processing operation after the completion of the other processing operation.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は調停回路に関し、特
にクロスバスイッチにおける各ノードからのノード間通
信やデータ転送等のスイッチング要求の調停方法に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an arbitration circuit, and more particularly to an arbitration method for switching requests such as inter-node communication and data transfer from each node in a crossbar switch.

【0002】[0002]

【従来の技術】従来、クロスバスイッチとしては、シン
グルノードモデル(最大32台のプロセッサ構成)をノ
ードとし、2〜16ノードをクラスタ接続したシングル
システムとして利用するマルチノードモデルを実現する
ためものがある。
2. Description of the Related Art Conventionally, there is a crossbar switch for realizing a multi-node model in which a single node model (up to 32 processors) is used as a node and 2 to 16 nodes are used as a single system connected in a cluster. .

【0003】このクロスバスイッチでは、各ノードから
のノード間通信やデータ転送等のスイッチング要求を受
取り、それらのスイッチング要求を調停してスイッチン
グを行っている。
In this crossbar switch, switching requests such as inter-node communication and data transfer from each node are received, and the switching requests are arbitrated to perform switching.

【0004】ノード間通信やデータ転送等における伝送
路の使用要求に対する調停方法としては、情報処理装置
に使用される汎用システムバスに備わるバスアービタ
が、バスに接続されているユニットに対してバスの使用
権を与える集中アービトレション方法がある。この集中
アービトレション方法については、特開平5−1349
81号公報に開示されている。
As an arbitration method for a request for use of a transmission path in inter-node communication or data transfer, a bus arbiter provided in a general-purpose system bus used for an information processing apparatus uses a bus arbiter for a unit connected to the bus. There is a centralized arbitration method that grants authority. This concentrated arbitration method is disclosed in Japanese Patent Laid-Open No. 5-1349.
No. 81 discloses this.

【0005】上記の公報記載の集中アービトレション方
法では、バスに接続されている複数のユニットがバスア
ービタに対してバスの使用権を要求し、その後、バスア
ービタがバスの使用を許可した場合にのみバスの使用が
可能となる装置において、各ユニットからのバス使用要
求信号を一時的に保持し、その保持したバス使用要求信
号が使用権の獲得によってすべてクリアされるまでの1
ターン毎に、優先順序が各々異なる複数個の優先度回路
によって、保持されているバス使用要求信号に異なった
優先度を与え、各ユニットに対して平等にバスの使用権
を与えるように構成している。
In the centralized arbitration method described in the above publication, a plurality of units connected to a bus request a bus use right to a bus arbiter, and thereafter, only when the bus arbiter permits use of the bus. In a device which can use a bus, a bus use request signal from each unit is temporarily held, and the bus use request signal held until all the held bus use request signals are cleared by acquisition of a use right is cleared.
At each turn, a plurality of priority circuits, each having a different priority order, give different priorities to the held bus use request signals, so that each unit is equally given the right to use the bus. ing.

【0006】上記のバスアービタの構成を図4に示す。
以下、この図4を用いて上記の公報記載の集中アービト
レション方法について説明する。ここで、バスアービタ
60はアンド回路61〜65と、フリップフロップ(以
下、FFとする)66〜69と、セレクト回路70と、
各々設定されているユニットの優先度が異なるプライオ
リティ(PRIORITY)回路71〜74と、マルチ
プレクサ75とから構成されている。
FIG. 4 shows the configuration of the above bus arbiter.
Hereinafter, the centralized arbitration method described in the above publication will be described with reference to FIG. Here, the bus arbiter 60 includes AND circuits 61 to 65, flip-flops (hereinafter, referred to as FFs) 66 to 69, a select circuit 70,
It is composed of priority (PRIORITY) circuits 71 to 74 having different priorities of the set units, and a multiplexer 75.

【0007】各ユニット(図示せず)からアサートされ
たバス使用要求BRQ1〜BRQ4はバスアービタ60
内のFF66〜69に同時タイミングでラッチされる。
ラッチされたバス使用要求BRQ1〜BRQ4はまずプ
ライオリティ回路71に取込まれ、プライオリティ回路
71で定められている優先度の高いユニットに対してバ
ス使用許可BGR1〜BGR4がアサートされる。
The bus use requests BRQ1 to BRQ4 asserted from each unit (not shown) are transmitted to the bus arbiter 60.
Are latched by the FFs 66 to 69 at the same time.
The latched bus use requests BRQ1 to BRQ4 are first taken into the priority circuit 71, and the bus use permission BGR1 to BGR4 is asserted for a unit having a higher priority defined by the priority circuit 71.

【0008】バス使用許可BGR1〜BGR4がアサー
トされると、アサートされたバス使用許可BGR1〜B
GR4によってFF66〜69がクリアされる。アサー
トされたバス使用許可BGR1〜BGR4に対してデー
タ転送終了CPTがアサートされると、現在アサートし
ているバス使用許可BGR1〜BGR4をネゲートす
る。その時、FF66〜69にラッチされているバス使
用要求BRQ1〜BRQ4の中で優先度の高い次のユニ
ットに対してバス使用許可BGR1〜BGR4をアサー
トする。FF66〜69にラッチされているバス使用要
求BRQ1〜BRQ4がなくなるまで上記の処理動作が
行われる。
When the bus use permission BGR1 to BGR4 is asserted, the asserted bus use permission BGR1 to BGR1
FFs 66 to 69 are cleared by GR4. When the data transfer end CPT is asserted for the asserted bus use permission BGR1 to BGR4, the currently used bus use permission BGR1 to BGR4 is negated. At this time, the bus use permission BGR1 to BGR4 is asserted to the next unit having the highest priority among the bus use requests BRQ1 to BRQ4 latched by the FFs 66 to 69. The above processing operation is performed until the bus use requests BRQ1 to BRQ4 latched in the FFs 66 to 69 disappear.

【0009】次に、バス使用要求BRQ1〜BRQ4を
ラッチしているFF66〜69がすべてクリアされる
と、その時、アサートされている次のバス使用要求BR
Q1〜BRQ4を同時タイミングでFF66〜69にラ
ッチする。この時、アサートされているバス使用許可B
GR1〜BGR4に対するデータ転送終了CPTがアサ
ートされた時点で、セレクト回路70によってFF66
〜69の出力バスがプライオリティ回路71からプライ
オリティ回路72へと変更される。
Next, when all the FFs 66 to 69 latching the bus use requests BRQ1 to BRQ4 are cleared, the next bus use request BR asserted at that time is cleared.
Q1 to BRQ4 are latched by the FFs 66 to 69 at the same time. At this time, the asserted bus use permission B
When the data transfer end CPT for GR1 to BGR4 is asserted, the FF 66 is
6969 are changed from the priority circuit 71 to the priority circuit 72.

【0010】その場合、FF66〜69にラッチされた
バス使用要求BRQ1〜BRQ4は、ユニットの優先度
がプライオリティ回路71とは異なるプライオリティ回
路72に取込まれ、FF66〜69にラッチされたバス
使用要求BRQ1〜BRQ4がすべてクリアされるま
で、プライオリティ回路72で定められている優先度の
高いユニットから順にバス使用許可BGR1〜BGR4
がアサートしていく。
In this case, the bus use requests BRQ1 to BRQ4 latched by the FFs 66 to 69 are taken into the priority circuit 72 whose unit priority is different from the priority circuit 71, and the bus use requests latched by the FFs 66 to 69. Until all of BRQ1 to BRQ4 are cleared, the bus use permission BGR1 to BGR4 is set in order from the unit having the highest priority determined by the priority circuit 72.
Asserts.

【0011】以後、上記の処理動作を、プライオリティ
回路73→プライオリティ回路74で順次行い、その後
にプライオリティ回路71に戻って上記と同様の順番で
行うようになっている。これによって、複数個のユニッ
トに対して平等にバス使用権を与えることが可能とな
る。
Thereafter, the above-described processing operation is sequentially performed by the priority circuit 73 → the priority circuit 74, and thereafter, the process returns to the priority circuit 71 and is performed in the same order as described above. This makes it possible to equally give the right to use the bus to a plurality of units.

【0012】[0012]

【発明が解決しようとする課題】上述した従来の調停方
法では、システムを構成する複数の装置からのデータ転
送要求が(A)系/(B)系に分けられ、どちらか一方
の系に処理が偏ってしまうと、システム全体の処理能力
が低下してしまうような場合、従来の技術のように全て
の要求を1つの調停回路で処理すると、(A)系/
(B)系の2つの系の間での処理に偏りが生じてしま
い、システム全体の処理能力が低下してしまう。
In the above-described conventional arbitration method, data transfer requests from a plurality of devices constituting the system are divided into (A) system / (B) system and processed by either one system. If the processing capacity of the entire system is reduced if the processing is biased, if all requests are processed by one arbitration circuit as in the related art, the (A) system /
(B) The processing between the two systems is biased, and the processing performance of the entire system is reduced.

【0013】例えば、装置Aから装置Bにリードリクエ
ストを送り、そのリードリクエストに対して装置Bから
装置Aにデータを転送するような場合、装置Aから装置
Bへのリードリクエスト送出時の転送要求をリクエスト
系の転送要求とし、装置Bから装置Aへのデータ転送時
の転送要求をリプライ系の転送要求とする。
For example, when a read request is sent from the device A to the device B, and data is transferred from the device B to the device A in response to the read request, a transfer request when the read request is sent from the device A to the device B is sent. Is a request transfer request, and a transfer request at the time of data transfer from the device B to the device A is a reply transfer request.

【0014】この場合、調停回路での処理がリクエスト
系の転送要求に偏った場合、あるいはリプライ系の転送
要求に偏った場合のいずれかが生ずると、装置では要求
したデータを得ることができなくなるため、デッドロッ
クが発生してシステム停止を招く恐れがある。その際、
システム全体の処理能力が低下してしまう。
In this case, if the processing in the arbitration circuit is biased toward a request-based transfer request or the response-based transfer request is biased, the device cannot obtain the requested data. Therefore, a deadlock may occur and the system may be stopped. that time,
The processing capacity of the entire system is reduced.

【0015】そこで、本発明の目的は上記の問題点を解
消し、(A)系/(B)系(リクエスト系/リプライ
系)の間での処理の偏りを少なくすることができ、シス
テム全体の処理能力の低下を防ぐことができる調停回路
を提供することにある。
Therefore, an object of the present invention is to solve the above-mentioned problems, to reduce the processing bias between the (A) system / (B) system (request system / reply system), and to provide an overall system. Arbitration circuit capable of preventing a reduction in the processing capacity of the arbitration.

【0016】[0016]

【課題を解決するための手段】本発明による調停回路
は、相互にデータ転送可能な複数の装置間でデータ転送
を行う際にそのデータ転送を要求するための第1の転送
要求及びそのデータ転送を行うための第2の転送要求を
調停する調停回路であって、前記第1の転送要求を調停
する第1の調停手段と、前記第2の転送要求を調停する
第2の調停手段と、前記第1の調停手段で調停された前
記第1の転送要求に対する転送許可と前記第2の調停手
段で調停された前記第2の転送要求に対する転送許可と
を交互に発行する発行手段とを備えている。
SUMMARY OF THE INVENTION An arbitration circuit according to the present invention provides a first transfer request for requesting data transfer when performing data transfer between a plurality of devices capable of mutually transferring data, and the data transfer. An arbitration circuit that arbitrates a second transfer request for performing the first transfer request, a first arbitration unit that arbitrates the first transfer request, and a second arbitration unit that arbitrates the second transfer request. Issuing means for alternately issuing transfer permission for the first transfer request arbitrated by the first arbitration means and transfer permission for the second transfer request arbitrated by the second arbitration means; ing.

【0017】すなわち、本発明の調停回路は、システム
を構成する複数の装置があり、夫々が相互にデータ転送
可能であるような構成において2つの装置間のデータ転
送を行う際に、そのデータ転送を要求するための転送要
求を調停する第1の調停回路と、そのデータ転送を行う
ための転送要求を調停する第2の調停回路とを備えてい
る。
That is, the arbitration circuit of the present invention has a plurality of devices constituting a system, and when performing data transfer between two devices in a configuration in which each of the devices can mutually transfer data, the data transfer is performed. And a second arbitration circuit for arbitrating a transfer request for performing the data transfer.

【0018】データ転送を行う装置はデータ転送先の調
停回路に対して転送要求を発行する。ここで、転送要求
は(A)系/(B)系に分けられ、夫々別々の第1及び
第2の調停回路[(A)系の調停回路及び(B)系の調
停回路]に取込まれる。但し、取込まれるタイミングは
夫々の調停回路内の転送要求が全て処理された時であ
る。
A device that performs data transfer issues a transfer request to an arbitration circuit of a data transfer destination. Here, the transfer request is divided into (A) system / (B) system, and is taken into separate first and second arbitration circuits ((A) arbitration circuit and (B) arbitration circuit). It is. However, the fetch timing is when all the transfer requests in the respective arbitration circuits have been processed.

【0019】(A)系の調停回路/(B)系の調停回路
各々では取込んだ転送要求の中で一番優先順位の高い転
送元装置を選択する。(A)系の調停回路/(B)系の
調停回路各々で選択された転送元装置のどちらか一方の
系に対して転送許可を与える。
Each of the arbitration circuit (A) / arbitration circuit (B) selects the transfer source device having the highest priority among the fetched transfer requests. A transfer permission is given to one of the transfer source devices selected by the (A) system arbitration circuit / (B) system arbitration circuit.

【0020】ここで、(A)系に対して許可が与えられ
た場合、(A)系の調停回路に取込まれていた転送要求
が全て処理された後、(B)系に対して転送許可が与え
られる。以後、このようにして(A)系/(B)系を交
互に切換えていく。
Here, when permission is given to the (A) system, after all transfer requests taken into the arbitration circuit of the (A) system are processed, the transfer to the (B) system is performed. Permission is given. Thereafter, the (A) system / (B) system is alternately switched in this manner.

【0021】但し、(A)系/(B)系のデータバッフ
ァが別々に存在する時に現在転送許可が与えられている
系の転送先装置のバッファに空きが無い等の原因で転送
が行えなくなった時は転送が可能になるまでもう一方の
系の転送を行う。
However, when the (A) / (B) data buffers are separately present, the transfer cannot be performed because there is no free space in the buffer of the transfer destination device of the system to which the transfer permission is currently given. In this case, transfer of the other system is performed until transfer becomes possible.

【0022】これによって、(A)系/(B)系(リク
エスト系/リプライ系)の間での処理の偏りを少なくす
ることが可能となり、システム全体の処理能力の低下を
防ぐことが可能となる。
As a result, it is possible to reduce the processing bias between the (A) system / (B) system (request system / reply system) and to prevent a reduction in the processing capacity of the entire system. Become.

【0023】[0023]

【発明の実施の形態】次に、本発明の一実施例について
図面を参照して説明する。図1は本発明の一実施例によ
る調停回路の構成を示すブロック図である。図におい
て、本発明の一実施例による調停回路はリクエスト系調
停回路1と、リプライ系調停回路2と、切換えフリップ
フロップ(以下、FFとする)3と、セレクタ4と、エ
ンコーダ5と、リクエスト系データバッファ6−i(i
=1,……)と、リプライ系データバッファ7−j(j
=1,……)と、アンド回路8〜13,16〜19と、
オア回路14と、排他的論理和回路15とから構成され
ている。
Next, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a configuration of an arbitration circuit according to one embodiment of the present invention. In the figure, an arbitration circuit according to one embodiment of the present invention includes a request arbitration circuit 1, a reply arbitration circuit 2, a switching flip-flop (hereinafter, referred to as FF) 3, a selector 4, an encoder 5, a request Data buffer 6-i (i
= 1,...) And the reply data buffer 7-j (j
= 1,...) And AND circuits 8-13, 16-19,
An OR circuit 14 and an exclusive OR circuit 15 are provided.

【0024】リクエスト系調停回路1はリクエスト系デ
ータバッファ6−iからの転送要求信号STA11,2
1,31,41と転送終了信号END11,21,3
1,41とを入力してリクエスト系の転送要求を調停
し、調停結果TYO11,21,31,41を出力す
る。
The request-related arbitration circuit 1 includes transfer request signals STA11 and STA11 from the request-related data buffer 6-i.
1, 31, 41 and the transfer end signals END 11, 21, 3
1, 41 are input to arbitrate the transfer requests of the request system, and the arbitration results TYO 11, 21, 31, 41 are output.

【0025】リプライ系調停回路2はリプライ系データ
バッファ7−jからの転送要求信号STA12,22,
32,42と転送終了信号END12,22,32,4
2とを入力してリプライ系の転送要求を調停し、調停結
果TYO12,22,32,42を出力する。
The reply arbitration circuit 2 transfers transfer request signals STA12, STA22, STA22 from the reply data buffer 7-j.
32, 42 and transfer end signals END12, 22, 32, 4
2 to arbitrate the transfer request of the reply system and output the arbitration results TYO 12, 22, 32, 42.

【0026】切換えフリップフロップ3とアンド回路8
〜13,16〜19とオア回路14と排他的論理和回路
15とはリクエスト系調停回路1及びリプライ系調停回
路2のうちの一方が処理動作している時に他方の処理動
作の結果の出力を抑止し、一方の処理動作が完了すると
他方の処理動作の結果の出力を許可する。
Switching flip-flop 3 and AND circuit 8
, 13, 16 to 19, the OR circuit 14, and the exclusive OR circuit 15, when one of the request arbitration circuit 1 and the reply arbitration circuit 2 is processing, the output of the result of the other processing operation is output. When one processing operation is completed, the output of the result of the other processing operation is permitted.

【0027】すなわち、アンド回路8〜11は排他的論
理和回路15から“0”が入力されると、リクエスト系
調停回路1からの調停結果TYO11,21,31,4
1を転送許可CHO11,21,31,41として出力
する。アンド回路16〜19は排他的論理和回路15か
ら“1”が入力されると、リプライ系調停回路2からの
調停結果TYO12,22,32,42を転送許可CH
O12,22,32,42として出力する。
That is, when “0” is input from the exclusive OR circuit 15, the AND circuits 8 to 11 receive the arbitration results TYO 11, 21, 31, 4 from the request-related arbitration circuit 1.
1 is output as transfer permission CHO 11, 21, 31, 41. When "1" is input from the exclusive OR circuit 15, the AND circuits 16 to 19 transfer the arbitration results TYO12, 22, 32, and 42 from the reply arbitration circuit 2 to the transfer permission CH.
Output as O12,22,32,42.

【0028】セレクタ4はアンド回路8〜11,16〜
19各々の出力のエンコーダ5でのエンコード結果をセ
レクト信号SELとして入力し、そのセレクト信号SE
Lに応じてリクエスト系データバッファ6−i及びリプ
ライ系データバッファ7−jに格納されたデータのうち
の一つを選択して出力する。
The selector 4 comprises AND circuits 8-11, 16-
19, the encoding result of the output of the encoder 5 is input as a select signal SEL, and the select signal SE
According to L, one of the data stored in the request data buffer 6-i and the data stored in the reply data buffer 7-j is selected and output.

【0029】図2は図1のリクエスト系調停回路1の構
成を示すブロック図である。図において、リクエスト系
調停回路1はアンド回路21〜28,34〜37,39
〜42と、転送要求保持FF29〜32と、ノア回路3
3と、オフ回路38,43とから構成されている。尚、
図示していないが、リプライ系調停回路2もリクエスト
系調停回路1と同様の構成となっている。
FIG. 2 is a block diagram showing the configuration of the request arbitration circuit 1 of FIG. In the figure, a request arbitration circuit 1 includes AND circuits 21 to 28, 34 to 37, and 39.
, The transfer request holding FFs 29 to 32, and the NOR circuit 3
3 and off circuits 38 and 43. still,
Although not shown, the reply arbitration circuit 2 has the same configuration as the request arbitration circuit 1.

【0030】図3は本発明の一実施例のシステム構成を
示すブロック図である。図において、本発明の一実施例
によるシステムは4つのノード51〜54と、各ノード
51〜54間でスイッチングを行うクロスバスイッチ5
5とから構成されている。
FIG. 3 is a block diagram showing a system configuration according to an embodiment of the present invention. In the figure, a system according to an embodiment of the present invention includes four nodes 51 to 54 and a crossbar switch 5 for switching between the nodes 51 to 54.
And 5.

【0031】クロスバスイッチ55には上記の調停回路
を備えており、各ノード51〜54から送出されるデー
タはリクエスト系データバッファ6−i及びリプライ系
データバッファ7−jに格納される。
The crossbar switch 55 includes the above-described arbitration circuit, and data sent from each of the nodes 51 to 54 is stored in the request data buffer 6-i and the reply data buffer 7-j.

【0032】これら図1〜図3を用いて本発明の一実施
例による調停回路の調停動作について説明する。
The arbitration operation of the arbitration circuit according to one embodiment of the present invention will be described with reference to FIGS.

【0033】リクエスト系データバッファ6−i及びリ
プライ系データバッファ7−jは各々ノード51行き用
とノード52行き用とノード53行き用とノード54行
き用とに分けられ、ノード51〜54から送出されたデ
ータは夫々対応するデータバッファに格納される。
The request-related data buffer 6-i and the reply-related data buffer 7-j are respectively divided into one for the node 51, one for the node 52, one for the node 53, and one for the node 54. The obtained data is stored in the corresponding data buffers.

【0034】リクエスト系データバッファ6−iはデー
タが格納されると、そのデータの転送先ノードに対応す
るリクエスト系調停回路1に対して転送要求信号STA
11,21,31,41を発行し、リプライ系データバ
ッファ7−jはデータが格納されると、そのデータの転
送先ノードに対応するリプライ系調停回路2に対して転
送要求信号STA12,22,32,42を発行する。
When the data is stored, the request data buffer 6-i sends a transfer request signal STA to the request arbitration circuit 1 corresponding to the transfer destination node of the data.
When the data is stored, the reply data buffer 7-j issues a transfer request signal STA12,22,21 to the reply system arbitration circuit 2 corresponding to the transfer destination node of the data. 32 and 42 are issued.

【0035】リクエスト系調停回路1及びリプライ系調
停回路2内に取込んだ転送要求を保持する転送要求保持
FF29〜32が全て“0”になった時、リクエスト系
調停回路1及びリプライ系調停回路2は新たな転送要求
信号STA1〜STA4を受付ける。
When all of the transfer request holding FFs 29 to 32 holding the transfer requests fetched in the request arbitration circuit 1 and the reply arbitration circuit 2 become "0", the request arbitration circuit 1 and the reply arbitration circuit 2 receives new transfer request signals STA1 to STA4.

【0036】ここで、送り先ノード側のデータバッファ
をクロスバスイッチ55内に設けたフローカウンタ(図
示せず)でフロー制御し、受付けた転送要求のうち、転
送要求とともに送られてくる情報の中に含まれるデータ
転送量とデータ送出先のデータバッファの空き容量とを
比較してデータ転送量の方が大きい時、ホールド信号H
LD1〜4がセットされてホールド状態となるので、そ
の転送要求は調停に参加することができなくなる。
Here, the data buffer on the destination node side is flow-controlled by a flow counter (not shown) provided in the crossbar switch 55, and among the received transfer requests, the information transmitted together with the transfer request is included. Comparing the included data transfer amount with the free space of the data buffer of the data transmission destination, when the data transfer amount is larger, the hold signal H
Since the LDs 1 to 4 are set to be in the hold state, the transfer request cannot participate in the arbitration.

【0037】調停に参加することができる転送要求が全
て無くなると、信号ERQが“1”となる。ホールド信
号HLD1〜4はデータ送出先のデータバッファの空き
容量がデータ転送量より大きくなった時に“0”とな
る。そして、リクエスト系調停回路1及びリプライ系調
停回路2は取込まれた転送要求のうちのホールド状態で
ない転送要求を調停し、調停結果TYO1〜4のうちの
1つを“1”とする。
When all the transfer requests that can participate in arbitration disappear, the signal ERQ becomes "1". The hold signals HLD1 to HLD4 become "0" when the free space of the data buffer of the data transmission destination becomes larger than the data transfer amount. Then, the request arbitration circuit 1 and the reply arbitration circuit 2 arbitrate the transfer requests that are not in the hold state among the fetched transfer requests and set one of the arbitration results TYO1 to TYO4 to “1”.

【0038】調停結果TYO1〜4はこのリクエスト系
調停回路1及びリプライ系調停回路2の調停結果が有効
になる時、転送許可CHO1〜4のうちの1つが“1”
となり、転送が開始されて転送終了信号END1〜4が
“1”になると、転送要求保持FF29〜32は「0」
になり、転送が終了する。転送要求保持FF29〜32
の中で残りの1つの転送要求に対する転送終了信号EN
D1〜4が“1”になった時に信号TRMが“1”にな
る。
When the arbitration results of the request arbitration circuit 1 and the reply arbitration circuit 2 become valid, one of the transfer permission CHO1 to CHO4 is "1".
When the transfer is started and the transfer end signals END1 to END4 become "1", the transfer request holding FFs 29 to 32 become "0".
And the transfer ends. Transfer request holding FFs 29 to 32
Transfer end signal EN for the remaining one transfer request
When D1 to D4 become "1", the signal TRM becomes "1".

【0039】次に、全ての転送要求がホールド状態でな
い時、すなわち信号ERQが“0”の時のリクエスト系
調停回路1及びリプライ系調停回路2の切換え手順につ
いて説明する。
Next, the switching procedure of the request arbiter 1 and the reply arbiter 2 when all the transfer requests are not in the hold state, that is, when the signal ERQ is "0" will be described.

【0040】切換えFF3が“0”の時はリクエスト系
調停回路1の調停結果TYO11,21,31,41が
有効となり、転送許可CHO11,21,31,41が
“1”になる。そして、リクエスト系調停回路1に取込
まれていた調停要求に対する最後の転送データが出力さ
れ、信号TRM1が“1”になると同時に、切換えFF
3がセットされる。
When the switching FF3 is "0", the arbitration results TYO11, 21, 31, 41 of the request-related arbitration circuit 1 become valid, and the transfer permission CHOs 11, 21, 31, 41 become "1". Then, the last transfer data corresponding to the arbitration request taken into the request arbitration circuit 1 is output, and at the same time when the signal TRM1 becomes "1", the switching FF is output.
3 is set.

【0041】これによって、リプライ系調停回路2の調
停結果TY012,22,32,42が有効となり、転
送許可CH012,22,32,42が“1”になる。
そして、リプライ系調停回路2に取込まれていた調停要
求に対する最後の転送データが出力され、信号TRM2
が“1”になると同時に、切換えFF3がリセットされ
る。
As a result, the arbitration results TY012, 22, 32, and 42 of the reply arbitration circuit 2 become valid, and the transfer permission CH012, 22, 32, and 42 become "1".
Then, the last transfer data corresponding to the arbitration request taken into the reply arbitration circuit 2 is output, and the signal TRM2
Becomes "1" at the same time, the switching FF3 is reset.

【0042】送り先ノード側のデータバッファがリクエ
スト系/リプライ系に分かれているような構成で、夫々
別々にフロー制御されているような場合に、ホールドが
発生した時の処理について説明する。
A description will now be given of the processing when a hold occurs in a case where the data buffer on the destination node side is divided into a request system and a reply system and flow control is performed separately for each.

【0043】切換えFF3が“0”でリクエスト系調停
回路1に取込まれていた転送要求が全て無くなる前に調
停に参加できる転送要求が全て無くなった時(信号TR
M1が“1”になる前に信号ERQ1が“0”になった
時)、リプライ系調停回路2に転送可能な転送要求があ
れば(信号ERQ2が“1”)、切換えFF3の内容に
関係なくリプライ系調停回路2の転送を行う。
When the switching FF3 is "0" and all the transfer requests that can participate in arbitration disappear before all the transfer requests taken into the request arbitration circuit 1 disappear (signal TR).
If the signal ERQ1 becomes "0" before M1 becomes "1", and if there is a transfer request that can be transferred to the reply arbitration circuit 2 (signal ERQ2 is "1"), it is related to the contents of the switching FF3. And the transfer of the reply arbitration circuit 2 is performed.

【0044】本来転送を行うべきリクエスト調停回路1
で転送が可能になる(信号ERQ1が“1”になる)
と、リプライ系調停回路2で行われている転送の転送終
了(転送終了信号END12,22,32,42が
“1”)を待ってリクエスト系調停回路1の転送が再開
される。切換えFF3が“1”の場合にも同様の処理動
作が行われる。
Request arbitration circuit 1 which should originally perform transfer
To enable transfer (signal ERQ1 becomes "1")
Then, the transfer of the request arbitration circuit 1 is restarted after the transfer of the transfer performed by the reply arbitration circuit 2 is completed (the transfer end signals END12, 22, 32, and 42 are "1"). When the switching FF3 is "1", the same processing operation is performed.

【0045】このように、転送要求をリクエスト系/リ
プライ系に分けて調停を行い、どちらか一方の系に対し
て転送許可を与え(2段階調停)、その系の調停回路内
に取込まれていた転送要求が全て終了したらもう一方の
系に対して転送許可を与えることによって、複数の装置
からの転送要求が(A)系/(B)系(リクエスト系/
リプライ系)に分けられるような時、2つの(A)系/
(B)系間での処理の偏りを少なくすることができ、シ
ステム全体の処理能力の低下を防ぐことができる。
As described above, the transfer request is arbitrated by dividing it into the request system and the reply system, the transfer permission is given to one of the systems (two-stage arbitration), and the transfer request is taken into the arbitration circuit of the system. When all of the transfer requests that have been completed are completed, a transfer permission is given to the other system, so that transfer requests from a plurality of devices are transferred to the (A) system / (B) system (request system /
Replies), two (A) /
(B) Processing bias among systems can be reduced, and a reduction in the processing capacity of the entire system can be prevented.

【0046】ここで、上述した処理において、リクエス
ト系調停回路1及びリプライ系調停回路2には夫々、各
ノード51〜54から一度に複数の転送要求が入力され
るようになっており、リクエスト系調停回路1及びリプ
ライ系調停回路2はそれら複数の転送要求を一つずつ処
理するよう構成されている。
Here, in the above-described processing, a plurality of transfer requests are input to the request-related arbitration circuit 1 and the reply-related arbitration circuit 2 at a time from each of the nodes 51 to 54, respectively. The arbitration circuit 1 and the reply arbitration circuit 2 are configured to process the plurality of transfer requests one by one.

【0047】この場合、上記の処理ではリクエスト系調
停回路1及びリプライ系調停回路2の一方がそれら複数
の転送要求を全て処理するまで、他方の処理が行われな
いが、リクエスト系調停回路1及びリプライ系調停回路
2の一方がそれら複数の転送要求のうちの一つの処理が
完了する毎に、他方の処理を行うよう構成することも可
能である。
In this case, in the above processing, the other processing is not performed until one of the request arbitration circuit 1 and the reply arbitration circuit 2 processes all of the plurality of transfer requests. Each time one of the plurality of transfer requests is completed, one of the reply arbitration circuits 2 may perform the other process.

【0048】尚、請求項の記載に関連して本発明はさら
に次の態様をとりうる。
The present invention can take the following aspects in connection with the description of the claims.

【0049】(1)相互にデータ転送可能な複数の装置
間でデータ転送を行う際にそのデータ転送を要求するた
めのリクエスト系転送要求及びそのデータ転送を行うた
めのリプライ系転送要求を調停する調停回路であって、
前記リクエスト系転送要求を調停するリクエスト系調停
手段と、前記リプライ系転送要求を調停するリプライ系
調停手段と、前記リクエスト系調停手段で調停された前
記リクエスト系転送要求に対する転送許可と前記リプラ
イ系調停手段で調停された前記リプライ系転送要求に対
する転送許可とを交互に発行する発行手段とを有するこ
とを特徴とする調停回路。
(1) When performing data transfer between a plurality of devices capable of mutually transferring data, a request transfer request for requesting the data transfer and a reply transfer request for performing the data transfer are arbitrated. An arbitration circuit,
Request arbitration means for arbitrating the request transfer request; reply arbitration means for arbitrating the reply transfer request; transfer permission for the request transfer request arbitrated by the request arbitration means; and reply arbitration. Issuing means for alternately issuing transfer permission for the reply transfer request arbitrated by the means.

【0050】(2)前記発行手段は、前記リクエスト系
調停手段に取込まれた前記リクエスト系転送要求全てに
対する転送許可を発行した後に前記リプライ系調停手段
に取込まれた前記リプライ系転送要求全てに対する転送
許可を発行するよう構成したことを特徴とする(1)記
載の調停回路。
(2) The issuing means issues all transfer requests for the request-related transfer requests incorporated in the request-related arbitration means, and thereafter issues all transfer-related transfer requests incorporated in the reply-related arbitration means. (1) wherein the transfer arbitration circuit is configured to issue a transfer permission to the arbitration circuit.

【0051】(3)前記リクエスト系調停手段は、前記
リプライ系調停手段に取込まれた前記リプライ系転送要
求が全て処理された後に前記リクエスト系転送要求を取
込むよう構成し、前記リプライ系調停手段は、前記リク
エスト系調停手段に取込まれた前記リクエスト系転送要
求が全て処理された後に前記リプライ系転送要求を取込
むよう構成したことを特徴とする(1)または(2)記
載の調停回路。
(3) The request arbitration means is configured to fetch the request transfer request after all the replies transfer request received by the reply arbitration means are processed. The arbitration according to (1) or (2), wherein the means is configured to fetch the reply transfer request after all the request transfer requests taken into the request arbitration means are processed. circuit.

【0052】(4)前記リクエスト系調停手段及び前記
リプライ系調停手段各々は、取込んだ前記リクエスト系
転送要求及び前記リプライ系転送要求各々をその優先順
位に基づいて選択するよう構成したことを特徴とする
(1)から(3)のいずれか記載の調停回路。
(4) The request arbitration means and the reply arbitration means are each configured to select the fetched request transfer request and the reply transfer request based on their priority. The arbitration circuit according to any one of (1) to (3).

【0053】(5)前記リクエスト系調停手段及び前記
リプライ系調停手段のうちの一方で調停された転送要求
に対応する転送が不可となった時に当該転送要求による
転送が可能となるまで前記リクエスト系調停手段及び前
記リプライ系調停手段のうちの他方で調停された転送要
求に対応する転送を行うよう構成したことを特徴とする
(1)から(4)のいずれか記載の調停回路。
(5) When the transfer corresponding to the arbitrated transfer request is disabled in one of the request arbitration means and the reply arbitration means, the request system arbitration means continues until the transfer by the transfer request becomes possible. The arbitration circuit according to any one of (1) to (4), wherein the arbitration circuit is configured to perform a transfer corresponding to the transfer request arbitrated by the other of the arbitration unit and the reply arbitration unit.

【0054】[0054]

【発明の効果】以上説明したように本発明によれば、相
互にデータ転送可能な複数の装置間でデータ転送を行う
際にそのデータ転送を要求するためのリクエスト系転送
要求及びそのデータ転送を行うためのリプライ系転送要
求を調停する調停回路において、リクエスト系転送要求
を調停するリクエスト系調停手段と、リプライ系転送要
求を調停するリプライ系調停手段と、リクエスト系調停
手段で調停されたリクエスト系転送要求に対する転送許
可とリプライ系調停手段で調停されたリプライ系転送要
求に対する転送許可とを交互に発行することによって、
リクエスト系/リプライ系の間での処理の偏りを少なく
することができ、システム全体の処理能力の低下を防ぐ
ことができるという効果がある。
As described above, according to the present invention, when performing data transfer between a plurality of devices capable of mutually transferring data, a request-related transfer request for requesting the data transfer and the data transfer are performed. Request arbitration means for arbitrating a request transfer request, a reply arbitration means for arbitrating a reply transfer request, and a request arbitration means arbitrated by the request arbitration means. By alternately issuing a transfer permission for the transfer request and a transfer permission for the reply transfer request arbitrated by the reply arbitration means,
It is possible to reduce the processing bias between the request system and the reply system, and to prevent a reduction in the processing capacity of the entire system.

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

【図1】本発明の一実施例による調停回路の構成を示す
ブロック図である。
FIG. 1 is a block diagram showing a configuration of an arbitration circuit according to one embodiment of the present invention.

【図2】図1のリクエスト系調停回路の構成を示すブロ
ック図である。
FIG. 2 is a block diagram showing a configuration of a request arbitration circuit of FIG. 1;

【図3】本発明の一実施例のシステム構成を示すブロッ
ク図である。
FIG. 3 is a block diagram illustrating a system configuration according to an embodiment of the present invention.

【図4】従来例による調停回路の構成を示すブロック図
である。
FIG. 4 is a block diagram illustrating a configuration of an arbitration circuit according to a conventional example.

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

1 リクエスト系調停回路 2 リプライ系調停回路 3 切換えフリップフロップ 4 セレクタ 5 エンコーダ 6−1 リクエスト系データバッファ 7−1 リプライ系データバッファ 8〜13,16〜19 アンド回路 14 オア回路 15 排他的論理和回路 DESCRIPTION OF SYMBOLS 1 Request system arbitration circuit 2 Reply system arbitration circuit 3 Switching flip-flop 4 Selector 5 Encoder 6-1 Request system data buffer 7-1 Reply system data buffer 8-13, 16-19 AND circuit 14 OR circuit 15 Exclusive OR circuit

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 相互にデータ転送可能な複数の装置間で
データ転送を行う際にそのデータ転送を要求するための
第1の転送要求及びそのデータ転送を行うための第2の
転送要求を調停する調停回路であって、前記第1の転送
要求を調停する第1の調停手段と、前記第2の転送要求
を調停する第2の調停手段と、前記第1の調停手段で調
停された前記第1の転送要求に対する転送許可と前記第
2の調停手段で調停された前記第2の転送要求に対する
転送許可とを交互に発行する発行手段とを有することを
特徴とする調停回路。
1. A method for arbitrating a first transfer request for requesting a data transfer and a second transfer request for performing the data transfer when performing data transfer between a plurality of devices capable of mutually transferring data. An arbitration circuit that arbitrates the first transfer request, a second arbitration unit that arbitrates the second transfer request, and the arbitration circuit that is arbitrated by the first arbitration unit. An arbitration circuit comprising: issuing means for alternately issuing a transfer permission for a first transfer request and a transfer permission for the second transfer request arbitrated by the second arbitration means.
【請求項2】 前記発行手段は、前記第1の調停手段に
取込まれた前記第1の転送要求全てに対する転送許可を
発行した後に前記第2の調停手段に取込まれた前記第2
の転送要求全てに対する転送許可を発行するよう構成し
たことを特徴とする請求項1記載の調停回路。
2. The issuing means according to claim 1, wherein said issuing means issues a transfer permission for all of said first transfer requests taken in by said first arbitration means, and thereafter issues said second permission received by said second arbitration means.
2. The arbitration circuit according to claim 1, wherein a transfer permission is issued for all the transfer requests.
【請求項3】 前記第1の調停手段は、前記第2の調停
手段に取込まれた前記第2の転送要求が全て処理された
後に前記第1の転送要求を取込むよう構成し、前記第2
の調停手段は、前記第1の調停手段に取込まれた前記第
1の転送要求が全て処理された後に前記第2の転送要求
を取込むよう構成したことを特徴とする請求項1または
請求項2記載の調停回路。
3. The first arbitration means is configured to fetch the first transfer request after all of the second transfer requests fetched by the second arbitration means are processed, Second
2. The arbitration means according to claim 1, wherein said second transfer request is fetched after all of said first transfer requests fetched by said first arbitration means have been processed. Item 2. The arbitration circuit according to Item 2.
【請求項4】 前記第1の調停手段及び前記第2の調停
手段各々は、取込んだ前記第1の転送要求及び前記第2
の転送要求各々をその優先順位に基づいて選択するよう
構成したことを特徴とする請求項1から請求項3のいず
れか記載の調停回路。
4. The first arbitration unit and the second arbitration unit each receive the first transfer request and the second
4. The arbitration circuit according to claim 1, wherein each of the transfer requests is selected based on its priority.
【請求項5】 前記第1の調停手段及び前記第2の調停
手段のうちの一方で調停された転送要求に対応する転送
が不可となった時に当該転送要求による転送が可能とな
るまで前記第1の調停手段及び前記第2の調停手段のう
ちの他方で調停された転送要求に対応する転送を行うよ
う構成したことを特徴とする請求項1から請求項4のい
ずれか記載の調停回路。
5. When the transfer corresponding to the transfer request arbitrated by one of the first arbitration means and the second arbitration means becomes impossible, the transfer is performed until the transfer by the transfer request becomes possible. 5. The arbitration circuit according to claim 1, wherein a transfer corresponding to the transfer request arbitrated by the other of the first arbitration unit and the second arbitration unit is performed.
JP23065697A 1997-08-27 1997-08-27 Arbitration circuit Expired - Fee Related JP3667504B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23065697A JP3667504B2 (en) 1997-08-27 1997-08-27 Arbitration circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23065697A JP3667504B2 (en) 1997-08-27 1997-08-27 Arbitration circuit

Publications (2)

Publication Number Publication Date
JPH1166025A true JPH1166025A (en) 1999-03-09
JP3667504B2 JP3667504B2 (en) 2005-07-06

Family

ID=16911232

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23065697A Expired - Fee Related JP3667504B2 (en) 1997-08-27 1997-08-27 Arbitration circuit

Country Status (1)

Country Link
JP (1) JP3667504B2 (en)

Also Published As

Publication number Publication date
JP3667504B2 (en) 2005-07-06

Similar Documents

Publication Publication Date Title
US5179669A (en) Multiprocessor interconnection and access arbitration arrangement
JPH0740250B2 (en) A device that controls access to the data bus
JP3084218B2 (en) Communication method and synchronous communication system
US5987552A (en) Bus protocol for atomic transactions
US6629178B1 (en) System and method for controlling bus access for bus agents having varying priorities
JP3667504B2 (en) Arbitration circuit
JPH10320349A (en) Processor and data transfer system using the processor
JP3747020B2 (en) Crossbar mediation system
JP3481445B2 (en) Competition mediation method
JP2947195B2 (en) Interrupt mask control method
JP2718702B2 (en) Memory access control method
JPH11184805A (en) Bus system
JPH06266657A (en) Information processor
JPH0562384B2 (en)
JPH03252847A (en) System bus arbitrating system
JPH09128327A (en) Bus arbiter
JP3050131B2 (en) Arbitration method
JP2699873B2 (en) Bus control circuit
JPH09237249A (en) Arbitration circuit
JPS5936863A (en) Circuit for controlling access competition of common resource
JPS6160162A (en) Bus arbitration system
JP2935457B1 (en) Arbitration device and communication device using the same
JPH0234062B2 (en) MARUCHIPUROSETSUSASHISUTEMUNIOKERUMEMORIAKUSESUSEIGYOHOSHIKI
JPH04308955A (en) Multiprocessor device
EP0537898B1 (en) Computer system including video subsystem

Legal Events

Date Code Title Description
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: 20050322

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050406

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

S633 Written request for registration of reclamation of name

Free format text: JAPANESE INTERMEDIATE CODE: R313633

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

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

Free format text: PAYMENT UNTIL: 20080415

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20090415

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100415

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110415

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120415

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120415

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130415

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees