JPH0962617A - Conflict arbitration device - Google Patents

Conflict arbitration device

Info

Publication number
JPH0962617A
JPH0962617A JP22043195A JP22043195A JPH0962617A JP H0962617 A JPH0962617 A JP H0962617A JP 22043195 A JP22043195 A JP 22043195A JP 22043195 A JP22043195 A JP 22043195A JP H0962617 A JPH0962617 A JP H0962617A
Authority
JP
Japan
Prior art keywords
output
load
bit
control signal
unit
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
JP22043195A
Other languages
Japanese (ja)
Other versions
JP2878160B2 (en
Inventor
Takahiro Uchida
尊博 内田
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 Computertechno Ltd
Original Assignee
NEC Computertechno 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 Computertechno Ltd filed Critical NEC Computertechno Ltd
Priority to JP7220431A priority Critical patent/JP2878160B2/en
Publication of JPH0962617A publication Critical patent/JPH0962617A/en
Application granted granted Critical
Publication of JP2878160B2 publication Critical patent/JP2878160B2/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 improve the throughput of an information processor by preferentially processing a request which is high in urgency. SOLUTION: A block load instruction recognition part once recognizing block load instructions from a plurality of arithmetic parts 8 generate a plurality of load requests; and an address generation part 2 generates the addresses of the load requests and a priority level generation part 4 generates the priority levels of the load requests respectively. The priority levels are carried about during access to a main storage part 9 and read out of respective banks to a conflict arbitration part 6. The conflict arbitration part 6 arbitrates the load requests with specific logic according to the priority levels and issues a crossbar control signal and a load data crossbar 7 sends the load data out to an arithmetic part 8 in response to the crossbar control signal.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、複数メモリと複数
演算装置間のデータ転送時における競合調停装置、特
に、主記憶装置の複数のバンクから複数の演算装置にデ
ータを送る際に、同一の演算装置に向かうデータ間で起
こる競合を調停し、優先順位の高いデータを先に通過さ
せる機能を有する競合調停装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a contention arbitration device for data transfer between a plurality of memories and a plurality of arithmetic units, and more particularly, to the same when transmitting data from a plurality of banks of a main memory to a plurality of arithmetic units. The present invention relates to a contention arbitration device having a function of arbitrating contention that occurs between data heading for a computing device and allowing high-priority data to pass first.

【0002】[0002]

【従来の技術】図4に従来のこの種の競合調停装置の一
例を示す。
2. Description of the Related Art FIG. 4 shows an example of a conventional competitive arbitration device of this type.

【0003】図4において、演算部からのリクエストは
7つのリクエスト入力ポート100〜107より入力さ
れる。入力されたリクエストは2ウエイセレクタ204
を経て8ビットFF904に入力される。この時、入力
リクエストは図3(c)においてリクエストの有無の欄
で○がついているポートからのリクエストが入力された
とする。従って、8ビットFF904の値は“1110
1111”である。
In FIG. 4, a request from the arithmetic unit is input from seven request input ports 100 to 107. The input request is a 2-way selector 204
And is input to the 8-bit FF904. At this time, as the input request, it is assumed that a request is input from a port marked with a circle in the request presence / absence column in FIG. Therefore, the value of the 8-bit FF904 is "1110.
1111 ".

【0004】1クロックめでは、8ビットFF904の
内容が8ビットアービタ601に入力される。この8ビ
ットアービタ601は優先順位固定式の競合調停回路で
あり、入力ポート100が一番優先順位が高いものと仮
定すると、アービトレーションの結果、入力ポート10
0のリクエストが選択され、クロスバ制御信号として
“10000000”が出力される。同時にこのアービ
タ出力信号をインバータ702で反転した信号と8ビッ
トFF904出力信号を論理積回路703で論理積をと
り、内容が“01101111”のアービトレーション
結果信号としてセレクタ制御回路900に出力する。
At the first clock, the contents of the 8-bit FF 904 are input to the 8-bit arbiter 601. The 8-bit arbiter 601 is a fixed-priority contention arbitration circuit. Assuming that the input port 100 has the highest priority, as a result of arbitration, the input port 10
A request of 0 is selected and "10000000" is output as the crossbar control signal. At the same time, the signal obtained by inverting the arbiter output signal by the inverter 702 and the output signal of the 8-bit FF904 are logically ANDed by the logical AND circuit 703 and output to the selector control circuit 900 as an arbitration result signal having the content “01101111”.

【0005】セレクタ制御回路402では、このアービ
トレーション結果信号を受け取り、リクエスト数が1以
上であれば(即ち、アービトレーション結果信号がオー
ル“0”以外ならば)アービトレーション結果信号を8
ビットFF904に出力するようセレクタ制御信号を出
力する。また、アービトレーション結果信号がオール
“0”以外ならばONのホールド信号を主記憶装置に送
出する。2ウエイセレクタ204はセレクタ制御信号を
受けてアービトレーション制御信号を選択し、8ビット
FF904に入力する。以上の一連の動作を経て8ビッ
トFF904にはアービトレーション結果信号“011
01111”がセットされる。
The selector control circuit 402 receives this arbitration result signal, and outputs 8 arbitration result signals when the number of requests is 1 or more (that is, when the arbitration result signals are all other than "0").
The selector control signal is output so as to be output to the bit FF904. If the arbitration result signal is other than all "0", an ON hold signal is sent to the main memory. The 2-way selector 204 receives the selector control signal, selects the arbitration control signal, and inputs it to the 8-bit FF 904. Through the series of operations described above, the arbitration result signal “011
01111 "is set.

【0006】2クロックめでは、上述のアービトレーシ
ョンの結果により、リクエスト入力ポート101のリク
エストが選択され、クロスバ制御信号として出力され
る。同時に内容が“00101111”のアービトレー
ション結果信号が8ビットFF904に入力される。こ
の場合のアービトレーション結果信号は、1クロックめ
におけるのと同様な経緯により“00101111”と
なり、やはりオール“0”ではないのでセレクタ制御回
路900からONのホールド信号が出力される。
At the second clock, the request of the request input port 101 is selected according to the result of the above-mentioned arbitration and is output as the crossbar control signal. At the same time, the arbitration result signal having the content “00101111” is input to the 8-bit FF904. In this case, the arbitration result signal becomes “00101111” due to the same process as in the first clock, and since it is not all “0”, the selector control circuit 900 outputs an ON hold signal.

【0007】1クロックめは、2クロックめの時と同様
の動作が3クロックめ以降も行われ、3クロックめでは
リクエスト入力ポート102のリクエストが、4クロッ
クめではリクエスト入力ポート104のリクエストが、
5クロックめではリクエスト入力ポート105のリクエ
ストが、6クロックめではリクエスト入力ポート106
のリクエストが、7クロックめではリクエスト入力ポー
ト107のリクエストがアービトレーションの結果選択
される。7クロックめに最後の入力ポート107のリク
エストが選択されると同時に内容が“0000000
0”であるアービトレーション結果信号を受けたセレク
タ制御回路402は主記憶部へ向かって送っていたホー
ルド信号を解除して、新たなリクエストを受け取る。以
上の一連の動作の結果、図3(c)の競合調停出力順位
の欄で示してある順番でリクエストが処理されることに
なる。
In the first clock, the same operation as in the second clock is performed after the third clock, and the request of the request input port 102 is made in the third clock and the request of the request input port 104 is made in the fourth clock.
The request from the request input port 105 is at the 5th clock, and the request input port 106 is at the 6th clock.
In the 7th clock, the request from the request input port 107 is selected as a result of the arbitration. At the 7th clock, the last request for the input port 107 is selected, and at the same time, the content is "0000000".
The selector control circuit 402, which has received the arbitration result signal of 0 ″, releases the hold signal sent to the main memory unit and receives a new request. As a result of the above series of operations, FIG. The requests are processed in the order shown in the contention arbitration output rank column.

【0008】[0008]

【発明が解決しようとする課題】上述した従来の競合調
停装置では、競合調停回路の回路構成により競合リクエ
スト間の優先順位が決定されており、また、このような
競合調停装置の他に競合調停部の回路が異なる優先順位
を持つ回路に切り換えることにより優先順位を変化させ
る方法もあるが、いずれにしろ任意のデータを優先的に
処理する方法は無かった。
In the conventional contention arbitration apparatus described above, the priority order between contention requests is determined by the circuit configuration of the contention arbitration circuit. In addition to such contention arbitration apparatus, contention arbitration apparatus is also provided. There is also a method of changing the priority order by switching a circuit of a part to a circuit having a different priority order, but in any case, there is no method of preferentially processing arbitrary data.

【0009】[0009]

【課題を解決するための手段】本発明の装置は、それぞ
れが独立に動作可能な一つ以上の演算部と、並列動作が
可能な複数のバンクを有する主記憶部と、前記演算部と
前記主記憶部との間において並列に複数のデータ転送を
行うことが可能なベクトルデータ処理装置における前記
データ転送の競合調停装置において、前記演算部から送
られてきた命令を受け取ってブロックロード命令を認識
して複数のロードリクエストを生成するブロックロード
命令認識部と、前記生成された複数のロードリクエスト
に対してアドレスを生成するアドレス生成部と、前記複
数のロードリクエストに対して優先レベルを生成する優
先レベル生成部と、前記生成されたアドレスによる前記
バンクのアクセスに持ち回わされた前記生成された優先
レベルの順に、前記ロードリクエストの競合を調停して
クロスバ制御信号を出力する競合調停部と、該クロスバ
制御信号を受け取り前記バンクから読み出されてくるデ
ータを選択して前記演算装置に送るロードデータクロス
バとを設けたことを特徴とする。
The apparatus of the present invention comprises one or more arithmetic units each of which can operate independently, a main memory unit having a plurality of banks which can operate in parallel, the arithmetic unit and the above-mentioned arithmetic unit. In the vector data processing device capable of performing a plurality of data transfers in parallel with the main memory unit, the data transfer contention arbitration device receives the instruction sent from the arithmetic unit and recognizes the block load instruction. Block load instruction recognition unit for generating a plurality of load requests, an address generation unit for generating an address for the generated load requests, and a priority for generating a priority level for the plurality of load requests In the order of the level generation unit and the generated priority level circulated to access the bank by the generated address, A contention arbitration unit that arbitrates contention of load requests and outputs a crossbar control signal, and a load data crossbar that receives the crossbar control signal, selects data read from the bank, and sends the selected data to the arithmetic unit It is characterized by

【0010】[0010]

【発明の実施の形態】次に、本発明について図面を用い
て説明する。
Next, the present invention will be described with reference to the drawings.

【0011】図1は本発明の一実施例のブロック図を示
し、ブロックロード命令認識部1,アドレス生成部2,
アドレスクロスバ3,優先レベル生成部4,優先レベル
クロスバ5,競合調停部6及びロードデータクロスバ7
から構成される。
FIG. 1 is a block diagram of an embodiment of the present invention, in which a block load instruction recognition unit 1, an address generation unit 2,
Address crossbar 3, priority level generation unit 4, priority level crossbar 5, contention arbitration unit 6, and load data crossbar 7
Consists of

【0012】演算部8から発行されたブロックロードリ
クエストはブロックロード命令認識部1に入力される。
ブロックロード命令認識部1は、ブロックロード命令を
認識すると、アドレス生成部2及び優先レベル生成部4
に指示を送る。アドレス生成部2は、指示を受け取る
と、主記憶部9のバンクの数分だけのアドレスを生成し
てアドレスクロスバ3に送る。優先レベル生成部4は、
ブロックロード認識部1からの指示に従ってリクエスト
毎に優先順位を生成し、優先レベルクロスバ5に送る。
アドレスクロスバ3は、リクエストの行き先バンクポー
トにロードアドレスを送り、優先レベルクロスバ5もリ
クエストの行き先バンクポートに優先レベルを送る。
The block load request issued from the arithmetic unit 8 is input to the block load instruction recognition unit 1.
When the block load instruction recognition unit 1 recognizes the block load instruction, the address generation unit 2 and the priority level generation unit 4
Send instructions to When the address generator 2 receives the instruction, it generates as many addresses as the number of banks in the main memory 9 and sends them to the address crossbar 3. The priority level generation unit 4
According to an instruction from the block load recognition unit 1, a priority order is generated for each request and sent to the priority level crossbar 5.
The address crossbar 3 sends the load address to the request destination bank port, and the priority level crossbar 5 also sends the priority level to the request destination bank port.

【0013】主記憶部9では、ロードアドレスと優先レ
ベルを受け取り、ロードデータを読み出す。この時、優
先レベルは保持しておき、ロードデータと共に1つのリ
クエストとして送出する。競合調停部6は、主記憶部9
の各バンクから送られてきたリクエストの優先レベル信
号を受け取り、バンク間の競合を調停し、最優先のバン
クを決定してクロスバ制御信号をロードデータクロスバ
7に送出する。また、リクエストが競合調停部6に残っ
ている時はホールド信号を“1”として主記憶部9に送
出し、主記憶部9はホールド信号“1”に応答して、上
述の競合調停部6への送出を取り止める。ロードデータ
クロスバ7は競合調停部6から送られてくるクロスバ制
御信号を受け取り、各バンクから送られてくるロードデ
ータの中からクロスバ制御信号で指示されるバンクのロ
ードデータを選択し、演算部8へ送出する。
The main memory 9 receives the load address and the priority level and reads the load data. At this time, the priority level is held and sent together with the load data as one request. The competition arbitration unit 6 includes the main storage unit 9
Receives the priority level signal of the request sent from each bank, arbitrates the competition between the banks, determines the highest priority bank, and sends the crossbar control signal to the load data crossbar 7. When the request remains in the contention arbitration unit 6, the hold signal is sent to the main storage unit 9 as "1", and the main storage unit 9 responds to the hold signal "1" in response to the contention arbitration unit 6 described above. To stop sending to. The load data crossbar 7 receives the crossbar control signal sent from the contention arbitration unit 6, selects the load data of the bank indicated by the crossbar control signal from the load data sent from each bank, and the arithmetic unit 8 Send to.

【0014】次に、図2に示す競合調停部6の詳細図に
より、本実施例について詳細に説明する。
Next, this embodiment will be described in detail with reference to the detailed diagram of the contention arbitration unit 6 shown in FIG.

【0015】図2はリクエスト入力ポートを8個有し、
4段階の優先レベルを持つ優先順位決定方式を採用した
競合調停部6の一例であり、8つのリクエスト入力ポー
ト100〜107,4つの2ウエイセレクタ200〜2
03,4つの8ビット論理和回路300〜303,セレ
クタ制御回路400,32ビット論理和回路401,ア
ービタ入力用4ウエイセレクタ500,8ビットアービ
タ600,インバータ700,論理積回路701,4つ
のFF入力用2ウエイセレクタ800〜803及び4つ
の8ビットFF900〜903から構成される。
FIG. 2 has eight request input ports,
This is an example of a contention arbitration unit 6 that adopts a priority order determination method having four priority levels, including eight request input ports 100 to 107 and four two-way selectors 200 to 2.
03, four 8-bit OR circuits 300 to 303, selector control circuit 400, 32-bit OR circuit 401, 4-way selector for arbiter input 500, 8-bit arbiter 600, inverter 700, AND circuit 701, four FF inputs 2 way selectors 800-803 and four 8-bit FFs 900-903.

【0016】いま、8ビットFF900〜903が“a
ll0”の時、32ビット論理和回路401からは
“0”が出力され、ホールド信号として主記憶部9に送
られる。主記憶部9では内容が“0”であるホールド信
号を受け取ると、主記憶部9を構成する8つのバンクか
らそれぞれ競合調停部6に優先レベル信号を送出する。
リクエスト入力ポート100〜107は、この優先レベ
ル信号を受ける。優先レベル信号は4ビットで構成され
ており、優先順位の高い順に“1000”,“010
0”,“0010”,“0001”の4パタンの内いず
れかである。また優先レベル信号が“0000”の時は
リクエストが無いことを示している。
Now, the 8-bit FFs 900 to 903 are "a".
When the value is "ll0", "0" is output from the 32-bit OR circuit 401 and sent as a hold signal to the main memory unit 9. When the main memory unit 9 receives the hold signal having the content "0", A priority level signal is sent from each of the eight banks forming the storage unit 9 to the competition arbitration unit 6.
The request input ports 100-107 receive this priority level signal. The priority level signal is composed of 4 bits, and the order of priority is "1000" and "010".
It is one of four patterns of "0", "0010", and "0001", and when the priority level signal is "0000", there is no request.

【0017】受け取った優先レベル信号は、2ウエイセ
レクタ200〜203に供給され、2ウエイセレクタ2
00にはリクエスト入力ポート100〜107のいちば
ん左側のビット、2ウエイセレクタ201には各ポート
の左から2番目のビット、2ウエイセレクタ202には
各ポートの左から3番目のビット、2ウエイセレクタ2
03には一番右のビットがそれぞれ入力される。これら
2ウエイセレクタ200〜203は、ホールド信号が
“0”ならばリクエスト入力ポート100〜107から
の信号を、“1”ならば8ビットFF900〜903の
信号を選択し、出力する。
The received priority level signal is supplied to the 2-way selectors 200 to 203, and the 2-way selector 2
00 is the leftmost bit of the request input ports 100 to 107, 2 way selector 201 is the 2nd bit from the left of each port, 2 way selector 202 is the 3rd bit from the left of each port, 2 way selector Two
The rightmost bit is input to 03. These 2-way selectors 200-203 select and output the signals from the request input ports 100-107 if the hold signal is "0", and select the signals of the 8-bit FFs 900-903 if they are "1".

【0018】8ビット論理和回路300〜303は、2
ウエイセレクタ200〜203の出力の論理和をとって
セレクタ制御回路400に送る。セレクタ制御回路40
0は8ビット論理和回路300〜303の出力を入力し
アービタ制御用4ウエイセレクタ制御信号を出力する。
この時、8ビット論理和回路300の出力が“1”なら
ば2ウエイセレクタ200の出力が選択されるような制
御信号“1000”を、8ビット論理和回路300の出
力が“0”で8ビット論理和回路301の出力が“1”
ならば2ウエイセレクタ201の出力が選択されるよう
な制御信号“0100”を、8ビット論理和回路300
と301の出力が“0”で8ビット論理和回路302の
出力が“1”ならば2ウエイセレクタ202の出力が選
択されるような制御信号“0010”を、8ビット論理
和回路300と301と302の出力が“0”で8ビッ
ト論理和回路303の出力が“1”ならば2ウエイセレ
クタ203の出力が選択されるような制御信号“000
1”をそれぞれ出力する。また、セレクタ制御回路40
0から出力されるアービタ入力用4ウエイセレクタ制御
信号はFF入力用2ウエイセレクタ800〜803の制
御信号としても使用される。
The 8-bit OR circuits 300 to 303 have 2
The outputs of the way selectors 200 to 203 are ORed and sent to the selector control circuit 400. Selector control circuit 40
0 inputs the outputs of the 8-bit OR circuits 300 to 303 and outputs a 4-way selector control signal for arbiter control.
At this time, if the output of the 8-bit OR circuit 300 is "1", the control signal "1000" for selecting the output of the 2-way selector 200 is set to 8 when the output of the 8-bit OR circuit 300 is "0". Output of bit OR circuit 301 is "1"
If so, the control signal "0100" for selecting the output of the 2-way selector 201 is output to the 8-bit OR circuit 300.
If the outputs of 0 and 301 are "0" and the output of the 8-bit OR circuit 302 is "1", the control signal "0010" for selecting the output of the 2-way selector 202 is set to the 8-bit OR circuits 300 and 301. If the outputs of 0 and 302 are "0" and the output of the 8-bit OR circuit 303 is "1", the control signal "000" for selecting the output of the 2-way selector 203
1 ", respectively, and the selector control circuit 40.
The arbiter input 4-way selector control signal output from 0 is also used as a control signal for the FF input 2-way selectors 800 to 803.

【0019】アービタ入力用4ウエイセレクタ500
は、セレクタ制御回路400から出力される上述のアー
ビタ入力用4ウエイセレクタ制御信号を入力して2ウエ
イセレクタ200〜203の出力信号のうちのいずれか
を選択し、8ビットアービタ600に出力する。8ビッ
トアービタ600は、所定の優先順位に従ってアービト
レションを行い、その結果をスロスバー制御信号として
出力する。この優先順位としては、固定式または回転式
が考えられる。インバータ700は、8ビットアービタ
600の出力を反転させて論理積回路701に出力し、
論理積回路701はアービタ入力用4ウエイセレクタ5
00の出力とインバータ700の出力との論理積をと
り、FF入力用2ウエイセレクタ800〜803に出力
する。FF入力用2ウエイセレクタ800〜803は、
セレクタ制御回路400から出力されるアービタ入力用
4ウエイセレクタ制御信号に応答して、2ウエイセレク
タ200〜203の出力または論理積回路701の出力
を選択して8ビットFF900〜903に出力する。
4-way selector 500 for arbiter input
Receives the above-mentioned 4-way selector control signal for arbiter input outputted from the selector control circuit 400, selects one of the output signals of the 2-way selectors 200 to 203, and outputs it to the 8-bit arbiter 600. The 8-bit arbiter 600 performs arbitration according to a predetermined priority order and outputs the result as a slobar control signal. The priority may be fixed or rotary. The inverter 700 inverts the output of the 8-bit arbiter 600 and outputs it to the AND circuit 701,
The AND circuit 701 is a 4-way selector 5 for arbiter input.
00 and the output of the inverter 700 are ANDed and output to the FF input 2-way selectors 800 to 803. The 2-way selectors 800-803 for FF input are
In response to the 4-way selector control signal for arbiter input output from the selector control circuit 400, the outputs of the 2-way selectors 200 to 203 or the AND circuit 701 are selected and output to the 8-bit FFs 900 to 903.

【0020】この時、アービタ入力用4ウエイセレクタ
制御信号の4ビットのうちの一番左側のビットがFF入
力用2ウエイセレクタ800の制御信号に、4ビットの
うちの左側から2番目のビットがセレクタ801の制御
信号に、左から3番目のビットがセレクタ802の制御
信号に、一番右側のビットがセレクタ803の制御信号
となる。セレクタ800〜803の選択条件としては選
択信号が“0”ならば2ウエイセレクタ200〜203
の出力を、選択信号が“1”ならば論理積回路701の
出力を選択する。8ビットFF900〜903の内容が
“all0”でない場合は32ビット論理和回路401
の出力が“1”となって、2ウエイセレクタ200〜2
03は8ビットFF900〜903の出力信号を選択す
る。
At this time, the leftmost bit of the 4 bits of the 4-way selector control signal for arbiter input is the control signal of the 2-way selector 800 for FF input, and the second bit from the left of the 4 bits is the control signal. In the control signal of the selector 801, the third bit from the left is the control signal of the selector 802, and the rightmost bit is the control signal of the selector 803. As the selection condition of the selectors 800 to 803, if the selection signal is “0”, the 2-way selectors 200 to 203 are selected.
If the selection signal is "1", the output of the AND circuit 701 is selected. If the contents of the 8-bit FFs 900 to 903 are not "all0", the 32-bit OR circuit 401
Output becomes "1" and 2-way selectors 200-2
03 selects the output signals of the 8-bit FFs 900 to 903.

【0021】次に、主記憶装置9の8つのバンクから送
られてきた優先レベル信号の具体例により本実施例を更
に詳細に説明する。図3(a)はリクエスト入力ポート
100〜107が受け取った優先レベル信号と、優先レ
ベル信号の優先順位の具体例を示し、図3(b)は競合
調停部6の中に未処理のリクエストが無い時に図3
(a)の優先レベル信号を受け取った状態をクロック1
としてクロック8までの内部の状態を示す。
Next, this embodiment will be described in more detail with reference to specific examples of priority level signals sent from the eight banks of the main memory 9. FIG. 3A shows a specific example of the priority level signals received by the request input ports 100 to 107 and the priority order of the priority level signals. FIG. Figure 3 when there is no
The state where the priority level signal of (a) is received is clock 1
Shows the internal state up to clock 8.

【0022】以下、図3を用いて競合調停部6の動作を
説明する。
The operation of the contention arbitration unit 6 will be described below with reference to FIG.

【0023】いま、8ビットFF900〜903の内容
が“all0”で、リクエストが無い状態なのでホール
ド信号は“0”である場合に、主記憶部9から競合調停
部6のリクエスト入力ポート100〜107に図3
(a)で示される優先レベル信号が入力されたとする。
2ウエイセレクタ200〜203は制御信号であるホー
ルド信号が“0”であるためでリクエスト入力ポート1
00〜107からの信号を選択し、図3(b)の200
出力〜203出力の欄のような信号を出力する。この
時、8ビット論理和回路300〜303の出力は“11
11”である。
Now, when the contents of the 8-bit FFs 900 to 903 are "all0" and there is no request, and the hold signal is "0", the main memory 9 requests the request input ports 100 to 107 of the contention arbitration unit 6. To Figure 3
It is assumed that the priority level signal shown in (a) is input.
The 2-way selectors 200 to 203 have the request input port 1 because the hold signal which is the control signal is “0”.
The signal from 00 to 107 is selected, and the signal of 200 in FIG.
A signal like the column of output to output 203 is output. At this time, the outputs of the 8-bit OR circuits 300 to 303 are "11".
11 ".

【0024】セレクタ制御回路400は、8ビット論理
和回路300〜303の出力を受け取りアービタ入力用
4ウエイセレクタ制御信号を出力するが、この時、8ビ
ット論理和回路300の出力が“1”なので2ウエイセ
レクタ200の出力を選択させるようなアービタ入力用
4ウエイセレクタ制御信号“1000”を出力する。ア
ービタ入力用4ウエイセレクタ制御信号“1000”を
受けて、2ウエイセレクタ200の出力“000010
00”を選択して8ビットアービタ600に出力する。
この時、8ビットアービタ600の出力は“00001
000”となり、インバータ700の出力は“1111
0111”となり、論理積回路701の出力は“000
00000”となる。
The selector control circuit 400 receives the outputs of the 8-bit OR circuits 300 to 303 and outputs the 4-way selector control signal for arbiter input. At this time, the output of the 8-bit OR circuit 300 is "1". An arbiter input 4-way selector control signal "1000" for selecting the output of the 2-way selector 200 is output. Receiving the 4-way selector control signal "1000" for arbiter input, the output "000010" of the 2-way selector 200
00 "is selected and output to the 8-bit arbiter 600.
At this time, the output of the 8-bit arbiter 600 is "00001."
000 ”and the output of the inverter 700 is“ 1111 ”.
0111 ”, and the output of the AND circuit 701 is“ 000 ”.
It becomes 00000 ".

【0025】FF入力用2ウエイセレクタ800〜80
3の制御信号のうちセレクタ800の制御信号のみ
“1”であるので、FF入力用2ウエイセレクタ800
のみが論理積回路701の出力“00000000”を
選択し、他のFF入力用2ウエイセレクタ801〜80
3は2ウエイセレクタ201〜203の出力を選択す
る。クロック1の結果、8ビットFF900〜903に
はそれぞれ“00000000”,“0010000
0”,“00000101”,“11000010”の
値が入る。
2-way selector for FF input 800 to 80
Since only the control signal of the selector 800 among the control signals of 3 is “1”, the 2-way selector 800 for FF input is used.
Only selects the output “00000000” of the AND circuit 701, and the other 2-way selectors 801 to 80 for FF input.
3 selects the outputs of the 2-way selectors 201 to 203. As a result of clock 1, the 8-bit FFs 900 to 903 have "00000000" and "00100000", respectively.
Values of 0 "," 00000101 ", and" 11000010 "are entered.

【0026】クロック2ではホールド信号は“1”であ
る。2ウエイセレクタ200〜203は8ビットFF9
00〜903の出力を選択する。8ビット論理和回路3
00の出力は“0”、8ビット論理和回路301の出力
は“1”なのでセレクタ制御回路400から出力される
アービタ入力用4ウエイセレクタ制御信号は“010
0”である。よって8ビットアービタ600には2ウエ
イセレクタ201の出力“00100000”が入力さ
れる。8ビットアービタ600の出力は“001000
00”で、論理積回路701の出力は“0000000
0”である。セレクタ制御回路400の出力信号は“0
100”なのでFF入力用2ウエイセレクタ801のみ
が論理積回路701の出力を選択する。クロック2の結
果、8ビットFF900〜903にはそれぞれ“000
00000”,“00000000”,“000001
01”,“11000010”の値が入る。
At clock 2, the hold signal is "1". 2-way selectors 200-203 are 8-bit FF9
Select the output from 00 to 903. 8-bit OR circuit 3
Since the output of 00 is "0" and the output of the 8-bit OR circuit 301 is "1", the 4-way selector control signal for arbiter input output from the selector control circuit 400 is "010".
Therefore, the output “0010000” of the 2-way selector 201 is input to the 8-bit arbiter 600. The output of the 8-bit arbiter 600 is “001000”.
00 ”, the output of the AND circuit 701 is“ 0000000 ”.
The output signal of the selector control circuit 400 is “0”.
Since it is 100 ", only the 2-way selector for FF input 801 selects the output of the AND circuit 701. As a result of the clock 2, the 8-bit FFs 900 to 903 have" 000 "respectively.
"00000", "00000000", "000001"
The values "01" and "11000010" are entered.

【0027】クロック3ではホールド信号は“1”であ
る。2ウエイセレクタ200〜203は8ビットFF9
00〜903の出力を選択する。論理積回路300及び
301の出力は“0”、論理積回路302の出力は
“1”なので、セレクタ制御回路400から出力される
アービタ入力用4ウエイセレクタ制御信号は“001
0”である。よって8ビットアービタ600には2ウエ
イセレクタ202の出力“00000101”が入力さ
れる。8ビットアービタ600の出力は“000001
00”で、インバータ700の出力は“1111101
1”、論理積回路701の出力は“00000001”
となる。セレクタ制御回路400の出力信号は“001
0”なのでFF入力用2ウエイセレクタ802のみが論
理積回路701の出力を選択する。クロック3の結果、
8ビットFF900〜903にはそれぞれ“00000
000”,“00000000”,“0000000
1”,“11000010”の値が入る。
At clock 3, the hold signal is "1". 2-way selectors 200-203 are 8-bit FF9
Select the output from 00 to 903. Since the outputs of the AND circuits 300 and 301 are “0” and the output of the AND circuit 302 is “1”, the 4-way selector control signal for arbiter input output from the selector control circuit 400 is “001”.
Therefore, the output “000000101” of the 2-way selector 202 is input to the 8-bit arbiter 600. The output of the 8-bit arbiter 600 is “000001”.
00 ", the output of the inverter 700 is" 1111101 ".
1 ", the output of the AND circuit 701 is" 00000001 "
Becomes The output signal of the selector control circuit 400 is “001
Since it is 0 ″, only the 2-way selector for FF input 802 selects the output of the AND circuit 701. As a result of the clock 3,
The 8-bit FFs 900 to 903 have "00000" respectively.
000 "," 00000000 "," 0000000 "
The values "1" and "11000010" are entered.

【0028】クロック4ではホールド信号は“1”であ
る。2ウエイセレクタ200〜203は8ビットFF9
00〜903の出力を選択する。8ビット論理和回路3
00及び301の出力は“0”、8ビット論理和回路3
02の出力は“1”なので、セレクタ制御回路400か
ら出力されるアービタ入力用4ウエイセレクタ制御信号
は“0010”である。よって8ビットアービタ600
には2ウエイセレクタ202の出力“0000000
1”が入力される。8ビットアービタ600の出力は
“00000001”で、論理積回路701の出力は
“00000000”である。セレクタ制御回路400
の出力信号は“0010”なのでFF入力用2ウエイセ
レクタ802のみが論理積回路701の出力を選択す
る。クロック4の結果、8ビットFF900〜903に
はそれぞれ“00000000”,“0000000
0”,“00000000”,“11000010”の
値が入る。
At clock 4, the hold signal is "1". 2-way selectors 200-203 are 8-bit FF9
Select the output from 00 to 903. 8-bit OR circuit 3
The outputs of 00 and 301 are “0”, and the 8-bit OR circuit 3
Since the output of 02 is "1", the arbiter input 4-way selector control signal output from the selector control circuit 400 is "0010". Therefore, 8-bit arbiter 600
The output of the 2-way selector 202 is “0000000”.
1 ”is input. The output of the 8-bit arbiter 600 is“ 00000001 ”and the output of the AND circuit 701 is“ 00000000. ”Selector control circuit 400
Since the output signal of is "0010", only the 2-way selector for FF input 802 selects the output of the AND circuit 701. As a result of the clock 4, the 8-bit FFs 900 to 903 have "00000000" and "0000000", respectively.
Values of 0 ”,“ 00000000 ”, and“ 11000010 ”are entered.

【0029】クロック5ではホールド信号は“1”であ
る。2ウエイセレクタ200〜203は8ビットFF9
00〜903の出力を選択する。8ビット論理和回路3
00,301及び302の出力は“0”、8ビット論理
和回路303の出力は“1”なので、セレクタ制御回路
400から出力されるアービタ入力用4ウエイセレクタ
制御信号は“0001”である。よって8ビットアービ
タ600には2ウエイセレクタ203の出力“1100
0010”が入力される。8ビットアービタ600の出
力は“10000000”で、インバータ700の出力
は“01111111”、論理積回路701の出力は
“01000010”である。セレクタ制御回路400
の出力信号は“0001”なのでFF入力用2ウエイセ
レクタ803のみが論理積回路701の出力を選択す
る。クロック5の結果、8ビットFF900〜903に
はそれぞれ“00000000”,“0000000
0”,“00000000”,“01000010”の
値が入る。
At clock 5, the hold signal is "1". 2-way selectors 200-203 are 8-bit FF9
Select the output from 00 to 903. 8-bit OR circuit 3
Since the outputs of 00, 301 and 302 are "0" and the output of the 8-bit OR circuit 303 is "1", the 4-way selector control signal for arbiter input output from the selector control circuit 400 is "0001". Therefore, the 8-bit arbiter 600 outputs "1100" from the 2-way selector 203.
0010 ”is input. The output of the 8-bit arbiter 600 is“ 10000000 ”, the output of the inverter 700 is“ 01111111 ”, and the output of the AND circuit 701 is“ 01000010 ”.
Since the output signal of is "0001", only the 2-way selector for FF input 803 selects the output of the AND circuit 701. As a result of the clock 5, the 8-bit FFs 900 to 903 have “00000000” and “0000000”, respectively.
Values of 0 ”,“ 00000000 ”, and“ 01000010 ”are entered.

【0030】クロック6ではホールド信号は“1”、セ
レクタ制御回路400から出力されるアービタ入力用4
ウエイセレクタ制御信号は“0001”である。8ビッ
トアービタ600には2ウエイセレクタ203の出力
“01000010”が入力される。8ビットアービタ
600の出力は“01000000”、インバータ70
0の出力は“10111111”、論理積回路701の
出力は“00000010”である。セレクタ制御回路
400の出力が“0001”であるためFF入力用2ウ
エイセレクタ803のみが論理積回路701の出力を選
択する。クロック6の結果、8ビットFF900〜90
3にはそれぞれ“00000000”,“000000
00”,“00000000”,“00000010”
の値が入る。
In the clock 6, the hold signal is "1", and the arbiter input 4 output from the selector control circuit 400 is input.
The way selector control signal is "0001". The output “01000010” of the 2-way selector 203 is input to the 8-bit arbiter 600. The output of the 8-bit arbiter 600 is “01000000”, and the inverter 70
The output of 0 is “10111111” and the output of the AND circuit 701 is “00000010”. Since the output of the selector control circuit 400 is “0001”, only the 2-way selector for FF input 803 selects the output of the AND circuit 701. As a result of clock 6, 8-bit FF900 to 90
3 is "00000000" and "000000", respectively.
00 ”,“ 00000000 ”,“ 00000010 ”
Enter the value of.

【0031】クロック7ではホールド信号は“1”、セ
レクタ制御回路400から出力されるアービタ入力用4
ウエイセレクタ制御信号は“0001”である。ビット
アービタ600には2ウエイセレクタ203の出力“0
0000010”が入力される。8ビットアービタ60
0の出力は“00000010”、インバータ700の
出力は“11111101”、論理積回路701の出力
は“00000000”となる。セレクタ制御回路40
0の出力が“0001”であるためFF入力用2ウエイ
セレクタ803のみが論理積回路701の出力を選択す
る。クロック7の結果、8ビットFF900〜903に
はそれぞれ“00000000”,“0000000
0”,“00000000”,“00000000”の
値が入る。
In the clock 7, the hold signal is "1", and the arbiter input 4 output from the selector control circuit 400.
The way selector control signal is "0001". The bit arbiter 600 outputs “0” to the 2-way selector 203.
0000010 "is input. 8-bit arbiter 60
The output of 0 is “00000010”, the output of the inverter 700 is “11111101”, and the output of the AND circuit 701 is “00000000”. Selector control circuit 40
Since the output of 0 is "0001", only the 2-way selector for FF input 803 selects the output of the AND circuit 701. As a result of the clock 7, the 8-bit FFs 900 to 903 have "00000000" and "0000000", respectively.
Values of 0 ”,“ 00000000 ”and“ 00000000 ”are entered.

【0032】以上で最初のリクエスト群の処理がすべて
完了した。
The processing of the first request group has been completed.

【0033】クロック8ではホールド信号は“0”とな
り、主記憶部9から新たなリクエスト群が送られてく
る。
At clock 8, the hold signal becomes "0", and a new request group is sent from the main memory unit 9.

【0034】図3(c)では本発明における競合調停装
置と従来の競合調停装置とのリクエストの出力順位の比
較を示してある。従来例では一番早くロードデータが欲
しいリクエスト入力ポート103のデータは4番目に出
力されるのに対し、本発明における構成では1番目に出
力されていることがわかる。
FIG. 3 (c) shows a comparison of the request output order between the contention arbitration apparatus of the present invention and the conventional contention arbitration apparatus. It can be seen that, in the conventional example, the data of the request input port 103 that wants the load data earliest is output fourth, whereas in the configuration of the present invention, the data is output first.

【0035】[0035]

【発明の効果】以上説明したように、本発明は演算部か
らロードリクエストを発行する際に、早急にリプライが
必要なリクエストに高い優先順位を付加することによ
り、主記憶部から演算部にリクエストが帰る際に競合が
起こっても必要なリクエストが優先的に処理され、情報
処理装置全体としての処理効率を上げることができる。
As described above, according to the present invention, when a load request is issued from the arithmetic unit, a request from the main storage unit is requested to the arithmetic unit by adding a high priority to a request requiring a prompt reply. Even if a conflict occurs when the process returns, the required request is preferentially processed, and the processing efficiency of the entire information processing apparatus can be improved.

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

【図1】本発明の競合調停装置の一実施例を示すブロッ
ク図である。
FIG. 1 is a block diagram showing an embodiment of a competitive arbitration device of the present invention.

【図2】図1に示した競合調停部の詳細図である。FIG. 2 is a detailed diagram of a contention arbitration unit shown in FIG.

【図3】本実施例及び従来の方式における動作を説明す
るための図である。
FIG. 3 is a diagram for explaining an operation in this embodiment and a conventional method.

【図4】従来例の構成を示すブロック図である。FIG. 4 is a block diagram showing a configuration of a conventional example.

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

1 ブロックロード命令認識部 2 アドレス生成部 3 アドレスクロスバ 4 優先レベル生成部 5 優先レベルクロスバ 6 競合調停部 7 ロードデータクロスバ 8 演算部 9 主記憶部 100〜107 リクエスト入力ポート 200〜204 2ウエイセレクタ 300〜303 8ビット論理和回路 400,402 セレクタ制御回路 401 32ビット論理和回路 500 アービタ入力用4ウエイセレクタ 600〜601 8ビットアービタ 700,702 インバータ 701,703 論理積回路 800〜803 FF入力用2ウエイセレクタ 900〜904 8ビットFF 1 block load instruction recognition unit 2 address generation unit 3 address crossbar 4 priority level generation unit 5 priority level crossbar 6 contention arbitration unit 7 load data crossbar 8 arithmetic unit 9 main storage unit 100 to 107 request input port 200 to 204 2 way selector 300 -303 8-bit OR circuit 400,402 Selector control circuit 401 32-bit OR circuit 500 4-way selector for arbiter input 600-601 8-bit arbiter 700,702 Inverter 701,703 AND circuit 800-803 2-way for FF input Selector 900 to 904 8-bit FF

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】それぞれが独立に動作可能な一つ以上の演
算部と、並列動作が可能な複数のバンクを有する主記憶
部と、前記演算部と前記主記憶部との間において並列に
複数のデータ転送を行うことが可能なベクトルデータ処
理装置における前記データ転送の競合調停装置におい
て、 前記演算部から送られてきた命令を受け取ってブロック
ロード命令を認識して複数のロードリクエストを生成す
るブロックロード命令認識部と、 前記生成された複数のロードリクエストに対してアドレ
スを生成するアドレス生成部と、 前記複数のロードリクエストに対して優先レベルを生成
する優先レベル生成部と、 前記生成されたアドレスによる前記バンクのアクセスに
持ち回わされた前記生成された優先レベルの順に、前記
ロードリクエストの競合を調停してクロスバ制御信号を
出力する競合調停部と、 該クロスバ制御信号を受け取り前記バンクから読み出さ
れてくるデータを選択して前記演算装置に送るロードデ
ータクロスバとを設けたことを特徴とする競合調停装
置。
1. A plurality of arithmetic units, each of which can operate independently, a main memory unit having a plurality of banks that can operate in parallel, and a plurality of memory units arranged in parallel between the arithmetic units and the main memory unit. A contention arbitration device for data transfer in a vector data processing device capable of performing data transfer of a block for receiving a command sent from the operation unit, recognizing a block load command, and generating a plurality of load requests A load instruction recognition unit, an address generation unit that generates an address for the plurality of generated load requests, a priority level generation unit that generates a priority level for the plurality of load requests, and the generated addresses Arbitrate the contention of the load request in the order of the generated priority levels carried around to access the bank And a load data crossbar for receiving the crossbar control signal and selecting the data read from the bank and sending the selected data to the arithmetic unit. Arbitration device.
【請求項2】前記競合調停部は、前記優先レベル対応に
ロードリクエストの有無を保持するフリップフロップ
と、該フリップフロップのすべてが空にならない限り当
該フリップフロップの出力を受け入れ、空になれば前記
バンクからロードリクエストを受け入れる前記優先レベ
ル対応の2ウエイセレクタと、前記優先レベルに基づい
て前記2ウエイセレクタのうちの一つを選択するアービ
タ入力用セレクタと、該アービタ入力用セレクタの出力
について所定の論理に従って前記クロスバ制御信号を生
成するアービタと、該クロスバ制御信号により前記フリ
ップフロップの更新を行なう手段とを設けたことを特徴
とする請求項1記載の競合調停装置。
2. The contention arbitration unit accepts a flip-flop that holds the presence / absence of a load request corresponding to the priority level and the output of the flip-flop unless all of the flip-flops are empty. A two-way selector corresponding to the priority level that accepts a load request from a bank, an arbiter input selector that selects one of the two way selectors based on the priority level, and a predetermined output for the arbiter input selector. 2. The contention arbitration apparatus according to claim 1, further comprising: an arbiter that generates the crossbar control signal according to logic, and a means that updates the flip-flop by the crossbar control signal.
JP7220431A 1995-08-29 1995-08-29 Competitive mediation device Expired - Fee Related JP2878160B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7220431A JP2878160B2 (en) 1995-08-29 1995-08-29 Competitive mediation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7220431A JP2878160B2 (en) 1995-08-29 1995-08-29 Competitive mediation device

Publications (2)

Publication Number Publication Date
JPH0962617A true JPH0962617A (en) 1997-03-07
JP2878160B2 JP2878160B2 (en) 1999-04-05

Family

ID=16751008

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7220431A Expired - Fee Related JP2878160B2 (en) 1995-08-29 1995-08-29 Competitive mediation device

Country Status (1)

Country Link
JP (1) JP2878160B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06195313A (en) * 1992-12-25 1994-07-15 Hitachi Ltd Computer system, and integrated circuit and request selecting circuit being suitable therefor
JPH06314264A (en) * 1993-05-06 1994-11-08 Nec Corp Self-routing cross bar switch

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06195313A (en) * 1992-12-25 1994-07-15 Hitachi Ltd Computer system, and integrated circuit and request selecting circuit being suitable therefor
JPH06314264A (en) * 1993-05-06 1994-11-08 Nec Corp Self-routing cross bar switch

Also Published As

Publication number Publication date
JP2878160B2 (en) 1999-04-05

Similar Documents

Publication Publication Date Title
US6141713A (en) Bus arbitrator with a hierarchical control structure
US4843543A (en) Storage control method and apparatus
JPS6118226B2 (en)
US7051135B2 (en) Hierarchical bus arbitration
JPH08272771A (en) Data driven type information processor
JP2878160B2 (en) Competitive mediation device
JP2680208B2 (en) Memory access control device
EP0359192B1 (en) Vector processors and vector register control
JP3982077B2 (en) Multiprocessor system
JPH0581040A (en) Computer system
CA2002104C (en) Vector processing apparatus
JP3042744B2 (en) Access arbitration method
US5412792A (en) Method and arrangement for controlling memory bank access requests in data processing system
JP2723412B2 (en) Main memory pre-port control method
JP2913702B2 (en) Access reception control method of multiprocessor system
JP2731743B2 (en) Parallel computer with communication register
JPH0934736A (en) Operation switching controller
JP3211694B2 (en) Multiprocessor connection method
JP2973227B2 (en) Exclusive control instruction execution method
JPH01209556A (en) Data processing system
JPH10334081A (en) List vector processor
JPH0520261A (en) Priority control cirucit
JPH0668920B2 (en) ROM read test circuit
JPS6198467A (en) Register arrangement
JPH11110289A (en) Buffer control method

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19981215

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20080122

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090122

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20100122

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees