JPH0546576A - Mehtod and device for communication control for parallel computer - Google Patents

Mehtod and device for communication control for parallel computer

Info

Publication number
JPH0546576A
JPH0546576A JP20048091A JP20048091A JPH0546576A JP H0546576 A JPH0546576 A JP H0546576A JP 20048091 A JP20048091 A JP 20048091A JP 20048091 A JP20048091 A JP 20048091A JP H0546576 A JPH0546576 A JP H0546576A
Authority
JP
Japan
Prior art keywords
transfer destination
address
data
identification code
update
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP20048091A
Other languages
Japanese (ja)
Inventor
Sadayuki Kato
定幸 加藤
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 JP20048091A priority Critical patent/JPH0546576A/en
Publication of JPH0546576A publication Critical patent/JPH0546576A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PURPOSE:To increase the use efficiency of a network and the use efficiency of the whole system as to the parallel computer formed by connecting plural processors by the network. CONSTITUTION:The decentralized memory type parallel computer constituted by mutually connecting communication control means (C0...Cn) of respective processor elements P0...Pn by the network NW monitors the writing of data from the processors to memories to detect writing to a specific area as data to be sent, adds a transfer destination identification code and a transfer destination address which are found previously to the data to be sent, and sends the data to the reception-side processor element which is determined according to the transfer destination identification code MK, thereby storing the sent data in the memory of the reception-side processor element according to the transfer destination address. Consequently, part of the data can be divided and send to other processor elements without waiting for all data to be processed, thereby performing parallel computation.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ネットワークを介して
接続された分散メモリ型の並列計算機における、プロセ
ッサエレメント間の通信制御に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to communication control between processor elements in a distributed memory type parallel computer connected via a network.

【0002】[0002]

【従来の技術】プロセッサとメモリを有するプロセッサ
エレメントを通信ネットワークで接続した分散メモリ型
の並列計算機で数値計算などを行う場合、配列などのデ
ータをプロセッサエレメントに分割して計算を行う。
2. Description of the Related Art When performing a numerical calculation or the like on a distributed memory type parallel computer in which a processor element having a processor and a memory is connected by a communication network, data such as an array is divided into the processor elements for the calculation.

【0003】この分割の仕方は計算の内容によって異な
るため、計算の途中で分割の仕方を変える必要がある。
その際データをプロセッサ間で交換するが、データの交
換は、分割されるデータをまとめて計算したあと、転送
先の計算機ごとに、データをまとめて、ネットワークを
介して送っていた。
Since the method of division depends on the contents of the calculation, it is necessary to change the method of division during the calculation.
At that time, the data is exchanged between the processors. For the data exchange, the data to be divided is collectively calculated, and then the data is collectively collected for each transfer destination computer and sent through the network.

【0004】[0004]

【発明が解決しようとする課題】上記のようにデータを
送る場合、全てのデータの計算が終わり、それらのデー
タが行き先のプロセッサごとに振り分けられてから、デ
ータの通信を行うので、それまで、ネットワークは未使
用になっておりネットワークの使用効果が低くなる。
When sending data as described above, since the calculation of all data is completed and the data is distributed to each destination processor, the data communication is performed. The network is unused and the effectiveness of using the network is reduced.

【0005】本発明は以上の点に鑑みなされたもので、
全てのデータの計算が終わる前のデータを取得して所定
のプロセッサに送ることができるようにし、ネットワー
クの使用効率を高め、システム全体の使用効率を高める
ことを目的とする。
The present invention has been made in view of the above points,
The purpose of the present invention is to make it possible to acquire the data before the calculation of all the data and send it to a predetermined processor, improve the efficiency of use of the network, and improve the efficiency of use of the entire system.

【0006】[0006]

【課題を解決するための手段】本発明の並列計算機の通
信制御方法は、図1,図2に示したように、プロセッサ
(CPU)と、メモリ(MM)と、通信制御手段(C0
・・Cn)とをそれぞれ有する複数のプロセッサエレメ
ント(P0・・Pn)を備え、前記各プロセッサエレメン
トP0・・Pnの通信制御手段(C0・・Cn)をネットワ
ーク(NW)で相互に接続して構成した分散メモリ型の
並列計算機において、以下の手順でデータが各プロセッ
サエレメントに分割されて処理される。
A communication control method for a parallel computer according to the present invention is, as shown in FIGS. 1 and 2, a processor (CPU), a memory (MM), and a communication control means (C0).
..Cn) and a plurality of processor elements (P0..Pn) respectively, and the communication control means (C0..Cn) of each of the processor elements P0..Pn are mutually connected by a network (NW). In the distributed memory type parallel computer configured, data is divided into each processor element and processed in the following procedure.

【0007】工程(a):プロセッサ(CPU)からメ
モリ(MM)へのデータの書き込みを監視して特定の領
域への書き込みを送信用データとして検出する。 工程(b):そして、この送信用データに予め求めてお
いた転送先識別符号と転送先アドレスを付加する。
Step (a): The writing of data from the processor (CPU) to the memory (MM) is monitored and the writing to a specific area is detected as transmission data. Step (b): Then, the transfer destination identification code and the transfer destination address which have been obtained in advance are added to the transmission data.

【0008】工程(c):次いで、前記転送先識別符号
(MK)に従って決定される受信側プロセッサエレメン
トに前記送信用データを送信する。 工程(d):そして、受信側プロセッサエレメントのメ
モリ(MM)に前記転送先アドレスに従って送信データ
を格納する。
Step (c): Next, the data for transmission is transmitted to the receiving side processor element determined according to the transfer destination identification code (MK). Step (d): Then, the transmission data is stored in the memory (MM) of the receiving side processor element according to the transfer destination address.

【0009】[0009]

【作用】このように、本発明では、プロセッサ(CP
U)からメモリ(MM)へのデータの書き込みを監視し
て特定の領域への書き込みを送信用データとして検出す
るので、全てのデータが処理されることを待たずに、デ
ータの一部を分割することができる。
As described above, according to the present invention, the processor (CP
Since the writing of data from U) to the memory (MM) is monitored and writing to a specific area is detected as transmission data, a part of the data is divided without waiting for all the data to be processed. can do.

【0010】分割したデータは他のプロセッサエレメン
トに送信される。従って、1つのデータ群を複数分割
し、その分割されたデータを各プロセッサエレメントで
並列計算することができる。
The divided data is transmitted to another processor element. Therefore, one data group can be divided into a plurality of pieces, and the divided data pieces can be calculated in parallel by each processor element.

【0011】例えば、配列データを各列に分割し、分割
された各列のデータを複数のプロセッサ(CPU)にそ
れぞれ送信し、各プロセッサ(CPU)で各列の計算を
行うような場合に利用できる。
For example, it is used when the array data is divided into each column, the divided data of each column is transmitted to each of a plurality of processors (CPU), and each processor (CPU) calculates each column. it can.

【0012】本発明の方法は、以下のような装置で実現
できる。すなわち、本発明は、図2の原理図に示したよ
うに、プロセッサ(CPU)と、メモリ(MM)と、通
信制御手段(C0・・Cn)とをそれぞれ有する複数のプ
ロセッサエレメントP0・・Pnを備え、前記各プロセッ
サエレメントP0・・Pnの通信制御手段(C0・・Cn)
をネットワーク(NW)で相互に接続して構成した分散
メモリ型の並列計算機において、図4に示したように、
前記通信制御手段(C0・・Cn)を以下の各手段で構成
する。
The method of the present invention can be realized by the following device. That is, according to the present invention, as shown in the principle diagram of FIG. 2, a plurality of processor elements P0 ... Pn each having a processor (CPU), a memory (MM), and communication control means (C0 ... Cn). And a communication control means (C0 ... Cn) for each of the processor elements P0.
In a distributed memory type parallel computer configured by connecting each other via a network (NW), as shown in FIG.
The communication control means (C0 ... Cn) is composed of the following means.

【0013】 前記プロセッサ(CPU)で生成さ
れ、前記メモリ(MM)に記録されるデータの内、所定
のアドレスに該当するデータを検出する送信用データ検
出手段(WC)。
A transmission data detection means (WC) for detecting data corresponding to a predetermined address among the data generated by the processor (CPU) and recorded in the memory (MM).

【0014】 送信用データの転送先プロセッサエレ
メントの識別符号(MK)を生成する転送先識別符号生
成手段(RI−M)。 転送先プロセッサエレメントにおけるメモリ(M
M)のデータ格納アドレスを生成する転送先アドレス生
成手段(RA−M)。
Transfer destination identification code generation means (RI-M) for generating an identification code (MK) of the transfer destination processor element of the transmission data. Memory in the transfer destination processor element (M
Transfer destination address generation means (RA-M) for generating the data storage address of M).

【0015】 送信用データ検出手段(WC)で検出
された送信用データ、転送先識別符号生成手段(RI−
M)で生成した識別符号(MK)、及び、転送先アドレ
ス生成手段(RA−M)で生成したアドレスをネットワ
ーク(NW)に送出する送信手段(NC−0)。
Transmission data detected by the transmission data detection means (WC), transfer destination identification code generation means (RI-
The identification code (MK) generated in M) and the address generated in the transfer destination address generation means (RA-M) are transmitted to the network (NW) (NC-0).

【0016】 他のプロセッサエレメントから送られ
てきた前記送信用データ、識別符号(MK)及び送信用
データを受信する受信手段(NC−1)。 受信手段(NC−1)で受信したデータを、同じく
受信したアドレス情報に従ってメモリ(MM)に書き込
むメモリ書込手段(MW)。
Receiving means (NC-1) for receiving the transmission data, the identification code (MK), and the transmission data sent from another processor element. A memory writing unit (MW) that writes the data received by the receiving unit (NC-1) into the memory (MM) according to the address information that is also received.

【0017】すなわち、前記転送先識別符号生成手段
(RI−M)において、前記転送先識別符号(MK)を
送信用データの送信毎に更新する識別符号更新手段(A
DD1)を設け、前記転送先アドレス生成手段(RA−
M)において、前記転送先アドレスを送信用データの送
信毎に更新する転送先アドレス更新手段(ADD0)を
設ける。
That is, in the transfer destination identification code generating means (RI-M), the transfer destination identification code (MK) is updated every time the transmission data is transmitted, the identification code updating means (A).
DD1) is provided and the transfer destination address generating means (RA-
In M), transfer destination address updating means (ADD0) for updating the transfer destination address each time the transmission data is transmitted is provided.

【0018】本発明で、プロセッサエレメントが2のn
乗の台数あり、転送先識別符号(MK)のビット幅を台
数を表現できる最小の幅とすることが転送先識別符号
(MK)の更新を容易にする。
In the present invention, n with 2 processor elements is used.
If there is a multiple of the transfer destination identification code (MK) and the bit width of the transfer destination identification code (MK) is set to the minimum width that can express the number of the transfer destination identification code (MK), it is easy to update the transfer destination identification code (MK).

【0019】送信用データには、転送先識別符号(M
K)と転送先アドレスとが付加されて送信されるが、送
信用データと転送先識別符号(MK)と転送先アドレス
とをパケット化して送信することがネットワーク(N
W)を流れるデータの量を抑制して通信効率を高める上
で好ましい。
The transmission data includes a transfer destination identification code (M
K) and the transfer destination address are added and transmitted, but it is possible to transmit the data for transmission, the transfer destination identification code (MK), and the transfer destination address in the form of a packet (N).
This is preferable in suppressing the amount of data flowing through W) and improving communication efficiency.

【0020】すなわち、前記送信用データ検出手段(W
C)で検出された送信用データ、転送先識別符号生成手
段(RI−M)で生成した識別符号(MK)、及び、転
送先アドレス生成手段(RA−M)で生成したアドレス
をパケット化するパケット生成手段(PC)を備え、前
記送信手段(NC−0)は、パケット生成手段(PC)
によるパケットをネットワーク(NW)に送出するよう
にし、前記受信手段(NC−1)は、ネットワーク(N
W)を通じて他のプロセッサエレメントから送られてき
たパケットを受信するようにし、前記メモリ書込手段
(MW)に、受信手段(NC−1)で受信したパケット
を分解するパケット分解手段(PD)を設け、このパケ
ット分解手段(PD)でパケットを分解して得られたデ
ータを、同様に得られたアドレス情報に従ってメモリ
(MM)に書き込む。
That is, the transmission data detecting means (W
The data for transmission detected in C), the identification code (MK) generated by the transfer destination identification code generation means (RI-M), and the address generated by the transfer destination address generation means (RA-M) are packetized. A packet generating means (PC) is provided, and the transmitting means (NC-0) is a packet generating means (PC).
Packet is sent to the network (NW), and the receiving means (NC-1) sends the packet to the network (NW).
A packet decomposing means (PD) for decomposing the packet received by the receiving means (NC-1) is provided in the memory writing means (MW) so as to receive a packet sent from another processor element via W). The data obtained by disassembling the packet by the packet disassembling means (PD) is written in the memory (MM) according to the address information obtained in the same manner.

【0021】さらに、必要に応じ転送先プロセッサエレ
メントに自己のプロセッサエレメントを含まないように
することも可能である。すなわち、前記識別符号更新手
段(ADD1)において、更新された識別符号(MK)
が自己プロセッサエレメントを示すとき、その更新識別
符号(MK)をさらに更新する自己指定回避手段(10
0)を設ける。
Further, it is possible that the transfer destination processor element does not include its own processor element if necessary. That is, in the identification code updating means (ADD1), the updated identification code (MK)
Indicates a self-processor element, the self-designation avoiding means (10) for further updating the update identification code (MK).
0) is provided.

【0022】また、転送先プロセッサエレメントにおい
て、書込アドレスにオフセット値を加えて転送先での書
き込み位置を変更することもできる。すなわち、前記メ
モリ書込手段(MW)は、受信した書込アドレスにオフ
セット値を加えるオフセット加算手段(OADD)を設
ける。
In the transfer destination processor element, the write position at the transfer destination can be changed by adding an offset value to the write address. That is, the memory writing means (MW) is provided with an offset adding means (OADD) that adds an offset value to the received write address.

【0023】転送用データが次々に転送される場合で、
転送先識別符号(MK)が同一の転送用データが続くと
き、連続する転送用データを1つのパケットにまとめて
送信するようにすると、通信効率はますます高くなる。
すなわち、前記パケット生成手段(PC)に、転送先識
別符号(MK)が同一の転送用データが続くとき、その
転送先識別符号(MK)とともに連続する転送用データ
及びアドレスを1つのパケットにまとめる連続パケット
化機能を設ける。
When the transfer data is transferred one after another,
When the transfer data having the same transfer destination identification code (MK) continues, if the continuous transfer data are collectively transmitted in one packet, the communication efficiency becomes higher.
That is, when transfer data having the same transfer destination identification code (MK) continues to the packet generation means (PC), continuous transfer data and addresses together with the transfer destination identification code (MK) are collected into one packet. Provide a continuous packetization function.

【0024】前記転送用データを書き込むべき特定の領
域に実メモリを置かず他プロセッサ(CPU)への転送
専用の領域とすることでハードウェアを小型化できる。
また、転送先メモリ(MM)への転送データの書き込み
は一番下位のアドレスから順に書き込むようにすると、
通信制御手段(C0・・Cn)が転送先のプロセッサ(C
PU)と相手先でのアドレスの計算を行うハードウエア
が小さくなる。すなわち、前記メモリ書込手段(MW)
に、転送先メモリ(MM)への転送データの書き込みを
一番下位のアドレスから順に書き込む書き込み制御手段
(WM)を設ける。
The hardware can be miniaturized by not providing an actual memory in a specific area in which the transfer data is to be written, but by using the area exclusively for transfer to another processor (CPU).
In addition, when writing transfer data to the transfer destination memory (MM) in order from the lowest address,
Communication control means (C0 ... Cn) is the destination processor (C
PU) and the hardware for calculating the address of the other party are smaller. That is, the memory writing means (MW)
Further, a write control means (WM) for writing transfer data to the transfer destination memory (MM) sequentially from the lowest address is provided.

【0025】以上のようにプロセッサ(CPU)から転
送されるデータのメモリ書き込みを監視を行うことによ
って、転送されるデータは計算終了後ただちに、ネット
ワーク(NW)へ送り出すことが可能になる。
By monitoring the memory writing of the data transferred from the processor (CPU) as described above, the transferred data can be sent to the network (NW) immediately after the calculation is completed.

【0026】なお、本発明で通信制御手段(C0・・C
n)は前記プロセッサ(CPU)により実現されていて
もよい。
In the present invention, the communication control means (C0 ... C
n) may be realized by the processor (CPU).

【0027】[0027]

【実施例】以下、本発明の好適具体例を図面を参照して
説明する。 <実施例1>図4は実施例のブロック図を示し、アドレ
スバスとデータバスとにそれぞれ中央処理手段(プロセ
ッサ(CPU))、メモリ(MM)、通信制御手段(C
0・・Cn)が接続され、プロセッサエレメントが構成さ
れている。このプロセッサエレメントが複数設けられ、
各プロセッサエレメントの通信制御手段(C0・・Cn)
同士がネットワーク(NW)を介して相互に接続されて
いる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described below with reference to the drawings. <Embodiment 1> FIG. 4 is a block diagram of an embodiment, in which an address bus and a data bus are respectively provided with central processing means (processor (CPU)), memory (MM), and communication control means (C).
0 ... Cn) are connected to form a processor element. Multiple processor elements are provided,
Communication control means (C0 ... Cn) of each processor element
They are connected to each other via a network (NW).

【0028】通信制御手段(C0・・Cn)は、以下の構
成を備えている。 プロセッサ(CPU)からメモリ(MM)への書き
込みが他プロセッサ(CPU)への転送のために確保さ
れたデータ検出用領域への書き込みかどうかを判定する
ウインドウコンパレータ(WC)。
The communication control means (C0 ... Cn) has the following configuration. A window comparator (WC) that determines whether writing from the processor (CPU) to the memory (MM) is writing to the data detection area secured for transfer to another processor (CPU).

【0029】 データ検出用領域のデータを一時的に
保持するデータ保持レジスタ(RD)。 転送先識別符号(MK)と転送先アドレスを生成す
るアドレス生成回路(AG)。
A data holding register (RD) that temporarily holds the data in the data detection area. An address generation circuit (AG) that generates a transfer destination identification code (MK) and a transfer destination address.

【0030】 転送先識別符号(MK)と転送先アド
レスとデータとをパケット化するパケット生成回路(P
C)。 生成されたパケットを送信する送信用ネットワーク
制御回路(NC−0)。
A packet generation circuit (P that packetizes the transfer destination identification code (MK), transfer destination address, and data
C). A transmission network control circuit (NC-0) for transmitting the generated packet.

【0031】 他のプロセッサエレメントから送られ
て来たパケットを受信する受信用ネットワーク制御回路
(NC−1)。 受信したパケットを分解して送られてきたデータを
指定されたアドレスに書き込むメモリ書込回路(M
W)。
A receiving network control circuit (NC-1) for receiving a packet sent from another processor element. A memory write circuit (M that decomposes the received packet and writes the sent data to the specified address
W).

【0032】以下、各部を説明する。 {ウインドウコンパレータ(WC)}前記ウインドウコ
ンパレータ(WC)は以下の構成を備える。
Each section will be described below. {Window Comparator (WC)} The window comparator (WC) has the following configuration.

【0033】 検出すべきデータの上限のアドレスを
記憶する上限アドレスレジスタ(RHO)と、検出すべ
きデータの下限のアドレスを記憶する下限アドレスレジ
スタ(RLO)とで構成されるデータ検出用領域設定手
段(DE)。
Data detection area setting means including an upper limit address register (RHO) for storing the upper limit address of data to be detected and a lower limit address register (RLO) for storing the lower limit address of data to be detected (DE).

【0034】 プロセッサ(CPU)から出力される
データの書込アドレスがデータ検出用領域設定手段(D
E)で設定された領域内か否かを判断する判定手段(J
U)。
The write address of the data output from the processor (CPU) is the data detection area setting means (D
E) determining means (J) for determining whether the area is within the area set
U).

【0035】この判定手段(JU)は、プロセッサ(C
PU)から出力されるデータの書込アドレスが上限アド
レスレジスタ(RHO)に記憶された上限のアドレス未
満であるか否かを判定する上限アドレス比較回路(CH
O)と、プロセッサ(CPU)から出力されるデータの
書込アドレスが下限アドレスレジスタ(RLO)に記憶
された下限のアドレス以上であるか否かを判断する下限
アドレス比較回路(CLO)と、上限アドレス比較回路
(CHO)と下限アドレス比較回路(CLO)の出力を
受ける判定結果出力手段としてのアンド回路(AND)
とを備えている。
This judging means (JU) is a processor (C
Upper limit address comparison circuit (CH) for determining whether the write address of the data output from PU) is less than the upper limit address stored in the upper limit address register (RHO)
O), a lower limit address comparison circuit (CLO) for determining whether the write address of data output from the processor (CPU) is equal to or higher than the lower limit address stored in the lower limit address register (RLO), and an upper limit. An AND circuit (AND) as a determination result output means for receiving the outputs of the address comparison circuit (CHO) and the lower limit address comparison circuit (CLO).
It has and.

【0036】前記プロセッサ(CPU)では図示しない
入力手段から入力されたデータを処理し、その書込アド
レスを計算し、その書込アドレスをアドレスバスに出力
するとともに、データをデータバスに出力する。メモリ
(MM)は書込アドレスに従ってデータを格納する。
The processor (CPU) processes the data input from the input means (not shown), calculates the write address, outputs the write address to the address bus, and outputs the data to the data bus. The memory (MM) stores data according to the write address.

【0037】その際、ウインドウコンパレータ(WC)
はプロセッサ(CPU)で計算された書込アドレスがア
ドレスバスに出力されるたびにデータ検出用領域内に有
るかどうか判定し、もしアドレスがデータ検出用領域内
に有る時はその時のデータをデータ保持レジスタ(R
D)に記憶しパケットの転送を指示する。
At that time, the window comparator (WC)
Each time the write address calculated by the processor (CPU) is output to the address bus, it is determined whether or not it is in the data detection area. If the address is in the data detection area, the data at that time is written. Holding register (R
Store in D) and instruct to transfer the packet.

【0038】すなわち、予め検出すべきデータの上限ア
ドレスを上限アドレスレジスタ(RHO)に登録すると
ともに、予め検出すべきデータの下限アドレスを下限ア
ドレスレジスタ(RLO)に登録しておく。上限アドレ
ス、下限アドレスはどの様なデータを並列計算機で扱う
のかにより決定される。
That is, the upper limit address of the data to be detected is registered in the upper limit address register (RHO), and the lower limit address of the data to be detected is registered in the lower limit address register (RLO). The upper limit address and the lower limit address are determined by what kind of data is handled by the parallel computer.

【0039】プロセッサ(CPU)で決定されたデータ
の書込アドレスはデータバスに送信されるので、上限ア
ドレス比較回路(CHO)と、下限アドレス比較回路
(CLO)はそれぞれ書込アドレスを取得する。
Since the write address of the data determined by the processor (CPU) is transmitted to the data bus, the upper limit address comparison circuit (CHO) and the lower limit address comparison circuit (CLO) respectively obtain the write address.

【0040】上限アドレス比較回路(CHO)は上限ア
ドレスレジスタ(RHO)に記憶された上限のアドレス
と書込アドレスとを比較し、書込アドレスが上限アドレ
スレジスタ(RHO)に記憶された上限のアドレス未満
であるとき「1」を出力する。
The upper limit address comparison circuit (CHO) compares the upper limit address stored in the upper limit address register (RHO) with the write address, and the write address is the upper limit address stored in the upper limit address register (RHO). When it is less than 1, "1" is output.

【0041】下限アドレス比較回路(CLO)は、下限
アドレスレジスタ(RLO)に記憶された下限のアドレ
スと書込アドレスとを比較し、書込アドレスが下限アド
レスレジスタ(RLO)に記憶された下限のアドレス以
上であるとき「1」を出力する。
The lower limit address comparison circuit (CLO) compares the lower limit address stored in the lower limit address register (RLO) with the write address, and the write address of the lower limit address stored in the lower limit address register (RLO). When it is equal to or more than the address, "1" is output.

【0042】そして、前記アンド回路(AND)は、上
限アドレス比較回路(CHO)と、下限アドレス比較回
路(CLO)からそれぞれ出力「1」を受けたとき、プ
ロセッサ(CPU)から出力されたデータが、データ検
出用領域内のデータである旨の判定信号として「1」を
出力し、前記アドレス生成回路(AG)とパケット生成
回路(PC)を起動する。 {データ保持レジスタ(RD)}データ保持レジスタ
(RD)は、データバスとパケット生成回路(PC)と
の間に接続され、プロセッサ(CPU)からデータバス
に送出されたデータの内、データ検出用領域内のデータ
を一時的に保持する。 {アドレス生成回路(AG)}アドレス生成回路(A
G)は、転送先識別符号レジスタ(RI)、転送先アド
レスレジスタ(RA)、識別符号更新情報メモリ(MD
I)、アドレス更新情報メモリ(MDA)、識別符号更
新用加算回路(ADD1)、アドレス更新用加算回路
(ADD0)、更新制御用カウンタ(CC)、更新制御
用テーブル(RCC)とを有する。
When the AND circuit (AND) receives the output "1" from the upper limit address comparison circuit (CHO) and the lower limit address comparison circuit (CLO), the data output from the processor (CPU) is output. , "1" is output as a determination signal indicating that the data is in the data detection area, and the address generation circuit (AG) and the packet generation circuit (PC) are activated. {Data holding register (RD)} The data holding register (RD) is connected between the data bus and the packet generation circuit (PC) and is used for data detection among the data sent from the processor (CPU) to the data bus. Holds the data in the area temporarily. {Address generation circuit (AG)} Address generation circuit (A
G) is a transfer destination identification code register (RI), transfer destination address register (RA), identification code update information memory (MD)
I), address update information memory (MDA), identification code update adder circuit (ADD1), address update adder circuit (ADD0), update control counter (CC), and update control table (RCC).

【0043】前記転送先識別符号レジスタ(RI)は転
送先プロセッサエレメントを特定する転送先識別符号
(MK)を格納しており、データ転送に際し、転送先識
別符号(MK)をパケット生成回路(PC)に送信する
とともに識別符号更新用加算回路(ADD1)に送信す
る。
The transfer destination identification code register (RI) stores a transfer destination identification code (MK) for specifying a transfer destination processor element. The data transfer destination identification code (MK) is transferred to the packet generation circuit (PC) during data transfer. ) And the identification code update addition circuit (ADD1).

【0044】識別符号更新情報メモリ(MDI)には、
転送先識別符号(MK)の更新用情報を登録してある。
前記識別符号更新用加算回路(ADD1)は指定すべき
識別符号(MK)を順次更新するもので、転送先識別符
号レジスタ(RI)から受信した識別符号(MK)に、
識別符号更新情報メモリ(MDI)の更新用情報を加算
して新識別符号(MK)を生成し、転送先識別符号レジ
スタ(RI)に送信する。
In the identification code update information memory (MDI),
Information for updating the transfer destination identification code (MK) is registered.
The identification code updating adder circuit (ADD1) sequentially updates the identification code (MK) to be designated. The identification code (MK) received from the transfer destination identification code register (RI)
The update information in the identification code update information memory (MDI) is added to generate a new identification code (MK), which is sent to the transfer destination identification code register (RI).

【0045】前記転送先アドレスレジスタ(RA)は転
送先でのメモリ(MM)の書込アドレスを格納してあ
り、データ転送に際し、転送先アドレスをパケット生成
回路(PC)に送信するとともにアドレス更新用加算回
路(ADD0)に送信する。
The transfer destination address register (RA) stores the write address of the memory (MM) at the transfer destination, and at the time of data transfer, transmits the transfer destination address to the packet generation circuit (PC) and updates the address. To the adder circuit (ADD0).

【0046】アドレス更新情報メモリ(MDA)には、
転送先アドレスの更新用情報を登録してある。前記アド
レス更新用加算回路(ADD0)は、指定すべき書込ア
ドレスを順次更新するもので、転送先アドレスレジスタ
(RA)から受信した転送先アドレスにアドレス更新情
報メモリ(MDA)に登録された更新用情報を加算する
ことで新転送先アドレスを生成し、転送先アドレスレジ
スタ(RA)に送信する。
In the address update information memory (MDA),
Information for updating the transfer destination address is registered. The address update adder circuit (ADD0) sequentially updates the write address to be designated, and updates the transfer destination address received from the transfer destination address register (RA) registered in the address update information memory (MDA). A new transfer destination address is generated by adding the use information to the transfer destination address register (RA).

【0047】前記更新制御用カウンタ(CC)は、予め
初期値「m」が設定されており、データ転送の毎に前記
初期値「m」から「1」づつ減算される。レジスタ制御
テーブル(RCC)は、更新制御用カウンタ(CC)が
「0」になったとき更新制御用カウンタ(CC)に与え
るべき初期値「m」を蓄積したレジスタである。
The update control counter (CC) is preset with an initial value "m", and is decremented by "1" from the initial value "m" each time data is transferred. The register control table (RCC) is a register that stores an initial value “m” to be given to the update control counter (CC) when the update control counter (CC) becomes “0”.

【0048】そして、データ転送に際し、転送先識別符
号レジスタ(RI)から転送先識別符号(MK)がパケ
ット生成回路(PC)に送信されるとともに識別符号更
新用加算回路(ADD1)に送信される。
Then, at the time of data transfer, the transfer destination identification code (MK) is transmitted from the transfer destination identification code register (RI) to the packet generation circuit (PC) and is also transmitted to the identification code update addition circuit (ADD1). ..

【0049】同様に、転送先アドレスレジスタ(RA)
から転送先アドレスがパケット生成回路(PC)に送信
されるとともにアドレス更新用加算回路(ADD0)に
送信される。
Similarly, the transfer destination address register (RA)
From the transfer destination address to the packet generation circuit (PC) and the address update addition circuit (ADD0).

【0050】さらに、この時更新制御用カウンタ(C
C)が「1」減算される。減算の結果、更新制御用カウ
ンタ(CC)が「0」でないとき、前記識別符号更新用
加算回路(ADD1)で転送先識別符号(MK)に識別
符号更新情報メモリ(MDI)に登録された更新用情報
が加算される。この結果新識別符号(MK)が生成され
る。新識別符号(MK)は前記転送先識別符号レジスタ
(RI)に格納される。
Further, at this time, the update control counter (C
C) is subtracted by "1". When the update control counter (CC) is not "0" as a result of the subtraction, the update registered in the identification code update information memory (MDI) in the transfer destination identification code (MK) by the identification code update addition circuit (ADD1). Information is added. As a result, a new identification code (MK) is generated. The new identification code (MK) is stored in the transfer destination identification code register (RI).

【0051】同様に、アドレス更新用加算回路(ADD
0)で転送先アドレスにアドレス更新情報メモリ(MD
A)に登録された更新用情報が加算される。この結果新
転送先アドレスが生成される。新転送先アドレスは前記
転送先アドレス保持部(RA)に格納される。
Similarly, an address updating adder circuit (ADD
0) to the transfer destination address as the address update information memory (MD
The update information registered in A) is added. As a result, a new transfer destination address is generated. The new transfer destination address is stored in the transfer destination address holding unit (RA).

【0052】更新制御用カウンタ(CC)が「0」のと
き、更新制御用カウンタ(CC)に更新制御用制御テー
ブル(RCC)に登録してある初期値「m」を与える。
転送先アドレスレジスタ(RA)及び転送先識別符号レ
ジスタ(RI)の内容は、パケットをひとつ送るたびに
図5のフローチャートに示す手順で更新される。図5で
は、図4でn=3の時の更新手順であるが、nが異なる
時も同様の手順で更新できる。ここで、nはプロセッサ
(CPU)の数とは無関係の任意の数である。
When the update control counter (CC) is "0", the update control counter (CC) is given the initial value "m" registered in the update control control table (RCC).
The contents of the transfer destination address register (RA) and the transfer destination identification code register (RI) are updated by the procedure shown in the flowchart of FIG. 5 every time one packet is sent. In FIG. 5, the update procedure is performed when n = 3 in FIG. 4, but when n is different, update can be performed by the same procedure. Here, n is an arbitrary number irrelevant to the number of processors (CPU).

【0053】図5に示したアドレス更新のためのフロー
チャートを説明すると、まず、データの転送すなわちパ
ケットの転送の度に更新制御用カウンタ(CC−1)の
値がデクリメントされて「1」減算される(ステップ1
01)。
Explaining the flowchart for updating the address shown in FIG. 5, first, the value of the update control counter (CC-1) is decremented and decremented by "1" each time data is transferred, that is, packet is transferred. (Step 1
01).

【0054】次いで、更新制御用カウンタ(CC−1)
の値が0であるか否か判断され(ステップ102)、0
でなければ、転送先識別符号レジスタ(RI)の値に識
別符号更新情報メモリ(MDI−0)の値を加算しする
とともに転送先アドレスレジスタ(RA)の値にアドレ
ス更新情報メモリMDA-0の値を加算し(ステップ10
3)、アドレス更新を終了する。
Next, the update control counter (CC-1)
Is determined to be 0 (step 102), 0
If not, the value of the identification code update information memory (MDI-0) is added to the value of the transfer destination identification code register (RI) and the value of the transfer destination address register (RA) is added to the address update information memory MDA-0. Add the values (step 10
3) The address update is completed.

【0055】ステップ102で更新制御用カウンタ(C
C−1)の値が0であったら、ステップ104に移行
し、レジスタ制御テーブル(RCC−1)の値を更新制
御用カウンタ(CC−1)に複写して初期化するととも
にレジスタ制御テーブル(RCC−2)の値をデクリメ
ントして「1」減算する。
At step 102, the update control counter (C
If the value of C-1) is 0, the process proceeds to step 104, the value of the register control table (RCC-1) is copied to the update control counter (CC-1) and initialized, and the register control table (RC The value of RCC-2) is decremented and "1" is subtracted.

【0056】次いで、更新制御用カウンタ(CC−2)
の値が0であるか否か判断され(ステップ105)、0
でなければ、転送先識別符号レジスタ(RI)の値に識
別符号更新情報メモリ(MDI−1)の値を加算すると
ともに転送先アドレスレジスタ(RA)の値にアドレス
更新情報メモリMDA-1の値を加算し(ステップ10
6)、アドレス更新を終了する。
Next, the update control counter (CC-2)
Is determined to be 0 (step 105), 0
If not, the value of the identification code update information memory (MDI-1) is added to the value of the transfer destination identification code register (RI) and the value of the address update information memory MDA-1 is added to the value of the transfer destination address register (RA). Is added (step 10
6) The address update is completed.

【0057】ステップ105で更新制御用カウンタ(C
C−2)の値が0であったら、ステップ107に移行
し、レジスタ制御テーブル(RCC−2)の値を更新制
御用カウンタ(CC−2)に複写して初期化するととも
にレジスタ制御テーブル(RCC−3)の値をデクリメ
ントして「1」減算する。
At step 105, the update control counter (C
If the value of C-2) is 0, the process proceeds to step 107, the value of the register control table (RCC-2) is copied to the update control counter (CC-2) for initialization, and the register control table (CC The value of RCC-3) is decremented and "1" is subtracted.

【0058】次いで、更新制御用カウンタ(CC−3)
の値が0であるか否か判断され(ステップ108)、0
でなければ、転送先識別符号レジスタ(RI)の値に識
別符号更新情報メモリ(MDI−2)の値を加算すると
ともに転送先アドレスレジスタ(RA)の値にアドレス
更新情報メモリMDA-2の値を加算し(ステップ10
9)、アドレス更新を終了する。
Next, the update control counter (CC-3)
Is determined to be 0 (step 108), 0
If not, the value of the identification code update information memory (MDI-2) is added to the value of the transfer destination identification code register (RI), and the value of the address update information memory MDA-2 is added to the value of the transfer destination address register (RA). Is added (step 10
9) The address update is completed.

【0059】ステップ108で更新制御用カウンタ(C
C−3)の値が0であったら、ステップ110に移行
し、レジスタ制御テーブル(RCC−3)の値を更新制
御用カウンタ(CC−3)に複写して初期化するととも
に転送先識別符号レジスタ(RI)の値に識別符号更新
情報メモリMDIー3の値を加算するとともに転送先アドレ
スレジスタ(RA)の値にアドレス更新情報メモリMDA-
3の値を加算し、アドレス更新を終了する。
At step 108, the update control counter (C
If the value of C-3) is 0, the process proceeds to step 110, the value of the register control table (RCC-3) is copied to the update control counter (CC-3) for initialization, and the transfer destination identification code is also set. The value of the identification code update information memory MDI-3 is added to the value of the register (RI), and the address update information memory MDA- is added to the value of the transfer destination address register (RA).
The value of 3 is added and the address update is completed.

【0060】なお、本実施例では、プロセッサ台数を2
のn乗(nは自然数)の台数に制限する。転送先識別符
号レジスタ(RI)および識別符号更新用加算回路(A
DD1)のビット幅を台数を表現出来る最小の幅とす
る。これによって、更新時に転送先識別符号レジスタ
(RI)がプロセッサ番号以外の値にならないようにす
ることができる。 {パケット生成回路(PC)}パケット生成回路(P
C)は、ウインドウコンパレータ(WC)の指示を受け
て、アドレス生成回路(AG)にある転送先識別符号レ
ジスタ(RI)と転送先アドレスレジスタ(RA)及び
データ保持レジスタ(RD)のデータをこの順で並べて
パケットとし、ネットワーク制御回路(NC−0)へお
くる。 {ネットワーク制御回路(NC−0)}ネットワーク制
御回路(NC−0)はこのパケットの転送先識別符号
(MK)をもとにこのパケットを相手プロセッサ(CP
U)に送る。すなわち転送先識別符号(MK)の解読手
段と、パケットの送信手段(NC−0)とを有する。
In this embodiment, the number of processors is 2
The number is limited to the n-th power (n is a natural number). Transfer destination identification code register (RI) and identification code update addition circuit (A
The bit width of DD1) is the minimum width that can express the number of vehicles. As a result, the transfer destination identification code register (RI) can be prevented from having a value other than the processor number at the time of updating. {Packet generation circuit (PC)} Packet generation circuit (P
In response to the instruction from the window comparator (WC), C) transfers the data of the transfer destination identification code register (RI), the transfer destination address register (RA) and the data holding register (RD) in the address generation circuit (AG). The packets are arranged in order and sent to the network control circuit (NC-0). {Network control circuit (NC-0)} The network control circuit (NC-0) sends this packet to the partner processor (CP) based on the transfer destination identification code (MK) of this packet.
Send to U). That is, it has a decoding means for the transfer destination identification code (MK) and a packet transmission means (NC-0).

【0061】なお、ネットワーク制御回路(NC−0)
に転送先識別符号(MK)の解読手段を設けず、ネット
ワーク(NW)に中継用交換機を設け、この中継用交換
機で転送先識別符号(MK)を解読し、指定された転送
先にパケットを転送するようにしてもよい。
The network control circuit (NC-0)
No transfer means identification code (MK) decoding means is provided in the network (NW), a relay exchange is installed, the transfer destination identification code (MK) is decrypted by this relay exchange, and the packet is transferred to the designated transfer destination. It may be transferred.

【0062】なお、本発明で使用するネットワーク(N
W)の一例として、データの転送に先立って送り先の識
別子を指定するネットワークを使用できる。 {受信用ネットワーク制御回路(NC−1)}受信用ネ
ットワーク制御回路(NC−1)は、他のプロセッサエ
レメントから送られてきたパケットを受信する。 {メモリ書込回路(MW)}メモリ書込回路(MW)
は、受信したパケットを分解して書込アドレスとデータ
を取り出すパケット分解回路PDと、得られた書込アドレ
スを蓄積するアドレス書込回路WAと、得られたデータを
蓄積するデータ書込回路WDとを有する。
Note that the network (N
As an example of W), a network that specifies a destination identifier in advance of data transfer can be used. {Reception network control circuit (NC-1)} The reception network control circuit (NC-1) receives a packet sent from another processor element. {Memory write circuit (MW)} Memory write circuit (MW)
Is a packet decomposing circuit PD for decomposing a received packet to extract a write address and data, an address writing circuit WA for accumulating the obtained write address, and a data writing circuit WD for accumulating the obtained data. Have and.

【0063】メモリ書込回路(MW)はバスの獲得要求
を出して、アドレスバス、データバスを獲得し、アドレ
ス書込回路WAとデータ書込回路WDはそれぞれアドレスバ
ス、データバスを介してアドレス書込回路WAに蓄積され
た書込アドレスに従ってデータ書込回路WDに蓄積されて
いるデータをメモリ(MM)に書き込む。 {バスの形態}この実施例では、バスはデータバスとア
ドレスバスが分離されているが、1本のバスで時分割
で、アドレスとデータを送ってもよい。 <実施例1の動作例>この実施例の装置の働きを4プロ
セッサのシステムで図6,2のパラメータ設定した時の
例で説明する。
The memory writing circuit (MW) issues a bus acquisition request to acquire the address bus and the data bus. The address writing circuit WA and the data writing circuit WD address the addresses via the address bus and the data bus, respectively. The data stored in the data write circuit WD is written in the memory (MM) according to the write address stored in the write circuit WA. {Form of Bus} In this embodiment, the data bus and the address bus are separated from each other, but the address and the data may be sent by one bus in a time division manner. <Operation Example of First Embodiment> The operation of the apparatus of the first embodiment will be described with reference to an example when parameters are set as shown in FIGS.

【0064】図6は全プロセッサ共通で、アドレス生成
回路(AG)のレジスタ管理テーブル(RCC),アド
レス更新情報メモリMDA、識別符号更新情報メモリ(M
DI)に設定する値である。図7は各プロセッサ(CP
U)の設定値である。各プロセッサ(CPU)に共通し
て上限アドレスレジスタ(RHO)に「2032」が登
録され、下限アドレスレジスタ(RLO)に「200
0」が登録され、転送先識別符号レジスタ(RI)に
「1」が登録されている。プロセッサ(0)の転送先書
込アドレスレジスタ(RA)に「1000」、プロセッ
サ(1)の転送先書込アドレスレジスタ(RA)に「1
004」、プロセッサ(2)の転送先書込アドレスレジ
スタ(RA)に「1008」、プロセッサ(3)の転送
先書込アドレスレジスタ(RA)に「1012」が登録
されている。
FIG. 6 is common to all the processors, and the register management table (RCC) of the address generation circuit (AG), the address update information memory MDA, and the identification code update information memory (M
It is a value set in DI). Figure 7 shows each processor (CP
U) is the set value. “2032” is registered in the upper limit address register (RHO) and “200” is registered in the lower limit address register (RLO) in common to each processor (CPU).
"0" is registered, and "1" is registered in the transfer destination identification code register (RI). “1000” is set in the transfer destination write address register (RA) of the processor (0), and “1” is set in the transfer destination write address register (RA) of the processor (1).
004 ”,“ 1008 ”is registered in the transfer destination write address register (RA) of the processor (2), and“ 1012 ”is registered in the transfer destination write address register (RA) of the processor (3).

【0065】まず、プロセッサ(0)で生成されたデー
タ(A0,B0,C0,D0,E0,F0,G0,H
0)がメモリ(MM)に送られると、その各アドレスを
上限アドレス比較回路(CHO)と下限アドレス比較回
路(CLO)が取得する。
First, the data (A0, B0, C0, D0, E0, F0, G0, H generated by the processor (0) is used.
0) is sent to the memory (MM), the respective addresses are acquired by the upper limit address comparison circuit (CHO) and the lower limit address comparison circuit (CLO).

【0066】上限アドレス比較回路(CHO)は上限ア
ドレスレジスタ(RHO)に記憶された上限のアドレス
「2032」と各データの書込アドレスの上限「200
4,2008,2012,2016,2020,202
4,2028,2032」とを比較する。各データの書
込アドレスの上限はいずれも上限アドレスレジスタ(R
HO)に記憶された上限のアドレス「2032」未満で
あるため上限アドレス比較回路(CHO)は各データを
取得する度に「1」を出力する。
The upper limit address comparison circuit (CHO) stores the upper limit address “2032” stored in the upper limit address register (RHO) and the upper limit “200” of the write address of each data.
4, 2008, 2012, 2012, 2020, 202
4, 2028, 2032 ". The upper limit of the write address of each data is the upper limit address register (R
Since it is less than the upper limit address “2032” stored in HO), the upper limit address comparison circuit (CHO) outputs “1” each time each data is acquired.

【0067】下限アドレス比較回路(CLO)は、下限
アドレスレジスタ(RLO)に記憶された下限のアドレ
ス「2000」と各データの書込アドレスの下限「20
00,2004,2008,2012,2016,20
20,2024,2028」とを比較する。各データの
書込アドレスの下限は下限アドレスレジスタ(RLO)
に記憶された下限のアドレス「2000」以上であるた
め下限アドレス比較回路(CLO)は各データを取得す
る度に「1」を出力する。
The lower limit address comparison circuit (CLO) has a lower limit address “2000” stored in the lower limit address register (RLO) and a lower limit “20” of a write address of each data.
00, 2004, 2008, 2012, 2016, 20
20, 2024, 2028 ". The lower limit of the write address of each data is the lower limit address register (RLO)
Since the lower limit address "2000" stored in is lower than or equal to "2000", the lower limit address comparison circuit (CLO) outputs "1" each time each data is acquired.

【0068】そして、前記アンド回路(AND)は、上
限アドレス比較回路(CHO)と、下限アドレス比較回
路(CLO)からそれぞれ出力「1」を受けたとき
「1」を出力し、前記アドレス生成回路(AG)とパケ
ット生成回路(PC)を起動する。
The AND circuit (AND) outputs "1" when it receives outputs "1" from the upper limit address comparison circuit (CHO) and the lower limit address comparison circuit (CLO), respectively, and the address generation circuit. (AG) and packet generation circuit (PC) are activated.

【0069】このように設定することによって図8のよ
うに各プロセッサの「2000〜2032」(アドレス
は全て10進数で表記)のデータを「1000〜103
2」に配置を変えて書き込むことができる。
By setting in this way, the data of "2000 to 2032" (all addresses are expressed in decimal) of each processor is set to "1000 to 103" as shown in FIG.
You can change the layout to "2" and write.

【0070】この時のプロセッサ(0)の制御回路の動
作を図9に示す。なお、図で、図8と図9の関係を示す
と、A0はアドレス「2000〜2003」にそれぞれ
格納された「D1〜D4」のデータからなり、B0はアド
レス「2004〜2007」にそれぞれ格納された「D
5〜D8」のデータからなり、D0はアドレス「2012
〜2015」にそれぞれ格納された「D13〜D16」
のデータからなり、E0はアドレス「2016〜201
9」にそれぞれ格納された「D17〜D20」のデータ
からなるものとする。
The operation of the control circuit of the processor (0) at this time is shown in FIG. 8 shows the relationship between FIG. 8 and FIG. 9, A0 consists of the data of “D1 to D4” stored in the addresses “2000 to 2003”, and B0 is stored in the address “2004 to 2007”. Was done "D
5 to D8 ”data, and D0 is the address“ 2012
~ 2015 "stored in" D13 to D16 "
E0 is the address "2016-201".
It is assumed to be composed of data of "D17 to D20" stored in "9".

【0071】まず、図7から明かなように、プロセッサ
(0)では(RI)に「1」が設定され、(RA)に
「1000」が設定され、さらに、上限アドレスレジス
タ(RHO)に「2032」が設定され、下限アドレス
レジスタ(RLO)に「2000」が設定されている。
従って、A0のデータD1が送られてくると、D1のア
ドレス「2000」がウインドウコンパレータ(WC)
の上限アドレス比較回路(CHO)と下限アドレス比較
回路(CLO)にそれぞれ捕捉され、前記上限アドレス
「2032」及び下限アドレス「2000」と比較され
る。
First, as is apparent from FIG. 7, in the processor (0), (RI) is set to "1", (RA) is set to "1000", and the upper limit address register (RHO) is set to "1". 2032 "is set, and" 2000 "is set in the lower limit address register (RLO).
Therefore, when the data D1 of A0 is sent, the address "2000" of D1 is changed to the window comparator (WC).
The upper limit address comparison circuit (CHO) and the lower limit address comparison circuit (CLO) are respectively captured and compared with the upper limit address “2032” and the lower limit address “2000”.

【0072】ここではD1アドレスは「2000」であ
って「2032」と「2000」との間にあるので、ア
ンド回路(AND)は「1」を出力し、アドレス生成回
路(AG)を起動し、識別符号「1」(プロセッサ
(1)を示す)と、書込アドレス(RA)の値「100
0」と、データ保持レジスタ(RD)からのデータD1
とをパケット化し、図の部分で、ネットワーク制御回
路(NC−0)に送る。すなわちプロセッサ(1)のメ
モリ(MM)の「1000」にデータD1が送られる。
すると、図9ののように図5のステップ101に従っ
て(CC−1)がデクトリメントされるが、(CC−
1)の値は、0にならないので、転送先識別符号レジス
タ(RI)の値「1」にMDI-0の値「0」が加算され、
転送先アドレスレジスタ(RA)の値「1000」にMD
A-0の値「1」が加算され、その結果、(RI)=
「1」、(RA)=「1001」となる。
Since the D1 address is "2000" between "2032" and "2000", the AND circuit (AND) outputs "1" to activate the address generation circuit (AG). , The identification code “1” (indicating the processor (1)), and the write address (RA) value “100”.
0 ”and data D1 from the data holding register (RD)
And are packetized and sent to the network control circuit (NC-0) in the part of the figure. That is, the data D1 is sent to "1000" in the memory (MM) of the processor (1).
Then, (CC-1) is decremented according to step 101 of FIG. 5 as shown in FIG.
Since the value of 1) does not become 0, the value "0" of MDI-0 is added to the value "1" of the transfer destination identification code register (RI),
MD in the value "1000" of the transfer destination address register (RA)
The value "1" of A-0 is added, and as a result, (RI) =
“1” and (RA) = “1001”.

【0073】同様にして、アドレス「2001」のデー
タD2がプロセッサ(1)のアドレス「1001」に転
送され、(CC−1)の値が「2」にデクリメントさ
れ、(RI)=「1」、(RA)=「1002」に更新
される。データD3はプロセッサ(1)のアドレス「1
002」に転送され、(CC−1)の値が「1」にデク
リメントされ、(RI)=「1」、(RA)=「100
3」に更新される。
Similarly, the data D2 of the address "2001" is transferred to the address "1001" of the processor (1), the value of (CC-1) is decremented to "2", and (RI) = "1". , (RA) = “1002” is updated. The data D3 is the address "1" of the processor (1).
002 ”, the value of (CC-1) is decremented to“ 1 ”, (RI) =“ 1 ”, (RA) =“ 100 ”.
3 ”is updated.

【0074】次いで、データD4がプロセッサ(1)の
アドレス「1003」に転送されると、図9のでは
(CC−1)の値がデクリメントされて0になるので、
(CC−1)に(RCC−1)の値「4」が複写され
る。また、(CC−2)の値がデクリメントされる(ス
テップ104)。その結果(CC−2)は0にならない
ので(ステップ105)、転送先識別符号レジスタ(R
I)の値「1」に識別符号更新情報メモリMDI−1の
値「1」が加算され、よって、転送先識別符号レジスタ
(RI)の値は「2」となる。同時に転送先アドレスレ
ジスタ(RA)の値「1003」にアドレス更新情報メ
モリMDA−1の値「−3」が加算され、転送先アドレ
スレジスタ(RA)の値はプロセッサ(2)の書込アド
レス「1000」に更新される。
Next, when the data D4 is transferred to the address "1003" of the processor (1), the value of (CC-1) is decremented to 0 in FIG.
The value "4" of (RCC-1) is copied to (CC-1). Further, the value of (CC-2) is decremented (step 104). As a result (CC-2) does not become 0 (step 105), the transfer destination identification code register (R
The value "1" of the identification code update information memory MDI-1 is added to the value "1" of I), so that the value of the transfer destination identification code register (RI) becomes "2". At the same time, the value “-3” of the address update information memory MDA-1 is added to the value “1003” of the transfer destination address register (RA), and the value of the transfer destination address register (RA) is the write address of the processor (2) “ 1000 "is updated.

【0075】以上のようにしてプロセッサ(0)のアド
レス「2000〜2003」に格納されていたデータD
1からD4、すなわち図8の「A0」がプロセッサ
(1)のアドレス「1000〜1003」に転送され
る。
As described above, the data D stored in the addresses "2000 to 2003" of the processor (0)
1 to D4, that is, “A0” in FIG. 8 is transferred to the address “1000 to 1003” of the processor (1).

【0076】同様にして、プロセッサ(0)のアドレス
「2004〜2007」のデータ「D5〜D8」=「B
0」がプロセッサ(2)のアドレス「1000〜100
3」に転送される。そして、同様にプロセッサ(0)の
アドレス「2012〜2015」に格納されたデータ
「D13〜D16」=「D0」がプロセッサ(0)のア
ドレス「1000〜1003」に転送されると、図9の
で、(CC−1)は「1」から「0」にデクリメント
され(ステップ101)、その後、(RCC−1)の値
「4」が(CC−1)に複写される(ステップ10
4)。また、(CC−2)が「1」から「0」にデクリ
メントされ(ステップ104)、その後、(RCC−
2)の値「4」が(CC−2)に複写される(ステップ
107)。同時に、(CC−3)が「4」から「3」に
デクリメントされる(ステップ107)。CC−3が
「0」でないので、転送先識別符号レジスタ(RI)の
値「0」にMDI−2の値「1」が加算され、かつ、転
送先アドレスレジスタ(RA)の値「1003」にMD
A−2の値「13」が加算される。この結果、次のデー
タD17の転送先は、プロセッサ(1)の「1016」
に更新される。
Similarly, the data "D5 to D8" of the address "2004 to 2007" of the processor (0) = "B".
0 is the address (1000-100) of the processor (2)
3 ”. Similarly, when the data “D13 to D16” = “D0” stored in the addresses “2012 to 2015” of the processor (0) is transferred to the address “1000 to 1003” of the processor (0), as shown in FIG. , (CC-1) are decremented from "1" to "0" (step 101), after which the value "4" of (RCC-1) is copied to (CC-1) (step 10).
4). Also, (CC-2) is decremented from "1" to "0" (step 104), and then (RCC-).
The value "4" of 2) is copied to (CC-2) (step 107). At the same time, (CC-3) is decremented from "4" to "3" (step 107). Since CC-3 is not "0", the value "1" of MDI-2 is added to the value "0" of the transfer destination identification code register (RI) and the value "1003" of the transfer destination address register (RA). To MD
The value "13" of A-2 is added. As a result, the transfer destination of the next data D17 is "1016" of the processor (1).
Will be updated.

【0077】また図には示していないが、他のプロセッ
サから送られてきたデータはアドレスバス・データバス
が使用されていない期間にメモリ(MM)に書き込まれ
る。 <実施例2>また、図10は図4の転送先識別符号更新
回路(RI)の部分を変更した実施例である。図4の実
施例では、転送制御回路は自分のメモリ(MM)に対し
て書込を行うパケットも作るが、図10の実施例では、
転送先識別符号レジスタ(RI)には自分の識別符号は
書き込まれない。
Although not shown in the figure, data sent from another processor is written in the memory (MM) while the address bus / data bus is not used. <Embodiment 2> FIG. 10 is an embodiment in which the transfer destination identification code update circuit (RI) of FIG. 4 is modified. In the embodiment of FIG. 4, the transfer control circuit also creates a packet for writing to its own memory (MM), but in the embodiment of FIG.
The own identification code is not written in the transfer destination identification code register (RI).

【0078】この実施例では、以下の構成を備えてい
る。 現在の識別符号RIにMDIの値を加算する識別符
号更新用加算回路(ADD1)。
In this embodiment, the following constitution is provided. An identification code update addition circuit (ADD1) that adds the value of MDI to the current identification code RI.

【0079】 この識別符号更新用加算回路(ADD
1)で作成された新たな転送先識別符号RIと自己のプ
ロセッサ識別符号とを比較する比較回路(CMP0)。 比較回路(CMP0)が自分の識別符号と識別符号
更新用加算回路(ADD1)で作成された新しい転送先
識別符号RIの値を比較したとき、識別符号更新用加算
回路(ADD1)の出力が自己の識別符号と等しい時に
は「1」を出力し、等しくない時には「0」を出力する
自己識別符号回避用データ出力回路(MPX0)。
This adder circuit for updating the identification code (ADD
A comparison circuit (CMP0) that compares the new transfer destination identification code RI created in 1) with its own processor identification code. When the comparison circuit (CMP0) compares its own identification code with the value of the new transfer destination identification code RI created by the identification code update addition circuit (ADD1), the output of the identification code update addition circuit (ADD1) The self-identification code avoidance data output circuit (MPX0) which outputs "1" when it is equal to the identification code of No.

【0080】 自己識別符号回避用データ出力回路
(MPX0)によって与えられたデータ「1」か「0」
を識別符号更新用加算回路(ADD1)で作成された新
たな転送先識別符号RIに加算する第2の識別符号更新
用加算回路(ADD2)。
Data “1” or “0” given by the self-identification code avoidance data output circuit (MPX0)
Is added to the new transfer destination identification code RI created by the identification code updating addition circuit (ADD1).

【0081】 識別符号レジスタ(RI)。 以上の構成により、比較回路(CMP0)が自分の識別
符号と識別符号更新用加算回路(ADD1)で作成され
た新しい転送先識別符号RIの値を比較し、識別符号更
新用加算回路(ADD1)の出力が自己の識別符号と等
しい時には、自己識別符号回避用データ出力回路(MP
X0)によって、第2の識別符号更新用加算回路(AD
D2)に与えるデータを「1」にするので、自己の識別
符号は転送先識別符号レジスタ(RI)に記憶されな
い。 <実施例3>図11は図4の転送先識別符号更新回路
(RI)の異なる実施例である。図4の実施例では、プ
ロセッサ台数は2のn乗の台数に制限されているが、図
11の実施例では、以下の構成となっている。
Identification code register (RI). With the above configuration, the comparison circuit (CMP0) compares its own identification code with the value of the new transfer destination identification code RI created by the identification code update addition circuit (ADD1), and the identification code update addition circuit (ADD1). , The data output circuit for avoiding the self-identification code (MP
X0) allows the second identification code updating adder circuit (AD
Since the data given to D2) is set to "1", its own identification code is not stored in the transfer destination identification code register (RI). <Third Embodiment> FIG. 11 shows a different embodiment of the transfer destination identification code updating circuit (RI) shown in FIG. In the embodiment of FIG. 4, the number of processors is limited to the power of 2 to the n-th power, but the embodiment of FIG. 11 has the following configuration.

【0082】 現在の識別符号RIにMDIの値を加
算する識別符号更新用加算回路(ADD1)。 この識別符号更新用加算回路(ADD1)で作成さ
れた新たな転送先識別符号RIと総プロセッサ数とを比
較するプロセッサ数比較回路(CMP1)。
An identification code update addition circuit (ADD1) that adds the value of MDI to the current identification code RI. A processor number comparison circuit (CMP1) that compares the new transfer destination identification code RI created by the identification code update addition circuit (ADD1) with the total number of processors.

【0083】 比較回路(CMP1)の比較結果と総
プロセッサとが入力され、比較結果がプロセッサ台数台
がRIの値を上回っているとき「プロセッサ台数」を出
力し、そうでないとき「0」を出力する選択出力回路
(MPX1)。
When the comparison result of the comparison circuit (CMP1) and the total processor are input, and the comparison result indicates that the number of processors exceeds the value of RI, “the number of processors” is output, and otherwise, “0” is output. Select output circuit (MPX1).

【0084】 識別符号更新用加算回路(ADD1)
で作成された新しい転送先識別符号RIの値から総プロ
セッッサ台数を減算する減算回路(SUB0)。 識別符号レジスタ(RI)。 そして、比較回路(CMP1)がアドレス更新用加算回
路(ADD0)の出力とプロセッサエレメントの数を比
較し、アドレス更新用加算回路(ADD1)の方が符号
無し2進数(正数を表す2進数のこと)として、プロセ
ッサ台数以上のときに、減算回路(SUB0)によって
プロセッサ台数を引くことによって、任意のプロセッサ
台数でも、転送先識別符号レジスタ(RI)の値が台数
を越えないように制限することが出来る。 <実施例4>図12はメモリ書込回路(MW)の異な
る、実施例である。このように、受信側で書込アドレス
にアドレス値をずらすオフセット値を加えるオフセット
加算回路(ADD3)を設けることによって、受信側の
領域をプロセッサ毎に異なるアドレスに置くことができ
る。 <実施例5>図13はパケット生成手段(PC)の変形
例を示し、転送先識別符号が同一の転送用データが続く
とき、その転送先識別符号とともに連続する転送用デー
タ及びアドレスを1つのパケットにまとめる連続パケッ
ト化機能を有する。
Identification code update addition circuit (ADD1)
A subtraction circuit (SUB0) that subtracts the total number of processors from the value of the new transfer destination identification code RI created in. Identification code register (RI). Then, the comparison circuit (CMP1) compares the output of the address update addition circuit (ADD0) with the number of processor elements, and the address update addition circuit (ADD1) has an unsigned binary number (a binary number representing a positive number). By subtracting the number of processors by the subtraction circuit (SUB0) when the number of processors is equal to or more than the number of processors, the value of the transfer destination identification code register (RI) is restricted so as not to exceed the number of processors even if the number of processors is arbitrary. Can be done. <Embodiment 4> FIG. 12 shows an embodiment in which the memory write circuit (MW) is different. In this way, by providing the offset addition circuit (ADD3) for adding an offset value for shifting the address value to the write address on the receiving side, the receiving side area can be placed at a different address for each processor. <Embodiment 5> FIG. 13 shows a modification of the packet generation means (PC). When transfer data having the same transfer destination identification code continues, the transfer destination identification code and continuous transfer data and address are combined into one. It has a continuous packetizing function that collects packets.

【0085】本実施例でパケット生成手段(PC)と前
記転送先識別符号レジスタ(RI)との間に、識別符号
保持回路(LI)と、識別符号比較回路(CLI)が接
続されている。識別符号保持回路(LI)は各パケット
の転送時にそのパケットの識別符号を記憶する。識別符
号比較回路(CLI)は新たなパケットの送信時に転送
先識別符号レジスタ(RI)からの識別符号と識別符号
保持回路(LI)に記憶されている一つ前の識別符号と
を比較する。転送先識別符号レジスタ(RI)からの識
別符号と識別符号保持回路(LI)に記憶されている識
別符号とが等しいとき、パケット生成手段(PC)は、
転送先アドレス保持部(RA)の転送先アドレスとデー
タ保持レジスタ(RD)のデータのみをネットワーク制
御回路(NC−0)に送る。
In this embodiment, an identification code holding circuit (LI) and an identification code comparison circuit (CLI) are connected between the packet generating means (PC) and the transfer destination identification code register (RI). The identification code holding circuit (LI) stores the identification code of each packet when transferring each packet. The identification code comparison circuit (CLI) compares the identification code from the transfer destination identification code register (RI) with the previous identification code stored in the identification code holding circuit (LI) when a new packet is transmitted. When the identification code from the transfer destination identification code register (RI) is equal to the identification code stored in the identification code holding circuit (LI), the packet generation means (PC)
Only the transfer destination address of the transfer destination address holding unit (RA) and the data of the data holding register (RD) are sent to the network control circuit (NC-0).

【0086】図14は実施例1でのパケット生成と実施
例5でのパケット生成の違いを示したもので、パケット
生成手段(PC)からネットワーク制御回路(NC−
0)に送られるデータを表している。図14(1)は図
9でのデータ転送の始めの2つのパケットを実施例1の
方法で送った場合について表しており、図14(2)は
同じデータについて実施例5の方式で送った場合を表し
ている。
FIG. 14 shows the difference between the packet generation in the first embodiment and the packet generation in the fifth embodiment. The packet generation means (PC) changes the network control circuit (NC-).
0) represents the data to be sent. FIG. 14 (1) shows the case where the first two packets of the data transfer in FIG. 9 are sent by the method of the first embodiment, and FIG. 14 (2) shows the same data sent by the method of the fifth embodiment. Represents the case.

【0087】実施例5では、図14(2)のように、デ
ータの幅を1ビット増やし、識別符号を送るときは、こ
の識別符号用ビットを1にすることによって、識別符号
が送られたかどうかが分かるようにしてある。このた
め、ネットワーク制御回路(NC−0)は、パケット生
成手段(PC)から送られてきたデータが識別符号を含
むか否を判断できる。そして、ネットワーク制御回路
(NC−0)は、識別符号用ビットに新たな「1」が立
つまでは1つのパケットが送られて来ているものと判断
して、同じプロセッサにデータを送り続ける。
In the fifth embodiment, as shown in FIG. 14B, when the identification code is sent by increasing the data width by 1 bit and sending the identification code, is it possible to send the identification code? I'm trying to figure out how. Therefore, the network control circuit (NC-0) can determine whether or not the data sent from the packet generation means (PC) includes the identification code. Then, the network control circuit (NC-0) determines that one packet has been sent until a new "1" is set in the identification code bit, and continues sending data to the same processor.

【0088】この実施例では、ネットワーク制御回路
(NC−0)やネットワーク(NW)は同一プロセッサ
宛のデータが続くときに最初のデータに対してのみ送り
先のプロセッサを指定すればよいのでネットワークの設
定に要する時間を減少させることができる。また、ネッ
トワークを流れるデータの量も減らすことができる。
In this embodiment, the network control circuit (NC-0) and the network (NW) only have to specify the destination processor only for the first data when the data addressed to the same processor continues. It can reduce the time required for. Also, the amount of data flowing through the network can be reduced.

【0089】[0089]

【発明の効果】本発明による方法、装置でプロセッサ間
の通信を制御することによって、データの通信とそのデ
ータの作成をオーバーラップして実行することができ、
また、転送先の決定にプロセッサでの処理時間を必要と
しないために、システムの実行効率を上げることができ
る。
By controlling the communication between the processors by the method and apparatus according to the present invention, the communication of data and the generation of the data can be performed in an overlapping manner.
Further, since the processing time in the processor is not required for determining the transfer destination, the execution efficiency of the system can be improved.

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

【図1】 本発明の動作原理図FIG. 1 is an operation principle diagram of the present invention.

【図2】 本発明に係る並列計算機の概要を示すブロッ
ク図
FIG. 2 is a block diagram showing an outline of a parallel computer according to the present invention.

【図3】 本発明の装置の原理ブロック図FIG. 3 is a block diagram showing the principle of the device of the present invention.

【図4】 本発明の実施例を示すブロック図FIG. 4 is a block diagram showing an embodiment of the present invention.

【図5】 転送先識別符号及び転送先アドレスの更新処
理を示すフローチャート図
FIG. 5 is a flowchart showing a process of updating a transfer destination identification code and a transfer destination address.

【図6】 全プロセッサにおける、更新制御用テーブル
(RCC)、アドレス更新情報メモリ(MDA)、識別
符号更新情報メモリ(MDI)の設定例を示す図
FIG. 6 is a diagram showing a setting example of an update control table (RCC), an address update information memory (MDA), and an identification code update information memory (MDI) in all processors.

【図7】 転送先識別符号レジスタ(RI)、転送先ア
ドレスレジスタ(RA)、下限アドレスレジスタ(RL
O)、上限アドレスレジスタ(RHO)の設定例を示す
FIG. 7 is a transfer destination identification code register (RI), transfer destination address register (RA), lower limit address register (RL)
O) and an example of setting the upper limit address register (RHO)

【図8】 図6,7の初期設定値に基づくデータ転送例
を示した図
FIG. 8 is a diagram showing an example of data transfer based on the initial setting values in FIGS.

【図9】 図8におけるデータ転送のタイミングチャー
ト図
9 is a timing chart of data transfer in FIG.

【図10】転送先識別符号更新手段の他の実施例を示し
たブロック図
FIG. 10 is a block diagram showing another embodiment of the transfer destination identification code updating means.

【図11】転送先識別符号更新手段の更に他の実施例を
示したブロック図
FIG. 11 is a block diagram showing still another embodiment of the transfer destination identification code updating means.

【図12】メモリ書込手段におけるアドレス変更のため
のオフセット加算手段を示したブロック図
FIG. 12 is a block diagram showing an offset adding unit for changing an address in a memory writing unit.

【図13】パケット生成手段(PC)の変形例を示すブ
ロック図
FIG. 13 is a block diagram showing a modification of the packet generation means (PC).

【図14】実施例1でのパケット生成と実施例5でのパ
ケット生成の違いを示した図で、(1)は図9でのデー
タ転送の始めの2つのパケットを実施例1の方法で送っ
た場合、(2)は同じデータについて実施例5の方式で
送った場合を表している。
FIG. 14 is a diagram showing a difference between packet generation in the first embodiment and packet generation in the fifth embodiment. (1) shows the first two packets of the data transfer in FIG. 9 by the method of the first embodiment. When sent, (2) shows the case where the same data is sent by the method of the fifth embodiment.

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

(CPU) プロセッサ (MM) メモリ (C0・・Cn) 通信制御手段 (P0・・Pn) プロセッサエレメント (NW) ネットワーク (WC) 送信用データ検出手段 (RI−M) 転送先識別符号生成手段 (RA−M) 転送先アドレス生成手段 (NC−0) 送信手段 (NC−1) 受信手段 (MW) メモリ書込手段 (ADD1) 識別符号更新手段 (ADD0) 転送先アドレス更新手段 (100) 自己指定回避手段 (PC) パケット生成手段 (PD) パケット分解手段 (OADD) オフセット加算手段 (WM) 書き込み制御手段 (RHO) 上限アドレス登録部 (RLO) 下限アドレス登録部 (DE) データ検出用領域設定手段 (JU) 判定手段 (CHO) 上限アドレス比較手段 (CLO) 下限アドレス比較手段 (AND) 判定結果出力手段 (RD) データ保持部 (RI) 転送先識別符号保持部 (MDI) 識別符号更新情報メモリ (ADD1) 識別符号更新用加算手段 (CC) 更新制御用カウンタ (RCC) 更新制御用テーブル (RA) 転送先アドレス保持部 (MDA) アドレス更新情報メモリ (ADD0) アドレス更新用加算手段 (CPU) Processor (MM) Memory (C0 ... Cn) Communication control means (P0 ... Pn) Processor element (NW) Network (WC) Transmission data detection means (RI-M) Transfer destination identification code generation means (RA -M) Transfer destination address generation means (NC-0) Transmission means (NC-1) Reception means (MW) Memory writing means (ADD1) Identification code updating means (ADD0) Transfer destination address updating means (100) Self-designation avoidance Means (PC) Packet generation means (PD) Packet decomposition means (OADD) Offset addition means (WM) Write control means (RHO) Upper limit address registration unit (RLO) Lower limit address registration unit (DE) Data detection area setting means (JU) ) Judgment means (CHO) Upper limit address comparison means (CLO) Lower limit address comparison means (AND) Determination result output means (RD) Data holding section (RI) Transfer destination identification code holding section (MDI) Identification code update information memory (ADD1) Identification code update addition means (CC) Update control counter (RCC) Update control table (RA) Transfer destination address holding unit (MDA) Address update information memory (ADD0) Addition unit for address update

Claims (22)

【特許請求の範囲】[Claims] 【請求項1】 プロセッサ(CPU)と、メモリ(M
M)と、通信制御手段(C0・・Cn)とをそれぞれ有す
る複数のプロセッサエレメント(P0・・Pn)を備え、
前記各プロセッサエレメントの通信制御手段(C0・・
Cn)をネットワーク(NW)で相互に接続して構成し
た分散メモリ型の並列計算機において、 プロセッサ(CPU)からメモリ(MM)へのデータの
書き込みを監視して特定の領域への書き込みを送信用デ
ータとして検出し(工程(a))、 送信用データに予め求めておいた転送先識別符号(M
K)と転送先アドレス(AD)を付加し(工程
(b))、 前記転送先識別符号に従って決定される受信側プロセッ
サエレメントに前記送信用データを送信し(工程
(c))、 受信側プロセッサエレメントのメモリ(MM)に前記転
送先アドレスに従って送信データを格納する(工程
(d))ことを特徴とする並列計算機の通信制御方法。
1. A processor (CPU) and a memory (M
M) and a plurality of processor elements (P0 ... Pn) each having communication control means (C0 ... Cn),
Communication control means (C0 ...
In a distributed memory type parallel computer configured by connecting Cn) to each other via a network (NW), for writing data to a specific area by monitoring the writing of data from the processor (CPU) to the memory (MM) It is detected as data (step (a)), and the transfer destination identification code (M
K) and the transfer destination address (AD) are added (step (b)), the transmission data is transmitted to the reception side processor element determined according to the transfer destination identification code (step (c)), and the reception side processor A communication control method for a parallel computer, characterized in that transmission data is stored in a memory (MM) of an element according to the transfer destination address (step (d)).
【請求項2】 前記転送先識別符号と転送先アドレスを
送信用データの送信毎に更新することを特徴とする請求
項1記載の並列計算機の通信制御方法。
2. The communication control method for a parallel computer according to claim 1, wherein the transfer destination identification code and the transfer destination address are updated every time the transmission data is transmitted.
【請求項3】 プロセッサエレメントが2のn乗の台数
あり、転送先識別符号のビット幅を台数を表現できる最
小の幅とすることを特徴とする請求項2記載の並列計算
機の通信制御方法。
3. The communication control method for a parallel computer according to claim 2, wherein the number of processor elements is 2 to the n-th power, and the bit width of the transfer destination identification code is set to the minimum width capable of expressing the number.
【請求項4】 送信用データと、転送先識別符号と、転
送先アドレスとをパケット化して送信することを特徴と
する請求項1記載の並列計算機の通信制御方法。
4. The communication control method for a parallel computer according to claim 1, wherein the transmission data, the transfer destination identification code, and the transfer destination address are packetized and transmitted.
【請求項5】 転送先識別符号が同一の転送用データが
続くとき、連続する転送用データを1つのパケットにま
とめて送信することを特徴とする請求項4記載の並列計
算機の通信制御方法。
5. The communication control method for a parallel computer according to claim 4, wherein when the transfer data having the same transfer destination identification code continues, the continuous transfer data is collectively transmitted in one packet.
【請求項6】 転送先プロセッサエレメントに自己のプ
ロセッサエレメントを含まないことを特徴とする請求項
1記載の並列計算機の通信制御方法。
6. The communication control method for a parallel computer according to claim 1, wherein the processor element of the transfer destination does not include its own processor element.
【請求項7】 転送先プロセッサエレメントにおいて、
書込アドレスにオフセット値を加えて転送先での書き込
み位置を変更することを特徴とする請求項1記載の並列
計算機の通信制御方法。
7. In the transfer destination processor element,
2. The communication control method for a parallel computer according to claim 1, wherein the write position at the transfer destination is changed by adding an offset value to the write address.
【請求項8】 前記転送用データを書き込むべき特定の
領域に実メモリを置かず他プロセッサ(CPU)への転
送専用の領域とすることを特徴とする請求項1記載の並
列計算機の通信制御方法。
8. The communication control method for a parallel computer according to claim 1, wherein a real memory is not placed in a specific area in which the transfer data is to be written, and the area is dedicated to transfer to another processor (CPU). ..
【請求項9】 転送先メモリ(MM)への転送データの
書き込みは一番下位のアドレスから順に書き込むように
したことを特徴とする請求項1記載の並列計算機の通信
制御方法。
9. The communication control method for a parallel computer according to claim 1, wherein the transfer data is written into the transfer destination memory (MM) in order from the lowest address.
【請求項10】 プロセッサ(CPU)と、メモリ(M
M)と、通信制御手段(C0・・Cn)とをそれぞれ有す
る複数のプロセッサエレメント(P0・・Pn)を備え、
前記各プロセッサエレメントの通信制御手段(C0・・
Cn)をネットワーク(NW)で相互に接続して構成し
た分散メモリ型の並列計算機において、 前記通信制御手段(C0・・Cn)は、 前記プロセッサ(CPU)で生成され、前記メモリ
(MM)に記録されるデータの内、所定のアドレスに該
当するデータを検出する送信用データ検出手段(WC)
と、 送信用データの転送先プロセッサエレメントの識別
符号を生成する転送先識別符号生成手段(RI−M)
と、 転送先プロセッサエレメントにおけるメモリ(M
M)のデータ格納アドレスを生成する転送先アドレス生
成手段(RA−M)と、 送信用データ検出手段(WC)で検出された送信用
データ、転送先識別符号生成手段(RI−M)で生成し
た識別符号、及び、転送先アドレス生成手段(RA−
M)で生成したアドレスをネットワーク(NW)に送出
する送信手段(NC−0)と、 他のプロセッサエレメントから送られてきた前記送
信用データ、識別符号及び送信用データを受信する受信
手段(NC−1)と、 受信手段(NC−1)で受信したデータを、同じく
受信したアドレス情報に従ってメモリ(MM)に書き込
むメモリ書込手段(MW)と、 を備えることを特徴とする並列計算機の通信制御装置。
10. A processor (CPU) and a memory (M
M) and a plurality of processor elements (P0 ... Pn) each having communication control means (C0 ... Cn),
Communication control means (C0 ...
In a distributed memory type parallel computer configured by connecting Cn) to each other via a network (NW), the communication control means (C0 ... Cn) is generated by the processor (CPU) and stored in the memory (MM). Outgoing data detection means (WC) for detecting data corresponding to a predetermined address among recorded data
And transfer destination identification code generation means (RI-M) for generating an identification code of the transfer destination processor element of the transmission data.
And the memory (M
M) the transfer destination address generating means (RA-M) for generating the data storage address, the transmission data detected by the transmission data detecting means (WC), and the transfer destination identification code generating means (RI-M). Identification code and transfer destination address generation means (RA-
M) transmitting means (NC-0) for transmitting the address to the network (NW), and receiving means (NC) receiving the transmission data, the identification code and the transmission data transmitted from another processor element. -1), and a memory writing unit (MW) for writing the data received by the receiving unit (NC-1) to the memory (MM) according to the address information also received, the communication of a parallel computer characterized by the following: Control device.
【請求項11】 前記転送先識別符号生成手段(RI−
M)は前記転送先識別符号を送信用データの送信毎に更
新する識別符号更新手段(ADD1)を有するととも
に、 前記転送先アドレス生成手段(RA−M)は前記転送先
アドレスを送信用データの送信毎に更新する転送先アド
レス更新手段(ADD0)を有することを特徴とする請
求項10記載の並列計算機の通信制御装置。
11. The transfer destination identification code generating means (RI-
M) has an identification code updating unit (ADD1) that updates the transfer destination identification code each time the transmission data is transmitted, and the transfer destination address generation unit (RA-M) sets the transfer destination address to the transmission data. 11. The communication control device for a parallel computer according to claim 10, further comprising transfer destination address updating means (ADD0) for updating each transmission.
【請求項12】 プロセッサエレメントが2のn乗の台
数あり、転送先識別符号のビット幅を台数を表現できる
最小の幅とすることを特徴とする請求項11記載の並列
計算機の通信制御装置。
12. The communication control device for a parallel computer according to claim 11, wherein the number of processor elements is 2 to the n-th power, and the bit width of the transfer destination identification code is set to the minimum width capable of expressing the number.
【請求項13】 前記識別符号更新手段(ADD1)
は、更新された識別符号が自己プロセッサエレメントを
示すとき、その更新識別符号をさらに更新する自己指定
回避手段(100)を有することを特徴とする請求項1
1記載の並列計算機の通信制御装置。
13. The identification code updating means (ADD1)
Has self-designation avoiding means (100) for further updating the updated identification code when the updated identification code indicates a self-processor element.
1. A communication control device for a parallel computer according to 1.
【請求項14】 前記送信用データ検出手段(WC)で
検出された送信用データ、転送先識別符号生成手段(R
I−M)で生成した識別符号、及び、転送先アドレス生
成手段(RA−M)で生成したアドレスをパケット化す
るパケット生成手段(PC)を備え、 前記送信手段(NC−0)は、パケット生成手段(P
C)によるパケットをネットワーク(NW)に送出し、
前記受信手段(NC−1)は、ネットワーク(NW)を
通じて他のプロセッサエレメントから送られてきたパケ
ットを受信し、前記メモリ書込手段(MW)は、受信手
段(NC−1)で受信したパケットを分解するパケット
分解手段(PD)を有し、このパケット分解手段(P
D)でパケットを分解して得られたデータを、同様にし
て得られたアドレス情報に従ってメモリ(MM)に書き
込むことを特徴とする請求項10記載の並列計算機の通
信制御装置。
14. The transmission data detected by the transmission data detection means (WC) and the transfer destination identification code generation means (R).
I-M), and a packet generation unit (PC) that packetizes the identification code generated by the transfer destination address generation unit (RA-M), and the transmission unit (NC-0) is a packet Generation means (P
Send the packet by C) to the network (NW),
The receiving means (NC-1) receives a packet sent from another processor element via the network (NW), and the memory writing means (MW) receives the packet received by the receiving means (NC-1). Packet disassembling means (PD) for disassembling
11. The communication control device for a parallel computer according to claim 10, wherein the data obtained by decomposing the packet in D) is written in the memory (MM) according to the address information obtained in the same manner.
【請求項15】 前記パケット生成手段(PC)は、転
送先識別符号が同一の転送用データが続くとき、その転
送先識別符号とともに連続する転送用データ及びアドレ
スを1つのパケットにまとめる連続パケット化機能を有
することを特徴とする請求項14記載の並列計算機の通
信制御装置。
15. The packet generating means (PC), when transfer data having the same transfer destination identification code continues, collects continuous transfer data and addresses together with the transfer destination identification code into one packet. 15. The communication control device for a parallel computer according to claim 14, which has a function.
【請求項16】 前記メモリ書込手段(MW)は、受信
した書込アドレスにオフセット値を加えるオフセット加
算手段(OADD)を有することを特徴とする請求項1
0記載の並列計算機の通信制御装置。
16. The memory writing means (MW) has an offset adding means (OADD) for adding an offset value to the received write address.
The communication control device of the parallel computer described in 0.
【請求項17】 前記メモリ書込手段(MW)は、転送
先メモリ(MM)への転送データの書き込みを一番下位
のアドレスから順に書き込む書き込み制御手段(WM)
を有することを特徴とする請求項10記載の並列計算機
の通信制御装置。
17. The write control means (WM), wherein the memory writing means (MW) writes transfer data to the transfer destination memory (MM) in order from the lowest address.
The communication control device for a parallel computer according to claim 10, further comprising:
【請求項18】 前記送信用データ検出手段(WC)
は、 検出すべきデータの上限のアドレスを記憶する
上限アドレス登録部(RHO)及び検出すべきデータの
下限のアドレスを記憶する下限アドレス登録部(RL
O)とで構成されるデータ検出用領域設定手段(DE)
と、 プロセッサ(CPU)から出力されるデータの
書込アドレスがデータ検出用領域設定手段(DE)で設
定された領域内か否かを判断する判定手段(JU)とを
備え、 プロセッサ(CPU)から出力されるデータの書込アド
レスがデータ検出用領域設定手段(DE)で設定された
領域内であると判断されたとき、その領域内のデータを
出力することを特徴とする請求項10記載の並列計算機
の通信制御装置。
18. The transmission data detecting means (WC)
Is an upper limit address registration unit (RHO) that stores an upper limit address of data to be detected and a lower limit address registration unit (RL) that stores a lower limit address of data to be detected.
O) and data detection area setting means (DE)
And a determination means (JU) for determining whether or not the write address of the data output from the processor (CPU) is within the area set by the data detection area setting means (DE), and the processor (CPU) 11. When the write address of the data output from the device is determined to be within the area set by the data detection area setting means (DE), the data within the area is output. Of parallel computer communication controller.
【請求項19】 前記判定手段(JU)は、プロセッサ
(CPU)から出力されるデータの書込アドレスが上限
アドレス登録部(RHO)に記憶された上限のアドレス
未満あるいは以下であるか否かを判定する上限アドレス
比較手段(CHO)と、 プロセッサ(CPU)から出力されるデータの書込アド
レスが下限アドレスレジスタ(RLO)に記憶された下
限のアドレス以上あるいは越えるか否かを判断する下限
アドレス比較手段(CLO)と、 上限アドレス比較手段(CHO)と下限アドレス比較手
段(CLO)の出力を受け、プロセッサ(CPU)から
出力されるデータの書込アドレスが上限アドレス登録部
(RHO)に記憶された上限のアドレス未満あるいは以
下で、かつ、プロセッサ(CPU)から出力されるデー
タの書込アドレスが下限アドレスレジスタ(RLO)に
記憶された下限のアドレス以上あるいは越えている場
合、データ検出用領域内のデータである旨の判定信号を
出力する判定結果出力手段(AND)とを備えているこ
とを特徴とする請求項18記載の並列計算機の通信制御
装置。
19. The determination means (JU) determines whether or not the write address of the data output from the processor (CPU) is less than or equal to the upper limit address stored in the upper limit address registration unit (RHO). An upper limit address comparison means (CHO) for judging and a lower limit address comparison for judging whether or not the write address of the data output from the processor (CPU) is greater than or equal to the lower limit address stored in the lower limit address register (RLO). Means (CLO), the upper limit address comparing means (CHO) and the lower limit address comparing means (CLO), the write address of the data output from the processor (CPU) is stored in the upper limit address registering unit (RHO). Write address of data output from the processor (CPU) that is less than or equal to the upper limit address and below. And a determination result output means (AND) that outputs a determination signal indicating that the data is within the data detection area when the lower limit address stored in the lower limit address register (RLO) is exceeded or exceeded. 19. The communication control device for a parallel computer according to claim 18.
【請求項20】 前記送信用データ検出手段(WC)で
検出されたデータ検出用領域内のデータを一時的に保持
するデータ保持部(RD)を有することを特徴とする請
求項18記載の並列計算機の通信制御装置。
20. The parallel according to claim 18, further comprising a data holding unit (RD) for temporarily holding data in the data detection area detected by the transmission data detection unit (WC). Computer communication control device.
【請求項21】 前記転送先識別符号生成手段(RI−
M)は、転送先識別符号を格納した転送先識別符号保持
部(RI)、転送先識別符号の更新用情報を登録してあ
る識別符号更新情報メモリ(MDI)、転送先識別符号
保持部(RI)に格納された転送先識別符号に識別符号
更新情報メモリ(MDI)に登録された更新用情報を加
算して新識別符号を生成して転送先識別符号保持部(R
I)に送る識別符号更新用加算手段(ADD1)、初期
値「m」が設定されデータの転送毎に「m」から減算さ
れる更新制御用カウンタ(CC)、更新制御用カウンタ
(CC)が「0」になったとき更新制御用カウンタ(C
C)に与える初期値「m」を登録してある更新制御用テ
ーブル(RCC)とを有し、 前記転送先識別符号保持部(RI)はデータ転送に際
し、転送先識別符号を通信手段に送信するとともに識別
符号更新用加算手段(ADD1)に送信し、同時に更新
制御用カウンタ(CC)が減算され、更新制御用カウン
タ(CC)が「0」でないとき、前記識別符号更新用加
算手段(ADD1)で転送先識別符号に識別符号更新情
報メモリ(MDI)に登録された更新用情報を加算する
ことで新識別符号を生成して前記転送先識別符号保持部
(RI)に格納し、更新制御用カウンタ(CC)が
「0」のとき、更新制御用カウンタ(CC)に更新制御
用制御テーブル(RCC)に登録してある初期値「m」
を与えることを特徴とする請求項10記載の並列計算機
の通信制御装置。
21. The transfer destination identification code generating means (RI-
M) is a transfer destination identification code holding unit (RI) that stores the transfer destination identification code, an identification code update information memory (MDI) in which information for updating the transfer destination identification code is registered, and a transfer destination identification code holding unit (RI). The update information registered in the identification code update information memory (MDI) is added to the transfer destination identification code stored in (RI) to generate a new identification code, and the transfer destination identification code holding unit (R
I) the addition means for updating the identification code (ADD1), the update control counter (CC) which is set to the initial value “m” and subtracted from “m” for each data transfer, and the update control counter (CC). When it becomes "0", the update control counter (C
C) has an update control table (RCC) in which an initial value "m" is registered, and the transfer destination identification code holding unit (RI) transmits the transfer destination identification code to the communication means during data transfer. When the update control counter (CC) is not “0” and the update control counter (CC) is decremented at the same time, the identification code update addition means (ADD1) is added. ), A new identification code is generated by adding the update information registered in the identification code update information memory (MDI) to the transfer destination identification code, and the new identification code is stored in the transfer destination identification code holding unit (RI) for update control. Initial value "m" registered in the update control counter (CC) in the update control counter (CC) when the counter (CC) for update is "0"
11. The communication control device for a parallel computer according to claim 10, wherein
【請求項22】 前記転送先アドレス生成手段(RA−
M)は、転送先アドレスを格納した転送先アドレス保持
部(RA)、転送先アドレスの更新用情報を登録してあ
るアドレス更新情報メモリ(MDA)、転送先アドレス
保持部(RA)に格納された転送先アドレスにアドレス
更新情報メモリ(MDA)に登録された更新用情報を加
算して新転送先アドレスを生成して前記転送先アドレス
保持部(RA)に送るアドレス更新用加算手段(ADD
0)、初期値「m」が設定されデータの転送毎に「m」
から減算される更新制御用カウンタ(CC)、更新制御
用カウンタ(CC)が「0」になったとき更新制御用カ
ウンタ(CC)に与える初期値「m」を登録してある更
新制御用テーブル(RCC)とを有し、 前記転送先アドレス保持部(RA)はデータ転送に際
し、転送先アドレスを通信手段に送信するとともにアド
レス更新用加算手段(ADD0)に送信し、同時に更新
制御用カウンタ(CC)が減算され、更新制御用カウン
タ(CC)が「0」でないとき、アドレス更新用加算手
段(ADD0)で転送先アドレスにアドレス更新情報メ
モリ(MDA)に登録された更新用情報を加算すること
で新転送先アドレスを生成して前記転送先アドレス保持
部(RA)に格納し、 更新制御用カウンタ(CC)が「0」のとき、更新制御
用カウンタ(CC)に更新制御用制御テーブル(RC
C)に登録してある初期値「m」を与えることを特徴と
する請求項10記載の並列計算機の通信制御装置。
22. The transfer destination address generating means (RA-
M) is stored in the transfer destination address holding unit (RA) storing the transfer destination address, the address update information memory (MDA) in which the update information of the transfer destination address is registered, and the transfer destination address holding unit (RA). The update information registered in the address update information memory (MDA) is added to the transfer destination address to generate a new transfer destination address and is sent to the transfer destination address holding unit (RA).
0), initial value "m" is set and "m" is set for each data transfer.
An update control counter (CC) subtracted from the update control table, and an update control table in which an initial value "m" to be given to the update control counter (CC) when the update control counter (CC) becomes "0" is registered. (RCC), the transfer destination address holding unit (RA) transmits the transfer destination address to the communication unit and the address update addition unit (ADD0) at the time of data transfer, and at the same time, the update control counter (RAD). CC) is subtracted, and when the update control counter (CC) is not "0", the update information registered in the address update information memory (MDA) is added to the transfer destination address by the address update addition means (ADD0). As a result, a new transfer destination address is generated and stored in the transfer destination address holding unit (RA), and when the update control counter (CC) is "0", the update control counter CC) to update control for the control table (RC
11. The communication control device for a parallel computer according to claim 10, wherein the initial value "m" registered in C) is given.
JP20048091A 1991-08-09 1991-08-09 Mehtod and device for communication control for parallel computer Withdrawn JPH0546576A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20048091A JPH0546576A (en) 1991-08-09 1991-08-09 Mehtod and device for communication control for parallel computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20048091A JPH0546576A (en) 1991-08-09 1991-08-09 Mehtod and device for communication control for parallel computer

Publications (1)

Publication Number Publication Date
JPH0546576A true JPH0546576A (en) 1993-02-26

Family

ID=16425018

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20048091A Withdrawn JPH0546576A (en) 1991-08-09 1991-08-09 Mehtod and device for communication control for parallel computer

Country Status (1)

Country Link
JP (1) JPH0546576A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5644749A (en) * 1993-05-10 1997-07-01 Matsushita Electric Industrial Co. Ltd. Parallel computer and processor element utilizing less memory
US7012384B2 (en) 2002-01-25 2006-03-14 Toyoda Gosei Co., Ltd. Illumination device for vehicle compartment
JP2020071689A (en) * 2018-10-31 2020-05-07 ルネサスエレクトロニクス株式会社 Semiconductor device and system using the same

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5644749A (en) * 1993-05-10 1997-07-01 Matsushita Electric Industrial Co. Ltd. Parallel computer and processor element utilizing less memory
US7012384B2 (en) 2002-01-25 2006-03-14 Toyoda Gosei Co., Ltd. Illumination device for vehicle compartment
JP2020071689A (en) * 2018-10-31 2020-05-07 ルネサスエレクトロニクス株式会社 Semiconductor device and system using the same
CN111124628A (en) * 2018-10-31 2020-05-08 瑞萨电子株式会社 Semiconductor device and system using the same

Similar Documents

Publication Publication Date Title
US6339812B1 (en) Method and apparatus for handling invalidation requests to processors not present in a computer system
JP4596448B2 (en) Method, apparatus and bus system for causing program interruption in a subscriber of a bus system
JPH0546576A (en) Mehtod and device for communication control for parallel computer
CN113204517A (en) Inter-core sharing method of Ethernet controller special for electric power
JPS6054549A (en) Data transmitting method and device
JP5756738B2 (en) COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND COMMUNICATION METHOD
JP3976432B2 (en) Data processing apparatus and data processing method
EP1476986B1 (en) Information communication controller interface apparatus and method
KR950011481B1 (en) An electronic exchanger
JP3058010B2 (en) Method and apparatus for communication between processors
KR0182707B1 (en) Method and apparatus for monitoring communication message between processors in switching system
JPH02230356A (en) Bus extension device for information processor
JPH11238042A (en) Decentralized simulation control unit
JP2972557B2 (en) Data transfer control device and control method
JP2576934B2 (en) Memory-mapped interrupt method
JPH0784913A (en) Communication line control unit
JP3298558B2 (en) How to send and receive monitoring control messages
JP2997492B2 (en) Network system
JPS594053B2 (en) Failure notification method
JPS60226246A (en) Data transmission equipment
JPH01233651A (en) Communication control system
JPH10326263A (en) Communication equipment
JPH0588995A (en) Data communication system
JPH0883259A (en) Decentralized information processor
JP2000020489A (en) Data transfer device for computer

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19981112