JPH10222462A - Mediation device - Google Patents

Mediation device

Info

Publication number
JPH10222462A
JPH10222462A JP2678697A JP2678697A JPH10222462A JP H10222462 A JPH10222462 A JP H10222462A JP 2678697 A JP2678697 A JP 2678697A JP 2678697 A JP2678697 A JP 2678697A JP H10222462 A JPH10222462 A JP H10222462A
Authority
JP
Japan
Prior art keywords
request
event
occupation
group
subjects
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.)
Withdrawn
Application number
JP2678697A
Other languages
Japanese (ja)
Inventor
Hiroshi Yoshizawa
宏 吉澤
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.)
JFE Steel Corp
Original Assignee
Kawasaki Steel Corp
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 Kawasaki Steel Corp filed Critical Kawasaki Steel Corp
Priority to JP2678697A priority Critical patent/JPH10222462A/en
Publication of JPH10222462A publication Critical patent/JPH10222462A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

(57)【要約】 【課題】本発明は、同時には1つの主体(例えば1つの
デバイス)のみが占有することが可能な1つの事象(例
えば、バス使用権、あるいは割込みの受付け等)に関す
る、複数の主体(例えば複数のデバイス)それぞれから
の占有要求(例えばバス使用要求あるいは割込み要求
等)を受け付けて、占有を要求している主体のうちのい
ずれか1つの主体にその事象の占有許可を与える調停装
置に関し、比較的小規模の回路構成で、多数の主体の中
から事象の占有許可を与える主体を効率良く決定する。 【解決手段】複数の主体をグループ化しておき、先ずラ
ウンドロビン方式により、順次いずれか1つのグループ
(主体群)に優先権を与え、優先権が与えられたグルー
プの中では、優先権を順次ローテーションするという点
が付加された固定優先方式により占有許可を受ける主体
を決定する。
(57) Abstract: The present invention relates to an event (for example, a right to use a bus or acceptance of an interrupt) that can be occupied by only one entity (for example, one device) at a time. An occupation request (for example, a bus use request or an interrupt request) from each of a plurality of entities (for example, a plurality of devices) is received, and one of the entities requesting occupation is permitted to occupy the event. With regard to the arbitration device to be given, a relatively small-scale circuit configuration is used to efficiently determine an entity to which permission to occupy an event from among a large number of entities. A plurality of subjects are grouped, and priority is sequentially given to any one group (subject group) by a round robin method, and among the groups to which the priority is given, the priority is sequentially assigned. The subject to be occupied is determined by the fixed priority method to which rotation is added.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、同時には1つの主
体(例えば1つのデバイス)のみが占有することが可能
な1つの事象(例えば、バス使用権、あるいは割込みの
受付け等)に関する、複数の主体(例えば複数のデバイ
ス)それぞれからの占有要求(例えばバス使用要求ある
いは割込み要求等)を受け付けて、占有を要求している
主体のうちのいずれか1つの主体にその事象の占有許可
を与える調停装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a plurality of events relating to one event (for example, a right to use a bus or acceptance of an interrupt) which can be occupied by only one entity (for example, one device) at the same time. An arbitration that receives an occupation request (for example, a bus use request or an interrupt request) from each of the subjects (for example, a plurality of devices), and gives permission to occupy the event to any one of the subjects requesting the occupation. Related to the device.

【0002】[0002]

【従来の技術】各デバイスのバス使用要求、また各デバ
イスからの割込み等の要求を調停する方法として、優先
順位をあらかじめ固定させた固定優先順位決定方式と、
各デバイスに対し循環的に要求の有無を問い合わせるラ
ウンドロビン優先順位決定方式が知られている。
2. Description of the Related Art As a method of arbitrating a bus use request of each device and a request such as an interrupt from each device, a fixed priority determination method in which priorities are fixed in advance,
There is known a round robin priority determination method for inquiring each device cyclically about the presence or absence of a request.

【0003】これらの方式は、いずれも広く一般的であ
り、前者の固定優先順位決定方式は、優先順位を固定と
しておくために、そのシステムの中でリソースをもっと
も頻繁に使うデバイス等に高い優先順位を割り付けてお
くことによってシステムの効率的な動作が可能である。
また、後者のラウンドロビン優先順位決定方式の場合、
優先度をほぼ公平に持たせたいようなアプリケーション
に適用される。両者の方式は、『VMEバスアーキテク
チャマニュアル』(CQ出版社)等に詳しく記述されて
いるため、ここでは、その詳細な説明は省略する。
[0003] These methods are widely and generally used, and the former fixed priority determination method has a higher priority for devices or the like that use resources most frequently in the system in order to keep the priority fixed. By allocating the order, efficient operation of the system is possible.
In the case of the latter round robin priority determination method,
Applies to applications that want to have fair priorities. Since both methods are described in detail in "VME Bus Architecture Manual" (CQ Publishing Co., Ltd.) and the like, detailed description thereof is omitted here.

【0004】[0004]

【発明が解決しようとする課題】上記従来技術の問題点
として、前者の固定優先決定方式の場合は、要求権を持
つデバイスが少数の場合は、実現回路規模は問題とはな
らないが、デバイス数が増えるにしたがって、実現のた
めの回路が指数関数的に大きくなってしまうという問題
がある。
As a problem of the prior art described above, in the former fixed priority determination method, when the number of devices having the request right is small, the realized circuit scale does not matter. There is a problem that the circuit for realization increases exponentially as the number increases.

【0005】また、後者のラウンドロビン方式を採用し
た場合、特に要求権を持つデバイス数が多い時には、場
合によっては、要求受付けのサービス間隔が広がるため
に、各デバイスが用意しておくべきバッファの容量が増
加する。また要求受付けは、ポーリング形式となるた
め、要求が受け入られる時間帯に、そのデバイスからの
要求がなかった場合においては、要求の調停を行なうス
ケジューラは、アイドル(無駄)な時間を挿入せざるを
得なくなり、効率のよいリソースの使用が不可能とな
る。
[0005] When the latter round robin method is adopted, particularly when there are a large number of devices having a request right, in some cases, a service interval for receiving a request is widened, and a buffer for each device must be prepared. The capacity increases. In addition, since request reception is performed in a polling format, if there is no request from the device during the time period in which the request is received, the scheduler that arbitrates the request has to insert idle (wasteful) time. And efficient use of resources becomes impossible.

【0006】このアイドルな時間をなくすために、前者
の固定優先順位決定方式を改良して、デバイスからの要
求を受け付けるタイミング度に優先権をローテーション
する方式も考えられるが、この方式を採った場合におい
ても、固定優先順位決定回路は、要求権を持つデバイス
数が増加するにしたがって膨大なものとなってしまう。
In order to eliminate the idle time, the former fixed priority determination method is improved, and a method of rotating the priority at the timing of receiving a request from a device is considered. Also, the fixed priority determination circuit becomes enormous as the number of devices having the request right increases.

【0007】本発明は、上記事情に鑑み、比較的小規模
な回路構成で、かつ多くのクライアント(主体)からの
占有要求を受け付け、効率のよい占有許可を与えること
のできる調停装置を提供することを目的とする。
In view of the above circumstances, the present invention provides an arbitration device that has a relatively small circuit configuration, can receive occupation requests from many clients (subjects), and can efficiently grant occupancy. The purpose is to:

【0008】[0008]

【課題を解決するための手段】上記目的を達成する本発
明の調停装置は、同時には1つの主体のみが占有するこ
とが可能な1つの事象に関する、複数の主体それぞれか
らの占有要求を受け付けて、占有を要求している主体の
うちのいずれか1つの主体に該事象の占有許可を与える
調停装置において、上記事象の占有を要求する権利を有
する複数の主体からの、その事象の占有要求の有無の情
報を入力し、これら複数の主体が複数のグループに分割
されてなる各主体群毎に、所定の順序で、1つの主体群
を構成する複数の主体からの、その事象の占有要求の有
無の情報を出力するラウンドロビン調停手段と、1つの
主体群を構成する複数の主体からの上記事象の占有要求
の有無の情報がそれぞれ入力される、固定された優先順
位をもつ複数のポートを有し、その固定された優先順位
に従って、占有を要求している主体のうちのいずれか1
つの主体にその事象の占有許可を与えるプライオリティ
調停手段と、上記ラウンドロビン調停手段と、上記プラ
イオリティ調停手段との間に介在し、ラウンドロビン調
停手段から出力された、1つの主体群を構成する複数の
主体からの占有要求の有無の情報を、上記複数のポート
に、これら複数の主体と複数のポートとの対応関係を順
次切り替えながら入力する分配手段とを備えたことを特
徴とする。
The arbitration apparatus of the present invention that achieves the above object receives an occupation request from each of a plurality of subjects regarding one event that can be occupied by only one subject at a time. An arbitration device for granting any one of the entities requesting occupation the occupation permission of the event, wherein the arbitration device requests the occupancy of the event from a plurality of entities having a right to request the occupation of the event. The presence / absence information is input, and for each subject group obtained by dividing the plurality of subjects into a plurality of groups, a request for occupancy of the event from the plurality of subjects constituting one subject group in a predetermined order. Round robin arbitration means for outputting presence / absence information, and a plurality of fixed-priority ports to which information on the presence / absence of the above-mentioned event occupation request from a plurality of entities constituting one entity group is input. Has the door, in accordance with the fixed priority, one of the principal that is requesting the occupancy 1
Priority arbitration means for giving permission to occupy the event to one subject, the round-robin arbitration means, and a plurality of components constituting one subject group which are interposed between the priority arbitration means and output from the round-robin arbitration means. And distributing means for inputting information on the presence or absence of an occupation request from the subject to the plurality of ports while sequentially switching the correspondence between the plurality of subjects and the plurality of ports.

【0009】本発明の調停装置は、複数の主体をグルー
プ化しておき、先ずラウンドロビン方式により、順次い
ずれか1つのグループ(主体群)に優先権が与えられ
る。1つの主体群には複数の主体が含まれており、した
がって1つの主体に優先権を与えた場合と比べ、優先権
を得た主体群内のいずれの主体も占有を要求しておらず
アイドル(無駄)な時間となってしまう可能性が大きく
低減される。優先権が与えられたグループの中では、優
先権をローテーションするという点が付加された固定優
先方式により占有許可を受ける主体が決定されるが、1
つの主体群内の主体の数はある程度の少数に押えること
ができ、回路規模は小規模で済む。したがって本発明の
調停装置によれば、比較的小規模な回路構成で効率の良
い調停を行なうことができる。
In the arbitration device of the present invention, a plurality of subjects are grouped, and first, any one group (subject group) is given priority in a round robin manner. One subject group includes a plurality of subjects. Therefore, compared to a case where one subject is given priority, any subject in the subject group that has obtained priority has not requested occupation and has no idle status. The possibility of wasting (wasted) time is greatly reduced. Among the groups to which the priority is given, the subject to be occupied is determined by the fixed priority method to which the priority is added.
The number of subjects in one subject group can be suppressed to a certain small number, and the circuit scale can be small. Therefore, according to the arbitration device of the present invention, efficient arbitration can be performed with a relatively small circuit configuration.

【0010】ここで、上記本発明の調停装置において、
上記主体群の順序をあらわすスケジュール情報が格納さ
れるメモリを備え、上記ラウンドロビン調停手段が、上
記メモリに格納されたスケジュール情報に従う順序で、
各主体群毎に順次に、各主体群を構成する複数の主体か
らの上記事象の占有要求の有無の情報を出力するもので
あることが好ましい。
Here, in the arbitration device of the present invention,
A memory in which schedule information indicating the order of the subject group is stored, wherein the round robin arbitration unit is arranged in an order according to the schedule information stored in the memory;
It is preferable to sequentially output information on the presence / absence of an occupation request for the event from a plurality of subjects constituting each subject group, for each subject group.

【0011】この場合に、上記メモリが、複数の主体群
を一巡する間に1つの主体群が複数の順序位置に配列さ
れることが許容されたスケジュール情報が格納されるも
のであることがさらに好ましい。本発明の調停装置にお
いて上記のスケジュール情報が格納されるメモリを備え
ると、任意の順序で各グループ(各主体群)に優先権を
与えることができ、複数の主体群を一巡する間に1つの
主体群が複数の順序位置に配列されることが許容された
スケジュール情報の場合、ある特性の主体群に他の主体
群と比較して多くのアクセス権(占有の優先権)を与え
ることができる。またこのメモリとして書き換え自在な
メモリを用いると、各主体群に占有の優先権を与える順
序や頻度を、そのときそのときに応じて変更することが
可能となる。
In this case, the memory may store schedule information that allows one subject group to be arranged in a plurality of order positions while making a round of the plurality of subject groups. preferable. When the arbitrating device of the present invention includes a memory in which the above schedule information is stored, priority can be given to each group (each subject group) in an arbitrary order, and one priority can be given during one round of the plurality of subject groups. In the case of schedule information in which the subject groups are allowed to be arranged in a plurality of order positions, a larger number of access rights (priority of occupation) can be given to a subject group having a certain characteristic as compared with another subject group. . If a rewritable memory is used as this memory, it is possible to change the order and frequency of giving the occupation priority to each subject group at that time.

【0012】[0012]

【発明の実施の形態】以下、本発明の実施形態について
説明する。図1は、本発明の調停装置の一実施形態の構
成ブロック図である。この図1に示す調停装置には、ス
ケジュールステートマシーン10、6ビットカウンタ1
1、スケジュールインフォメーションテーブル12aを
格納するRAM12、2ビットカウンタ13、第1のセ
レクタ14、第1の分配器15、固定優先決定回路1
6、第2の分配器17、および第2のセレクタ18から
構成されている。
Embodiments of the present invention will be described below. FIG. 1 is a configuration block diagram of an arbitration device according to an embodiment of the present invention. The arbitration device shown in FIG. 1 includes a schedule state machine 10, a 6-bit counter 1
1, RAM 12 for storing schedule information table 12a, 2-bit counter 13, first selector 14, first distributor 15, fixed priority determination circuit 1
6, a second distributor 17, and a second selector 18.

【0013】ここでは、合計40個のデバイス(図示せ
ず)がそれぞれが4つのデバイスからなる合計10グル
ープにグループ化されているものとし、各グループを構
成する各4つのデバイスからのリクエストReq(0
0:03),Req(10:13),…,Req(9
0:93)を受け付け、いずれか1つのデバイスに優先
権を与えるものとする。ここで、Req(ij:ik)
のiはグループ番号、j,…,kはグループ内の番号を
あらわしており、例えばReq(00:03)はグルー
プ0内の4つのデバイス0〜3のリクエスト信号をあら
わしている。
Here, it is assumed that a total of 40 devices (not shown) are grouped into a total of 10 groups each including 4 devices, and requests Req ( 0
0:03), Req (10:13), ..., Req (9
0:93) and give priority to any one device. Here, Req (ij: ik)
, K represent group numbers, and j,..., K represent group numbers. For example, Req (00:03) represents request signals of four devices 0 to 3 in group 0.

【0014】スケジュールステートマシーン10は、ク
ロックCLKに同期したタイミングで、6ビットカウン
タ11にカウントアップイネーブルを出力し、また、R
AM12に格納されたスケジュールインフォメーション
テーブル12aの最終(エンド)まで達したことを受け
て6ビットカウンタ11をクリアし、2ビットカウンタ
13に対してカウンタアップイネーブルを出力する。
The schedule state machine 10 outputs a count-up enable to the 6-bit counter 11 at a timing synchronized with the clock CLK.
In response to reaching the end (end) of the schedule information table 12a stored in the AM 12, the 6-bit counter 11 is cleared, and a counter-up enable is output to the 2-bit counter 13.

【0015】図2は、RAM12に格納されたスケジュ
ールインフォメーションテーブルの一例を示した図であ
る。各アドレスに対応して、グループ番号とエンドフラ
グが格納されている。ここで、エンドフラグは負論理で
示されており、エンドフラグ“L”がそのスケジュール
インフォメーションテーブルの最終アドレスであること
をあらわしている。
FIG. 2 is a diagram showing an example of the schedule information table stored in the RAM 12. A group number and an end flag are stored for each address. Here, the end flag is indicated by negative logic, indicating that the end flag “L” is the last address of the schedule information table.

【0016】図3は、スケジュールステートマシーン1
0の状態遷移図である。例えば電源投入時等、所定のリ
セットタイミングで6ビットカウンタをクリアし(状態
S0)、6ビットカウンタ11にカウントアップイネー
ブルを出力して状態S1に移る。6ビットカウンタ11
はクロックCLKが入力されるたびにカウントアップさ
れ、その6ビットカウンタ11のカウント値がアドレス
としてRAM12に入力され、そのRAM12に格納さ
れたスケジュールインフォメーションテーブル12aの
対応するアドレスからグループ番号とエンドフラグが読
み出される。この読み出されたグループ番号は、スケジ
ュールインフォメーションとして第1および第2のセレ
クタ14,18に入力される。このスケジュールインフ
ォメーションについては後述する。RAM12から読み
出されたエンドフラグはスケジュールステートマシーン
10に入力され、そのスケジュールステートマシーンは
そのエンドフラグが“H”にある間は、図3に示す状態
S1を維持し、そのエンドフラグが“L”に変化すると
状態S0に遷移して、6ビットカウンタをクリアしてそ
の6ビットカウンタ11のカウント値をスケジュールイ
ンフォメーションテーブル12aの先頭のアドレスに戻
すとともに、2ビットカウンタ13に向けて、その2ビ
ットカウンタ12が1つカウントアップする間だけカウ
ントアップイネーブルを出力する。尚、この2ビットカ
ウンタ12は、カウントアップする毎にそのカウント値
が0→1→2→3→0→1→…のように循環的に変化す
るように構成されている。この2ビットカウンタ13の
カウント値は第1および第2の分配器15,17に入力
される。
FIG. 3 shows a schedule state machine 1
It is a state transition diagram of 0. For example, when the power is turned on, the 6-bit counter is cleared at a predetermined reset timing (state S0), a count-up enable is output to the 6-bit counter 11, and the state shifts to state S1. 6-bit counter 11
Is incremented each time the clock CLK is input, the count value of the 6-bit counter 11 is input to the RAM 12 as an address, and the group number and end flag are obtained from the corresponding address of the schedule information table 12a stored in the RAM 12. Is read. The read group number is input to the first and second selectors 14 and 18 as schedule information. This schedule information will be described later. The end flag read from the RAM 12 is input to the schedule state machine 10, and the schedule state machine maintains the state S1 shown in FIG. 3 while the end flag is at "H", and the end flag is set to "L". ", The state transits to the state S0, the 6-bit counter is cleared, the count value of the 6-bit counter 11 is returned to the head address of the schedule information table 12a, and the 2-bit counter 13 The counter 12 outputs the count-up enable signal only while the counter 12 counts up by one. The 2-bit counter 12 is configured so that the count value cyclically changes as 0 → 1 → 2 → 3 → 0 → 1 →... Every time it counts up. The count value of the 2-bit counter 13 is input to the first and second distributors 15 and 17.

【0017】スケジュールステートマシーン10では、
図3に示す状態S0に戻って6ビットカウンタ11をク
リアするとともに2ビットカウンタ13にカウントアッ
プイネーブルを出力すると直ちに状態S1に再び遷移
し、以後これを繰り返す。RAM12から読み出され
た、グループ番号をあらわすスケジュールインフォメー
ションは、上述したように、第1および第2のセレクタ
14,18に入力される。
In the schedule state machine 10,
Returning to the state S0 shown in FIG. 3, the 6-bit counter 11 is cleared, and the count-up enable is output to the 2-bit counter 13, the state immediately transits to the state S1, and thereafter, this operation is repeated. The schedule information indicating the group number read from the RAM 12 is input to the first and second selectors 14 and 18 as described above.

【0018】第1のセレクタ14では、そのスケジュー
ルインフォメーションを受けて、そのスケジュールイン
フォメーションがあらわすグループを構成する4つのデ
バイスからのリクエストを選択的に通過させて第1の分
配器15に入力する。例えば今回入力されたスケジュー
ルインフォメーションがグループ0をあらわすものであ
る場合、グループ0を構成する4つのデバイスからの4
本のリクエストReq(00:03)が、第1の分配器
15の4つの入力端子IN0,IN1,IN2,IN3
にそれぞれ伝達される。第1のセレクタ14に入力され
るスケジュールインフォメーションがグループ0以外の
他のグループ1〜9をあらわしている場合も同様であ
る。
In response to the schedule information, the first selector 14 selectively passes requests from four devices constituting a group represented by the schedule information and inputs the requests to the first distributor 15. For example, if the schedule information input this time represents the group 0, the schedule information from the four devices constituting the group 0
The request Req (00:03) is sent to the four input terminals IN0, IN1, IN2, IN3 of the first distributor 15.
Respectively. The same applies to the case where the schedule information input to the first selector 14 represents groups 1 to 9 other than group 0.

【0019】また、第2のセレクタ18は、第2の分配
器17の4つの出力端子OUT0,OUT1,OUT
2,OUT3から出力された信号を、今回入力されたス
ケジュールインフォメーションがあらわすグループを構
成する4つのデバイスへのアクナリッジとして出力す
る。すなわち、例えば今回この第2のセレクタ18に入
力されたスケジュールインフォメーションがグループ0
をあらわすものである場合、第2の分配器17の4つの
出力端子OUT0,OUT1,OUT2,OUT3から
出力された信号は、それぞれグループ0の、デバイス
0,1,2,3のアクナリッジ(これらグループの4つ
のデバイスへのアクナリッジをまとめて、Ack(0
0:03)と表現する)として出力される。他のグルー
プ1〜9のアクナリッジAck(10:13)〜Ack
(90:93)は全て“H”レベルに保持される。この
とき第2の分配器17の各出力端子OUT0,OUT
1,OUT2,OUT3からそれぞれ“L”,“H”,
“H”,“H”が出力されたものとすると、グループ0
のデバイス0に優先権が与えられることになる。第2の
セレクタ18に入力するスケジュールインフォメーショ
ンがグループ0以外の他のグループ1〜9をあらわして
いる場合も同様である。
The second selector 18 has four output terminals OUT0, OUT1, and OUT of the second distributor 17.
2. The signal output from OUT3 is output as an acknowledgment to four devices forming a group represented by the schedule information input this time. That is, for example, the schedule information input to the second selector 18 this time is the group 0
In this case, the signals output from the four output terminals OUT0, OUT1, OUT2, and OUT3 of the second distributor 17 are the acknowledges of the devices 0, 1, 2, and 3 of the group 0, respectively (these signals are the group 0). Acknowledgments to the four devices of Ack (0
0:03)). Acknowledge Ack (10:13)-Ack of other groups 1-9
(90:93) are all held at the “H” level. At this time, the output terminals OUT0, OUT0 of the second distributor 17
1, OUT2 and OUT3 from "L", "H",
Assuming that “H”, “H” is output, the group 0
Will be given priority. The same applies when the schedule information input to the second selector 18 represents groups 1 to 9 other than group 0.

【0020】図4は、第1および第2のセレクタ14,
18により選択されるグループの変遷の一例を示す図で
ある。図2に示すスケジュールインフォメーションテー
ブルには、アドレス0〜アドレスn−2の順に、グルー
プ0→グループ1→グループ2→グループ0→…→グル
ープ9が格納されており、グループ9が格納されたアド
レスn−2にはエンドフラグ“L”が格納されているた
めアドレスn−2のグループ9の次はアドレス0のグル
ープ0に戻る。
FIG. 4 shows the first and second selectors 14,
FIG. 18 is a diagram showing an example of a transition of a group selected by 18. In the schedule information table shown in FIG. 2, group 0 → group 1 → group 2 → group 0 →... → group 9 are stored in the order of address 0 to address n−2, and address n where group 9 is stored. Since the end flag “L” is stored in −2, the group 9 at the address n−2 returns to the group 0 at the address 0.

【0021】図4には、このグループの変遷が示されて
おり、第1および第2のセレクタ14,18では、順次
この順に各グループが選択される。図5〜図8は、第1
および第2の分配器の入出力端子間の接続状態の変遷を
示す図である。図5〜図8は、図1に示す2ビットカウ
ンタ13のカウント値がそれぞれ0,1,2,3のとき
の状態を示しており、第1の分配器15ではこのカウン
ト値が変化するに従って4つの入力端子IN0,IN
1,IN2,IN3から入力された信号が順次入れ替わ
って4つの出力端子OUT1,OUT2,OUT3から
出力されるようにそれら各4つの入出力端子間の接続状
態が切り換えられ、第2の分配器17では、第1の分配
器15により入れ替えられた信号順序を元に戻すように
その第2の分配器17の各4つの入出力端子間の接続状
態が切り換えられる。
FIG. 4 shows the transition of this group. The first and second selectors 14 and 18 sequentially select each group in this order. FIG. 5 to FIG.
FIG. 10 is a diagram showing transition of a connection state between input and output terminals of a second distributor. 5 to 8 show states when the count values of the 2-bit counter 13 shown in FIG. 1 are 0, 1, 2, and 3, respectively. In the first distributor 15, as the count value changes, Four input terminals IN0, IN
The connection state between the four input / output terminals is switched so that the signals input from the input terminals 1, IN2, and IN3 are sequentially switched and output from the four output terminals OUT1, OUT2, and OUT3. Then, the connection state between the four input / output terminals of the second distributor 17 is switched so that the signal order exchanged by the first distributor 15 is restored.

【0022】表1は、固定優先決定回路16の入力を出
力との関係を示す表である。
Table 1 is a table showing the relationship between the input of the fixed priority decision circuit 16 and the output.

【0023】[0023]

【表1】 [Table 1]

【0024】ここでは負論理で示されており、IN0が
“L”であれば、IN1〜IN3が“L”であるか
“H”であるかによらずOUT0が“L”、かつOUT
1〜OUT3がいずれも“H”となり、IN0からリク
エストを入力したデバイスに対し優先権が与えられる。
IN0が“H”であってIN1が“L”のときは、OU
T1のみが“L”、IN0およびIN1が共に“H”で
あってIN2が“L”のときは、OUT2のみが
“L”、IN0〜IN2がいずれも“H”であってIN
3が“L”のときは、OUT3のみが“L”となる。す
なわち、図1に示す固定優先権決定回路16にはIN0
に最も高い優先順位が与えられており、以下、優先順位
はIN1,IN2,IN3の順である。
Here, the logic is indicated by negative logic. If IN0 is "L", OUT0 is "L" and OUT1 is irrespective of whether IN1 to IN3 are "L" or "H".
1 to OUT3 all become "H", and a priority is given to the device that has input the request from IN0.
When IN0 is “H” and IN1 is “L”, OU
When only T1 is "L", IN0 and IN1 are both "H" and IN2 is "L", only OUT2 is "L", and IN0 to IN2 are all "H" and IN
When 3 is "L", only OUT3 is "L". That is, the fixed priority determination circuit 16 shown in FIG.
Has the highest priority, and the priority order is IN1, IN2, IN3.

【0025】図1に示す調停装置は以上説明したように
構成されており、第1のセレクタ14により、スケジュ
ールインフォメーションに従ってラウンドロビン方式で
グループ毎に順次優先権が与えられ、優先権が与えられ
たグループ内では、第1の分配器15により、2ビット
カウンタ13のカウント値に応じて優先順位が順次変更
されて、固定優先決定回路16によりいずれか1つのデ
バイスに優先権を与える。第2の分配器17および第2
のセレクタ18は、信号の配列を元の順序に戻す役割り
を成している。
The arbitration apparatus shown in FIG. 1 is configured as described above. The first selector 14 sequentially gives priority to each group in a round-robin manner according to schedule information, and the priority is given. In the group, the priority is sequentially changed by the first distributor 15 according to the count value of the 2-bit counter 13, and the priority is given to one of the devices by the fixed priority determination circuit 16. The second distributor 17 and the second distributor
Selector 18 plays a role of returning the signal arrangement to the original order.

【0026】上記実施形態において、第1のセレクタ1
4によって実現されるラウンドロビン方式ではグループ
が選択される。その選択されたグループ内には複数のデ
バイスが含まれているため、デバイス1つずつについて
ラウンドロビン方式を適用する場合と比べ、それら複数
のデバイスのうちのいずれのデバイスもリクエストを出
力していない可能性、すなわち、そのグループが選択さ
れた時間がアイドル(無駄)な時間となってしまう可能
性が大きく低減され、効率の良いリソースの使用が可能
となる。
In the above embodiment, the first selector 1
A group is selected in the round robin method realized by the method No. 4. Since a plurality of devices are included in the selected group, none of the plurality of devices output a request as compared with a case where the round robin method is applied to each device. The possibility, that is, the possibility that the time when the group is selected becomes idle (wasted) time is greatly reduced, and efficient use of resources becomes possible.

【0027】また、ラウンドロビン方式により選択され
たグループ内では、2ビットカウンタ13と第1の分配
器15とにより信号の伝達経路を順位変更しながら、固
定優先決定回路16により固定優先方式で優先権を与え
るデバイスが決定されるが、1つのグループ内のデバイ
ス数は、上記実施形態における4デバイス等、少数のデ
バイス数で1グループを構成することにより小規模な回
路構成で優先権を決定することができる。
In the group selected by the round robin method, the priority of the signal transmission path is changed by the 2-bit counter 13 and the first distributor 15 while the priority is determined by the fixed priority determination circuit 16 in the fixed priority method. The device to which the right is assigned is determined, and the number of devices in one group is determined with a small circuit configuration by forming one group with a small number of devices such as the four devices in the above embodiment. be able to.

【0028】すなわち、上述の実施形態では、全体とし
ても比較的小規模の回路構成で、かつアイドルな時間が
入り込む余地の少ない効率の良い優先権付与を行なう調
停装置が実現できる。また、上記実施形態では、RAM
12内にスケジュールインフォメーションテーブル12
aを格納し、第1のセレクタ14では、そこから読み出
されたスケジュールインフォメーションに従ってラウン
ドロビン方式によるグループの選択を行なっており、し
たがってRAM12内のスケジュールインフォメーショ
ンテーブル12aを書き換えることにより、複数のグル
ープの選択の順序を自由に変更したり、一巡する間の、
各グループが選択される回数を自由に決定することがで
きる。
That is, in the above-described embodiment, it is possible to realize an arbitration device that has a relatively small-scale circuit configuration as a whole and performs efficient priority assignment with little room for entering idle time. In the above embodiment, the RAM
The schedule information table 12 in 12
a, and the first selector 14 selects a group according to the round robin method in accordance with the schedule information read therefrom. Therefore, the first selector 14 rewrites the schedule information table 12a in the RAM 12 to select a plurality of groups. You can freely change the order of selection,
The number of times each group is selected can be freely determined.

【0029】[0029]

【発明の効果】以上説明したように、本発明によれば、
比較的小規模の回路構成で、多数の主体の中から事象の
占有許可を与える主体を効率良く決定することができ
る。
As described above, according to the present invention,
With a relatively small-scale circuit configuration, it is possible to efficiently determine a subject to be given permission to occupy an event from a large number of subjects.

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

【図1】本発明の調停装置の一実施形態の構成ブロック
図である。
FIG. 1 is a configuration block diagram of an embodiment of an arbitration device of the present invention.

【図2】RAMに格納されたスケジュールインフォメー
ションテーブルの一例を示した図である。
FIG. 2 is a diagram showing an example of a schedule information table stored in a RAM.

【図3】スケジュールステートマシーンの状態遷移図で
ある。
FIG. 3 is a state transition diagram of a schedule state machine.

【図4】第1および第2のセレクタにより選択されるグ
ループの変遷の一例を示す図である。
FIG. 4 is a diagram illustrating an example of a transition of a group selected by first and second selectors.

【図5】第1および第2の分配器の入出力端子間の接続
状態を示す図である。
FIG. 5 is a diagram showing a connection state between input and output terminals of the first and second distributors.

【図6】第1および第2の分配器の入出力端子間の接続
状態を示す図である。
FIG. 6 is a diagram showing a connection state between input and output terminals of the first and second distributors.

【図7】第1および第2の分配器の入出力端子間の接続
状態を示す図である。
FIG. 7 is a diagram showing a connection state between input and output terminals of the first and second distributors.

【図8】第1および第2の分配器の入出力端子間の接続
状態を示す図である。
FIG. 8 is a diagram showing a connection state between input and output terminals of the first and second distributors.

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

10 スケジュールステートマシーン 11 6ビットカウンタ 12 RAM 12a スケジュールインフォメーションテーブル 13 2ビットカウンタ 14 第1のセレクタ 15 第1の分配器 16 固定優先決定回路 17 第2の分配器 18 第2のセレクタ Reference Signs List 10 schedule state machine 11 6-bit counter 12 RAM 12a schedule information table 13 2-bit counter 14 first selector 15 first distributor 16 fixed priority determination circuit 17 second distributor 18 second selector

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 同時には1つの主体のみが占有すること
が可能な1つの事象に関する、複数の主体それぞれから
の占有要求を受け付けて、占有を要求している主体のう
ちのいずれか1つの主体に該事象の占有許可を与える調
停装置において、 前記事象の占有を要求する権利を有する複数の主体から
の、前記事象の占有要求の有無の情報を入力し、これら
複数の主体が複数のグループに分割されてなる各主体群
毎に、所定の順序で、1つの主体群を構成する複数の主
体からの、前記事象の占有要求の有無の情報を出力する
ラウンドロビン調停手段と、 1つの主体群を構成する複数の主体からの前記事象の占
有要求の有無の情報がそれぞれ入力される、固定された
優先順位をもつ複数のポートを有し、該固定された優先
順位に従って、占有を要求している主体のうちのいずれ
か1つの主体に前記事象の占有許可を与えるプライオリ
ティ調停手段と、 前記ラウンドロビン調停手段と、前記プライオリティ調
停手段との間に介在し、前記ラウンドロビン調停手段か
ら出力された、1つの主体群を構成する複数の主体から
の占有要求の有無の情報を、前記複数のポートに、これ
ら複数の主体と複数のポートとの対応関係を順次切り替
えながら入力する分配手段とを備えたことを特徴とする
調停装置。
An occupation request is received from each of a plurality of subjects for one event that can be occupied by only one subject at a time, and any one of the subjects requesting occupation is received. In an arbitration device that gives permission to occupy the event to a plurality of entities that have a right to request occupation of the event, input information on the presence or absence of an occupancy request for the event, and A round-robin arbitration means for outputting information on presence / absence of a request for occupation of the event from a plurality of subjects constituting one subject group in a predetermined order for each subject group divided into groups; A plurality of ports having fixed priorities to which information on the presence / absence of the occupation request of the event from a plurality of subjects constituting one subject group is input, and occupied according to the fixed priorities. Request Priority arbitration means for granting any one of the subjects the occupation permission of the event, interposed between the round robin arbitration means, and the priority arbitration means, and output from the round robin arbitration means. Distribution means for inputting information on the presence or absence of an occupation request from a plurality of subjects constituting one subject group to the plurality of ports while sequentially switching the correspondence between the plurality of subjects and the plurality of ports. An arbitration device comprising:
【請求項2】 前記主体群の順序をあらわすスケジュー
ル情報が格納されるメモリを備え、 前記ラウンドロビン調停手段が、前記メモリに格納され
たスケジュール情報に従う順序で、各主体群毎に順次
に、該各主体群を構成する複数の主体からの前記事象の
占有要求の有無の情報を出力するものであることを特徴
とする請求項1記載の調停装置。
2. A memory for storing schedule information indicating an order of the subject groups, wherein the round-robin arbitration means sequentially performs a process for each subject group in an order according to the schedule information stored in the memory. 2. The arbitration device according to claim 1, wherein the arbitration device outputs information on whether or not there is a request for occupation of the event from a plurality of subjects constituting each subject group.
【請求項3】 前記メモリが、複数の主体群を一巡する
間に1つの主体群が複数の順序位置に配列されることが
許容されたスケジュール情報が格納されるものであるこ
とを特徴とする請求項2記載の調停装置。
3. The memory according to claim 1, wherein the memory stores schedule information that allows one subject group to be arranged in a plurality of order positions while making a round of the plurality of subject groups. The arbitration device according to claim 2.
JP2678697A 1997-02-10 1997-02-10 Mediation device Withdrawn JPH10222462A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2678697A JPH10222462A (en) 1997-02-10 1997-02-10 Mediation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2678697A JPH10222462A (en) 1997-02-10 1997-02-10 Mediation device

Publications (1)

Publication Number Publication Date
JPH10222462A true JPH10222462A (en) 1998-08-21

Family

ID=12203009

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2678697A Withdrawn JPH10222462A (en) 1997-02-10 1997-02-10 Mediation device

Country Status (1)

Country Link
JP (1) JPH10222462A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001125827A (en) * 1999-08-31 2001-05-11 Koninkl Philips Electronics Nv Access to shared resources
JP2001143059A (en) * 1999-10-04 2001-05-25 Sarnoff Corp Pipeline pyramid processor for image-processing system
US6831922B1 (en) 1999-05-12 2004-12-14 Nec Corporation Contention priority control circuit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6831922B1 (en) 1999-05-12 2004-12-14 Nec Corporation Contention priority control circuit
JP2001125827A (en) * 1999-08-31 2001-05-11 Koninkl Philips Electronics Nv Access to shared resources
JP2001143059A (en) * 1999-10-04 2001-05-25 Sarnoff Corp Pipeline pyramid processor for image-processing system

Similar Documents

Publication Publication Date Title
US5487170A (en) Data processing system having dynamic priority task scheduling capabilities
EP1403773B1 (en) Resource management device
KR100334922B1 (en) Efficient output-request packet switch and method
US5371893A (en) Look-ahead priority arbitration system and method
CN115756837B (en) Dynamic dispatching method and device for cross switch matrix weights and chip
US20040103231A1 (en) Hierarchical bus arbitration
CA2399186C (en) Data transfer apparatus and data transfer method
JPH10222462A (en) Mediation device
US6829647B1 (en) Scaleable hardware arbiter
EP0537509A2 (en) An adaptive scheduling scheme for dynamic service time allocation on a shared resource
CN100422978C (en) Integrated circuit with multiple digital signal processors in communication with each other
US7639704B2 (en) Message switching system
KR100358180B1 (en) A bus arbiter providing multi-stage connection and method thereof
JP3747020B2 (en) Crossbar mediation system
JP3039451B2 (en) Priority arbitration device
JPH07281942A (en) Arbitration method for shared resources
CN116668297A (en) Virtual channel circuit, method and device for distributing multiple branches in single channel
JP3667504B2 (en) Arbitration circuit
JP2006251875A (en) Bus arbitration device and bus arbitration method
JPH04104540A (en) Multiplexer
JP4170506B2 (en) Arbitration circuit and method
JPH11331203A (en) Cross bar switch device and control method thereof
CN121968300A (en) A method, system, device, and medium for allocating shared service time slot resources.
JP2017010220A (en) Arbitration circuit
JP2022144714A (en) Ssl communication processor and ssl communication processing method

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20040511