JPS61120258A - Data transfer device - Google Patents
Data transfer deviceInfo
- Publication number
- JPS61120258A JPS61120258A JP24186584A JP24186584A JPS61120258A JP S61120258 A JPS61120258 A JP S61120258A JP 24186584 A JP24186584 A JP 24186584A JP 24186584 A JP24186584 A JP 24186584A JP S61120258 A JPS61120258 A JP S61120258A
- Authority
- JP
- Japan
- Prior art keywords
- data
- channel command
- command word
- held
- storage device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/10—Program control for peripheral devices
- G06F13/12—Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
- G06F13/122—Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware performs an I/O function other than control of data transfer
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は情報処理装置に用いられるデータ転送装置の改
良に関する。特に、チャンネルコマンド語にしたかって
マイクロプログラム制御とは独立して、入出力装置と主
記憶装置との間のデータ転送を行うデータ転送装置に関
する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an improvement of a data transfer device used in an information processing device. In particular, the present invention relates to a data transfer device that uses channel command words to transfer data between an input/output device and a main storage device independently of microprogram control.
従来、この種のデータ転送装置はチャンネルコマント語
を保持する記憶手段を一個のみ備え、これに保持された
チャンネルコマンド語がデータチェインをする場合には
、このチャンネルコマンド語のバイトカウントが零にな
った時点でマイクロプログラムに対する割込を発生し、
マイクロプログラムによって次に実行するべきチャンネ
ルコマンド語を与えられてからデータ転送を続行してい
た。Conventionally, this type of data transfer device has only one storage means for holding channel command words, and when the channel command words held in this storage form a data chain, the byte count of this channel command word becomes zero. At this point, an interrupt is generated to the microprogram.
Data transfer continued after being given the next channel command word to be executed by the microprogram.
従って上記マイクロプログラムが何らかの別処理を行っ
ている間は前記割込の処理が待たされ、データチェイン
によるデータ転送の再開が遅れるためにデータオーバー
ランが発生しやすい欠点があった。Therefore, while the microprogram is performing some other processing, the interrupt processing is forced to wait, and data overruns tend to occur because restart of data transfer by the data chain is delayed.
本発明は上記欠点を解決するものであり、データチェイ
ンの際のデータオーバーランの発生を減少させることを
目的とする。The present invention solves the above-mentioned drawbacks and aims to reduce the occurrence of data overruns during data chaining.
本発明は、マイクロプログラム制御手段により与え“ら
れるチャンネルコマンド語を保持する第一の記憶手段と
、この記憶手段から順に続出されるチャンネルコマンド
語にしたがって上記マイクロプログラム制御手段の制御
とは独立して、入出力装置と主記憶装置との間のデータ
転送を行う手段とを備えたデータ転送装置において、上
記第一の記憶手段の他に、上記マイクロプログラム制御
手段により与えられる次に実行されるチャンネルコマン
ド語を保持する第二の記憶手段を備え、上記第一の記憶
手段に保持されたチャンネルコマンド語がデータチェイ
ンするか否かを判定する手段と、上記第一の記憶手段に
保持されたチャンネルコマンド語のバイトカウントが零
になったことを検出する手段と、上記判定する手段によ
りデータチェインすることが判定され、上記検出する手
段によりバイトカウントが零になったことが検出された
ときに、上記第二の記憶手段に保持されたチャンネルコ
マンド語を上記第一の記憶手段に移送する手段とを備え
たことを特徴とする。The present invention provides a first storage means for holding a channel command word given by a microprogram control means, and a control of the microprogram control means independently of the first storage means for holding a channel command word given by a microprogram control means. , a data transfer device comprising means for transferring data between an input/output device and a main storage device, in addition to the first storage device, a channel to be executed next given by the microprogram control means; a channel command word held in the first storage means, comprising a second storage means for holding a command word; and a channel held in the first storage means; means for detecting that the byte count of the command word has become zero, and when it is determined by the above-mentioned means for determining that data chaining is to be performed, and when the above-mentioned detecting means has detected that the byte count has become zero, and means for transferring the channel command word held in the second storage means to the first storage means.
データ転送部の第一の記憶装置に保持されたチャンネル
コマンド語による転送が終った後に、データ転送部の第
二の記憶装置のチャンネルコマンド語を第一の記憶装置
へ移送し、次のチャンネルコマンド語による転送をマイ
クロプログラムによらず続行してデータオーバーランの
発生を少なくする。After the transfer using the channel command word held in the first storage device of the data transfer unit is completed, the channel command word in the second storage device of the data transfer unit is transferred to the first storage device, and the next channel command is transferred. To reduce the occurrence of data overruns by continuing word transfer without using a microprogram.
次に本発明のデータ転送装置について添付図面を参照し
て詳細に説明する。Next, the data transfer device of the present invention will be explained in detail with reference to the accompanying drawings.
図は本発明の実施例データ転送部を示すブロック構成図
である。マイクロプログラムから与えられるチャンネル
コマンド語を保持する第一の記憶装置2は、データ線1
3によってそのチャンネルコマンド語のバイトカウント
およびデータアドレスの更新回路3およびバイトカウン
トが零であることを検出する回路6へ接続され、上記バ
イトカウントおよびデータアドレスの更新回路3からは
データ線14、選択回路7、およびデータ線12を経て
第一の記憶装置2へ接続されている。また、データチェ
ン判定回路4は信号線15によって第一の記憶装置2と
接続される一方、信号線17によってアンド回路8へ接
続される。アンド回路8は信号線16を介して接続され
るバイトカウントが零になったことを検出する回路6の
出力と、信号線17を介して接続されるデータチェイン
判定回路4の出力との論理積をとり、信号線20を介し
て選択回路7を制御するように接続される。The figure is a block diagram showing a data transfer section according to an embodiment of the present invention. A first storage device 2 that holds channel command words given from a microprogram is connected to a data line 1.
3 to the byte count and data address update circuit 3 of the channel command word and a circuit 6 for detecting that the byte count is zero, and from the byte count and data address update circuit 3 to the data line 14, select It is connected to the first storage device 2 via a circuit 7 and a data line 12. Further, the data chain determination circuit 4 is connected to the first storage device 2 by a signal line 15, and is connected to the AND circuit 8 by a signal line 17. The AND circuit 8 performs a logical product of the output of the circuit 6 connected via the signal line 16 for detecting that the byte count becomes zero and the output of the data chain determination circuit 4 connected via the signal line 17. is connected to control the selection circuit 7 via the signal line 20.
第一の記憶装置2に保持されたチャンネルコマンド語が
データチェインをする場合に、このチャンネルコマンド
語に引き続いて実行されるチャンネルコマンド語を保持
する第二の記憶装置5にはデータ線18が入力し、出力
のデータ線19を経て選択回路7へ接続される。選択回
路7は信号線11および信号線20の制御により、デー
タ線10.14または19のいずれかのデータをデータ
線12へ出力する。When the channel command word held in the first storage device 2 forms a data chain, the data line 18 is input to the second storage device 5 which holds the channel command word to be executed following this channel command word. It is connected to the selection circuit 7 via the output data line 19. The selection circuit 7 outputs data on either the data line 10.14 or 19 to the data line 12 by controlling the signal line 11 and the signal line 20.
次に、例をあげて本発明の動作を詳細に説明する。マイ
クロプログラムはチャンネルコマンド語をフェッチする
とこのチャンネルコマンド語をデータ線10に確定゛さ
せ、信号線11によって信号線10のチャンネルコマン
ド語を第一の記憶装置2へ設定するように指示する。選
択回路7は信号線11の制御によりデータ&%10の内
容をデータ線12へ出力・し、このデータが第一の記憶
装置2へ設定される。Next, the operation of the present invention will be explained in detail using an example. When the microprogram fetches the channel command word, it commits the channel command word to the data line 10 and instructs the first storage device 2 to set the channel command word on the signal line 10 via the signal line 11. The selection circuit 7 outputs the contents of data &%10 to the data line 12 under the control of the signal line 11, and this data is set in the first storage device 2.
この第一の記憶装置2へ設定されたチャンネルコマンド
語はデータ転送の実行につれてバイトカウントおよびデ
ータアドレスの更新回路3によってハイドカウントは減
算され、またデータアドレスは加算、または減算されて
データ線14によって選択回路7へ加えられる。選択回
路7は通常はデータ線14のデータを選択しており、更
新されたチャンネルコマンド語が第一の記憶装置2へ設
定される。このようにして第一の記憶装置に保持された
バイトカウントおよびデータアドレスによりデータ転送
が実行される。As the data transfer is executed, the channel command word set in the first storage device 2 is subtracted from the hide count by the byte count and data address update circuit 3, and the data address is added or subtracted, and the data line 14 It is added to the selection circuit 7. The selection circuit 7 normally selects the data on the data line 14, and the updated channel command word is set in the first storage device 2. Data transfer is thus performed using the byte count and data address held in the first storage device.
次に、マイクロプログラムは、前記第一の記憶装置2ヘ
チャンネルコマンド語を設定した後にそのチャンネルコ
マンド語がデータチェインを行うか否かを判定し、デー
タチェインを行うチャンネルコマンド語である場合には
、次に実行されるチャンネルコマンド語をフェッチして
データ線18を介して第二の記憶装置5へ設定する。前
記第一の記憶装置2に保持されたチャンネルコマンド語
がデータチェインを行うものであると、データチェイン
判定回路4の出力信号線17は論理「1」となる。Next, after setting the channel command word in the first storage device 2, the microprogram determines whether or not the channel command word performs a data chain, and if the channel command word is a channel command word that performs a data chain. , fetches the channel command word to be executed next and sets it in the second storage device 5 via the data line 18. If the channel command word held in the first storage device 2 is one for performing a data chain, the output signal line 17 of the data chain determination circuit 4 becomes logic "1".
このチャンネルコマンド語によるデータ転送が進み、第
一の記憶装置に保持されたバイトカウントが零になった
ことを検出回路6が検出すると、この検出回路6の出力
信号線16は論理「1」となる。したがってアンド回路
8の出力は論理rlJとなり、選択回路7は信号線20
が論理「1」になったことによってデータ線19の内容
をデータ線12へ出力し、結果として第二の記憶装置5
に保持されたチャンネルコマンド語が第一の記憶装置へ
移送される。これにより、データ転送部1は第一の記憶
装置2に保持されていたチャンネルコマンド語によるデ
ータ転送が終了した後に、第二の記憶装置5に与えられ
ていたチャンネルコマンド語を使用してデータ転送を続
行する。When the data transfer based on this channel command word progresses and the detection circuit 6 detects that the byte count held in the first storage device becomes zero, the output signal line 16 of the detection circuit 6 becomes logic "1". Become. Therefore, the output of the AND circuit 8 becomes the logic rlJ, and the selection circuit 7
becomes logic "1", the contents of the data line 19 are output to the data line 12, and as a result, the second storage device 5
The channel command word held in is transferred to the first storage device. As a result, after data transfer based on the channel command word held in the first storage device 2 is completed, the data transfer unit 1 transfers data using the channel command word given to the second storage device 5. Continue.
上記実施例のデータ転送装置では、データチェイン後に
実行されるチャンネルコマンド語を保持する記憶装置は
1個であるが、これを複数個に拡張して同様に本発明を
実施することができる。In the data transfer device of the above embodiment, there is one storage device that holds the channel command word to be executed after the data chain, but this can be expanded to a plurality of storage devices to implement the present invention in the same way.
以上説明したように、本発明のデータ転送装置のデータ
転送部には、第一の記憶装置に保持されたチャンネルコ
マンド語による転送が終了した後に第二の記憶装置のチ
ャンネルコマンド語を上記第一の記憶装置へ移送するよ
うにし、次のチャンネルコマンド語による転送をマイク
ロプログラムを介することなく続行できるように構成し
たことにより、連続的に転送が行えるためデータオーバ
ーランなどの障害発生を減少することができる効果があ
る。As explained above, the data transfer unit of the data transfer device of the present invention transfers the channel command word of the second storage device to the first storage device after the transfer using the channel command word held in the first storage device is completed. By configuring the configuration so that the data is transferred to the storage device of the next channel command word and the transfer using the next channel command word can be continued without going through the microprogram, the data can be transferred continuously, thereby reducing the occurrence of failures such as data overruns. It has the effect of
図は本発明の実施例データ転送装置データ転送部を示す
ブロック構成図。
■・・・データ転送部、2・・・第一の記憶装置、3・
・・バイトカウントおよびデータアドレスの更新回路、
4・・・データチェイン判定回路、5・・・第二の記憶
装置、6・・・バイトカウントが零であることを検出す
る回路。7・・・選択回路、8・・・アンド回路、10
.12.13.14.18.19・・・データ線、1、
15.16.17.20・・・信号線。The figure is a block configuration diagram showing a data transfer section of a data transfer device according to an embodiment of the present invention. ■...Data transfer unit, 2...First storage device, 3.
・Byte count and data address update circuit,
4... Data chain determination circuit, 5... Second storage device, 6... Circuit that detects that the byte count is zero. 7... Selection circuit, 8... AND circuit, 10
.. 12.13.14.18.19...Data line, 1,
15.16.17.20...Signal line.
Claims (1)
ャンネルコマンド語を保持する第一の記憶手段と、 この記憶手段から順に読出されるチャンネルコマンド語
にしたがって上記マイクロプログラム制御手段の制御と
は独立して、入出力装置と主記憶装置との間のデータ転
送を行う手段と を備えたデータ転送装置において、 上記第一の記憶手段の他に、上記マイクロプログラム制
御手段により与えられる次に実行されるチャンネルコマ
ンド語を保持する第二の記憶手段を備え、 上記第一の記憶手段に保持されたチャンネルコマンド語
がデータチエインするか否かを判定する手段と、 上記第一の記憶手段に保持されたチャンネルコマンド語
のバイトカウントが零になったことを検出する手段と、 上記判定する手段によりデータチエインすることが判定
され、上記検出する手段によりバイトカウントが零にな
ったことが検出されたときに、上記第二の記憶手段に保
持されたチャンネルコマンド語を上記第一の記憶手段に
移送する手段とを備えたことを特徴とするデータ転送装
置。(1) A first storage means for holding a channel command word given by the microprogram control means, and an input device which is controlled independently of the microprogram control means according to the channel command words sequentially read from the storage means. In a data transfer device comprising means for transferring data between an output device and a main memory device, in addition to the first storage means, a channel command word to be executed next given by the microprogram control means is provided. means for determining whether or not the channel command word held in the first storage means is data chained; and a channel command word held in the first storage means. means for detecting that the byte count has become zero; and when the above determining means determines that data chaining is to be performed, and the detecting means detects that the byte count has become zero, the above-mentioned and means for transferring channel command words held in the second storage means to the first storage means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP24186584A JPS61120258A (en) | 1984-11-15 | 1984-11-15 | Data transfer device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP24186584A JPS61120258A (en) | 1984-11-15 | 1984-11-15 | Data transfer device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS61120258A true JPS61120258A (en) | 1986-06-07 |
JPH0460258B2 JPH0460258B2 (en) | 1992-09-25 |
Family
ID=17080671
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP24186584A Granted JPS61120258A (en) | 1984-11-15 | 1984-11-15 | Data transfer device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS61120258A (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS59148919A (en) * | 1983-02-14 | 1984-08-25 | Hitachi Ltd | Channel control system |
-
1984
- 1984-11-15 JP JP24186584A patent/JPS61120258A/en active Granted
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS59148919A (en) * | 1983-02-14 | 1984-08-25 | Hitachi Ltd | Channel control system |
Also Published As
Publication number | Publication date |
---|---|
JPH0460258B2 (en) | 1992-09-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4181938A (en) | Processor device | |
JPS61120258A (en) | Data transfer device | |
JPS62182857A (en) | Input and output controller | |
JPS61250758A (en) | Communication controller | |
JPH06161945A (en) | Memory data transfer device | |
JPS6361353A (en) | Data transfer method | |
JPS63300346A (en) | Dma control system | |
JPS60205647A (en) | Data processor | |
JPS6168665A (en) | Input/output controlling device of computer | |
JPH05189357A (en) | Method and device for data chaining control | |
JPH03108061A (en) | Vector operation system, vector arithmetic unit, and information processor | |
JPS61107593A (en) | Magnetic bubble memory device | |
JPS6380354A (en) | Data chain system | |
JPH01107295A (en) | Memory controller | |
JPH0227405A (en) | Programmable controller | |
JPH01100653A (en) | System for transferring data of i/o processor | |
JPS63301348A (en) | External memory controller | |
JPH01106249A (en) | Data transfer device | |
JPH01248264A (en) | System for controlling contention of system bus | |
JPH08161253A (en) | Dma control method and dma controller | |
JPS5920031A (en) | Data transfer device | |
JPS5837577B2 (en) | common bass | |
JPS63249243A (en) | Secondary storage information saving system | |
JPH0282342A (en) | Data communication equipment | |
JPH04175957A (en) | Data transfer device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
LAPS | Cancellation because of no payment of annual fees |