JPS60558A - Data transfer controlling system - Google Patents
Data transfer controlling systemInfo
- Publication number
- JPS60558A JPS60558A JP10864983A JP10864983A JPS60558A JP S60558 A JPS60558 A JP S60558A JP 10864983 A JP10864983 A JP 10864983A JP 10864983 A JP10864983 A JP 10864983A JP S60558 A JPS60558 A JP S60558A
- Authority
- JP
- Japan
- Prior art keywords
- transfer
- dma
- bus
- permission signal
- data transfer
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/20—Handling requests for interconnection or transfer for access to input/output bus
- G06F13/28—Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Bus Control (AREA)
- Small-Scale Networks (AREA)
Abstract
Description
【発明の詳細な説明】
発明の技術分野
本発明は、共通バスを介しての複数の下位装置によるD
MAデータ転送制御方式に関する。DETAILED DESCRIPTION OF THE INVENTION Technical Field of the Invention The present invention relates to
This relates to an MA data transfer control method.
従来技術と問題点
中央処理装置及び複数の下位装置が接続された共通バス
を介して下位装置がインクレースモードでDMA (D
irect Memory Access)を行なう場
合共通バスの占有制御が必要であるが、従来は共通バス
に優先制御機構を設け、これにより一括制御を行なって
いた。第1図、第2図でこれを説明すると、これらの図
で10は共通バス(C−BUS)、12はその制御装置
(CPU) 、14.16は下位装置であり、これらは
図示のように接続される。Prior Art and Problems Lower-level devices perform DMA (D
When performing direct memory access, it is necessary to control the occupancy of a common bus, but conventionally, a priority control mechanism has been provided for the common bus, and collective control has been performed using this. To explain this with reference to Figures 1 and 2, in these figures, 10 is a common bus (C-BUS), 12 is its control unit (CPU), and 14.16 is a lower device, and these are as shown in the figure. connected to.
下位装置14.16は回線アダプタ、ディスクアダプタ
などであり、場合によっては多数設けられるが、図では
2つのみ示す。第1図は並行優先制御形と呼ばれ、イン
クレースモードでDMAを行なうに当って各下位装置は
1回の転送毎に要求信号REQを上げ、C−BUSの優
先制御機構による優先処理などを加えて制御装置12は
該要求が受入れられるものであれば許可応答信GACK
を返し、これにより当該下位装置はDMAに入る。The lower-order devices 14 and 16 are line adapters, disk adapters, etc., and although a large number may be provided depending on the case, only two are shown in the figure. Figure 1 is called the parallel priority control type, in which when performing DMA in incremental mode, each lower device raises the request signal REQ for each transfer, and performs priority processing by the C-BUS priority control mechanism. In addition, the control device 12 sends an authorization response signal GACK if the request is accepted.
, which causes the lower device to enter DMA.
下位装置相互間に連絡はなく、DMA要求があればRE
Qを上げACKが返ればDMAに入り、否定応答NAC
Kが返れば待ちとする。第2図はいもする優先制御型と
呼ばれるもので、要求信号REQは各下位装置を通して
最下方の下位装置から上方の下位装置へ、それより制御
装置12へ入り、許可応答信号ACKはこの逆に伝えら
れ、要求を上げた下位装置がそれを取込み、DMAに入
る。There is no communication between lower-level devices, and if there is a DMA request, RE is sent.
If Q is raised and ACK is returned, DMA is entered and negative response NAC
If K is returned, wait. This is called a priority control type, in which the request signal REQ passes through each lower-level device from the lowest lower-level device to the upper lower-level device, and then to the control device 12, and the permission response signal ACK is sent in the opposite direction. The lower-level device that made the request picks it up and enters the DMA.
信号ACKは制御装置12に近いもの順に入るので、複
数の下位装置がREQを上げACKが返されると制御装
置12に近い下位装置がそれを取込んでしまう。即ち優
先順は制御装置に近い順(ACK信号線で見て)であり
、遠い下位装置は後廻しになる。Since the signal ACK is entered in the order of the closest to the control device 12, if a plurality of lower-order devices raise REQ and ACK is returned, the lower-order device closest to the control device 12 will take it in. In other words, the order of priority is the one closest to the control device (as viewed from the ACK signal line), and the farthest lower-order devices come later.
ところで技術の進歩により磁気ディスク装置のデータ転
送速度は速くなり、従来技術で設計されたC−BUS
DMA回路の限界速度に近づいて来ている。またシリア
ルデータ転送も光ループなど高速のデータ転送を必要と
するものが次々と実用化され、ディスク以外でも高速D
MAを行なう必要が出てきた。か\るものに対処するに
は高速C−Busを用意すればよいが、C−Busに接
続されるすべての制御部に回路変更が生じることになり
これは当然コスト環を招く。By the way, with the advancement of technology, the data transfer speed of magnetic disk devices has become faster, and C-BUS designed using conventional technology has become faster.
The speed limit of the DMA circuit is approaching. In addition, serial data transfers that require high-speed data transfer, such as optical loops, have been put into practical use one after another, and high-speed D
It became necessary to perform MA. To deal with this, a high-speed C-Bus may be provided, but all the control units connected to the C-Bus will need to be changed, which naturally increases costs.
発明の目的
それ数本発明は、遅いDMA制御機構を持つデータ処理
システムに、最新技術のディスク装置、光ループインタ
フェースなどを接続可能にするデータ転送制御方式を提
供しようとするものである。OBJECTS OF THE INVENTION The present invention seeks to provide a data transfer control method that allows connection of state-of-the-art disk devices, optical loop interfaces, etc. to data processing systems having slow DMA control mechanisms.
DMA転送制御が遅いシステムで高速DMAを並行して
動作させようとするとC−BUSの切換によるタイムロ
スが大きく、効率低下を招く。またシリアルループイン
タフェースではその性質上ソフトウェアで排他動作制御
を行なうことは不可である。このような問題に対処して
、高速ディスク、光ループなどのDMAを可能にする転
送制御方式詳しくはC−B ’U S占有排゛他制御方
式を提供しようとするものである。If high-speed DMA is operated in parallel in a system where DMA transfer control is slow, there will be a large time loss due to C-BUS switching, leading to a decrease in efficiency. Furthermore, due to the nature of the serial loop interface, it is impossible to perform exclusive operation control using software. To address these problems, the present invention attempts to provide a transfer control system that enables DMA for high-speed disks, optical loops, etc., specifically, a C-B'US exclusive control system.
発明の構成
本発明は共通ハスに中央処理装置および複数の下位装置
が接続され、下位装置がデータ転送する際は共通バスを
インクレースモードで占有するシステムにおけるデータ
転送制御方式において、優先レベルの高い下位装置Aは
、転送要求がないとき転送許可信号を発生し、優先レベ
ルの低い下位装置Bは転送要求がありかつ該転送許可信
号が出されているときダイレクトメモリアクセスを行い
、該下位装置Aは転送要求が発生したとき転送許可信号
をオフにし、これにより下位袋wBは所定時間内にダイ
レクトメモリアクセスを中止し、下位装置Aは転送許可
信号をオフにしてから一定時間後または下位装置Bがダ
イレクトメモリアクセス中発生していた転送中信号をオ
フにした時点でダイレクトメモリアクセスに入ることを
特徴とするが、次に実施例を参照しながらこれを詳細に
説明する。Composition of the Invention The present invention is a data transfer control method for a system in which a central processing unit and a plurality of lower-order devices are connected to a common bus, and the common bus is occupied in incremental mode when the lower-order devices transfer data. Lower-level device A generates a transfer permission signal when there is no transfer request, and lower-level device B with a lower priority level performs direct memory access when there is a transfer request and the transfer permission signal is issued. turns off the transfer permission signal when a transfer request occurs, and as a result, lower-order device A stops direct memory access within a predetermined time, and lower-order device A discontinues direct memory access after a certain period of time after turning off the transfer permission signal, or lower-order device B The present invention is characterized in that direct memory access is started at the point when the in-transfer signal generated during direct memory access is turned off, and this will be described in detail below with reference to embodiments.
発明の実施例
第3図は本発明を実施するシステムの一例を示し、第1
図及び第2図と同し部分には同し符号がイ」シである。Embodiment of the Invention FIG. 3 shows an example of a system for carrying out the present invention.
The same parts as in the figure and FIG. 2 are designated by the same reference numerals.
20は光ループ、22は磁気ディスク装置であり、14
.16即ち下位装置−1、同2番よこれらの光ループ及
びディスクのアダプタである。20 is an optical loop, 22 is a magnetic disk device, 14
.. 16, that is, lower unit 1 and number 2 are adapters for these optical loops and disks.
下位装置は多数ある場合もあるが、こ\で番よその2つ
のみ示す。本発明では(、−BUS4こ下位装置−1,
同一2のための優先制御機構は設けなむ1゜代りに下位
装置−1,同一2を次のようにする。There may be many lower-level devices, but only two of them are shown here. In the present invention, (-BUS4 lower device-1,
A priority control mechanism for the same 2 is not provided.Instead of 1°, the lower device 1 and the same 2 are set as follows.
即ち下位装置−1は自身がデータ転送要求を持たない時
には、下位装置−2に対して転送許可信号TAを発生す
る。また下位装置−2は自身にデータ転送要求があり転
送許可信号TAが入ってし)る時にC−BUS占有要求
信号REQを出力し、転送許可信号TAがオフとなった
ときは所定時間内に即ちまだDMA中ではあるかその区
切りのよむ)所でデータ転送を終了する(REQを出さ
なくなる)。また下位装置−1はある程度のデータノ\
・ノファを待ち、下位装置−2がデータ転送を終了する
まで(所定時間)待つことが可能とする。That is, when the lower device 1 does not have a data transfer request, it generates a transfer permission signal TA to the lower device 2. Furthermore, when the lower device-2 has a data transfer request and receives the transfer permission signal TA, it outputs the C-BUS occupancy request signal REQ, and when the transfer permission signal TA turns off, it outputs the C-BUS occupancy request signal REQ within a predetermined time. In other words, the data transfer ends (no REQ is issued) at a point where the DMA is still in progress (or at a break point). Also, the lower device-1 has a certain amount of data
- It is possible to wait until the lower device-2 completes data transfer (for a predetermined period of time).
第4図のタイムチャートを参照しながら動作を説明する
と、下位装置−1は自身に転送要求がないときは他の下
位装置−2に転送許可を出しており、下位装置−2では
自身に転送要求がありかつ下位装置−1が転送許可を出
しているとC−BUS占有要求償号REQを発生し、C
−BUSを使用してのDMA動作を開始し、かつDMA
中は転送中を示す信号Tを上げる。、下位装置−1に転
送要求が発生すると該下位装置−1は転送許可信号TA
をオフにし、下位装置−2はこれを検知すると所定時間
τ内に(、−BUS DMA動作を中止し、転送要求伝
送中信号Tをオフにする。下位装置−1はこれを検出し
、C−BUS DMA動作に入る。DMAが終了すると
下位装置−1は再び転送許可TAを上げ、これを受けて
下位装置−2は新たな転送要求があるなら伝送中信号T
を出し、C−BUS DMA動作を再開する。この間C
−Bus使用権は下位装置−1,2により保持されたま
まとなる。To explain the operation with reference to the time chart in Fig. 4, lower-level device-1 issues transfer permission to another lower-level device-2 when there is no transfer request to itself, and lower-level device-2 transfers data to itself. If there is a request and the lower device-1 has issued transfer permission, a C-BUS occupancy request redemption code REQ is generated and the C-BUS
- Start a DMA operation using the BUS, and
During the transfer, the signal T indicating that the transfer is in progress is raised. , when a transfer request occurs to the lower device-1, the lower device-1 issues a transfer permission signal TA.
When lower device-2 detects this, it stops the -BUS DMA operation and turns off transfer request transmitting signal T. Lower device-1 detects this and turns off C - BUS DMA operation begins. When the DMA is completed, the lower device-1 raises the transfer permission TA again, and in response, the lower device-2 raises the transmitting signal T if there is a new transfer request.
is issued and resumes C-BUS DMA operation. During this time C
-The right to use the Bus remains held by the lower devices -1 and -2.
か\る制御により、下位装置−1を優先させた下位装置
同志のDMA動作排他制御が可能になる。Such control enables exclusive control of DMA operations between lower-level devices, giving priority to lower-level device-1.
この方式によれば現状の装置自体は変更せずに最新のテ
クノロジーを導入した周辺装置を接続可能とし得、ソフ
トウェアに対しては同時動作に見せることができ、制御
が容易になる。According to this method, it is possible to connect peripheral devices incorporating the latest technology without changing the current device itself, and it is possible to make simultaneous operations appear to software, making control easier.
第5図は変形例を示し、この場合は下位装置−1に転送
要求が発生すると転送許可はオフになり、下位装置−2
はDMA中であってもそれをある区切りで中止する点は
第4図と同じであるが、第5図では下位装置−2はD
M’A中に伝送中信号Tを上げることはしないので下位
装置−1は下位装置−2のDMA終了を知る手段がない
。そこで下位装置−1は転送許可をオフにしたらタイマ
をスタートさせて時間監視し、所定時間経過したら下位
装置−2ではDMAを終了もしくは中断したと見做して
自身のDMAを始める。このDMAが終了すると再び転
送許可を出し、これにより下位装置−2はまだ転送要求
があるならDMAを再開する。FIG. 5 shows a modified example. In this case, when a transfer request occurs to lower-level device-1, transfer permission is turned off, and lower-level device-2
is the same as Figure 4 in that it stops DMA at a certain interval even during DMA, but in Figure 5 lower device-2
Since the transmitting signal T is not raised during M'A, the lower-level device-1 has no means of knowing that the DMA of the lower-level device-2 has ended. Therefore, after turning off the transfer permission, the lower-level device-1 starts a timer to monitor the time, and when a predetermined period of time has elapsed, the lower-level device-2 assumes that the DMA has been completed or interrupted and starts its own DMA. When this DMA is completed, transfer permission is issued again, and the lower device-2 then resumes DMA if there are still transfer requests.
この方式は時間監視型であるので下位装置−2がDMA
をしていないときでも下位装置−1は一定時間待たない
とDMAに入れないなどの難点はあるが、下位装置−2
は伝送中信号を発生しなくてもよい利点がある。Since this method is a time monitoring type, the lower device-2 is DMA
There are some drawbacks, such as lower-level device-1 cannot enter DMA unless it waits for a certain period of time, even when lower-level device-2 is not in use.
has the advantage of not having to generate a signal during transmission.
第6図は従来方式の動作を示す図で、下位装置−1、下
位装置−2ともに転送要求があればREQを上げ、そし
て下位装置−1は下位装置−2より優先度が高いので下
位装置−2がDMA中でも転送要求があればDMAに入
り、下位装置−2のDMAは中止される。DMAは所定
ブロックずつ行ない、各ブロックの区切りでDMAは優
先レベルの低い下位装置のDMAに移るが、下位装置−
2は下位装置−1のDMAが始まるとC−BUSの切換
サイクルが頻繁に入り、実際、C−Busを用いたデー
タ転送の比率が下がることになりバスの効率が悪くなる
。FIG. 6 is a diagram showing the operation of the conventional method. If there is a transfer request in both lower-level device-1 and lower-level device-2, REQ is raised, and since lower-level device-1 has a higher priority than lower-level device-2, the lower-level device Even if -2 is in DMA, if there is a transfer request, it enters DMA and the DMA of lower device -2 is stopped. DMA is performed for each predetermined block, and at the end of each block, the DMA is transferred to the DMA of a lower-level device with a lower priority level.
2, when the DMA of the lower device 1 starts, C-BUS switching cycles occur frequently, and the ratio of data transfer using the C-Bus actually decreases, resulting in poor bus efficiency.
発明の詳細
な説明したように本発明によればバス占有排他制御は下
位装置自身が行ない、該制御のための制御機構を共通バ
スに設ける必要がなく、転送要求発生毎にC−BUSの
REQ、ACKのやりとりも不要で、下位装置は条件が
満たされていることを自身で確認して直ちにDMAに入
ってよい。こうして本発明によれば現状の装置自体を変
更せずに最新のテクノロジーを導入した周辺装置をC−
BUSの効率をあまり下げないで接続可能とし、ソフト
ウェアに対しては同時動作に見せることができ制御が容
易になる等の利点が得られる。As described in detail, according to the present invention, bus exclusive control is performed by the lower device itself, there is no need to provide a control mechanism for this control on the common bus, and C-BUS REQ is performed every time a transfer request occurs. , ACK exchanges are not required, and the lower device can immediately enter DMA after confirming that the conditions are met. In this way, according to the present invention, a peripheral device incorporating the latest technology can be used without changing the current device itself.
This provides advantages such as connection can be made without much deterioration of BUS efficiency, and simultaneous operations can be made to appear to software, making control easier.
第1図及び第2図は従来の伝送制御方式を説明するブロ
ック図、第3図は本発明の実施例を示すブロック図、第
4図〜第6図は動作説明用のタイムチャートである。
図面で、10は共通バス、12は中央処理装置、14.
16は下位装置、TAは転送許可信号、Tは伝送中信号
である。
出願人 富士通株式会社
代理人弁理士 青 柳 稔1 and 2 are block diagrams explaining a conventional transmission control system, FIG. 3 is a block diagram showing an embodiment of the present invention, and FIGS. 4 to 6 are time charts for explaining the operation. In the drawing, 10 is a common bus, 12 is a central processing unit, 14.
16 is a lower device, TA is a transfer permission signal, and T is a transmitting signal. Applicant Fujitsu Limited Representative Patent Attorney Minoru Aoyagi
Claims (1)
れ、下位装置がデータ転送する隊は共通バスをインクレ
ースモードで占有するシステムにおけるデータ転送制御
方式において、 優先レベルの高い下位装置Aは、自己の転送要求がない
とき転送許可信号を発生し、優先レベルの低い下位装置
Bは自己の転送要求がありかつ該転送許可信号が出され
ているときダイレクトメモリアクセスを行い、 該下位装置Aは転送要求が発生したとき転送許可信号を
オフにし、これにより下位装置Bは所定時間内にダイレ
クトメモリアクセスを中止し、下位装置Aは転送許可信
号をオフにしてから一定時間後または下位装置Bがダイ
レクトメモリアクセス中発生していた転送生信号をオフ
にした時点でダイレクトメモリアクセスに入ることを特
徴とするデータ転送制御方式。[Claims] In a data transfer control method in a system in which a central processing unit and a plurality of lower-order devices are connected to a common bus, and the group to which the lower-order devices transfer data occupies the common bus in an incremental mode, the priority level is high. Lower device A generates a transfer permission signal when there is no transfer request of its own, lower device B with a lower priority level performs direct memory access when there is a transfer request of its own and the transfer permission signal is issued, The lower device A turns off the transfer permission signal when a transfer request occurs, causing the lower device B to stop direct memory access within a predetermined time, and the lower device A turns off the transfer permission signal after a certain period of time. Alternatively, a data transfer control method is characterized in that the direct memory access is started at the time when the lower device B turns off the transfer raw signal generated during the direct memory access.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10864983A JPS60558A (en) | 1983-06-17 | 1983-06-17 | Data transfer controlling system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10864983A JPS60558A (en) | 1983-06-17 | 1983-06-17 | Data transfer controlling system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS60558A true JPS60558A (en) | 1985-01-05 |
Family
ID=14490155
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP10864983A Pending JPS60558A (en) | 1983-06-17 | 1983-06-17 | Data transfer controlling system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS60558A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS62108594U (en) * | 1985-12-26 | 1987-07-10 | ||
| JPS62114192U (en) * | 1986-01-11 | 1987-07-20 | ||
| JPS62217769A (en) * | 1986-03-19 | 1987-09-25 | Canon Inc | memory control circuit |
-
1983
- 1983-06-17 JP JP10864983A patent/JPS60558A/en active Pending
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS62108594U (en) * | 1985-12-26 | 1987-07-10 | ||
| JPS62114192U (en) * | 1986-01-11 | 1987-07-20 | ||
| JPS62217769A (en) * | 1986-03-19 | 1987-09-25 | Canon Inc | memory control circuit |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20080046619A1 (en) | Simultaneous Transmissions Between Multiple Master Buses and Multiple Slave Buses | |
| JPS60112164A (en) | Dynamically alterable interrupt preference circuit | |
| EP0275157B1 (en) | Direct memory access controlled system | |
| US4692862A (en) | Rapid message transmission system between computers and method | |
| EP0535793A2 (en) | Method for managing data transfers in a computing system having a dual bus structure | |
| JPS60558A (en) | Data transfer controlling system | |
| JP2002024195A (en) | Parallel processor and parallel process method | |
| US4437158A (en) | System bus protocol interface circuit | |
| KR101276837B1 (en) | Apparatus for communicating between processor systems operating with different operating frequencies | |
| JPS60110066A (en) | Data transfer control system | |
| JPS6266360A (en) | Priority control system | |
| JPS6059464A (en) | Bus request control system | |
| JPS59163662A (en) | Access system of memory | |
| JPS61172461A (en) | Communication device | |
| JPS5834858B2 (en) | Data exchange control method | |
| JPS616755A (en) | Data transfer system | |
| JPS58200323A (en) | Input and output processor | |
| JPH01205363A (en) | Direct memory access state decision circuit | |
| JPS61123938A (en) | Retry system of i/o control device | |
| JPS62181551A (en) | gateway device | |
| JPH02301851A (en) | System bus accessing system | |
| JPS59172029A (en) | Lock control system for asynchronous common bus | |
| JPS6238901A (en) | Programmable controller | |
| JPS6072060A (en) | Communication control processing device | |
| JPS5969827A (en) | data processing equipment |