JPH02178870A - Bus arbitration control system - Google Patents

Bus arbitration control system

Info

Publication number
JPH02178870A
JPH02178870A JP33525188A JP33525188A JPH02178870A JP H02178870 A JPH02178870 A JP H02178870A JP 33525188 A JP33525188 A JP 33525188A JP 33525188 A JP33525188 A JP 33525188A JP H02178870 A JPH02178870 A JP H02178870A
Authority
JP
Japan
Prior art keywords
bus
signal
master
circuit
input
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
JP33525188A
Other languages
Japanese (ja)
Inventor
Yasuo Hirota
廣田 泰生
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP33525188A priority Critical patent/JPH02178870A/en
Publication of JPH02178870A publication Critical patent/JPH02178870A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To improve operation efficiency by shortening a bus idle time, and determining the priority level of a master almost at the end of a bus cycle and operating devices according to the priority level. CONSTITUTION:A flip-flop 22 inputs a data response signal DR and a busy signal BUSY outputted by a delay means 24 to prepare the master bus after the timing between the busy signal BUSY and data response signal DR is adjusted with the output of the flip-flop 22. Therefore, the bus idle time is set to only a master switching time and suppressed short and the priority level is determined at the end of the bus cycle to allows the bus master which has the top priority at the end of a bus to use a next bus cycle. Consequently, the operation efficiency is improved.

Description

【発明の詳細な説明】 〔概要〕 バス上に複数のバス・マスタが存在するアービトレーシ
ョン回路のバス・アービトレーション制御方式に関し、 バスアイドル時間を短くするとともに、マスタの優先順
位の決定をできるだけバスサイクルの終り近くで行わせ
ることにより、優先順位の高いマスタから動作させるこ
とができるようにすることを目自勺とし、 複数のバス・マスタが接続されるシステムのアービトレ
ーション制御回路に、バス要求信号を入力する優先順位
設定手段と、該優先順位設定手段の出力を入力して許可
信号を出力するフリップフロップと、入力したビジィ信
号に時間遅れを与えてから前記フリップフロップのリセ
ット端子へ出力する遅延手段とを備え、バスサイクル終
了シーケンスに移行する機会を示すデータ応答信号を入
力して、その時点における最優先のマスタへ許可信号を
出力し、優先順位の高いマスタから動作させることにし
たものである。
[Detailed Description of the Invention] [Summary] Regarding a bus arbitration control method for an arbitration circuit in which a plurality of bus masters exist on a bus, the bus idle time is shortened and the priority order of the masters is determined as quickly as possible in the bus cycle. By performing this near the end, the bus request signal is input to the arbitration control circuit of a system in which multiple bus masters are connected, with the aim of allowing the master with a higher priority to operate first. a flip-flop which inputs the output of the priority setting means and outputs a permission signal; and a delay means which applies a time delay to the input busy signal and then outputs it to the reset terminal of the flip-flop. A data response signal indicating an opportunity to proceed to the bus cycle end sequence is input, and a permission signal is output to the master with the highest priority at that time, so that the master with the highest priority is operated first.

(産業上の利用分野 ) 本発明は、バス上に複数のバス・マスタが存在するアー
ビトレーション回路のバス・アービトレーション制御方
式に関する。
(Industrial Application Field) The present invention relates to a bus arbitration control method for an arbitration circuit in which a plurality of bus masters exist on a bus.

(従来の技術 ) 従来のアービトレーション回路では、第5図に示すよう
に、バス1にn+1個のバス・マスタ2、・・・、2と
、アービトレーション制御回路3と、記憶装置4と、入
出力装置5とからなり、各バス・マスタ2.・・・、2
はアービトレーション制御用の信号として、バス要求(
0〜n)信号(以下BRO〜n信号と略す)およびビジ
ィ(BUSY)信号をアービトレーション制御回路3側
へ出力し、逆にアービトレーション制御回路3側から許
可(0〜n)信号(以下BGO〜n信号と略す)を入力
し、また、データ処理用として、記憶装置4側あるいは
入出力装置5側へアドレス信号、コントロール信号等の
制御用信号Cを出力し、データDを互いに入出力し、記
憶装置4側あるいは入出力装置5側からデータ応答信号
DRを入力している。
(Prior Art) In a conventional arbitration circuit, as shown in FIG. 5, a bus 1 has n+1 bus masters 2,..., 2, an arbitration control circuit 3, a storage device 4, and device 5, each bus master 2. ..., 2
is a bus request (
0~n) signals (hereinafter abbreviated as BRO~n signals) and busy (BUSY) signals are output to the arbitration control circuit 3 side, and conversely, a permission (0~n) signal (hereinafter referred to as BGO~n signals) is output from the arbitration control circuit 3 side. Also, for data processing, control signals C such as address signals and control signals are output to the storage device 4 side or the input/output device 5 side, and data D is input and output to each other, A data response signal DR is input from the device 4 side or the input/output device 5 side.

アービトレーション制御回路3は、第6図に示すように
、各BRO〜n信号を入力するBR入力信号線6とBG
出力信号線7との間に優先順位設定回路8と2つのFF
(ソリツブフロップ)9a、9bを、BR入力信号線6
側からBG出力信号線7側へ順に直列に接続し、各FF
9a。
As shown in FIG. 6, the arbitration control circuit 3 has a BR input signal line 6 and a BG
A priority setting circuit 8 and two FFs are connected to the output signal line 7.
(Solid flop) 9a, 9b, BR input signal line 6
Connect in series from the BG output signal line 7 side to the BG output signal line 7 side, and connect each FF
9a.

9bのR入力端にはBUSY入力信号線10を接続し、
FF9aのCK入力端にはセットアツプ保障手段11の
出力側を接続し、FF9bのCK入力端にはセットリン
グ保障手段12の出力側を接続し、セットアツプ保障手
段11の出力側をセットリング保障手段12の入力端に
接続し、さらにセットアツプ保障手段11の入力側には
BR入力信号線6の各々から信号を入力するNOR回路
13と、NOR回路13の出力とBUSY入力信号を入
力するNAND回路14とを設けて、NAND回路14
の出力側をセットアツプ保障手段11の入力端に接続し
て形成している。
Connect the BUSY input signal line 10 to the R input end of 9b,
The output side of the set-up guarantee means 11 is connected to the CK input terminal of the FF 9a, the output side of the settling guarantee means 12 is connected to the CK input terminal of the FF 9b, and the output side of the set-up guarantee means 11 is connected to the set-up guarantee means 11. A NOR circuit 13 connected to the input end of the means 12 and further connected to the input side of the setup guarantee means 11 receives signals from each of the BR input signal lines 6, and a NAND circuit that receives the output of the NOR circuit 13 and the BUSY input signal. A NAND circuit 14 is provided with a circuit 14.
The output side of the set-up guarantee means 11 is connected to the input end of the set-up guarantee means 11.

優先順位設定回路8は、BR入力信号線6のうちBRO
信号入力信号線6aをフリップフロップ9aのD入力端
の−っに接続し、その他のBRI信号〜BRn信号を伝
送するBRi (i=1〜n)信号入力信号線6b、6
c、ad、 ・・・は、フリップフロップ9aのD入力
端に、出力側を接続するNANDゲート15a、15b
、15c。
The priority setting circuit 8 selects the BRO input signal line 6 from the BR input signal line 6.
BRi (i=1 to n) signal input signal lines 6b and 6 connect the signal input signal line 6a to -- of the D input terminal of the flip-flop 9a, and transmit other BRI signals to BRn signals.
c, ad, . . . are NAND gates 15a, 15b whose output sides are connected to the D input terminal of the flip-flop 9a.
, 15c.

・・・を介して接続している。このNANDゲート15
a、15b、15c、−−−は、例えば、NANDゲー
ト15aの入力端の一つにBRI信号入力信号線6bを
接続し、他の入力端にNOT回路16aを介したBRO
信号入力信号線6aの分岐線を接続し、NANDゲート
15bの入力端の一つにBR2信号入力信号線6cを接
続し、他の入力端にはNOT回路16bを介したBRI
信号入力信号線6bの分岐線と、NOT回路16aの出
力側の分岐線をそれぞれ接続し、NANDゲート15c
の入力端の一つにBR3信号入力信号線6dを接続し、
他の入力端にはNOT回路16cを介したBR2信号入
力信号線6Cの分岐線と、NOT回路16aの出力側の
分岐線およびNOT回路16bの出力側の分岐線をそれ
ぞれ接続し、・・・以後のすべてのNANDゲート15
x(x=d〜n)に対して入力端の一つにはBR(i+
1)信号入力信号線6y(y=e−o)を接続し、その
他の入力端にはすべてのNOT回路16x(x=a〜n
)の出力側の分岐線をそれぞれ接続している。
It is connected via... This NAND gate 15
a, 15b, 15c, ---, for example, connect the BRI signal input signal line 6b to one of the input terminals of the NAND gate 15a, and connect the BRO signal line 6b to the other input terminal via the NOT circuit 16a.
The branch line of the signal input signal line 6a is connected, the BR2 signal input signal line 6c is connected to one of the input terminals of the NAND gate 15b, and the other input terminal is connected to the BRI via the NOT circuit 16b.
A branch line of the signal input signal line 6b and a branch line on the output side of the NOT circuit 16a are connected respectively, and a NAND gate 15c is connected.
Connect the BR3 signal input signal line 6d to one of the input terminals of
A branch line of the BR2 signal input signal line 6C via the NOT circuit 16c, a branch line on the output side of the NOT circuit 16a, and a branch line on the output side of the NOT circuit 16b are connected to the other input terminal, respectively. All subsequent NAND gates 15
One of the input terminals for x (x=d~n) has BR(i+
1) Connect the signal input signal line 6y (y=e-o), and connect all the NOT circuits 16x (x=a to n) to the other input terminals.
) are connected to the output side branch lines.

このアービトレーション回路は、バスの優先順位の決定
がBUSY信号がH(ハイ)になった後か、またはL(
ロー)になった後に行われる。
This arbitration circuit determines the priority of the bus after the BUSY signal becomes H (high) or after the BUSY signal becomes H (high).
(low).

BUSY信号がHになった後にバスの優先順位が決定さ
れる場合は、第7図に示すように、バス・マスタ2(の
マスタ0)の動作が終了して次のバス・マスタ2(のマ
スタ1)の動作が開始されるまでのバスアイドル時間T
は、BUSY信号がHになってからバス・マスタ2(の
マスタ1)への許可1信号(BGI)が出されるまでの
優先順位決定時間t1と、BGIが出されてからBUS
Y信号がLになりバス・マスタ2(のマスタ1)が動作
を開始するまでのマスタ切替時間t2との和になる。
If the priority of the bus is determined after the BUSY signal becomes H, as shown in Figure 7, the operation of bus master 2 (master 0) is completed and the next bus master 2 (master 0) is started. Bus idle time T until master 1) starts operating
is the priority determination time t1 from when the BUSY signal becomes H until the permission 1 signal (BGI) is issued to bus master 2 (master 1), and from when BGI is issued to the BUS
This is the sum of the master switching time t2 until the Y signal becomes L and bus master 2 (master 1) starts operating.

BUSY信号かLになった後にバスの優先順位が決定さ
れる場合は、第8図に示すように、BUSY信号かLに
なってからバス・マスタ2(のマスタn)への許可n信
号(BGn)が出されるまでの優先順位決定時間t1が
ハス1の使用中になり、バスアイドル時間Tがバス・マ
スタ2(のマスタO)からバス・マスタ2(のマスタn
)へ切り変わるマスタの準備時間t3たけになって、B
USY信号がHになった後にバスの優先順位が決定され
る場合よりも、バスの使用効率が高くなる。
If the priority of the bus is determined after the BUSY signal goes low, as shown in FIG. The priority determination time t1 until bus master 2 (BGn) is issued is when bus 1 is in use, and the bus idle time T is from bus master 2 (master O) to bus master 2 (master n
), when the master preparation time t3 has passed, B
The bus usage efficiency is higher than when the bus priority is determined after the USY signal becomes H.

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

上記従来のアービトレーション回路では、第7図に示す
ようなりUSY信号がHになった後にバスの優先順位が
決定される場合は、バス・マスタ2の切替に、優先順位
決定時間とマスタ切替時間が加算された時間となって、
多くの時間が必要となり、動作効率が悪くなる。また、
第8図に示すようなりUSY信号がLになった後にバス
の優先順位が決定される場合は、マスタの準備時間t3
だけで、優先順位決定時間t1に影響されなくなり、比
較的に動作効率が良くなるが、非同期データ転送におい
ては、記憶装置4のアクセスが比較的短時間に行われる
とはいえ、入出力装置5のアクセス時間は割合に長時間
を要し、従って例えば第3図のように、マスタOが動作
中にマスタ1のバス要求(BRI)信号を出しても、既
にマスタnのバス要求(BRn)信号が出されていた後
では、マスタ1のバス要求(BRI)信号はマスタnの
バス要求(BRn)信号よりも優先順位が高いにもかか
わらず、保留となり、マスタnの動作が終了するまで待
たなければならないために、動作速度の遅い装置の影響
を受けて動作効率を上げられない、という問題点があっ
た。
In the conventional arbitration circuit described above, when the bus priority is determined after the USY signal becomes H as shown in FIG. 7, the priority determination time and master switching time are The added time becomes
This requires a lot of time and reduces operating efficiency. Also,
If the priority of the bus is determined after the USY signal becomes L as shown in FIG. 8, the master preparation time t3
However, in asynchronous data transfer, although the storage device 4 is accessed in a relatively short time, the input/output device 5 is not affected by the priority determination time t1. Therefore, as shown in FIG. 3, for example, even if master O issues a bus request (BRI) signal from master 1 while it is operating, the bus request (BRI) signal from master N has already been received. After the signal has been issued, the bus request (BRI) signal of master 1 is held pending until the operation of master n is completed, even though it has a higher priority than the bus request (BRn) signal of master n. Since the system has to wait, there is a problem in that it is not possible to improve the operating efficiency due to the influence of devices with slow operating speeds.

本発明は、上記問題点に鑑みて成されたものてあり、そ
の解決を目的として設定される技術的課題は、バスアイ
ドル時間を短くするとともに、マスタの優先順位の決定
をできるたけバスサイクルの終り近くで行わせることに
より、優先順位の高い装置から動作させることかできる
ようにした、バス・アービトレーション制御方式を提供
することにある。
The present invention has been made in view of the above-mentioned problems, and the technical problem set to solve the problem is to shorten the bus idle time and to determine the priority of the master as much as possible in the bus cycle. An object of the present invention is to provide a bus arbitration control method that allows devices with a higher priority to operate first by causing the bus arbitration to occur near the end.

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

本発明は、上記課題を解決するための具体的な手段とし
て、バス・アービトレーション制御方式を構成するにあ
たり、第1図に示すように、複数のバス・マスタが接続
されるシステムのアービトレーション制御回路20に、
バス要求信号を入力する優先順位設定手段21と、該優
先順位設定手段2′1の出力を入力して許可信号を出力
するフリップフロップ22と、入力したビジィ信号に時
間遅れを与えてから前記フリップフロップ22のリセッ
ト端子へ出力する遅延手段24とを備え、バスサイクル
終了シーケンスに移行する機会を示すデータ応答信号を
前記フリップフロップ22に入力して、その時点におけ
る最優先のマスタへ許可信号を出力し、優先順位の高い
マスタから動作させることにしたものである。
As a specific means for solving the above problems, the present invention provides an arbitration control circuit 20 for a system in which a plurality of bus masters are connected, as shown in FIG. To,
A priority setting means 21 inputs a bus request signal, a flip-flop 22 inputs the output of the priority setting means 2'1 and outputs a permission signal, and a flip-flop 22 inputs the output of the priority setting means 2'1 and outputs a permission signal. The flip-flop 22 is provided with a delay means 24 for outputting to the reset terminal of the flip-flop 22, and inputs a data response signal indicating an opportunity to proceed to the bus cycle end sequence to the flip-flop 22, and outputs a permission signal to the highest priority master at that time. However, it was decided that the master with the highest priority would be operated first.

〔作用〕[Effect]

本発明は上記構成により、常に、優先順位の決定が、バ
スサイクルの終了直前に要求を出している装置の中で最
優先のマスタが選択されるため、バスアイドル時間が装
置の切替時間のみとなって短くなり、しかも、動作速度
が高く使用頻度の多い装置から動作させることができて
、動作効率を高めることがてきるようになる。
With the above configuration, the present invention always determines the priority order by selecting the master with the highest priority among the devices issuing the request immediately before the end of the bus cycle, so that the bus idle time is limited to the switching time of the devices. Moreover, since the operating speed is high and frequently used devices can be operated, the operating efficiency can be improved.

〔実施例 〕〔Example 〕

以下、本発明の実施例として、アービトレーション制御
回路の遅延手段を遅延時間の設定に必要な個数のNOT
回路を直列に接続した回路構成にした場合について、図
示説明する。
Hereinafter, as an embodiment of the present invention, the delay means of the arbitration control circuit will be set to the number of NOT units necessary for setting the delay time.
A circuit configuration in which circuits are connected in series will be illustrated and explained.

第2図に示すように、アービトレーション制御回路30
には、バス要求信号を入力する優先順位設定回路31と
、この優先順位設定回路31の出力を入力して許可信号
を出力するソリツブフロップ回路32と、入力したデー
タ応答信号にセットアツプ保障あるいはセットリング保
障する時間遅れを与えてからフリップフロップ回路32
のクロック端子へ出力する保障回路33と、入力したビ
ジィ(BUSY)信号にバスサイクルに必要な時間遅れ
を与えてからソリツブフロップ回路32のリセット端子
へ出力する遅延手段としてのパルス発生回路34とを備
える。
As shown in FIG. 2, arbitration control circuit 30
includes a priority setting circuit 31 that inputs a bus request signal, a solid flop circuit 32 that inputs the output of this priority setting circuit 31 and outputs a permission signal, and a set-up guarantee or set-up circuit that inputs the input data response signal. After giving a time delay to ensure settling, the flip-flop circuit 32
a guarantee circuit 33 that outputs to the clock terminal of the solid flop circuit 32; and a pulse generation circuit 34 as a delay means that gives the input busy signal a time delay necessary for the bus cycle and then outputs it to the reset terminal of the solid flop circuit 32. Equipped with

優先順位設定回路31は、BR入力信号線35のうちB
RO信号入力信号線35aをソリツブフロップ回路32
のD入力端の一つに接続し、その他のBRI信号〜B 
Rn信号を伝送するBRi(i=1〜n)信号入力信号
線35b。
The priority setting circuit 31 selects B of the BR input signal lines 35.
The RO signal input signal line 35a is connected to the solid flop circuit 32.
Connect to one of the D input terminals of the BRI signal ~B
BRi (i=1 to n) signal input signal line 35b that transmits the Rn signal.

35c、35d、 ・−は、NANDゲート36a。35c, 35d, . . . are NAND gates 36a.

36b、36c、・・・の入力端の一つに接続させる。36b, 36c, . . .

NANDゲート36a、36b、36c、 ・・・は出
力側をソリツブフロップ回路32のD入力端の一つにそ
れぞれ接続する。NANDゲート36a、36b、36
c、・・・の他の入力端は、例えば、NANDゲート3
6aでは、その入力端の一つにBRI信号入力信号線3
5bを接続するとともに、他の入力端にNOT回路37
aを介したBRO信号入力信号線35aの分岐線を接続
し、NANDゲート36bでは、その入力端の一つにB
R2信号入力信号線35cを接続するとともに、他の入
力端にはNOT回路37bを介したBRI信号入力信号
線35bの分岐線と、NOT回路37aの出力側の分岐
線をそれぞれ接続し、NANDゲート36cでは、その
入力端の一つにBR3信号入力信号線35dを接続する
とともに、他の入力端にはNOT回路37cを介したB
R2信号入力信号線35cの分岐線と、NOT回路37
aの出力側の分岐線およびNOT回路37bの出力側の
分岐線をそれぞれ接続し、・・・と、以後のすべてのN
ANDゲート36x (xd〜n)に対しても、その入
力端の一つにはBR(i+1)信号入力信号線35y 
(y=e〜0)を接続し、その他の入力端にはすべての
NOT回路37x (x=a〜n)の出力側の分岐線を
それぞれ接続する。
The output sides of the NAND gates 36a, 36b, 36c, . NAND gates 36a, 36b, 36
The other input terminals of c, . . . are, for example, NAND gates 3
6a, the BRI signal input signal line 3 is connected to one of its input terminals.
5b and connect the NOT circuit 37 to the other input terminal.
A branch line of the BRO signal input signal line 35a is connected through the NAND gate 36b, and one of the input terminals of the NAND gate 36b is
While connecting the R2 signal input signal line 35c, the branch line of the BRI signal input signal line 35b via the NOT circuit 37b and the branch line on the output side of the NOT circuit 37a are respectively connected to the other input terminal, and a NAND gate is connected. 36c, one of its input terminals is connected to the BR3 signal input signal line 35d, and the other input terminal is connected to the BR3 signal input signal line 35d via the NOT circuit 37c.
Branch line of R2 signal input signal line 35c and NOT circuit 37
Connect the branch line on the output side of a and the branch line on the output side of NOT circuit 37b, and so on, and all subsequent N
The AND gate 36x (xd~n) also has a BR(i+1) signal input signal line 35y at one of its input terminals.
(y=e~0) are connected, and the output side branch lines of all NOT circuits 37x (x=a~n) are connected to the other input terminals, respectively.

フリップフロップ回路♀2は、2つのFF(フリップフ
ロップ)32a、32bを設けて、FF32aの各Q出
力端とFF32bのD入力端の対応する位置の入力端子
とをそれぞれ接続するとともに、FF32bの各Q出力
端には、FF32aの各り入力端の位置に対応させてB
G出力信号線38の各BGi (i=o〜n)信号出力
信号線38a、38b、35c、35d、・・・をそれ
ぞれ接続する。
The flip-flop circuit ♀2 includes two FFs (flip-flops) 32a and 32b, and connects each Q output terminal of the FF 32a and the input terminal at the corresponding position of the D input terminal of the FF 32b, and The Q output terminal corresponds to the position of each input terminal of the FF32a, and
The respective BGi (i=on to n) signal output signal lines 38a, 38b, 35c, 35d, . . . of the G output signal line 38 are connected, respectively.

保障回路33は、保障に必要な遅延時間を与えるために
必要個数のN07回路を直列に接続して形成した、セッ
トアツプ保障回路33aとセットリング保障回路33b
を設ける。セットアツプ保障回路33aは、その入力端
にデータ応答信号線39を接続するとともに、出力側を
FF32aのクロック(CK)入力端に接続する。セッ
トリング保障回路33bは、その入力端にセットアツプ
保障回路33aの出力側を接続するとともに、出力側を
FF32bのクロック(CK)入力端に接続する。
The guarantee circuit 33 includes a set-up guarantee circuit 33a and a settling guarantee circuit 33b, which are formed by connecting a necessary number of N07 circuits in series to provide the delay time necessary for guarantee.
will be established. The set-up guarantee circuit 33a has its input terminal connected to the data response signal line 39, and its output side connected to the clock (CK) input terminal of the FF 32a. The settling guarantee circuit 33b has its input terminal connected to the output side of the setup guarantee circuit 33a, and its output side connected to the clock (CK) input terminal of the FF 32b.

パルス発生回路34は、BUSY信号を入力するNOT
回路34aと、このNOT回路34aの出力を直接に入
力するとともに、遅延回路34bを介して入力するNA
ND回路34cと、必要な遅延時間を与えるために必要
個数のN07回路を直列に接続して形成した遅延回路3
4bと、遅延回路34bの出力を反転させて、ビジィ信
号の立下り時にクリアパルス作成するNOT回路34d
を設ける。NOT回路34aは、その入力端にBUSY
信号線40を接続し、出力側をNAND回路34cの一
つの入力端へ直接に接続するとともに、分岐して遅延回
路34bの入力端に接続する。遅延回路34bの出力側
はNAND回路34cの他の入力端へ接続する。NAN
D回路34cの出力側はFF32aのリセット(R)入
力端とFF32bのリセット(R)入力端にそれぞれ接
続する。
The pulse generation circuit 34 has a NOT input to which the BUSY signal is input.
A circuit 34a and an NA to which the output of this NOT circuit 34a is directly input and also input via a delay circuit 34b.
A delay circuit 3 formed by connecting an ND circuit 34c and the necessary number of N07 circuits in series to provide the necessary delay time.
4b, and a NOT circuit 34d that inverts the output of the delay circuit 34b and creates a clear pulse at the falling edge of the busy signal.
will be established. The NOT circuit 34a has a BUSY signal at its input terminal.
The signal line 40 is connected, and the output side is directly connected to one input terminal of the NAND circuit 34c, and is branched and connected to the input terminal of the delay circuit 34b. The output side of the delay circuit 34b is connected to the other input terminal of the NAND circuit 34c. NAN
The output side of the D circuit 34c is connected to the reset (R) input terminal of the FF 32a and the reset (R) input terminal of the FF 32b, respectively.

このようなアービトレーション制御回路30を用いたア
ービトレーション回路41では、第3図に示すように、
バス42にn+1個のバス・マスタ2.・・・、2と、
アービトレーション制御回路30と、記憶装置4と、入
出力装置5とからなる。各バス・マスタ2.・・・、2
はアービトレーション制御用の信号として、バス要求(
BRO〜BRn)信号およびBUSY信号をアービトレ
ーション制御回路30側へ出力し、逆にアービトレーシ
ョン制御回路30側から許可(BGO〜BGn)信号を
入力する。また、各バス・マスタ2、・・・、2はデー
タ処理用として、記憶装置4側あるいは入出力装置5側
ヘアドレス信号、コントロール信号等の制御用信号Cを
出力し、データDを互いに入出力し、記憶装置4側ある
いは入出力装置5側からデータ応答信号DRを入力する
。さらに、アービトレーション制御回路30は、記憶装
置4側あるいは入出力装置5側から出力されるデータ応
答信号DRを入力する。
In the arbitration circuit 41 using such an arbitration control circuit 30, as shown in FIG.
Bus 42 has n+1 bus masters 2. ..., 2, and
It consists of an arbitration control circuit 30, a storage device 4, and an input/output device 5. Each bus master 2. ..., 2
is a bus request (
BRO to BRn) signals and BUSY signals are output to the arbitration control circuit 30 side, and conversely, permission (BGO to BGn) signals are input from the arbitration control circuit 30 side. Each bus master 2, ..., 2 outputs control signals C such as address signals and control signals to the storage device 4 side or input/output device 5 side for data processing, and inputs data D to each other. A data response signal DR is input from the storage device 4 side or the input/output device 5 side. Further, the arbitration control circuit 30 receives a data response signal DR output from the storage device 4 side or the input/output device 5 side.

このように構成した実施例では、第4図に示すように、
バス・マスタ(マスタO)2がアドレス信号、コントロ
ール信号、またはデータを入出力している時に、記憶装
置4側あるいは入出力装置5側からデータ応答信号DR
が出力されると、アービトレーション制御回路30では
、このデータ応答信号DRを入力した時点においてバス
要求BR(1〜n)信号を出しているバス・マスタ(マ
スタ1〜n)2の中から、最優先のバス・マスタ2(図
中ではマスタ1)を選択し許可信号を出力する。BUS
Y信号がオフになってからマスタ切替(マスタの準備)
を行い、切替終了後に選択されたバス・マスタ2(図中
ではマスタ1)を動作させる。
In the embodiment configured in this way, as shown in FIG.
When the bus master (master O) 2 is inputting and outputting address signals, control signals, or data, a data response signal DR is sent from the storage device 4 side or the input/output device 5 side.
is output, the arbitration control circuit 30 selects the bus master (masters 1 to n) 2 that is issuing the bus request BR (1 to n) signals at the time of inputting this data response signal DR. The priority bus master 2 (master 1 in the figure) is selected and a permission signal is output. BUS
Switch to master after Y signal turns off (master preparation)
After the switching is completed, the selected bus master 2 (master 1 in the figure) is operated.

これにより実施例では、バスサイクルの終了間際に優先
順位の決定が行われ、しかも優先順位決定時間とバス・
マスタの切替に必要な準備時間とが重なることなく経過
して、バスアイドル時間をマスタ切替時間だけにするこ
とができ、短時間に抑えることができるとともに、優先
順位の決定がバスサイクルの終了時に行われて、バス終
了時の最も優先順位の高いバス・マスタ2が次のバスサ
イクルを使用することができて、動作効率を向上させる
ことができる。
As a result, in the embodiment, the priority is determined just before the end of the bus cycle, and the priority determination time and bus
The preparation time required for master switching elapses without overlapping, making it possible to reduce the bus idle time to just the master switching time, keeping it short, and determining priorities at the end of the bus cycle. If this is done, the bus master 2 with the highest priority at the time of bus termination can use the next bus cycle, improving operational efficiency.

(発明の効果 ) 以上のように本発明では、データ応答信号と遅延手段2
4により出力されたビジィ信号とを入力したフリップフ
ロップ22からの出力により、ビジィ信号とデータ応答
信号とのタイミングを調整させたバス・マスタの準備を
させることができ、バスアイドル時間をマスタ切替時間
だけにして短時間に抑えることができるとともに、優先
順位の決定をバスサイクルの終了時に行わせて、バス終
了時の最も優先順位の高いバス・マスタに、次のバスサ
イクルを使用させることができ、動作効率を向上させる
ことができる。
(Effects of the Invention) As described above, in the present invention, the data response signal and the delay means 2
The bus master can be prepared by adjusting the timing of the busy signal and the data response signal by the output from the flip-flop 22 which receives the busy signal outputted by 4, and the bus idle time is changed to the master switching time. In addition, priority determination can be made at the end of a bus cycle, allowing the bus master with the highest priority at the end of the bus to use the next bus cycle. , operational efficiency can be improved.

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

第1図は、本発明によるアービトレーション制御回路を
示す構成図、 第2図は、実施例のアービトレーション制御回路を示す
構成図、 第3図は、本発明によるアービトレーション回路を示す
構成図、 第4図は、本発明によるアービトレーション回路図にお
けるタイムチャート、 第5図は、従来のアービトレーション回路を示す構成図
、 第6図は、従来のアービトレーション制御回路を示す構
成図、 第7図は、従来のアービトレーション回路における13
UsY信号がHの後にバス優先順位を決める場合のタイ
ムチャート、 第8図は、従来のアービトレーション回路におけるBU
SY信号がLの後にバス優先順位を決める場合のタイム
チャート。 20・・・アービトレーション制御回路21・・・優先
順位設定手段 22・・・フリップフロップ(FF) 23・・・保障手段 24・・・遅延手段 BRO,BRI〜BRn・・・バス要求信号BGO9B
G1〜BGn・・・許可信号BUSY・・・ビジィ信号 DR・・・データ応答信号 2特許出願人 富士通株式会社
1 is a block diagram showing an arbitration control circuit according to the present invention; FIG. 2 is a block diagram showing an arbitration control circuit according to an embodiment; FIG. 3 is a block diagram showing an arbitration circuit according to the present invention; is a time chart in the arbitration circuit diagram according to the present invention; FIG. 5 is a block diagram showing a conventional arbitration circuit; FIG. 6 is a block diagram showing a conventional arbitration control circuit; FIG. 7 is a block diagram showing a conventional arbitration circuit. 13 in
Figure 8 is a time chart when deciding the bus priority after the UsY signal becomes H.
A time chart when determining the bus priority order after the SY signal becomes L. 20... Arbitration control circuit 21... Priority setting means 22... Flip-flop (FF) 23... Guarantee means 24... Delay means BRO, BRI to BRn... Bus request signal BGO9B
G1 to BGn...Permission signal BUSY...Busy signal DR...Data response signal 2 Patent applicant Fujitsu Limited

Claims (1)

【特許請求の範囲】 複数のバス・マスタが接続されるシステムのアービトレ
ーション制御回路(20)に、 バス要求信号を入力する優先順位設定手段 (21)と、 該優先順位設定手段(21)の出力を入力して許可信号
を出力するフリップフロップ(22)と、 入力したビジィ信号に時間遅れを与えてから前記フリッ
プフロップ(22)のリセット端子へ出力する遅延手段
(24)とを備え、 バスサイクル終了シーケンスに移行する機会を示すデー
タ応答信号を前記フリップフロップ(22)に入力して
、その時点における最優先のマスタへ許可信号を出力し
、優先順位の高いマスタから動作させることにしたこと
を特徴とするバス・アービトレーション制御方式。
[Claims] Priority setting means (21) for inputting a bus request signal to an arbitration control circuit (20) of a system to which a plurality of bus masters are connected; and an output of the priority setting means (21). a flip-flop (22) that inputs a signal and outputs a permission signal; and a delay means (24) that delays the input busy signal and outputs it to the reset terminal of the flip-flop (22). A data response signal indicating an opportunity to move to the end sequence is input to the flip-flop (22), and a permission signal is output to the master with the highest priority at that time, indicating that the master with the highest priority is to be operated first. Characteristic bus arbitration control method.
JP33525188A 1988-12-29 1988-12-29 Bus arbitration control system Pending JPH02178870A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33525188A JPH02178870A (en) 1988-12-29 1988-12-29 Bus arbitration control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33525188A JPH02178870A (en) 1988-12-29 1988-12-29 Bus arbitration control system

Publications (1)

Publication Number Publication Date
JPH02178870A true JPH02178870A (en) 1990-07-11

Family

ID=18286431

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33525188A Pending JPH02178870A (en) 1988-12-29 1988-12-29 Bus arbitration control system

Country Status (1)

Country Link
JP (1) JPH02178870A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009543268A (en) * 2006-06-29 2009-12-03 モシス・インコーポレイテッド Dual port SRAM memory using single port memory cells

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009543268A (en) * 2006-06-29 2009-12-03 モシス・インコーポレイテッド Dual port SRAM memory using single port memory cells

Similar Documents

Publication Publication Date Title
CA2050129C (en) Dynamic bus arbitration with grant sharing each cycle
US5960458A (en) Shared memory system
US20050289268A1 (en) Internal bus system
US5119480A (en) Bus master interface circuit with transparent preemption of a data transfer operation
US5265216A (en) High performance asynchronous bus interface
JPH07105146A (en) Common memory device
US7590146B2 (en) Information processing unit
EP0430128A2 (en) Circuit for testability
US8799699B2 (en) Data processing system
US5627968A (en) Data transfer apparatus which allows data to be transferred between data devices without accessing a shared memory
JPH02178870A (en) Bus arbitration control system
CN106326172B (en) A kind of APB bus slave Interface Expanding circuit and its application method
US5446847A (en) Programmable system bus priority network
JPS5930292B2 (en) Souchikanketsugohoshiki
KR910000184B1 (en) A control system and a method for arbitrating high-speed access of ram among micro processors
JPS60116059A (en) Bus controlling system
US20010005870A1 (en) External bus control system
JP3266610B2 (en) DMA transfer method
JPH02211571A (en) Information processor
JPS6117030B2 (en)
JP2645462B2 (en) Data processing system
KR930005478Y1 (en) Bus request circuit of daisy-chain
EP1380960A1 (en) Memory access from different clock domains
JPH03214275A (en) Semiconductor integrated circuit
JPS63271561A (en) Dma control circuit