JP2560693B2 - Program link system for data flow type computer - Google Patents

Program link system for data flow type computer

Info

Publication number
JP2560693B2
JP2560693B2 JP61156431A JP15643186A JP2560693B2 JP 2560693 B2 JP2560693 B2 JP 2560693B2 JP 61156431 A JP61156431 A JP 61156431A JP 15643186 A JP15643186 A JP 15643186A JP 2560693 B2 JP2560693 B2 JP 2560693B2
Authority
JP
Japan
Prior art keywords
program
arc
sub
data flow
global
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 - Lifetime
Application number
JP61156431A
Other languages
Japanese (ja)
Other versions
JPS6312032A (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.)
NEC Corp
Original Assignee
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP61156431A priority Critical patent/JP2560693B2/en
Publication of JPS6312032A publication Critical patent/JPS6312032A/en
Application granted granted Critical
Publication of JP2560693B2 publication Critical patent/JP2560693B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はデータフロー型計算機のプログラムリンク方
式、特に、分割してコンパイルされた1つ以上の目的プ
ログラムを、リンクして1つの実行可能なプログラムに
するプログラムリンク方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial field of use] The present invention relates to a program link method for a data flow type computer, and in particular, one or more target programs compiled separately can be linked to execute one program. Program link method

〔従来の技術〕[Conventional technology]

現在稼動中の大部分の計算機は、1945年にフォンノイ
マンが提唱した原理で作動するもので、ノイマン型と呼
ばれている。このノイマン型計算機は、計算機の計算手
順を記述したプログラムを計算機の記憶回路に格納し、
プログラムを記憶番地の順番に逐次実行するため、逐次
処理型計算機ともいう。このノイマン型計算機では、単
一のプログラム実行制御部が処理の実行を制御してお
り、あらかじめ記憶回路に格納されたプログラムの実行
開始番地が与えられると、プログラム実行制御部が実行
開始番地に書き込まれている命令を読んで解読し、その
命令内容に従い記憶回路からのデータの読み出し、記憶
回路へのデータの書き込み、オペランドの読み出し、命
令実行番地の変更などを行ない、1つの命令の実行が終
わると記憶回路上で直後に書かれた命令の実行に移る。
ただし、命令実行番地の変更が起こった場合は、変更さ
れた実行番地の命令を実行する。このノイマン型計算機
におけるプログラムリンク方式は、あらかじめ分割して
コンパイルされた複数の目的プログラムを記憶回路に格
納したときに、各目的プログラムの格納番地が重複しな
いようにし、目的プログラム相互間で受渡される大域的
変数の格納番地を統一し、各目的プログラムをリンクし
て1つの実行可能なプログラムにするものである。
Most of the computers in operation today operate on the principle proposed by von Neumann in 1945 and are called Neumann-type. This Neumann computer stores a program describing the calculation procedure of the computer in the memory circuit of the computer,
Since the programs are sequentially executed in the order of storage addresses, they are also called sequential processing type computers. In this Neumann computer, a single program execution control unit controls the execution of processing, and when the execution start address of the program stored in the memory circuit is given in advance, the program execution control unit writes to the execution start address. Reads and decodes the specified instruction, reads the data from the memory circuit, writes the data to the memory circuit, reads the operand, and changes the instruction execution address according to the content of the instruction. And the execution of the instruction written immediately after on the memory circuit is started.
However, when the instruction execution address is changed, the instruction at the changed execution address is executed. The program link method in the Neumann computer is such that, when a plurality of target programs that have been divided and compiled in advance are stored in a storage circuit, the storage addresses of the respective target programs do not overlap and are passed between the target programs. The storage addresses of global variables are standardized, and each target program is linked into one executable program.

これに対し、データフロー型計算機には、加域乗除,
型変換,入出力などの処理機能を有するモジュールが1
個以上あり、これらモジュールが同時に処理を実行して
いる。この処理の実行は、データが引き金となってお
り、処理に必要な1つ以上のデータが全て揃うことで処
理が開始され、処理結果のデータを出力することで、1
つの処理が終わる。そしてデータの流れに伴なって次々
に処理が行なわれ、一連の計算処理を形成する。このよ
うにデータの流れ(フロー)によって処理の実行が制御
されているのでデータフロー型計算機と呼ばれる。
On the other hand, in the data flow type computer,
1 module with processing functions such as type conversion and input / output
There are more than one, and these modules are executing processing simultaneously. The execution of this process is triggered by the data, and the process is started when all the one or more data required for the process are prepared, and the data of the process result is output.
One process ends. Then, processing is performed one after another along with the flow of data to form a series of calculation processing. Since the execution of processing is controlled by the flow of data in this way, it is called a data flow type computer.

このデータフロー型計算機においても、プログラムは
各モジュールの記憶回路に格納されているが、記憶番地
と実行順序は直接的対応関係になく、モジュールに流れ
てきたデータのIDと呼ばれるタグによって対応する番地
のプログラムを読み出し、実行してゆくようになってい
る。同じ処理を行なう一連のデータは、アークと呼ばれ
る1つのIDが割当てられる。
In this data flow type computer as well, the program is stored in the memory circuit of each module, but there is no direct correspondence between the memory address and the execution order, and the address corresponding to the tag called the ID of the data flowing into the module. The program is read and executed. One ID called an arc is assigned to a series of data that performs the same processing.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

しかしながら、このような上述した従来のノイマン型
計算機のプログラムリンク方式では、ノイマン型計算機
と全く動作原理が異なるデータフロー型計算機には適用
できない。またデータフロー型計算機におけるプログラ
ムリンク方式はまだ存在していない。
However, the above-mentioned conventional program link method of the Neumann computer cannot be applied to the data flow computer whose operation principle is completely different from that of the Neumann computer. Moreover, the program link method in the data flow type computer does not exist yet.

このため、データフロー型計算機において、目的プロ
グラムレベルでのリンクが不可能であるという欠点があ
った。
Therefore, in the data flow type computer, there is a drawback that linking at the target program level is impossible.

〔問題点を解決するための手段〕[Means for solving problems]

本発明のデータフロー型計算機のプログラムリンク方
式は、主目的プログラム記憶手段と、副目的プログラム
記憶手段と、局所アークID決定手段と、大域アークID決
定手段と、ID累積使用量計算手段と、実行可能プログラ
ム記憶手段とを有して構成される。
The program link method of the data flow type computer of the present invention includes a main purpose program storage means, a sub purpose program storage means, a local arc ID determination means, a global arc ID determination means, an ID cumulative usage amount calculation means, and an execution. And a possible program storage means.

〔実施例〕〔Example〕

次に、本発明の実施例について、図面を参照して説明
する。
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は、本発明の一実施例を示すブロック図であ
る。
FIG. 1 is a block diagram showing an embodiment of the present invention.

第1図に示すデータフロー型計算機のプログラムリン
ク方式は、主目的プログラム記憶手段1と、副目的プロ
グラム記憶手段2と、局所アークID決定手段3と、大域
アークID決定手段4と、ID累積使用量計算手段5と、プ
ログラム結合手段6と、実行可能プログラム記憶手段7
とを含んで構成される。
The program link method of the data flow type computer shown in FIG. 1 is the main purpose program storage means 1, the sub purpose program storage means 2, the local arc ID determination means 3, the global arc ID determination means 4, and the cumulative ID use. Quantity calculation means 5, program combination means 6, and executable program storage means 7
It is comprised including.

主目的プログラム記憶手段1は、メモリ素子または磁
気ファイルにより構成され、主目的プログラムMが格納
されている。副目的プログラム記憶手段2もメモリ素子
または磁気ファイルにより構成され2つの副目的プログ
ラムA,Bが格納されている。局所アークID決定手段3で
は、主目的プログラムMで仮に割当てられている局所ア
ークのIDには、オフセット値を加えないで、そのままID
の値として決定し、副目的プログラムA,Bで仮に割当て
られている局所アークのIDには、ID累積使用量をオフセ
ット値として加えてIDの値として決定する。大域アーク
ID決定手段4では、主目的プログラムMで仮に割当てら
れている大域アークのIDには、オフセット値を加えない
で、そのままIDの値として仮決定し、副目的プログラム
A,Bで仮に割当てられている大域アークのIDには、ID累
積使用量をオフセット値として加えてIDの値として仮決
定する。しかしこのままでは、1本の大域アークに対
し、定義側と行先側で別々のIDが仮決定されているの
で、行先側のIDに統一する。すなわち、呼び側のプログ
ラムで定義されて、呼ばれる側のプログラムに行先があ
る大域アークには、呼ばれる側のIDを付け、呼ばれる側
のプログラムで定義されて、呼ぶ側のプログラムに行先
がある大域アークには、呼ぶ側のIDを付ける。ID累積使
用量計算手段5では、主目的プログラムMおよび副目的
プログラムA,BそれぞれのID使用量を積算し、ID累積使
用量とする。プログラム結合手段6は、局所アークID決
定手段3と大域アークID決定手段4によりアークのIDが
すべて決定された主目的プログラムMと副目的プログラ
ムA,Bとを結合して実行可能プログラムを作成する。実
行可能プログラム記憶手段7は、メモリ素子または磁気
ファイルにより構成され、実行可能プログラムを格納す
る。
The main purpose program storage means 1 is composed of a memory element or a magnetic file, and stores a main purpose program M. The sub-purpose program storage means 2 is also composed of a memory element or a magnetic file and stores two sub-purpose programs A and B. The local arc ID determining means 3 does not add an offset value to the ID of the local arc provisionally assigned by the main purpose program M, and directly uses the ID.
Of the local arc temporarily assigned by the sub-objective programs A and B, the ID cumulative value is added as an offset value to determine the ID value. Global arc
The ID determining means 4 does not add an offset value to the ID of the global arc provisionally assigned in the main purpose program M, but makes a temporary decision as the value of the ID, and then the sub-purpose program.
For the IDs of the global arcs temporarily assigned by A and B, the ID cumulative usage amount is added as an offset value to be provisionally determined as the ID value. However, in this state, since the definition side and the destination side have different IDs provisionally determined for one global arc, the IDs on the destination side are unified. That is, a global arc defined by the calling program and having a destination in the called program is given a called party ID, and is defined in the called program and the calling program has a destination in the global arc. Is the ID of the calling party. The ID cumulative usage amount calculation means 5 integrates the ID usage amounts of the main purpose program M and the sub-purpose programs A and B to obtain the ID cumulative usage amount. The program combining means 6 combines the main-purpose program M and the sub-purpose programs A and B, whose arc IDs have all been determined by the local arc ID determining means 3 and the global arc ID determining means 4, to create an executable program. . The executable program storage means 7 is composed of a memory element or a magnetic file and stores an executable program.

第2図は、第1図に示す実施例で使用する主目的プロ
グラムと副目的プログラムの一部を示すプログラム図で
ある。
FIG. 2 is a program diagram showing a part of the main purpose program and the sub purpose program used in the embodiment shown in FIG.

1行から12行が主目的プログラムのヘッダであり、13
行から17行が副目的プログラムAのヘッダであり、18行
から22行が副目的プログラムBのヘッドである。1行,1
3行,18行は、それぞれのプログラムのID使用量を示して
いる。3行と4行は、主目的プログラムMから呼ばれる
副目的プログラムAの名称を格納する部分で名称Aが書
かれている。5行から7行は、主目的プログラムMと副
目的プログラムAにまたがる大域アークの仮割当IDを示
す。EODは、データの区切りを示す符号である。15行か
ら17行は副目的プログラムAと主目的プログラムMにま
たがる大域アークの仮割当IDを示す。
Lines 1 to 12 are the main program header, and 13
Lines 17 to 17 are the headers of sub-object program A, and lines 18 to 22 are the heads of sub-object program B. 1 line, 1
Lines 3 and 18 show the ID usage of each program. Lines 3 and 4 are the parts for storing the names of the sub-object programs A called from the main object program M, and the names A are written. Lines 5 to 7 show temporary allocation IDs of global arcs that straddle the main purpose program M and the sub-purpose program A. EOD is a code indicating a data delimiter. Lines 15 to 17 show temporary allocation IDs of global arcs that span the sub-purpose program A and the main-purpose program M.

第3図は、第2図に示す目的プログラムのデータの流
れを示した流れ図である。
FIG. 3 is a flow chart showing the data flow of the object program shown in FIG.

主目的プログラムMと副目的プログラムAの間には、
4つの大域マークが存在し、主目的プログラムMと副目
的プログラムBの間には、3つの大域アークが存在す
る。
Between the main purpose program M and the sub-purpose program A,
There are four global marks, and between the main program M and the sub-program B, there are three global arcs.

上述の実施例では目的プログラムが2つの場合につい
て説明したがこれは1つでもよくまた3つ以上でもよ
い。
In the above embodiment, the case where the number of target programs is two has been described, but the number of target programs may be one or three or more.

〔発明の効果〕 本発明のデータフロー型計算機のプログラムリンク方
式は、分割してコンパイルされたデータフロー型計算機
の1つ以上の目的プログラムをリンクすることにより、
1つの実行可能なプログラムにすることができるという
効果がある。
[Effects of the Invention] The program link method of the dataflow type computer of the present invention links one or more target programs of the dataflow type computer which are divided and compiled,
There is an effect that it can be made into one executable program.

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

第1図は本発明の一実施例を示すブロック図、第2図は
第1図に示す実施例で使用する目的プログラムの一部を
示すプログラム図、第3図は第2図に示す目的プログラ
ムの流れを示す流れ図である。 1……主目的プログラム記憶手段、2……副目的プログ
ラム記憶手段、3……局所アークID決定手段、4……大
域アークID決定手段、5……ID累積使用量計算手段、6
……プログラム結合手段、7……実行可能プログラム記
憶手段、M……主目的プログラム、A,B……副目的プロ
グラム。
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a program diagram showing a part of an object program used in the embodiment shown in FIG. 1, and FIG. 3 is an object program shown in FIG. 3 is a flowchart showing the flow of FIG. 1 ... Main purpose program storage means, 2 ... Sub purpose program storage means, 3 ... Local arc ID determination means, 4 ... Global arc ID determination means, 5 ... ID cumulative usage calculation means, 6
...... Program coupling means, 7 ... Executable program storage means, M ... Main purpose program, A, B ... Sub purpose program.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】データフロー型計算機において主目的プロ
グラムで仮に割当てられている局所アークのIDにはオフ
セットを加えずにそのままIDの値として決定し、副目的
プログラムで仮に割当てられている局所アークのIDに
は、主目的プログラム及びその時点までに既に結合され
た副目的プログラムのID累積使用量をオフセット値とし
て加えてIDの値として決定する局所アークID決定手段
と、定義側と行先側が別々のプログラムである大域アー
クに対しては定義側もしくは先行側のどちらかのIDにあ
らかじめ定められた規則に従い統一する大域アークID決
定手段と、その時点までに結合された主目的プログラム
及び副目的プログラムのそれぞれのID使用量を積算して
ID累積使用量を求めるID累積使用量計算手段と、上記局
所アークID決定手段と上記大域アークID決定手段により
IDが決定された主目的プログラム及び一つ以上の副目的
プログラムを単純に連結して実行可能プログラムを作成
するプログラム結合手段とを含むことを特徴とするデー
タフロー型計算機のプログラムリンク方式。
1. The ID of a local arc provisionally assigned by the main purpose program in the data flow type computer is determined as the value of the ID as it is without adding an offset, and the local arc provisionally assigned by the sub-purpose program is assigned. For the ID, the local arc ID determining means for determining the ID value by adding the ID cumulative usage amount of the main object program and the sub-object program already combined up to that point as an offset value, and the defining side and the destination side are different. For a global arc that is a program, a global arc ID determination means that unifies according to a predetermined rule for the ID of either the defining side or the preceding side, and the main purpose program and the sub-purpose program combined up to that point Accumulate the usage of each ID
The cumulative ID usage calculating means for obtaining the cumulative ID usage, the local arc ID determining means and the global arc ID determining means
A program linking method for a data flow computer, comprising: a program connecting means for simply connecting an ID-determined main object program and one or more sub-object programs to create an executable program.
JP61156431A 1986-07-02 1986-07-02 Program link system for data flow type computer Expired - Lifetime JP2560693B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61156431A JP2560693B2 (en) 1986-07-02 1986-07-02 Program link system for data flow type computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61156431A JP2560693B2 (en) 1986-07-02 1986-07-02 Program link system for data flow type computer

Publications (2)

Publication Number Publication Date
JPS6312032A JPS6312032A (en) 1988-01-19
JP2560693B2 true JP2560693B2 (en) 1996-12-04

Family

ID=15627595

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61156431A Expired - Lifetime JP2560693B2 (en) 1986-07-02 1986-07-02 Program link system for data flow type computer

Country Status (1)

Country Link
JP (1) JP2560693B2 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
西川、寺田、浅田"図的表現によるデータ駆動形並列処理記述言語について"電子通信学会技術研究報告Vol.81,No.264(EC81−74)(1982−2−26)PP.41〜52

Also Published As

Publication number Publication date
JPS6312032A (en) 1988-01-19

Similar Documents

Publication Publication Date Title
JPH0545985B2 (en)
US5577256A (en) Data driven type information processor including a combined program memory and memory for queuing operand data
EP0144779B1 (en) Parallel processing computer
US5125097A (en) Data flow type information processors where data packets pass through plurality of merging and branching portions of the internal path
US4550369A (en) Apparatus and method for processing macroinstructions and microinstructions
US5991872A (en) Processor
JP2560693B2 (en) Program link system for data flow type computer
EP0240606A2 (en) Pipe-line processing system and microprocessor using the system
CA1119307A (en) Microcomputer having separate bit and word accumulators and separate bit and word instruction sets
JPS5826584B2 (en) data processing equipment
US5812845A (en) Method for generating an object code for a pipeline computer process to reduce swapping instruction set
JPS6058487B2 (en) data processing equipment
JPS61110240A (en) Optimization compiler
JP2729795B2 (en) Parallel computer and control method thereof
JPS5995646A (en) Arithmetic control system
JPS63141131A (en) Pipeline control system
JPS60178539A (en) By-pass control system of information processor
JP2621898B2 (en) Dynamic resolution processing method of external reference type address constant
JPH01267731A (en) System for preparing segment overlay program
JP3428253B2 (en) Sequencer
JPH0371336A (en) Microprogram control system
JPS62295138A (en) Address forming system
JPH0673104B2 (en) Micro program controller
JPS62226336A (en) Microprogram control system
JPH04172527A (en) Link processor