JPH0635834A - Channel device - Google Patents

Channel device

Info

Publication number
JPH0635834A
JPH0635834A JP19353592A JP19353592A JPH0635834A JP H0635834 A JPH0635834 A JP H0635834A JP 19353592 A JP19353592 A JP 19353592A JP 19353592 A JP19353592 A JP 19353592A JP H0635834 A JPH0635834 A JP H0635834A
Authority
JP
Japan
Prior art keywords
data
transfer
flop
flip
overrun
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.)
Withdrawn
Application number
JP19353592A
Other languages
Japanese (ja)
Inventor
Yoshiro Kamata
好郎 鎌田
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 JP19353592A priority Critical patent/JPH0635834A/en
Publication of JPH0635834A publication Critical patent/JPH0635834A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To prevent the occurrence of the overrun of data and also to prevent the overrun processing of software from affecting a system in regard to the data transfer control of a channel device. CONSTITUTION:An interruption restart validating flip-flop 37 is provided to validate the restart of the interrupted transfer of data of an I/O interface together with a comparator 32 which instructs of the start of the transfer of data, a comparator 31 which detects the advanced overrun of data, a flip-flop 39 which carries up the data transfer request priority, and an AND circuit 40 which temporarily suppresses the transfer of data of the I/O interface. In such a constitution, the temporary interruption of transfer of data can be restarted and the overrun of data is never caused. Furthermore, the transfer of data can be carried on with no retrial of an I/O instruction carried out by a peripheral controller and with no overrun processing carried out by software.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はチャネル装置、特に電子
ディスクや磁気ディスク等との間での高速データ転送を
行うチャネル装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a channel device, and more particularly to a channel device for performing high speed data transfer with an electronic disk, a magnetic disk or the like.

【0002】[0002]

【従来の技術】従来、この種の高速データ転送を制御す
るチャネル装置は、データ転送を行うに辺り、周辺処理
装置にデータを規定時間内に転送することを意識し、一
定時間内にデータが転送されない場合は、データが正し
くとどかなかったかあるいは受けとられなかった(デー
タオーバラン)として、データオーバランの処理をしな
ければならなかった。オーバラン処理とはソフトウェア
が介在して、現在実行中のチャネルプログラムの最初か
ら処理を再開するかあるいは実行中のコマンドの最初か
ら実行を再開する様になっていた。
2. Description of the Related Art Conventionally, a channel device for controlling high-speed data transfer of this type is aware that data is transferred to a peripheral processing device within a prescribed time period, and data is transferred within a predetermined time period. If the data was not transferred, it was determined that the data did not arrive correctly or was not received (data overrun), and the data overrun had to be processed. The overrun process is mediated by software so that the process is restarted from the beginning of the channel program currently being executed, or the execution is restarted from the beginning of the command being executed.

【0003】[0003]

【発明が解決しようとする課題】上述した従来のチャネ
ル装置では、データオーバランが発生すると、データオ
ーバラン発生回数分だけオーバラン処理をしなければな
らず、ソフトウェアに対する負荷が増えるだけでなく、
データ転送処理全体の性能も落とすという問題点があっ
た。特に、近年、ディスク制御装置に大容量のキャッシ
ュを設けたり、電子ディスクの様に回転及びメカ(機
械)を伴わない大容量・高速の転送が急増してきてくる
と、データオーバランによるオーバラン処理がシステム
に及ぼす影響が大きくなる。
In the above-described conventional channel device, when a data overrun occurs, the overrun process must be performed by the number of data overrun occurrences, which not only increases the load on software, but also
There is a problem that the performance of the entire data transfer process is also reduced. Particularly, in recent years, when a large-capacity cache is installed in a disk control device or large-capacity / high-speed transfer that does not involve rotation and mechanical (mechanical) like electronic disks is rapidly increasing, overrun processing due to data overrun is performed in the system. Will have a greater effect on.

【0004】[0004]

【課題を解決するための手段】本発明の装置は、主記憶
装置と周辺装置との間の高速データ転送をチャネル装置
からの要求によりチャネル装置の優先順位に従い制御す
るデータ処理装置におけるチャネル装置において、I/
Oインタフェースのデータ転送の中断再開を有効にする
中断再開有効フリップフロップと、データバッファの有
効データが所定のnバイトになったことを検出しデータ
転送の開始を指示する手段と、所定のmバイトになった
時にセットされ、前記バイトになった時リセットされる
先行データオーバランフリップフロップと、前記オーバ
ランフリップフロップがセットされている間チャネルか
らの要求優先順位を上げる手段と、I/Oインタフェー
スの転送を一時抑止する手段を設けたことを特徴とす
る。
The device of the present invention is a channel device in a data processing device for controlling high-speed data transfer between a main memory device and a peripheral device in accordance with a priority of the channel device according to a request from the channel device. , I /
A suspend / resume enable flip-flop that enables suspend / resume of the O interface data transfer, a means for detecting that valid data in the data buffer has reached a predetermined n byte, and instructing the start of data transfer, and a predetermined m byte. When the overrun flip-flop is set, the preceding data overrun flip-flop that is set when the overrun flip-flop is set, means for raising the request priority from the channel while the overrun flip-flop is set, and the transfer of the I / O interface Is provided with a means for temporarily suppressing.

【0005】[0005]

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.

【0006】図1は本発明の第1の実施例を示すチャネ
ル装置の構成を示した図である。本チャネル装置はチャ
ネル制御部20,バッファ制御部21,データバッファ
22、転送制御部23、I/Oインタフェース制御部2
4、6つのレジスタ25、26,27,28,29,3
3,34、3つのセレクタ27,30,41、2つの比
較回路31,32、ドライバー36、レシーバー35、
中断再開有効プリップフロップ37、INPUT/OU
TPUT指示フラグ38、フリップフロップ39、AN
D回路40で構成される。
FIG. 1 is a diagram showing the configuration of a channel device showing a first embodiment of the present invention. This channel device includes a channel controller 20, a buffer controller 21, a data buffer 22, a transfer controller 23, and an I / O interface controller 2.
4, 6 registers 25, 26, 27, 28, 29, 3
3, 34, three selectors 27, 30, 41, two comparison circuits 31, 32, a driver 36, a receiver 35,
Suspend / Resume Effective Plip-Flop 37, INPUT / OU
TPUT instruction flag 38, flip-flop 39, AN
The D circuit 40 is used.

【0007】そして、転送制御装置2(図4に示す)と
は5つの信号線50,51,52,53,81を通して
接続され、周辺制御装置6(図4に示す)とは信号線6
ての73,76,77,82,84,85を通して接続
されている。又チャネル装置内は信号線54,55,5
6,57,58,59,60,61,62,63,6
4,65,66,67,68,69,70,71,7
2,74,75,78,79,80により接続され、各
制御部間で情報を与えながらデータ転送を行なってい
る。なお、以上の信号線は説明上、信号と記す場合があ
る。
The transfer control device 2 (shown in FIG. 4) is connected through five signal lines 50, 51, 52, 53 and 81, and the peripheral control device 6 (shown in FIG. 4) is connected to the signal line 6.
Are connected through all 73, 76, 77, 82, 84, 85. In the channel device, signal lines 54, 55, 5
6,57,58,59,60,61,62,63,6
4,65,66,67,68,69,70,71,7
2, 74, 75, 78, 79, 80 are connected, and data transfer is performed while giving information between the respective control units. Note that the above signal lines may be referred to as signals for the sake of description.

【0008】図4は本発明が適用される情報処理システ
ムの構成を示した図であり、転送制御装置2は、システ
ム制御装置1と信号線10により接続されている。シス
テム制御装置1は、主記憶装置4とは信号線11、演算
制御装置3とは信号線15により接続されている。又転
送制御装置2はチャネル装置51 ,52 ……5n-1 ,5
n とは信号線121 ,122 ……12n-1 ,12n と接
続され、チャネル装置51 は周辺制御装置6と、信号線
13を介して接続され、主記憶装置4との間のデータの
授受を行なっている。周辺制御装置6は信号線14を介
して周辺装置7た接続されている。
FIG. 4 is a diagram showing the configuration of an information processing system to which the present invention is applied. The transfer control device 2 is connected to the system control device 1 by a signal line 10. The system control device 1 is connected to the main storage device 4 via a signal line 11 and to the arithmetic and control unit 3 via a signal line 15. Further, the transfer control device 2 includes channel devices 5 1 , 5 2 ... 5 n-1 , 5
n is connected to the signal lines 12 1 , 12 2 ... 12 n-1 , 12 n , the channel device 5 1 is connected to the peripheral controller 6 via the signal line 13, and is connected to the main storage device 4. The data of is exchanged. The peripheral control device 6 is connected to the peripheral device 7 via a signal line 14.

【0009】さて、中断再開有効フリップフロップ37
とチャネル装置からの要求優先順位を上げる手段を使用
した時のデータ転送について説明する。転送制御装置2
が信号線53を介して、チャネル制御部20内のINP
UT/OUTPUT指示時フラグ38および中断再開有
効フリップフロップ37を設定し、また転送制御部23
に転送バイトカウントを信号62を通して与えることに
より、データ転送の開始の準備が整う。
Now, the interruption / resumption effective flip-flop 37
Data transfer when a means for raising the request priority from the channel device is used will be described. Transfer control device 2
Via the signal line 53, the INP in the channel control unit 20
A UT / OUTPUT instruction flag 38 and an interruption / resumption valid flip-flop 37 are set, and the transfer control unit 23 is also set.
The transfer byte count is provided through signal 62 to prepare the data transfer to begin.

【0010】レジスタ28,29にはINPUT/OU
TOPUT時の転送開始を指示すべきバッファのデータ
量が与えられセレクタ30にはレジスタ28,29の出
力信号65,66が入力されている。又レジスタ25,
26にはINPUT/OUTPUT時の先行データオー
バランを検出すべきバッファのデータ量が与えられセク
タ27にはレジスタ25,26の出力信号57,58が
入力されている。
Registers 28 and 29 have INPUT / OU
The data amount of the buffer to be instructed to start the transfer at the time of TOPUT is given and the selector 30 receives the output signals 65 and 66 of the registers 28 and 29. Register 25,
The data amount of the buffer for detecting the preceding data overrun at the time of INPUT / OUTPUT is given to 26, and the output signals 57, 58 of the registers 25, 26 are inputted to the sector 27.

【0011】セレクタ27,30は、セレクト信号とし
てINPUT/OUTPUT指示フラグレジスタ38の
出力信号59を使用してそれぞれの入力信号を選択し、
それぞれ比較回路31,32の一方の入力信号63,6
7として与える。又、一方の入力にはバッファ制御回路
21からのデータ有効バッファ量を示す信号64が比較
回路31,32に共通して与えられている。
The selectors 27 and 30 select respective input signals by using the output signal 59 of the INPUT / OUTPUT instruction flag register 38 as a select signal,
One of the input signals 63 and 6 of the comparison circuits 31 and 32, respectively.
Give as 7. Further, a signal 64 indicating the data effective buffer amount from the buffer control circuit 21 is applied to one input in common to the comparison circuits 31 and 32.

【0012】比較回路32の出力信号78は、転送開始
信号として転送制御部23に、またリセット信号として
フリップフロップ39に供給される。又、比較回路31
は転送制御部23からの出力信号79により有効にさ
れ、その出力信号80はフリップフロップ39にセット
信号として使用される。フリップフロップ39の出力信
号81は中断再開有効フリップフロップ37の出力信号
60と共にAND回路40に入力し、その出力であるデ
ータ転送一時抑止信号82を周辺制御装置6に送ってい
る。又、出力信号81は、データ転送の優先順位を上げ
る要求信号として転送制御装置2にも与えられる。
The output signal 78 of the comparison circuit 32 is supplied to the transfer control section 23 as a transfer start signal and to the flip-flop 39 as a reset signal. In addition, the comparison circuit 31
Is validated by an output signal 79 from the transfer control unit 23, and its output signal 80 is used as a set signal by the flip-flop 39. The output signal 81 of the flip-flop 39 is input to the AND circuit 40 together with the output signal 60 of the suspend / restart valid flip-flop 37, and the data transfer temporary inhibition signal 82 which is the output thereof is sent to the peripheral control device 6. The output signal 81 is also given to the transfer control device 2 as a request signal for raising the priority of data transfer.

【0013】バッファ制御部21は転送制御装置2と信
号線52で接続され、転送制御装置2とのデータ転送を
制御する。又バッファ制御部21は信号線54によりバ
ッファ22のデータの格納位置/読出し位置を制御すと
共にチャネル制御部20からの信号55により初期化さ
れる。又転送制御部23たは信号68により制御をとり
あっている。
The buffer controller 21 is connected to the transfer controller 2 via a signal line 52 and controls data transfer with the transfer controller 2. The buffer controller 21 controls the data storage position / read position of the buffer 22 by the signal line 54 and is initialized by the signal 55 from the channel controller 20. The transfer control unit 23 and the signal 68 control each other.

【0014】データは信号線50とセレクタ41を介し
てバッファ22に格納される。バッファ22でのデータ
の空状況及びバッファ22の有効データ量がバッファ制
御部21を通して信号線64により比較回路31,32
に与えられる。ここで、比較記32の入力信号67と6
4の一致がとられると論理値“1”の出力信号78が有
効になり、転送制御部23に与えられる。転送制御部2
3は、比較器31に対する有効信号79を論理値“1”
の信号78を受け付けることにより、出力転送の場合は
転送制御部23からの出力信号75によりレジスタ34
にバッファ22からデータ70を受け取りセットして信
号72としてドライバー36に入力し出力データとして
バス73に送出する。本データ73は転送制御部23に
おける信号76,77の寄り取りにより、周辺制御装置
6との間でデータ転送が行なわれる。転送制御部23で
は、この時転送バイトカウントの制御も行なっている。
転送側のカウントアップをする。
The data is stored in the buffer 22 via the signal line 50 and the selector 41. The empty condition of the data in the buffer 22 and the effective data amount of the buffer 22 are compared by the signal line 64 through the buffer control unit 21 to the comparison circuits 31, 32.
Given to. Here, the input signals 67 and 6 of the comparison 32 are
When a match of 4 is obtained, the output signal 78 of the logical value "1" becomes valid and is given to the transfer control unit 23. Transfer control unit 2
3 sets the valid signal 79 to the comparator 31 to the logical value "1".
By receiving the signal 78 of the register 34, in the case of output transfer, the output signal 75 from the transfer control unit 23 causes the register 34
Then, the data 70 is received from the buffer 22 and set, is input to the driver 36 as a signal 72, and is output to the bus 73 as output data. The data 73 is transferred to and from the peripheral control device 6 by leaning the signals 76 and 77 in the transfer controller 23. At this time, the transfer control unit 23 also controls the transfer byte count.
Count up on the transfer side.

【0015】入力転送の場合は、バス73を通してレシ
ーバー35に入力される。レシーバー35の出力信号7
1は、レジスタ33に入力され、セット信号74によ
り、ホールドされる。レジスタ33の出力信号69はセ
レクタ41の一方に入力され、入力データとしてバッフ
ァ22にセットされる。
In the case of input transfer, it is input to the receiver 35 through the bus 73. Output signal 7 of receiver 35
1 is input to the register 33 and held by the set signal 74. The output signal 69 of the register 33 is input to one of the selectors 41 and set in the buffer 22 as input data.

【0016】I/Oインタフェース制御部24は、チャ
ネル制御部20からの信号61及び転送制御部23から
の信号83により制御され、周辺制御装置6と信号8
4,85により起動,終了の制御を行なっている。ここ
で出力転送時のデータ転送例について説明をする。
The I / O interface controller 24 is controlled by the signal 61 from the channel controller 20 and the signal 83 from the transfer controller 23, and the peripheral controller 6 and the signal 8 are controlled.
4, 85 controls the start and end. Here, an example of data transfer at the time of output transfer will be described.

【0017】中断再開有効フリップフロップ37が論理
値“1”フリップフロップ39が論理値“1”、すなわ
ち、OUTPUT時には、移送開始バイトカウント用の
レジスタ29に、例えば“16”がセットされ、先行デ
ータオーバラン検出用のレジスタ26には“4”がセッ
トされて、転送制御部23内のバイトカウントレジスタ
には転送バイトカウントがセットされてデータ転送が開
始される。バッファ22にデータ線50を通して制御信
号線54によりデータが格納される。
When the interruption / restart valid flip-flop 37 has the logical value "1", and the flip-flop 39 has the logical value "1", that is, at the time of OUTPUT, for example, "16" is set in the transfer start byte count register 29, and the preceding data is set. "4" is set in the register 26 for overrun detection, the transfer byte count is set in the byte count register in the transfer control unit 23, and data transfer is started. Data is stored in the buffer 22 through the data line 50 and the control signal line 54.

【0018】バッファ22のデータ格納量はバッファ制
御部21からの信号64により比較回路31,32に入
力される。信号64が“16”を示すと、レジスタ29
からのセレクタ30を通した出力信号67の“16”
と、比較回路32で一致がとられ論理値“1”の出力信
号78を発生し、転送制御回路23に入力されると共
に、フリップフロップ39をリセットする。転送制御部
23は信号78を受けると信号75を発生し、バッファ
22のデータ70をレジスタ34に取り込むと同時に、
I/Oインタフェース上でのデータ転送を信号76,7
7により実行する。
The amount of data stored in the buffer 22 is input to the comparison circuits 31 and 32 by the signal 64 from the buffer controller 21. When the signal 64 indicates "16", the register 29
"16" of output signal 67 through selector 30 from
Then, the comparison circuit 32 generates an output signal 78 having a logical value of "1" which is input to the transfer control circuit 23 and resets the flip-flop 39. Upon receiving the signal 78, the transfer control unit 23 generates the signal 75, loads the data 70 of the buffer 22 into the register 34, and at the same time,
Data transfer signals 76, 7 on the I / O interface
Execute by 7.

【0019】通常は、メモリ系の方が転送能力が大なの
でバッファ22はいつも一杯であるが、他のチャネル装
置からの要求や演算制御装置3との主記憶装置4の競合
でメモリリクエストが持たされ、データが遅れる場合が
発生する。
Normally, since the memory system has a larger transfer capacity, the buffer 22 is always full, but the memory request has a request from another channel device or a competition of the main storage device 4 with the arithmetic and control unit 3. Then, the data may be delayed.

【0020】この様の状態が発生すると転送制御装置2
からのデータが入ってこなくなり、バッファ22内の有
効データ量が減ってゆく。バッファ制御部21の信号6
4が論理値“4”を表示すると比較回路31により一致
がとられ論理値“1”の信号80を発生する。信号80
によりフリップフロップ39が論理値“1”にセットさ
れる。出力信号81によりAND回路40の条件がとら
れ、論理値“1”のデータ転送一時抑止信号82が周辺
制御装置6に送られる。周辺制御装置6では本信号を検
出すると周辺制御装置6からの転送要求信号が一時中断
する。
When such a state occurs, the transfer control device 2
No more data will come in, and the amount of valid data in the buffer 22 will decrease. Signal 6 of buffer control unit 21
When 4 indicates the logical value "4", the comparison circuit 31 makes a match and generates the signal 80 of the logical value "1". Signal 80
This sets the flip-flop 39 to the logical value "1". The condition of the AND circuit 40 is satisfied by the output signal 81, and the data transfer temporary inhibition signal 82 having the logical value “1” is sent to the peripheral control device 6. When the peripheral controller 6 detects this signal, the transfer request signal from the peripheral controller 6 is suspended.

【0021】又、論理値“1”の信号81は転送制御装
置2にデータの転送要求優先信号として与えられる。本
信号により従来のチャネルのプライオリティより優先順
位を上げることができる。又データが“16”バイト以
上たまると、比較回路32の転送開始を指示する出力信
号78が論理値“1”になりフリッププロップ39をリ
セットする。出力信号81が論理値“0”になり、デー
タ転送一時抑止信号82は論理値“0”になり再度デー
タ転送が再開される。
The signal 81 having the logical value "1" is given to the transfer control device 2 as a data transfer request priority signal. With this signal, it is possible to raise the priority level over the conventional channel priority. Further, when the data has accumulated more than "16" bytes, the output signal 78 for instructing the start of the transfer of the comparison circuit 32 becomes the logical value "1" and the flip prop 39 is reset. The output signal 81 becomes the logical value "0", the data transfer temporary inhibition signal 82 becomes the logical value "0", and the data transfer is restarted.

【0022】図2に本発明の第2の実施例を示す。FIG. 2 shows a second embodiment of the present invention.

【0023】本実施例においては、第1の実施例に対し
て、フリップフロップ41が設けられている。
In this embodiment, a flip-flop 41 is provided as compared with the first embodiment.

【0024】本フリップフロップ41は、第1の実施例
においても説明した有効データがmバイトになった時に
有効になる信号80によってセットされるフリップフロ
ップ39と同時にセットされ、本データ転送シーケンス
が終了する迄その状態を保持する。そして、次の起動時
をチャネル制御部20より信号86で受け取ることによ
りリセットされる。
The present flip-flop 41 is set at the same time as the flip-flop 39 set by the signal 80 which becomes valid when the valid data described in the first embodiment becomes m bytes, and the present data transfer sequence ends. Hold that state until you do. Then, the next start-up is reset by receiving the signal 86 from the channel controller 20.

【0025】この為、データ転送要求の優先順位を上げ
る信号87は、1回先行データオーバランが検出される
と、そのデータ転送シーケンスが終る迄高優先順位で処
理されることによりデータオーバラン発生頻度を減少さ
れることになりシステムに対する性能を改善することも
できる。
For this reason, the signal 87 for raising the priority of the data transfer request, when the preceding data overrun is detected once, is processed in the high priority until the end of the data transfer sequence. It will also be reduced and may improve performance for the system.

【0026】図3に本発明の第3の実施例を示す。本実
施例は、第1の実施例に対して、カウンタ42、フリッ
プフロップ42およびAND回路44を追加している。
FIG. 3 shows a third embodiment of the present invention. In this embodiment, a counter 42, a flip-flop 42 and an AND circuit 44 are added to the first embodiment.

【0027】カウンタは、起動信号86でクリアーされ
先行データオーバランが検出されるたびにカウントアッ
プされる。フリップフロップ42はカウンタがlになっ
た時にセットされ、起動信号86でクリアーされてデー
タ要求の優先順位を上げる。また、AND回路44は、
カウンタ42が(l+1)になった時に、論理値“1”
になる。
The counter is cleared by the start signal 86 and is incremented each time the preceding data overrun is detected. The flip-flop 42 is set when the counter reaches 1, and is cleared by the start signal 86 to raise the priority of the data request. Further, the AND circuit 44 is
When the counter 42 reaches (l + 1), the logical value "1"
become.

【0028】カウンタ42がlになった時に、論理値
“1”になる信号88によりフリップフロップ43が
“1”にセットされ、データ要求の優先順位を上げる信
号87を転送制御装置2に送出することにより効率の良
い高転送を実現できる。
When the counter 42 reaches 1, the flip-flop 43 is set to "1" by the signal 88 which becomes the logical value "1" and the signal 87 for raising the priority of the data request is sent to the transfer control device 2. As a result, efficient and high transfer can be realized.

【0029】又、本フリップフロップ43がセットされ
た後、再度、先行データオーバランが発生されカウンタ
42がプラス“1”され信号89が論理値“1”になる
と、AND回路44の出力信号90が論理値“1”にな
り、チャネル制御部20および転送制御部23に入力
し、データオーバランをソフトウェアに報告することに
より安定したシステム性能を与えるチャネル装置を提供
出来る。
After the flip-flop 43 is set, when the preceding data overrun is generated again, the counter 42 is incremented by "1" and the signal 89 becomes the logical value "1", the output signal 90 of the AND circuit 44 is output. A logical value of "1" is input to the channel control unit 20 and the transfer control unit 23, and a data overrun is reported to software, so that a channel device that provides stable system performance can be provided.

【0030】[0030]

【発明の効果】以上説明したように本発明は、I/Oイ
ンタフェースのデータ転送の中断再開を有効にするプリ
ップフロップと、データバッファの有効データがnバイ
トになったことを検出しデータ転送の開始を指示する手
段とmバイトになった時にセットされ、nバイトになっ
た時リセットされる先行データオーバランフリップフロ
ップと、オーバランフリップフロップがセットされてい
る間チャネルからの要求優先順位を上げる手段と、I/
Oインタフェースの転送を一時抑止する手段を追加する
ことにより、データ転送の一時中断再開を可能にし、デ
ータオーバランを発生させず、周辺制御装置によるI/
O命令の再試行や、ソフトウェアによるオーバラン処理
をさせずにデータ転送を継続できる効果がある。
As described above, according to the present invention, the data transfer of the I / O interface is detected by detecting the fact that the valid data in the data buffer has become n bytes and the prep-flop which enables the interruption and resumption of the data transfer. A means for instructing the start, a preceding data overrun flip-flop that is set when the number of bytes becomes m, and reset when the number of bytes becomes n, and a means of increasing the request priority from the channel while the overrun flip-flop is set. , I /
By adding a means for temporarily suppressing the transfer of the O interface, it is possible to temporarily suspend and resume the data transfer, prevent the data overrun from occurring, and perform the I / O by the peripheral control device.
There is an effect that the data transfer can be continued without retrying the O instruction or overrun processing by software.

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

【図1】本発の第1の実施例を示すブロック図である。FIG. 1 is a block diagram showing a first embodiment of the present invention.

【図2】本発明の第2の実施例を示すブロック図であ
る。
FIG. 2 is a block diagram showing a second embodiment of the present invention.

【図3】本発明の第3の実施例を示すブロック図であ
る。
FIG. 3 is a block diagram showing a third embodiment of the present invention.

【図4】本発明が適用される情報処理システムのブロッ
ク図である。
FIG. 4 is a block diagram of an information processing system to which the present invention is applied.

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

1 システム制御装置 2 転送制御装置 3 演算制御装置 4 朱記憶装置 51 ,52 ,……5n-1 ,5n チャネル装置 6 周辺制御装置 7 周辺装置 20 チャネル制御部 21 バッファ制御部 22 バッファ 23 転送制御部 24 I/Oインタフェース制御部 25,26,28,29,33,34 レジスタ 27,30,41 セレクタ 35 レシーバー 36 ドライバー 37 中断再開有効フリップフロップ 38 INPUT/OUTPUT指示フラグ 39,41,43 フリップフロップ 40,44 AND回路 42 カウンタ1 System control device 2 Transfer control device 3 Arithmetic control device 4 Red memory device 5 1 , 5 2 , ... 5 n-1 , 5 n channel device 6 Peripheral control device 7 Peripheral device 20 Channel control unit 21 Buffer control unit 22 Buffer 23 Transfer Control Unit 24 I / O Interface Control Unit 25, 26, 28, 29, 33, 34 Register 27, 30, 41 Selector 35 Receiver 36 Driver 37 Suspend / Restart Effective Flip-Flop 38 INPUT / OUTPUT Instruction Flag 39, 41, 43 Flip-flop 40,44 AND circuit 42 Counter

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 主記憶装置と周辺装置との間の高速デー
タ転送をチャネル装置からの要求によりチャネル装置の
優先順位に従い制御するデータ処理装置におけるチャネ
ル装置において、 I/Oインタフェースのデータ転送の中断再開を有効に
する中断再開有効フリップフロップと、 データバッファの有効データが所定のnバイトになった
ことを検出しデータ転送の開始を指示する手段と、 所定のmバイトになった時にセットされ、前記バイトに
なった時リセットされる先行データオーバランフリップ
フロップと、 前記オーバランフリップフロップがセットされている間
チャネルからの要求優先順位を上げる手段と、 I/Oインタフェースの転送を一時抑止する手段を設け
たことを特徴とするチャネル装置。
1. A channel device in a data processing device for controlling high-speed data transfer between a main memory device and a peripheral device according to a priority of the channel device in response to a request from the channel device, and interruption of data transfer of an I / O interface. Suspend resuming enable flip-flop for enabling resuming, means for instructing the start of data transfer by detecting that the valid data in the data buffer has reached a predetermined n-byte, and set when a predetermined m-byte is reached, A preceding data overrun flip-flop that is reset when the byte is reached, means for raising the request priority from the channel while the overrun flip-flop is set, and means for temporarily suppressing transfer of the I / O interface are provided. A channel device characterized by the above.
【請求項2】 前記先行データオーバランフリップフロ
ップと同時にセットされ、次の起動でクリアされて、デ
ータ転送要求の優先順位を上げるフリップフロップ手段
を追加したことを特徴とする請求項1記載のチャネル装
置。
2. The channel device according to claim 1, further comprising flip-flop means which is set at the same time as the preceding data overrun flip-flop and is cleared by the next activation to raise the priority of the data transfer request. .
【請求項3】 起動でクリアされ先行データオーバラン
が検出されるたびにカウントアップされるカウンタと、 該カウンタが所定回数になった時セットされ、前記起動
でクリアされるチャネルからの要求優先順位を上げるフ
リップフロップとを設け、 該プリップフロップがセットされたえ後、再度前記先行
データオーバランフリップフロップがセットされた場合
は、データオーバランとして報告することを特徴とする
請求項1記載のチャネル装置。
3. A counter that is cleared at startup and is incremented each time a preceding data overrun is detected, and a request priority from a channel that is set when the counter reaches a predetermined number and cleared at startup. 2. The channel device according to claim 1, further comprising: a flip-flop for raising the flip-flop, and if the preceding data overrun flip-flop is set again after the flip-flop is set, it is reported as a data overrun.
JP19353592A 1992-07-21 1992-07-21 Channel device Withdrawn JPH0635834A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19353592A JPH0635834A (en) 1992-07-21 1992-07-21 Channel device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19353592A JPH0635834A (en) 1992-07-21 1992-07-21 Channel device

Publications (1)

Publication Number Publication Date
JPH0635834A true JPH0635834A (en) 1994-02-10

Family

ID=16309697

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19353592A Withdrawn JPH0635834A (en) 1992-07-21 1992-07-21 Channel device

Country Status (1)

Country Link
JP (1) JPH0635834A (en)

Similar Documents

Publication Publication Date Title
US5542076A (en) Method and apparatus for adaptive interrupt servicing in data processing system
US6560657B1 (en) System and method for controlling peripheral devices
US5706425A (en) Timeout process circuit and receiver including this timout process circuit
WO1994008298A2 (en) Method for improving scsi operations by actively patching scsi processor instructions
US6732198B1 (en) Methods and apparatus for saving and restoring scatter/gather list processing context in intelligent controllers
JP3420091B2 (en) Microprocessor
EP0385136B1 (en) Microprocessor cooperating with a coprocessor
JPH0635834A (en) Channel device
US5148525A (en) Microprogram-controlled type bus control circuit
JP2643931B2 (en) Information processing device
US6910119B1 (en) Instruction pipe and stall therefor to accommodate shared access to return stack buffer
JPS6040064B2 (en) Data transfer control method
JP2000020398A (en) Disk storage device and disk controller to be applied to the same
JPH05250161A (en) Microcomputer device
JP2626616B2 (en) Peripheral control device
JP2871171B2 (en) Microcomputer
JPH03134732A (en) Buffer controller
JPH0358158A (en) Data processor
JPH02191042A (en) Interruption control system
JP2638096B2 (en) Channel equipment
JPS599927B2 (en) Data transfer control method
JPH0736820A (en) I/o controller
JPH03266158A (en) Channel device
JPH0347536B2 (en)
JPS63304345A (en) Control system for memory request

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19991005