JPH077349B2 - Debugging device for data driven information processing device - Google Patents

Debugging device for data driven information processing device

Info

Publication number
JPH077349B2
JPH077349B2 JP1023570A JP2357089A JPH077349B2 JP H077349 B2 JPH077349 B2 JP H077349B2 JP 1023570 A JP1023570 A JP 1023570A JP 2357089 A JP2357089 A JP 2357089A JP H077349 B2 JPH077349 B2 JP H077349B2
Authority
JP
Japan
Prior art keywords
data
packet
information
program
debug
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.)
Expired - Fee Related
Application number
JP1023570A
Other languages
Japanese (ja)
Other versions
JPH02202643A (en
Inventor
真一 芳田
俊弥 岡本
宗一 宮田
哲男 山崎
憲司 嶋
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.)
Mitsubishi Electric Corp
Sharp Corp
Original Assignee
Mitsubishi Electric Corp
Sharp Corp
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 Mitsubishi Electric Corp, Sharp Corp filed Critical Mitsubishi Electric Corp
Priority to JP1023570A priority Critical patent/JPH077349B2/en
Priority to US07/471,204 priority patent/US5165036A/en
Publication of JPH02202643A publication Critical patent/JPH02202643A/en
Publication of JPH077349B2 publication Critical patent/JPH077349B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] この発明はデータ駆動型情報処理装置用のデバッグ装置
に関し、特にデータフロープログラムの実行状態を図的
に表示することにより、データ駆動型情報処理装置のデ
バッグを可能にするようなデバッグ装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a debug device for a data driven information processing device, and more particularly to a data driven information processing device by graphically displaying an execution state of a data flow program. The present invention relates to a debug device that enables debugging of the device.

[従来の技術] 従来の情報処理装置の大部分は、プログラムとして種々
の命令をプログラムメモリに記憶しておき、プログラム
カウンタによってプログラムメモリのアドレスを逐次指
定して順次命令を読出し、その命令を実行するというノ
イマン型情報処理装置である。
[Prior Art] Most conventional information processing apparatuses store various instructions as programs in a program memory, sequentially specify addresses of the program memory by a program counter, and sequentially read the instructions, and execute the instructions. This is a Neumann type information processing device.

一方、データ駆動型情報処理装置は、プログラムカウタ
による逐次的な命令の実行という概念を持たない非ノイ
マン型計算機の一種である。このようなデータ駆動型情
報処理装置は、命令が並列に処理されることを前提にし
たアーキテクャに従っている。そして演算の対象になる
データが揃い次第、命令の実行が可能となり、データに
よって複数の命令を同時に駆動するため、データの自然
な流れに従って並列的にプログラムが実行される。その
結果、演算の所要時間が大幅に短縮できることになる。
On the other hand, the data driven type information processing apparatus is a kind of non-Neumann type computer which does not have the concept of sequential instruction execution by the program counter. Such a data driven type information processing apparatus complies with an architect on the premise that instructions are processed in parallel. The instruction can be executed as soon as the data to be operated are prepared, and a plurality of instructions are driven simultaneously by the data, so that the programs are executed in parallel according to the natural flow of the data. As a result, the time required for the calculation can be greatly reduced.

第7図にデータ駆動型情報処理装置の一例であるブロッ
ク構成図を示す。また、第8図に同情報処理装置の各部
分を巡回するデータパケットのフィールド構成例を示
す。さらに、第9図にプログラム記憶手段における記憶
内容のフィールド構成の一部を示す。
FIG. 7 is a block diagram showing an example of the data driven type information processing apparatus. Further, FIG. 8 shows a field configuration example of a data packet circulating in each part of the information processing apparatus. Further, FIG. 9 shows a part of the field structure of the stored contents in the program storage means.

第8図のデータパケットの行先フィールドには行先情報
が格納され、命令フィールドには命令情報が格納され、
データ1フィールドまたはデータ2フィールドにはオペ
ランドデータが格納される。
Destination information is stored in the destination field of the data packet of FIG. 8, command information is stored in the command field,
Operand data is stored in the data 1 field or the data 2 field.

第7図の情報処理装置は、プログラム記憶手段1、デー
タ対生成手段2および演算処理手段3を含む。プログラ
ム記憶手段1には、第9図に示すデータフロープログラ
ムが記憶されている。このプログラム記憶手段1は、入
力された第8図のデータパケットの行先情報に基づいた
アドレス指定によって、第9図に示すように、次位の行
先情報および次位の命令情報を読出し、その行先情報お
よび命令情報をその入力されたデータパケットの行先フ
ィールドおよび命令フィールドに格納して出力する。
The information processing apparatus shown in FIG. 7 includes a program storage means 1, a data pair generation means 2 and an arithmetic processing means 3. The data flow program shown in FIG. 9 is stored in the program storage means 1. The program storage means 1 reads out the next-order destination information and the next-order instruction information by addressing based on the destination information of the input data packet of FIG. Information and command information are stored in the destination field and command field of the input data packet and output.

データ対生成手段2は、プログラム記憶手段1から出力
されるデータパケットの待合わせを行なう。すなわち、
行先情報が一致する異なる2つのデータパケットの検出
を行ない、それらの2つのデータパケットのうちの一方
のデータパケットのオペランドデータ、たとえば第8図
におけるデータ1フィールドの内容を、他方のデータパ
ケットのデータ2フィールドに格納してその他方のデー
タパケットを出力する。
The data pair generation means 2 waits for the data packet output from the program storage means 1. That is,
Two different data packets having the same destination information are detected, and the operand data of one data packet of the two data packets, for example, the contents of the data 1 field in FIG. 8 is replaced by the data of the other data packet. Stored in 2 fields and output the other data packet.

演算処理手段3は、データ対生成手段2から出力される
データパケットに対して指定された演算処理を施し、そ
の結果をそのデータパケットのデータ1フィールドに格
納して上記プログラム記憶手段1に出力する。
The arithmetic processing means 3 performs the specified arithmetic processing on the data packet output from the data pair generating means 2, stores the result in the data 1 field of the data packet, and outputs the result to the program storage means 1. .

なお、プログラム記憶手段1とデータ対生成手段2とは
データ伝送路4,5により結合されており、データ対生成
手段2と演算処理手段3とはデータ伝送路6により結合
されている。また、演算処理手段3とプログラム記憶手
段1とはデータ伝送路7により結合されている。
The program storage means 1 and the data pair generation means 2 are connected by the data transmission paths 4 and 5, and the data pair generation means 2 and the arithmetic processing means 3 are connected by the data transmission path 6. The arithmetic processing means 3 and the program storage means 1 are connected by a data transmission line 7.

データパケットがプログラム記憶手段1→データ対生成
手段2→演算処理手段3→プログラム記憶手段1→…と
回り続けることにより、プログラム記憶手段1に記憶さ
れたデータフロープログラムに基づいて演算処理が進行
する。
The data packet continues to rotate in the order of the program storage means 1 → the data pair generation means 2 → the arithmetic processing means 3 → the program storage means 1 → ..., whereby the arithmetic processing proceeds based on the data flow program stored in the program storage means 1. .

[発明が解決しようとする課題] 上述のデータ駆動型情報処理装置においては、演算の対
象となるデータが揃い次第命令の実行が可能となり、デ
ータの自然な流れに従って並列的にかつ非同期にプログ
ラムが実行される。通常のノイマン型計算機において実
行される場合に書かれたような逐次型のソースプログラ
ムをデータフロープログラムに展開して実行する場合、
その実行順序はノイマン型計算機における実行順序とは
必ずしも一致しない。そのため、単純にプログラムを辿
るだけでは、そのソースプログラムの誤りを発見し、訂
正することができないという問題点があった。また、デ
ータフロープログラムとソースプログラムとの対応関係
を知ることにも大変な困難が生じるという問題点があっ
た。
[Problems to be Solved by the Invention] In the above data driven information processing apparatus, an instruction can be executed as soon as data to be operated is prepared, and a program can be executed in parallel and asynchronously according to a natural flow of data. To be executed. When developing a sequential type source program as written when it is executed on a normal Neumann computer into a data flow program and executing it,
The execution order does not always match the execution order in the Neumann computer. Therefore, there is a problem that an error in the source program cannot be found and corrected by simply following the program. In addition, it is very difficult to know the correspondence between the data flow program and the source program.

さらに、データ駆動型情報処理装置の開発段階において
は、データ駆動型情報処理装置自身のハードウェア的な
誤りに起因して、データフロープログラムが正しく実行
されない場合も想定される。データ駆動型情報処理装置
の動作が、何らかの障害等によって正常でない場合、誤
りの原因がデータ駆動型情報処理装置自身に関するハー
ドウェア的なものであるのか、あるいは、実行させてい
るデータフロープログラムに起因するソフトウェア的な
ものであるのかの判別にすら、非常な困難を伴なう。
Further, in the development stage of the data driven type information processing apparatus, it may be assumed that the data flow program is not correctly executed due to a hardware error of the data driven type information processing apparatus itself. If the operation of the data-driven information processing device is not normal due to some kind of failure, etc., the cause of the error may be hardware related to the data-driven information processing device itself, or it may be due to the dataflow program being executed. Even if it is software-like, it is very difficult to determine.

それゆえに、この発明の主たる目的は、データ駆動型情
報処理装置上で実行可能なデータフロープログラムが期
待通り動作しない場合、誤りの原因を効率良く発見する
ためなどに用いられるデバッグ装置を提供することであ
る。
Therefore, a main object of the present invention is to provide a debug device used for efficiently finding the cause of an error when a data flow program executable on a data driven information processing device does not operate as expected. Is.

[課題を解決するための手段] この発明にかかるデータ駆動型情報処理装置用のデバッ
グ装置は、デバッグ情報記憶手段、演算パケット観測手
段、待合わせパケット観測手段、および実行状態表示手
段から構成される。
[Means for Solving the Problem] A debug device for a data driven information processing device according to the present invention comprises debug information storage means, operation packet observing means, waiting packet observing means, and execution state displaying means. .

デバッグ情報記憶手段は、データフロープログラムに関
するデバッグ情報を記憶する。演算パケット観測手段
は、演算処理手段において演算が施されたデータパケッ
トを観測する。待合わせパケット観測手段は、データ対
生成手段において、対となるべきデータパケットの待合
わせを行なっているデータパケットを観測する。実行状
態表示手段は、デバッグ情報記憶手段に記憶されている
デバッグ情報と、演算パケット観測手段および待合わせ
パケット観測手段により得られる情報とに基づいて、デ
ータ駆動型情報処理装置の実行状態を図的に表示する。
The debug information storage means stores debug information regarding the data flow program. The arithmetic packet observing means observes the data packet that has been arithmetically operated by the arithmetic processing means. The queuing packet observing means observes the data packet which is waiting for the data packet to be paired in the data pair generating means. The execution state display means graphically indicates the execution state of the data driven information processing device based on the debug information stored in the debug information storage means and the information obtained by the operation packet observation means and the waiting packet observation means. To display.

[作用] この発明にかかるデバッグ装置は、データ駆動型情報処
理装置の実行状態を視覚的にとらえることを可能とす
る。これにより、データの自然な流れに従って並列的に
かつ非同期に実行されるデータフロープログラムの論理
的な動作を容易に追跡することが可能となる。また、デ
ータフロープログラムが期待通り動作しない場合の誤り
の原因を効率良く発見することが可能となる。
[Operation] The debug device according to the present invention makes it possible to visually grasp the execution state of the data driven information processing device. This makes it possible to easily trace the logical operation of the data flow program that is executed in parallel and asynchronously according to the natural flow of data. In addition, it is possible to efficiently find the cause of the error when the data flow program does not operate as expected.

[実施例] 以下、実施例に基づいてこの発明をより詳細に説明す
る。
[Examples] Hereinafter, the present invention will be described in more detail with reference to Examples.

第1図は、この発明の一実施例の概略ブロック図であ
る。第1図において、データ駆動型情報処理装置8にお
けるプログラム記憶手段1、データ対生成手段2、演算
処理手段3およびデータ伝送路4,5,6,7の動作は、第7
図のデータ駆動型情報処理装置の各部分の動作と同様で
ある。デバッグ装置9は、デバッグ情報記憶手段13、演
算パケット観測手段14、待合わせパケット観測手段15お
よび実行状態表示手段16から構成される。デバッグ装置
9には、演算パケット観測路17、待合わせパケット観測
路18、コンソール10およびグラフィックディスプレイ11
が接続されている。
FIG. 1 is a schematic block diagram of an embodiment of the present invention. In FIG. 1, the operations of the program storage means 1, the data pair generation means 2, the arithmetic processing means 3 and the data transmission paths 4,5, 6, 7 in the data driven type information processing apparatus 8 are as follows:
The operation is the same as that of each part of the data driven type information processing apparatus in the figure. The debug device 9 includes a debug information storage means 13, a calculation packet observing means 14, a waiting packet observing means 15, and an execution state displaying means 16. The debug device 9 includes a calculation packet observation path 17, a waiting packet observation path 18, a console 10 and a graphic display 11.
Are connected.

デバッグ装置9の一構成要素である演算パケット観測手
段14は、演算パケット観測路17を通じてデータ伝送路7
に接続されている。演算パケット観測手段14は、データ
伝送路7を通過するデータパケット(以下、演算パケッ
トと呼ぶ)に関する情報として、第8図に示すフィール
ド構成を有するデータパケットの行先フィールドおよび
データ1フィールドの内容を観測する。観測された情報
は、時刻情報として当該データパケットを観測した時刻
が付与され、第2図に示すフィールド構成を有するデー
タとして、観測順序に従って順次演算パケット観測手段
14内に記憶される。
The operation packet observing means 14, which is a component of the debug device 9, uses the operation packet observing path 17 to transmit the data transmission path
It is connected to the. The operation packet observing means 14 observes the contents of the destination field and the data 1 field of the data packet having the field structure shown in FIG. 8 as information regarding the data packet passing through the data transmission path 7 (hereinafter referred to as operation packet). To do. The observed information is provided with the time when the data packet was observed as time information, and as the data having the field structure shown in FIG.
Stored in 14.

デバッグ装置9の一構成要素である待合わせパケット観
測手段15は、待合わせパケット観測路18を通じてデータ
対生成手段2に接続されている。この待合わせパケット
観測手段15は、データ対生成手段2において対となるべ
きデータパケットの待合わせを行なっているデータパケ
ット(以下、待合わせパケットと呼ぶ)群に関する情報
として、第8図に示すフィールド構成を有するデータパ
ケットの行先フィールドおよびデータ1フィールドの内
容を観測する。観測された情報は、時刻情報として、当
該データパケット群を観測した時刻が付与され、第2図
に示すフィールド構成を有するデータとして、観測順序
に従って順次待合わせパケット観測手段15内に記憶され
る。
The waiting packet observing means 15, which is a component of the debug device 9, is connected to the data pair generating means 2 through the waiting packet observing path 18. The queuing packet observing means 15 is a field shown in FIG. 8 as information regarding a group of data packets (hereinafter referred to as queuing packet) for which the data pair generating means 2 is waiting for a data packet to be paired. Observe the contents of the destination and data 1 fields of the data packet having the structure. The observed information is given the time at which the data packet group was observed as time information, and is stored in the waiting packet observing means 15 in sequence according to the observation order as data having the field structure shown in FIG.

演算パケットの観測は、データパケットがデータ伝送路
7を通過するごとに行なわれるが、待合わせパケットの
観測は、コンソール10からのコマンド入力によって実行
される。
The observation of the operation packet is performed every time the data packet passes through the data transmission line 7, and the observation of the waiting packet is executed by the command input from the console 10.

デバッグ装置9の一構成要素であるデバッグ情報記憶手
段13は、デバッグ情報12を記憶している。デバッグ情報
12は、ソースプログラムとそのソースプログラムを展開
することにより得られたデータフロープログラムとの対
応関係、および、プログラム記憶手段1に記憶されてい
るデータフロープログラムに関する情報を含む。
The debug information storage unit 13, which is a component of the debug device 9, stores the debug information 12. Debug information
12 includes a correspondence relationship between a source program and a data flow program obtained by expanding the source program, and information about the data flow program stored in the program storage unit 1.

第3図に逐次型言語によって記述されたソースプログラ
ムを示す。このソースプログラムがデータフロープログ
ラムに展開された後、プログラム記憶手段1に記憶さ
れ、データ駆動型情報処理装置8上で実行される。
FIG. 3 shows a source program written in a sequential language. After this source program is expanded into a data flow program, it is stored in the program storage means 1 and executed on the data driven type information processing device 8.

データフロープログラムはデバッグ装置9内のデバッグ
情報記憶手段13にも記憶されるため、当該データフロー
プログラムをグラフィックディスプレイ11上に図的に記
述することが可能となる。
Since the data flow program is also stored in the debug information storage means 13 in the debug device 9, the data flow program can be graphically described on the graphic display 11.

また、デバッグ情報記憶手段13は、デバッグ情報12とし
て、データフロープログラム、および、ソースプログラ
ムとデータフロープログラムとの対応関係を記憶してい
るため、ソースプログラム上の各変数名と、データフロ
ープログラム上において当該変数の更新が行なわれる演
算とを、対応づけることが可能となる。したがって、デ
バッグ装置9内の実行状態表示手段16は、第4図に示す
データフローグラフをグラフィックディスプレイ11上に
描くことができる。
Further, since the debug information storage means 13 stores, as the debug information 12, the data flow program and the correspondence between the source program and the data flow program, each variable name on the source program and the data flow program It is possible to correlate with the calculation in which the variable is updated. Therefore, the execution state display means 16 in the debug device 9 can draw the data flow graph shown in FIG. 4 on the graphic display 11.

第4図において、演算を表わすノードの左下に示された
x(10)などの記号は、ソースプログラム上での変数名
と当該変数の値が更新される行番号とを示している。た
とえば、ノードn1の加熱演算の左下に記述されているx
(10)は、当該加熱演算の実行により変数xの値が決定
されること、および、変数xの値の更新がソースプログ
ラム上では10行目に記述されていることを表わしてい
る。デバッグ装置9が第4図に示すようなデータフロー
グラフをグラフィックディスプレイ11上に図的に表示す
ることにより、ソースプログラムとデータフロープログ
ラムとの対応関係を容易に把握することができるように
なる。
In FIG. 4, symbols such as x (10) shown in the lower left of the node representing the operation indicate the variable name on the source program and the line number where the value of the variable is updated. For example, x described at the bottom left of the heating operation for node n1
(10) indicates that the value of the variable x is determined by the execution of the heating calculation and that the updating of the value of the variable x is described in the 10th line on the source program. The debug device 9 graphically displays the data flow graph as shown in FIG. 4 on the graphic display 11 so that the correspondence between the source program and the data flow program can be easily grasped.

データ駆動型情報処理装置8に対してデータが入力され
た後、データフロープログラムの実行が完了した時点に
おいて、演算が終了した全パケットの行先情報、すなわ
ち観測された演算パケットとデータフロープログラム上
の各ノードとの対応関係、演算結果のデータ値、および
データ伝送路7上を通過した時刻が、第2図に示すフィ
ールド構成に従って、デバッグ装置9内の演算パケット
観測手段14に記憶されている。デバッグ装置9内の実行
状態表示手段16は、これらの情報を用いて、第5図に示
すように、第4図に示すデータフローグラフに重ねて、
データ駆動型情報処理装置8上の実行状態をグラフィッ
クディスプレイ11上に描くことができる。
After the data is input to the data driven type information processing device 8, the destination information of all the packets for which the calculation is completed, that is, the observed calculation packet and the data flow program on the data flow program, when the execution of the data flow program is completed. The correspondence relationship with each node, the data value of the operation result, and the time when the data has passed through the data transmission path 7 are stored in the operation packet observing means 14 in the debug device 9 according to the field configuration shown in FIG. The execution status display means 16 in the debug device 9 uses these information to superimpose on the data flow graph shown in FIG. 4 as shown in FIG.
The execution state on the data driven information processing device 8 can be drawn on the graphic display 11.

第5図は、時刻0においてデータとして1が入力された
場合の実行状態を示している。第5図において、矩形で
示す囲みの中の上段の数字は演算パケットのデータ値を
表わし、下段の[ ]内の数字は演算パケットがデータ
伝送路7上を通過した時刻を表わしている。たとえば、
ソースプログラム上において10行目で値の更新が行なわ
れるxという変数は、データ駆動型情報処理装置8上で
の実行においては、時刻50において演算が終了し、その
値は91であることが、ノードn1に関する表示からわか
る。
FIG. 5 shows an execution state when 1 is input as data at time 0. In FIG. 5, the numbers in the upper part of the rectangular box represent the data values of the operation packet, and the numbers in [] in the lower part represent the time when the operation packet passed through the data transmission path 7. For example,
For the variable x whose value is updated on the 10th line in the source program, the calculation is completed at time 50 in the execution on the data driven information processing device 8, and its value is 91. This can be seen from the display for node n1.

デバッグ装置9が第5図に示すようにデータフロープロ
グラムの実行状態をグラフィックディスプレイ11上に図
的に表示することにより、ソースプログラムの論理的な
誤りの発見が容易になる。また、データ駆動型情報処理
装置8の開発段階において、演算処理手段3にハードウ
ェア的な誤りがあるために、演算結果が正しくないよう
な場合であっても、第5図の各ノードの入出力の値を確
認することにより、演算処理手段3の誤りを発見するこ
とができる。
The debug device 9 graphically displays the execution state of the data flow program on the graphic display 11 as shown in FIG. 5, so that it becomes easy to find a logical error in the source program. Further, in the development stage of the data driven type information processing device 8, even if the calculation result is incorrect due to a hardware error in the calculation processing means 3, even if each node in FIG. By checking the output value, it is possible to find an error in the arithmetic processing means 3.

データ駆動型情報処理装置8に対してデータを入力した
にもかかわらず、データフロープログラムの実行が完了
しない場合を想定する。この場合の原因としては、ソー
スプログラムの記述そのものあるいはソースプログラム
からデータフロープログラムへの展開の誤りに起因する
ソフトウェア的なものと、データ駆動型情報処理装置自
身に起因するハードウェア的なものとに、大別すること
ができる。ソフトウェア的な原因あるいはハードウェア
的な原因であっても、上述のように演算処理手段3に関
する演算の誤りについては、データ伝送路7上を通過す
る演算パケットを観測するだけで誤りの特定が可能であ
る。
It is assumed that the execution of the data flow program is not completed even though the data is input to the data driven information processing device 8. The causes in this case are software-like ones caused by the description of the source program itself or errors in the expansion of the source program into a data flow program, and hardware-like ones caused by the data-driven information processing device itself. , Can be broadly divided. Even if the cause is a software cause or a hardware cause, as for the operation error relating to the operation processing means 3 as described above, the error can be identified only by observing the operation packet passing through the data transmission path 7. Is.

ところが、プログラム記憶手段1またはデータ対生成手
段2が原因となるハードウェア的な誤りについては、演
算パケットを観測するだけでは、誤りの原因を特定する
ことは困難である。
However, regarding a hardware error caused by the program storage unit 1 or the data pair generation unit 2, it is difficult to specify the cause of the error only by observing the operation packet.

このような場合、データ対生成手段2において、対とな
るべきデータパケットの待合わせを行なっているデータ
パケットを観測し、待合わせ状況を図的に表示すること
により、誤りの原因の特定に関して有力な情報を提供す
ることができる。
In such a case, the data pair generation means 2 observes the data packet that is waiting for the data packet to be paired, and graphically displays the waiting status, which is effective in identifying the cause of the error. Information can be provided.

データ駆動型情報処理装置8に対してデータを入力した
にもかかわらず、データフロープログラムの実行が完了
しない場合、デバッグ装置9内の演算パケット観測手段
14には、データ伝送路7上を通過した演算パケットに関
する情報が、第2図に示すフィールド構成に従って記憶
されている。
If the execution of the data flow program is not completed even though the data is input to the data driven information processing device 8, the operation packet observing means in the debug device 9
In 14 is stored information relating to the operation packet which has passed through the data transmission line 7 according to the field structure shown in FIG.

また、待合わせパケット観測手段15には、データ対生成
手段2において、対となるべきデータパケットの待合わ
せを行なっているデータパケットに関する情報を、第2
図に示すフィールド構成に従って記憶させることができ
る。
Further, the waiting packet observing means 15 is provided with information about the data packet which is waiting for the data packet to be paired in the data pair generating means 2 as the second information.
It can be stored according to the field structure shown in the figure.

実行状態表示手段16は、第6図に示すように、演算パケ
ット観測手段14および待合わせパケット観測手段15内に
記憶されている情報を用いて、第4図に示すデータフロ
ーグラフに重ねて、データ駆動型情報処理装置8の実行
状態およびデータ対生成手段2におけるデータパケット
の待合わせ状況を、グラフィックディスプレイ11上に描
くことができる。
As shown in FIG. 6, the execution state display means 16 uses the information stored in the operation packet observing means 14 and the waiting packet observing means 15 to superimpose it on the data flow graph shown in FIG. The execution state of the data driven information processing device 8 and the waiting state of the data packet in the data pair generating means 2 can be drawn on the graphic display 11.

第6図は、時刻0において、データとして1が入力され
たにもかかわらず、データフロープログラムの実行が完
了しない場合の実行状態と、時刻200におけるデータ対
生成手段2のデータパケットの待合わせ状況とを示して
いる。第6図において、第5図の場合と同様に、実線で
示す矩形の囲みの中の上段の数字は、演算パケットのデ
ータ値を表わし、その囲みの中の[ ]内の数字は、演
算パケットがデータ伝送路7上を通過した時刻を表わし
ている。但し、データフロープログラムの実行が完了し
ていないため、データフローグラフの途中までしか演算
パケットの表示がなされていない。
FIG. 6 shows an execution state when the execution of the data flow program is not completed even though 1 is input as data at time 0, and the waiting state of the data packet of the data pair generation means 2 at time 200. Is shown. In FIG. 6, as in the case of FIG. 5, the upper number in the rectangular box indicated by the solid line represents the data value of the operation packet, and the number in [] in the box indicates the operation packet. Represents the time when the data has passed on the data transmission path 7. However, since the execution of the data flow program has not been completed, the calculation packet is displayed only part way through the data flow graph.

一方、第6図において、丸印m1,m2および点線で示す矩
形の囲み中の数字は、時刻200におけるデータ対生成手
段2のデータパケットの待合わせ状況を示している。点
線で示す矩形の囲みの中の上段の数字は待合わせパケッ
トのデータ値を表わし、その囲みの中の下段の[ ]内
の数字は待合わせパケットを観測したときの時刻を表わ
している。
On the other hand, in FIG. 6, the numbers in the circles m1 and m2 and the rectangle surrounded by the dotted line indicate the waiting state of the data packet of the data pair generating means 2 at time 200. The numbers in the upper row in the rectangular box surrounded by the dotted line represent the data values of the waiting packet, and the numbers in [] in the lower row in the box represent the time when the waiting packet was observed.

第6図から、ソースプログラムの12行目において値の更
新がなされるyという変数の値が求まらないために、デ
ータフロープログラムの実行が終了しないことがわか
る。
It can be seen from FIG. 6 that the execution of the data flow program does not end because the value of the variable y which is updated in the 12th line of the source program is not obtained.

一方、yを求めるためには、(b+c)という演算を実
行しなければならない。(b+c)の値は、ノードn2で
既に時刻51において、24と求められていることが第6図
からわかる。
On the other hand, in order to obtain y, the operation (b + c) must be executed. It can be seen from FIG. 6 that the value of (b + c) has already been calculated at the node n2 as 24 at the time 51.

以上のことから、第6図より、(b+c)の演算結果を
意味する演算パケットが、時刻51においてデータ伝送路
7上を通過したにもかかわらず、プログラム記憶手段1
またはデータ対生成手段2において、その演算パケット
が正しく処理されずに消失したことがわかる。第6図に
示すように、デバッグ装置9がデータフロープログラム
の実行状態およびデータ対生成手段2におけるデータパ
ケットの待合わせ状況をグラフィックディスプレイ11上
に図的に表示することにより、開発中のデータ駆動型情
報処理装置自身に起因するハードウェア的な原因と、ソ
フトウェア的な原因とを判別することが可能となり、さ
らに、誤り箇所の特定に関して有力な情報の提供が可能
となる。
From the above, from FIG. 6, the program storage means 1 despite the operation packet meaning the operation result of (b + c) passing through the data transmission path 7 at time 51.
Alternatively, it can be seen that the data pair generating means 2 has lost the operation packet without being correctly processed. As shown in FIG. 6, the debug device 9 graphically displays the execution state of the data flow program and the waiting state of the data packet in the data pair generation means 2 on the graphic display 11, thereby enabling the data drive under development. It is possible to discriminate between a hardware-like cause and a software-like cause due to the pattern information processing device itself, and further, it is possible to provide powerful information regarding the identification of an error location.

[発明の効果] 以上詳細に説明したように、データ駆動型情報処理装置
においてこの発明によるデバッグ装置を採用すれば、非
同期にかつ並列的にプログラムが実行されるためデバッ
グが非常に困難であったデータフロープログラムのデバ
ッグ、および、データ駆動型情報処理装置自身のデバッ
グを、効率的に行なうことが可能となる。
[Effects of the Invention] As described in detail above, if the debug device according to the present invention is adopted in the data driven information processing device, the program is executed asynchronously and in parallel, so that debugging is very difficult. It is possible to efficiently debug the data flow program and the data driven information processing apparatus itself.

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

第1図はこの発明の一実施例の概略ブロック図である。
第2図は同実施例において観測されるデータのフィール
ド構成を示す図である。第3図は逐次型言語で記述され
たソースプログラムの一例を示す図である。第4図はソ
ースプログラムとデータフロープログラムとの対応関係
を示す図である。第5図は第4図に示すデータフロープ
ログラムをデータ駆動型情報処理装置上で実行した場合
の実行状態を示す図である。第6図は第4図に示すデー
タフロープログラムをデータ駆動型情報処理装置上で実
行した場合の実行状態およびデータ対生成手段における
データパケットの待合わせ状況を示す図である。第7図
はデータ駆動型情報処理装置の構成を示す概略ブロック
図である。第8図は第7図のデータ駆動型情報処理装置
を巡回するデータパケットのフィールド構成を示す図で
ある。第9図はデータ駆動型情報処理装置におけるプロ
グラム記憶手段の記憶内容のフィールド構成を示す図で
ある。 図において、1はプログラム記憶手段、2はデータ対生
成手段、3は演算処理手段、4〜7はデータ伝送路、8
はデータ駆動型情報処理装置、9はデバッグ装置、10は
コンソール、11はグラフィックディスプレイ、12はデバ
ッグ情報、13はデバッグ情報記憶手段、14は演算パケッ
ト観測手段、15は待合わせパケット観測手段、16は実行
状態表示手段、17は演算パケット観測路、18は待合わせ
パケット観測路を示す。
FIG. 1 is a schematic block diagram of an embodiment of the present invention.
FIG. 2 is a diagram showing a field structure of data observed in the same embodiment. FIG. 3 is a diagram showing an example of a source program written in a sequential language. FIG. 4 is a diagram showing a correspondence relationship between a source program and a data flow program. FIG. 5 is a diagram showing an execution state when the data flow program shown in FIG. 4 is executed on the data driven type information processing apparatus. FIG. 6 is a diagram showing an execution state when the data flow program shown in FIG. 4 is executed on a data driven type information processing apparatus and a waiting state of data packets in the data pair generation means. FIG. 7 is a schematic block diagram showing the configuration of the data driven type information processing apparatus. FIG. 8 is a diagram showing a field structure of a data packet circulating in the data driven type information processing apparatus of FIG. FIG. 9 is a diagram showing a field structure of stored contents of the program storage means in the data driven type information processing apparatus. In the figure, 1 is a program storage means, 2 is a data pair generation means, 3 is an arithmetic processing means, 4-7 are data transmission paths, and 8
Is a data driven information processing device, 9 is a debug device, 10 is a console, 11 is a graphic display, 12 is debug information, 13 is debug information storage means, 14 is an operation packet observation means, 15 is a waiting packet observation means, 16 Is an execution state display means, 17 is an operation packet observation path, and 18 is a waiting packet observation path.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 宮田 宗一 大阪府大阪市阿倍野区長池町22番22号 シ ャープ株式会社内 (72)発明者 山崎 哲男 兵庫県尼崎市塚口本町8丁目1番1号 三 菱電機株式会社産業システム研究所内 (72)発明者 嶋 憲司 兵庫県尼崎市塚口本町8丁目1番1号 三 菱電機株式会社産業システム研究所内 (56)参考文献 特開 昭62−231344(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Soichi Miyata 22-22 Nagaike-cho, Abeno-ku, Osaka-shi, Osaka Inside Sharp Corporation (72) Inventor Tetsuo Yamazaki 8-1-1 Tsukaguchihonmachi, Amagasaki-shi, Hyogo Sanryo Electric Co., Ltd. Industrial Systems Research Institute (72) Inventor Kenji Shima 8-1-1 Tsukaguchi Honcho, Amagasaki City, Hyogo Sanryo Electric Co., Ltd. Industrial System Research Center (56) Reference Japanese Patent Laid-Open No. 62-231344 (JP) , A)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】複数の行先情報および複数の命令情報から
なるデータフロープログラムを記憶し、行先情報、命令
情報およびデータを含むデータパケットを入力し、その
入力されたデータパケットの行先情報に従って前記デー
タフロープログラムから次位の行先情報および命令情報
を読出し、それらの行先情報および命令情報を前記デー
タパケットに格納して出力するプログラム記憶手段と、 前記プログラム記憶手段から出力される前記データパケ
ットの待合わせを行ない、同じ行先情報を有する2つの
データパケットのうち一方のデータパケットのデータを
他方のデータパケットに格納してその他方のデータパケ
ットを出力するデータ対生成手段と、 前記データ対生成手段から出力されるデータパケットの
命令情報を解読し、前記データパケットの2つのデータ
に対して所定の演算処理を施し、その結果をそのデータ
パケットに格納して出力する演算処理手段とから構成さ
れるデータ駆動型情報処理装置用のデバッグ装置であっ
て、 前記データフロープログラムに関するデバッグ情報を記
憶するデバッグ情報記憶手段、 前記演算処理手段において演算処理が施されたデータパ
ケットを観測するための演算パケット観測手段、 前記データ対生成手段において対となるべきデータパケ
ットの待合わせを行なっているデータパケットを観測す
るための待合わせパケット観測手段、および 前記デバッグ情報記憶手段に記載されている前記デバッ
グ情報と、前記演算パケット観測手段および前記待合わ
せパケット観測手段から得られる情報とに基づいて、前
記データ駆動型情報処理装置の実行状態を図的に表示す
るための実行状態表示手段を備えた、データ駆動型情報
処理装置用のデバッグ装置。
1. A data flow program consisting of a plurality of destination information and a plurality of instruction information is stored, a data packet including the destination information, the instruction information and the data is input, and the data is stored according to the destination information of the input data packet. Program storage means for reading out the next destination information and instruction information from the flow program, storing the destination information and instruction information in the data packet and outputting the data packet, and waiting for the data packet output from the program storage means And a data pair generating means for storing the data of one data packet of the two data packets having the same destination information in the other data packet and outputting the other data packet, and outputting from the data pair generating means. The command information of the data packet A debug device for a data-driven information processing device, which comprises a predetermined arithmetic processing for two sets of data, stores the result in the data packet, and outputs the result. Debug information storage means for storing debug information about the data flow program, operation packet observing means for observing data packets processed by the operation processing means, data packets to be paired in the data pair generating means Waiting packet observing means for observing the data packet that is waiting, and the debug information described in the debug information storing means, and the operation packet observing means and the waiting packet observing means. Of the data driven information processing device based on the information With an execution status display means for graphical display of line status, the debugging apparatus for data driven information processor.
JP1023570A 1989-01-31 1989-01-31 Debugging device for data driven information processing device Expired - Fee Related JPH077349B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP1023570A JPH077349B2 (en) 1989-01-31 1989-01-31 Debugging device for data driven information processing device
US07/471,204 US5165036A (en) 1989-01-31 1990-01-29 Parallel processing development system with debugging device includes facilities for schematically displaying execution state of data driven type processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1023570A JPH077349B2 (en) 1989-01-31 1989-01-31 Debugging device for data driven information processing device

Publications (2)

Publication Number Publication Date
JPH02202643A JPH02202643A (en) 1990-08-10
JPH077349B2 true JPH077349B2 (en) 1995-01-30

Family

ID=12114198

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1023570A Expired - Fee Related JPH077349B2 (en) 1989-01-31 1989-01-31 Debugging device for data driven information processing device

Country Status (1)

Country Link
JP (1) JPH077349B2 (en)

Also Published As

Publication number Publication date
JPH02202643A (en) 1990-08-10

Similar Documents

Publication Publication Date Title
US5038348A (en) Apparatus for debugging a data flow program
US5402524A (en) Case-based knowledge source for artificial intelligence software shell
US5165036A (en) Parallel processing development system with debugging device includes facilities for schematically displaying execution state of data driven type processor
EP0678810A1 (en) Determining Dynamic properties of programs
JPS6116100B2 (en)
US6279104B1 (en) Debugging system for parallel processed program and debugging method thereof
JPH077349B2 (en) Debugging device for data driven information processing device
JP2001331465A (en) Method and device for displaying multiple processes and recording medium having display program stored therein
Moons et al. Rationale behind the design of the EduVisor software visualization component
JPH0214333A (en) Debug device for data flow program
JPH0244269A (en) System for analyzing trouble of lsi
JPH01303532A (en) Rule monitoring device
JPH0727474B2 (en) Data flow program debug device
Kranzlmüller et al. Why debugging parallel programs needs visualization
JPH03294934A (en) Debugger for high level program lenguage
JPH03218539A (en) Debug method in parallel computer system
JPH01233522A (en) Simulation device for data flow type information processor
JPH0468446A (en) Debugging supporting device
JPH11191072A (en) Debug break processing method and debug processor
JPS63201736A (en) Programming device for programmable controller
JPH0552938U (en) Pipeline arithmetic unit
JPS63147202A (en) Verifying system for programmable controller
JPH01125634A (en) Module incorporation test system
JPH04217034A (en) Display system for program trace
JPH0442332A (en) Device for verifying assembler action

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313117

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080130

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090130

Year of fee payment: 14

LAPS Cancellation because of no payment of annual fees