JP2617601B2 - Bus control device - Google Patents

Bus control device

Info

Publication number
JP2617601B2
JP2617601B2 JP6646590A JP6646590A JP2617601B2 JP 2617601 B2 JP2617601 B2 JP 2617601B2 JP 6646590 A JP6646590 A JP 6646590A JP 6646590 A JP6646590 A JP 6646590A JP 2617601 B2 JP2617601 B2 JP 2617601B2
Authority
JP
Japan
Prior art keywords
data transfer
bus
transfer device
data
counter
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.)
Expired - Fee Related
Application number
JP6646590A
Other languages
Japanese (ja)
Other versions
JPH03265962A (en
Inventor
邦夫 中瀬
誠 新妻
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP6646590A priority Critical patent/JP2617601B2/en
Publication of JPH03265962A publication Critical patent/JPH03265962A/en
Application granted granted Critical
Publication of JP2617601B2 publication Critical patent/JP2617601B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はバス制御装置、特にバス構造通信方式の情報
処理装置において、バス使用権をデータ転送装置に与え
るバス制御装置に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bus control device, and more particularly to a bus control device for giving a bus use right to a data transfer device in an information processing device of a bus structure communication system.

〔従来の技術〕[Conventional technology]

従来この種のバス制御装置でのバス使用許可信号の制
御方式としては以下のものがあげられる。
Conventionally, as a control method of a bus use permission signal in this type of bus control device, there is the following method.

1.データ転送装置を一定時間間隔で順次選択し、バス使
用権を与える方式 2.各データ転送装置に対して優先順位を与え、データ転
送装置からの要求に応答して優先順位に従ってバス使用
権を与える方式 〔発明が解決しようとする課題〕 上述した従来のバス制御装置のうちの前者は、データ
転送装置からのバス使用要求の有無に関わらず、バス使
用権が与えられるため、即ち、バス使用を要求していな
いデータ転送装置に対してもバス使用権を与えてしまう
ため、データ転送装置のバス使用頻度、重要度がアンバ
ランスなシステムではバスへの要求度の高いデータ転送
装置のバスの使用効率が低下してしまう。
1. A method of sequentially selecting data transfer devices at fixed time intervals and granting the right to use the bus 2. Assigning a priority to each data transfer device and responding to a request from the data transfer device according to the priority [Problems to be Solved by the Invention] The former of the above-mentioned conventional bus control devices is provided with the right to use the bus irrespective of the presence or absence of a bus use request from the data transfer device, that is, Since the right to use the bus is also given to a data transfer device that has not requested use, in a system in which the bus use frequency and importance of the data transfer device are unbalanced, the bus of the data transfer device with a high demand for the bus is used. Use efficiency is reduced.

また従来のバス制御装置のうちの後者は、バス制御装
置でデータ転送装置からのバス使用要求の信号が受け付
けられるまで、データ転送装置は次の要求を出せないと
いう欠点があった。また、優先順位判定のためにデータ
転送装置とバス制御装置内の選択回路との関に信号の応
答が必要となり、その間はバスの使用が出来ないため、
バスの使用効率が落ちてしまう。
Further, the latter of the conventional bus control devices has a disadvantage that the data transfer device cannot issue the next request until the bus control device receives a bus use request signal from the data transfer device. Also, a signal response is required between the data transfer device and the selection circuit in the bus control device for priority determination, and during that time the bus cannot be used.
The use efficiency of the bus decreases.

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

本発明のバス制御装置は、複数のデータ転送装置とデ
ータバスを介して接続され前記データ転送装置に優先順
位を与える手段と、前記データ転送装置に対応して設け
られたカウンタと、前記データ転送装置からのデータ転
送要求発生時に前記カウンタに“1"を加算する手段と、
前記カウンタの値を参照して“1"以上の値を有するカウ
ンタに対応するデータ転送装置を優先順位に従い選択す
る手段と、前記選択手段により選択したデータ転送装置
に対応する前記カウンタより“1"を減算する手段と、前
記選択手段により選択されたデータ転送装置にデータバ
スの使用を許可する手段を有する。
The bus control device according to the present invention includes: a unit connected to a plurality of data transfer devices via a data bus for giving priority to the data transfer devices; a counter provided corresponding to the data transfer device; Means for adding “1” to the counter when a data transfer request is issued from the device;
Means for selecting a data transfer device corresponding to a counter having a value equal to or more than "1" with reference to the value of the counter in accordance with a priority order; And means for permitting the data transfer device selected by the selection means to use the data bus.

〔実施例〕〔Example〕

次に、本発明の一実施例について図面を参照して説明
する。
Next, an embodiment of the present invention will be described with reference to the drawings.

第1図は本発明の実施例のブロック図である。 FIG. 1 is a block diagram of an embodiment of the present invention.

第1図において、1はバス制御装置、131〜13nはデー
タ転送装置21〜2nに対応して設けられた使用許可待ち状
態にあるバス使用要求数を計算するカウンタ、12はカウ
ンタ131〜13nの優先術位を決定する優先順位決定回路
を、11は優先順位決定回路12によって決定した優先順位
よりカウンタを選択する選択回路、14は選択回路11によ
り選択されたデータ転送装置に対してバス使用許可信号
を発生するバス使用許可信号発生回路を、15はデータ受
信バッファ、21〜2nはデータ転送装置、211〜2n1はデー
タ送出回路、212〜2n2はバス使用要求信号を発生するバ
ス使用要求信号発生回路、213〜2n3はデータ送信バッフ
ァ、214〜2n4はデータを制御する際にデータ送出バッフ
ァ214〜2n4を制御するデータ送出制御回路、3はデータ
バス、41〜4nはバス使用要求信号、51〜5nはバス使用許
可信号、61〜6nは121〜12nのカウンタを減算するカウン
タ減算信号をそれぞれ示す。
In FIG. 1, reference numeral 1 denotes a bus control device; 131 to 13n, counters for calculating the number of bus use requests in a use permission waiting state provided corresponding to the data transfer devices 21 to 2n; and 12, a counter 131 to 13n A priority determining circuit for determining a priority operation, 11 is a selecting circuit for selecting a counter from the priority determined by the priority determining circuit 12, and 14 is a bus permission for the data transfer device selected by the selecting circuit 11. A bus use permission signal generation circuit for generating signals, 15 is a data reception buffer, 21 to 2n are data transfer devices, 211 to 2n1 are data transmission circuits, and 212 to 2n2 are bus use request signal generation circuits for generating bus use request signals. Circuits, 213 to 2n3 are data transmission buffers, 214 to 2n4 are data transmission control circuits for controlling the data transmission buffers 214 to 2n4 when controlling data, 3 is a data bus, 41 to 4n are bus use request signals, and 51 to 4n. 5n is a bus Use permission signals 61 to 6n indicate counter subtraction signals for subtracting the counters 121 to 12n, respectively.

データ転送装置21〜2nはデータ送出回路211〜21nでデ
ータバスの使用条件が発生した時、該情報をデータ送信
バッファ213〜2n3に格納するとともにバス制御装置1に
対しバス使用要求信号発生回路212〜2n2からバス使用要
求信号41〜4nによりデータバスの使用を要求する。この
要求によりカウンタ121〜12nは“1"が加算される。
When a data bus use condition occurs in the data transmission circuits 211 to 21n, the data transfer devices 21 to 2n store the information in the data transmission buffers 213 to 2n3 and send a bus use request signal generation circuit 212 to the bus control device 1. The use of the data bus is requested by bus use request signals 41 to 4n from .about.2n2. In response to this request, "1" is added to the counters 121 to 12n.

優先順位決定回路12は、カウンタ121〜12nに対しあら
かじめ優先順位を与えておき、各カウンタを参照して
“1"以上の値を有するカウンタの優先順位を有効とす
る。選択回路11は、優先順位決定回路12を参照して優先
順位が最も高いカウンタを選択し(いま121が選択され
たとする)、対応するデータ転送装置21に対してバス使
用許可信号発生回路14よりバス使用許可信号51を発生す
る。
The priority determining circuit 12 assigns priorities to the counters 121 to 12n in advance, and refers to each counter to make the priority of the counter having a value of “1” or more valid. The selection circuit 11 selects the counter having the highest priority with reference to the priority determination circuit 12 (it is assumed that 121 has been selected), and sends the corresponding data transfer device 21 a bus use permission signal generation circuit 14 A bus use permission signal 51 is generated.

バス使用許可信号51を受信したデータ転送装置21はデ
ータ送出制御回路214によりデータバス3を介してデー
タ送信バッファ213の内容をデータ受信バッファ15に移
送する。
The data transfer device 21 having received the bus use permission signal 51 transfers the contents of the data transmission buffer 213 to the data reception buffer 15 via the data bus 3 by the data transmission control circuit 214.

さらにバス使用許可信号発生回路14は、先に選択した
データ転送装置21に対応するカウンタ131を“1"減算し
動作を終了する。
Further, the bus use permission signal generation circuit 14 decrements the counter 131 corresponding to the previously selected data transfer device 21 by "1", and ends the operation.

以上の操作により、バス制御装置1内のカウンタ131
〜13nは、データ転送装置21〜2nからのデータ転送要求
数が格納されることになり、本データを用いて、優先順
位決定回路12及び選択回路11にて要求の有無を含めた優
先判定をすることができる。また、バス制御装置1内で
各データ転送装置からのバス使用要求数をカウントして
いるので、バス制御装置1からは連続してバス使用許可
をデータ転送装置に送ることができ、データ転送装置か
らはバス使用許可を待つことなくバス使用要求をするこ
とができる。
By the above operation, the counter 131 in the bus control device 1
13n store the number of data transfer requests from the data transfer devices 21 to 2n.Using this data, the priority determination circuit 12 and the selection circuit 11 perform priority determination including presence / absence of a request. can do. Further, since the number of bus use requests from each data transfer device is counted in the bus control device 1, the bus control device 1 can continuously send a bus use permission to the data transfer device. From here, a bus use request can be made without waiting for a bus use permission.

また、第1図ではデータ転送は、データ転送装置21〜
2nからバス制御装置1に対して実施しているが、この逆
も同様の方法により容易に実現できる。
In FIG. 1, the data transfer is performed by the data transfer devices 21 to
Although the process is performed for the bus control device 1 from 2n, the reverse can be easily realized by the same method.

〔発明の効果〕〔The invention's effect〕

以上説明したように本発明は、バス制御装置がデータ
転送装置毎にバス使用要求数を計算するカウンタを持つ
ことにより各データ転送装置からのバス使用要求が存在
するデータ転送装置にのみバス使用を許可することがで
き、また、バス使用要求の受信とデータ転送装置の選択
が平行して実施でき、バスの使用効率が高い装置を構成
することが出来る。
As described above, according to the present invention, the bus control device has a counter for calculating the number of bus use requests for each data transfer device, so that the bus use is performed only for the data transfer device having the bus use request from each data transfer device. It is possible to permit the use of the bus and to select the data transfer device in parallel with the reception of the bus use request, so that a device with high bus use efficiency can be configured.

また、バス制御装置内のカウンタがデータ転送装置の
バス使用要求量を保持することにより、データ転送装置
はバス使用要求の発生をすべて報告することができ、デ
ータ転送装置内のバス使用要求信号の発生回路が簡略化
できる。
Further, since the counter in the bus control device holds the bus use request amount of the data transfer device, the data transfer device can report all occurrences of the bus use request, and the bus use request signal in the data transfer device can be reported. The generation circuit can be simplified.

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

第1図は本発明の一実施例を示す図である。 1……バス制御装置、11……選択回路、12……優先順位
決定回路、131〜13n……カウンタ、14……バス使用許可
信号発生回路、15……データ受信バッファ、21〜2n……
データ転送装置、211〜2n1……データ送出回路、212〜2
n2……バス使用要求信号発生回路、213〜2n3……データ
送信バッファ、214〜2n4……データ送出制御回路、3…
…データバス。
FIG. 1 shows an embodiment of the present invention. DESCRIPTION OF SYMBOLS 1 ... Bus control device, 11 ... Selection circuit, 12 ... Priority determination circuit, 131-13n ... Counter, 14 ... Bus use permission signal generation circuit, 15 ... Data reception buffer, 21-2n ...
Data transfer device, 211-2n1 Data transmission circuit, 212-2
n2: Bus use request signal generation circuit, 213 to 2n3 ... Data transmission buffer, 214 to 2n4 ... Data transmission control circuit, 3 ...
... data bus.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】複数のデータ転送装置とデータバスを介し
て接続され、前記データ転送装置からのデータ転送要求
に応答して、前記データ転送装置にデータバスの使用を
許可するバス制御装置において、 前記データ転送装置の優先順位を保持する手段と、前記
データ転送装置に対応して設けられたカウンタと、前記
データ転送装置からのデータ転送要求発生時に前記カウ
ンタに“1"を加算する手段と、前記カウンタの値を参照
して“1"以上の値を有するカウンタに対応するデータ転
送装置を優先順位に従い選択する手段と、前記選択手段
により選択したデータ転送装置に対応する前記カウンタ
より“1"を減算する手段と、前記選択手段より選択され
たデータ転送装置にデータバスの使用を許可する手段と
を有することを特徴とするバス制御装置。
1. A bus control device connected to a plurality of data transfer devices via a data bus, and in response to a data transfer request from the data transfer device, allowing the data transfer device to use the data bus. Means for retaining the priority of the data transfer device, a counter provided corresponding to the data transfer device, and means for adding "1" to the counter when a data transfer request is issued from the data transfer device; Means for selecting a data transfer device corresponding to a counter having a value equal to or more than "1" by referring to the value of the counter in accordance with a priority order; and selecting "1" from the counter corresponding to the data transfer device selected by the selection means. And a means for permitting the data transfer device selected by the selection means to use the data bus.
JP6646590A 1990-03-15 1990-03-15 Bus control device Expired - Fee Related JP2617601B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6646590A JP2617601B2 (en) 1990-03-15 1990-03-15 Bus control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6646590A JP2617601B2 (en) 1990-03-15 1990-03-15 Bus control device

Publications (2)

Publication Number Publication Date
JPH03265962A JPH03265962A (en) 1991-11-27
JP2617601B2 true JP2617601B2 (en) 1997-06-04

Family

ID=13316560

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6646590A Expired - Fee Related JP2617601B2 (en) 1990-03-15 1990-03-15 Bus control device

Country Status (1)

Country Link
JP (1) JP2617601B2 (en)

Also Published As

Publication number Publication date
JPH03265962A (en) 1991-11-27

Similar Documents

Publication Publication Date Title
US5958031A (en) Data transmitting/receiving device of a multiprocessor system and method therefor
JP2617601B2 (en) Bus control device
JPS63236156A (en) Interrupt warning apparatus
JPH04251367A (en) Bus controller
JPH03265963A (en) Bus controller
JP3074598B2 (en) Data exchange device
JPS6035854A (en) Data transmission system
JPH02245860A (en) Data transfer sysem
JPH05250313A (en) Bus controller
JPS60246466A (en) Communication request selecting system
JP3149143B2 (en) Access arbitration method
JPS63155249A (en) Inter-equipment communication system
JPH0588020B2 (en)
JP2570192B2 (en) Loop type local area network system
JP2504478B2 (en) Facsimile storage and switching equipment
SU717769A1 (en) Device for control of interruption of programs
JP2573332B2 (en) Data transfer control method
SU1509891A1 (en) Device for distributing tasks among processors
JPH05189390A (en) Transaction scheduling system
JPS6326758A (en) Packet communication equipment by dynamic polling
JP2758752B2 (en) Common bus contention arbitration method
JPH05324545A (en) Bus controller
JPH086912A (en) Inter-processor communication method and equipment
JPS6343489A (en) Representative line selection and processing system in multi-processor electronic switching system
JPS5936865A (en) Method for controlling priority

Legal Events

Date Code Title Description
S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees