JPS61213955A - Control system for bus occupation - Google Patents

Control system for bus occupation

Info

Publication number
JPS61213955A
JPS61213955A JP5370985A JP5370985A JPS61213955A JP S61213955 A JPS61213955 A JP S61213955A JP 5370985 A JP5370985 A JP 5370985A JP 5370985 A JP5370985 A JP 5370985A JP S61213955 A JPS61213955 A JP S61213955A
Authority
JP
Japan
Prior art keywords
route
flip
bus
flop
buffer
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
JP5370985A
Other languages
Japanese (ja)
Inventor
Tetsuo Kudo
工藤 哲郎
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 JP5370985A priority Critical patent/JPS61213955A/en
Publication of JPS61213955A publication Critical patent/JPS61213955A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Bus Control (AREA)
  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To allows a module which time elapse after requesting is long to use a bus by sending bus use requests from respective modules to a priority determining circuit through a direct route, a flip-flop route, or a buffer route. CONSTITUTION:Bus use request signals REQ10-REQn from plural modules connected to the common bus are inputted to a priority circuit 4 directly through a multiplexer 8 when flip-flop routes 6 passed through flip-flops 6A and 6B are both free to obtain bus use permission signals GNT0-GNTn, but when one of the flip-flop routes is not free, they are sent to the other free route and enqueued temporarily. When either of the routes is free, they are sent to a buffer route 7 including a buffer 10 to wait for a flip-flop route 6 to become free, and sent to the route which becomes free through multiplexers 8A and 8B.

Description

【発明の詳細な説明】 〔概要〕 複数のモジュールがバス使用要求信号を発して共通バス
の占有を要求するデータ処理システムにおいて、バス占
有制御回路が、上記バス使用要求信号を優先回路に導び
くに当って、直接ルートと一時待機のフリップ・フロッ
プ・ルートと待合室に対応するバッファ・ルートとを用
意するように構成され、要求後の時間経過の大きいもの
に対して出来る限ぎり、許可信号を発するようにするこ
とが開示される。
[Detailed Description of the Invention] [Summary] In a data processing system in which a plurality of modules issue bus use request signals to request occupation of a common bus, a bus occupancy control circuit guides the bus use request signal to a priority circuit. The system is configured to prepare a direct route, a temporary flip-flop route, and a buffer route corresponding to the waiting room, and sends a permission signal as much as possible to requests that take a long time to pass. Disclosed is to cause the image to emanate.

〔産業上の利用分野〕[Industrial application field]

本発明は、バス占有制御方式、特に共通バスに対する占
有使用を要求して使用権を得るデータ処理システムにお
いて、いわば待合わせルートを用意して、待ち時間の大
きいものをより適格に把握して許可信号を出すようにし
たバス占有制御方式〔従来の技術〕 従来から、この種の制御に当っては、バスを各モジュー
ルで時分割的に分割して使用させるようにし、各期間を
各モジュールに固定的に割り付けることが行なわれる。
The present invention provides a bus occupancy control method, particularly a data processing system that requests exclusive use of a common bus and obtains the right to use it, by preparing a so-called waiting route and more accurately grasping and granting permission to those with long waiting times. Bus occupancy control system that issues signals [prior art] Conventionally, in this type of control, the bus is divided and used by each module in a time-sharing manner, and each period is assigned to each module. Fixed allocation is performed.

この場合には、各モジュールの最大待ち時間が容易に算
出できかつ制御態様も簡単になるが、割り当てられた期
間をそのモジュールが使用しない場合は効率が悪い。ま
た各モジュール間のハス使用に対する優先度を固定的に
与えておくことが行なわれる。しかしこの場合には、優
先度の低いモジュールが長期間待たされることとなるお
それがある。
In this case, the maximum waiting time of each module can be easily calculated and the control mode can be simplified, but it is inefficient if the module does not use the allocated period. Furthermore, a fixed priority is given to the lotus usage between each module. However, in this case, there is a possibility that a module with a low priority will be kept waiting for a long time.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

本発明は、上記の点を解決する。ことを目的としており
、各モジュールからの要求信号の変化のあったことを記
憶し、決められた優先順位の下でかつ要求時からの時間
経過にしたがってその記憶内容を処理することにより、
各モジュールの待ち時間を平均化した効率のよいバス占
有制御方式を提供することを目的としている。
The present invention solves the above points. The purpose is to memorize changes in request signals from each module, and process the stored contents according to a determined priority order and according to the elapse of time from the time of the request.
The objective is to provide an efficient bus occupancy control method that averages out the waiting time of each module.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明の原理ブロック図を示し、図中の符号1
は共通バス、2−1はモジュール、3はハス占有制御回
路、4は優先(PRY)回路、5は直接ルート、6はフ
リップ・フロップ・ルート、7はバッファ・ルートを表
わしている。
FIG. 1 shows a block diagram of the principle of the present invention, and the reference numeral 1 in the figure shows a block diagram of the principle of the present invention.
2-1 is a common bus, 2-1 is a module, 3 is a bus occupancy control circuit, 4 is a priority (PRY) circuit, 5 is a direct route, 6 is a flip-flop route, and 7 is a buffer route.

本発明の場合には、共通バス1に対する各モジュール2
−iからの要求状態の変化を最小変化単位で記憶してい
き、上記各ルート5.6.7を利用してその記憶内容を
記憶された順に処理していくことにより、もっとも古い
要求、つまり長時間待たされている要求から順に許可し
ていくことのできるようにしたものである。
In the case of the present invention, each module 2 for a common bus 1
By storing changes in the request state from -i in the minimum change unit, and processing the stored contents in the order in which they were stored using each route 5.6.7 above, the oldest request, that is, This allows requests that have been waiting for a long time to be granted in order.

共通バス1を共有する各モジュール2−0.2−1.2
−21.、、、 ’l −nからバス使用要求信号(R
EQO−n)が各1本づつバス占有制御回路3へ入力さ
れており、バス占有制御回路3からは信号REQ0〜n
に対応したバス使用許可信号(GNT0〜n)が1本づ
つ各モジュール2−0.2−1).、、、へ出力されて
いる。そして、各モジュールからの要求信号があった場
合には次のアルゴリズムにしたがって、優先回路4に導
びかれる。
Each module 2-0.2-1.2 sharing common bus 1
-21. ,,, 'l -n to bus use request signal (R
EQO-n) are input to the bus occupancy control circuit 3 one by one, and from the bus occupancy control circuit 3, signals REQ0 to REQ0 to n
One bus permission signal (GNT0 to GNTn) corresponding to each module 2-0.2-1). It is output to , , . If there is a request signal from each module, it is guided to the priority circuit 4 according to the following algorithm.

即ち、 A)フリップ・フロップ・ルート6が空き状態にあると
きに上記要求信号REQiが到来すると、当該要求信号
RE Q iは、直接ルート5を介して直ちに優先回路
4に導びかれ、バス使用許可信号GNT iを受取るこ
とができる。
That is, A) When the above-mentioned request signal REQi arrives when the flip-flop route 6 is in an empty state, the request signal REQi is immediately guided to the priority circuit 4 via the direct route 5, and the bus is not used. A grant signal GNT i can be received.

B)フリップ・フロップ・ルート601つでもが空き状
態にないときに要求信号REQiが到来すると、空き状
態にあるフリップ・フロップ・ルートの1つに導びかれ
て、一時待機状態にされる。
B) If the request signal REQi arrives when even one of the flip-flop routes 60 is not available, the flip-flop route 60 is guided to one of the available flip-flop routes and placed in a temporary standby state.

C)フリップ・フロップ・ルート6のすべてが空き状態
にないときに要求信号REQiが到来すると、バッファ
・ルート7に導びかれ、いわば待合室での待合わせ状態
に入る。
C) If the request signal REQi arrives when all of the flip-flop routes 6 are not free, the flip-flop is guided to the buffer route 7 and enters a waiting state in a waiting room, so to speak.

D)フリップ・フロップ・ルート6のいずれか1つが空
き状態になったときにバッファ・ルート7における待合
わせ中の要求信号があれば、より時間経過の永いものが
、当該フリップ・フロップ・ルート6のルートを満たす
ようにされる。
D) If there is a waiting request signal in the buffer route 7 when any one of the flip-flop routes 6 becomes vacant, the flip-flop route 6 whose time has elapsed longer is made to satisfy the root.

〔作用〕[Effect]

バス占有制御回路3は上記の如くルート5.6.7をも
っており、ルート5からの要求、ルート6からの要求の
順に優先回路4が上記要求信号を処理し、対応するモジ
ュールに対してバス使用許可信号GNT Iを発する。
The bus occupancy control circuit 3 has routes 5, 6, and 7 as described above, and the priority circuit 4 processes the above request signals in the order of requests from route 5 and route 6, and uses the bus for the corresponding module. Issue a permission signal GNT I.

これに対応して、当該許可信号GNTiを受取ったモジ
ュール2−1は、共通バスlを占有し、データや制御情
報などの送受を行なう。
Correspondingly, the module 2-1 that has received the permission signal GNTi occupies the common bus 1 and sends and receives data, control information, and the like.

〔実施例〕〔Example〕

第2図はバス占有制御回路の一実施例プロツク図である
。図中の符号4.5.6.7は第1図に対応している。
FIG. 2 is a block diagram of one embodiment of the bus occupancy control circuit. Reference numerals 4.5.6.7 in the figure correspond to those in FIG.

RE Q O−nは、上述の如く、直接マルチプレクサ
(MPX)8Cを通して優先回路4へ入力される直接ル
ート5、MPX8AあるいはMPX8Bを通しフリップ
・フロップ(FF)9Aあるいは9Bを介して入力され
るフリップ・フロップ・ルート6A、6Bあるいはバッ
ファ10に入力されて待たされるバッファ・ルート7の
いずれかに導びかれる。要求発生検出回路1)ではRE
QO−nの変化を監視しておりREQ0〜nのいずれか
が“O”−“1”に変化した時チェンジ信号(CHG)
を“1″にする。
As mentioned above, RE Q O-n is a direct route 5 which is input to the priority circuit 4 through the direct multiplexer (MPX) 8C, and a flip which is input through the flip-flop (FF) 9A or 9B through the MPX8A or MPX8B. - It is led to either the flop routes 6A, 6B or the buffer route 7 where it is input to the buffer 10 and waited. In the request generation detection circuit 1), RE
Changes in QO-n are monitored, and when any of REQ0 to n changes from “O” to “1”, a change signal (CHG) is sent.
Set to “1”.

上記FF9A及びFF9Bは、各々REQ0〜nに対応
したビット数を有し、それぞれのビットは対応するG 
N T O−nによってリセツトされる。
The above FF9A and FF9B each have the number of bits corresponding to REQ0 to REQn, and each bit corresponds to the G
Reset by N T O-n.

バッファ10も同様にデータ幅はn個あり、奥行はm段
ある。*AZERO及び*BZEROは各々FF−Aあ
るいはFl−Bの内容が全てθ″になったときに0″と
なる信号である。優先回路4は一般的な優先回路と同じ
ものであり、例えばQ>l>2.、、、>nの順で優先
度が高いものとして処理する。
Similarly, the buffer 10 has n data widths and m stages depth. *AZERO and *BZERO are signals that become 0'' when the contents of FF-A or Fl-B respectively reach θ''. The priority circuit 4 is the same as a general priority circuit, and for example, Q>l>2. , , >n are treated as having higher priority.

第3図は4つのモジュール(2−0,2−1,2−2,
2−3)による具体例を表わしたものである。
Figure 3 shows four modules (2-0, 2-1, 2-2,
2-3) represents a specific example.

■2−0.2−1.2−2より同時にREQO。■ REQO from 2-0.2-1.2-2 at the same time.

REQI、REQ2がセットされる。REQI and REQ2 are set.

この時CHG−“1”となりかつ*AZERO=*BZ
ERO=0であったので、REQ信号はMPX8Cを通
して優先(PRY)回路へ入力されその結果GNTOが
al”となる。
At this time, CHG becomes “1” and *AZERO=*BZ
Since ERO=0, the REQ signal is input to the priority (PRY) circuit through MPX8C, and as a result, GNTO becomes "al".

■■のタイミングで要求が受は付けられなかったREQ
I及びREQ2はFF9Aにセットされるとともに優先
回路4へはFF9Aの値が入力され、次にGNTlが送
出される。またこのタイミングで*AZERO信号は“
1”となる。
REQ request was not accepted at the timing of ■■
I and REQ2 are set to FF9A, and the value of FF9A is input to the priority circuit 4, and then GNTl is sent out. Also, at this timing, the *AZERO signal becomes “
1”.

■新たに要求のあったREQ3がFF9Bにセットされ
るとともに、上記REQ2に対応してGNT2が送出さ
れる。
(2) Newly requested REQ3 is set to FF9B, and GNT2 is sent in response to REQ2.

■上記■のタイミングのときに要求があったREQOは
*AZERO−*BZERO=“1″であるためにバッ
ファ10にセットされるが、当該■のタイミングでF’
F 9 Aの内容は“O”となる。また、同時にFF9
Bの内容が優先回路4に入力され、GNT3が送出され
る。
■The REQO that was requested at the timing of ■ above is set in the buffer 10 because *AZERO-*BZERO="1", but at the timing of the above ■, F'
The content of F 9 A becomes "O". Also, at the same time, FF9
The contents of B are input to the priority circuit 4, and GNT3 is sent out.

■FF9Aに関して*AZERO=0となっているので
上記■のタイミングのときバッファ10にセットされた
内容がFF9Aにセントされるとともに、FF9Bに関
して*BZERO=0となったので優先回路4にはFF
9Aの内容が入力され、GNTOが送出される。またこ
のタイミングではCHG−“0”であって新たな要求信
号の変化はないのでFF9Bあるいはバッファ10にセ
ットは生じない。
■Since *AZERO=0 for FF9A, the contents set in buffer 10 at the timing of ■ above are sent to FF9A, and *BZERO=0 for FF9B, so priority circuit 4 has FF
The contents of 9A are input and GNTO is sent out. Also, at this timing, CHG-“0” and there is no new change in the request signal, so no setting occurs in the FF 9B or the buffer 10.

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

以上説明した如く、本発明によれば、いわばバス使用要
求が永く待たされたものからハス使用を許可してゆくこ
とが可能となり、バス使用が平均化され、効率のよい制
御が可能となる。
As described above, according to the present invention, it becomes possible to permit the use of the bus from those whose bus use requests have been kept waiting for a long time, so to speak, the bus use is averaged, and efficient control becomes possible.

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

第1図は本発明の原理ブロック図、第2図は本発明の要
部であるバス占有制御回路の一実施例構成、第3図は動
作を説明するためのフローチャートを示す。 図中、1は共通バス、2−1はモジュール、3はバス占
有制御回路、4は優先(PRY)回路、5は直接ルート
、6はフリップ・フロップ・ルート、7はバッファ・ル
ートを表わしている。 特許出願人   富士通株式会社 代理人弁理士  森 1) 寛(外1名)ントー巧で5
0月の7tyq子番−7゛p、ンクlΩ才1図 享AZERO−−−−−−」−一 χBZERC)      −−−−−CHG  −一
丁一一一一一一 着力作 才3凪
FIG. 1 is a block diagram of the principle of the present invention, FIG. 2 shows the configuration of an embodiment of a bus occupancy control circuit which is a main part of the present invention, and FIG. 3 is a flowchart for explaining the operation. In the figure, 1 is a common bus, 2-1 is a module, 3 is a bus occupancy control circuit, 4 is a priority (PRY) circuit, 5 is a direct route, 6 is a flip-flop route, and 7 is a buffer route. There is. Patent applicant Fujitsu Ltd. Representative Patent Attorney Mori 1) Hiroshi (1 other person) Takumi Nto 5
0 month's 7tyq child number - 7゛p, nku lΩsai 1 figure Kyou AZERO - - 1χBZERC) -------- CHG - 1cho 1111 wear ability 3 calm

Claims (1)

【特許請求の範囲】 共通バス(1)に連繋される複数のモジュール(2−i
)をそなえると共に、上記各モジュール(2−i)から
の上記共通バス(1)を占有する要求を管理するバス占
有制御回路(3)をそなえるデータ処理システムにおい
て、 上記バス占有制御回路(3)は、上記各モジュール(2
−i)からのバス使用要求信号(REQ0〜n)につい
ての優先順位を決定して同時期に単一のモジュール(2
−i)に対してのみ許可信号(GNT0〜n)を発する
優先回路(4)をそなえると共に、 上記各モジュール(2−i)からのバス使用要求信号(
REQ0〜n)を上記優先回路(4)に導びくための、
直接ルート(5)とフリップ・フロップ・ルート(6)
とバッファ・ルート(7)とをそなえ、上記バス使用要
求信号(REQ0〜n)は、上記直接ルート(5)、つ
いでフリップ・フロップ・ルート(6)、ついでバッフ
ァ・ルート(7)の順に上位ルートが満杯にあるとき下
位ルートに割付けられるよう構成され、 かつ上記バッファ・ルート(7)に割付けられているバ
ス使用要求信号(REQ0〜n)は、より早く割付けら
れたものから順に、少なくとも上記フリップ・フロップ
・ルート(6)が空き状態になったとき、当該フリップ
・フロップ・ルート(6)に転送されるよう構成される
ことを特徴とするバス占有制御方式。
[Claims] A plurality of modules (2-i
) and a bus occupancy control circuit (3) that manages requests from each of the modules (2-i) to occupy the common bus (1), the bus occupancy control circuit (3) is for each of the above modules (2
- determine the priority order for the bus use request signals (REQ0 to n) from
-i) is provided with a priority circuit (4) that issues permission signals (GNT0 to GNTn) only for the above-mentioned modules (2-i).
In order to guide REQ0 to n) to the above priority circuit (4),
Direct route (5) and flip-flop route (6)
and a buffer route (7), and the bus use request signals (REQ0-n) are sent to the direct route (5), then to the flip-flop route (6), and then to the buffer route (7) in the order above. The bus use request signals (REQ0-n) which are configured to be assigned to the lower route when the route is full and which are assigned to the buffer route (7) are assigned at least to the buffer route (7) in order of earliest assignment. A bus occupancy control system characterized in that when the flip-flop route (6) becomes vacant, data is transferred to the flip-flop route (6).
JP5370985A 1985-03-18 1985-03-18 Control system for bus occupation Pending JPS61213955A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5370985A JPS61213955A (en) 1985-03-18 1985-03-18 Control system for bus occupation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5370985A JPS61213955A (en) 1985-03-18 1985-03-18 Control system for bus occupation

Publications (1)

Publication Number Publication Date
JPS61213955A true JPS61213955A (en) 1986-09-22

Family

ID=12950356

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5370985A Pending JPS61213955A (en) 1985-03-18 1985-03-18 Control system for bus occupation

Country Status (1)

Country Link
JP (1) JPS61213955A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0430238A (en) * 1990-05-25 1992-02-03 Oki Electric Ind Co Ltd Method and circuit for bus access arbitration
US6868150B1 (en) 1990-01-03 2005-03-15 Morris Reese Method for use with caller ID system
US6970544B1 (en) 1990-01-03 2005-11-29 Morris Reese Method and apparatus for caller ID system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6868150B1 (en) 1990-01-03 2005-03-15 Morris Reese Method for use with caller ID system
US6970544B1 (en) 1990-01-03 2005-11-29 Morris Reese Method and apparatus for caller ID system
JPH0430238A (en) * 1990-05-25 1992-02-03 Oki Electric Ind Co Ltd Method and circuit for bus access arbitration

Similar Documents

Publication Publication Date Title
US5485586A (en) Queue based arbitration using a FIFO data structure
US4577273A (en) Multiple microcomputer system for digital computers
JP2622654B2 (en) Arbitration method and apparatus for multiple requests
EP0383475A2 (en) Shared resource arbitration
JPH02219156A (en) Access priority determining apparatus and bus arbiter
KR960025076A (en) Heuristic bus access arbiter
US5530903A (en) System for reassigning a higher priority to an interrupted user by inhibiting the access of other users until the interrupted user has completed its task
JPH04257054A (en) Inter-channel connecting apparatus
US5649209A (en) Bus coupling information processing system for multiple access to system bus
KR960042385A (en) Arbitrator by LRU
US5680554A (en) Method and apparatus for arbitrating among processors for access to a common bus
US7054970B2 (en) Bus arbiter for integrated circuit systems
JPH0630086B2 (en) Device for assigning priority among computers operating in parallel
JPS61213955A (en) Control system for bus occupation
US20020120799A1 (en) Method and system to promote arbitration priority in a buffer queue
JPS594733B2 (en) Kyoutsuba Seigiyo Cairo
JPH0210459A (en) Bus use right determining system
JPH0330175B2 (en)
JPS63276155A (en) Bus multiple control system
KR0126417B1 (en) Multi-channel input-output controlling device
EP0284094B1 (en) Tandem priority resolver
JPH08339345A (en) Information processing system
JPH03282955A (en) Bus arbitration circuit
JPH04322353A (en) Bus system
JPH03296158A (en) Arbitration control system for bus using right