JPH01184566A - Data transfer control method - Google Patents
Data transfer control methodInfo
- Publication number
- JPH01184566A JPH01184566A JP909088A JP909088A JPH01184566A JP H01184566 A JPH01184566 A JP H01184566A JP 909088 A JP909088 A JP 909088A JP 909088 A JP909088 A JP 909088A JP H01184566 A JPH01184566 A JP H01184566A
- Authority
- JP
- Japan
- Prior art keywords
- data
- central processing
- processing unit
- transfer
- 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
Links
- 238000000034 method Methods 0.000 title claims description 14
- 230000002093 peripheral effect Effects 0.000 claims description 49
- 238000010586 diagram Methods 0.000 description 13
- TUBQDCKAWGHZPF-UHFFFAOYSA-N 1,3-benzothiazol-2-ylsulfanylmethyl thiocyanate Chemical compound C1=CC=C2SC(SCSC#N)=NC2=C1 TUBQDCKAWGHZPF-UHFFFAOYSA-N 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
Landscapes
- Information Transfer Systems (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
〔概 要〕
本発明は、中央処理装置に接続された周辺装置相互間の
データ転送を行うデータ転送制御方式メモリに周辺装置
間で直接転送を指示するアドレスをもち、転送制御部に
よって周辺装置間で高速転送を行う方式を提供すること
を目的とし、中央処理装置と、該中央処理装置にバスに
よって接続された周辺装置とからなるシステムにおいて
、前記周辺装置相互間に直接データ転送する転送制御部
を設け、前記中央処理装置のアドレス空間に前記周辺装
置がデータ転送する際のデータの転送元装置とデータの
転送先装置を組として指定するアドレスを設定したこと
を特徴とするデータ転送制御方式。[Detailed Description of the Invention] [Summary] The present invention provides a data transfer control method for transferring data between peripheral devices connected to a central processing unit. The purpose is to provide a method for performing high-speed transfer between peripheral devices using a transfer control unit, and in a system consisting of a central processing unit and peripheral devices connected to the central processing unit via a bus, A transfer control unit for direct data transfer is provided, and an address is set in the address space of the central processing unit to designate a data transfer source device and a data transfer destination device as a pair when the peripheral device transfers data. Data transfer control method.
本発明は、中央処理装置に接続された周辺装置相互間の
データ転送を1テうデータ転送制御方式に関するもので
ある−
画像を処理する場合には、連続して大量のデータを入力
装置、例えば、スキャナから読み込んで画像メモリに格
納する。The present invention relates to a data transfer control method for transferring data between peripheral devices connected to a central processing unit.When processing images, a large amount of data is continuously transferred to an input device, e.g. , read from the scanner and store in image memory.
このように大量のデータを入力装置から読み込む場合、
通常、−旦中央処理装置に読み込んで、再び目的とする
装置に転送するが、処理を高速化することが難しいため
、このような処理に適合した転送方式が要望される。When reading large amounts of data from an input device like this,
Normally, the data is first read into the central processing unit and then transferred to the target device again, but since it is difficult to speed up the processing, there is a need for a transfer method that is suitable for such processing.
第4図は、従来のシステム構成を説明する図で、中央処
理装置を介して1つの装置から目的とする装置へのデー
タ転送を説明する図である。FIG. 4 is a diagram illustrating a conventional system configuration, and is a diagram illustrating data transfer from one device to a target device via a central processing unit.
そして、第4図(a)は構成図、(b)はアドレス空間
図である。FIG. 4(a) is a configuration diagram, and FIG. 4(b) is an address space diagram.
中央処理装置1に周辺装置AとBが接続されていて、中
央処理装置1のアドレス空間11でアドレスバス2にア
ドレス、例えば、(OOOOH)を指定すると、デコー
ダ3によって周辺装置Aが指定され、データバス4を通
じてテンポラリレジスタ10にデータを読み取る。When peripheral devices A and B are connected to the central processing unit 1 and an address, for example (OOOOH), is specified on the address bus 2 in the address space 11 of the central processing unit 1, the peripheral device A is specified by the decoder 3. Data is read into the temporary register 10 via the data bus 4.
そして、次いで、アドレス(OO02H)を指定して周
辺装置Bが指定され、テンポラリレジスタ10からデー
タが周辺装置Bに転送されるゆこのように、中央処理装
置1がバスを制御して周辺装置Aからデータを取り込ん
でテンポラリレジスタ10に読み込み、また、パスシー
ケンスを発生させて周辺装置Bへ転送する。Then, the peripheral device B is specified by specifying the address (OO02H), and data is transferred from the temporary register 10 to the peripheral device B. The central processing unit 1 controls the bus and the peripheral device A Data is fetched from the memory and read into the temporary register 10, and a pass sequence is generated and transferred to the peripheral device B.
即ち、データを転送する度にパスシーケンスを発生させ
る。That is, a pass sequence is generated every time data is transferred.
あるいは、周辺装置Aか、周辺装置Bが直接相手方のア
ドレスを生成してパスシーケンスを発生させてデータ転
送する手段を備える。Alternatively, the peripheral device A or the peripheral device B is provided with means for directly generating the address of the other party, generating a path sequence, and transferring data.
〔発明が解決しようとする問題点)
この従来の前者の方式、即ち、中央処理装置を介する方
式では書き込みと、読み出しの2回のバスサイクルを必
要とし、中央処理装置に一旦読み取ったデータを格納す
るテンポラリレジスタが必要となる。[Problems to be Solved by the Invention] The former conventional method, that is, the method via the central processing unit, requires two bus cycles, one for writing and one for reading, and the data once read is stored in the central processing unit. A temporary register is required.
上記した後者の方式、即ち、中央処理装置を介さず直接
装置間の転送を行うには、転送する周辺装置の一方にD
MA (直接メモリアクセス)機能が必要で、ハードウ
ェアの増加につながる。In order to use the latter method described above, that is, to perform direct transfer between devices without going through the central processing unit, one of the peripheral devices to be transferred is
MA (direct memory access) functionality is required, leading to increased hardware.
本発明はこのような点に鑑みて創作されたものであって
、アドレス空間に周辺装置間で直接転送を指示するアド
レスをもち、転送制御部によって周辺装置間で高速転送
を行う方式を提供することを目的としている。The present invention was created in view of these points, and provides a method in which the address space has an address that directs direct transfer between peripheral devices, and a transfer control unit performs high-speed transfer between peripheral devices. The purpose is to
上記した目的を達成するため、周辺装置相互間に直接デ
ータ転送する転送制御部を設け、転送制御部がデータを
転送する転送元装置と転送先装置を組としたアドレスを
アドレス空間に設定する。In order to achieve the above object, a transfer control unit is provided to directly transfer data between peripheral devices, and the transfer control unit sets in an address space an address for a pair of a transfer source device and a transfer destination device to which data is transferred.
中央処理装置のアドレス空間には、周辺装置それぞれに
通常のアクセスを指定するアドレスと、1つの周辺装置
から他の周辺装置に転送する周辺装置とその転送方向を
指定する転送用アドレスをそれぞれ個別にアドレスとし
て設ける。The address space of the central processing unit has separate addresses for specifying normal access to each peripheral device, and transfer addresses that specify the peripheral device and the direction of transfer from one peripheral device to another. Set as an address.
そして、中央処理装置によってそれらのアドレスが指定
されると、指定されたアドレスに従って、従来のアクセ
ス方法のように中央処理装置を介して書き込み、読み出
しを行い、あるいは、転送制御部が中央処理装置の介在
なしに周辺装置間にデータを直接転送する制御を行う。Then, when those addresses are specified by the central processing unit, writing and reading are performed via the central processing unit as in the conventional access method, or the transfer control section Controls the direct transfer of data between peripheral devices without intervention.
第1図は本発明のデータ転送制御方式の一実施例を説明
する図である。−
なお、全図を通じて同一符号は同一対象物を示す。FIG. 1 is a diagram illustrating an embodiment of the data transfer control method of the present invention. − The same reference numerals indicate the same objects throughout the figures.
第1図において(a)は構成図、(b)はアドレス空間
図である。In FIG. 1, (a) is a block diagram, and (b) is an address space diagram.
伽)に示すように、中央処理装置1がアドレス空間lI
Aにはアドレス(OOOOH)(Hは1’6進表示を示
す)に周辺装置Aの通常アクセス用アドレス、(OO0
2H)に周辺装置Bの通常アクセス用アドレス、(OO
04H)に周辺装置Aから周辺装置Bへの直接転送用ア
ドレス、〔0006H)に周辺装置Aから周辺装置Bへ
の直接転送用アドレスを格納する。As shown in Figure 3), the central processing unit 1
A has the address (OOOOOH) (H indicates 1' hexadecimal notation) the normal access address of the peripheral device A, (OO0
2H) is the normal access address of peripheral device B, (OO
The address for direct transfer from peripheral device A to peripheral device B is stored in [04H), and the address for direct transfer from peripheral device A to peripheral device B is stored in [0006H].
(OOOOH)、 (0002H)番地のアクセスは
いずれも従来のアクセス方法によって中央処理装置1か
らの書き込み、あるいは読み出しを行う。(000H) and (0002H) addresses are both written or read from the central processing unit 1 using conventional access methods.
(0004H)、 (0006H)は直接転送用アド
レスであって、中央処理装置1の介在なしに転送制御部
5が周辺装置間のデータ転送を行う。(0004H) and (0006H) are direct transfer addresses, and the transfer control unit 5 transfers data between peripheral devices without the intervention of the central processing unit 1.
第2図は本発明の主要部であるデコーダと転送制御部の
構成例を示す図である。FIG. 2 is a diagram showing an example of the configuration of a decoder and a transfer control section, which are the main parts of the present invention.
アドレスを2ビツトとするアドレスがアドレスバス2を
介してデコーダ3に入力すると、デコードされて出力端
子Y0〜Y3の1つからアドレスセレクト信号が転送制
御部5に出力される。When a 2-bit address is input to the decoder 3 via the address bus 2, it is decoded and an address select signal is output from one of the output terminals Y0 to Y3 to the transfer control section 5.
この出力端子Y0〜Y3から出力されるアドレスセレク
ト信号は、Yo、Yl端子からそれぞれ周辺装置AとB
を選択する信号、Yz 、Y3端子からそれぞれ周辺装
置A−B、周辺装置B→Aの直接転送セレクト信号であ
る。Address select signals output from the output terminals Y0 to Y3 are output from the Yo and Yl terminals of peripheral devices A and B, respectively.
This is a direct transfer select signal from the Yz and Y3 terminals to peripheral devices A-B and peripheral device B→A, respectively.
このセレクト信号は通常アクセスタイミング制御回路5
1、直接転送タイミング制御回路52に入力する。This select signal is normally used by the access timing control circuit 5.
1. Input to direct transfer timing control circuit 52.
通常アクセスタイミング制御ユニット51からは、周辺
袋WAのラッチ信号(IA、括弧内はセレクタの端子名
称で以下同様)、周辺装置Aの出力イネーブル信号(2
A)、周辺装置Bのラッチ信号(3A)、周辺集貨日の
出力イネーブル信号(4A)がセレクタ53に出力する
。The normal access timing control unit 51 outputs a latch signal (IA, terminal names of the selector in parentheses; the same applies hereinafter) of the peripheral bag WA, an output enable signal (2
A), the latch signal (3A) of the peripheral device B, and the output enable signal (4A) of the peripheral collection date are output to the selector 53.
一方、直接転送タイミング制御ユニット52からは、周
辺装置Aのラッチ信号(IB)、周辺装置Aのイネーブ
ル信号(2B)、周辺装置Bのラッチ信号(3B)、周
辺装置Bのイネーブル信号(4B)が出力される。On the other hand, from the direct transfer timing control unit 52, a latch signal for peripheral device A (IB), an enable signal for peripheral device A (2B), a latch signal for peripheral device B (3B), and an enable signal for peripheral device B (4B) are sent. is output.
そして、セレクタ53の出力端子から、周辺装置Aのラ
ッチ信号(IY)、周辺装置Aのイネーブル信号(2Y
)、周辺装置Bのラッチ信号(3Y)、周辺装置Bの出
力イネーブル信号(4Y)が出力される。Then, from the output terminal of the selector 53, the peripheral device A latch signal (IY), the peripheral device A enable signal (2Y
), a latch signal (3Y) for peripheral device B, and an output enable signal (4Y) for peripheral device B are output.
即ち、デコーダ3に入力するアドレスによって転送制御
部5から周辺装置A、 Bの接続と出力制御する信号が
セレクトされて出力する。That is, depending on the address input to the decoder 3, signals for controlling the connection and output of the peripheral devices A and B are selected and output from the transfer control section 5.
チック回路54はセレクトされたアドレスからのデータ
転送が終了したことを中央処理装置1に通知するデータ
アクノリッジ信号を送出する。The tick circuit 54 sends out a data acknowledge signal to notify the central processing unit 1 that data transfer from the selected address has been completed.
第3図は本発明の他の実施例であって、(a)は構成図
、(blはアドレス空間図である。FIG. 3 shows another embodiment of the present invention, in which (a) is a block diagram and (bl is an address space diagram).
第3図の例は周辺装置としてスキャナ6と、プリンタ7
が接続されていて、イメージデータ転送用のバスがデイ
ジ−チェーンバス8で構成されているシステムである。The example in FIG. 3 uses a scanner 6 and a printer 7 as peripheral devices.
are connected to each other, and the image data transfer bus is composed of a daisy chain bus 8.
Tは第1図の構成を持つシステムで、第1図の周辺装置
A、 Bは、第3図の場合、接続される装置の入出力レ
ジスタA、Bとする。T is a system having the configuration shown in FIG. 1, and peripheral devices A and B in FIG. 1 are input/output registers A and B of connected devices in the case of FIG. 3.
イメージメモリ9からデイジ−チェーンバス8との接続
点、即ちノード2を通ってレジスタAが接続されたノー
ド1に転送され、レジスタAがそのデータを受信する。The data is transferred from the image memory 9 through the connection point with the daisy-chain bus 8, ie, the node 2, to the node 1 to which the register A is connected, and the register A receives the data.
レジスタAがデータを保持していることを中央処理装置
1に知らせ、中央処理装置1は、〔0004H〕をアク
セスしてレジスタAからレジスタBに転送してプリンタ
フに出力する。Notifying the central processing unit 1 that register A holds data, the central processing unit 1 accesses [0004H], transfers it from register A to register B, and outputs it to the printer.
スキャナ6からイメージメモリ9への転送は、スキャナ
6からレジスタBにデータが転送され、レジスタBがデ
ータを保持していることを中央処理装置llに知らせ、
中央処理装置1は(OOO6H〕をアクセスしてレジス
タBからレジスタAへデータ転送する。Transfer from the scanner 6 to the image memory 9 involves transferring data from the scanner 6 to register B, notifying the central processing unit ll that register B holds the data, and
Central processing unit 1 accesses (OOO6H) and transfers data from register B to register A.
そして、レジスタAからバス接続点ノード1、ノード2
を経由してイメージメモリ9に格納される。Then, from register A to bus connection point node 1, node 2
The image data is stored in the image memory 9 via the .
以上述べてきたように、本発明によれば、従来の中央処
理装置を介して行う装置間転送に比べ、簡単な回路を付
加することによって転送速度を向上させることができ、
工業的には極めて有用である。As described above, according to the present invention, the transfer speed can be improved by adding a simple circuit compared to the conventional transfer between devices via a central processing unit.
It is extremely useful industrially.
第1図は本発明のデータ転送制御方式の一実施例の構成
を説明する図、
第2図はデコーダと転送制御部の構成例を示す図、
第3図は本発明の他の実施例の構成を説明する図、
第4図は従来のシステムのデータ転送を説明する図であ
る。
図において、
1は中央処理装置、
5は転送制御部、
A、Bは周辺装置(レジスタ)、
11Aはアドレス空間を示す。
浮発咽め一梵雄例6設明力■
4−にiRめ馴=角突ブ屹Cりを創完ガすlフ第311
UFIG. 1 is a diagram illustrating the configuration of an embodiment of the data transfer control method of the present invention, FIG. 2 is a diagram illustrating an example configuration of a decoder and a transfer control section, and FIG. FIG. 4 is a diagram illustrating data transfer in a conventional system. In the figure, 1 is a central processing unit, 5 is a transfer control unit, A and B are peripheral devices (registers), and 11A is an address space. Floating Throat Ichiban Yu Example 6 Set Mei Riki ■ 4-IR familiarity = corner protrusion C ri to complete the creation No. 311
U
Claims (1)
よって接続された周辺装置(A、B)とからなるシステ
ムにおいて、前記周辺装置(A、B)相互間に直接デー
タ転送する転送制御部(5)を設け、前記中央処理装置
(1)のアドレス空間(11A)に前記周辺装置(A、
B)がデータ転送する際のデータの転送元装置とデータ
の転送先装置を組として指定するアドレスを設定したこ
とを特徴とするデータ転送制御方式。In a system consisting of a central processing unit (1) and peripheral devices (A, B) connected to the central processing unit (1) via a bus, data is directly transferred between the peripheral devices (A, B). A control unit (5) is provided, and the peripheral devices (A,
B) A data transfer control method characterized in that an address is set that specifies a data transfer source device and a data transfer destination device as a pair when data is transferred.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP909088A JPH01184566A (en) | 1988-01-19 | 1988-01-19 | Data transfer control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP909088A JPH01184566A (en) | 1988-01-19 | 1988-01-19 | Data transfer control method |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH01184566A true JPH01184566A (en) | 1989-07-24 |
Family
ID=11710918
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP909088A Pending JPH01184566A (en) | 1988-01-19 | 1988-01-19 | Data transfer control method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH01184566A (en) |
-
1988
- 1988-01-19 JP JP909088A patent/JPH01184566A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4835684A (en) | Microcomputer capable of transferring data from one location to another within a memory without an intermediary data bus | |
JPS62256089A (en) | Picture processor | |
US4706213A (en) | Graphic memory system for interarea transfer of X-Y coordinate data | |
JPH01184566A (en) | Data transfer control method | |
JPS61214047A (en) | Memory data transfer circuit | |
JP3057754B2 (en) | Memory circuit and distributed processing system | |
JP2642087B2 (en) | Data transfer processing mechanism between main storage devices | |
JP2821176B2 (en) | Information processing device | |
JP2581144B2 (en) | Bus control device | |
JPH03152651A (en) | information transmission system | |
JP3179891B2 (en) | Bus control method | |
JPS63173143A (en) | Memory interface circuit | |
JPS6160163A (en) | Data transfer method | |
JPH08106430A (en) | Data transfer method | |
JPS58101358A (en) | Memory control method | |
JPS63300345A (en) | Data transfer system | |
JPS61107593A (en) | magnetic bubble memory device | |
JPS62296278A (en) | Image memory control system | |
JPH02105388A (en) | Picture memory | |
JPH0424729A (en) | Image data output method | |
JPH0652516B2 (en) | Bus interface device | |
JPS5983235A (en) | Interface system between processors | |
JPS61184587A (en) | Image display controller | |
JPS6011956A (en) | Register control method | |
JPS63173141A (en) | Memory interface circuit |