JP2531209B2 - Channel device - Google Patents

Channel device

Info

Publication number
JP2531209B2
JP2531209B2 JP62308122A JP30812287A JP2531209B2 JP 2531209 B2 JP2531209 B2 JP 2531209B2 JP 62308122 A JP62308122 A JP 62308122A JP 30812287 A JP30812287 A JP 30812287A JP 2531209 B2 JP2531209 B2 JP 2531209B2
Authority
JP
Japan
Prior art keywords
input
data
output
fetch request
output 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.)
Expired - Fee Related
Application number
JP62308122A
Other languages
Japanese (ja)
Other versions
JPH01147758A (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.)
NEC Corp
Original Assignee
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP62308122A priority Critical patent/JP2531209B2/en
Publication of JPH01147758A publication Critical patent/JPH01147758A/en
Application granted granted Critical
Publication of JP2531209B2 publication Critical patent/JP2531209B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はチャネル装置に関し、特に、チャネルと主記
憶装置との間のデータ転送が複数バイト単位で行なわ
れ、チャネルと入出力装置との間のデータ転送がバイト
単位で行なわれるバイトマルチプレクサチャネル装置に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a channel device, and more particularly, to data transfer between a channel and a main storage device in units of a plurality of bytes, and between the channel and an input / output device. The present invention relates to a byte multiplexer channel device in which data transfer is performed byte by byte.

〔従来の技術〕[Conventional technology]

通常、チャネルと入出力装置との間でデータの転送を
行なう場合には、まず、CPUからの入出力命令によりチ
ャネルおよび入出力装置が起動され、次に、チャネルが
CPUと並行して動作してチャネルと入出力装置および主
記憶装置との間で所定のシーケンスでデータ転送処理が
行なわれる。上述したバイトマルチプレクサチャネル装
置では、チャネルは主記憶装置から複数バイトのデータ
を読出して一時的に格納し、1バイトのデータごとに入
出力装置に転送するが、この1バイトのデータの転送
は、複数のステップからなる一連の処理を所定のシーケ
ンスで実行することにより行なわれる。このため、一
旦、チャネル内に格納された複数バイトのデータを全て
入出力装置に転送するためには、そのバイト数分だけ、
上述した所定のシーケンスで行なわれる一連の処理を繰
返す必要がある。従来のバイトマルチプレクサチャネル
装置は、一回の一連の処理ごとに、主記憶装置に対して
データの送出を要求するメモリフェッチ要求を出す構成
となっていた。
Normally, when transferring data between a channel and an I / O device, first the I / O command from the CPU activates the channel and I / O device, and then the channel
It operates in parallel with the CPU to perform data transfer processing between the channel and the input / output device and the main storage device in a predetermined sequence. In the above-mentioned byte multiplexer channel device, the channel reads out a plurality of bytes of data from the main storage device, temporarily stores them, and transfers them to the input / output device for each 1-byte data. It is performed by executing a series of processing including a plurality of steps in a predetermined sequence. Therefore, in order to transfer all the data of multiple bytes once stored in the channel to the input / output device,
It is necessary to repeat the series of processes performed in the predetermined sequence described above. The conventional byte multiplexer channel device is configured to issue a memory fetch request for requesting data transmission to the main memory device for each series of processes.

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

上述した従来のバイトマルチプレクサチャネル装置
は、一回の一連の処理ごとに、主記憶装置に対してデー
タの送出を要求するメモリフェッチ要求を出すため、主
記憶装置へのアクセス回数が増大し、バイトマルチプレ
クサチャネルのデータ転送を高速に行うことができず、
さらに、ブロックマルチプレクサチャネルやCPU等の他
の装置の処理を阻害するという欠点がある。
The above-mentioned conventional byte multiplexer channel device issues a memory fetch request for requesting data transmission to the main memory device for each series of processing, so the number of accesses to the main memory device increases and Data transfer of the multiplexer channel cannot be performed at high speed,
Furthermore, there is a drawback that it interferes with the processing of other devices such as the block multiplexer channel and the CPU.

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

本発明のチャネル装置は、 主記憶装置から読出された複数バイトのデータを一時
的に格納し、1バイトのデータごとに前記入出力装置に
送出するデータバッファと、 前記主記憶装置から転送すべきデータを読出して前記
データバッファに格納することを要求するメモリフェッ
チ要求を、該主記憶装置に対して送出するメモリフェッ
チ要求手段と、 前記データバッファ中にデータが存在するかどうかを
検出し、検出信号を前記メモリフェッチ要求手段に送出
するデータ量検出手段と、 CPUからの入出力命令によりバイトマルチプレクサチ
ャネル装置および入出力装置が起動され、続いてデータ
転送が行なわれるべき入出力装置から所定のシーケンス
で処理を実行するための要求がバイトマルチプレクサチ
ャネル装置に入力されると、該要求を送出した入出力装
置のデバイスアドレスを入出力アドレスとして取込み、
一時的に保持する第1の入出力アドレス保持手段と、 前記所定のシーケンスによりデータ転送処理が実行さ
れている間に、前記第1の入出力アドレス保持手段に保
持されている入出力アドレスを取込み、保持する第2の
入出力アドレス保持手段と、 前記所定のシーケンスが終了し、続いて、データ転送
が行なわれるべき入出力装置から前記所定のシーケンス
で処理を実行するための要求がバイトマルチプレクサチ
ャネル装置に入力されると、前記第1の入出力アドレス
保持手段に取込まれ、保持された入出力アドレスと前記
第2の入出力アドレス保持手段に保持されている入出力
アドレスとを比較してそれらの一致/不一致を検出し、
それらの一致を検出したときは一致検出信号を、不一致
を検出したときは、メモリフェッチ要求を送出すること
を強制する信号をそれぞれ前記メモリフェッチ要求手段
に送出する入出力アドレス比較手段とを有し、 前記メモリフェッチ要求手段は、入出力アドレス比較
手段からの一致検出信号が入力され、かつ前記データ量
検出手段からの検出信号によりデータバッファ内にデー
タが保持されていることが確認された場合にはメモリフ
ェッチ要求を送出せず、入出力アドレス比較手段からの
一致検出信号が入力されてもデータバッファ内にデータ
が存在しない場合あるいは入出力アドレス比較回路から
のメモリフェッチ要求を強制する信号が入力された場合
にメモリフェッチ要求を主記憶装置に送出するように構
成され、前記メモリフェッチ要求が送出されない場合に
は、バイトマルチプレクサチャネル装置はデータバッフ
ァ内に保持されているデータを用いてシーケンス処理を
実行するように構成されている。
The channel device of the present invention should temporarily store a plurality of bytes of data read from the main storage device and send out each byte of data to the input / output device; and a data buffer to be transferred from the main storage device. Memory fetch request means for sending a memory fetch request for reading data and storing it in the data buffer to the main storage device, and detecting and detecting whether or not data exists in the data buffer. A data amount detecting means for sending a signal to the memory fetch requesting means, a byte multiplexer channel device and an input / output device are activated by an input / output instruction from the CPU, and then a predetermined sequence is performed from the input / output device to which data transfer is to be performed. When a request to perform processing is input to the byte multiplexer channel device, the request is sent. Take in the device address of the issued I / O device as the I / O address,
A first input / output address holding means for temporarily holding and an input / output address held in the first input / output address holding means while the data transfer processing is executed according to the predetermined sequence. , The second input / output address holding means for holding, and the byte multiplexer channel for requesting execution of processing in the predetermined sequence from the input / output device to which data transfer is to be performed after the predetermined sequence is completed. When input to the device, the input / output address fetched by the first input / output address holding means is compared with the input / output address held by the second input / output address holding means. Detect those matches / mismatches,
And an input / output address comparison means for sending a match detection signal when these matches are detected and a signal for forcing a memory fetch request to be sent to the memory fetch request means when a mismatch is detected. When the match detection signal from the input / output address comparison unit is input, and it is confirmed by the detection signal from the data amount detection unit that the data is held in the data buffer, Does not send a memory fetch request, but if there is no data in the data buffer even if a match detection signal is input from the input / output address comparison means, or a signal that forces a memory fetch request from the input / output address comparison circuit is input. Configured to send a memory fetch request to main memory when If no request is sent, the byte multiplexer channel device is configured to perform sequencing using the data held in the data buffer.

〔作用〕[Action]

複数の入出力装置に対してアクセスする場合、通常、
それぞれの入出力装置に転送すべきデータは、主記憶装
置内の異なる領域においてそれらの入出力装置に対応し
て格納されており、バイトマルチプレクサチャネル装置
が書込み系動作(入出力装置へのデータの書込みおよび
各種制御信号の入出力装置への入力)を行なっている場
合に、アクセス対象である入出力装置が異なるときは
(すなわち、入出力アドレス(デバイス番号)が異なる
ときは)、そのつど、主記憶装置に対してメモリフェッ
チ要求を出してデータ転送しようとする入出力装置に対
応したデータをデータバッファに格納する必要がある
が、同一の入出力装置に対して連続してアクセスする場
合は、データバッファに保持されている未転送のデータ
を利用できることが多く、この場合は、メモリフェッチ
要求を送出することを要しない。このことに着目し、入
出力アドレス比較手段により、前回のシーケンスでアク
セスした入出力装置と今回のシーケンスでアクセスしよ
うとしている入出力装置とが同一であることが検出さ
れ、かつデータバッファ内に以前のシーケンス時にフェ
ッチしたデータが残存している場合は、新たにメモリフ
ェッチ要求を送出することなくその残存しているデータ
を転送させることにより、メモリアクセス回数を減らす
ことができ、この結果、バイトマルチプレクサチャネル
のデータ転送を高速化することができ、あわせて他の装
置における処理の遅延を防止することができる。
When accessing multiple I / O devices,
The data to be transferred to each I / O device is stored in different areas in the main memory corresponding to those I / O devices, and the byte multiplexer channel device performs the write operation (data transfer to the I / O device). When writing and inputting various control signals to the input / output device), when the input / output device to be accessed is different (that is, when the input / output address (device number) is different), It is necessary to store the data corresponding to the I / O device that is going to transfer data by issuing a memory fetch request to the main memory device, but when accessing the same I / O device continuously. In many cases, the untransferred data held in the data buffer can be used. In this case, it is possible to send a memory fetch request. Not. With this in mind, the I / O address comparison means detects that the I / O device accessed in the previous sequence and the I / O device attempting to access in the current sequence are the same, and the data buffer previously stored If the fetched data remains during the sequence of, the number of memory accesses can be reduced by transferring the remaining data without sending a new memory fetch request. As a result, the byte multiplexer The data transfer of the channel can be speeded up, and at the same time, the delay of the processing in other devices can be prevented.

〔実施例〕〔Example〕

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

第1図は本発明のバイトマルチプレクサチャネル装置
の一実施例を用いた情報処理システムのブロック図、第
2図は第1図のバイトマルチプレクサチャネル装置の書
込み系動作時における動作シーケンスを示すタイミング
チャートである。
FIG. 1 is a block diagram of an information processing system using an embodiment of a byte multiplexer channel device of the present invention, and FIG. 2 is a timing chart showing an operation sequence during a write operation of the byte multiplexer channel device of FIG. is there.

本実施例のバイトマルチプレクサチャネル装置3は、
主記憶装置4と入出力制御装置2および複数の入出力装
置1a〜1mとの間に設けられており、書込み系動作時にお
いてメモリフェッチ要求を主記憶装置4へ送出するメモ
リフェッチ要求フリップフロップ10と、メモリフェッチ
要求に対応して主記憶装置4からデータバス13を介して
送られてくる複数バイト(本実施例では8バイトとす
る)のデータを取込んで一時的に保持し、1バイトのデ
ータごとに、出力バス11を介して転送するデータバッフ
ァ7と、データバッファ7内のデータ量を検出し、検出
信号をメモリフェッチ要求フリップフロップ10に出力す
るデータ量検出レジスタ8と、前回のシーケンスでアク
セスした入出力装置のデバイス番号(入出力アドレス)
を保持する第2の入出力アドレスレジスタ6と、今回の
シーケンスでアクセスする入出力装置の入出力アドレス
(入力バス12を介して入力される)を保持する第1の入
出力アドレスレジスタ5と、第1および第2の入出力ア
ドレスレジスタ5,6に保持されているそれぞれの入出力
アドレスを比較し、その一致/不一致を示す検出信号を
メモリフェッチ要求フリップフロップ10へ出力する入出
力アドレス比較回路9とを有している。
The byte multiplexer channel device 3 of this embodiment is
It is provided between the main storage device 4 and the input-output control unit 2 and a plurality of input-output devices 1 a to 1 m, the memory fetch request flip sending a memory fetch request to the main storage unit 4 at the time of writing system operation 10 and a plurality of bytes (8 bytes in this embodiment) of data sent from the main storage device 4 via the data bus 13 in response to the memory fetch request, and temporarily holds the data. A data buffer 7 that transfers via the output bus 11 for each 1-byte data, a data amount detection register 8 that detects the amount of data in the data buffer 7 and outputs a detection signal to the memory fetch request flip-flop 10. Device number (I / O address) of the I / O device accessed in the previous sequence
And a first input / output address register 5 for holding the input / output address (input via the input bus 12) of the input / output device to be accessed in this sequence. An input / output address comparison circuit that compares the respective input / output addresses held in the first and second input / output address registers 5 and 6 and outputs a detection signal indicating the match / mismatch to the memory fetch request flip-flop 10. 9 and 9.

主記憶装置4には、各入出力装置1a〜1mに対応して、
異なる領域に、転送すべきデータが記憶され、また、デ
ータを格納するためのエリアが設けられている。入出力
制御装置2はバイトマルチプレクサチャネル装置3と各
入出力装置1a〜1mとの間の入出力動作シーケンスを制御
し、入出力制御装置2と各入出力装置1a〜1m間のデータ
転送は、それぞれデバイスインターフェースCH1〜CHm
介して行なわれる。
The main storage device 4 corresponds to each input / output device 1 a to 1 m ,
Data to be transferred is stored in different areas, and an area for storing the data is provided. Output control apparatus 2 controls the input and output operation sequence between the byte multiplexer channel unit 3 and the output devices 1 a to 1 m, the input-output control unit 2 and between the input and output device 1 a to 1 m data transfer is respectively performed through a device interface CH 1 to CH m.

次に、本実施例の書込み系動作を説明する。 Next, the writing operation of this embodiment will be described.

まず、CPU(不図示)からの入出力命令によりバイト
マルチプレクサチャネル装置3,入出力制御装置2,入出力
装置1a〜1mが起動されると、バイトマルチプレクサチャ
ネル装置3はCPUと並行して動作し、データ転送処理を
実行する。この場合、まず、複数の入出力装置1a〜1m
うちのデータ書込みが行なわれるべき入出力装置(本実
施例では1aとする)がバイトマルチプレクサチャネル装
置3に対し、データ転送のための一連のシーケンス処理
を要求するリクエストイン信号を送出する。バイトマル
チプレクサチャネル装置3はこのリクエストイン信号を
受信すると、これに応答してホールドアウト信号および
セレクトアウト信号を送出し、これらを受信した入出力
装置1aはオペレーショナルイン信号を発する。続いて、
時刻t1において、アドレスイン信号とともに入出力アド
レスが入力バス12を介してバイトマルチプレクサチャネ
ル装置3に入力され、このアドレス信号は第1の入出力
アドレスレジスタ5に格納され、これに対応して入出力
アドレスを受信したことを示すコマンドアウト信号が発
せられる。以上の動作が行なわれている間に、前回の一
連のシーケンス処理時に第1の入出力アドレスレジスタ
5に保持された入出力アドレスの第2の入出力アドレス
レジスタへの格納は完了している。次に、入出力アドレ
ス比較回路9は、第1および第2の入出力アドレスレジ
スタ5,6に保持されている入出力アドレスを比較し、そ
れらの一致/不一致を検出する。いま、仮に不一致であ
ったとすると、メモリフェッチ要求フリップフロップ10
がセットされ、セットされたメモリフェッチ要求フリッ
プフロップ10は主記憶装置4に対してデータフェッチを
要求する。すると、主記憶装置4から8バイトのデータ
がデータバス13を介してバイトマルチプレクサチャネル
装置3に出力され、データバッファ7に格納される。こ
れにともない、データ量検出レジスタ8の値が更新さ
れ、データバッファ7内に8バイトのデータが格納され
たことが検出されるとともに、その検出信号はメモリフ
ェッチ要求フリップフロップ10に伝えられ、これがリセ
ットされる。続いて、時刻t2において入出力装置1aから
データ書込みを要求するサービスイン信号が発せられ、
これに応答して時刻t3において、データバッファ7から
1バイトのデータが読出されて出力バス11を介して送出
され、時刻t4においてサービスアウト信号が入出力装置
1aに対して送出され、このタイミングで入出力装置1a
データが書込まれる。このようにして、一連のシーケン
ス処理は終了する。この状態では、データバッファ7内
には、入出力装置1aに書込むべき7ビットのデータが格
納されている。
First, when the byte multiplexer channel device 3, the input / output control device 2, and the input / output devices 1 a to 1 m are activated by an input / output instruction from a CPU (not shown), the byte multiplexer channel device 3 is operated in parallel with the CPU. It operates and executes the data transfer process. In this case, first input-output device to data writing is performed among the plurality of input-output devices 1 a to 1 m (a 1 a in this embodiment) to byte multiplexer channel unit 3, for data transfer A request-in signal for requesting a series of sequence processing of is transmitted. When the byte multiplexer channel unit 3 receives this request-in signal, which in response to sending a hold-out signal and the select-out signal, input-output device 1 a receiving these emit operational in signal. continue,
At time t 1 , the input / output address is input to the byte multiplexer channel device 3 via the input bus 12 together with the address-in signal, and this address signal is stored in the first input / output address register 5 and correspondingly input. A command out signal is issued indicating that the output address has been received. While the above operation is being performed, the storage of the input / output address held in the first input / output address register 5 in the second series of input / output address registers in the last series of sequence processing is completed. Next, the input / output address comparison circuit 9 compares the input / output addresses held in the first and second input / output address registers 5 and 6 and detects a match / mismatch between them. If there is a mismatch, the memory fetch request flip-flop 10
Is set, and the set memory fetch request flip-flop 10 requests the main memory 4 for data fetch. Then, 8-byte data is output from the main memory device 4 to the byte multiplexer channel device 3 via the data bus 13 and stored in the data buffer 7. Along with this, the value of the data amount detection register 8 is updated, and it is detected that 8 bytes of data are stored in the data buffer 7, and the detection signal is transmitted to the memory fetch request flip-flop 10 and this is detected. Will be reset. Then, at time t 2 , a service-in signal requesting data writing is issued from the input / output device 1 a ,
In response to this, at time t 3 , 1-byte data is read from data buffer 7 and sent out via output bus 11. At time t 4 , a service-out signal is output from the input / output device.
1 is transmitted to a, the data input and output device 1 a at this timing is written. In this way, a series of sequence processing ends. In this state, the data buffer 7, 7 bits of data to be written to the output device 1 a is stored.

次のシーケンスでも、上述した一連のシーケンス処理
が繰返される。すなわち、再び、入出力装置1aからリク
エストイン信号が送出され、一連のシーケンスが開始さ
れると、入出力アドレス比較回路9による第1および第
2の入出力アドレスレジスタ5,6の入出力アドレスの比
較ステップにおいて両アドレスの一致が検出され、一致
検出信号がメモリフェッチ要求フリップフロップ10に送
出される。このとき、データ量検出レジスタ8からの検
出信号によってデータバッファ7内に7バイトのデータ
が残存していることが確認されているので、メモリフェ
ッチ要求フリップフロップ10はセットされることなくリ
セット状態を維持し、メモリフェッチ要求は送出されな
い。その後、上述したように、入出力装置1aからのサー
ビスイン信号に対してデータバッファ7から1バイトの
データが読出され、サービスアウト信号発生タイミング
でデータが書込まれる。なお、入出力アドレス比較回路
9により第1および第2の入出力アドレスレジスタ5,6
の入出力アドレスの一致が検出された場合でも、データ
バッファ7内にデータが何ら格納されていない場合は、
メモリフェッチ要求フリップフロップ10はセットされて
メモリフェッチ要求が出力される。
Also in the next sequence, the series of sequence processing described above is repeated. That is, when a request-in signal is sent again from the input / output device 1a and a series of sequences is started, the input / output addresses of the first and second input / output address registers 5 and 6 by the input / output address comparison circuit 9 are started. In the comparison step, the coincidence of both addresses is detected, and the coincidence detection signal is sent to the memory fetch request flip-flop 10. At this time, since it is confirmed by the detection signal from the data amount detection register 8 that 7 bytes of data remain in the data buffer 7, the memory fetch request flip-flop 10 is set to the reset state without being set. Maintained, no memory fetch request is sent. Thereafter, as described above, a byte of data from the data buffer 7 to the service in signal from the input-output device 1 a is read out, the data in the service out signal generation timing is written. The input / output address comparison circuit 9 causes the first and second input / output address registers 5, 6
Even if a match of the input / output address of is detected, if no data is stored in the data buffer 7,
The memory fetch request flip-flop 10 is set and the memory fetch request is output.

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

以上説明したように本発明は、バイトマルチプレクサ
チャネル装置の書込み系動作時において、同一の入出力
装置へのアクセスが連続する場合、データバッファ内に
転送データが残存しているときにはメモリフェッチ要求
を送出しない構成とすることにより、主記憶装置に対す
るアクセス回数を減らすことができ、これにより、バイ
トマルチプレクサチャネル装置のデータ転送を高速化す
ることができるとともに、他の装置における処理の遅延
を防止することができる効果がある。
As described above, according to the present invention, in the write operation of the byte multiplexer channel device, when access to the same input / output device continues, a memory fetch request is sent out when transfer data remains in the data buffer. With such a configuration, it is possible to reduce the number of accesses to the main memory device, which makes it possible to speed up data transfer of the byte multiplexer channel device and prevent processing delay in other devices. There is an effect that can be done.

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

第1図は本発明のバイトマルチプレクサチャネル装置の
一実施例を用いた情報処理システムのブロック図、第2
図は第1図のバイトマルチプレクサチャネル装置の書込
み系動作時における動作シーケンスを示すタイミングチ
ャートである。 1a〜1m……入出力装置、2……入出力制御装置、3……
バイトマルチプレクサチャネル装置、4……主記憶装
置、5……第1の入出力アドレスレジスタ、6……第2
の入出力アドレスレジスタ、7……データバッファ、8
……データ量検出レジスタ、9……入出力アドレス比較
回路、10……メモリフェッチ要求フリップフロップ、11
……出力バス、12……入力バス、13……データバス、CH
1〜CHm……デバイスインタフェース。
FIG. 1 is a block diagram of an information processing system using an embodiment of a byte multiplexer channel device of the present invention.
The drawing is a timing chart showing the operation sequence during the write operation of the byte multiplexer channel device of FIG. 1 a to 1 m …… Input / output device, 2 …… Input / output control device, 3 ……
Byte multiplexer channel device, 4 ... Main memory device, 5 ... First input / output address register, 6 ... Second
I / O address register, 7 ... Data buffer, 8
...... Data amount detection register, 9 ...... Input / output address comparison circuit, 10 ...... Memory fetch request flip-flop, 11
...... Output bus, 12 …… Input bus, 13 …… Data bus, CH
1 to CH m …… Device interface.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】チャネルと主記憶装置との間のデータ転送
が複数バイト単位で行なわれ、チャネルと入出力装置と
の間のデータ転送がバイト単位で行なわれるバイトマル
チプレクサチャネル装置において、 前記主記憶装置から読出された複数バイトのデータを一
時的に格納し、1バイトのデータごとに前記入出力装置
に送出するデータバッファと、 前記主記憶装置から転送すべきデータを読出して前記デ
ータバッファに格納することを要求するメモリフェッチ
要求を、該主記憶装置に対して送出するメモリフェッチ
要求手段と、 前記データバッファ中にデータが存在するかどうかを検
出し、検出信号を前記メモリフェッチ要求手段に送出す
るデータ量検出手段と、 CPUからの入出力命令によりバイトマルチプレクサチャ
ネル装置および入出力装置が起動され、続いてデータ転
送が行なわれるべき入出力装置から所定のシーケンスで
処理を実行するための要求がバイトマルチプレクサチャ
ネル装置に入力されると、該要求を送出した入出力装置
のデバイスアドレスを入出力アドレスとして取込み、一
時的に保持する第1の入出力アドレス保持手段と、 前記所定のシーケンスによりデータ転送処理が実行され
ている間に、前記第1の入出力アドレス保持手段に保持
されている入出力アドレスを取込み、保持する第2の入
出力アドレス保持手段と、 前記所定のシーケンスが終了し、続いて、データ転送が
行なわれるべき入出力装置から前記所定のシーケンスで
処理を実行するための要求がバイトマルチプレクサチャ
ネル装置に入力されると、前記第1の入出力アドレス保
持手段に取込まれ、保持された入出力アドレスと前記第
2の入出力アドレス保持手段に保持されている入出力ア
ドレスとを比較してそれらの一致/不一致を検出し、そ
れらの一致を検出したときは一致検出信号を、不一致を
検出したときは、メモリフェッチ要求を送出することを
強制する信号をそれぞれ前記メモリフェッチ要求手段に
送出する入出力アドレス比較手段とを有し、 前記メモリフェッチ要求手段は、入出力アドレス比較手
段からの一致検出信号が入力され、かつ前記データ量検
出手段からの検出信号によりデータバッファ内にデータ
が保持されていることが確認された場合にはメモリフェ
ッチ要求を送出せず、入出力アドレス比較手段からの一
致検出信号が入力されてもデータバッファ内にデータが
存在しない場合あるいは入出力アドレス比較回路からの
メモリフェッチ要求を強制する信号が入力された場合に
メモリフェッチ要求を主記憶装置に送出するように構成
され、前記メモリフェッチ要求が送出されない場合に
は、バイトマルチプレクサチャネル装置はデータバッフ
ァ内に保持されているデータを用いてシーケンス処理を
実行することを特徴とするバイトマルチプレクサチャネ
ル装置。
1. A byte multiplexer channel device in which data transfer between a channel and a main memory device is performed in units of a plurality of bytes, and data transfer between a channel and an input / output device is performed in byte units. A data buffer for temporarily storing a plurality of bytes of data read from the device and sending it to the input / output device for each 1-byte data; and a data buffer to be transferred from the main storage device and stored in the data buffer. Memory fetch request means for sending a memory fetch request to the main storage device, and detecting whether or not data exists in the data buffer, and sending a detection signal to the memory fetch request means. Data amount detecting means, and a byte multiplexer channel device and an input / output device by an input / output instruction from the CPU. When a request to execute processing in a predetermined sequence is input to the byte multiplexer channel device from the I / O device to which data transfer is to be performed, the device address of the I / O device that sent the request. Is stored as an input / output address, and is temporarily held by the first input / output address holding means while the data transfer processing is executed according to the predetermined sequence. Second input / output address holding means for fetching and holding the existing input / output address, and the predetermined sequence is completed, and subsequently, processing is executed in the predetermined sequence from the input / output device to which data transfer is to be performed. A request for input to the byte multiplexer channel device is taken into the first input / output address holding means. The held input / output address is compared with the input / output address held in the second input / output address holding means to detect a match / mismatch between them, and when a match is detected, a match detection signal is output. When the mismatch is detected, the memory fetch request means has respective input / output address comparison means for sending a signal for forcing a memory fetch request to be sent to the memory fetch request means. When the coincidence detection signal from the means is input and it is confirmed by the detection signal from the data amount detection means that the data is held in the data buffer, the memory fetch request is not sent and the input / output address is not sent. Even if the match detection signal from the comparison means is input, if there is no data in the data buffer or the input / output address comparison Is configured to send a memory fetch request to main memory when a signal for forcing a memory fetch request from the memory is input, and when the memory fetch request is not sent, the byte multiplexer channel device is placed in the data buffer. A byte multiplexer channel device characterized by executing a sequence process using held data.
JP62308122A 1987-12-04 1987-12-04 Channel device Expired - Fee Related JP2531209B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62308122A JP2531209B2 (en) 1987-12-04 1987-12-04 Channel device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62308122A JP2531209B2 (en) 1987-12-04 1987-12-04 Channel device

Publications (2)

Publication Number Publication Date
JPH01147758A JPH01147758A (en) 1989-06-09
JP2531209B2 true JP2531209B2 (en) 1996-09-04

Family

ID=17977144

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62308122A Expired - Fee Related JP2531209B2 (en) 1987-12-04 1987-12-04 Channel device

Country Status (1)

Country Link
JP (1) JP2531209B2 (en)

Also Published As

Publication number Publication date
JPH01147758A (en) 1989-06-09

Similar Documents

Publication Publication Date Title
US4860244A (en) Buffer system for input/output portion of digital data processing system
JPS63208963A (en) Digital data processing system
JPH0640317B2 (en) Digital data processing system
US4371924A (en) Computer system apparatus for prefetching data requested by a peripheral device from memory
EP0292501B1 (en) Apparatus and method for providing a cache memory unit with a write operation utilizing two system clock cycles
JPH04306748A (en) Information processor
JPH0532775B2 (en)
US5287483A (en) Prefetched operand storing system for an information processor
JP2531209B2 (en) Channel device
JP3061106B2 (en) Bus bridge and computer system having the same
US4737908A (en) Buffer memory control system
US5168558A (en) Apparatus and method for providing distributed control in a main memory unit of a data processing system
JPS63208151A (en) Interface between processor of digital data processing system and special instruction processor
EP0073081B1 (en) Data processing system having a control device for controlling an intermediate memory during a bulk data transport between a source device and a destination device
JP2531207B2 (en) Channel device
JPH0981533A (en) Inter-processor data transfer system and ring buffer memory for the same
JPS6240736B2 (en)
EP0288479B1 (en) Apparatus and method for providing distributed control in a main memory unit of a data processing system
JPH0962633A (en) Network control unit
JPH06301600A (en) Storage device
JP2594567B2 (en) Memory access control device
JPH10111798A (en) Information processor
JP2803616B2 (en) I / O bus interface control method
JPS63187349A (en) Memory device
JP2003057305A (en) Testing device for semiconductor

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees