JPH0452948A - Data transfer system for input/output controller - Google Patents

Data transfer system for input/output controller

Info

Publication number
JPH0452948A
JPH0452948A JP16240190A JP16240190A JPH0452948A JP H0452948 A JPH0452948 A JP H0452948A JP 16240190 A JP16240190 A JP 16240190A JP 16240190 A JP16240190 A JP 16240190A JP H0452948 A JPH0452948 A JP H0452948A
Authority
JP
Japan
Prior art keywords
input
bus
buffer memory
data
speed
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
JP16240190A
Other languages
Japanese (ja)
Other versions
JPH0650494B2 (en
Inventor
Yoshihiko Shimizu
義彦 清水
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.)
PFU Ltd
Original Assignee
PFU 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 PFU Ltd filed Critical PFU Ltd
Priority to JP16240190A priority Critical patent/JPH0650494B2/en
Publication of JPH0452948A publication Critical patent/JPH0452948A/en
Publication of JPH0650494B2 publication Critical patent/JPH0650494B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔概要〕 本発明は、入出力制御装置におけるデータ転送方式に関
し、 プロセッサの処理を妨げることなく、転送処理の遅れを
少なくすることを目的とし、 複数の入出力装置にそれぞれが接続される各入出力制御
回路と、主メモリおよび入出力装置間でデータをDMA
転送するための高速DMAバスと、転送状態を制御する
プロセッサとを備えた入出力制御装置に、バッファメモ
リと、各入出力制御回路および高速DMAバスが接続さ
れるバッファメモリ制御回路とを設け、両者を高速バッ
ファメモリ DMAバスを介して接続し、プロセッサは
バッファメモリ制御回路中のデータ転送路を、入出力装
置の一方と主メモリとの間で高速DMAバスによるデー
タ転送が行なわれているとき、他方の入出力装置のデー
タを主メモリに転送する要求があればそのデータをバッ
ファメモリに格納し、また前記データ転送の終了通知を
うけたとき、当該格納データを高速DMAバスを介して
主メモリに転送するように切替え制御する構成を有する
[Detailed Description of the Invention] [Summary] The present invention relates to a data transfer method in an input/output control device, and aims to reduce delays in transfer processing without interfering with processor processing. DMA data between each connected input/output control circuit, main memory, and input/output device
An input/output control device including a high-speed DMA bus for transfer and a processor for controlling a transfer state is provided with a buffer memory and a buffer memory control circuit to which each input/output control circuit and the high-speed DMA bus are connected, The two are connected via a high-speed buffer memory DMA bus, and the processor uses the data transfer path in the buffer memory control circuit when data transfer via the high-speed DMA bus is being performed between one of the input/output devices and the main memory. , if there is a request to transfer the data of the other input/output device to the main memory, the data is stored in the buffer memory, and when the data transfer completion notification is received, the stored data is transferred to the main memory via the high-speed DMA bus. It has a configuration that performs switching control to transfer data to memory.

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

本発明は、入出力装置とのデータ転送ポートが2系統あ
る入出力制御装置における、当該入出力装置と主メモリ
との間の高速DMAバスを用いたデータ転送方式に関す
る。
The present invention relates to a data transfer method using a high-speed DMA bus between an input/output device and a main memory in an input/output control device having two data transfer ports with the input/output device.

〔従来の技術〕[Conventional technology]

入出力装置とのデータ転送ポートが2系統ある入出力制
御装置における、従来のデータ転送方式は第5図のよう
になっている。
A conventional data transfer method for an input/output control device having two data transfer ports with input/output devices is shown in FIG.

第5図において、第1の入出力装置51.第2の入出力
装置52は、それぞれ入出力制御装置50.システムバ
ス66を介して主メモリ64との間でデータをDMA転
送している。
In FIG. 5, a first input/output device 51. The second input/output devices 52 each include an input/output control device 50 . Data is transferred via DMA to the main memory 64 via the system bus 66.

ここで、入出力制御装置50は、第1の入出力装置51
および第2の入出力装置52からのデータを主メモリ6
4へ同時に転送しており、そのための高速DMAバス6
2と低速DMAバス63とを備え、以下に示すような経
路 ■′第1の入出力装置51と主メモリ64との間のデー
タ転送(第1の接続系統) 第1の入出力装置51−第1の入出力制御回路56−高
lDMAバス62−システムバステータ制御回路55−
システムバス66−主メモリ64■′第2の入出力装置
52と主メモリ64との間のデータ転送(第2の接続系
統) 第2の入出力装置52−第2の入出力制御回路57−バ
ッファ制御回路58−データバッファ59−(格納した
データが規定量に達してから)バッファ制御回路58−
低速DMAバス63−内部データバス60−システムバ
スデータ制御回路55−システムバス66−主メモリ6
4 で各入出力装置のデータをDMA転送している。
Here, the input/output control device 50 is the first input/output device 51
and data from the second input/output device 52 to the main memory 6
4 simultaneously, and a high-speed DMA bus 6 is used for this purpose.
Data transfer between the first input/output device 51 and the main memory 64 (first connection system) First input/output device 51- First input/output control circuit 56 - High IDMA bus 62 - System bus stator control circuit 55 -
System bus 66 - main memory 64 ■' Data transfer between second input/output device 52 and main memory 64 (second connection system) Second input/output device 52 - second input/output control circuit 57 - Buffer control circuit 58 - data buffer 59 - (after the stored data reaches a specified amount) buffer control circuit 58 -
Low-speed DMA bus 63 - Internal data bus 60 - System bus data control circuit 55 - System bus 66 - Main memory 6
4, the data of each input/output device is transferred by DMA.

なお、入出力制御装置50の各入出力制御回路56゜5
7やメモリ等はメインプロセッサ53によって制御され
ており、また内部アドレスバス61とシステムバス66
とは共にシステムバス制御回路54に接続されている。
In addition, each input/output control circuit 56゜5 of the input/output control device 50
7, memory, etc. are controlled by a main processor 53, and an internal address bus 61 and a system bus 66
are both connected to the system bus control circuit 54.

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

以上のように、従来の入出力装置とのデータ転送ポート
が2系統ある入出力制御装置におけるDMA転送方式で
は、第2の接続系統におけるデータ転送の際、内部デー
タバス60を使用している。
As described above, in the conventional DMA transfer method for an input/output control device having two systems of data transfer ports with input/output devices, the internal data bus 60 is used when transferring data in the second connection system.

そのため、もともと低速DMAバス63を用いているこ
のDMA転送は、メインプロセッサ530行なう処理を
妨げないように一定周期間隔で実行されることになり、
この接続系統におけるDMA転送の処理が遅れてしまい
、システム全体の性能が当該接続系統での処理時間で制
約されるという問題があった。
Therefore, this DMA transfer, which originally uses the low-speed DMA bus 63, is executed at regular intervals so as not to interfere with the processing performed by the main processor 530.
There is a problem in that the DMA transfer processing in this connection system is delayed, and the performance of the entire system is limited by the processing time in the connection system.

そこで、本発明では、大容量のバッファメモリと、各入
出力制御回路および高速DMAバスを接続したバッファ
メモリ制御回路とを入出力制御装置に設け、両者を高速
バッファメモU D M Aバスで接続するとともに、
メインプロセッサが当該バッファメモリ制御回路を、一
方の入出力装置が高速DMAバスを使用して主メモリと
の間でデータをDMA転送しているとき、他方の入出力
装置からのデータを主メモリに転送する要求があればそ
のデータを高速バッファメモ!7DMAバスを介してバ
ッファメモリに格納し、また前記DMA転送の終了通知
を一方の入出力制御装置から受けたとき、バッファメモ
リに格納されたデータを高速DMAバスを介して主メモ
リに転送するように制御し、各入出力装置と主メモリど
の間のDMA転送を内部データバスを使用することなし
に、高速DMAバスを用いて行ない、プロセッサの処理
を妨げることなく、転送処理の遅れを少なくすることを
目的とする。
Therefore, in the present invention, an input/output control device is provided with a large-capacity buffer memory and a buffer memory control circuit connected to each input/output control circuit and a high-speed DMA bus, and both are connected by a high-speed buffer memory U DMA bus. At the same time,
The main processor controls the buffer memory control circuit to transfer data from the other input/output device to the main memory when one input/output device is transferring data to and from the main memory using a high-speed DMA bus. If there is a request to transfer the data, write it in a high-speed buffer memo! 7 DMA bus, and when a notification of completion of the DMA transfer is received from one of the input/output control devices, the data stored in the buffer memory is transferred to the main memory via the high-speed DMA bus. DMA transfer between each input/output device and the main memory is performed using a high-speed DMA bus without using an internal data bus, reducing delays in transfer processing without interfering with processor processing. The purpose is to

〔課題を解決するた杓の手段〕[Measures to solve problems]

第1図は本発明の原理説明図である。 FIG. 1 is a diagram explaining the principle of the present invention.

第1図において、 1は、入出力制御装置であり、第1の入出力装置9、第
2の入出力装置10およびシステムバス13カ接続され
ている。
In FIG. 1, reference numeral 1 denotes an input/output control device to which a first input/output device 9, a second input/output device 10, and a system bus 13 are connected.

2は、メインプロセッサであり、バッファメモリ制御回
路4等を制御している。
A main processor 2 controls the buffer memory control circuit 4 and the like.

3は、大容量のバッファメモリであり、一方の入出力装
置と主メモリ12との間で高速DMAバス8を用いたデ
ータ転送をしているとき、他方の入出力装置から主メモ
リ12へのデータの転送要求があればそのデータを格納
し、また主メモリ12からのデータバッファとしても用
いられ、例えばビデオ信号用の大容量DRAMが用いら
れている。
3 is a large-capacity buffer memory, and when data is transferred between one input/output device and the main memory 12 using the high-speed DMA bus 8, data is transferred from the other input/output device to the main memory 12. If there is a data transfer request, the data is stored therein, and it is also used as a data buffer from the main memory 12. For example, a large-capacity DRAM for video signals is used.

4は、バッファメモリ制御回路であり、メインプロセッ
サ2からのコマンドを受け、当該バッファメモリ制御回
路中における、高速バッファメモリDMAバス7、高速
DMAバス8および入出力制御回路5.6間のデータ転
送路の切替え制御を行ない、またバッファメモリ3のア
ドレスの選択制御を行なっている。
4 is a buffer memory control circuit which receives commands from the main processor 2 and transfers data between the high speed buffer memory DMA bus 7, the high speed DMA bus 8 and the input/output control circuits 5 and 6 in the buffer memory control circuit. It performs path switching control and also performs address selection control of the buffer memory 3.

5は、第1の入出力制御回路であり、第1の入出力装置
9の入出力処理を制御している。
Reference numeral 5 denotes a first input/output control circuit, which controls input/output processing of the first input/output device 9.

6は、第2の入出力制御回路であり、第2の入出力装置
10の入出力処理を制御している。
Reference numeral 6 denotes a second input/output control circuit, which controls input/output processing of the second input/output device 10.

7は、高速バッファメモ!I DMAバスであり、大容
量のバッファメモリ3とバッファメモリ制御回路4とを
接続している。
7 is a high-speed buffer memo! IDMA bus, which connects a large-capacity buffer memory 3 and a buffer memory control circuit 4.

8は、高速DMAバスであり、システムバス13とバッ
ファメモリ制御回路4とを接続している。
A high-speed DMA bus 8 connects the system bus 13 and the buffer memory control circuit 4.

9は第1の入出力装置、lOは第2の入出力装置である
9 is a first input/output device, and lO is a second input/output device.

llは、CPUであり、システムバス13を介して入出
力制御装置1に入出力指令を送っている。
11 is a CPU, which sends input/output commands to the input/output control device 1 via the system bus 13.

12は、主メモリであり、システムバス13を介して入
出力制御装置1とCP U 11に接続されている。
A main memory 12 is connected to the input/output control device 1 and the CPU 11 via a system bus 13.

13は、システムバスであり、CPUII、主メモリ1
2及び入出力制御装置1が接続されている。
13 is a system bus, CPU II, main memory 1
2 and an input/output control device 1 are connected.

ここで、CPUIIからの入出力指令により、入出力制
御装置1が第1.第2の入出力装置9,10と主メモリ
12との間でデータ転送を同時にする旨の要求があった
とき、メインプロセッサ2はバッファメモリ制御回路4
に対し、例えば高速DMAバス8と第1の入出力制御回
路5とを接続し、また当該高速DMAバス8が使用中で
あることを確認して高速バッファメモ!l DMAバス
7と第2の入出力制御回路6とを接続する旨の指令を出
す。
Here, the input/output control device 1 is activated by the input/output command from the CPU II. When there is a request for simultaneous data transfer between the second input/output devices 9 and 10 and the main memory 12, the main processor 2
For example, connect the high-speed DMA bus 8 and the first input/output control circuit 5, confirm that the high-speed DMA bus 8 is in use, and write the high-speed buffer memo! l Issues a command to connect the DMA bus 7 and the second input/output control circuit 6.

その結果、第1の入出力装置9と主メモリ12との間で
は高速DMAバス8によるデータのDMA転送が行なわ
れ、また第2の入出力装置からのデータは高速バッファ
メモ!lDMAバス7を介して大容量のバッファメモリ
3に格納される。そして、高速DMAバス8による前記
DMA転送が終了すると、第1の入出力制御回路5はメ
インブロセッサ2に対してrDMA転送の終了」を割り
込み通知する。この通知を受けたメインプロセッサ2は
バッファメモリ制御回路4に対して高速DMAバス8が
未使用状態であることの確認およびデータ転送路の切替
えを指示し、高速DMAバス8が未使用であるときは、
バッファメモリ3に格納されているデータを高速バッフ
ァメモリDMAバス?及び高速DMAバス8を介して主
メモリ12に伝送するようにバッファメモリ制御回路4
中のデータ転送路を切り換える。
As a result, DMA transfer of data is performed between the first input/output device 9 and the main memory 12 via the high-speed DMA bus 8, and data from the second input/output device is transferred to the high-speed buffer memory 12. The signal is stored in the large capacity buffer memory 3 via the IDMA bus 7. When the DMA transfer via the high-speed DMA bus 8 is completed, the first input/output control circuit 5 interrupts and notifies the main processor 2 that the rDMA transfer is complete. Upon receiving this notification, the main processor 2 instructs the buffer memory control circuit 4 to confirm that the high-speed DMA bus 8 is unused and to switch the data transfer path. teeth,
Is the data stored in buffer memory 3 transferred to the high-speed buffer memory DMA bus? and a buffer memory control circuit 4 for transmitting data to the main memory 12 via a high-speed DMA bus 8.
Switch the data transfer path inside.

〔作用〕[Effect]

本発明における第1.第2の入出力装置9.10と主メ
モリ12との間のDMA転送の処理手順は第2図のよう
になっている。
The first aspect of the present invention. The processing procedure for DMA transfer between the second input/output device 9.10 and the main memory 12 is as shown in FIG.

すなわち、 ■ メインプロセッサ2は、入出力装置9.10と主メ
モリ12との間でDMA転送要求が出されているかどう
かを判断し、r YBSJの場合はステップ■に進み、
「NO」の場合はこの判断を繰り返す。
That is, ■ The main processor 2 determines whether a DMA transfer request is issued between the input/output device 9.10 and the main memory 12, and if r YBSJ, proceeds to step ■;
If "NO", this judgment is repeated.

■ 高速DMAバス8の使用状態を示すフラグがビイシ
イの状態になっているかどうかを確認し、r YESJ
の場合はステップ■に進み、「NO」の場合はステップ
■に進む。
■ Check whether the flag indicating the usage status of high-speed DMA bus 8 is in the high state, and select r YESJ.
If ``NO'', proceed to step ■; if ``NO'', proceed to step ■.

(高速DMAバス8に接続されていない)入出力装置の
データを高速バッファメモリDMAバス7を介してバッ
ファメモリ3に格納して次のステップに進む。
The data of the input/output device (not connected to the high-speed DMA bus 8) is stored in the buffer memory 3 via the high-speed buffer memory DMA bus 7, and the process proceeds to the next step.

■ 高速DMAバス8を介して主メモリ12との間でD
MA転送を行なっている入出力装置の入出力制御回路か
らのrDMA転送の終了」の割り込み通知があったかど
うかを判断し、rYIEs」の場合は次のステップに進
み、「NO」の場合はこの判断を繰り返す。なお、前記
の割り込み通知に代えて高速DMAバス8の使用状態を
示すフラグがビイシイの状態になっているかどうかを確
認してもよい。
■ Data transfer between the main memory 12 and the high-speed DMA bus 8
It is determined whether there is an interrupt notification of "end of rDMA transfer" from the input/output control circuit of the input/output device that is performing MA transfer, and if "rYIEs", proceed to the next step; if "NO", this judgment is made. repeat. Note that instead of the above-mentioned interrupt notification, it may be checked whether the flag indicating the usage state of the high-speed DMA bus 8 is in the high state.

■ バッファメモリ制御回路4中のデータ転送路を、バ
ッファメモリ3−高速バッファメモリD■ MAバス7−高速DMAバス8と接続されるように切り
換えてステップ■に進む。
(2) The data transfer path in the buffer memory control circuit 4 is switched so that it is connected to the buffer memory 3 - high speed buffer memory D (1) MA bus 7 - high speed DMA bus 8, and the process proceeds to step (2).

■ バッファメモリ制御回路4中のデータ転送路を、高
速DMAバス8−(これからDMA転送しようとする)
入出力制御回路と接続されるように切り換えて次のステ
ップに進む。
■ Connect the data transfer path in the buffer memory control circuit 4 to the high-speed DMA bus 8- (to which DMA transfer is to be performed).
Switch so that it is connected to the input/output control circuit and proceed to the next step.

■ 主メモリ12との間で、高速DMAバス8によるデ
ータのDMA転送を行なう。
(2) Performs DMA transfer of data with the main memory 12 via the high-speed DMA bus 8.

のようになっている。It looks like this.

なお、以上のデータ転送処理は、入出力装置9゜10か
ら主メモリ12に対してのDMA転送の場合だけではな
く、主メモリ12から一方の入出力装置へのDMA転送
と、他方の入出力装置から主メモリ12へのDMA転送
とを同時に行なう場合にも用いることが、できる。
Note that the above data transfer process applies not only to DMA transfer from the input/output device 9-10 to the main memory 12, but also for DMA transfer from the main memory 12 to one input/output device and the other input/output device. It can also be used when DMA transfer from the device to the main memory 12 is performed simultaneously.

〔実施例〕〔Example〕

第3図〜第4図を参照して本発明の詳細な説明する。 The present invention will be described in detail with reference to FIGS. 3 and 4.

第3図は入出力制御装置の実施例を示す説明図であり、
第1の入出力装置51.第2の入出力装置52は、それ
ぞれ入出力制御装置30.システムバス66を介して主
メモリ64との間でデータのDMA転送を行なっている
FIG. 3 is an explanatory diagram showing an embodiment of the input/output control device,
First input/output device 51. The second input/output devices 52 include the input/output control devices 30 . Data is transferred via DMA to the main memory 64 via the system bus 66.

そして、第5図で示される従来の入出力制御装置50と
は、 ・大容量のバッファメモリ31と、各入出力制御回路3
6.37 #よび高速DMAバス62が接続されるバッ
ファメモリ制御回路32とを設け、両者を高速バッファ
メモリDMAバス33で接続していること ・バッファメモリ制御回路32において、各入出力制御
回路36.37と各バス(高速バッファメモリDMAバ
ス33.高速DMAバス62.低速DMAバス63)と
の接続状態を切り換えること・高速DMAバス62の使
用状態を示すフラグを設け、例えば各入出力装置51.
52と主メモリ64との間で同時期にDMA転送しよう
とする場合に、一方の入出力装置が高速DMAバス62
を先に使用して当該フラグがビイシイ状態を示している
とき、バッファメモリ制御回路32は高速バッファメモ
IIJ DMAバス33が未使用状態であることを確認
して他方の入出力装置の転送データをいったんバッファ
メモリ31に格納し、一方の入出力装置の高速DMAバ
ス62の使用が終りしだい、格納されていたデータをバ
ッファメモリ31から高速バッファメモリDMAバス3
3.高速DMAバス62を経由させて主メモリ64にD
MA転送すること 等の点で相違している。
The conventional input/output control device 50 shown in FIG. 5 includes a large capacity buffer memory 31 and each input/output control circuit 3.
6.37 # and the buffer memory control circuit 32 to which the high-speed DMA bus 62 is connected are provided, and both are connected by the high-speed buffer memory DMA bus 33. In the buffer memory control circuit 32, each input/output control circuit 36 .37 and each bus (high-speed buffer memory DMA bus 33, high-speed DMA bus 62, low-speed DMA bus 63). ・Providing a flag indicating the use status of the high-speed DMA bus 62, for example, each input/output device 51 ..
52 and the main memory 64 at the same time, one of the input/output devices is connected to the high-speed DMA bus 62.
When the high-speed buffer memory IIJ DMA bus 33 is used first and the flag indicates the busy state, the buffer memory control circuit 32 confirms that the high-speed buffer memory IIJ DMA bus 33 is in an unused state and transfers the data transferred from the other input/output device. The stored data is once stored in the buffer memory 31, and as soon as the use of the high-speed DMA bus 62 of one input/output device is finished, the stored data is transferred from the buffer memory 31 to the high-speed buffer memory DMA bus 3.
3. D to the main memory 64 via the high-speed DMA bus 62
They are different in terms of MA transfer, etc.

したがって、本発明の入出力制御装置30においては、
従来の ■′入出力制御回路36.37−高速DMAバス62−
システムバスデータ制御回路55−システムバス66−
主メモリ64 ■′入出力制御回路36.37−パツフアメモリ31−
低速DMAバス63−内部データバス6〇−低速DMA
バス63−システムバスデータ制御回路55−システム
バス66−主メモリ64 の系統に加えて、 ■′入出力制御回路36.37−パツフアメモリ31−
高速バッファメモリDMAバス33−高速DMAバス6
2−システムバスデータ制御回路55−システムバス6
6−主メモリ64 のデータ転送路が形成されることになる。なお、34は
バッファメモリ31へのアドレスバスである。
Therefore, in the input/output control device 30 of the present invention,
Conventional ■' I/O control circuit 36, 37 - high-speed DMA bus 62 -
System bus data control circuit 55-system bus 66-
Main memory 64 ■'Input/output control circuit 36.37 - software memory 31 -
Low speed DMA bus 63 - Internal data bus 60 - Low speed DMA
In addition to the system bus 63 - system bus data control circuit 55 - system bus 66 - main memory 64,
High-speed buffer memory DMA bus 33-high-speed DMA bus 6
2-System bus data control circuit 55-System bus 6
6-Main memory 64 data transfer path will be formed. Note that 34 is an address bus to the buffer memory 31.

第4図は、バッファメモリ制御回路32の実施例を示す
説明図である。
FIG. 4 is an explanatory diagram showing an embodiment of the buffer memory control circuit 32.

ここで、バッファメモリ31と第1の入出力制御回路3
6.第2の入出力制御回路37のそれぞれとを接続する
データ転送路にはトランシーバ41.42が設けてあり
、システムバスデータ制御回路55と第1の入出力制御
回路36.第2の入出力制御回路37のそれぞれとを接
続するデータ転送路にはトランシーバ43.44が設け
てあり、またバッファメモリ31とシステムバスデータ
制御回路55とを接続するデータ転送路にはトランシー
バ45が設けである1゜そして、トランシーバ41〜4
5のそれぞれは、オン・オフをBCR(バスコントロー
ルレジスタ)46で制御され、データ転送の方向をB 
CR47で制御されている。また、高速DMAバス62
.低速DMAバス63. 高iバッファメモリDMAバ
ス33ノ各バスの使用状態を反映させるためのBSR(
バスステータスレジスタ)48が設けられている。以上
の各レジスタは、例えば8ビツトで構成され、初期状態
時、全ビットとも「0」に設定され、イネーブル制御対
象のトランシーバや使用されているバスに対応するビッ
トは「】」に設定されている。
Here, the buffer memory 31 and the first input/output control circuit 3
6. Transceivers 41, 42 are provided on data transfer paths connecting each of the second input/output control circuits 37, and the system bus data control circuit 55 and the first input/output control circuit 36. Transceivers 43 and 44 are provided on the data transfer paths connecting each of the second input/output control circuits 37, and transceivers 45 and 45 are provided on the data transfer paths connecting the buffer memory 31 and the system bus data control circuit 55. is provided at 1°, and the transceivers 41 to 4
5 is controlled on/off by a BCR (bus control register) 46, and the direction of data transfer is controlled by a BCR (bus control register) 46.
It is controlled by CR47. In addition, the high-speed DMA bus 62
.. Low speed DMA bus 63. BSR (
A bus status register) 48 is provided. Each of the above registers is composed of, for example, 8 bits, and in the initial state, all bits are set to "0", and the bits corresponding to the transceiver to be enabled and the bus in use are set to "]". There is.

また、バッファメモリ31にデータを格納シ15、ある
いは格納したデータを取り出すときの当該バッファメモ
リへのアクセス動作において、そのアドレス、シーケン
ス動作を制御するバッファメモリ制御部49が設けられ
ている。
Further, a buffer memory control unit 49 is provided that controls addresses and sequence operations in the buffer memory 31 for storing data 15 or for accessing the buffer memory when retrieving stored data.

そして、例えば高速なデータ転送が可能である第1.第
2の入出力装置が共に、主メモリ64に対してデータ転
送を行なうときの各部の処理手順は次のようになる。
For example, the first one is capable of high-speed data transfer. The processing procedure of each part when both the second input/output devices transfer data to the main memory 64 is as follows.

すなわち、 (a)  入出力制御装置30はシステムバス66を介
してCPU65からの入出力コマンドを受付ることによ
り、各入出力装置51.52と主メモリ64との間でD
MA転送を行なおうとする。このとき、例えば第1の入
出力装置51が高速DMAバス62を用いるものとする
That is, (a) the input/output control device 30 receives input/output commands from the CPU 65 via the system bus 66, thereby transferring data between each input/output device 51, 52 and the main memory 64.
An attempt is made to perform MA transfer. At this time, it is assumed that the first input/output device 51 uses the high-speed DMA bus 62, for example.

(b)DMA転送に先だって、メインプロセッサ35は
、BCR46,47の所定ビットを「1」に設定してト
ランシーバ42.43をオンにし、かつ、第1の入出力
装置51から高速DMAバス62を介したシステムバス
データ制御回路55へのデータ転送と、第2の入出力装
置52から高速バッフ了メモ!JDMAバス33を介し
たバッファメモリ31へのデータ転送が可能となるよう
にBCR46,47の転送方向を制御する。
(b) Prior to DMA transfer, the main processor 35 sets predetermined bits in the BCRs 46 and 47 to "1" to turn on the transceivers 42 and 43, and also connects the high-speed DMA bus 62 from the first input/output device 51. data transfer to the system bus data control circuit 55 via the system bus, and high-speed buffer completion memo from the second input/output device 52! The transfer direction of the BCRs 46 and 47 is controlled so that data can be transferred to the buffer memory 31 via the JDMA bus 33.

(C)  第1の入出力装置51から読み出されたデー
タは高速DMAバス62を介して主メモリ64へDMA
転送され、また第2の入出力装置52から読み出された
データは高速バッファメモリ DMAバス33を経てバ
ッファメモリ31に格納される。
(C) The data read from the first input/output device 51 is transferred to the main memory 64 via the high-speed DMA bus 62.
The data transferred and read from the second input/output device 52 is stored in the buffer memory 31 via the high speed buffer memory DMA bus 33.

(6)各系統のデータ転送が終了すると、入出力制御回
路36.37はそれぞれメインプロセッサ35に対して
終了側詰みを通知する。
(6) When the data transfer of each system is completed, the input/output control circuits 36 and 37 respectively notify the main processor 35 of the termination side fullness.

このとき、各入出力装置51.52からのデータ転送量
が路間〜であれば、バッファメモリ31へのデータ転送
が先に終了する。そして、高速DMAバス62を用いた
、入出力装置51および主メモリ64間のデータのDM
A転送が終了すると、第1の入出力制御回路36は終了
割込みを発生し、これを受けたメインブロセッt351
t、BCR46゜47のビット設定を制御してトランシ
ーバ45をオンにし、バッファメモリ31−高速バッフ
ァメモリDMAバス33−高速DMAバス62−システ
ムバスデータ制御回路55−システムバス66−主メモ
リ64の経路でDMA転送を行なう。
At this time, if the amount of data transferred from each input/output device 51, 52 is within the range, the data transfer to the buffer memory 31 is completed first. DM of data between the input/output device 51 and the main memory 64 using the high-speed DMA bus 62
When the A transfer ends, the first input/output control circuit 36 generates an end interrupt, and the main processor t351 that receives this interrupt
t, turns on the transceiver 45 by controlling the bit settings of BCR 46 and 47, and connects the path of buffer memory 31 - high speed buffer memory DMA bus 33 - high speed DMA bus 62 - system bus data control circuit 55 - system bus 66 - main memory 64. Performs DMA transfer.

といったデータ処理が行なわれている。Such data processing is being carried out.

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

本発明は、大容量のバッファメモリと、バッファメモリ
制御回路とを入出力制御装置に設けるとともに、両者を
高速バッファメモリ DMAバスで接続し、メインプロ
セッサがバッファメモリ制御回路中のデータ転送路を、
一方の入出力装置オよび主メモリ間で高速DMAバスを
用いてデータのDMA転送しているときに他方の入出力
装置からのデ〜りを主メモリに転送する要求があればそ
のデータを前記バッファメモリに格納し、また前記DM
A転送の終了通知を一方の入出力制御装置から受けたと
き、バッファメモリに格納されたブタを高速バッファメ
モリ DMAバス、高速DMAバス等を経由して主メモ
リにDMA転送するように切替え制御し、各入出力装置
と主メモリとの間のデータのDMA転送を内部データバ
スを使用することなしに行なうことができる構成にして
いるため、メインプロセッサの処理を妨げることなく、
複数の入出力装置と主メモリ間のデータのDMA転送を
高速で行なうことができる。
The present invention provides an input/output control device with a large-capacity buffer memory and a buffer memory control circuit, connects the two with a high-speed buffer memory DMA bus, and allows the main processor to control the data transfer path in the buffer memory control circuit.
When data is being DMA transferred between one input/output device and the main memory using a high-speed DMA bus, if there is a request to transfer data from the other input/output device to the main memory, the data is transferred to the main memory. stored in the buffer memory, and also the DM
When a notification of the completion of A transfer is received from one of the input/output control devices, switching control is performed to transfer the data stored in the buffer memory to the main memory via the high-speed buffer memory DMA bus, high-speed DMA bus, etc. , the configuration allows DMA transfer of data between each input/output device and the main memory without using the internal data bus, so it does not interfere with the processing of the main processor.
DMA transfer of data between multiple input/output devices and main memory can be performed at high speed.

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

第1図は本発明の原理説明図、第2図は本発明における
入出力装置と主メモリの間のDMA転送の処理手順、第
3図は本発明のデータ転送方式の実施例を示す説明図、
第4図は本発明のバッファメモリ制御回路の実施例を示
す説明図、第5図は従来のデータ転送方式を示す説明図
である。 第1図において、 1・・・入出力制御装置 2・・・メインプロセッサ 3・・・大容量のバッファメモリ 4・・・バッファメモリ制御回路 5・・・第1の入出力制御回路 6・・・第2の入出力制御回路 7・・・高速バッファメモ!l DMAバス8・・・高
速DMAバス 9・・・第1の入出力装置 10・・・第2の入出力装置 12・ ・ ・主メモリ 13・・・システムバス 特許出願人 株式会社ビーエフニー
FIG. 1 is an explanatory diagram of the principle of the present invention, FIG. 2 is an explanatory diagram showing the processing procedure of DMA transfer between the input/output device and the main memory of the present invention, and FIG. 3 is an explanatory diagram showing an embodiment of the data transfer method of the present invention. ,
FIG. 4 is an explanatory diagram showing an embodiment of the buffer memory control circuit of the present invention, and FIG. 5 is an explanatory diagram showing a conventional data transfer system. In FIG. 1, 1... Input/output control device 2... Main processor 3... Large capacity buffer memory 4... Buffer memory control circuit 5... First input/output control circuit 6...・Second input/output control circuit 7...high-speed buffer memo! l DMA bus 8...High-speed DMA bus 9...First input/output device 10...Second input/output device 12...Main memory 13...System bus Patent applicant BFN Corporation

Claims (2)

【特許請求の範囲】[Claims] (1)第1の入出力装置と第2の入出力装置とにそれぞ
れ接続され、各入出力装置の制御をそれぞれが行なう第
1の入出力制御回路および第2の入出力制御回路と、主
メモリおよび前記入出力装置間でデータをDMA転送す
るための高速DMAバスと、データの転送状態を制御す
るプロセッサとを備えた入出力制御装置において、 当該入出力制御装置に、大容量のバッファメモリと、前
記の各入出力制御回路および高速DMAバスが接続され
るバッファメモリ制御回路とを設け、 当該バッファメモリと当該バッファメモリ制御回路とを
高速バッファメモリDMAバスを介して接続し、 前記プロセッサは、前記第1および第2の入出力装置の
一方が前記高速DMAバスを介して主メモリとの間でD
MA転送しているとき、前記第1および第2の入出力装
置の他方からのデータを主メモリに転送する要求があれ
ばそのデータを前記高速バッファメモリDMAバスを介
して前記バッファメモリに格納し、また前記DMA転送
の終了通知を前記第1の入出力制御装置から受けたとき
、前記バッファメモリに格納されているデータを前記高
速バッファメモリDMAバス、高速DMAバスを介して
前記主メモリにDMA転送するように、前記バッファメ
モリ制御回路中のデータ転送路を切替え制御し、 前記プロセッサが接続されている内部データバスを用い
ることなしに、前記入出力装置のそれぞれと前記主メモ
リとの間で高速DMAバスを用いたDMA転送を行なう
ようにしたことを特徴とする入出力制御装置におけるデ
ータ転送方式。
(1) A first input/output control circuit and a second input/output control circuit that are connected to the first input/output device and the second input/output device and each controls the input/output devices, and a main input/output control circuit. In an input/output control device comprising a memory, a high-speed DMA bus for DMA transfer of data between the input/output devices, and a processor for controlling the data transfer state, the input/output control device includes a large-capacity buffer memory. and a buffer memory control circuit to which each of the input/output control circuits and the high-speed DMA bus are connected, the buffer memory and the buffer memory control circuit are connected via the high-speed buffer memory DMA bus, and the processor , one of the first and second input/output devices is connected to the main memory via the high-speed DMA bus.
During MA transfer, if there is a request to transfer data from the other of the first and second input/output devices to the main memory, the data is stored in the buffer memory via the high speed buffer memory DMA bus. , when a notification of completion of the DMA transfer is received from the first input/output control device, the data stored in the buffer memory is DMA-transferred to the main memory via the high-speed buffer memory DMA bus and the high-speed DMA bus. switching and controlling a data transfer path in the buffer memory control circuit so as to transfer data between each of the input/output devices and the main memory without using an internal data bus to which the processor is connected; A data transfer method in an input/output control device, characterized in that DMA transfer is performed using a high-speed DMA bus.
(2)高速バッファメモリDMAバス、高速DMAバス
それぞれの使用状態を反映させるバスステータスレジス
タと、 第1の入出力制御回路、第2の入出力制御回路、高速バ
ッファメモリDMAバス及び高速DMAバス間の、バッ
ファメモリ制御回路中における、データ転送路を切替え
制御するためのバスコントロールレジスタとを設け、 プロセッサは、前記バスステータスレジスタの状態を確
認し、その結果に基づいて前記バスコントロールレジス
タの制御用ビットの設定を行なうようにした請求項1記
載の入出力制御装置におけるデータ転送方式。
(2) A bus status register that reflects the usage status of the high-speed buffer memory DMA bus and the high-speed DMA bus, and between the first input/output control circuit, the second input/output control circuit, the high-speed buffer memory DMA bus, and the high-speed DMA bus A bus control register is provided for switching and controlling the data transfer path in the buffer memory control circuit, and the processor checks the state of the bus status register and controls the bus control register based on the result. 2. A data transfer system in an input/output control device according to claim 1, wherein bits are set.
JP16240190A 1990-06-20 1990-06-20 Data transfer method in input/output control device Expired - Lifetime JPH0650494B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16240190A JPH0650494B2 (en) 1990-06-20 1990-06-20 Data transfer method in input/output control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16240190A JPH0650494B2 (en) 1990-06-20 1990-06-20 Data transfer method in input/output control device

Publications (2)

Publication Number Publication Date
JPH0452948A true JPH0452948A (en) 1992-02-20
JPH0650494B2 JPH0650494B2 (en) 1994-06-29

Family

ID=15753909

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16240190A Expired - Lifetime JPH0650494B2 (en) 1990-06-20 1990-06-20 Data transfer method in input/output control device

Country Status (1)

Country Link
JP (1) JPH0650494B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020262483A1 (en) * 2019-06-28 2020-12-30 株式会社イノアックコーポレーション Honeycomb layered body and production method therefor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020262483A1 (en) * 2019-06-28 2020-12-30 株式会社イノアックコーポレーション Honeycomb layered body and production method therefor

Also Published As

Publication number Publication date
JPH0650494B2 (en) 1994-06-29

Similar Documents

Publication Publication Date Title
US5119480A (en) Bus master interface circuit with transparent preemption of a data transfer operation
KR20040044366A (en) Shared memory data transfer apparatus
EP0508634B1 (en) Memory access for data transfer within an I/O device
JPH02289017A (en) Method of data transfer in computer system
US5566345A (en) SCSI bus capacity expansion controller using gating circuits to arbitrate DMA requests from a plurality of disk drives
JP2962787B2 (en) Communication control method
JP2002123371A (en) Device and method for controlling disk array
JPH0452948A (en) Data transfer system for input/output controller
JPH0343804A (en) Sequence controller
JPH0553902A (en) Memory control circuit
JP2522412B2 (en) Communication method between programmable controller and input / output device
JP2534765B2 (en) I/O bus expansion device for programmable controller
JPS6130300B2 (en)
JPS60142768A (en) Data transfer device
JP3260515B2 (en) Interface circuit for multiple port storage device
JPH02211571A (en) Information processor
JPH07160655A (en) Memory access method
JP2005316700A (en) Data transfer method and apparatus
JPH0471224B2 (en)
JPH03180959A (en) Interface circuit
WO1993010499A1 (en) Device for transmission of data
JPH05265923A (en) Data transfer equipment
JPS62145345A (en) Control system for direct memory access interval
JPS60114927A (en) Film memory access control system
JPH03219359A (en) Interface circuit