JPH11212927A - Conflict arbitration method - Google Patents
Conflict arbitration methodInfo
- Publication number
- JPH11212927A JPH11212927A JP1050398A JP1050398A JPH11212927A JP H11212927 A JPH11212927 A JP H11212927A JP 1050398 A JP1050398 A JP 1050398A JP 1050398 A JP1050398 A JP 1050398A JP H11212927 A JPH11212927 A JP H11212927A
- Authority
- JP
- Japan
- Prior art keywords
- output
- data
- value
- input
- processors
- 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
Links
- 238000000034 method Methods 0.000 title claims description 21
- 239000000872 buffer Substances 0.000 claims abstract description 73
- 230000010365 information processing Effects 0.000 claims description 7
- 230000002860 competitive effect Effects 0.000 claims description 6
- 230000005540 biological transmission Effects 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 19
- 230000006870 function Effects 0.000 description 5
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 230000001174 ascending effect Effects 0.000 description 1
- 230000003139 buffering effect Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
Landscapes
- Multi Processors (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は競合調停方法に関
し、特に競合調停回路が複数のプロセッサとメモリとの
間のそれぞれが独立した要素の転送時の競合調停および
複数のプロセッサがノード間接続装置を介して接続する
複数のノードとの間のデータ転送時の競合調停とを共に
行う競合調停方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a contention arbitration method, and more particularly to a contention arbitration circuit in which a contention arbitration circuit transfers contention-dependent elements between a plurality of processors and a memory, and a plurality of processors form an inter-node connection device. The present invention relates to a contention arbitration method for performing contention arbitration at the time of data transfer between a plurality of nodes connected via the same device.
【0002】[0002]
【従来の技術】従来の競合調停方法は、調停の対象が一
種類の転送先への転送要求であることが多く、例えば、
「特開平6-195313」で示されるものの場合であれば、様
々な事例に対応可能な工夫が織り込まれている。しかし
ながら、基本的には一種類の転送先への転送要求機能
を、優先順位の切り替え機能を用いて、全プライオリテ
ィ回路における優先順の乱れを生じなくさせることを可
能とし、競合によるアクセス性能の低下を防いでいる
が、調停の対象が複数種類の転送先への転送要求である
例には対応していない。2. Description of the Related Art In a conventional competitive arbitration method, the target of arbitration is often a transfer request to one type of transfer destination.
In the case of Japanese Patent Application Laid-Open No. 6-195313, a device that can cope with various cases is incorporated. However, basically, the function of requesting transfer to one type of transfer destination can be prevented from disturbing the priority order in all priority circuits by using the priority switching function, and the access performance is reduced due to contention. However, it does not correspond to an example in which the arbitration target is a transfer request to a plurality of types of transfer destinations.
【0003】複数種類の転送先への転送要求である例と
しては、「特開平6-195313」とは構成が異なるが、図7
の回路図に従来の高速クロスバスイッチ制御用競合調停
回路の一例を示す。As an example of a transfer request to a plurality of types of transfer destinations, although the configuration is different from that of JP-A-6-195313, FIG.
FIG. 1 shows an example of a conventional competitive arbitration circuit for controlling a high-speed crossbar switch.
【0004】この従来の高速クロスバスイッチ制御用競
合調停回路は、図6のブロック図に示される本発明と同
様なサービスを実施する従来の情報処理装置に適用する
ものである。[0004] This conventional high-speed crossbar switch control contention arbitration circuit is applied to a conventional information processing apparatus which performs the same service as the present invention shown in the block diagram of FIG.
【0005】まず図6の構成について説明する。全体と
しては、複数のプロセッサ100,101,102,1
03と、プロセッサ100,101,102,103が
共通に使用するメモリ104と、プロセッサ100,1
01,102,103とメモリ104との間を接続する
クロスバネットワーク105とを単位ノードとし、この
ノードがノード間接続装置106を介して複数のノード
と接続している情報処理装置である。更にクロスバネッ
トワーク105は、複数のプロセッサに対応に設けてあ
る入力バッファ107,108,109,110と、複
数のプロセッサ100,101,102,103とメモ
リ104との間のそれぞれが独立した要素の転送時の競
合調停、およびプロセッサ100,101,102,1
03がノード間接続装置106を介して接続する複数の
ノードとの間のデータ転送時の競合調停とを共に行いセ
レクト信号を出力する競合調停回路111と、競合調停
回路111の出力する転送を指示するセレクト信号に従
って複数の入力バッファ107,108,109,11
0から送られてくる要素の中から1つの要素を選択しメ
モリ104とノード間接続装置106とのいずれか一方
に出力するデータセレクタ部112とで構成している。First, the configuration of FIG. 6 will be described. As a whole, a plurality of processors 100, 101, 102, 1
03, a memory 104 commonly used by the processors 100, 101, 102, and 103;
A crossbar network 105 that connects between the memory devices 01, 102, and 103 and the memory 104 is a unit node, and this node is an information processing device that is connected to a plurality of nodes via an internode connection device 106. Further, the crossbar network 105 transfers input elements 107, 108, 109, 110 provided for a plurality of processors, and independent elements between the plurality of processors 100, 101, 102, 103 and the memory 104. Conflict arbitration at the time, and the processors 100, 101, 102, 1
03, a contention arbitration circuit 111 that performs contention arbitration at the time of data transfer with a plurality of nodes connected via the inter-node connection device 106, and outputs a select signal; and a transfer instruction output by the contention arbitration circuit 111. The plurality of input buffers 107, 108, 109, 11
A data selector unit 112 selects one element from elements transmitted from 0 and outputs the selected element to either the memory 104 or the inter-node connection device 106.
【0006】つぎに図7の構成について説明する。入力
バッファ107〜110は、図示していないプロセッサ
と接続し転送リクエストデータを受けデータと要素連続
数情報(以下TAGと記す)とを出力する。リクエスト
種類認識回路113は、入力バッファ107〜110か
らTAGを受けリクエストがあるポートに対応するビッ
トに”1”を立ててセレクタ114に送出する。セレク
タ114は、論理和回路(以下ORと記す)115の出
力をセレクト信号としてこれが”0”ならばリクエスト
種類認識回路113の出力を選択し”1”ならばレジス
タ116の出力値を選択する。プライオリティエンコー
ダ117は、優先順位固定式である。インバータ118
は、プライオリティエンコーダ117の出力値の反転値
をとるものである。論理積回路119は、セレクタ11
4の出力値とインバータ118の出力値との論理積をと
る。レジスタ116は、論理積回路119の出力値を入
力する、OR115は、レジスタ出力値の論理和をと
る。分配回路120は、OR115の出力を4bitに
分配しHold信号として出力する。Next, the configuration of FIG. 7 will be described. The input buffers 107 to 110 are connected to a processor (not shown), receive transfer request data, and output data and element continuation number information (hereinafter, referred to as TAG). The request type recognition circuit 113 receives the TAG from the input buffers 107 to 110, sets the bit corresponding to the port having the request to “1”, and sends the bit to the selector 114. The selector 114 uses the output of an OR circuit (hereinafter referred to as OR) 115 as a select signal, selects the output of the request type recognition circuit 113 if this is "0", and selects the output value of the register 116 if this is "1". The priority encoder 117 is of a fixed priority type. Inverter 118
Is an inverted value of the output value of the priority encoder 117. The AND circuit 119 is connected to the selector 11
4 and the output value of the inverter 118. The register 116 inputs the output value of the AND circuit 119, and the OR 115 obtains the logical sum of the register output value. The distribution circuit 120 distributes the output of the OR 115 into 4 bits and outputs it as a Hold signal.
【0007】次に動作について説明する。図8は入力バ
ッファの動作状態をクロック単位に表示した動作図,図
9はクロックごとの各信号のビット状態を表示した説明
図である。説明には図6ないし図9を使用する。Next, the operation will be described. FIG. 8 is an operation diagram showing the operation state of the input buffer in clock units, and FIG. 9 is an explanatory diagram showing the bit state of each signal for each clock. 6 to 9 are used for the description.
【0008】ここでまず、クロック0のタイミングで
は、レジスタ116には”0000”が、入力バッファ
107〜110には図8分図(a)のようなリクエスト
がバッファリングされているとする。ここでA1,A
2,D1,D2は2要素連続の2Tリクエストを、B
1,B2,B3,B4,C1,C2,C3,C4は4要
素連続の4Tリクエストを示す。First, at the timing of clock 0, it is assumed that "0000" is buffered in the register 116 and a request as shown in FIG. 8A is buffered in the input buffers 107 to 110. Where A1, A
2, D1 and D2 transmit a 2T request of two consecutive elements,
1, B2, B3, B4, C1, C2, C3, and C4 indicate a 4T request with four consecutive elements.
【0009】クロック1ではレジスタ116の値は”0
000”なのでOR115の出力値”0”が701の分
配回路で分配されて値が”0000”のHold信号と
して出力される。入力バッファ107〜110ではそれ
ぞれ値が”0”のHold信号を受け取り、バッファリ
ングされている内容を1段滑らせてリクエスト群A1,
B1,C1,D1を競合調停回路111並びにデータセ
レクタ112に出力する。このときの入力バッファの状
態を図7分図(b)に示す。競合調停回路111では各
リクエストの情報部分(以下TAGと呼ぶ)をリクエス
ト種別認識回路113で受け取る。リクエスト種別認識
回路113はTAGを識別して、全て有効なリクエスト
であるので”1111”を出力する。セレクタ114は
セレクト信号として値が”0”であるOR115の出力
値を入力し、リクエスト種別認識回路113の出力値”
1111”を選択し、プライオリティエンコーダ117
に入力する。プライオリティエンコーダ117では”1
111”を入力し、特定の優先順位に従ってアービトレ
ーションを行いセレクト信号として”1000”を出力
する。このときプライオリティエンコーダ117は、入
力する4bitの内、一番左側のbitの優先順位大で
あるとする。データセレク112ではプライオリティエ
ンコーダ117より出力されたセレクト信号”100
0”を入力して、入力ポート#0のデータA1を選択
し、ノード間接続装置106に出力する。インバータ3
02はセレクト信号”1000”の反転値”0111”
を出力する。論理積回路303はセレクタ114の出力
値”1111”とインバータ302の出力値”011
1”の論理積をとり、レジスタ116に”0111”を
出力する。このときの状態を図8分図(a)のクロック
1に示す。At the clock 1, the value of the register 116 is "0".
000 ", the output value" 0 "of the OR 115 is distributed by the distribution circuit 701 and output as a Hold signal having a value of" 0000 ".The input buffers 107 to 110 receive the Hold signals having a value of" 0 ", respectively. The request group A1,
B1, C1, and D1 are output to the contention arbitration circuit 111 and the data selector 112. The state of the input buffer at this time is shown in FIG. In the contention arbitration circuit 111, an information portion of each request (hereinafter, referred to as TAG) is received by the request type recognition circuit 113. The request type recognition circuit 113 identifies the TAG and outputs "1111" because all the requests are valid. The selector 114 inputs the output value of the OR 115 whose value is “0” as the select signal, and outputs the output value of the request type recognition circuit 113 “
1111 "and the priority encoder 117
To enter. "1" is assigned to the priority encoder 117.
111 "is input, arbitration is performed according to a specific priority, and" 1000 "is output as a select signal. At this time, the priority encoder 117 assumes that the leftmost bit among the input 4 bits has the highest priority. In the data select 112, the select signal “100” output from the priority encoder 117 is output.
By inputting 0 ", data A1 of input port # 0 is selected and output to inter-node connecting device 106. Inverter 3
02 is an inverted value “0111” of the select signal “1000”
Is output. The AND circuit 303 outputs the output value “1111” of the selector 114 and the output value “011” of the inverter 302.
The logical AND of "1" is obtained and "0111" is output to the register 116. The state at this time is shown by a clock 1 in FIG.
【0010】クロック2ではレジスタ116の値が”0
111”であるのでOR115の出力値は”1”とな
り、Hold信号として”1111”を出力する。入力
バッファ107〜110ではそれぞれ値が”1”のHo
ld信号を受け取るので入力バッファ107〜110の
状態は変化しない。セレクタ114は制御信号としてO
R115の出力値”1”を入力し、レジスタ116の
値”0111”を選択する。プライオリティエンコーダ
117はセレクタ114の出力値”0111”を入力
し、”0100”をセレクト信号として出力する。デー
タセレクタ112はセレクト信号”0100”を受け取
り、入力バッファ108のデータB1を選択し、ノード
間接続装置106に出力する。インバータ118ではセ
レクト信号を入力し、反転値”1011”を出力する。
論理積回路119はセレクタ114の出力値”011
1”とインバータ118の出力値”1011”との論理
積をとり、”0011”をレジスタ116に出力する。
このときの状態を図9分図(a)のクロック2に示す。At clock 2, the value of register 116 is set to "0".
111 ”, the output value of the OR 115 is“ 1 ”, and“ 1111 ”is output as a Hold signal.
Since the ld signal is received, the state of the input buffers 107 to 110 does not change. The selector 114 receives O as a control signal.
The output value “1” of R115 is input, and the value “0111” of the register 116 is selected. The priority encoder 117 inputs the output value “0111” of the selector 114 and outputs “0100” as a select signal. The data selector 112 receives the select signal “0100”, selects the data B1 in the input buffer 108, and outputs the data B1 to the inter-node connection device 106. The inverter 118 receives a select signal and outputs an inverted value “1011”.
The AND circuit 119 outputs the output value “011” of the selector 114.
The logical product of “1” and the output value “1011” of the inverter 118 is calculated, and “0011” is output to the register 116.
The state at this time is shown by clock 2 in FIG.
【0011】クロック3のタイミングではレジスタの値
が”0011”なのでOR115の出力値は”1”とな
り、Hold信号として”1111”を出力する。入力
バッファ107〜110ではそれぞれ値が”1”のHo
ld信号を受け取るので入力バッファの状態は変化しな
い。セレクタ114は制御信号としてOR115の出力
値”1”を入力し、レジスタ116の値”0011”を
選択する。プライオリティエンコーダ117はセレクタ
114の出力値”0011”を入力し、”0010”を
セレクト信号として出力する。データセレクタ112は
セレクト信号”0010”を受け取り、入力バッファ1
09のデータC1を選択し、ノード間接続装置106に
出力する。インバータ118ではセレクト信号を入力
し、反転値”1101”を出力する。論理積回路119
はセレクタ114の出力値”0011”とインバータ1
18の出力値”1101”との論理積をとり、”000
1”をレジスタ116に出力する。このときの状態を図
9分図(a)のクロック3に示す。At the timing of clock 3, since the register value is "0011", the output value of OR 115 is "1" and "1111" is output as the Hold signal. In the input buffers 107 to 110, Hos each having a value of “1”
Since the ld signal is received, the state of the input buffer does not change. The selector 114 inputs the output value “1” of the OR 115 as a control signal and selects the value “0011” of the register 116. The priority encoder 117 inputs the output value “0011” of the selector 114 and outputs “0010” as a select signal. The data selector 112 receives the select signal “0010”, and
09 data C1 is selected and output to the inter-node connection device 106. The inverter 118 receives a select signal and outputs an inverted value “1101”. AND circuit 119
Is the output value “0011” of the selector 114 and the inverter 1
The logical product with the output value “1101” of No. 18 is obtained and “000” is obtained.
1 "is output to the register 116. The state at this time is shown by the clock 3 in FIG.
【0012】クロック4のタイミングではレジスタの値
が”0001”なのでOR115の出力値は”1”とな
り、Hold信号として”1111”を出力する。入力
バッファ107〜110ではそれぞれ値が”1”のHo
ld信号を受け取るので入力バッファの状態は変化しな
い。セレクタ114は制御信号としてOR115の出力
値”1”を入力し、レジスタ116の値”0001”を
選択する。プライオリティエンコーダ117はセレクタ
114の出力値”0001”を入力し、”0001”を
セレクト信号として出力する。データセレクタ112は
セレクト信号”0001”を受け取り、入力バッファ1
10のデータD1を選択し、ノード間接続装置106に
出力する。インバータ118ではセレクト信号を入力
し、反転値”1110”を出力する。論理積回路119
はセレクタ114の出力値”0001”とインバータ1
18の出力値”1110”との論理積をとり、”000
0”をレジスタ116に出力する。このときの状態を図
9分図(a)のクロック4に示す。At the timing of clock 4, since the value of the register is "0001", the output value of OR 115 is "1", and "1111" is output as a Hold signal. In the input buffers 107 to 110, Hos each having a value of “1”
Since the ld signal is received, the state of the input buffer does not change. The selector 114 receives the output value “1” of the OR 115 as a control signal and selects the value “0001” of the register 116. The priority encoder 117 inputs the output value “0001” of the selector 114 and outputs “0001” as a select signal. The data selector 112 receives the select signal “0001”, and
10 data D1 is selected and output to the inter-node connection device 106. The inverter 118 receives a select signal and outputs an inverted value “1110”. AND circuit 119
Is the output value “0001” of the selector 114 and the inverter 1
AND with the output value of "1110" of "18" to obtain "000"
0 "is output to the register 116. The state at this time is shown by the clock 4 in FIG.
【0013】クロック5のタイミングではレジスタの値
が”0000”なのでOR115の出力値は”0”とな
り、Hold信号として”0000”を出力する。入力
バッファ107〜110ではそれぞれ値が”0”のHo
ld信号を受け取るので、バッファリングされているリ
クエストを1段滑らし、新たなリクエストA2,B2,
C2,D2を競合調停回路111並びにデータセレクタ
112に送出する。このときの各入力バッファの状態を
図8分図(c)に示す。競合調停回路111では入力バ
ッファより送出されてきたTAGをリクエスト種類認識
回路113で受け取る。リクエスト種類認識回路113
はTAGを識別して、全て有効なリクエストであるの
で”1111”を出力する。セレクタ114はセレクト
信号として値が”0”であるOR115の出力値を入力
し、リクエスト種類認識回路113の出力値”111
1”を選択し、プライオリティエンコーダ117に入力
する。プライオリティエンコーダ117では”111
1”を入力し、特定の優先順位に従ってアービトレーシ
ョンを行いセレクト信号として”1000”を出力す
る。データセレクタ112ではプライオリティエンコー
ダ117の出力するセレクト信号”1000”を入力し
て、入力バッファ107のデータA2を選択し、ノード
間接続装置106に出力する。インバータ118はセレ
クト信号”1000”の反転値”0111”を出力す
る。論理積回路119はセレクタ114の出力値”11
11”とインバータ118の出力値”0111”の論理
積をとり、レジスタ116に”0111”を出力する。
このときの状態を図9分図(a)のクロック5に示す。At the timing of clock 5, since the value of the register is "0000", the output value of OR 115 is "0" and "0000" is output as a Hold signal. In each of the input buffers 107 to 110, a Ho having a value of “0”
Since the ld signal is received, the buffered request is skewed by one step, and new requests A2, B2,
C2 and D2 are sent to the contention arbitration circuit 111 and the data selector 112. The state of each input buffer at this time is shown in FIG. In the competition arbitration circuit 111, the request type recognition circuit 113 receives the TAG sent from the input buffer. Request type recognition circuit 113
Identifies the TAG and outputs "1111" because all are valid requests. The selector 114 inputs the output value of the OR 115 having the value “0” as the select signal, and outputs the output value “111” of the request type recognition circuit 113.
1 "is input to the priority encoder 117. In the priority encoder 117," 111 "is selected.
1), arbitration is performed in accordance with a specific priority, and "1000" is output as a select signal.The data selector 112 receives the select signal "1000" output from the priority encoder 117, and outputs data A2 of the input buffer 107. And outputs the same to the inter-node connecting device 106. The inverter 118 outputs the inverted value “0111” of the select signal “1000” .The AND circuit 119 outputs the output value “11” of the selector 114.
The logical product of “11” and the output value “0111” of the inverter 118 is calculated, and “0111” is output to the register 116.
The state at this time is shown by clock 5 in FIG.
【0014】クロック6のタイミングでは、クロック2
のタイミングのときと同様な動作を行い入力バッファ1
08のデータB2をノード間接続装置106に出力す
る。このときの状態を図9分図(a)のクロック6に示
す。In the timing of the clock 6, the clock 2
The same operation as that of the timing of
08 data B2 is output to the inter-node connection device 106. The state at this time is shown by clock 6 in FIG.
【0015】クロック7のタイミングでは、クロック3
のタイミングのときと同様な動作を行い入力バッファ1
09のデータC2をノード間接続装置106に出力す
る。このときの状態を図9分図(a)のクロック7に示
す。At the timing of clock 7, clock 3
The same operation as that of the timing of
09 is output to the inter-node connection device 106. The state at this time is shown by a clock 7 in FIG.
【0016】クロック8のタイミングでは、クロック3
のタイミングのときと同様な動作を行い入力バッファ1
10のデータD2をノード間接続装置106に出力す
る。このときの状態を図9分図(a)のクロック8に示
す。At the timing of clock 8, clock 3
The same operation as that of the timing of
10 data D2 is output to the inter-node connection device 106. The state at this time is shown by a clock 8 in FIG.
【0017】クロック9のタイミングでは、レジスタの
値が”0000”なのでOR115の出力値は”0”と
なり、Hold信号として”0000”を出力する。入
力バッファ107〜110ではそれぞれ値が”0”のH
old信号を受け取るので、バッファリングされている
リクエストを1段滑らし、新たなリクエストB3,C3
を競合調停回路111並びにデータセレクタ112に送
出する。このときの入力バッファの状態を図8分図
(d)に示す。競合調停回路111では入力バッファ1
07〜110から送出されてきたTAGをリクエスト種
類認識回路113で受け取る。リクエスト種類認識回路
113はTAGを識別して、”0110”を出力する。
セレクタ114はセレクト信号として値が”0”である
OR115の出力値を入力し、リクエスト種類認識回路
113の出力値”0110”を選択し、プライオリティ
エンコーダ117に入力する。プライオリティエンコー
ダ117では”0110”を入力し、特定の優先順位に
従ってアービトレーションを行いセレクト信号として”
0100”を出力する。データセレクタ112ではプラ
イオリティエンコーダ117から出力されたセレクト信
号”0100”を入力して、入力バッファ108のデー
タB3を選択し、ノード間接続装置106に出力する。
インバータ118はセレクト信号”0100”の反転
値”1011”を出力する。論理積回路119はセレク
タ114の出力値”0110”とインバータ118の出
力値”1011”の論理積をとり、レジスタ116に”
0010”を出力する。このときの状態を図9分図
(a)のクロック9に示す。At the timing of the clock 9, since the value of the register is "0000", the output value of the OR 115 is "0", and "0000" is output as the Hold signal. Each of the input buffers 107 to 110 has an H value of “0”.
old signal, the buffered request is skewed by one step, and new requests B3 and C3
To the contention arbitration circuit 111 and the data selector 112. The state of the input buffer at this time is shown in FIG. In the competition arbitration circuit 111, the input buffer 1
The TAG transmitted from 07 to 110 is received by the request type recognition circuit 113. The request type recognition circuit 113 identifies the TAG and outputs “0110”.
The selector 114 inputs the output value of the OR 115 whose value is “0” as the select signal, selects the output value “0110” of the request type recognition circuit 113, and inputs it to the priority encoder 117. The priority encoder 117 inputs “0110”, performs arbitration in accordance with a specific priority order, and outputs “0110” as a select signal.
The data selector 112 inputs the select signal "0100" output from the priority encoder 117, selects the data B3 of the input buffer 108, and outputs the data B3 to the inter-node connecting device 106.
The inverter 118 outputs an inverted value “1011” of the select signal “0100”. The logical product circuit 119 calculates the logical product of the output value “0110” of the selector 114 and the output value “1011” of the inverter 118, and stores “AND” in the register 116.
0010 "is output. The state at this time is shown by a clock 9 in FIG.
【0018】クロック10のタイミングでは、レジスタ
116の値が”0010”であるのでOR115の出力
値は”1”となり、Hold信号として”1111”を
出力する。入力バッファ107〜110ではそれぞれ値
が”1”のHold信号を受け取るので入力バッファの
状態は変化しない。セレクタ114は制御信号としてO
R115の出力値”1”を入力し、レジスタ116の
値”0010”を選択する。プライオリティエンコーダ
117はセレクタ114の出力値”0010”を入力
し、”0010”をセレクト信号として出力する。デー
タセレクタ112はセレクト信号”0010”を受け取
り、入力バッファ109のデータC3を選択し、ノード
間接続装置106に出力する。インバータ118ではセ
レクト信号を入力し、反転値”1101”を出力する。
論理積回路119はセレクタ114の出力値”001
0”とインバータ118の出力値”1101”との論理
積をとり、”0000”をレジスタ116に出力する。
このときの状態を図9分図(a)のクロック10に示
す。At the timing of the clock 10, since the value of the register 116 is "0010", the output value of the OR 115 is "1", and "1111" is output as a Hold signal. Each of the input buffers 107 to 110 receives a Hold signal having a value of “1”, so that the state of the input buffer does not change. The selector 114 receives O as a control signal.
The output value "1" of R115 is input, and the value "0010" of the register 116 is selected. The priority encoder 117 inputs the output value “0010” of the selector 114 and outputs “0010” as a select signal. The data selector 112 receives the select signal “0010”, selects the data C3 in the input buffer 109, and outputs the data C3 to the inter-node connecting device 106. The inverter 118 receives a select signal and outputs an inverted value “1101”.
The AND circuit 119 outputs the output value “001” of the selector 114.
The logical product of "0" and the output value "1101" of the inverter 118 is calculated, and "0000" is output to the register 116.
The state at this time is shown by a clock 10 in FIG.
【0019】クロック11のタイミングでは、レジスタ
の値が”0000”なのでOR115の出力値は”0”
となり、Hold信号として”0000”を出力する。
入力バッファ107〜110ではそれぞれ値が”0”の
Hold信号を受け取るので、バッファリングされてい
るリクエストを1段滑らし、新たなリクエストB4,C
4を競合調停回路111並びにデータセレクタ112に
送出する。このときの入力バッファの状態を図7分図
e)に示す。競合調停回路111では入力バッファより
送出されてきたTAGをリクエスト種類認識回路113
で受け取る。リクエスト種類認識回路113はTAGを
識別して、”0110”を出力する。セレクタ114は
セレクト信号として値が”0”であるOR115の出力
値を入力し、リクエスト種類認識回路113の出力値”
0110”を選択し、プライオリティエンコーダ117
に入力する。プライオリティエンコーダ117では”0
110”を入力し、特定の優先順位に従ってアービトレ
ーションを行いセレクト信号として”0100”を出力
する。データセレクタ112ではプライオリティエンコ
ーダ117の出力するセレクト信号”0100”を入力
して、入力バッファ108のデータB4を選択し、ノー
ド間接続装置106に出力する。インバータ118はセ
レクト信号”0100”の反転値”1011”を出力す
る。論理積回路119はセレクタ114の出力値”01
10”とインバータ118の出力値”1011”の論理
積をとり、レジスタ116に”0010”を出力する。
このときの状態を図9分図(a)のクロック11に示
す。At the timing of clock 11, since the register value is "0000", the output value of OR 115 is "0".
And outputs “0000” as a Hold signal.
Each of the input buffers 107 to 110 receives a Hold signal whose value is “0”, so that the buffered request is skewed by one step and new requests B4 and C
4 is sent to the contention arbitration circuit 111 and the data selector 112. The state of the input buffer at this time is shown in FIG. In the contention arbitration circuit 111, the TAG sent from the input buffer is recognized by the request type recognition circuit 113.
Receive at. The request type recognition circuit 113 identifies the TAG and outputs “0110”. The selector 114 inputs the output value of the OR 115 whose value is “0” as the select signal, and outputs the output value of the request type recognition circuit 113 “
0110 ”and the priority encoder 117
To enter. "0" is assigned to the priority encoder 117.
110 "is input, arbitration is performed in accordance with a specific priority, and" 0100 "is output as a select signal.The data selector 112 receives the select signal" 0100 "output from the priority encoder 117, and outputs data B4 of the input buffer 108. And outputs it to the inter-node connecting device 106. The inverter 118 outputs an inverted value “1011” of the select signal “0100” .The AND circuit 119 outputs the output value “01” of the selector 114.
The logical product of "10" and the output value "1011" of the inverter 118 is calculated, and "0010" is output to the register 116.
The state at this time is shown by a clock 11 in FIG.
【0020】クロック12のタイミングでは、レジスタ
116の値が”0010”であるのでOR115の出力
値は”1”となり、Hold信号として”1111”を
出力する。入力バッファ107〜110ではそれぞれ値
が”1”のHold信号を受け取るので各入力バッファ
の状態は変化しない。セレクタ114は制御信号として
OR115の出力値”1”を入力し、レジスタ116の
値”0010”を選択する。プライオリティエンコーダ
117はセレクタ114の出力値”0010”を入力
し、”0010”をセレクト信号として出力する。デー
タセレクタ112はセレクト信号”0010”を受け取
り、入力バッファ109のデータC4を選択し、ノード
間接続装置106に出力する。インバータ118ではセ
レクト信号を入力し、反転値”1101”を出力する。
論理積回路119はセレクタ114の出力値”001
0”とインバータ118の出力値”1101”との論理
積をとり、”0000”をレジスタ116に出力する。
このときの状態を図9分図(a)のクロック12に示
す。At the timing of the clock 12, since the value of the register 116 is "0010", the output value of the OR 115 is "1", and "1111" is output as a Hold signal. Each of the input buffers 107 to 110 receives a Hold signal having a value of “1”, so that the state of each input buffer does not change. The selector 114 inputs the output value “1” of the OR 115 as a control signal and selects the value “0010” of the register 116. The priority encoder 117 inputs the output value “0010” of the selector 114 and outputs “0010” as a select signal. The data selector 112 receives the select signal “0010”, selects the data C4 in the input buffer 109, and outputs the data C4 to the inter-node connecting device 106. The inverter 118 receives a select signal and outputs an inverted value “1101”.
The AND circuit 119 outputs the output value “001” of the selector 114.
The logical product of "0" and the output value "1101" of the inverter 118 is calculated, and "0000" is output to the register 116.
The state at this time is shown by a clock 12 in FIG.
【0021】以上の一連の動作によってリクエスト群の
処理が終了した。ノード間接続装置106に出力される
データの順番を図9分図(b)に示す。図9分図(b)
においてリクエストB1〜B4に注目すると連続してプ
ロセッサに送られていないことがわかる。The processing of the request group has been completed by the above series of operations. FIG. 9B shows the order of data output to the inter-node connecting device 106. Figure 9 (b)
When attention is paid to the requests B1 to B4, it can be understood that the requests are not continuously transmitted to the processor.
【0022】以上説明したように動作するので、データ
の送出順序は図9分図(b)のようになる。Since the operation is performed as described above, the data transmission order is as shown in FIG.
【0023】図10は本発明と従来の回路の動作結果を
タイムチャート形式で表示した対比図である。図10分
図(a)は本発明の実施の形態の動作結果を示し、図1
0分図(b)は図7に示す回路の動作結果を示してい
る。FIG. 10 is a comparison diagram showing the operation results of the present invention and the conventional circuit in the form of a time chart. FIG. 10A shows the operation result of the embodiment of the present invention, and FIG.
FIG. 7B shows the operation result of the circuit shown in FIG.
【0024】図7に示す回路に対し、4Tリクエストの
データを用いた処理に4サイクルかかり、2Tリクエス
トのデータを用いた処理に2サイクルかかるような命令
を実行した時の動作結果を図10分図(b)に示す。FIG. 10 shows an operation result when an instruction is executed for the circuit shown in FIG. 7 such that processing using 4T request data takes 4 cycles and processing using 2T request data takes 2 cycles. It is shown in FIG.
【0025】[0025]
【発明が解決しようとする課題】上述した従来の競合調
停方法は、複数のプロセッサから送られてくる連続した
要素間で競合した場合に、連続した要素が不連続となっ
てノード間接続装置に送出されてしまう。このため、他
ノードのプロセッサが受け取ったデータを用いて命令を
実行する際には、不連続なリクエスト要素が全て到着す
るのを待たねばならず、処理時間の増大につながるとい
う問題点がある。According to the above-described conventional contention arbitration method, when a conflict occurs between continuous elements sent from a plurality of processors, the continuous elements become discontinuous and the inter-node connection device becomes inconsistent. Will be sent out. For this reason, when the processor of another node executes an instruction using the received data, it is necessary to wait for all the discontinuous request elements to arrive, leading to a problem of an increase in processing time.
【0026】本発明の目的は、複数のプロセッサから送
られてくる連続した要素間で競合した場合でも、リクエ
ストごとに連続した要素を連続して送出することで、情
報処理装置全体としての処理時間を短縮可能な競合調停
方法を提供することにある。[0026] An object of the present invention is to continuously transmit elements for each request even if there is a conflict between continuous elements sent from a plurality of processors. Is to provide a competitive arbitration method capable of shortening the time.
【0027】[0027]
【課題を解決するための手段】本発明の競合調停方法
は、複数のプロセッサと、この複数のプロセッサが共通
に使用するメモリと、前記複数のプロセッサと前記メモ
リとの間を接続するクロスバネットワークとからなる単
位をノードとし、このノードがノード間接続装置を介し
て複数のノードと接続してなる情報処理装置内の競合調
停方法において、前記クロスバネットワークは複数の前
記プロセッサに対応に設けてある入力バッファと、複数
の前記プロセッサと前記メモリとの間のそれぞれが独立
したデータである要素の転送時の競合調停および複数の
前記プロセッサが前記ノード間接続装置を介して接続す
る複数のノードとの間のデータ転送時の競合調停とを共
に行い転送する前記要素の中の1つを選択指示するセレ
クト信号を出力する競合調停回路と、前記競合調停回路
の出力する転送を指示するセレクト信号に従って複数の
前記入力バッファから送られてくる要素の中から1つの
要素を選択し前記メモリと前記ノード間接続装置とのい
ずれか一方に出力するデータセレクタ部とから構成さ
れ、前記競合調停回路が転送を要求して競合しているデ
ータのなかで連続の要素数の大なるものから順に転送を
指示するようにしている。A contention arbitration method according to the present invention comprises a plurality of processors, a memory commonly used by the plurality of processors, and a crossbar network connecting between the plurality of processors and the memory. In a contention arbitration method in an information processing device in which a unit consisting of a node is connected to a plurality of nodes via an inter-node connection device, the crossbar network includes an input provided corresponding to the plurality of processors. Between a buffer and a plurality of nodes connected by the plurality of processors and the memory via the inter-node connection device, in which contention arbitration at the time of transfer of elements each being independent data between the plurality of processors and the memory and the plurality of processors are connected via the inter-node connection device; And performs a contention arbitration during data transfer, and outputs a select signal for selecting and instructing one of the elements to be transferred. A arbitration circuit for selecting one of the elements sent from the plurality of input buffers in accordance with a select signal instructing a transfer output from the contention arbitration circuit, and selecting one of the memory and the inter-node connection device; The contention arbitration circuit requests the transfer and instructs the transfer in ascending order of the number of consecutive elements among the competing data.
【0028】本発明の競合調停方法は、競合調停回路
が、要素の処理中に処理対象以外の要素の存在する入力
バッファに対してアクティブな保持信号を出力し、バッ
ファリングされている要素を保持するよう制御してもよ
い。According to the contention arbitration method of the present invention, the contention arbitration circuit outputs an active holding signal to an input buffer in which an element other than the processing target is present during the processing of the element, and holds the buffered element. Control may be performed.
【0029】本発明の競合調停方法は、プロセッサが、
メモリまたはノード間接続装置に任意の数の要素から構
成される転送データを送出する場合に、前記転送データ
の各々の要素に要素数と送出先装置名とを付加して送出
してもよい。According to the contention arbitration method of the present invention, the processor
When transmitting transfer data composed of an arbitrary number of elements to the memory or the inter-node connecting device, the transfer data may be transmitted by adding the number of elements and the destination device name to each element of the transfer data.
【0030】本発明の競合調停方法は、転送データに付
加された転送データの送出先装置名がノード間接続装置
であった場合は、競合調停回路がプロセッサ間の競合調
停で選択されたプロセッサのデータのすべての要素を送
出し、送出終了後再びプロセッサ間の競合調停を行って
もよい。According to the contention arbitration method of the present invention, when the destination device name of the transfer data added to the transfer data is an inter-node connection device, the contention arbitration circuit of the processor selected by the contention arbitration between the processors. All elements of the data may be transmitted, and after the transmission is completed, the contention arbitration between the processors may be performed again.
【0031】本発明の競合調停方法は、転送データに付
加された転送データの送出先装置名がメモリであった場
合は、競合調停回路がプロセッサ間の競合調停で選択さ
れたプロセッサの1つの要素を送出するごとに再びプロ
セッサ間の競合調停を行ってもよい。According to the conflict arbitration method of the present invention, when the destination device name of the transfer data added to the transfer data is a memory, the conflict arbitration circuit selects one element of the processor selected by the conflict arbitration between the processors. , The contention arbitration between processors may be performed again.
【0032】本発明の競合調停方法は、入力バッファ
が、プロセッサから送られてくるデータを格納し、競合
調停回路に要素数と送出先装置名を送出し、データセレ
クタ部に要素を送出すると共に、競合調停回路から出力
される保持信号がアクティブの時はバッファリングして
ある要素を保持してもよい。According to the contention arbitration method of the present invention, the input buffer stores data sent from the processor, sends the number of elements and the destination device name to the contention arbitration circuit, and sends the elements to the data selector. When the holding signal output from the contention arbitration circuit is active, the buffered element may be held.
【0033】[0033]
【発明の実施の形態】次に、本発明の実施の形態につい
て図面を参照して説明する。Next, embodiments of the present invention will be described with reference to the drawings.
【0034】図1は本発明の第1の実施の形態を示すブ
ロック図である。FIG. 1 is a block diagram showing a first embodiment of the present invention.
【0035】本発明を適用する装置は、まず単位となる
ノードを、複数のプロセッサ1,2,3,4と、プロセ
ッサ1,2,3,4が共通に使用するメモリ5と、プロ
セッサ1,2,3,4とメモリ5との間を接続するクロ
スバネットワーク6とで構成し、このノードがノード間
接続装置7を介して複数のノードと接続している情報処
理装置である。更にクロスバネットワーク6は、複数の
プロセッサに対応に設けてある入力バッファ8,9,1
0,11と、複数のプロセッサ1,2,3,4とメモリ
5との間のそれぞれが独立した要素の転送時の競合調
停、およびプロセッサ1,2,3,4がノード間接続装
置7を介して接続する複数のノードとの間のデータ転送
時の競合調停とを共に行いセレクト信号を出力する競合
調停回路12と、競合調停回路12の出力する転送を指
示するセレクト信号に従って複数の入力バッファ8,
9,10,11から送られてくる要素の中から1つの要
素を選択しメモリ5とノード間接続装置7とのいずれか
一方に出力するデータセレクタ部13とで構成してい
る。In the apparatus to which the present invention is applied, first, a unit node is divided into a plurality of processors 1, 2, 3, 4; a memory 5 commonly used by the processors 1, 2, 3, 4; This is an information processing apparatus configured with a crossbar network 6 that connects between 2, 3, 4 and the memory 5, and this node is connected to a plurality of nodes via an inter-node connection device 7. Further, the crossbar network 6 includes input buffers 8, 9, 1 provided for a plurality of processors.
0, 11 and a plurality of processors 1, 2, 3, 4 and the arbitration at the time of transfer of independent elements between the memory 5 and the processors 1, 2, 3, 4 respectively. A contention arbitration circuit 12 that performs contention arbitration during data transfer with a plurality of nodes connected via the same and outputs a select signal, and a plurality of input buffers in accordance with a select signal output from the contention arbitration circuit 12 that indicates transfer. 8,
It comprises a data selector unit 13 for selecting one element from among the elements sent from 9, 10 and 11 and outputting the selected element to one of the memory 5 and the node connection device 7.
【0036】以下ノード間命令転送の例で概略の動作を
説明する。The general operation will be described below using an example of instruction transfer between nodes.
【0037】プロセッサ1,2,3,4はデータとTA
Gとからなる2要素連続で出力される2Tリクエストお
よび4要素連続で出力される4Tリクエストを入力バッ
ファ8,9,10,11に出力する。入力バッファ8,
9,10,11はFIFO制御のバッファで、2Tリク
エストおよび4Tリクエストをバッファリングし、TA
Gは競合調停回路12に、データはデータセレクタ部1
3に出力する。また入力バッファ8,9,10,11
は、競合調停回路12から出力されるHold信号を入
力し、Hold信号が”0”ならばバッファリングして
あるリクエストを一段滑らして次のリクエストを出力
し、Hold信号が”1”ならばバッファリングしてあ
る内容を保持する。競合調停回路12は、入力バッファ
8,9,10,11から送出されたTAGを入力して競
合調停を行い、セレクト信号をデータセレクタ部13に
送出する。また、競合調停回路12は、入力バッファ
8,9,10,11から送られてくる複数リクエスト間
の競合チェックを行い、優先順位の高い入力バッファの
データを優先してノード間接続装置7に送出するようデ
ータセレクタ部13に対しセレクト信号を送り、競合リ
クエストの処理状態に応じて各入力バッファ個別にHo
ld信号を送出して入力バッファを制御する。データセ
レクタ部13は、競合調停回路12から送出されたセレ
クト信号を入力してデータをセレクトし、ノード間接続
装置7に送出する。Processors 1, 2, 3, and 4 store data and TA
A 2T request consisting of G and a 2T request outputted continuously for two elements and a 4T request outputted continuously for four elements are outputted to the input buffers 8, 9, 10 and 11. Input buffer 8,
Reference numerals 9, 10, and 11 denote FIFO-controlled buffers for buffering 2T requests and 4T requests.
G is the contention arbitration circuit 12 and data is the data selector 1
Output to 3. Also, input buffers 8, 9, 10, 11
Receives the Hold signal output from the contention arbitration circuit 12, and if the Hold signal is "0", the buffered request is skewed by one step to output the next request. If the Hold signal is "1", the buffer is output. Keep the contents of the ring. The contention arbitration circuit 12 receives the TAG sent from the input buffers 8, 9, 10, and 11 to perform contention arbitration, and sends a select signal to the data selector unit 13. Further, the contention arbitration circuit 12 checks the contention between a plurality of requests sent from the input buffers 8, 9, 10, and 11, and sends the data of the input buffer having a higher priority to the inter-node connecting device 7 with priority. Select signal to the data selector unit 13 to make the input buffer individually Ho in accordance with the processing state of the contention request.
Sends the ld signal to control the input buffer. The data selector 13 selects the data by inputting the select signal sent from the contention arbitration circuit 12 and sends the data to the inter-node connecting device 7.
【0038】つぎに競合調停回路の構成について説明す
る。図2は図1に示す競合調停回路の回路図である。Next, the configuration of the contention arbitration circuit will be described. FIG. 2 is a circuit diagram of the contention arbitration circuit shown in FIG.
【0039】入力バッファ8,9,10,11は、図示
していないプロセッサと接続し転送リクエストデータを
受けデータとTAGとを出力する。本実施の形態の競合
調停回路12は、リクエスト入力ポートを4個有し、2
Tリクエストと4Tリクエストを処理することができる
ものとする。The input buffers 8, 9, 10, and 11 are connected to a processor (not shown), receive transfer request data, and output data and TAG. The contention arbitration circuit 12 of the present embodiment has four request input ports,
It is assumed that T requests and 4T requests can be processed.
【0040】競合調停回路12は、4つのリクエスト受
け取り口(入力ポート)に入力されるリクエストを個別
に認識し、信号線51には4Tリクエストを入力したポ
ートに対応するビットに”1”を出力し、信号線52に
は2Tリクエストを入力したポートに対応するビット
に”1”を出力するリクエスト種類認識回路14と、2
入力論理和回路(以下2入力ORと記す)15の出力信
号を選択信号として入力し、選択信号が”0”ならば信
号線51の値を選択し、選択信号が”1”ならば競合情
報保持用のレジスタ16の出力信号を選択し出力するセ
レクタ17と、入力論理和回路15の出力信号を選択信
号として入力し選択信号が”0”ならば信号線52の値
を選択し選択信号が”1”ならば競合情報保持用のレジ
スタ18の出力信号を選択し出力するセレクタ19と、
カウンタ制御回路20の出力信号線53の値を選択信号
として入力し、選択信号が”0”ならばセレクタ17の
出力信号を選択し、選択信号が”1”ならばセレクタ1
9の出力信号を選択し、出力するプライオリティエンコ
ーダ入力セレクタ21と、プライオリティエンコーダ入
力セレクタ21の出力信号を入力して最も若いリクエス
ト受け取り口(入力ポート)番号に対応したビットのみ
を”1”とし、データセレクタ部13に向けてのセレク
ト信号として出力する固定順位式のプライオリティエン
コーダ22と、プライオリティエンコーダ22の出力値
を入力しその反転値を出力するインバータ23と、プラ
イオリティエンコーダ入力セレクタ21の出力信号とイ
ンバータ23の出力信号との論理積を出力する論理積回
路24と、インバータ23の出力値を保持し出力するH
old信号生成用のレジスタ25と、論理積回路26の
出力信号を選択信号として入力し選択信号の値が”0”
の場合はセレクタ17の出力信号を選択し選択信号の値
が”1”の場合は論理積回路24の出力信号を選択し出
力する競合情報保持レジスタ入力用のセレクタ27と、
論理積回路28の出力信号を選択信号として入力し選択
信号の値が”0”の場合はセレクタ19の出力信号を選
択し選択信号の値が”1”の場合は論理積回路24の出
力信号を選択し競合情報保持用のレジスタ18に出力す
る競合情報保持レジスタ入力用のセレクタ29と、競合
情報保持レジスタ入力用のセレクタ27の出力値を保持
して出力する競合情報保持用のレジスタ16と、競合情
報保持レジスタ入力用のセレクタ29の出力値を保持し
て出力する競合情報保持用のレジスタ18と、競合情報
保持用のレジスタ16の出力信号と競合情報保持用のレ
ジスタ18の出力信号と信号線51の値と信号線52の
値との4種類の信号をビット毎に論理和をとり出力する
4入力論理和回路(以下4入力ORと記す)30と、4
入力OR30とHold信号生成用のレジスタ25の出
力信号との論理積をとり入力バッファ8,9,10,1
1に、Hold信号として出力する論理積回路31と、
競合情報保持用のレジスタ16の出力信号の論理和をと
り信号線54並びに2入力OR15に出力する4入力O
R32と、競合情報保持用のレジスタ18の出力信号の
論理和をとり信号線55並びに2入力OR15に出力す
る4入力OR33と、4入力OR32の出力値と4入力
OR33の出力値との論理和をとり選択信号としてセレ
クタ17,19に出力する2入力OR15と、セレクタ
17の4bitの出力値の論理和をとりカウンタ制御回
路20に出力するOR34と、セレクタ19の4bit
の出力値の論理和をとりカウンタ制御回路20に出力す
るOR35と、OR34,35の出力信号と状態値”
0”認識回路36の出力信号とを入力し、詳細を後述す
る図5に示す入力と動作との間で予め定めてある定義付
けに従い出力信号線53および信号線56,57に値を
出力すると共に減算カウンタ37に対して値をセットす
る指示または減算指示を出すカウンタ制御回路20と、
カウンタ制御回路20からの指示に従いカウンタに値を
セットまたはカウンタの値を”1”減算する機能とカウ
ンタの値が”0”になったら減算指示を受け取っても”
0”を保持する機能をもちカウンタの値を状態値”0”
認識回路36並びに状態値”1”認識回路38に出力す
る減算カウンタ37と、減算カウンタ37が出力するカ
ウンタ値を入力してカウンタ値が”1”の場合は論理積
回路26,28に”1”を出力する状態値”1”認識回
路38と、減算カウンタ37が出力するカウンタ値を入
力してカウンタ値が”0”の場合はカウンタ制御回路2
0に値”1”を出力する状態値”0”認識回路36と、
状態値”1”認識回路38の出力値と信号線56の値と
の論理積をとり選択信号として競合情報保持レジスタ入
力セレクタ27に送出する論理積回路26と、状態値”
1”認識回路38の出力値と信号線57の値との論理積
をとり選択信号として競合情報保持レジスタ入力セレク
タ29に送出する論理積回路28とから構成される。The contention arbitration circuit 12 individually recognizes requests input to the four request receiving ports (input ports), and outputs “1” to the bit corresponding to the port to which the 4T request is input on the signal line 51. The request type recognition circuit 14 that outputs “1” to the bit corresponding to the port to which the 2T request has been input,
An output signal of an input OR circuit (hereinafter referred to as a two-input OR) 15 is input as a selection signal. If the selection signal is "0", the value of the signal line 51 is selected. A selector 17 for selecting and outputting the output signal of the holding register 16 and an output signal of the input OR circuit 15 are input as selection signals. If the selection signal is "0", the value of the signal line 52 is selected and the selection signal is output. If "1", a selector 19 for selecting and outputting an output signal of the conflict information holding register 18;
The value of the output signal line 53 of the counter control circuit 20 is input as a selection signal. If the selection signal is "0", the output signal of the selector 17 is selected. If the selection signal is "1", the selector 1 is selected.
9, the priority encoder input selector 21 for selecting and outputting an output signal of the priority encoder 9 and the output signal of the priority encoder input selector 21 are input, and only the bit corresponding to the youngest request reception port (input port) number is set to "1". A fixed-priority priority encoder 22 that outputs a select signal to the data selector 13, an inverter 23 that receives an output value of the priority encoder 22 and outputs an inverted value thereof, and an output signal of the priority encoder input selector 21. AND circuit 24 that outputs a logical product of the output signal of inverter 23 and H that holds and outputs the output value of inverter 23
The output signal of the register 25 for generating the old signal and the output signal of the AND circuit 26 are input as a selection signal, and the value of the selection signal is “0”.
In the case of, the selector 27 for selecting the output signal of the selector 17 and selecting and outputting the output signal of the AND circuit 24 when the value of the selection signal is "1";
The output signal of the AND circuit 28 is input as a selection signal, and when the value of the selection signal is "0", the output signal of the selector 19 is selected. When the value of the selection signal is "1", the output signal of the AND circuit 24 is output. And a selector 29 for inputting the conflict information holding register that outputs the selected value to the register 18 for holding the conflict information, a register 16 for holding and outputting the output value of the selector 27 for inputting the conflict information holding register, A conflict information holding register 18 for holding and outputting the output value of the conflict information holding register input selector 29; an output signal of the conflict information holding register 16 and an output signal of the conflict information holding register 18; A four-input OR circuit (hereinafter referred to as a four-input OR) 30 for taking the logical sum of the four types of signals of the value of the signal line 51 and the value of the signal line 52 for each bit and outputting the result;
The logical product of the input OR 30 and the output signal of the Hold signal generation register 25 is obtained and the input buffers 8, 9, 10, 1 are calculated.
1, an AND circuit 31 that outputs a Hold signal;
4-input O which takes the logical sum of the output signals of the conflict information holding register 16 and outputs it to the signal line 54 and the 2-input OR 15
R32 is a logical OR of the output signal of the conflict information holding register 18 and is output to the signal line 55 and the two-input OR15, and the logical sum of the output value of the four-input OR32 and the output value of the four-input OR33. A two-input OR 15 which outputs the selected signal as a selection signal to the selectors 17 and 19; an OR 34 which takes the logical sum of the 4-bit output values of the selector 17 and outputs the result to the counter control circuit 20;
OR35 which takes the logical sum of the output values of the OR and outputs it to the counter control circuit 20, and the output signals of the ORs 34 and 35 and the state value "
The output signal of the 0 "recognition circuit 36 is input, and values are output to the output signal line 53 and the signal lines 56 and 57 according to a predetermined definition between the input and the operation shown in FIG. A counter control circuit 20 that issues an instruction to set a value or a subtraction instruction to the subtraction counter 37,
A function of setting a value in the counter or decrementing the value of the counter by "1" in accordance with an instruction from the counter control circuit 20 and a function of receiving a decrement instruction when the value of the counter becomes "0"
It has a function to hold 0 and changes the counter value to the state value "0".
When the counter value output from the subtraction counter 37 is input to the recognition circuit 36 and the state value "1" recognition circuit 38, and the counter value is "1", the logical product circuits 26 and 28 output "1". The state value "1" recognizing circuit 38 for outputting "" and the counter control circuit 2 when the counter value output from the subtraction counter 37 is inputted and the counter value is "0".
A state value "0" recognition circuit 36 that outputs a value "1" to 0;
A logical product circuit 26 which takes the logical product of the output value of the state value "1" recognizing circuit 38 and the value of the signal line 56 and sends it as a selection signal to the conflict information holding register input selector 27;
An AND circuit 28 which takes the logical product of the output value of the 1 "recognizing circuit 38 and the value of the signal line 57 and sends it to the competitive information holding register input selector 29 as a selection signal.
【0041】次に本発明の第1の実施の形態の動作につ
いて説明する。図3および図4は入力バッファの動作状
態をクロック単位に表示した動作図、図5はクロックご
との各信号のビット状態を表示した説明図である。説明
には図1ないし図5を使用する。Next, the operation of the first embodiment of the present invention will be described. 3 and 4 are operation diagrams showing the operation state of the input buffer in units of clocks, and FIG. 5 is an explanatory diagram showing the bit state of each signal for each clock. 1 to 5 are used for the description.
【0042】図3分図(a)は入力バッファに溜まって
いる最初のリクエスト群のイメージである。A1,A
2,D1,D2は2Tリクエストを示しており、B1,
B2,B3,B4,C1,C2,C3,C4は4Tリク
エストを示している。初期状態の時、競合調停部のレジ
スタは全て0値であると仮定する。FIG. 3A is an image of the first request group stored in the input buffer. A1, A
2, D1 and D2 indicate 2T requests, and B1,
B2, B3, B4, C1, C2, C3, and C4 indicate 4T requests. In the initial state, it is assumed that the registers of the contention arbitration unit are all 0 values.
【0043】1クロック目では、リクエストA1,B
1,C1,D1のTAG部が競合調停部に送られる。H
old信号生成用のレジスタ25の初期値”0000”
を受けて、論理積回路31はHold信号として値”0
000”を出力する。リクエスト種類認識回路14は各
入力ポートからのTAGを入力してリクエスト種類を識
別し、4TリクエストB1,C1が入力されたポートに
対応したビットを”1”にした値”0110”をセレク
タ17に対して出力し、2TリクエストA1,D1が入
力されたポートに対応したビットを”1”にした値”1
001”を入力部セレクタセレクタ19に対して出力す
る。クロック0の時、競合情報保持用のレジスタ16,
18の値は”0000”なので、4入力OR32,33
の出力値は”0”となり、信号線54,55の値もそれ
ぞれ”0”となる。4入力OR32,33の出力値は”
0”なので、2入力OR15の出力値は”0”となる。
2入力OR15の出力値は”0”なので、セレクタ1
7,19は信号線51,52の出力値を選択し出力す
る。OR34,35は、それぞれセレクタ17の出力信
号”0110”およびセレクタ19の出力信号”100
1”を入力してOR34,35共に”1”を出力する。
クロック0の時、減算カウンタ37のカウンタ値は”
0”なので状態値”1”認識回路38は”0”を出力し
状態値”0”認識回路36は”1”を出力する。カウン
タ制御回路20は図5分図(c)に示す予め定められた
入力状態と動作との関係に基づき、信号線53を介して
プライオリティエンコーダ入力セレクタ21にセレクト
信号として値”0”を出力するとともに、減算カウンタ
37に”3”をセットする。プライオリティエンコーダ
入力セレクタ21はカウンタ制御回路20よりセレクト
信号として”0”を受け取るのでセレクタ17の出力
値”0110”を選択する。プライオリティエンコーダ
22はプライオリティエンコーダ入力セレクタ21より
入力した競合調停情報のアービトレーションを行い、競
合調停情報の中で最も若い入力ポートに対応したビット
のみを”1”とした値”0100”をデータセレクタ部
13にセレクト信号として出力する。データセレクタ部
13は、セレクト信号を入力し、入力バッファ9のB1
のデータ部を選択し、ノード間接続装置7に出力する。
プライオリティエンコーダ22の出力するセレクト信号
は、インバータ23を介してHold信号生成用のレジ
スタ25にも入力される。インバータ23および論理積
回路24を経ることにより1クロック目で選択されなか
った新しい競合情報”0010”が生成され、競合情報
保持レジスタ入力用のセレクタ27並びにセレクタ29
に入力される。状態値”1”認識回路38の出力値が”
0”であるので、論理積回路26,28の出力値は”
0”となり、競合情報保持レジスタ入力用のセレクタ2
7,29は、それぞれセレクタ17,19の出力値を選
択し、レジスタ16,18に送出する。このとき各レジ
スタの値および出力データを図5分図(a),分図
(b)のクロック1に示す。また、入力バッファの状態
を図3分図(a)に示す。In the first clock, the requests A1, B
The TAG sections 1, 1, and 1 are sent to the contention arbitration section. H
The initial value “0000” of the old signal generation register 25
The AND circuit 31 receives the value “0” as the Hold signal.
The request type recognizing circuit 14 inputs a TAG from each input port to identify the request type, and sets a bit corresponding to the port to which the 4T requests B1 and C1 are input to "1". 0110 ”is output to the selector 17 and the value“ 1 ”in which the bit corresponding to the port to which the 2T requests A1 and D1 are input is set to“ 1 ”
001 "is output to the input section selector 19. At the time of clock 0, the conflict information holding register 16,
Since the value of 18 is “0000”, the 4-input OR 32, 33
Is "0", and the values of the signal lines 54 and 55 are also "0". The output value of the 4-input OR 32, 33 is "
Since it is "0", the output value of the two-input OR 15 is "0".
Since the output value of the two-input OR 15 is “0”, the selector 1
7, 19 select and output the output values of the signal lines 51, 52. The ORs 34 and 35 output the output signal “0110” of the selector 17 and the output signal “100” of the selector 19, respectively.
1 "is input, and both OR34 and 35 output" 1 ".
At the time of clock 0, the count value of the subtraction counter 37 is “
Since the state value is "0", the state value "1" recognition circuit 38 outputs "0" and the state value "0" recognition circuit 36 outputs "1" .The counter control circuit 20 determines in advance as shown in FIG. Based on the relationship between the input state and the operation, the value "0" is output as a select signal to the priority encoder input selector 21 via the signal line 53, and "3" is set to the subtraction counter 37. Since the selector 21 receives "0" as a select signal from the counter control circuit 20, the selector 21 selects the output value "0110" of the selector 17. The priority encoder 22 arbitrates the contention arbitration information input from the priority encoder input selector 21 and performs contention. Only the bit corresponding to the youngest input port in the arbitration information is set to "1". "0100" to be output to the data selector section 13 as the select signal. The data selector section 13 receives the select signal, B1 of the input buffer 9
And outputs it to the inter-node connecting device 7.
The select signal output from the priority encoder 22 is also input to the Hold signal generation register 25 via the inverter 23. Through the inverter 23 and the AND circuit 24, new conflict information "0010" not selected at the first clock is generated, and the selector 27 and the selector 29 for inputting the conflict information holding register are generated.
Is input to The output value of the state value "1" recognition circuit 38 is "
0 ", the output values of the AND circuits 26 and 28 are" 0 ".
0 ", the selector 2 for inputting the conflict information holding register.
7 and 29 select the output values of the selectors 17 and 19, respectively, and send them to the registers 16 and 18. At this time, the value of each register and the output data are shown by clock 1 in FIGS. 5 (a) and 5 (b). FIG. 3A shows the state of the input buffer.
【0044】2クロック目では、レジスタ16,18の
値を受けて4入力OR32,33の出力値はどちらも”
1”なので2入力OR15の出力値は”1”となる。2
入力OR15の出力値は”1”なのでセレクタ17,1
9はそれぞれレジスタ16、レジスタ18の出力値を選
択する。OR34,35および状態値”0”認識回路3
6の出力値はそれぞれ”1”、”1”、”0”なので、
図5分図(c)に示す予め定められた入力状態と動作と
の関係に基づき、信号線53を介してプライオリティエ
ンコーダ入力セレクタ21にセレクト信号として値”
0”が出力される。プライオリティエンコーダ22には
セレクタ17の出力値”0110”が入力され、セレク
ト信号として”0100”が出力される。論理積回路2
6,28の出力値は”0”なのでセレクタ27,29は
それぞれセレクタ17,19の出力値を選択し、競合情
報保持用のレジスタ16,18に送出する。このとき各
レジスタの値および出力データを図5分図(a),分図
(b)のクロック2に示す。また、入力バッファの状態
を図3分図(b)に示す。At the second clock, the output values of the four-input ORs 32 and 33 are both "in response to the values of the registers 16 and 18".
Since it is "1", the output value of the two-input OR 15 is "1".
Since the output value of the input OR15 is "1", the selectors 17, 1
Reference numeral 9 selects the output values of the registers 16 and 18, respectively. OR 34, 35 and state value "0" recognition circuit 3
6 are "1", "1" and "0", respectively.
Based on the relationship between the predetermined input state and the operation shown in FIG. 5C, the priority encoder input selector 21 sends a value "
The output value “0110” of the selector 17 is input to the priority encoder 22, and “0100” is output as the select signal.
Since the output values of 6 and 28 are "0", the selectors 27 and 29 select the output values of the selectors 17 and 19, respectively, and send them to the registers 16 and 18 for holding the conflict information. At this time, the values and output data of the respective registers are shown by clock 2 in FIGS. 5A and 5B. The state of the input buffer is shown in FIG.
【0045】3クロック目では、レジスタ16,18の
値を受けて4入力OR32,33の出力値はどちらも”
1”なので2入力OR15の出力値は”1”となる。2
入力OR15の出力値は”1”なのでセレクタ17,1
9はそれぞれレジスタ16、レジスタ18の出力値を選
択する。OR34,35および状態値”0”認識回路3
6の出力値はそれぞれ”1”、”1”、”0”なので、
図5分図(c)に示す予め定められた入力状態と動作と
の関係に基づき、信号線53を介してプライオリティエ
ンコーダ入力セレクタ21にセレクト信号として値”
0”が出力される。プライオリティエンコーダにはセレ
クタ17の出力値”0110”が入力され、セレクト信
号として”0100”が出力される。減算カウンタ37
の値が”1”となり、状態値”1”認識回路38の出力
が”1”となるので論理積回路26の出力値は”1”、
論理積回路28の出力値は”0”となる。セレクタ27
では論理積回路24の出力値”0010”を選択し、レ
ジスタ16に送出する。セレクタ29はセレクタ19の
出力値”1001”を選択し、レジスタ18に送出す
る。このとき各レジスタの値および出力データを図5分
図(a),分図(b)のクロック3に示す。また、入力
バッファの状態を図3分図(c)に示す。At the third clock, the output values of the four-input ORs 32 and 33 are both "in response to the values of the registers 16 and 18".
Since it is "1", the output value of the two-input OR 15 is "1".
Since the output value of the input OR15 is "1", the selectors 17, 1
Reference numeral 9 selects the output values of the registers 16 and 18, respectively. OR 34, 35 and state value "0" recognition circuit 3
6 are "1", "1" and "0", respectively.
Based on the relationship between the predetermined input state and the operation shown in FIG. 5C, the priority encoder input selector 21 sends a value "
0 is output to the priority encoder, and the output value “0110” of the selector 17 is input to the priority encoder, and “0100” is output as the select signal.
Becomes "1" and the output of the state value "1" recognition circuit 38 becomes "1", so that the output value of the AND circuit 26 becomes "1".
The output value of the AND circuit 28 is "0". Selector 27
Then, the output value “0010” of the AND circuit 24 is selected and sent to the register 16. The selector 29 selects the output value “1001” of the selector 19 and sends it to the register 18. At this time, the value of each register and the output data are shown by clock 3 in FIGS. 5A and 5B. The state of the input buffer is shown in FIG.
【0046】4クロック目ではレジスタ16,18の値
を受けて4入力OR32,33の出力値はどちらも”
1”なので2入力OR15の出力値は”1”となる。2
入力OR15の出力値は”1”なのでセレクタ17,1
9はそれぞれレジスタ16、レジスタ18の出力値を選
択する。OR34,35および状態値”0”認識回路3
6の出力値はそれぞれ”1”、”1”、”0”なので、
図5分図(c)に示す予め定められた入力状態と動作と
の関係に基づき、信号線53を介してプライオリティエ
ンコーダ入力セレクタ21にセレクト信号として値”
0”が出力される。プライオリティエンコーダにはセレ
クタ17の出力値”0010”が入力され、セレクト信
号として”0010”が出力される。セレクタ27では
論理積回路24の出力値”0010”を選択し、レジス
タ16に送出する。セレクタ29はセレクタ19の出力
値”1001”を選択し、レジスタ18に送出する。こ
のとき各レジスタの値および出力データを図5分図
(a),分図(b)のクロック4に示す。また、入力バ
ッファの状態を図3分図(d)に示す。At the fourth clock, the values of the registers 16 and 18 are received, and the output values of the 4-input ORs 32 and 33 are both "
Since it is "1", the output value of the two-input OR 15 is "1".
Since the output value of the input OR15 is "1", the selectors 17, 1
Reference numeral 9 selects the output values of the registers 16 and 18, respectively. OR 34, 35 and state value "0" recognition circuit 3
6 are "1", "1" and "0", respectively.
Based on the relationship between the predetermined input state and the operation shown in FIG. 5C, the priority encoder input selector 21 sends a value "
The output value "0010" of the selector 17 is input to the priority encoder, and "0010" is output as the select signal.The selector 27 selects the output value "0010" of the AND circuit 24. The selector 29 selects the output value "1001" of the selector 19 and sends it to the register 18. At this time, the values and output data of each register are shown in FIGS. 3) shows the clock 4. The state of the input buffer is shown in FIG.
【0047】5クロック目では、レジスタ16,18の
値を受けて4入力OR32,33の出力値はどちらも”
1”なので2入力OR15の出力値は”1”となる。2
入力OR15の出力値は”1”なのでセレクタ17,1
9はそれぞれレジスタ16、レジスタ18の出力値を選
択する。減算カウンタ37のカウンタ値が”0”とな
り、OR34,35および状態値”0”認識回路36の
出力値はそれぞれ”1”、”1”、”1”なので、図5
分図(c)に示す予め定められた入力状態と動作との関
係に基づき、信号線53を介してプライオリティエンコ
ーダ入力セレクタ21にセレクト信号として値”0”が
出力されると同時に減算カウンタ37に”3”がセット
される。プライオリティエンコーダ22にはセレクタ1
7の出力値”0010”が入力され、セレクト信号とし
て”0010”が出力される。論理積回路26,28の
出力値は”0”なのでセレクタ27,29はそれぞれセ
レクタ17,19の出力値を選択し、競合情報保持用の
レジスタ16,18に送出する。このとき各レジスタの
値および出力データを図5分図(a),分図(b)のク
ロック5に示す。また、入力バッファの状態を図3分図
(e)に示す。At the fifth clock, the output values of the four-input ORs 32 and 33 are both "in response to the values of the registers 16 and 18".
Since it is "1", the output value of the two-input OR 15 is "1".
Since the output value of the input OR15 is "1", the selectors 17, 1
Reference numeral 9 selects the output values of the registers 16 and 18, respectively. Since the counter value of the subtraction counter 37 is "0" and the output values of the ORs 34 and 35 and the state value "0" recognition circuit 36 are "1", "1" and "1", respectively, FIG.
Based on the relationship between the predetermined input state and the operation shown in FIG. 11C, the value “0” is output as a select signal to the priority encoder input selector 21 via the signal line 53, and at the same time, the subtraction counter 37 "3" is set. Selector 1 is assigned to priority encoder 22.
7, an output value “0010” is input, and “0010” is output as a select signal. Since the output values of the AND circuits 26 and 28 are "0", the selectors 27 and 29 select the output values of the selectors 17 and 19, respectively, and send them to the registers 16 and 18 for holding the conflict information. At this time, the value and output data of each register are shown by clock 5 in FIGS. 5A and 5B. The state of the input buffer is shown in FIG.
【0048】6クロック目では、プライオリティエンコ
ーダ22にはセレクタ17の出力値”0110”が入力
され、セレクト信号として”0010”が出力される。
論理積回路26,28の出力値は”0”なのでセレクタ
27,29はそれぞれセレクタ17,19の出力値を選
択し、競合情報保持用のレジスタ16,18に送出す
る。このとき各レジスタの値および出力データを図5分
図(a),分図(b)のクロック6に示す。また、入力
バッファの状態を図3分図(f)に示す。At the sixth clock, the output value “0110” of the selector 17 is input to the priority encoder 22 and “0010” is output as the select signal.
Since the output values of the AND circuits 26 and 28 are "0", the selectors 27 and 29 select the output values of the selectors 17 and 19, respectively, and send them to the registers 16 and 18 for holding the conflict information. At this time, the value of each register and the output data are shown by the clock 6 in FIGS. 5A and 5B. The state of the input buffer is shown in FIG.
【0049】7クロック目では、プライオリティエンコ
ーダ22にはセレクタ17の出力値”0010”が入力
され、セレクト信号として”0010”が出力される。
減算カウンタ37の値が”1”となり、状態値”1”認
識回路38の出力が”1”となるので論理積回路26の
出力値は”1”、論理積回路28の出力値は”0”とな
る。セレクタ27では論理積回路24の出力値”000
0”を選択し、レジスタ16に送出する。このとき各レ
ジスタの値および出力データを図5分図(a),分図
(b)のクロック7に示す。また、入力バッファの状態
を図3分図(g)に示す。At the seventh clock, the output value “0010” of the selector 17 is input to the priority encoder 22 and “0010” is output as the select signal.
Since the value of the subtraction counter 37 becomes "1" and the output of the state value "1" recognition circuit 38 becomes "1", the output value of the AND circuit 26 is "1" and the output value of the AND circuit 28 is "0". ". In the selector 27, the output value “000” of the AND circuit 24
"0" is selected and sent to the register 16. At this time, the value of each register and the output data are shown by the clock 7 in FIGS. 5 (a) and 5 (b). The results are shown in FIG.
【0050】8クロック目では、レジスタ16の値”0
000”を受ける4入力OR32の出力値は”0”とな
り、レジスタ18の値”1001”を受ける4入力OR
33の出力値は”1”なので2入力OR15の出力値
は”1”となる。2入力OR15の出力値は”1”なの
でセレクタ17,19はそれぞれレジスタ16、レジス
タ18の出力値を選択する。OR34,35および状態
値”0”認識回路36の出力値はそれぞれ”1”、”
1”、”0”なので、図5分図(c)に示す予め定めら
れた入力状態と動作との関係に基づき、信号線53を介
してプライオリティエンコーダ入力セレクタ21にセレ
クト信号として値”0”が出力される。プライオリティ
エンコーダにはセレクタ17の出力値”0010”が入
力され、セレクト信号として”0100”が出力され
る。セレクタ29はセレクタ19の出力値”1001”
を選択し、レジスタ18に送出する。このとき各レジス
タの値および出力データを図5分図(a),分図(b)
のクロック8に示す。また、入力バッファの状態を図3
分図(h)に示す。At the eighth clock, the value of the register 16 is set to “0”.
000 ", the output value of the 4-input OR 32 becomes" 0 ", and the 4-input OR 32 receives the value" 1001 "of the register 18.
Since the output value of 33 is "1", the output value of the two-input OR 15 is "1". Since the output value of the two-input OR 15 is "1", the selectors 17 and 19 select the output values of the registers 16 and 18, respectively. The output values of the ORs 34 and 35 and the state value “0” recognition circuit 36 are “1” and “1”, respectively.
Since the values are 1 "and" 0 ", the value" 0 "is supplied as a select signal to the priority encoder input selector 21 via the signal line 53 based on the relationship between the predetermined input state and the operation shown in FIG. The output value “0010” of the selector 17 is input to the priority encoder, and “0100” is output as the select signal.The selector 29 outputs the output value “1001” of the selector 19.
And sends it to the register 18. At this time, the values and output data of each register are shown in FIGS. 5 (a) and 5 (b).
Clock 8 of FIG. FIG. 3 shows the state of the input buffer.
This is shown in FIG.
【0051】9クロック目ではレジスタ16の値”00
00”を受ける4入力OR32の出力値は”0”とな
り、レジスタ18の値”1001”を受ける4入力OR
33の出力値は”1”なので2入力OR15の出力値
は”1”となる。2入力OR15の出力値は”1”なの
でセレクタ17,19はそれぞれレジスタ16、レジス
タ18の出力値を選択する。OR34,35および状態
値”0”認識回路36の出力値はそれぞれ”0”、”
1”、”1”なので、図5分図(c)に示す予め定めら
れた入力状態と動作との関係に基づき、信号線53を介
してプライオリティエンコーダ入力セレクタ21にセレ
クト信号として値”1”が出力されると同時に減算カウ
ンタ37に”1”がセットされる。プライオリティエン
コーダ22にはセレクタ17の出力値”1001”が入
力され、セレクト信号として”1000”が出力され
る。論理積回路26,28の出力値は”0”なのでセレ
クタ27,29はそれぞれセレクタ17,19の出力値
を選択し、競合情報保持用のレジスタ16,18に送出
する。このとき各レジスタの値および出力データを図5
分図(a),分図(b)のクロック9に示す。また、入
力バッファの状態を図3分図(i)に示す。At the ninth clock, the value of the register 16 "00"
The output value of the 4-input OR 32 receiving "00" becomes "0", and the 4-input OR receiving the value "1001" of the register 18 is obtained.
Since the output value of 33 is "1", the output value of the two-input OR 15 is "1". Since the output value of the two-input OR 15 is "1", the selectors 17 and 19 select the output values of the registers 16 and 18, respectively. The output values of the ORs 34 and 35 and the state value "0" recognition circuit 36 are "0" and "0", respectively.
1 ”and“ 1 ”, the value“ 1 ”is supplied as a select signal to the priority encoder input selector 21 via the signal line 53 based on the relationship between the predetermined input state and the operation shown in FIG. Is output and "1" is set in the subtraction counter 37. The output value "1001" of the selector 17 is input to the priority encoder 22, and "1000" is output as the select signal. , And 28 output "0", the selectors 27 and 29 select the output values of the selectors 17 and 19, respectively, and send them to the conflict information holding registers 16 and 18. At this time, the values and output data of each register are output. FIG.
The clock 9 is shown in the diagrams (a) and (b). The state of the input buffer is shown in FIG.
【0052】以降10クロックから12クロックの状態
値および出力データを5分図(a),分図(b)に示
す。また、入力バッファの状態を図4の分図(j)〜分
図(l)にクロック順に示す。The state values and output data of 10 to 12 clocks are shown in FIGS. 5A and 5B. The state of the input buffer is shown in the order of clocks in FIG. 4 (j) to (l).
【0053】以上の動作を行うことにより要素間で競合
が発生した場合でも要素の連続性を保ったままノード間
接続装置7に出力することが可能となる。例えば、他の
ノード間接続装置に送られた4Tリクエストのデータを
用いた処理に4サイクルかかり、2Tリクエストのデー
タを用いた処理に2サイクルかかるような命令列が実行
される時のタイムチャートを示すと、図10分図(a)
のようになる。By performing the above operation, it is possible to output to the inter-node connecting device 7 while maintaining the continuity of the elements even when a conflict occurs between the elements. For example, a time chart when an instruction sequence is executed in which processing using data of a 4T request sent to another inter-node connection device takes four cycles and processing using data of a 2T request takes two cycles. If shown, FIG. 10 (a)
become that way.
【0054】また、プロセッサ1〜4がメモリ5に対し
てデータを送出する例を示す。プロセッサ1〜4は、送
出先装置名がメモリ5である要素を送出するので、本発
明の競合調停回路12ではプロセッサ間の競合調停で選
択されたプロセッサの1つの要素を送出する毎に再びプ
ロセッサ間の競合調停を行うため、データが単独の要素
単位に分かれてメモリ5に送出される。このデータを本
発明の実施の形態の競合調停方法で処理した結果を図5
分図(b)に示す。An example in which the processors 1 to 4 send data to the memory 5 will be described. Since the processors 1 to 4 send out the element whose destination device name is the memory 5, the contention arbitration circuit 12 of the present invention re-generates the processor every time when sending out one element of the processor selected by the contention arbitration between the processors. In order to perform contention arbitration between data, data is sent to the memory 5 in a single element unit. FIG. 5 shows the result of processing this data by the contention arbitration method according to the embodiment of the present invention.
The results are shown in FIG.
【0055】[0055]
【発明の効果】以上説明したように、本発明は、クロス
バネットワーク内に、複数のプロセッサに対応に設けて
ある入力バッファと、複数のプロセッサとメモリとの間
のそれぞれが独立した要素の転送時の競合調停および複
数のプロセッサがノード間接続装置を介して接続する複
数のノードとの間のデータ転送時の競合調停とを共に行
いセレクト信号を出力する競合調停回路と、競合調停回
路の出力する転送を指示するセレクト信号に従って複数
の入力バッファから送られてくる要素の中から1つの要
素を選択しメモリとノード間接続装置とのいずれか一方
に出力するデータセレクタ部とを設け、競合調停回路が
転送を要求して競合しているデータのなかで連続の要素
数の大なるものから順に転送を指示するようにしている
ことにより、複数のプロセッサから送られてくる連続し
た要素間で競合した場合でも、リクエストごとに連続し
た要素を連続して送出することで、情報処理装置全体と
しての処理時間が短縮可能になるという効果が有る。As described above, the present invention provides an input buffer provided for a plurality of processors in a crossbar network, and a method for transferring independent elements between a plurality of processors and a memory. Contention arbitration circuit that performs a contention arbitration and a contention arbitration circuit that performs a data arbitration at the time of data transfer with a plurality of nodes connected via a node-to-node connection device, and outputs a select signal. A data selector unit for selecting one element from elements sent from a plurality of input buffers in accordance with a select signal instructing transfer and outputting the selected element to one of a memory and an inter-node connection device; Requests the transfer, and instructs the transfer in order from the largest number of contiguous elements among the competing data. Even if a conflict between elements of successive transmitted from the processor, by transmitting continuously successive elements for each request, there is the effect that the processing time of the entire information processing apparatus becomes possible shortened.
【図1】本発明の第1の実施の形態を示すブロック図で
ある。FIG. 1 is a block diagram showing a first embodiment of the present invention.
【図2】図1に示す競合調停回路の回路図である。FIG. 2 is a circuit diagram of a contention arbitration circuit shown in FIG. 1;
【図3】入力バッファの動作状態をクロック単位に表示
した動作図(a〜h)FIG. 3 is an operation diagram showing operation states of an input buffer in clock units (a to h);
【図4】入力バッファの動作状態をクロック単位に表示
した動作図(i〜l)FIG. 4 is an operation diagram (i to l) showing an operation state of an input buffer in clock units;
【図5】、図5はクロックごとの各信号のビット状態を
表示した説明図である。FIG. 5 is an explanatory diagram showing a bit state of each signal for each clock.
【図6】本発明と同様なサービスを実施する従来の情報
処理装置のブロック図である。FIG. 6 is a block diagram of a conventional information processing apparatus that performs a service similar to the present invention.
【図7】従来の高速クロスバスイッチ制御用競合調停回
路の回路図である。FIG. 7 is a circuit diagram of a conventional competitive arbitration circuit for controlling a high-speed crossbar switch.
【図8】入力バッファの動作状態をクロック単位に表示
した動作図である。FIG. 8 is an operation diagram showing the operation state of the input buffer in clock units.
【図9】クロックごとの各信号のビット状態を表示した
説明図である。FIG. 9 is an explanatory diagram showing a bit state of each signal for each clock.
【図10】本発明と従来の回路の動作結果をタイムチャ
ート形式で表示した対比図である。FIG. 10 is a comparison diagram displaying the operation results of the present invention and the conventional circuit in a time chart format.
1,2,3,4 プロセッサ 5 メモリ 6 クロスバネットワーク 7 ノード間接続装置 8,9,10,11 入力バッファ 12 競合調停回路 13 データセレクタ部 14 リクエスト種類認識回路 15 2入力論理和回路(2入力OR) 16,18,25 レジスタ 17,19,27,29 セレクタ 20 カウンタ制御回路 21 プライオリティエンコーダ入力セレクタ 22 プライオリティエンコーダ 23 インバータ 24,26,28,31 論理積回路 30,32,33 4入力論理和回路(4入力OR) 34、35 論理和回路(OR) 36 状態値”0”認識回路 37 減算カウンタ 38 状態値”1”認識回路 51,52,54,55,56,57 信号線 53 出力信号線 1, 2, 3, 4 Processor 5 Memory 6 Crossbar Network 7 Node Connection Device 8, 9, 10, 11 Input Buffer 12 Competition Arbitration Circuit 13 Data Selector 14 Request Type Recognition Circuit 15 2-Input OR Circuit (2-Input OR) ) 16, 18, 25 Registers 17, 19, 27, 29 Selector 20 Counter control circuit 21 Priority encoder input selector 22 Priority encoder 23 Inverter 24, 26, 28, 31 Logical product circuit 30, 32, 333 4-input logical sum circuit ( 4 input OR) 34, 35 OR circuit (OR) 36 State value "0" recognition circuit 37 Subtraction counter 38 State value "1" recognition circuit 51, 52, 54, 55, 56, 57 Signal line 53 Output signal line
Claims (6)
ッサが共通に使用するメモリと、前記複数のプロセッサ
と前記メモリとの間を接続するクロスバネットワークと
からなる単位をノードとし、このノードがノード間接続
装置を介して複数のノードと接続してなる情報処理装置
内の競合調停方法において、前記クロスバネットワーク
は複数の前記プロセッサに対応に設けてある入力バッフ
ァと、複数の前記プロセッサと前記メモリとの間のそれ
ぞれが独立したデータである要素の転送時の競合調停お
よび複数の前記プロセッサが前記ノード間接続装置を介
して接続する複数のノードとの間のデータ転送時の競合
調停とを共に行い転送する前記要素の中の1つを選択指
示するセレクト信号を出力する競合調停回路と、前記競
合調停回路の出力する転送を指示するセレクト信号に従
って複数の前記入力バッファから送られてくる要素の中
から1つの要素を選択し前記メモリと前記ノード間接続
装置とのいずれか一方に出力するデータセレクタ部とか
ら構成され、前記競合調停回路が転送を要求して競合し
ているデータのなかで連続の要素数の大なるものから順
に転送を指示することを特徴とする競合調停方法。A unit consisting of a plurality of processors, a memory commonly used by the plurality of processors, and a crossbar network connecting the plurality of processors and the memory is referred to as a node. In a contention arbitration method in an information processing device connected to a plurality of nodes via a connection device, the crossbar network includes an input buffer provided corresponding to a plurality of the processors, and a plurality of the processors and the memory. Contention arbitration during transfer of elements each having independent data between them, and contention arbitration at the time of data transfer between a plurality of processors connected to the plurality of nodes via the inter-node connection device, and transfer. A competing arbitration circuit for outputting a select signal for selecting and instructing one of the elements to be output. A data selector unit for selecting one element from among a plurality of elements sent from the plurality of input buffers in accordance with a select signal instructing the transfer and outputting the selected element to either the memory or the inter-node connection device. A contention arbitration circuit for requesting the data transfer and instructing the data transfer in order of the number of continuous elements among the data competing for the data transfer.
象以外の要素の存在する入力バッファに対してアクティ
ブな保持信号を出力し、バッファリングされている要素
を保持するよう制御することを特徴とする請求項1記載
の競合調停方法。2. A contention arbitration circuit outputs an active holding signal to an input buffer in which an element other than a processing target exists during processing of an element, and controls to hold the buffered element. The contention arbitration method according to claim 1, wherein:
続装置に任意の数の要素から構成される転送データを送
出する場合に、前記転送データの各々の要素に要素数と
送出先装置名とを付加して送出することを特徴とする請
求項1記載の競合調停方法。3. When a processor transmits transfer data composed of an arbitrary number of elements to a memory or an inter-node connecting device, the processor adds a number of elements and a destination device name to each element of the transfer data. 2. The contention arbitration method according to claim 1, wherein the contention is transmitted.
出先装置名がノード間接続装置であった場合は、競合調
停回路がプロセッサ間の競合調停で選択されたプロセッ
サのデータのすべての要素を送出し、送出終了後再びプ
ロセッサ間の競合調停を行うことを特徴とする請求項1
記載の競合調停方法。4. When the destination device name of the transfer data added to the transfer data is an inter-node connection device, the contention arbitration circuit deletes all elements of the data of the processor selected by the contention arbitration between the processors. 2. The contention arbitration between processors is performed again after the transmission, and after the transmission is completed.
The competitive arbitration method described.
出先装置名がメモリであった場合は、競合調停回路がプ
ロセッサ間の競合調停で選択されたプロセッサの1つの
要素を送出するごとに再びプロセッサ間の競合調停を行
うことを特徴とする請求項1記載の競合調停方法。5. When the destination device name of the transfer data added to the transfer data is a memory, each time the contention arbitration circuit sends one element of the processor selected by the contention arbitration between the processors, the contention arbitration circuit is re-started. 2. The contention arbitration method according to claim 1, wherein contention arbitration between processors is performed.
てくるデータを格納し、競合調停回路に要素数と送出先
装置名を送出し、データセレクタ部に要素を送出すると
共に、競合調停回路から出力される保持信号がアクティ
ブの時はバッファリングしてある要素を保持することを
特徴とする請求項1記載の競合調停方法。6. An input buffer stores data sent from a processor, sends out the number of elements and a destination device name to a contention arbitration circuit, sends out an element to a data selector section, and outputs data from the contention arbitration circuit. 2. The contention arbitration method according to claim 1, wherein the buffered element is held when the held signal is active.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP01050398A JP3481445B2 (en) | 1998-01-22 | 1998-01-22 | Competition mediation method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP01050398A JP3481445B2 (en) | 1998-01-22 | 1998-01-22 | Competition mediation method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH11212927A true JPH11212927A (en) | 1999-08-06 |
| JP3481445B2 JP3481445B2 (en) | 2003-12-22 |
Family
ID=11752020
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP01050398A Expired - Lifetime JP3481445B2 (en) | 1998-01-22 | 1998-01-22 | Competition mediation method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3481445B2 (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6801978B2 (en) | 2002-05-21 | 2004-10-05 | Nec Corporation | Crossbar system with increased throughput |
| JP2006279390A (en) * | 2005-03-29 | 2006-10-12 | Nec Corp | Node interconnection device |
| JP2011076160A (en) * | 2009-09-29 | 2011-04-14 | Nec Corp | Switching method of arbitration priority, arbitration device, and processor |
-
1998
- 1998-01-22 JP JP01050398A patent/JP3481445B2/en not_active Expired - Lifetime
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6801978B2 (en) | 2002-05-21 | 2004-10-05 | Nec Corporation | Crossbar system with increased throughput |
| JP2006279390A (en) * | 2005-03-29 | 2006-10-12 | Nec Corp | Node interconnection device |
| JP2011076160A (en) * | 2009-09-29 | 2011-04-14 | Nec Corp | Switching method of arbitration priority, arbitration device, and processor |
Also Published As
| Publication number | Publication date |
|---|---|
| JP3481445B2 (en) | 2003-12-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2500973B2 (en) | Exchange connection system | |
| US4623996A (en) | Packet switched multiple queue NXM switch node and processing method | |
| JP3033927B2 (en) | Method of sending an electronic message from a calling station to a called station over a network of switches and links | |
| US6633580B1 (en) | N×N crossbar packet switch | |
| JP2708354B2 (en) | Multimedia analog / digital / optical switching equipment | |
| JP2604967B2 (en) | Adaptive switching equipment | |
| KR100905802B1 (en) | Tagging and arbitration mechanisms at the input / output nodes of a computer system | |
| US6888841B1 (en) | Pipelined scheduling technique | |
| JPH05342178A (en) | Arbitration circuit and data processor using the circuit | |
| JPH06214965A (en) | Digital computer | |
| JPH10275075A (en) | Combination of unbalanced multiplexer and arbiter | |
| KR20040054722A (en) | Computer system i/o node | |
| US7096375B2 (en) | Data transfer circuit between different clock regions | |
| JPH11212927A (en) | Conflict arbitration method | |
| TWI417741B (en) | Method for dynamically adjusting channel direction and chip network architecture using same | |
| US20060282605A1 (en) | High-speed internal bus architecture for an integrated circuit | |
| JPH1166024A (en) | Crossbar switch changeover system | |
| JP3995131B2 (en) | Data output circuit | |
| JP3031591B2 (en) | Access arbitration method | |
| KR20060009292A (en) | Split protocol transmission method and processing system | |
| JP3747020B2 (en) | Crossbar mediation system | |
| JP3309212B2 (en) | Network switch device | |
| JP3178669B2 (en) | Switch circuit | |
| JP2596654B2 (en) | Communication network node | |
| JP3317150B2 (en) | Information processing device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20021119 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20030924 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081010 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091010 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091010 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101010 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111010 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121010 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131010 Year of fee payment: 10 |
|
| S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| EXPY | Cancellation because of completion of term |