JPH04242871A - Write module for data flow calculator - Google Patents

Write module for data flow calculator

Info

Publication number
JPH04242871A
JPH04242871A JP41616090A JP41616090A JPH04242871A JP H04242871 A JPH04242871 A JP H04242871A JP 41616090 A JP41616090 A JP 41616090A JP 41616090 A JP41616090 A JP 41616090A JP H04242871 A JPH04242871 A JP H04242871A
Authority
JP
Japan
Prior art keywords
data
address
internal
memory
write
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.)
Granted
Application number
JP41616090A
Other languages
Japanese (ja)
Other versions
JP2580877B2 (en
Inventor
Kozo Honda
本田 耕三
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
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2416160A priority Critical patent/JP2580877B2/en
Publication of JPH04242871A publication Critical patent/JPH04242871A/en
Application granted granted Critical
Publication of JP2580877B2 publication Critical patent/JP2580877B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To offer the write module for data flow calculator easily performing the dump for debugging. CONSTITUTION:A bus interface 12 fetches data 101 for write module from a data bus 11 and extracts ID 102 and data 103. A TRS table 13 converts the extracted ID 102 into an internal ID 104. An address generation circuit 14 generates the prescribed address 105 when the internal ID 104 has a specified value, otherwise it passes the internal ID 104 as it is. An address data output circuit 15 writes the data 103 extracted from the bus interface 12 in a memory with the use of the address 105 generated in the address generation circuit 14. When the internal ID 104 is directly supplied, a pair of address and data are written in the memory.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明はデータフロー計算機のラ
イトモジュールに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a light module for a data flow computer.

【0002】0002

【従来の技術】一般に、電子計算機のソフトウェアを開
発する際にデバッグは不可欠であり、そのためには処理
の途中の演算結果等をメモリにダンプする必要がある。
2. Description of the Related Art In general, debugging is essential when developing software for electronic computers, and for this purpose it is necessary to dump the results of calculations during processing into memory.

【0003】ところで、通常の計算機では処理を一時的
に停止することにより、その時点のメモリやレジスタの
内容から処理の途中の演算結果等をダンプすることが可
能であるが、データフロー計算機における処理はデータ
の流れに従って駆動されるため、外部からの指令で処理
を途中で止めることはできない。
[0003] By the way, in a normal computer, by temporarily stopping processing, it is possible to dump the results of operations in the middle of processing from the contents of memory and registers at that time, but the processing in a data flow computer Because it is driven according to the flow of data, processing cannot be stopped midway through by commands from outside.

【0004】従って、データフロー計算機において処理
の途中の演算結果等をダンプする場合、従来は、所望の
時点で処理を中断して演算結果等をメモリに出力するよ
うに、プログラムを修正するようにしていた。
[0004] Therefore, when dumping computation results during processing in a data flow computer, conventionally the program has been modified so that the processing is interrupted at a desired point and the computation results are output to memory. was.

【0005】[0005]

【発明が解決しようとする課題】上述したように、従来
のデータフロー計算機においては、処理の途中の演算結
果等をダンプする場合にプログラムを書き換えるように
していたため、デバッグしたい箇所が複数ある場合には
、その数だけテスト用のプログラムを作る必要があり、
デバッグ効率が非常に悪いという欠点があった。
[Problems to be Solved by the Invention] As mentioned above, in conventional data flow computers, when dumping the calculation results etc. during processing, the program is rewritten, so when there are multiple parts to be debugged, , it is necessary to create a test program for that number,
The drawback was that debugging efficiency was very poor.

【0006】本発明は上記の点に鑑み提案されたもので
あり、その目的とするところは、デバッグのためのダン
プが容易に行えるデータフロー計算機のライトモジュー
ルを提供することにある。
The present invention has been proposed in view of the above points, and its object is to provide a write module for a data flow computer that can easily perform dumping for debugging.

【0007】[0007]

【課題を解決するための手段】本発明は上記の目的を達
成するため、ライトモジュール宛のデータをデータバス
から取り込み、IDとデータとを抽出するバスインタフ
ェースと、抽出されたIDを内部IDに変換するTRS
テーブルと、内部IDが特定の値の場合に所定のアドレ
スを生成し、それ以外の場合には内部IDをそのまま通
過させるアドレス生成回路と、バスインタフェースで抽
出されたデータをアドレス生成回路で生成されたアドレ
スでメモリに書き込むと共に、内部IDが直接に与えら
れた場合には対になるアドレスとデータとを待ってメモ
リに書き込むアドレス・データ出力回路とを備えるよう
にしている。
[Means for Solving the Problems] In order to achieve the above object, the present invention provides a bus interface that takes in data addressed to a light module from a data bus, extracts an ID and data, and converts the extracted ID into an internal ID. TRS to convert
A table, an address generation circuit that generates a predetermined address when the internal ID is a specific value and passes the internal ID as is in other cases, and an address generation circuit that generates data extracted by the bus interface. The present invention includes an address/data output circuit that writes data into the memory at a given address, and also waits for a paired address and data to be written into the memory when an internal ID is directly given.

【0008】[0008]

【作用】本発明のデータフロー計算機のライトモジュー
ルにあっては、バスインタフェースがライトモジュール
宛のデータをデータバスから取り込んでIDとデータと
を抽出し、TRSテーブルが抽出されたIDを内部ID
に変換し、アドレス生成回路が内部IDが特定の値の場
合に所定のアドレスを生成し、それ以外の内部IDの場
合には内部IDをそのまま通過させ、アドレス・データ
出力回路がバスインタフェースで抽出されたデータをア
ドレス生成回路で生成されたアドレスでメモリに書き込
むと共に、内部IDが直接に与えられた場合には対にな
るアドレスとデータとを待ってメモリに書き込む。
[Operation] In the write module of the data flow calculator of the present invention, the bus interface takes in data addressed to the write module from the data bus, extracts the ID and data, and the TRS table uses the extracted ID as an internal ID.
The address generation circuit generates a predetermined address when the internal ID is a specific value, and in the case of other internal IDs, the internal ID is passed through as is, and the address/data output circuit extracts it at the bus interface. The generated data is written into the memory using the address generated by the address generation circuit, and when the internal ID is directly given, the paired address and data are waited for and written into the memory.

【0009】[0009]

【実施例】以下、本発明の実施例につき図面を参照して
説明する。
Embodiments Hereinafter, embodiments of the present invention will be described with reference to the drawings.

【0010】図1は本発明のデータフロー計算機のライ
トモジュールの一実施例を示す構成図である。
FIG. 1 is a block diagram showing an embodiment of a write module of a data flow computer according to the present invention.

【0011】図1において、本実施例のライトモジュー
ルは、データバス11に接続されたバスインタフェース
(BIF)12と、TRSテーブル(トランスファテー
ブル)13と、アドレス生成回路14と、アドレス・デ
ータ出力回路15と、CNTテーブル(コントロールテ
ーブル)16とから構成されており、従来のライトモジ
ュールとはアドレス生成回路14を付加した点が異なる
。なお、各部の機能等については、重複を避けるため、
以下の動作を通して説明することとする。
In FIG. 1, the write module of this embodiment includes a bus interface (BIF) 12 connected to a data bus 11, a TRS table (transfer table) 13, an address generation circuit 14, and an address/data output circuit. 15 and a CNT table (control table) 16, and differs from conventional write modules in that an address generation circuit 14 is added. In addition, regarding the functions of each part, to avoid duplication,
This will be explained through the following operations.

【0012】以下、上記の実施例の動作を場合を分けて
説明する。
[0012] The operation of the above embodiment will now be explained in different cases.

【0013】(1)通常のメモリ書き込み動作データバ
ス11に到来するデータ101はMSF,IDと呼ばれ
る2個のタグを有している。ここで、MSF(モジュー
ルセレクトフラグ)はデータの行先である演算モジュー
ルを示すタグであり、IDは演算モジュール内での処理
内容を規定するデータ識別用のタグである。 なお、ライトモジュールによりデータをメモリへ書き込
む場合、書き込みアドレスと書き込みデータとは別々の
データとして与えられる。
(1) Normal memory write operation Data 101 arriving on the data bus 11 has two tags called MSF and ID. Here, the MSF (module select flag) is a tag indicating the arithmetic module to which the data is destined, and the ID is a data identification tag that defines the processing content within the arithmetic module. Note that when writing data to the memory using the write module, the write address and write data are given as separate data.

【0014】今、データバス11にデータ101が到来
すると、バスインタフェース12はMSFを調べ、自己
のライトモジュール宛である場合には、そのデータ10
1を取り込み、ID102と本来のデータ103とを抽
出し、ID102をTRSテーブル13に与え、データ
103をアドレス・データ出力回路15に与える。
Now, when data 101 arrives on the data bus 11, the bus interface 12 checks the MSF, and if it is addressed to its own write module, the data 101 is sent to the data bus 11.
1 is fetched, ID 102 and original data 103 are extracted, ID 102 is given to TRS table 13, and data 103 is given to address/data output circuit 15.

【0015】TRSテーブル13は所定の対応関係に従
ってID102を内部ID(STN)104に変換し、
アドレス生成回路14およびCNTテーブル16に与え
る。なお、TRSテーブルは一対の書き込みデータおよ
び書き込みアドレスにそれぞれ付加されるIDに対して
は同一の内部ID104を出力する。ただし、その場合
、データ103が書き込みデータであるか書き込みアド
レスであるかは内部ID104に付加されているイーブ
ンオッドフラグによって識別される。
[0015] The TRS table 13 converts the ID 102 into an internal ID (STN) 104 according to a predetermined correspondence relationship,
It is applied to the address generation circuit 14 and the CNT table 16. Note that the TRS table outputs the same internal ID 104 for each ID added to a pair of write data and a write address. However, in that case, whether the data 103 is write data or a write address is identified by the even odd flag added to the internal ID 104.

【0016】アドレス生成回路14は特定のID102
に対応する特定の内部ID104以外を受けた場合には
、その内部ID104をそのまま内部ID105として
アドレス・データ出力回路15に与える。
[0016] The address generation circuit 14 generates a specific ID 102.
If a specific internal ID 104 other than that corresponding to the internal ID 104 is received, the internal ID 104 is directly provided to the address/data output circuit 15 as an internal ID 105.

【0017】アドレス・データ出力回路15は内部ID
105を受けた場合、対になる同一の内部ID105が
到来するまで対応するデータ103を保持し、対となっ
た場合に、保持していたデータ103と到来したデータ
103を内部ID105に付加されたイーブンオッドフ
ラグにより書き込みアドレスと書き込みデータとを識別
して、アドレス106とデータ107としてメモリに与
えて書き込みを行う。書き込みの完了に際して書き込み
終了信号108をCNTテーブル16に与える。
The address/data output circuit 15 is an internal ID
If 105 is received, the corresponding data 103 is held until the same internal ID 105 that becomes a pair arrives, and when the pair is formed, the held data 103 and the arrived data 103 are added to the internal ID 105. The write address and write data are identified by the even-odd flag, and are given to the memory as address 106 and data 107 for writing. Upon completion of writing, a write end signal 108 is given to the CNT table 16.

【0018】CNTテーブル16は書き込み終了信号1
08を受けたタイミングで、内部ID104を所定の対
応関係に従ってMSF・ID109とデータ110に変
換し、バスインタフェース12に与える。なお、通常の
書き込みにあっては、データ110はダミーとなり、M
SF・ID109は書き込みの完了を示す終了トークン
とされる。
CNT table 16 receives write end signal 1
At the timing when 08 is received, the internal ID 104 is converted into an MSF ID 109 and data 110 according to a predetermined correspondence relationship, and the data 110 is provided to the bus interface 12. Note that in normal writing, data 110 becomes a dummy, and M
The SF ID 109 is an end token indicating completion of writing.

【0019】バスインタフェース12は受け取ったMS
F・ID109とデータ110とを合成し、データ11
1としてデータバス11を介して他の演算モジュール(
図示せず)に送り出す。
The bus interface 12 receives the MS
F・ID109 and data 110 are combined, data 11
1 to other arithmetic modules (
(not shown).

【0020】(2)デバッグ時のダンプ動作データフロ
ー計算機の任意の箇所における処理の途中の演算結果等
をメモリにダンプしたい場合、ダンプしたいデータを出
力する演算モジュール(図示せず)のCNTテーブルを
デバッガ等により外部から操作し、ダンプしたいデータ
のMSFをライトモジュールを行先とする情報に書き換
えると共に、IDを特定のIDに書き換える。
(2) Dump operation during debugging Data flow If you want to dump the results of calculations in the middle of processing at any point in the computer into memory, you can use the CNT table of the calculation module (not shown) that outputs the data you want to dump. Operated externally using a debugger or the like, rewrite the MSF of the data to be dumped to information that specifies the write module as the destination, and rewrite the ID to a specific ID.

【0021】今、データバス11にダンプすべきデータ
101が到来すると、バスインタフェース12はMSF
を調べた結果、自己のライトモジュール宛であるため、
そのデータ101を取り込み、ID102とデータ10
3とを抽出し、ID102をTRSテーブル13に与え
、データ103をアドレス・データ出力回路15に与え
る。なお、ダンプすべきデータ101のID102は特
定のものとなっている。
Now, when data 101 to be dumped arrives on the data bus 11, the bus interface 12
As a result of investigating, it is addressed to the own light module, so
Import that data 101, ID102 and data 10
3 is extracted, the ID 102 is given to the TRS table 13, and the data 103 is given to the address/data output circuit 15. Note that the ID 102 of the data 101 to be dumped is specific.

【0022】TRSテーブル13は所定の対応関係に従
って特定のID102を特定の内部ID104に変換し
、アドレス生成回路14およびCNTテーブル16に与
える。
The TRS table 13 converts a specific ID 102 into a specific internal ID 104 according to a predetermined correspondence relationship, and provides the converted ID 104 to the address generation circuit 14 and the CNT table 16.

【0023】アドレス生成回路14は特定のID102
に対応する特定の内部ID104を受けると、メモリの
特定領域のアドレスを生成し、生成アドレス105とし
てアドレス・データ出力回路15に与える。なお、メモ
リの特定領域には所定の語数が確保されており、アドレ
ス生成回路14は特定の内部ID104を受ける毎に、
アドレスをカウントアップして連続する異なるアドレス
を生成し、所定の語数に達した場合には最初のアドレス
に戻る。
[0023] The address generation circuit 14 generates a specific ID 102.
When receiving a specific internal ID 104 corresponding to , it generates an address of a specific area of the memory and supplies it to the address/data output circuit 15 as a generated address 105 . Note that a predetermined number of words is secured in a specific area of the memory, and each time the address generation circuit 14 receives a specific internal ID 104,
The addresses are counted up to generate successive different addresses, and when a predetermined number of words is reached, the process returns to the first address.

【0024】アドレス・データ出力回路15は生成アド
レス105を受けた場合、その時点で与えられているデ
ータ103をデータ107とし、生成アドレス105を
アドレス106とし、これらをメモリに与えて書き込み
を行う。そして、書き込みの完了に際して書き込み終了
信号108をCNTテーブル16に与える。
When the address/data output circuit 15 receives the generated address 105, it uses the data 103 given at that time as the data 107, the generated address 105 as the address 106, and supplies these to the memory for writing. Then, upon completion of writing, a write end signal 108 is given to the CNT table 16.

【0025】CNTテーブル16は書き込み終了信号1
08を受けたタイミングで、特定の内部ID104を処
理を中断させる終了トークンを意味するMSF・ID1
09とデータ110とに変換し、バスインタフェース1
2に与える。
CNT table 16 receives write end signal 1
MSF ID1 means an end token that interrupts processing for a specific internal ID 104 at the timing when 08 is received.
09 and data 110, and bus interface 1
Give to 2.

【0026】バスインタフェース12は受け取ったMS
F・ID109とデータ110とを合成し、データ11
1としてデータバス11を介して他の演算モジュールに
送り出す。
[0026] The bus interface 12 receives the MS
F・ID109 and data 110 are combined, data 11
1 to other arithmetic modules via the data bus 11.

【0027】送り出されたデータ111は処理を中断さ
せる終了トークンであるため、処理は中断することとな
り、メモリの所定の領域に書き込まれた内容からデバッ
グが可能となる。
Since the sent data 111 is an end token that interrupts the processing, the processing is interrupted and debugging becomes possible from the contents written in a predetermined area of the memory.

【0028】[0028]

【発明の効果】以上説明したように、本発明のデータフ
ロー計算機のライトモジュールにあっては、プログラム
を書き換えることなく、ダンプしたいデータを出力する
演算モジュールのCNTテーブルをデバッガ等により外
部から操作してダンプしたいデータのMSFとIDとを
書き換えるだけでメモリの所定の領域にダンプが行える
ため、従来のようにデバッグしたい箇所の数だけテスト
用のプログラムを作るのに比べて、格段に効率良くデバ
ッグが行えるという効果がある。
[Effects of the Invention] As explained above, in the light module of the data flow computer of the present invention, the CNT table of the calculation module that outputs the data to be dumped can be manipulated externally using a debugger etc. without rewriting the program. Dumping can be done in a specified area of memory by simply rewriting the MSF and ID of the data you want to dump, making debugging much more efficient than the traditional method of creating test programs for as many parts as you want to debug. This has the effect of allowing you to do this.

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】本発明のデータフロー計算機のライトモジュー
ルの一実施例を示す構成図である。
FIG. 1 is a configuration diagram showing an embodiment of a write module of a data flow computer of the present invention.

【符号の説明】[Explanation of symbols]

11……データバス 12……バスインタフェース 13……TRSテーブル 14……アドレス生成回路 15……アドレス・データ出力回路 16……CNTテーブル 101…データ 102…ID 103…データ 104…内部ID 105…内部ID/生成アドレス 106…アドレス 107…データ 108…書き込み終了信号 109…MSF・ID 110…データ 111…データ 11...Data bus 12...Bus interface 13...TRS table 14...Address generation circuit 15...Address/data output circuit 16...CNT table 101...Data 102...ID 103...Data 104...Internal ID 105...Internal ID/generated address 106...Address 107...Data 108...Writing end signal 109...MSF・ID 110...Data 111...Data

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  ライトモジュール宛のデータをデータ
バスから取り込み、IDとデータとを抽出するバスイン
タフェースと、抽出されたIDを内部IDに変換するT
RSテーブルと、内部IDが特定の値の場合に所定のア
ドレスを生成し、それ以外の場合には内部IDをそのま
ま通過させるアドレス生成回路と、バスインタフェース
で抽出されたデータをアドレス生成回路で生成されたア
ドレスでメモリに書き込むと共に、内部IDが直接に与
えられた場合には対になるアドレスとデータとを待って
メモリに書き込むアドレス・データ出力回路とを備えた
ことを特徴とするデータフロー計算機のライトモジュー
ル。
Claim 1: A bus interface that takes in data addressed to a light module from a data bus and extracts an ID and data, and a T that converts the extracted ID into an internal ID.
RS table, an address generation circuit that generates a predetermined address when the internal ID is a specific value, and otherwise passes the internal ID as is, and an address generation circuit that generates the data extracted by the bus interface. A data flow calculator characterized by comprising an address/data output circuit that writes into the memory at an address given by the ID, and waits for a paired address and data to write into the memory when an internal ID is directly given. light module.
JP2416160A 1990-12-29 1990-12-29 Light module for data flow calculator Expired - Lifetime JP2580877B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2416160A JP2580877B2 (en) 1990-12-29 1990-12-29 Light module for data flow calculator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2416160A JP2580877B2 (en) 1990-12-29 1990-12-29 Light module for data flow calculator

Publications (2)

Publication Number Publication Date
JPH04242871A true JPH04242871A (en) 1992-08-31
JP2580877B2 JP2580877B2 (en) 1997-02-12

Family

ID=18524401

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2416160A Expired - Lifetime JP2580877B2 (en) 1990-12-29 1990-12-29 Light module for data flow calculator

Country Status (1)

Country Link
JP (1) JP2580877B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6888215B2 (en) * 2000-04-27 2005-05-03 International Business Machines Corporation Dual damascene anti-fuse with via before wire

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6888215B2 (en) * 2000-04-27 2005-05-03 International Business Machines Corporation Dual damascene anti-fuse with via before wire

Also Published As

Publication number Publication date
JP2580877B2 (en) 1997-02-12

Similar Documents

Publication Publication Date Title
KR970012203A (en) Data processing system for executing trace functions and their methods
JPS5886648A (en) Tracing device
US20020188830A1 (en) Bit replacement and extraction instructions
KR860007589A (en) Data processing device
KR970012153A (en) How to run data processor and breakpoint operations
JPH04242871A (en) Write module for data flow calculator
JPH06124207A (en) Subroutine branch instruction execution method
JP2657947B2 (en) Data processing device
JPH1165884A (en) Microcomputer and debugging method therefor
JP2622026B2 (en) Register writing control method in central processing unit
JPH04305783A (en) Microcomputer
JPH02281341A (en) Write data confirming method for debugging
JP2738683B2 (en) Data processing device
JPS63204329A (en) Pipeline processing type information processor
JPS62130437A (en) Lsi tracing system
JPH04293181A (en) Arithmetic module of data flow computer
JPS63629A (en) Data processing system
JPH023822A (en) data processing equipment
JPH0259829A (en) Microcomputer
CN114168193A (en) Instruction processing method, device and system and intelligent equipment
Chalk Fetching and Executing Instructions
JPH04287231A (en) Microprocessor
JPS61157944A (en) Microprocessor with microprogram control part
JPS6235947A (en) Controller
JPS609294B2 (en) Tracing method in electronic computers