JPH05204847A - Data transfer controller - Google Patents

Data transfer controller

Info

Publication number
JPH05204847A
JPH05204847A JP81691A JP81691A JPH05204847A JP H05204847 A JPH05204847 A JP H05204847A JP 81691 A JP81691 A JP 81691A JP 81691 A JP81691 A JP 81691A JP H05204847 A JPH05204847 A JP H05204847A
Authority
JP
Japan
Prior art keywords
data
signal
storage device
address
transfer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP81691A
Other languages
Japanese (ja)
Inventor
Motokiyo Ikeno
元清 池野
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP81691A priority Critical patent/JPH05204847A/en
Publication of JPH05204847A publication Critical patent/JPH05204847A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)

Abstract

PURPOSE:To transfer data not through a data buffer in a main storage device. CONSTITUTION:A transfer control part 10 sends a request to read data and a request to write data to a transfer source and a transfer destination according to a data transfer request signal 100 from a processor 2. The output of a 1st address register 12 which holds the read start address of the data outputted from the processor 2 and outputs it as an address signal and the output of a 2nd address register 13 which holds the write start address of the data outputted from the processor 2 and outputs it as an address signal are connected selectively to the data readout destination and data read-in destination by the transfer control part 10 to specify the read and write addresses of the data. The transfer control part 10 transfers the data to an extended storage device 4 through the data buffer 11, but transfers the data to the main storage device 3 not through the data buffer 11 according to the data transfer request signal 100.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はデータ転送制御装置に関
し、特にコンピュータ内の主記憶装置と外部の拡張記憶
装置の間または外部の拡張記憶装置の異なる記憶場所間
でデータの転送を行うデータ転送制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transfer control device, and more particularly to data transfer for transferring data between a main storage device in a computer and an external expansion storage device or between different storage locations of the external expansion storage device. Regarding the control device.

【0002】[0002]

【従来の技術】図3はコンピュータに接続された外部の
拡張記憶装置のある記憶場所に記憶されているデータを
同一の拡張記憶装置の他の記憶場所に転送するときの従
来のデータ転送の動作を示す説明図である。
2. Description of the Related Art FIG. 3 shows a conventional data transfer operation when data stored in a storage location of an external expansion storage device connected to a computer is transferred to another storage location of the same expansion storage device. FIG.

【0003】情報処理の対象とするデータの量が膨大に
なると、このようなデータを処理するコンピュータの内
蔵する主記憶装置3だけに上述のデータを格納すること
は不可能となる。そこで、上述のコンピュータにおいて
は外部に拡張記憶装置4を接続しておき、この拡張記憶
装置4に主記憶装置3に格納しきれないデータを格納し
必要に応じて拡張記憶装置4に格納されているデータを
コンピュータに読出して使用しているのが通常である。
When the amount of data to be processed becomes enormous, it becomes impossible to store the above-mentioned data only in the main storage device 3 incorporated in the computer that processes such data. Therefore, in the above-mentioned computer, the extended storage device 4 is connected to the outside, and data which cannot be stored in the main storage device 3 is stored in the extended storage device 4 and stored in the extended storage device 4 as necessary. It is normal to read the data in the computer and use it.

【0004】このように外部に拡張記憶装置4を有する
コンピュータシステムにおいては、拡張記憶装置4の特
定の記憶場所に記憶されているデータを、この拡張記憶
装置4の他の記憶場所に転送することが必要になる。
As described above, in the computer system having the extended storage device 4 externally, the data stored in the specific storage location of the extended storage device 4 is transferred to another storage location of the extended storage device 4. Will be required.

【0005】このような場合に、従来のコンピュータシ
ステムにおいては、図3に示すように、拡張記憶装置4
のアドレスa1からa2までに格納されているデータを
拡張記憶装置4のアドレスb1からb2へ転送を行う場
合にはアドレスa1からa2に記憶されているデータを
まづ主記憶装置3内のバッファエリア20の記憶容量に
相当する分だけ読出し、これをバッファエリア20に記
憶する。
In such a case, in the conventional computer system, as shown in FIG.
When the data stored at the addresses a1 to a2 of the above is transferred from the addresses b1 to b2 of the extended storage device 4, the data stored at the addresses a1 to a2 are added to the buffer area in the main storage device 3. The data is read out by an amount corresponding to the storage capacity of 20 and stored in the buffer area 20.

【0006】次に、バッファエリア20に記憶されたデ
ータを拡張記憶装置4のアドレスb1からb2の方向に
向って書込ませる、続いて拡張記憶装置4内のすでに読
出したアドレスの次のアドレスからバッファエリア20
の記憶容量分だけ読出しバッファエリヤ20に一旦記憶
しこの記憶したデータをすでに書込の終ったアドレスの
次のアドレスから順次b2の方に向って書込を行う。以
下、必要なデータの転送が終了するまで同様な動作を繰
返し行っていた。
Next, the data stored in the buffer area 20 is written in the direction from the address b1 to the address b2 of the extended storage device 4, and subsequently from the address next to the already read address in the extended storage device 4. Buffer area 20
The storage capacity is stored in the read buffer area 20 once, and the stored data is sequentially written from the address next to the address where writing has been completed toward b2. Hereinafter, the same operation was repeated until the transfer of the required data was completed.

【0007】[0007]

【発明が解決しようとする課題】上述した従来の拡張記
憶装置を用いたコンピュータシステムにおいては拡張記
憶装置内に記憶されている所望のデータを拡張記憶装置
の別の記憶場所に転送する場合には、一旦コンピュータ
内のバッファエリアに所望のデータを読出してから拡張
記憶装置の所望のアドレスにこのデータを転送して書込
を行うので、多量のデータを1回で主記憶装置のバッフ
ァエリアに読込んで、この読込んだデータを1回で拡張
記憶装置の所望のアドレスに書込むためにはコンピュー
タ内に大容量のバッファエリアを設ける必要があるの
で、通常は、拡張記憶装置の記憶容量にくらべて小さな
記憶容量をもつ主記憶装置内のバッファエリアに転送し
ようとするデータを多数回に分けて拡張記憶装置から順
次読出し、読出した分だけ順次拡張記憶装置に書込みを
繰返すことにより拡張記憶装置の異なった記憶エリア間
のデータの転送を行っていたので転送時間が長くなると
いう欠点があった。
In the computer system using the above-mentioned conventional extended storage device, when the desired data stored in the extended storage device is transferred to another storage location of the extended storage device. , Once the desired data is read into the buffer area in the computer, this data is transferred to the desired address in the extended storage device for writing, so a large amount of data can be read into the buffer area of the main storage device at one time. Therefore, in order to write the read data to a desired address of the extended storage device at one time, it is necessary to provide a large-capacity buffer area in the computer. The data to be transferred to the buffer area in the main memory having a small storage capacity is sequentially read and read from the expansion memory in a large number of times. Transfer time since going to transfer data between different storage areas of extended storage by repeating a write only successively extended storage unit has a drawback that a long.

【0008】また、このようなデータの転送のための主
記憶装置に対するアクセスがプロセッサからこの主記憶
装置に対する他の情報処理のためのアクセスと競合した
場合には、プロセッサのアクセスの効率が低下し、この
ような主記憶装置と拡張記憶装置を外部に持つ従来のコ
ンピュータシステム全体のスループットが低下するとい
う欠点があった。
Further, when the access to the main memory for transferring such data competes with the access for other information processing to the main memory from the processor, the access efficiency of the processor decreases. However, there is a drawback in that the throughput of the entire conventional computer system having such a main storage device and an extended storage device externally decreases.

【0009】本発明の目的は、拡張記憶装置の異なるア
ドレス間のデータの転送、拡張記憶装置と主記憶装置間
のデータの転送に対してこれらのデータの転送を専用で
制御し主記憶装置内のデータバッファを使用することな
く、また主記憶装置に対するプロセッサからのアクセス
と競合することなく上述したデータの転送を行うことの
できるデータ転送制御装置を提供することにある。
It is an object of the present invention to exclusively control the transfer of data between different addresses of the extended storage device and the transfer of data between the extended storage device and the main storage device, and to control the transfer of these data in the main storage device. SUMMARY OF THE INVENTION It is an object of the present invention to provide a data transfer control device capable of performing the above-mentioned data transfer without using the above data buffer and without competing with the access from the processor to the main storage device.

【0010】[0010]

【課題を解決するための手段】本発明のデータ転送制御
装置は、プロセッサからのデータ転送要求信号により制
御され主記憶装置と拡張記憶装置間および前記拡張記憶
装置内の互いに異なる記憶場所の間のデータの転送とそ
の制御を行うデータ転送制御装置において、前記プロセ
ッサから出力される前記データの転送元のアドレスを保
持し出力する第1のアドレスレジスタと、前記プロセッ
サから出力される前記データの転送先のアドレスを保持
し出力する第2のアドレスレジスタと、書込要求信号に
より制御され前記転送元より読出したデータを一旦記憶
しておき読出要求信号により制御され前記記憶したデー
タを読出すデータバッファと、第1の選択信号に応じて
前記第1のアドレスレジスタからの出力を前記拡張記憶
装置または前記主記憶装置の何れかに前記データの読出
アドレス信号として出力する第1のセレクタと、第2の
選択信号に応じて前記第2のアドレスレジスタからの出
力を前記主記憶装置あるいは前記拡張記憶装置に書込ア
ドレス信号として出力する第2のセレクタと、前記プロ
セッサからのデータ転送要求信号に応じて前記第1と第
2の選択信号を出力すると共に転送元にデータ読出要求
信号を送出しデータの読出し制御を行いデータの読出し
を行い転送先が前記拡張記憶装置であるときには前記デ
ータバッファに前記書込要求信号とこれに続く前記読出
信号を送出して前記データバッファを制御し前記データ
バッファを介して前記データを出力させ前記拡張記憶装
置にデータ書込要求信号を送出し前記拡張記憶装置を制
御して前記拡張記憶装置に前記データバッファから出力
された前記データを書込ませまた転送先が前記主記憶装
置であるときには前記主記憶装置にデータ書込要求信号
を送出して前記転送元から読出された前記データを前記
主記憶装置に書込ませる制御を行う転送制御部とを備え
ている。
A data transfer control device of the present invention is controlled by a data transfer request signal from a processor, and is provided between a main storage device and an extended storage device and between different storage locations in the extended storage device. In a data transfer control device that transfers and controls data, a first address register that holds and outputs an address of a transfer source of the data output from the processor, and a transfer destination of the data output from the processor A second address register for holding and outputting the address, and a data buffer for temporarily storing the data read from the transfer source controlled by the write request signal and reading the stored data controlled by the read request signal. , The output from the first address register in response to a first selection signal A first selector that outputs a read address signal of the data to any one of the storage devices, and an output from the second address register according to a second selection signal to the main storage device or the extension storage device. A second selector for outputting as a built-in address signal and the first and second selection signals according to a data transfer request signal from the processor, and at the same time, sending a data read request signal to the transfer source to control data read. When the transfer destination is the extended storage device, the write request signal and the read signal subsequent to the write request signal are sent to the data buffer to control the data buffer, and the data buffer is controlled via the data buffer. The data is output and a data write request signal is sent to the extended storage device to control the extended storage device to send the data to the extended storage device. When the data output from the buffer is written, and when the transfer destination is the main storage device, a data write request signal is sent to the main storage device to transfer the data read from the transfer source to the main storage device. And a transfer control unit for controlling the writing.

【0011】[0011]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Embodiments of the present invention will now be described with reference to the drawings.

【0012】図1は本発明のデータ転送制御装置の一実
施例を示すブロック図であり、図2は図1のデータ転送
制御装置とプロセッサその他の装置の間の関係を示す説
明図である。
FIG. 1 is a block diagram showing an embodiment of the data transfer control device of the present invention, and FIG. 2 is an explanatory diagram showing the relationship between the data transfer control device of FIG. 1 and a processor and other devices.

【0013】データっ転送制御装置1は転送制御部10
とデータバッファ11を主構成としている。
The data transfer control device 1 includes a transfer control unit 10
And the data buffer 11 are the main components.

【0014】プロセッサ2からデータ転送元とデータ転
送先の情報を含むデータ転送要求信号100が転送制御
部10に加えられ、またプロセッサ2より上述したデー
タの転送元の読出すべきデータの最初のアドレスを指定
するアドレス信号102が第1のアドレスレジスタ12
に加えられ、前記データの転送先のデータを書込むべき
最初のアドレスを指定するアドレス信号103がプロセ
ッサ2より第2のアドレスレジスタに加えられ、かつ、
転送すべきデータがデータバッファ11の所有する記憶
容量の何倍あるかを示す値すなわちブロック数を示すデ
ータブロック数要求信号101がプロセッサ2からブロ
ックカウンタ15に与えられる。
A data transfer request signal 100 including information of a data transfer source and a data transfer destination is applied from the processor 2 to the transfer control unit 10, and the first address of the data to be read by the processor 2 is read. The address signal 102 that specifies the first address register 12
And an address signal 103 designating the first address to write the data of the transfer destination of the data is added from the processor 2 to the second address register, and
A value indicating how many times the storage capacity of the data buffer 11 has the data to be transferred, that is, a data block number request signal 101 indicating the number of blocks is given from the processor 2 to the block counter 15.

【0015】まず拡張記憶装置4内のあるアドレスに記
憶されているデータをこの拡張記憶装置4の他のアドレ
スに転送する場合について、本発明のデータ転送制御装
置1の動作を説明する。
First, the operation of the data transfer control device 1 of the present invention will be described in the case of transferring data stored at an address in the extended storage device 4 to another address in the extended storage device 4.

【0016】転送制御部10はデータ転送要求信号10
0の内容に応じてデータの転送元が拡張記憶装置4であ
れば読出要求信号302を出力して拡張記憶装置4に加
えると同時に読出アドレスを指定する第1のアドレスレ
ジスタ12から出力されるアドレス信号203を拡張記
憶装置4に入力するアドレス信号304として選択出力
させるための第1の選択信号205を第1のセレク14
に出力する。
The transfer control unit 10 receives the data transfer request signal 10
If the data transfer source is the extension storage device 4 according to the content of 0, the read request signal 302 is output and added to the extension storage device 4, and at the same time, the address output from the first address register 12 for designating the read address. The first select signal 205 for selecting and outputting the signal 203 as the address signal 304 input to the extended storage device 4 is selected by the first select 14
Output to.

【0017】また、データの書込要求信号303が拡張
記憶装置4に出力される。さらに、第2のアドレスレジ
スタ13から出力される書込先の書込開始アドレスを指
定するアドレス信号204を拡張記憶装置4に対する書
込開始アドレス信号315として選択接続させるための
第2の選択信号206を出力し、書込開始アドレス信号
315を拡張記憶装置4に加える。
Further, a data write request signal 303 is output to the extended storage device 4. Further, the second selection signal 206 for selectively connecting the address signal 204, which is output from the second address register 13 and specifies the write start address of the write destination, as the write start address signal 315 for the extended storage device 4. Is output and the write start address signal 315 is applied to the extended storage device 4.

【0018】拡張記憶装置4からは上記の読出要求信号
302とアドレス指定203により指定されたデータ9
01が読出される。
From the extended storage device 4, the data 9 designated by the read request signal 302 and the address designation 203 is sent.
01 is read.

【0019】転送制御部10はデータ901を選択して
読込む第3の選択信号207をデータセレクタ18に加
える。データセレクタ18は第3の選択信号207によ
りデータ901を選択してデータバッファ11へ出力す
る。
The transfer control unit 10 applies a third selection signal 207 for selecting and reading the data 901 to the data selector 18. The data selector 18 selects the data 901 by the third selection signal 207 and outputs it to the data buffer 11.

【0020】データバッファ11には転送制御部10よ
り書込要求信号307が出力されデータバッファ11を
制御してデータセレクタから出力されるデータを一時的
に書込む。
A write request signal 307 is output from the transfer control unit 10 to the data buffer 11 to control the data buffer 11 to temporarily write the data output from the data selector.

【0021】データバッファ11の記憶容量に相当する
データがデータバッファ11に書込まれると、転送制御
部10より読出要求信号306がデータバッファ11に
出力され第2のセレクタ17より出力されている書込開
始アドレス指定信号315で指定された拡張記憶装置4
のアドレスを書込開始アドレスとしてこのアドレスから
予め決めらた方向にデータバッファ11から出力された
データが順次書込まれる。
When the data corresponding to the storage capacity of the data buffer 11 is written in the data buffer 11, the transfer controller 10 outputs a read request signal 306 to the data buffer 11 and the second selector 17 outputs the write request signal 306. Expansion storage device 4 specified by the start address specifying signal 315
The data output from the data buffer 11 is sequentially written in a predetermined direction from this address as the write start address.

【0022】この読出と書込の動作が終了すると、転送
制御部10からブロックカウンタ15内のブロック数を
1だけ減ずるブロック数更新信号200がブロックカウ
ンタ15に出力される、ブロックカウンタ15は保持し
ているブロック数を示す値から1を減じた値に保持して
いる内容を更新する。ブロックカウンタ15からはこの
1だけ減じられた結果の数が信号201として零検出回
路16に出力される。
When the reading and writing operations are completed, the block number updating signal 200 for decrementing the number of blocks in the block counter 15 by 1 is output from the transfer control unit 10 to the block counter 15. The block counter 15 holds it. The content held is updated to a value obtained by subtracting 1 from the value indicating the number of blocks in which the block is present. The block counter 15 outputs the number of the result obtained by subtracting 1 to the zero detection circuit 16 as a signal 201.

【0023】もし、信号201が示す値が零であると、
零検出回路16は零検出信号202を転送制御部10に
出力する。
If the value represented by the signal 201 is zero,
The zero detection circuit 16 outputs the zero detection signal 202 to the transfer control unit 10.

【0024】もし、零検出信号202が転送制御部10
に出力されれば転送制御部10はデータの転送は終了す
る。また、零検出信号202が出力されない場合には、
データバッファ11の記憶容量に相当するアドレス数だ
け第1のアドレスレジスタ12と第2のアドレスレジス
タ13のアドレス値を増加させるアドレス更新信号20
8が転送制御部10より第1のアドレスレジスタ12と
第2のアドレスレジスタ13とに制御信号として加えら
れる。このアドレス更新信号208が加えられると第1
と第2のアドレスレジスタ12と13はデータバッファ
11の記憶容量に対応するアドレス値だけすでに記憶し
ているアドレス値に加算したアドレス値をそれぞれアド
レス信号203と204として更新し、この更新された
値を出力する。
If the zero detection signal 202 is the transfer control unit 10,
If it is output to, the transfer control unit 10 ends the data transfer. When the zero detection signal 202 is not output,
An address update signal 20 for increasing the address values of the first address register 12 and the second address register 13 by the number of addresses corresponding to the storage capacity of the data buffer 11.
8 is applied as a control signal from the transfer control unit 10 to the first address register 12 and the second address register 13. When the address update signal 208 is applied, the first
And the second address registers 12 and 13 update the address values obtained by adding the address values corresponding to the storage capacity of the data buffer 11 to the already stored address values as the address signals 203 and 204, respectively, and update the updated values. Is output.

【0025】転送制御部10はこの更新されたアドレス
信号203と204に基き、すでに説明したと同様な順
序で拡張記憶装置4内のすでに読出したデータの次のア
ドレスに記憶されているデータから順次予め定められた
方向にデータを読出し、このデータを一旦データバッフ
ァ11に書込み、このデータバッファ11に書込まれた
データを拡張記憶装置4のすでに書込みが行われた次の
アドレスから順次定められた方向に書込みを行う。
Based on the updated address signals 203 and 204, the transfer control unit 10 sequentially starts from the data stored at the address next to the already read data in the expansion storage device 4 in the same order as described above. The data is read in a predetermined direction, the data is once written in the data buffer 11, and the data written in the data buffer 11 is sequentially determined from the next address in the expansion storage device 4 where the writing has already been performed. Write in the direction.

【0026】転送制御部10は以上の制御を前述した零
検出信号202が出力されるまで繰返す。
The transfer control unit 10 repeats the above control until the above-mentioned zero detection signal 202 is output.

【0027】プロセッサ2からのデータ転送要求信号1
00が主記憶装置3に記憶されているデータを拡張記憶
装置4に転送する要求である場合には、転送制御部10
は第1の選択信号205を第1のセレクタ14に出力し
てアドレス指定信号203を主記憶装置3に出力する読
出しアドレス信号314として選択接続させる。また同
時に転送制御部10は第2の選択信号206を第2のセ
レクタ17に制御信号として出力し、第2のセレクタ1
7によって書込アドレス信号204を書込み指定アドレ
ス信号315として選択出力して拡張記憶装置4に加え
る。
Data transfer request signal 1 from processor 2
If 00 is a request to transfer the data stored in the main storage device 3 to the extended storage device 4, the transfer control unit 10
Outputs the first selection signal 205 to the first selector 14 and selectively connects the address designation signal 203 as the read address signal 314 to the main memory 3. At the same time, the transfer control unit 10 outputs the second selection signal 206 to the second selector 17 as a control signal, and the second selector 1
7, the write address signal 204 is selectively output as the write designation address signal 315 and added to the extended storage device 4.

【0028】また、転送制御部10は読出要求信号30
0を主記憶装置3に出力し、書込要求信号303を拡張
記憶装置4に出力する。主記憶装置3からは指定された
アドレスから始まるアドレスに記憶されているデータ9
00が読出される。
Further, the transfer control unit 10 uses the read request signal 30.
0 is output to the main storage device 3, and the write request signal 303 is output to the extension storage device 4. Data 9 stored at the address starting from the specified address from the main memory 3
00 is read.

【0029】転送制御部10はデータセレクタに入力さ
れる主記憶装置からのデータ900を選択してデータバ
ッファ11に出力する制御信号である第3の選択信号2
07を出力しデータセレクタ18に制御信号として加え
る。
The transfer control unit 10 selects the data 900 from the main memory input to the data selector and outputs it to the data buffer 11 as the third selection signal 2 which is a control signal.
07 is output and added to the data selector 18 as a control signal.

【0030】データセレクタ18は第3の選択信号20
7によって主記憶装置3から出力されたデータ900を
選択入力してデータバッファ11に出力する。
The data selector 18 uses the third selection signal 20.
The data 900 output from the main storage device 3 is selected and input by 7 and output to the data buffer 11.

【0031】データバッファ11は転送制御部10から
出力される書込要求信号307が加えられるとデータセ
レクタ18から出力されるデータを書込む。
The data buffer 11 writes the data output from the data selector 18 when the write request signal 307 output from the transfer control unit 10 is applied.

【0032】続いて転送制御部10から読出要求信号3
06がデータバッファ11に出力されると、データバッ
ファ11からは一旦書込まれていたデータが読出され書
込みアドレス指定信号315によって指定されている拡
張記憶装置4のアドレスから指定された方向にデータバ
ッファ11から読出されたデータが順次書込まれる。
Then, the read request signal 3 from the transfer control unit 10
When 06 is output to the data buffer 11, the data once written is read out from the data buffer 11 and the data buffer 11 is read from the address of the extended storage device 4 designated by the write address designating signal 315 in the designated direction. The data read from 11 is sequentially written.

【0033】この場合のブロックカウンタ15と零検出
回路16の動作および零検出回路16から検零検出信号
202が出力されたときの転送制御部10の動作はすで
に説明した拡張記憶装置4のあるアドレスにあるデータ
をこの拡張記憶装置4の他のアドレスに転送する場合と
同様であるので説明を省略する。
In this case, the operation of the block counter 15 and the zero detection circuit 16 and the operation of the transfer control section 10 when the zero detection signal 202 is output from the zero detection circuit 16 are at an address of the expansion storage device 4 already described. This is the same as the case of transferring the data in 1 to another address of the extended storage device 4, and therefore the description thereof is omitted.

【0034】プロセッサ2からのデータ転送要求信号1
00が拡張記憶装置4に記憶されているデータを主記憶
装置3に転送する要求である場合には、転送制御部10
は第1の選択信号205を第1のセレクタ14に出力し
てアドレス指定信号203を拡張記憶装置4に出力する
読出しアドレス指定信号304として選択接続させる。
また同時に転送制御部10は第2の選択信号206を第
2のセレクタ17に制御信号として出力し、第2のセレ
クタ17によって書込指定アドレス信号204を書込み
アドレス信号305として選択出力して主記憶装置3に
加える。
Data transfer request signal 1 from processor 2
If 00 is a request to transfer the data stored in the extended storage device 4 to the main storage device 3, the transfer control unit 10
Outputs the first selection signal 205 to the first selector 14 and selectively connects the address designation signal 203 as the read address designation signal 304 to the extension storage device 4.
At the same time, the transfer control unit 10 outputs the second selection signal 206 to the second selector 17 as a control signal, and the second selector 17 selects and outputs the write designation address signal 204 as the write address signal 305 for main storage. Add to device 3.

【0035】また、転送制御部10は読出要求信号30
2を拡張記憶装置4に出力し、書込要求信号301を主
記憶装置3に出力する。拡張記憶装置4からは指定され
たアドレスから始まるデータ901が読出され、このデ
ータ901が書込みアドレス信号305によって指定さ
れたアドレスから主記憶装置3内に順次予め設定されて
いる方向に書込まれる。
Further, the transfer control unit 10 uses the read request signal 30.
2 is output to the extended storage device 4, and the write request signal 301 is output to the main storage device 3. Data 901 starting from the specified address is read from expansion storage device 4, and this data 901 is sequentially written in main memory device 3 from the address specified by write address signal 305 in a preset direction.

【0036】上述したデータの書込が終了すると転送制
御部10からブロック数更新信号200が出力されブロ
ックカウンタ15の記憶しているブロック数が1だけ減
じられる。
When the above-mentioned data writing is completed, the transfer controller 10 outputs a block number update signal 200, and the block number stored in the block counter 15 is reduced by one.

【0037】この場合には、転送制御部10からデータ
バッファ11に対しての書込要求信号307と読出要求
信号306は出力されない。
In this case, the write request signal 307 and the read request signal 306 are not output from the transfer control unit 10 to the data buffer 11.

【0038】また、上述のように減算が行われたブロッ
クカウンタ15からの出力201を入力とする零検出回
路16より零検出信号202が出力されると転送制御部
10からのすべての出力は停止されて上述のデータ転送
は停止される。
Further, when the zero detection signal 202 is output from the zero detection circuit 16 which receives the output 201 from the block counter 15 which has been subtracted as described above, all the outputs from the transfer control unit 10 are stopped. Then, the above-mentioned data transfer is stopped.

【0039】もし、上述のデータ転送が行われてから零
検出信号202が出力されない場合は前述したと同様な
アドレス制御信号208が転送制御部10より出力され
第1のアドレスレジスタ12と第2のアドレスレジスタ
13のアドレス値がすでに説明した値だけ加算されその
結果がそれぞれアドレス信号203およびアドレス信号
204となって出力され、零検出信号202が出力され
るまで転送元から主記憶装置3にデータの転送が繰返し
行われることになる。
If the zero detection signal 202 is not output after the above-mentioned data transfer, the same address control signal 208 as described above is output from the transfer control unit 10 and the first address register 12 and the second address register 12 are output. The address values of the address register 13 are added by the values already described, and the results are output as the address signal 203 and the address signal 204, respectively, and until the zero detection signal 202 is output, data is transferred from the transfer source to the main storage device 3. The transfer will be repeated.

【0040】図1に示された実施例においてはブロック
カウンタ15と零検出回路16によってデータバッファ
11の記憶することができるデータ量づつに分割してデ
ータバッファ11の記憶容量以上のデータの転送を行っ
ているが、もしデータバッファ11の記憶容量が十分で
あれば図1のブロックカウンタ15と零検出回路16は
不要であり、また第1のアドレスレジスタ12と第2の
アドレスレジスタ13は転送制御部10からのアドレス
更新信号によってアドレス値を更新する必要がなく、第
1のアドレスレジスタ12はプロセッサ2から最初に出
力される転送元の読出開始アドレスを保持して出力する
だけでよく、同様に第2のアドレスレジスタ13は最初
にプロセッサ2から出力される転送先の書込み開始アド
レスを保持し出力すればよいことは明らである。
In the embodiment shown in FIG. 1, the block counter 15 and the zero detection circuit 16 divide the data buffer 11 into data amounts that can be stored in the data buffer 11 to transfer data larger than the storage capacity of the data buffer 11. However, if the storage capacity of the data buffer 11 is sufficient, the block counter 15 and the zero detection circuit 16 of FIG. 1 are unnecessary, and the first address register 12 and the second address register 13 are transfer-controlled. It is not necessary to update the address value by the address update signal from the unit 10, and the first address register 12 only needs to hold and output the read start address of the transfer source that is first output from the processor 2, and similarly. The second address register 13 first holds and outputs the write start address of the transfer destination output from the processor 2. Re if it is it is Akira et al.

【0041】[0041]

【発明の効果】以上説明したように、本発明のデータ転
送制御装置は、主記憶装置の記憶容量を増大させること
なく、またプロセッサが主記憶装置へのアクセスする際
にこのアクセスと独立して拡張装置の互いに異なる記憶
エリア間および主記憶装置と拡張記憶装置間のデータ転
送を行うことができ、上述の主記憶装置および拡張記憶
装置を使用したコンピュータシステムにおいて上述のデ
ータ転送を行う際にシステムのスループットを低下させ
ることがないという効果がある。
As described above, the data transfer control device of the present invention does not increase the storage capacity of the main memory device and is independent of this access when the processor accesses the main memory device. It is possible to perform data transfer between different storage areas of the expansion device and between the main storage device and the expansion storage device, and a system for performing the above-mentioned data transfer in a computer system using the main storage device and the expansion storage device. This has the effect of not lowering the throughput of.

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

【図1】本発明のデータ転送制御装置の一実施例を示す
ブロック図である。
FIG. 1 is a block diagram showing an embodiment of a data transfer control device of the present invention.

【図2】図1のデータ転送制御装置と他の装置との関係
を示す説明図である。
FIG. 2 is an explanatory diagram showing a relationship between the data transfer control device of FIG. 1 and another device.

【図3】従来のデータ転送の動作を示す説明図である。FIG. 3 is an explanatory diagram showing a conventional data transfer operation.

【符号の説明】[Explanation of symbols]

1 データ転送制御装置 2 プロセッサ 3 主記憶装置 4 拡張記憶装置 10 転送制御部 11 データバッファ 12 第1のアドレスレジスタ 13 第2のアドレスレジスタ 14 第1のセレクタ 15 ブロックカウンタ 16 零検出回路 17 第2のセレクタ 1 Data Transfer Control Device 2 Processor 3 Main Storage Device 4 Extended Storage Device 10 Transfer Control Unit 11 Data Buffer 12 First Address Register 13 Second Address Register 14 First Selector 15 Block Counter 16 Zero Detection Circuit 17 Second selector

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 プロセッサからのデータ転送要求信号に
より制御され主記憶装置と拡張記憶装置間および前記拡
張記憶装置内の互いに異なる記憶場所の間のデータの転
送とその制御を行うデータ転送制御装置において、前記
プロセッサから出力される前記データの転送元の読出開
始アドレスを保持し読出アドレス信号として出力する第
1のアドレスレジスタと、前記プロセッサから出力され
る前記データの転送先の書込開始アドレスを保持し書込
アドレス信号として出力する第2のアドレスレジスタ
と、書込要求信号により制御され前記転送元より読出し
たデータを一旦記憶しておき読出要求信号により制御さ
れ前記記憶したデータを読出すデータバッファと、第1
の選択信号に応じて前記読出アドレス信号を前記拡張記
憶装置または前記主記憶装置の何れかに選択接続して出
力する第1のセレクタと、第2の選択信号に応じて前記
書込アドレス信号を前記主記憶装置あるいは前記拡張記
憶装置に選択接続して出力する第2のセレクタと、前記
プロセッサからのデータ転送要求信号に応じて前記第1
と第2の選択信号を出力すると共に転送元にデータ読出
要求信号を送出しデータの読出しを行い転送先が前記拡
張記憶装置であるときには前記データバッファに前記書
込要求信号とこれに続く前記読出信号を送出して前記デ
ータバッファを制御し前記データバッファを介して前記
データを出力させ前記拡張記憶装置にデータ書込要求信
号を送出し前記拡張記憶装置を制御して前記拡張記憶装
置に前記データバッファから出力された前記データを書
込ませまた転送先が前記主記憶装置であるときには前記
主記憶装置にデータ書込要求信号を送出して前記転送元
から読出された前記データを前記主記憶装置に書込ませ
る制御を行う転送制御部とを備えたことを特徴とするデ
ータ転送制御装置。
1. A data transfer control device which controls data transfer request signals from a processor and transfers and controls data between a main storage device and an extended storage device and between different storage locations in the extended storage device. , A first address register for holding a read start address of a transfer source of the data output from the processor and outputting as a read address signal, and a write start address of a transfer destination of the data output from the processor A second address register for outputting as a write address signal, and a data buffer for temporarily storing the data read from the transfer source controlled by the write request signal and for reading the stored data controlled by the read request signal And the first
A first selector for selectively connecting and outputting the read address signal to either the extended storage device or the main storage device in accordance with the selection signal, and the write address signal in response to a second selection signal. A second selector for selectively connecting and outputting to the main memory device or the extended memory device; and the first selector in response to a data transfer request signal from the processor.
And a second selection signal, a data read request signal is sent to the transfer source to read the data, and when the transfer destination is the extended storage device, the write request signal and the subsequent read operation in the data buffer. Sending a signal to control the data buffer to output the data via the data buffer to send a data write request signal to the extended storage device to control the extended storage device to send the data to the extended storage device. The data output from the buffer is written, and when the transfer destination is the main storage device, a data write request signal is sent to the main storage device to transfer the data read from the transfer source to the main storage device. A data transfer control device, comprising:
【請求項2】 プロセッサからのデータ転送要求信号に
より制御され主記憶装置と拡張記憶装置間および前記拡
張記憶装置内の互いに異なる記憶場所の間のデータの転
送とその制御を行うデータ転送制御装置において、前記
プロセッサから出力される前記データの転送元の読出開
始アドレスを保持しアドレス更新信号が加えられると前
記保持したアドレス値に予め定められた値を加算するか
または減算して前記保持したアドレス値を更新し更新し
たアドレスを読出アドレス信号として出力する第1のア
ドレスレジスタと、前記プロセッサから出力される前記
データの転送先の書込開始アドレスを保持し前記アドレ
ス更新信号が加えられると前記保持している転送先のア
ドレス値に対して前記予め定められた値によって前記第
1のアドレスレジスタと同一の値だけアドレス値の更新
を行い更新された値を書込アドレス信号として出力する
第2のアドレスレジスタと、前記プロセッサから出力さ
れるデータブロック数要求信号を記憶しブロック数更新
信号が加えられると前記保持したブロック数を1だけ減
じた値に更新し出力するブロックカウンタと、前記ブロ
ックカウンタの出力を監視し前記ブロックカウンタの出
力が零になると零検出信号を出力する零検出回路と、書
込要求信号により制御され前記転送元より読出したデー
タを一旦記憶しておき読出要求信号により制御され前記
記憶したデータを読出すデータバッファと、第1の選択
信号に応じて前記読出アドレス信号を前記拡張記憶装置
または前記主記憶装置の何れかに選択出力する第1のセ
レクタと、第2の選択信号に応じて前記書込アドレス信
号を前記主記憶装置あるいは前記拡張記憶装置に選択接
続して出力する第2のセレクタと、前記プロセッサから
のデータ転送要求信号に応じて前記第1と第2の選択信
号を出力すると共に転送元にデータ読出要求信号を送出
しデータの読出し制御を行い転送先が前記拡張記憶装置
であるときには前記データバッファに前記書込要求信号
とこれに続く前記読出信号を送出して前記データバッフ
ァを制御し前記データバッファを介して前記データを出
力させ前記拡張記憶装置にデータ書込要求信号を送出し
前記拡張記憶装置を制御して前記拡張記憶装置に前記デ
ータバッファから出力された前記データを書込ませ前記
データの書込が終了する毎に前記アドレス更新信号と前
記ブロック数更新信号を出力し前記零検出信号を監視し
前記零検出信号が検出されるまで前記転送元からデータ
を読出し前記転送先ヘ前記データの書込の制御を繰返し
また転送先が前記主記憶装置であるときには前記主記憶
装置にデータ書込要求信号を送出して前記転送元から読
出された前記データを前記主記憶装置に書込ませる毎に
前記アドレス更新信号と前記ブロック数更新信号とを出
力し前記零検出信号を監視し前記零検出信号が検出され
るまで前記転送元からデータを読込み前記転送先に前記
読出したデータを書込む制御を繰返し行う転送制御部と
を備えたことを特徴とするデータ転送制御装置。
2. A data transfer control device, which is controlled by a data transfer request signal from a processor, transfers data between a main memory device and an extended memory device and between different memory locations in the extended memory device and controls the data. , A read start address of a transfer source of the data output from the processor is held, and when an address update signal is added, a predetermined value is added to or subtracted from the held address value to hold the held address value. And a write start address of a transfer destination of the data output from the processor, and a hold address when the address update signal is applied. The first address register according to the predetermined value for the transfer destination address value. A second address register that updates the address value by the same value as the write address signal and outputs the updated value as a write address signal, and stores the data block number request signal output from the processor. A block counter that updates the value of the held block by 1 when it is added and outputs it, and a zero detection circuit that monitors the output of the block counter and outputs a zero detection signal when the output of the block counter becomes zero. A data buffer which is controlled by a write request signal and temporarily stores the data read from the transfer source, and which is controlled by a read request signal and reads the stored data; and a read address signal according to a first selection signal. A first selector for selectively outputting the signal to either the extended storage device or the main storage device, and a first selector in response to a second selection signal. A second selector for selectively connecting and outputting a write address signal to the main storage device or the extension storage device, and outputting the first and second selection signals in response to a data transfer request signal from the processor. At the same time, a data read request signal is sent to the transfer source to control the data read, and when the transfer destination is the extended storage device, the write request signal and the read signal following it are sent to the data buffer to send the data buffer. To output the data via the data buffer and send a data write request signal to the extended storage device to control the extended storage device to output the data output from the data buffer to the extended storage device. Each time the writing of the data is completed, the address update signal and the block number update signal are output to monitor the zero detection signal. Data is read from the transfer source until the zero detection signal is detected, and control of writing the data to the transfer destination is repeated. When the transfer destination is the main storage device, a data write request signal is sent to the main storage device. Every time the data read from the transfer source is written to the main storage device, the address update signal and the block number update signal are output to monitor the zero detection signal and the zero detection signal is A data transfer control device comprising: a transfer control unit that repeatedly performs control of reading data from the transfer source and writing the read data to the transfer destination until detected.
JP81691A 1991-01-09 1991-01-09 Data transfer controller Pending JPH05204847A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP81691A JPH05204847A (en) 1991-01-09 1991-01-09 Data transfer controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP81691A JPH05204847A (en) 1991-01-09 1991-01-09 Data transfer controller

Publications (1)

Publication Number Publication Date
JPH05204847A true JPH05204847A (en) 1993-08-13

Family

ID=11484200

Family Applications (1)

Application Number Title Priority Date Filing Date
JP81691A Pending JPH05204847A (en) 1991-01-09 1991-01-09 Data transfer controller

Country Status (1)

Country Link
JP (1) JPH05204847A (en)

Similar Documents

Publication Publication Date Title
JPS58139241A (en) Picture memory access system
JP2001216194A (en) Arithmetic processor
JPH0696007A (en) Dma transfer system
JPH05204847A (en) Data transfer controller
JP3145545B2 (en) Memory access device
JPH01125644A (en) Data transfer equipment
JPH0962633A (en) Network control unit
JP3245488B2 (en) List vector processing device
JP3033334B2 (en) Data storage device
JP3264316B2 (en) Direct memory access controller
JPH04333950A (en) Information processing system
JPH0865497A (en) Image processing system
JPH05257698A (en) Electronic computer
JPH05290589A (en) Semiconductor integrated circuit
JPH0261749A (en) Data transfer device
JPS59231665A (en) Disk controller
JPH01102664A (en) Initial program loading system
JPS63206855A (en) Data transmission equipment
JPH04321993A (en) Storage control device
JPH0553908A (en) High-speed access storage device
JPH0561814A (en) Data transfer device with rearrangement function
JPS58151630A (en) Selecting device
JPH0934776A (en) Device and method for processing information
JPH01158545A (en) Control system for memory
JPS6158920B2 (en)