JPS61131152A - Dma buffer control system - Google Patents

Dma buffer control system

Info

Publication number
JPS61131152A
JPS61131152A JP25294384A JP25294384A JPS61131152A JP S61131152 A JPS61131152 A JP S61131152A JP 25294384 A JP25294384 A JP 25294384A JP 25294384 A JP25294384 A JP 25294384A JP S61131152 A JPS61131152 A JP S61131152A
Authority
JP
Japan
Prior art keywords
dma
data
control device
buffer
cpu
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP25294384A
Other languages
Japanese (ja)
Inventor
Shinichi Kubo
慎一 久保
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 JP25294384A priority Critical patent/JPS61131152A/en
Publication of JPS61131152A publication Critical patent/JPS61131152A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/28Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal

Abstract

PURPOSE:To attain data transfer between each IO controller and a DMA buffer into through a main storage device by using a direct memory access (DMA) memory part as a DMA buffer and providing it to a common bus together with a DMA controller. CONSTITUTION:In transferring a data from the input/output controllers IOC 12-14 to the DMA buffer 21, the control information such as transfer start address and byte number is set to the DMA controller by a CPU 11. Then a data is transferred via a common bus 16 under the control of the controller 15 to the DMA buffer 21 from the IOC 12-14. In transferring the data from the buffer 21 to the IOC 12-14, the reverse operation as above is executed and the data is transferred. The CPU 11 is released at data transfer between the IOC 12-14 and the buffer 12, and a main storage device MEM 20 is connected to the CPU 11 not through the common bus 16, then the data is processed between the CPU 11 and the MEM 20 in parallel with the data transfer processing.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、DMAバッファを用いてDMA (直接メモ
リアクセス)制御により各入出力装置のデータ転送を行
うようにしたDMAバッファ制御方式、より詳細には、
共通バスにDMA制御装置とともにDMAバッファを接
続し、主記憶装置の代りにこのDMAバッファを用いて
DMA制御により各入出力制御装置間のデータの転送を
行うようにしたDMAバッファ制御方式に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a DMA buffer control method in which data is transferred from each input/output device by DMA (direct memory access) control using a DMA buffer. for,
The present invention relates to a DMA buffer control method in which a DMA buffer is connected together with a DMA control device to a common bus, and the DMA buffer is used in place of a main memory to transfer data between input/output control devices by DMA control.

〔従来の技術〕[Conventional technology]

入出力装置(以下、■0という)と主記憶装置間のデー
タの転送を高速に行うために、従来中央処理装置(以下
、CPUという)を介することなく直接主記憶装置をア
クセスして各10間のデータ転送を行うDMA方式が用
いられていることは、良く知られているところである。
Conventionally, in order to transfer data between the input/output device (hereinafter referred to as 0) and the main memory at high speed, the main memory is directly accessed without going through the central processing unit (hereinafter referred to as CPU). It is well known that a DMA method is used to transfer data between computers.

第3図は、従来のDMA制御方式を示したものである。FIG. 3 shows a conventional DMA control method.

CPU、主記憶装置(以下MEMという)、入出力制御
装置(以下rocという)及びDMA制御装置が、共通
バスを介して相互に接続されている。各l0Co〜I 
OC2には、それぞれIOo〜IChが接続されている
。MEMの一部には、IOCとの間で転送されるデータ
を格納するデータバッファが割当てられている。
A CPU, a main memory device (hereinafter referred to as MEM), an input/output control device (hereinafter referred to as ROC), and a DMA control device are interconnected via a common bus. Each l0Co~I
IOo to ICh are connected to OC2, respectively. A data buffer is allocated to a portion of the MEM to store data to be transferred to and from the IOC.

この構成において、CPUは、初期化プログラムにより
、DMA制御装置内のレジスタにMEM、の転送開始ア
ドレス、転送語数等の制御情報をセットする。このセッ
トが終了するとCPUはDMA制御装置に起動をかける
In this configuration, the CPU sets control information such as the transfer start address of the MEM and the number of transfer words in a register in the DMA control device using an initialization program. When this set is completed, the CPU activates the DMA control device.

いま、例えばrhoからr02ヘデータを転送する場合
、l0CoはDMA制御装置にMEMへのデータ転送要
求を通知する。
For example, when data is to be transferred from rho to r02, l0Co notifies the DMA control device of a data transfer request to MEM.

DMA制御装置は、この通知を受けるとcpuにDMA
要求信号を出す。このDMA要求がCPUによって受は
入れられると、DMA制御装置は、■○CoにあるIO
oのデータをMEM中の前記アドレス領域に転送して書
き込みを行う。所定個数のデータの書き込みが終了する
と、D M A m制御装置はCPUに割込み信号を送
り転送動作を終了する。
Upon receiving this notification, the DMA control device instructs the CPU to
Issue a request signal. When this DMA request is accepted by the CPU, the DMA control device
The data of o is transferred to the address area in the MEM and written. When writing of a predetermined number of data is completed, the DMA control device sends an interrupt signal to the CPU and ends the transfer operation.

CPUは、この割込み信号を受けると、MEM中にIO
oのデータの書き込みが終了したことを知り、このデー
タをIO2に転送する操作を行う。
When the CPU receives this interrupt signal, the CPU performs IO in the MEM.
Knowing that writing of the data in o is completed, performs an operation to transfer this data to IO2.

すなわち、CPUは、MEMに格納されたIO。That is, the CPU uses IO stored in the MEM.

のデータについての転送開始アドレス及び転送語数をD
MA制御装置内のレジスタにセットして、DMA制御装
置に起動をかける。
The transfer start address and number of transferred words for the data are D.
It is set in a register in the MA control device to activate the DMA control device.

DMA@御装置は、この起動を受けるとCPUにDMA
要求信号を出し、これが受は入れられると、MEMにあ
るIOoのデータをl0C2を介してIO2に転送する
。所定個数のデータの転送が終了すると、DMA制御装
置はCPUに割込み信号を送り転送動作を終了する。
When the DMA@control device receives this activation, it sends DMA to the CPU.
A request signal is issued, and when the request signal is accepted, the data of IOo in MEM is transferred to IO2 via 10C2. When the transfer of a predetermined number of data is completed, the DMA control device sends an interrupt signal to the CPU and ends the transfer operation.

従来のDMA方式によるデータ転送は前述のようにして
行われているので、DMAによりデータ     1が
転送されている間は、CPUはMEMをアクセスするこ
とができず、逆にCPUとMEMとの間でデータの処理
が行われている間は、DMA制御装置はMEMをアクセ
スしてrocのデータ転送を行うことができない構成に
なっていた。このことは、従来の各種のDMA方式に共
通する現象である。
Data transfer using the conventional DMA method is performed as described above, so while data 1 is being transferred using DMA, the CPU cannot access the MEM, and conversely, the data transfer between the CPU and the MEM is While the data is being processed, the DMA control device is configured to be unable to access the MEM and transfer roc data. This is a phenomenon common to various conventional DMA systems.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来のDMA方式では、前述のように、IOCのデータ
バッファとしてMEMの一部が割当てられていた。その
ため、CPUによって行われる命令の読み出し及び実行
時のMEMアクセスと、IOCのデータ転送時のMEM
アクセスに競合が生じ、一方がMEMをアクセスしてい
る間は他方はMEMをアクセスすることができなかった
。その結果、CPUに対しては命令実行時間の増加、I
OCに対してはデータ転送速度の低下をきたすという問
題があった。
In the conventional DMA system, as described above, a part of the MEM is allocated as a data buffer for the IOC. Therefore, MEM access when reading and executing instructions performed by the CPU, and MEM access during IOC data transfer
There was a conflict in access, and while one party was accessing the MEM, the other party was unable to access the MEM. As a result, for the CPU, the instruction execution time increases, I
The problem with OC is that it causes a decrease in data transfer speed.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、従来のDMA方式における前述の問題点を解
消し、CPUのMEMアクセスとIOCのデータ転送動
作の平行処理を可能にし、rocのデータ転送速度とC
PUの命令実行速度をとも向上したDMAバッファ制御
方式を提供するもので、そのための手段として、複数の
入出力制御装置を共通バスを介して中央処理装置及びD
MA制御装置に接続し、中央処理装置、DMA制御装置
及び各入出力制御装置間で制御情報の転送を行い、各入
出力制御装置間でDMA制御により共通バスを介してデ
ータの転送を行うデータ転送方式において、主記憶装置
を中央処理装置に接続し、各入出力制御装置から転送さ
れるデータ又は各入出力制御装置へ転送するデータを格
納するDMAバッファを主記憶装置とは別に共通バスを
介して少くとも各入出力制御装置及びDMA制御装置に
接続し、主記憶装置を介することなく各入出力制御装置
とDMAバッファ間で共通バスを介してデータの転送を
行うように構成したものである。
The present invention solves the above-mentioned problems in the conventional DMA system, enables parallel processing of CPU MEM access and IOC data transfer operation, and improves roc data transfer rate and C
This provides a DMA buffer control method that improves both the instruction execution speed of the PU, and as a means for this purpose, multiple input/output control devices are connected to the central processing unit and the DMA buffer via a common bus.
Data that connects to the MA control device, transfers control information between the central processing unit, DMA control device, and each input/output control device, and transfers data between each input/output control device via a common bus by DMA control. In the transfer method, the main memory device is connected to the central processing unit, and the DMA buffer that stores the data transferred from each input/output control device or the data transferred to each input/output control device is connected to a common bus separately from the main memory device. The bus is connected to at least each input/output control device and DMA control device via a common bus, and data is transferred between each input/output control device and the DMA buffer via a common bus without going through the main storage device. be.

〔作用〕 入出力制御装置からDMAバッファにデータを転送する
ときは、中央処理装置によって転送開始アドレスやバイ
ト数等の制御情報がDMA制御装置にセントされ、その
後はDMA制御装置の制御の下で入出力制御装置からD
MAバッファに共通バスを介してデータが転送される。
[Operation] When data is transferred from the input/output control device to the DMA buffer, the central processing unit sends control information such as the transfer start address and the number of bytes to the DMA control device, and then the data is transferred under the control of the DMA control device. D from input/output control device
Data is transferred to the MA buffer via a common bus.

又DMAバッファから入出力制御装置へデータを転送す
るときも、中央処理装置によって転送開始アドレスやバ
イト数等の制御情報がDMA制御装置にセットされ、そ
の後はDMA制御装置の制御の下でDMAバッファから
入出力制御装置に共通バスを介してデータが転送される
。入出力制御装置とDMAバッファ間のデータ転送時は
、中央処理装置は解放され、主記憶装置は共通バスを介
さずに中央処理装置に接続されているので、前記データ
転送処理と並行して中央処理装置と主記憶装置間でのデ
ータ処理が行われる。
Also, when transferring data from the DMA buffer to the input/output controller, control information such as the transfer start address and number of bytes is set in the DMA controller by the central processing unit, and then the DMA buffer is transferred under the control of the DMA controller. Data is transferred from the input/output controller to the input/output controller via a common bus. During data transfer between the input/output control unit and the DMA buffer, the central processing unit is released and the main memory is connected to the central processing unit without going through the common bus. Data processing is performed between the processing device and the main storage device.

〔実施例〕〔Example〕

本発明の実施例を図面を参照して詳細に説明する。 Embodiments of the present invention will be described in detail with reference to the drawings.

第1図は本発明の一実施例の説明図、第2図は同実施例
に用いられているDMA制御装置の詳細な説明図である
FIG. 1 is an explanatory diagram of one embodiment of the present invention, and FIG. 2 is a detailed explanatory diagram of a DMA control device used in the same embodiment.

第1図において、11はCPU、12〜14はl0Go
 =IOC2,15はDMA制御装置で、共通バス16
を介して相互に接続されている。17〜19は、l0C
o 12”’l0C2L 4にそれぞれ接続されるIO
である。IOC及び■0の数は3組に限定されるもので
なくそれ以外の複数個を配置できるが、以下の説明では
3組の場合を例にとって説明する。
In Figure 1, 11 is the CPU, 12 to 14 are l0Go
= IOC2, 15 are DMA control devices, common bus 16
are interconnected through. 17-19 are l0C
o 12”'l0C2L IO connected to 4 respectively
It is. The number of IOCs and ■0s is not limited to three sets, and a plurality of other sets can be arranged; however, in the following explanation, the case of three sets will be explained as an example.

20はMEMであるが、本発明においては、各10Cの
データを格納するデータバッファ領域を備えておらず、
CPUI 1と接続される。21はDMAバッファで、
共通バス16を介して少くもDMA制御装置15及び各
10CI2〜14に接続される。
20 is a MEM, but in the present invention, it does not have a data buffer area for storing data of each 10C,
Connected to CPUI 1. 21 is a DMA buffer,
It is connected to at least the DMA control device 15 and each of the 10 CIs 2 to 14 via a common bus 16.

第2図において、鎖線で囲まれた部分がDMA制御装置
15である。DMA制御装置15を構成する22は優先
回路で、l0Co〜I OC1から送られてきた各デー
タ転送要求信号D M A RQ o        
l〜D M A RQ 2の中から最も優先順位の高い
ものを選択する。CP U S L 、 D M A 
S L o 、 D M ASLl 、DMA5L2は
、それぞれCPU、10Co 、l0CI  、l0C
2に対するDMAセレクト信号である。23〜26は、
それぞれDMAバッファ21に対するCPUI 1 、
l0Co  l 7 。
In FIG. 2, the portion surrounded by a chain line is the DMA control device 15. Reference numeral 22 constituting the DMA control device 15 is a priority circuit, which receives each data transfer request signal DMA RQ sent from l0Co to IOC1.
The one with the highest priority is selected from among DMA RQ 1 to DMA RQ 2. CPU, DMA
S Lo , DM ASLl , and DMA5L2 are CPU, 10Co , l0CI , and l0C , respectively.
This is a DMA select signal for 2. 23-26 are
CPUI 1 for the DMA buffer 21, respectively;
l0Co l7.

10C+  18 、l0C219の転送開始アドレス
が書き込まれるCPUアドレスレジスタ(CPADR2
3)、データメモリアドレスレジスタ(DMA D R
o 24〜DMA D R226)である。27〜29
は、それぞれDMAバッファ21と■○Co17〜l0
C219間で転送されるデータの個数がバイト単位でセ
ットされる。データメモリ・バイトカウントレジスタ(
DMBCRo27〜DMBCR229)である。30〜
32は、DMBCRo 27〜DMBCR229のバイ
トカウント数を“1”だけ減算する。すなわち“=1”
の加算器である。33は割込み発生器で、DMBCR。
CPU address register (CPADR2) where the transfer start address of 10C+18 and 10C219 is written.
3), Data memory address register (DMA D R
o 24 to DMA D R226). 27-29
are DMA buffer 21 and ■○Co17 to l0, respectively.
The number of data transferred between C219s is set in bytes. Data memory byte count register (
DMBCRo27 to DMBCR229). 30~
32 subtracts "1" from the byte count numbers of DMBCRo 27 to DMBCR 229. In other words, “=1”
is an adder. 33 is an interrupt generator, DMBCR.

27〜DMBCR229のいずれかのバイトカウント数
が“O”になったとき割込み信号INTを発生する。3
4〜40はAND回路、41と42はNANDAND回
路ばOR回路である。なお、DMADR及びDMBCR
として各3個の場合が示されているが、本発明は311
ilの場合に限定されるものでないことは前述のとおり
である。
When the byte count number of any one of 27 to DMBCR 229 becomes "O", an interrupt signal INT is generated. 3
4 to 40 are AND circuits, and 41 and 42 are NAND AND circuits or OR circuits. In addition, DMADR and DMBCR
Although the case of 3 each is shown as 311, the present invention
As mentioned above, this is not limited to the case of il.

次に、第1図及び第2図の動作を、IOoからfo2に
データを転送する場合を例にとって説明する。
Next, the operations shown in FIGS. 1 and 2 will be explained, taking as an example the case where data is transferred from IOo to fo2.

CPUIIは、初期プログラムにより共通バスエ6を介
して、DMA制御装置15のDMADR624〜DMA
DRa26にDMAバッファ21に対するl0Co 1
1〜l0C219の転送開始アドレスを書き込み、DM
BCRo 27〜DMBCR229にI OGo 17
〜I OC219から転送するデータ個数をバイト単位
の数でセットする。
The CPU II controls the DMADR624 to DMA of the DMA control device 15 via the common bus 6 according to the initial program.
l0Co 1 for DMA buffer 21 in DRa26
Write the transfer start address of 1 to l0C219 and DM
I OGo 17 to BCRo 27 to DMBCR229
~I Set the number of data to be transferred from the OC 219 in bytes.

DMAバッファ21はCPUI 1によってもアクセス
することが可能で、その場合にはCPADR23にアド
レスが書き込まれる。しかしながら、CPUI 1がD
MAバッファ21をアクセスする動作はIOoから(0
2にデータを転送する動作とは直接関係がないで、それ
についての詳細な説明は省略する。各DMADR及びD
MBCRに対する前記各制御情報の書き込みが終了する
と、各IOCに対しデータ転送開始の指示を行う。
The DMA buffer 21 can also be accessed by the CPUI 1, in which case an address is written to the CPADR 23. However, CPUI 1 is D
The operation of accessing the MA buffer 21 starts from IOo (0
2, and a detailed explanation thereof will be omitted. Each DMADR and D
When writing of each control information to the MBCR is completed, each IOC is instructed to start data transfer.

10Co  12〜l0C214は、CPUIIからデ
ータ転送開始の指示を受けると、それぞれに接続されて
いるIoo17〜10219からのデータ転送要求に応
じて、DMA制御装置15にたいしてそれぞれのデータ
転送要求信号DMARQo = D M r RQ 2
を送出する。
When receiving the instruction to start data transfer from the CPU II, the 10Cos 12 to 10Cs 214 send respective data transfer request signals DMARQo = D M to the DMA control device 15 in response to data transfer requests from the Ioos 17 to 10219 connected thereto. r RQ 2
Send out.

DMA制御装置15の優先回路22は、各IOCからの
データ転送要求信号D M A RQ o〜DMARQ
2に競合が生じた場合、最も優先順位の高t+)I O
Cからのデータ転送要求信号DMARQを選択して、そ
れに対するDMAセレクト信号DMA5Lを応答する。
The priority circuit 22 of the DMA control device 15 receives data transfer request signals DMARQ o to DMARQ from each IOC.
If there is a conflict in 2, the highest priority t+)I O
It selects the data transfer request signal DMARQ from C and responds with a DMA select signal DMA5L.

いまl0CoからのDMARQoが選択され、それに対
するD M A S L oが出力されたとする。CP
UI 1によってDMAバッファ21がアクセスされて
いないとき、AND回路34を経由して1oco12に
DMA5Loが送られる。
Assume now that DMARQo from l0Co is selected and DMARQo corresponding to it is output. C.P.
When the DMA buffer 21 is not accessed by the UI 1, DMA5Lo is sent to 1oco12 via the AND circuit 34.

10Co12は、DMA制御装置21よりDMA5Lo
を受は取ると、共通バス16を経由してDMAバッファ
21にデータをバイト単位で転送する。l0Co12か
らl0o17のデータがDMAバッファ21に1バイト
分転送される毎に、DMADRo24のアドレスは@1
”だけ加算さて次のバイトを格納するアドレスを指示し
、DMBCRo27の値は加算器30により1”だけ減
算されて残りのデータバイト数を指示する動作が行われ
る。DMADRo24のアドレスは、AND回路38及
びOR回路43を経由してDMAバッファ21のアドレ
スとなる。
10Co12 is DMA5Lo from the DMA control device 21.
When the data is received, the data is transferred in byte units to the DMA buffer 21 via the common bus 16. Every time one byte of data from l0Co12 to l0o17 is transferred to the DMA buffer 21, the address of DMADRo24 is @1.
The value of DMBCRo27 is subtracted by 1'' by the adder 30 to indicate the number of remaining data bytes. The address of DMADRo24 becomes the address of DMA buffer 21 via AND circuit 38 and OR circuit 43.

CPUIIによりl0Co12に対して指示されたバイ
ト数のデータ転送が完了すると、すなわちDMBCRo
27の内容がO”になると、割込み発生回路33は、割
込み信号INTを発生してCPUI 1に割込みを起す
When the data transfer of the number of bytes specified by CPUII to l0Co12 is completed, that is, DMBCRo
When the content of 27 becomes O'', the interrupt generation circuit 33 generates an interrupt signal INT to cause an interrupt to the CPUI 1.

CPU11は、この割込み信号INTによりDMAバッ
ファ21に対するl0Co12のデータ      1
転送が終了したことを検出すると、DMAバッファ21
に格納されたl0o17のデータをl0C214を介し
て10219に転送する処理に移行する。
The CPU 11 sends data 1 of l0Co12 to the DMA buffer 21 using this interrupt signal INT.
When it is detected that the transfer is completed, the DMA buffer 21
The process moves on to transfer the data of l0o17 stored in 10219 via l0C214.

CPUIIは、DMAバッファ2Iに格納されたl0o
17のデータの先頭アドレスをDMA5Lo 26に書
き込み、そのデータのバイト数をDM B CR2にセ
ットした後、I OC2に対しデータ転送のあることを
通知する。l0C2は、IO2がデータを受は入れる状
態にあることを検出すると、D M A RQ 2をD
MA制御装置21に送出する。
CPU II stores l0o stored in DMA buffer 2I.
After writing the start address of data No. 17 to DMA5Lo 26 and setting the number of bytes of the data to DM B CR2, it notifies IOC2 that there is a data transfer. When l0C2 detects that IO2 is ready to accept data, it sends D M A RQ 2 to D
It is sent to the MA control device 21.

DMA制御装置15の優先回路22によってDM A 
RQ 2が選択されると、D M A S L 2が1
002に送られ、DMAバッファ21に格納されたl0
o17のデータがroc214を介してIO219に転
送される。DMAバ7ファ21から■0θ 17のデー
タが1バイト分転送される毎に、DMADR226のア
ドレスは“1”だけ加算されて次に転送する1バイトの
データのアドレスを指示し、DMBCR229の値は加
算器32により“1″だけ減算されて残りのデータバイ
ト数を指示する動作が行われる。DMBCR226のア
ドレスは、AND回路40及びOR回路43を経由して
DMAバッファ21のアドレスとなる。
The priority circuit 22 of the DMA control device 15 controls the DMA
When RQ 2 is selected, D M A S L 2 becomes 1
002 and stored in the DMA buffer 21
The data of o17 is transferred to IO219 via roc214. Every time 1 byte of 0θ 17 data is transferred from the DMA buffer 21, the address of DMADR 226 is incremented by 1 to indicate the address of the next 1 byte of data to be transferred, and the value of DMBCR 229 is The adder 32 subtracts by "1" to indicate the number of remaining data bytes. The address of DMBCR 226 becomes the address of DMA buffer 21 via AND circuit 40 and OR circuit 43.

CPUIIによりl0C2に対して指示されたバイト数
のデータ転送が完了すると、すなわちDMBCR229
の内容が“O”になると、割込み発生回路33は、割込
み信号INTを発生してCFULLに割込みを起す。
When the data transfer of the number of bytes specified by CPUII to l0C2 is completed, that is, DMBCR229
When the content becomes "O", the interrupt generation circuit 33 generates an interrupt signal INT to cause an interrupt to CFULL.

CPUIIば、この割込み信号INTによりDMAバッ
ファ21から■0゜19へのデータ転送が終了したこと
を検出すると、CPUII自体又はIOCから要求のあ
る次のデータ処理に移行する。
When the CPU II detects that the data transfer from the DMA buffer 21 to 0.19 is completed by this interrupt signal INT, it shifts to the next data processing requested by the CPU II itself or the IOC.

以上の説明は、[OoからIO2にデータを転送する場
合の動作説明であるが、DMAバッファ21を介してC
PUI 1と各10間のデータ転送を行う場合も同様に
して行われる。
The above explanation is an explanation of the operation when transferring data from [Oo to IO2;
Data transfer between PUI 1 and each 10 is performed in the same manner.

又CPUI 1がDMAバッファ21に対して読み出し
又は書き込みを行うことができる。その場合はCPAD
R23にアドレスをセットし、CPU5Lを“1”にし
てDMAバッファ21をアクセスする。
Furthermore, the CPUI 1 can read from or write to the DMA buffer 21. In that case, CPAD
An address is set in R23 and the CPU 5L is set to "1" to access the DMA buffer 21.

このように、本発明においては、各IOCとDMAバッ
ファ間で行われるデータ転送はDMA制御装置15によ
って制御される。したがってCPU1lは、 各■OC
に起動をかけた後はデータ転送制御から解放されるので
、各10間で行われるデータ転送処理と並行して、ME
M20との間でデータ処理を行うことができる。
In this way, in the present invention, the data transfer performed between each IOC and the DMA buffer is controlled by the DMA control device 15. Therefore, CPU1l has each ■OC
After starting the ME, it is released from data transfer control, so in parallel with the data transfer processing performed between
Data processing can be performed with M20.

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

以上説明したように、本発明によれば、従来MEMに設
けられたいたDMA用メモリ部分をDMAバッファとし
てDMA制御装置とともに共通バス側に設けるようにし
たので、各IOC間のデータ転送処理や各IOCとDM
Aバッファ間のデータ転送をMEMを経由することなく
行うことができる。したがって、これらのデータ転送処
理と並行してCPU(!:MEM間でのデータ処理を行
うことが可能となるので、CPUの命令実行速度と各I
OCのデータ転送速度をともに向上させることができる
As explained above, according to the present invention, the DMA memory part that was conventionally provided in the MEM is provided as a DMA buffer on the common bus side together with the DMA control device, so that data transfer processing between each IOC and each IOC and DM
Data transfer between the A buffers can be performed without going through the MEM. Therefore, it is possible to perform data processing between the CPU (!:MEM) in parallel with these data transfer processes, so the instruction execution speed of the CPU and each I/O
Both can improve the data transfer speed of the OC.

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

第1図は本発明の一実施例の説明図、第2図は同実施例
に用いられるDMA制御装置の説明図、第3図は従来の
DMA制御方式の説明図である。
FIG. 1 is an explanatory diagram of one embodiment of the present invention, FIG. 2 is an explanatory diagram of a DMA control device used in the same embodiment, and FIG. 3 is an explanatory diagram of a conventional DMA control system.

Claims (1)

【特許請求の範囲】[Claims] 複数の入出力制御装置を共通バスを介して中央処理装置
及びDMA制御装置に接続し、中央処理装置、DMA制
御装置及び各入出力制御装置間で制御情報の転送を行い
、各入出力制御装置間でDMA制御により共通バスを介
してデータの転送を行うデータ転送方式において、主記
憶装置を中央処理装置に接続し、各入出力制御装置から
転送されるデータ又は各入出力制御装置へ転送するデー
タを格納するDMAバッファを主記憶装置とは別に共通
バスを介して少くとも各入出力制御装置及びDMA制御
装置に接続し、主記憶装置を介することなく各入出力制
御装置とDMAバッファ間で共通バスを介してデータの
転送を行うようにしたことを特徴とするDMAバッファ
制御方式。
A plurality of input/output control devices are connected to a central processing unit and a DMA control device via a common bus, and control information is transferred between the central processing unit, DMA control device, and each input/output control device, and each input/output control device In a data transfer method in which data is transferred via a common bus under DMA control, the main storage device is connected to the central processing unit, and the data transferred from each input/output control device or transferred to each input/output control device is A DMA buffer that stores data is connected to at least each input/output control device and DMA control device via a common bus separately from the main memory, and the DMA buffer is connected to each input/output control device and the DMA buffer without going through the main memory. A DMA buffer control method characterized in that data is transferred via a common bus.
JP25294384A 1984-11-30 1984-11-30 Dma buffer control system Pending JPS61131152A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25294384A JPS61131152A (en) 1984-11-30 1984-11-30 Dma buffer control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25294384A JPS61131152A (en) 1984-11-30 1984-11-30 Dma buffer control system

Publications (1)

Publication Number Publication Date
JPS61131152A true JPS61131152A (en) 1986-06-18

Family

ID=17244314

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25294384A Pending JPS61131152A (en) 1984-11-30 1984-11-30 Dma buffer control system

Country Status (1)

Country Link
JP (1) JPS61131152A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100348545B1 (en) * 1997-05-30 2002-08-14 산요 덴키 가부시키가이샤 Communication dma device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100348545B1 (en) * 1997-05-30 2002-08-14 산요 덴키 가부시키가이샤 Communication dma device

Similar Documents

Publication Publication Date Title
KR920008448B1 (en) Data process
US4949247A (en) System for transferring multiple vector data elements to and from vector memory in a single operation
US3710349A (en) Data transferring circuit arrangement for transferring data between memories of a computer system
JPH03189843A (en) System and method for processing data
JPS61131152A (en) Dma buffer control system
JPH01125644A (en) Data transfer equipment
JPH0227696B2 (en) JOHOSHORISOCHI
JPH0553902A (en) Memory control circuit
JPH07319840A (en) Multi-cpu device
JP2713204B2 (en) Information processing system
JP2803616B2 (en) I / O bus interface control method
JP2003085125A (en) Memory controller and memory control method
JPS61233857A (en) Data transfer equipment
JP2504528B2 (en) Bus control system between main memory controllers
JPH05120207A (en) Data transfer system
JPS60253083A (en) Storage device controlling system
JPH0690711B2 (en) Memory access control method
JPS6383854A (en) Data transfer circuit
JPH039453A (en) Data transfer controller
JPS63279359A (en) Data transfer device for multi-cpu
JPS63239549A (en) Data chaining control system
JPS63259746A (en) Inter-bank-memory data transmission system
JPH0316652B2 (en)
JPH0642227B2 (en) Data transfer device
JPS62114043A (en) Information processing system