JPH08339342A - Channel controller - Google Patents

Channel controller

Info

Publication number
JPH08339342A
JPH08339342A JP14582795A JP14582795A JPH08339342A JP H08339342 A JPH08339342 A JP H08339342A JP 14582795 A JP14582795 A JP 14582795A JP 14582795 A JP14582795 A JP 14582795A JP H08339342 A JPH08339342 A JP H08339342A
Authority
JP
Japan
Prior art keywords
channel
data
signal
buffer
control unit
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
JP14582795A
Other languages
Japanese (ja)
Inventor
Kaoru Nichogi
馨 二梃木
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 Engineering Ltd
Original Assignee
NEC Engineering 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 Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP14582795A priority Critical patent/JPH08339342A/en
Publication of JPH08339342A publication Critical patent/JPH08339342A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE: To provide a channel controller having a high data transfer processing efficiency by detecting channel buffers having free areas and preferentially controlling the data write to the channel buffer, where data is not held at all, out of channel buffers. CONSTITUTION: A channel controller 2 includes channels 22-1 to 22-N provided correspondingly to peripheral devices 3-1 to 3-N, a channel control part 23 which sends a channel number calculation signal 204 indicating the channel to be controlled in accordance with a memory request signal 201 and an idle signal 204 from each channel 22, and a storage control part 21 which sends data in a main storage device 1 to one of channels 22 in accordance with the channel calculation signal 204. Thus, the idle signal also is referred to settle the channel number, and data is preferentially written in the channel buffer where data is not held at all.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はチャネル制御装置に関
し、特に主記憶装置と周辺装置との間のデータ転送を行
うチャネル制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a channel control device, and more particularly to a channel control device for transferring data between a main memory device and peripheral devices.

【0002】[0002]

【従来の技術】一般に、スーパーコンピュータには入出
力チャネル装置が設けられており、主記憶装置と周辺装
置との間の大量のデータを高速に処理する。
2. Description of the Related Art Generally, a supercomputer is provided with an input / output channel device for processing a large amount of data between a main storage device and peripheral devices at high speed.

【0003】また、スーパーコンピュータに限らず大型
汎用コンピュータの入出力チャネル装置にも、通常複数
のチャネルが接続される。通常その接続されている全て
のチャネルを1つの記憶制御部で制御するため、チャネ
ルからの要求またはチャネルに対しての指示を全チャネ
ルに対して効率的に行う必要がある。
A plurality of channels are usually connected not only to a super computer but also to an input / output channel device of a large general-purpose computer. Usually, all the connected channels are controlled by one storage control unit, so that it is necessary to efficiently issue a request from the channel or an instruction to the channel to all the channels.

【0004】従来、この種のチャネル制御装置は、主記
憶装置とチャネルとの間のデータの転送の制御を行う記
憶制御部と、記憶制御部と周辺装置との間のデータ転送
の制御を行うチャネルと、このチャネルに内蔵され記憶
制御部と周辺装置との間の転送データを一時的に蓄えて
おくためのバッファと、チャネルからの要求により記憶
制御部にチャネルの割出し信号を発行するチャネル制御
部とを含んで構成されている。
Conventionally, this type of channel control device controls a data transfer between a memory control unit and a peripheral device and a memory control unit for controlling data transfer between a main memory device and a channel. A channel, a buffer built in this channel for temporarily storing transfer data between the storage control unit and peripheral devices, and a channel that issues a channel index signal to the storage control unit in response to a request from the channel. And a control unit.

【0005】主記憶装置と周辺装置との間のデータ転送
をチャネル制御装置が管理する。チャネル制御装置内で
は、記憶制御部が主記憶装置とチャネルとの間のデータ
転送を制御する。チャネルはチャネル内にあるバッファ
に少しでも空き領域が生じるとチャネル制御部に対し
て、メモリリクエストを要求する。
The channel controller manages the data transfer between the main memory and the peripheral devices. In the channel control device, the storage control unit controls data transfer between the main storage device and the channel. The channel requests a memory request from the channel control unit when the buffer in the channel has a free space.

【0006】メモリリクエストを受けたチャネル制御部
は、その時点でメモリリクエストを発行しているチャネ
ルから循環的にチャネル番号を選び、そのチャネル番号
を記憶制御部に対して発行する。例えば、チャネル制御
装置に番号0〜9までの10台のチャネルがあり、チャ
ネル制御部がチャネル0,1,2,・・・9の順で循環
的にチャネルを割出すものとする。すると、現時点でチ
ャネル0を処理中ならチャネル制御部はチャネル1の割
出しを、最優先で処理すべきチャネルとして記憶制御部
に対して、そのチャネルナンバを発行する。同様に、チ
ャネル9を処理中ならチャネル0を最優先で処理すべき
チャネルとする。
Upon receipt of the memory request, the channel control unit cyclically selects a channel number from the channels which are issuing memory requests at that time, and issues the channel number to the storage control unit. For example, it is assumed that the channel control device has 10 channels numbered 0 to 9, and the channel control unit cyclically indexes channels in the order of channels 0, 1, 2 ,. Then, if channel 0 is currently being processed, the channel control unit issues the index of channel 1 to the storage control unit as the channel to be processed with the highest priority, to the storage control unit. Similarly, if channel 9 is being processed, channel 0 is the channel to be processed with the highest priority.

【0007】この種の装置が特開平5−128044号
公報にも開示されている。これは、ライトポインタとリ
ードポインタとの差分によってチャネル内のバッファの
空き領域を検出してメモリリクエストを出力し、リクエ
スト同士が競合した場合には若番若しくは老番のチャネ
ルのリクエストを優先的に受け付ける構成である。
An apparatus of this type is also disclosed in Japanese Patent Laid-Open No. 5-128044. This is because the free area of the buffer in the channel is detected by the difference between the write pointer and the read pointer and the memory request is output, and when the requests conflict with each other, the request of the younger or older channel is given priority. It is a configuration that accepts.

【0008】[0008]

【発明が解決しようとする課題】しかし、上述した従来
の各チャネル制御装置では、リクエストの優先順位を循
環的に決めているので、システム全体のデータ転送処理
効率は必ずしも高くないという欠点があった。
However, in each of the above-mentioned conventional channel control devices, the priority order of requests is cyclically determined, so that the data transfer processing efficiency of the entire system is not necessarily high. .

【0009】なお、特開平5−173923号公報には
データ転送レート等をもとにデータオーバランを予期し
てリクエストの優先順位を決める装置が開示されてい
る。しかし、同公報にはデータオーバランの予期方法が
具体的に開示されておらず、処理効率を向上させること
はできない。
Japanese Patent Laid-Open No. 5-173923 discloses a device for predicting a data overrun and prioritizing requests based on the data transfer rate and the like. However, the publication does not specifically disclose a method of predicting data overrun, and cannot improve processing efficiency.

【0010】本発明は上述した従来技術の欠点を解決す
るためになされたものであり、その目的はデータ転送処
理効率の高いチャネル制御装置を提供することである。
The present invention has been made to solve the above-mentioned drawbacks of the prior art, and an object thereof is to provide a channel control device having high data transfer processing efficiency.

【0011】[0011]

【課題を解決するための手段】本発明によるチャネル制
御装置は、主記憶装置と周辺装置との間で転送すべきデ
ータを一時保持するN個(Nは2以上の整数、以下同
じ)のチャネルバッファに対し所定の優先順位でデータ
の書込制御を行うチャネル制御装置であって、前記N個
のチャネルバッファのうちデータが全く保持されていな
いものを検出する第1の検出手段と、この検出されたチ
ャネルバッファに対して優先的にデータの書込制御を行
うチャネル制御手段とを含むことを特徴とする。
A channel control device according to the present invention has N channels (N is an integer of 2 or more, the same applies hereinafter) for temporarily holding data to be transferred between a main memory device and a peripheral device. A channel control device for controlling writing of data to a buffer in a predetermined priority order, and first detecting means for detecting one of the N channel buffers that does not hold any data, and the detection means. Channel control means for preferentially controlling data writing to the selected channel buffer.

【0012】また、本発明による他のチャネル制御装置
は、上記の構成に加え、前記N個のチャネルバッファの
うち空き領域があるものを検出する第2の検出手段を更
に含み、前記チャネル制御手段は前記第1の検出手段に
より検出され、かつ前記第2の検出手段により検出され
たチャネルバッファに対して優先的にデータの書込制御
を行うことを特徴とする。
In addition to the above configuration, another channel control device according to the present invention further includes second detection means for detecting a free area among the N channel buffers. Is characterized in that data write control is preferentially performed on the channel buffer detected by the first detecting means and detected by the second detecting means.

【0013】[0013]

【作用】チャネルバッファのうち空き領域があるものを
検出する他、チャネルバッファのうちデータが全く保持
されていないものを検出する。データが全く保持されて
いないチャネルバッファに対して優先的にデータの書込
制御を行う。
In addition to detecting an empty area of the channel buffer, an empty area of the channel buffer is detected. Data write control is preferentially performed for a channel buffer that does not hold any data.

【0014】[0014]

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

【0015】図1は本発明によるチャネル制御装置の一
実施例の構成を示すブロック図である。図において、本
発明の一実施例によるチャネル制御装置2は、主記憶装
置1と周辺装置3―i(i=1、2、…N、以下同じ)
との間に設けられ、両装置間のデータ転送制御を行うも
のである。
FIG. 1 is a block diagram showing the configuration of an embodiment of a channel control device according to the present invention. In the figure, a channel controller 2 according to an embodiment of the present invention includes a main memory device 1 and a peripheral device 3-i (i = 1, 2, ...
Is provided between the two devices and controls the data transfer between both devices.

【0016】本例のチャネル制御装置2は、周辺装置3
―iの各々に対応して設けられたチャネル22―iと、
各チャネル22―iからのメモリリクエスト信号201
及びアイドル信号202に応じて制御すべきチャネルを
示すチャネルナンバ割出し信号204を送出するチャネ
ル制御部23と、この送出されるチャネルナンバ割出し
信号204に応じて主記憶装置1内のデータをチャネル
22―iのいずれかに送出する記憶制御部21とを含ん
で構成されている。
The channel control device 2 of this example comprises a peripheral device 3
-Channels 22-i provided corresponding to each of i,
Memory request signal 201 from each channel 22-i
And a channel control unit 23 for transmitting a channel number indexing signal 204 indicating a channel to be controlled according to the idle signal 202, and a channel in which data in the main storage device 1 is channeled according to the channel number indexing signal 204 transmitted. 22-i, and the storage control unit 21 for sending to any of the units 22-i.

【0017】各チャネル22―iは、対応する周辺装置
3―iに送出すべきデータを一時保持するチャネルバッ
ファ221―iを含んで構成されており、チャネルバッ
ファがビジー状態でないときにアイドル信号202を送
出する。
Each channel 22-i includes a channel buffer 221-i for temporarily holding data to be sent to the corresponding peripheral device 3-i, and an idle signal 202 when the channel buffer is not busy. Is sent.

【0018】チャネル制御部23は、各チャネル22―
iに対応するビットを有し対応するチャネルからメモリ
リクエスト信号が送出されている間だけそのビットが
「1」にセットされるレジスタ232と、このレジスタ
232のNビットの出力信号205と各チャネル22―
iからのNビットのアイドル信号202との対応するビ
ット同士の論理積をとる優先チャネル判定回路233
と、この判定回路233のNビットの出力信号とレジス
タ232のNビットの出力信号205とに応じてチャネ
ルナンバ割出し信号204を送出するチャネルナンバ確
定回路231とを含んで構成されている。
The channel controller 23 controls each channel 22-
A register 232 which has a bit corresponding to i and whose bit is set to "1" only while the memory request signal is transmitted from the corresponding channel, an N-bit output signal 205 of this register 232, and each channel 22 -
Priority channel determination circuit 233 that ANDs corresponding bits with the N-bit idle signal 202 from i.
And a channel number determining circuit 231 that sends out a channel number indexing signal 204 according to the N-bit output signal of the determination circuit 233 and the N-bit output signal 205 of the register 232.

【0019】かかる構成において、チャネル制御装置2
は、主記憶装置1と周辺装置3−iとの間のデータ転送
を制御する。記憶制御部21は、チャネル制御部23中
のチャネルナンバ確定回路231からのチャネルナンバ
割出し信号204によってメモリリクエストを処理すべ
きチャネルナンバを確定する。そして、制御部21はそ
のチャネルについて主記憶装置1とチャネルバッファ2
21−iとの間のデータの流れを制御する。
In such a configuration, the channel control device 2
Controls data transfer between the main storage device 1 and the peripheral device 3-i. The storage control unit 21 determines the channel number to process the memory request by the channel number indexing signal 204 from the channel number determination circuit 231 in the channel control unit 23. Then, the control unit 21 causes the main storage device 1 and the channel buffer 2 for the channel
21-i to control the flow of data.

【0020】チャネル22−iは、記憶制御部21と周
辺装置3−iとの間のデータの流れを制御する。また、
バッファ221のデータをある一定量転送しバッファ内
に空き領域ができると、メモリリクエスト信号201を
レジスタ232へ発行する。
The channel 22-i controls the flow of data between the storage controller 21 and the peripheral device 3-i. Also,
When a certain amount of data in the buffer 221 is transferred and an empty area is created in the buffer, the memory request signal 201 is issued to the register 232.

【0021】各バッファ221−iは、記憶制御部21
と周辺装置3−iとの間のデータを一時的に蓄えておく
ものである。各バッファ221−iは、バッファ内の保
持データが全く無くなると(ビジー状態でない状態)、
チャネル制御部23内の優先チャネル判定回路231に
対して、アイドル信号202を発行する。
Each buffer 221-i has a storage controller 21.
The data between the peripheral device 3-i and the peripheral device 3-i are temporarily stored. Each of the buffers 221-i has no stored data in the buffers (is not in a busy state),
The idle signal 202 is issued to the priority channel determination circuit 231 in the channel control unit 23.

【0022】レジスタ232は、チャネル22からのメ
モリリクエスト信号201を受信すると、その信号がど
のチャネルからのものかを保持する。この保持に応答し
て記憶制御部21はそのチャネルへのメモリリクエスト
処理を行う。すなわち、記憶制御部21は主記憶装置1
からのデータを、そのチャネルに対して送出する。そし
てレジスタ232内の、そのチャネルに対応した保持領
域がリセットされるまで、チャネル制御部23内のチャ
ネルナンバ確定回路231と優先チャネル判定回路23
3とに、そのチャネルに対応したメモリリクエスト信号
が分配される。
When the memory request signal 201 from the channel 22 is received, the register 232 holds which channel the signal is from. In response to this holding, the storage control unit 21 performs memory request processing for the channel. That is, the storage control unit 21 uses the main storage device 1
Send data from the channel to that channel. Then, until the holding area corresponding to the channel in the register 232 is reset, the channel number determination circuit 231 and the priority channel determination circuit 23 in the channel control unit 23.
The memory request signal corresponding to the channel is distributed to the channels 3 and 3.

【0023】優先チャネル判定回路233は、レジスタ
232から分配された各チャネルに対応したメモリリク
エスト信号とバッファ221の転送データが無くなった
ことを示すアイドル信号202との2つの入力を持つ。
この優先チャネル判定回路233は、同一チャネルから
のメモリリクエスト信号201とアイドル信号202が
共にTrue(あるチャネルからメモリリクエストが発
行されていて、かつそのメモリリクエストを発行してい
るチャネルから、同チャネル内のバッファの転送データ
が無くなったことを示すアイドル信号が発行された状
態)の時、チャネルナンバ確定回路231に対して、優
先割出し信号203を発行する。
The priority channel determination circuit 233 has two inputs, a memory request signal corresponding to each channel distributed from the register 232 and an idle signal 202 indicating that the transfer data of the buffer 221 has been exhausted.
In this priority channel determination circuit 233, the memory request signal 201 and the idle signal 202 from the same channel are both True (the memory request is issued from a certain channel, and the channel from which the memory request is issued When the idle signal indicating that the transfer data of the buffer has been exhausted is issued), the priority indexing signal 203 is issued to the channel number determination circuit 231.

【0024】チャネルナンバ確定回路231は、レジス
タ232からのメモリリクエスト信号と優先チャネル判
定回路233からの優先割出し信号203との2つの入
力を持つ。通常、チャネルナンバ確定回路231は、レ
ジスタ232からのメモリリクエスト信号によって、処
理すべきチャネルのチャネルナンバを確定し、記憶制御
部21に対してチャネルナンバ割出し信号203を発行
する。また、優先チャネル判定回路233からの優先割
出し信号203を受信した場合は、その優先割出し信号
203によって示されたチャネルナンバを優先的に処理
すべきチャネルナンバとし、チャネルナンバ割出し信号
204によって記憶制御部21に通知する。
The channel number decision circuit 231 has two inputs, a memory request signal from the register 232 and a priority index signal 203 from the priority channel determination circuit 233. Normally, the channel number determination circuit 231 determines the channel number of the channel to be processed by the memory request signal from the register 232, and issues the channel number indexing signal 203 to the storage controller 21. When the priority indexing signal 203 from the priority channel determining circuit 233 is received, the channel number indicated by the priority indexing signal 203 is set as the channel number to be preferentially processed, and the channel number indexing signal 204 is used. The storage control unit 21 is notified.

【0025】記憶制御部21は、チャネル制御部23内
のチャネル確定回路231によって決定されたチャネル
ナンバを、チャネルナンバ割出し信号204によって受
取り、そのチャネルに対してメモリリクエスト処理を行
う。すなわち、主記憶装置1からのデータを、そのチャ
ネルに対して送出する。
The storage control unit 21 receives the channel number determined by the channel determining circuit 231 in the channel control unit 23 by the channel number indexing signal 204, and performs memory request processing for the channel. That is, the data from the main storage device 1 is sent to the channel.

【0026】通常、チャネルナンバ確定回路231は、
レジスタ232によって得たメモリリクエスト信号を周
知のラウンドロビンアルゴリズム等によって循環的に割
出し、チャネルナンバを決定している。ここで、バッフ
ァ221中の転送データが無くなることによって発生し
たアイドル信号を優先チャネル判定回路233が受信
し、優先割出し信号203をチャネルナンバ確定回路2
31に発行した場合、チャネルナンバ確定回路231は
受信した優先割出し信号から得たチャネルナンバを優先
的に割出す。かかる制御によって、チャネルを有効的に
利用することが可能となり、システムの処理効率の向上
を図ることができるのである。
Normally, the channel number determination circuit 231 is
The memory request signal obtained by the register 232 is cyclically indexed by a well-known round robin algorithm or the like to determine the channel number. Here, the priority channel determination circuit 233 receives an idle signal generated due to the lack of transfer data in the buffer 221, and the priority indexing signal 203 is sent to the channel number determination circuit 2.
When issued to 31, the channel number determining circuit 231 preferentially indexes the channel number obtained from the received priority indexing signal. By such control, the channel can be effectively used, and the processing efficiency of the system can be improved.

【0027】ここで、チャネルナンバ確定回路231に
ついて説明する。図2は、図1中のチャネルナンバ確定
回路の内部構成を示すブロック図であり、図1と同等部
分は同一符号により示されている。
Here, the channel number determining circuit 231 will be described. 2 is a block diagram showing an internal configuration of the channel number determination circuit in FIG. 1, and the same parts as those in FIG. 1 are designated by the same reference numerals.

【0028】図において、チャネルナンバ確定回路23
1は、チャネルの個数「N」を最大値とするカウンタ
(「N」の次は「1」となる)60と、このカウンタ6
0から出力されるカウント値をデコードし1〜Nのチャ
ネルに対応する1つの信号線を「1」にするデコーダ5
0と、各チャネルからのメモリリクエスト信号であるレ
ジスタ233の出力信号205とデコーダ50からの信
号とを論理積するアンドゲート群70と、このアンドゲ
ート群70の出力を保持するレジスタ10とを含んで構
成されている。
In the figure, a channel number determining circuit 23
1 is a counter 60 that maximizes the number “N” of channels (“1” is next to “N”), and this counter 6
Decoder 5 that decodes the count value output from 0 and sets one signal line corresponding to channels 1 to N to "1"
0, an AND gate group 70 that logically ANDs the output signal 205 of the register 233, which is a memory request signal from each channel, and the signal from the decoder 50, and the register 10 that holds the output of this AND gate group 70. It is composed of.

【0029】またチャネルナンバ確定回路231は、優
先チャネル判定回路233からの優先割出し信号を保持
するレジスタ20と、レジスタ10及び20の出力に応
じてレジスタ30の書込みを行うファームウェア40
と、このファームウェア40によって書込まれチャネル
ナンバ割出し信号を送出するレジスタ30とを含んで構
成されている。
The channel number determination circuit 231 also stores the register 20 for holding the priority indexing signal from the priority channel determination circuit 233 and the firmware 40 for writing the register 30 according to the outputs of the registers 10 and 20.
And a register 30 for transmitting a channel number indexing signal written by the firmware 40.

【0030】かかる構成において、カウンタ60は
「1」から「N」まで+1ずつインクリメントする動作
を行い、このカウント値がデコーダ50に常時入力され
る。デコーダ50は、そのカウント値をデコードし、1
からNまでの夫々のチャネルに対応した信号線の値を
「1」にする。つまり、デコーダ50から延びる信号線
1〜Nのうち、1つだけが「1」になる。また、各々の
チャネルに対応したメモリリクエスト信号とチャネルに
対応したデコーダ50からの信号とが共に「1」であっ
た場合は、レジスタ10内のそのチャネルに対応するビ
ットに「1」が書込まれる。
In such a configuration, the counter 60 performs an operation of incrementing by 1 from "1" to "N", and this count value is constantly input to the decoder 50. The decoder 50 decodes the count value and outputs 1
The value of the signal line corresponding to each channel from 1 to N is set to "1". That is, only one of the signal lines 1 to N extending from the decoder 50 becomes “1”. If the memory request signal corresponding to each channel and the signal from the decoder 50 corresponding to each channel are both "1", "1" is written in the bit corresponding to that channel in the register 10. Be done.

【0031】レジスタ20には、チャネルからのアイド
ル信号203がそのまま書込まれる。ファームウェア4
0はレジスタ10及びレジスタ20の両保持データを使
用して、最終的なチャネルナンバを決定しその結果をレ
ジスタ30に書込む。
The idle signal 203 from the channel is written in the register 20 as it is. Firmware 4
0 uses both the data held in the registers 10 and 20 to determine the final channel number and writes the result in the register 30.

【0032】さらに図3を参照して説明する。図3は図
2中のファームウェア40の動作を示すフローチャート
である。図において、まず最初にファームウェアはレジ
スタ10の内容を読出し(ステップ301)、レジスタ
10のビットが全て「0」かどうかを判断する(ステッ
プ302)。レジスタ10のビットが全て「0」であれ
ば、ステップ301における読出しを続行する(ステッ
プ302→301)。
Further description will be given with reference to FIG. FIG. 3 is a flowchart showing the operation of the firmware 40 shown in FIG. In the figure, first, the firmware reads the contents of the register 10 (step 301) and judges whether all the bits of the register 10 are "0" (step 302). If all the bits of the register 10 are "0", the reading in step 301 is continued (step 302 → 301).

【0033】レジスタ10のビットが全て「0」ではな
い場合には(1ビットでも「1」があれば)、今度はレ
ジスタ20の内容を読出し(ステップ303)、レジス
タ20のビットが全て「0」かどうかを判断する(ステ
ップ304)。
When all the bits of the register 10 are not "0" (even if there is one bit "1"), the contents of the register 20 are read this time (step 303), and all the bits of the register 20 are "0". It is determined (step 304).

【0034】レジスタ20のビットが全て「0」であれ
ば、いずれのチャネルからもアイドル信号が送出されて
いないものと判断できる。よって、この場合にはレジス
タ10の内容からチャネルナンバを確定し、レジスタ3
0にその値を書込む。
If all the bits of the register 20 are "0", it can be judged that the idle signal is not transmitted from any channel. Therefore, in this case, the channel number is determined from the contents of the register 10 and the register 3
Write the value to 0.

【0035】一方、レジスタ20のビットが全て「0」
ではない場合には(1ビットでも「1」があれば)、い
ずれかのチャネルからアイドル信号が送出されているも
のと判断できる。よって、この場合にはレジスタ20の
内容からチャネルナンバを確定し、レジスタ30にその
値を書込む。
On the other hand, all the bits of the register 20 are "0".
If not (if there is 1 in 1 bit), it can be determined that the idle signal is transmitted from any channel. Therefore, in this case, the channel number is determined from the contents of the register 20 and the value is written in the register 30.

【0036】要するに、メモリリクエスト信号に応じて
チャネルナンバを確定するだけでなく、チャネルバッフ
ァにデータが全く保持されていない状態において送出さ
れるアイドル信号をも参照してチャネルナンバを確定し
ているので、データが全く保持されていないチャネルバ
ッファに対して優先的にデータを書込むことにより、処
理効率を向上させることができるのである。
In short, not only is the channel number determined in accordance with the memory request signal, but the channel number is also determined by referring to the idle signal sent when no data is held in the channel buffer. By preferentially writing data to the channel buffer in which no data is held, the processing efficiency can be improved.

【0037】従来の装置では、チャネルバッファの使用
状態が各チャネルで異なってもチャネル番号を決定する
処理にチャネルバッファの使用状態が反映されず、各チ
ャネルのメモリリクエスト処理に片寄りが発生し、それ
がシステム全体の処理効率を低下させていた。これに対
し、本装置では、チャネルバッファの使用状態をチャネ
ル番号の確定処理に反映させることにより、チャネルの
メモリリクエスト処理の片寄りを無くし、システムの処
理効率の低下を防いでいるのである。
In the conventional device, even if the usage status of the channel buffer is different for each channel, the usage status of the channel buffer is not reflected in the processing for determining the channel number, and a deviation occurs in the memory request processing of each channel. That reduced the processing efficiency of the entire system. On the other hand, in this apparatus, the usage state of the channel buffer is reflected in the channel number confirmation processing, thereby eliminating the deviation of the channel memory request processing and preventing the system processing efficiency from deteriorating.

【0038】すなわち、チャネルはある一定量の空きが
チャネルバッファに生じるとメモリリクエストをチャネ
ル制御部23に対して発行する。しかし、チャネル制御
部23では循環的にチャネル番号を決定しているため
に、チャネルがメモリリクエストを発行してからチャネ
ル制御部によって割出されメモリリクエスト処理が実行
されるまでに時間がかかる(自チャネルの順番が回って
くるまで待たされる)。その期間中にチャネルバッファ
内のデータが全く無くなると、チャネルはチャネル制御
部23に対してアイドル信号202を発行する。チャネ
ル制御部23は、同一チャネルからのメモリリクエスト
信号201とアイドル信号202とを監視し、同一チャ
ネルからのメモリリクエスト信号とアイドル信号とが共
にTrue(「1」)の場合は、記憶制御装置1に対し
てそのチャネルを優先的に割出す。
That is, the channel issues a memory request to the channel controller 23 when a certain amount of free space is generated in the channel buffer. However, since the channel control unit 23 cyclically determines the channel number, it takes time from when the channel issues a memory request to when the channel is indexed by the channel control unit and the memory request process is executed. Wait until the turn of the channel comes). If there is no more data in the channel buffer during that period, the channel issues an idle signal 202 to the channel controller 23. The channel control unit 23 monitors the memory request signal 201 and the idle signal 202 from the same channel, and when both the memory request signal and the idle signal from the same channel are True (“1”), the storage control device 1 Preferentially index that channel to.

【0039】チャネルはメモリリクエスト信号をチャネ
ル制御部23に対して発行しているにもかかわらず、チ
ャネルバッファのデータが尽きた場合に、アイドル信号
202をチャネル制御部23に発行する。このことによ
り、チャネル制御部23は、そのチャネルを他のチャネ
ルより優先的にメモリリクエスト処理を行うことができ
るので、チャネルバッファの使用状態にあったチャネル
の制御ができる。
Although the channel issues the memory request signal to the channel control unit 23, when the data in the channel buffer is exhausted, the idle signal 202 is issued to the channel control unit 23. As a result, the channel control unit 23 can preferentially perform the memory request processing for the channel over the other channels, and thus can control the channel in the usage state of the channel buffer.

【0040】[0040]

【発明の効果】以上説明したように本発明は、メモリリ
クエスト信号の他に、チャネルバッファの使用状態を参
照して処理を行うことにより、データ転送処理効率を向
上させることができるという効果がある。
As described above, the present invention has the effect that the data transfer processing efficiency can be improved by performing processing by referring to the usage status of the channel buffer in addition to the memory request signal. .

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

【図1】本発明の実施例によるチャネル制御装置の構成
を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a channel control device according to an embodiment of the present invention.

【図2】図1中のチャネルナンバ確定回路の内部構成を
示すブロック図である。
FIG. 2 is a block diagram showing an internal configuration of a channel number determination circuit in FIG.

【図3】図2のチャネルナンバ確定回路におけるファー
ムウェアの動作を示すフローチャートである。
FIG. 3 is a flowchart showing the operation of firmware in the channel number determination circuit of FIG.

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

1 主記憶装置 2 チャネル制御装置 3―1〜3―N 周辺装置 21 記憶制御装置 22―1〜22―N チャネル 23 チャネル制御部 221―1〜221―N チャネルバッファ 231 チャネルナンバ確定回路 232 レジスタ 233 優先チャネル判定回路 1 Main Storage Device 2 Channel Control Device 3-1 to 3-N Peripheral Device 21 Storage Control Device 22-1 to 22-N Channel 23 Channel Control Unit 221-1 to 221-N Channel Buffer 231 Channel Number Confirmation Circuit 232 Register 233 Priority channel judgment circuit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 主記憶装置と周辺装置との間で転送すべ
きデータを一時保持するN個(Nは2以上の整数)のチ
ャネルバッファに対し所定の優先順位でデータの書込制
御を行うチャネル制御装置であって、前記N個のチャネ
ルバッファのうちデータが全く保持されていないものを
検出する第1の検出手段と、この検出されたチャネルバ
ッファに対して優先的にデータの書込制御を行うチャネ
ル制御手段とを含むことを特徴とするチャネル制御装
置。
1. Data write control is performed with a predetermined priority to N (N is an integer of 2 or more) channel buffers that temporarily hold data to be transferred between a main memory device and a peripheral device. A channel control device, which detects first one of the N channel buffers in which no data is held, and write control of data preferentially to the detected channel buffer. And a channel control means for performing the above.
【請求項2】 前記第1の検出手段は、前記N個のチャ
ネルバッファのいずれかがビジー状態でないとき該チャ
ネルバッファにデータが全く保持されていないと判断す
ることを特徴とする請求項1記載のチャネル制御装置。
2. The first detecting means determines that no data is held in the channel buffer when any of the N channel buffers is not busy. Channel controller.
【請求項3】 前記N個のチャネルバッファのうち空き
領域があるものを検出する第2の検出手段を更に含み、
前記チャネル制御手段は前記第1の検出手段により検出
され、かつ前記第2の検出手段により検出されたチャネ
ルバッファに対して優先的にデータの書込制御を行うこ
とを特徴とする請求項1又は2記載のチャネル制御装
置。
3. Further comprising second detecting means for detecting one of the N channel buffers having a free area,
2. The channel control means preferentially performs data write control on the channel buffer detected by the first detection means and detected by the second detection means. 2. The channel control device according to 2.
JP14582795A 1995-06-13 1995-06-13 Channel controller Withdrawn JPH08339342A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14582795A JPH08339342A (en) 1995-06-13 1995-06-13 Channel controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14582795A JPH08339342A (en) 1995-06-13 1995-06-13 Channel controller

Publications (1)

Publication Number Publication Date
JPH08339342A true JPH08339342A (en) 1996-12-24

Family

ID=15394045

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14582795A Withdrawn JPH08339342A (en) 1995-06-13 1995-06-13 Channel controller

Country Status (1)

Country Link
JP (1) JPH08339342A (en)

Similar Documents

Publication Publication Date Title
US5781927A (en) Main memory arbitration with priority scheduling capability including multiple priorty signal connections
US5890203A (en) Data transfer device for transfer of data distributed and stored by striping
WO1997044738A1 (en) Multiprocessing interrupt controller on i/o bus
JPH0728758A (en) And device for dynamic time loop arbitration
CN115361336A (en) Router with cache, route switching network system, chip and routing method
US20050144338A1 (en) Data transfer apparatus
US6457106B1 (en) Shared memory control system and shared memory control method
US7529857B2 (en) Data processing apparatus and data transfer control method
JPH08339342A (en) Channel controller
US7240144B2 (en) Arbitration of data transfer requests
JPH02135562A (en) Queue buffer control system
US20030088723A1 (en) System and method for processing interrupts
JP3005456B2 (en) Vector processing equipment
JPH05134889A (en) Redundant system for process controller
JPH0833869B2 (en) Data processing device
JPH0644193A (en) I/o register access system
JP2000132527A (en) Inter-processor communication controller
JP3063501B2 (en) Memory access control method
JPH1011387A (en) Information processor
JP2972568B2 (en) Bus extender
JPS6252342B2 (en)
JPH0736806A (en) Dma system
EP1193606B1 (en) Apparatus and method for a host port interface unit in a digital signal processing unit
JP2803616B2 (en) I / O bus interface control method
JPH06214882A (en) Compound information processor

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: 20020903