JPH11143825A - Bus arbitration mechanism - Google Patents

Bus arbitration mechanism

Info

Publication number
JPH11143825A
JPH11143825A JP30751497A JP30751497A JPH11143825A JP H11143825 A JPH11143825 A JP H11143825A JP 30751497 A JP30751497 A JP 30751497A JP 30751497 A JP30751497 A JP 30751497A JP H11143825 A JPH11143825 A JP H11143825A
Authority
JP
Japan
Prior art keywords
bus
processor
arbiter
permission
bus use
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
JP30751497A
Other languages
Japanese (ja)
Inventor
Sachiko Nakayama
祥子 中山
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP30751497A priority Critical patent/JPH11143825A/en
Publication of JPH11143825A publication Critical patent/JPH11143825A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To arbitrate the using right of a bus without introducing system down. SOLUTION: When a processor 12 outputs 'bus use request' to a bus arbiter 20 by a signal br12 , the bus arbiter 20 shows 'bus use permission' by a signal bg to give the processor 12 by way of a processor 11. When the processor 12 cancels the 'bus use request', 'bus use permission' which is not received by any processor is left outputted but a conversion means 21 inputs this 'bus use permission' and validates bus under-use information BBSY to inform the bus arbiter of 'a bus is under use'. The bus arbiter 20 receiving 'a bus is under use' cancels 'bus use permission'.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、コンピュータシス
テム等で、複数の処理器が共有するバスの使用権を調停
するバス調停機構に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bus arbitration mechanism for arbitrating the right to use a bus shared by a plurality of processors in a computer system or the like.

【0002】[0002]

【従来の技術】図2は、従来のバス調停機構を示す構成
図である。このバス調停機構は、バスBの使用権を調停
するためのバスアービタ1を備えている。コンピュータ
システム等では、バスBに複数の処理器2,3,4が接
続されている。これらの各処理器2〜4が、信号線L
1,L2,L3によってバスアービタ1に接続されてい
る。各処理器2〜4は、他の処理器2〜4または図示し
ないインタフェース部等から、バスBを介してデータを
入出力する。即ち、バスBを共有する構成になってい
る。ところが、バスBは、同時に1つの処理器にしかデ
ータを入出力できないので、バスBの使用権を調整する
手段が必要になる。バスアービタ1は、このバスBの使
用権を調整するために、バス調整機構に設けられてい
る。信号線L1は、各処理器2〜4からそれそれ出力さ
れるバス使用要求信号br2 ,br3 ,br4 をバスア
ービタ1に伝達するものであり、該信号線L1には、処
理器2〜4がワイアードORで接続されている。信号線
L2は、各処理器2〜4からそれそれ出力されるバス使
用中情報bbsy2 ,bbsy3 ,bbsy4 をバスア
ービタ1に伝達するものであり、該信号線L2には、処
理器2〜4がワイアードORで接続されている。信号線
L3は、バスアービタ1から出力するバス使用許可信号
bg1 を処理器3〜4に伝達するものであり、該信号線
L3に対して、各処理器2〜4が順にデイジーチェイン
(Daisy Chain )接続されている。
2. Description of the Related Art FIG. 2 is a block diagram showing a conventional bus arbitration mechanism. This bus arbitration mechanism includes a bus arbiter 1 for arbitrating the right to use the bus B. In a computer system or the like, a plurality of processors 2, 3, and 4 are connected to a bus B. Each of these processors 2 to 4 is a signal line L
1, L2 and L3 are connected to the bus arbiter 1. Each of the processors 2 to 4 inputs and outputs data from the other processors 2 to 4 or an interface unit (not shown) via the bus B. That is, the configuration is such that the bus B is shared. However, since the bus B can input / output data to only one processor at a time, means for adjusting the right to use the bus B is required. The bus arbiter 1 is provided in a bus adjusting mechanism for adjusting the right to use the bus B. Signal line L1, the bus request signals br 2, br 3, br 4 it is then output from the processor 2-4 is intended to transmit to the bus arbiter 1, the signal line L1, processor 2 4 are connected by a wired OR. The signal line L2 transmits bus busy information bbsy 2 , bbsy 3 , bbsy 4 output from each of the processors 2 to 4 to the bus arbiter 1. The signal line L2 is connected to the processors 2 to 4. 4 are connected by a wired OR. Signal line L3 is for transmitting a bus grant signal bg 1 output from the bus arbiter 1 to processor 3-4 for the signal lines L3, the processor 2-4 in turn daisy chain (Daisy Chain )It is connected.

【0003】図3は、図2の動作を波形で示すタイムチ
ャートであり、この図3を参照しつつ、図2のバス調停
の動作を説明する。各処理器2〜4は、バスを使用する
必要が発生したときに、バス使用要求信号br2 ,br
3 ,br4 を有効なそれぞれ“L”レベルに設定する。
“L”レベルのバス使用要求信号br2 ,br3 ,br
4 は、「バス使用要求」をそれぞれ示し、信号線L1を
介してバスアービタ1に転送される。例えば図3の時刻
t1ように、2つの処理器3及び4が、同時に「バス使
用要求」をバスアービタ1に転送すると、それを入力し
たバスアービタ1は、バス使用許可信号bg1 を有効な
“L”レベルに設定する。これにより、「バス使用許
可」が出力されることになる。「バス使用許可」は、最
初に処理器2に入力されるが、処理器2は「バス使用要
求」を出力していないので「バス使用許可」を受取ら
ず、該「バス使用許可」をそのまま処理器3へ転送す
る。処理器3は、処理器2から転送された「バス使用許
可」を受取ってバスBを占有すると共に、時刻t2で、
バス使用中情報bbsy3 を有効な“L”レベルに設定
して信号線L2を介してバスアービタ1に転送する。即
ち、有効なバス使用中情報bbsy3 が、バスアービタ
1に入力される。各バス使用中情報bbsy2 ,bbs
3 ,bbsy4 は、有効な状態ではバスBが使用中で
あること(「バス使用中」)を示し、無効な状態では該
バスBが使用中でないことをそれぞれ示す信号である。
処理器3は、「バス使用中」を出力するのと平行して、
バス使用要求信号br3 を“H”レベルに設定して「バ
ス使用要求」を取下げる。
FIG. 3 is a time chart showing the operation of FIG. 2 by waveforms. The operation of the bus arbitration of FIG. 2 will be described with reference to FIG. Each of the processors 2 to 4 sends a bus use request signal br 2 , br when it becomes necessary to use the bus.
3 and br 4 are respectively set to valid “L” levels.
“L” level bus use request signals br 2 , br 3 , br
Numeral 4 indicates a "bus use request", which is transferred to the bus arbiter 1 via the signal line L1. For example, when the two processors 3 and 4 simultaneously transfer the "bus use request" to the bus arbiter 1 as shown at time t1 in FIG. 3, the bus arbiter 1 that has input the "bus use request" changes the bus use permission signal bg1 to a valid "L" level. Set to level. As a result, "bus use permission" is output. The "bus use permission" is first input to the processor 2, but since the processor 2 has not output the "bus use request", the "bus use permission" is not received, and the "bus use permission" is not changed. Transfer to processor 3. The processor 3 receives the “bus use permission” transferred from the processor 2 and occupies the bus B, and at time t2,
Set the bus busy information BBSY 3 valid "L" level to transfer to the bus arbiter 1 via the signal line L2 by. That is, valid bus busy information bbsy 3 is input to the bus arbiter 1. Each bus busy information bbsy 2 , bbs
The signals y 3 and bbsy 4 are signals indicating that the bus B is in use (“bus in use”) in a valid state, and indicating that the bus B is not in use in an invalid state.
The processor 3 outputs “bus in use” in parallel with
The bus use request signal br 3 is set to the “H” level to cancel the “bus use request”.

【0004】バスアービタ1は、処理器3がバスBを使
い終わって、時刻tでバス使用中情報bbsy3 を無効
の“H”レベルにして、「バス使用中」を取下げてか
ら、再び「バス使用許可」を信号線L3から出力する。
このときにバスアービタ1から出力された「バス使用許
可」は、処理器2,3を通過して「バス使用要求」を出
力している処理器4に転送される。処理器4は、時刻t
4にて「バス使用許可」を入力してバスBを占有すると
ともに、バス使用中情報bbsy4 を有効な“L”に設
定する。さらに、処理器4は、バス使用要求信号br4
を“H”レベルに設定して「バス使用要求」を取下げ
る。ここで、処理器4がバスBを占有している期間に、
処理器2がバス使用要求信号br2 を“L”レベルに設
定して「バス使用要求」を出力する場合には、時刻t5
のように、処理器4が「バス使用中」を取下げてバスB
を解放するまで、処理器2は「バス使用要求」を出し続
ける。処理器4が「バス使用中」を取下げると、バスア
ービタ1が再び「バス使用許可」を出力し、処理器2に
バスBを占有させる。
After the processor 3 has finished using the bus B, the bus arbiter 1 sets the bus busy information bbsy 3 to an invalid “H” level at time t, cancels “bus busy”, and then returns to “bus busy”. "Use permission" is output from the signal line L3.
At this time, the “bus use permission” output from the bus arbiter 1 is transferred to the processor 4 that outputs the “bus use request” through the processors 2 and 3. The processor 4 outputs the time t
With occupying the bus B by entering the "bus use permission" at 4, to set the bus used in the information bbsy 4 to a valid "L". Further, the processor 4 outputs a bus use request signal br 4
Is set to the “H” level to cancel the “bus use request”. Here, while the processor 4 occupies the bus B,
When the processor 2 sets the bus use request signal br 2 to the “L” level and outputs a “bus use request”, the time t5
, The processor 4 withdraws “bus in use” and
Until is released, the processor 2 continues to issue the "bus use request". When the processor 4 withdraws "bus in use", the bus arbiter 1 outputs "bus use permission" again, and causes the processor 2 to occupy the bus B.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、従来の
バス調停機構では、次のような課題があった。図4は、
図2の課題の波形を示すタイムチャートである。近年、
バス性能の向上の必要性から、一度のバス使用権取得中
に多数のデータを転送するバースト転送が行われるよう
になり、各処理器2〜4が、長期間に亘ってバスBをそ
れぞれ占有することがある。また、処理器2〜4が、マ
ルチタスク処理を行う場合、優先順位の高いタスクが優
先度の低いタスクよりも優先的に処理される。図4に
は、このマルチタスクを行っている場合の各処理器2〜
4の入出力信号の波形が示されている。なお、図4中の
bgin2 〜bgin4 は、信号線L3を介してバスア
ービタ1から出力されるバス許可信号bgを、各処理器
2〜4が入力するタイミングを示し、bgout2 〜b
gout4 は、各処理器2〜4が後段側へ出力するタイ
ミングを示している。
However, the conventional bus arbitration mechanism has the following problems. FIG.
3 is a time chart showing a waveform of the problem in FIG. 2. recent years,
Due to the necessity of improving the bus performance, burst transfer for transferring a large number of data during one bus use right acquisition is performed, and each of the processors 2 to 4 occupies the bus B for a long period of time. May be. When the processors 2 to 4 perform multitask processing, a task with a higher priority is processed with a higher priority than a task with a lower priority. FIG. 4 shows each processor 2 to 2 when this multitasking is performed.
4 shows the waveforms of the input / output signals. Note that bgin 2 to bgin 4 in FIG. 4 indicate the timing at which each of the processors 2 to 4 inputs the bus permission signal bg output from the bus arbiter 1 via the signal line L3, and bgout 2 to bgout 2
Gout 4 indicates the timing at which each of the processors 2 to 4 outputs to the subsequent stage.

【0006】例えば、処理器3が、バスアービタ1から
の“L”のバス使用許可信号bgを処理器2を介してb
gin3 のタイミングで受取り、バス使用中情報bbs
3を有効な“L”レベルに設定し、バスBを占有して
バースト転送を行っているものとする。この状態で、処
理器4がバス使用要求信号br4 を“L”にして「バス
使用要求」を発生すると、バスアービタ1は、処理器3
がバースト転送を終了して「バス使用中」を取下げるま
で、その処理器4の「バス使用要求」に対応する「バス
使用許可」を発生しない。つまり、バス使用許可信号b
gのレベルを有効な“L”に設定せず、処理器4を待た
せる。ここで、処理器4に、バスBへのアクセスよりも
優先順位の高い別のタスクが発生すると、該処理器4は
その優先順位の高いタスクを処理するために、バス使用
要求信号br4 を“H”にして「バス使用要求」をキャ
ンセルする。そのため、処理器3の「バス使用中」が取
下げられて処理器4の「バス使用要求」に対応してバス
アービタ1が出力する「バス使用許可」が、該処理器4
に与えられるタイミングと、該処理器4が「バス使用要
求」をキャンセルするタイミングが同時の場合が発生す
る。このようなときには、処理器4は「バス使用許可」
を受取らない。一方、バスアービタ1は「バス使用中」
を入力しない限り、「バス使用許可」を取下げないの
で、バスアービタ1は信号線L3上に「バス使用許可」
を出し続ける。これに対し、各処理器2〜4は、自ら出
した「バス使用要求」に対応して新たにバスアービタ1
から転送された「バス使用許可」のみを有効として受取
るので、どの処理器2〜4も、バスBの占有ができない
状態が継続して、システムダウンに至る。
For example, the processor 3 transmits the “L” bus use permission signal bg from the bus arbiter 1 via the processor 2 to b
Received at gin 3 timing, bus busy information bbs
Set y 3 to a valid "L" level, it is assumed that is performing burst transfers occupy the bus B. In this state, when the processor 4 sets the bus use request signal br 4 to “L” to generate a “bus use request”, the bus arbiter 1
Does not generate a "bus use permission" corresponding to the "bus use request" of the processor 4 until the "bus use" is canceled after the end of the burst transfer. That is, the bus use permission signal b
The processor 4 is made to wait without setting the level of g to valid “L”. Here, the processor 4, when another higher priority than the access to the bus B task is generated, because the processor 4 to process the high priority task, the bus request signal br 4 Set to “H” to cancel “bus use request”. Therefore, “bus use” of the processor 3 is canceled and “bus use permission” output by the bus arbiter 1 in response to “bus use request” of the processor 4
And the timing at which the processor 4 cancels the “bus use request” occurs at the same time. In such a case, the processor 4 sets “bus use permission”.
Do not receive On the other hand, bus arbiter 1 is "bus busy"
The bus arbiter 1 does not drop the "bus use permission" on the signal line L3 unless "is input".
Keep issuing. On the other hand, each of the processors 2 to 4 newly adds the bus arbiter 1 in response to the “bus use request” issued by itself.
Since only the "bus use permission" transferred from is received as valid, any processor 2-4 continues to be unable to occupy the bus B, resulting in a system down.

【0007】[0007]

【課題を解決するための手段】前記課題を解決するため
に、本発明は、有効な状態ではバスが使用中であること
示し無効な状態ではバスが使用中でないことを示すバス
使用中情報とバス使用要求とを入力し、該バス使用中情
報が無効なときに該バス使用要求があれば該バスの占有
を許可するバス使用許可を発生するバスアービタを備
え、前記バスアービタに対してデイジーチェイン接続さ
れて前記バス使用許可を順に転送する共に、前記バスの
使用の必要性が発生したときに前記バス使用要求をそれ
ぞれ発生し、自ら発生した該バス使用要求に対応して該
バス使用許可が与えられたときには該バス使用許可を転
送せずに受取り前記バスを占有して有効な前記バス使用
中情報を発生すると共に該バス使用要求を取り下げ、該
バスの占有を終了したときに該バス使用中情報をそれぞ
れ無効にする複数の処理器に対し、該バスの使用権の調
停を行うバス調停機構において、次のような変換手段を
設けている。変換手段は、前記デイジーチェイン接続さ
れた複数の処理器の終端に接続され、該複数の処理器側
から前記バス使用許可が与えられた場合には、該バス使
用許可を前記有効なバス使用中情報に変換して前記バス
アービタに転送するものである。本発明によれば、以上
のようにバス調停機構を構成したので、どの処理器も受
取らないバス使用許可が発生してもそれが変換手段に入
力される。変換手段に入力されたバス使用許可は、有効
なバス使用中情報に変換されてバスアービタに転送され
る。これにより、バスアービタは新たなバス使用許可を
発生しなくなり、バス使用許可が継続される状態が回避
される。従って、前記課題を解決できるのである。
SUMMARY OF THE INVENTION In order to solve the above-mentioned problems, the present invention provides a bus busy information indicating that a bus is in use in a valid state and indicating that the bus is not in use in an invalid state. A bus arbiter for inputting a bus use request and issuing a bus use permission for permitting occupation of the bus when the bus use request is invalid when the bus busy information is invalid; daisy chain connection to the bus arbiter The bus use permission is sequentially transferred, and the bus use request is generated when the necessity of use of the bus occurs, and the bus use permission is given in response to the bus use request generated by itself. When the bus use permission is received, the bus use permission is received without being transferred, the bus is occupied, the valid bus busy information is generated, the bus use request is canceled, and the occupation of the bus is terminated. The plurality of processors to disable each said bus busy information when, in the bus arbitration scheme for arbitrating use right of the bus is provided with a conversion means such as the following. The conversion means is connected to an end of the plurality of processors connected in a daisy chain, and when the bus use permission is given from the plurality of processors, the bus use permission is changed to the valid bus use. It is converted into information and transferred to the bus arbiter. According to the present invention, since the bus arbitration mechanism is configured as described above, even if a bus use permission which is not received by any processor occurs, it is input to the conversion means. The bus use permission input to the conversion means is converted into valid bus use information and transferred to the bus arbiter. As a result, the bus arbiter does not generate a new bus use permission, and a state in which the bus use permission is continued is avoided. Therefore, the above problem can be solved.

【0008】[0008]

【発明の実施の形態】図1は、本発明の実施形態を示す
バス調停機構の構成図である。このバス調停機構は、バ
スBに接続された3個の処理器11,12,13のバス
Bの使用権を調停するものであり、従来と同様のバスア
ービタ20を備えている。これらの処理器11〜13
は、信号線L1,L2,L3によってバスアービタ20
に接続されている。バスアービタ20は、信号線L1,
L2に接続された論理ゲート群と信号線L3のレベルを
設定するバッファ等で構成する場合と、これらと同様の
機能をソフトウエアで展開する場合の構成とがある。信
号線L1は、各処理器11〜13からそれぞれ出力され
るバス使用要求信号br11,br12,br13をバスアー
ビタ20に伝達するものであり、該信号線L1には、処
理器11〜13がワイアードORで接続されている。信
号線L2は、各処理器11〜13からそれぞれ出力され
るバス使用中情報bbsy11,bbsy12,bbsy13
と後述するバス使用中情報BBSYとをバスアービタ2
0に伝達するものであり、該信号線L2には、処理器1
1〜13がワイアードORで接続されている。各バス使
用中情報bbsy11,bbsy12,bbsy13,BBS
Yは、有効な状態ではバスBが使用中であること(「バ
ス使用中」)を示し、無効な状態では該バスBが使用中
でないことをそれぞれ示す信号である。信号線L3は、
バスアービタ20から出力するバス使用許可信号bgを
処理器11〜13に伝達するものであり、該信号線L3
に対して、各処理器11〜13が順にデイジーチェイン
接続されている。このバス調停機構のデイジーチェイン
接続された処理器11〜13を終端する位置には、変換
手段21が設けられている。変換手段21は、処理器1
1〜13側から与えられたバス使用許可信号bgを駆動
してバス使用中情報BBSYとして出力するバッファ2
1aで構成されている。バッファ21aの出力端子が信
号線L2を介してバスアービタ20に接続されている。
FIG. 1 is a block diagram of a bus arbitration mechanism showing an embodiment of the present invention. This bus arbitration mechanism arbitrates the right to use the bus B among the three processors 11, 12, and 13 connected to the bus B, and includes the same bus arbiter 20 as the conventional one. These processors 11 to 13
Is connected to the bus arbiter 20 by the signal lines L1, L2, L3.
It is connected to the. The bus arbiter 20 is connected to the signal lines L1,
There are a configuration in which the logic gate group connected to L2 and a buffer for setting the level of the signal line L3 and the like are provided, and a configuration in which similar functions are developed by software. Signal line L1 is a bus request signal br 11, br 12, br 13 respectively output from the processor 11-13 intended to transmit to the bus arbiter 20, the signal line L1, the processing unit 11 to 13 Are connected by a wired OR. The signal line L2 is used for bus in-use information bbsy 11 , bbsy 12 , and bbsy 13 output from the processors 11 to 13, respectively.
And the bus in-use information BBSY described later
0, and the signal line L2 is connected to the processor 1
1 to 13 are connected by a wired OR. Bus busy information bbsy 11 , bbsy 12 , bbsy 13 , BBS
Y is a signal indicating that the bus B is in use (“bus in use”) in a valid state, and indicating that the bus B is not in use in an invalid state. The signal line L3 is
A bus use permission signal bg output from the bus arbiter 20 is transmitted to the processors 11 to 13, and the signal line L3
, The processors 11 to 13 are sequentially daisy-chain connected. The conversion means 21 is provided at a position where the processors 11 to 13 connected in a daisy chain of this bus arbitration mechanism are terminated. The conversion means 21 is a processor 1
A buffer 2 that drives a bus use permission signal bg given from the side 1 to 13 and outputs it as bus use information BBSY
1a. The output terminal of the buffer 21a is connected to the bus arbiter 20 via the signal line L2.

【0009】図5は、図1の動作を波形で示すタイムチ
ャートであり、この図5を参照しつつ、図1のバス調停
機構の動作を説明する。なお、図5中で、bgin11
bgin13として示される波形は、信号線L3を介して
バスアービタ20から出力されるバス許可信号bgを、
各処理器11〜13が入力するタイミングを示し、bg
out11〜bgout13は、各処理器11〜13が後段
側へ出力するタイミングを示している。各処理器11〜
13が出力するバス使用中情報bbsy11〜bbsy13及び
変換手段21が出力するバス使用中情報BBSYが無効
の“H”レベルのときに、例えば処理器12がバス要求
信号br12を有効の“L”レベルにして「バス使用要
求」を発生し、これをバスアービタ20に伝達すると、
該バスアービタ20は、バス使用許可信号bgを有効な
“L”レベルに設定して「バス使用許可」発生する。こ
のとき、処理器11は「バス使用要求」を発生していな
いので「バス使用許可」を受取らずに処理器12に転送
する。処理器12は、処理器11から転送された「バス
使用許可」を受取り、処理器13には転送しない。「バ
ス使用許可」を受取った処理器12には、バス使用権が
発生してバスBの占有を行って該バスBを介してバース
ト転送を行う。これと平行して、処理器12は、バス使
用要求信号br12を“H”レベルにして「バス使用要
求」を取下げる共に、バスBの使用中を示すバス使用中
情報bbsy12を有効な“L”に設定し、「バス使用
中」をバスアービタ20に出力する。「バス使用中」
は、処理器12がバースト転送を終了するまで、バスア
ービタ20へ出力される。
FIG. 5 is a time chart showing the operation of FIG. 1 by waveforms. The operation of the bus arbitration mechanism of FIG. 1 will be described with reference to FIG. Incidentally, in FIG. 5, bgin 11 ~
The waveform shown as bgin 13 is a bus permission signal bg output from the bus arbiter 20 via the signal line L3.
The timing at which each of the processors 11 to 13 inputs is indicated by bg
out 11 ~bgout 13 shows the timing of each processing unit 11 to 13 is output to the subsequent stage. Each processor 11-
When the bus use information bbsy 11 to bbsy 13 output by the output unit 13 and the bus use information BBSY output by the conversion unit 21 are at the invalid “H” level, for example, the processor 12 sets the bus request signal br 12 to the valid “H” level. When a “bus use request” is generated at L level and transmitted to the bus arbiter 20,
The bus arbiter 20 sets the bus use permission signal bg to a valid “L” level and generates “bus use permission”. At this time, since the processor 11 has not generated the “bus use request”, the processor 11 transfers the “bus use request” to the processor 12 without receiving the “bus use permission”. The processor 12 receives the “bus use permission” transferred from the processor 11 and does not transfer it to the processor 13. The processor 12 that has received the “bus use permission” receives a bus use right, occupies the bus B, and performs burst transfer via the bus B. In parallel with this, processor 12, both bus use request signal br 12 to "H" level withdraw the "bus request" valid bus busy information BBSY 12 indicating that the use of the bus B “L” is set and “bus in use” is output to the bus arbiter 20. "Bus in use"
Are output to the bus arbiter 20 until the processor 12 completes the burst transfer.

【0010】処理器12がバスBを占有している期間
に、処理器13がバス使用要求信号br13を“L”レベ
ルに設定して「バス使用要求」を発生しても、バスアー
ビタ20は、処理器12によって「バス使用中」が取消
されるまでは、該処理器13の「バス使用要求」に対応
する「バス使用許可」を発生しない。その「バス使用許
可」を待っている期間に、処理器13の内部で処理しな
けれければならない他の優先順位の高いタスクが発生す
ると、該処理器13は、バス使用要求信号br13
“H”レベルに変化させる。つまり、「バス使用要求」
をキャンセルする。この処理器13が「バス使用要求」
をキャンセルする直前に、処理器12のバス占有が終了
して該処理器12が出力する「バス使用中情報」が取り
消され、対応してバスアービタ20から「バス使用許
可」が出力されても、処理器13の「バス使用要求」は
キャンセルされている。そのため、処理器12を介して
処理器13に「バス使用許可」が入力されても、該処理
器13は、「バス使用許可」を受取らず、この「バス使
用許可」を変換手段21側に転送する。また、例えば、
処理器13が「バス使用要求」をキャンセルする直前
に、処理器11が「バス使用要求」を発生しても、すで
に「バス使用許可」を処理器12に出力した後では、該
処理器11は「バス使用許可」を受取らない。
[0010] period processor 12 occupies the bus B, processor 13 is set to "L" level bus request signals br 13 also generates a "bus request", the bus arbiter 20 Until "bus in use" is canceled by the processor 12, the "bus use permission" corresponding to the "bus use request" of the processor 13 is not generated. If another high-priority task that must be processed inside the processor 13 occurs while waiting for the “bus use permission”, the processor 13 sets the bus use request signal br 13 to “ H ”level. In other words, "bus use request"
Cancel This processor 13 is "bus use request"
Immediately before canceling, the bus occupation of the processor 12 ends and the “bus busy information” output by the processor 12 is canceled, and “bus use permission” is output from the bus arbiter 20 correspondingly. The “bus use request” of the processor 13 has been canceled. Therefore, even if “bus use permission” is input to the processor 13 via the processor 12, the processor 13 does not receive the “bus use permission” and sends this “bus use permission” to the conversion unit 21 side. Forward. Also, for example,
Even if the processor 11 generates a “bus use request” immediately before the processor 13 cancels the “bus use request”, if the “bus use permission” has already been output to the processor 12, the processor 11 Does not receive a "bus permission".

【0011】このような状態になったときには、バスア
ービタ20から出力された「バス使用許可」は変換手段
21に入力される。変換手段21中のバッファ21a
は、入力した「バス使用許可」を駆動して、有効な
“L”レベルのバス使用中情報BBSYに変換する。つ
まり、変換手段21は「バス使用許可」を有効な“L”
レベルのバス使用中情報BBSYに変換し、バスアービ
タ20に「バス使用中」を示す。バスアービタ20は、
変換手段21から与えられた「バス使用中」を受取る
と、それまで出力していた「バス使用許可」を一旦取り
消す。つまり、バスアービタ20がバス使用許可信号b
gを“H”レベルに戻す。これにより、変換手段21に
入力される信号のレベルも“H”レベルになり、変換手
段21の出力するバス使用中情報BBSYも“H”レベ
ルになって信号線L2上の「バス使用中」がすべて取消
させれる。バスアービタ20は、「バス使用中」が取消
させれると、処理器11の発生している「バス使用要
求」に対対応した新たな「バス使用許可」を発生する。
つまり、バス使用許可信号bgのレベルを有効な“L”
レベルに設定する。これにより、バスBが処理器12,
13から解放されて、処理器11が通常通り、バスBを
使用する。
In such a state, the “bus use permission” output from the bus arbiter 20 is input to the conversion means 21. Buffer 21a in conversion means 21
Drives the input “bus use permission” and converts it into valid “L” level bus use information BBSY. That is, the conversion means 21 sets the “bus use permission” to the valid “L”
The information is converted into the bus busy information BBSY of the level, and "bus busy" is indicated to the bus arbiter 20. The bus arbiter 20
When the "bus busy" provided by the conversion means 21 is received, the "bus use permission" output so far is temporarily canceled. That is, the bus arbiter 20 outputs the bus use permission signal b
g is returned to the “H” level. As a result, the level of the signal input to the conversion means 21 also becomes “H” level, and the bus busy information BBSY output from the conversion means 21 also becomes “H” level, and “bus busy” on the signal line L2. Are all canceled. When the “bus in use” is canceled, the bus arbiter 20 generates a new “bus use permission” corresponding to the “bus use request” generated by the processor 11.
That is, the level of the bus use permission signal bg is changed to a valid "L" level.
Set to level. Thereby, the bus B is connected to the processor 12,
13, the processor 11 uses the bus B as usual.

【0012】以上のように、本実施形態では、デイジー
チェイン接続された処理器11〜13のバスBに対する
バス調停を行うバス調停機構に、「バス使用許可」を
「バス使用中」に変換する変換手段21を設けたので、
「バス使用要求」がキャンセルされるときに、どの処理
器11〜13も受取れない「バス使用許可」が発生して
も、それが「バス使用中」に変換され、その後のバスB
に対する調停機能が停止することが防止できる。そのた
め、システムの信頼性が保証できる。なお、本発明は、
上記実施形態に限定されず種々の変形が可能である。例
えば、デイジーチェイン接続の処理器11〜13の数は
3つに限定されず、さらに増加させてもよい。また、各
バス使用要求信号br11〜br13、各バス使用中情報b
bsy11〜bbsy13,BBSY、及びバス使用許可信
号bgは、負論理でなくても正論理で構成してもよい。
As described above, in the present embodiment, "bus use permission" is converted to "bus busy" by the bus arbitration mechanism for arbitrating the bus B of the processors 11 to 13 connected in daisy chain. Since the conversion means 21 is provided,
When the "bus use request" is canceled, even if a "bus use permission" occurs in which none of the processors 11 to 13 is received, it is converted to "bus busy" and the subsequent bus B
Arbitration function can be prevented from stopping. Therefore, the reliability of the system can be guaranteed. In addition, the present invention
The present invention is not limited to the above embodiment, and various modifications are possible. For example, the number of daisy-chain connection processors 11 to 13 is not limited to three, and may be further increased. Further, each bus use request signal br 11 -br 13 , each bus use information b
bsy 11 ~bbsy 13, BBSY, and bus grant signals bg may be constituted by a positive logic without negative logic.

【0013】[0013]

【発明の効果】以上詳細に説明したように、本発明によ
れば、バスアービタを有するバス調停機構に、該バスア
ービタにディジーチェイン接続された複数の処理器の終
端側に、変換手段を設けたので、マルチタスク処理等に
よってどの処理器も受取れないバス使用許可が発生して
も、それが有効なバス使用中情報に変換されて、そのバ
ス使用許可が取り消される。そのため、バス調停機構を
含むコンピュータシステム等のシステムダウンが回避で
き、信頼性が向上する。
As described above in detail, according to the present invention, since the bus arbitration mechanism having the bus arbiter is provided with the conversion means at the terminal side of a plurality of processors daisy-chain connected to the bus arbiter. Even if a bus use permission that cannot be received by any processor occurs due to multitask processing or the like, it is converted into valid bus use information, and the bus use permission is canceled. Therefore, system down of a computer system or the like including the bus arbitration mechanism can be avoided, and reliability is improved.

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

【図1】本発明の実施形態のバス調停機構を示す構成図
である。
FIG. 1 is a configuration diagram illustrating a bus arbitration mechanism according to an embodiment of the present invention.

【図2】従来のバス調停機構を示す構成図である。FIG. 2 is a configuration diagram showing a conventional bus arbitration mechanism.

【図3】図2の動作を波形で示すタイムチャートであ
る。
FIG. 3 is a time chart showing the operation of FIG. 2 by waveforms.

【図4】図2の課題の波形を示すタイムチャートであ
る。
FIG. 4 is a time chart showing the waveform of the problem in FIG. 2;

【図5】図1の動作を波形で示すタイムチャートであ
る。
FIG. 5 is a time chart showing the operation of FIG. 1 by waveforms.

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

11〜13 処理器 20 バスアービタ 21 変換手段 21a バッファ br11〜br13 バス使用要求信号 bg バス使用許可信号 bbsy11〜bbsy13,BBSY バス使用中情報 B バス11-13 processor 20 bus arbiter 21 converting means 21a buffer br 11 ~br 13 bus request signals bg bus grant signal bbsy11~bbsy13, BBSY bus busy information B bus

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 有効な状態ではバスが使用中であること
示し無効な状態ではバスが使用中でないことを示すバス
使用中情報とバス使用要求とを入力し、該バス使用中情
報が無効なときに該バス使用要求があれば該バスの占有
を許可するバス使用許可を発生するバスアービタを備
え、 前記バスアービタに対してデイジーチェイン接続されて
前記バス使用許可を順に転送する共に、前記バスの使用
の必要性が発生したときに前記バス使用要求をそれぞれ
発生し、自ら発生した該バス使用要求に対応して該バス
使用許可が与えられたときには該バス使用許可を転送せ
ずに受取り前記バスを占有して有効な前記バス使用中情
報を発生すると共に該バス使用要求を取り下げ、該バス
の占有を終了したときに該バス使用中情報をそれぞれ無
効にする複数の処理器に対し、該バスの使用権の調停を
行うバス調停機構において、 前記デイジーチェイン接続された複数の処理器の終端に
接続され、該複数の処理器側から前記バス使用許可が与
えられた場合には、該バス使用許可を前記有効なバス使
用中情報に変換して前記バスアービタに転送する変換手
段を設けたことを特徴とするバス調停機構。
In the valid state, bus use information indicating that the bus is in use and in the invalid state indicating that the bus is not in use and a bus use request are input, and the bus use information is invalid. A bus arbiter for generating a bus use permission for permitting the occupation of the bus when the bus use request is issued. The bus arbiter is daisy-chained to the bus arbiter to sequentially transfer the bus use permission and to use the bus use. When the need arises, the bus use request is generated, and when the bus use permission is given in response to the bus use request generated by itself, the bus use permission is received without transferring the bus use permission. A plurality of occupied bus valid information is generated, the bus use request is canceled, and the bus occupied information is invalidated when the occupation of the bus is completed. A bus arbitration mechanism for arbitrating the right to use the bus with respect to the master device, wherein the bus arbitration mechanism is connected to the ends of the plurality of daisy-chain-connected processors and the bus use permission is given from the plurality of processors; A bus arbitration mechanism provided with conversion means for converting the bus use permission into the valid bus use information and transferring the information to the bus arbiter.
JP30751497A 1997-11-10 1997-11-10 Bus arbitration mechanism Withdrawn JPH11143825A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30751497A JPH11143825A (en) 1997-11-10 1997-11-10 Bus arbitration mechanism

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30751497A JPH11143825A (en) 1997-11-10 1997-11-10 Bus arbitration mechanism

Publications (1)

Publication Number Publication Date
JPH11143825A true JPH11143825A (en) 1999-05-28

Family

ID=17970001

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30751497A Withdrawn JPH11143825A (en) 1997-11-10 1997-11-10 Bus arbitration mechanism

Country Status (1)

Country Link
JP (1) JPH11143825A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014089858A (en) * 2012-10-30 2014-05-15 Mitsubishi Automob Eng Co Ltd Power supply management device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014089858A (en) * 2012-10-30 2014-05-15 Mitsubishi Automob Eng Co Ltd Power supply management device

Similar Documents

Publication Publication Date Title
EP0559408B1 (en) A method and apparatus for performing bus arbitration using an arbiter in a data processing system
US5195185A (en) Dynamic bus arbitration with concurrent same bus granting every cycle
JPH076124A (en) System and method for transfer of information
EP0358716A1 (en) Node for servicing interrupt request messages on a pended bus.
US6425037B1 (en) Information processing system, bus arbiter, and bus controlling method
US20040267992A1 (en) Look ahead split release for a data bus
JPH103447A (en) Bus bridge device
US5680554A (en) Method and apparatus for arbitrating among processors for access to a common bus
JPH11238033A (en) Bus for information processor, and method and unit for bus control
US6775717B1 (en) Method and apparatus for reducing latency due to set up time between DMA transfers
JPH08314854A (en) Data transfer system and device relating to the same
JPH11143825A (en) Bus arbitration mechanism
US7668996B2 (en) Method of piggybacking multiple data tenures on a single data bus grant to achieve higher bus utilization
US5815676A (en) Address bus arbiter for pipelined transactions on a split bus
JP3240863B2 (en) Arbitration circuit
JP2727514B2 (en) Transfer destination ID designating circuit
JP2848082B2 (en) DMA bus arbitration
KR100328630B1 (en) Data transmitting method and data transmission channel apparatus of sun bus and versa module eurocard bus
JP2002278923A (en) Bus system, bus control system and bus conversion device
KR0126583B1 (en) Requester read controller in system controller in system control module
JP2982301B2 (en) Computer equipment
JP3098550B2 (en) Bus control method
JP2632049B2 (en) Multiprocessor system
JP3050131B2 (en) Arbitration method
JP2587100B2 (en) Data transfer control 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: 20050201