JPH03265963A - Bus controller - Google Patents
Bus controllerInfo
- Publication number
- JPH03265963A JPH03265963A JP6646690A JP6646690A JPH03265963A JP H03265963 A JPH03265963 A JP H03265963A JP 6646690 A JP6646690 A JP 6646690A JP 6646690 A JP6646690 A JP 6646690A JP H03265963 A JPH03265963 A JP H03265963A
- Authority
- JP
- Japan
- Prior art keywords
- bus
- data transfer
- counter
- data
- transfer device
- 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
Links
- 238000012546 transfer Methods 0.000 claims abstract description 50
- 239000000872 buffer Substances 0.000 abstract description 8
- 230000005540 biological transmission Effects 0.000 abstract description 6
- 230000008054 signal transmission Effects 0.000 abstract 1
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 2
- 238000000034 method Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
Landscapes
- Bus Control (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はバス制御装置、特にバス構造通信方式の情報処
理装置において、バス使用権をデータ転送装置に与える
バス制御装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a bus control device, and more particularly to a bus control device that gives bus use rights to a data transfer device in an information processing device using a bus structure communication system.
従来この種のバス制御装置でのバス使用許可信号の制御
方式としては以下のものがあげられる。Conventional methods for controlling bus use permission signals in this type of bus control device include the following.
1゜データ転送装置からのデータ転送要求の有無に関わ
らず、データ転送装置を順次選択し、バス使用権を与え
る方式
2、バス使用要求信号の発生源に優先順位を与え、その
順位に従ってバス使用権を与える方式
〔発明が解決しようとする課題〕
上述した従来のバス制御装置のうちの前者は、データ転
送装置のバス使用頻度、優先順位に関わらず、バス使用
権が与えられるため、バス使用の要求源のバス使用頻度
9型要度のアンバランスなシステムでは、バスへの要求
度の高いデータ転送装置のバスの使用効率が低下してし
まう。1. Method 2: Regardless of whether there is a data transfer request from the data transfer device, data transfer devices are sequentially selected and given the right to use the bus. 2. Priority is given to the source of the bus use request signal, and the bus is used according to that order. [Problem to be Solved by the Invention] The former of the conventional bus control devices described above provides bus usage rights regardless of the bus usage frequency and priority of the data transfer device. In an unbalanced system where the bus usage frequency of the request source is type 9, the bus usage efficiency of the data transfer device that makes high demands on the bus will decrease.
また従来のバス制御装置のうちの後者は、バス制御装置
がバス使用要求元を選択する際に、データ転送装置のバ
ス使用頻度の高低が反映されず、バス使用頻度の高いデ
ータ転送装置のバス使用効率が落ちてしまう可能性があ
る。また、優先順位判定のための時間を要し、その間、
バスが使用されない欠点があった。Furthermore, in the latter type of conventional bus control devices, when the bus control device selects the bus use request source, the frequency of bus use of the data transfer device is not reflected, and the bus control device that uses the bus frequently Usage efficiency may decrease. In addition, it takes time to determine priorities, and during that time,
There was a drawback that buses were not used.
本発明のバス制御装置は、複数のデータ転送装置とデー
タバスを介して接続され前記データ転送装置に対応して
設けられなカウンタと、前記データ転送装置からのデー
タ転送要求発生時に前記カウンタに“1”を加算する手
段と、前記カウンタの値を参照して最大の値を有するカ
ウンタに対応するデータ転送装置を選択する手段と、前
記手段により選択したデータ転送装置に対応前記カウン
タより“1”を減算する手段と、前記手段により選択さ
れたデータ転送装置にデータバスの使用を許可する手段
を有する。The bus control device of the present invention includes a counter that is connected to a plurality of data transfer devices via a data bus and is provided corresponding to the data transfer device, and a counter that is connected to a plurality of data transfer devices via a data bus, and that when a data transfer request is generated from the data transfer device, the counter is means for adding "1" to the data transfer device selected by the means, means for referring to the value of the counter and selecting a data transfer device corresponding to the counter having the maximum value; and means for permitting the data transfer device selected by the means to use the data bus.
次に、本発明の一実施例について図面を参照して説明す
る。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 invention.
第1図において、1は、バス制御装置、121〜12n
はデータ転送装置に対応して設けられた使用許可待ち状
態にあるバス使用要求数を計算するカウンタ、11はカ
ウンタ121〜12nの値を参照して最大の値を有する
カウンタを選択する選択回路、13は選択回路11によ
り選択されたデータ転送装置に対してバス使用許可信号
51〜5nを発生するバス使用許可信号発生回路、14
はデータ受信バッファ、21〜2nはデータ転送装置、
211〜2nlはデータ送出回路、212〜2n2はバ
ス使用要求信号を発生するバス使用要求信号発生回路、
213〜2n3はデータ送信バッファ、214〜2n4
を送出する際にデータ送出バッファ214〜2n4を制
御するデータ送出制御回路、3はデータバス、41〜4
nはバス使用要求信号、51〜5nはバス使用許可信号
、61〜6nは121〜12nのカウンタを減算するカ
ウンタ減算をそれぞれ示す。In FIG. 1, 1 is a bus control device, 121 to 12n
11 is a counter for calculating the number of bus use requests waiting for permission to use, which is provided corresponding to the data transfer device; 11 is a selection circuit that refers to the values of the counters 121 to 12n and selects the counter having the maximum value; Reference numeral 13 denotes a bus use permission signal generation circuit that generates bus use permission signals 51 to 5n for the data transfer device selected by the selection circuit 11;
is a data reception buffer, 21 to 2n are data transfer devices,
211 to 2nl are data sending circuits; 212 to 2n2 are bus use request signal generation circuits that generate bus use request signals;
213 to 2n3 are data transmission buffers, 214 to 2n4
3 is a data bus; 41-4;
n indicates a bus use request signal, 51 to 5n indicate a bus use permission signal, and 61 to 6n indicate counter subtraction for subtracting the counters 121 to 12n, respectively.
データ転送装置21〜2nはデータ送出回路211〜2
Inでデータバスの使用条件が発生した時、該情報をデ
ータ送信バッファ213〜2n3に格納するとともにバ
ス制御装置1に対しバス使用要求信号発路212〜2n
2からバス使用許可信号41〜4nによりデータバスの
使用を要求する。この要求によりカウンタ121〜12
nは“1”が加算される。The data transfer devices 21 to 2n are data transmission circuits 211 to 2.
When a data bus usage condition occurs at In, the information is stored in the data transmission buffers 213 to 2n3, and a bus usage request signal is sent to the bus control device 1 via the bus usage request signal lines 212 to 2n.
2 requests the use of the data bus by bus use permission signals 41 to 4n. This request causes the counters 121 to 12 to
“1” is added to n.
選択回路11は、カウンタ121〜12nを参照し、最
大の値を有するカウンタを選択しくいま121が最大で
あったとする)、対応するデータ転送装置21に対して
バス使用許可信号発生回路13からバス使用許可信号5
1を発生する。The selection circuit 11 refers to the counters 121 to 12n, selects the counter having the maximum value (assuming that the counter 121 is the maximum value), and sends the bus permission signal generation circuit 13 to the corresponding data transfer device 21. Use permission signal 5
Generates 1.
バス使用許可信号51を受信したデータ転送装置21は
データ送出制御回路214によりデータバス3を介して
データ送信バッファ213の内容をデータ受信バッファ
14に移送する。Upon receiving the bus use permission signal 51, the data transfer device 21 causes the data sending control circuit 214 to transfer the contents of the data sending buffer 213 to the data receiving buffer 14 via the data bus 3.
さらにバス使用許可信号発生回路13は、先に選択した
データ転送装置21に対応するカウンタ12を01″減
算し動作を終了する。Further, the bus use permission signal generating circuit 13 decrements the counter 12 corresponding to the previously selected data transfer device 21 by 01'' and ends the operation.
以上の操作により、バス制御装置1内のカウンタ121
〜12nは、データ転送装置21〜2nからのデータ転
送要求数が格納されることになり、本データを用いて選
択回路11にて優先判定することにより、要求量の大き
いデータ転送装置から優先的にバス使用を許可すること
ができる。With the above operation, the counter 121 in the bus control device 1
~12n stores the number of data transfer requests from the data transfer devices 21 to 2n, and by using this data to determine priority in the selection circuit 11, data transfer devices with a large amount of requests are prioritized. may be allowed to use the bus.
また、第1図ではデータ転送は、データ転送装置21〜
2nからバス制御装置1に対して実施しているが、この
逆も同様の方法により容易に実現できる。In addition, in FIG. 1, data transfer is performed by data transfer devices 21 to 21.
2n to the bus control device 1, the reverse can also be easily realized using a similar method.
〔発明の効果〕
以上説明したように本発明は、バス制御装置がデータ転
送装置毎にバス使用要求数を計算するカウンタを持つこ
とにより各データ転送装置のバス使用要求量を判断する
ことができ、使用頻度の高いデータ転送装置に対して優
先的にバス使用許可信号を発生させることができ、効率
のよいバス制御装置を構成することができる。[Effects of the Invention] As explained above, the present invention enables the bus control device to determine the amount of bus usage requested by each data transfer device by having a counter for calculating the number of bus usage requests for each data transfer device. , a bus use permission signal can be generated preferentially to a frequently used data transfer device, and an efficient bus control device can be configured.
第1図は本発明の一実施例を示す図である。
1・・・バス制御装置、11・・・選択回路、121〜
12n・・・カウンタ、13・・・バス使用許可信号発
生回路、14・・・データ受信バッファ、21〜2n・
・・データ転送装置、211〜2nl・・・データ転送
回路、212〜2n2・・・バス使用要求信号発生回路
、213〜2n3・・・データ送出バッファ、214〜
2n4・・・データ送出制御回路、3・・・データバス
。FIG. 1 is a diagram showing an embodiment of the present invention. DESCRIPTION OF SYMBOLS 1... Bus control device, 11... Selection circuit, 121-
12n...Counter, 13...Bus use permission signal generation circuit, 14...Data reception buffer, 21-2n.
...Data transfer device, 211-2nl...Data transfer circuit, 212-2n2...Bus use request signal generation circuit, 213-2n3...Data sending buffer, 214-
2n4...Data transmission control circuit, 3...Data bus.
Claims (1)
前記データ転送装置からのデータ転送要求に応答して、
前記データ転送装置にデータバスの使用を許可するバス
制御装置において、 前記データ転送装置に対応して設けられたカウンタと、
前記データ転送装置からのデータ転送要求発生時に前記
カウンタに“1”を加算する手段と、前記カウンタの値
を参照して最大の値を有するカウンタに対応するデータ
転送装置を選択する手段と、前記手段により選択したデ
ータ転送装置に対応する前記カウンタより“1”を減算
する手段と、前記手段により選択されたデータ転送装置
にデータバスの使用を許可する手段とを有することを特
徴とするバス制御装置。[Claims] Connected to a plurality of data transfer devices via a data bus,
In response to a data transfer request from the data transfer device,
A bus control device that allows the data transfer device to use a data bus, 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 data transfer device; means for referring to the value of the counter and selecting a data transfer device corresponding to the counter having the maximum value; A bus control comprising: means for subtracting "1" from the counter corresponding to the data transfer device selected by the means; and means for permitting the data transfer device selected by the means to use the data bus. Device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP6646690A JPH03265963A (en) | 1990-03-15 | 1990-03-15 | Bus controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP6646690A JPH03265963A (en) | 1990-03-15 | 1990-03-15 | Bus controller |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH03265963A true JPH03265963A (en) | 1991-11-27 |
Family
ID=13316586
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP6646690A Pending JPH03265963A (en) | 1990-03-15 | 1990-03-15 | Bus controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH03265963A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005316866A (en) * | 2004-04-30 | 2005-11-10 | Mitsubishi Electric Corp | Bus device |
-
1990
- 1990-03-15 JP JP6646690A patent/JPH03265963A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005316866A (en) * | 2004-04-30 | 2005-11-10 | Mitsubishi Electric Corp | Bus device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5958031A (en) | Data transmitting/receiving device of a multiprocessor system and method therefor | |
JPH0821013B2 (en) | Direct memory access order competition control method | |
JPH03265963A (en) | Bus controller | |
JP2617601B2 (en) | Bus control device | |
JP2806678B2 (en) | Bus control device | |
JP3995131B2 (en) | Data output circuit | |
JPH1196108A (en) | Computer system and bus control device | |
JPH07177197A (en) | Communication task management system | |
JPH056334A (en) | Bus control device | |
JP2916185B2 (en) | Dynamic selection method of incoming communication adapter | |
JPH0588020B2 (en) | ||
JPH0520939B2 (en) | ||
JP2573332B2 (en) | Data transfer control method | |
JPH0581213A (en) | Distributed processing system | |
JPH04329443A (en) | Task control system | |
JPH11212927A (en) | Conflict arbitration method | |
JP2003152813A (en) | Data transmission apparatus | |
JP2570192B2 (en) | Loop type local area network system | |
JPH086912A (en) | Inter-processor communication method and equipment | |
JPS6343489A (en) | Representative line selection and processing system in multi-processor electronic switching system | |
JPS60246466A (en) | Communication request selecting system | |
JPS6326758A (en) | Packet communication device using dynamic polling | |
JPH05284178A (en) | Data conversion system | |
JPH0612899B2 (en) | Transmission control method | |
JPS594053B2 (en) | Failure notification method |