JPH06101045B2 - Data flow type information processing device simulation device - Google Patents
Data flow type information processing device simulation deviceInfo
- Publication number
- JPH06101045B2 JPH06101045B2 JP6129988A JP6129988A JPH06101045B2 JP H06101045 B2 JPH06101045 B2 JP H06101045B2 JP 6129988 A JP6129988 A JP 6129988A JP 6129988 A JP6129988 A JP 6129988A JP H06101045 B2 JPH06101045 B2 JP H06101045B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- file
- program
- simulation
- data flow
- 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
Links
Landscapes
- Debugging And Monitoring (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Description
【発明の詳細な説明】 [産業上の利用分野] この発明は、データフロープログラムを実行するデータ
フロー型情報処理装置の動作をシミュレーションするた
めのシミュレーション装置に関する。TECHNICAL FIELD The present invention relates to a simulation device for simulating the operation of a dataflow type information processing device that executes a dataflow program.
[従来の技術] 従来のコンピュータは、プログラムとして種々の命令を
プログラムメモリに記憶しておき、プログラムカウンタ
によってプログラムメモリのアドレスを逐次指定して順
次命令を読出し、その命令を実行するというノイマン型
計算機が大部分である。[Prior Art] In a conventional computer, various instructions are stored in a program memory as a program, addresses of the program memory are sequentially designated by a program counter, the instructions are sequentially read, and the Neumann computer is executed. Is the majority.
一方、データフロー型情報処理装置は、プログラムカウ
ンタによる逐次的な命令の実行という概念を持たない非
ノイマン型計算機の一種である。このようなデータフロ
ー型情報処理装置は、命令の並列処理を基本にしたアー
キテクチャを採用している。そして、演算の対象になる
データが揃い次第、命令の実行が可能となり、データに
よって複数の命令を同時に駆動するため、データの自然
な流れに従って並列的にプログラムが実行される。その
結果、演算の所要時間が大幅に短縮するとみなされてい
る。On the other hand, the data flow type information processing apparatus is a type of non-Neumann type computer that does not have the concept of sequential instruction execution by a program counter. Such a data flow type information processing apparatus employs an architecture based on parallel processing of instructions. Instructions can be executed as soon as the data to be operated are prepared, and a plurality of instructions are simultaneously driven by the data, so that the programs are executed in parallel according to the natural flow of the data. As a result, it is considered that the time required for calculation is significantly shortened.
第4図はデータフロー型情報処理装置の一例を示す概略
ブロック図であり、第5図は第4図の情報処理装置の各
部分を巡回するデータパケットの構成を示す図である。FIG. 4 is a schematic block diagram showing an example of the data flow type information processing apparatus, and FIG. 5 is a diagram showing a configuration of a data packet circulating in each part of the information processing apparatus of FIG.
まず、第4図および第5図を参照してデータフロー型情
報処理装置の構成と概略の動作について説明する。第5
図のデータパケットの行先フィールドには行先情報が格
納され、命令フィールドには命令情報が格納され、デー
タ1フィールドまたはデータ2フィールドにはオペラン
ドデータが格納される。First, the configuration and schematic operation of the data flow type information processing apparatus will be described with reference to FIGS. 4 and 5. Fifth
Destination information of the data packet shown in the figure stores destination information, instruction information stores instruction information, and data 1 field or data 2 field stores operand data.
第4図において、プログラム記憶部(PS)1は、プログ
ラムメモリを含み、そのプログラムメモリには、第6図
に示すように、行先情報と命令情報とからなるデータプ
ログラムが記憶されている。プログラム記憶部1はデー
タパケットの行先情報に基づくアドレス指定によって行
先情報および命令情報を読出し、各情報をデータパケッ
トの行先フィールドおよび命令フィールドに格納して出
力する。In FIG. 4, the program storage unit (PS) 1 includes a program memory, and as shown in FIG. 6, the program memory stores a data program including destination information and instruction information. The program storage unit 1 reads out the destination information and the instruction information by addressing based on the destination information of the data packet, stores each information in the destination field and the instruction field of the data packet, and outputs it.
対データ検出部(FC)2は、プログラム記憶部1から入
力バッファ2aおよび2bを介して入力されるデータパケッ
トの待合せを行ない、行先情報が一致する2つのデータ
パケットのうち、一方のデータパケットのオペランドデ
ータを他方のデータパケットの所定のデータフィールド
に格納して出力する。なお、このとき上記一方のデータ
パケットは消滅する。演算処理部(FP)3は対データ検
出部2から入力バッファ3aを介して入力されるデータパ
ケットの命令情報を解読し、その2つのオペランドデー
タに対して所定の演算処理を施し、その結果をデータパ
ケットのデータフィールドに格納して分岐部4に出力す
る。The counter data detection unit (FC) 2 waits for a data packet input from the program storage unit 1 via the input buffers 2a and 2b, and selects one of the two data packets having the same destination information. Operand data is stored in a predetermined data field of the other data packet and output. At this time, the one data packet described above disappears. The arithmetic processing unit (FP) 3 decodes the command information of the data packet input from the paired data detection unit 2 via the input buffer 3a, performs a predetermined arithmetic processing on the two operand data, and outputs the result. The data is stored in the data field of the data packet and output to the branch unit 4.
分岐部4は、データパケットの行先情報に基づいてその
データパケットを入力バッファ1aに与えるかあるいは入
力バッファ5aを介して外部データメモリ(EDS)6に与
える。入力バッファ1aからのデータパケットまたは外部
データメモリ5から出力バッファ5bを介して出力される
データパケットは合流部6に与えられ、合流部6はそれ
らのデータパケットを先着順にプログラム記憶部1に与
える。The branching unit 4 gives the data packet to the input buffer 1a based on the destination information of the data packet, or gives it to the external data memory (EDS) 6 via the input buffer 5a. The data packet from the input buffer 1a or the data packet output from the external data memory 5 via the output buffer 5b is given to the merging unit 6, and the merging unit 6 gives these data packets to the program storage unit 1 on a first-come-first-served basis.
第4図に示されたデータフロー型情報処理装置において
は、データパケットが、プログラム記憶部1→対データ
検出部2→演算処理部3→分岐部4→(外部データメモ
リ5)→合流部6→プログラム記憶部1…のように回り
続けることにより、プログラム記憶部1に記憶されたプ
ログラムに基づく演算処理が進行する。In the data flow type information processing apparatus shown in FIG. 4, the data packet is stored in the program storage unit 1 → the pair data detection unit 2 → the arithmetic processing unit 3 → the branch unit 4 → (the external data memory 5) → the merging unit 6 → By continuing to rotate like the program storage unit 1, the arithmetic processing based on the program stored in the program storage unit 1 proceeds.
第7図は第4図に示したプログラム記憶部1の概略の構
成を示す図である。第7図において、入力データラッチ
部11はデータパケットの行先情報を保持するものであ
り、命令情報は消去される。なお、入力データラッチ部
11はオペランドデータもラッチする。入力データラッチ
部11でラッチされた行先情報はアドレス計算部12に与え
られ、その行先情報からプログラムメモリ13のアドレス
が計算される。プログラムメモリ13は前述の第6図に示
したような行先情報と命令情報とからなるデータフロー
プログラムを記憶している。上記アドレスによりプログ
ラムメモリ13から読出された新しい行先情報と命令情報
は出力データラッチ部14に与えられてラッチされる。な
お、出力データラッチ部14は入力データラッチ部11でラ
ッチされたオペランドデータをそのままラッチする。FIG. 7 is a diagram showing a schematic configuration of the program storage unit 1 shown in FIG. In FIG. 7, the input data latch unit 11 holds the destination information of the data packet, and the command information is erased. Input data latch section
11 also latches the operand data. The destination information latched by the input data latch unit 11 is given to the address calculation unit 12, and the address of the program memory 13 is calculated from the destination information. The program memory 13 stores a data flow program composed of destination information and command information as shown in FIG. The new destination information and command information read from the program memory 13 by the above address are given to the output data latch unit 14 and latched. The output data latch unit 14 latches the operand data latched by the input data latch unit 11 as it is.
[発明が解決しようとする課題] 上記のデータフロー型情報処理装置においては、演算の
対象となるデータが揃い次第命令の実行が可能となり、
データの自然な流れに従って並列的にかつ非同期にプロ
グラムが実行される。そのため、データフロープログラ
ムの開発を行なう場合、単純にプログラムをたどるだけ
では正しい実行順序や実行情報を得ることができないと
いう問題があった。[Problems to be Solved by the Invention] In the above data flow type information processing apparatus, it becomes possible to execute an instruction as soon as the data to be operated is complete,
Programs are executed in parallel and asynchronously according to the natural flow of data. Therefore, when developing a dataflow program, there is a problem that the correct execution order and execution information cannot be obtained simply by tracing the program.
そこで、この発明の目的は、データフロー型情報処理装
置のシミュレーションを行なうためのシミュレーション
装置を提供することである。Therefore, an object of the present invention is to provide a simulation device for simulating a data flow type information processing device.
[課題を解決するための手段] この発明に係るシミュレーション装置は、プログラム記
憶手段、データ発生手段、プログラム実行手段、状態記
憶手段、データ遷移記憶手段、シミュレーション命令記
憶手段、シミュレーション命令実行手段、および表示手
段を備えたものである。プログラム記憶手段は、データ
フロープログラムを記憶するものである。データ発生手
段は、データフロープログラムの実行に用いられるデー
タを発生するものである。プログラム実行手段は、デー
タフロー型情報処理装置における複数の構成部分に対応
する機能を実行する複数の機能部分を含み、かつデータ
発生手段により発生されたデータを用いてプログラム記
憶手段に記憶されたデータフロープログラムを逐次実行
するものである。状態記憶手段は、プログラム実行手段
の複数の機能部分の状態を記憶するものである。データ
遷移記憶手段は、プログラム実行手段におけるデータの
遷移を記憶するものである。シミュレーション命令記憶
手段は、シミュレーション命令を記憶するものである。
シミュレーション命令実行手段は、シミュレーション命
令記憶手段に記憶されたシミュレーション命令に従っ
て、プログラム実行手段、状態記憶手段およびデータ遷
移記憶手段を制御するものである。表示手段は、シミュ
レーション命令記憶手段に記憶されたシミュレーション
命令に従って、状態記憶手段またはデータ遷移記憶手段
の記憶内容を表示するものである。[Means for Solving the Problem] A simulation apparatus according to the present invention includes a program storage means, a data generation means, a program execution means, a state storage means, a data transition storage means, a simulation instruction storage means, a simulation instruction execution means, and a display. It is equipped with means. The program storage means stores the data flow program. The data generating means is for generating data used for executing the data flow program. The program executing means includes a plurality of functional parts that execute functions corresponding to a plurality of constituent parts in the data flow type information processing apparatus, and the data stored in the program storing means using the data generated by the data generating means. The flow program is sequentially executed. The state storage means stores the states of a plurality of functional parts of the program execution means. The data transition storage means stores the transition of data in the program execution means. The simulation command storage means stores a simulation command.
The simulation instruction execution means controls the program execution means, the state storage means, and the data transition storage means according to the simulation instruction stored in the simulation instruction storage means. The display means displays the stored contents of the state storage means or the data transition storage means according to the simulation command stored in the simulation command storage means.
[作用] この発明に係るシミュレーション装置によると、データ
フロープログラムを逐次実行しながら、データフロー型
情報処理装置の各構成部分の状態およびデータの遷移が
順次状態記憶手段およびデータ遷移記憶手段に記憶され
るので、データフロープログラムの実行順序および実行
情報が得られることになる。[Operation] According to the simulation device of the present invention, the states and data transitions of each component of the data flow type information processing device are sequentially stored in the state storage means and the data transition storage means while sequentially executing the data flow program. Therefore, the execution order and execution information of the data flow program can be obtained.
[実施例] 以下、この発明の実施例を図面を用いて説明する。Embodiments Embodiments of the present invention will be described below with reference to the drawings.
第1図は、この発明の一実施例によるシミュレーション
装置の構成を示す図である。FIG. 1 is a diagram showing the configuration of a simulation apparatus according to an embodiment of the present invention.
第1図において、シミュレーション実行装置100は、デ
ータフロー型情報処理装置の内部をシミュレーションす
る部分であり、第2図に示すフローチャート(後述す
る)に従うソフトウェアによってデータフロー型情報処
理装置の各構成部分の動作を実行するものである。この
シミュレーション実行装置100としては、一般の情報処
理装置(ノイマン型計算機)が用いられる。入力ファイ
ル200は、シミュレーション実行装置100に、シミュレー
ションに用いられるデータを入力する部分である。この
入力ファイル200は、データフロープログラムのオブジ
ェクトプログラムが蓄えられるオブジェクトファイル20
1とデータフロープログラムにおいて使用されるデータ
が蓄えられる入力パケットファイル202とを含む。コマ
ンドファイル300は、シミュレーションに関する各種命
令を蓄える部分である。このコマンドファイル300に
は、後述する各種コマンドが格納されている。コンソー
ル400は、シミュレーションに関する各種指定をキー入
力するためのものである。In FIG. 1, a simulation execution device 100 is a part for simulating the inside of the data flow type information processing device, and a software according to a flowchart (described later) shown in FIG. It is the one that performs the operation. As this simulation execution device 100, a general information processing device (Neumann computer) is used. The input file 200 is a part for inputting data used for simulation to the simulation execution device 100. This input file 200 is an object file 20 in which the object program of the data flow program is stored.
1 and an input packet file 202 in which data used in the data flow program is stored. The command file 300 is a part that stores various commands related to simulation. The command file 300 stores various commands to be described later. The console 400 is for inputting various designations regarding simulation.
また、内部ファイル500は、シミュレーション実行装置1
00の内部において用いられる各種情報を記憶する部分で
ある。この内部ファイル500は、PSファイル501、データ
パケットファイル502、およびEDSファイル・EDSマップ
ファイル(以下、単にEDSファイルという)503を含む。
PSファイル501は、オブジェクトファイル201から与えら
れたオブジェクトプログラムをシミュレーション実行装
置100において実行可能な形式に変換したデータフロー
プログラムを蓄えるものである。このPSファイル501に
蓄えられるデータフロープログラムは、第4図のプログ
ラム記憶部1に蓄えられるデータフロープログラムに対
応する。データパケットファイル502は、入力パケット
ファイル202から与えられるデータをシミュレーション
実行装置100において用いられる形式に変換したデータ
パケットを蓄えるものである。このデータパケットファ
イル502に蓄えられるデータパケットは、第4図のデー
タフロー型情報処理装置の各部分を巡回するデータパケ
ットに対応する。EDSファイル503は、第4図の外部デー
タメモリ5に対応する部分の記憶内容および記憶領域の
割当てに相当する情報を蓄えるものである。Also, the internal file 500 is the simulation execution device 1
This is a part for storing various information used inside 00. The internal file 500 includes a PS file 501, a data packet file 502, and an EDS file / EDS map file (hereinafter, simply referred to as EDS file) 503.
The PS file 501 stores a data flow program obtained by converting the object program given from the object file 201 into a format that can be executed by the simulation execution apparatus 100. The data flow program stored in the PS file 501 corresponds to the data flow program stored in the program storage unit 1 of FIG. The data packet file 502 stores data packets obtained by converting the data given from the input packet file 202 into a format used in the simulation executing apparatus 100. The data packet stored in the data packet file 502 corresponds to the data packet circulating in each part of the data flow type information processing apparatus of FIG. The EDS file 503 stores information corresponding to the storage contents of the portion corresponding to the external data memory 5 in FIG. 4 and the allocation of the storage area.
出力ファイル600は、シミュレーション実行装置100にお
けるシミュレーション実行中のデータ遷移を記憶する部
分であり、トレースファイル601およびダンプファイル6
02からなる。トレースファイル601は、データパケット
の状態を記憶するものである、タンプファイル602は、
シミュレーション実行装置100内の各機能部分の記憶内
容を記憶するものである。ダンプファイル602は、FIFO
ダンプファイル602a、FCダンプファイル602bおよびEDS
ダンプファイル602cを含む。結果ファイル700は、シミ
ュレーション実行装置100によるシミュレーションの処
理結果を記憶する部分である。ディスプレイ800は、出
力ファイル600の内容、結果ファイル700の内容およびメ
ッセージを表示するものである。The output file 600 is a part that stores the data transition during the simulation execution in the simulation execution device 100, and includes the trace file 601 and the dump file 6
It consists of 02. The trace file 601 is for storing the state of the data packet, and the tamper file 602 is for
The memory content of each functional part in the simulation execution device 100 is stored. Dump file 602 is a FIFO
Dump file 602a, FC dump file 602b and EDS
Includes dump file 602c. The result file 700 is a part that stores the processing result of the simulation performed by the simulation executing apparatus 100. The display 800 displays the contents of the output file 600, the contents of the result file 700, and messages.
第2図は、第1図に示されるシミュレーション実行装置
100の各機能部分の構成を示すフローチャートである。FIG. 2 is a simulation execution device shown in FIG.
3 is a flowchart showing the configuration of each functional part of 100.
オブジェクトファイル201から与えられるオブジェクト
プログラムは、変換処理部S7によりこのシミュレーショ
ン実行装置100において実行可能なデータフロープログ
ラムに変換されてPSファイル501に蓄えられる。また、
入力パケットファイル202から与えられるデータは、変
換処理部S8によりデータパケットに変換されてデータパ
ケットファイル502に蓄えられる。The object program provided from the object file 201 is converted by the conversion processing unit S7 into a data flow program that can be executed in the simulation executing apparatus 100, and is stored in the PS file 501. Also,
The data provided from the input packet file 202 is converted into a data packet by the conversion processing unit S8 and stored in the data packet file 502.
プログラム読出処理部(PS)S1データパケットファイル
502から与えられるデータパケットの行先情報に基づく
アドレス指定によって、PSファイル501から行先情報お
よび命令情報を読出し、各情報をデータパケットの行先
フィールドおよび命令フィールドに格納して出力する。
すなわち、プログラム読出処理部S1およびPSファイル50
1は、第4図のプログラム記憶部1に相当する処理を行
なう。Program read processor (PS) S1 data packet file
By addressing based on the destination information of the data packet given from 502, the destination information and the instruction information are read from the PS file 501, and each information is stored in the destination field and the instruction field of the data packet and output.
That is, the program read processing unit S1 and the PS file 50
1 performs a process corresponding to the program storage unit 1 in FIG.
データ待合せ処理部(FC)S2は、プログラム読出処理部
S1から入力バッファS2aおよびS2bを介して与えられるデ
ータパケットの待合せ処理をFCテーブルS2cを用いて行
ない、行先情報が一致する2つのデータパケットのう
ち、一方のデータパケットのオペランドデータを他方の
データパケットの所定のデータフィールドに格納して出
力する。すなわち、データ待合せ処理部S2およびFCテー
ブルS2cは第4図の対データ検出部2に相当する処理を
行なう。論理演算処理部(FP)S3は、データ待合せ処理
部S2から入力バッファS3aを介して入力されるデータパ
ケットの命令情報を解読し、その2つのオペランドデー
タに対して所定の演算処理を施し、その結果をデータパ
ケットのデータフィールドに格納して出力する。すなわ
ち、論理演算処理部S3は第4図の演算処理部3に相当す
る処理を行なう。このデータパケットは、入力バッファ
S1aを介してプログラム読出処理部S1に与えられるかあ
るいは入力バッファS5aを介してメモリ処理部S5に与え
られる。The data queuing processor (FC) S2 is a program read processor
The queuing process of the data packet given from S1 via the input buffers S2a and S2b is performed using the FC table S2c, and the operand data of one data packet of the two data packets having the same destination information is used as the other data packet. It is stored in a predetermined data field of and output. That is, the data queuing processing section S2 and the FC table S2c perform processing corresponding to the paired data detection section 2 in FIG. The logical operation processing unit (FP) S3 decodes the command information of the data packet input from the data queuing processing unit S2 via the input buffer S3a, performs a predetermined arithmetic processing on the two operand data, and The result is stored in the data field of the data packet and output. That is, the logical operation processing unit S3 performs a process corresponding to the operation processing unit 3 in FIG. This data packet is the input buffer
It is given to the program read processing unit S1 via S1a or to the memory processing unit S5 via the input buffer S5a.
メモリ処理部(EDS)S5は、与えられたデータパケット
に基づいてEDSファイル503の内容を更新し、新たなデー
タパケットを出力バッファS5bを介してプログラム読出
処理部S1に与える。すなわち、メモリ処理部S5およびED
Sファイル503は、第4図の外部データメモリ5に相当す
る処理を行なう。なお、入力バッファS1a,S2a,S2b,S3a,
5aおよび出力バッファS5bは、それぞれ第4図の入力バ
ッファ1a,2a,2b,3a,5aおよび出力バッファ5bに相当する
ものである。The memory processing unit (EDS) S5 updates the contents of the EDS file 503 based on the supplied data packet, and supplies a new data packet to the program read processing unit S1 via the output buffer S5b. That is, the memory processing unit S5 and ED
The S file 503 performs a process corresponding to the external data memory 5 in FIG. The input buffers S1a, S2a, S2b, S3a,
The output buffer 5a and the output buffer S5b correspond to the input buffers 1a, 2a, 2b, 3a, 5a and the output buffer 5b of FIG. 4, respectively.
データフロープログラムの実行過程における入力バッフ
ァS1a,S2a,S2b,S3a,S5aおよび出力バッファS5bの内容
は、逐次第1図に示すFIFOダンプファイル602aに蓄えら
れる。また、FCテーブルS2cの内容は第1図に示すFCダ
ンプファイル602bに蓄えられ、EDSファイル503の内容は
第1図に示すEDSダンプファイル602cに逐次蓄えられ
る。さらに、データパケットの各時点における内容は第
1図に示すトレースファイル601に逐次蓄えられる。ま
た、データフロープログラムに基づく演算処理の結果は
第1図に示す結果ファイル700に蓄えられる。The contents of the input buffers S1a, S2a, S2b, S3a, S5a and the output buffer S5b during the execution process of the data flow program are sequentially stored in the FIFO dump file 602a shown in FIG. The contents of the FC table S2c are stored in the FC dump file 602b shown in FIG. 1, and the contents of the EDS file 503 are sequentially stored in the EDS dump file 602c shown in FIG. Further, the contents of the data packet at each time point are sequentially stored in the trace file 601 shown in FIG. The result of the arithmetic processing based on the data flow program is stored in the result file 700 shown in FIG.
この第2図に示されるシミュレーション実行装置100に
よるシミュレーションは、第1図に示すコンソール400
から入力されるコマンドまたはコマンドファイル300に
蓄えられているコマンドに従って実行される。The simulation performed by the simulation executing apparatus 100 shown in FIG. 2 is performed by the console 400 shown in FIG.
It is executed according to the command input from the command or the command stored in the command file 300.
第3図は、コンソール400から入力可能なコマンド処理
を示すフローチャートである。このシミュレーション装
置を起動させると、初期設定が行なわれ、コンソール40
0からコマンドの入力が可能となる。コンソール400によ
りコマンドを入力すると、シミュレーション実行装置10
0によりコマンド解析が行なわれる。コマンドの種類と
しては、エミュレーション実行コマンド、ブレークコマ
ンド、トレースコマンド、ダンプコマンド、および表示
コマンドがある。FIG. 3 is a flowchart showing command processing that can be input from the console 400. When this simulation device is started up, the initial settings are made and the console 40
You can enter commands from 0. When a command is input from the console 400, the simulation execution device 10
Command analysis is performed with 0. The command types include emulation execution commands, break commands, trace commands, dump commands, and display commands.
エミュレーション実行コマンドを入力すると、エミュレ
ーション実行処理が行なわれる(P1)。エミュレーショ
ン実行コマンドとしては、次の〜のものがある。When the emulation execution command is input, emulation execution processing is performed (P1). The following emulation execution commands are available.
GO エミュレーション(シミュレーション実行装置100によ
るシミュレーション)を開始する。入力パケットファイ
ル202からデータを読込み第2図に示されるシミュレー
ション実行装置100(以下、システムという)にデータ
パケットを投入する。以降、FIFO(入力バッファまたは
出力バッファ)1段をデータパケットを通過する時間を
単位として、エミュレーションを行なう。GO emulation (simulation by the simulation execution device 100) is started. Data is read from the input packet file 202 and the data packet is input to the simulation execution device 100 (hereinafter referred to as the system) shown in FIG. After that, the emulation is performed with a unit of time for passing the data packet through one stage of the FIFO (input buffer or output buffer).
Step n FIFOをn段分(n単位時間)システムを進める。nが省
略されたときは、FIFOを1段進める。Step n Advance the system for n stages of FIFO (n unit time). If n is omitted, the FIFO is advanced by one stage.
COntinue ブレーク等で中断したエミュレーションを再開する。 COntinue Resumes the emulation that was interrupted by a break.
SET Result FILE−NANE システムからの出力データパケットを収めるファイルを
指定する。指定のないときは、“result.dat"をデフォ
ルト・ファイル名とする。SET Result FILE-Specifies the file that will contain the output data packets from the NANE system. If not specified, "result.dat" is used as the default file name.
Command コマンド入力をファイルに切換える。コマンド・ファイ
ル名を入力要求し、ファイル名を確認後、コマンドファ
イル300からコマンドを読込みその命令に従う。ファイ
ルの命令をすべて終了(但し、コマンドにミスがあった
場合はその時点で終了)後、再びプロントプト“EMU
>”に復帰する。Command Switch command input to file. After inputting the command file name and confirming the file name, the command is read from the command file 300 and the command is followed. After all file instructions are completed (however, if there is a mistake in the command, the command ends at that point), the prompt "EMU
Return to > ”.
EXit プログラムを終了してシステムに復帰する。 Exit the EXit program and return to the system.
また、ブレークコマンドを入力するとブレークコマンド
処理が実行され(P2)、ブレークポイント表示(P3)お
よびテーブルセット(P4)が行なわれる。ブレークコマ
ンドとしては、次の〜のものがある。When a break command is input, the break command process is executed (P2), the breakpoint is displayed (P3), and the table is set (P4). Break commands are as follows.
SET Break NODE n ブレーク・ポイントの設定をする。プログラム読出処理
部S1に入力したデータパケットのノード番号(行先情報
に相当する)がNODEならば、エミュレーションを一時停
止する。このブレーク・ポイント数は、任意に設定可能
とする。nが指定されているときはn回検出後に停止す
る。nが省略されているときは最初の検出で停止する。SET Break NODE n Set a break point. If the node number (corresponding to the destination information) of the data packet input to the program read processing unit S1 is NODE, emulation is suspended. The number of break points can be set arbitrarily. When n is specified, it stops after detecting n times. If n is omitted, stop at the first detection.
SHow Break 設定中のブレーク・ポイントをすべて表示する。 SHow Break Shows all breakpoints being set.
REset Break NODE 指定したノード番号のブレーク・ポイントを解除する。 REset Break NODE Cancels the break point of the specified node number.
REset ALL Break すべてのブレーク・ポイントを解除する。 REset ALL Break Clears all break points.
さらに、トレースコマンドを入力するとトレースコマン
ド処理が実行され(P5)、トレースポイント表示(P6)
およびテーブルセット(P7)が行なわれる。トレースコ
マンドとしては、次の〜のものがある。Furthermore, when a trace command is entered, trace command processing is executed (P5) and trace point display (P6).
And a table set (P7) is performed. The following trace commands are available as trace commands.
SET Trece NODE N FILE−NAME 指定されたノード番号NODEからN個のデータパケットを
ファイル(ファイル名はFILE−NAMEで指定)に書込む。
但し、1個のトレース開始ポイントにつき1ファイルが
必要である。SET Trece NODE N FILE-NAME Write N data packets from the specified node number NODE to a file (file name is specified by FILE-NAME).
However, one file is required for each trace start point.
SHow Trace トレース設定中のノード番号をすべて表示する。 SHow Trace Displays all node numbers for which trace is set.
REset Trace NODE 指定したトレース・ノード番号を解除する。 REset Trace NODE Clears the specified trace node number.
REset ALL Trace すべてのトレース・ノード番号を解除する。 REset ALL Trace Clears all trace node numbers.
また、ダンプコマンドを入力するとダンプコマンド処理
が実行され(P8)、FIFOダンプ処理(P9)、FCダンプ処
理(P10)またはEDSタンプ処理(P11)が行なわれる。
ダンプコマンドとしては、次の〜のものがある。When a dump command is input, dump command processing is executed (P8), FIFO dump processing (P9), FC dump processing (P10) or EDS tamping processing (P11).
The following dump commands are available.
Dump FIFO FILE−NAME システム内(FC内は含めない)の全データパケットを指
定ファイルにダンプする。Dump FIFO FILE-NAME Dumps all data packets in the system (not in FC) to the specified file.
Dump FC FILE−NAME システムのFC内の全データパケットを指定ファイルにダ
ンプする。Dump FC FILE−NAME Dump all data packets in the system FC to the specified file.
Dump EDS S−ADR E−ADR FILE−NAME システムのEDS内のデータを指定されたS−ADR(開始ア
ドレス)からE−ADR(終了アドレス)までの範囲で指
定ファイルにダンプする。Dump EDS S-ADR E-ADR FILE-NAME Dumps the data in the system EDS to the specified file in the range from the specified S-ADR (start address) to E-ADR (end address).
また、表示コマンドを入力すると表示コマンド処理が実
行され(P12)、結果ファイル表示(P13)、ステータス
表示(P14)、パケットデータ表示(P15)またはオブジ
ェクト表示(P16)が行なわれる。表示コマンドとして
は、次の〜のものがある。When a display command is input, display command processing is executed (P12), and result file display (P13), status display (P14), packet data display (P15) or object display (P16) is performed. The following display commands are available as display commands.
SET SHow XXX データの表示形式を指定するコマンドで、XXXはASC(ア
スキー)、DEC(10進)、HEX(16進)、FLO(浮動小数
点)の4種類の中から指定する。次の“SET SHow XX
X"が入力されるまで、指定された表示形式でデータを表
示する。このコマンドでデータの表示形式の指定がされ
ないときは、デフォルトとしてHEX(16進)でデータ表
示を行なう。SET SHow XXX A command to specify the display format of data. XXX is specified from four types of ASC (ASCII), DEC (decimal), HEX (hexadecimal), and FLO (floating point). Next “SET SHow XX
The data is displayed in the specified display format until "X" is input. When the data display format is not specified by this command, the data is displayed in HEX (hexadecimal) as a default.
SHow Result FILE−NAME システムからの出力データパケットを表示する。 SHow Result FILE-NAME Displays the output data packet from the system.
SHow STatus システムの終了時および中断時の情報を表示する。 SHow STatus Display system shutdown and shutdown information.
EXAmine FILE−MANE NODE1 NODE2 FILE−NAMEで指定されたファイル中で、nodel<i<nod
e2のiに相当するノード番号のデータパケットを作表表
示する。EXAmine FILE-MANE NODE1 NODE2 FILE-NAME, nodel <i <nod
Tabulate the data packet of the node number corresponding to i of e2.
EXAmine FILE−NAME NODE FILE−NAMEで指定されたファイル中からNODEの値を持つ
ノード番号のパケットを作表表示する。EXAmine FILE−NAME NODE Displays the packet of the node number with NODE value in the file specified by FILE−NAME.
EXAmine FILE−NAME FILE−NAMEで指定されたファイル中からブレーク・ポイ
ントで停止した時点のノード番号のデータパケットを作
表表示する。但し、ブレーク・ポイントの設定がない場
合はエラーとする。EXAmine FILE-NAME Displays the data packet of the node number at the time of stopping at the break point in the file specified by FILE-NAME. However, if no breakpoint is set, an error will occur.
SHow OBJect FILE−NAME FILE−NAMEで指定されたファイル中からデータ部分を作
表表示する。アドレス表示はx00,x20・・・・のように3
2バイト単位で進ませる。データは4バイドごとに集合
させて表示する。data0〜data3はアドレスの下1桁が偶
数部分、data4〜data7はアドレスの下1桁奇数部分を表
示する。SHow OBJect FILE-NAME The data part is tabulated and displayed from the file specified by FILE-NAME. Address display is 3 such as x00, x20 ...
Advance in 2-byte units. The data is displayed by collecting every 4 bytes. data0 to data3 display the lowermost one digit of the address, and data4 to data7 display the lowermost one digit of the address.
この実施例のシミュレーション装置においては、コンソ
ール400から入力される上記コマンドまたはコマンドフ
ァイル300に記憶されるコマンドに従って、データフロ
ー型情報処理装置の動作がシミュレーションされ、デー
タフロープログラムの正確な実行順序および実行情報が
得られることになる。In the simulation device of this embodiment, the operation of the data flow type information processing device is simulated in accordance with the command input from the console 400 or the command stored in the command file 300, and the accurate execution order and execution of the data flow program are executed. Information will be obtained.
[発明の効果] 以上のようにこの発明によると、データフロープログラ
ムの実行過程におけるデータフロー型情報処理装置の各
構成部分の状態およびデータの遷移が逐次状態記憶手段
およびデータ遷移記憶手段に記憶されるので、データフ
ロープログラムに従うデータフロー型情報処理装置の動
作をシミュレーションすることができる。したがって、
データフロープログラムの開発を容易かつ正確に行なう
ことが可能となる。[Effects of the Invention] As described above, according to the present invention, the states and data transitions of each component of the data flow type information processing device during the execution process of the data flow program are stored in the sequential state storage means and the data transition storage means. Therefore, the operation of the data flow type information processing device according to the data flow program can be simulated. Therefore,
The data flow program can be easily and accurately developed.
第1図はこの発明の一実施例によるシミュレーション装
置の構成を示す図である。第2図は第1図に示されるシ
ミュレーション実行装置の構成をフローチャートにより
示した図である。第3図は第1図のシミュレーション装
置において行なわれる各種コマンド処理を説明するため
の図である。第4図はデータフロー型情報処理装置の構
成の一例を示すブロック図である。第5図は第4図の情
報処理装置の各部分を巡回するデータパケットの構成を
示す図である。第6図はプログラムメモリに記憶される
データフロープログラムの一部を示す図である。第7図
はデータフロー型情報処理装置のプログラム記憶部の構
成を示すブロック図である。 図において、100はシミュレーション実行装置、200は入
力ファイル、201はオブジェクトファイル、202は入力パ
ケットファイル、300はコマンドファイル、400はコンソ
ール、500は内部ファイル、501はPSファイル、502はデ
ータパケットファイル、503はEDSファイル・EDSマップ
ファイル、600は出力ファイル、601はトレースファイ
ル、602はダンプファイル、700は結果ファイル、800は
ディスプレイ、S1はプログラム読出処理部、S2はデータ
待合せ処理部、S3は論理演算処理部、S5はメモリ処理
部、S7,S8は変換処理部、S1a,S2a,S2b,S3a,S5aは入力バ
ッファ、S5bは出力バッファ、S2cはFCテーブルを示す。FIG. 1 is a diagram showing the configuration of a simulation apparatus according to an embodiment of the present invention. FIG. 2 is a flow chart showing the configuration of the simulation executing device shown in FIG. FIG. 3 is a diagram for explaining various command processes performed in the simulation apparatus of FIG. FIG. 4 is a block diagram showing an example of the configuration of a data flow type information processing apparatus. FIG. 5 is a diagram showing a structure of a data packet circulating in each part of the information processing apparatus shown in FIG. FIG. 6 is a diagram showing a part of the data flow program stored in the program memory. FIG. 7 is a block diagram showing the configuration of the program storage unit of the data flow type information processing apparatus. In the figure, 100 is a simulation execution device, 200 is an input file, 201 is an object file, 202 is an input packet file, 300 is a command file, 400 is a console, 500 is an internal file, 501 is a PS file, 502 is a data packet file, 503 is an EDS file / EDS map file, 600 is an output file, 601 is a trace file, 602 is a dump file, 700 is a result file, 800 is a display, S1 is a program read processing unit, S2 is a data waiting processing unit, and S3 is a logic. An arithmetic processing unit, S5 is a memory processing unit, S7 and S8 are conversion processing units, S1a, S2a, S2b, S3a and S5a are input buffers, S5b is an output buffer, and S2c is an FC table.
Claims (1)
フロー型情報処理装置の動作をシミュレーションする装
置であって、 データフロープログラムを記憶するプログラム記憶手段
と、 前記データフロープログラムの実行に用いられるデータ
を発生するデータ発生手段と、 前記データフロー型情報処理装置における複数の構成部
分に対応する機能を実行する複数の機能部分を含み、か
つ前記データ発生手段により発生されたデータを用いて
前記プログラム記憶手段に記憶された前記データフロー
プログラムを逐次実行するプログラム実行手段と、 前記プログラム実行手段の前記複数の機能部分の状態を
記憶する状態記憶手段と、 前記プログラム実行手段における前記データの遷移を記
憶するデータ遷移記憶手段と、 シミュレーション命令を記憶するシミュレーション命令
記憶手段と、 前記シミュレーション命令記憶手段に記憶された前記シ
ミュレーション命令に従って、前記プログラム実行手
段、前記状態記憶手段および前記データ遷移記憶手段を
制御するシミュレーション命令実行手段と、 前記シミュレーション命令記憶手段に記憶されたシミュ
レーション命令に従って、前記状態記憶手段または前記
データ遷移記憶手段の記憶内容を表示する表示手段とを
備えた、データフロー型情報処理装置のシミュレーショ
ン装置。1. An apparatus for simulating the operation of a data flow type information processing apparatus for executing a data flow program, comprising: a program storage unit for storing the data flow program; and data for use in executing the data flow program. Data generating means and a plurality of functional parts that execute functions corresponding to a plurality of constituent parts in the data flow type information processing apparatus, and the program storing means uses the data generated by the data generating means. Program execution means for sequentially executing the stored data flow programs, state storage means for storing states of the plurality of functional parts of the program execution means, and data transition for storing transition of the data in the program execution means Storage means and simulation instructions Simulation instruction storage means for storing; simulation instruction execution means for controlling the program execution means, the state storage means and the data transition storage means in accordance with the simulation instruction stored in the simulation instruction storage means; and the simulation instruction storage A simulation apparatus for a data flow type information processing apparatus, comprising: a display unit that displays the storage content of the state storage unit or the data transition storage unit according to a simulation command stored in the unit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6129988A JPH06101045B2 (en) | 1988-03-14 | 1988-03-14 | Data flow type information processing device simulation device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6129988A JPH06101045B2 (en) | 1988-03-14 | 1988-03-14 | Data flow type information processing device simulation device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH01233522A JPH01233522A (en) | 1989-09-19 |
| JPH06101045B2 true JPH06101045B2 (en) | 1994-12-12 |
Family
ID=13167171
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP6129988A Expired - Fee Related JPH06101045B2 (en) | 1988-03-14 | 1988-03-14 | Data flow type information processing device simulation device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH06101045B2 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0727474B2 (en) * | 1988-07-01 | 1995-03-29 | シャープ株式会社 | Data flow program debug device |
| JPH03273438A (en) * | 1990-03-23 | 1991-12-04 | Matsushita Electric Ind Co Ltd | Data processor |
| JP2007094514A (en) * | 2005-09-27 | 2007-04-12 | Sonac Kk | Simulator and program of data-driven processor |
-
1988
- 1988-03-14 JP JP6129988A patent/JPH06101045B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH01233522A (en) | 1989-09-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0111952B1 (en) | Verification of a processor architecture having a partial instruction set | |
| US20030177471A1 (en) | System and method for graphically developing a program | |
| JPH06101045B2 (en) | Data flow type information processing device simulation device | |
| JPH06103104A (en) | Remote debugging method | |
| JPH0727474B2 (en) | Data flow program debug device | |
| JPH0727473B2 (en) | Data flow program debug device | |
| JPH01307837A (en) | Mpu simulation method and mpu simulator | |
| JPS62162105A (en) | Flow chart type programmable controller | |
| JPS59128652A (en) | Program testing method using display device | |
| JPH05250221A (en) | Simulator execution system | |
| JPH04289927A (en) | Extended command generating system for debugger | |
| JPS63278151A (en) | Debugging device | |
| JPH05181699A (en) | Debugging control system | |
| JPH0233178B2 (en) | ||
| JPS6214240A (en) | Program inspecting system | |
| JPS63217433A (en) | Control system for execution of program | |
| JPS61143856A (en) | Microprogram debug device | |
| JPH04229343A (en) | Memory contents display system in interactive debugger | |
| JPS59165128A (en) | Interactive data input system | |
| JPS58134338A (en) | Controlling system of digital computer | |
| McCann et al. | Microprocessor product design: The role of the development system | |
| JPS63640A (en) | Execution control system for partial unit of data flow | |
| JPH11191072A (en) | Debug break processing method and debug processor | |
| JPS59151247A (en) | Testing device of information processing device | |
| JPH064348A (en) | Program debugging system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |