JPH04142643A - Input/output controller - Google Patents

Input/output controller

Info

Publication number
JPH04142643A
JPH04142643A JP26600890A JP26600890A JPH04142643A JP H04142643 A JPH04142643 A JP H04142643A JP 26600890 A JP26600890 A JP 26600890A JP 26600890 A JP26600890 A JP 26600890A JP H04142643 A JPH04142643 A JP H04142643A
Authority
JP
Japan
Prior art keywords
channel
data
prefetch
data transfer
request
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
Application number
JP26600890A
Other languages
Japanese (ja)
Inventor
Fumio Watanabe
文男 渡辺
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 Ibaraki Ltd
Original Assignee
NEC Ibaraki 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 NEC Ibaraki Ltd filed Critical NEC Ibaraki Ltd
Priority to JP26600890A priority Critical patent/JPH04142643A/en
Publication of JPH04142643A publication Critical patent/JPH04142643A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To prevent data transfer stop by providing an input/output controller with the function that when data transfer is requested from a plurality of channels, if effective prefetch data items are present in a prefetch data buffer for the channels that issued a request for data transfer, data transfer to relevant channel is taken preferentially. CONSTITUTION:Prefetch data transfer address buffer 20 holds prefetch data transfer address for each channel, and prefetch data buffer 40 stores prefetch data for each channel. Further, output data transfer control circuit 30 manages and controls the prefetch data buffer 40 for controlling the execution of prefetching and also returns a prefetch data not-stored signal to the prefetch data buffer 40 for a channel where prefetch data is not yet stored therein. Furthermore, channel request control circuit 50 receives a data transfer request from a plurality of channels, selects one channel in accordance with prefetch not-stored signals for each channel and an inherent priority sequence of each channel, and accepts a data transfer request from selected channels. With this, stopping of data transfer can be protected.

Description

【発明の詳細な説明】 技術分野 本発明は入出力制御装置に関し、特に複数のチャネルか
らのデータ転送リクエストに応答して先取りバッファか
らデータを転送する入出力制御装置に関する。
TECHNICAL FIELD The present invention relates to an input/output control device, and more particularly to an input/output control device that transfers data from a prefetch buffer in response to data transfer requests from a plurality of channels.

従来技術 従来、この種の入出力装置では、複数のチャネルからの
データ転送要求(リクエスト)が競合した場合、出力転
送の際、チャネルリクエスト制御回路がチャネル固有の
優先順位のみにより1つのチャネルを選択し、選択した
チャネルのデータ転送要求を受付けていた。そして、そ
の要求に応じたデータを転送していた。また、各チャネ
ルについての優先順位については、チャネル番号と優先
順位とのテーブルにより管理されていた。
Conventional technology Conventionally, in this type of input/output device, when data transfer requests from multiple channels conflict, a channel request control circuit selects one channel only based on channel-specific priorities during output transfer. and was accepting data transfer requests for the selected channel. Then, the data according to the request was transferred. Furthermore, the priority order for each channel was managed using a table of channel numbers and priority orders.

つまり、上述した従来の入出力制御装置では、出力転送
においてチャネルリクエスト制御部が、複数のチャネル
からのデータ転送要求に対しチャネル個々の優先順位の
みにより、1つのチャネルのデータ転送要求を選択し、
データを出力していたため、先取りデータバッファ内に
そのチャネルへ転送すべきデータが未格納である状態の
場合には、そのチャネルのデータが有効な状態となるま
でチャネルへのデータ転送が停止してしまうという欠点
があった。すなわち、優先順位の高いチャネルへ転送す
べきデータが先取リバッファ内にない場合には、優先順
位の低いチャネルへ転送すべきデータが先取りバッファ
内にあっても、その転送が待たされてしまうという欠点
があった。
In other words, in the conventional input/output control device described above, in output transfer, the channel request control unit selects a data transfer request for one channel from among data transfer requests from multiple channels based only on the priority of each channel,
If the data to be transferred to that channel is not stored in the prefetch data buffer because data was being output, data transfer to the channel will be stopped until the data in that channel becomes valid. There was a drawback that it could be stored away. In other words, if there is no data in the preemption rebuffer that should be transferred to a channel with a higher priority, the transfer will be forced to wait even if there is data in the preemption buffer that should be transferred to a channel with a lower priority. was there.

発明の目的 本発明は上述した従来の欠点を解決するためになされた
ものであり、その目的はデータ転送が停止することのな
い入出力制御装置を提供することである。
OBJECTS OF THE INVENTION The present invention has been made to solve the above-mentioned conventional drawbacks, and its purpose is to provide an input/output control device in which data transfer does not stop.

発明の構成 本発明による入出力制御装置は、先取りされた主記憶内
のデータを保持する先取リバッファを含み、優先順位が
予め定められた複数のチャネルからのデータ転送リクエ
ストに応答し、前記優先順位に従って前記先取リバッフ
ァ内のデータを転送する入出力制御装置であって、前記
リクエストの受信に応答して前記先取リバッファ内に要
求対象のデータが有るか否かを判断する手段と、この判
断結果が、要求対象のデータが無いことを示したとき次
優先順位のリクエストの処理を行う手段とを有すること
を特徴とする。
Structure of the Invention An input/output control device according to the present invention includes a prefetch rebuffer that holds prefetched data in main memory, responds to data transfer requests from a plurality of channels with predetermined priorities, and responds to data transfer requests from a plurality of channels with predetermined priorities. an input/output control device that transfers data in the prefetch rebuffer according to the method, the device includes means for determining whether or not there is data to be requested in the prefetch rebuffer in response to reception of the request; , means for processing a request of the next priority when it is indicated that there is no data to be requested.

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

第1図は本発明による入出力制御装置の一実施例の構成
を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of an embodiment of an input/output control device according to the present invention.

図において、本発明の一実施例による入出力制御装置1
0は、図示せぬ複数のチャネルと接続されるものであり
、出力転送において、各チャネル毎にデータ転送の先取
りアドレスを保持する先取りデータ転送アドレスバッフ
ァ20と、各チャネル毎に先取りデータを格納する先取
り用データバッファ40と、先取りデータバッファを管
理・制御し、先取りの実行を制御すると共に、先取りブ
タバッファに先取りデータが未格納状態であるチャネル
に対しては、先取り未信号を返す出力データ転送制御回
路30と、複数のチャネルからのデータ転送要求を受は
取り、各チャネルに対する先取り未信号及び各チャネル
固有の優先順位により1つのチャネルを選択し、選択し
たチャネルのデータ転送要求を受は付けるチャネルリク
エスト制御回路50とを含んで構成されている。
In the figure, an input/output control device 1 according to an embodiment of the present invention
0 is connected to a plurality of channels (not shown), and in output transfer, there is a prefetch data transfer address buffer 20 that holds a prefetch address for data transfer for each channel, and a prefetch data transfer address buffer 20 that stores prefetch data for each channel. Output data transfer that manages and controls the prefetch data buffer 40 and the prefetch data buffer, controls the execution of prefetch, and returns a prefetch non-signal for channels for which prefetch data is not stored in the prefetch pig buffer. The control circuit 30 receives and receives data transfer requests from a plurality of channels, selects one channel based on the pre-empted signal for each channel and the priority unique to each channel, and accepts and accepts data transfer requests from the selected channel. The channel request control circuit 50 is configured to include a channel request control circuit 50.

かかる構成とされた入出力制御装置10では、図示せぬ
主記憶装置内のデータの出力転送において、あるチャネ
ルに対する出力転送開始時、チャネル対応の先取りデー
タ転送アドレスバッファ20のそのチャネルのアドレス
格納部に先取りアドレスがセットされる。そして、その
セットされた先取りアドレスiでそのチャネルからの出
力転送要求りがかかる前に図示せぬ主記憶装置へのブタ
転送要求aを送出し、主記憶装置から転送データを読出
す動作(先取り)を行う。
In the input/output control device 10 having such a configuration, when output transfer to a certain channel is started in output transfer of data in a main memory (not shown), the address storage section of the prefetch data transfer address buffer 20 corresponding to the channel is The prefetch address is set to . Then, before an output transfer request is made from that channel at the set prefetch address i, a pig transfer request a is sent to the main memory (not shown), and the operation of reading the transfer data from the main memory (prefetch )I do.

読出された主記憶装置からの転送データfは、チャネル
対応の先取り用データバッファ40のそのチャネルのデ
ータ格納部に格納される。
The read transfer data f from the main memory device is stored in the data storage section of the channel-corresponding prefetch data buffer 40 for that channel.

この状態において、先取り用データ転送アドレスバッフ
ァ20には、主記憶装置からの転送データのバイト数分
カウントアツプされた次先取アドレスbが上述のチャネ
ル格納部にセットされる。
In this state, in the prefetch data transfer address buffer 20, the next prefetch address b, which is counted up by the number of bytes of transfer data from the main memory, is set in the channel storage section described above.

先取り用データバッファ40は、出力データ転送制御回
路30からの制御信号eにより管理及び制御され、チャ
ネルからのデータ転送要求りの機動がかかると、チャネ
ルリクエスト制御回路50から、そのチャネルの先取り
データ転送要求dが出力される。すると、それを受けた
出力データ転送制御回路30により制御された先取り用
データバッファ40から、そのチャネルの先取りデータ
がチャネルへの転送データgとして出力される。
The prefetch data buffer 40 is managed and controlled by the control signal e from the output data transfer control circuit 30, and when a data transfer request is made from a channel, the prefetch data buffer 40 receives a prefetch data transfer for that channel from the channel request control circuit 50. Request d is output. Then, the prefetch data buffer 40 controlled by the output data transfer control circuit 30 that receives the prefetch data for that channel is outputted as transfer data g to the channel.

チャネルへデータが転送され先取り用データバッファ4
0にそのチャネルの有効な先取りデータがなくなると、
再び先取りを行う。
Data is transferred to the channel and prefetch data buffer 4
When 0 no longer has valid prefetch data for that channel,
Preemptive action again.

ここで、チャネルからのデータ転送要求りが同時に複数
の機動があるとき、すなわちリクエストが競合したとき
には、先取りデータ転送アドレスバッファ20内にある
先取リアドレスにより主記憶装置へのデータ転送要求a
が出力される。すると、主記憶装置からの転送データf
により先取り用データバッファ40内に各チャネルへの
転送有効データが格納されているか否かが判断される。
Here, when there are multiple data transfer requests from the channel at the same time, that is, when requests conflict, the data transfer request a to the main storage device is processed by the preemptive read address in the preemptive data transfer address buffer 20.
is output. Then, the transfer data f from the main storage device
It is determined whether valid data to be transferred to each channel is stored in the prefetch data buffer 40.

そして、格納されていないチャネルに対しては、出力デ
ータ転送制御回路30から各チャネルの先取り未信号C
が出力される。チャネルリクエスト制御回路50内では
チャネルからのデータ転送要求りがあり、かつ先取り朱
なチャネルを除いたチャネル中で、各チャネル固有の優
先順位により1つのチャネルが選択される。つまり、競
合したリクエストのうちの最優先のものが先取り未であ
れば次優先のものが選択されるのである。
For channels that are not stored, the output data transfer control circuit 30 sends a prefetched unread signal C of each channel.
is output. In the channel request control circuit 50, there is a data transfer request from a channel, and one channel is selected from among the channels excluding channels that are not preemptive based on the priority order specific to each channel. In other words, if the highest priority among competing requests has not been preempted, the next priority is selected.

このように、選択されたチャネルの先取りデータ転送要
求dはチャネルリクエスト制御回路50から出力され、
先取り用データバッファ40内のそのチャネルに対応す
る先取りデータがそのチャネルへ転送されるのである。
In this way, the preemptive data transfer request d for the selected channel is output from the channel request control circuit 50,
The prefetch data corresponding to that channel in the prefetch data buffer 40 is transferred to that channel.

よって、先取りがされていないリクエストについては後
回しをしているため、データ転送が停止することはない
のである。
Therefore, requests that have not been preempted are postponed, so data transfer does not stop.

なお、3つのリクエストが競合した場合において、第1
及び第2番目の優先順位のものが先取りされていない状
態であれば、第3番目のものについて転送が行われるこ
とはもちろんである。
Note that if three requests conflict, the first
If the second priority is not prefetched, it goes without saying that the third priority will be transferred.

発明の詳細 な説明したように本発明は、入出力制御装置における出
力転送において、複数チャネルからのデータ転送要求に
対し、データ転送要求のあるチャネルにお(する有効な
先取りデータが先取リデータバッファ内に存在する場合
にはそれを優先することにより、先取りデータバッファ
からチャネルへのデータ転送を停止することなく実行す
ることができるという効果がある。
As described in detail, the present invention provides, in output transfer in an input/output control device, in response to data transfer requests from multiple channels, valid prefetch data (to be sent to the channel with the data transfer request) is stored in the prefetch redata buffer. By giving priority to the prefetch data buffer if it exists in the prefetch data buffer, the effect is that data transfer from the prefetch data buffer to the channel can be executed without stopping.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の実施例による入出力制御装置の構成を
示すブロック図である。 主要部分の符号の説明
FIG. 1 is a block diagram showing the configuration of an input/output control device according to an embodiment of the present invention. Explanation of symbols of main parts

Claims (1)

【特許請求の範囲】[Claims] (1)先取りされた主記憶内のデータを保持する先取り
バッファを含み、優先順位が予め定められた複数のチャ
ネルからのデータ転送リクエストに応答し、前記優先順
位に従って前記先取りバッファ内のデータを転送する入
出力制御装置であって、前記リクエストの受信に応答し
て前記先取りバッファ内に要求対象のデータが有るか否
かを判断する手段と、この判断結果が、要求対象のデー
タが無いことを示したとき次優先順位のリクエストの処
理を行う手段とを有することを特徴とする入出力制御装
置。
(1) includes a prefetch buffer that holds prefetched data in main memory, responds to data transfer requests from a plurality of channels with predetermined priorities, and transfers data in the prefetch buffer according to the priority order; an input/output control device for determining whether or not there is data to be requested in the prefetch buffer in response to reception of the request; An input/output control device comprising means for processing a request of the next priority when indicated.
JP26600890A 1990-10-03 1990-10-03 Input/output controller Pending JPH04142643A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26600890A JPH04142643A (en) 1990-10-03 1990-10-03 Input/output controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26600890A JPH04142643A (en) 1990-10-03 1990-10-03 Input/output controller

Publications (1)

Publication Number Publication Date
JPH04142643A true JPH04142643A (en) 1992-05-15

Family

ID=17425092

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26600890A Pending JPH04142643A (en) 1990-10-03 1990-10-03 Input/output controller

Country Status (1)

Country Link
JP (1) JPH04142643A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02294755A (en) * 1989-05-09 1990-12-05 Nec Corp Data processor

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02294755A (en) * 1989-05-09 1990-12-05 Nec Corp Data processor

Similar Documents

Publication Publication Date Title
KR960006503B1 (en) Method and apparatus for interleaving multiple-channel dma operation
KR100284718B1 (en) Timer manager
US5958031A (en) Data transmitting/receiving device of a multiprocessor system and method therefor
ES8303746A1 (en) Request queueing in memory controller.
US20070083865A1 (en) Context switching device
US8533368B2 (en) Buffering device and buffering method
US5909704A (en) High speed address generator
JPH04142643A (en) Input/output controller
US6910119B1 (en) Instruction pipe and stall therefor to accommodate shared access to return stack buffer
JPS63231661A (en) Precedence controller
JPH07114496A (en) Shared memory control circuit
JPS61195439A (en) Remote file access system
JPS63109566A (en) Main storage access control system
JPH08115306A (en) Data transfer control method
JPS59111563A (en) Controlling system of multi-processor
Mead Two useful'Device'drivers for RSX-11M
JPS63304345A (en) Control system for memory request
JPH0520253A (en) Data processor
JPS6028022B2 (en) input/output processing unit
JPH0314155A (en) Instruction control system for local area network
JPH0311436A (en) Storage access control device
JPH02157950A (en) Shared memory controller
JPH03167652A (en) Control method for conflict of access to common resources
JPH0520165A (en) System bus controller
JPS5920030A (en) Controlling system of input and output instruction