JPS5866162A - Program evaluating and testing device - Google Patents
Program evaluating and testing deviceInfo
- Publication number
- JPS5866162A JPS5866162A JP56165518A JP16551881A JPS5866162A JP S5866162 A JPS5866162 A JP S5866162A JP 56165518 A JP56165518 A JP 56165518A JP 16551881 A JP16551881 A JP 16551881A JP S5866162 A JPS5866162 A JP S5866162A
- Authority
- JP
- Japan
- Prior art keywords
- trace
- memory
- control circuit
- address
- program
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
本発明は、一般のソフトウェア又はマイクロコンピュー
タ向きソフトウェアにて制御されるデータ処理システム
をテスト、評価、解析す−るための汎用のプログラム評
価試験装置に関するものである。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a general-purpose program evaluation test device for testing, evaluating, and analyzing data processing systems controlled by general software or software for microcomputers.
データ処理システムにおける管理ジョブ及び実時間ジョ
ブに対して、プログラマブルなロジック、制御用ソフト
ウェア、マイクロプログラム方式等を使用する傾向が高
まっている。ところで、従来、このようなデータ処理シ
ステムの評価試験はプログラムの走行経路の部分的トレ
ースにとq4す、システムの実際の動作環境下で大規模
なプログラムを有機的かつ効率的にトレースする手段は
ほとんど皆無である。There is an increasing trend toward using programmable logic, control software, microprogramming, etc. for administrative and real-time jobs in data processing systems. By the way, conventionally, evaluation tests of such data processing systems rely on partial tracing of the running path of the program.There is no means to organically and efficiently trace a large-scale program under the actual operating environment of the system. Almost none.
本発明の目的は、上記の如き従来の問題点を除去するも
のであり、被試験装置内のプログラムの走行経路情報を
効率的に測定することを可能にしたプログラム評価試験
装置を提供することにある。An object of the present invention is to eliminate the above-mentioned conventional problems, and to provide a program evaluation test device that makes it possible to efficiently measure running route information of a program in a device under test. be.
しかして本発明の特徴は、被試験装置の実行状態をテス
トするため、該被試験装置のアドレスバス、データバス
に乗る命令読出しアドレス(プログラムカウンタの値)
や命令群を実時間で順次試験装置に取り込み、試験装置
では、命令読出しアドレスにより被試験装置のプログラ
ム走行経路を逐一トレースして行くと同時に、命令群に
ついては、分岐命令その他、特定の命令についてだけト
レースするもの−である。Therefore, the feature of the present invention is that in order to test the execution state of the device under test, the instruction read address (value of the program counter) on the address bus and data bus of the device under test is used.
The test equipment sequentially imports instructions and instructions into the test equipment in real time, and the test equipment traces the program running path of the device under test one by one using the instruction read address. It is something that only traces.
以下、本発明の一実施例につき図面を用いて詳細に説明
する。Hereinafter, one embodiment of the present invention will be described in detail using the drawings.
第1図は本発明のプログラム評価試験装置の一実施例の
構成図である。第1図において、1は被試験装置であり
、一般のソフトウェア又はマイクロコンピュータ向きソ
フトウェアにて制御されるデータ処理システムが対象と
なる。2は本発明のプログラム評価試験装置であり、デ
ータ取込み用アダプタ10.インタフェース制御回路1
1、オーバレイ制御回路12、スタティックトレース制
御回路13、ダイナミックトレース制御回路14、トレ
ース用メモリ制御回路15,16、トレースメモリ17
.18、メモリ21、出力装置22などで構成される。FIG. 1 is a configuration diagram of an embodiment of a program evaluation test device of the present invention. In FIG. 1, 1 is a device under test, which is a data processing system controlled by general software or software for microcomputers. 2 is a program evaluation test device of the present invention, and a data import adapter 10. Interface control circuit 1
1. Overlay control circuit 12, static trace control circuit 13, dynamic trace control circuit 14, trace memory control circuits 15 and 16, trace memory 17
.. 18, memory 21, output device 22, etc.
次に第1図の動作を説明する。被試験装置1内のデータ
バス、アドレスバスを引き出し、それにアダプタ10を
接続することにより、被試験装置1のプログラムの走行
に従って、その命令読出しアドレス、実行命令群、オペ
ランドアドレス、オペランドデータなどが実時間で試験
装置2に取り込まれる。試験装置2のインタフェース制
御回路nはアダプタ10を通して取り込まれた上記情報
のうち、特に被試験装置1のプログラム走行状態を把握
するのに重要な命令読出しアドレスと命令を所定のタイ
ミングで次々に抽出し、トレースデータとしてスタティ
ックトレース制御回路13とダイナミックトレース制御
回路14に転送する。更に、インタフェース制御回路1
1は命令のデコード機能を有しており、被試験装置1に
おいてオーバレイ動作が発生したことを示す命令(例え
ば被試験装置個有のPot(T番号を持つOUT命令)
をデコードすると、それをオーバレイ制御回路12に通
知する。なお、オーバレイ動作については後述する。Next, the operation shown in FIG. 1 will be explained. By pulling out the data bus and address bus in the device under test 1 and connecting the adapter 10 to them, the instruction read address, execution instruction group, operand address, operand data, etc. are executed as the program in the device under test 1 runs. It is taken into the test device 2 in a timely manner. The interface control circuit n of the test device 2 sequentially extracts, at a predetermined timing, instruction read addresses and instructions that are particularly important for grasping the program running state of the device under test 1 from among the above information taken in through the adapter 10. , and transferred to the static trace control circuit 13 and the dynamic trace control circuit 14 as trace data. Furthermore, the interface control circuit 1
1 has a command decoding function, and includes an instruction indicating that an overlay operation has occurred in the device under test 1 (for example, a Pot (OUT instruction with a T number) unique to the device under test).
When decoded, the overlay control circuit 12 is notified of the decoding. Note that the overlay operation will be described later.
スタティックトレース制御回路13、メモリ制御回路1
5およびトレースメモリ17は、被試験装置1−内の被
テスト・プログラムの走行Uをトレースする系で、その
トレースメモリ17は被試験装置1内のプログラム格納
アドレスと1対1に対応するようにアドレス付けされ、
各アドレスは1ビツトで構成されている。このトレース
メモリ17の各ビットは、マイクロコンピュータ19に
より初期値として′0”が設定される。スタティックト
レース制御回路13はトレース実行時、インタフェース
制御回路11から出力される命令読出しアドレスと命令
群のうち、プログラムの走行経路を示す命令読出しアド
レスのみを所定のタイミングで検出し、逐一、該検出し
た命令読出しアドレスをメモリ制御回路15に渡す。メ
モリ制御回路15はスタティックトレース制御回路13
から命令読出しアドレスを受は取る毎に、そのアドレス
をトレースメモリ17の書込みアドレスとして、該トレ
ースメモリ17の該当番地に“1″を書き込む。Static trace control circuit 13, memory control circuit 1
5 and the trace memory 17 are a system for tracing the running U of the program under test in the device under test 1-, and the trace memory 17 has a one-to-one correspondence with the program storage address in the device under test 1. addressed and
Each address consists of 1 bit. Each bit of this trace memory 17 is set to '0' as an initial value by the microcomputer 19. During trace execution, the static trace control circuit 13 reads the instruction read address and the instruction group output from the interface control circuit 11. , detects only the instruction read address indicating the running path of the program at a predetermined timing, and passes the detected instruction read address one by one to the memory control circuit 15.The memory control circuit 15 is connected to the static trace control circuit 13.
Every time an instruction read address is received from a memory, "1" is written to the corresponding address of the trace memory 17, using that address as the write address of the trace memory 17.
第2図にトレースメモリ17のトレース・フォーマット
例を示す。すなわち、トレースメモリ17のアドレスA
i、 jは被試験装置1内のプログラムのメモリ・アド
レスと1対1に対応付けられており、Ai、 j =
1ということは、被テスト・プログラムにおける該箔メ
モリ・アドレスの命令が実行されたことを意味する。つ
まり、トレースメモリ17のトレースデータは、被試験
装置1内のプログラムの走行経路を表わしている。FIG. 2 shows an example of the trace format of the trace memory 17. That is, the address A of the trace memory 17
i, j have a one-to-one correspondence with the memory address of the program in the device under test 1, and Ai, j =
1 means that the instruction at the foil memory address in the program under test has been executed. In other words, the trace data in the trace memory 17 represents the running route of the program within the device under test 1.
一方、ダイナミックトレース制御回路14、メモリ制御
回路16およびトレースメモリ18は、被試験装置1内
の被テスト・プログラムにおける実行命令群のうち、該
プログラムの動的特性を示す分岐命令その他、特定命令
自体をその命令読出しアドレスを含めてトレースする系
である。トレースメモリ18は前記トレースメモリ17
と様子を異にし、その記憶容量は任意の大きさからなる
が、各アドレス・は命令と命令読出しアドレスからなる
トレースデータを記憶するのに必要なビット数、例えば
64ビツト(8バイト)で構成され′Cいる。このトレ
ースメモリ18 +j、マイクロコンピュータ1’)に
より初期値としてオール・ゼロが設定される。トレース
実行時、ダイナミックトレース制御回路14はインタフ
ニー ス制御回路11から出力される命令読出しアドレ
スと命令群を逐−取り込んでバッファレジスタ等に一時
格納した後、その命令をデコードし、それが分岐命令そ
の他、予め定・めた特定命令の場合は、該命令とその命
令読出しアドレスをメモリ制御回路16に渡す。メモリ
制御回路16には、例えばトレースメモリ18の書込み
アドレスを示すアドレスポインタが具備されており、ダ
イナミックトレース制御回路14から命令および命令読
出しアトミスを受は取ると、メモリ制御回路16は上記
アドレスポインタが示すトレースメモリ18のアドレス
に該命令および命令読出しアドレスをトレースデータと
して案き込み、アドレスポインタを+1する。従って、
例えばマイクロコンピュータ19によってメモリ制御回
路16のアドレスポインタを初期値として“0”に設定
しておくと、ダイナミックトレース制御回路14で検出
されたダイナミックトレースデータがメモリ18の0番
地から順次格納される。On the other hand, the dynamic trace control circuit 14, memory control circuit 16, and trace memory 18 are configured to control branch instructions and other specific instructions that indicate the dynamic characteristics of the program, among the execution instructions in the program under test in the device under test 1. This is a system that traces the instruction including its instruction read address. The trace memory 18 is similar to the trace memory 17.
However, each address consists of the number of bits necessary to store trace data consisting of an instruction and an instruction read address, for example, 64 bits (8 bytes). It's true. All zeros are set as initial values by this trace memory 18+j and microcomputer 1'). During trace execution, the dynamic trace control circuit 14 sequentially captures the instruction read address and instruction group output from the interface control circuit 11, temporarily stores it in a buffer register, etc., decodes the instruction, and uses it as a branch instruction or other instruction. , in the case of a predetermined specific instruction, the instruction and its instruction read address are passed to the memory control circuit 16. The memory control circuit 16 is equipped with an address pointer that indicates the write address of the trace memory 18, for example, and when it receives an instruction and an instruction read atomicity from the dynamic trace control circuit 14, the memory control circuit 16 indicates that the address pointer is The instruction and the instruction read address are incorporated as trace data into the indicated address of the trace memory 18, and the address pointer is incremented by 1. Therefore,
For example, if the address pointer of the memory control circuit 16 is set to "0" as an initial value by the microcomputer 19, the dynamic trace data detected by the dynamic trace control circuit 14 is sequentially stored in the memory 18 starting from address 0.
なお、トレースメモIJ 18が満杯になった場合、メ
モリ制御回路16はマイクロコンピュータ19に対シテ
起動ヲかけ、以後、マイクロコンピユー919の制御の
もとに、ダイナミックトレース制御回路14から出力さ
れるトレースデータをメモリ制御回路16経由でマイク
ロコンピュータ19が取す込み、補助メモリ21に格納
すればよい。これにより、トレースメモリ18を必要最
小限の容蔽で構成することが可能になる。Note that when the trace memo IJ 18 becomes full, the memory control circuit 16 instructs the microcomputer 19 to start up the memory, and thereafter, under the control of the microcomputer 919, the data is output from the dynamic trace control circuit 14. The trace data may be taken in by the microcomputer 19 via the memory control circuit 16 and stored in the auxiliary memory 21. This makes it possible to configure the trace memory 18 with the minimum necessary capacity.
第3図にトレースメモリ正に格納されるトレースゲータ
のフォーマット例を示す。第3図において、(a)図は
トレースメモリ18の1記瞳位置のビット構成で、こ\
では64ビツト(8バイト)からなるとしている。υ)
図はトレースメモリ18に格納するダイナミックトレー
スデータの一例である。FIG. 3 shows an example of the format of the trace gater stored in the trace memory. In FIG. 3, (a) shows the bit configuration of the first pupil position of the trace memory 18.
It is assumed that it consists of 64 bits (8 bytes). υ)
The figure shows an example of dynamic trace data stored in the trace memory 18.
(b)図中、斜線で示されている部分は未使用域を表わ
している。(b) In the figure, the shaded area represents an unused area.
以上は被試験装置1内のプログラムの全走行経路をトレ
ースメモリ17にトレースし、又、その全ダイナミック
トレースデータをトレースメモリ18に格納するとした
場合の動作である。他方、テストによっては、被試験装
置1内の走行プログラムにおける所定区域に注目し、該
区域内の走行経路等をトレースすることで足りる場合が
ある。これは、例えばスタティック、/ダイナミックト
レース制御回路13.14に、該当区域の先頭命令読出
しアドレスを指定する第1レジスタと最終命令読出しア
ドレスを指定する第2レジスタとを設け、テスト実行時
、インタフェース制御回路11から出力される命令読出
しアドレスを上記第1および第2レジスタの内容と逐一
比較し、第1レジスタと一致したら、それ以降インタフ
ェース制御回路11から出力される命令および命令読出
しアドレスをトレース用データとして有効とし、第2レ
ジスタと一致したらテストを終了することで可能である
。上記第1および第2レジスタへのアドレス指定は、操
作卓かで入力し、マイクロコンピュータ19の制御下で
スタティック、/ダイナミックトレース制御回路+3
+’ 14の該当レジスタに設定すればよい。なお、マ
イクロコンピュータ19は、これまでに説明した機能の
ほかに、インタフェース制御回路11、スタティック/
ダイナミックトレース制御回路13゜14、メモリ制御
回路+5..16などの起動・停止機能や、トレースメ
モリ17.18の記障データの出力装置nへの出力制御
機能などを有している。The above is an operation in the case where the entire running route of the program in the device under test 1 is traced to the trace memory 17, and the entire dynamic trace data is stored in the trace memory 18. On the other hand, depending on the test, it may be sufficient to focus on a predetermined area in the driving program in the device under test 1 and trace the driving route within the area. For example, the static/dynamic trace control circuits 13 and 14 are provided with a first register that specifies the first instruction read address of the corresponding area and a second register that specifies the final instruction read address, and when the test is executed, the interface control The instruction read address output from the circuit 11 is compared point by point with the contents of the first and second registers, and if it matches the first register, then the instructions and instruction read addresses output from the interface control circuit 11 are used as trace data. This can be done by making it valid as , and ending the test when it matches the second register. Addresses to the first and second registers are input from the console and are controlled by the static/dynamic trace control circuit +3 under the control of the microcomputer 19.
+' 14 can be set in the corresponding register. In addition to the functions described above, the microcomputer 19 also has the interface control circuit 11, static/
Dynamic trace control circuit 13°14, memory control circuit +5. .. It has a start/stop function such as 16 and a function to control the output of obtrusion data in the trace memory 17 and 18 to the output device n.
次にオーバレイ動作について説明する。一般にプログラ
ムは、管理プログラムや制御プログラムのように頻繁に
用いられるプログラムと、ユーザプログラムのように、
使用頻度は低いが、使用されるときは成る期間継続して
使われるプログラムとに分けられる。一方、被試験装置
1内のメモリ容lXには限度があるため、通常、該メモ
リのプログラム格納エリアを2つに分け、一方のエリア
には頻繁に用いられるプログラムを常駐させておくが、
他方のエリアには、使用頻度の低いプログラムを必要(
二応じ°C外部のファイルメモリから取り込むようにし
て、メモリの有効利用をはかつている。このプロ、ダラ
ムを常駐させるメモリエリアを常駐エリア、格納するプ
ログラムを必要に応じ一〇次々に変、t cいくメモリ
エリアをオーバレイ・エリアと云い、オーバレイ・エリ
アのプログラムを移しかえる動作がオーバレイ動作であ
る。Next, the overlay operation will be explained. In general, programs include frequently used programs such as management programs and control programs, and programs such as user programs.
It is divided into programs that are used infrequently, but when they are used, they are used continuously for a certain period of time. On the other hand, since there is a limit to the memory capacity lX in the device under test 1, the program storage area of the memory is usually divided into two areas, and frequently used programs are kept resident in one area.
The other area contains programs that are used less frequently (
By importing data from an external file memory, memory is used effectively. The memory area where Durham resides is called the resident area, and the memory area where the stored programs are changed one after another as needed is called the overlay area, and the operation of transferring programs in the overlay area is the overlay operation. It is.
第4図は被試験装置1がオーバレイ機能を有する場合の
、外部ファイルメモリと被試験装置1内のメモリと試験
装置2のスタティックトレースメモリ17の関係を示し
たものである。即ち、被試験装置1がオーバレイ機能を
有する場合、試験装置2のスタティックトレースメモリ
17は、第4図に示すように外部ファイルメモリの各モ
ジュール(プログラム・モジュール)と1対1に対応付
ける必要がある。これまでの説明は、正確には被試験装
置1のメモリにおける常駐エリアのプログラムが実行さ
れた場合に対応するもので、オーバレイ動作時には、被
試験装置1のメモリのオーバレイエリアに取り込まれる
プログラムに対応して、トレースメモ1月7のトレース
エリアを堺り分ける必要がある。以下、その動作を説明
する。FIG. 4 shows the relationship among the external file memory, the memory within the device under test 1, and the static trace memory 17 of the test device 2 when the device under test 1 has an overlay function. That is, when the device under test 1 has an overlay function, the static trace memory 17 of the test device 2 needs to be in one-to-one correspondence with each module (program module) of the external file memory, as shown in FIG. . The explanation so far corresponds to the case where the program in the resident area of the memory of the device under test 1 is executed, and corresponds to the program that is loaded into the overlay area of the memory of the device under test 1 during overlay operation. Then, it is necessary to separate the trace area of the trace memo January 7th. The operation will be explained below.
オーバレイ動作が発生すると、被試験装置1は該被試験
装置個有のP ORT番号、当該オーバレイ・モジュー
ルのファイルメモリ・アドレスなどを含むQ I+ ’
[’命令を発行して、オーバレイ・メモリエリアのプロ
グラムを入れ替える。試験装置2ツインタフ工−ス制御
回路は、このOU T 命令を検出すると、該OU T
命令およびその命令続出しアドレスをトレースデータと
し゛Cスタティック/ダイナミックトレース制御回路1
3.14へ転送することはせず、オーバレイ制御回路1
2へ送る。オーバレイ制御回路12はインタフェース制
御回路11から[”、記01JT命令を受は取ることに
より、スタティックトレース制御回路13に対して、オ
ーバレイ動作が発生したことを通知すると共に当該オー
バレイ・モジュールのファイルメモリ・アドレスを与え
る。スタティックトレース制御回路13は、オーバレイ
制御回路12から与えられたファイルメモリ・アドレス
を記憶しておき、それ以降、インタフェース制御回路1
1から命令読出しアドレスを受は取ると、該命令読出し
アドレスと共に上記ファイルメモリ・アドレスもメモリ
制御回路15に渡す。When an overlay operation occurs, the device under test 1 receives QI+', which includes the PORT number unique to the device under test, the file memory address of the overlay module, etc.
['Issue the command to replace the program in the overlay memory area. When the test equipment 2 twin tough factory control circuit detects this OUT command, it
C static/dynamic trace control circuit 1 uses an instruction and its successive instruction address as trace data.
3. Overlay control circuit 1 without transferring to 14
Send to 2. The overlay control circuit 12 receives the ['', 01JT command from the interface control circuit 11, and notifies the static trace control circuit 13 that an overlay operation has occurred, and also updates the file memory of the overlay module. The static trace control circuit 13 stores the file memory address given from the overlay control circuit 12, and from then on, the static trace control circuit 13 stores the file memory address given from the overlay control circuit 12.
When the instruction read address is received from 1, the file memory address is also passed to the memory control circuit 15 along with the instruction read address.
メモリ制御回路15はスタティックトレース制御回路1
3から命令読出しアドレスとファイルメモリ・−アドレ
スを受は取る毎に、そのファイルメモリ・アドレスでト
レースメモリ17内の当該オーバレイ・モジュールに対
応するトレースエリアを選択し、命令読出しアドレスを
該トレースエリア内の書込みアドレスとして1”を書き
込む。すなわち、トレースメモリ17には各オーバレイ
・モジュール別に、そのプログラム走行経路がトレース
される。The memory control circuit 15 is the static trace control circuit 1
Each time an instruction read address and a file memory address are received from 3, the trace area corresponding to the overlay module in the trace memory 17 is selected with that file memory address, and the instruction read address is placed within the trace area. 1" is written as the write address of . That is, the program running path is traced in the trace memory 17 for each overlay module.
一方、ダイナミックトレース制御回路14(二対しては
、オーバレイ制御回路12はインタフェース制御回路1
1から受は取ったOUT命令およびその命令読出しアド
レスをそのま\渡す。ダイナミックトレース制御回路1
4は、オーバレイ制御回路12からのOU T命令をデ
コードし、その結果、トレース必要おりということで分
岐命令等の場合と同様に該OUT命令およびその命令読
出しアドレスをメモリ制御回路16(=渡す。メモリ制
御回路16は、その時のアドレスポインタが示すトレー
スメモリ18のアドレスに上記OUT命令とその命令読
出しアドレスを格納する。、第3図(b)のオーバレイ
動作。On the other hand, the dynamic trace control circuit 14 (with respect to the overlay control circuit 12 and the interface control circuit 1)
From 1, the receiver passes the received OUT instruction and its instruction read address as is. Dynamic trace control circuit 1
4 decodes the OUT instruction from the overlay control circuit 12, and as a result, it passes the OUT instruction and its instruction read address to the memory control circuit 16 (== as in the case of a branch instruction, etc.) because tracing is necessary. The memory control circuit 16 stores the OUT instruction and its instruction read address at the address of the trace memory 18 indicated by the address pointer at that time.The overlay operation shown in FIG. 3(b).
表示トレースはこれを示したものである。すなわち、ダ
イナミックトレース制御回路14、メモリ制御回路16
、トレースメモリ18の動作は、分岐命令等が検出され
た場合と同じである。The display trace shows this. That is, the dynamic trace control circuit 14 and the memory control circuit 16
, the operation of the trace memory 18 is the same as when a branch instruction or the like is detected.
なお、被試験装置1がオーバレイ機能を持たない場合に
はオーバレイ制御回路12を不動作とすればよい。Note that if the device under test 1 does not have an overlay function, the overlay control circuit 12 may be made inactive.
以上の説明から明らかな如く、本発明によるプログラム
評価試験装置によれば、次のような効果が得られる。As is clear from the above description, the program evaluation test device according to the present invention provides the following effects.
(1) 被測定プログラムの動的解析を容易にし、ま
たテストされた区域とそうでないものとが明確になり、
かつテストの完備性、妥当性を評価できる。(1) Facilitates dynamic analysis of the program under test, and makes it clear which areas are tested and which are not.
It is also possible to evaluate the completeness and validity of the test.
(2) データの収集を実時間に行なえることにより
、被測定プログラムの動的特性を損なわない評価試験が
可能となる。(2) By being able to collect data in real time, it becomes possible to perform evaluation tests that do not impair the dynamic characteristics of the program under test.
(3)従来のプログラム・テスト手法の工程が明確にな
り、かつ被試験プログラムの潜在不良摘出に役立つこと
から、被試験プログラムの品質向トが望める。(3) Since the process of the conventional program testing method becomes clear and is useful for identifying potential defects in the program under test, it is expected that the quality of the program under test will be improved.
第1図は本発明の一実施例のブロック図、第2図はスタ
ティックトレース・フォーマント例を示す図、第3図は
ダイナミックトレースメモリのピント構成とそのトレー
スフォーマット例を示す図、第4図はオーバレイ動作を
説明するためのメモリ階層構造を示す図である。
1・・・被試験装置、2・・・プログラム評価試験装置
、10・・・アダプタ、11・・・インタフェース制御
回路、12・・・オーバレイ制御回路、13・・・スタ
ティックトレース制御回路、14・・・ダイナミックト
レース制御回路、15.16・・・メモリ制御回路、1
7.18・・・トレースメモIJ 、 +9・・・マイ
クロコンピュータ、Δ)・・・操作車、21・・補助メ
モリ、n・・・出力装置。
代理人 弁理士 鈴 木 誠°、1、、−、I
ゝ・、−一′
第1図
第2図
i
第3図
(d)
(bン
第 4 図FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a diagram showing an example of a static trace formant, FIG. 3 is a diagram showing an example of the focus structure of a dynamic trace memory and its trace format, and FIG. 4 is a diagram showing an example of a static trace formant. FIG. 2 is a diagram showing a memory hierarchical structure for explaining overlay operation. DESCRIPTION OF SYMBOLS 1... Device under test, 2... Program evaluation test device, 10... Adapter, 11... Interface control circuit, 12... Overlay control circuit, 13... Static trace control circuit, 14... ...Dynamic trace control circuit, 15.16...Memory control circuit, 1
7.18...Trace memo IJ, +9...Microcomputer, Δ)...Operation vehicle, 21...Auxiliary memory, n...Output device. Agent Patent Attorney Makoto Suzuki °, 1, -, I ゝ・, -1' Figure 1 Figure 2 i Figure 3 (d) (b Figure 4)
Claims (1)
ログラムの走行状況を、該被試験装置の動作環境下で測
定するプログラム評価試験装置において、該試験装置を
前記被試験装置に接続するアダプタと、第1および第2
トレースメモリと、前記アダプタを通して到来する前記
被試験装置内の命令読出しアドレスや命令群を抽出する
手段と、前記抽出された命令読出しアドレスを前記第1
トレースメモリの書込みアドレスとし、該第1トレース
メモリの該当番地に′l”を記憶する手段と、前記抽出
された命令群のうちからプログラムの動的特性を示す分
岐命令その他、特定命令のみを前記第2トレースメモリ
に順次記憶する手段と、前記各手段の動作を制御する制
御手段とを具備していることを特徴とするプログラム評
価試験装置。1. In a program evaluation test device that measures the running status of a program of an information processing system (hereinafter referred to as the device under test) under the operating environment of the device under test, an adapter that connects the test device to the device under test; , first and second
a trace memory, a means for extracting an instruction read address or a group of instructions in the device under test that arrives through the adapter, and a means for extracting the extracted instruction read address from the first
means for storing 'l' at the corresponding address of the first trace memory as a write address of the trace memory; A program evaluation test device comprising means for sequentially storing data in a second trace memory, and control means for controlling operations of each of the means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56165518A JPS5866162A (en) | 1981-10-16 | 1981-10-16 | Program evaluating and testing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56165518A JPS5866162A (en) | 1981-10-16 | 1981-10-16 | Program evaluating and testing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5866162A true JPS5866162A (en) | 1983-04-20 |
| JPS6212541B2 JPS6212541B2 (en) | 1987-03-19 |
Family
ID=15813909
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP56165518A Granted JPS5866162A (en) | 1981-10-16 | 1981-10-16 | Program evaluating and testing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5866162A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6049445A (en) * | 1983-08-29 | 1985-03-18 | Indeeta Syst Kk | Debug device of microprocessor or the like |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS55118157A (en) * | 1979-03-06 | 1980-09-10 | Hitachi Ltd | Program tracing system |
| JPS5617449A (en) * | 1979-07-20 | 1981-02-19 | Fujitsu Ltd | Transit address confirmation system |
-
1981
- 1981-10-16 JP JP56165518A patent/JPS5866162A/en active Granted
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS55118157A (en) * | 1979-03-06 | 1980-09-10 | Hitachi Ltd | Program tracing system |
| JPS5617449A (en) * | 1979-07-20 | 1981-02-19 | Fujitsu Ltd | Transit address confirmation system |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6049445A (en) * | 1983-08-29 | 1985-03-18 | Indeeta Syst Kk | Debug device of microprocessor or the like |
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6212541B2 (en) | 1987-03-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6539500B1 (en) | System and method for tracing | |
| KR960011613A (en) | Data processing device | |
| US6484273B1 (en) | Integrated EJTAG external bus interface | |
| CN114610557B (en) | Method and device for testing equipment driving unit | |
| JPS5866162A (en) | Program evaluating and testing device | |
| US7051237B2 (en) | Program-controlled unit | |
| EP0059758A1 (en) | Numerical control unit | |
| CN114880269B (en) | Board ID configuration and identification method, microcontroller and control system | |
| JPH0581087A (en) | Processor monitoring system | |
| JPH04190430A (en) | Emulator for software development | |
| CN117811939B (en) | Remote terminal simulation method based on 1553B bus | |
| KR100273280B1 (en) | Debugging logic control circuit | |
| JP2915944B2 (en) | Coverage measurement method and microcomputer | |
| JPS59158450A (en) | Program test device | |
| JPH06348540A (en) | Circuit and method for tracing program | |
| JPH0324640A (en) | Debugging system for information processor | |
| JPH047754A (en) | Microcomputer | |
| JPH0322041A (en) | Real-time tracer | |
| JPH01274252A (en) | Activity history memory | |
| JPS6053892B2 (en) | processing equipment | |
| JPH01296355A (en) | Data processor | |
| JPH02197933A (en) | Tracer system | |
| JPH03241436A (en) | Testing device and memory writing method for information processor | |
| JPH056294A (en) | Dump sampling system | |
| JPH0272443A (en) | Data processor |