JP3206559B2 - Software evaluation system - Google Patents
Software evaluation systemInfo
- Publication number
- JP3206559B2 JP3206559B2 JP24548798A JP24548798A JP3206559B2 JP 3206559 B2 JP3206559 B2 JP 3206559B2 JP 24548798 A JP24548798 A JP 24548798A JP 24548798 A JP24548798 A JP 24548798A JP 3206559 B2 JP3206559 B2 JP 3206559B2
- Authority
- JP
- Japan
- Prior art keywords
- address
- branch
- unit
- software
- evaluation system
- 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
- 238000011156 evaluation Methods 0.000 claims description 14
- 238000010586 diagram Methods 0.000 description 5
- 238000005259 measurement Methods 0.000 description 3
- 230000000630 rising effect Effects 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
Landscapes
- Debugging And Monitoring (AREA)
Description
【0001】[0001]
【発明の属する技術分野】本発明はソフトウェア評価シ
ステムに関し、特に、評価対象プログラム中のサブルー
チンプログラムの呼び出し動作に際し、仕様通りのサブ
ルーチンプログラムが呼び出されているか、仕様通りの
回数呼び出されているかを確認し、対象プログラムの仕
様と相違があった場合に、対象プログラムの不正箇所を
判定するための時間を短縮することを可能としたソフト
ウェア評価システムに関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a software evaluation system, and in particular, confirms whether a subroutine program is called as specified or called as many times as specified when a subroutine program in an evaluation target program is called. In addition, the present invention relates to a software evaluation system capable of shortening the time for determining an illegal part of a target program when there is a difference from the specification of the target program.
【0002】[0002]
【従来の技術】従来のこの種のソフトウェア評価システ
ムとして、評価対象となるプログラムが複数のモジュー
ルから構成されており、そのうち1つのモジュールが他
の複数のモジュールからアクセスがある構成になってい
る場合に、当該対象プログラム中のサブルーチンプログ
ラムの呼び出し動作に際して、仕様通りのサブルーチン
プログラムが呼び出されているか、仕様通りの回数呼び
出されているかを確認し、対象プログラムの仕様と相違
があった場合に、対象プログラムの不正箇所を判定する
ことを可能にした評価システムが要求されている。この
ような評価システムとして、図4のブロック図に示すも
のがある。同図において、比較部404は図外のホスト
から指定された特定アドレスを保持し、評価対象プログ
ラムを実行する図外のCPUからのアドレスとの比較を
行ないCOMPを制御部401に出力する。また、制御
部401にはCPUからのアドレス、分岐命令を示す信
号のJUMP、ホストアドレス、ホストデータが入力さ
れる。そして、カウンタ(CNT)402に対して後述
する各種信号を出力し、CNT402において分岐命令
の実行数のカウントを行う。また、メモリ403は分岐
命令のカウント数を記録する。2. Description of the Related Art As a conventional software evaluation system of this type, a program to be evaluated is composed of a plurality of modules, one of which is accessed by a plurality of other modules. In the call operation of the subroutine program in the target program, it is checked whether the subroutine program according to the specification has been called or called as many times as the specification, and if there is a difference from the specification of the target program, the target There is a need for an evaluation system that enables the determination of unauthorized portions of a program. Such an evaluation system is shown in a block diagram of FIG. In the figure, a comparison unit 404 holds a specific address specified by a host (not shown), compares it with an address from a CPU (not shown) that executes the evaluation target program, and outputs COMP to the control unit 401. The control unit 401 receives an address from the CPU, a JUMP of a signal indicating a branch instruction, a host address, and host data. Then, various signals described later are output to the counter (CNT) 402, and the CNT 402 counts the number of executed branch instructions. The memory 403 records the count number of the branch instruction.
【0003】すなわち、図4のシステムでは、予め指定
しておいた特定アドレスと同じアドレスがCPUから比
較部404に入力されると、前記比較部404の出力で
あるCOMPが有効となる。そして、分岐命令が実行さ
れた事を示す信号であるJUMPと前記COMPが制御
部401に入力されることにより、指定しておいた分岐
命令のカウントを開始する。メモリ403のアドレス
「A」は、評価システム上にマッピングされたアドレス
であり、データ「D」は、計測開始時は「1」が書き込
まれる。このような特定アドレスへの分岐が2回目以降
も実行されると、、制御部401からのCONTUP信
号が有効となり、制御部401はメモリ403のそのと
きのデータであるDbakを読み込み、Dorgとして
CNT403に渡す。CNT402は有効となったCO
NTUPにより+1されたデータを「D」としてメモリ
403に書き込む。したがって、メモリ403には、特
定アドレスに対する分岐命令の実行数が記録されること
になる。That is, in the system shown in FIG. 4, when the same address as a specific address specified in advance is input from the CPU to the comparison unit 404, the COMP output from the comparison unit 404 becomes valid. Then, when a signal indicating that the branch instruction has been executed, JUMP, and the COMP are input to the control unit 401, the counting of the designated branch instruction is started. The address “A” of the memory 403 is an address mapped on the evaluation system, and “1” is written as data “D” at the start of measurement. When the branch to the specific address is performed for the second time and thereafter, the CONTUP signal from the control unit 401 becomes valid, and the control unit 401 reads the Dbak, which is the data at that time, in the memory 403 and sets the CNT 403 as a Dorg. Pass to. CNT402 becomes effective CO
The data incremented by NTUP is written to the memory 403 as “D”. Therefore, the number of executed branch instructions for a specific address is recorded in the memory 403.
【0004】[0004]
【発明が解決しようとする課題】このように従来の評価
システムでは、分岐後の特定アドレスを決めて、その特
定アドレスに対して何回アクセスあったかだけを計測し
ているため、対象プログラムでの動作結果が仕様と異な
った場合に、どこに不正があったかを特定するのに多大
な時間を必要とすることになる。すなわち、評価対象と
なるプログラムが複数のモジュールから構成されてお
り、そのうち1つのモジュールが他の複数のモジュール
からアクセスがある構成になっている場合、前記した特
定アドレスを当該1つのモジュールの先頭アドレスとし
て計測を行うと、当該1つのモジュールに何回アクセス
があったかは計測可能であるが、計測結果が仕様と異な
る場合に、どこからアクセスがあったか、またそれが何
回であったか、どこからのアクセスが無かったかを判定
することができず、したがって不正を特定するためには
例えば1つのアクセス毎に計測を行いながら不正を判定
する必要があり、多大な時間を要することになる。As described above, in the conventional evaluation system, a specific address after branching is determined and only how many times the specific address has been accessed is measured. If the result differs from the specification, it takes a lot of time to identify where the fraud was. That is, when the program to be evaluated is composed of a plurality of modules, and one of the modules is accessed by a plurality of other modules, the above-described specific address is replaced by the head address of the one module. When the measurement is performed as follows, it is possible to measure how many times the one module has been accessed, but if the measurement result is different from the specification, where the access was made, how many times it was performed, and where the access was made Cannot be determined. Therefore, in order to specify the fraud, it is necessary to determine the fraud while measuring, for example, for each access, which takes a lot of time.
【0005】本発明の目的は、評価対象プログラムでの
動作結果が仕様と異なった場合にその不正を迅速に判定
することを可能にしたソフトウェア評価システムを提供
することにある。[0005] It is an object of the present invention to provide a software evaluation system capable of promptly judging an illegal result when an operation result of a program to be evaluated differs from a specification.
【0006】[0006]
【課題を解決するための手段】本発明は、評価対象のプ
ログラム上におけるサブルーチンプログラムの呼び出し
回数を確認する手段と、前記サブルーチンプログラムの
分岐元アドレスを確認する手段と、確認した前記分岐元
アドレス毎にその呼び出し回数を記憶する手段とを備え
ることを特徴としている。すなわち、評価対象のソフト
ウェアに基づく動作を実行するCPUと、前記CPUか
ら出力される分岐命令を受けてそのときのアドレスとホ
ストにより指定される分岐先の特定アドレスとを比較す
る比較部と、前記比較部が前記アドレスの一致を検出し
たときに前記分岐命令を出力したときの分岐元のアドレ
スを保持する保持部と、前記保持部から入力される分岐
元のアドレスを記憶するメモリ部と、前記メモリ部に入
力される前記分岐元のアドレスの回数をカウントするカ
ウンターとを備え、前記メモリ部は、前記カウンターで
カウントした値を前記分岐元のアドレスに対応する領域
毎に記憶するように構成したことを特徴とする。The present invention SUMMARY OF THE INVENTION includes means to check the number of calls subroutine program on evaluation object program, means for confirming the branch source address of the subroutine program, the branch source address every confirmed And means for storing the number of calls. That is, a CPU that executes an operation based on software to be evaluated, a comparing unit that receives a branch instruction output from the CPU and compares an address at that time with a specific address of a branch destination specified by the host, A holding unit for holding a branch source address when the comparing unit detects the address match and outputting the branch instruction, a memory unit for storing a branch source address input from the holding unit, A counter that counts the number of addresses of the branch source input to the memory unit, wherein the memory unit stores a value counted by the counter in an area corresponding to the address of the branch source.
It is characterized in that it is configured to be stored every time .
【0007】ここで、前記メモリ部に記憶されたカウン
ト値が所定の値にまで到達したときに前記カウンターに
おける以降のカウント動作を無効とするデコーダを備え
ることが好ましい。また、前記メモリ部は、前記評価対
象ソフトウェア上の分岐元アドレスを当該メモリ部のア
ドレスとして設定し、この設定されたメモリ部内のアド
レスに前記カウンターのカウント値を記憶する構成とす
ることが好ましい。Here, it is preferable that a decoder be provided which invalidates the subsequent counting operation of the counter when the count value stored in the memory section reaches a predetermined value. Further, it is preferable that the memory unit sets a branch source address on the evaluation target software as an address of the memory unit, and stores the count value of the counter at the set address in the memory unit.
【0008】本発明によれば、評価対象のプログラムに
おける分岐命令の分岐元アドレスと、その分岐元アドレ
ス毎の分岐回数を確認かつ記憶することにより、どこか
らアクセスがあったか、またそれが何回であったか、ど
こからのアクセスが無かったかを判定することができる
ようになり、実際のプログラム動作がどのような経路で
実行されたのかを明確化して、仕様(期待値)と異なっ
た分岐を行った場合の問題点の発見にかかる時間を大幅
に短縮することが可能となる。According to the present invention, the branch source address of the branch instruction in the program to be evaluated and the branch source address thereof
By confirming and storing the number of branches for each program, it is possible to determine where access has been made, how many times it has been performed, and where no access has been made. It is possible to clarify whether the execution has been performed on the path, and to significantly reduce the time required for finding a problem when a branch different from the specification (expected value) is taken.
【0009】[0009]
【発明の実施の形態】次に、本発明の実施形態を図面を
参照して説明する。図1は本発明の評価システムのブロ
ック図である。CPU101は評価対象プログラムの実
行部である。保持部102は前記CPU101からのプ
ログラムリードストローブ信号(PRD)と同期して、
1命令前のアドレスを保持する。比較部103は、ホス
ト(スーパーバイザー)から指定されたアドレスと、前
記CPU101からのアドレス及び分岐命令とを比較
し、一致した場合にCOMP信号を同期部104へ出力
する。前記同期部104は、バスサイクルを前半と後半
に分けてメモリに対するリードストローブ信号(MR
D)とライトストローブ信号(MWR)を生成する。メ
モリ部105は、呼び出しアドレスに対応した呼び出し
回数を保持する。デコーダ部106は、前記メモリ部1
05からのDOUT信号の値が全て「1」となった場
合、つまりメモリで保持できる最大値となった場合にM
AX信号を出力する。カウンター部107は、前記メモ
リ部105において呼び出し元アドレスがリードタイミ
ングで読み込まれるたびに前記メモリ部105に対して
+1されたデータを出力する。もし、デコーダ部106
からのMAX信号が有効な場合には、+1動作は行わず
にそのままメモリ部105に書き戻す。この図1にはシ
ステム全体を制御するホストCPUに関連する部分は示
していないが、当然システムを制御する上では必要とな
る。Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of the evaluation system of the present invention. The CPU 101 is an execution unit of the program to be evaluated. The holding unit 102 synchronizes with a program read strobe signal (PRD) from the CPU 101,
Holds the address one instruction before. The comparing unit 103 compares the address specified by the host (supervisor) with the address and the branch instruction from the CPU 101, and outputs a COMP signal to the synchronizing unit 104 when they match. The synchronizer 104 divides a bus cycle into a first half and a second half to read a strobe signal (MR) for a memory.
D) and a write strobe signal (MWR). The memory unit 105 holds the number of calls corresponding to the call address. The decoder unit 106 includes the memory unit 1
When all the values of the DOUT signal from D05 become "1", that is, when the maximum value that can be held in the memory is reached, M
An AX signal is output. The counter unit 107 outputs +1 to the memory unit 105 each time the caller address is read at the read timing in the memory unit 105. If the decoder unit 106
If the MAX signal from is valid, the data is written back to the memory unit 105 without performing the +1 operation. Although FIG. 1 does not show a portion related to the host CPU that controls the entire system, it is naturally necessary for controlling the system.
【0010】前記システムの動作を図2のタイミングチ
ャートを参照して説明する。まず、保持部102におい
てCPU101がフェッチ動作を行うPRD(204)
のタイミングで、現在のバスサイクルアドレス(20
3)を次のバスサイクルの間だけ保持する。同時に比較
部103ではCPU101からの呼び出し命令を実行し
たことを示す分岐命令が有効でかつ、予め設定したホス
ト(スーパーバイザー)からの指定アドレスとCPU1
01からのアドレスの比較が一致した場合、つまり分岐
命令によって呼び出されたアドレスであると判断した場
合、COMP信号(205)を現在の1バスサイクルだ
け有効にする。つまり、COMP信号(205)が有効
な時の保持部102の値は呼び出し元アドレス(20
3)となり、メモリ部105のアドレス端子には呼び出
し元アドレスが入力される。同期部104では、COM
P信号(205)が有効でかつバスサイクルの前半部
(リードサイクルと定義する)では、メモリリードスト
ローブ信号であるMRD(206)のみを有効とし、後
半部(ライトサイクルと定義する)ではメモリライトス
トローブ信号であるMWR(207)のみ有効とする。
ここでは、CPU動作クロック(201)は1バスサイ
クルあたり2クロックとし、メモリ部105の内容を+
1にインクリメントするのに無理の無いタイミングを生
成させている。本発明は1バスサイクル中に2つ以上の
期間あれば動作可能であり、1バスサイクルが1クロッ
クのものであっても、そのCPUを2倍のクロックにす
ることによって容易に実現できる。The operation of the system will be described with reference to the timing chart of FIG. First, the PRD (204) in which the CPU 101 performs a fetch operation in the holding unit 102
At the timing of the current bus cycle address (20
3) is held only during the next bus cycle. At the same time, in the comparing unit 103, the branch instruction indicating that the call instruction from the CPU 101 has been executed is valid, and the specified address from the host (supervisor) and the CPU
When the comparison of the addresses from 01 coincides, that is, when it is determined that the address is called by the branch instruction, the COMP signal (205) is made valid only for the current one bus cycle. That is, when the COMP signal (205) is valid, the value of the holding unit 102 is the caller address (20
3), and the caller address is input to the address terminal of the memory unit 105. In the synchronization unit 104, the COM
The P signal (205) is valid, and in the first half of the bus cycle (defined as a read cycle), only the memory read strobe signal MRD (206) is valid, and in the second half (defined as a write cycle), a memory write is performed. Only the strobe signal MWR (207) is valid.
Here, the CPU operation clock (201) is two clocks per bus cycle, and the content of the memory unit 105 is +
The timing which is reasonable to increment to 1 is generated. The present invention can operate as long as there are two or more periods in one bus cycle. Even if one bus cycle has one clock, the present invention can be easily realized by making the CPU double the clock.
【0011】次に、MRD(206)によってメモリ部
105のDOUTから出力されたメモリ値は、カウンタ
ー部107にてMRD(206)の立ち上がりエッジの
タイミングで+1され、その+1された値はそのままメ
モリ部105のDINへ入力される。そしてMWR(2
07)の立ち上がりエッジタイミングで再度、同一アド
レスへの書き込みを行う。ただし、MAX信号が有効の
場合、+1動作は行わず、そのままDOUTへ入力す
る。デコーダ部106は、メモリ部105からのDOU
T信号の値が全て「1」となった場合にMAX信号を出
力する。これは呼び出し回数がメモリ部105の保持で
きる値を超えた場合にメモリ部105が保持できる最大
値のまま保持させるためである。この一連の動作によ
り、メモリ部105には呼び出し元アドレスをアドレス
値、その内容に呼び出し回数を保持することが可能とな
る。Next, the memory value output from the DOUT of the memory unit 105 by the MRD (206) is incremented by one at the timing of the rising edge of the MRD (206) in the counter unit 107, and the incremented value is stored in the memory as it is. The data is input to the DIN of the unit 105. And MWR (2
At the rising edge timing of 07), writing to the same address is performed again. However, when the MAX signal is valid, the +1 operation is not performed and the signal is directly input to DOUT. The decoder unit 106 receives the DOU from the memory unit 105.
When all the values of the T signal become “1”, a MAX signal is output. This is because when the number of calls exceeds the value that the memory unit 105 can hold, the maximum value that the memory unit 105 can hold is held. With this series of operations, the memory unit 105 can hold the caller address as the address value and the contents as the call count.
【0012】前記実施形態に適用される本発明における
評価対象プログラムソースを図3(a)に、メモリ部1
05のマッピングの例を図3(b)にそれぞれ示す。図
3(a)に示すプログラムは100番地からプログラム
が実行された場合、COUNTに「5」がセットされ、
COUNTがDEC命令によってデクリメントされ、
「0」になるまでBNZ命令によりループするプログラ
ムである。また、メインルーチンの200番地からサブ
ルーチンであるSUB−Aへ、300番地からはSUB
−Bに分岐する仕様となっている。仕様通りに動作する
ことを仮定すると、サブルーチンであるSUB−AとS
UB−Bはそれぞれ4回ずつ呼び出され、図3(b)の
ように200番地に「4」と300番地に「4」のデー
タが書かれていることになる。もし、SUB−A、SU
B−Bがここに示したプログラム以外から呼び出されて
いる場合、その呼び出し元アドレス部に「0」以外が保
持されていることになる。このような場合、メモリ部1
05の内容を確認することによって、仕様と異なるアド
レスからの分岐や、呼び出されているサブルーチンの回
数が異なることを容易に特定できることになる。FIG. 3A shows a program source to be evaluated in the present invention applied to the above-described embodiment.
FIG. 3 (b) shows an example of the mapping of the image data 05. When the program shown in FIG. 3A is executed from address 100, "5" is set in COUNT,
COUNT is decremented by the DEC instruction,
This is a program that loops by the BNZ instruction until it becomes "0". Also, from address 200 of the main routine to SUB-A which is a subroutine, from address 300, SUB-A
-B. Assuming that it operates as specified, the subroutines SUB-A and S
Each of UB-B is called four times, and as shown in FIG. 3B, "4" is written at address 200 and "4" is written at address 300. If SUB-A, SU
When BB is called from a program other than the program shown here, a value other than "0" is held in the caller address portion. In such a case, the memory unit 1
By checking the contents of the subroutine 05, it is possible to easily specify a branch from an address different from the specification or a difference in the number of called subroutines.
【0013】なお、本発明においては、前記した実施形
態における分岐を、例えば割り込み信号に変えた場合
は、同様に割り込まれた元アドレスがメモリに記述され
るため、プログラム中のどの処理中に割り込みが発生し
ているかを確認することができる。なお、このような割
り込みは非同期での動作のため、図4に示したような従
来の技術ではその確認は不可能である。In the present invention, when the branch in the above embodiment is changed to, for example, an interrupt signal, the interrupted original address is similarly described in the memory. Can be confirmed. Since such an interrupt is an asynchronous operation, it cannot be confirmed by the conventional technique as shown in FIG.
【0014】[0014]
【発明の効果】以上説明したように本発明は、分岐元の
アドレスと、その分岐元アドレス毎の分岐回数を判定す
ることが可能であるため、評価対象プログラム中のある
特定プログラム部分の分岐命令において、予期しない動
作をした場合、その部分がどこから、どれくらいの回数
呼び出されているかを簡単に判断でき、問題点の発見が
容易になる。特に、分岐元アドレス毎にその呼び出し回
数を記録することで、通常アセンブラやC言語またはコ
ンパイラが内蔵している呼び出しクロスリファレンス表
との比較を簡単に行うことができ、仕様と相違を比較す
る作業を速やかに行うことができる。また、それらに相
違があった場合でも、簡単にその相違を発見できる。As described above, according to the present invention, it is possible to determine the address of a branch source and the number of branches for each branch source address. In the above, when an unexpected operation is performed, it is possible to easily determine from where and how many times the part is called, and it becomes easy to find a problem. In particular, by recording the number of calls for each branch source address, it is possible to easily compare with the call cross-reference table that is usually built in assembler, C language or compiler, and to compare specifications and differences Can be performed promptly. Further, even if there is a difference between them, the difference can be easily found.
【図1】本発明の評価システムのブロック図である。FIG. 1 is a block diagram of an evaluation system of the present invention.
【図2】図1のシステムの動作を説明するためのタイミ
ング図である。FIG. 2 is a timing chart for explaining the operation of the system of FIG. 1;
【図3】評価プログラムとメモリマップを示す図であ
る。FIG. 3 is a diagram showing an evaluation program and a memory map.
【図4】従来の評価システムの一例のブロック図であ
る。FIG. 4 is a block diagram of an example of a conventional evaluation system.
101 CPU 102 保持部 103 比較部 104 同期部 105 メモリ部 106 デコーダ 107 カウンタ 101 CPU 102 holding unit 103 comparing unit 104 synchronizing unit 105 memory unit 106 decoder 107 counter
───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭60−27961(JP,A) 特開 平4−42330(JP,A) 特開 平5−100903(JP,A) 特開 昭64−10347(JP,A) 特開 昭61−34635(JP,A) 特開 平4−102940(JP,A) 特開 平3−119435(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 11/28 - 11/36 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-60-27961 (JP, A) JP-A-4-42330 (JP, A) JP-A-5-100903 (JP, A) JP-A 64-64 10347 (JP, A) JP-A-61-34635 (JP, A) JP-A-4-102940 (JP, A) JP-A-3-119435 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) G06F 11/28-11/36
Claims (4)
み出しプログラムを含むソフトウェアを対象とし、当該
ソフトウェアにおける前記サブルーチンプログラムの読
み出し動作が仕様通りに行われているか否かを判定する
ための評価システムであって、前記サブルーチンプログ
ラムの呼び出し回数を確認する手段と、前記サブルーチ
ンプログラムの分岐元アドレスを確認する手段と、確認
した前記分岐元アドレス毎にその呼び出し回数を記憶す
る手段とを備えることを特徴とするソフトウェア評価シ
ステム。1. An evaluation system for at least software including a reading program of a subroutine program, wherein the evaluation system determines whether or not the reading operation of the subroutine program in the software is performed as specified. A software evaluation system comprising: means for confirming the number of calls of a program; means for confirming a branch source address of the subroutine program; and means for storing the number of calls for each confirmed branch source address.
実行するCPUと、前記CPUから出力される分岐命令
を受けてそのときのアドレスとホストにより指定される
分岐先の特定アドレスとを比較する比較部と、前記比較
部が前記アドレスの一致を検出したときに前記分岐命令
を出力したときの分岐元のアドレスを保持する保持部
と、前記保持部から入力される分岐元のアドレスを記憶
するメモリ部と、前記メモリ部に入力される前記分岐元
のアドレスの回数をカウントするカウンターとを備え、
前記メモリ部は、前記カウンターでカウントした値を前
記分岐元のアドレスに対応する領域毎に記憶するように
構成したことを特徴とするソフトウェア評価システム。2. A CPU that executes an operation based on software to be evaluated, and a comparing unit that receives a branch instruction output from the CPU and compares an address at that time with a specific address of a branch destination specified by the host. A holding unit for holding a branch source address when the branch unit outputs the branch instruction when the comparison unit detects a match of the address, and a memory unit for storing a branch source address input from the holding unit And a counter that counts the number of addresses of the branch source input to the memory unit,
The software evaluation system, wherein the memory unit stores the value counted by the counter for each area corresponding to the address of the branch source.
ント値が所定の値にまで到達したときに前記カウンター
における以降のカウント動作を無効とするデコーダを備
える請求項2に記載のソフトウェア評価システム。3. A decoder according to claim 2, further comprising a decoder for invalidating a subsequent count operation of said counter when the count value of each area stored in said memory section reaches a predetermined value. Software evaluation system as described.
ェア上の分岐元アドレスを当該メモリ部のアドレスとし
て設定し、この設定されたメモリ部内のアドレスに前記
カウンターのカウント値を記憶する請求項2又は3に記
載のソフトウェア評価システム。4. The memory unit sets a branch source address on the evaluation target software as an address of the memory unit, and stores a count value of the counter at the set address in the memory unit. 3. The software evaluation system according to 3.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP24548798A JP3206559B2 (en) | 1998-08-31 | 1998-08-31 | Software evaluation system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP24548798A JP3206559B2 (en) | 1998-08-31 | 1998-08-31 | Software evaluation system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2000076096A JP2000076096A (en) | 2000-03-14 |
| JP3206559B2 true JP3206559B2 (en) | 2001-09-10 |
Family
ID=17134400
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP24548798A Expired - Fee Related JP3206559B2 (en) | 1998-08-31 | 1998-08-31 | Software evaluation system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3206559B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2010244393A (en) * | 2009-04-08 | 2010-10-28 | Renesas Electronics Corp | Performance evaluation apparatus and performance evaluation method |
-
1998
- 1998-08-31 JP JP24548798A patent/JP3206559B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2000076096A (en) | 2000-03-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR930016880A (en) | Electronic device and its fixing information | |
| CN1125400C (en) | Signal processing apparatus | |
| EP0530816A2 (en) | Microprocessor with cache memory and trace analyzer therefor | |
| JP3206559B2 (en) | Software evaluation system | |
| US5386521A (en) | Instruction prefetching circuit with a next physical address precalculating circuit | |
| JP2001175500A (en) | Trace method of in-circuit emulator, recording medium recording trace procedure, and trace circuit | |
| JP3923010B2 (en) | Memory control circuit | |
| JP2591432B2 (en) | Trace device | |
| CN120256340B (en) | Hardware-based memory access pattern recognition device and method | |
| JP2751822B2 (en) | Memory control method for FIFO memory device | |
| JP2795310B2 (en) | Memory control device and memory device | |
| JPH0581087A (en) | Processor monitoring system | |
| JP3011163B2 (en) | Instruction trace device | |
| JP3366235B2 (en) | Data read control device | |
| JP2754899B2 (en) | Return address monitoring circuit of debug device | |
| JP2669300B2 (en) | Program trace circuit and program trace method | |
| JPS59197946A (en) | Memory device | |
| JP3001547B1 (en) | In-circuit emulator | |
| JP3178445B2 (en) | Counter device | |
| JP2004348635A (en) | Method for developing program | |
| JPH0553929A (en) | Central processing unit with fault information preserving function | |
| JPH1055289A (en) | Debug information generation circuit and information processing device using the same | |
| JPH0412855B2 (en) | ||
| JPH08272647A (en) | Software evaluating device | |
| JPH02250133A (en) | Information processor |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |