JPH10262070A - Data-processing system - Google Patents

Data-processing system

Info

Publication number
JPH10262070A
JPH10262070A JP6681897A JP6681897A JPH10262070A JP H10262070 A JPH10262070 A JP H10262070A JP 6681897 A JP6681897 A JP 6681897A JP 6681897 A JP6681897 A JP 6681897A JP H10262070 A JPH10262070 A JP H10262070A
Authority
JP
Japan
Prior art keywords
packet
common bus
bus
command
request signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP6681897A
Other languages
Japanese (ja)
Other versions
JP3379377B2 (en
Inventor
Kiyoshi Sudo
清 須藤
Yasuyuki Higashiura
康之 東浦
Isao Sasazaki
勲 笹崎
Takanori Kato
貴紀 加藤
Shingo Iguchi
真吾 井口
Tatsuya Yamaguchi
達也 山口
Hiroyuki Imoto
博之 井本
Junji Hirooka
順二 廣岡
Yumi Hirasawa
ゆみ 平澤
Hideo Fukuoka
日出男 福岡
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP06681897A priority Critical patent/JP3379377B2/en
Publication of JPH10262070A publication Critical patent/JPH10262070A/en
Application granted granted Critical
Publication of JP3379377B2 publication Critical patent/JP3379377B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To perform efficient bus control at the time of transferring the command and data of a packet form by using a common bus with respect to a data processing system. SOLUTION: In this data-processing system, plural equipment mutually transmit and receive packets by using the common bus, the respective equipment output the use request signals of the common bus of predetermined priority prior to packet transmission and a bus arbiter is provided with a control means for mediating the use request signals of the common bus, deciding the using equipment of the common bus corresponding to the priority and granting a permission. The respective equipment are provided with a means for outputting the use request signals of the common bus and outputting information for indicating the transfer opposite party, the bus arbiter is provided with a means for receiving the information and a packet reception side equipment is provided with a means for reporting the information of the state or the like to the bus arbiter or/and all the equipment, when the buffer for reception command packets of the present equipment is busy and is in a state, incapable of receiving a new command packet.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、共通バス{以下、
共通バス(CBUS)という}を使用したデータ処理システム
に係り、特に共通バス(CBUS)を使用してパケット形式の
コマンド及びデータの転送を行うデータ処理システムに
おける、効率よいパケット転送のための手段及び制御手
段に関する。
TECHNICAL FIELD The present invention relates to a common bus
The present invention relates to a data processing system using a common bus (CBUS), and particularly to a means for efficient packet transfer in a data processing system that transfers packet-format commands and data using the common bus (CBUS). It relates to control means.

【0002】近年のデータ処理規模の拡大に伴い、高性
能のデータ処理システムの需要が益々増加している。高
性能化の一手段として、各装置間を共通バス(CBUS)で接
続し、その共通バス(CBUS)を使ってパケット形式のデー
タ転送を行うことにより、低コストでありかつ高性能な
転送能力を実現したデータ処理システムが増えつつある
が、パケット形式には後述するような問題があり、要求
される性能をなかなか達成できないのが実情である。従
って、低コストでありかつ高性能なデータ処理システム
を実現するためのよりよいパケット転送のための制御手
段が要望されている。
[0002] With the recent increase in the scale of data processing, the demand for high-performance data processing systems is increasing. As a means of high performance, a low-cost and high-performance transfer capability is achieved by connecting each device with a common bus (CBUS) and performing packet format data transfer using the common bus (CBUS). Are increasing, but the packet format has the following problems, and the required performance cannot be easily achieved. Therefore, there is a need for a control means for better packet transfer for realizing a low-cost and high-performance data processing system.

【0003】[0003]

【従来の技術】図16は、従来のデータ処理システムを
説明する図である。図16において、CBUSは、共通バス
を示し、1,2,3 はそれぞれ、装置を示し、9 は、上記共
通バス(CBUS)への各装置 1, 装置 2, 装置 3からの使用
要求信号を調停するバスアービタを示す。
2. Description of the Related Art FIG. 16 is a diagram for explaining a conventional data processing system. In FIG. 16, CBUS indicates a common bus, 1, 2, and 3 indicate devices, respectively, and 9 indicates a use request signal from each of the devices 1, 2, and 3 to the common bus (CBUS). Indicates the bus arbiter to arbitrate.

【0004】BRQ1、BRQ2、BRQ3は、それぞれ装置 1、装
置 2、装置 3が出力する、共通バス(CBUS)の使用要求信
号を示し、BGR1、BGR2、BGR3は、それぞれ、装置 1、装
置 2、装置 3に対する、共通バス(CBUS)の使用許可信号
を示す。
[0004] BRQ1, BRQ2, and BRQ3 indicate use request signals for the common bus (CBUS) output from the device 1, the device 2, and the device 3, respectively. BGR1, BGR2, and BGR3 indicate the device 1, the device 2, and the device 2, respectively. 6 shows a signal for permitting use of the common bus (CBUS) for the device 3.

【0005】10、20、30は、それぞれ装置 1、装置 2、
装置 3内の第1の送信コマンドパケット用バッファを示
し、11、21、31は、それぞれ装置 1、装置 2、装置 3内
の第2の送信コマンドパケット用バッファを示し、12、
22、32は、それぞれ装置 1、装置 2、装置 3内の第1の
受信コマンドパケット用バッファを示し、13、23、33
は、それぞれ装置 1、装置 2、装置 3内の第2の受信コ
マンドパケット用バッファを示し、14、24、34は、それ
ぞれ装置 1、装置 2、装置 3内の第1の受信返信パケッ
ト用バッファを示し、15、25、35は、それぞれ装置 1、
装置 2、装置 3内の第2の受信返信パケット用バッファ
を示し、16、26、36は、それぞれ装置 1、装置 2、装置
3内の返信パケット送信用バッファを示し、100 、200
、300 は、それぞれ、装置 1、装置 2、装置 3内の受
信パケットバッファを示し、受信コマンドパケットも受
信返信パケットも一旦本受信パケットバッファに格納さ
れ、パケット種別が解析される。
[0005] Reference numerals 10, 20, and 30 denote devices 1, 2, and 3, respectively.
A first transmission command packet buffer in the device 3 is shown, and 11, 21, and 31 denote second transmission command packet buffers in the device 1, the device 2 and the device 3, respectively.
Reference numerals 22 and 32 denote first received command packet buffers in the device 1, the device 2 and the device 3, respectively.
Indicates the buffers for the second received command packets in the devices 1, 2, and 3, respectively, and 14, 24, and 34 indicate the buffers for the first received reply packets in the devices 1, 2, and 3, respectively. And 15, 25, and 35 are devices 1,
The buffers for the second reception reply packet in the device 2 and the device 3 are shown, and 16, 26, and 36 indicate the device 1, the device 2, and the device, respectively.
Indicates the reply packet transmission buffer in 3, 100, 200
, 300 denote received packet buffers in the device 1, device 2, and device 3, respectively, where both the received command packet and the received reply packet are temporarily stored in the received packet buffer, and the packet type is analyzed.

【0006】装置 1、装置 2、装置 3は各々、共通バス
(CBUS)を使用して、パケットを互いに送受信することに
より、データ処理動作を実行している。例えば、装置 1
はCPU 、装置 2はチャネル、装置 3は記憶装置である。
[0006] Each of the devices 1, 2, and 3 is a common bus.
The data processing operation is performed by transmitting and receiving packets to and from each other using (CBUS). For example, device 1
Is a CPU, device 2 is a channel, and device 3 is a storage device.

【0007】上記装置 1、装置 2、装置 3はそれぞれ、
まず共通バス(CBUS)の使用権を得るために、共通バス(C
BUS)の使用要求信号 BRQ1,BRQ2,BRQ3 をバスアービタ 9
に対して出力する。バスアービタ 9は、BRQ1,BRQ2,BRQ3
のうち複数が同時に出力された場合は、予め定められた
優先順位に従って、最も優先順位の高い共通バス(CBUS)
の使用要求信号に対する共通バス(CBUS)の使用許可信号
を出力する。本従来例では、 (高) BRQ1 > BRQ2 > BRQ3 (低) とする。例えば、BRQ1,BRQ2,BRQ3が同時に出力された場
合は、BRQ1に対する共通バス(CBUS)の使用許可信号 BGR
1 のみが出力される。
[0007] The above device 1, device 2 and device 3 are
First, to obtain the right to use the common bus (CBUS),
BUS) request signal BRQ1, BRQ2, BRQ3 to the bus arbiter 9
Output to Bus arbiter 9 is BRQ1, BRQ2, BRQ3
Are output simultaneously, according to a predetermined priority, the highest priority common bus (CBUS)
A use permission signal of the common bus (CBUS) is output in response to the use request signal of. In this conventional example, (high) BRQ1>BRQ2> BRQ3 (low). For example, if BRQ1, BRQ2, and BRQ3 are output simultaneously, the common bus (CBUS) use permission signal BGR for BRQ1 is output.
Only 1 is output.

【0008】共通バス(CBUS)の使用許可信号を受けた装
置は、相手側装置に対してパケットを送信する。例え
ば、装置 1は自装置の送信コマンドパケット用バッファ
10 に用意されている送信コマンドを、相手側装置、例
えば装置 3に対して送信する。
[0008] The device that has received the use permission signal of the common bus (CBUS) transmits a packet to the partner device. For example, device 1 has its own send command packet buffer.
The transmission command prepared in 10 is transmitted to the partner device, for example, the device 3.

【0009】図17は、パケットのフォーマット例を示
した図であって、図17(a) はライトコマンドパケット
の一例を示し、図17(b) はリードコマンドパケットの
一例を示し、図17(c) はライト返信パケットの一例を
示し、図17(d) はリード返信パケットの一例を示し、
図17(e) はビジー返信パケットの一例を示している。
各パケットには、パケット種別、パケット番号、自装置
番号、相手装置番号を示すフィールドを備えている。
FIG. 17 is a diagram showing an example of a packet format. FIG. 17A shows an example of a write command packet, FIG. 17B shows an example of a read command packet, and FIG. c) shows an example of a write reply packet, FIG. 17 (d) shows an example of a read reply packet,
FIG. 17E shows an example of the busy reply packet.
Each packet has fields indicating a packet type, a packet number, an own device number, and a partner device number.

【0010】相手先装置 3は、その受信コマンドパケッ
ト用バッファ 32 または 33 に、送信されてきたコマン
ドパケットを受信する。そしてコマンド種別を解析し、
リードコマンドパケットならばパケット内アドレスフィ
ールドに示されたアドレスに対応するデータを自装置か
ら読み出し、そのリードコマンドパケットに対応するリ
ード返信パケットを返信パケット送信用バッファ 36 上
に生成し、コマンド送信元装置にそのリード返信パケッ
トを返信する。
The destination device 3 receives the transmitted command packet in the received command packet buffer 32 or 33. And analyze the command type,
If it is a read command packet, the data corresponding to the address indicated in the address field in the packet is read out from the self-device, and a read reply packet corresponding to the read command packet is generated on the reply packet transmission buffer 36, and the command transmission source device is read. Reply the read reply packet to

【0011】また、コマンド種別を解析した結果がライ
トコマンドであったならば、パケット内アドレスフィー
ルドに示されたアドレスに対応するデータを、図示され
ていない自装置内のメモリ、又は、レジスタに書き込
み、そのライトコマンドパケットに対応するライト返信
パケットを返信パケット送信用バッファ 36 上に生成
し、コマンド送信元装置にそのライト返信パケットを返
信する。
If the result of analyzing the command type is a write command, data corresponding to the address indicated in the address field in the packet is written into a memory or a register (not shown) in the apparatus. Then, a write reply packet corresponding to the write command packet is generated on the reply packet transmitting buffer 36, and the write reply packet is returned to the command transmission source device.

【0012】ここで、相手先装置 3の受信コマンドパケ
ット用バッファ 32 及び 33 に、既に他の装置から送信
されてきたコマンドパケットが受信されている場合は、
相手先装置 3はそれらに対する返信パケットを返送する
までは、対応するコマンドパケットは受信コマンドパケ
ット用バッファ 32 及び33に保持しておかなければなら
ないため、新たのコマンドパケットは受け付けられない
状態になる(バッファビジー状態)。
Here, if a command packet transmitted from another device has already been received in the reception command packet buffers 32 and 33 of the destination device 3,
Until the destination device 3 returns a reply packet to them, the corresponding command packet must be held in the received command packet buffers 32 and 33, so that a new command packet is not accepted ( Buffer busy).

【0013】その為、このような状態のときに新たに送
出されてきたコマンドに対しては、通常の返信パケット
の代わりに「バッファビジー」のパケット種別を付した
エラーの返信パケットを返送する。コマンド送信元装置
は、そのエラーの返信パケットを受信すると、パケット
種別を解析し、「バッファビジー」のパケット種別であ
ったときは、再び同じコマンドパケットをリトライ送信
する。これを、相手側装置 3の受信コマンドパケット用
バッファが受付可能になって、このコマンドパケットが
受信されるようになるまで繰り返す。
Therefore, in response to a command newly sent in such a state, an error return packet with a packet type of "buffer busy" is returned instead of a normal return packet. Upon receiving the error return packet, the command transmission source device analyzes the packet type, and if the packet type is “buffer busy”, retransmits the same command packet again. This is repeated until the reception command packet buffer of the partner device 3 becomes ready to receive the command packet.

【0014】[0014]

【発明が解決しようとする課題】図16に示した、従来
のデータ処理システムの一例では、相手先装置の受信コ
マンドパケット用バッファのバッファビジー状態が長期
間続いた場合、送信元の上記リトライ送信が繰り返され
ることになる。このことは以下の問題を引き起こす。
In the example of the conventional data processing system shown in FIG. 16, when the buffer busy state of the reception command packet buffer of the destination apparatus continues for a long time, the retry transmission of the transmission source is performed. Will be repeated. This causes the following problems.

【0015】問題点1:送信元装置のコマンドパケット
がなかなか処理されないため、送信元装置の処理性能が
低く抑えられてしまう。 問題点2:特に送信元装置が入出力装置(I/O)から
のDMA転送のためのコマンドパケットを送信しようと
している場合、このコマンドパケットが一定時間以上処
理されないと、入出力装置(I/O)側のオーバーラン
を引き起こす。
Problem 1: Since the command packet of the transmission source device is not easily processed, the processing performance of the transmission source device is suppressed low. Problem 2: In particular, when a transmission source device is going to transmit a command packet for DMA transfer from an input / output device (I / O), if the command packet is not processed for a certain period of time or more, the input / output device (I / O) O) causes overrun on the side.

【0016】問題点3:送信元のリトライ送信が繰り返
されると、そのために共通バス(CBUS)に対する余計なバ
ス占有が増えることになり、共通バス(CBUS)の実効使用
効率が低下する。このことは、他装置の処理性能の低下
ももたらすことになる。
Problem 3: When retry transmission of a transmission source is repeated, unnecessary bus occupation of the common bus (CBUS) increases, and the effective use efficiency of the common bus (CBUS) decreases. This also results in a decrease in the processing performance of another device.

【0017】本発明は上記従来の欠点に鑑み、送信元装
置からのリトライ送信の繰り返しに伴う処理性能の低減
を抑止し、結果として入出力装置(I/O)側でのオー
バーランの発生を抑止し、又、共通バス(CBUS)の実効使
用率を向上させることができるデータ処理システムを提
供することを目的とするものである。
In view of the above-mentioned conventional disadvantages, the present invention suppresses a reduction in processing performance due to repetition of retry transmission from a transmission source device, and as a result, occurrence of overrun on an input / output device (I / O) side. It is an object of the present invention to provide a data processing system capable of suppressing and improving an effective usage rate of a common bus (CBUS).

【0018】[0018]

【課題を解決するための手段】上記の問題点は下記のよ
うな手段を備えたデータ処理システムによって解決され
る。
SUMMARY OF THE INVENTION The above problems are solved by a data processing system having the following means.

【0019】(1) 複数の装置が、共通バス(CBUS)を使用
して、パケットを互いに送受信し、各装置はパケット送
出に先立ち予め定められた優先順位の共通バス(CBUS)の
使用要求信号を出力し、バスアービタはその共通バス(C
BUS)の使用要求信号を調停して優先順位に従い共通バス
使用装置を決定して許可を与える制御手段を備えたデー
タ処理システムであって、各装置は共通バス(CBUS)の使
用要求信号を出力すると共にその転送相手先を示す情報
を出力する第1の手段と、前記バスアービタは前記転送
相手先を示す情報を受信する第2の手段と、パケット受
信側装置は、自装置の受信コマンドパケット用バッファ
の状態を表す情報を前記バスアービタ、又は、及び全装
置に伝える第3の手段と、前記バスアービタ、及び前記
複数の装置は、他の装置の受信コマンドパケット用バッ
ファの状態を表す情報を受信する第4の手段とを有する
ように構成する。
(1) A plurality of devices transmit and receive packets to and from each other using a common bus (CBUS), and each device transmits a common bus (CBUS) use request signal of a predetermined priority prior to packet transmission. And the bus arbiter outputs its common bus (C
BUS) is a data processing system provided with control means for arbitrating a use request signal, determining a common bus use device according to the priority, and giving permission, and each device outputs a common bus (CBUS) use request signal. And first means for outputting information indicating the transfer destination, the bus arbiter receiving second information indicating the transfer destination, and a packet receiving side device for receiving a command packet of the own device. Third means for transmitting information indicating the state of a buffer to the bus arbiter and / or all devices, and the bus arbiter and the plurality of devices receive information indicating the status of a buffer for a received command packet of another device. And a fourth means.

【0020】(2) 前記(1) 項に記載のデータ処理システ
ムに、所定の動作モードを備えて、前記自装置の受信コ
マンドパケット用バッファの状態を表す情報を前記バス
アービタに伝える第3の手段は、前記動作モードが初期
モードであるとき、各装置が実装されていることを示す
信号を転送し、前記初期モードを終了して、所定の処理
モードに移った時は、前記受信コマンドパケット用バッ
ファの状態を示す情報を転送する手段であるように構成
する。
(2) A third means for providing the data processing system according to the item (1) with a predetermined operation mode, and transmitting information indicating a state of a reception command packet buffer of the own device to the bus arbiter. When the operation mode is the initial mode, a signal indicating that each device is mounted is transferred, and when the initial mode is terminated and a predetermined processing mode is set, the reception command packet It is configured to be means for transferring information indicating the state of the buffer.

【0021】(3) 前記(2) 項に記載のデータ処理システ
ムであって、前記受信コマンドパケット用バッファの状
態を示す情報は、各パケット受信装置が備えて受信コマ
ンドパケット用バッファの数、又は、該受信コマンドパ
ケット用バッファがビジーか否かを示す情報であるよう
に構成する。
(3) In the data processing system according to the above mode (2), the information indicating the status of the reception command packet buffer may include the number of reception command packet buffers provided in each packet reception device, or , The received command packet buffer is busy.

【0022】(4) 複数の装置が、共通バス(CBUS)を使用
して、パケットを互いに送受信し、各装置は通常は、予
め定められた優先順位の共通バス(CBUS)の使用要求信号
を出力し、バスアービタはその共通バス(CBUS)の使用要
求信号を調停して共通バス使用装置を決定して許可を与
え、許可を受けた装置がパケット送信時に相手側装置の
受信コマンドパケット用バッファがビジー状態であった
場合、パケット受信側装置は、パケット送信元装置に対
して、コマンドパケットの再送信を必要とする旨の情報
を付加した返信パケットを返送するような転送を許すパ
ケット転送手段を備えたデータ処理システムであって、
各装置内に、コマンドパケットを再送信した回数をカウ
ントするリトライカウンタを設け、パケット送信元装置
はその返信パケット受信後、一定の時間経過後、再び同
一のコマンドパケットを送出するとともにリトライカウ
ンタをインクリメントすることを、上記コマンドパケッ
トが相手側装置に受信されるまで繰り返し、リトライカ
ウンタが所定の閾値以上になったら、優先度の高い共通
バス(CBUS)の使用要求信号を送出する手段を備えるよう
に構成する。
(4) A plurality of devices transmit and receive packets to and from each other using a common bus (CBUS), and each device normally sends a request signal for use of the common bus (CBUS) having a predetermined priority. The bus arbiter arbitrates the request signal for use of the common bus (CBUS), determines the device using the common bus, and grants the device. In the case of a busy state, the packet receiving side device has a packet transfer means for permitting the packet transmission source device to transfer the return packet to which the information indicating that the command packet needs to be retransmitted is returned. A data processing system comprising:
A retry counter is provided in each device to count the number of times a command packet has been retransmitted. The packet transmission source device sends out the same command packet again after a certain period of time after receiving the reply packet, and increments the retry counter. The above-mentioned command packet is repeatedly received until the counterpart device receives the command packet, and when the retry counter becomes equal to or more than a predetermined threshold value, a means for sending a use request signal of a high-priority common bus (CBUS) is provided. Configure.

【0023】(5) 複数の装置が、共通バス(CBUS)を使用
して、パケットを互いに送受信し、各装置は通常は、予
め定められた優先順位の共通バス(CBUS)の使用要求信号
を出力し、バスアービタはその共通バス(CBUS)の使用要
求信号を調停して共通バス使用装置を決定して許可を与
え、許可を受けた装置がパケット送信時に相手側装置の
受信コマンドパケット用バッファがビジー状態であった
場合、パケット受信側装置は、パケット送信元装置に対
して、コマンドパケットの再送信を必要とする旨の情報
を付加した返信パケットを返送するような転送を許すパ
ケット転送手段を備えたデータ処理システムであって、
コマンドパケットの再送信を必要とする旨の情報を複数
種類設け、その情報の種類により、パケット送信元装置
はその返信パケット受信後、再び同一のコマンドパケッ
トを送出するまでの時間を変更する手段を備えるように
構成する。
(5) A plurality of devices transmit and receive packets to and from each other using a common bus (CBUS), and each device normally sends a request signal for use of the common bus (CBUS) having a predetermined priority. The bus arbiter arbitrates the request signal for use of the common bus (CBUS), determines the device using the common bus, and grants the device. In the case of a busy state, the packet receiving side device has a packet transfer means for permitting the packet transmission source device to transfer the return packet to which the information indicating that the command packet needs to be retransmitted is returned. A data processing system comprising:
A plurality of types of information indicating that the command packet needs to be retransmitted are provided, and the packet transmission source device changes the time until the same command packet is transmitted again after receiving the reply packet according to the type of the information. Configure to provide.

【0024】(6) 複数の装置が、共通バス(CBUS)を使用
して、パケットを互いに送受信し、各装置は通常は、予
め定められた優先順位の共通バス(CBUS)の使用要求信号
を出力し、バスアービタはその共通バス(CBUS)の使用要
求信号を調停して共通バス使用装置を決定して許可を与
え、許可を受けた装置がパケット送信時に相手側装置の
受信コマンドパケット用バッファがビジー状態であった
場合、パケット受信側装置は、パケット送信元装置に対
して、コマンドパケットの再送信を必要とする旨の情報
を付加した返信パケットを返送するような転送を許すパ
ケット転送手段を備えたデータ処理システムであって、
パケット受信側装置が、一定バスサイクル後に返信パケ
ットを返信できないような資源、例えば、パケット受信
側装置での処理に時間がかかるデータがアクセスされた
場合、仮の返信パケットを返信し、次にパケット送信側
装置が送出するコマンドパケットが到着するまでに、正
式な返信パケットを用意しておく手段を備えるように構
成する。
(6) A plurality of devices transmit and receive packets to and from each other using a common bus (CBUS), and each device normally sends a request signal for use of the common bus (CBUS) having a predetermined priority. The bus arbiter arbitrates the request signal for use of the common bus (CBUS), determines the device using the common bus, and grants the device. In the case of a busy state, the packet receiving side device has a packet transfer means for permitting the packet transmission source device to transfer the return packet to which the information indicating that the command packet needs to be retransmitted is returned. A data processing system comprising:
If the packet receiving device accesses a resource that cannot return a reply packet after a certain bus cycle, for example, data that takes time to process in the packet receiving device, a temporary reply packet is returned, and then the packet is returned. A means is provided for preparing a formal reply packet before the command packet transmitted by the transmitting device arrives.

【0025】(7) 複数の装置が、共通バス(CBUS)を使用
して、パケットを互いに送受信し、各装置は通常は、予
め定められた優先順位の共通バス(CBUS)の使用要求信号
を出力し、バスアービタはその共通バス(CBUS)の使用要
求信号を調停して共通バス使用装置を決定して許可を与
え、許可を受けた装置がパケットを送信するパケット転
送手段を備えたデータ処理システムであって、他装置の
受信コマンドパケット用バッファの情報を前記共通バス
(CBUS)上のパケットにより監視する手段と、該監視手段
により、自装置がコマンドパケットを送出する可能性の
ある他の装置の受信コマンドパケット用バッファに関す
る情報を得る手段を備えるように構成する。
(7) A plurality of devices transmit and receive packets to and from each other using a common bus (CBUS), and each device normally sends a use request signal of the common bus (CBUS) having a predetermined priority. And a bus arbiter which arbitrates a request signal for use of the common bus (CBUS), determines a device using the common bus, grants permission, and the permitted device transmits a packet. Wherein information of a buffer for a received command packet of another device is transferred to the common bus.
(CBUS) is configured to include means for monitoring by a packet on the (CBUS), and means for obtaining information relating to a received command packet buffer of another apparatus to which the own apparatus may transmit a command packet by the monitoring means.

【0026】(8) 複数の装置が、共通バス(CBUS)を使用
して、パケットを互いに送受信し、各装置はパケット送
出に先立ち予め定められた優先順位の共通バス(CBUS)の
使用要求信号を出力し、バスアービタはその共通バス(C
BUS)の使用要求信号を調停して優先順位に従い共通バス
使用装置を決定して許可を与える制御手段を備えたデー
タ処理システムであって、パケット受信側装置の複数の
受信コマンドパケット用バッファに対して、各パケット
送信側装置が専用に使用する受信コマンドパケット用バ
ッファの個数を、前記各パケット送信側装置毎に予め定
めておき、各パケット送信側装置は、自装置に対して割
り当てられた相手側装置の受信コマンドパケット用バッ
ファの個数を越えたパケットは、該相手側装置に送信し
ないように制御する手段を備えるように構成する。
(8) A plurality of devices transmit and receive packets to and from each other using a common bus (CBUS), and each device transmits a signal requesting use of a common bus (CBUS) having a predetermined priority prior to packet transmission. And the bus arbiter outputs its common bus (C
BUS) is a data processing system including a control means for arbitrating a use request signal, determining a common bus use device according to the priority, and giving permission, and controlling a plurality of received command packet buffers of a packet receiving side device. The number of receive command packet buffers exclusively used by each packet transmitting apparatus is determined in advance for each packet transmitting apparatus, and each packet transmitting apparatus determines a counterpart assigned to its own apparatus. It is configured to include means for controlling so that a packet exceeding the number of received command packet buffers of the side device is not transmitted to the partner device.

【0027】図1は、本発明の上記の各手段の内、(1)
〜(3) 項に記載の手段を備えたデータ処理システムの原
理構成図である。本発明のデータ処理システムでは、各
装置1,2,3は共通バス(CBUS)の使用要求信号を出力する
と同時にその転送相手先を示す情報を出力し、パケット
受信側装置は、自装置の受信コマンドパケット用バッフ
ァ(以下、単にコマンド受信バッファという)がビジー
であり、新たなパケットの受信が不可能な状態のとき、
その状態を、例えば、専用の1対1の信号線、或いは、
専用のバス BBUS を用いて、バスアービタ 9、又は、及
び、全装置(パケット送信側装置)に伝える (図1で
は、点線で示してある)ようにする。
FIG. 1 shows (1) one of the above means of the present invention.
It is a principle block diagram of the data processing system provided with the means as described in (3). In the data processing system of the present invention, each of the devices 1, 2, and 3 outputs a request signal for use of the common bus (CBUS), and simultaneously outputs information indicating the transfer destination thereof. When the command packet buffer (hereinafter simply referred to as the command reception buffer) is busy and cannot receive a new packet,
The state is, for example, a dedicated one-to-one signal line or
The signal is transmitted to the bus arbiter 9 or all the devices (packet transmitting side devices) using a dedicated bus BBUS (in FIG. 1, indicated by a dotted line).

【0028】バスアービタ 9は、コマンド受信バッファ
がビジーであり、新たなコマンドパケットの受信が不可
能な状態の装置に対しては、共通バス(CBUS)の使用許可
信号を与えないようにすることができ、新たなコマンド
パケットの受信が不可能な装置に対してコマンドパケッ
トが送出されることがなくなり、共通バス(CBUS)の有効
利用が図れる。
The bus arbiter 9 does not provide a common bus (CBUS) use permission signal to a device in which the command reception buffer is busy and cannot receive a new command packet. Thus, no command packet is sent to a device that cannot receive a new command packet, and the common bus (CBUS) can be effectively used.

【0029】又、パケット受信装置が、自装置のコマン
ド受信バッファがビジーであることを、専用の1対1の
信号線、或いは、専用のバス BBUS を用いて、全装置に
伝えることで、コマンドパケットを送出しようとしてい
る装置は、相手側装置のコマンド受信バッファの状態を
常に把握することができるので、該コマンド受信バッフ
ァがビジー状態の装置に対するアクセスの為の共通バス
(CBUS)の使用要求信号を抑止したり、他の装置に対する
コマンドパケットの送信に切り換えたりすることがで
き、無駄なパケットを共通バス(CBUS)に送出することが
なくなる。
Also, the packet receiving device informs all the devices that the command receiving buffer of the packet receiving device is busy by using a dedicated one-to-one signal line or a dedicated bus BBUS, thereby transmitting a command. Since the device which is going to send out the packet can always grasp the status of the command reception buffer of the partner device, the common bus for accessing the device whose command reception buffer is busy is available.
The use request signal of (CBUS) can be suppressed or the command packet can be switched to transmission of a command packet to another device, and unnecessary packets are not sent to the common bus (CBUS).

【0030】又、本発明のデータ処理システムに、初期
モードと、処理モードからなる動作モードを備えること
で、電源投入時等での初期モードでは、コマンド受信バ
ッファがビジーとなるような頻繁なアクセスは行われな
いことから、上記初期モードのとき、各装置が実装され
ているか否かを示す情報を、上記専用の1対1の信号
線、或いは、専用のバス BBUS を用いて、バスアービタ
9に送出し、該各装置の実装情報の送出が終了して、通
常の処理モードに遷移したとき、前記コマンド受信バッ
ファがビジーか否かの情報を送出するように構成するこ
とで、上記専用の1対1の信号線、或いは、専用のバス
BBUS を共用することができる。
Further, the data processing system of the present invention is provided with an operation mode including an initial mode and a processing mode, so that in the initial mode at the time of power-on or the like, frequent access such that the command reception buffer becomes busy. In the initial mode, information indicating whether each device is mounted is transmitted to the bus arbiter using the dedicated one-to-one signal line or the dedicated bus BBUS.
9, when the transmission of the mounting information of each device is completed and a transition is made to the normal processing mode, the information for determining whether the command reception buffer is busy is transmitted. One-to-one signal line or dedicated bus
BBUS can be shared.

【0031】又、上記コマンド受信バッファの状態を示
す情報は、該コマンド受信バッファがビジーか否かを示
す情報の他に、各パケット受信装置が備えてコマンド受
信バッファの数(段数)であるようにすることで、各装
置が備えているコマンド受信バッファの状態を予め認識
することができ、上記請求項7に記載した手段で得た相
手側装置のコマンド受信バッファの送受信回数情報と、
本情報(コマンド受信バッファの数)とを用いて、パケ
ットを送出しようとする装置は、相手側装置の受信バッ
ファの状態を常に把握することができるので、コマンド
受信バッファがビジーの装置に対するアクセスの為の共
通バス(CBUS)の使用要求信号を抑止したり、他の装置に
対するコマンドパケットの送信に切り換えたりすること
ができ、コマンド受信バッファが既に、ビジーである装
置に対して送信パケットが送出されたり、また、それに
より、受信側装置がコマンド受信バッファがビジーで受
信不可能であるという情報を付加した返信パケットを返
送すると言うような無駄なパケットの転送がなくなる。
The information indicating the status of the command receiving buffer is, in addition to the information indicating whether the command receiving buffer is busy, the number of command receiving buffers (the number of stages) provided in each packet receiving apparatus. By doing so, it is possible to recognize in advance the state of the command reception buffer provided in each device, the information on the number of times of transmission and reception of the command reception buffer of the partner device obtained by the means described in claim 7,
By using this information (the number of command reception buffers), the device that intends to transmit a packet can always grasp the state of the reception buffer of the partner device, and therefore, the device that attempts to access the device whose command reception buffer is busy can be used. Request for use of the common bus (CBUS) can be suppressed, or transmission of command packets to other devices can be switched, and transmission packets are sent to devices whose command reception buffer is already busy. As a result, useless packet transfer such as that the receiving device returns a reply packet to which information indicating that the command receiving buffer is busy and cannot be received is eliminated.

【0032】図2は、本発明の上記の各手段の内、(4)
〜(7) 項に記載の手段を備えたデータ処理システムの原
理構成図である。(4) 項に記載のデータ処理システムで
は、各装置内に、コマンドパケットを再送信した回数を
カウントするリトライカウンタを設けて、パケット送信
元装置はその返信パケットを受信後、一定時間経過後、
再び同一のコマンドパケットを送信すると共に、上記リ
トライカウンタをインクリメントすることを、該コマン
ドパケットが相手側装置に受信されるまで繰り返し、該
リトライカウンタの値が所定の閾値以上になったとき、
優先度の高い共通バス(CBUS)の使用要求信号を送出する
ことで、相手側装置のコマンド受信バッファが空き状態
となったとき、同時に他の装置から同一の相手装側装置
に対してコマンドパケットを送信するための共通バス(C
BUS)の使用要求信号が出力されても、必ず、共通バス使
用許可を得て共通バス(CBUS)を使用し、相手側装置にコ
マンドパケットを送信することができるようになる。
FIG. 2 shows (4) of the above means of the present invention.
It is a principle block diagram of the data processing system provided with the means as described in (7). In the data processing system described in (4), a retry counter is provided in each device to count the number of times a command packet has been retransmitted.
While transmitting the same command packet again, incrementing the retry counter is repeated until the command packet is received by the partner device, and when the value of the retry counter becomes equal to or greater than a predetermined threshold,
By sending a request signal to use the high-priority common bus (CBUS), when the command reception buffer of the partner device becomes empty, another device sends a command packet to the same partner device at the same time. Common bus (C
BUS), a command packet can always be transmitted to the partner device by using the common bus (CBUS) by obtaining the common bus use permission.

【0033】又、(5) 項に記載のデータ処理システムで
は、コマンドパケットの再送信を必要とする情報として
複数種類設け、一定時間内にコマンド受信バッファが空
き状態になる見込みの場合には第1の情報を、該コマン
ド受信バッファが空き状態になるまで一定時間以上かか
る見込みの場合には第2の情報を返信パケットに付加す
る。パケット送信元装置は、その返信パケット受信後、
上記第1の情報が付加されていた場合には、一定時間以
内に同一のコマンドパケットを送出し、上記第2の情報
が付加されていた場合には、一定時間経過後に同一のコ
マンドパケットを送出する。このように制御できるの
で、コマンド受信バッファがビジーの状態で再送信を要
求するような返信パケットが来るといった無駄なパケッ
ト送出の頻度を少なくすることができる。
In the data processing system described in the item (5), a plurality of types of information requiring retransmission of the command packet are provided, and if the command reception buffer is expected to be empty within a predetermined time, the data is re-transmitted. If it is expected that it takes more than a certain time for the command reception buffer to become empty, the second information is added to the reply packet. After receiving the reply packet, the packet transmission source device
If the first information has been added, the same command packet is transmitted within a certain time, and if the second information has been added, the same command packet is transmitted after a certain time has elapsed. I do. Since control can be performed in this manner, the frequency of useless packet transmission such as a response packet requesting retransmission when the command reception buffer is busy can be reduced.

【0034】又、(6) 項に記載のデータ処理システムで
は、一定のバスサイクル後に返信パケットを返信できな
いような資源、例えば、処理に時間が掛かる資源がアク
セスされた場合、仮の返信パケットを送信し、次に送信
元装置が送出するコマンドパケットが到着する迄に、正
式な返信パケットを用意しておき、上記次のコマンドパ
ケットが来たとき、上記用意された正式な返信パケット
を返信することにより、各装置内でのパケットの滞留が
なくなり、コマンド受信バッファがビジーになることを
少なくすることができる。
In the data processing system described in the item (6), when a resource that cannot return a reply packet after a certain bus cycle, for example, a resource that takes a long time to process is accessed, a temporary reply packet is transmitted. After transmitting, a formal reply packet is prepared until the next command packet transmitted by the transmission source device arrives, and when the next command packet comes, the prepared formal reply packet is returned. As a result, packets do not stay in each device, and it is possible to reduce the possibility that the command reception buffer becomes busy.

【0035】又、(7) 項に記載のデータ処理システムで
は、各装置に他の装置で送受信されているパケットを共
通バス(CBUS)上で監視する手段を設けることにより、各
装置が、他の装置のコマンド受信バッファの数を認識し
ているので、各装置での送受信のパケットの数を知るこ
とで、現在どの装置のパケット受信バッファがビジー状
態かを間接的に知ることができる。例えば、装置 3のコ
マンド受信バッファが2個で、装置 2から装置 3へ2回
コマンドパケットが送信され、その返信パケットが未だ
返っていないときには、装置 3の受信バッファはビジー
状態であり、新たなコマンドパケットは受信不可能であ
ることを装置 1でも知ることができる。従って、コマン
ドパケットを送出しようとしている装置は、相手側装置
のコマンド受信バッファの状態を常に把握することがで
きるので、該コマンド受信バッファがビジー状態にある
装置に対するアクセスの為の共通バス(CBUS)の使用要求
信号を抑止したり、又は、その代わりに他の装置に対す
るコマンドパケットの送信に切り換えることができ、共
通バス(CBUS)に対する無駄なパケットの転送がなくな
る。
Further, in the data processing system described in the item (7), each device is provided with a means for monitoring a packet transmitted / received by another device on a common bus (CBUS), so that each device can receive other data. Since the number of command receiving buffers of the device is recognized, it is possible to indirectly know which device's packet receiving buffer is currently busy by knowing the number of packets transmitted and received by each device. For example, when the device 3 has two command receiving buffers, the command packet is transmitted twice from the device 2 to the device 3, and the return packet has not been returned yet, the receiving buffer of the device 3 is busy and a new The device 1 can also know that the command packet cannot be received. Therefore, a device that is going to send a command packet can always grasp the status of the command reception buffer of the partner device, and thus a common bus (CBUS) for accessing a device whose command reception buffer is busy. Can be suppressed or a command packet can be switched to transmission of a command packet to another device, and useless packet transfer to the common bus (CBUS) is eliminated.

【0036】図3は、本発明の上記の各手段の内、(8)
項に記載の手段を備えたデータ処理システムの原理構成
図である。この場合には、各送信元装置は、相手側装置
のコマンド受信バッファの内、自装置に対して割り当て
られたコマンド受信バッファの数を越えたコマンドパケ
ットを相手側装置に送出しないように制御できるので、
コマンド受信バッファが既にビジーの装置に対してコマ
ンドパケットを送出したり、そのコマンドパケットに対
して、コマンド受信バッファがビジーで受信不可能であ
るという情報を付加した返信パケットを返すといった無
駄なパケットの転送がなくなる。
FIG. 3 shows (8) one of the above means of the present invention.
It is a principle block diagram of the data processing system provided with the means as described in an item. In this case, each transmission source device can control not to transmit a command packet exceeding the number of command reception buffers allocated to its own device among the command reception buffers of the partner device to the partner device. So
Useless packets such as sending a command packet to a device where the command reception buffer is already busy, or returning a reply packet to the command packet with information indicating that the command reception buffer is busy and cannot be received. No more transfers.

【0037】[0037]

【発明の実施の形態】以下本発明の実施例を図面によっ
て詳述する。図4は、本発明の一実施例を示した図であ
り、図5は、コマンド受信バッファのビジー信号を説明
する図であり、図6は、各装置が専用のバスでビジー信
号を伝達する図であり、図7は、各装置が他の全装置に
ビジー信号を伝達する図であり、請求項1〜3に対応す
る実施の形態を示し、図8は、本発明の他の実施例を示
した図であり、図9は、本発明のアクセス要求とパケッ
ト処理を説明する図であり、図10、図11、図12
は、本発明の他の実施例の変形例を示した図であり、図
13は、本発明のコマンドパケットの受信処理の流れ図
であり、図14は、本発明の返信パケットの受信処理の
流れ図であり、請求項4〜7に対応する実施の形態を示
し、図15は、本発明の他の実施例の変形例を示した図
であって、請求項8に対応する実施の形態を示してい
る。
Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 4 is a diagram showing an embodiment of the present invention, FIG. 5 is a diagram for explaining a busy signal of a command receiving buffer, and FIG. 6 is a diagram in which each device transmits a busy signal through a dedicated bus. FIG. 7 is a diagram in which each device transmits a busy signal to all other devices, showing an embodiment corresponding to claims 1 to 3, and FIG. 8 shows another embodiment of the present invention. FIG. 9 is a diagram for explaining an access request and packet processing of the present invention, and FIG. 10, FIG.
FIG. 13 is a diagram showing a modification of the other embodiment of the present invention. FIG. 13 is a flowchart of a command packet receiving process of the present invention. FIG. 14 is a flowchart of a reply packet receiving process of the present invention. 15 shows an embodiment corresponding to claims 4 to 7, and FIG. 15 is a diagram showing a modification of another embodiment of the present invention, and shows an embodiment corresponding to claim 8. ing.

【0038】尚、全図を通して同じ符号は同じ対象物を
示しており、請求項の共通バスは、共通バス(CBUS)が対
応し、該共通バス(CBUS)の使用要求信号は BRQ1,BRQ2,B
RQ3が対応し、共通バス(CBUS)の使用許可は、共通バス
(CBUS)の使用許可信号 BGR1,BGR2,BGR3 を与えることが
対応し、受信コマンドパケット用バッファはコマンド受
信バッファ 12,13,22,23,32,33が対応し、受信コマンド
パケット用バッファがビジーか否かを示す情報は信号 B
SY1,BSY2,BSY3 が対応し、各装置が共通バス(CBUS)の使
用要求信号を出力すると共にその転送相手先を示す情報
を出力する手段は、信号 DNOA,DNOB,DNOC を伝える手段
が対応し、コマンドパケットの再送信を必要とする旨の
情報、及び仮の返信パケットは、返信パケットのパケッ
ト種別フィールドの情報が所定の値(=101,110 等) であ
るときが対応し、他装置の受信コマンドパケット用バッ
ファの情報を共通バス(CBUS)上で監視する手段は、受信
パケット監視回路 17,27,37 が対応し、各パケット送信
側装置が専用に使用する受信コマンドパケット用バッフ
ァの個数を、各パケット送信側装置毎に予め定めて保持
する手段は、保持レジスタ 18,28,38 が対応する。
The same reference numerals indicate the same objects throughout the drawings, and the common bus in the claims corresponds to the common bus (CBUS), and the use request signal of the common bus (CBUS) is BRQ1, BRQ2, B
RQ3 is supported, and permission to use the common bus (CBUS) is
(CBUS) use enable signals BGR1, BGR2, and BGR3 are provided.Received command packet buffers are command receive buffers 12, 13, 22, 23, 32, and 33.Received command packet buffers are busy. The information indicating whether or not
SY1, BSY2, and BSY3 correspond, and each device outputs a common bus (CBUS) use request signal and outputs information indicating its transfer destination.The means for transmitting signals DNOA, DNOB, and DNOC correspond to these devices. The information indicating that the command packet needs to be retransmitted and the provisional reply packet correspond to the case where the information in the packet type field of the reply packet is a predetermined value (= 101, 110, etc.). The means for monitoring the information of the packet buffer on the common bus (CBUS) is supported by the reception packet monitoring circuits 17, 27, and 37, and the number of reception command packet buffers exclusively used by each packet transmission side device is determined by: Holding means 18, 28, and 38 correspond to means for preliminarily holding each packet transmitting apparatus.

【0039】以下、図1〜図3を参照しながら図4〜図
6によって、請求項1〜3に対応した本発明のデータ処
理システムの構成と動作を説明する。図4において、BS
Y1,BSY2,BSY3は、それぞれ、装置 1、装置 2、装置 3の
コマンド受信バッファがビジーであることことをバスア
ービタ 9に伝える信号である。
Hereinafter, the structure and operation of the data processing system according to the present invention will be described with reference to FIGS. In FIG. 4, BS
Y1, BSY2, and BSY3 are signals that notify the bus arbiter 9 that the command reception buffers of the devices 1, 2, and 3 are busy, respectively.

【0040】信号 DNOA,DNOB,DNOC は、それぞれ、装置
1、装置 2、装置 3が共通バス(CBUS)の使用要求信号と
共に出力する、相手先装置の装置番号を示す情報をバス
アービタ 9に伝達するための手段を提供する。
The signals DNOA, DNOB, DNOC are respectively
1. A means for transmitting information indicating the device number of the partner device to the bus arbiter 9, which is output by the device 1, the device 2 and the device 3 together with the use request signal of the common bus (CBUS).

【0041】図4において、複数の装置 1、 2、 3が、
共通バス(CBUS)を使用して、パケットを互いに送受信
し、各装置 1、 2、 3はパケット送出に先立ち、予め定
められた優先順位の共通バス(CBUS)の使用要求信号 BRQ
1,BRQ2,BRQ3 を出力すると、当該データ処理システム内
に存在するバスアービタ 9はその共通バス(CBUS)の使用
要求信号 BRQ1,BRQ2,BRQ3 を調停して優先順位に従いバ
ス使用装置を決定して、対応する共通バス(CBUS)の使用
許可信号 BGR1,BGR2,BGR3 を与え、許可を受けた装置が
パケットを転送するよう制御される。
In FIG. 4, a plurality of devices 1, 2, 3 are:
Packets are transmitted and received to and from each other using the common bus (CBUS) .Each of the devices 1, 2, and 3 transmits a request signal BRQ for use of the common bus (CBUS) having a predetermined priority prior to packet transmission.
After outputting 1, BRQ2 and BRQ3, the bus arbiter 9 existing in the data processing system arbitrates the use request signals BRQ1, BRQ2 and BRQ3 of the common bus (CBUS) and determines the bus using device according to the priority, The use permission signals BGR1, BGR2, and BGR3 of the corresponding common bus (CBUS) are supplied, and the apparatus which is permitted to control is transferred so as to transfer the packet.

【0042】このとき、本発明のデータ処理システムで
は、各装置 1、 2、 3は、上記共通バス(CBUS)の使用要
求信号 BRQ1,BRQ2,BRQ3 を出力すると共に、信号 DNOA,
DNOB,DNOC を用いてその転送相手先を示す情報を出力
し、前記バスアービタ 9はその転送相手先を示す情報を
受信し、パケット受信側装置は、自装置のコマンド受信
バッファがビジーであり新たなコマンドパケットの受信
が不可能な状態の時に、その状態を前記バスアービタ 9
に、上記 BSY1 信号 (装置 1の場合) 、又は BSY2 信号
(装置 2の場合) 、又は BSY3 信号 (装置 3の場合)と
して送出する。バスアービタ 9は、例えば装置 1からの
共通バス(CBUS)の使用要求信号 BRQ1 と、装置 2からの
使用要求信号 BRQ2 とが同時に発行された場合、装置 1
からの転送相手先を示す情報を伝達してきた信号 DNOA
の信号内容を解析し、例えばそれが装置 2であり、その
装置 2が BSY2 信号を出力していてパケット受信不可能
な状態を示していた場合、たとえ装置 1の方が装置 2よ
りも通常の優先順位が高くても、この場合には装置 1に
は許可を与えない。そして装置 2からの転送相手先を示
す情報を伝達してきた信号 DNOB の信号内容を解析し、
例えばそれが装置 3であり、その装置 3が BSY3 信号を
出力していず、コマンドパケット受信可能な状態の場
合、BGR2信号を出力し、装置 2へバス使用許可を与え
る。
At this time, in the data processing system of the present invention, each of the devices 1, 2, and 3 outputs the use request signals BRQ1, BRQ2, and BRQ3 of the common bus (CBUS), and outputs the signals DNOA,
The bus arbiter 9 receives the information indicating the transfer destination using DNOB and DNOC, and the packet arbiter 9 receives the information indicating the transfer destination. When a command packet cannot be received, the status is determined by the bus arbiter 9.
BSY1 signal (for device 1) or BSY2 signal
(For device 2) or BSY3 signal (for device 3). For example, when the use request signal BRQ1 of the common bus (CBUS) from the device 1 and the use request signal BRQ2 from the device 2 are issued at the same time, the bus arbiter 9
Signal DNOA that transmitted information indicating the transfer destination from
For example, if it is device 2 and that device 2 outputs the BSY2 signal and indicates that the packet cannot be received, even if device 1 is more normal than device 2, Even if the priority is high, the device 1 is not given permission in this case. Then, the signal content of the signal DNOB that has transmitted the information indicating the transfer destination from the device 2 is analyzed,
For example, when the device 3 is the device 3 and the device 3 does not output the BSY3 signal and is in a state in which a command packet can be received, the device 3 outputs the BGR2 signal and gives the device 2 a bus use permission.

【0043】図5は、コマンド受信バッファのビジー信
号を説明する図であって、請求項2に対応する実施例を
示している。図5(a) は装置 1側の構成例を示し、図5
(b)はバスアービタ 9側の構成例を示している。図5に
おいて、1 は装置を示し、9はバスアービタを示し、図
4で説明したものと同じである。MODEは装置 1、バスア
ービタ 9内のモードレジスタを示し、初期モードの時は
出力は "0" 、通常の処理モードの時は出力は "1" と
なる。NOT1,NOT9 はノットゲートを示し、AND1,AND91,A
ND92は、アンドゲートを示し、OR1 は、オアゲートを示
し、R91 はプルダウン手段を示している。
FIG. 5 is a diagram for explaining the busy signal of the command receiving buffer, and shows an embodiment corresponding to claim 2. FIG. 5 (a) shows an example of the configuration on the device 1 side, and FIG.
(b) shows a configuration example of the bus arbiter 9 side. In FIG. 5, 1 indicates an apparatus, 9 indicates a bus arbiter, and is the same as that described in FIG. MODE indicates a mode register in the device 1 and the bus arbiter 9. The output is "0" in the initial mode and "1" in the normal processing mode. NOT1, NOT9 indicate knot gates, and AND1, AND91, A
ND92 indicates an AND gate, OR1 indicates an OR gate, and R91 indicates a pull-down means.

【0044】BUF.FULLは、装置 1内のコマンド受信バッ
ファ 12,13がビジー状態であることを示す信号である。
BSY1は、上記初期モードの時は装置 1が実装されている
ことを示し、通常の処理モードの時は上記コマンド受信
バッファ 12,13がビジー状態であることを示す、複数用
途信号である。
BUF.FULL is a signal indicating that the command receiving buffers 12, 13 in the device 1 are in a busy state.
BSY1 is a multi-use signal indicating that the device 1 is mounted in the initial mode, and that the command receiving buffers 12, 13 are busy in the normal processing mode.

【0045】又、D1.INSTALLは装置 1が実装されている
ことを示す信号であり、D1BUF.FULLは、装置 1のコマン
ド受信バッファ 12,13がビジーであることを示す信号で
ある。
D1.INSTALL is a signal indicating that the device 1 is mounted, and D1BUF.FULL is a signal indicating that the command receiving buffers 12, 13 of the device 1 are busy.

【0046】図5(a) において、装置 1内のモードレジ
スタ MODE は、初期モードの時は出力は"0"であり、ノ
ットゲート NOT1 を通ることにより“1”になり、オア
ゲート OR1に入力される。OR1 においてもう一方の入力
の値にかかわらず、その出力は“1”となり、初期モー
ドの時は BSY1 信号は“1”が出力され、バスアービタ
9に入力され、装置 1が実装されていることをバスアー
ビタ 9に指示する。装置 2の BSY2,装置 3のBSY3につい
ても同様である。
In FIG. 5A, the output of the mode register MODE in the device 1 is "0" at the time of the initial mode, becomes "1" by passing through the NOT gate NOT1, and is input to the OR gate OR1. You. Regardless of the value of the other input in OR1, its output is "1", and in the initial mode, the BSY1 signal is "1", and the bus arbiter
9 and instructs bus arbiter 9 that device 1 is installed. The same applies to BSY2 of device 2 and BSY3 of device 3.

【0047】図5(b) に示されているアービタ 9内部で
は、これらの BSY1,BSY2,BSY3 信号を出力している装置
が未接続の場合は、これらの信号の論理が無効状態にな
るような論理確定手段を持っており、例えば、BSY1信号
を出力すべき装置 1が未実装のときは、バスアービタ 9
内部で、BSY1=“0”となるようなプルダウン手段 Rト9
1が各信号につき設けられていて、AND92 を介して、D1.
INSTALLを "0"とする。 初期モードか処理モードか
は、図示しない別手段でアービタ 9及び各装置 1,2,3に
伝えられる。初期モード時は上述のように、アービタ 9
は BSY1 〜BSY3信号を解析して、各装置の実装状態(D1.
INSTALL=1 等) を知ることができる。
In the arbiter 9 shown in FIG. 5 (b), if the device outputting these BSY1, BSY2, and BSY3 signals is not connected, the logic of these signals becomes invalid. If the device 1 to output the BSY1 signal is not mounted, the bus arbiter 9
Internally, pull-down means that BSY1 = "0"
1 is provided for each signal, and D1.
Set INSTALL to "0". Whether the mode is the initial mode or the processing mode is transmitted to the arbiter 9 and the devices 1, 2, and 3 by another means (not shown). In the initial mode, the arbiter 9
Analyzes the BSY1 to BSY3 signals and determines the mounting status of each device (D1.
INSTALL = 1 etc.).

【0048】処理モードの時の装置 1内のモードレジス
タ MODE の出力は "1" となり、アンドゲート AND1 に
入力される。AND1のもう一方の入力 BUF.FULL 信号は、
図4のコマンド受信バッファ 12 及び 13 がどちらもビ
ジー状態の時に“1”になり、この時 AND1 の出力は
“1”となり、BSY1信号は“1”が出力されるが、コマ
ンド受信バッファ 12 または 13 のどちらか少なくとも
一方が空き状態の時は、BUF.FULL信号は“0”が出力さ
れ、AND1ゲートの出力は“0”となり、BSY1信号は
“0”が出力され、バスアービタ 9に伝えられる。装置
2の BSY2,装置 3の BSY3 についても同様である。
The output of the mode register MODE in the device 1 in the processing mode becomes "1" and is input to the AND gate AND1. The other input BUF.FULL signal of AND1 is
When both the command receiving buffers 12 and 13 in FIG. 4 are busy, they become "1". At this time, the output of AND1 becomes "1" and the BSY1 signal outputs "1". 13 is empty, the BUF.FULL signal outputs "0", the output of the AND1 gate becomes "0", the BSY1 signal outputs "0", and is transmitted to the bus arbiter 9. . apparatus
The same applies to BSY2 of 2 and BSY3 of device 3.

【0049】このように、BSY1,BSY2,BSY3信号は、初期
モード時には、各装置が実装されていることを示す信号
として用いられ、初期モードでの初期設定、例えば、上
記実装状態の設定等が終了して、通常の処理モードに移
った時は、前記コマンド受信バッファ 12,13がビジーで
あり新たなコマンドパケットが受信不可能な状態を示す
信号として用いられる。
As described above, the BSY1, BSY2, and BSY3 signals are used as signals indicating that each device is mounted in the initial mode, and the initial settings in the initial mode, for example, the setting of the mounting state and the like are performed. When the processing is completed and the processing shifts to the normal processing mode, the command reception buffers 12 and 13 are used as signals indicating that the command reception buffers 12 and 13 are busy and a new command packet cannot be received.

【0050】図6は本発明の請求項1に対応する実施例
の変形例であって、上記装置 1,2,3のコマンド受信バッ
ファがビジー状態であることを示す信号 BSY1,BSY2,BSY
3 を専用のバス BBUS で各装置に伝達する場合を示して
いる。
FIG. 6 shows a modification of the embodiment corresponding to claim 1 of the present invention, in which signals BSY1, BSY2, BSY indicating that the command receiving buffers of the devices 1, 2, 3 are busy.
3 is transmitted to each device via a dedicated bus BBUS.

【0051】図6において、各装置は自装置へのコマン
ドパケット受信後の特定タイミングで、そのコマンド受
信バッファ 12 または 13 の状態を、専用のバス BBUS
を使用してコード化して出力する。例えば、該専用のBB
USを3ビット構成とし、最初の2ビットは自装置の番
号、最後の1ビットはバッファビジー情報(“0”が空
き、“1”がビジーを示すように決めておく)、また
は、該専用のバス BBUS を1ビットのみとし、バスアー
ビタ 9が、共通バス(CBUS)上のコマンドパケットの相手
先装置番号のフィールドを監視して、例えば装置 3への
コマンドパケット送信後、専用のバス BBUS に“1”が
出力されたら、装置 3のバッファはビジー状態になった
と認識できる。
In FIG. 6, each device changes the state of its command reception buffer 12 or 13 at a specific timing after receiving a command packet to its own device by using a dedicated bus BBUS.
And coded using. For example, the dedicated BB
The US has a 3-bit configuration, the first 2 bits are the number of the own device, the last 1 bit is buffer busy information (“0” is empty, “1” indicates busy), or the dedicated The bus arbiter 9 monitors the field of the destination device number of the command packet on the common bus (CBUS), and after transmitting the command packet to the device 3, for example, sets the bus BBUS to the dedicated bus BBUS. When "1" is output, it can be recognized that the buffer of the device 3 has become busy.

【0052】このように、各装置は自装置のコマンド受
信バッファの状態を前記専用のバスBBUS を使用してバ
スアービタ 9に伝えることができる。又、上記図4に示
した実施の形態では、共通バス(CBUS)の使用要求信号 B
RQ1,BRQ2,BRQ3 と、相手先装置の装置番号を示す情報を
バスアービタ 9に伝える信号DNOA,DNOB,DNOC を別の信
号線で伝達した例であるが、このような、各装置が転送
相手先を示す情報を出力する特別な手段は特に設けず、
各装置は、転送相手先を示す情報を、各装置からの1本
の共通バス(CBUS)の使用要求信号 BRQ1,BRQ2,BRQ3 を使
用してバスアービタ 9に伝えるようにしても良い。
In this way, each device can transmit the status of its own command receiving buffer to the bus arbiter 9 using the dedicated bus BBUS. In the embodiment shown in FIG. 4, the use request signal B of the common bus (CBUS) is used.
In this example, signals RQ1, BRQ2, and BRQ3 and signals DNOA, DNOB, and DNOC for transmitting information indicating the device number of the destination device to the bus arbiter 9 are transmitted through separate signal lines. There is no special means to output information indicating
Each device may transmit information indicating the transfer destination to the bus arbiter 9 by using one common bus (CBUS) use request signal BRQ1, BRQ2, BRQ3 from each device.

【0053】具体的には、装置 m( m=1〜3)アクセ
スのため装置nが共通バス(CBUS)の使用要求信号 BRQn
(n=1〜3、m ≠n )を出力する際、最初の1サイクル
めにBRQn をオンにし、2サイクルめと3サイクルめに
相手先装置番号に従って BRQn に一定のコードを出力す
る。即ち、 相手先装置が装置1の場合は、2サイクルめに“0”、
3サイクルめに“1” 相手先装置が装置2の場合は、2サイクルめに“1”、
3サイクルめに“0” 相手先装置が装置3の場合は、2サイクルめに“1”、
3サイクルめに“1” を出力するシリアル伝送であっても良い。
More specifically, the device n accesses the device m (m = 1 to 3), and the device n uses the common bus (CBUS) request signal BRQn.
When outputting (n = 1 to 3, m ≠ n), BRQn is turned on in the first cycle, and a fixed code is output to BRQn in the second and third cycles according to the destination device number. That is, when the other device is the device 1, “0” is set in the second cycle,
"1" in the third cycle If the destination device is device 2, "1" in the second cycle,
"0" in the third cycle If the destination device is device 3, "1" in the second cycle,
Serial transmission that outputs “1” in the third cycle may be used.

【0054】本発明のデータ処理システムでは、前記バ
スアービタ 9は、前記パケット受信側装置からの、前記
コマンド受信バッファがビジーであり、新たなコマンド
パケットの受信が不可能な状態であることを示す信号
(BSYm,m =1〜3)を受信した場合、その受信側装置
へのアクセス要求を示す共通バス(CBUS)の使用要求信号
BRQn (n=1〜3、m ≠n )に対する共通バス(CBUS)の
使用許可信号 BGRn ( n=1〜3)を与えず、他の、コ
マンド受信バッファがビジーでない装置へのアクセスを
要求している装置へ、該共通バス(CBUS)の使用許可信号
を与える。
In the data processing system according to the present invention, the bus arbiter 9 is a signal indicating that the command reception buffer from the packet receiving side device is busy and cannot receive a new command packet. When (BSYm, m = 1 to 3) is received, a common bus (CBUS) use request signal indicating an access request to the receiving side device
Requests access to another device whose command reception buffer is not busy without giving the common bus (CBUS) use permission signal BGRn (n = 1 to 3) to BRQn (n = 1 to 3, m ≠ n). To the corresponding device, the use permission signal of the common bus (CBUS) is given.

【0055】即ち、図4のように、装置 1は装置 3に対
してアクセスするために共通バス(CBUS)の使用要求信号
BRQ1 を出力し、装置 2は装置 1をアクセスするために
共通バス(CBUS)の使用要求信号 BRQ2 を出力している状
態で、装置1の相手側装置 3のコマンド受信バッファ 1
2 または 13 の状態を示す信号 BSY3 は“0”でビジー
ではなく、装置 2の相手側装置 1のコマンド受信バッフ
ァの状態を示す信号 BSY1 は“1”でビジーであると、
共通バス(CBUS)の使用要求信号自体の固有の優先順位
は、信号 BRQ1 の方が信号 BRQ2 より高いのではある
が、バスアービタ 9は、信号 BRQ2 に対する使用許可信
号 BGR2 を与えるように制御することができる。
That is, as shown in FIG. 4, the device 1 requests the use of the common bus (CBUS) to access the device 3.
BRQ1 is output, and device 2 outputs command request buffer 1 of device 3 on the other side of device 1 while outputting request signal BRQ2 for use of the common bus (CBUS) to access device 1.
If the signal BSY3 indicating the status of 2 or 13 is not "0" and not busy, and the signal BSY1 indicating the status of the command reception buffer of the other device 1 of the device 2 is "1" and busy.
Although the specific priority of the request signal for use of the common bus (CBUS) itself is higher for signal BRQ1 than for signal BRQ2, bus arbiter 9 may control to provide use permission signal BGR2 for signal BRQ2. it can.

【0056】図7は、各装置がコマンド受信バッファが
ビジーであることを示す信号 BSY1,BSY2,BSY3 をバスア
ービタ 9に伝達せず、他の全装置に該信号 BSY1,BSY2,B
SY3を伝達する場合を示した図である。
FIG. 7 shows that each device does not transmit the signals BSY1, BSY2, BSY3 indicating that the command reception buffer is busy to the bus arbiter 9, but to all other devices the signals BSY1, BSY2, BSY.
FIG. 9 is a diagram showing a case where SY3 is transmitted.

【0057】即ち、図7と図4は、各装置からのコマン
ド受信バッファがビジーであることを示す信号 BSY1,BS
Y2,BSY3 が、バスアービタ 9に入力されずに、自装置以
外の他の全装置に入力されている点が異なる。
7 and 4 show signals BSY1 and BS indicating that the command reception buffer from each device is busy.
The difference is that Y2 and BSY3 are not input to the bus arbiter 9 but are input to all devices other than the own device.

【0058】図7のように、複数の装置 1、 2、 3が、
共通バス(CBUS)を使用して、パケットを互いに送受信
し、各装置 1、 2、 3はコマンドパケット送出に先立
ち、予め定められた優先順位の共通バス(CBUS)の使用要
求信号 BRQ1,BRQ2,BRQ3 を出力し、バスアービタ 9はそ
の共通バス(CBUS)の使用要求信号 BRQ1,BRQ2,BRQ3 を調
停して優先順位に従い共通バス使用装置を決定して、対
応する共通バス(CBUS)の使用許可信号 BGR1,BGR2,BGR3
を与え、使用許可を受けた装置がコマンドパケットを送
信するよう制御されるデータ処理システムであって、各
装置 1、 2、 3は共通バス(CBUS)の使用要求信号 BRQ1,
BRQ2,BRQ3 を出力すると同時に、自装置のコマンド受信
バッファがビジーであり新たなコマンドパケット受信不
可能な状態の時に、その状態を他の全装置に、 BSY1 信
号 (装置 1の場合) として装置 2及び装置 3に、また
は、 BSY2 信号 (装置2 の場合) として装置 1または装
置 3に、または、 BSY3 信号 (装置3 の場合)として装
置 1または装置 2に送出する。
As shown in FIG. 7, a plurality of devices 1, 2, 3
Using a common bus (CBUS), packets are transmitted and received between each other.Each of the devices 1, 2, and 3 sends a use request signal BRQ1, BRQ2, BRQ3 is output, and the bus arbiter 9 arbitrates the common bus (CBUS) use request signal BRQ1, BRQ2, BRQ3, determines the common bus use device according to the priority order, and uses the corresponding common bus (CBUS) use enable signal. BGR1, BGR2, BGR3
A data processing system in which a device that is permitted to use is controlled to transmit a command packet, and each of the devices 1, 2, and 3 uses a common bus (CBUS) use request signal BRQ1,
At the same time that BRQ2 and BRQ3 are output, when the command reception buffer of the own device is busy and a new command packet cannot be received, the status is sent to all other devices as BSY1 signal (for device 1). And to device 3 or as a BSY2 signal (for device 2) to device 1 or device 3 or as a BSY3 signal (for device 3) to device 1 or device 2.

【0059】又、前述の図6では、専用のバス BBUS が
バスアービタ 9に接続されているが、上記図7に対応し
て、該専用のバス BBUS を、該バスアービタ 9に接続し
ないで、各装置が専用のバス BBUS に出力した情報を他
の全装置にのみ入力するように構成しても良い。
In FIG. 6 described above, the dedicated bus BBUS is connected to the bus arbiter 9. However, corresponding to FIG. 7, the dedicated bus BBUS is not connected to the bus arbiter 9 and each device is connected. May be configured to input the information output to the dedicated bus BBUS only to all other devices.

【0060】この場合にも、各装置 1,2,3は自装置への
コマンドパケット受信後の特定タイミングで、そのコマ
ンド受信バッファの状態を、専用のバス BBUS を使用し
てコード化して出力する。例えば、専用のバス BBUS を
3ビット構成とし、最初の2ビットは自装置の番号、最
後の1ビットはコマンド受信バッファのビジー信号
(“0”が空き、“1”がビジーを示すように決めてお
く)、または、専用のバスBBUS を1ビットのみとし、
各装置が、共通バス(CBUS)上のコマンドパケットの相手
先装置番号を監視して、例えば装置 3へのコマンドパケ
ット送信後、該専用のバス BBUS に“1”が出力された
ら、装置 3のコマンド受信バッファ 32,33はビジー状態
になったと認識できるように構成することで、各装置は
自装置のコマンド受信バッファの状態を前記専用のバス
BBUS を使用して全装置に伝えることができる。
Also in this case, each of the devices 1, 2, and 3 encodes and outputs the status of the command reception buffer using a dedicated bus BBUS at a specific timing after receiving the command packet to the own device. . For example, the dedicated bus BBUS has a 3-bit configuration, the first 2 bits are the number of the own device, the last 1 bit is a busy signal of the command reception buffer (“0” is empty, and “1” is busy). Or the dedicated bus BBUS is only 1 bit,
Each device monitors the destination device number of the command packet on the common bus (CBUS). For example, after transmitting a command packet to the device 3, if "1" is output to the dedicated bus BBUS, the device 3 By configuring the command reception buffers 32 and 33 so that they can be recognized as being in a busy state, each device can change the status of its own command reception buffer to the dedicated bus.
All devices can be communicated using BBUS.

【0061】図8は、本発明の他の実施例を示した図で
あって、請求項4〜7に対応する実施例を示している。
図8は図4、図6、図7と比べて、各装置 1,2,3からの
コマンド受信バッファのビジー信号 BSY1,BSY2,BSY3 及
び、各装置から出力される相手先装置の装置番号を示す
情報をバスアービタ 9に伝達するための手段を提供する
信号 DNOA,DNOB,DNOC を伝達する手段がなく、代わりに
各装置 1,2,3内に、常時、共通バス(CBUS)上の全てのパ
ケットを受信し解析する受信パケット監視回路 17,27,3
7 がある点が本質的に異なる。
FIG. 8 is a view showing another embodiment of the present invention, and shows an embodiment corresponding to claims 4 to 7.
FIG. 8 shows the busy signals BSY1, BSY2, BSY3 of the command receiving buffer from each of the devices 1, 2, 3 and the device numbers of the destination devices output from each device, as compared with FIGS. There is no means to transmit the signals DNOA, DNOB, DNOC, which provides a means for transmitting the information to the bus arbiter 9, and instead, all devices on the common bus (CBUS) are always stored in each device 1, 2, 3. Received packet monitoring circuit that receives and analyzes packets 17,27,3
7 is essentially different.

【0062】先ず、図8と図9(a) を用いて、請求項7
に対応する実施例を説明する。図8において、各装置内
における上記受信パケット監視回路 17 または 27 また
は 37 は、他装置のパケット送信用バッファの送出情報
を監視し、その監視情報により、自装置がパケットを送
出する可能性のある相手側全装置のコマンド受信バッフ
ァの状態を間接的に得るようにしたものである。
First, referring to FIG. 8 and FIG.
An embodiment corresponding to FIG. In FIG. 8, the reception packet monitoring circuit 17 or 27 or 37 in each device monitors transmission information of a packet transmission buffer of another device, and there is a possibility that the own device transmits a packet based on the monitoring information. This is to indirectly obtain the status of the command reception buffers of all the devices on the other side.

【0063】すなわち、共通バス(CBUS)上に送出された
コマンドパケットの相手先、及び返信パケットの送出元
を監視する。該コマンドパケット、返信パケットは、図
17(a) 〜(e) に示されているように、自装置番号、相
手先装置番号のフィールドを持っているので、該フィー
ルドの番号の監視により得られた情報と、後述の該共通
バス(CBUS)を介して得られた相手先のコマンド受信バッ
ファの段数情報とから、相手先コマンド受信バッファが
現在ビジーであるかどうかを知ることができる。
That is, the destination of the command packet transmitted on the common bus (CBUS) and the source of the return packet are monitored. As shown in FIGS. 17A to 17E, the command packet and the reply packet have the own device number and the destination device number fields, and thus can be obtained by monitoring the numbers of the fields. It is possible to know whether or not the destination command reception buffer is currently busy from the information and the number of stages of the destination command reception buffer obtained via the common bus (CBUS) described later.

【0064】すなわち、装置 1内の受信パケット監視回
路 17 において、まず自分がコマンドパケットを送出す
る可能性のある相手側装置、例えば、装置 2及び装置 3
のコマンド受信バッファの数がそれぞれ2個であるとい
う情報を受信パケット監視回路 17 の内部に保持してお
く。
That is, in the reception packet monitoring circuit 17 in the device 1, first, the other device which may transmit a command packet, for example, the device 2 and the device 3
The information that the number of command reception buffers is 2 is stored in the reception packet monitoring circuit 17.

【0065】そして共通バス(CBUS)上に送出されたコマ
ンドパケットの相手先及び返信パケットの送出元を常時
監視し、例えば、装置 2を相手先にしたコマンドパケッ
トが2個送出されたことを検出すると、その時点で装置
2のコマンド受信バッファ 22,23はビジーになっている
と判断できる。
The destination of the command packet transmitted on the common bus (CBUS) and the source of the return packet are constantly monitored, and for example, it is detected that two command packets addressed to the device 2 have been transmitted. Then, at that time the device
It can be determined that the second command reception buffers 22, 23 are busy.

【0066】そして装置 2からの返信パケットが1個検
出されると、装置 2のコマンド受信バッファ 22,23のう
ち1個は空いたということが判断できる。又、さらに装
置 2へのコマンドパケットが検出されると、その時点で
装置 2のコマンド受信バッファは、またビジー状態にな
ったと判断できる。装置 3についても同様である。この
ようにして、受信パケット監視回路 17 は、共通バス(C
BUS)上のパケットのみを監視することにより、他装置の
コマンド受信バッファのビジー状態を判断することがで
きる。
When one reply packet from the device 2 is detected, it can be determined that one of the command receiving buffers 22, 23 of the device 2 is free. Further, when a command packet to the device 2 is further detected, it can be determined at that time that the command reception buffer of the device 2 has become busy again. The same applies to the device 3. In this way, the reception packet monitoring circuit 17 uses the common bus (C
By monitoring only the packets on the BUS), the busy state of the command reception buffer of another device can be determined.

【0067】又、図8において、18,28,38は、それぞ
れ、装置 1、装置 2、装置 3内の受信バッファの個数情
報を保持する保持レジスタであり、他装置から読み出し
可能となっている。
In FIG. 8, reference numerals 18, 28, and 38 denote holding registers for holding information on the number of reception buffers in the device 1, the device 2, and the device 3, respectively, which can be read from other devices. .

【0068】図8において、18は、装置1 内の受信バッ
ファの個数情報を保持する保持レジスタであり、装置 1
の場合は、本図においては、12で示したコマンド受信バ
ッファ1個であるので、“1”という情報が保持されて
いる。これを装置 2及び装置3が読出して、自装置内の
受信パケット監視手段 27 及び 37 に、装置 1のコマン
ド受信バッファの段数情報として保持する。
In FIG. 8, reference numeral 18 denotes a holding register for holding information on the number of reception buffers in the device 1;
In the case of (1), in this figure, since there is one command reception buffer indicated by 12, information "1" is held. This is read out by the device 2 and the device 3 and stored in the received packet monitoring means 27 and 37 in the own device as information on the number of stages of the command reception buffer of the device 1.

【0069】同様に、28は、装置 2内のコマンド受信バ
ッファの個数情報を保持する保持レジスタであり、装置
2の場合は本図においては、22,23 で示したコマンド受
信バッファ2個であるので、“2”という情報が保持さ
れている。これを装置 1及び装置 3が読出して、自装置
内の受信パケット監視回路 17 及び 37 に、装置 2のコ
マンド受信バッファ段数情報として保持する。
Similarly, reference numeral 28 denotes a holding register for holding information on the number of command reception buffers in the device 2;
In the case of 2, in this figure, since there are two command receiving buffers indicated by 22 and 23, information "2" is held. This is read out by the device 1 and the device 3 and held as received command buffer stage number information of the device 2 in the received packet monitoring circuits 17 and 37 in the device itself.

【0070】同様に、38は、装置 3内のコマンド受信バ
ッファの個数情報を保持する保持レジスタであり、装置
3の場合は本図においては、32で示した受信バッファ1
個であるので、“1”という情報が保持されている。こ
れを装置 1及び装置 2が読出して、自装置内の受信パケ
ット監視回路 17 及び 27 に、装置 3のコマンド受信バ
ッファ段数情報として保持する。
Similarly, reference numeral 38 denotes a holding register for holding information on the number of command reception buffers in the device 3;
In the case of 3, in this figure, the reception buffer 1 indicated by 32
Since the number is “1”, information “1” is held. This is read out by the device 1 and the device 2 and stored in the received packet monitoring circuits 17 and 27 in the device itself as the command receiving buffer stage number information of the device 3.

【0071】このように、各装置のコマンド受信バッフ
ァの段数情報をもとに、請求項7のように、共通バス(C
BUS)上のパケットを監視することにより、他装置のコマ
ンド受信バッファがビジーかどうか判断することができ
る。
As described above, based on the information on the number of stages of the command receiving buffer of each device, the common bus (C
By monitoring the packets on the BUS), it is possible to determine whether the command reception buffer of another device is busy.

【0072】図9は、本発明のアクセス要求とパケット
処理を説明する図であって、図9(a) は、コマンド受信
バッファのビジー信号を各装置に伝達する手段のないデ
ータ処理システムにおいて、パケット送信装置での共通
バス(CBUS)の使用要求信号を制御する手段の構成例を示
したもので、図8の装置 1における他装置へのアクセス
要求部 105の具体例を示しており、101 は装置 2へのア
クセス要求発生部を示し、102 は装置 2のコマンド受信
バッファビジー検出部を示し、103 は装置 3へのアクセ
ス要求発生部を示し、104 は装置 3のコマンド受信バッ
ファビジー検出部を示し、AND3,AND4 はアンドゲートを
示し、OR2 はオアゲートを示している。
FIG. 9 is a diagram for explaining an access request and packet processing of the present invention. FIG. 9 (a) shows a data processing system having no means for transmitting a busy signal of a command reception buffer to each device. 8 shows a configuration example of a means for controlling a use request signal of a common bus (CBUS) in the packet transmission device, and shows a specific example of an access request unit 105 to another device in the device 1 of FIG. Indicates an access request generation unit for device 2, 102 indicates a command reception buffer busy detection unit of device 2, 103 indicates an access request generation unit for device 3, and 104 indicates a command reception buffer busy detection unit of device 3. , AND3 and AND4 indicate AND gates, and OR2 indicates an OR gate.

【0073】本図9において、装置 1内部で、装置 2へ
のアクセス要求がアクセス要求発生部 101より発生して
も、装置 2のコマンド受信バッファ 22,23がビジー状態
であることを示す信号(ビジー状態のとき“0”とす
る)をコマンド受信バッファビジー検出部 102より受け
取った場合は、アンドゲート AND3 によりゲートされ、
共通バス(CBUS)の使用要求信号 BRQ1 として出力されな
い。同様に、装置 1内部で、装置 3へのアクセス要求が
アクセス要求発生部 103より発生しても、装置 3のコマ
ンド受信バッファがビジー状態であることを示す信号
(ビジー状態のとき“0”とする)をコマンド受信バッ
ファビジー検出部 104より受け取った場合は、アンドゲ
ート AND4 によりゲートされ、共通バス(CBUS)の使用要
求信号 BRQ1として出力されない。この手段を用いて、
パケット送信元装置は、自分がパケットを送信しようと
する相手先の装置のコマンド受信バッファがビジーであ
った場合、共通バス(CBUS)の使用要求信号を送出しない
でおき、受信バッファが空き状態になってから共通バス
(CBUS)の使用要求信号を送出するようにすることができ
る。
In FIG. 9, even if an access request to the device 2 is generated from the access request generator 101 inside the device 1, a signal indicating that the command reception buffers 22, 23 of the device 2 are busy ( (“0” in the busy state) is received from the command reception buffer busy detection unit 102, and is gated by the AND gate AND3,
Not output as common bus (CBUS) use request signal BRQ1. Similarly, even if an access request to the device 3 is generated from the access request generation unit 103 inside the device 1, a signal indicating that the command reception buffer of the device 3 is busy (“0” when busy). Is received from the command reception buffer busy detection unit 104, it is gated by the AND gate AND4 and is not output as the common bus (CBUS) use request signal BRQ1. Using this means,
If the command reception buffer of the destination device to which the packet is to be transmitted is busy, the packet transmission source device does not send a request signal for use of the common bus (CBUS) and leaves the reception buffer empty. Common bus
(CBUS) use request signal can be transmitted.

【0074】即ち、装置 1が装置 2へコマンドパケット
を送出したい場合、 BSY2 信号が“1”、すなわち相手
側装置 2のコマンド受信バッファ 22,23がビジーであっ
た場合、共通バス(CBUS)の使用要求信号 BRQ1 の送出を
保留し、 BSY2 信号が“0”すなわち相手側装置 2のコ
マンド受信バッファ 22,23が空きになった場合、共通バ
ス(CBUS)の使用要求信号 BRQ1 の送出を行うようにす
る。
That is, when the device 1 wants to send a command packet to the device 2, when the BSY2 signal is "1", that is, when the command receiving buffers 22, 23 of the partner device 2 are busy, the common bus (CBUS) When the transmission of the use request signal BRQ1 is suspended and the BSY2 signal is “0”, that is, when the command reception buffers 22, 23 of the partner device 2 become empty, the use request signal BRQ1 of the common bus (CBUS) is transmitted. To

【0075】又、前述の受信パケット監視回路 17 また
は 27 または 37 により得られた相手先装置のコマンド
受信バッファの段数状態を示す情報により、パケット送
信元装置は、自分がパケットを送信しようとする相手先
の装置のコマンド受信バッファがビジーであった場合、
共通バス(CBUS)の使用要求信号を送出しないでおき、コ
マンド受信バッファが空き状態になってから共通バス(C
BUS)の使用要求信号を送出するようにする。
Further, based on the information indicating the number of stages of the command reception buffer of the destination device obtained by the above-described received packet monitoring circuit 17 or 27 or 37, the packet transmission source device determines that the destination If the command reception buffer of the previous device is busy,
Do not send a request signal to use the common bus (CBUS).
BUS) is transmitted.

【0076】次に、同じ図8を用いて、請求項4に対応
する実施例を説明する。図8において、BRE1,BRE2,BRE3
は、それぞれ、装置 1、装置 2、装置 3が出力する、予
め定められている優先順位のより高い共通バス(CBUS)の
使用要求信号を示し、前述の図9(a) に示した105,205,
305 は、それぞれ、装置 1、装置 2、装置 3における、
他装置へのアクセス要求部を示し、106,206,306 は、そ
れぞれ、装置 1、装置2、装置 3における、アクセス要
求信号切り換え部を示し、107,207,307 は、それぞれ、
装置 1、装置 2、装置 3における、リトライカウンタを
示している。
Next, an embodiment corresponding to claim 4 will be described with reference to FIG. In FIG. 8, BRE1, BRE2, BRE3
Indicates a use request signal of a common bus (CBUS) having a predetermined higher priority, which is output from the device 1, the device 2, and the device 3, respectively, and indicates 105, 205, and 105 shown in FIG.
305 is the device 1, device 2, and device 3, respectively.
106, 206, and 306 indicate access request signal switching units in the device 1, the device 2, and the device 3, respectively. 107, 207, and 307 indicate
3 shows a retry counter in a device 1, a device 2, and a device 3.

【0077】複数の装置 1、 2、 3が、共通バス(CBUS)
を使用して、パケットを互いに送受信し、各装置 1、
2、 3は、予め定められた優先順位の共通バス(CBUS)の
使用要求信号 BRQ1,BRQ2,BRQ3 を出力し、当該データ処
理システム内に存在するバスアービタ 9は、その共通バ
ス(CBUS)の使用要求信号 BRQ1,BRQ2,BRQ3 を調停して優
先順位に従い共通バス使用装置を決定して、対応する共
通バス(CBUS)の使用許可信号 BGR1,BGR2,BGR3 を与え、
許可を受けた装置がコマンドパケット送信時に相手側装
置のコマンド受信バッファがビジー状態(コマンドパケ
ット受信不可能状態)であった場合、パケット受信側装
置は、パケット送信元装置に対して、図17(e) のよう
にコマンドパケットの再送信を必要とする旨の情報(パ
ケット種別=100) を付加した返信パケットを返送す
るような転送を許すデータ処理システムであって、各装
置内に、パケットを再送信した回数をカウントする上記
リトライカウンタ 107、 207、307 を設け、パケット送
信元装置はその返信パケット受信後、一定の時間経過
後、再び同一のコマンドパケットを送出するとともに、
上記リトライカウンタ 107、 207、 307をインクリメン
トすることを、コマンドパケットが相手側装置に受信さ
れるまで繰り返し、リトライカウンタ 107または207ま
たは 307が所定の閾値以上になったら、その情報をアク
セス要求信号切り換え部 106、206 、306 に伝えること
により、通常の共通バス(CBUS)の使用要求信号 BRQ1,BR
Q2,BRQ3 に代えて、優先度の高い共通バス(CBUS)の使用
要求信号 BRE1,BRE2,BRE3 を送出するように制御する。
A plurality of devices 1, 2, and 3 are connected to a common bus (CBUS)
To send and receive packets to and from each device 1,
2 and 3 output use request signals BRQ1, BRQ2, and BRQ3 of the common bus (CBUS) having a predetermined priority, and the bus arbiter 9 existing in the data processing system uses the common bus (CBUS). Arbitrate the request signals BRQ1, BRQ2, and BRQ3, determine the device that uses the common bus according to the priority order, and provide the use permission signals BGR1, BGR2, and BGR3 for the corresponding common bus (CBUS),
When the command receiving buffer of the partner device is in a busy state (command packet unreceivable state) at the time of transmission of the command packet by the permitted device, the packet receiving device transmits the packet to the packet transmission source device as shown in FIG. e) A data processing system that allows transfer such as returning a reply packet to which information (packet type = 100) indicating that a command packet needs to be retransmitted as shown in e). The retry counters 107, 207, and 307 for counting the number of retransmissions are provided, and the packet transmission source device sends out the same command packet again after a certain time has elapsed after receiving the return packet,
The above-described increment of the retry counters 107, 207, and 307 is repeated until the command packet is received by the partner device. When the retry counter 107, 207, or 307 exceeds a predetermined threshold, the information is switched to an access request signal. By transmitting the signals to the units 106, 206, and 306, the request signals BRQ1 and BR
Control is performed so that the use request signals BRE1, BRE2, and BRE3 of the high priority common bus (CBUS) are transmitted instead of Q2 and BRQ3.

【0078】次に、同じ図8、図9(b) を使用して、請
求項5に対応する実施例を説明する。本発明のデータ処
理システムでは、図17(e) に示した返信パケットのパ
ケット種別を示すフィールドの内容により、パケットの
再送信の時間を変更するものである。
Next, an embodiment corresponding to claim 5 will be described with reference to FIGS. 8 and 9B. In the data processing system of the present invention, the retransmission time of the packet is changed according to the contents of the field indicating the packet type of the return packet shown in FIG.

【0079】本発明では、例えば、コマンド受信バッフ
ァがビジー状態の時の返信パケット(ビジー返信パケッ
ト)の、再送信を必要とする旨の情報(パケット種別に
よる)の第1の場合(第1のビジー返信時)と、コマン
ド受信バッファがビジー状態の時の返信パケット(ビジ
ー返信パケット)の、再送信を必要とする旨の情報(パ
ケット種別による)の第2の場合(第2のビジー返信
時)とを設ける。
In the present invention, for example, in the first case (first packet) of information (depending on the packet type) indicating that retransmission is required for a reply packet (busy reply packet) when the command reception buffer is busy. The second case (at the time of the second busy reply) of the information (depending on the packet type) indicating that the retransmission is required in the return packet (busy reply packet) when the command reception buffer is in the busy state. ).

【0080】図9(b) は、各装置 1,2,3での本発明の再
送返信時間の変更による返信パケット受信処理方法を流
れ図で示している。複数の装置が、共通バス(CBUS)を使
用して、パケットを互いに送受信し、各装置 1,2,3は通
常は、予め定められた優先順位の共通バス(CBUS)の使用
要求信号を出力し、データ処理システム内に存在するバ
スアービタ 9は、その共通バス(CBUS)の使用要求信号を
調停して共通バス使用装置を決定して許可を与え、許可
を受けた装置がコマンド送信時に相手側装置のコマンド
受信バッファがビジー状態(コマンド受信不可能状態)
であった場合、パケット受信側装置は、パケット送信元
装置に対して、パケットの再送信を必要とする旨の情報
を付加した返信パケットを返送するような転送を許すデ
ータ処理システムであって、相手側装置は、コマンド受
信バッファがビジー状態ではあるが、受信したコマンド
パケットに対する返信パケットを一定時間以内に返せる
状態であるときに、新たなコマンドパケットを受信した
場合は、コマンド受信バッファがビジー状態の時の返信
パケット(ビジー返信パケット)として、再送信を必要
とする旨の情報の第1の場合(第1のビジー返信時)を
示す情報、たとえばパケット種別=“101”を返信パ
ケット送信用バッファ上に生成する。
FIG. 9 (b) is a flowchart showing a reply packet receiving processing method by changing the retransmission reply time of the present invention in each of the devices 1, 2, and 3. A plurality of devices transmit and receive packets to and from each other using a common bus (CBUS), and each of the devices 1, 2, and 3 normally outputs a request signal for use of the common bus (CBUS) having a predetermined priority. Then, the bus arbiter 9 existing in the data processing system arbitrates the use request signal of the common bus (CBUS), determines a device using the common bus, and gives a permission. The command reception buffer of the device is busy (command cannot be received)
If the packet receiving side device is a data processing system that allows the packet transmission source device to transfer the packet transmission device to return a reply packet to which information indicating that the packet needs to be retransmitted, If the other device receives a new command packet while the command reception buffer is busy but a return packet for the received command packet can be returned within a predetermined time, the command reception buffer is in a busy state. As a reply packet (busy reply packet) at the time of (1), information indicating the first case (at the time of the first busy reply) of information indicating that retransmission is required, for example, packet type = “101” is used for reply packet transmission. Generate on buffer.

【0081】また、相手側装置は、コマンド受信バッフ
ァがビジー状態で、かつ、受信したコマンドパケットに
対する返信パケットを返せるまでの時間が一定時間以上
かかる見込 (例えば、返信パケットの生成迄に処理時間
がかかる場合等) のとき、新たなコマンドパケットを受
信した場合は、コマンド受信バッファがビジー状態の時
の返信パケット(ビジー返信パケット)の、再送信を必
要とする旨の情報の第2の場合(第2のビジー返信時)
を示す情報、たとえばパケット種別=“110”を返信
パケット送信用バッファ上に生成する。
Further, the other party expects that the command reception buffer is busy and it takes a certain time or longer to return a reply packet for the received command packet (for example, the processing time is required until the return packet is generated). In such a case, if a new command packet is received, the second case of information indicating that retransmission is required in a reply packet (busy reply packet) when the command reception buffer is in a busy state (busy reply packet) (When the second busy reply)
, For example, a packet type = “110” is generated on the reply packet transmission buffer.

【0082】コマンド送信元装置は、コマンド送信時、
相手先装置から返信パケットを受け取ったとき、図9
(b) のように、パケット種別を解析した結果、パケット
種別=“101”であったときは、今はビジー状態であ
っても一定時間以内には返信パケットが返され、相手側
装置のコマンド受信バッファが空くはずであることか
ら、第1の時間経過後にコマンドパケットを再送信す
る。{図9(b) の処理ステップ 300〜302 参照} また、パケット種別を解析した結果、パケット種別=
“110”であったときは、相手側装置のコマンド受信
バッファの状態がビジー状態であってかつ、一定時間以
上ビジー状態である見込であることから、第1の時間よ
り長い時間である第2の時間経過後にコマンドパケット
を再送信する。{図9(b) の処理ステップ303,304参
照} 次に、図10を用いて、変形された他の実施例を説明す
る。図10において、170,270,370 は、それぞれ、装置
1、装置 2、装置 3における、相手側装置の返信パケッ
ト監視回路を示し、19,29,39は、それぞれ、装置 1、装
置 2、装置 3における、バス使用要求出力制御回路を示
す。
At the time of command transmission, the command transmission source device
When a reply packet is received from the destination device,
As shown in (b), if the packet type is "101" as a result of analyzing the packet type, a reply packet is returned within a certain period of time even if the packet is currently busy, Since the receiving buffer should be empty, the command packet is retransmitted after the first time has elapsed. {See processing steps 300 to 302 in FIG. 9 (b)} As a result of analyzing the packet type, the packet type =
When the value is “110”, the command receiving buffer of the partner device is in a busy state and is expected to be in a busy state for a predetermined time or more, so the second time is longer than the first time. After the time elapses, the command packet is retransmitted. {See Processing Steps 303 and 304 in FIG. 9B} Next, another modified embodiment will be described with reference to FIG. In FIG. 10, 170, 270, and 370 are devices, respectively.
1, a reply packet monitoring circuit of the partner device in the device 2, device 3 is shown, and 19, 29, 39 show a bus use request output control circuit in the device 1, device 2, and device 3, respectively.

【0083】複数の装置 1、 2、 3が、共通バス(CBUS)
を使用して、パケットを互いに送受信し、各装置 1、
2、 3は、予め定められた優先順位の共通バス(CBUS)の
使用要求信号 BRQ1,BRQ2,BRQ3 を出力し、当該データ処
理システム内に存在するバスアービタ 9は、その共通バ
ス(CBUS)の使用要求信号 BRQ1,BRQ2,BRQ3 を調停して優
先順位に従い共通バス使用装置を決定して、対応する共
通バス(CBUS)の使用許可信号 BGR1,BGR2,BGR3 を与え、
許可を受けた装置がパケット送信時に相手側装置のコマ
ンド受信バッファがビジー状態(パケット受信不可能状
態)であった場合、パケット受信側装置は、パケット送
信元装置に対して、図17(e) のようにパケットの再送
信を必要とする旨の情報(パケット種別=100)を付
加した返信パケットを返送するような転送を許すデータ
処理システムであって、パケット受信側装置が、そのコ
マンド受信バッファがビジーであり、新たなパケット受
信不可能な状態であるという情報を受けた送信側装置
は、上記返信パケット監視回路170、270 、370 により
パケット受信側装置の返信パケットを監視し、パケット
受信側装置の通常の返信パケットが1つでも発行された
のを確認した場合は、上記返信パケット監視回路 170、
270 、370 から共通バス使用要求出力制御回路 19 、2
9、39に通知することにより、再び共通バス(CBUS)の使
用要求信号を出力することができる。
A plurality of devices 1, 2, and 3 are connected to a common bus (CBUS)
To send and receive packets to and from each device 1,
2 and 3 output use request signals BRQ1, BRQ2, and BRQ3 of the common bus (CBUS) having a predetermined priority, and the bus arbiter 9 existing in the data processing system uses the common bus (CBUS). Arbitrate the request signals BRQ1, BRQ2, and BRQ3, determine the device that uses the common bus according to the priority order, and provide the use permission signals BGR1, BGR2, and BGR3 for the corresponding common bus (CBUS),
If the command receiving buffer of the partner device is in a busy state (packet unreceivable state) when the permitted device transmits a packet, the packet receiving device transmits the packet to the packet transmission source device as shown in FIG. Is a data processing system that allows transfer of returning a reply packet to which information (packet type = 100) to the effect that packet retransmission is required, wherein the packet receiving side device has a command reception buffer Is busy, and the transmitting apparatus receiving the information that the new packet cannot be received, the reply packet monitoring circuits 170, 270, and 370 monitor the reply packet of the packet receiving apparatus by the reply packet monitoring circuits 170, 270, and 370. If it is confirmed that at least one normal reply packet of the device has been issued, the reply packet monitoring circuit 170,
Common bus use request output control circuit 19, 2 from 270, 370
By notifying 9, 39, the use request signal of the common bus (CBUS) can be output again.

【0084】次に、図11を使用して、本発明の他の変
形された実施例を説明する。図11において、前述のよ
うに、BRE1、BRE2、BRE3は、それぞれ、装置 1、装置
2、装置 3が出力する、優先順位のより高い共通バス(CB
US)の使用要求信号を示している。
Next, another modified embodiment of the present invention will be described with reference to FIG. In FIG. 11, as described above, BRE1, BRE2, and BRE3 are device 1, device
2.The higher priority common bus (CB
US).

【0085】本変形例では、パケット受信側装置が新た
なパケット受信不可能な状態から再び受信可能な状態に
なったという情報を得た送信側装置が送出した共通バス
(CBUS)の使用要求信号 BRQ1,BRQ2,BRQ3 が、バスアービ
タ 9によって許可されずに他の装置からの共通バス(CBU
S)の使用要求信号に許可が与えられた場合、許可を与え
られなかった装置は、共通バス(CBUS)のバス使用要求出
力制御回路 19 、29、39により、通常の共通バス(CUBS)
の使用要求信号 BRQ1,BRQ2,BRQ3 に代えて、優先順位の
高い共通バス(CBUS)の使用要求信号 BRE1,BRE2,BRE3 を
出力する。
In this modified example, the common bus transmitted by the transmitting side device which has obtained the information that the packet receiving side device has changed from the state in which a new packet cannot be received to the state in which the packet can be received again.
(CBUS) use request signals BRQ1, BRQ2, and BRQ3 are not permitted by the bus arbiter 9 and the common bus (CBU
When permission is given to the use request signal of (S), the device for which permission has not been given is sent to the common bus (CUBS) by the bus use request output control circuits 19, 29, and 39 of the common bus (CBUS).
Instead of the use request signals BRQ1, BRQ2, and BRQ3, the use request signals BRE1, BRE2, and BRE3 of the high-priority common bus (CBUS) are output.

【0086】上記送信側装置が送出した共通バス(CBUS)
の使用要求信号 BRQ1,BRQ2,BRQ3 が、バスアービタ 9に
よって許可されずに他の装置からの共通バス(CBUS)の使
用要求に許可が与えられた場合は、例えば、上記共通バ
ス(CBUS)の使用要求信号 BRQ1,BRQ2,BRQ3 に対する共通
バス(CBUS)の使用許可信号 BGR1,BGR2,BGR3 の応答を監
視していて、本来なら該共通バス(CBUS)の使用許可信号
BGR1,BGR2,BGR3 が得られる時間が経過しても、該共通
バス(CBUS)の使用許可信号 BGR1,BGR2,BGR3 が得られな
いことから容易に認識することができる。
The common bus (CBUS) transmitted by the transmitting device
When the use request signals BRQ1, BRQ2, and BRQ3 are not granted by the bus arbiter 9 and the use request of the common bus (CBUS) is given from another device, for example, the use of the common bus (CBUS) is performed. Monitors the response of the common bus (CBUS) to the request signal BRQ1, BRQ2, and BRQ3.Monitors the response of the BGR1, BGR2, and BGR3.
Even if the time for obtaining BGR1, BGR2, and BGR3 elapses, it can be easily recognized from the fact that the use permission signals BGR1, BGR2, and BGR3 for the common bus (CBUS) are not obtained.

【0087】次に、図12、図13、図14によって、
請求項6に対応する実施例を説明する。図12に示した
構成例は、前述の図8の構成例と基本構成、具体的に
は、受信バッファの状態を他の装置に送出しない構成は
同じであるが、図12では、本発明に関する構成要素を
中心にして記載してある。
Next, FIG. 12, FIG. 13 and FIG.
An embodiment corresponding to claim 6 will be described. The configuration example shown in FIG. 12 has the same basic configuration as the configuration example of FIG. 8 described above, specifically, the configuration in which the state of the reception buffer is not sent to another device. The description focuses on the components.

【0088】本図において、121,221,321 は、それぞ
れ、装置 1、装置 2、装置 3内における、データシーケ
ンス制御回路を示している。複数の装置 1、 2、 3が、
共通バス(CBUS)を使用して、パケットを互いに送受信す
るデータ処理システムにおいて、各装置が受信したコマ
ンドパケットに対する返信パケットの返信タイミング
を、各装置内のデータシーケンス制御回路が制御するこ
とにより、通常では、コマンドパケットを受信してから
必ず一定バスサイクル後に必ず返信パケットを返信する
ように制御することができる。
In the figure, reference numerals 121, 221 and 321 denote data sequence control circuits in the device 1, the device 2 and the device 3, respectively. Multiple devices 1, 2, 3
In a data processing system that transmits and receives packets to and from each other using a common bus (CBUS), a data sequence control circuit in each device controls the return timing of a return packet in response to a command packet received by each device. In such a case, it is possible to control so that a reply packet is always returned after a certain bus cycle after receiving a command packet.

【0089】これにより、一定時間内に必ず返信パケッ
トが返されることが保証されるので、コマンド受信バッ
ファにコマンドパケットを保持しておく必要はなく、コ
マンド受信バッファは1段で済むことになり、またコマ
ンド受信バッファがビジー状態になることもあり得なく
なる。
As a result, it is guaranteed that a return packet is always returned within a certain period of time. Therefore, it is not necessary to hold the command packet in the command receiving buffer, and the command receiving buffer needs only one stage. Also, the command receiving buffer cannot be in a busy state.

【0090】図13、図14は、本実施例における返信
パケットの受信処理方法を流れ図で示した図である。前
述のデータ処理システムにおいて、一定バスサイクル後
に返信パケットを返信できないような資源、例えば、処
理に時間がかかるようなデータがアクセスされた場合、
図17(e) に示すようなフォーマットの返信パケット
で、パケット種別を仮の返信パケットを示すデータにし
た仮の返信パケットを返信し、次に送信元が送出する送
信パケットが到着するまでに、正式な返信パケットを返
信パケット送信用バッファ上に用意しておく。{図13
の処理ステップ 400,401,406〜409 参照} コマンド送信元は、返信パケットの種別を解析して、仮
の返信パケットが返信されてきた場合は、図14のよう
に、コマンドパケットの再送信を行い、コマンド送信先
は用意している正式の返信パケットを返信する。{図1
4の処理ステップ 500〜502 参照} 図13のコマンドパケットの受信処理において、もし、
一定の時間後に、返信パケットを返信できる場合には、
返信データが用意された時点で、正式の返信パケットを
返信パケット送信用バッファ上に作成して、上記一定の
時間経過後に、該作成された正式の返信パケットを返信
する。{図13の処理ステップ 400〜409 参照} このようなコマンドパケットの受信処理を行うことによ
り、一定バスサイクル後に返信パケットを返信できない
ような資源がアクセスされた場合でも、共通バス(CBUS)
に無駄のパケットの転送を少なくすることができる。
FIGS. 13 and 14 are flowcharts showing a method of receiving a return packet in this embodiment. In the above-described data processing system, when a resource that cannot return a reply packet after a certain bus cycle, for example, data that takes a long time to process is accessed,
A return packet in a format as shown in FIG. 17 (e) is returned with a provisional return packet in which the packet type is data indicating the provisional return packet. Until the next transmission packet transmitted by the transmission source arrives, An official reply packet is prepared in a reply packet transmission buffer. {Figure 13
Refer to the processing steps 400, 401, and 406 to 409. The command transmission source analyzes the type of the reply packet, and if a temporary reply packet is returned, retransmits the command packet as shown in FIG. The destination replies with the formal reply packet prepared. {Figure 1
Refer to processing steps 500 to 502 in step 4. In the reception processing of the command packet in FIG.
After a certain time, if a reply packet can be returned,
When the reply data is prepared, a formal reply packet is created in the reply packet transmission buffer, and after the above-mentioned predetermined time has elapsed, the created formal reply packet is returned. << Refer to processing steps 400 to 409 in FIG. 13. >> By performing such a command packet receiving process, even if a resource that cannot return a reply packet after a certain bus cycle is accessed, the common bus (CBUS)
In addition, unnecessary packet transfer can be reduced.

【0091】次に、図15によって、請求項8に記載の
発明に対応する実施例を説明する。本図において、32,3
3 は、装置 3のコマンド受信バッファであって、32は装
置 1からのコマンドパケットを受信するコマンド受信バ
ッファとして割り当てられており、33は装置 2からのコ
マンドパケットを受信するコマンド受信バッファとして
割り当てられていて、それぞれ、装置 1、装置 2は装置
3上に割り当てられているコマンド受信バッファの数
を、共通バス(CBUS)を介して、或いは、専用の信号線、
或いは、専用のバス BBUS を介してコマンド受信バッフ
ァの個数が設定されている保持レジスタ 38 から読み取
り、自己の保持手段 161、261 に保持することができ
る。
Next, an embodiment corresponding to the eighth aspect of the present invention will be described with reference to FIG. In this figure, 32,3
Reference numeral 3 denotes a command reception buffer of the device 3, 32 is allocated as a command reception buffer for receiving a command packet from the device 1, and 33 is allocated as a command reception buffer for receiving a command packet from the device 2. And device 1 and device 2 are devices
(3) The number of command reception buffers allocated on the device is changed via a common bus (CBUS) or a dedicated signal line,
Alternatively, the number of command reception buffers can be read from the holding register 38 set via the dedicated bus BBUS and held in its own holding means 161 and 261.

【0092】装置 1内における、各相手先装置のコマン
ド受信バッファ段数の情報を保持する保持手段 161に
は、相手側装置 3からコマンド受信バッファの個数情報
を保持する保持レジスタ 38 から読み出した装置 3から
コマンド受信バッファ段数情報を保持し、この情報を送
信コマンドパケット用バッファ 10,11に伝えることによ
り、例えば装置 1から装置 3ヘ送信するコマンドパケッ
ト数は最高で1パケットのみと制限する。また、例えば
装置 2から装置3ヘ送信するコマンドパケット数も最高
で1パケットのみと制限する。
The holding means 161 in the device 1 for holding the information on the number of command reception buffer stages of each destination device includes the device 3 read from the holding register 38 for holding the information on the number of command reception buffers from the destination device 3. By storing the information on the number of command reception buffer stages and transmitting this information to the transmission command packet buffers 10 and 11, for example, the number of command packets transmitted from the device 1 to the device 3 is limited to a maximum of only one packet. Further, for example, the number of command packets transmitted from the device 2 to the device 3 is limited to a maximum of only one packet.

【0093】装置 2、装置 3のコマンド送出に関しても
同様に、相手側装置のコマンド受信バッファの段数によ
り、送信するコマンドパケット数を制限する。このよう
に受信側装置の複数のコマンド受信バッファに対し、各
送信側の装置が専用に使用するコマンド受信バッファの
数を各送信装置毎に、予め、定めておき、各送信側装置
は、自装置に対して割当られた相手側装置のコマンド受
信バッファの個数を越えたコマンドパケットは相手側装
置に対し送出しないよう制御する手段を有することで、
共通バス(CBUS)への無駄のパケットの送出を抑止するこ
とができる。
Similarly, regarding the command transmission of the device 2 and the device 3, the number of command packets to be transmitted is limited by the number of stages of the command receiving buffer of the partner device. In this way, for a plurality of command receiving buffers of the receiving apparatus, the number of command receiving buffers exclusively used by each transmitting apparatus is determined in advance for each transmitting apparatus, and each transmitting apparatus determines itself. By having a means for controlling so that a command packet exceeding the number of command reception buffers of the partner device assigned to the device is not sent to the partner device,
Transmission of useless packets to the common bus (CBUS) can be suppressed.

【0094】[0094]

【発明の効果】以上、詳細に説明したように、本発明の
データ処理システムによれば、請求項1に記載の発明に
より、バスアービタは、コマンド受信バッファがビジー
である装置に対して、即、共通バス(CBUS)の使用許可信
号を与えないように制御でき、共通バス(CBUS)の有効利
用が図れる。又、パケット受信側装置は、相手側装置の
コマンド受信バッファのビジー状態を常に、把握できる
ので、無駄なパケットを共通バス(CBUS)に送出すること
がなくなる。
As described above in detail, according to the data processing system of the present invention, according to the first aspect of the present invention, the bus arbiter can immediately respond to the device whose command reception buffer is busy. Control can be performed so as not to give a use permission signal for the common bus (CBUS), and effective use of the common bus (CBUS) can be achieved. In addition, since the packet receiving side device can always grasp the busy state of the command receiving buffer of the partner side device, there is no need to send useless packets to the common bus (CBUS).

【0095】請求項2に記載の発明により、専用のビジ
ー信号線、或いは、専用のバス BBUS を、実装情報の送
信と共用することができる。請求項3に記載の発明によ
り、各装置が備えているコマンド受信バッファの状態
(ビジー状態、及び、数)を予め認識することができ、
請求項7に記載の発明のパケットを共用バス(CBUS)上で
監視する手段で得られるコマンド受信バッファの入出力
状態により、コマンド受信バッファがビジー状態である
装置を認識して、共通バス(CBUS)に対する無駄なパケッ
トの転送を無くすることができる。
According to the second aspect of the present invention, the dedicated busy signal line or the dedicated bus BBUS can be shared with the transmission of the mounting information. According to the third aspect of the present invention, the state (busy state and number) of the command receiving buffer provided in each device can be recognized in advance,
According to the input / output state of the command reception buffer obtained by the means for monitoring a packet on the shared bus (CBUS) according to the invention of claim 7, a device in which the command reception buffer is busy is recognized, and the common bus (CBUS) is recognized. ) Can be eliminated.

【0096】請求項4に記載の発明により、リトライカ
ウンタの値が所定の閾値以上になったとき、共通バス(C
BUS)に対する優先度の高い使用要求信号を送出すること
で、必ず、共通バス(CBUS)の使用許可を得て、相手側装
置にコマンドパケットを送信することができるようにな
る。
According to the fourth aspect of the present invention, when the value of the retry counter exceeds a predetermined threshold, the common bus (C
By transmitting a use request signal having a high priority to the BUS), the use of the common bus (CBUS) is always permitted and a command packet can be transmitted to the partner device.

【0097】請求項5に記載の発明により、コマンドパ
ケットの再送信を必要とする情報が複数種類になってい
るので、その情報の種類に対応して、どの位時間が経過
したらコマンドパケットの送信をしてよいかが認識で
き、コマンド受信バッファがビジーの状態で再送信を要
求するような返信パケットが返送されると言った無駄の
コマンドパケットの送信を抑止することができる。
According to the fifth aspect of the present invention, there are a plurality of types of information that require retransmission of a command packet. Can be recognized, and it is possible to suppress the transmission of a useless command packet indicating that a reply packet requesting retransmission is returned when the command reception buffer is busy.

【0098】請求項6に記載の一定のバスサイクル後に
返信パケットを返信できない資源、例えば、処理に時間
がかかる資源にアクセスされたとき、仮の返信パケット
の送信することで、各装置内のコマンドパケットの滞留
がなくなり、コマンド受信バッファがビジーになること
を少なくすることができる。
When a resource that cannot return a reply packet after a certain bus cycle according to claim 6 is accessed, for example, when a resource that takes a long time to process is accessed, a temporary reply packet is transmitted to allow a command in each device to be transmitted. It is possible to eliminate the accumulation of packets and reduce the possibility that the command reception buffer becomes busy.

【0099】請求項8に記載の発明により、各送信元装
置は、相手側装置のコマンド受信バッファの内、自装置
に対して割り当てられたコマンド受信バッファの数を越
えこコマンドパケットを相手側装置に送出しないように
制御でき、コマンド受信バッファがビジーである装置に
対してコマンドパケットを送出したりすることがなくな
り、共通バス(CBUS)の有効利用が図れる。
According to the eighth aspect of the present invention, each source device transmits a command packet that exceeds the number of command reception buffers allocated to its own device among the command reception buffers of the other device. Can be controlled so as not to send the command packet to a device having a busy command reception buffer, and the common bus (CBUS) can be effectively used.

【0100】特に、請求項4〜6に対応する発明によれ
ば、送信元装置のコマンドパケットの処理が一定時間以
上待たされる頻度が現象するため、送信元装置のコマン
ドパケットがなかなか処理されず送信元装置の処理性能
が低く抑えられてしまうことが解決される。
In particular, according to the invention corresponding to claims 4 to 6, since the frequency of the command packet processing of the transmission source device being waited for a predetermined time or more occurs, the command packet of the transmission source device is not easily processed and transmitted. This solves the problem that the processing performance of the original device is suppressed low.

【0101】又、同時に、特に送信元装置が入出力装置
(I/O)からのDMA転送のためのコマンドパケット
を送信しようとしている場合、このコマンドパケットが
一定時間以上処理されず入出力装置(I/O)側でオー
バーランを引き起こすことがなくなる。又、請求項1〜
8に対応する発明により、送信元の再送信がなくなり、
または少なくなるため、再送信による余計なバス占有が
なくなり、または減少し、共通バス(CBUS)の実効使用効
率が低下を防ぐことができる。このことは、他装置の処
理性能の低下ももたらすことを防ぐことにもなり、高性
能なデータ処理システムが構築できることになる。
At the same time, especially when the transmission source device is to transmit a command packet for DMA transfer from the input / output device (I / O), the command packet is not processed for a certain period of time or longer, and the input / output device ( Overrun does not occur on the I / O) side. Claim 1
The invention corresponding to No. 8 eliminates the retransmission of the sender,
Since the number of buses is reduced, unnecessary bus occupation due to retransmission is eliminated or reduced, and a decrease in the effective use efficiency of the common bus (CBUS) can be prevented. This also prevents a decrease in the processing performance of another device, and a high-performance data processing system can be constructed.

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

【図1】本発明の原理構成図(その1)FIG. 1 is a diagram showing the principle configuration of the present invention (part 1).

【図2】本発明の原理構成図(その2)FIG. 2 is a block diagram showing the principle of the present invention (part 2);

【図3】本発明の原理構成図(その3)FIG. 3 is a diagram illustrating the principle of the present invention (part 3);

【図4】本発明の一実施例を示した図FIG. 4 shows an embodiment of the present invention.

【図5】コマンド受信バッファのビジー信号を説明する
FIG. 5 is a diagram illustrating a busy signal of a command reception buffer.

【図6】各装置が専用のバスでビジー信号を伝達する図FIG. 6 is a diagram in which each device transmits a busy signal through a dedicated bus.

【図7】各装置が他の全装置にビジー信号を伝達する図FIG. 7 is a diagram in which each device transmits a busy signal to all other devices.

【図8】本発明の他の実施例を示した図FIG. 8 is a diagram showing another embodiment of the present invention.

【図9】本発明のアクセス要求とパケット処理を説明す
る図
FIG. 9 is a diagram illustrating an access request and packet processing according to the present invention.

【図10】本発明の他の実施例の変形例を示した図(そ
の1)
FIG. 10 is a diagram showing a modification of another embodiment of the present invention (part 1).

【図11】本発明の他の実施例の変形例を示した図(そ
の2)
FIG. 11 is a view showing a modification of the other embodiment of the present invention (part 2);

【図12】本発明の他の実施例の変形例を示した図(そ
の3)
FIG. 12 is a view showing a modification of the other embodiment of the present invention (part 3).

【図13】本発明のコマンドパケットの受信処理の流れ
FIG. 13 is a flowchart of a command packet receiving process of the present invention.

【図14】本発明の返信パケットの受信処理の流れ図FIG. 14 is a flowchart of a reply packet receiving process according to the present invention;

【図15】本発明の他の実施例の変形例を示した図(そ
の4)
FIG. 15 is a view showing a modification of the other embodiment of the present invention (part 4);

【図16】従来のデータ処理システムを説明する図FIG. 16 illustrates a conventional data processing system.

【図17】パケットのフォーマット例を示した図FIG. 17 is a diagram showing a format example of a packet;

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

1,2,3 装置 10,20,30 各装置内の第1の送信コマンドパケット用
バッファ 11,21,31 各装置内の第2の送信コマンドパケット用
バッファ 12,22,32 各装置内の第1の受信コマンドパケット用
バッファ、コマンド受信バッファ 13,23,33 各装置内の第2の受信コマンドパケット用
バッファ、コマンド受信バッファ 14,24,34 各装置内の第1の受信返信パケット用バッ
ファ 15,25,35 各装置内の第2の受信返信パケット用バッ
ファ 16,26,36 各装置内の返信パケット送信用バッファ 100,200,300 各装置内の受信パケットバッファ CBUS 共通バス(CBUS) BRQ1,BRQ2,BRQ3 各装置からの共通バス(CBUS)の使
用要求信号 BSY1,BSY2,BSY3 各装置の受信バッファがビジー状
態であることを示す信号 DNOA,DONB,DONC 相手先装置の装置番号を示す情報
をバスアービタに伝達する手段を提供する信号 MODE モードレジスタ NOT1, 〜 ノットゲート AND1,AND2,〜 アンドゲート OR1,〜 オアゲート BUF.FULL 各装置内の受信バッファがビジー状態であ
ることを示す信号 BBUS 各装置のコマンド受信バッファのビジー状態を
示す専用のバス 18,28,38 各装置の受信バッファの個数情報を保持す
る保持レジスタ 101,103 各装置へのアクセス要求発生部 102,104 各装置の受信バッファビジー検出部 BRE1,BRE2,BRE3 各装置が出力する、優先順位のよ
り高い共通バス(CBUS)の使用要求信号 105,205,305 各装置における、他装置へのアクセ
ス要求部 106,206,306 各装置における、アクセス要求信号
切り換え部 107,207,307 各装置におけるリトライカウンタ 17,27,37 各装置における受信パケット監視回
路 19,29,39 各装置におけるバス使用要求出力制
御回路 121,221,321 各装置におけるデータシーケンス制
御回路 161,261,361 各装置における相手先装置のコマン
ド受信バッファの段数を保持する保持手段 170,270,370 相手先装置の返信パケット監視回路 300 〜305,400 〜409,500 〜503 処理ステップ
1,2,3 Device 10,20,30 First transmission command packet buffer in each device 11,21,31 Second transmission command packet buffer in each device 12,22,32 Second transmission command packet buffer in each device 1 received command packet buffer, command received buffer 13,23,33 second received command packet buffer, command received buffer 14,24,34 in each device first received reply packet buffer in each device 15 , 25,35 Second received reply packet buffer in each device 16,26,36 Reply packet transmit buffer in each device 100,200,300 Receive packet buffer in each device CBUS Common bus (CBUS) BRQ1, BRQ2, BRQ3 Use request signal of common bus (CBUS) from device BSY1, BSY2, BSY3 Signal indicating that receive buffer of each device is busy DNOA, DONB, DONC Transmit information indicating device number of destination device to bus arbiter MODE MODE REGISTER NOT1, NOT gate AND1, AND2, AND gate OR1, OR gate BUF.FULL Signal indicating that the receiving buffer in each device is busy BBUS Dedicated bus indicating the busy status of the command receiving buffer in each device 18, 28, 38 Holding registers 101, 103 for holding information on the number of reception buffers in each device Access request generation unit for each device 102, 104 Receiving buffer busy detection unit for each device BRE1, BRE2, BRE3 Output priority of each device Use request signal for higher common bus (CBUS) 105,205,305 Access request unit to other devices in each device 106,206,306 Access request signal switching unit in each device 107,207,307 Retry counter in each device 17,27,37 Received packet monitoring in each device Circuit 19,29,39 Bus use request output control circuit in each device 121,221,321 Data sequence control circuit in each device 161,261,361 Each device Holding means 170, 270, 370 reply packet monitoring circuit 300-305,400-409,500-503 of destination device

───────────────────────────────────────────────────── フロントページの続き (72)発明者 笹崎 勲 神奈川県川崎市中原区上小田中4丁目1番 1号 富士通株式会社内 (72)発明者 加藤 貴紀 神奈川県川崎市中原区上小田中4丁目1番 1号 富士通株式会社内 (72)発明者 井口 真吾 神奈川県川崎市中原区上小田中4丁目1番 1号 富士通株式会社内 (72)発明者 山口 達也 神奈川県川崎市中原区上小田中4丁目1番 1号 富士通株式会社内 (72)発明者 井本 博之 神奈川県川崎市中原区上小田中4丁目1番 1号 富士通株式会社内 (72)発明者 廣岡 順二 神奈川県川崎市中原区上小田中4丁目1番 1号 富士通株式会社内 (72)発明者 平澤 ゆみ 神奈川県川崎市中原区上小田中4丁目1番 1号 富士通株式会社内 (72)発明者 福岡 日出男 神奈川県川崎市中原区上小田中4丁目1番 1号 富士通株式会社内 ────────────────────────────────────────────────── ─── Continuing on the front page (72) Inventor Isao Sasazaki 4-1-1, Kamidadanaka, Nakahara-ku, Kawasaki-shi, Kanagawa Prefecture Inside Fujitsu Limited (72) Inventor Takanori Kato 4-1-1, Kamiodanaka, Nakahara-ku, Kawasaki-shi, Kanagawa No. 1 Fujitsu Co., Ltd. (72) Shingo Iguchi 4-1-1, Kamiodanaka, Nakahara-ku, Kawasaki City, Kanagawa Prefecture 1-1. Inside Fujitsu Co., Ltd. (72) Tatsuya Yamaguchi 4-1-1, Kamiodanaka, Nakahara-ku, Kawasaki City, Kanagawa Prefecture No. 1 Fujitsu Co., Ltd. (72) Inventor Hiroyuki Imoto 4-1-1, Kamiodanaka, Nakahara-ku, Kawasaki-shi, Kanagawa Prefecture 1-1 Inside Fujitsu Co., Ltd. (72) Inventor Junji Hirooka 4-chome, Kamiodanaka, Nakahara-ku, Kawasaki-shi, Kanagawa No. 1 Fujitsu Limited (72) Inventor Yumi Hirasawa 4-1-1 Kamikodanaka, Nakahara-ku, Kawasaki City, Kanagawa Prefecture Fujitsu In the formula company (72) inventor Fukuoka Hideo Kawasaki City, Kanagawa Prefecture Nakahara-ku, Kamikodanaka 4 chome No. 1 Fujitsu within Co., Ltd.

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】複数の装置が、共通バスを使用して、パケ
ットを互いに送受信し、各装置はパケット送出に先立ち
予め定められた優先順位の共通バスの使用要求信号を出
力し、バスアービタはその共通バスの使用要求信号を調
停して優先順位に従い共通バス使用装置を決定して許可
を与える制御手段を備えたデータ処理システムであっ
て、 各装置は共通バスの使用要求信号を出力すると共にその
転送相手先を示す情報を出力する第1の手段と、 前記バスアービタは前記転送相手先を示す情報を受信す
る第2の手段と、 パケット受信側装置は、自装置の受信コマンドパケット
用バッファの状態を表す情報を前記バスアービタ、又
は、及び他の全装置に伝える第3の手段と、 前記バスアービタ、及び前記複数の装置は、他の装置の
受信コマンドパケット用バッファの状態を表す情報を受
信する第4の手段とを有することを特徴とするデータ処
理システム。
A plurality of devices transmit and receive packets to and from each other using a common bus, each device outputs a request signal for use of a common bus having a predetermined priority prior to packet transmission, and a bus arbiter outputs the request signal. A data processing system comprising a control means for arbitrating a common bus use request signal, deciding a common bus use device in accordance with a priority order and giving permission, wherein each device outputs a common bus use request signal and outputs the common bus use request signal. First means for outputting information indicating the transfer destination; second means for the bus arbiter to receive the information indicating the transfer destination; and the state of the received command packet buffer of the own apparatus. A third means for transmitting information representing the following to the bus arbiter or all other devices; and the bus arbiter and the plurality of devices are provided with a reception command parameter of another device. And a fourth means for receiving information indicating the state of the packet buffer.
【請求項2】前記データ処理システムに、所定の動作モ
ードを備えて、 前記自装置の受信コマンドパケット用バッファの状態を
表す情報を前記バスアービタに伝える第3の手段は、前
記動作モードが初期モードであるとき、各装置が実装さ
れていることを示す信号を転送し、前記初期モードを終
了して所定の処理モードに移った時は、前記受信コマン
ドパケット用バッファの状態を示す情報を転送する手段
であることを特徴とする、請求項1に記載のデータ処理
システム。
2. The data processing system according to claim 1, wherein said data processing system has a predetermined operation mode, and said third means for transmitting information indicating a status of a reception command packet buffer of said data processing system to said bus arbiter includes: , Transfer a signal indicating that each device is mounted, and transfer the information indicating the state of the reception command packet buffer when the initial mode is ended and the processing is shifted to a predetermined processing mode. The data processing system according to claim 1, wherein the data processing system is a means.
【請求項3】前記受信コマンドパケット用バッファの状
態を示す情報は、各パケット受信装置が備えてパケット
受信バッファの数、又は、及び該受信コマンドパケット
用バッファがビジーか否かを示す情報であることを特徴
とする、請求項1に記載のデータ処理システム。
3. The information indicating the status of the reception command packet buffer is information indicating the number of packet reception buffers provided in each packet reception device, and whether or not the reception command packet buffer is busy. The data processing system according to claim 1, wherein:
【請求項4】複数の装置が、共通バスを使用して、パケ
ットを互いに送受信し、各装置は通常は、予め定められ
た優先順位の共通バスの使用要求信号を出力し、バスア
ービタはその共通バスの使用要求信号を調停して共通バ
ス使用装置を決定して許可を与え、許可を受けた装置が
パケット送信時に相手側装置の受信コマンドパケット用
バッファがビジー状態であった場合、パケット受信側装
置は、パケット送信元装置に対して、コマンドパケット
の再送信を必要とする旨の情報を付加した返信パケット
を返送するような転送を許すパケット転送手段を備えた
データ処理システムであって、 各装置内に、コマンドパケットを再送信した回数をカウ
ントするリトライカウンタを設け、パケット送信元装置
はその返信パケット受信後、一定の時間経過後、再び同
一のコマンドパケットを送出するとともにリトライカウ
ンタをインクリメントすることを、前記コマンドパケッ
トが相手側装置に受信されるまで繰り返し、リトライカ
ウンタが所定の閾値以上になったら、優先度の高い共通
バスの使用要求信号を送出する手段を備えたことを特徴
とするデータ処理システム。
4. A plurality of devices transmit and receive packets to and from each other using a common bus, each device normally outputs a request signal for use of a common bus having a predetermined priority, and a bus arbiter transmits the request signal to the common bus. Arbitrates the bus use request signal to determine the device using the common bus and grants permission. If the permitted device receives a packet and the received command packet buffer of the partner device is busy at the time of packet transmission, the packet receiving side The apparatus is a data processing system including a packet transfer unit that allows a packet transmission unit to transmit a return packet to which a command packet is added with information indicating that the command packet needs to be retransmitted. A retry counter is provided in the device to count the number of times a command packet has been retransmitted. After that, sending the same command packet again and incrementing the retry counter are repeated until the command packet is received by the partner device. When the retry counter becomes equal to or more than a predetermined threshold, the high priority common bus A data processing system comprising: means for sending a use request signal.
【請求項5】複数の装置が、共通バスを使用して、パケ
ットを互いに送受信し、各装置は通常は、予め定められ
た優先順位の共通バスの使用要求信号を出力し、バスア
ービタはその共通バスの使用要求信号を調停して共通バ
ス使用装置を決定して許可を与え、許可を受けた装置が
パケット送信時に相手側装置の受信コマンドパケット用
バッファがビジー状態であった場合、パケット受信側装
置は、パケット送信元装置に対して、コマンドパケット
の再送信を必要とする旨の情報を付加した返信パケット
を返送するような転送を許すパケット転送手段を備えた
データ処理システムであって、 前記コマンドパケットの再送信を必要とする旨の情報を
複数種類設け、その情報の種類により、パケット送信元
装置はその返信パケット受信後、再び同一の前記コマン
ドパケットを送出するまでの時間を変更する手段を備え
たことを特徴とするデータ処理システム。
5. A plurality of devices transmit and receive packets to and from each other using a common bus, each device normally outputs a request signal for use of a common bus having a predetermined priority, and the bus arbiter transmits the request signal to the common bus. Arbitrates the bus use request signal to determine the device using the common bus and grants permission. If the permitted device receives a packet and the received command packet buffer of the partner device is busy at the time of packet transmission, the packet receiving side The apparatus is a data processing system including a packet transfer unit that allows a transfer to return a reply packet to which information indicating that a command packet needs to be retransmitted to a packet transmission source apparatus, A plurality of types of information indicating that the command packet needs to be retransmitted are provided, and the type of the information causes the packet transmission source device to repeat the same after receiving the return packet. A data processing system comprising means for changing a time until the command packet is transmitted.
【請求項6】複数の装置が、共通バスを使用して、パケ
ットを互いに送受信し、各装置は通常は、予め定められ
た優先順位の共通バスの使用要求信号を出力し、バスア
ービタはその共通バスの使用要求信号を調停して共通バ
ス使用装置を決定して許可を与え、許可を受けた装置が
パケット送信時に相手側装置の受信コマンドパケット用
バッファがビジー状態であった場合、パケット受信側装
置は、パケット送信元装置に対して、コマンドパケット
の再送信を必要とする旨の情報を付加した返信パケット
を返送するような転送を許すパケット転送手段を備えた
データ処理システムであって、 パケット受信側装置が、一定バスサイクル後に返信パケ
ットを返信できないような資源がアクセスされた場合、
仮の返信パケットを返信し、次にパケット送信側装置が
送出するコマンドパケットが到着するまでに、正式な返
信パケットを用意しておく手段を備えたことを特徴とす
るデータ処理システム。
6. A plurality of devices transmit and receive packets to and from each other using a common bus. Each device normally outputs a request signal for use of a common bus having a predetermined priority, and a bus arbiter transmits the request signal to the common bus. Arbitrates the bus use request signal to determine the device using the common bus and grants permission. If the permitted device receives a packet and the received command packet buffer of the partner device is busy at the time of packet transmission, the packet receiving side The apparatus is a data processing system including a packet transfer unit that allows a packet transmission apparatus to transfer a return packet to which information indicating that a command packet needs to be retransmitted is transmitted. If the receiving device accesses a resource that cannot return a reply packet after a certain bus cycle,
A data processing system comprising means for returning a temporary reply packet and preparing a formal reply packet until a command packet transmitted by the packet transmission side device arrives next time.
【請求項7】複数の装置が、共通バスを使用して、パケ
ットを互いに送受信し、各装置は通常は、予め定められ
た優先順位の共通バスの使用要求信号を出力し、バスア
ービタはその共通バスの使用要求信号を調停して共通バ
ス使用装置を決定して許可を与え、許可を受けた装置が
パケットを送信するパケット転送手段を備えたデータ処
理システムであって、 他装置の受信コマンドパケット用バッファの情報を前記
共通バス上のパケットにより監視する手段と、該監視手
段により、自装置がコマンドパケットを送出する可能性
のある相手側の全装置の受信コマンドパケット用バッフ
ァに関する情報を得る手段を備えたことを特徴とするデ
ータ処理システム。
7. A plurality of devices transmit and receive packets to and from each other using a common bus. Each device normally outputs a request signal for use of a common bus having a predetermined priority, and the bus arbiter transmits the request signal to the common bus. A data processing system comprising a packet transfer means for arbitrating a bus use request signal, deciding a common bus using device and giving a permit, and permitting the device to transmit a packet. Means for monitoring the information of the receiving buffer by a packet on the common bus, and means for obtaining information relating to the received command packet buffers of all the apparatuses on the other side to which the own apparatus may transmit command packets by the monitoring means. A data processing system comprising:
【請求項8】複数の装置が、共通バスを使用して、パケ
ットを互いに送受信し、各装置はパケット送出に先立ち
予め定められた優先順位の共通バスの使用要求信号を出
力し、バスアービタはその共通バスの使用要求信号を調
停して優先順位に従いバス使用装置を決定して許可を与
える制御手段を備えたデータ処理システムであって、 パケット受信側装置の複数の受信コマンドパケット用バ
ッファに対して、各パケット送信側装置が専用に使用す
る受信コマンドパケット用バッファの個数を、前記各パ
ケット送信側装置毎に予め定めておき、各パケット送信
側装置は、自装置に対して割り当てられた相手側装置の
受信コマンドパケット用バッファの個数を越えたパケッ
トは、該相手側装置に送信しないように制御する手段を
備えたことを特徴とするデータ処理システム。
8. A plurality of devices transmit and receive packets to and from each other using a common bus, each device outputs a request signal for use of a common bus having a predetermined priority prior to packet transmission, and a bus arbiter outputs the request signal. A data processing system comprising a control means for arbitrating a use request signal of a common bus, determining a bus use device according to a priority order, and granting a permission, wherein The number of receive command packet buffers exclusively used by each packet transmitting apparatus is predetermined for each of the packet transmitting apparatuses, and each packet transmitting apparatus has a counterpart assigned to its own apparatus. Means for controlling so that a packet exceeding the number of received command packet buffers of the device is not transmitted to the partner device. Data processing system.
JP06681897A 1997-03-19 1997-03-19 Data processing system Expired - Fee Related JP3379377B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP06681897A JP3379377B2 (en) 1997-03-19 1997-03-19 Data processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP06681897A JP3379377B2 (en) 1997-03-19 1997-03-19 Data processing system

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2002293988A Division JP2003122706A (en) 2002-10-07 2002-10-07 Data processing system

Publications (2)

Publication Number Publication Date
JPH10262070A true JPH10262070A (en) 1998-09-29
JP3379377B2 JP3379377B2 (en) 2003-02-24

Family

ID=13326825

Family Applications (1)

Application Number Title Priority Date Filing Date
JP06681897A Expired - Fee Related JP3379377B2 (en) 1997-03-19 1997-03-19 Data processing system

Country Status (1)

Country Link
JP (1) JP3379377B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001202327A (en) * 2000-01-20 2001-07-27 Fujitsu Ltd Bus control system for integrated circuit device improved in bus tree efficiency
JP2002366511A (en) * 2001-06-11 2002-12-20 Nec Eng Ltd Bus arbitration circuit
US6721836B2 (en) 2000-07-27 2004-04-13 Samsung Electronics Co., Ltd. Bus system having an address/control bus and a data bus, and a data transfer method thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001202327A (en) * 2000-01-20 2001-07-27 Fujitsu Ltd Bus control system for integrated circuit device improved in bus tree efficiency
US6721836B2 (en) 2000-07-27 2004-04-13 Samsung Electronics Co., Ltd. Bus system having an address/control bus and a data bus, and a data transfer method thereof
JP2002366511A (en) * 2001-06-11 2002-12-20 Nec Eng Ltd Bus arbitration circuit

Also Published As

Publication number Publication date
JP3379377B2 (en) 2003-02-24

Similar Documents

Publication Publication Date Title
US5634015A (en) Generic high bandwidth adapter providing data communications between diverse communication networks and computer system
US4570220A (en) High speed parallel bus and data transfer method
US4807109A (en) High speed synchronous/asynchronous local bus and data transfer method
US6032211A (en) Method of mode control in a bus optimized for personal computer data traffic
JP3336816B2 (en) Multimedia communication device and method
JP3340738B2 (en) Method and apparatus for a parallel packet bus
US5579530A (en) Method and apparatus for dynamically allocating access time to a resource shared between a peripheral bus and a host bus by dynamically controlling the size of burst data transfers on the peripheral bus
US5850530A (en) Method and apparatus for improving bus efficiency by enabling arbitration based upon availability of completion data
US4458314A (en) Circuitry for allocating access to a demand shared bus
US4785396A (en) Push-pull serial bus coupled to a plurality of devices each having collision detection circuit and arbitration circuit
US5764929A (en) Method and apparatus for improving bus bandwidth by reducing redundant access attempts
KR930009063B1 (en) High speed bus with virtual memory data transfer capability
JPH04229350A (en) Method and apparatus for performing medium access control/host system interface
JP2000259557A (en) Port management controller for connecting many function modules
JPH06180682A (en) Method and apparatus for data transfer
CN101930416A (en) Hardware assisted inter-processor communication
US20020184453A1 (en) Data bus system including posted reads and writes
JPH04312160A (en) Multiprocessor system and its message transmission and reception controller
KR20120040535A (en) Bus system and operating method thereof
US5793994A (en) Synchronous event posting by a high throughput bus
US20060174050A1 (en) Internal data bus interconnection mechanism utilizing shared buffers supporting communication among multiple functional components of an integrated circuit chip
US6199132B1 (en) Communication link with isochronous and asynchronous priority modes
JPH0677248B2 (en) High-performance bus interface with few pins
US8473579B2 (en) Data reception management apparatus, systems, and methods
US20160070669A1 (en) Multi-port transmitter device for transmitting at least partly redundant data, an associated control system, an associated method and an associated computer program product

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20021112

LAPS Cancellation because of no payment of annual fees