JPH0644298B2 - Program rewriting device for data flow type computer - Google Patents

Program rewriting device for data flow type computer

Info

Publication number
JPH0644298B2
JPH0644298B2 JP3703686A JP3703686A JPH0644298B2 JP H0644298 B2 JPH0644298 B2 JP H0644298B2 JP 3703686 A JP3703686 A JP 3703686A JP 3703686 A JP3703686 A JP 3703686A JP H0644298 B2 JPH0644298 B2 JP H0644298B2
Authority
JP
Japan
Prior art keywords
data
program
rewriting
transfer
unit
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
JP3703686A
Other languages
Japanese (ja)
Other versions
JPS62194545A (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 JP3703686A priority Critical patent/JPH0644298B2/en
Publication of JPS62194545A publication Critical patent/JPS62194545A/en
Publication of JPH0644298B2 publication Critical patent/JPH0644298B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はデータフロー型計算機におけるデータフロー型
プログラムをデータが引き金となって部分的に書き換え
るプログラム書換装置に関する。
The present invention relates to a program rewriting device that partially rewrites a dataflow type program in a dataflow type computer using data as a trigger.

〔従来の技術〕[Conventional technology]

現在、稼動中の大部分の計算機は、フォンノイマンの提
唱した原理で作動するもので、ノイマン型と呼ばれてい
る。このノイマン型計算機は、計算機の計算手順を記述
したプログラムを計算機の記憶回路に格納し、プログラ
ムを記憶番地の順番に逐次実行し、そのため逐次処理型
計算機ともいう。このノイマン型計算機では単一の制御
装置が処理の実行を制御しており、あらかじめ記憶回路
に格納されたプログラムの実行開始番地が与えられる
と、制御装置が実行開始番地に書き込まれている命令を
読んで解読し、その命令内容に従い記憶回路からのデー
タの読み出し、記憶回路へのデータの書き込み、オペラ
ンドの読み出し、命令実行番地の変更などを行ない、1
つの命令の実行が終わると記憶回路上で直後に書かれて
いる命令の実行に移る。ただし、命令実行番地の変更が
起こった場合は、変更された実行番地の命令を実行し、
このように逐次命令を実行してゆく。
Most of the computers currently in operation operate on the principle proposed by von Neumann, and are called Neumann type. This Neumann computer stores a program describing the calculation procedure of the computer in a memory circuit of the computer and sequentially executes the programs in the order of memory addresses, and therefore is also called a sequential processing computer. In this Neumann computer, a single control device controls the execution of processing, and when the execution start address of the program stored in the memory circuit is given in advance, the control device executes the instruction written in the execution start address. Read and decode, read data from the memory circuit, write data to the memory circuit, read operands, change instruction execution address, etc. according to the instruction content, 1
When the execution of one instruction is completed, the operation immediately after that written in the memory circuit is executed. However, if the instruction execution address is changed, execute the instruction at the changed execution address,
In this way, the sequential instructions are executed.

これに対しデータフロー型計算機は、演算装置をもった
モジュールが1個以上あり、これらモジュールが同時に
計算を実行している。この計算の実行はデータが引き金
となっており、計算に必要な1つ以上のデータが全て揃
うことで計算が開始され、処理結果を出力することで1
つの計算が終わる。そしてデータの流れに伴なって次々
と計算が行なわれてゆき、一連の計算処理を形成する。
このようにデータの流れによって計算の実行が制御され
ているのでデータフロー型と呼ばれる。
On the other hand, the data flow type computer has one or more modules each having an arithmetic unit, and these modules simultaneously execute calculations. The execution of this calculation is triggered by data, and the calculation is started when all of the one or more data required for the calculation are complete, and the processing result is output.
Two calculations are over. Then, calculations are performed one after another along with the flow of data to form a series of calculation processes.
Since the execution of calculation is controlled by the flow of data in this way, it is called a data flow type.

このデータフロー型計算機においても、プログラムは各
モジュールの記憶回路に格納されているが、記憶番地と
実行順序は直接の対応関係にはなく、演算装置に流れて
きたデータのIDと呼ばれるタグによって対応する番地
のプログラムが読み出され実行されてゆくようになって
いる。
In this data flow type computer as well, the program is stored in the memory circuit of each module, but the memory address and the execution order do not have a direct correspondence, and are corresponded by the tag called the ID of the data flowing to the arithmetic unit. The program of the address to be read is read and executed.

このノイマン型計算機におけるプログラム書換機構は、
オーバーレイとも呼ばれ実行形式のプログラムを2つ以
上の部分に分割し、記憶回路上にプログラムを部分的に
格納して実行するものである。
The program rewriting mechanism in this Neumann computer is
It is also called an overlay and divides an executable program into two or more parts and partially stores the program on a memory circuit for execution.

このプログラムの分割手法、プログラムの格納手法には
いくつかの方法がある。このオーバレイの目的は、プロ
グラムが大きくて一度に記憶回路に格納しきれないプロ
グラムを実行すること、または必要のない部分を記憶回
路に格納しないことによって変数領域を大きくとるこ
と、アクセス速度の速い記憶回路を効率的に使うことな
どにある。
There are several methods for dividing the program and storing the program. The purpose of this overlay is to execute a program that is too large to be stored in the memory circuit at one time, or to take a large variable area by not storing an unnecessary part in the memory circuit, and to store data at a high access speed. It is in using the circuit efficiently.

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

上述した従来のプログラム書換方式であるオーバーレイ
は、ノイマン型計算機の手法であり、動作原理が全く異
なるデータフロー型計算機には適用できず、またデータ
フロー型計算機におけるプログラム書換機構はまだ存在
していない。このため、データフロー型において各モジ
ュールの記憶回路に一度に格納しきれないプログラムは
実行できないという欠点があった。
The overlay, which is the conventional program rewriting method described above, is a method of a Neumann computer and cannot be applied to a dataflow computer whose operation principle is completely different, and a program rewriting mechanism in the dataflow computer does not yet exist. . Therefore, in the data flow type, there is a drawback that a program that cannot be stored in the memory circuit of each module at one time cannot be executed.

本発明の目的は、データフロー型計算機においてもプロ
グラム書換えを実行できるようにしたプログラム書換装
置を提供することにある。
An object of the present invention is to provide a program rewriting device capable of executing program rewriting even in a data flow type computer.

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

本発明のデータフロー型計算機のプログラム書換装置
は、入力データの識別番号により処理内容を指定する転
送開始番地と転送語数を読出す入力データ解読部と、解
読された前記転送開始番地からデータバスクロックの一
時停止・再開を制御するクロック制御部と、前記転送開
始番地と前記転送語数とからプログラムの転送を指示し
書換え完了後出力データの出力を指示する書換え制御部
と、所定書換え用プログラム格納する書換用プログラム
記憶部と、この書換用プログラム記憶部からの出力プロ
グラムを各モジュールのプログラム記憶部に高速で転送
する高速転送部と、前記書換え制御部の指示により出力
データに識別番号と行先識別フラグを付加する出力デー
タID付加部とを備えることを特徴とする。
A program rewriting device for a data flow type computer according to the present invention comprises a transfer start address for designating processing contents by an identification number of input data and an input data decoding unit for reading the number of transfer words, and a data bus clock from the decoded transfer start address. And a rewrite control unit for instructing the transfer of a program from the transfer start address and the number of transfer words and instructing output of output data after rewriting is completed, and a predetermined rewriting program stored A rewriting program storage unit, a high-speed transfer unit that transfers the output program from the rewriting program storage unit to the program storage unit of each module at high speed, and an identification number and a destination identification flag in the output data according to the instruction of the rewriting control unit. And an output data ID adding unit for adding the.

〔実施例〕〔Example〕

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

第1図は本発明の一実施例を含むシステムのブロック図
である。本実施例のデータフロー型計算機は、データバ
ス11を介して接続されるモジュール10から構成さ
れ、プログラム書換モジュール10も1つのモジュール
となっている。このプログラム書換モジュール10のバ
スインタフェース入力部1は、データバス11上を流れ
てくるデータを取り込み、データに付加している行先識
別フラグを見てあらかじめ決められたビットがONにな
っていれば、データ13を入力データ解読部2へ送り、
そうでなればバスインタフェース出力部9へデータ12
を送る。入力データ解読部2は、バスインタフェース入
力部1からのデータ13を受け取り、出力データID付
加部8へデータ14として送り、このデータに付加され
ているIDを番地として入力データ解読部2内の記憶回
路から、転送開始番地と転送語数とを読み出し書換え制
御部3に送る。この書換え制御部3は、転送開始番地デ
ータおよび転送語数データ21を受け取ると、クロック
制御部4へデータバスクロック停止命令31を送り、高
速転送部5へ転送開始番地データおよび転送語数データ
32を送り、しばらくして高速転送部5から転送終了信
号33を受け取ると、出力データID付加部8へ出力デ
ータ出力命令34を送り、データバスクロック再開命令
35をクロック制御部4へ送る。
FIG. 1 is a block diagram of a system including an embodiment of the present invention. The data flow type computer of the present embodiment is composed of modules 10 connected via a data bus 11, and the program rewriting module 10 is also one module. The bus interface input unit 1 of the program rewrite module 10 takes in the data flowing on the data bus 11, and if a predetermined bit is turned on by looking at the destination identification flag added to the data, Send the data 13 to the input data decoding unit 2,
If not, the data 12 is output to the bus interface output unit 9.
To send. The input data decoding unit 2 receives the data 13 from the bus interface input unit 1 and sends it as the data 14 to the output data ID adding unit 8 and stores it in the input data decoding unit 2 using the ID added to this data as an address. The circuit sends the transfer start address and the number of transfer words to the read / write control unit 3. Upon receiving the transfer start address data and the transfer word number data 21, the rewrite control unit 3 sends a data bus clock stop instruction 31 to the clock control unit 4, and sends the transfer start address data and the transfer word number data 32 to the high speed transfer unit 5. When the transfer end signal 33 is received from the high speed transfer unit 5 after a while, the output data output command 34 is sent to the output data ID adding unit 8 and the data bus clock restart command 35 is sent to the clock control unit 4.

クロック制御部4は、データバスクロック停止命令31
を受け取るとデータバス11上のクロック信号の発生を
一時的に停止し、データバスクロック再開命令35を受
け取るとデータバス11上のクロック信号の発生を再開
する。高速転送部5は書換え制御部3から転送開始番地
データおよび転送語数データ21を受け取ると、書換え
用プログラム記憶部6の転送開始番地から転送語数ぶん
のデータを読み出して各モジュールのプログラム記憶部
7へDMA(Direct Memory Addressing)転送により高速に
転送する。この書換え用プログラム記憶部6は高速転送
部5によりデータが読み出される。
The clock control unit 4 uses the data bus clock stop instruction 31
When the data bus clock restart instruction 35 is received, the generation of the clock signal on the data bus 11 is temporarily stopped, and when the data bus clock restart instruction 35 is received, the generation of the clock signal on the data bus 11 is restarted. When the high-speed transfer unit 5 receives the transfer start address data and the transfer word number data 21 from the rewrite control unit 3, the high-speed transfer unit 5 reads the transfer word number data from the transfer start address of the rewriting program storage unit 6 and stores it in the program storage unit 7 of each module. High speed transfer by DMA (Direct Memory Addressing) transfer. Data is read from the rewriting program storage unit 6 by the high-speed transfer unit 5.

プログラム記憶部7は、データフロー形計算機に分散し
て存在する各モジュールのプログラム記憶部の総称であ
るが、高速転送部5により書換え用プログラム51が転
送され各モジュールのプログラム記憶部に書込まれ、こ
れらプログラム記憶部7に記憶されたプログラムに従っ
て各モジュールが動作する。
The program storage unit 7 is a general term for the program storage unit of each module that exists in a distributed manner in the data flow type computer, and the rewriting program 51 is transferred by the high speed transfer unit 5 and written in the program storage unit of each module. Each module operates according to the programs stored in the program storage unit 7.

出力データID付加部8は、書換え制御部3から出力デ
ータ出力命令34を受け取ると、以前に入力データ解読
部2から受け取ったデータ14に付加されているIDを
番地として出力データID付加部8の内部記憶部から出
力用IDおよび行先識別フラグを読み出し、データ14
に付加してデータ15としバスインタフェース出力部9
へ送る。バスインタフェース出力部9は、バスインタフ
ェース入力部1から送られてきたデータ12と出力デー
タID付加部8から送られてきたデータ15を衝突しな
いよう制御しながらデータバス11へ送り出す。
When receiving the output data output command 34 from the rewriting control unit 3, the output data ID adding unit 8 uses the ID added to the data 14 previously received from the input data decoding unit 2 as an address. The output ID and the destination identification flag are read from the internal storage unit, and the data 14
And the data 15 is added to the bus interface output unit 9
Send to. The bus interface output unit 9 sends the data 12 sent from the bus interface input unit 1 and the data 15 sent from the output data ID addition unit 8 to the data bus 11 while controlling so as not to collide.

〔発明の効果〕〔The invention's effect〕

以上説明したように、本発明は、データフロー型計算機
において入力データが引き金となって書き換え用プログ
ラムをプログラム記憶部へ高速転送することにより、一
度に格納しきれないプログラムを分割して格納すること
ができると共に、データフロー型計算機では実現されて
いなかったプログラムによるプログラムの書き換えが可
能となり、データフロー型計算機の機能を拡大する効果
がある。
As described above, according to the present invention, in a data flow type computer, input data is a trigger to transfer a rewriting program to a program storage unit at high speed, thereby dividing and storing a program that cannot be stored at one time. In addition, the program can be rewritten by a program that has not been realized in the data flow type computer, and the function of the data flow type computer can be expanded.

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

第1図は本発明の一実施例を示すブロック図である。 1……バスインタフェース入力部、2……入力データ解
読部、3……書き換え制御部、4……クロック制御部、
5……高速転送部、6……書き換え用プログラム記憶
部、7……プログラム記憶部、8……出力データID付
加部、9……バスインタフェース出力部、10……プロ
グラム書換モジュール、11……データバス、12……
データ、13……データ、14……データ、15……デ
ータ、21……転送開始番地データおよび転送語数デー
タ、31……データバスクロック停止命令、32……転
送開始番地データおよび転送語数データ、33……転送
終了信号、34……出力データ出力命令、35……デー
タバスクロック再開命令、51……書き換え用プログラ
ム、70……モジュール。
FIG. 1 is a block diagram showing an embodiment of the present invention. 1 ... Bus interface input section, 2 ... Input data decoding section, 3 ... Rewrite control section, 4 ... Clock control section,
5 ... High-speed transfer section, 6 ... Rewriting program storage section, 7 ... Program storage section, 8 ... Output data ID addition section, 9 ... Bus interface output section, 10 ... Program rewriting module, 11 ... Data bus, 12 ...
Data, 13 ... Data, 14 ... Data, 15 ... Data, 21 ... Transfer start address data and transfer word number data, 31 ... Data bus clock stop instruction, 32 ... Transfer start address data and transfer word number data, 33 ... Transfer end signal, 34 ... Output data output instruction, 35 ... Data bus clock restart instruction, 51 ... Rewriting program, 70 ... Module.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】入力データの識別番号により処理内容を指
定する転送開始番地と転送語数を読出す入力データ解読
部と、解読された前記転送開始番地からデータバスクロ
ックの一時停止・再開を制御するクロック制御部と、前
記転送開始番地と前記転送語数とからプログラムの転送
を指示し書換え完了後出力データの出力を指示する書換
え制御部と、所定書換え用プログラム格納する書換用プ
ログラム記憶部と、この書換用プログラム記憶部からの
出力プログラムを各モジュールのプログラム記憶部に高
速で転送する高速転送部と、前記書換え制御部の指示に
より出力データに識別番号と行先識別フラグを付加する
出力データID付加部とを備えることを特徴とするデー
タフロー型計算機のプログラム書換装置。
1. An input data decoding unit for reading a transfer start address and a transfer word number for designating a processing content by an identification number of input data, and controlling a temporary stop / restart of a data bus clock from the decoded transfer start address. A clock control section, a rewriting control section for instructing transfer of a program from the transfer start address and the number of transfer words and for outputting output data after completion of rewriting, and a rewriting program storage section for storing a predetermined rewriting program, A high-speed transfer unit that transfers the output program from the rewriting program storage unit to the program storage unit of each module at high speed, and an output data ID addition unit that adds an identification number and a destination identification flag to the output data according to an instruction from the rewriting control unit. A program rewriting device for a data flow type computer, comprising:
JP3703686A 1986-02-20 1986-02-20 Program rewriting device for data flow type computer Expired - Lifetime JPH0644298B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3703686A JPH0644298B2 (en) 1986-02-20 1986-02-20 Program rewriting device for data flow type computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3703686A JPH0644298B2 (en) 1986-02-20 1986-02-20 Program rewriting device for data flow type computer

Publications (2)

Publication Number Publication Date
JPS62194545A JPS62194545A (en) 1987-08-27
JPH0644298B2 true JPH0644298B2 (en) 1994-06-08

Family

ID=12486390

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3703686A Expired - Lifetime JPH0644298B2 (en) 1986-02-20 1986-02-20 Program rewriting device for data flow type computer

Country Status (1)

Country Link
JP (1) JPH0644298B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01108641A (en) * 1987-10-20 1989-04-25 Sharp Corp Information processor

Also Published As

Publication number Publication date
JPS62194545A (en) 1987-08-27

Similar Documents

Publication Publication Date Title
US4942519A (en) Coprocessor having a slave processor capable of checking address mapping
JPS63301339A (en) Computer device
JPH11316686A (en) Bios data storage device for computer system and driving method therefor
IE61306B1 (en) Method and device to execute two instruction sequences in an order determined in advance
JPH0644298B2 (en) Program rewriting device for data flow type computer
JP2619425B2 (en) Sequence controller
JP3442972B2 (en) Information processing apparatus and rewritable nonvolatile memory rewriting method
JPH082727Y2 (en) Programmable sequencer
JP3168845B2 (en) Digital signal processor
JP2978008B2 (en) Memory management method
JPS6048770B2 (en) Information processing method
JP2883488B2 (en) Instruction processing unit
JP2000029508A (en) Programmable controller
JP2883489B2 (en) Instruction processing unit
JP3139310B2 (en) Digital signal processor
JPH0426913Y2 (en)
JPS59105148A (en) Microprogram controlling type central processing unit
JPS60189043A (en) Processor
JPH0228859A (en) Electronic computer
JPS63228332A (en) Control system for executing instruction
JPS60193046A (en) Detecting system for instruction exception
JPH0561659B2 (en)
JPH02125303A (en) Programmable controller
JPH0158522B2 (en)
JPH0196738A (en) Program rewriting system for data flow type computer