JPH0198050A - Transfer device - Google Patents

Transfer device

Info

Publication number
JPH0198050A
JPH0198050A JP25607787A JP25607787A JPH0198050A JP H0198050 A JPH0198050 A JP H0198050A JP 25607787 A JP25607787 A JP 25607787A JP 25607787 A JP25607787 A JP 25607787A JP H0198050 A JPH0198050 A JP H0198050A
Authority
JP
Japan
Prior art keywords
request
register
peripheral control
data
address
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
JP25607787A
Other languages
Japanese (ja)
Inventor
Tetsuo Miura
三浦 哲雄
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 JP25607787A priority Critical patent/JPH0198050A/en
Publication of JPH0198050A publication Critical patent/JPH0198050A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)

Abstract

PURPOSE:To shorten the access time in case a transfer circuit is connected to a compact device and to transfer data at a high speed by providing plural buffers to the peripheral control parts requiring the high-speed access time and controlling said device. CONSTITUTION:The conflict of the requests received from the peripheral control parts is controlled by a request accepting circuit 2 of a transfer device. Then a peripheral control part is decided for acceptance of its request and the number of this control part is stored in a request number register 10. A control circuit 1 controls each register, buffer, etc., as well as the interface between the peripheral control part connected to a bus 11 and a main memory. Thus the data received from the main memory are stored in data registers 6-1-6-4. At the same time, the numbers of the peripheral devices requiring the high-speed access time are previously set at number registers 7-A and 7-B. Then the addresses and the data are stored in address buffers 8-A and 8-B and data buffers 9-A and 9-B respectively. A comparator 3 compares the contents of the register 10 with the numbers, addresses, etc., of the peripheral devices requiring the high-speed accesses. The results of these comparisons are reported to the circuit 1.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は転送装置に関し、Wに主記憶アクセスに高速ア
クセスタイム全必要とする複数の周辺制御部の制御動作
に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a transfer device, and more particularly to a control operation of a plurality of peripheral control units that require the entire high-speed access time for main memory access.

(従来の技術) 従来、この種の転送装置において高速のアクセスタイム
が要求される場合には、転送装置に主記憶の写しを部分
的に格納する比較的大容量なローカルメモリ(バッファ
メモリ)全準備する必要がある九め、装置が高価となる
(Prior Art) Conventionally, when high-speed access time is required in this type of transfer device, the entire transfer device has a relatively large capacity local memory (buffer memory) that partially stores a copy of the main memory. Ninth, the equipment that needs to be prepared is expensive.

また、大形機指向の処理部や主記憶部などから成る本体
部に小形様指向の周辺制御mを接続する場合には、大形
機はパイプラインなどによるサイクルタイムの高速化で
全体の性能上満足するのが一般的である。
In addition, when connecting peripheral control m for small size machines to the main body consisting of the processing section and main memory section for large machines, it is possible to improve the overall performance of large machines by speeding up the cycle time using pipelines, etc. Generally, people are satisfied with the above.

しかし、小形機ではその経済性からパイプライン構造は
採用しないため、アクセスタイムが長くなると云う問題
が生じ、アクセスタイムをM視していな−大形機には接
続できないし、上記構成のようにローカルメモIJ ?
追加すると経済的ではない。
However, since pipeline structures are not adopted for small machines due to their economic efficiency, the problem arises that the access time becomes long. Local memo IJ?
It is not economical to add more.

(発明が解決しようとする問題点) 上述した従来の転送装置は、小形機に接続して使用する
ときには、その経済性からパイプライン構造を採用して
いないため、アクセスタイムが長くなるので、高速にデ
ータを転送できないと云う欠点がある。
(Problems to be Solved by the Invention) When the conventional transfer device described above is connected to a small machine and used, it does not adopt a pipeline structure due to its economic efficiency, so the access time becomes long, so high speed The disadvantage is that data cannot be transferred to

いっぽう、アクセスタイムを重要視していない大形機に
は直接、高速の転送装fRヲ接続できないし1両者を接
続する場合にはローカルメモリを追加する必要があるた
め、経済的ではないと云う欠点がある。
On the other hand, it is said that it is not economical because it is not possible to directly connect a high-speed transfer device fR to a large machine where access time is not important, and it is necessary to add local memory when connecting both. There are drawbacks.

本発明の目的は、周辺制御部番号、主記憶アドレス、な
らびにデータを組合せて複数のバッファに格納し、周辺
制御部番号としてあらかじめ任意の値全設定でき、周辺
制御部からの主記憶読出し要求を受付けたときに要求周
辺制御部番号と、あらかじめ設定された周辺制御部番号
とを比較し、両者が一致し次場合には要求アドレスと対
応するバッファ内の主記憶アドレスとを比較し、両者が
一致した場合にはバッファ内のデータを周辺制御部に転
送するとともに後続するデータを主記憶から転送し、そ
のアドレスとともにバッファに格納し、要求アドレスと
主記憶アドレスとが一致しなかった場合には要求アドレ
スと後続するアドレスとで主記憶をアクセスし、後続す
るアドレスと対応するデータとをバッファに格納するこ
とによって上記欠点を除去し、高速にデータ全転送でき
るように構成した転送装置全提供することにある。
An object of the present invention is to store a combination of a peripheral control unit number, a main memory address, and data in a plurality of buffers, to set any value in advance as the peripheral control unit number, and to respond to a main memory read request from the peripheral control unit. When it is received, the requested peripheral control unit number is compared with the preset peripheral control unit number, and if they match, the requested address and the main memory address in the corresponding buffer are compared, and both are confirmed. If they match, the data in the buffer is transferred to the peripheral control unit, and the subsequent data is transferred from the main memory and stored in the buffer along with that address. If the requested address and the main memory address do not match, To provide an entire transfer device configured to access a main memory with a requested address and a subsequent address, store the subsequent address and corresponding data in a buffer, thereby eliminating the above-mentioned drawbacks, and capable of transferring all data at high speed. There is a particular thing.

(問題点t−解決するための手段) 本発明による転送装置は要求受付は回路と、要求番号レ
ジスタと、データレジスタ、複数の番号レジスタと、複
数のアドレスバッファおよび複数のデータバッファと、
要求アドレスレジスタと、アドレス更新回路と、比較回
路と、制御回路とを具備して構成したものである。
(Problem t - Means for Solving) The transfer device according to the present invention includes a request receiving circuit, a request number register, a data register, a plurality of number registers, a plurality of address buffers, and a plurality of data buffers.
It is configured to include a request address register, an address update circuit, a comparison circuit, and a control circuit.

要求受付は回路は1周辺制御部からの要求の競合を制御
して受付けを行う周辺制御部を決定し、要求番号を送出
するためのものである。
The request receiving circuit controls conflicting requests from one peripheral control unit, determines which peripheral control unit will accept the request, and sends the request number.

要求番号レジスタは要求番号を格納するためのものであ
り、データレジスタは主記憶からのデータ#蕎量太全パ
イプライン制御により格納するためのものである。
The request number register is for storing a request number, and the data register is for storing data from the main memory under pipeline control.

複数の番号レジスタは、箭速アクセスタイムを要求する
周辺制御部の番号をあらかじめ設定しておく几めのもの
である。
The plurality of number registers are used to preset the numbers of peripheral control units that require fast access times.

複数のアドレスバッファおよび複数のデータバッファは
、それぞれアドレスおよびデータを格納しておくための
ものである。
The plurality of address buffers and the plurality of data buffers are for storing addresses and data, respectively.

要求アドレスレジスタは周辺制御部からのアドレス情報
を格納するためのものであり、アドレス更新回路は要求
アドレスレジスタの内容全もとにして周辺制御部との間
の転送単位に応じて増分するためのものである。
The request address register is used to store address information from the peripheral control unit, and the address update circuit uses the entire contents of the request address register to increment according to the unit of transfer between the request address register and the peripheral control unit. It is something.

比較回路は、要求番号レジスタの内容と複数の番号レジ
スタのそれぞれの内容と金比収し、同時に要求アドレス
レジスタの内容と複数のアドレスバッファのそれぞれと
を比較するためのものである。
The comparison circuit compares the contents of the request number register with the contents of each of the plurality of number registers, and simultaneously compares the contents of the request address register with each of the plurality of address buffers.

制御回路は、要求受付は回路からの要求番号および比較
回路からの判定結果上受付けて制御を実行するためのも
のである。
The control circuit executes control by accepting requests based on the request number from the circuit and the determination result from the comparison circuit.

(実施 例) 次に、本発明について図面を参照して説明する。(Example) Next, the present invention will be explained with reference to the drawings.

第1図は1本発明による転送装置における上記*g出し
制御回路の一実施例を示すプロツク図である。
FIG. 1 is a block diagram showing an embodiment of the *g output control circuit in a transfer apparatus according to the present invention.

第1図において、1は制御回路、2は要求受・付は回w
!!、  3は比奴回路、4は要求アドレスレジスタ、
5はアドレス更新回路、6−1〜6−4はそれぞれデー
タレジスタ、7−A 、 7−Bはそれぞれ番号レジス
タ% 8−A、8−Bはそれぞれアドレスバッファ、9
−A、9−Bij:それぞれデータバッファ、10は要
求番号レジスタ、11はバスである。
In Fig. 1, 1 is a control circuit, 2 is a request reception and processing circuit.
! ! , 3 is the Himuko circuit, 4 is the request address register,
5 is an address update circuit, 6-1 to 6-4 are each a data register, 7-A and 7-B are each a number register %, 8-A and 8-B are each an address buffer, 9
-A, 9-Bij: data buffers, 10 is a request number register, and 11 is a bus.

制御回路1は各レジスタやバッファなどの管理、ならび
にバス11に接続された周辺制御部と主記憶との間のイ
ンタフェースを制御する。
The control circuit 1 manages each register, buffer, etc., and controls the interface between the peripheral control unit connected to the bus 11 and the main memory.

要求受付は回路2は、周辺制御部からの要求の競合全制
御して、受付けを行う周辺制御部全決定し、その番号t
−要求番号レジスタ10へ格納する。データレジスタ6
−1〜6−4は主記憶からのデータを格納するレジスタ
であり、データレシスp6−1〜6−4によってパイプ
ライン制御が行われる。
For request reception, the circuit 2 controls all competing requests from peripheral control units, determines all peripheral control units that will accept the request, and assigns the number t.
- Store in request number register 10. data register 6
-1 to 6-4 are registers that store data from the main memory, and pipeline control is performed by data registers p6-1 to 6-4.

番号レジスタ7−A、7−B、アドレスバッファ8−A
、8−B、ならびにデータバッファ9−A、9−Bは本
発明を特徴づけるものである。本実施例では2個のバッ
ファより成立っているが、バッファの数は接続される周
辺制御部のなかで高速のアクセスタイムt−要求するも
のがいくつあるかによって決定される。従って、本実施
例では上記のような周辺制御部を2個まで接続すること
ができる。番号レジスタ7−A。
Number register 7-A, 7-B, address buffer 8-A
, 8-B, and data buffers 9-A, 9-B characterize the present invention. In this embodiment, there are two buffers, but the number of buffers is determined depending on how many connected peripheral control units require a high-speed access time t. Therefore, in this embodiment, up to two peripheral control units as described above can be connected. Number register 7-A.

7−Bには高速アクセスタイムt−要求する周辺制御部
の番号をあらかじめ設定しておく。本実施例では1番号
レジスタ7−A、7−Bはスイッチによって実現されて
いる。アドレスバッファ8−A、8−B、ならびにデー
タバッファ9−A、9−Bは、それぞれアドレスならび
にデータを格納する。
7-B is preset with the number of the peripheral control unit requesting the high-speed access time t. In this embodiment, the 1 number registers 7-A and 7-B are realized by switches. Address buffers 8-A, 8-B and data buffers 9-A, 9-B store addresses and data, respectively.

要求アドレスレジスタ4には、周辺制御部からのアドレ
ス情報が格納される。アドレス更新回路5も本発明kW
徴づけるものであり、要求アドレスレジスタ4をもとに
して周辺制御部との間の転送単位に応じて、例えば転送
単位が4バイトならば4だけ増分し、8バイトならば8
だけ増分する。
The request address register 4 stores address information from the peripheral control unit. The address update circuit 5 also has a power of kW according to the present invention.
For example, if the transfer unit is 4 bytes, it is incremented by 4, and if it is 8 bytes, it is incremented by 8, based on the request address register 4.
Increment by .

比較回路3も本発明を特徴づけるものであり、要求番号
レジスタ10の内容と番号レジスタ7−A、7−Bの内
容とを比較し1両者間で一致しているものがある場合に
は、要求番号レジスタ10の内容が番号レジスタ7−A
と一致しているか、あるいは番号レジスタ7−Bと一致
しているかを制御回路1へ通知する。
The comparison circuit 3 also characterizes the present invention, and compares the contents of the request number register 10 with the contents of the number registers 7-A and 7-B, and if there is a match between the two, then The contents of request number register 10 are number register 7-A
The control circuit 1 is notified whether it matches the number register 7-B or the number register 7-B.

また、要求アドレスレジスタ4の内容とアドレスバッフ
ァ8−A、8−Bとを比較し、同様に、その結果を制御
回路1へ通知する。これらの比較は同時に行われ、番号
レジスタ7−Aとアドレスバッファ8−Aとが組合され
てA群を形成し1番号レジスタ7−Bとアドレスバッフ
ァ8−Bとが組合されてB群を形成し、要求番号レジス
タ10と要求アドレスレジスタ4との組合せと比較され
る。具体的に、一致したのはA群か、あるいはB群か、
番号のみの一致なのか、番号とアドレスとの両方が一致
し九のかが制御回路1へ通知される。
It also compares the contents of the request address register 4 with address buffers 8-A and 8-B, and similarly notifies the control circuit 1 of the result. These comparisons are made simultaneously, with number register 7-A and address buffer 8-A being combined to form group A, and number register 7-B and address buffer 8-B being combined to form group B. and is compared with the combination of request number register 10 and request address register 4. Specifically, did it match Group A or Group B?
The control circuit 1 is notified whether only the numbers match or whether both the numbers and addresses match (9).

次に、第2図を参照して第1図の動作を順序だてて説明
する。第2図は制御回路1の論理を流れ図で記述したも
ので、全体の動作を表わしている。
Next, referring to FIG. 2, the operations shown in FIG. 1 will be explained in order. FIG. 2 describes the logic of the control circuit 1 in the form of a flowchart, and shows the overall operation.

一般に周辺制御部との間でデータを転送する場合、主記
憶上の特定アドレスから連続し九記憶域を順にアクセス
してゆく。このため、初めての主記憶アクセスでは一般
のアクセス方式と性能的に差はないが、後続する主記憶
アクセス時には、既に所定のデータが転送装置にあるこ
とになV1周辺制御部からみ友主記憶アクセスタイムは
極端に短縮される。
Generally, when transferring data to/from a peripheral control unit, nine consecutive storage areas are sequentially accessed starting from a specific address on the main memory. Therefore, when accessing the main memory for the first time, there is no difference in performance from the general access method, but when accessing the main memory subsequently, the specified data is already in the transfer device. Time will be drastically shortened.

(発明の効果) 以上説明したように本発明は、高速なアクセスタイムt
−i求する周辺制御部に対応して複数のバッファを設け
、制御することによって、経済的に周辺制御部tgJ絖
できると云う効果がある。
(Effects of the Invention) As explained above, the present invention provides a high-speed access time t
-i By providing and controlling a plurality of buffers corresponding to the desired peripheral control units, there is an effect that the peripheral control units tgJ can be constructed economically.

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

第1図は1本発明による転送装置の一部を示すブロック
図である。 第2図は、第1図に示す制御回路の制御の流れを示すフ
ローチャートである。 1・・・制御回路  2・・・要求受付は回路3・・・
比較回路  4・・・要求アドレスレジスタ5・・・ア
ドレス更新回路 6−1〜6−4・・・データレジスタ 7−A、7−B・・・番号レジスタ 8−A、8−B・・・アドレスバッファ9−A、9−I
3・・・データバッファ10・・・要求番号レジスタ 11 ・・・ノくス 特許出願人  日本電気株式会社 代理人 弁理士 井 ノ ロ    瑯才2囚
FIG. 1 is a block diagram showing part of a transfer device according to the present invention. FIG. 2 is a flowchart showing the control flow of the control circuit shown in FIG. 1...Control circuit 2...Request reception circuit 3...
Comparison circuit 4...Request address register 5...Address update circuits 6-1 to 6-4...Data registers 7-A, 7-B...Number registers 8-A, 8-B... Address buffer 9-A, 9-I
3...Data buffer 10...Request number register 11...Nokusu patent applicant NEC Corporation agent Patent attorney Inoro Erosai 2nd prisoner

Claims (1)

【特許請求の範囲】[Claims] 周辺制御部からの要求の競合を制御して受付けを行う周
辺制御部を決定し、要求番号を送出するための要求受付
け回路と、前記要求番号を格納するための要求番号レジ
スタと、主記憶からのデータをパイプライン制御により
格納するためのデータレジスタと、高速アクセスタイム
を要求する周辺制御部の番号をあらかじめ設定しておく
ための複数の番号レジスタと、アドレスおよびデータを
格納しておくための複数のアドレスバッファおよび複数
のデータバッファと、前記周辺制御部からのアドレス情
報を格納するための要求アドレスレジスタと、前記要求
アドレスレジスタの内容をもとにして前記周辺制御部と
の間の転送単位に応じて増分するためのアドレス更新回
路と、前記要求番号レジスタの内容と前記複数の番号レ
ジスタのそれぞれの内容とを比較し、同時に前記要求ア
ドレスレジスタの内容と前記複数のアドレスバッファの
それぞれとを比較するための比較回路と、前記要求受付
け回路からの前記要求番号および前記比較回路からの判
定結果を受付けて制御を実行するための制御回路とを具
備して構成したことを特徴とする転送装置。
A request acceptance circuit for controlling conflicting requests from peripheral control units to determine which peripheral control unit will accept the request and for sending a request number, a request number register for storing the request number, and a main memory. A data register for storing data under pipeline control, multiple number registers for presetting the numbers of peripheral control units that require high-speed access times, and a register for storing addresses and data. a plurality of address buffers and a plurality of data buffers, a request address register for storing address information from the peripheral control section, and a transfer unit between the peripheral control section based on the contents of the request address register. an address update circuit for incrementing the contents of the request number register and each of the plurality of number registers, and simultaneously incrementing the contents of the request address register and each of the plurality of address buffers; A transfer device comprising: a comparison circuit for comparison; and a control circuit for receiving the request number from the request reception circuit and the determination result from the comparison circuit and executing control. .
JP25607787A 1987-10-09 1987-10-09 Transfer device Pending JPH0198050A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25607787A JPH0198050A (en) 1987-10-09 1987-10-09 Transfer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25607787A JPH0198050A (en) 1987-10-09 1987-10-09 Transfer device

Publications (1)

Publication Number Publication Date
JPH0198050A true JPH0198050A (en) 1989-04-17

Family

ID=17287569

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25607787A Pending JPH0198050A (en) 1987-10-09 1987-10-09 Transfer device

Country Status (1)

Country Link
JP (1) JPH0198050A (en)

Similar Documents

Publication Publication Date Title
US6341318B1 (en) DMA data streaming
US4048623A (en) Data processing system
US6029233A (en) Circuit for moving data between remote memories and computer comprising such a circuit
US20020099881A1 (en) Method and system for data transfer
JP4531223B2 (en) Data processing apparatus having a plurality of processors sharing a collective memory
US5895496A (en) System for an method of efficiently controlling memory accesses in a multiprocessor computer system
JPH0198050A (en) Transfer device
US20080209085A1 (en) Semiconductor device and dma transfer method
JPH10116224A (en) Circuit moving data between remote memories, and computer including circuit like the same
JPS61165170A (en) Bus controlling system
JP2587586B2 (en) Data transfer method
JP2000227895A (en) Device and method for transferring image data
JP3307331B2 (en) Network file system data transfer method
JPH01315858A (en) Data transfer control method and device
JPS588336A (en) Data transferring method
JPH056333A (en) Multi-processor system
JPH04156650A (en) Method and system for controlling dma transfer
JPS6145343A (en) Swapping control system
JPH02310658A (en) Address control system
JPH04195234A (en) Data transfer system
JPS6037933B2 (en) Computer memory access method
JPS62245464A (en) Dma controller for electronic computer system
JPH04209059A (en) Semiconductor integrated circuit
JPH0477945B2 (en)
JPH04148362A (en) Dma control system