JP2538874B2 - Common bus arbitration method - Google Patents

Common bus arbitration method

Info

Publication number
JP2538874B2
JP2538874B2 JP61072132A JP7213286A JP2538874B2 JP 2538874 B2 JP2538874 B2 JP 2538874B2 JP 61072132 A JP61072132 A JP 61072132A JP 7213286 A JP7213286 A JP 7213286A JP 2538874 B2 JP2538874 B2 JP 2538874B2
Authority
JP
Japan
Prior art keywords
bus
priority
arbitration
priority encoder
mask pattern
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.)
Expired - Fee Related
Application number
JP61072132A
Other languages
Japanese (ja)
Other versions
JPS62229353A (en
Inventor
俊雄 村井
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.)
Toshiba Corp
Original Assignee
Tokyo Shibaura Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tokyo Shibaura Electric Co Ltd filed Critical Tokyo Shibaura Electric Co Ltd
Priority to JP61072132A priority Critical patent/JP2538874B2/en
Publication of JPS62229353A publication Critical patent/JPS62229353A/en
Application granted granted Critical
Publication of JP2538874B2 publication Critical patent/JP2538874B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/36Handling requests for interconnection or transfer for access to common bus or bus system
    • G06F13/362Handling requests for interconnection or transfer for access to common bus or bus system with centralised access control

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Bus Control (AREA)

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は複数のバスマスタからのシステムバスに対す
るアクセス(バスの使用要求)を効果的に調停し得る共
通バス調停方式に関する。
The present invention relates to a common bus arbitration method capable of effectively arbitrating access (bus use request) from a plurality of bus masters to a system bus.

(従来の技術) システムバスを共用した複数の計算機(プロセッサ)
間で、上記システムバスを介してデータ伝送を行うシス
テムにあたっては、上記システムバム上でデータ伝送の
衝突が生じることがある。そこで従来より上記システム
バスを主体的に使用する各計算機をそれぞれバスマスタ
とし、これらのバスマスタからバスの使用要求信号をそ
れぞれ発生させ、これに対してバスの使用許可信号を上
記バスマスタに選択的に与えることが行われている。こ
の際、複数のバス要求信号が同時に発生することがあ
る。この為、これを調停して或る1つのバスマスタに対
してのみバスの使用許可信号を与えるべく調停回路(ア
ービタ)が用いられる。
(Prior Art) Multiple Computers (Processors) Sharing a System Bus
In the case of a system that performs data transmission via the system bus, a data transmission collision may occur on the system bum. Therefore, conventionally, each computer that mainly uses the system bus is set as a bus master, and a bus use request signal is generated from each of these bus masters, and a bus use permission signal is selectively given to the bus master. Is being done. At this time, a plurality of bus request signals may occur simultaneously. For this reason, an arbitration circuit (arbiter) is used to arbitrate this and give a bus use permission signal to only one bus master.

ところでこのようなバスの調停方式には次の3つの方
式がある。
By the way, there are the following three arbitration methods for such a bus.

その1つは直列優先度決定方式(ディージーチェー
ン)と称されるものであり、複数のバスマスタ1a,1b,〜
1nを第4図に示す如く直列に接続して構成される。
One of them is called a serial priority determination method (daisy chain), and includes a plurality of bus masters 1a, 1b, ...
1n is connected in series as shown in FIG.

そして各バスマスタは、その上位側のバスマスタがバ
ス要求を発生していないうときに限りバス要求を発生し
得るようになっている。換言すれば、バス要求を発生し
たバスマスタは、その下位側のバスマスタに対してバス
要求の発生を禁止するものとなっている。
Then, each bus master can generate a bus request only when the bus master on the upper side does not generate a bus request. In other words, the bus master that has generated the bus request prohibits the bus master on the lower side from generating the bus request.

ところがこのバス調停方式は、その調停処理が非常に
簡単である反面、チェーンを構成するバスマスタの数に
比例して調停処理の為の遅延時間が長くなり、またその
優先度が固定的に定められてしまうと云う問題がある。
However, in this bus arbitration method, the arbitration process is very simple, but on the other hand, the delay time for the arbitration process becomes longer in proportion to the number of bus masters that make up the chain, and its priority is fixed. There is a problem that it will end up.

一方、第5図に示すような並列優先度決定方式は、マ
ルチバスシステムにおいて複数のバスマスタ1a,1b,〜1n
から、相互に同期して出力されるバス要求を、プライオ
リティ・エンコーダおよびプライオリティ・デコーダか
らなる調停回路2に並列的に入力し、所定の優先度で上
記バス要求を受付てそのバスマスタに対してバスの使用
許可を与えるものである。
On the other hand, the parallel priority determination method as shown in FIG. 5 uses a plurality of bus masters 1a, 1b, to 1n in a multi-bus system.
Bus requests that are output in synchronization with each other are input in parallel to the arbitration circuit 2 including a priority encoder and a priority decoder, the bus requests are accepted with a predetermined priority, and a bus request is issued to the bus master. Is to give permission to use.

この方式によれば、前述した遅延時間の問題が解消さ
れる。しかし、バス要求に対する優先度が固定的に決定
されると云う問題を解消することはできない。
According to this method, the problem of delay time described above is solved. However, the problem that the priority for the bus request is fixedly determined cannot be solved.

これに対して調停回路側から各バスマスタに対して巡
回的にバス要求が或るか否かを問合せ、バス要求を発生
しているバスマスタが検出された時点でそのバスマスタ
に対してバスの使用許可を与えるラウンドロビン方式が
ある。
On the other hand, the arbitration circuit side cyclically inquires of each bus master whether or not there is a bus request, and when the bus master generating the bus request is detected, the bus master is permitted to use the bus. There is a round robin system that gives.

この方式によれば、各バスマスタのバス要求が順に巡
回的にサーチされる為、そのバス要求を平等に受付るこ
とが可能となる。しかしバスマスタの数が増大するに従
って、それらのバスマスタを巡回的にサーチする為の時
間(バス調停時間)が長くなると云う問題がある。
According to this method, the bus requests of the respective bus masters are sequentially searched cyclically, so that the bus requests can be equally received. However, there is a problem that as the number of bus masters increases, the time (bus arbitration time) for searching these bus masters cyclically becomes longer.

(発明が解決しようとする問題点) このように上述した各調停方式にあっては、その調停
処理時間が長くなったり、またバス要求に対する優先度
が固定的に定められてしまう等の問題がある。
(Problems to be Solved by the Invention) As described above, in each of the arbitration methods described above, there are problems such as a long arbitration processing time and a fixed priority for a bus request. is there.

例えばラウンドロビン方式によりバス要求を平等に扱
い、且つその調停処理時間を短くしようとすると、極め
て高速なサーチ回路が必要となり、その実現が著しく困
難となる等の問題があった。
For example, if the bus request is treated equally by the round robin method and the arbitration processing time is shortened, an extremely high-speed search circuit is required, which makes the realization extremely difficult.

本発明は、このような事情を考慮してなされたもの
で、その目的とするところは、複数のバスマスタからの
バス要求を平等に扱うとともに高速度にバス調停を行な
うことができ、しかもバスマスタから出力されたバス要
求のすべてが同時に阻止されないようにして、バスの使
用効率の向上を図ることができる共通バス調停方式を提
供することにある。
The present invention has been made in consideration of such circumstances, and an object thereof is to handle bus requests from a plurality of bus masters equally and to perform bus arbitration at a high speed. It is an object of the present invention to provide a common bus arbitration method capable of improving the bus usage efficiency by preventing all output bus requests from being blocked at the same time.

[発明の構成] (問題点を解決するための手段) 本発明は、例えばマルチバスシステムにおいて複数の
バスマスタから相互に同期して出力されるバス要求信号
を所定の優先度で選択する第1のプライオリティ・エン
コーダと、この第1のプライオリティ・エンコーダへの
上記バス要求信号の入力をマスク・パターンに従って選
択的に阻止するためのマスク回路と、所定の制御信号、
例えば外部から与えられる信号、または前回の調停結果
に従って内部的に発生される信号に従って上記マスク・
パターンを変化させる手段と、前記第1のプライオリテ
ィ・エンコーダが作動しないときに前記バスマスタから
のバス要求信号を所定の優先度で選択する第2のプライ
オリティ・エンコーダとを備えたことを特徴とするもの
である。
[Structure of the Invention] (Means for Solving the Problems) The first aspect of the present invention is to select a bus request signal output from a plurality of bus masters in a multi-bus system in synchronization with each other with a predetermined priority. A priority encoder, a mask circuit for selectively blocking the input of the bus request signal to the first priority encoder according to a mask pattern, and a predetermined control signal,
For example, according to a signal given from the outside or a signal internally generated according to the previous arbitration result, the mask
A second priority encoder for selecting a bus request signal from the bus master with a predetermined priority when the first priority encoder does not operate. Is.

(作用) 本発明によれば、マスク・パターンに従って第1のプ
ライオリティ・エンコーダに対するバス要求信号の入力
が阻止されるので、この第1のプライオリティ・エンコ
ーダにおけるバス要求に対する優先度を上記マスク・パ
ターンに応じて変化させて、その調停を行わせることが
できる。そしてマスク回路にて第1のプライオリティ・
エンコーダへの入力が阻止されたバス要求だけが与えら
れた場合には、第2のプライオリティ・エンコーダが上
記第1のプライオリティ・エンコーダをバックアップし
てバス要求に対する調停を行うことになる。
(Operation) According to the present invention, the input of the bus request signal to the first priority encoder is blocked according to the mask pattern, so that the priority of the bus request in the first priority encoder is set to the mask pattern. It can be arbitrated by changing it accordingly. Then, in the mask circuit, the first priority
If only a bus request is provided with blocked input to the encoder, the second priority encoder will back up the first priority encoder to arbitrate for the bus request.

この結果、複数のバスマスタからのバス要求が平等に
扱われ、またその調停が並列処理により高速に行われる
ことになる。さらに、バスマスタから出力されたバス要
求のすべてが同時に入力阻止される不具合は防止され、
必ずいずれかのバス要求が受け付けられるので、バスの
使用効率を高めて、システムのスループットを向上させ
ることができる。
As a result, bus requests from a plurality of bus masters are treated equally, and arbitration is performed at high speed by parallel processing. Furthermore, the problem that all the bus requests output from the bus master are blocked at the same time is prevented,
Since any bus request is always accepted, the bus usage efficiency can be improved and the system throughput can be improved.

(実施例) 以下、図面を参照して本発明の実施例方式につき説明
する。
(Embodiment) Hereinafter, an embodiment method of the present invention will be described with reference to the drawings.

第1図は第1の実施例方式を適用して構成されるマル
チバスシステムにおける調停回路の概略構成図である。
FIG. 1 is a schematic configuration diagram of an arbitration circuit in a multibus system configured by applying the system of the first embodiment.

この調停回路は、そのイネーブル制御端子をカスケー
ドに接続して複数のバスマスタからのバス要求信号をそ
れぞれ並列的に入力する第1および第2のプライオリテ
ィ・エンコーダ11,12、これらの第1および第2のプラ
イオリティ・エンコーダ11,12の出力をワイヤード・オ
アして入力し、前記バスマスタに対して択一的にバス使
用許可信号を出力するプライオリティ・デコーダ13、制
御信号に従ってマスクパターンを発生するシフトレジス
タ14、およびこのシフトレジスタ14が発生するマスクパ
ターンに従って前記第1のプライオリティ・エンコーダ
11に対する前記バスマスタからのバス要求信号を選択的
に阻止するマスク回路15とによって構成される。
This arbitration circuit has first and second priority encoders 11 and 12 which have their enable control terminals connected in cascade to input bus request signals from a plurality of bus masters in parallel, respectively. Of the priority encoders 11 and 12 are wired-ORed and input, and a priority decoder 13 that selectively outputs a bus use permission signal to the bus master, and a shift register 14 that generates a mask pattern according to a control signal. , And the first priority encoder according to the mask pattern generated by the shift register 14.
And a mask circuit 15 for selectively blocking a bus request signal from the bus master for 11.

第1および第2のプライオリティ・エンコーダ11,12
は、例えばTI社製(型名;LS348)の半導体回路(チッ
プ)であり、バスマスタからのバス要求信号を並列入力
し、予め設定された優先順位でそのバス要求信号を受付
けて、そのバス要求信号に対応した出力を生成するもの
である。ここでは0番から7番までのバス要求信号に対
して、番号値の大きいバス要求信号を優先的に受付ける
ものとなっている。
First and second priority encoders 11, 12
Is, for example, a semiconductor circuit (chip) manufactured by TI (type name: LS348), receives a bus request signal from a bus master in parallel, receives the bus request signal in a preset priority order, and receives the bus request signal. It produces an output corresponding to the signal. Here, the bus request signals having a large number value are preferentially accepted with respect to the bus request signals 0 to 7.

尚、第1のプライオリティ・エンコーダ11のイネーブ
ル制御端子は接地されており、バス要求信号が入力され
たとき、それらのバス要求信号に対する優先選択動作を
常時行うものとなっている。また第2のプライオリティ
・エンコーダ12のイネーブル制御端子は上記第1のプラ
イオリティ・エンコーダ11のイネーブル制御出力に接続
されており、該第1のプライオリティ・エンコーダ11が
動作しないときにのみ、その入力バス要求信号に対する
優先選択動作を行うものとなっている。
The enable control terminal of the first priority encoder 11 is grounded, and when a bus request signal is input, a priority selection operation for the bus request signal is always performed. Further, the enable control terminal of the second priority encoder 12 is connected to the enable control output of the first priority encoder 11, and only when the first priority encoder 11 does not operate, the input bus request A priority selection operation for a signal is performed.

ここでマスク回路15は、1番から7番までのバス要求
信号の入力をそれぞれ選択的に阻止する7つのゲート回
路によって構成されており、0番のバス要求信号につい
てはそのまま第1のプライオリティ・エンコーダ11に入
力するようになっている。
Here, the mask circuit 15 is composed of seven gate circuits that selectively block the input of the bus request signals of Nos. 1 to 7, respectively, and the bus request signal of No. 0 has the first priority level as it is. It is designed to be input to the encoder 11.

またシフトレジスタ14は外部入力される制御信号をク
ロックとし、優先順位の最も高い側のバス要求信号が順
にマスクするマスクパターンを巡回的に発生している。
つまり最初のクロック・タイミングで7番のバス要求信
号だけをマスクするマスクパターンを発生し、次のクロ
ック・タイミングでは7番と6番のバス要求信号をマス
クするマスクパターンを発生している。そして次々とマ
スクするバス要求信号の数を増やしながら、7番から1
番までのバス要求信号をそれぞれマスクするマスクパタ
ーンを発生した後、次のタイミングでその全てをリセッ
ト(マスクパターンの出力停止)している。
Further, the shift register 14 uses a control signal externally input as a clock, and cyclically generates a mask pattern in which the bus request signal with the highest priority side sequentially masks.
That is, a mask pattern for masking only bus request signal No. 7 is generated at the first clock timing, and a mask pattern for masking bus request signals No. 7 and 6 is generated at the next clock timing. Then, while increasing the number of bus request signals to be masked one after another,
After generating a mask pattern for masking each of the bus request signals up to the number, all of them are reset (the output of the mask pattern is stopped) at the next timing.

以後、このように変化するマスクパターンを前記クロ
ックに同期して巡回的に発生している。
Thereafter, the mask pattern which changes in this way is cyclically generated in synchronization with the clock.

前記マスク回路15は、このようにしてシフトレジスタ
14が発生するマスクパターンに従って前記第1のプライ
オリティ・エンコーダ11に対する1番から7番までのバ
ス要求信号の入力をそれぞれ選択的に阻止している。
The mask circuit 15 is thus provided with a shift register.
According to the mask pattern generated by 14, the input of bus request signals No. 1 to No. 7 to the first priority encoder 11 is selectively blocked.

一方、第2のプライオリティ・エンコーダ12には、上
記マスク回路15によって選択的に入力阻止される1番か
ら7番までのバス要求信号が、上記第1のプライオリテ
ィ・エンコーダ11と同じ優先順位で入力されている。そ
して0番目のバス要求信号は第1のプライオリティ・エ
ンコーダ11に無条件に入力さることから、この第2のプ
ライオリティ・エンコーダ11には入力されないようにな
っている。
On the other hand, the second priority encoder 12 receives the bus request signals Nos. 1 to 7 which are selectively blocked by the mask circuit 15 in the same priority order as the first priority encoder 11. Has been done. Since the 0th bus request signal is unconditionally input to the first priority encoder 11, it is not input to the second priority encoder 11.

前記プライオリティ・エンコーダ13は、例えばTI社製
(型名;LS138)の半導体回路(チップ)であり、このよ
うにしてマスク制御されて動作する第1のプライオリテ
ィ・エンコーダ11の出力、或いはこの第1のプライオリ
ティ・エンコーダ11が動作しないときに第2のプライオ
リティ・エンコーダ12から得られる出力に従って、優先
的に受付けられたバス要求信号を発生したバスマスタに
対してバスの使用許可信号を択一的に出力している。
The priority encoder 13 is, for example, a semiconductor circuit (chip) manufactured by TI (type name: LS138), and the output of the first priority encoder 11 that operates under mask control in this manner or the first In accordance with the output obtained from the second priority encoder 12 when the priority encoder 11 of the above does not operate, the bus permission signal is selectively output to the bus master that has generated the bus request signal that has been preferentially accepted. are doing.

このように構成された調停回路によれば、複数のバス
マスタからのバス要求信号に対するバスの使用許可信号
の発生は次のようになる。
According to the arbitration circuit configured as described above, the generation of the bus use permission signal for the bus request signals from the plurality of bus masters is as follows.

今、或る1つのバスマスタからのみバス要求信号が与
えられ、そのバス要求信号の第1のプライオリティ・エ
ンコーダ11への入力がマスク回路15によって阻止されて
いない場合には、第1のプライオリティ・エンコーダ11
による受付けられる。この結果、第1のプライオリティ
・エンコーダ11はそのバス要求信号の受付け番号に応じ
た出力をプライオリティ・デコーダ13に与え、上記バス
要求を発生したバスマスタに対してバスの使用許可信号
が与えられることになる。また前記マスク回路15によっ
て上記バス要求信号の第1のプライオリティ・エンコー
ダ11への入力が阻止されている場合には、該第1のプラ
イオリティ・エンコーダ11は動作しないことになる。こ
の結果、第2のプライオリティ・エンコーダ12が上記バ
ス要求信号を受付け、該第2のプライオリティ・エンコ
ーダ12の出力を受けるプライオリティ・デコーダ13は、
上記バス要求を発生したバスマスタに対してバスの使用
許可信号を与えることになる。
Now, if the bus request signal is given only from a certain one bus master and the input of the bus request signal to the first priority encoder 11 is not blocked by the mask circuit 15, the first priority encoder 11
Accepted by. As a result, the first priority encoder 11 gives an output corresponding to the acceptance number of the bus request signal to the priority decoder 13, and the bus use permission signal is given to the bus master which has issued the bus request. Become. Further, when the mask circuit 15 blocks the input of the bus request signal to the first priority encoder 11, the first priority encoder 11 does not operate. As a result, the second priority encoder 12 receives the bus request signal, and the second priority encoder 12 receives the output of the second priority encoder 12.
A bus use permission signal is given to the bus master that generated the bus request.

一方、複数のバスマスタから同時にバス要求信号が与
えられ、それが第1のプライオリティ・エンコーダ11に
入力されると、該プライオリティ・エンコーダ11は前述
した優先順位で1つのバス要求信号だけを受付けること
になる。この際、上述したマスクパターンに従って、そ
の優先度が上側のバス要求信号がマスクされていると、
第1のプライオリティ・エンコーダ11は、マスクされる
ことなく入力されたバス要求信号の中で優先的に定まる
バス要求信号を選択することになる。従って複数のバス
要求信号に対する優先度が変更されることになる。
On the other hand, when the bus request signals are simultaneously given from a plurality of bus masters and are inputted to the first priority encoder 11, the priority encoder 11 accepts only one bus request signal in the above-mentioned priority order. Become. At this time, according to the mask pattern described above, if the bus request signal with the higher priority is masked,
The first priority encoder 11 will select the bus request signal that is preferentially determined among the bus request signals that have been input without being masked. Therefore, the priority for a plurality of bus request signals is changed.

また複数のバス要求信号の全てがマスク回路15によっ
て入力阻止されている場合には第1のプライオリティ・
エンコーダ11が動作しないことになり、これに代って第
2のプライオリティ・エンコーダ12が動作する。従って
第1のプライオリティ・エンコーダ11のマスク処理によ
る機能停止が第2のプライオリティ・エンコーダ12によ
ってバックアップされ、所定の優先順位でバス要求信号
が受付けられることになる。
When all of the plurality of bus request signals are blocked by the mask circuit 15, the first priority
The encoder 11 will not operate, and the second priority encoder 12 will operate instead. Therefore, the second priority encoder 12 backs up the function stoppage caused by the masking process of the first priority encoder 11, and the bus request signal is accepted in a predetermined priority.

このように本調停回路によれば、プライオリティ・エ
ンコーダ11,12による並列的なバス要求の受付け選択動
作によって高速にバス調停が行われる。同時に、マスク
パターンに従うマスク回路15の動作によって、上記プラ
イオリティ・エンコーダにおいて優先順位の高い方のバ
ス要求信号から順にマスクされるので、その優先順位を
変更することが可能となる。この結果、複数のバス要求
信号に対する受付けの平等化を図ることが可能となる。
As described above, according to the present arbitration circuit, bus arbitration is performed at high speed by the parallel selection and acceptance of bus requests by the priority encoders 11 and 12. At the same time, the operation of the mask circuit 15 according to the mask pattern masks the bus request signals of higher priority in the priority encoder in order, so that the priority can be changed. As a result, it is possible to equalize the acceptance of a plurality of bus request signals.

ところで上述した実施例では外部から与えられる制御
信号によってマスクパターンを順に変化させるようにし
たが、これを内部的に制御することも可能である。
By the way, in the above-described embodiment, the mask pattern is sequentially changed by the control signal given from the outside, but it is also possible to control this internally.

第2図はその実施例を示す調停回路の概略構成図であ
る。尚、第1図に示すものと同じ部分に同一符号を付し
て示してある。
FIG. 2 is a schematic configuration diagram of an arbitration circuit showing the embodiment. The same parts as those shown in FIG. 1 are designated by the same reference numerals.

この調停回路が先の実施例と異にするところは、マス
クパターンの発生回路として前述したシフトレジスタ14
に変えて前記プライオリティ・エンコーダ11,12の出力
を受けて動作するデコーダ16を用いた点にある。このデ
コーダ16は、第3図にその動作モードを示すように或る
タイミングでバス要求信号に対する調停が行われたとき
に第1または第2のプライオリティ・エンコーダ11,12
の出力をラッチし、そのラッチデータに応じたマスクパ
ターンを次のタイミングで発生するようにしたものであ
る。
This arbitration circuit differs from the previous embodiment in that the shift register 14 described above as the mask pattern generation circuit is used.
Instead of the above, a decoder 16 which operates by receiving the outputs of the priority encoders 11 and 12 is used. This decoder 16 has the first or second priority encoders 11 and 12 when arbitration is performed for the bus request signal at a certain timing as shown in the operation mode of FIG.
Is latched, and a mask pattern corresponding to the latched data is generated at the next timing.

具体的には、或る優先順位のバス要求信号が受付けら
れたとき、次のタイミングでは上記バス要求信号を受付
けた優先順位、およびそれよりも高い優先順位のバス要
求信号の全てを入力阻止するマスクパターンを発生させ
るようにしたものである。
Specifically, when a bus request signal having a certain priority is accepted, at the next timing, all the priorities of the bus request signal and the bus request signals having a higher priority than that are blocked. The mask pattern is generated.

このようにして前回の調停結果に従って、内部的にそ
のバス要求に対する優先度を最低とするようなマスクパ
ターンを発生させることによって、複数のバス要求信号
に対する平等化を更に図ることが可能となる。従って前
述した実施例と同様な効果が奏せられる。
In this way, according to the result of the previous arbitration, by internally generating a mask pattern that minimizes the priority for the bus request, it becomes possible to further equalize a plurality of bus request signals. Therefore, the same effect as that of the above-described embodiment can be obtained.

尚、本発明は上述した各実施例に限定されるものでは
ない。例えば調停対象とするバス要求の数や、それに対
するプライオリティ・エンコーダにおける優先順位は任
意に設定可能なものである。またマスクパターンの発生
法、およびマスクパターンの変更制御の形態も適宜変形
可能である。要するに本発明はその要旨を逸脱しない範
囲で種々変形して実施することができる。
The present invention is not limited to the above embodiments. For example, the number of bus requests to be arbitrated and the priority in the priority encoder can be arbitrarily set. Further, the method of generating the mask pattern and the mode of controlling the change of the mask pattern can be appropriately modified. In short, the present invention can be variously modified and implemented without departing from the scope of the invention.

[発明の効果] 以上説明したように本発明によれば、複数のバス要求
を平等に扱うことが可能となり、またその調停処理を高
速に、つまり短時間に実行することが可能となる。
[Effects of the Invention] As described above, according to the present invention, a plurality of bus requests can be treated equally, and arbitration processing thereof can be executed at high speed, that is, in a short time.

さらに、バックアップ用の第2のプライオリティ・エ
ンコーダを設けたことによって、バスマスタから出力さ
れたバス要求のすべてが同時に入力阻止されることがな
くなり、必ずいずれかのバス要求が受け付けられること
になる。このため、バスの使用効率を向上させることが
でき、延いてはシステムのスループットを高めることが
可能となる。
Furthermore, by providing the second priority encoder for backup, it is possible to prevent all the bus requests output from the bus master from being blocked at the same time, and always accept any one of the bus requests. Therefore, it is possible to improve the use efficiency of the bus, and it is possible to increase the throughput of the system.

従ってシステムバスの効率の良い使用が可能となり、
全システムのスループットの向上を図り、更にはシステ
ムバスを共用する複数のプロセッサの処理能力をそれぞ
れ、向上させることができる等の実用上多大なる効果が
奏せられる。
Therefore, efficient use of the system bus becomes possible,
It is possible to achieve a great practical effect by improving the throughput of the entire system and further improving the processing capacities of a plurality of processors sharing the system bus.

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

第1図は本発明の第1の実施例を示す調停回路の概略構
成図、第2図は本発明の第2の実施例を示す調停回路の
概略構成図、第3図は第2の実施例におけるデコーダの
動作モードを示す図、第4図および第5図はそれぞれ従
来のマルチバスシステムにおける調停方式を説明する為
の図である。 11……第1のプライオリティ・エンコーダ、12……第2
のプライオリティ・エンコーダ、13……プライオリティ
・デコーダ、14……シフトレジスタ(マスクパターン発
生回路)、15……マスク回路、16……デコーダ(マスク
パターン発生回路)。
FIG. 1 is a schematic configuration diagram of an arbitration circuit showing a first embodiment of the present invention, FIG. 2 is a schematic configuration diagram of an arbitration circuit showing a second embodiment of the present invention, and FIG. 3 is a second implementation. FIGS. 4 and 5 showing the operation mode of the decoder in the example, respectively, are diagrams for explaining the arbitration method in the conventional multi-bus system. 11 …… first priority encoder, 12 …… second
Priority encoder, 13 ... Priority decoder, 14 ... Shift register (mask pattern generation circuit), 15 ... Mask circuit, 16 ... Decoder (mask pattern generation circuit).

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】複数のバスマスタからのシステムバスに対
するアクセスを調停する調停回路を備えたシステムにお
いて、 調停回路は、 前記バスマスタからのバス要求信号を所定の優先度で選
択出力するための第1のプライオリティ・エンコーダ
と、 この第1のプライオリティ・エンコーダへの上記バス要
求信号の入力をマスク・パターンに従って選択的に阻止
するためのマスク回路と、 上記マスク・パターンを所定の制御信号に従って変化さ
せる手段と、 前記バスマスタからのバス要求信号のすべてが前記マス
ク回路により同時に阻止されて前記第1のプライオリテ
ィ・エンコーダが作動しないときに、前記バス要求信号
を所定の優先度で選択出力するための第2のプライオリ
ティ・エンコーダと、 上記第1および第2のプライオリティ・エンコーダの出
力に従って前記バスマスタに対するバス使用許可信号を
択一的に発生するデコーダとを具備したことを特徴とす
る共通バス調停方式。
1. A system provided with an arbitration circuit for arbitrating access to a system bus from a plurality of bus masters, wherein the arbitration circuit selectively outputs a bus request signal from the bus master with a predetermined priority. A priority encoder, a mask circuit for selectively blocking input of the bus request signal to the first priority encoder according to a mask pattern, and means for changing the mask pattern according to a predetermined control signal. A second bus for selectively outputting the bus request signal with a predetermined priority when all the bus request signals from the bus master are blocked by the mask circuit at the same time and the first priority encoder does not operate. A priority encoder and the first and second priority encoders Common bus arbitration scheme characterized by comprising a decoder for alternatively generating a bus grant signal for the bus master in accordance with the output of the encoder.
【請求項2】第2のプライオリティ・エンコーダは、第
1のプライオリティ・エンコーダからのイネーブル信号
を受けて作動するものである特許請求の範囲第1項記載
の共通バス調停方式。
2. The common bus arbitration system according to claim 1, wherein the second priority encoder operates by receiving an enable signal from the first priority encoder.
【請求項3】マスク・パターンを変化させる所定の制御
信号は、調停の終了時点で内部的に発生され、あるいは
外部から与えられるものである特許請求の範囲第1項記
載の共通バス調停方式。
3. The common bus arbitration system according to claim 1, wherein the predetermined control signal for changing the mask pattern is internally generated at the end of the arbitration or externally applied.
【請求項4】マスク・パターンの変化は、前回選択され
たバスマスタに対する選択優先度を最低とするものであ
る特許請求の範囲第1項記載の共通バス調停方式。
4. The common bus arbitration method according to claim 1, wherein the change of the mask pattern minimizes the selection priority for the previously selected bus master.
JP61072132A 1986-03-29 1986-03-29 Common bus arbitration method Expired - Fee Related JP2538874B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61072132A JP2538874B2 (en) 1986-03-29 1986-03-29 Common bus arbitration method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61072132A JP2538874B2 (en) 1986-03-29 1986-03-29 Common bus arbitration method

Publications (2)

Publication Number Publication Date
JPS62229353A JPS62229353A (en) 1987-10-08
JP2538874B2 true JP2538874B2 (en) 1996-10-02

Family

ID=13480461

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61072132A Expired - Fee Related JP2538874B2 (en) 1986-03-29 1986-03-29 Common bus arbitration method

Country Status (1)

Country Link
JP (1) JP2538874B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01229352A (en) * 1988-03-09 1989-09-13 Nec Corp Storage device
JPH0594409A (en) * 1991-10-02 1993-04-16 Nec Eng Ltd Bus arbitration system
JP4612425B2 (en) * 2005-01-20 2011-01-12 Necアクセステクニカ株式会社 Bus system, slave device, bus system control method and program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5872230A (en) * 1981-10-23 1983-04-30 Hitachi Ltd Cyclic priority controlling system for concentrated type priority selecting circuit

Also Published As

Publication number Publication date
JPS62229353A (en) 1987-10-08

Similar Documents

Publication Publication Date Title
EP0159592B1 (en) Distributed arbitration for multiple processors
JP3417438B2 (en) Pseudo round-robin arbitration system
US6996684B2 (en) Multiple-grant controller with parallel arbitration mechanism and related method
US5274785A (en) Round robin arbiter circuit apparatus
US5142682A (en) Two-level priority arbiter generating a request to the second level before first-level arbitration is completed
US4068214A (en) Asynchronous logic array
US5870560A (en) Arbitraion unit with round-robin priority, particularly for multiprocessor systems with syncronous symmetrical processors
JPS62280948A (en) Bus arbitration system
USRE31287E (en) Asynchronous logic array
JP2538874B2 (en) Common bus arbitration method
JPH05197673A (en) Logic circuit
JPS5836381B2 (en) shared memory controller
RU2710912C1 (en) Device for generating priorities when accessing shared memory of several devices
GB2110847A (en) Method of establishing a rotating priority in a daisy chain
JP2973734B2 (en) Competition control circuit
JPH04342052A (en) Arbitration circuit
JP2669109B2 (en) Bus access arbitration circuit
JPS58217071A (en) Information processing system
JPH04346140A (en) Access controller for shared memory
GB2088598A (en) Method and means for establishing a rotating priority in a daisy chain
KR100264891B1 (en) Apparatus for arbitrationing access memory
JPH0353338A (en) Variable priority arbitrating circuit
JPS5953923A (en) Data processing system
JPS63247857A (en) Access arbitrating circuit
JPS5812612B2 (en) Asynchronous signal arbiter

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees