JPH01205363A - Direct memory access state decision circuit - Google Patents

Direct memory access state decision circuit

Info

Publication number
JPH01205363A
JPH01205363A JP3132788A JP3132788A JPH01205363A JP H01205363 A JPH01205363 A JP H01205363A JP 3132788 A JP3132788 A JP 3132788A JP 3132788 A JP3132788 A JP 3132788A JP H01205363 A JPH01205363 A JP H01205363A
Authority
JP
Japan
Prior art keywords
control device
transfer
data transfer
dma
circuit
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.)
Granted
Application number
JP3132788A
Other languages
Japanese (ja)
Other versions
JP2533152B2 (en
Inventor
Kenichi Abo
阿保 憲一
Nobuo Tanaka
信夫 田中
Yasuhiro Nioka
二岡 康浩
Akinao Tanigawa
谷川 亮直
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP63031327A priority Critical patent/JP2533152B2/en
Publication of JPH01205363A publication Critical patent/JPH01205363A/en
Application granted granted Critical
Publication of JP2533152B2 publication Critical patent/JP2533152B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To use transfer capacity to the utmost by detecting that plural devices did not transmit a data transfer request to a DMA controller, and shortening the transmission interval of the data transfer request according to a detected result. CONSTITUTION:An inter-memory transfer controller 19 is provided with a state decision circuit 9 and a request generation circuit 10, and supervises a state that disk controllers 5 and 6 perform data transfer with a storage device 2, and controls its own data transfer speed correspondingly to said state. In the circuit 9, when a DMA transfer start signal is inputted, it informs a detecting means 27 that the transfer start signal is inputted. A timing means 26 sends an interval signal to the means 27 at every lapse of definite time, and erases the storage of the input of the transfer start signal. Accordingly, it shortens the transmission interval of the data transfer request which the circuit 10 transmits to the DMA controller 3, and makes the device 19 transfer the data at high speed. Thus, the data transfer capacity of the controller 3 can be used to the utmost.

Description

【発明の詳細な説明】 〔概要〕 直接メモリアクセスモードでデータ転送を行う複数の装
置の記憶装置に対するアクセス状態に応じて、自らの記
憶装置に対するアクセス要求を制御する直接メモリアク
セス状態判定回路に関し、直接メモリアクセス制御装置
の転送能力を最大限利用することを目的とし、 直接メモリアクセスモードにより、記憶装置との間でデ
ータ転送を行う複数の装置を制御する直接メモリアクセ
ス制御装置に接続され、他の装置の直接メモリアクセス
動作に対応して、該直接メモリアクセス制御装置に対す
るデータ転送要求の送出間隔を切替える装置において、
一定時間経過する度に信号を送出するタイミング手段と
、該タイミング手段が送出する一定時間の間、前記複数
の装置が前記直接メモリアクセス制御装置にデータ転送
要求を送出しなかったことを検出する検出手段とを設け
、該検出手段の検出結果に基づき、前記直接メモリアク
セス制御装置に対するデータ転送要求の送出間隔を短く
させる構成とする。
[Detailed Description of the Invention] [Summary] A direct memory access state determination circuit that controls access requests to its own storage device according to access states to the storage device of a plurality of devices that transfer data in direct memory access mode, The purpose is to make maximum use of the transfer capability of the direct memory access control device.In direct memory access mode, the device is connected to a direct memory access control device that controls multiple devices that transfer data to and from the storage device, and other In a device that switches an interval for sending data transfer requests to a direct memory access control device in response to a direct memory access operation of the device,
timing means for transmitting a signal every time a predetermined period of time elapses; and detection for detecting that the plurality of devices have not sent a data transfer request to the direct memory access control device during the predetermined period of time sent by the timing means. and means for shortening the sending interval of data transfer requests to the direct memory access control device based on the detection result of the detection means.

〔産業上の利用分野〕[Industrial application field]

本発明は直接メモリアクセスモードによりデータ転送を
行う複数の装置の記憶装置に対するアクセス状態に応じ
て、自らの記憶装置に対するアクセス要求を制御する直
接メモリアクセス状態判定回路に関する。
The present invention relates to a direct memory access state determination circuit that controls access requests to its own storage device according to access states to the storage device of a plurality of devices that transfer data in a direct memory access mode.

例えば、直接メモリアクセス(以後DMAと略す)時に
高速のデータ転送を行うディスク装置を接続する複数の
ディスク制御装置と、記憶装置との間で任意の速度でデ
ータ転送を行うメモリ間転送制御装置と、これらの装置
を接続して動作するDMA制御装置及びこれら総ての装
置を制御する処理装置で構成されるようなシステムにお
いては、DMA制御装置の転送能力を最大限に利用する
ため、メモリ間転送制御装置は状態判定回路を備えてデ
ィスク制御装置のDMA動作状態を監視し、ディスク制
御装置が動作中であれば、自らのデータ転送要求の送出
間隔を大きくして、低速でデータ転送を行い、ディスク
制御装置が停止していれ、ば、データ転送要求の送出間
隔を小さくして、高速でデータ転送を行う様にしている
。
For example, a plurality of disk control devices that connect disk devices that perform high-speed data transfer during direct memory access (hereinafter abbreviated as DMA), and an inter-memory transfer control device that transfers data at an arbitrary speed between storage devices. , a DMA control device that operates by connecting these devices, and a processing device that controls all of these devices, in order to make maximum use of the transfer capacity of the DMA control device, it is necessary to The transfer control device is equipped with a status determination circuit to monitor the DMA operation status of the disk control device, and if the disk control device is in operation, increases the sending interval of its own data transfer requests and transfers data at a low speed. If the disk control device is stopped, the data transfer request transmission interval is reduced to perform data transfer at high speed.

この場合、常にディスク制御装置の動作状態に対応して
、データ転送要求送出間隔の制御が出来ることが必要で
ある。
In this case, it is necessary to always be able to control the data transfer request sending interval in accordance with the operating state of the disk controller.

〔従来の技術〕[Conventional technology]

第4図はシステム構成例を説明するブロック図である。 FIG. 4 is a block diagram illustrating an example of the system configuration.

DMA制御装置3は処理装置1の指示に基づき、ディス
ク制御装置5と6を制御して、記憶装置2とディスク装
置7及び8との間で、直接メモリアクセスモードで高速
にデータの転送を行う。
Based on instructions from the processing device 1, the DMA control device 3 controls the disk control devices 5 and 6 to transfer data at high speed between the storage device 2 and the disk devices 7 and 8 in direct memory access mode. .

メモリ間転送制御装置4は記憶装置2のデータを読出し
、この読出したデータを記憶装置2の他の領域に格納す
るため、記憶装置2とデータ転送を行うが、状態判定回
路9と要求発生回路10を備えており、ディスク制御装
置5及び6が記tな装置2とデータ転送を行う状態を監
視して、その状態に対応して自身のデータ転送速度を調
整している。
The inter-memory transfer control device 4 reads data from the storage device 2 and performs data transfer with the storage device 2 in order to store the read data in another area of the storage device 2. 10, it monitors the state in which the disk control devices 5 and 6 perform data transfer with the other device 2, and adjusts its own data transfer speed in accordance with the state.

即ち、状態判定回路9は記憶装置2とディスク制御装置
5及び/又はディスク制御装置6との間でデータ転送が
行われている状態を監視し、ディスク制御装置5及び/
又は6がデータ転送中であれば、要求発生回路10がデ
ータ転送要求をDMA制御装置3に送出する時間間隔を
太き(させ、DMA制御装置3が記憶装置2との間のバ
スを割当てる時間間隔を長くさせることで、低速で記憶
装置2との間のデータ転送を行わせる。
That is, the status determination circuit 9 monitors the status of data transfer between the storage device 2 and the disk controller 5 and/or disk controller 6, and monitors the status of data transfer between the storage device 2 and the disk controller 5 and/or the disk controller 6.
Or, if 6 is in the process of data transfer, the request generation circuit 10 increases the time interval at which it sends a data transfer request to the DMA control device 3, and increases the time during which the DMA control device 3 allocates the bus with the storage device 2. By lengthening the interval, data transfer to and from the storage device 2 is performed at low speed.

又、ディスク制御装置5及び/又は6がデータ転送を停
止している時は、要求発生回路10がデータ転送要求を
DMA制御装置3に送出する要求時間間隔を小さくさせ
、高速で記憶装置2との間のデータ転送を行う。
Furthermore, when the disk controllers 5 and/or 6 have stopped data transfer, the request generation circuit 10 reduces the request time interval for sending data transfer requests to the DMA controller 3, and connects the storage device 2 at high speed. Transfer data between.

このようにすることで、DMA制御装置3のデータ転送
能力を最大限に利用することを可能としている。
By doing so, it is possible to make maximum use of the data transfer capability of the DMA control device 3.

第5図は従来の技術を説明するブロック図で、第6図は
第5図の動作を説明するタイムチャートである。
FIG. 5 is a block diagram explaining the conventional technique, and FIG. 6 is a time chart explaining the operation of FIG.

DMA制御装置3はディスク制御装置5のDMA要求信
号DRQ@を受信すると、第6図に示す如く、応答信号
DACK@を返送する。又、ディスク制御装置6のDM
A要求信号DRQ■を受信すると、第6図に示す如く、
ディスク制御装置5に対する応答信号DACK■が神子
した時点で応答信号DACK■を返送する。
When the DMA control device 3 receives the DMA request signal DRQ@ from the disk control device 5, it returns a response signal DACK@ as shown in FIG. Also, the DM of the disk control device 6
When the A request signal DRQ■ is received, as shown in FIG.
When the response signal DACK■ to the disk control device 5 reaches its peak, the response signal DACK■ is returned.

DMA制御装置3はディスク制御装置5のDMA要求信
号DRQ■を受信すると、第6図に示す如(、DMA転
送開始信号DSTATをオンとして“1”をメモリ間転
送制御装置4の状態判定回路9のAND回路13に送出
し、デコーダ11に動作装置を通知するコード、即ち、
ディスク制御装置5であることを示すWCHを送出する
。
When the DMA control device 3 receives the DMA request signal DRQ from the disk control device 5, it turns on the DMA transfer start signal DSTAT and sets it to "1" as shown in FIG. A code that is sent to the AND circuit 13 of and notifies the decoder 11 of the operating device, that is,
It sends out a WCH indicating that it is the disk control device 5.

このコードWCHは例えば2ビツトで構成され、“O”
0”の時ディスク制御装置5であることを示し、デコー
ダ11はコードWCHをデコードすると、“1”をOR
回路12を経てAND回路13に送出する。従って、A
ND回路13は“1#をフリップフロップ15のJ端子
に送出し、フリップフロップ15はDMA制御装置3が
データ転送終了を通知する転送終了通知信号TSTOP
を送出していない条件でセントされ、Q端子からディス
ク制御装置が動作中であることを示すBSY信号として
“1″を送出する。
This code WCH is composed of 2 bits, for example, and is “O”.
0” indicates that it is the disk controller 5, and when the decoder 11 decodes the code WCH, it ORs “1”.
It is sent to the AND circuit 13 via the circuit 12. Therefore, A
The ND circuit 13 sends "1#" to the J terminal of the flip-flop 15, and the flip-flop 15 receives the transfer end notification signal TSTOP from which the DMA control device 3 notifies the end of data transfer.
is sent under the condition that the disk control device is not being sent, and "1" is sent from the Q terminal as a BSY signal indicating that the disk control device is in operation.

又、DMA制御装置3はディスク制御装置6のDMA要
求信号DRQ■を受信すると、第6図に示す如(、DM
A転送開始信号DSTATをメモリ間転送制御装置4の
状態判定回路9のAND回路13に送出し、デコーダ1
1に動作装置を通知するコード、即ち、ディスク制御装
置6であることを示すWCHを送出する。
Further, when the DMA control device 3 receives the DMA request signal DRQ■ from the disk control device 6, it sends the DMA request signal DRQ as shown in FIG.
A transfer start signal DSTAT is sent to the AND circuit 13 of the state determination circuit 9 of the inter-memory transfer control device 4, and the decoder 1
1, a code notifying the operating device, ie, a WCH indicating that it is the disk control device 6, is sent.

このコードWCHは“0″1”の時ディスク制御装置6
であることを示し、デコーダ11はコードWCHをデコ
ードすると、“1”をOR回路12を経てAND回路1
3に送出する。従って、AND回路13は“1″をフリ
ップフロップ15のJ端子に送出し、フリップフロップ
15はD M A制御装置3がデータ転送終了を通知す
る転送終了通知信号TSTOPを送出していない条件で
セットされ、Q端子からディスク制御装置が動作中であ
ることを示すBSY信号として“1”を送出する。
When this code WCH is "0" and "1", the disk controller 6
When the decoder 11 decodes the code WCH, the decoder 11 outputs "1" to the AND circuit 1 via the OR circuit 12.
Send to 3. Therefore, the AND circuit 13 sends "1" to the J terminal of the flip-flop 15, and the flip-flop 15 is set under the condition that the DMA control device 3 has not sent the transfer end notification signal TSTOP to notify the end of data transfer. Then, "1" is sent from the Q terminal as a BSY signal indicating that the disk control device is in operation.

メモリ間転送制御装置4の要求発生回路10のマルチプ
レクサ16は、フリップフロップ15が“l”を送出す
ると、カウンタ17にセットする計数値を大きな値に切
替える。カウンタ17はセットされた計数値をカウント
するとキャリー信号TCをフリップフロップ18のJ端
子に送出して、フリップフロップ18をセントする。
When the flip-flop 15 sends out "l", the multiplexer 16 of the request generation circuit 10 of the inter-memory transfer control device 4 switches the count value set in the counter 17 to a large value. When the counter 17 counts the set count value, it sends out a carry signal TC to the J terminal of the flip-flop 18, thereby causing the flip-flop 18 to enter.

フリップフロップ18はセットされるとDMA要求信号
DRQ■をDMA制御装置3に送出し、DMA制御装置
3から応答信号DACK■をに端子に受信するとリセッ
トされ、カウンタ17が次に送出するキャリー信号TC
によって又セットされ、DMA要求信号DRQ■をDM
A制御装置3に送出する。
When the flip-flop 18 is set, it sends a DMA request signal DRQ to the DMA control device 3, and when it receives a response signal DACK from the DMA control device 3 at its terminal, it is reset, and the counter 17 sends a carry signal TC to be sent next.
is also set by DM request signal DRQ
It is sent to the A control device 3.

このDMA要求信号DRQ■の送出間隔は大きな計数値
をセットされたカウンタ17のキャリー信号TCの送出
間隔となるため、メモリ間転送制御装置4の記憶装置2
に対するデータ転送速度は低速となる。
Since the sending interval of this DMA request signal DRQ becomes the sending interval of the carry signal TC of the counter 17 set to a large count value, the storage device 2 of the inter-memory transfer control device 4
The data transfer speed will be low.

ここで、例えばディスク制御装置5のデータ転送が完了
する場合、DMA制御装置3は第6図に示す如く、最後
のデータ転送を行う時DMA転送開始信号DSTATと
、動作装置を通知するコードWCHを送出した後、状態
判定回路9のAND回路14と、ディスク制御装置5及
び6に、応答信号DACK■と同時に転送終了を通知す
る転送終了通知信号TSTOPを送出する。
Here, for example, when the data transfer of the disk control device 5 is completed, the DMA control device 3 sends the DMA transfer start signal DSTAT and the code WCH notifying the operating device when performing the last data transfer, as shown in FIG. After sending, a transfer end notification signal TSTOP is sent to the AND circuit 14 of the state determination circuit 9 and the disk controllers 5 and 6 at the same time as the response signal DACK■ to notify the end of the transfer.

AND回路14はデコーダ11がOR回路12を経て“
1”を送出しており、フリップフロップ15も“1”を
送出しているため、′1”をフリップフロップ15のに
端子に送出する。従って、フリップフロップ15はJ端
子とに端子が共に“1”となるため、クロックが入力す
るとQ端子から“0”を送出する。
The AND circuit 14 is connected to the decoder 11 via the OR circuit 12.
Since the flip-flop 15 is also sending out a "1", a '1' is sent to the terminal of the flip-flop 15. Therefore, since both the J terminal and the flip-flop 15 have "1", when a clock is input, "0" is sent out from the Q terminal.

マルチプレクサ16は“O”が人力すると、カウンタ1
7にセットする計数値を小さな値に切替える。従って、
カウンタ17は第6図Tに示す如く、セットされた小さ
な計数値をカウントすると、キャリー信号TCをフリッ
プフロップ18のJ端子に送出し、フリップフロップ1
8をセットする。
When “O” is input manually, multiplexer 16 outputs counter 1.
Switch the count value set to 7 to a smaller value. Therefore,
As shown in FIG.
Set 8.

フリップフロップ18はセットされると第6図に示す如
(、DMA要求信号DRQ■をDMA制御装置3に送出
し、DMA制御装置3から応答信号DACK■をに端子
に受信するとリセットされ、カウンタ17が次に送出す
るキャリー信号TCによって又セットされ、DMA要求
信号DRQ■をDMA制御装置3に送出する。
When the flip-flop 18 is set, it sends a DMA request signal DRQ to the DMA control device 3 as shown in FIG. is set again by the carry signal TC to be sent next, and sends the DMA request signal DRQ■ to the DMA control device 3.

このDMA要求信号DRQ■の送出間隔は小さな計数値
をセントされたカウンタ17のキャリー信号TCの送出
間隔となるため、メモリ間転送制御装置4の記憶装置2
に対するデータ転送速度は高速となる。
Since the sending interval of this DMA request signal DRQ becomes the sending interval of the carry signal TC of the counter 17 to which a small count value is sent, the storage device 2 of the inter-memory transfer control device 4
The data transfer speed will be high.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上記の方法では、ディスク制御装置5又は6のデータ転
送終了をDMA制御装置3が送出する転送終了通知信号
TSTOPがオンとなった時しか検出することが出来な
い。この転送終了通知信号T S T OPがオンとな
る条件は、DMA制御装置3に第4図に示す処理装置1
から、予めディスク制御装置5又は6が転送するデータ
の転送量が指示されており、この転送量を越えた時か、
処理装置1からDMA制御装置3に対し、DMA転送中
に停止指示がなされた時のみである。
In the above method, the completion of data transfer by the disk controller 5 or 6 can only be detected when the transfer end notification signal TSTOP sent by the DMA control device 3 is turned on. The condition for this transfer end notification signal T S T OP to be turned on is that the DMA control device 3 is connected to the processing device 1 shown in FIG.
, the amount of data to be transferred by the disk controller 5 or 6 is specified in advance, and when this amount of data is exceeded,
This occurs only when the processing device 1 issues a stop instruction to the DMA control device 3 during DMA transfer.

DMA転送が終了するのは、上記条件の他にディスク制
御装置5又は6で転送すべきデータが無くなったことを
検出した場合や、データ転送中にディスク制御装置5又
は6が、異常を検出した場合である。このような状態を
ディスク制御装置5や6が検出すると、処理装置lに対
して割込み信号を送出することで通知している。
In addition to the above conditions, DMA transfer ends when the disk controller 5 or 6 detects that there is no more data to transfer, or when the disk controller 5 or 6 detects an abnormality during data transfer. This is the case. When the disk control devices 5 and 6 detect such a state, they notify the processing device 1 by sending an interrupt signal.

DMA制御装置3は、ディスク制御装置5又は6から処
理装置1に対する割込み信号で、データ転送が中止され
ても、この状態を検出して転送終了通知信号TSTOP
をオンとはしないため、メモリ間転送制御装置4の状態
判定回路9は、処理装置1に対する割込みによるディス
ク制御装置5又は6のデータ転送終了を検知出来ず、メ
モリ間転送制御装置4自身のデータ転送速度は低速のま
まとなって、DMA制御装置3の転送能力を最大限に利
用することが出来ないという問題がある。
Even if data transfer is interrupted by an interrupt signal from the disk control device 5 or 6 to the processing device 1, the DMA control device 3 detects this state and issues a transfer end notification signal TSTOP.
Therefore, the state determination circuit 9 of the inter-memory transfer control device 4 cannot detect the completion of data transfer of the disk control device 5 or 6 due to an interrupt to the processing device 1, and the state judgment circuit 9 of the inter-memory transfer control device 4 cannot detect the completion of data transfer of the disk control device 5 or 6 due to an interrupt to the processing device 1. There is a problem in that the transfer speed remains low and the transfer capability of the DMA control device 3 cannot be utilized to its fullest extent.

本発明はこのような問題点に鑑み、処理装置1に対する
割込みによるディスク制御装置5又は6のデータ転送終
了を推測する手段を設け、フリップフロップ15が送出
するBSY信号をオフとすることで、ディスク制御装置
5又は6のデータ転送が完了したとみなす様にして、D
MA制御装置3の転送能力を最大限利用することを目的
としている。
In view of these problems, the present invention provides a means for estimating the completion of data transfer in the disk control device 5 or 6 by interrupting the processing device 1, and turns off the BSY signal sent by the flip-flop 15 to prevent the disk from being transferred. D assumes that the data transfer of the control device 5 or 6 has been completed.
The purpose is to make maximum use of the transfer capability of the MA control device 3.

〔課題を解決するだめの手段〕[Failure to solve the problem]

第1図は本発明の原理ブロック図である。 FIG. 1 is a block diagram of the principle of the present invention.

DMA制御装置3はディスク制御装置5と6を制御して
、記憶装置2と第4図に示すディスク装置7及び8との
間で、直接メモリアクセスモードで高速にデータの転送
を行う。
The DMA control device 3 controls the disk control devices 5 and 6 to transfer data at high speed between the storage device 2 and the disk devices 7 and 8 shown in FIG. 4 in direct memory access mode.

メモリ間転送制御装置19は第4図で説明した如(、状
態判定回路9と要求発生回路1oを備えており、ディス
ク制御装置5及び6が記憶装置2とデータ転送を行う状
態を監視して、その状態に対応して自身のデータ転送速
度を調整している。
The inter-memory transfer control device 19 is equipped with the state determination circuit 9 and the request generation circuit 1o as described in FIG. , and adjusts its own data transfer rate accordingly.

状態判定回路9は第6図に示すDMA転送開始信号DS
TATが入力すると、検出手段27に転送開始信号が入
力したことを記憶させる。
The state determination circuit 9 receives the DMA transfer start signal DS shown in FIG.
When the TAT is input, the detection means 27 is made to remember that the transfer start signal has been input.

タイミング手段26は一定時間経過する毎τこ、検出手
段27にインターバル信号を送出し、検出手段27はこ
のインターバル信号を受信すると、前記の転送開始信号
が人力した記憶を消去する。
The timing means 26 sends an interval signal to the detection means 27 every τ after a certain period of time has elapsed, and when the detection means 27 receives this interval signal, it erases the memory in which the transfer start signal was manually input.

タイミング手段26が次のインターバル信号を送出した
時、検出手段27は状態判定回路9により、再び転送開
始信号が入力したことを記憶させられていない場合、状
態判定回路9が記憶している転送開始信号の記憶を消去
させる。即ち、第6図に示すBSY信号をオフとさせる
。
When the timing means 26 sends out the next interval signal, the detection means 27 detects the transfer start signal stored in the state judgment circuit 9, if the state judgment circuit 9 has not made it remember that the transfer start signal has been input again. Erase the memory of the signal. That is, the BSY signal shown in FIG. 6 is turned off.

従って、要求発生回路10がDMA制御装置3に送出す
るデータ転送要求の送出間隔を小さくさせ、高速でデー
タ転送を行わせる。
Therefore, the sending interval of data transfer requests sent by the request generation circuit 10 to the DMA control device 3 is reduced, and data transfer is performed at high speed.

〔作用] 上記の如く構成することにより、検出手段27はDMA
転送開始信号DSTAT信号と、動作装置を通知するコ
ードWCHを受付けていないことを、タイミング手段2
6が送出する一定時間が経過した時検知し、ディスク制
御装置5か6が転送すべきデータが無くなったか、異常
を検出してデータ転送を停止したことを認識することが
出来るため、状態判定回路9の転送開始信号の記憶を消
去させることが可能となる。
[Operation] By configuring as described above, the detection means 27 can detect DMA
The timing means 2 indicates that the transfer start signal DSTAT signal and the code WCH notifying the operating device are not received.
The status determination circuit detects when a certain period of time for data transmission by the disk controller 5 or 6 has elapsed, and recognizes that the disk controller 5 or 6 has run out of data to transfer or has detected an abnormality and has stopped data transfer. It becomes possible to erase the memory of the transfer start signal of No. 9.

従って、要求発生回路10がD M A IJ御装置3
に送出するデータ転送要求の送出間隔を小さくさせ、メ
モリ間転送制御装置19に高速でデータ転送を行わせる
ことで、DMA制御装置3のデータ転送能力を最大限に
利用することが出来る。
Therefore, the request generation circuit 10
The data transfer capability of the DMA control device 3 can be utilized to the maximum by reducing the sending interval of data transfer requests sent to the DMA control device 3 and causing the memory-to-memory transfer control device 19 to transfer data at high speed.

〔実施例〕〔Example〕

第2図は本発明の一実施例を示す回路のブロック図で、
第3図は第2図の動作を説明するタイムチャートである
。
FIG. 2 is a block diagram of a circuit showing an embodiment of the present invention.
FIG. 3 is a time chart explaining the operation of FIG. 2.

第2図において第5図と同一符号は同一機能のものを示
す。DMA制御装置3はディスク制御装置5のDMA要
求信号DRQ@を受信すると、第3図に示す如<、゛応
答信号DACK@を返送すると共に、DMA転送開始信
号DSTATをメモリ間転送制御装置19のAND回路
13に送出し、デコーダ11に動作装置がディスク制御
装置5であることを示すコードWCHを送出する。
In FIG. 2, the same reference numerals as in FIG. 5 indicate the same functions. When the DMA control device 3 receives the DMA request signal DRQ@ from the disk control device 5, as shown in FIG. A code WCH indicating that the operating device is the disk control device 5 is sent to the decoder 11.

デコーダ11はコードWCHをデコードしてOR回路1
2を経て“1”を送出するため、AND回路13は“1
mをフリップフロップ15とフリップフロップ25のJ
端子に送出し、第3図に示す如く、フリップフロップ1
5はDMA制御装置3が転送終了通知信号TSTOPを
送出していない条件でセットされ、Q端子からBSY信
号として“1”を送出する。同時にフリップフロップ2
5もセットされて、第3図に示す如く、タイマ有効信号
TDVALをオンとして1″を送出する。
The decoder 11 decodes the code WCH and outputs the OR circuit 1
2, the AND circuit 13 outputs “1”.
m is J of flip-flop 15 and flip-flop 25
As shown in FIG.
5 is set under the condition that the DMA control device 3 does not send out the transfer end notification signal TSTOP, and sends "1" as the BSY signal from the Q terminal. flip flop 2 at the same time
5 is also set, and as shown in FIG. 3, the timer valid signal TDVAL is turned on and 1'' is sent out.

インターバルタイマ21は第3図に示す如く、一定時間
毎にインターバル信号TINTをオンとして“1”を送
出する。従って、AND回路22はインターバル信号T
INTと、タイマ有効信号TDVALとが共にオンとな
ったことで、“ビをフリップフロップ25のに端子に送
出し、フリップフロップ25はリセフトされて第3図に
示す如く、タイマ有効信号TDVALをオフとして“0
″を送出する。
As shown in FIG. 3, the interval timer 21 turns on the interval signal TINT at regular intervals and sends out "1". Therefore, the AND circuit 22 outputs the interval signal T
Since INT and the timer valid signal TDVAL are both turned on, "B" is sent to the terminal of the flip-flop 25, and the flip-flop 25 is reset and turns off the timer valid signal TDVAL as shown in FIG. as “0”
” is sent.

例えば、ディスク制御装置6が異常を検出したか、転送
すべきデータが終了して、第3図に示す如(、DMA制
御装置3に対するDMA要求信号DRQ■を送出しない
場合、DMA制御装置3はDMA転送開始信号DSTA
TとコードW CI−1を送出しないため、フリップフ
ロップ25のJ端子には、AND回路13から“1”が
入力せず、タイマ有効信号T D V A Lはオフと
なったままである。
For example, if the disk control device 6 detects an abnormality or the data to be transferred is completed and does not send the DMA request signal DRQ to the DMA control device 3 (as shown in FIG. 3), the DMA control device 3 DMA transfer start signal DSTA
Since T and code WCI-1 are not sent, "1" is not input from the AND circuit 13 to the J terminal of the flip-flop 25, and the timer enable signal TDVAL remains off.

NOT回路23は“1″をAND回路24に送出してお
り、インターバルタイマ21が次のインターバル信号T
INTをオンとして“1”を送出すると、第3図に示す
如く、AND回路24は“ドをOR回路20を経てフリ
ップフロップ15のに端子に送出するため、フリップフ
ロップ15は第3図に示す如く、BSY信号をオフとし
て“0”をマルチプレクサ16に送出する。第5図で説
明した如く、マルチプレクサ16はBSY信号が“1”
の時カウンタ17に大きな計数値をセットし、BSY信
号が“0”の時カウンタ17に小さな計数値をセントす
る。
The NOT circuit 23 sends "1" to the AND circuit 24, and the interval timer 21 receives the next interval signal T.
When INT is turned on and "1" is sent out, the AND circuit 24 sends "1" through the OR circuit 20 to the terminal of the flip-flop 15, as shown in FIG. As shown in FIG. 5, the BSY signal is turned off and "0" is sent to the multiplexer 16.As explained in FIG.
When , a large count value is set in the counter 17, and when the BSY signal is "0", a small count value is set in the counter 17.

従って、第5図で説明した如く、メモリ間転送制御装置
19はディスク制御装置5がデータ転送中は、第3図に
示す如く低速でデータ転送を行い、インターバルタイマ
21が送出する一回のインターバル間隔以内に、次のD
MA要求がDMA制御装置3に入力しない時は、高速で
データ転送を行う。
Therefore, as explained in FIG. 5, while the disk controller 5 is transferring data, the inter-memory transfer control device 19 transfers data at a low speed as shown in FIG. Within the interval, the next D
When no MA request is input to the DMA control device 3, data transfer is performed at high speed.

ここで、例えばディスク制御装置6が第3図に示す如く
、DMA要求DRQ■をD M A 1ilJ御装置3
に送出した時は、前記同様にして、メモリ間転送制御装
置19はデータ転送速度を再び低速とする。
Here, for example, as shown in FIG. 3, the disk controller 6 sends the DMA request DRQ to the DMA controller 3.
When the data is sent, the memory-to-memory transfer control device 19 lowers the data transfer speed again in the same manner as described above.

本実施例は二つのディスク制御装置5.6に対し、一つ
の状態判別回路9と直接メモリアクセス状態判定回路を
示したが、ディスク制御装置毎に設けても良いことは勿
論である。
Although this embodiment shows one state determination circuit 9 and one direct memory access state determination circuit for two disk control devices 5, 6, it goes without saying that they may be provided for each disk control device.

〔発明の効果〕〔Effect of the invention〕

以上説明した如く、本発明はディスク制御装置のデータ
転送状態を的確に把握し、DMA制御装置の転送能力を
常に最大限に利用することが出来る。
As described above, the present invention can accurately grasp the data transfer status of the disk control device and always make maximum use of the transfer capability of the DMA control device.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の原理ブロック図、 第2図は本発明の一実施例を示す回路のブロック図、 第3図は第2図の動作を説明するタイムチャート、第4
図はシステム構成例を説明するブロック図、第5図は従
来の技術を説明するブロック図、第6図は第5図の動作
を説明するタイムチャートである。 図において、 1は処理装置、     2は記憶装置、3はDMA制
御装置、 4.19はメモリ間転送制御装置、 5.6はディスク制御装置、7.8はディスク装置、9
は状態判定回路、   10は要求発生回路、11はデ
コーダ、     12.20はOR回路、13、14
,22.24はAND回路、15.18.25はフリッ
プフロップ、】6はマルチプレクサ、  17はカウン
タ、21はインターバルタイマ、23はNOT回路、2
6はタイミング手段1.27は検出手段である。
Fig. 1 is a principle block diagram of the present invention, Fig. 2 is a block diagram of a circuit showing an embodiment of the present invention, Fig. 3 is a time chart explaining the operation of Fig. 2, and Fig. 4 is a block diagram of the principle of the present invention.
5 is a block diagram illustrating an example of a system configuration, FIG. 5 is a block diagram illustrating a conventional technique, and FIG. 6 is a time chart illustrating the operation of FIG. 5. In the figure, 1 is a processing device, 2 is a storage device, 3 is a DMA control device, 4.19 is an inter-memory transfer control device, 5.6 is a disk control device, 7.8 is a disk device, 9
is a state determination circuit, 10 is a request generation circuit, 11 is a decoder, 12.20 is an OR circuit, 13, 14
, 22.24 are AND circuits, 15.18.25 are flip-flops, ]6 is a multiplexer, 17 is a counter, 21 is an interval timer, 23 is a NOT circuit, 2
6 is a timing means. 27 is a detection means.

Claims (1)

【特許請求の範囲】 直接メモリアクセスモードにより、記憶装置(2)との
間でデータ転送を行う複数の装置(5)(6)を制御す
る直接メモリアクセス制御装置(3)に接続され、他の
装置の直接メモリアクセス動作に対応して、該直接メモ
リアクセス制御装置(3)に対するデータ転送要求の送
出間隔を切替える装置(19)において、一定時間経過
する度に信号を送出するタイミング手段(26)と、 該タイミング手段(26)が送出する一定時間の間、前
記複数の装置(5)(6)が前記直接メモリアクセス制
御装置(3)にデータ転送要求を送出しなかったことを
検出する検出手段(27)とを設け、 該検出手段(27)の検出結果に基づき、前記直接メモ
リアクセス制御装置(3)に対するデータ転送要求の送
出間隔を短くさせることを特徴とする直接メモリアクセ
ス状態判定回路。
[Claims] In direct memory access mode, the device is connected to a direct memory access control device (3) that controls a plurality of devices (5) and (6) that transfer data to and from the storage device (2); In the device (19) for switching the sending interval of data transfer requests to the direct memory access control device (3) in response to the direct memory access operation of the device, the timing means (26) sends a signal every time a certain period of time elapses. ), and detecting that the plurality of devices (5) and (6) have not sent a data transfer request to the direct memory access control device (3) for a certain period of time sent by the timing means (26). a detection means (27), and based on the detection result of the detection means (27), the direct memory access control device (3) shortens the sending interval of data transfer requests to the direct memory access control device (3). circuit.
JP63031327A 1988-02-12 1988-02-12 Direct memory access status judgment circuit Expired - Fee Related JP2533152B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63031327A JP2533152B2 (en) 1988-02-12 1988-02-12 Direct memory access status judgment circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63031327A JP2533152B2 (en) 1988-02-12 1988-02-12 Direct memory access status judgment circuit

Publications (2)

Publication Number Publication Date
JPH01205363A true JPH01205363A (en) 1989-08-17
JP2533152B2 JP2533152B2 (en) 1996-09-11

Family

ID=12328169

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63031327A Expired - Fee Related JP2533152B2 (en) 1988-02-12 1988-02-12 Direct memory access status judgment circuit

Country Status (1)

Country Link
JP (1) JP2533152B2 (en)

Also Published As

Publication number Publication date
JP2533152B2 (en) 1996-09-11

Similar Documents

Publication Publication Date Title
EP0009678A1 (en) Computer input/output apparatus
US4041473A (en) Computer input/output control apparatus
EP0428330A2 (en) Computer interface circuit
JPH10207822A (en) Interrupt processing method in high-speed I / O controller
JPH0560623B2 (en)
EP0251234B1 (en) Multiprocessor interrupt level change synchronization apparatus
JP2533152B2 (en) Direct memory access status judgment circuit
US5125079A (en) Method for controlling the data transmission of a central unit interfacing control circuit and circuit arrangement for the implementation of the method
JP2000276437A (en) DMA controller
JPH07219887A (en) DMA transfer control device
JPH03141455A (en) Data transfer system
JPS616755A (en) Data transfer system
JPH03204254A (en) Data receiver
JPH0145657B2 (en)
JP2000259548A (en) DMA bus transfer method
JPH03262063A (en) Bus control circuit for dma transfer
JPH10320351A (en) Buffer method
JPS60205628A (en) Data transfer system
JPS6113845A (en) Communication control equipment
JPS61246861A (en) Data transfer control system
KR20030093766A (en) Method for transmitting data
JPH01173150A (en) Monitor system for asynchronous signal
JPS58109916A (en) System bus controlling system
JPS6269752A (en) Data communication equipment
JPS63187743A (en) Line switching equipment

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees