JPH07122867B2 - Data transfer controller - Google Patents

Data transfer controller

Info

Publication number
JPH07122867B2
JPH07122867B2 JP4611586A JP4611586A JPH07122867B2 JP H07122867 B2 JPH07122867 B2 JP H07122867B2 JP 4611586 A JP4611586 A JP 4611586A JP 4611586 A JP4611586 A JP 4611586A JP H07122867 B2 JPH07122867 B2 JP H07122867B2
Authority
JP
Japan
Prior art keywords
instruction
data transfer
transfer
processing
transfer amount
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.)
Expired - Lifetime
Application number
JP4611586A
Other languages
Japanese (ja)
Other versions
JPS62204364A (en
Inventor
浩 小菅
芳雄 桐生
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP4611586A priority Critical patent/JPH07122867B2/en
Publication of JPS62204364A publication Critical patent/JPS62204364A/en
Publication of JPH07122867B2 publication Critical patent/JPH07122867B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は計算機システムのデータ転送制御装置に係り、
特に計算機に接続される2つの半導体記憶装置間のデー
タ転送装置として好適なデータ転送制御装置に関する。
The present invention relates to a data transfer control device for a computer system,
In particular, the present invention relates to a data transfer control device suitable as a data transfer device between two semiconductor memory devices connected to a computer.

〔従来の技術〕[Conventional technology]

計算機システムの記憶装置間、特に半導体記憶装置間で
高速データ転送を実現する方法として特開昭59−167761
号公報に記載のように、処理装置からの命令により主記
憶装置と拡張記憶装置間で直接にデータ転送する方法が
知られている。
As a method for realizing high-speed data transfer between storage devices of a computer system, especially between semiconductor storage devices
As described in the publication, a method is known in which data is directly transferred between a main storage device and an expansion storage device by an instruction from a processing device.

これら記憶装置に対して、ディスク記憶装置等入出力装
置に対するのと同種の非同期の命令を発行しデータ転送
終了後に処理装置に入出力割込みを起こすことによって
その終了処理を行うようにすると命令の開始処理および
終了処理に時間がかかり、半導体記憶装置の高速性を十
分に生かし切れない。そこで上記公知例によると、処理
装置が高速の半導体記憶装置に対する命令を同期命令と
している。この場合処理装置が命令を発行してからデー
タ転送終了まで他の命令処理に移れないため、この期間
をできるだけ短くすることがシステム性能向上の上で重
要である。
If the same kind of asynchronous instruction as for the input / output device such as a disk storage device is issued to these storage devices and the end processing is performed by issuing an input / output interrupt to the processing device after the data transfer is completed, the start of the instruction is started. The processing and termination processing take time, and the high speed of the semiconductor memory device cannot be fully utilized. Therefore, according to the above-mentioned known example, the processing device uses a command for a high-speed semiconductor memory device as a synchronous command. In this case, since the processing device cannot move to another instruction processing from the issuance of the instruction to the end of the data transfer, it is important to shorten this period as much as possible in order to improve the system performance.

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

上記従来技術においては、複数の処理装置が2種の半導
体記憶装置を共有し、これら記憶装置間のデータ転送を
競合しながら行うようなシステムについて考慮されてい
ない。
The above-mentioned prior art does not consider a system in which a plurality of processing devices share two types of semiconductor memory devices and perform data transfer between these memory devices while competing with each other.

複数の処理装置から受けた同期命令を処理する方式とし
て、まず先着順方式が考えられる。これは複数の命令を
その受付順に処理していくものであるが、データ転送量
の大きい命令がデータ転送量の小さい命令に先着した場
合、後者の命令を発行した処理装置の待ち時間が必要以
上に長くなるという問題がある。
A first-come-first-served system can be considered as a system for processing the synchronization commands received from the plurality of processing devices. This is to process multiple instructions in the order in which they were received. If an instruction with a large amount of data transfer comes first in an instruction with a small amount of data transfer, the processing device that issued the latter instruction must wait longer than necessary. There is a problem of becoming long.

この問題を解決するために、複数命令が競合した場合に
各命令が要求するデータ転送量を特定転送量ごとに分割
して交互に処理していく方式(以下シャフル方式とよ
ぶ)が考えられる。
In order to solve this problem, a method (hereinafter referred to as a shuffle method) is conceivable in which, when a plurality of instructions compete with each other, the data transfer amount required by each command is divided into specific transfer amounts and alternately processed.

第2図(a)は2個の命令が競合したときにシャフル方
式によってデータ転送が進行していく状態を示すタイム
チャートである。命令1はn0ブロックのデータ転送量を
もち、命令2はn1(n0≦n1)ブロックのデータ転送量を
もつ。この図から明らかなように、データ転送量の小さ
な命令1のデータ転送が終了するまで(2n0−1)×単
位ブロック転送時間だけかかり、命令1を発行した処理
装置にとって待ち時間が小さいとはいえない。
FIG. 2A is a time chart showing a state in which data transfer proceeds by the shuffle method when two instructions compete with each other. Instruction 1 has a data transfer amount of n 0 blocks, and instruction 2 has a data transfer amount of n 1 (n 0 ≤n 1 ) blocks. As is clear from this figure, it takes (2n 0 −1) × unit block transfer time until the data transfer of the instruction 1 having a small data transfer amount is completed, and the waiting time is small for the processor issuing the instruction 1. I can't say.

本発明の目的は、複数の処理装置から発行された同期命
令が競合した場合に処理装置の待ち時間を最小にするよ
うなデータ転送制御装置を提供することにある。
It is an object of the present invention to provide a data transfer control device that minimizes the waiting time of a processing device when synchronization commands issued from a plurality of processing devices compete with each other.

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

上記目的は、複数の処理装置からの同期命令が競合した
場合に、データ転送時間を予測し、データ転送時間予測
値の小さい命令を優先して処理することにより達成され
る。
The above object is achieved by predicting the data transfer time and preferentially processing an instruction having a small predicted value of the data transfer time when synchronization commands from a plurality of processing devices compete with each other.

データ転送時間予測値としては、例えば、データ転送量
を用いることができる。
As the data transfer time prediction value, for example, the data transfer amount can be used.

〔作用〕[Action]

データ転送量の小さい命令を優先して処理するようなデ
ータ転送制御装置を実現することにより処理装置の待ち
時間が最小になる。第2図(b)は本発明の方式を採用
したときのタイムチャートであり、データ転送量の小さ
な命令1のデータ転送が終了するまでn0×単位ブロック
転送時間しかかからないことを示している。
By implementing a data transfer control device that preferentially processes an instruction with a small data transfer amount, the waiting time of the processing device is minimized. FIG. 2B is a time chart when the method of the present invention is adopted, and shows that it takes only n 0 × unit block transfer time until the data transfer of the instruction 1 having a small data transfer amount is completed.

〔実施例〕〔Example〕

以下本発明の一実施例を第1図および第3図により説明
する。
An embodiment of the present invention will be described below with reference to FIGS. 1 and 3.

第1図は本実施例の全体構成を示す構成図であり、n台
の処理装置に対し処理装置対応に命令受付部11ないし1n
が設けられている。各命令受付部は互いに独立に動作
し、対応する処理装置からの命令に応じて転送方向,転
送元アドレス,転送先アドレス,データ転送量などを準
備し、準備が完了すると命令選択部20に報告する。命令
選択部20では準備完了状態にある命令のうちデータ転送
量の小さい命令を優先して選択し、命令処理部30に対し
て該命令処理の起動をかける。命令処理部30は実際にデ
ータ転送を司る部分であり、命令選択部20で選択された
命令にしたがい転送元装置A(またはB)に対し指定ア
ドレスのデータ読出しを要求し、転送先装置B(または
A)に対し該読出しデータの書込みを要求する。
FIG. 1 is a configuration diagram showing the overall configuration of the present embodiment. The command receiving units 11 to 1n are provided corresponding to the processing devices with respect to n processing devices.
Is provided. Each instruction receiving unit operates independently of each other, prepares a transfer direction, a transfer source address, a transfer destination address, a data transfer amount, etc. according to an instruction from a corresponding processing device, and reports to the instruction selecting unit 20 when the preparation is completed. To do. The instruction selection unit 20 preferentially selects an instruction with a small data transfer amount among the instructions in the ready state, and activates the instruction processing unit 30 for the instruction processing. The instruction processing unit 30 is a unit that actually controls data transfer. The instruction processing unit 30 requests the source device A (or B) to read data at a designated address according to the instruction selected by the instruction selection unit 20, and transfers the destination device B ( Alternatively, it requests A) to write the read data.

第3図は本実施例のより詳細なブロック図である。命令
受付部11ないし1nは、それぞれ対応する処理装置から転
送方向,装置Aの転送開始アドレス,装置Bの転送開始
アドレス,転送量より成る命令を受取る。簡単のため、
データ転送量は命令処理部30の転送処理単位であるブロ
ック単位に指示されるものとする。
FIG. 3 is a more detailed block diagram of this embodiment. The instruction receiving units 11 to 1n receive an instruction including a transfer direction, a transfer start address of the device A, a transfer start address of the device B, and a transfer amount from the corresponding processing devices. For simplicity,
It is assumed that the data transfer amount is instructed in a block unit which is a transfer processing unit of the instruction processing unit 30.

命令受付部11ないし1nは、対応する処理装置から上記形
式で命令を受けると、各命令成分をそれぞれ方向レジス
タ111ないし1n1,Aアドレスレジスタ112ないし1n2,Bアド
レスレジスタ113ないし1n3,転送量レジスタ114ないし1n
4にセットし、線1151ないし1n51を介して命令選択部20
に準備完了状態にあることを報告する。また命令受付部
11ないし1nは、命令選択部20より線2071ないし207nを介
してブロック単位の受理報告を受けると、Aアドレスレ
ジスタ112ないし1n2およびBアドレスレジスタ113ない
し1n3の内容を1ブロック分増加させ、転送量レジスタ1
14ないし1n4の内容を1減じる。この結果、転送量レジ
スタ114ないし1n4の内容が0になると、命令受付部11な
いし1nは準備完了状態を解除するとともに対応する処理
装置に対して命令処理完了を報告する。
When the instruction accepting units 11 to 1n receive an instruction from the corresponding processing device in the above format, the instruction receiving units 11 to 1n1, A address registers 112 to 1n2, B address registers 113 to 1n3, and transfer amount registers 114 respectively. Through 1n
4 and set the instruction selection unit 20 via lines 1151 to 1n51.
Report to the ready state. Also the command reception section
When receiving the block-by-block acceptance report from the instruction selecting unit 20 through the lines 2071 to 207n, the 11 to 1n increment the contents of the A address register 112 to 1n2 and the B address register 113 to 1n3 by one block, and transfer amount. Register 1
Decrement the contents of 14 to 1n4 by 1. As a result, when the contents of the transfer amount registers 114 to 1n4 become 0, the instruction receiving units 11 to 1n release the ready state and report the instruction processing completion to the corresponding processing device.

命令処理部30は、命令選択部20より線2083を介してブロ
ック転送開始指令を受けると、線2041を介して送られる
選択された命令についての転送方向,装置Aの転送開始
アドレス,装置Bの転送開始アドレスをそれぞれ方向レ
ジスタ301,Aアドレスレジスタ302,Bアドレスレジスタ30
3にセットし、転送処理を開始する。たとえば転送方向
が装置Aから装置Bの場合、まず装置Aに対してAアド
レスレジスタ302の内容を先頭アドレスとして読出しリ
クエストを1ブロック分発行する。次に装置Aより読出
しデータが送られてくると、装置Bに対してBアドレス
レジスタ303の内容を先頭アドレスとして書込みリクエ
ストを1ブロック分発行する。転送処理が終了すると、
命令選択部20に対して、線3041を介してブロック転送終
了を報告する。
When the instruction processing unit 30 receives a block transfer start command from the instruction selecting unit 20 via the line 2083, the transfer direction, the transfer start address of the device A, and the transfer start address of the device B for the selected command sent via the line 2041. The transfer start address is set to the direction register 301, the A address register 302, and the B address register 30, respectively.
Set to 3 and start the transfer process. For example, when the transfer direction is from device A to device B, a read request for one block is first issued to device A with the contents of the A address register 302 as the start address. Next, when the read data is sent from the device A, a write request for one block is issued to the device B with the contents of the B address register 303 as the head address. When the transfer process is completed,
It reports to the instruction selector 20 via block 3041 that the block transfer is complete.

次に本発明のデータ転送制御装置に特徴的な命令選択部
20の構成について説明する。線1141ないし1n41を介して
送られてくる各命令の転送量は、それぞれ加算回路2011
ないし201nにより、後述する条件に応じてαだけ加算さ
れ、比較回路202に入力される。比較回路202は、線1151
ないし1n51を介して各命令が準備完了状態にあるか否か
判別し、準備完了状態の命令の上記必要に応じて加算さ
れた転送量を比較し、それが最小の命令を選びその命令
番号(1ないしn)を出力する。比較回路202より出力
された命令番号は制御回路208の制御の下に命令番号レ
ジスタ203にセットされる。セレクタ204は、線1111ない
し1n11を介して送られてくる各命令の転送方向,装置A
アドレスおよび装置Bアドレスの中から命令番号レジス
タ203で指示される命令の転送方向,装置Aアドレスお
よび装置Bアドレスを選択し、線2041を介して命令処理
部30に送達する。オアゲート206は線1151ないし1n51の
論理和をとり、いずれかの命令が準備完了状態にあるこ
とを制御回路208に通知する。デマルチプレクサ207は、
制御回路208からの受理報告を選択された命令受付部ま
で送達するため線2071ないし207nの中から命令番号レジ
スタ203の指示する線を1本選び、選択された線と線208
4を接続する。デコーダ205は加算回路2011ないし201nに
対し線2051ないし205nを介して加算指示する。この加算
指示は制御回路208が以下に説明する“動作中状態”の
とき命令番号レジスタ203で指示された以外の命令に対
して発せられる。加算回路2011ないし201nおよびデコー
ダ205は、命令選択部20が処理中の命令からまだ未処理
の別の命令に切り替えるときの命令切替オーバヘッド分
をブロック転送量に換算して選択されていない命令の転
送量に加えるためのものであり、加算値αはたとえば下
記関係を満たすように選んでよい。
Next, an instruction selection unit characteristic of the data transfer control device of the present invention
The configuration of 20 will be described. The transfer amount of each instruction sent via the lines 1141 to 1n41 is calculated by the addition circuit 2011.
Through 201n, α is added according to the condition described later, and the result is input to the comparison circuit 202. Comparing circuit 202 is line 1151
Through 1n51 to determine whether or not each instruction is in the ready state, compare the transfer amount added as necessary for the instruction in the ready state, and select the instruction with the smallest number 1 to n) are output. The instruction number output from the comparison circuit 202 is set in the instruction number register 203 under the control of the control circuit 208. The selector 204 determines the transfer direction of each command sent via the lines 1111 to 1n11 and the device A.
The transfer direction of the instruction designated by the instruction number register 203, the device A address, and the device B address are selected from the address and the device B address, and are delivered to the instruction processing unit 30 via the line 2041. OR gate 206 ORs lines 1151 through 1n51 to notify control circuit 208 that any of the instructions are in a ready state. The demultiplexer 207 is
One line designated by the instruction number register 203 is selected from the lines 2071 to 207n in order to deliver the acceptance report from the control circuit 208 to the selected instruction reception unit, and the selected line and the line 208 are selected.
Connect 4 The decoder 205 instructs addition circuits 2011 to 201n to perform addition via lines 2051 to 205n. This addition instruction is issued to an instruction other than the instruction given by the instruction number register 203 when the control circuit 208 is in the "operating state" described below. The adder circuits 2011 to 201n and the decoder 205 convert the instruction switching overhead when the instruction selecting unit 20 switches from the instruction being processed to another instruction which has not been processed to the block transfer amount and transfer the instruction not selected. It is added to the quantity, and the addition value α may be selected so as to satisfy the following relationship.

αブロック転送時間≒命令切替オーバヘッド時間 従って命令切替オーバーヘッド時間が1ブロック転送時
間に比べて小さいときには加算回路2011,201nおよびデ
コーダ205が不要である。
α block transfer time≈instruction switching overhead time Therefore, when the instruction switching overhead time is smaller than the one block transfer time, the adder circuits 2011 and 201n and the decoder 205 are not necessary.

制御回路208は、“動作中”および“非動作”の2状態
を有し、以下の如く動作する。
The control circuit 208 has two states, "in operation" and "non-operation", and operates as follows.

(i) “非動作状態”のとき、オアゲート206を介し
いずれかの命令が準備完了状態になったことを知ると、
線2082を介して命令番号レジスタ203をセットするよう
指示し、線2083を介してブロック転送開始指令を発行
し、線2084を介して受理報告を発行して“動作中状態”
に移行する。
(I) In the "non-operation state", when it is found that any instruction is in the ready state via the OR gate 206,
Instructing to set the instruction number register 203 via line 2082, issuing a block transfer start command via line 2083, issuing an acceptance report via line 2084, and issuing an "in operation" state.
Move to.

(ii) “動作中状態”でかついずれかの命令が準備完
了状態であるとき、命令処理部30よりブロック転送終了
報告を受けると命令番号レジスタ203のセット指示,ブ
ロック転送開始指令および受理報告を発行し、“動作中
状態”にとどまる。この状態のとき制御回路208は線208
1を介してデコーダ205に対して加算指示を行う。
(Ii) When a block transfer end report is received from the instruction processing unit 30 in the "operating state" and any instruction is in the ready state, a set instruction of the instruction number register 203, a block transfer start command, and an acceptance report are issued. Issued and stay in "active" state. In this state, the control circuit 208 is line 208
The addition instruction is given to the decoder 205 via 1.

(iii) “動作中状態”でかついずれの命令も準備完
了状態にないとき、命令処理部30よりブロック転送終了
報告を受けると、“非動作状態”に移行する。
(Iii) When a block transfer completion report is received from the instruction processing unit 30 in the "operating state" and none of the instructions is in the ready state, the "non-operating state" is entered.

次に命令選択部20の動作例を示す。以下の動作例におい
ては、加算値αをすべて1と仮定する。
Next, an operation example of the instruction selection unit 20 will be shown. In the following operation example, it is assumed that the added value α is all 1.

(a)動作例1“非動作状態”時に命令受付部11に転送
量2の命令が到着した場合。
(A) Operation example 1 In the case where an instruction with a transfer amount of 2 arrives at the instruction receiving unit 11 in the “non-operating state”.

線1151が準備完了状態を報告すると、制御回路208は命
令番号レジスタ203をセットするよう指示するが、準備
完了状態にあるのは命令1だけなので命令番号1がセッ
トされ、セレクタ204は線1111を選択する。続いて制御
回路208は線2083を介して命令処理部30のブロック転送
処理を起動する一方、線2084,デマルチプレクサ207およ
び線2071を介して命令受付部11に受理報告を行い、“動
作中状態”に移行する。受理報告を受けた命令受付部11
は、アドレスレジスタ112,113を1ブロック分増加さ
せ、転送量レジスタ114を1減じて1とする。この状態
で命令処理部30よりブロック転送終了報告が来ると、上
記と同様に命令番号レジスタ203に1が再セットされ、
線2083を介して命令処理部30にブロック転送開始指令が
発行され、命令受付部11に受理報告が行なわれる。命令
受付部11は、転送量レジスタ114を1減じ0とし、線115
1上の準備完了状態を解除するとともに処理装置1に対
し命令処理終了を報告する。この状態で線3041を介して
命令処理部30からブロック転送終了報告が来ると、いず
れの命令も準備完了状態にないので制御回路208は“非
動作状態”となる。
When line 1151 reports the ready state, control circuit 208 directs to set instruction number register 203, but only instruction 1 is in the ready state, so instruction number 1 is set and selector 204 places line 1111. select. Subsequently, the control circuit 208 activates the block transfer processing of the instruction processing unit 30 via the line 2083, while making an acceptance report to the instruction receiving unit 11 via the line 2084, the demultiplexer 207, and the line 2071, and the “operating state”. "Transition to". Order acceptance section 11 that received the acceptance report
Causes the address registers 112 and 113 to increase by one block, and the transfer amount register 114 to decrease by 1 to be 1. When a block transfer completion report comes from the instruction processing unit 30 in this state, 1 is reset in the instruction number register 203 in the same manner as above,
A block transfer start command is issued to the instruction processing unit 30 via the line 2083, and an acceptance report is sent to the instruction receiving unit 11. The instruction receiving unit 11 subtracts 1 from the transfer amount register 114 to 0, and the line 115
The ready state on 1 is released and the instruction processing end is reported to the processor 1. In this state, when a block transfer end report is received from the instruction processing unit 30 via the line 3041, none of the instructions is in the ready state, so the control circuit 208 is in the “non-operating state”.

(b)動作例2“非動作状態”時に命令受付部11に転送
量2の命令が、命令受付部12に転送量3の命令が同時に
到着した場合。“非動作状態”であるのでデコーダ205
はいずれの加算回路に対しても加算指示を出さない。し
たがって比較回路202は転送量2と3を比較しより小さ
い転送量2の命令番号1を出力する。この結果、制御回
路208の制御の下に命令1が選択され、処理され、受理
報告されて命令1,2の転送量レジスタ114,124中の値はそ
れぞれ1,3に変わる。この状態でブロック転送終了報告
が来ると、今度は“動作中状態”となっているので命令
1の加算回路2011以外の加算回路に加算指示が出され、
比較回路202は転送量1と4(=3+1)を比較するこ
とになる。この結果、再び命令1が選択され、処理さ
れ、受理報告されて命令1は処理終了となる。以後は命
令2の単独処理となり、動作例1と同様の動作となる。
(B) Operation example 2 In the "non-operating state", a command of transfer amount 2 arrives at the command receiving unit 11 and a command of transfer amount 3 simultaneously arrives at the command receiving unit 12. Since it is in the "non-operation state", the decoder 205
Does not issue an addition instruction to any of the addition circuits. Therefore, the comparison circuit 202 compares the transfer amounts 2 and 3 and outputs the instruction number 1 having a smaller transfer amount 2. As a result, under the control of the control circuit 208, the instruction 1 is selected, processed, accepted and reported, and the values in the transfer amount registers 114 and 124 of the instructions 1 and 2 change to 1 and 3, respectively. When the block transfer completion report comes in this state, since it is in the “operating state” this time, an addition instruction is issued to an addition circuit other than the addition circuit 2011 of the instruction 1,
The comparison circuit 202 compares the transfer amounts 1 and 4 (= 3 + 1). As a result, the instruction 1 is again selected, processed, accepted and reported, and the processing of the instruction 1 ends. After that, the instruction 2 is independently processed, and the operation is the same as the operation example 1.

(c)動作例3命令1の処理中(残転送量3)に命令受
付部12に転送量1の命令が到着した場合。
(C) Operation example 3 When an instruction with a transfer amount of 1 arrives at the instruction receiving unit 12 during processing of the instruction 1 (remaining transfer amount of 3).

ブロック転送終了報告が来たとき、“動作中状態”であ
るので、命令1以外の加算回路に対して加算指示が出さ
れ、比較回路202は、転送量3と2(=1+1)を比較
することになる。この結果、今度は命令2が選択され、
処理され、受理報告されて命令2は処理終了となる。以
後は再び命令1の単独処理となり、動作例1と同様の動
作となる。
When the block transfer completion report is received, since it is in the "operating state", the addition instruction is issued to the addition circuits other than the instruction 1, and the comparison circuit 202 compares the transfer amounts 3 and 2 (= 1 + 1). It will be. As a result, command 2 is selected this time,
After the processing, the acceptance is reported, and the instruction 2 ends. After that, the single processing of the instruction 1 is performed again, and the same operation as the operation example 1 is performed.

なお同時に3個以上の命令が競合する場合についても、
上記と同様の動作となる。また2つ以上の命令の転送量
が同一のとき、比較回路202は命令番号の若いものを選
択する。
If three or more instructions compete at the same time,
The operation is similar to the above. Further, when the transfer amounts of two or more instructions are the same, the comparison circuit 202 selects the instruction with the smallest instruction number.

このように本実施例によれば、転送量の小さい命令を優
先して処理できるので、処理装置の待ち時間を最小にで
きる。また本実施例によれば、処理命令の切替オーバヘ
ッドがある場合にも対処可能である。
As described above, according to this embodiment, the instruction having a small transfer amount can be preferentially processed, so that the waiting time of the processing device can be minimized. Further, according to this embodiment, it is possible to deal with the case where there is a processing command switching overhead.

なお上記実施例ではデータ転送量を1ブロック単位で比
較する場合について説明したが、データ転送量にある幅
をもたせ小転送から大転送までの複数のランクを設け、
このランク間で小転送を優先するように制御して処理を
簡素化することも容易に可能である。たとえば第3図に
示す比較回路202において、データ転送量の下位3ビッ
トを無視して8ブロック単位で比較するようにすれば、
8ブロックごとのランク間で小転送を優先させることが
できる。
In the above embodiment, the case where the data transfer amount is compared on a block-by-block basis has been described, but a plurality of ranks from small transfer to large transfer are provided by providing a certain amount of data transfer amount.
It is also possible to easily control the processing by giving priority to the small transfer between the ranks. For example, in the comparison circuit 202 shown in FIG. 3, if the lower 3 bits of the data transfer amount are ignored and the comparison is performed in units of 8 blocks,
Small transfer can be prioritized among ranks of every 8 blocks.

〔発明の効果〕〔The invention's effect〕

本発明によれば、複数の命令が競合した場合データ転送
量の小さい命令順に処理できるので、処理装置の待ち時
間を最小にできる。
According to the present invention, when a plurality of instructions compete with each other, the processing can be performed in the order of the instruction having the smallest data transfer amount, so that the waiting time of the processing device can be minimized.

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

第1図は本発明の一実施例の全体構成を示す構成図、第
2図(a)はシャフル方式による処理タイムチャート、
第2図(b)は本発明による処理タイムチャート、第3
図は本発明の一実施例の詳細ブロック図である。 11,1n……命令受付部、20……命令選択部、30……命令
処理部、114,1n4……転送量レジスタ、2011,201n……加
算回路、202……比較回路、203……命令番号レジスタ、
204……セレクタ。
FIG. 1 is a configuration diagram showing an overall configuration of an embodiment of the present invention, FIG. 2 (a) is a processing time chart by a shuffle system,
FIG. 2 (b) is a processing time chart according to the present invention, and FIG.
The figure is a detailed block diagram of one embodiment of the present invention. 11,1n …… Instruction receiving section, 20 …… Instruction selection section, 30 …… Instruction processing section, 114,1n4 …… Transfer amount register, 2011,201n …… Adding circuit, 202 …… Comparison circuit, 203 …… Instruction Number register,
204 …… Selector.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】複数の処理装置からの命令に基づいて該複
数の処理装置が共有する2つの半導体記憶装置のデータ
転送を司るデータ転送制御装置において、 該複数の処理装置からの同期命令を受け付けて各々が保
持する複数の命令受付手段と、命令毎に指定されるデー
タ転送量を該複数の命令受付手段から入力し、データ転
送量が小さい命令を優先して選択し、次に処理すべき命
令として指定する命令選択手段と、該命令選択手段によ
り指定された命令に基づき前記2つの半導体記憶装置間
のデータ転送を実行する命令処理手段とを有することを
特徴とするデータ転送制御装置。
1. A data transfer control device that controls data transfer between two semiconductor memory devices shared by a plurality of processing devices based on commands from the plurality of processing devices, and receives a synchronization command from the plurality of processing devices. A plurality of instruction receiving means held by each of them and a data transfer amount designated for each instruction are input from the plurality of instruction receiving means, and an instruction with a small data transfer amount is preferentially selected and then processed. A data transfer control device comprising: an instruction selecting unit that is designated as an instruction; and an instruction processing unit that executes data transfer between the two semiconductor memory devices based on the instruction designated by the instruction selecting unit.
【請求項2】前記命令処理手段は所定転送処理単位ずつ
データ転送を行なうものであって、前記命令選択手段は
実行中の命令を保持する命令受付手段からのデータ転送
量を該所定転送処理単位の転送が終了する毎に減少させ
ることを特徴とする特許請求の範囲第1項記載のデータ
転送制御装置。
2. The instruction processing means transfers data in units of a predetermined transfer processing unit, and the instruction selecting means sets a data transfer amount from an instruction receiving means for holding an instruction being executed in the predetermined transfer processing unit. The data transfer control device according to claim 1, wherein the data transfer control device is decreased each time the transfer of data is completed.
JP4611586A 1986-03-05 1986-03-05 Data transfer controller Expired - Lifetime JPH07122867B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4611586A JPH07122867B2 (en) 1986-03-05 1986-03-05 Data transfer controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4611586A JPH07122867B2 (en) 1986-03-05 1986-03-05 Data transfer controller

Publications (2)

Publication Number Publication Date
JPS62204364A JPS62204364A (en) 1987-09-09
JPH07122867B2 true JPH07122867B2 (en) 1995-12-25

Family

ID=12737999

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4611586A Expired - Lifetime JPH07122867B2 (en) 1986-03-05 1986-03-05 Data transfer controller

Country Status (1)

Country Link
JP (1) JPH07122867B2 (en)

Also Published As

Publication number Publication date
JPS62204364A (en) 1987-09-09

Similar Documents

Publication Publication Date Title
JP5040050B2 (en) Multi-channel DMA controller and processor system
JPH07122867B2 (en) Data transfer controller
JP2643931B2 (en) Information processing device
JP2000227895A (en) Device and method for transferring image data
JP3317150B2 (en) Information processing device
JPH09218859A (en) Multiprocessor control system
JPH06214942A (en) Priority change control system
JP3505551B2 (en) Data transfer control device and data transfer control system
JPH06338799A (en) A/d conversion system
JPH0317143B2 (en)
JP2000172629A (en) Method and device for transfer data
JPS60116246A (en) Data transfer control system
JPS61166670A (en) Bus switching system for service processor
JPS59225426A (en) Input/output controller
JP2000067008A (en) Multi-processor system
JPH01206446A (en) Common bus control system
JPH0650494B2 (en) Data transfer method in I / O controller
JPH05120215A (en) Input/output controller
JPH04304547A (en) Data transferring system
JPH06131292A (en) Data transfer system
JPH09305528A (en) Dma controller
JPH0754497B2 (en) Shared I / O device control method
JPS63296155A (en) Peripheral control unit
JPH0683764A (en) Interface system between cpu and bus control circuit
JPH0447345B2 (en)