JPH04322352A - Bus transfer control system - Google Patents
Bus transfer control systemInfo
- Publication number
- JPH04322352A JPH04322352A JP9090991A JP9090991A JPH04322352A JP H04322352 A JPH04322352 A JP H04322352A JP 9090991 A JP9090991 A JP 9090991A JP 9090991 A JP9090991 A JP 9090991A JP H04322352 A JPH04322352 A JP H04322352A
- Authority
- JP
- Japan
- Prior art keywords
- bus
- time zone
- time
- devices
- zone number
- 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.)
- Withdrawn
Links
Landscapes
- Bus Control (AREA)
Abstract
Description
【0001】0001
【産業上の利用分野】本発明は、複数の装置がバスを共
有するシステムにおけるバス転送制御方式に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bus transfer control method in a system in which a plurality of devices share a bus.
【0002】一つのバスにプロセッサ、メモリ及びDM
A(Direct Memory Access)アク
セスを行う複数のチャネル装置が接続されるシステムに
おいては、プロセッサの処理過程におけるメモリへのア
クセスや各チャネル装置のメモリへのDMAアクセスが
発生した際にバス使用の競合を避けるために、バス調停
回路(BA:Bass Arbitrator)を設け
てバス使用権を調停している。[0002] Processor, memory and DM on one bus
In a system in which multiple channel devices that perform A (Direct Memory Access) access are connected, bus usage conflicts occur when memory access occurs during processor processing or DMA access to the memory of each channel device. To avoid this, a bus arbitration circuit (BA) is provided to arbitrate the right to use the bus.
【0003】従来のバス調停回路は、同時にバス使用要
求が発生したような場合には優先順位に従って一つの要
求源にバス使用権を与え、以後バスが空く都度他の要求
源に順次バス使用権を付与するようにしているが、この
ためにバスハント時間の累積値が大きくなり、バスのデ
ータ転送能力を低下させる結果となっている。Conventional bus arbitration circuits grant the right to use the bus to one request source according to priority when requests to use the bus occur at the same time, and thereafter grant the right to use the bus to other request sources in sequence whenever the bus becomes free. However, this increases the cumulative value of bus hunt time, resulting in a reduction in the data transfer capacity of the bus.
【0004】このため、バスハント時間を短縮できるバ
ス転送制御方式が望まれている。[0004] Therefore, a bus transfer control system that can shorten the bus hunt time is desired.
【0005】[0005]
【従来の技術】図5は従来技術の構成図、図6は従来技
術のバス使用要求処理説明図、図7は従来技術のバス転
送制御シーケンス図である。2. Description of the Related Art FIG. 5 is a block diagram of a conventional technique, FIG. 6 is an explanatory diagram of bus use request processing in the conventional technique, and FIG. 7 is a sequence diagram of bus transfer control in the conventional technique.
【0006】図5は、バス21にプロセッサ(CPU)
22、DMAアクセスを行う複数のチャネル装置(CH
1 〜CHN )23−1〜23−n及びメモリ(ME
M)24が接続され、バス調停回路(BA)25がバス
の使用権を調停しているシステムの構成を示している。
バス21はアドレスバス、制御バス及びデータバス (
詳細図示省略) からなっているが、図5では制御バス
の一部をバス使用要求線26、バス使用許可線27とし
て分離して記載している。FIG. 5 shows that a processor (CPU) is connected to the bus 21.
22, multiple channel devices (CH
1 to CHN) 23-1 to 23-n and memory (ME
24 is connected, and a bus arbitration circuit (BA) 25 arbitrates the right to use the bus. The bus 21 includes an address bus, a control bus, and a data bus (
In FIG. 5, a part of the control bus is shown separately as a bus use request line 26 and a bus use permission line 27.
【0007】プロセッサ22(以下、CPUと記す)は
処理過程においてMEM24(以下、MEMと記す)に
アクセスを行い、また複数のチャネル装置23−1〜2
3−n(以下、CH1 〜CHNと記す)もMEMへD
MAアクセスを行うが、CPU−MEM間及びCH1
〜CHN −MEM間のバス21は各装置が共通に使用
するものであるため、CPUまたはCH1 〜CHN
はMEMへのアクセスに先立ち、バス使用要求線26を
介してバス調停回路21(以下、BAと記す)にバス使
用要求(以下、RQと記す)を行う。[0007] The processor 22 (hereinafter referred to as CPU) accesses the MEM 24 (hereinafter referred to as MEM) during the processing process, and also accesses a plurality of channel devices 23-1 to 23-2.
3-n (hereinafter referred to as CH1 to CHN) is also transferred to MEM.
MA access is performed, but between CPU and MEM and CH1
The bus 21 between ~CHN and MEM is commonly used by each device, so the bus 21 between CPU or CH1 ~CHN
makes a bus use request (hereinafter referred to as RQ) to the bus arbitration circuit 21 (hereinafter referred to as BA) via the bus use request line 26 before accessing the MEM.
【0008】BAはCPU、CH1 〜CHN などの
バス要求源よりRQを受信するとそのバス要求源に対す
るバス使用許可線27に対してバス使用許可信号(以下
、ACKと記す)を返送するが、複数のRQが同時に発
生した場合は優先順位に従って一つを選択し、選択した
バス要求源に対してACKを返送する。図6はこの関係
を説明したもので、実線はRQとACKを示し、図では
CPU、CHJ 及びCHK から同時にRQが出され
、BAがCPUのみを選択してACKを返送した状態を
示している。When the BA receives an RQ from a bus request source such as the CPU or CH1 to CHN, it returns a bus use permission signal (hereinafter referred to as ACK) to the bus use permission line 27 for the bus request source. If two RQs occur simultaneously, one is selected according to the priority order, and an ACK is returned to the selected bus request source. Figure 6 explains this relationship. The solid line indicates RQ and ACK. The figure shows a state in which RQ is issued simultaneously from CPU, CHJ, and CHK, and BA selects only CPU and returns ACK. .
【0009】バス要求源はACKを受信するとバス21
を介してMEMにアドレスを送出し、データの書き込み
(送信)または読み出し(受信)を行い、データの書き
込み/読み出しを終了するとRQをオフにする。When the bus request source receives the ACK, the bus 21
The address is sent to the MEM via the MEM, data is written (transmitted) or read (received), and when the data write/read is completed, the RQ is turned off.
【0010】RQがオフされるとBAは次のバス要求源
、例えばCHJ のRQを選択してACKを送出し、こ
れによりCHJ はMEMとDMAによりデータの書き
込みまたは読み出しを行う。以後の動作も前記と同様で
ある。When the RQ is turned off, the BA selects the next bus request source, for example, the RQ of the CHJ, and sends an ACK, whereby the CHJ writes or reads data using the MEM and DMA. The subsequent operations are also the same as described above.
【0011】図7は上記の動作をシーケンス図に示した
もので、CPU、CHJ 及びCHK より同時にバス
使用要求が行われた場合のシーケンスを示している。こ
の例では最初にCPU、次にCHJ 、最後にCHK
にACKが送出され、CPUとCHK がMEMに対し
て書き込み、CHJ がMEMより読み出しを行ってい
る。FIG. 7 shows the above operation in a sequence diagram, and shows the sequence when the CPU, CHJ, and CHK make requests to use the bus at the same time. In this example, first CPU, then CHJ, and finally CHK
ACK is sent to , the CPU and CHK write to MEM, and CHJ reads from MEM.
【0012】この方式では、同時にRQが送られてもア
クセスごとにバスハント時間が必要となるため、図示し
たようにバスハント時間は、■、■、■の3回のバスハ
ント時間の累積値のt1 +t2 +t3 となる。こ
の間、バスは転送を行えないため、バスのデータ転送能
力は低下する。[0012] In this method, even if RQs are sent at the same time, a bus hunt time is required for each access, so as shown in the figure, the bus hunt time is the cumulative value of the three bus hunt times of ■, ■, ■, t1 + t2. +t3. During this time, the bus cannot perform any transfer, so the data transfer capability of the bus decreases.
【0013】[0013]
【発明が解決しようとする課題】従来技術においては、
複数の装置より同時にバス使用要求が行われた場合でも
、アクセスごとにバスハントを行う必要があるため、バ
スハント時間の累積値が大となり、バスのデータ転送能
力が低下するという問題が生じている。[Problem to be solved by the invention] In the prior art,
Even when a plurality of devices request the use of the bus at the same time, it is necessary to perform a bus hunt for each access, resulting in a problem that the cumulative value of bus hunt time becomes large and the data transfer capacity of the bus decreases.
【0014】本発明は、複数の装置より同時にバス使用
要求が行われた場合のバスハント時間を短縮することを
目的とする。[0014] An object of the present invention is to shorten the bus hunt time when bus usage requests are made simultaneously from a plurality of devices.
【0015】[0015]
【課題を解決するための手段】図1は本発明の原理説明
図である。図中、1はバス、2は前記バス1に接続され
た複数の装置であるが図1には1装置のみが図示されて
いる。3は前記バス1の使用権を調停するバス調停回路
、4及び5は前記バス調停回路3内に設けられ、4は前
記複数の装置2よりバス使用要求を受信したとき、同時
に要求を行った装置に対して、装置ごとのバス使用時間
帯を指定する使用時間帯番号を同時に返送する時間帯指
定手段、5はバスの使用が終了する都度更新する時間帯
番号を、時間帯通知線6を介して該複数の装置2に通知
する時間帯番号送出手段である。[Means for Solving the Problems] FIG. 1 is a diagram illustrating the principle of the present invention. In the figure, 1 is a bus, and 2 is a plurality of devices connected to the bus 1, but only one device is shown in FIG. 3 is a bus arbitration circuit for arbitrating the right to use the bus 1; 4 and 5 are provided in the bus arbitration circuit 3; A time zone specifying means for simultaneously returning to the device a usage time zone number that specifies the bus usage time zone for each device; It is a time zone number sending means that notifies the plurality of devices 2 via the time slot number sending means.
【0016】また、6は前記バス調停回路3と前記複数
の装置2間に設けられ、バス調停回路3より送出される
前記時間帯番号を複数の装置に伝える時間帯通知線、7
乃至9は前記複数の装置2内に設けられ、7はバス使用
要求送出時に前記バス調停回路3より返送される前記使
用時間帯番号を記憶する使用時間帯記憶手段、8は前記
時間帯通知線6に送出される前記時間帯番号を受信する
時間帯番号受信手段、9は前記使用時間帯記憶手段7が
記憶する使用時間帯番号と前記時間帯番号受信手段8が
受信する時間帯番号を比較し、両時間帯番号が一致した
ときにバス使用権の獲得を確認するバス使用権確認手段
である。Further, 6 is a time zone notification line provided between the bus arbitration circuit 3 and the plurality of devices 2, and transmits the time zone number sent from the bus arbitration circuit 3 to the plurality of devices;
Reference numerals 9 to 9 are provided in the plurality of devices 2, 7 is a use time zone storage means for storing the use time zone number returned from the bus arbitration circuit 3 when a bus use request is sent, and 8 is the time zone notification line. 6, a time slot number receiving means for receiving the time slot number sent out to the time slot number; 9, comparing the usage time slot number stored in the usage time slot storage means 7 and the time slot number received by the time slot number receiving means 8; This is a bus usage right confirmation means that confirms that the bus usage right has been acquired when both time slot numbers match.
【0017】[0017]
【作用】図1において、複数の装置2は図示省略された
メモリ等にアクセスする場合にバス使用要求をバス調停
回路3に送出する。バス調停回路3ではこのバス使用要
求を時間帯指定手段4が受信すると、要求を行った各装
置の使用時間帯を指定する使用時間帯番号を返送する。
この場合、同時に受信したバス使用要求に対しては優先
順位に従ってそれぞれ異なった使用時間帯番号を付与し
て同時に返送する。この使用時間帯番号はバス使用要求
を行った各装置2の使用時間帯記憶手段7に受信されて
記憶される。In FIG. 1, a plurality of devices 2 send a bus use request to the bus arbitration circuit 3 when accessing a memory or the like (not shown). In the bus arbitration circuit 3, when the time zone specifying means 4 receives this bus usage request, it returns a usage time zone number that specifies the usage time zone of each device that has made the request. In this case, bus use requests received at the same time are returned at the same time with different usage time slot numbers assigned to them according to their priorities. This usage time slot number is received and stored in the usage time slot storage means 7 of each device 2 that has made the bus use request.
【0018】前記バス調停回路3では時間帯番号送出手
段5がバスを使用する複数の装置2に時間帯を知らせる
ための時間帯番号を時間帯番号通知線6に常時送出して
いるが、この時間帯番号はバスの使用が終わる都度更新
する。In the bus arbitration circuit 3, the time zone number sending means 5 always sends the time zone number to the time zone number notification line 6 for informing the plurality of devices 2 using the bus of the time zone. The time zone number will be updated each time the bus is used.
【0019】複数の装置2では前記時間帯番号を時間帯
番号受信手段8が常時受信しているが、これらの装置で
はバス使用権確認手段9が時間帯番号受信手段8が受信
した時間帯番号と、使用時間帯記憶手段7に記憶されて
いる使用時間帯番号の比較を行っている。両時間帯番号
が一致することはその装置が指定を受けた時間帯がきた
ことを意味するため、両時間帯番号が一致するとバス使
用権確認手段9はバス使用権を獲得したことを確認し、
図示省略された処理部等に情報を送り、バスの使用を開
始させる。In a plurality of devices 2, the time zone number receiving means 8 always receives the time zone number, and in these devices, the bus usage right confirmation means 9 receives the time zone number received by the time zone number receiving means 8. and the usage time slot numbers stored in the usage time slot storage means 7 are compared. If the two time zone numbers match, it means that the time zone designated by the device has arrived; therefore, if the two time zone numbers match, the bus right confirmation means 9 confirms that the bus right to use has been acquired. ,
Information is sent to a processing unit (not shown), etc., to start using the bus.
【0020】以上のように、複数の装置2はメモリにア
クセスするためにバスの使用要求を行ったときに即座に
使用時間帯が指定され、以後その時間帯が到来すれば直
ちにバスが使用できる。このため、複数の装置が同時に
バスの使用要求を行っても、メモリアクセスの際に改め
てバスハントを行う必要がない。この結果、バスハント
時間が短縮され、システムのデータ転送能力が増大する
。As described above, when the plurality of devices 2 make a request to use the bus to access memory, a usage time period is immediately specified, and the bus can be used immediately after that time period arrives. . Therefore, even if a plurality of devices request the use of the bus at the same time, there is no need to perform another bus hunt when accessing the memory. As a result, bus hunt time is reduced and the data transfer capacity of the system is increased.
【0021】[0021]
【実施例】図2は本発明の実施例の構成図、図3は本発
明の実施例のバス使用要求処理説明図、図4は本発明の
実施例のバス転送制御シーケンス図である。DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 2 is a block diagram of an embodiment of the present invention, FIG. 3 is an explanatory diagram of bus use request processing in an embodiment of the present invention, and FIG. 4 is a bus transfer control sequence diagram of an embodiment of the present invention.
【0022】図2中、図1と同一対象物は同一記号をも
って示し、2a,2bは複数の装置を構成する装置で、
2aはプロセッサ(以下、CPUと記す)、2b−1〜
2b−nは複数のチャネル装置(以下、CH1 〜CH
N と記す)である。また、10はメモリ、11及び1
2は制御バスの一部を分離して記載したもので、11は
バス使用要求線、12はバス使用許可線である。In FIG. 2, the same objects as in FIG. 1 are indicated by the same symbols, and 2a and 2b are devices constituting a plurality of devices,
2a is a processor (hereinafter referred to as CPU), 2b-1~
2b-n is a plurality of channel devices (hereinafter, CH1 to CH
(denoted as N). Also, 10 is a memory, 11 and 1
2 shows a part of the control bus separated, 11 is a bus use request line, and 12 is a bus use permission line.
【0023】図2については、図1を用いて説明した課
題を解決するための手段の作用と重複する部分を省略し
、図3及び図4と併せて説明する。図2においてバスを
使用するCPUまたはCH1 〜CHN はバス使用要
求線11を通してバス調停回路3(以下、BAと記す)
にバス使用要求(以下、RQと記す)を送出する。FIG. 2 will be described in conjunction with FIGS. 3 and 4, with parts that overlap with the operation of the means for solving the problem described using FIG. 1 being omitted. In FIG. 2, the CPUs or CH1 to CHN that use the bus pass through the bus use request line 11 to the bus arbitration circuit 3 (hereinafter referred to as BA).
A bus use request (hereinafter referred to as RQ) is sent to.
【0024】図3はBAに対してCPU、CHJ 及び
CHK (図2中では図示省略)より同時にRQが行わ
れた例における処理を説明する図である。図中、実線で
記された部分はBAに対するRQの入力状態と、BAよ
りの時間帯番号指定状況を示している。FIG. 3 is a diagram illustrating processing in an example in which RQ is simultaneously performed on BA by the CPU, CHJ, and CHK (not shown in FIG. 2). In the figure, the portion marked with a solid line shows the state of RQ input to BA and the state of time zone number designation from BA.
【0025】図3に示すように、BAはRQを送出した
CPU、CHJ 及びCHK の全部にに対してバスの
使用許可を意味するACKと使用時間帯番号T1 〜T
3 を返送する。この場合のACKは直ちにバスの使用
を許可するものではなく、それぞれに指定された使用時
間帯番号においてバスの使用を許可することを意味して
いる。この例ではCPU、CHJ 及びCHK はそれ
ぞれ時間帯番号T1 、T2 及びT3 にバスを使用
することが指定されている。As shown in FIG. 3, BA sends an ACK, which means permission to use the bus, to all of the CPU, CHJ, and CHK that sent the RQ, and the usage time period numbers T1 to T.
Return 3. In this case, ACK does not mean immediate permission to use the bus, but means permission to use the bus during the respective specified usage time slot numbers. In this example, CPU, CHJ, and CHK are designated to use the buses in time zone numbers T1, T2, and T3, respectively.
【0026】図4は図3と同一条件におけるバス転送制
御のシーケンスを示しているが、以下、図2を併用して
図4の説明を行う。先ず、CPU、CHJ 及びCHK
の3つの装置からBAに対して同時にRQが送られ、
BAではこれを受信した時間帯指定部4が予め定められ
ている要求源の優先順位に従って使用時間帯番号を指定
し、ACKに付してバス使用許可線12を介して各装置
に殆ど同時に返送する。この例では時間帯番号T1 〜
T3 は若い番号が早い時間帯であり、CPUが最優先
の時間帯を指定されている。Although FIG. 4 shows a bus transfer control sequence under the same conditions as FIG. 3, FIG. 4 will be explained below using FIG. 2 in combination. First, CPU, CHJ and CHK
RQs are sent to BA from three devices at the same time,
In the BA, the time zone specifying unit 4 that receives this specifies the usage time zone number according to the predetermined priority order of the request source, and sends it back to each device almost simultaneously via the bus usage permission line 12 along with ACK. do. In this example, the time zone number T1 ~
T3 is the time slot where the lower number is earlier, and the time slot where the CPU has the highest priority is designated.
【0027】前記ACKと使用時間帯番号はそれぞれの
装置の使用時間帯記憶部7に受信されて記憶される。図
4に示すように3つの装置に対するバスハントはこれに
よりすべて終了する。The ACK and usage time slot number are received and stored in the usage time slot storage section 7 of each device. As shown in FIG. 4, all bus hunts for the three devices are thus completed.
【0028】BAはACKと使用時間帯番号を返送する
とバスの使用が一旦終了するので、ここで時間帯番号を
更新するが、ここでは更新後の時間帯番号をT1 とす
る。この時間帯番号T1 は時間帯番号送出部5より時
間帯番号通知線6に送出され、各CPU及びCH1 〜
CHN の時間帯番号受信部8に受信される。When BA returns the ACK and the usage time slot number, the use of the bus is temporarily terminated, so the time slot number is updated here, and here, the updated time slot number is assumed to be T1. This time zone number T1 is sent from the time zone number sending unit 5 to the time zone number notification line 6, and is sent to each CPU and CH1 to
It is received by the time zone number receiving section 8 of CHN.
【0029】CPU及びCH1 〜CHN のバス使用
権確認部9は、使用時間帯記憶部9に記憶されている使
用時間帯番号と、時間帯番号受信部8が受信する時間帯
番号を比較しているが、ACKとともに使用時間帯番号
T1 を受信したCPUはこの時点で受信した時間帯番
号T1 が使用時間帯番号と一致するため、バス使用権
確認部9がバス使用権を獲得したことを確認し、図示省
略された処理部にこれを知らせ、バスの使用を開始させ
る。図4はCPUがMEMに対してデータの書き込み(
W)を行う例を示している。The CPU and CH1 to CHN bus right confirmation unit 9 compares the usage time slot number stored in the usage time slot storage unit 9 with the time slot number received by the time slot number receiving unit 8. However, the CPU that received the usage time slot number T1 along with the ACK confirms that the bus usage right confirmation unit 9 has acquired the bus usage right because the time slot number T1 received at this point matches the usage time slot number. Then, a processing unit (not shown) is notified of this and starts using the bus. Figure 4 shows the CPU writing data to the MEM (
An example of performing W) is shown.
【0030】他のCHJ 及びCHK はそれぞれが指
定された使用時間帯番号のT2 またはT3 と現時点
の時間帯番号T1 が一致していないので時間帯番号の
受信とバス使用権確認部9における比較を継続する。Since the other CHJ and CHK do not match the designated usage time slot number T2 or T3 with the current time slot number T1, the reception of the time slot number and the comparison in the bus right confirmation unit 9 are performed. continue.
【0031】CPUがMEMに対するデータの書き込み
を終了すると、CPUはBAに対してRQをオフにする
。これはバスの使用を終了したことを意味するため、B
Aでは時間帯番号送出部5が時間帯番号をT2 に更新
して時間対通知線6に送出する。この時間帯番号はCH
J に指定された使用時間帯番号と一致するため、CH
J がバスの使用権を得て、図4のようにMEMよりデ
ータの読み出し(R)を行う。データの読み出し終了に
よりRQをオフにすると時間帯番号はT3 に更新され
、CHK がバスの使用権を得る。[0031] When the CPU finishes writing data to the MEM, the CPU turns off RQ to the BA. This means that the use of the bus has ended, so B
At A, the time zone number sending unit 5 updates the time zone number to T2 and sends it to the time pair notification line 6. This time zone number is CH
CH because it matches the usage time zone number specified in J.
J obtains the right to use the bus and reads data (R) from the MEM as shown in FIG. When RQ is turned off upon completion of data reading, the time zone number is updated to T3 and CHK gains the right to use the bus.
【0032】上記のように、バスハントはRQを受信し
た際に終了するため、バスハント時間は図4に示すt0
のみとなる。このバスハント時間t0 は従来技術に
おける第1順位のバス使用要求源のバスハント時間(第
7図のt1 )にほぼ等しい時間であり、従来技術で必
要であった第2順位以降のバス使用要求源のバスハント
時間(第7図のt2 ,t3 )は前記t0 の中に含
まれるため、不要となる。即ち、本発明ではバスハント
時間が大幅に短縮される分、バスの転送能力が増加する
。As mentioned above, since the bus hunt ends when an RQ is received, the bus hunt time is t0 shown in FIG.
Only. This bus hunt time t0 is approximately equal to the bus hunt time (t1 in FIG. 7) for the first priority bus use request source in the prior art, and is a time that is approximately equal to the bus hunt time for the first priority bus use request source (t1 in FIG. The bus hunt time (t2, t3 in FIG. 7) is included in the time t0, so it becomes unnecessary. That is, according to the present invention, the bus hunt time is significantly shortened, and the transfer capacity of the bus is increased.
【0033】以上、本発明の実施例を図2乃至図4によ
り説明したが、図2乃至図4はあくまで本発明の一実施
例を示したものに過ぎず、本発明が図2乃至図4のみに
限定されないことは当然である。例えば、図2において
バス使用要求を行う装置はプロセッサ(CPU)とチャ
ネル装置(CH1 〜CHN)に限定されるものではな
く、バスに接続されてバス使用を要求する必要がある装
置であれば他の装置であっても同様に適用することが可
能である。Although the embodiment of the present invention has been described above with reference to FIGS. 2 to 4, FIGS. 2 to 4 merely show one embodiment of the present invention. Of course, it is not limited to For example, in FIG. 2, the devices that make a bus use request are not limited to the processor (CPU) and channel devices (CH1 to CHN), but can be other devices as long as they are connected to the bus and need to request bus use. It is also possible to apply this method to other devices as well.
【0034】また、図3及び図4ではバス使用要求(R
Q)に対してBAはバスの使用許可を意味するACKに
使用時間帯番号T1 〜T3 を付加して返送している
が、時間帯番号のみを返送してこれにACKの役割りを
兼ねさせ、ACKを省略することも可能である。Furthermore, in FIGS. 3 and 4, the bus use request (R
In response to Q), BA adds the usage time zone number T1 to T3 to the ACK that means permission to use the bus and returns it, but BA returns only the time zone number and makes this also function as an ACK. , ACK can also be omitted.
【0035】また、図3及び図4はCPU、CHJ 及
びCHK の3装置より同時にバス使用要求が行われた
例を示しているが、BAが同時に要求を受信できる要求
源の数が3つに限られないことは勿論である。更に、図
4においては3つの要求源より全く同時にバス使用要求
が行われているが、この場合における「同時」の範囲は
図示省略されたBA内の1クロック幅に限定されるもの
ではなく、任意のクロック幅で設定することが可能であ
る。
この場合、同時にバス使用要求を受信する要求源の数が
多いほどバスハント時間の短縮効果が大きくなるため、
「同時」の範囲とする時間幅を処理に遅れを生じない範
囲でできるだけ大きくとる方が効果的である。特に、チ
ャネル数が多い場合や、バス使用要求の発生頻度が高い
場合などは時間幅を広くとることによって効果を高める
ことが可能である。Furthermore, although FIGS. 3 and 4 show an example in which three devices (CPU, CHJ, and CHK) make requests to use the bus at the same time, the number of request sources from which BA can receive requests at the same time is three. Of course, it is not limited. Furthermore, in FIG. 4, bus use requests are made from three request sources at exactly the same time, but the range of "simultaneous" in this case is not limited to one clock width in BA (not shown); It is possible to set any clock width. In this case, the greater the number of request sources that simultaneously receive bus use requests, the greater the effect of reducing bus hunt time.
It is more effective to make the time range of the "simultaneous" range as large as possible without causing a delay in processing. In particular, when the number of channels is large or when bus usage requests occur frequently, the effect can be enhanced by widening the time width.
【0036】[0036]
【発明の効果】以上説明したように、本発明によれば、
複数の装置がバスを共有するシステムにおいて、複数の
装置より同時にバス使用要求が行われた場合にバスハン
ト時間を短縮することが可能となり、かかるシステムに
おけるバスのデータ転送能力の向上、延いてはシステム
の処理能力の向上に資するところが大きい。[Effects of the Invention] As explained above, according to the present invention,
In a system where multiple devices share a bus, it is possible to reduce the bus hunt time when multiple devices request the use of the bus at the same time, improving the data transfer capacity of the bus in such a system, and ultimately improving the system. This greatly contributes to improving the processing capacity of
【図1】 本発明の原理説明図[Figure 1] Diagram explaining the principle of the present invention
【図2】 本発明の実施例構成図[Figure 2] Embodiment configuration diagram of the present invention
【図3】 本発明実施例のバス使用要求処理説明図[Figure 3] An explanatory diagram of bus use request processing according to the embodiment of the present invention
【
図4】 本発明実施例のバス転送制御シーケンス図[
Figure 4: Bus transfer control sequence diagram according to the embodiment of the present invention
【
図5】 従来技術の構成図[
Figure 5: Configuration diagram of conventional technology
【図6】 従来技術のバス使用要求処理説明図[Figure 6] Illustration of conventional technology bus use request processing
【図7
】 従来技術のバス転送制御シーケンス図[Figure 7
] Conventional technology bus transfer control sequence diagram
1 バス 2 装置 3 バス調停回路 4 時間帯指定手段 5 時間帯番号送出手段 6 時間帯通知線 7 使用時間帯記憶手段 8 時間帯番号受信手段 9 バス使用権確認手段 1 Bus 2 Device 3 Bus arbitration circuit 4 Time zone specification means 5 Time zone number sending means 6 Time zone notification line 7 Usage time storage means 8 Time zone number receiving means 9. Bus usage right confirmation means
Claims (1)
の装置(2) のバス使用権をバス調停回路(3) が
調停するシステムにおいて、前記バス調停回路(3)
内に、前記複数の装置(2) よりバス使用要求を受信
したとき、同時に要求を行った装置に対して、装置ごと
のバス使用時間帯を指定する使用時間帯番号を同時に返
送する時間帯指定手段(4) と、バスの使用が終了す
る都度更新する時間帯番号を、バス調停回路(3) と
前記複数の装置(2) 間に設けられた時間帯通知線(
6) を介して該複数の装置(2) に通知する時間帯
番号送出手段(5) を備え、かつ、前記複数の装置(
2) 内に、バス使用要求送出時に前記バス調停回路(
3) より返送される前記使用時間帯番号を記憶する使
用時間帯記憶手段(7) と、前記時間帯通知線(6)
に送出される前記時間帯番号を受信する時間帯番号受
信手段(8) と、前記使用時間帯記憶手段(7)が記
憶する使用時間帯番号と前記時間帯番号受信手段(8)
が受信する時間帯番号を比較し、両時間帯番号が一致
したときにバス使用権の獲得を確認するバス使用権確認
手段(9) を備えたことを特徴とするバス転送制御方
式。Claim 1: In a system in which a bus arbitration circuit (3) arbitrates bus usage rights for a plurality of devices (2) connected to one bus (1), the bus arbitration circuit (3)
A time zone designation function that, when a bus use request is received from the plurality of devices (2), simultaneously returns a usage time zone number that specifies the bus usage time zone for each device to the devices that made the requests at the same time. The means (4) and the time zone number, which is updated each time the use of the bus ends, are transmitted through a time zone notification line (
6) a time zone number sending means (5) for notifying the plurality of devices (2) via the plurality of devices (2);
2) The bus arbitration circuit (
3) a use time zone storage means (7) for storing the use time zone number returned from the time zone notification line (6);
a time zone number receiving means (8) for receiving the time zone number sent to the time zone number; and a use time zone number stored in the use time zone storage means (7) and the time zone number receiving means (8).
1. A bus transfer control system comprising: a bus right confirmation means (9) for comparing time zone numbers received by the time zone numbers and confirming acquisition of the bus right when the two time zone numbers match.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9090991A JPH04322352A (en) | 1991-04-23 | 1991-04-23 | Bus transfer control system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9090991A JPH04322352A (en) | 1991-04-23 | 1991-04-23 | Bus transfer control system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH04322352A true JPH04322352A (en) | 1992-11-12 |
Family
ID=14011539
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP9090991A Withdrawn JPH04322352A (en) | 1991-04-23 | 1991-04-23 | Bus transfer control system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH04322352A (en) |
-
1991
- 1991-04-23 JP JP9090991A patent/JPH04322352A/en not_active Withdrawn
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6986005B2 (en) | Low latency lock for multiprocessor computer system | |
| KR100644596B1 (en) | Bus system and its bus arbitration method | |
| CA2008753C (en) | Priority apparatus having programmable node dwell time | |
| KR100708096B1 (en) | How to adjust the bus system and its execution order | |
| US5649209A (en) | Bus coupling information processing system for multiple access to system bus | |
| JPH0728758A (en) | And device for dynamic time loop arbitration | |
| JP3766377B2 (en) | Bus control device and information processing system | |
| US5241629A (en) | Method and apparatus for a high performance round robin distributed bus priority network | |
| JPH08153065A (en) | Bus control circuit | |
| JP3353368B2 (en) | Bus relay device | |
| JP2848082B2 (en) | DMA bus arbitration | |
| JP2837698B2 (en) | Direct memory access controller | |
| JPS6155704B2 (en) | ||
| JPH06266657A (en) | Information processing equipment | |
| JP2990692B2 (en) | Bus acquisition control method | |
| JP4432268B2 (en) | Bus arbitration system and interrupt processing method for a device serving as a bus master in this system | |
| JPH04250553A (en) | Programmable controller | |
| JPH03137754A (en) | Access control system for shared memory | |
| JPH04654A (en) | Bus control system | |
| JPH023851A (en) | Direct memory access device | |
| JPH06161951A (en) | Bus control system | |
| JPS6079455A (en) | Bus controlling system | |
| JPH04276845A (en) | Bus arbitration circuit | |
| JP2001022688A (en) | Bus bridge arbitration method | |
| JPS6172350A (en) | Data transfer control system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 19980711 |