JPH02132548A - Debugging support method for parallel processors - Google Patents
Debugging support method for parallel processorsInfo
- Publication number
- JPH02132548A JPH02132548A JP63285651A JP28565188A JPH02132548A JP H02132548 A JPH02132548 A JP H02132548A JP 63285651 A JP63285651 A JP 63285651A JP 28565188 A JP28565188 A JP 28565188A JP H02132548 A JPH02132548 A JP H02132548A
- Authority
- JP
- Japan
- Prior art keywords
- data
- processor
- transfer data
- storage location
- transfer
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Debugging And Monitoring (AREA)
- Multi Processors (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Abstract] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は並列プロセッサに係り、特にプログラムのデバ
ッグを支援するのに好適な並列プロセッサのデバッグ支
援に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to parallel processors, and particularly to support for debugging parallel processors suitable for supporting debugging of programs.
従来、複数台のプロセッサと任意のプロセッサ間でデー
タ転送が可能なデータ転送路により構成される並列プロ
セッサには、たとえば特開昭61−182361号が挙
げられる。Conventionally, a parallel processor configured by a data transfer path that allows data transfer between a plurality of processors and an arbitrary processor is disclosed, for example, in Japanese Patent Application Laid-open No. 182361/1983.
この並列プロセッサにおいてプロセッサ間データ転送処
理は以下のようになる。Inter-processor data transfer processing in this parallel processor is as follows.
データ送信側のプロセッサにおいては、プロセッサ内の
データ送信装置により送り先プロセッサ番号,データ識
別子および転送データをデータ転送路に送り出す。In the processor on the data sending side, a data sending device within the processor sends out the destination processor number, data identifier, and transfer data to the data transfer path.
一方、データ受信側のプロセッサでは、データ転送より
送られてきたデータ識別子と転送データを連想記憶に保
持する。このとき、その連想記憶上の記憶場所の内容が
有効であることを示す(即ち、転送データが届いたこと
を示す)有効ビットを1にする。On the other hand, the processor on the data receiving side holds the data identifier and the transferred data sent from the data transfer in an associative memory. At this time, a valid bit is set to 1, indicating that the content of the storage location on the associative memory is valid (that is, indicating that the transferred data has arrived).
そして、データ受信側のプロセッサ内で、実行する命令
がその転送データを必要とする場合には、その命令で指
定されているデータ識別子を用いて、連想記憶からそれ
に対応する有効ビットが1であることを確認して転送デ
ータを読出すようになっている。If an instruction to be executed in the processor on the data receiving side requires the transferred data, the corresponding valid bit is set to 1 from the associative memory using the data identifier specified in the instruction. The transfer data is read after confirming that the transfer data is correct.
上記従来技術では、転送データが演算に必要な場合、転
送データが届いていることを確認してから転送データを
読出すようになっている。しかし、データ転送路から転
送データが届いた場合、それに対応する連想記憶上の記
憶場所の内容が無効である(あるいは、既にそのプロセ
ッサ内で使用された)ことを確認せず、対応する連想記
憶に書込むようになっている。In the conventional technology described above, when transfer data is required for calculation, the transfer data is read after confirming that the transfer data has arrived. However, when transfer data arrives from the data transfer path, it is not confirmed that the contents of the memory location in the corresponding associative memory is invalid (or that it has already been used within the processor), and the content of the corresponding associative memory is It is designed to be written to.
このため、たとえば2つの異なる転送データで、それら
のデータ識別子が誤って同じになった場合、あるいは、
意識的にデータ識別子を同じにしたがプロセッサ間の同
期がうまくとれていない場合等で,データ受信側のプロ
セッサ内で転送データの上署きが生じ、そのプロセッサ
では受信すべきデータの数が合わなくなる。その結果、
そのプロセッサでは受信すべきデータを待ち続ける状態
になり、並列プロセッサ全体のプログラムの実行がいつ
までも終了しないことになる。This means that, for example, if two different data transfers accidentally have the same data identifier, or
If the data identifiers are intentionally set to be the same, but the synchronization between processors is not well established, the transferred data may be overwritten in the processor on the data receiving side, and that processor may not be able to match the number of data to be received. It disappears. the result,
The processor will continue to wait for data to be received, and the execution of the entire program of the parallel processors will never end.
従来技術では上記の点について配慮がされておらず、プ
ログラマが並列プロセッサのプログラム実行が終了しな
い原因、転送データの上書きがどこで生じたか等が十分
に把握できず、並列プロセッサのプログラムデバッグの
効率が悪くなるという問題があった。Conventional technology does not take the above points into consideration, making it difficult for programmers to fully understand the reason why a parallel processor's program execution does not end or where transfer data has been overwritten, resulting in poor program debugging efficiency for parallel processors. The problem was that it was getting worse.
本発明の目的は、プログラマに転送データの上書きがあ
ったか否かを報告し、並列プロセッサのプログラムデバ
ッグの効率を向上させる並列プロセッサのデバッグ支援
を提供する。An object of the present invention is to provide parallel processor debugging support that reports to a programmer whether or not transferred data has been overwritten and improves the efficiency of parallel processor program debugging.
上記目的は、転送データの上書きが生じた場合、そのこ
とを記憶しておき、プログラムの実行が終了した後(た
とえばプログラマの介入による中断、プロセッサ使用時
間のオーバーによる中断等)、プログラマにそのことを
報告することにより達成される.
このため,データ転送路からデータ識別子および転送デ
ータが届いたとき、そのデータ識別子を基に連想記憶上
の記憶場所の内容が無効であるか否かをチェックする手
段1,および、前記チェック手段の結果、無効でないな
ら、その連想記憶で保持されている転送データを読出し
,それに対応するデータ識別子を共に一時記憶する手段
2を設ける。The above purpose is to remember when transferred data has been overwritten, and to notify the programmer of the problem after program execution has finished (for example, due to programmer intervention, interruption due to processor usage time being exceeded, etc.). This is achieved by reporting. Therefore, when a data identifier and transfer data arrive from a data transfer path, means 1 for checking whether the contents of a memory location in an associative memory are invalid based on the data identifier; As a result, if the transfer data is not invalid, means 2 is provided for reading out the transfer data held in the associative memory and temporarily storing the data identifier corresponding thereto.
データ転送路からデータ識別子と転送データが届いた場
合,まず、手段1によりそのデータ識別子を基にそれに
対応する連想記憶の内容が無効であるか否かをチェック
する。もし無効であるならば、連想記憶にその転送デー
タを書込み、その連想記憶の内容が有効であることを示
す有効ビットを1にする。もし無効でないならば(即ち
、有効ビットが1),その連想記憶で保持されている転
送データを読出し、それに対応するデータ識別子と共に
手段2に記憶する。また、データ転送路から届いた転送
データは上記手段2の書込み後,上記無効である場合と
同じ処理を行なう。When a data identifier and transfer data are received from the data transfer path, first, means 1 checks whether the content of the content addressable memory corresponding to the data identifier is invalid or not based on the data identifier. If the data is invalid, the transferred data is written into the associative memory, and the valid bit is set to 1, indicating that the contents of the associative memory are valid. If it is not invalid (ie, the valid bit is 1), the transfer data held in the associative memory is read and stored in the means 2 together with the data identifier corresponding thereto. Further, after the transfer data received from the data transfer path is written by the means 2, the same processing as in the case of invalidity is performed.
プロセッサ間のデータ転送を上記で示したように行ない
ながら、並列プロセッサのプログラムを実行する。そし
て、並列プロセッサのプログラムの実行が終了したとき
、転送データの上書きが生じたプロセッサは制御プロセ
ッサに対して上書きが生じたことを報告する。上記報告
を受けた制御プロセッサはそのプロセッサで保持する手
段2の内容を読出し,プログラマに通知する。The program on the parallel processors is executed while data is transferred between the processors as shown above. Then, when the execution of the program of the parallel processors is completed, the processor in which the transferred data has been overwritten reports to the control processor that the overwriting has occurred. The control processor that receives the above report reads the contents of the means 2 held in the processor and notifies the programmer.
これにより、プログラマに転送データの上書きが生じた
ことが報告できるので、並列プロセッサのプログラムデ
バッグの効率を向上することができる。This allows the programmer to be notified of the occurrence of overwriting of transferred data, thereby improving the efficiency of program debugging for parallel processors.
C実施例〕 以下、本発明の一実施例を図を用いて説明する。C Example] An embodiment of the present invention will be described below with reference to the drawings.
第1図は並列プロセッサの全体構成を示している。FIG. 1 shows the overall configuration of a parallel processor.
101は任意のプロセッサ間でデータ転送が可能なデー
タ転送路であり,データパケット102の受信プロセッ
サ番号103を用いて目的のプロセッサにデータを送る
機能を持つ。ここで、データパケット102は、転送デ
ータを受信するプロセッサ番号(PE#)103.転送
データの識別子(Key) 1 0 4、および転送デ
ータ(Data) 1 0 5から構成される。このデ
ータ転送路101はクロスパスイツチ、多段スイッチネ
ットワーク,バス等いろいろな構成を考えることができ
る.106は制御プロセッサであり、複数台のプロセッ
サ110〜111間でのデータの転送や実行開始指示,
実行停止指示等の種々の制御を行なうものである。A data transfer path 101 is capable of transferring data between arbitrary processors, and has a function of sending data to a target processor using a receiving processor number 103 of a data packet 102. Here, the data packet 102 includes a processor number (PE#) 103 . It consists of a transfer data identifier (Key) 1 0 4 and transfer data (Data) 1 0 5. This data transfer path 101 can have various configurations such as a cross-path switch, a multi-stage switch network, and a bus. 106 is a control processor, which transfers data between the plurality of processors 110 to 111, gives execution start instructions,
It performs various controls such as execution stop instructions.
また、プロセッサ110〜111は、ここでは2台のみ
示しているが,本発明ではその台数が2台以上であって
もよい.各プロセッサ110〜111はデータ受信装置
120,データ送信装置l30,命令プロセッサ140
、およびローカル.く憶150から構成される。Further, although only two processors 110 to 111 are shown here, the number may be two or more in the present invention. Each of the processors 110 to 111 includes a data receiving device 120, a data transmitting device 130, and an instruction processor 140.
, and local. It consists of 150 memories.
命令プロセッサ140はローカル記憶150から命令を
読出し,それを解読,実行するものである.データ送信
装置130はデータパケット102を生成し、データ転
送路101に送り出すものである.データ受信装置12
0は、データ転送路101より送られてきたデータパケ
ット102を入力し、そのデータ識別子104,転送デ
ータ105を記憶するものである。The instruction processor 140 reads instructions from the local storage 150, decodes and executes them. The data transmitter 130 generates a data packet 102 and sends it to the data transfer path 101. Data receiving device 12
0 inputs the data packet 102 sent from the data transfer path 101 and stores its data identifier 104 and transfer data 105.
次に第1図を用いて並列プロセッサのデバッグ支援方法
について述べる。ここで説明するデータ転送方式は特開
昭61−182361号で開示されているものであるが
、本発明では特にこれに特定するものではない。Next, a method for supporting debugging of a parallel processor will be described using FIG. Although the data transfer method described here is disclosed in Japanese Patent Laid-Open No. 182361/1982, the present invention is not particularly limited to this method.
まず,データ送信側プロセッサにおけるデータ送信処理
は、命令プロセッサ140がデータ送信命令を解読し,
データ送信装置130に起動をかけることにより行なわ
れる。データ送信装置130は、起動指示に従ってデー
タパケット102を生成し、データ転送路101に送信
する5このとき,デΣタ送信装R130と命令プロセッ
サ140とが非同期動作し、命命プロセッサ140はデ
ータ送信装置130に起動をかけるのみで、データ転送
に必要な処理をデータ送信装置130にまかせる.
次に、データ受信側のプロセッサにおけるデータ受信処
理について述べる。データ送信側のプロセッサから送り
出されたデータパケット102は、データ転送路101
により目的のプロセッサに送信される。First, in data transmission processing in the data transmission side processor, the instruction processor 140 decodes the data transmission instruction,
This is done by activating the data transmitting device 130. The data transmitting device 130 generates a data packet 102 according to the activation instruction and transmits it to the data transfer path 101.5 At this time, the data transmitting device R130 and the command processor 140 operate asynchronously, and the command processor 140 transmits the data. By simply activating the device 130, the processing necessary for data transfer is left to the data transmitting device 130. Next, data reception processing in the processor on the data reception side will be described. The data packet 102 sent from the processor on the data sending side is transferred to the data transfer path 101.
is sent to the destination processor.
データ受信側のプロセッサでは、データ転送路101か
らデータパケット102が届くと、ネツ1−ワークイン
タフェース制御122により入力レジスタ121に保持
する。そして、入力レジスタ121で保持されたデータ
識別子(Key)を用いて、それに対応する連想記憶1
24の内容が無効であるか否かを示す有効ビット(V)
を連想記憶124から読出す.読出された有効ビットは
信号線150を用いて連想記憶上書き制御126に送ら
れる。In the processor on the data receiving side, when a data packet 102 arrives from the data transfer path 101, it is held in the input register 121 by the network 1-work interface control 122. Then, using the data identifier (Key) held in the input register 121, the corresponding associative memory 1
Valid bit (V) indicating whether the contents of 24 are invalid or not.
is read from the associative memory 124. The read valid bit is sent to the content addressable memory overwrite control 126 using the signal line 150.
連想記憶上書き制御126はその有効ビット(V)が1
(即ち、連想記憶124に転送データが保持されており
、まだ命令プロセッサ140から読出されていない)を
示すとき、連想記憶124から同時に読出されている転
送データ(Data)とそのデータ識別子( K ey
)を上書きバツファ127に書込む.一方,有効ビット
(V)が0(即ち、連想記憶124に転送データが保持
されていない)を示すとき、連想記憶上書き制御126
は何もしない。また、データ識別子(Key)により連
想記憶124から読出された有効ビット(V)は連想記
憶アクセス制御123にも送られる。The associative memory overwrite control 126 has a valid bit (V) of 1.
(In other words, the transfer data is held in the associative memory 124 and has not been read out from the instruction processor 140 yet), the transfer data (Data) being simultaneously read out from the associative memory 124 and its data identifier (K ey
) is written to the overwrite buffer 127. On the other hand, when the valid bit (V) indicates 0 (that is, no transfer data is held in the associative memory 124), the associative memory overwrite control 126
does nothing. Further, the valid bit (V) read from the associative memory 124 using the data identifier (Key) is also sent to the associative memory access control 123 .
連想記憶アクセス制御123では、有効ビット(V)が
1のとき上書きバツファ127への書込み後に、また、
有効ビット(V)が0のとき直ちに、入力レジスタ12
1に保持された転送データを連想記憶124に書込む。In the associative memory access control 123, when the valid bit (V) is 1, after writing to the overwrite buffer 127,
As soon as the valid bit (V) is 0, the input register 12
The transfer data held at 1 is written to the content addressable memory 124.
また、これと同時に連想記憶124の有効ビット(V)
を1にする。At the same time, the valid bit (V) of the associative memory 124
Set to 1.
一方、命令プロセッサ140が転送データを必要とする
場合,命令プロセッサ140から信号線151を用いて
受信制御125にデータ識別子(Key)を送る.受信
制御125では、そのデータ識別子を基に連想記憶12
4で保持される転送データ(Data)とその有効ビッ
ト(V)を読出す。On the other hand, when the instruction processor 140 requires transfer data, the instruction processor 140 sends a data identifier (Key) to the reception control 125 using the signal line 151. The reception control 125 uses the associative memory 12 based on the data identifier.
The transfer data (Data) held at 4 and its valid bit (V) are read out.
そして、読出した有効ビット(V)が1を示すとき、そ
の転送データを信号線152を用いて命令プロセッサ1
40に渡す。また、同時に信号線153を用いて、読出
した連想記憶124の有効ビットをOにすることを連想
記憶アクセス制御123に依頼する。一方、読出した有
効ビット(V)がOを示すとき,データ転送路101か
ら対応する転送データが届くまで待つ。When the read valid bit (V) indicates 1, the transfer data is transferred to the instruction processor 1 using the signal line 152.
Pass it to 40. At the same time, using the signal line 153, the content addressable memory access control 123 is requested to set the valid bit of the read content addressable memory 124 to O. On the other hand, when the read valid bit (V) indicates O, it waits until the corresponding transfer data arrives from the data transfer path 101.
プロセッサ間のデータ転送を上記で示したように行ない
ながら、並列プロセッサのプログラムを実行する。そし
て、そのプログラムの実行が終了した後(たとえばプロ
グラマの介入による中断、プロセッサ使用時間のオーバ
ーによる中断,正常終了等)、各プロセッサ110〜1
11で連想記憶の上書きが生じている場合は制御プロセ
ッサ106に報告する。The program on the parallel processors is executed while data is transferred between the processors as shown above. After the execution of the program is completed (for example, interruption due to programmer intervention, interruption due to overtime of processor usage, normal termination, etc.), each processor 110 to 1
11, if the associative memory has been overwritten, it is reported to the control processor 106.
制御プロセッサ106に報告する手段としては、命令プ
ロセッサ140が上書きが生じたか否かを信号線154
により判定し、生じているならば、それを公知技術の割
込み手段を用いて制御プロセッサ106に伝える等いろ
いろ考えられる。As a means of reporting to the control processor 106, the instruction processor 140 indicates whether an overwrite has occurred on a signal line 154.
Various methods are conceivable, such as determining whether the error has occurred and, if it has occurred, transmitting it to the control processor 106 using interrupt means of known technology.
また、制御プロセッサ106では上記の報告を受けると
、各プロセッサ110〜111の上書きバツファ127
の読出しを命令プロセッサ140介して行なう。In addition, when the control processor 106 receives the above report, the overwrite buffer 127 of each processor 110 to 111 is
is read out via the instruction processor 140.
第2図は、第1図の実施例における転送データの上書き
が生じた場合のそのデータ識別子と転送データを一時記
憶することなく、直ちに、制御プロセッサに報告する手
段を設けた場合の一実施例である。FIG. 2 shows an example in which a means is provided to immediately report the data identifier and the transferred data to the control processor without temporarily storing them when the transferred data is overwritten in the embodiment shown in FIG. 1. It is.
データ送信側のプロセッサにおけるデータ送信処理は第
1図で説明した動作を行なう。Data transmission processing in the processor on the data transmission side performs the operation explained in FIG.
データ受信側のプロセッサでは、データ転送路101か
らデータパケット102が届くと、第1図で説明したよ
うに、連想記憶124から有効ビット(V)が読出され
,信号線150を介して連想記憶上書き制御201に送
られる。In the processor on the data receiving side, when a data packet 102 arrives from the data transfer path 101, the valid bit (V) is read from the associative memory 124 as explained in FIG. control 201.
連想記憶上書き制御201では、その有効ビツトが1を
示すとき、連想記憶124から同時に読出されている転
送データ(Data)とそのデータ識別子(Key)を
取込み、命令プロセッサ140に信号線202を用いて
上書きが生じたことを知らせる。When the valid bit indicates 1, the associative memory overwrite control 201 takes in the transfer data (Data) and its data identifier (Key) that are simultaneously read from the associative memory 124, and sends the data to the instruction processor 140 using the signal line 202. Notify that an overwrite has occurred.
上記により報告を受けた命令プロセッサ140では、連
想記憶上書き制御201より信号線203を介してデー
タ識別子(Key)と転送データ(Data)を受取り
,その結果を制御プロセッサに報告する。The instruction processor 140 that has received the report receives the data identifier (Key) and transfer data (Data) from the associative memory overwrite control 201 via the signal line 203, and reports the results to the control processor.
一方,連想記憶上書き制御201で、その有効ビットが
0を示すときは、第1図で説明した動作を行なう。また
,命令プロセッサ140が転送データを必要とする場合
も第1図の動作と同じである。On the other hand, when the valid bit indicates 0 in the associative memory overwrite control 201, the operation explained in FIG. 1 is performed. Further, when the instruction processor 140 requires transfer data, the operation is the same as that shown in FIG. 1.
また、上記報告を行なったプロセッサ110〜111は
引き続きプログラムの実行が行なう。一方、そのプログ
ラムの実行を中断させるか否かは、その報告を受けた制
御プロセッサ10Gの制御による。Further, the processors 110 to 111 that have made the above report continue to execute the program. On the other hand, whether or not to interrupt the execution of the program is under the control of the control processor 10G that has received the report.
第3図は、第1図の実施例における転送データデータを
一時記憶することなく,連想記憶上の上書きされる転送
データが命令プロセッサにより読出されるまで,上書き
転送データの連想記憶への書込みを一時抑止する手段を
設けた場合の一実施例である。FIG. 3 shows that the transfer data in the embodiment of FIG. 1 is not temporarily stored, but overwrite transfer data is written to the associative memory until the transfer data to be overwritten on the associative memory is read by the instruction processor. This is an example in which a temporary restraining means is provided.
まず、データ送信側のプロセッサにおけるデータ送信処
理は第1図で説明した動作を行なう。First, data transmission processing in the processor on the data transmission side performs the operation described in FIG.
次に、データ受信側のプロセッサでは、データ転送路1
01からデータパケット102が届くと、第1図で説明
したように、連想記憶124から有効ビット(V)が読
出され、信号線150を介して連想記憶上書き制御30
1に送られる。Next, in the processor on the data receiving side, data transfer path 1
When the data packet 102 arrives from 01, the valid bit (V) is read from the associative memory 124 as explained in FIG.
Sent to 1.
連想記憶上書き制御301では、その有効ビットが1を
示すとき、ネットワークインタフェース制御304に対
して入力レジスタ121の内容を保持し、それ以降のデ
ータ転送路101からのデータパケット102の受付け
を抑止するために信号線302を1にする.
ネットワークインタフェース制御304では、その信号
線302が1になると,データパケット102がそれ以
上、受付けられないことをデータ転送路101に信号線
303を用いて通知する。In the associative memory overwrite control 301, when the valid bit indicates 1, the contents of the input register 121 are held for the network interface control 304, and the subsequent reception of data packets 102 from the data transfer path 101 is suppressed. Set the signal line 302 to 1. When the signal line 302 becomes 1, the network interface control 304 uses the signal line 303 to notify the data transfer path 101 that no more data packets 102 can be accepted.
また、同時に連想記憶アクセス制御305では、その有
効ビットが1のとき、入力レジスタ121に保持された
転送データを連想記憶124に書込むことを抑止する。At the same time, the associative memory access control 305 prevents the transfer data held in the input register 121 from being written to the associative memory 124 when the valid bit is 1.
上記のようにして上書き転送データの連想記憶への書込
みを一時抑止する。As described above, writing of overwrite transfer data to the associative memory is temporarily inhibited.
一方、その抑止を解除する方法は、ある一定のタイミン
グ(たとえば命命プロセッサ140から転送データが読
出された後等)で、第1図で説明したように、ネットワ
ークインタフェース制御304がデータ転送路101よ
りデータパケット102を受取ったかのように、動作す
ればよい。On the other hand, the method for canceling the inhibition is that the network interface control 304 controls the data transfer path 101 at a certain timing (for example, after the transfer data is read from the command processor 140), as explained in FIG. It is sufficient to operate as if the data packet 102 had been received.
異なる点は、連想記憶124から読出された有効ビット
150が0のとき、連想記憶上書き制御301では信号
[302をOにし,また,ネットワークインタフェース
制御304では信号線303によりデータパケット10
2が受付けられるようになったことをデータ転送路10
1に通知する。The difference is that when the valid bit 150 read from the content addressable memory 124 is 0, the content addressable memory overwrite control 301 sets the signal [302 to O, and the network interface control 304 sets the data packet 10 by the signal line 303.
2 can now be accepted on data transfer path 10.
Notify 1.
また,読出された有効ビット150がまだ1であるなら
ば、前記で示した状態(即ち、上書き転送データの連M
E憶への書込みを抑止した状態)にしておき、再度、次
のタイミングを待つ。If the read valid bit 150 is still 1, the state shown above (i.e., the sequence of overwrite transfer data M
Write to E memory is inhibited) and wait again for the next timing.
一方、命令プロセッサ140が転送データを必要とする
場合は、第1図で説明した動作を行なう。On the other hand, if the instruction processor 140 requires transfer data, it performs the operation described in FIG. 1.
さらに,本発明の一実施例では、プロセッサ間のデータ
転送における転送データを保持する手段として連想記憶
を用いたが,特にこれに限定する必要はない.
たとえば、各プロセッサ内で実行するプログラムやデー
タを保持するローカル記憶を用いてもよい。この場合,
各プロセッサでは,転送路から受信したデータ識別子か
らローカル記憶アドレスを生成する.そして、それに基
づいて転送データを格納するとき、本発明の実施例と同
様に転送データが届いたか否かを示す有効ビットをチェ
ックすることにより実現できる。Further, in one embodiment of the present invention, associative memory is used as a means for retaining transferred data during data transfer between processors, but there is no need to be limited to this. For example, local storage may be used to hold programs and data executed within each processor. in this case,
Each processor generates a local storage address from the data identifier received from the transfer path. Then, when storing the transfer data based on this, it can be realized by checking the valid bit indicating whether or not the transfer data has arrived, as in the embodiment of the present invention.
このように本発明によれば、プロセッサ間のデータ転送
において転送データの上書きがあったか否かをプログラ
マに報告できる。As described above, according to the present invention, it is possible to report to the programmer whether or not transferred data has been overwritten during data transfer between processors.
本発明によれば、プロセッサ間でデータ転送が行なえる
並列プロセッサにおいて、転送データの上書きが生じた
ことをプログラマに通知できるので、並列プロセッサの
プログラムデバッグの効率を向上することができる。According to the present invention, in a parallel processor that can transfer data between processors, it is possible to notify a programmer that overwriting of transferred data has occurred, so that the efficiency of program debugging of the parallel processor can be improved.
第1図は上書きされる転送データおよびデータ識別子を
記憶する手段を設けた本発明の一実施例、第2図は転送
データの上書きが生じたときに直ちに制御プロセッサに
報告する手段を設けた本発明の一実施例、第3図は連想
記憶に保持されている転送データが命令プロセッサによ
り読出されるまで、上書き転送データの連想記憶への書
込みを一時抑止する手段を設けた本発明の一実施例であ
る。
101・・・データ転送路、110〜111・・・プロ
セッサ、106・・・制御プロセッサ、120・・・デ
ータ受信装置、124・・・連想記憶,126・・・連
想記憶上書き制御、127・・・上書きバッファ,13
0・・・データ送信装置、140・・・命令プロセッサ
。FIG. 1 shows an embodiment of the present invention that is provided with means for storing transfer data and data identifiers to be overwritten, and FIG. 2 is an embodiment of the present invention that is provided with means for immediately reporting to a control processor when transfer data has been overwritten. One embodiment of the invention, FIG. 3 shows an embodiment of the invention in which means is provided for temporarily inhibiting writing of overwrite transfer data to the associative memory until the transfer data held in the associative memory is read by the instruction processor. This is an example. 101... Data transfer path, 110-111... Processor, 106... Control processor, 120... Data receiving device, 124... Content addressable memory, 126... Content addressable memory overwrite control, 127...・Overwrite buffer, 13
0...Data transmission device, 140...Instruction processor.
Claims (1)
う制御プロセッサと、各プロセッサ間でデータ転送を行
なうための通信路を備えた並列プロセッサにおいて、各
プロセッサ内で前記通信路から転送データを受信したと
き、前記転送データの格納場所が有効か無効かをチェッ
クする手段と、チェックの結果、前記転送データの格納
場所が有効を示すとき、前記制御プロセッサにそのこと
を通知する手段を設けたことを特徴とする並列プロセッ
サのデバッグ支援方式。 2、前記チェックする手段の結果、転送データの格納場
所が有効を示すとき、前記格納場所に保持されている転
送データとその格納場所を示す情報を記憶する手段を設
けたことを特徴とする特許請求の範囲第1項記載の並列
プロセッサのデバッグ支援方式。 3、各プロセッサは前記通信路から転送データおよび転
送データに対する識別子を受信し、前記格納場所に前記
転送データと識別子を格納する連想記憶手段を設けたこ
とを特徴とする特許請求の範囲の第1項記載の並列プロ
セッサのデバッグ支援方式。 4、各プロセッサは前記通信路から転送データおよび転
送データに対する識別子を受信し、前記格納場所に、前
記識別子より生成したローカル記憶のアドレスによりア
クセスされるローカル記憶手段を設けたことを特徴とす
る特許請求の範囲の第1項記載の並列プロセッサのデバ
ッグ支援方式。 5、複数台のプロセッサと、各プロセッサの制御を行な
う制御プロセッサと、各プロセッサ間でデータ転送を行
なうための通信路を備えた並列プロセッサにおいて、各
プロセッサ内で前記通信路から転送データを受信したと
き、前記転送データの格納場所が有効か無効かをチェッ
クする手段と、前記手段の結果、前記転送データの格納
場所が有効を示すとき、前記格納場所に保持された転送
データがそのプロセッサ内の各種演算処理で取り出され
るまで、前記通信路から受信した転送データを前記格納
場所に書込まない、かつ、前記転送路から転送データを
受信しない手段を設けたことを特徴とする並列プロセッ
サのデバッグ支援方式。 6、各プロセッサは前記通信路から転送データおよび転
送データに対する識別子を受信し、前記格納場所に前記
転送データと識別子を格納する連想記憶手段を設けたこ
とを特徴とする特許請求の範囲の第3項記載の並列プロ
セッサのデバッグ支援方式。 7、各プロセッサは前記通信路から転送データおよび転
送データに対する識別子を受信し、前記格納場所に、前
記識別子より生成したローカル記憶のアドレスによりア
クセスされるローカル記憶手段を設けたことを特徴とす
る特許請求の範囲の第3項記載の並列プロセッサのデバ
ッグ支援方式。[Claims] 1. In a parallel processor comprising a plurality of processors, a control processor for controlling each processor, and a communication path for data transfer between each processor, the communication path is means for checking whether the storage location of the transfer data is valid or invalid when the transfer data is received from the storage device; and when the result of the check indicates that the storage location of the transfer data is valid, notifying the control processor of the same; A debugging support method for a parallel processor characterized by providing a means. 2. A patent characterized in that, when the storage location of the transferred data is found to be valid as a result of the checking means, means is provided for storing the transferred data held in the storage location and information indicating the storage location thereof. A debugging support method for a parallel processor according to claim 1. 3. Each processor is provided with associative memory means for receiving transfer data and an identifier for the transfer data from the communication path and storing the transfer data and the identifier in the storage location. Parallel processor debugging support method described in . 4. A patent characterized in that each processor receives transferred data and an identifier for the transferred data from the communication path, and the storage location is provided with a local storage means that is accessed by a local storage address generated from the identifier. A debugging support method for a parallel processor according to claim 1. 5. In a parallel processor that includes a plurality of processors, a control processor that controls each processor, and a communication path for transferring data between each processor, each processor receives transfer data from the communication path. a means for checking whether the storage location of the transfer data is valid or invalid; and when the result of the means indicates that the storage location of the transfer data is valid, the transfer data held in the storage location is stored in the processor; Debugging support for a parallel processor, characterized in that means is provided for not writing transfer data received from the communication path to the storage location and not receiving transfer data from the transfer path until it is retrieved by various arithmetic processes. method. 6. Each processor is provided with associative memory means for receiving transfer data and an identifier for the transfer data from the communication path and storing the transfer data and the identifier in the storage location. Parallel processor debugging support method described in . 7. A patent characterized in that each processor receives transferred data and an identifier for the transferred data from the communication path, and the storage location is provided with a local storage means that is accessed by a local storage address generated from the identifier. A debugging support method for a parallel processor according to claim 3.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63285651A JPH02132548A (en) | 1988-11-14 | 1988-11-14 | Debugging support method for parallel processors |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63285651A JPH02132548A (en) | 1988-11-14 | 1988-11-14 | Debugging support method for parallel processors |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH02132548A true JPH02132548A (en) | 1990-05-22 |
Family
ID=17694296
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63285651A Pending JPH02132548A (en) | 1988-11-14 | 1988-11-14 | Debugging support method for parallel processors |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH02132548A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006315553A (en) * | 2005-05-13 | 2006-11-24 | Honda Motor Co Ltd | Bumper assembly structure |
-
1988
- 1988-11-14 JP JP63285651A patent/JPH02132548A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006315553A (en) * | 2005-05-13 | 2006-11-24 | Honda Motor Co Ltd | Bumper assembly structure |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR100335785B1 (en) | Execution of data processing instructions | |
| KR100291602B1 (en) | Interrupt Control, Processor and Calculator Systems | |
| JP3970609B2 (en) | Processor system | |
| JPS58197553A (en) | Program monitor | |
| JPH02132548A (en) | Debugging support method for parallel processors | |
| JP2000181891A (en) | Shared memory access order guarantee method | |
| JP2859178B2 (en) | Data transfer method between processors and ring buffer memory for data transfer between processors | |
| JPS6285372A (en) | Comparing and swapping system in multi-processor system | |
| JP2522412B2 (en) | Communication method between programmable controller and input / output device | |
| JPS63180153A (en) | Lineback control method for cache storage | |
| JP2679440B2 (en) | Information processing device | |
| JPH04165404A (en) | Sequence controller | |
| JP2941005B2 (en) | Storage controller | |
| JPH05233440A (en) | Data transfer system equipped with buffer function | |
| JP2954006B2 (en) | Emulation device and emulation method | |
| JPS63239532A (en) | Central arithmetic processor | |
| JPS6225359A (en) | Processing request control system for information processing system | |
| JPH02183342A (en) | Interruption controller | |
| JPH103463A (en) | Communication method between processors | |
| JPS6388644A (en) | Central processing unit | |
| JPH09146903A (en) | Data transfer control method in parallel computer | |
| JPH03168860A (en) | Buffer storage control device for parallel processor | |
| JPS626329A (en) | data transfer circuit | |
| JPS62202234A (en) | Advance control system | |
| JPH03100736A (en) | Patrol diagnostic device |