JPH04137160A - Bus arbitrating system - Google Patents

Bus arbitrating system

Info

Publication number
JPH04137160A
JPH04137160A JP26137490A JP26137490A JPH04137160A JP H04137160 A JPH04137160 A JP H04137160A JP 26137490 A JP26137490 A JP 26137490A JP 26137490 A JP26137490 A JP 26137490A JP H04137160 A JPH04137160 A JP H04137160A
Authority
JP
Japan
Prior art keywords
bus
level
circuit
use request
signal
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.)
Pending
Application number
JP26137490A
Other languages
Japanese (ja)
Inventor
Atsushi Mabuchi
馬渕 淳
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 Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP26137490A priority Critical patent/JPH04137160A/en
Publication of JPH04137160A publication Critical patent/JPH04137160A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To improve the system performance by arbitrarily setting the frequency with which a bus use request in the high level interrupts that in the low level to use a bus. CONSTITUTION:A first OR circuit 8 operates logical OR among MHBRQs 3-11, 3-21, and 3-31, and a second OR circuit 9 operates logical OR among LBRQs 2-10, 2-20, and 2-30. The frequency with which the output signal of the circuit 8 is changed from the active state to the inactive state in the period when the output signal of the circuit 9 is active is counted by a counter 10, and its value is inputted to a comparator 11. An arbitrary value is preliminarily set to a register 15, to which an integer other than 0 can be set, by software, and the comparator 11 compares the value of the counter 10 and the value set to the register 15 with each other; and when they coincide with each other, the comparator 11 makes a mask signal 14 active. Thus, the system performance is improved.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はバス調停方式に関し、特に2つの調停レベルを
持ち各々のレベル内ではラウンドロビンに調停されるが
レベル間では固定順位で調停されるようなバスの調停方
式に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a bus arbitration system, and in particular, has two arbitration levels, and within each level, arbitration is performed in a round robin manner, but between levels, arbitration is performed in a fixed order. Regarding the arbitration method of buses such as

〔従来の技術〕[Conventional technology]

従来、この種の調停方式においては、低順位に位置付け
られたロー・レベルのバス・マスタは高順位に位置付け
られたハイ・レベルのバス・マスタのバス使用終了後に
初めてバス使用が可能となる。ロー・レベルのバス・マ
スタのバス使用カ可能になっても、使用中にハイ・レベ
ルのバス使用要求が発生するとロー・レベルのバス使用
要求が残っているにかかわらずバスの割込使用が行われ
、その時割り込んだバス使用要求に対して全てのサービ
スが完了するまでロー・レベルのバス使用は待たされる
。以後もこのパターンで調停される。
Conventionally, in this type of arbitration system, a low-level bus master positioned at a low rank can use the bus only after a high-level bus master positioned at a high rank finishes using the bus. Even if a low-level bus master becomes available for bus use, if a high-level bus use request occurs while the bus is being used, interrupt use of the bus will be interrupted even if low-level bus use requests remain. The use of the low-level bus is made to wait until all services for the bus use requests interrupted at that time are completed. This pattern will continue to be used for arbitration.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のバス調停方式は、ロー・レベルのバス使
用要求にもとすくサービスが全て完了するまでの間にハ
イ・レベルのバス使用要求が発生すると何度でも割込み
バス使用が許されるので、ロー・レベルのバス・マスタ
のバス使用許可の待時間が著しく大きくなることがある
という欠点がある。
In the conventional bus arbitration method described above, interrupt bus usage is allowed as many times as a high level bus usage request occurs until all services are completed in response to a low level bus usage request. A disadvantage is that the waiting time for a low-level bus master to grant bus access can be significant.

従って本発明の目的は、ロー・レベルに位置付けられた
バスφマスタのバス使用待時間が過度に大きくなるのを
防止することのできるバス調停方式を提供することにあ
る。
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a bus arbitration system that can prevent the bus usage waiting time of a bus φ master positioned at a low level from becoming excessively long.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のバス調停方式は、第1レベルの複数のバス使用
要求信号と第2レベルの複数のバス使用要求信号とを受
けて同一レベル内ではラウンドロビンに調停し異ったレ
ベル間では前記第1レベルを優先するように調停するバ
ス調停方式において、第2レベルのバス使用要求信号が
アクティブの間に調停前の第1レベルのバス使用要求信
号がアクティブからインアクティブに変化する回数をカ
ウントし、その回数が予め定めた回数を越えたときに入
力する第1レベルのバス使用要求信号をマスクすること
を特徴とする。
The bus arbitration method of the present invention receives a plurality of bus use request signals at the first level and a plurality of bus use request signals at the second level, and arbitrates in a round robin manner within the same level. In a bus arbitration method that arbitrates to give priority to the first level, the number of times the first level bus request signal changes from active to inactive while the second level bus request signal is active is counted. , the first level bus use request signal that is input when the number of times exceeds a predetermined number is masked.

また本発明のバス調停方式は、プライオリティコントロ
ール部内に、ハイ拳レベルのバス使用要求HBRQとロ
ー・レベルのバス使用要求LBRQとを取り込む手段と
、マスク信号によってHBRQをマスクするマスク回路
と、マスク回路を介して得られる信号MHBRQをOR
する第1のOR回路と、LBRQをORする第2のOR
回路と、第2のOR回路の出力がアクティブの間に第1
のOR回路の出力がアクティブからインアクティブに変
化する変化点を数えるカウンタと、ソフトウェアによっ
て任意に0以上の整数を設定することができるレジスタ
と、そのレジスタ内に設定された値とカウンタの出力値
とを比較しマスク信号を生成する比較回路と、MHBR
QとLBRQとを入力し同一レベル内ではラウンドロビ
ンに異ったレベル間では固定順位で調停を行いバスの使
用許可信号を生成する調停回路とを宵する。
Further, the bus arbitration method of the present invention includes means for taking in a high-level bus use request HBRQ and a low-level bus use request LBRQ in the priority control section, a mask circuit for masking HBRQ by a mask signal, and a mask circuit. OR the signal MHBRQ obtained via
A first OR circuit that ORs LBRQ, and a second OR circuit that ORs LBRQ.
circuit and the output of the second OR circuit is active.
A counter that counts the change point at which the output of the OR circuit changes from active to inactive, a register that can be arbitrarily set to an integer greater than or equal to 0 by software, and the value set in that register and the output value of the counter. a comparison circuit that generates a mask signal by comparing the MHBR
An arbitration circuit is provided which inputs Q and LBRQ and performs round robin arbitration within the same level in a fixed order between different levels to generate a bus use permission signal.

さらに本発明の他の態様においては、少なくとも1つの
中央処理装置と、中央処理装置にバスを介して接続され
る主記憶装置と、主記憶装置にバスを介して接続される
少なくとも1つの周辺制御装置と、周辺制御装置によっ
て制御される少なくとも1つの周辺装置と、バスに接続
されバスの使用要求を調停するプライオリティ・コント
ロール部とを備えた情報処理装置が提供される。この情
報処理装置のプライオリティ・コントロール部は、少な
くとも1つのハイ・レベルのバス使用要求即ちHBRQ
と少なくとも1つのロー・レベルのバス使用要求即ちL
BRQとを取り込む手段と、HBRQをマスク信号によ
ってマスクするマスク回路と、マスク回路を介して得ら
れる信号即ちMHBRQを論理的にORする第1のOR
回路と、LBRQを論理的にORする第2のOR回路と
、第2のOR回路の出力がアクティブの間に第1のOR
回路の出力がアクティブからインアクティブに変化する
変化点を数えるカウンタと、ソフトウェアによって任意
に0以上の整数を設定することができるレジスタと、こ
のレジスタ内に設定された値とカウンタの出力値とを比
較しマスク信号を生成する比較回路と、MHBRQとL
BRQとを入力して同一レベル内ではラウンドロビンに
異なるレベル間では固定順位で調停を行いバスの使用許
可信号を生成する調停回路とを有する。
Further, in another aspect of the present invention, at least one central processing unit, a main storage device connected to the central processing unit via a bus, and at least one peripheral control device connected to the main storage device via a bus. An information processing device is provided that includes a device, at least one peripheral device controlled by a peripheral control device, and a priority control unit connected to a bus and arbitrating requests for use of the bus. The priority control unit of this information processing device is configured to respond to at least one high level bus usage request, ie HBRQ.
and at least one low level bus use request, i.e. L
BRQ, a mask circuit that masks HBRQ with a mask signal, and a first OR that logically ORs the signal obtained via the mask circuit, that is, MHBRQ.
a second OR circuit that logically ORs the LBRQ; and a first OR circuit that logically ORs the LBRQ;
A counter that counts the change point at which the output of the circuit changes from active to inactive, a register that can be arbitrarily set to an integer greater than or equal to 0 by software, and the value set in this register and the output value of the counter. A comparison circuit that compares and generates a mask signal, MHBRQ and L
BRQ, and performs round-robin arbitration within the same level, and fixed order arbitration between different levels, and generates a bus use permission signal.

〔実施例〕〔Example〕

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

第1図を参照すると、本発明の一実施例における情報処
理装置1は、3つの中央処理装置2−1.2−2.2−
3と、3つの周辺制御装置3−1.3−2.3−3と、
主記憶装置6と、これらが接続されたバス7と、中央処
理装置2−1゜2−2.2−3および周辺制御装置3−
L 3−2.3−3のバス7に対する使用要求を調停す
るプライオリティ・コントロール部5とを含んでいる。
Referring to FIG. 1, an information processing apparatus 1 according to an embodiment of the present invention includes three central processing units 2-1.2-2.2-
3, three peripheral control devices 3-1.3-2.3-3,
The main storage device 6, the bus 7 to which they are connected, the central processing unit 2-1゜2-2.2-3, and the peripheral control device 3-
It also includes a priority control section 5 that arbitrates requests for use of the bus 7 of L3-2.3-3.

周辺制御装置3−1.3−2.3−3の各々には周辺装
置4−1.4−2.4−3がそぞれ接続されている。
Peripheral devices 4-1.4-2.4-3 are connected to each of the peripheral control devices 3-1.3-2.3-3.

第2図を参照すると、第1図におけるプライオリティ・
コントロール部5は、本発明の一実施例においては、周
辺制御装置3−1.3−2.3−3の各々の装置のバス
7に対するハイ・レベルの使用要求信号HBRQ3−1
0.3−20.3−30と中央処理装置2−1.2−2
.2−3の各々の装置のバス7に対するローφレベルの
使用要求信号LBRQ2−10.2−20.2−30と
を取り込み、HBRQ3−10.3−20.3−30を
マスク回路12に入力してマスク信号14によってマス
クを行う。マスク回路12の出力MHBRQ3−11.
3−21.3−31をLBRQ2−10.2−20.2
−30とともに調停回路13に入力し、調停回路13は
HBRQ3−10と3−20と3−30との間およびL
BRQ2−10と2−20と2−30との間ではそれぞ
れラウンドロビンに調停するとともにHBRQとLBR
Qとの間は固定順位で(HBRQの方を優先するように
)調停を行い、周辺制御装置3−L  3−2.3−3
のバス7に対する使用許可信号HBAK3−12.3−
22.3−32および中央処理装置2−1.2−2.2
−3のバス7に対する使用許可信号LBAK2−12.
2−22.2−32を生成する。プライオリティ・コン
トロール部はさらに2つのOR回路8および9と、カウ
ンタ10と、レジスタ15と、比較回路11とを有して
いる。第1のOR回路8はMHBRQ3−11.3−2
1.3−31を論理ORし、第2のOR回路9はLBR
Q2−10.2−20.2−30を論理ORする。第2
77)OR回路9の出力信号がアクティブ中の第1のO
R回路8の出力信号がアクティブからインアクティブに
変化する回数をカウンタ10でカウントし、その値を比
較器11に入力する。0以上の整数を設定することがで
きるレジスタ15にソフトウェアによって任意の値を予
め設定しておき、カウンタ10の値とレジスタ15内に
設定された値とを比較器11が比較し、一致したら比較
器11はマスク信号14をアクティブにする。
Referring to Figure 2, the priority in Figure 1 is
In one embodiment of the present invention, the control unit 5 sends a high level use request signal HBRQ3-1 to the bus 7 of each of the peripheral control devices 3-1.3-2.3-3.
0.3-20.3-30 and central processing unit 2-1.2-2
.. 2-3 to the bus 7 of each device, and input the low φ level use request signal LBRQ2-10.2-20.2-30 to the mask circuit 12. Then, masking is performed using the mask signal 14. Outputs of the mask circuit 12 MHBRQ3-11.
3-21.3-31 to LBRQ2-10.2-20.2
-30 and is input to the arbitration circuit 13, and the arbitration circuit 13 is input between HBRQ3-10, 3-20, and 3-30 and L
Between BRQ2-10, 2-20, and 2-30, round robin arbitration is performed, and HBRQ and LBR are used.
Arbitration is performed with Q in a fixed order (giving priority to HBRQ), and peripheral control device 3-L 3-2.3-3
Usage permission signal HBAK3-12.3- for bus 7 of
22.3-32 and central processing unit 2-1.2-2.2
-3 bus 7 use permission signal LBAK2-12.
2-22. Generate 2-32. The priority control section further includes two OR circuits 8 and 9, a counter 10, a register 15, and a comparison circuit 11. The first OR circuit 8 is MHBRQ3-11.3-2
1. 3-31 is logically ORed, and the second OR circuit 9 is LBR.
Logically OR Q2-10.2-20.2-30. Second
77) The first O when the output signal of the OR circuit 9 is active
A counter 10 counts the number of times the output signal of the R circuit 8 changes from active to inactive, and the value is input to a comparator 11. An arbitrary value is set in advance by software in the register 15, which can be set to an integer greater than or equal to 0. The comparator 11 compares the value of the counter 10 and the value set in the register 15, and if they match, the comparison is made. device 11 activates mask signal 14.

第3図は、第2図に示したプライオリティ・コントロー
ル部の動作説明に供するタイミングチャートで、(a)
、(b)+  (c)はそれぞれ周辺制御装置3−L 
 3−2.3−3のバス7に対する使用要求HBRQ3
−10.3−20.3−30を示し、(d)はマスク信
号14を示し、(e)、(f)、(g)はそれぞれマス
ク回路12を介して得られるバス7の使用要求信号MH
BRQ3−11.3−21.3−31を示す。第3図の
(h)、(i)、(j)はそれぞれ中央処理装置2−L
 2−2.2−3のバス7に対する使用要求信号LBR
Q2−10.2−20.2−30を示し、(k)+  
(1)+  (m)、(n)t(o)、(p)はそれぞ
れ周辺制御装置3−1゜3−2.3−3.中央処理装置
2−1.2−2゜2−3に対するバス7の使用許可信号
HBAK3−12.3−22.3−32.LBAK2−
12.2−22.2−32を示す。(r)は第1のOR
回路8の出力信号である。このタイミングチャートは、
レジスタ15にソフトウェアによって“′2”を設定し
た場合のものであり、以下その場合について第2図、第
3図を参照して実施例の説明を行う。
FIG. 3 is a timing chart for explaining the operation of the priority control section shown in FIG.
, (b) + (c) are peripheral control devices 3-L, respectively.
3-2.3-3 usage request for bus 7 HBRQ3
-10.3-20.3-30, (d) shows the mask signal 14, and (e), (f), and (g) show the bus 7 use request signals obtained through the mask circuit 12, respectively. M.H.
BRQ3-11.3-21.3-31 is shown. (h), (i), and (j) in FIG. 3 are the central processing unit 2-L, respectively.
2-2.2-3 Use request signal LBR for bus 7
Indicates Q2-10.2-20.2-30, (k)+
(1) + (m), (n)t(o), and (p) are the peripheral control device 3-1゜3-2.3-3, respectively. Bus 7 use permission signal HBAK3-12.3-22.3-32 for central processing unit 2-1.2-2-2-3. LBAK2-
12.2-22.2-32 is shown. (r) is the first OR
This is the output signal of circuit 8. This timing chart is
This is the case where "'2" is set in the register 15 by software, and the embodiment will be described below with reference to FIGS. 2 and 3.

第2のOR回路9の出力信号(第3図においては(j)
と同一タイミング)がアクティブ(論理“O”レベル)
の間に第1のOR回路8の出力信号(r)がアクティブ
からインアクティブになる(論理“O”レベルから論理
“1”レベルになる)変化点が2回発生した時、比較器
11によってマスク信号14が第3図(d)が示すよう
にアクティブ(論理“′1”レベル)となる。マスク信
号14がアクティブになるとマスク回路12が働き、H
BRQがアクティブ(論理“′0”レベル)になっても
調停回路13に入力されるMHBRQ信号はアクティブ
(論理“0”レベル)にはならず、すなわち第3図にお
いて(e)、(g)の破線で示されている様にはならず
、調停の対象からはずされる。従って、調停回路13は
その時入力されているLBRQの調停を行い、LBRQ
が全てなくなるまで、すなわち(h)、(iL(j)が
すべてインアクティブ(論理“1ルベル)になるまで、
ローeレベルのバス・マスタに対してバス7の使用を許
す。ロー・レベルのLBRQ信号がすべてインアクティ
ブになると第2のOR回路9の出力はインアクティブと
なり、カウンタ10はリセットされる。その結果、マス
ク信号14もインアクティブとなり、通常のバス調停に
復帰する。
The output signal of the second OR circuit 9 ((j in FIG. 3)
(same timing as) is active (logic “O” level)
When the output signal (r) of the first OR circuit 8 changes from active to inactive (from logic "O" level to logic "1" level) twice during this period, the comparator 11 The mask signal 14 becomes active (logical "'1" level) as shown in FIG. 3(d). When the mask signal 14 becomes active, the mask circuit 12 operates and the H
Even if BRQ becomes active (logic "'0" level), the MHBRQ signal input to the arbitration circuit 13 does not become active (logic "0" level), that is, as shown in (e) and (g) in FIG. The case will not be as indicated by the broken line, and will not be subject to mediation. Therefore, the arbitration circuit 13 arbitrates the LBRQ that is input at that time, and
Until all are gone, that is, until (h) and (iL(j) are all inactive (logical "1 level"),
Allow bus 7 to be used by low e level bus masters. When all the low level LBRQ signals become inactive, the output of the second OR circuit 9 becomes inactive and the counter 10 is reset. As a result, the mask signal 14 also becomes inactive, returning to normal bus arbitration.

第2図において本発明によるマスク回路12とマスク信
号14を発生するための回路群8〜11および15とが
ない場合には、第4図のタイミングチャートに示すよう
にLBAKがインアクティブになって次のバス争マスタ
に対するLBAKがアクティブになるまでの間にハイ・
レベルのバス使用要求が発生した場合、割り込まれてし
まう。
In FIG. 2, if the mask circuit 12 according to the present invention and the circuit groups 8 to 11 and 15 for generating the mask signal 14 are not present, LBAK becomes inactive as shown in the timing chart of FIG. High until LBAK goes active for the next bus contention master.
If a level bus usage request occurs, it will be interrupted.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、ハイ・レベルのバス使用
要求がロー・レベルのバス使用要求に対して割り込んで
バスを使用することができる頻度を任意に設定できるよ
うにしたことによって、ロー・レベルのバス・マスタの
無意味なバス使用待ち時間を減らすことができ、その結
果システム性能を向上させることができるという効果が
ある。
As explained above, the present invention allows the frequency at which a high-level bus use request can interrupt a low-level bus use request to use the bus to be arbitrarily set. This has the effect that it is possible to reduce the meaningless bus usage waiting time of the level bus master, and as a result, system performance can be improved.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明のバス調停方式の一実施例を示すブロッ
ク図、第2図は第1図の実施例におけるプライオリティ
・コントロール部のブロック図、第3図は第2図の動作
説明のための各信号のタイミング図、第4図は従来技術
の動作を説明するためのタイミング図である。 1・・・情報処理装置、2−L 2−2.2−3・・・
中央処理装置、3−1.3−2.3−3・・・周辺制御
装置、4−1.4−2.4−3・・・周辺装置、5・・
・プライオリティ・コントロール部、6・・・主記憶装
置、7・・・バス、8・・・第1のOR回路、9・・・
第2のOR回路、10・・・カウンタ、11・・・比較
器、12・・・マスク回路、13・・・調停回路、14
・・・マスク信号、15・・・レジスタ、3−10.3
−20゜3−30・・・周辺制御装置3−1.3−2.
3−3からのバス7に対する使用要求信号(ハイ・レベ
ル)、2−10.2−20.2−30・・・中央処理装
置2−1.2−2.2−3からのバス7に対する使用要
求信号(ローφレベル)、3−11゜3−2L 3−3
1・・・HBRQ3−10.3−20.3−30をマス
ク回路12を介して得られる信号、3−12.3−22
.3−32・・・周辺制御装置3−1.3−2.3−3
へのバス7に対する使用許可信号、2−12.2−22
.2−32・・・中央処理装置2−1.2−2.2−3
へのバス7の使用許可信号。
FIG. 1 is a block diagram showing an embodiment of the bus arbitration system of the present invention, FIG. 2 is a block diagram of a priority control section in the embodiment of FIG. 1, and FIG. 3 is for explaining the operation of FIG. 2. FIG. 4 is a timing diagram for explaining the operation of the prior art. 1... Information processing device, 2-L 2-2.2-3...
Central processing unit, 3-1.3-2.3-3... Peripheral control device, 4-1.4-2.4-3... Peripheral device, 5...
・Priority control unit, 6... Main storage device, 7... Bus, 8... First OR circuit, 9...
Second OR circuit, 10... Counter, 11... Comparator, 12... Mask circuit, 13... Arbitration circuit, 14
...Mask signal, 15...Register, 3-10.3
-20°3-30... Peripheral control device 3-1.3-2.
Use request signal (high level) for bus 7 from 3-3, 2-10.2-20.2-30... central processing unit for bus 7 from 2-1.2-2.2-3 Use request signal (low φ level), 3-11°3-2L 3-3
1... Signal obtained from HBRQ3-10.3-20.3-30 via mask circuit 12, 3-12.3-22
.. 3-32... Peripheral control device 3-1.3-2.3-3
Enable signal for bus 7 to 2-12.2-22
.. 2-32...Central processing unit 2-1.2-2.2-3
bus 7 permission signal to the bus 7.

Claims (1)

【特許請求の範囲】 1、第1レベルの複数のバス使用要求信号と第2レベル
の複数のバス使用要求信号とを受けて同一レベル内では
ラウンドロビンに調停し異ったレベル間では前記第1レ
ベルを優先するように調停するバス調停方式において、
前記第2レベルのバス使用要求信号がアクティブの間に
調停前の前記第1レベルのバス使用要求信号がアクティ
ブからインアクティブに変化する回数をカウントし、前
記回数が予め定めた回数を越えたときに入力する前記第
1レベルのバス使用要求信号をマスクすることを特徴と
するバス調停方式。 2、プライオリティ・コントロール部内に前記第1レベ
ルのバス使用要求信号を入力する手段と、前記第2レベ
ルのバス使用要求信号を入力する手段と、マスク信号に
よって前記入力した第1レベルのバス使用要求信号をマ
スクするマスク回路と、前記マスク回路を介して得られ
る前記第1レベルのバス使用要求信号を論理和する第1
のOR回路と、前記入力した第2レベルのバス使用要求
信号を論理和する第2のOR回路と、前記第2のOR回
路の出力がアクティブの間に前記第1のOR回路の出力
がアクティブからインアクティブに変化する変化点を数
えるカウンタと、0以上の予め定めた整数を任意に設定
することができるレジスタと、前記レジスタ内に設定さ
れた値と前記カウンタの出力値とを比較し前記マスク信
号を生成する比較回路と、前記マスク回路を介して得ら
れる第1レベルのバス使用要求信号と前記入力した第2
レベルのバス使用要求信号とを受けて同一レベル内では
ラウンドロビンにかつ異ったレベル間では前記第1レベ
ル優先で調停を行いバスの使用許可信号を生成する調停
回路とを有することを特徴とする請求項1記載のバス調
停方式。 3、少なくとも1つの中央処理装置と、前記中央処理装
置にバスを介して接続される主記憶装置と、前記主記憶
装置に前記バスを介して接続される少なくとも1つの周
辺制御装置と、前記周辺制御装置によって制御される少
なくとも1つの周辺装置と、前記バスに接続され前記バ
スの使用要求を調停するプライオリティ・コントロール
部とを備えた情報処理装置において、前記プライオリテ
ィ・コントロール部が少なくとも1つの第1レベルの前
記バス使用要求信号と少なくとも1つの第2レベルの前
記バス使用要求信号とを取り込む手段と、前記第1レベ
ルのバス使用要求信号をマスク信号によっマスクするマ
スク回路と、前記マスク回路を介して得られる信号の論
理和を演算する第1の演算回路と、前記第2レベルのバ
ス要求信号の論理和を演算する第2の演算回路と、前記
第2の演算回路の出力がアクティブの間に前記第1の演
算回路の出力がアクティブからインアクティブに変化す
る変化点を数えるカウンタと、ソフトウェアによって任
意に0以上の整数を設定することができるレジスタと、
前記レジスタ内に設定された値と前記カウンタの出力値
とを比較し前記マスク信号を生成する比較回路と、前記
マスク回路を介して得られる信号と前記第2レベルのバ
ス要求信号とを入力し同一レベル内ではラウンドロビン
に異なるレベル間では固定順位で調停を行い前記バスの
使用許可信号を生成する調停回路とを有することを特徴
とする情報処理装置。
[Claims] 1. Upon receiving a plurality of bus use request signals at the first level and a plurality of bus use request signals at the second level, arbitration is performed in a round robin manner within the same level, and between different levels, the above-mentioned bus use request signals are received. In the bus arbitration method that arbitrates to give priority to level 1,
Counting the number of times the first level bus use request signal before arbitration changes from active to inactive while the second level bus use request signal is active, and when the number of times exceeds a predetermined number of times; A bus arbitration method characterized in that the first level bus use request signal input to the bus is masked. 2. means for inputting the first level bus use request signal into the priority control section; means for inputting the second level bus use request signal; and means for inputting the input first level bus use request signal by a mask signal. a mask circuit for masking a signal; and a first circuit for ORing the first level bus use request signal obtained through the mask circuit.
and a second OR circuit that ORs the input second level bus use request signal, and the output of the first OR circuit is active while the output of the second OR circuit is active. a counter that counts the change point from to inactive; a register that can arbitrarily set a predetermined integer greater than or equal to 0; and a register that compares the value set in the register with the output value of the counter. a comparison circuit that generates a mask signal; a first level bus use request signal obtained through the mask circuit;
and an arbitration circuit that receives a bus use request signal of the same level, performs arbitration in a round robin manner within the same level, and gives priority to the first level between different levels, and generates a bus use permission signal. 2. The bus arbitration system according to claim 1. 3. at least one central processing unit, a main memory connected to the central processing unit via a bus, at least one peripheral control device connected to the main memory via the bus, and the peripheral An information processing device comprising at least one peripheral device controlled by a control device, and a priority control section connected to the bus and arbitrating requests for use of the bus, wherein the priority control section includes at least one first peripheral device. a mask circuit for masking the first level bus use request signal with a mask signal; a mask circuit for masking the first level bus use request signal with a mask signal; a first arithmetic circuit that computes the logical sum of the signals obtained through the second level bus request signal; a second arithmetic circuit that computes the logical sum of the second level bus request signal; a counter that counts the change point at which the output of the first arithmetic circuit changes from active to inactive; and a register that can be arbitrarily set to an integer greater than or equal to 0 by software;
A comparison circuit that compares a value set in the register with an output value of the counter to generate the mask signal, and a signal obtained through the mask circuit and the second level bus request signal are input. An information processing device comprising: an arbitration circuit that performs round-robin arbitration within the same level and a fixed order of arbitration between different levels to generate the bus use permission signal.
JP26137490A 1990-09-28 1990-09-28 Bus arbitrating system Pending JPH04137160A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26137490A JPH04137160A (en) 1990-09-28 1990-09-28 Bus arbitrating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26137490A JPH04137160A (en) 1990-09-28 1990-09-28 Bus arbitrating system

Publications (1)

Publication Number Publication Date
JPH04137160A true JPH04137160A (en) 1992-05-12

Family

ID=17360958

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26137490A Pending JPH04137160A (en) 1990-09-28 1990-09-28 Bus arbitrating system

Country Status (1)

Country Link
JP (1) JPH04137160A (en)

Similar Documents

Publication Publication Date Title
US4633394A (en) Distributed arbitration for multiple processors
US4779089A (en) Bus arbitration controller
JPH0250753A (en) Interrupt processing apparatus and method for computer
JPH02242462A (en) Bus controller
US5274785A (en) Round robin arbiter circuit apparatus
JPH0816874B2 (en) Method and apparatus for managing resource access by multiple users in a data processing system
JPH06161952A (en) Arbitration device of access request
JPH04137160A (en) Bus arbitrating system
JP2806672B2 (en) Direct memory access transfer controller
US5557756A (en) Chained arbitration
JP2504818B2 (en) Common memory control method in multiprocessor device
JPH03263158A (en) Common bus arbitration control system
JP2947195B2 (en) Interrupt mask control method
JPH10334042A (en) Bus arbitration control device method therefor, and recording medium recorded with bus arbitration control program
JPH0830549A (en) Bus control device
JP2837698B2 (en) Direct memory access controller
SU864288A1 (en) Device for servicing requests
JPS62229353A (en) Common bus arbitration system
JP3256975B2 (en) DMA transfer control device
JPH05204832A (en) Dma bus arbitration system
JPS58217071A (en) Information processing system
KR100264891B1 (en) Apparatus for arbitrationing access memory
JPH0293751A (en) Priority order determining system for right to use bus
JPH0488459A (en) Information processor
JPS6022248A (en) Interruption controller