JPH0310355A - Common bus priority control method - Google Patents

Common bus priority control method

Info

Publication number
JPH0310355A
JPH0310355A JP14465289A JP14465289A JPH0310355A JP H0310355 A JPH0310355 A JP H0310355A JP 14465289 A JP14465289 A JP 14465289A JP 14465289 A JP14465289 A JP 14465289A JP H0310355 A JPH0310355 A JP H0310355A
Authority
JP
Japan
Prior art keywords
bus
common bus
common
priority
memory
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
JP14465289A
Other languages
Japanese (ja)
Inventor
Haruichi Nakano
中野 晴一
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.)
Fuji Electric Co Ltd
Fuji Facom Corp
Original Assignee
Fuji Electric Co Ltd
Fuji Facom 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 Fuji Electric Co Ltd, Fuji Facom Corp filed Critical Fuji Electric Co Ltd
Priority to JP14465289A priority Critical patent/JPH0310355A/en
Publication of JPH0310355A publication Critical patent/JPH0310355A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To efficiently operate a common bus by changing the time distribution for giving of the priority of a bus in accordance with the dynamically changing frequency in common bus use of each bus master. CONSTITUTION:The processor of a common bus control part 21 rewrites time distribution data for giving of the priority to individual bus masters in a memory 5 based on a prescribed program in accordance with change requests of common bus acquisition timing from bus masters 22 to 2. After this rewrite, time distribution data in the memory 5 is successively cyclically accessed by a counter 3, and the output of the memory 5 at this time is used as an acquisition permitting signal of a common bus 31 to each bus master. Thus, the common bus is efficiently used because the common bus control part 21 manages the priority control of the common bus 31 is accordance with frequencies in common bus use of bus masters.

Description

【発明の詳細な説明】[Detailed description of the invention] 【産業上の利用分野】[Industrial application field]

この発明は複数のパスマスクにタイムシェアリングで共
通バスの優先権を与えるシステムにおける共通バスの優
先制御の方法に関する。 なお以下各図において同一の符号は同一もしくは相当部
分を示す。
The present invention relates to a method of priority control of a common bus in a system that gives priority to a common bus by time sharing to a plurality of path masks. Note that in the following figures, the same reference numerals indicate the same or corresponding parts.

【従来の技術】[Conventional technology]

従来、タイムシェアリングで共通バスの優先制御を行う
システムでは切換板やROMなどハードウェア固定で、
優先権を獲得できる時間を規定管理しいるものが多い。
Conventionally, systems that perform priority control of common buses using time sharing have fixed hardware such as switching boards and ROM.
Many have regulations governing the time during which priority can be obtained.

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

しかしながら前記のような従来技術では、共通バスの優
先権を獲得できる時間がハードウェア固定であるために
、ダイナミックに変化する各バスマスタの共通バスの使
用頻度に対応できず、結果として全体としての共通バス
の利用効率が」二がらないという欠点があった。 そこで本発明はこの問題を解消するために、共通バス制
御部においてカウンタと書換え可能なメモリを用いてそ
のメモリ出力を共通バスの優先制御における優先権を獲
得できる時間の管理に割当てることで、そのメモリを共
通バス制御部のプロセッサがプログラマブルに書換えら
れるようにした共通バス優先制御方法を提供することを
課題とする。
However, with the above-mentioned conventional technology, the time during which priority can be acquired for the common bus is fixed by the hardware, so it cannot cope with the dynamically changing frequency of use of the common bus by each bus master, and as a result, the overall common The disadvantage was that the efficiency of bus use was not improved. Therefore, in order to solve this problem, the present invention uses a counter and a rewritable memory in the common bus control unit and allocates the memory output to manage the time during which priority can be acquired in the priority control of the common bus. An object of the present invention is to provide a common bus priority control method in which memory can be programmably rewritten by a processor of a common bus control unit.

【課題を解決するだめの手段】[Means to solve the problem]

前記の課題を解決するために本発明の方法は、”?lの
バスマスク(22〜24など)にタイムシェアリングで
共通バス(31など)の優先権を与えるシステムにおい
て、バスマスタの時間配分変更要求に応じて、バスマス
ク別の優先権を付与する時間の配分を切換えられるよう
に、カウンタ(3など)と書換え可能なメモリ(5など
)を用意し、それを共通バス制御部(21など)のプロ
セッサ(1など)が−括管理することによりバスマスタ
の共通バスの使用頻度に応じた優先権を付与するように
」するものとする。
In order to solve the above problems, the method of the present invention is to change the time allocation of bus masters in a system that gives priority to a common bus (such as 31) to bus masks (22 to 24, etc.) in time sharing. In order to switch the time allocation for giving priority to each bus mask according to requests, a counter (such as 3) and a rewritable memory (such as 5) are prepared, and these are connected to a common bus control unit (such as 21). )'s processors (such as 1) collectively manage the bus masters to give them priority according to the frequency of use of the common bus.

【作 用】[For use]

共通パス制御部のプロセッサがバスマスクからの共通バ
ス獲得タイミングの変更要求に応じて所定のプログラム
に基づいて、メモリ内のバスマスタ別の優先権付与の時
間配分データを書換え、この書換え後、カウンタによっ
てサイクリックに前記メモリ内の時間配分データを順次
アクセスさせ、この時のメモリの出力をバスマスク別の
共通バス獲得許可信号とする。
The processor of the common path control unit rewrites the time allocation data for giving priority to each bus master in the memory based on a predetermined program in response to a request to change the common bus acquisition timing from the bus mask. The time allocation data in the memory is cyclically accessed in sequence, and the output of the memory at this time is used as a common bus acquisition permission signal for each bus mask.

【実施例】【Example】

以下第1図ないし第5図に基づいて本発明の詳細な説明
する。 まず第2図に本発明が適用されるシステム構成例を示す
。このシステムでは各バスマスク22〜24が共通バス
3Iを介して共通メモリ25をアクセスする事を主な目
的としているものとする。ここで共通パス制御部21は
共通バス31の使用許可(共通バス獲得許可信号)を各
バスマスタ22〜24に与える役割を持つ。なお以下で
は、説明の便宜上、バスマスク22〜24の名称をそれ
ぞれバスマスタ(A)〜バスマスタ(C)とも名付ける
ものとする。 第5図に例としてバスマスタ(B)23がバスを獲得、
使用、開放するタイミングを示す。 各バスマスタ22〜24はそれぞれ共通バス制御部21
へ共通バス31を要求する旨の内部要求信号BRQを出
力したとき、各々に共通バス制御部21から与えられる
共通バス獲得許可信号E (BA、EB。 EC)が有効で、かつ他のバスマスタが共通バス3■を
使用していない(第5図のバスビジィ信号EESYが無
効である)場合にのみ、バスビジィ信号BBSYを有効
にして共通バス31を獲得する事ができる。 いま上記のシステムに第3図に示す様な共通バス31の
獲得許可信号EA〜ECのタイミングが初期値として与
えられている時に、ある時点で共通メモリ25の使用頻
度が増大するとバスマスク(B)23が判断したとする
。その場合、バスマスク(B)は共通バス制御部21(
の後述のプロセッサ1)に対して共通バス獲得タイミン
グの変更要求を共通バス31を介してコマンドなどで伝
える。その要求を受けた共通バス制御部21(のプロセ
ッサl)は、他のバスマスクからの要求も考慮して、第
4図に示すような新しい共通バス獲得許可タイミングを
設定し、バスマスクの共通バスの使用頻度に応した優先
制御が行われるようにする。 第1図にそのタイミングをプログラマブルに書換えるた
めの共通バス制御部21のハードウェア構成の実施例を
示す。プロセッサ1はバス獲得許可信号Eのタイミング
の変更値を設定するために、プロセッサアドレスバス1
1.デコーダ2を介してメモリ選択信号12をメモリ5
に与えて、メモリ5を選択する。その選択信号12によ
りアドレスセレクタ4の端子Bに人力されているアドレ
ス信号、すなわちプロセッサ1からのアドレス(信号)
がメモリ5に入力される。 プロセッサ1はそのアドレス、つまり第4図に示す任意
の時間10〜t7に対し、どのバスマスクに優先権を与
えるかを示すためにプロセッサデータバス14の1本を
有効とする。その出力されたデータは、バッファ7を経
由してメモリ5に格納される。その間バッファ6は有効
にならない。プロセッサ1のメモリ5に対するアクセス
が終了すると、メモリ選択信号12の消)戟により、ア
ドレスセレクタ4はOから7までを1つずつインクリメ
ントしながら繰返し一定の周期りでカウントする3ビツ
トのカウンタ3の出力、つまり端子Aの入力信号をメモ
リ5へのアトルスとして与える。メモリ5は与えられた
アドレス(信号)(0〜7)に対応して、プロセッサ1
が前記のように書込んだデータを、(共通バス獲得タイ
ミング変更要求に応じた任意の時間分のバスマスクが優
先権を獲得できるタイミングを示す信号として)バッフ
ァ6から出力する。 このようにしてバスマスクの共通バスの使用頻度に応じ
て共通バス制御部21が共通バス31の優先制御を管理
することで、共通バスの利用を効率的に運用する事が可
能となる。
The present invention will be explained in detail below based on FIGS. 1 to 5. First, FIG. 2 shows an example of a system configuration to which the present invention is applied. In this system, the main purpose of each bus mask 22 to 24 is to access the common memory 25 via the common bus 3I. Here, the common path control unit 21 has the role of giving permission to use the common bus 31 (common bus acquisition permission signal) to each of the bus masters 22 to 24. In the following, for convenience of explanation, the bus masks 22 to 24 will also be named bus master (A) to bus master (C), respectively. As an example in FIG. 5, bus master (B) 23 acquires the bus,
Indicates when to use and release. Each of the bus masters 22 to 24 has a common bus control section 21.
When the internal request signal BRQ requesting the common bus 31 is output to the respective bus masters, the common bus acquisition permission signals E (BA, EB, EC) given from the common bus control unit 21 to each bus master are valid and the other bus masters are The common bus 31 can be acquired by validating the bus busy signal BBSY only when the common bus 3■ is not used (the bus busy signal EESY in FIG. 5 is invalid). Now, when the timing of the acquisition permission signals EA to EC of the common bus 31 as shown in FIG. )23 has made the decision. In that case, the bus mask (B) is the common bus control unit 21 (
A request to change the common bus acquisition timing is transmitted to the processor 1), which will be described later, via the common bus 31 using a command or the like. Having received the request, the common bus control unit 21 (processor 1) sets a new common bus acquisition permission timing as shown in FIG. 4, taking into account requests from other bus masks, and To perform priority control according to the frequency of bus use. FIG. 1 shows an embodiment of the hardware configuration of the common bus control section 21 for programmably rewriting the timing. Processor 1 uses processor address bus 1 to set the timing change value of bus acquisition permission signal E.
1. The memory selection signal 12 is sent to the memory 5 via the decoder 2.
to select memory 5. The address signal inputted to the terminal B of the address selector 4 by the selection signal 12, that is, the address (signal) from the processor 1
is input into the memory 5. The processor 1 makes one of the processor data buses 14 valid for that address, that is, for any time 10 to t7 shown in FIG. 4, to indicate which bus mask is given priority. The output data is stored in the memory 5 via the buffer 7. During this time, buffer 6 is not enabled. When the access to the memory 5 by the processor 1 is completed, the memory selection signal 12 is turned off, and the address selector 4 starts the 3-bit counter 3, which repeatedly increments from 0 to 7 at a constant cycle. The output, that is, the input signal at terminal A is given as an atlus to the memory 5. The memory 5 corresponds to the given address (signal) (0 to 7) and the processor 1
The data written in the above manner is output from the buffer 6 (as a signal indicating the timing at which the bus mask for an arbitrary period of time can acquire priority in response to the common bus acquisition timing change request). In this way, the common bus control unit 21 manages the priority control of the common bus 31 according to the frequency of use of the common bus in the bus mask, thereby making it possible to efficiently utilize the common bus.

【発明の効果】【Effect of the invention】

本発明によれば、ダイナミックに変化する各バスマスク
の共通バスの使用頻度に応じてバスの優先権付与の時間
配分を変えられるようにしたので、結果として共通バス
の効率的運用が可能となる。
According to the present invention, it is possible to change the time allocation for giving bus priority according to the frequency of use of the common bus for each bus mask, which changes dynamically, and as a result, efficient operation of the common bus is possible. .

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

第1図は本発明の一実施例としての共通バス制御部の構
成図、 第2図は同じく本発明が適用される全体システムの構成
図、 第3図、第4図はそれぞれ共通バス獲得許可のタイミン
グ配分の異なる例を示すタイムチャート、第5図は共通
バスの獲得例を示すタイムチャートである。
FIG. 1 is a block diagram of a common bus control unit as an embodiment of the present invention, FIG. 2 is a block diagram of the overall system to which the present invention is applied, and FIGS. 3 and 4 are respective common bus acquisition permissions. FIG. 5 is a time chart showing different examples of timing allocation. FIG. 5 is a time chart showing an example of acquiring a common bus.

Claims (1)

【特許請求の範囲】[Claims] 1)複数のバスマスタにタイムシエアリングで共通バス
の優先権を与えるシステムにおいて、バスマスタの時間
配分変更要求に応じて、バスマスタ別の優先権を付与す
る時間の配分を切換えられるように、カウンタと書換え
可能なメモリを用意し、それを共通バス制御部のプロセ
ッサが一括管理することによりバスマスタの共通バスの
使用頻度に応じた優先権を付与するようにしたことを特
徴とする共通バス優先制御方法。
1) In a system that gives priority to a common bus to multiple bus masters through time sharing, the counter is rewritten so that the time allocation that gives priority to each bus master can be switched in response to a bus master's time allocation change request. A common bus priority control method, characterized in that a processor of a common bus control section collectively manages the available memory and gives priority according to the frequency of use of the common bus by a bus master.
JP14465289A 1989-06-07 1989-06-07 Common bus priority control method Pending JPH0310355A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14465289A JPH0310355A (en) 1989-06-07 1989-06-07 Common bus priority control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14465289A JPH0310355A (en) 1989-06-07 1989-06-07 Common bus priority control method

Publications (1)

Publication Number Publication Date
JPH0310355A true JPH0310355A (en) 1991-01-17

Family

ID=15367068

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14465289A Pending JPH0310355A (en) 1989-06-07 1989-06-07 Common bus priority control method

Country Status (1)

Country Link
JP (1) JPH0310355A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09160867A (en) * 1995-12-04 1997-06-20 Nec Corp Common circuit access system for communication controller
US7352538B2 (en) 2001-04-19 2008-04-01 Fujitsu Limited Magnetic disk drive piezoelectric actuator with hinge plate limbs extending non-linear symmetrically from central portion
US7536490B2 (en) * 2006-07-20 2009-05-19 Via Technologies, Inc. Method for link bandwidth management

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09160867A (en) * 1995-12-04 1997-06-20 Nec Corp Common circuit access system for communication controller
US7352538B2 (en) 2001-04-19 2008-04-01 Fujitsu Limited Magnetic disk drive piezoelectric actuator with hinge plate limbs extending non-linear symmetrically from central portion
US7536490B2 (en) * 2006-07-20 2009-05-19 Via Technologies, Inc. Method for link bandwidth management

Similar Documents

Publication Publication Date Title
EP0355463B1 (en) Timer channel with multiple timer reference features
EP0355363B1 (en) Integrated circuit timer with multiple channels and dedicated service processor
EP0355465B1 (en) Timer channel with match recognition features
EP0355462B1 (en) Dedicated service processor with inter-channel communication features
JPH0310355A (en) Common bus priority control method
JPS6019819B2 (en) Bus right control method
JPS5819973A (en) Multiprocessor computer of time division bus system
JPH07114496A (en) Shared memory control circuit
JPS62125444A (en) Memory shared area control method
JP2004220309A (en) Multiprocessor system
JPS63104163A (en) Bus sharing system
JP2648017B2 (en) Microcomputer
JP2002175270A (en) Exclusive control of bus
JPS58217071A (en) Information processing system
JPH0589034A (en) Bus control circuit
KR19990062330A (en) Interrupt Control in Multi-Processor Systems
JPS61165172A (en) Memory access controlling system
JPH0573518A (en) Memory mapped cpu system
JP2020071688A (en) Semiconductor device
JPH043239A (en) Bus controller
JPS63231662A (en) Bus control circuit
JPH04148264A (en) Information processor
JPH05342116A (en) Microprocessor
JPS6240568A (en) Bus managing device
JPH03282955A (en) Bus arbitration circuit