JPH056334A - Bus control device - Google Patents

Bus control device

Info

Publication number
JPH056334A
JPH056334A JP14505091A JP14505091A JPH056334A JP H056334 A JPH056334 A JP H056334A JP 14505091 A JP14505091 A JP 14505091A JP 14505091 A JP14505091 A JP 14505091A JP H056334 A JPH056334 A JP H056334A
Authority
JP
Japan
Prior art keywords
data transfer
transfer device
bus
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.)
Pending
Application number
JP14505091A
Other languages
Japanese (ja)
Inventor
Kunio Nakase
邦夫 中瀬
Makoto Niitsuma
誠 新妻
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
NEC Engineering Ltd
Original Assignee
NEC Corp
NEC Engineering 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 NEC Corp, NEC Engineering Ltd filed Critical NEC Corp
Priority to JP14505091A priority Critical patent/JPH056334A/en
Publication of JPH056334A publication Critical patent/JPH056334A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the using efficiency of a bus by generating a bus use permission signal corresponding to the bus use requesting quantity of each data transfer device. CONSTITUTION:A bus control device 1 permitting the use of a data bus to each data transfer device is provided with a priority order storing table 1114 storing plural priority order sorts corresponding to the data transfer devices, a counter 112 formed correspondingly to each corresponding data transfer device, an adder 1111 corresponding to each data transfer device to add '1' to the counter 1112 when a data transfer request is generated from the corresponding data transfer device, an address generating circuit 1113 for selecting one of the priority sorts from the table 1114 while referring the value of the counter 1112, a selecting circuit 12 for selecting a data transfer device in accordance with the priority order selected by the circuit 1113, a subtractor 1115 for subtracting '1' from the counter 1112 corresponding to the data transfer device selected by the circuit 12, and a bus use permission signal generating circuit 13 for permitting the use of the data bus 3 to the data transfer device selected by the circuit 12.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はバス構造通信方式の情報
処理装置に関するもので、特にバス使用権をデータ転送
装置に与えるバス制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bus structure communication type information processing apparatus, and more particularly to a bus control apparatus for giving a bus transfer right to a data transfer apparatus.

【0002】[0002]

【従来の技術】従来、この種のバス制御装置は、バス使
用許可信号の制御方法としては以下の方法があげられ
る。
2. Description of the Related Art Conventionally, in this type of bus control device, the following methods can be mentioned as a method of controlling a bus use permission signal.

【0003】1.データ転送装置を一定時間間隔で順次
選択し、バス使用権を与える。
1. The data transfer devices are sequentially selected at fixed time intervals and the bus use right is given.

【0004】2.各データ転送装置に対して優先順位を
与え、データ転送装置からの要求に応答して優先順位に
従ってバス使用権を与える。
2. A priority is given to each data transfer device, and a bus use right is given in accordance with the priority in response to a request from the data transfer device.

【0005】[0005]

【発明が解決しようとする課題】上記1の方法では、デ
ータ転送装置からのバス使用要求の有無に関わらずバス
使用権が与えられるため、即ち、バス使用を要求してい
ないデータ転送装置に対してもバス使用権を与えてしま
うため、データ転送装置のバス使用頻度,重要度がアン
バランスなシステムでは、バスへの要求度の高いデータ
転送装置のバスの使用効率が低下してしまう。
In the above method 1, since the bus use right is given regardless of the presence or absence of the bus use request from the data transfer device, that is, to the data transfer device not requesting the bus use. However, since the bus use right is given, in a system in which the frequency and importance of the bus use of the data transfer device are unbalanced, the bus use efficiency of the data transfer device having a high demand for the bus is reduced.

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

【0007】[0007]

【課題を解決するための手段】本発明の装置は、複数の
データ転送装置とデータバスを介して接続され、前記デ
ータ転送装置からのデータ転送要求に応答して、前記デ
ータ転送装置にデータバスの使用を許可するバス制御装
置において、前記データ転送装置に対応して優先順位を
複数保持する優先順位保持テーブルと、前記データ転送
装置に対応して設けられたカウンタと、前記データ転送
装置からのデータ転送要求発生時に前記カウンタに
“1”を加算するデータ転送装置対応の加算器と、前記
カウンタの値を参照して前記優先順位保持テーブルより
優先順位を選択するデータ転送装置対応のアドレス発生
回路と、前記アドレス発生回路により選択された優先順
位に従いデータ転送装置を選択する選択回路と、前記選
択回路により選択したデータ転送装置に対応する前記カ
ウンタより“1”を減算するデータ転送装置対応の減算
器と、前記選択回路により選択されたデータ転送装置に
データバスの使用を許可するバス使用許可信号発生回路
を有することを特徴とする。
An apparatus according to the present invention is connected to a plurality of data transfer devices via a data bus, and responds to a data transfer request from the data transfer device by providing a data bus to the data transfer device. In the bus control device that permits the use of the data transfer device, a priority holding table that holds a plurality of priorities corresponding to the data transfer device, a counter provided corresponding to the data transfer device, An adder corresponding to the data transfer device that adds "1" to the counter when a data transfer request is generated, and an address generation circuit corresponding to the data transfer device that selects the priority from the priority holding table by referring to the value of the counter A selection circuit for selecting a data transfer device according to the priority order selected by the address generation circuit; and a selection circuit selected by the selection circuit. A subtracter corresponding to the data transfer device for subtracting "1" from the counter corresponding to the data transfer device, and a bus use permission signal generation circuit for permitting the data transfer device selected by the selection circuit to use the data bus. It is characterized by having.

【0008】[0008]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Embodiments of the present invention will now be described with reference to the drawings.

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

【0010】図1において、1はバス制御装置を、21
〜2nはデータ転送装置を、3はデータバスを、181
〜18nはバス使用許可信号を、217〜2n7はバス
使用要求信号を、19は受信データを、218〜2n8
は送信データを示す。
In FIG. 1, reference numeral 1 denotes a bus control device, and 21
2n is a data transfer device, 3 is a data bus, 181
-18n is a bus use permission signal, 217-2n7 is a bus use request signal, and 19 is received data 218-2n8.
Indicates transmission data.

【0011】バス制御装置1において、111〜11n
はデータ転送装置毎に優先順位を決定する優先順位決定
回路を、12は優先順位決定回路111〜11nより与
えられた優先順位に従ってバス使用要求元データ転送装
置を選択する選択回路を、13は選択回路12の結果に
従って該データ転送装置にバス使用許可信号を発生する
バス使用許可信号発生回路を、14はデータ受信バッフ
ァをそれぞれ示す。
In the bus controller 1, 111 to 11n
Is a priority order determination circuit for determining the priority order for each data transfer device, 12 is a selection circuit for selecting the bus use request source data transfer device according to the priority order given by the priority order determination circuits 111 to 11n, and 13 is selected Reference numeral 14 denotes a bus use permission signal generation circuit for generating a bus use permission signal to the data transfer device according to the result of the circuit 12, and reference numeral 14 denotes a data reception buffer.

【0012】優先順位決定回路111〜1n1におい
て、1111〜11n1は加算器を、1112〜11n
2は使用許可待ち状態にあるバス使用要求数を計算する
カウンタを、1113〜11n3はカウンタの値を参照
してテーブルアドレスを生成するアドレス生成回路を、
1114〜11n4はデータ転送装置の優先順位を複数
保持する優先順位保持テーブルを、1115〜11n5
は減算器をそれぞれ示す。
In the priority determining circuits 111 to 1n1, 1111 to 11n1 are adders, and 1112 to 11n.
Reference numeral 2 is a counter for calculating the number of bus use requests in the use permission waiting state, and 1113 to 11n3 are address generation circuits for generating table addresses by referring to the counter values.
Reference numerals 1114 to 11n4 denote priority order holding tables for holding a plurality of priority orders of the data transfer devices.
Indicate subtractors, respectively.

【0013】データ転送装置21〜2nにおいて、21
1〜2n1はデータ送出回路を、212〜2n2はバス
使用要求信号を発生するバス使用要求信号発生回路を、
213〜2n3はデータ送信バッファを、214〜2n
4はデータを送出する際、データ送信バッファ213〜
2n3を制御するデータ転送制御回路をそれぞれ示す。
In the data transfer devices 21 to 2n, 21
1 to 2n1 are data transmission circuits, 212 to 2n2 are bus use request signal generation circuits for generating bus use request signals,
213 to 2n3 are data transmission buffers and 214 to 2n.
4 is a data transmission buffer 213-
Data transfer control circuits for controlling 2n3 are shown respectively.

【0014】データ転送装置21〜2nは、データ送出
回路211〜2n1でデータバスに使用条件が発生した
時、その情報をデータ送信バッファ213〜2n3に格
納するとともに、バス制御装置1に対しバス使用要求信
号発生回路212〜2n2からバス使用要求信号217
〜2n7を介してデータバスの使用を要求する。この要
求により加算器1111〜11n1はカウンタ1112
〜11n2を“1”加算する。
The data transfer devices 21 to 2n store the information in the data transmission buffers 213 to 2n3 when a use condition occurs in the data bus in the data transmission circuits 211 to 2n1 and use the bus for the bus control device 1. Bus use request signal 217 from request signal generation circuits 212 to 2n2
Request use of data bus via ~ 2n7. By this request, the adders 1111 to 11n1 cause the counter 1112 to
"1" is added to 11n2.

【0015】このカウンタ1112〜11n2の値を参
照して、アドレス生成回路1113〜11n3はテーブ
ルアドレス1117〜11n7を生成し、優先順位保持
テーブル1114〜11n4より優先順位151〜15
nを出力する。
By referring to the values of the counters 1112 to 11n2, the address generation circuits 1113 to 11n3 generate table addresses 1117 to 11n7, and the priority levels 151 to 15 from the priority level holding tables 1114 to 11n4.
Output n.

【0016】選択回路12は、優先順位保持テーブル1
114〜11n4の出力を参照して優先順位が最も高い
データ転送装置を選択し、バス使用許可信号発生回路1
3よりバス使用許可信号181〜18nを発生する。
The selection circuit 12 uses the priority holding table 1
The bus transfer enable signal generating circuit 1 is selected by referring to the outputs 114 to 11n4 to select the data transfer device having the highest priority.
3 to generate bus use permission signals 181 to 18n.

【0017】バス使用許可信号を受信したデータ転送装
置はデータ転送制御回路214〜2n4によりデータバ
ス3を介してデータ送信バッファ213〜2n3の内容
をデータ受信バッファ14に移送する。
Upon receipt of the bus use permission signal, the data transfer device transfers the contents of the data transmission buffers 213 to 2n3 to the data reception buffer 14 via the data bus 3 by the data transfer control circuits 214 to 2n4.

【0018】さらにバス使用許可信号発生回路13は、
カウンタ減算信号171〜17nにより先に選択したデ
ータ転送装置に対応するカウンタ1112〜11n2を
減算器1115〜11n5を用いて“1”減算し動作を
終了する。
Further, the bus use permission signal generating circuit 13 is
The counters 1112 to 11n2 corresponding to the data transfer device previously selected by the counter subtraction signals 171 to 17n are subtracted by "1" using the subtractors 1115 to 11n5, and the operation is completed.

【0019】以上の操作により、バス制御装置1内のカ
ウンタ1112〜11n2は、データ転送装置21〜2
nからのデータ転送要求数が格納されることになる。こ
のカウンタの内容を用いて、優先順位保持テーブル11
14〜11n4を読み出し、読み出し結果により選択回
路12にて優先判定し、優先順位保持テーブル1114
〜11n4の設定値に従いバス使用を許可することがで
きる。
As a result of the above operation, the counters 1112 to 11n2 in the bus control unit 1 are set to the data transfer units 21 to 2 respectively.
The number of data transfer requests from n is stored. Using the contents of this counter, the priority holding table 11
14 to 11n4 are read, and the selection circuit 12 determines the priority based on the read result, and the priority holding table 1114.
The use of the bus can be permitted according to the set values of 11n4.

【0020】また、バス制御装置1内で各データ転送装
置21〜2nからのバス使用要求数をカウントしている
ので、バス制御装置1からは連続してバス使用許可をデ
ータ転送装置21〜2nに送ることができ、データ転送
装置21〜2nからはバス使用許可を待つことなくバス
使用要求をすることができる。
Further, since the number of bus use requests from each of the data transfer devices 21 to 2n is counted in the bus control device 1, the bus control device 1 continuously issues a bus use permission to the data transfer devices 21 to 2n. The data transfer devices 21 to 2n can make a bus use request without waiting for the bus use permission.

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

【0022】[0022]

【発明の効果】以上説明したように本発明は、バス制御
装置がデータ転送装置毎に、バス使用要求数を計算する
カウンタと、カウンタの係数値より索引される優先順位
保持テーブルを待つことにより、各データ転送装置のバ
ス使用要求量に応じたバスの許可信号を発生することが
でき、効率のよいバス制御装置を構成することができ
る。
As described above, according to the present invention, the bus controller waits for the counter for calculating the number of requests for bus use for each data transfer device and the priority holding table indexed by the coefficient value of the counter. A bus permission signal can be generated according to the bus usage request amount of each data transfer device, and an efficient bus control device can be configured.

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

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

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

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

1 バス制御装置 111〜11n 優先順位決定回路 1111〜11n1 加算器 1112〜11n2 カウンタ 1113〜11n3 アドレス生成回路 1114〜11n4 優先順位保持テーブル 1115〜11n5 減算器 1116〜11n6 カウンタ値 1117〜11n7 テーブルアドレス 12 選択回路 13 バス使用許可信号発生回路 14 データ受信バッファ 151〜15n 優先順位 16 選択結果 171〜17n カウンタ減算信号 181〜18n バス使用許可信号 19 受信データ 21〜2n データ転送装置 211〜2n1 データ送出回路 212〜2n2 バス使用要求信号発生回路 213〜2n3 データ送信バッファ 214〜2n4 データ転送制御回路 215〜2n5 データ送出信号 216〜2n6 送出データ 217〜2n7 バス使用要求信号 218〜2n8 送信データ 219〜2n9 データ転送制御信号 3 データバス 1 Bus control device 111-11n Priority determination circuit 1111-11n1 Adder 1112-11n2 Counter 1113-11n3 Address generation circuit 1114-11n4 Priority holding table 1115-11n5 Subtractor 1116-11n6 Counter value 1117-11n7 Table address 12 selection Circuit 13 Bus use permission signal generation circuit 14 Data reception buffer 151 to 15n Priority 16 Selection result 171 to 17n Counter subtraction signal 181 to 18n Bus use permission signal 19 Received data 21 to 2n Data transfer device 211 to 2n1 Data transmission circuit 212 to 2n2 bus use request signal generation circuit 213-2n3 data transmission buffer 214-2n4 data transfer control circuit 215-2n5 data transmission signal 216-2n6 transmission data 217 2n7 bus request signal 218~2n8 transmission data 219~2n9 data transfer control signal 3 data bus

Claims (1)

【特許請求の範囲】 【請求項1】 複数のデータ転送装置とデータバスを介
して接続され、前記データ転送装置からのデータ転送要
求に応答して、前記データ転送装置にデータバスの使用
を許可するバス制御装置において、前記データ転送装置
に対応して優先順位を複数保持する優先順位保持テーブ
ルと、前記データ転送装置に対応して設けられたカウン
タと、前記データ転送装置からのデータ転送要求発生時
に前記カウンタに“1”を加算するデータ転送装置対応
の加算器と、前記カウンタの値を参照して前記優先順位
保持テーブルより優先順位を選択するデータ転送装置対
応のアドレス発生回路と、前記アドレス発生回路により
選択された優先順位に従いデータ転送装置を選択する選
択回路と、前記選択回路により選択したデータ転送装置
に対応する前記カウンタより“1”を減算するデータ転
送装置対応の減算器と、前記選択回路により選択された
データ転送装置にデータバスの使用を許可するバス使用
許可信号発生回路を有することを特徴とするバス制御装
置。
Claim: What is claimed is: 1. A plurality of data transfer devices are connected via a data bus, and the data transfer device is permitted to use the data bus in response to a data transfer request from the data transfer device. In the bus controller, a priority holding table for holding a plurality of priorities corresponding to the data transfer device, a counter provided corresponding to the data transfer device, and a data transfer request generation from the data transfer device. An adder corresponding to the data transfer device for adding "1" to the counter at times, an address generation circuit corresponding to the data transfer device for selecting the priority from the priority holding table by referring to the value of the counter, and the address A selection circuit for selecting a data transfer device according to the priority order selected by the generation circuit, and a data transfer device selected by the selection circuit. And a subtracter corresponding to the data transfer device for subtracting "1" from the counter corresponding to the above, and a bus use permission signal generation circuit for permitting the data transfer device selected by the selection circuit to use the data bus. And bus control device.
JP14505091A 1991-06-18 1991-06-18 Bus control device Pending JPH056334A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14505091A JPH056334A (en) 1991-06-18 1991-06-18 Bus control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14505091A JPH056334A (en) 1991-06-18 1991-06-18 Bus control device

Publications (1)

Publication Number Publication Date
JPH056334A true JPH056334A (en) 1993-01-14

Family

ID=15376227

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14505091A Pending JPH056334A (en) 1991-06-18 1991-06-18 Bus control device

Country Status (1)

Country Link
JP (1) JPH056334A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0749072A2 (en) * 1995-06-07 1996-12-18 Tandem Computers Incorporated Routing arbitration for shared resources
EP0749073A2 (en) * 1995-06-06 1996-12-18 Tandem Computers Incorporated Biased routing arbitration of message traffic in a communications network

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0749073A2 (en) * 1995-06-06 1996-12-18 Tandem Computers Incorporated Biased routing arbitration of message traffic in a communications network
EP0749073A3 (en) * 1995-06-06 1999-07-21 Tandem Computers Incorporated Biased routing arbitration of message traffic in a communications network
EP0749072A2 (en) * 1995-06-07 1996-12-18 Tandem Computers Incorporated Routing arbitration for shared resources
EP0749072A3 (en) * 1995-06-07 1999-07-21 Tandem Computers Incorporated Routing arbitration for shared resources

Similar Documents

Publication Publication Date Title
US5918073A (en) System and method for equalizing data buffer storage and fetch rates of peripheral devices
JPH0139138B2 (en)
JPH056334A (en) Bus control device
JPH04251367A (en) Bus controller
JP2617601B2 (en) Bus control device
JP2806678B2 (en) Bus control device
JPH0551933B2 (en)
JP3190800B2 (en) Asynchronous transfer circuit with transfer speed switching function
JPH03265963A (en) Bus controller
JPH02143347A (en) Information processor
JP2814849B2 (en) Communication control device
JP3118851B2 (en) Image output device
JP2001236238A (en) Method for processing interruption
JP2570192B2 (en) Loop type local area network system
JPS6069771A (en) Control circuit of processing request information
JPS6022243A (en) Content retrieval processing system
JP3206499B2 (en) Information processing device
JPH10301843A (en) Information processor
JPS6313384B2 (en)
JPH0311436A (en) Storage access control device
JPS63191398A (en) Information processor
JPS62232060A (en) Data processor
JPS59157735A (en) Data bus control system
JPH11134309A (en) Computer and parallel computer system and message transmission processing method
JPH0728750A (en) Interface converter