JP3213792B2 - Logic simulation verification method - Google Patents

Logic simulation verification method

Info

Publication number
JP3213792B2
JP3213792B2 JP08887195A JP8887195A JP3213792B2 JP 3213792 B2 JP3213792 B2 JP 3213792B2 JP 08887195 A JP08887195 A JP 08887195A JP 8887195 A JP8887195 A JP 8887195A JP 3213792 B2 JP3213792 B2 JP 3213792B2
Authority
JP
Japan
Prior art keywords
instruction
simulator
file
logic
result
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
Application number
JP08887195A
Other languages
Japanese (ja)
Other versions
JPH08263544A (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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP08887195A priority Critical patent/JP3213792B2/en
Publication of JPH08263544A publication Critical patent/JPH08263544A/en
Application granted granted Critical
Publication of JP3213792B2 publication Critical patent/JP3213792B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、論理検証プログラムを
論理シミュレータで実行した結果と、論理検証プログラ
ムを単一命令逐次実行型命令シミュレータで実行した結
果とを比較して論理シミュレータを検証する論理シミュ
レ−ション検証方式に関する。
The present invention relates to a logic for verifying a logic simulator by comparing the result of executing a logic verification program with a logic simulator and the result of executing the logic verification program with a single instruction sequential execution type instruction simulator. The present invention relates to a simulation verification method.

【0002】[0002]

【従来の技術】命令処理の高性能化を支える技術とし
て、命令実行を複数の処理ステップ(ステ−ジ)に分解
し、各装置(制御ユニット)が特定のステ−ジを1マシ
ンサイクル毎に処理するパイプライン処理方式が採用さ
れている。この先行制御機能とも呼ばれるパイプライン
処理は、複雑かつ大規模な論理により実現されており、
先行制御の度合いが非常に深くなっている。そのため、
命令フェッチ、デ−タアクセス時は、先行制御によりア
クセス対象のRAM(キャッシュ、TLB)の先取りが
働き、RAMの内容が頻繁に更新される。従来の結果確
認方式は、RAMの更新時期/単位が機種毎に異なるた
め各機種固有の結果比較機能を持つ検証プログラムを被
検証対象論理で実行し、その実行結果を検証プログラム
自身の結果比較機能により確認している。また、単一命
令遂次実行型命令シミュレータでの実行結果と被検証対
象論理での実行結果の一括コンペア方式では、発生した
不一致の原因が、単一命令遂次実行型命令シミュレータ
が1命令毎の逐次処理を行うものであるために、不一致
となったのか否かを人手介入により解析する事で実現し
ていた。関連するこの種の従来技術として、例えば、特
開平5−67966公報に記載された技術等がしられて
いる。
2. Description of the Related Art As a technique for supporting high-performance instruction processing, instruction execution is divided into a plurality of processing steps (stages), and each device (control unit) executes a specific stage every one machine cycle. A pipeline processing method for processing is adopted. This pipeline processing, also called the advanced control function, is realized by complex and large-scale logic.
The degree of precedence control is very deep. for that reason,
At the time of instruction fetch and data access, preemption of the RAM (cache, TLB) to be accessed works by preceding control, and the contents of the RAM are frequently updated. In the conventional result checking method, since the update time / unit of the RAM differs for each model, a verification program having a result comparison function unique to each model is executed by the logic to be verified, and the execution result is compared with the result comparison function of the verification program itself. Has confirmed. In the batch compare method of the execution result of the single-instruction sequential execution type instruction simulator and the execution result of the logic to be verified, the cause of the mismatch is that the single-instruction sequential execution type instruction simulator uses one instruction at a time. Therefore, it is realized by analyzing whether or not there is a mismatch by manual intervention. As a related conventional technique of this kind, for example, a technique described in Japanese Patent Application Laid-Open No. 5-67966 is known.

【0003】[0003]

【発明が解決しようとする課題】従来の技術では単一命
令遂次実行型命令シミュレータの実行結果(期待値)と
被検証論理の実行結果を結果比較処理ル−チンが一括コ
ンペアし、RAMの内容に不一致が生じた場合には、エ
ラ−メッセ−ジ等の情報に基づいて不一致の原因を人手
により追及していくことになる。しかし、この不一致が
被検証対象論理の先行制御によるRAMの先取りが原因
なのか、あるいは、被検証論理の不良なのかを命令トレ
−ス、論理実行トレ−ス等を調査し、判別する必要があ
る。このような不一致の発生は、先行制御を検証対象と
しない検証プログラム(単体の命令試験等)でも多発
し、RAMの一括コンペアを抑止せざるを得ない状況で
ある。そのため、RAMの更新制御を検証対象とした検
証プログラムで発生した不一致のみを人手介入で調査し
ていた。この調査においては、人手介入を伴うため、検
証内容(試験命令列、対象RAM状態等)、及び被検証
対象論理を把握しなければならず解析が困難であった。
また、これら一部の検証プログラムのみではRAMの更
新制御が妥当か否かを保証しきれず、論理不良の摘出を
困難とする一因となっていた。本発明の目的は、上記の
課題を解決し、RAMのコンペア不一致の発生を真の不
一致時(被検証論理の不良検出時)のみとした一括コン
ベア方式を、全ての検証プログラムにおいて使用するこ
とにより、高精度の検証方法を提供することにある。
In the prior art, the result comparison processing routine compares the execution result (expected value) of the single instruction successive execution type instruction simulator and the execution result of the logic to be verified, and collectively compares the result. If there is a mismatch in the contents, the cause of the mismatch will be manually investigated based on information such as an error message. However, it is necessary to examine the instruction trace, the logic execution trace, and the like to determine whether the mismatch is caused by the prefetching of the RAM by the preceding control of the logic to be verified or the logic to be verified is defective. is there. Such inconsistency frequently occurs even in a verification program (single instruction test or the like) that does not target the preceding control as a verification target, and it is a situation in which batch comparison of the RAM must be suppressed. For this reason, only inconsistencies that occur in a verification program that targets the update control of the RAM are investigated by manual intervention. In this investigation, since manual intervention is required, the contents of verification (test instruction sequence, target RAM state, etc.) and the logic to be verified must be grasped, and analysis is difficult.
Further, only a part of these verification programs cannot guarantee whether or not the update control of the RAM is appropriate, which is one of the factors that makes it difficult to extract a logic defect. An object of the present invention is to solve the above-mentioned problem and to use a batch conveyor system in which the occurrence of a compare mismatch of a RAM only at the time of a true mismatch (at the time of detecting a failure of a logic to be verified) in all the verification programs. And a highly accurate verification method.

【0004】[0004]

【課題を解決するための手段】上記目的を達成するため
に、本発明は、論理検証プログラムを夫々実行する論理
シミュレータと単一命令逐次実行型命令シミュレータ
と、前記論理シミュレータの実行結果を格納する結果値
ファイルと、前記単一命令逐次実行型命令シミュレータ
の実行結果を格納する期待値ファイルと、前記結果値フ
ァイルの格納内容と前記期待値ファイルの格納内容を比
較する一括コンペア手段と、該手段の出力を格納する一
括コンペア結果ファイルを備える論理シミュレーション
検証方式であり、前記論理シミュレータでは実行される
が前記単一命令逐次実行型命令シミュレータでは実行さ
れない命令の先取り、データのプリフェッチ、同一カラ
ムでのRAM競合等のキャッシュ、TLBの内容が更新
される処理が付随する命令の命令アドレスと対応する該
処理の内容を格納した先行処理条件ファイルを前記単一
命令逐次実行型命令シミュレータに接続し、該単一命令
逐次実行型命令シミュレータは、命令を実行する毎に命
令アドレスにより前記先行処理条件ファイルを検索し、
対応する前記処理の内容が取り出されたとき、該処理の
内容に基づき、先取りした命令アドレス、デ−タアクセ
ス時のタ−ゲットアドレス、更新対象デ−タキャッシュ
カラムの初期値等を含むRAM更新データを生成し、R
AM更新データファイルに登録するようにしている。さ
らに、前記一括コンペア手段の比較の結果、不一致とな
った場合、不一致内容が前記RAM更新データファイル
に登録されているとき、警告表示を行ない、登録されて
いないとき、エラー表示を行なうようにしている。ま
た、前記論理シミュレータを実データ処理装置とするよ
うにしている。
In order to achieve the above object, the present invention provides a logic simulator for executing a logic verification program, a single instruction sequential execution type instruction simulator, and an execution result of the logic simulator. A result value file, an expected value file for storing execution results of the single instruction sequential execution type instruction simulator, a batch comparing means for comparing the storage contents of the result value file with the storage contents of the expected value file, A logic simulation verification method including a batch compare result file that stores the output of the instruction, prefetching instructions that are executed by the logic simulator but are not executed by the single instruction sequential execution type instruction simulator, prefetching data, and Includes processing for updating the contents of the cache and TLB such as RAM contention A pre-processing condition file storing the contents of the processing corresponding to the instruction address of the instruction is connected to the single instruction sequential execution type instruction simulator, and the single instruction sequential execution type instruction simulator Search the preceding processing condition file by address,
When the contents of the corresponding processing are retrieved, the RAM updating including the prefetched instruction address, the target address at the time of data access, the initial value of the data cache column to be updated, etc. is performed based on the contents of the processing. Generate the data, R
It is registered in the AM update data file. Further, if the result of the comparison by the batch compare means indicates a mismatch, a warning is displayed when the mismatch is registered in the RAM update data file, and an error is displayed when the content is not registered. I have. Further, the logic simulator is an actual data processing device.

【0005】[0005]

【作用】上記手段により、従来は人手介入にて結果確認
していたRAMの内容更新の妥当性を自動的にチェック
することが可能となる。これより、従来よりも短時間で
の試験結果の確認を可能とし、全試験プログラムの走行
に適用することで検証精度を向上させることが可能にな
る。
According to the above-mentioned means, it is possible to automatically check the validity of updating the contents of the RAM, which has conventionally been confirmed as a result of manual intervention. As a result, it is possible to check the test results in a shorter time than before, and it is possible to improve the verification accuracy by applying to the running of all test programs.

【0006】[0006]

【実施例】以下、本発明の一実施例を図面により詳細に
説明する。図1は、本発明の一実施例であるRAMの内
容更新の妥当性チェックをし、試験結果の一括コンペア
を実施する処理を示したブロック図である。 (1)論理シミュレ−タ(布線レベルの中間言語記述し
た開発中プロセッサ動作シミュレ−タ)101は、検証
プログラム100を実行し、実行結果を結果値ファイル
104に採取する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a block diagram showing a process for checking the validity of updating the contents of a RAM and performing a batch comparison of test results according to an embodiment of the present invention. (1) The logic simulator (processor operation simulator under development describing an intermediate language at the wiring level) 101 executes the verification program 100 and collects the execution result in the result value file 104.

【0007】(2)単一命令遂次実行型命令シミュレー
タ102は、検証プログラムを実行し、実行結果を期待
値ファイル105に採取する。例えば、論理シミュレー
タ101がBranch命令を実行するとき、図2に示
されるように、該Branch命令に続く実行されるこ
とのない後続の8命令を命令キャッシュに先取りする処
理が既に行なわれている。しかし、単一命令遂次実行型
命令シミュレータ102は、1命令づつ読み出し実行を
するので、命令キャッシュへの命令の先取り処理はしな
い。そこで、先行処理条件ファイル103には、単一命
令遂次実行型命令シミュレータ102が実行する該Br
anch命令の命令アドレスと、該命令アドレスに対応
する論理シミュレータ101で実行される先取りの処理
内容aを事前に格納しておき、単一命令遂次実行型命令
シミュレータ102は実行する命令アドレスごとに先行
処理条件ファイル103を検索する。 処理内容a:Branch Code Cache=+
8 単一命令遂次実行型命令シミュレータ102が実行する
命令がBranch命令であり、その命令アドレスが先
行処理条件ファイル103に格納されている命令アドレ
スと一致するときには、先行処理条件ファイル103か
ら該命令アドレスに対応する処理内容aが読み出され
る。処理内容aが読み出されると、単一命令遂次実行型
命令シミュレータ102はBranch命令のアドレス
の次の命令アドレスを含む、例えば、次のようなRAM
更新データ Code CacheCLM=1,EV=1,ADR=
100,DATA=012F を生成し、RAM更新データファイル106に登録す
る。上記の処理は、論理シミュレータによる命令の先取
りの他に、データのプリフェッチ、同一カラムでのRA
M競合等のキャッシュ、TLBの内容が更新される処理
についても同様に行なわれる。
(2) The single instruction successive execution type instruction simulator 102 executes a verification program and collects the execution result in an expected value file 105. For example, when the logic simulator 101 executes a Branch instruction, as shown in FIG. 2, a process of prefetching the next eight non-executable instructions following the Branch instruction into the instruction cache has already been performed. However, since the single-instruction successive execution type instruction simulator 102 reads and executes one instruction at a time, it does not perform prefetching of instructions to the instruction cache. Therefore, the pre-processing condition file 103 includes the Br executed by the single instruction successive execution type instruction simulator 102.
The instruction address of the “anch” instruction and the content “a” of prefetching to be executed by the logic simulator 101 corresponding to the instruction address are stored in advance, and the single instruction successive execution type instruction simulator 102 The preceding processing condition file 103 is searched. Processing content a: Branch Code Cache = +
8 Single instruction The instruction executed by the successive execution type instruction simulator 102 is a Branch instruction, and when the instruction address matches the instruction address stored in the pre-processing condition file 103, the instruction is read from the pre-processing condition file 103. The processing content a corresponding to the address is read. When the processing content a is read, the single instruction successive execution type instruction simulator 102 includes an instruction address next to the address of the Branch instruction.
Update data Code CacheCLM = 1, EV = 1, ADR =
100, DATA = 012F is generated and registered in the RAM update data file 106. The above processing includes prefetching of instructions by the logic simulator, prefetching of data, and RA in the same column.
The processing for updating the contents of the cache and TLB such as M contention is similarly performed.

【0008】(3)結果値ファイル104、及び、期待
値ファイル105を一括コンペア処理107する。
(3) The result value file 104 and the expected value file 105 are subjected to a batch compare process 107.

【0009】この時、RAMの内容が不一致の場合、R
AM更新デ−タファイルを参照し、条件が登録されてい
る対象のRAMならば警告表示を、対象外のRAMなら
ばエラ−表示を一括コンペアの結果ファイル108上に
出力する。
At this time, if the contents of the RAM do not match, R
By referring to the AM update data file, a warning display is output to the result file 108 of the batch compare if the condition is registered in the target RAM, and an error display is output to the non-target RAM.

【0010】図3は、先行処理条件ファイル参照及びR
AM更新デ−タファイル登録処理を示すフロ−チャ−ト
である。以下、図3の各ステップについて詳細に説明す
る。単一命令遂次実行型命令シミュレータ102での期
待値生成時、命令実行シ−ケンスを命令実行トレ−スと
して採取する。この時、命令アドレスが分岐、割込み等
の発生により非連続となった場合には、先行制御が働き
命令キャッシュの先取りがおこなわれると想定され、非
連続アドレスを発生させた命令の後続アドレスもキャッ
シュに取り込まれている可能性がある。単一命令遂次実
行型命令シミュレータ102は実行する命令アドレスに
より先行処理条件ファイル103を検索、チェックする
(201)。非連続な命令アドレスの発生があれば、非
連続を発生させた命令アドレスの次の命令アドレスを含
むRAM更新データをRAM更新デ−タファイルに登録
する(202)。また、デ−タアクセス実行により最後
に実行した命令の実行結果がキャッシュに残らないこと
を想定し、デ−タキャッシュへのプリフェッチアクセス
(デ−タキャッシュへの先取り動作)等の前後の命令と
の実行順序性が保証されていない命令が実行された場合
には、実行する命令アドレスにより先行処理条件ファイ
ル103を検索、チェックする(203)。その結果、
一致があれば、デ−タアクセス時のタ−ゲットアドレス
を含むRAM更新をRAM更新デ−タファイルに登録す
る(204)。また、デ−タアクセス実行により更新す
べきデ−タキャッシュのカラムが競合し、デ−タアクセ
ス実行が無効化されることを想定し、デ−タアクセス実
行が他の連続するデ−タアクセス実行と同一キャッシュ
カラムを更新する場合には、実行する命令アドレスによ
り先行処理条件ファイル103を検索、チェックする
(205)。その結果、一致があれば、更新対象デ−タ
キャッシュカラムの初期値を含むRAM更新デ−タをR
AM更新デ−タファイルに登録する(206)。
FIG. 3 is a diagram showing the pre-processing condition file reference and R
This is a flowchart showing an AM update data file registration process. Hereinafter, each step of FIG. 3 will be described in detail. When an expected value is generated in the single instruction successive execution type instruction simulator 102, an instruction execution sequence is collected as an instruction execution trace. At this time, if the instruction address becomes non-contiguous due to the occurrence of a branch or interrupt, it is assumed that the precedent control will work and prefetching of the instruction cache will be performed. May have been included in The single instruction successive execution type instruction simulator 102 searches and checks the preceding processing condition file 103 according to the instruction address to be executed (201). If a discontinuous instruction address is generated, the RAM update data including the instruction address next to the instruction address that caused the discontinuity is registered in the RAM update data file (202). Also, assuming that the execution result of the instruction executed last by the data access execution does not remain in the cache, the instruction before and after the prefetch access to the data cache (prefetch operation to the data cache) and the like are used. When an instruction whose execution order is not guaranteed is executed, the preceding processing condition file 103 is searched and checked according to the instruction address to be executed (203). as a result,
If there is a match, the RAM update including the target address at the time of data access is registered in the RAM update data file (204). Also, assuming that the data cache to be updated conflicts with the data cache to be updated due to the data access execution and the data access execution is invalidated, the data access execution is performed for another continuous data access. When updating the same cache column as the execution, the preceding processing condition file 103 is searched and checked by the instruction address to be executed (205). As a result, if there is a match, the RAM update data including the initial value of the update target data cache column is
It is registered in the AM update data file (206).

【0011】図4は、RAM更新デ−タファイル参照処
理を示すフロ−チャ−トである。以下、図4の各ステッ
プについて詳細に説明する。論理シミュレ−タ101が
作成した結果値ファイル104と、単一命令遂次実行型
命令シミュレータ102が作成した期待値ファイル10
5を比較し(301)、一致すれば正常と判定し、一括
コンペア結果を表示する(306)。不一致となった場
合は、不一致内容がRAM更新デ−タファイルに登録さ
れていれば(302)、警告表示とし(304)、コン
ペア結果でのエラ−扱いとしない。登録されているデ−
タ以外での不一致については、期待値不良(単一命令遂
次実行型命令シミュレータ側の不良)、または、結果値
不良(被検証論理側の不良)の何れかとし、エラ−表示
する(303)。この場合の付属情報としてRAM更新
デ−タ305を添付し、障害解析に利用する。
FIG. 4 is a flowchart showing a RAM update data file reference process. Hereinafter, each step of FIG. 4 will be described in detail. The result value file 104 created by the logic simulator 101 and the expected value file 10 created by the single instruction successive execution type instruction simulator 102
5 are compared (301), and if they match, it is determined to be normal, and the batch comparison result is displayed (306). In the case of a mismatch, if the content of the mismatch is registered in the RAM update data file (302), a warning is displayed (304), and no error is treated in the comparison result. Registered data
Inconsistencies other than the data, an error is displayed as either an expected value defect (a defect on the single instruction successive execution type instruction simulator side) or a result value defect (a defect on the verified logic side) (303). ). In this case, the RAM update data 305 is attached as additional information and used for failure analysis.

【0012】以上の処理により、コンペア結果での不一
致発生による障害解析時間の短縮、及び、全検証プログ
ラムに適用することにより検証精度の向上に貢献する。
以上、本発明の一実施例について説明したが、この一括
コンペア方式は論理シミュレ−ションの他にも実デ−タ
処理装置においても適用可能である。
The above processing contributes to shortening of the failure analysis time due to occurrence of a mismatch in the comparison result, and improvement of the verification accuracy by being applied to all verification programs.
Although the embodiment of the present invention has been described above, this batch compare method is applicable to an actual data processing device in addition to the logic simulation.

【0013】[0013]

【発明の効果】以上説明した様に本発明によれば、論理
検証対象となる論理シミュレ−タ、又は、実デ−タ処理
装置に対して、効率良く高精度の論理検証を実施する事
ができる。
As described above, according to the present invention, it is possible to efficiently and accurately execute a logic verification on a logic simulator or a real data processing device to be verified. it can.

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

【図1】RAMの内容更新の妥当性チェックをし、試験
結果の一括コンペアを実施する処理を示したブロック図
である。
FIG. 1 is a block diagram illustrating a process of checking the validity of updating the contents of a RAM and performing a batch comparison of test results.

【図2】Branch命令実行時における論理シミュレ
ータによる命令の先取り状況を示す図である。
FIG. 2 is a diagram illustrating a prefetching state of an instruction by a logic simulator when a Branch instruction is executed.

【図3】単一命令逐次実行型命令シミュレータでのRA
M更新デ−タファイルの生成、及び登録処理のフロ−チ
ャ−トを示す図である。
FIG. 3 shows RA in a single instruction sequential execution type instruction simulator.
FIG. 9 is a flowchart showing a process of generating and registering an M update data file.

【図4】結果比較モジュ−ルでの一括コンペア処理とR
AMの比較結果が不一致時のRAM更新デ−タファイル
の参照方法と妥当性チェックの処理のフロ−チャ−トを
示す図である。
FIG. 4 shows batch comparison processing and R in the result comparison module.
FIG. 14 is a flowchart showing a method of referring to a RAM update data file when the results of AM comparison do not match, and a flowchart of the validity check process.

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

100 検証プログラムファイル 101 論理シミュレ−タ 102 単一命令遂次実行型命令シミュレータ 103 先行処理条件ファイル 104 結果値ファイル 105 期待値ファイル 106 RAM更新デ−タファイル 107 コンペア処理 108 一括コンペア結果ファイル REFERENCE SIGNS LIST 100 verification program file 101 logic simulator 102 single instruction successive execution type instruction simulator 103 pre-processing condition file 104 result value file 105 expected value file 106 RAM update data file 107 compare process 108 batch compare result file

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平5−225276(JP,A) 特開 平4−190457(JP,A) 内海則夫、外4名、”高性能マイクロ プロセッサのためのTranslati on−Lookaside−Buffe rの性能評価”、情報処理学会全国大会 講演論文集、情報処理学会、平成4年、 Vol.45、No.6、p.119〜120 山本 祟夫、外5名、”マイクロプロ セッサの構成のソフトウェアシミュレー タによる性能解析”、電子情報通信学会 技術研究報告、電子情報通信学会、平成 4年、ICD92−76、p.17〜24(庁内 文献番号:CSNT199900533003) (58)調査した分野(Int.Cl.7,DB名) G06F 17/50 G06F 11/25 JICSTファイル(JOIS)──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-5-225276 (JP, A) JP-A-4-190457 (JP, A) Norio Utsumi, four others, “Translati for high-performance microprocessors Performance Evaluation of on-Lookside-Buffer ", Proc. of the National Convention of IPSJ, IPSJ, 1992, Vol. 45, no. 6, p. 119-120 Takao Yamamoto, et al., "Performance Analysis of Microprocessor Configuration by Software Simulator", IEICE Technical Report, IEICE, 1992, ICD92-76, p. 17-24 (inside the agency Literature number: CCNT199900533003) (58) Fields investigated (Int. Cl. 7 , DB name) G06F 17/50 G06F 11/25 JICST file (JOIS)

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 論理検証プログラムを夫々実行する論理
シミュレータと単一命令逐次実行型命令シミュレータ
と、前記論理シミュレータの実行結果を格納する結果値
ファイルと、前記単一命令逐次実行型命令シミュレータ
の実行結果を格納する期待値ファイルと、前記結果値フ
ァイルの格納内容と前記期待値ファイルの格納内容を比
較する一括コンペア手段と、該手段の出力を格納する一
括コンペア結果ファイルを備える論理シミュレーション
検証方式であって、 前記論理シミュレータでは実行されるが前記単一命令逐
次実行型命令シミュレータでは実行されない命令の先取
処理、またはデータのプリフェッチ処理、または同一
カラムでのRAM競合処理を、含むキャッシュ、TLB
の内容が更新される処理が付随する命令の命令アドレス
と対応する該処理の内容を格納した先行処理条件ファイ
ルを設け、 該単一命令逐次実行型命令シミュレータは、命令を実行
する毎に命令アドレスにより前記先行処理条件ファイル
を検索し、対応する前記処理の内容が取り出されたと
き、該処理の内容に基づき、先取りした命令アドレス、
またはデ−タアクセス時のタ−ゲットアドレス、または
更新対象デ−タキャッシュカラムの初期値、を含むRA
M更新データを生成し、RAM更新データファイルに
録し、 前記一括コンペア手段による比較の結果、不一致となっ
た場合、不一致内容が前記RAM更新データファイルに
登録されているとき、警告表示を行ない、登録されてい
ないとき、エラー表示を行なう ことを特徴とする論理シ
ミュレーション検証方式。
1. A logic simulator for executing a logic verification program, a single instruction sequential execution type instruction simulator, a result value file for storing an execution result of the logic simulator, and execution of the single instruction sequential execution type simulator A logic simulation verification method comprising an expected value file for storing results, a batch compare means for comparing the stored contents of the result value file with the stored contents of the expected value file, and a batch compare result file for storing the output of the means. A cache including instruction prefetching , data prefetching , or RAM contention processing in the same column, which is executed by the logic simulator but not executed by the single instruction sequential execution type instruction simulator.
The preceding processing condition file storing the content of the processing corresponding to the instruction address of the instruction processing accompanying the contents of the updated provided, said single instruction executed sequentially type instruction simulator, the instruction address per executing instructions By searching the preceding processing condition file, and when the content of the corresponding process is retrieved, based on the content of the process, the prefetched instruction address,
Or RA including a target address at the time of data access or an initial value of a data cache column to be updated.
M update data is generated and registered in the RAM update data file.
Recorded, and as a result of comparison by the batch compare means,
If not, the content of the mismatch is stored in the RAM update data file.
When registered, a warning is displayed and the registered
A logic simulation verification method characterized by displaying an error when there is no error .
【請求項2】 請求項1記載の論理シミュレーション検
証方式において、前記論理シミュレータを実データ処理装置とする ことを
特徴とする論理シミュレーション検証方式。
2. The logic simulation verification method according to claim 1, wherein said logic simulator is a real data processing device .
JP08887195A 1995-03-22 1995-03-22 Logic simulation verification method Expired - Fee Related JP3213792B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP08887195A JP3213792B2 (en) 1995-03-22 1995-03-22 Logic simulation verification method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP08887195A JP3213792B2 (en) 1995-03-22 1995-03-22 Logic simulation verification method

Publications (2)

Publication Number Publication Date
JPH08263544A JPH08263544A (en) 1996-10-11
JP3213792B2 true JP3213792B2 (en) 2001-10-02

Family

ID=13955082

Family Applications (1)

Application Number Title Priority Date Filing Date
JP08887195A Expired - Fee Related JP3213792B2 (en) 1995-03-22 1995-03-22 Logic simulation verification method

Country Status (1)

Country Link
JP (1) JP3213792B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5256948B2 (en) * 2008-09-04 2013-08-07 富士通株式会社 Cache logic verification device, cache logic verification method, and cache logic verification program

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
内海則夫、外4名、"高性能マイクロプロセッサのためのTranslation−Lookaside−Bufferの性能評価"、情報処理学会全国大会講演論文集、情報処理学会、平成4年、Vol.45、No.6、p.119〜120
山本 祟夫、外5名、"マイクロプロセッサの構成のソフトウェアシミュレータによる性能解析"、電子情報通信学会技術研究報告、電子情報通信学会、平成4年、ICD92−76、p.17〜24(庁内文献番号:CSNT199900533003)

Also Published As

Publication number Publication date
JPH08263544A (en) 1996-10-11

Similar Documents

Publication Publication Date Title
US5615357A (en) System and method for verifying processor performance
US6021261A (en) Method and system for testing a multiprocessor data processing system utilizing a plurality of event tracers
US5347647A (en) Method of predicting the performance of an emulated computer system
US4984239A (en) Automatic verification system for maintenance/diagnosis facility in computer system
US20030149963A1 (en) Condition code flag emulation for program code conversion
KR101979329B1 (en) Method and apparatus for tracking security vulnerable input data of executable binaries thereof
JP3213792B2 (en) Logic simulation verification method
US20040034852A1 (en) Simulation method and simulation system of instruction scheduling
US20050050524A1 (en) Generating software test information
CN113590133A (en) Android system injection detection method, device, equipment and computer storage medium
JP2606085B2 (en) Program evaluation method
JP2001256270A (en) Verified result comparing system
JP3313859B2 (en) Redundant remover
JP2525393B2 (en) Logic simulation test coverage method
JP3073848B2 (en) Test method for data processing equipment
JP3900223B2 (en) Variable effect analysis apparatus and variable effect analysis method
JP2795332B2 (en) Loop processing error detection device
JP3012618B1 (en) Debugging method of inspected program and its debugging method
JP2001051864A (en) Test conducting system for data processor
CN118245381A (en) Target instruction detection method, apparatus, storage medium, and computer program product
CN114490423A (en) Automatic testing method and device, electronic equipment and storage medium
JP2500385B2 (en) Input data management method
JP2001022610A (en) Logic simulation system for data processor
JPH05100898A (en) Program debugging system
JPS63170739A (en) Branch forecast test system

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070727

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080727

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080727

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090727

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090727

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100727

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees