JP3052263B2 - Logic verification sufficiency evaluation method and system therefor - Google Patents
Logic verification sufficiency evaluation method and system thereforInfo
- Publication number
- JP3052263B2 JP3052263B2 JP6319617A JP31961794A JP3052263B2 JP 3052263 B2 JP3052263 B2 JP 3052263B2 JP 6319617 A JP6319617 A JP 6319617A JP 31961794 A JP31961794 A JP 31961794A JP 3052263 B2 JP3052263 B2 JP 3052263B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- logic
- function
- event
- logic circuit
- 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
Landscapes
- Tests Of Electronic Circuits (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は、論理回路の検証、特
に、論理シミュレーションを利用した論理検証における
充分性評価方法および充分性評価システムに関し、さら
に詳しくは、検証対象論理回路の機能を表現した機能事
象の発生状況に基づく論理検証充分性評価方法および論
理検証充分性評価システムに関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to verification of a logic circuit, and more particularly, to a sufficiency evaluation method and a sufficiency evaluation system in logic verification using logic simulation, and more particularly, to express the function of a logic circuit to be verified. The present invention relates to a logic verification sufficiency evaluation method and a logic verification sufficiency evaluation system based on the occurrence state of a functional event.
【0002】[0002]
【従来の技術】近年、半導体の高集積化技術の進歩に伴
い、論理装置の大規模化や全LSI化が進み、その開発
期間の長期化および開発工数の増大が重要な問題となっ
てきている。論理装置の開発期間短縮や開発工数低減の
ために、論理装置の設計論理不良をその論理装置の製造
前に、すなわち実機を用いることなく摘出する論理検証
が必要不可欠になってきており、特にその効率化が重要
な課題になっている。また、最近、論理検証は、主に論
理シミュレーションにより行なわれているが、検証対象
論理装置の大規模複雑化に伴って検証対象項目が増加す
るため、テストプログラムのステップ数の増加、論理シ
ミュレーションに要する計算機時間、人的工数等の増大
を招き、その結果、完成した論理装置全体のコストの増
大を招いている。2. Description of the Related Art In recent years, with the advance of high integration technology of semiconductors, the scale of logic devices and the scale of all LSIs have been advanced, and the prolonged development period and the increase in development man-hours have become important problems. I have. In order to shorten the development period and reduce the number of development steps for logic devices, it is essential to conduct logic verification to extract design logic failures of logic devices before manufacturing the logic device, that is, without using an actual device. Efficiency is an important issue. Recently, logic verification is mainly performed by logic simulation. However, the number of items to be verified increases due to the large-scale complexity of the logic device to be verified. The required computer time, man-hours, etc., increase, and as a result, the cost of the completed logic device as a whole increases.
【0003】このような状況下において、従来、より効
率的な論理検証を実現することを目的として、論理検証
充分性評価方法が提案されている。論理検証充分性評価
方法とは、予め登録されている検証対象論理装置の持つ
機能、動作、状態等(以下、単に、機能という)の論理
シミュレーション実行中における発生状況を計測し、こ
の発生状況の計測結果を未検証機能の指摘、シミュレー
ションの進捗管理等に利用して、実行するテストプログ
ラムの選択や新たなテストプログラムの作成等のフィー
ドバックを行なうことにより、必要かつ充分なテストプ
ログラムによる効率的な論理検証を実現することを狙い
としたものである。これらの検証対象論理装置の持つ特
定の機能の発生の有無は、具体的には、シミュレーショ
ン実行中における機能事象と呼ばれるその特定の機能に
対応する信号のパターンの発生の有無により計測され
る。図1に特定の機能事象の例を機能事象100として
示した。この例は、ある固定したタイミングで現われる
4本の信号のビットパターンの例である。これが、検証
対象論理装置において発生される、例えばリクエスト信
号の競合状態や、命令種等を表現している。すなわち、
先に述べた論理検証充分性評価方法においては、シミュ
レーションの実行中に特定の機能事象100のパターン
が発生したか否かにより、その機能事象が表現している
検証対象論理装置の該特定機能が検証されたか否か判定
する。なお、このように検証対象論理装置の機能を表現
した機能事象の発生状況により、論理検証進捗度を評価
することを「機能カバレジ」と呼ぶ場合もある。従来の
論理シミュレーションにおける機能に基づく論理検証充
分性評価方法としては、例えば特開平3−62172号
公報に記載されているように、機能項目の登録、測定、
結果出力の各ステップによって機能の発生を評価する論
理検証充分性評価方法や、特開昭63−123136号
公報に記載されているように、計測対象機能事象は限定
されるが、論理シミュレータに計測のための特別な機構
を設けて評価する方法、等が知られている。Under such circumstances, conventionally, a logic verification sufficiency evaluation method has been proposed for the purpose of realizing more efficient logic verification. The logic verification sufficiency evaluation method refers to measuring the occurrence of a function, operation, state, and the like (hereinafter, simply referred to as a function) of a pre-registered logic device to be verified during execution of a logic simulation, and The measurement results are used to indicate unverified functions, to manage the progress of simulation, etc., and to provide feedback such as selection of test programs to be executed and creation of new test programs, so that efficient and efficient test programs can be used. It is intended to realize logic verification. The presence or absence of the occurrence of a specific function of these verification target logic devices is specifically measured by the presence or absence of the occurrence of a signal pattern corresponding to the particular function called a function event during simulation execution. FIG. 1 shows an example of a specific function event as a function event 100. This example is an example of bit patterns of four signals appearing at a fixed timing. This represents, for example, a race condition of a request signal, an instruction type, and the like generated in the verification target logic device. That is,
In the logic verification sufficiency evaluation method described above, whether or not the specific function of the verification target logical device represented by the functional event depends on whether or not the pattern of the specific functional event 100 occurs during the execution of the simulation. It is determined whether the verification has been performed. Evaluating the degree of progress of logic verification based on the occurrence of a functional event expressing the function of the verification target logical device in this way is sometimes referred to as “functional coverage”. As a logic verification sufficiency evaluation method based on functions in a conventional logic simulation, for example, as described in JP-A-3-62172, registration, measurement,
A logic verification sufficiency evaluation method for evaluating the occurrence of a function at each step of the result output, and as described in JP-A-63-123136, the number of function events to be measured is limited. For example, there is known a method of providing a special mechanism for evaluation and performing evaluation.
【0004】[0004]
【発明が解決しようとする課題】上記の機能事象の発生
に基づく論理検証充分性評価方法においては、発生のチ
ェック対象となる機能事象の数は、一般に論理装置に対
し、数万個レベルのオーダに達する。これらに対して、
論理シミュレーション実行の毎サイクルでその全ての発
生をチェックしなければならない。例えば、1つのテス
トプログラムにより数千サイクルのシミュレーションを
実行した場合、発生をチェックする処理は、数億回実行
する必要がある。これを実行する方法としては、次の2
つが知られている。第1の方法は、機能事象の発生を観
測する信号の波形変化をシミュレータよりファイルに出
力し、シミュレーションの実行終了後、そのファイルを
読みだして、与えられた機能事象の発生をソフトウェア
で計測する方法である。この方法では、シミュレータに
は特別な機構を設ける必要がなく、比較的簡単に実現可
能である。しかし、計測対象機能事象が多い場合、観測
信号の波形変化を記録するファイル容量が増大し、ま
た、数億回の発生チェックをソフトウェアで実行するに
は、処理時間が膨大になってしまう。第2の方法は、シ
ミュレーション実行中に、1サイクルシミュレーション
を行なう毎に、シミュレーションを中断し、計測対象機
能事象の発生をチェックする処理を実行する方法であ
る。この方法では、先の方法とは異なり、信号波形変化
を出力する必要がなく、特別なファイル容量の増加は招
かない。しかし、1サイクルごとにシミュレーション実
行を中断し、機能事象発生チェックを実施するため、オ
ーバヘッドが非常に大きくなってしまう。In the above-described logic verification sufficiency evaluation method based on the occurrence of functional events, the number of functional events to be checked for occurrence is generally on the order of tens of thousands of orders for a logical device. Reach For these,
Every occurrence of the logic simulation must be checked for all occurrences. For example, when a simulation of several thousand cycles is executed by one test program, it is necessary to execute a process of checking occurrence several hundred million times. There are two ways to do this:
One is known. The first method is to output a waveform change of a signal for observing the occurrence of a functional event from a simulator to a file, read the file after execution of the simulation, and measure the occurrence of a given functional event by software. Is the way. In this method, the simulator does not need to be provided with a special mechanism, and can be realized relatively easily. However, when the number of measurement target function events is large, the file capacity for recording the waveform change of the observed signal increases, and the processing time becomes enormous if hundreds of millions of occurrence checks are executed by software. The second method is a method in which the simulation is interrupted every time one cycle simulation is performed during the execution of the simulation and a process of checking occurrence of a measurement target function event is executed. In this method, unlike the previous method, there is no need to output a signal waveform change, and no special file capacity increase is caused. However, since the simulation execution is interrupted every cycle and a function event occurrence check is performed, the overhead becomes extremely large.
【0005】以上述べたように、これら2つの方法で
は、1つのテストプログラムによるシミュレーションお
よび充分性評価に費やす処理時間は膨大なものになって
しまい、論理検証の充分性評価方法として実用的な方法
ではなかった。すなわち、これらを高速に実行する計測
方法が実用上重要であるが、これについては、例えば上
述した特開平3−62172号公報においても、解決策
が示されていなかった。また、同特開昭63−1231
36号公報に見られるように、シミュレータに特別の機
構を設け、シミュレーションの実行中に高速に機能事象
発生の計測を行なうシステムもあるが、シミュレータに
専用の処理機構を必要とするという問題があった。本発
明の目的は、機能事象の発生の有無に基づく論理検証充
分性評価方法およびそのシステムにおいて、シミュレー
タに特別な機構を設けることなく、機能事象の発生の計
測を高速に、すなわち、シミュレーション実行時間に対
するオーバヘッドを最小にする方法およびシステムを提
供することにある。As described above, in these two methods, the processing time spent for simulation and sufficiency evaluation by one test program becomes enormous, and a practical method as a sufficiency evaluation method for logic verification is required. Was not. That is, a measuring method for executing these at high speed is important for practical use, but no solution has been shown for this in, for example, the above-mentioned Japanese Patent Application Laid-Open No. 3-62172. Also, Japanese Patent Application Laid-Open No. 63-1231
As shown in Japanese Patent Publication No. 36, there is a system in which a special mechanism is provided in a simulator to measure the occurrence of a functional event at a high speed during execution of a simulation. However, there is a problem that a special processing mechanism is required in the simulator. Was. SUMMARY OF THE INVENTION It is an object of the present invention to provide a method and system for evaluating logic verification sufficiency based on the presence or absence of occurrence of a functional event. To provide a method and system that minimizes overhead for
【0006】[0006]
【課題を解決するための手段】上記目的を達成するため
に、本発明の論理検証充分性評価方法は、まず、シミュ
レーションの実行に先立ち、予め定義された検証対象論
理回路の機能を表現した機能事象のパターンに関する情
報を入力し、計測対象の機能事象の発生を計測しその発
生回数を記録する機能をもつ仮想的な論理回路を作成
し、次に、この処理によって生成された仮想的な計測用
論理回路と検証対象論理回路を一括して論理シミュレー
ションする。シミュレーション終了後、計測用論理回路
に保持された機能事象の発生回数のデータを読みだし、
今迄の発生状況データが蓄積されたデータを更新し機能
事象の発生状況を取得するようにしたことを特徴として
いる。また、本発明の論理検証充分性評価システムは、
予め定義された検証対象論理回路の機能を表現した機能
事象のパターンに関する情報を入力とし、論理シミュレ
ーション中の前記機能事象の発生回数を計測し前記機能
事象の発生状況データを出力する論理検証充分性評価シ
ステムであって、前記機能事象のパターンに関する情報
に基づいて前記機能事象の発生回数を計測する機能を持
った仮想的な計測用論理回路を作成する第1の手段(機
能カバレジ計測準備処理手段)と、該仮想的な計測用論
理回路データと検証対象となる検証対象論理回路データ
とを一括してシミュレーションすることによって前記機
能事象の発生回数を計測して機能事象の発生状況を出力
する第2の手段とを有することを特徴としている。In order to achieve the above object, a logic verification sufficiency evaluation method according to the present invention firstly provides a function which expresses a function of a logic circuit to be verified which is defined in advance, prior to execution of a simulation. Inputs information about the pattern of the event, creates a virtual logic circuit that has the function of measuring the occurrence of the functional event to be measured and recording the number of occurrences, and then creates the virtual measurement circuit generated by this process A logic simulation is performed for the logic circuit for use and the logic circuit to be verified collectively. After the simulation is completed, the data on the number of occurrences of functional events held in the measurement logic circuit is read out,
The present invention is characterized in that the data in which the occurrence status data up to now is accumulated is updated and the occurrence status of the functional event is obtained. In addition, the logic verification sufficiency evaluation system of the present invention includes:
Logic verification sufficiency for inputting information on a pattern of a function event expressing a function of a logic circuit to be verified which is defined in advance, measuring the number of occurrences of the function event during a logic simulation, and outputting occurrence status data of the function event A first means (function coverage measurement preparation processing means) for creating a virtual measurement logic circuit having a function of measuring the number of occurrences of the function event based on information on the pattern of the function event; ), And simulating the virtual measurement logic circuit data and the verification target logic circuit data to be verified collectively to measure the number of occurrences of the function event and output the occurrence state of the function event. And (2) means.
【0007】[0007]
【作用】本発明の論理検証充分性評価方法およびシステ
ムによると、論理シミュレーションの実行および機能事
象の発生の計測に先立ち、計測対象の機能事象の発生を
チェックしかつその発生回数を保持する機能を持った仮
想的な計測用論理回路を生成し、この計測用論理回路と
検証対象論理回路とを一括してシミュレーションするこ
とにより、シミュレーション実行中に特別な処理をする
ことなくまたシミュレーションの実行を中断したりする
ことなく、1つのテストプログラムに対する機能事象の
発生回数を得ることができ、機能事象に基づく論理検証
充分性の評価を高速に実施することが可能になる。According to the logic verification sufficiency evaluation method and system of the present invention, prior to execution of a logic simulation and measurement of occurrence of a functional event, a function for checking occurrence of a functional event to be measured and holding the number of occurrences is provided. Generates a virtual logic circuit for measurement and simulates the logic circuit for measurement and the logic circuit to be verified at the same time, thereby interrupting the simulation without any special processing during the simulation. It is possible to obtain the number of occurrences of a functional event for one test program without doing so, and it is possible to quickly evaluate logic verification sufficiency based on the functional event.
【0008】[0008]
【実施例】次に、本発明の一実施例を図を用いて詳細に
説明する。図13は、本発明の論理検証充分性評価方法
を実施するための論理検証充分性評価システム200の
ハードウエア構成例である。本実施例における論理検証
充分性評価システムのハードウェアは、同図に示すよう
に、CPU1、出力装置2、キーボード3、主記憶4、
および補助記憶装置5より構成される。主記憶4には、
機能カバレジ計測準備処理1000、論理シミュレータ
201、および結果累積編集処理202の各プログラム
が格納されており、それぞれがCPU1により実行され
る。なお、論理シミュレータ201は論理シミュレーシ
ョンを実行するためのプログラムであるが、主記憶4に
該論理シミュレータ201を備える代わりに、専用のハ
ードウェアであるシミュレーション専用機構6を付加す
ることによって論理シミュレーションを実行する場合も
ある。補助記憶装置5には、論理シミュレーション実行
のための入力である、検証対象論理回路データ203、
テストデータ204、および論理検証充分性評価のため
の入力である機能事象パターンデータ300が格納され
ている。また、補助記憶装置5には、論理シミュレーシ
ョンの出力であるシミュレーション結果データ205
と、論理検証充分性評価の出力である累積データ800
と、機能カバレジ計測結果900も格納されている。Next, an embodiment of the present invention will be described in detail with reference to the drawings. FIG. 13 is an example of a hardware configuration of a logic verification sufficiency evaluation system 200 for implementing the logic verification sufficiency evaluation method of the present invention. As shown in the figure, the hardware of the logic verification sufficiency evaluation system in the present embodiment includes a CPU 1, an output device 2, a keyboard 3, a main memory 4,
And an auxiliary storage device 5. In main memory 4,
Each program of the function coverage measurement preparation processing 1000, the logic simulator 201, and the result accumulation editing processing 202 is stored, and each is executed by the CPU 1. Although the logic simulator 201 is a program for executing a logic simulation, the logic simulation is executed by adding a simulation dedicated mechanism 6 which is a dedicated hardware instead of including the logic simulator 201 in the main memory 4. In some cases. The auxiliary storage device 5 includes logic circuit data 203 to be verified, which is an input for executing a logic simulation.
The test data 204 and the function event pattern data 300 which is an input for logic verification sufficiency evaluation are stored. The auxiliary storage device 5 also stores simulation result data 205, which is the output of the logic simulation.
And cumulative data 800 which is the output of the logic verification sufficiency evaluation
, The function coverage measurement result 900 is also stored.
【0009】図2は、本発明の実施例である論理検証充
分性評価システム200の処理手順の概略図を示すもの
である。論理検証充分性評価システム200の処理手順
は、同図に示されているように、機能事象パターンデー
タ300(詳細は図3参照)を入力して、機能カバレジ
計測に必要な計測用論理回路データ400(詳細は図4
参照)、接続情報データ500(詳細は図5参照)、お
よび機能事象名称データ600(詳細は図6参照)を生
成する機能カバレジ計測準備処理1000(詳細は図1
0参照)と、論理シミュレータ201によるシミュレー
ション結果および機能カバレジ計測準備処理の処理結果
を編集して累積データ800(詳細は図8参照)および
機能カバレジ計測結果900(詳細は図9参照)を出力
する結果累積編集処理202より構成される。なお、本
明細書において「処理」といっているものは、ソフトウ
エアによって行われる処理そのもの(方法の構成要素)
であってもよいし、そのような機能を有する手段(シス
テムの構成要素)であってもよい。FIG. 2 is a schematic diagram showing a processing procedure of a logic verification sufficiency evaluation system 200 according to an embodiment of the present invention. As shown in the figure, the processing procedure of the logic verification sufficiency evaluation system 200 is such that the function event pattern data 300 (see FIG. 3 for details) is input, and the measurement logic circuit data required for the function coverage measurement is input. 400 (see FIG. 4 for details)
1), connection information data 500 (see FIG. 5 for details), and function coverage measurement preparation processing 1000 (see FIG. 1 for details) for generating function event name data 600 (see FIG. 6 for details).
0), and the simulation result by the logic simulator 201 and the processing result of the function coverage measurement preparation processing are edited to output the accumulated data 800 (see FIG. 8 for details) and the function coverage measurement result 900 (see FIG. 9 for details). It is composed of a result accumulation editing process 202. In this specification, “processing” refers to processing itself performed by software (components of a method).
Or means having such a function (a component of the system).
【0010】論理検証充分性評価システム200の処理
をさらに詳細に説明すると、 (1)まず、論理シミュレーションの実行に先立ち、機
能カバレジ計測準備処理1000によって、入力される
機能事象パターンデータ300から機能カバレジ計測に
必要な計測用論理回路データ400、接続情報データ5
00、および機能事象名称データ600を生成する。 (2)次に、論理シミュレータ201により、検証対象
論理回路データ203に対して、先に機能カバレジ計測
準備処理1000によって作成した計測用論理回路デー
タ400と接続情報データ500も含め、テストデータ
204を使った論理シミュレーションを実行する。 (3)論理シミュレーション終了後、結果累積編集処理
202によって、論理シミュレータ201が出力する機
能事象の発生回数を記録した累積メモリデータ700
と、先に機能カバレジ計測準備処理1000によって作
成された機能事象名称データ600を入力として、累積
データ800の更新および機能カバレジ計測結果900
を出力する。The processing of the logic verification sufficiency evaluation system 200 will be described in more detail. (1) First, prior to execution of the logic simulation, the function coverage measurement preparation processing 1000 performs the function coverage pattern analysis based on the input function event pattern data 300 based on the function coverage pattern data 300. Measurement logic circuit data 400 and connection information data 5 required for measurement
00 and the function event name data 600 are generated. (2) Next, the logic simulator 201 converts the test data 204 including the measurement logic circuit data 400 and the connection information data 500 created by the function coverage measurement preparation processing 1000 to the verification target logic circuit data 203. Run the used logic simulation. (3) After completion of the logic simulation, cumulative memory data 700 recording the number of occurrences of functional events output by the logic simulator 201 by the result cumulative editing process 202
With the function event name data 600 previously created by the function coverage measurement preparation processing 1000 as an input, the cumulative data 800 is updated and the function coverage measurement results 900
Is output.
【0011】本発明の論理検証充分性評価システム20
0は、図2に破線207で囲んで示した「通常の論理シ
ミュレーション」の環境に、新たに下記の処理(1)〜
(3)を追加した点を特徴としている。ここでいう「通
常の論理シミュレーション」とは、論理シミュレータ2
01(または図13のシミュレーション専用機構6)が
検証対象論理回路データ203に対し、テストデータ2
04を用いてシミュレーションを実行し、その結果をシ
ミュレーション結果データ205として出力するもので
ある。 (1)まず機能カバレジ計測準備処理1000が実行さ
れ、機能事象パターンデータ300を入力とし、機能事
象の発生のチェックと発生回数の保持の機能を持った計
測用論理回路データ400と、検証対象論理回路と計測
用論理回路との接続を表す接続情報データ500、およ
び機能事象の名称と累積メモリの名称との対応を示した
機能事象名称データ600を作成する。The logic verification sufficiency evaluation system 20 of the present invention
0 is newly added to the following processes (1) to (5) in the environment of “normal logic simulation” surrounded by a broken line 207 in FIG.
It is characterized by adding (3). Here, the “ordinary logic simulation” refers to the logic simulator 2
01 (or the simulation-dedicated mechanism 6 in FIG. 13) compares the test data 2
The simulation is performed by using the simulation result data 04, and the result is output as simulation result data 205. (1) First, the function coverage measurement preparation processing 1000 is executed. The function event pattern data 300 is input, and the measurement logic circuit data 400 having the function of checking occurrence of a function event and holding the number of occurrences, and the logic to be verified. The connection information data 500 indicating the connection between the circuit and the measurement logic circuit, and the function event name data 600 indicating the correspondence between the name of the function event and the name of the accumulation memory are created.
【0012】(2)次に、論理シミュレータ201が、
接続情報500を使って検証対象論理回路データ203
と計測用論理回路データ400とを統合して、これらに
対しテストデータ204を使った通常の論理シミュレー
ションを実行する。ここで、計測用論理回路データ40
0に対する論理シミュレーションにより、機能事象発生
のチェック、および発生回数の記録が実行される。シミ
ュレーション実行終了後、計測用論理回路中の発生回数
を記録した累積メモリの値を累積メモリデータ700に
出力する。つまり、累積メモリデータ700には、1つ
のテストデータに対するシミュレーション中の機能事象
の発生回数が記録されている。 (3)最後に、結果累積編集処理202が、累積メモリ
データ700の内容を使って、機能カバレジ計測準備処
理1000によって作成された機能事象名称データ60
0を参照しながら、累積データ800を更新し、またそ
の内容を機能カバレジ計測結果900として出力する。
ここで、累積メモリデータ700は、累積メモリ名称と
その保持データの表であるため、まず機能事象名称デー
タ600を参照して、それを機能事象名称と発生回数の
データに変換して、累積データ800の更新を行なう。(2) Next, the logic simulator 201
The logic circuit data 203 to be verified using the connection information 500
And the logic circuit data 400 for measurement, and a normal logic simulation using the test data 204 is performed on them. Here, the measurement logic circuit data 40
By performing a logic simulation with respect to 0, the occurrence of a functional event is checked and the number of occurrences is recorded. After the simulation is completed, the value of the accumulation memory that records the number of occurrences in the measurement logic circuit is output to the accumulation memory data 700. That is, the cumulative memory data 700 records the number of occurrences of the function event during the simulation for one test data. (3) Finally, the result cumulative editing process 202 uses the contents of the cumulative memory data 700 to generate the function event name data 60 created by the function coverage measurement preparation process 1000.
With reference to 0, the accumulated data 800 is updated, and the content is output as the function coverage measurement result 900.
Here, since the cumulative memory data 700 is a table of the cumulative memory name and the retained data thereof, first, the functional event name data 600 is referred to, and is converted into the data of the functional event name and the number of occurrences. Update 800.
【0013】以上説明したように、論理検証充分性評価
システム200では、機能事象の発生の計測機能をシミ
ュレーション対象回路の中に実現することにより、論理
シミュレーション実行中に機能事象の発生の計測が実行
可能となる。そのため、観測信号の波形変化を記憶する
必要がなくなり、シミュレーション結果データ205の
容量を不必要に増やすこともなくなる。また、既存の論
理シミュレータ201に特別な機構を付加する必要がな
く、シミュレーション実行中に累積データの出力以外に
機能カバレジ計測のための特別な処理を実行する必要も
なくなるため、高速処理が可能になる。As described above, in the logic verification sufficiency evaluation system 200, the measurement of the occurrence of a functional event is performed during the execution of the logic simulation by implementing the function of measuring the occurrence of a functional event in the circuit to be simulated. It becomes possible. Therefore, it is not necessary to store the waveform change of the observation signal, and the capacity of the simulation result data 205 does not needlessly increase. Further, it is not necessary to add a special mechanism to the existing logic simulator 201, and it is not necessary to execute a special process for measuring the function coverage other than outputting the accumulated data during the execution of the simulation. Become.
【0014】次に、図3〜図9を用いて、論理検証充分
性評価システム200の処理を、データの具体的な例に
関連づけて更に詳しく説明する。論理検証充分性評価シ
ステム200では、論理シミュレーションに先立ち、機
能カバレジ計測準備処理1000により、まず、機能カ
バレジを計測するための準備が行なわれる。図3に、本
機能カバレジ計測準備処理1000の入力となる機能事
象パターンデータの例を示す。機能事象パターンデータ
とは、論理シミュレーション中に発生計測の対象となる
機能事象のパターンを定義するためのデータである。図
3に示した例は、図1に示した機能事象100を定義す
るための機能事象パターンデータ300の一例である。
同図中、1行目の「PAT EVENT1」は、本機能事象100
の名称“EVENT1”を定義するためのものである。2行目
の「ST CLOCK T0;」は、機能事象100のパターンを定
義するための基準になるクロック“T0”を定義するため
のものである。3行目ないし6行目は、機能事象100
のパターンを構成する信号名称、信号値、およびタイミ
ングを定義するためのものである。すなわち、3行目の
「SIG SIGNAL_A:1:0;」は、信号“SIGNAL_A” の信号値
が“1”で、基準クロックT0からの遅れが“0”サイクル
であることを定義し、4行目の「SIG SIGNAL_B:1:1;」
は、信号“SIGNAL_B” の信号値が“1”で、基準クロッ
クT0からの遅れが“1”サイクルであることを定義し、
5行目の「SIG SIGNAL_C:0:2;」は、信号“SIGNAL_C”
の信号値が“0”で、基準クロックT0からの遅れが“2”
サイクルであることを定義し、6行目の「SIG SIGNAL_
D:1:1;」は、信号“SIGNAL_D” の信号値が“1”で、基
準クロックT0からの遅れが“1”サイクルであることを
定義し、7行目の「END_PAT;」は、パターン名“EVENT
1”の定義の終了を意味している。このように機能事象
パターンデータ300は、図1に示した機能事象100
の信号パターンを一意に表現している。以上のように、
機能事象パターンデータ300には、論理シミュレーシ
ョンによって発生回数を計測する対象となる機能事象の
パターンが、対象事象数分定義されている。なお、本機
能事象パターンデータ300の表現方法は、図3に示し
た方法以外に、例えば一般的に使用されるIEEE標準のVH
DL (VHSIC Hardware Description Language)等でも可能
であることはいうまでもない。機能カバレジ計測準備処
理1000は、図3に一例を示した本機能事象パターン
データ300を入力とし、機能カバレジ計測に必要な以
下に示す計測用論理回路データ400、接続情報データ
500、および機能事象名称データ600を作成する。Next, the process of the logic verification sufficiency evaluation system 200 will be described in more detail with reference to FIGS. In the logic verification sufficiency evaluation system 200, preparations for measuring a function coverage are first performed by a function coverage measurement preparation process 1000 prior to a logic simulation. FIG. 3 shows an example of function event pattern data that is input to the function coverage measurement preparation processing 1000. The function event pattern data is data for defining a pattern of a function event to be subjected to occurrence measurement during a logic simulation. The example illustrated in FIG. 3 is an example of the function event pattern data 300 for defining the function event 100 illustrated in FIG.
In the figure, “PAT EVENT1” on the first line indicates that this function event 100
To define the name "EVENT1". “ST CLOCK T0;” in the second line is for defining a clock “T0” which is a reference for defining a pattern of the functional event 100. The third to sixth lines indicate the function event 100
Are used to define the signal names, signal values, and timings that constitute the pattern. That is, “SIG SIGNAL_A: 1: 0;” in the third line defines that the signal value of the signal “SIGNAL_A” is “1” and the delay from the reference clock T0 is “0” cycle, Eye "SIG SIGNAL_B: 1: 1;"
Defines that the signal value of the signal “SIGNAL_B” is “1” and the delay from the reference clock T0 is “1” cycle,
“SIG SIGNAL_C: 0: 2;” on line 5 is a signal “SIGNAL_C”
Is "0" and the delay from the reference clock T0 is "2"
Cycle, and in line 6, "SIG SIGNAL_
"D: 1: 1;" defines that the signal value of the signal "SIGNAL_D" is "1" and the delay from the reference clock T0 is "1" cycle, and "END_PAT;" Pattern name "EVENT
This means the end of the definition of “1”. As described above, the function event pattern data 300 corresponds to the function event 100 shown in FIG.
Is uniquely expressed. As mentioned above,
The functional event pattern data 300 defines functional event patterns for which the number of occurrences is to be measured by logic simulation, for the number of target events. The method of expressing the function event pattern data 300 is not limited to the method illustrated in FIG.
Needless to say, DL (VHSIC Hardware Description Language) is also possible. The function coverage measurement preparation processing 1000 receives the function event pattern data 300 illustrated in FIG. 3 as an example, and uses the following measurement logic circuit data 400, connection information data 500, and function event name necessary for function coverage measurement. The data 600 is created.
【0015】計測用論理回路データ400は、機能事象
パターンデータ300に定義された各機能事象に対し
て、その機能事象の発生を計測し、当該機能事象の発生
回数を記録する機能を持った仮想的な論理回路データで
ある。図4に、本計測用論理回路の具体例を示す。な
お、同図では簡単化のためにクロック信号を省略してい
る。同図の計測用論理回路400は、上述したように、
図1に示した機能事象100の発生をチェックし、その
発生回数を計測する機能を持つ。すなわち、計測用論理
回路400は、検証対象論理回路401中の信号を入力
し、その信号が機能事象100に示されたパターンにな
る回数を計測するものである。なお、図4では両者を区
別するために信号名変換をしており、例えば、SIGNAL_A
に対してはINPUT_A が、SIGNAL_B に対してはINPUT_B
がそれぞれ対応している。計測用論理回路400の一般
的な構成をさらに詳細に説明すると、図4に示すよう
に、時間調整論理402、パターン照合論理403、お
よび累積メモリ404より構成される。計測用論理回路
400に入力された信号は、まず、信号ごとに遅延時間
を調整する時間調整論理402を用いてタイミング合わ
せが行なわれる。例えば、図1に示した機能事象100
の場合、SIGNAL_C に現われるパターンが時間的に一番
遅れているため、本機能事象の発生のチェックは、この
タイミングで実施される。すなわち、例えば、INPUT_A
は、このタイミングに合わせるため、2サイクル遅延さ
れなければならない。そこで、時間調整論理402で
は、INPUT_A に対し、2サイクル遅延するように、基準
クロックT0に同期したエッジトリガ型のラッチが2つ接
続される。同様に、INPUT_B、INPUT_D に対しては、1
つのエッジトリガ型のラッチが接続される。以上のよう
に、時間調整論理402によって、パターン照合を同一
タイミングで行なうことが可能となる。The measurement logic circuit data 400 is a virtual function having a function of measuring the occurrence of a function event for each function event defined in the function event pattern data 300 and recording the number of occurrences of the function event. Logical circuit data. FIG. 4 shows a specific example of the present measurement logic circuit. Note that the clock signal is omitted in the figure for simplification. The measurement logic circuit 400 in FIG.
It has a function of checking occurrence of the functional event 100 shown in FIG. 1 and measuring the number of occurrences. That is, the measurement logic circuit 400 inputs a signal in the verification target logic circuit 401 and measures the number of times that the signal becomes a pattern indicated by the functional event 100. In FIG. 4, signal name conversion is performed to distinguish between the two. For example, SIGNAL_A
INPUT_A for SIGNAL_B and INPUT_B for SIGNAL_B
Correspond to each other. The general configuration of the measurement logic circuit 400 will be described in further detail. As shown in FIG. 4, the measurement logic circuit 400 includes a time adjustment logic 402, a pattern matching logic 403, and an accumulation memory 404. First, the timing of the signal input to the measurement logic circuit 400 is adjusted using the time adjustment logic 402 that adjusts the delay time for each signal. For example, the function event 100 shown in FIG.
In the case of, since the pattern appearing in SIGNAL_C is the latest in time, the check for the occurrence of this functional event is performed at this timing. That is, for example, INPUT_A
Must be delayed by two cycles to match this timing. Therefore, in the time adjustment logic 402, two edge-triggered latches synchronized with the reference clock T0 are connected so that INPUT_A is delayed by two cycles. Similarly, for INPUT_B and INPUT_D, 1
Two edge-triggered latches are connected. As described above, the time adjustment logic 402 enables pattern matching to be performed at the same timing.
【0016】次に、パターン照合論理403により、タ
イミングが調整された時間調整論理402からの出力信
号に対し、機能事象のパターンとの照合が行なわれる。
図1に示した機能事象100の例の場合は、時間調整論
理402の出力信号に対し、”1101”との一致チェ
ックが行なわれる。パターン照合論理403は、比較回
路であり、その出力信号は、パターンが一致した場合の
み“1”になり、検証対象論理回路401中の信号が機
能事象100が発生したことを示す。最後に累積メモリ
404が、機能事象の発生回数を記録する。累積メモリ
404は、パターン照合論理403の出力信号に“1”
が発生する毎に、その値をカウントアップする。これに
より、累積メモリ404は、機能事象の発生回数を保持
することになる。以上説明したように、計測用論理回路
400は、機能事象パターンデータ300に定義された
機能事象の発生をチェックし、その発生回数を保持する
機能を持つ。なお、記述レベルは、論理シミュレータ2
01が扱える記述レベルである。Next, the pattern matching logic 403 compares the output signal from the time adjustment logic 402 whose timing has been adjusted with the pattern of the functional event.
In the case of the example of the function event 100 shown in FIG. 1, the output signal of the time adjustment logic 402 is checked for a match with “1101”. The pattern matching logic 403 is a comparison circuit, and its output signal becomes “1” only when the pattern matches, and the signal in the verification target logic circuit 401 indicates that the functional event 100 has occurred. Finally, the accumulation memory 404 records the number of occurrences of the functional event. The accumulation memory 404 outputs “1” to the output signal of the pattern matching logic 403.
Each time is generated, the value is counted up. As a result, the cumulative memory 404 holds the number of occurrences of the function event. As described above, the measurement logic circuit 400 has a function of checking occurrence of a function event defined in the function event pattern data 300 and holding the number of occurrences. The description level is the logic simulator 2
01 is a description level that can be handled.
【0017】図5に、接続情報データ500の具体例を
示す。接続情報データ500は、機能事象パターンを構
成する検証対象論理回路401中の信号と、計測用論理
回路400の入力信号との対応表である。計測用論理回
路データ400は、検証対象論理回路データ203と一
括して、後に論理シミュレーションされるが、それらの
間の論理的な結線情報が必要である。本例の場合、例え
ば、検証対象論理回路401中の信号SIGNAL_A、SIGNAL
_B、SIGNAL_C、SIGNAL_Dが、それぞれ計測用論理回路の
入力信号INPUT_A、INPUT_B、INPUT_C、INPUT_D に接続
されることを示している。FIG. 5 shows a specific example of the connection information data 500. The connection information data 500 is a correspondence table between signals in the logic circuit 401 to be verified, which constitute a functional event pattern, and input signals of the measurement logic circuit 400. The logic circuit data for measurement 400 is subjected to logic simulation later together with the logic circuit data 203 to be verified, but logical connection information between them is required. In the case of this example, for example, the signals SIGNAL_A and SIGNAL in the logic circuit 401 to be verified
_B, SIGNAL_C, and SIGNAL_D are connected to input signals INPUT_A, INPUT_B, INPUT_C, and INPUT_D of the measurement logic circuit, respectively.
【0018】図6に、機能事象名称データ600の具体
例を示す。機能事象名称データ600は、各イベント毎
に、その名称と計測用論理回路中の対応する累積メモリ
名称との対応表である。論理シミュレーションを実行す
ることにより、計測用論理回路400中の累積メモリに
各イベントの発生回数が保持されるが、各累積メモリが
どの機能事象に対応しているかを示す情報を登録してお
く必要がある。この機能事象名称データ600は、この
情報を記録したものであり、後に結果累積編集処理20
2により参照される。図6の例では、機能事象名称EVEN
T1、EVENT2の発生回数が、それぞれ累積メモリREG_A、R
EG_Bに格納されることを示している。以上詳細に説明し
たように、機能カバレジ計測準備処理1000は、シミ
ュレーション実行に先立ち、カバレジ計測に必要な3つ
のデータ、すなわち、計測用論理回路データ400(図
4)、接続情報データ500(図5)、および機能事象
名称データ600(図6)を生成する。FIG. 6 shows a specific example of the function event name data 600. The function event name data 600 is a correspondence table of the name and the corresponding cumulative memory name in the measurement logic circuit for each event. By executing the logic simulation, the number of occurrences of each event is held in the cumulative memory in the logic circuit for measurement 400, but it is necessary to register information indicating which functional event each cumulative memory corresponds to. There is. The function event name data 600 is a record of this information.
2. In the example of FIG. 6, the function event name EVEN
The number of occurrences of T1 and EVENT2 is the cumulative memory REG_A, R
Indicates that it is stored in EG_B. As described above in detail, the function coverage measurement preparation processing 1000 includes three pieces of data necessary for coverage measurement, that is, measurement logic circuit data 400 (FIG. 4) and connection information data 500 (FIG. ) And function event name data 600 (FIG. 6).
【0019】次に、本発明における論理検証充分性評価
システム200では、論理シミュレータ201を用いて
論理シミュレーションを実行する。図2中の破線207
で示した部分は、通常の論理シミュレーションシステム
である。通常の論理シミュレーションでは、前述したよ
うに、検証対象論理回路データ203を対象として、テ
ストデータ204に対する論理シミュレーションを行な
い、その結果をシミュレーション結果データ205に出
力する。Next, in the logic verification sufficiency evaluation system 200 according to the present invention, a logic simulation is performed using a logic simulator 201. Dashed line 207 in FIG.
The part indicated by is a normal logic simulation system. In the ordinary logic simulation, as described above, a logic simulation is performed on the test data 204 with respect to the verification target logic circuit data 203, and the result is output to the simulation result data 205.
【0020】論理検証充分性評価システム200では、
上記の“通常の論理シミュレーション”に加えて、先に
述べた機能カバレジ計測準備処理1000が生成した、
計測用論理回路データ400もシミュレーション対象回
路として同時に扱い、シミュレーションを実施する。そ
の結果、シミュレーション終了後には、計測用論理回路
データ400中の各機能事象に対応した累積メモリにそ
のシミュレーション中に発生した各機能事象毎の発生回
数が保持されることになる。なお、接続情報データ50
0は、検証対象論理回路データ203と計測用論理回路
データ400との論理的な接続を行なうために使用され
る。接続方法は、論理シミュレータ201の処理方法に
より異なるが、例えば論理シミュレーションに先立ち、
検証対象論理回路から該当する信号線を取りだし、計測
用論理の入力信号にネット情報として接続する方法や、
ソフトウェア的に信号の波形変化を伝播する方法等があ
る。論理シミュレーションが終了すると、論理シミュレ
ータ201は、計測用論理回路データ400中の各累積
メモリの値(事象の発生回数に相当)をその累積メモリ
の名称と共に、累積メモリデータ700に出力する。図
7に累積メモリデータ700の具体例を示す。これは、
累積メモリの名称とそのシミュレーション終了時の値と
の表である。図7の例では、名称が“REG_A”の累積メ
モリに“3”が、同じく“REG_B”に“0”が、“REG_
C”に“1”が格納されている。この値は、そのシミュ
レーション中に発生した対応する機能事象の発生回数に
相当する。最後に、論理検証充分性評価システム200
では、結果累積編集処理202によって、累積データ8
00の更新、および機能カバレジ計測結果900の出力
を行なう。In the logic verification sufficiency evaluation system 200,
In addition to the “ordinary logic simulation” described above, the function coverage measurement preparation processing 1000 described above generates
The measurement logic circuit data 400 is also treated as a circuit to be simulated at the same time, and a simulation is performed. As a result, after the simulation is completed, the number of occurrences of each function event that occurred during the simulation is held in the cumulative memory corresponding to each function event in the measurement logic circuit data 400. The connection information data 50
0 is used to make a logical connection between the verification target logic circuit data 203 and the measurement logic circuit data 400. The connection method differs depending on the processing method of the logic simulator 201. For example, prior to the logic simulation,
A method of extracting the corresponding signal line from the logic circuit to be verified and connecting it to the input signal of the measurement logic as net information,
There is a method of propagating a waveform change of a signal by software. When the logic simulation is completed, the logic simulator 201 outputs the value of each accumulated memory (corresponding to the number of occurrences of the event) in the measurement logic circuit data 400 to the accumulated memory data 700 together with the name of the accumulated memory. FIG. 7 shows a specific example of the accumulated memory data 700. this is,
9 is a table showing the names of the accumulation memories and the values at the end of the simulation. In the example of FIG. 7, “3” is stored in the cumulative memory having the name “REG_A”, “0” is stored in “REG_B”,
“1” is stored in “C.” This value corresponds to the number of occurrences of the corresponding functional event that occurred during the simulation.
Then, the accumulated data 8
00 and outputs the function coverage measurement result 900.
【0021】図8に累積データ800の具体例を示す。
累積データ800は、計測対象である機能事象の名称と
累積された発生回数との表である。結果累積編集処理2
02は、1つのテストデータに対する機能事象の発生回
数を記録した累積メモリデータ700と、機能事象名称
と累積メモリとの対応を示した機能事象名称データ60
0、および過去の累積結果である累積データ800を入
力とする。結果累積編集処理202では、まず機能事象
名称データ600を参照しながら、累積メモリ名称と1
つのテストデータに対する発生回数との対応表である累
積メモリデータの内容を、機能名称と発生回数との対応
に変換する。次に、読み込んだ累積データ800の内容
に対し、該当する機能事象の発生回数を合計し、あらた
めてその機能事象の累積発生回数として、累積データ8
00に出力する。図8の累積データの例では、名称“EV
ENT1”の機能事象の発生回数が“3回”、同じく“EVEN
T2”の発生回数が“0回”、“EVENT3”の発生回数が
“4回”であることを示している。さらに、結果累積編
集処理202は、更新した累積データ800を基に、デ
ータを編集して機能カバレジ計測結果900として出力
する。図9に機能カバレジ計測結果900の具体例を示
す。同図の例では、(1)で全計測対象機能事象数に対
して1回でも発生した機能事象の数の割合(図は75.
0%の例)を、(2)で各機能事象の発生回数(図はEV
ENT1が3回、EVENT2が0回、EVENT3が4回の例)を、
(3)では未発生の機能事象の名称(図はEVENT2)をそ
れぞれ示している。FIG. 8 shows a specific example of the accumulated data 800.
The cumulative data 800 is a table of the names of the functional events to be measured and the cumulative number of occurrences. Result accumulation editing process 2
Numeral 02 denotes cumulative memory data 700 that records the number of occurrences of functional events for one test data, and functional event name data 60 that indicates the correspondence between functional event names and cumulative memory.
0 and cumulative data 800 as a past cumulative result are input. In the result accumulating editing process 202, first, referring to the function event name data 600,
The contents of the accumulated memory data, which is a correspondence table between the number of occurrences for one test data and the number of occurrences, are converted into the correspondence between the function name and the number of occurrences. Next, the number of occurrences of the corresponding function event is added to the contents of the read cumulative data 800, and the accumulated number of occurrences of the function event is calculated again.
Output to 00. In the example of the accumulated data in FIG.
The number of occurrences of the function event of “ENT1” is “3”, and “EVEN”
This indicates that the number of occurrences of "T2" is "0" and the number of occurrences of "EVENT3" is "4." 9 is edited and output as the function coverage measurement result 900. Fig. 9 shows a specific example of the function coverage measurement result 900. In the example of FIG. Percentage of the number of functional events (Figure 75.
Example of 0%) is replaced with (2) the number of occurrences of each functional event
ENT1 3 times, EVENT2 0 times, EVENT3 4 times)
In (3), names of functional events that have not occurred (EVENT2 in the figure) are shown.
【0022】以上説明したように、論理検証充分性評価
システム200では、論理シミュレーションに先立ち、
計測対象となる機能事象パターンデータを読み込み、各
機能事象の発生をチェックし、発生回数を記録する機能
を持った仮想的な計測用論理回路データを作成する。そ
して、論理シミュレーションにおいては、検証対象回路
と先の計測用論理回路を一括してシミュレーションを行
ない、1つのテストデータに対する機能事象の発生回数
を計測する。最後に、シミュレーション終了後、計測用
論理回路中に保持された各機能事象の発生回数を読み込
み、累積処理をすることにより、機能事象の累積発生回
数を計算する。本方式の採用により、論理シミュレータ
から見れば、機能事象の発生のチェック、および回数保
持処理も、通常の論理回路のシミュレーションと全く同
じ処理で実現される。一般に、論理シミュレータは、論
理回路のシミュレーション処理に対し高速化が施されて
いるため、この機能事象の発生回数計測処理も同様に高
速に処理される。このことより、他の計測方法に比べ、
処理速度に関するオーバヘッドを最小とすることが可能
となる。As described above, in the logic verification sufficiency evaluation system 200, prior to the logic simulation,
The function event pattern data to be measured is read, occurrence of each function event is checked, and virtual measurement logic circuit data having a function of recording the number of occurrences is created. In the logic simulation, the circuit to be verified and the logic circuit for measurement are collectively simulated, and the number of occurrences of functional events for one test data is measured. Finally, after the end of the simulation, the number of occurrences of each functional event stored in the measurement logic circuit is read and the cumulative processing is performed to calculate the cumulative number of occurrences of the functional event. With the adoption of this method, from the viewpoint of the logic simulator, the check of the occurrence of a functional event and the process of retaining the number of times are realized by the same process as that of the normal logic circuit simulation. In general, in the logic simulator, since the speed of the simulation process of the logic circuit is increased, the process of measuring the number of occurrences of the functional event is also performed at a high speed. From this, compared to other measurement methods,
It is possible to minimize the overhead related to the processing speed.
【0023】図10に、機能カバレジ計測準備処理10
00の処理フローを示す。図10において、実線の四角
は処理を、実線の矢印は処理の流れを、破線の四角はデ
ータを、破線の矢印はデータの流れをそれぞれ示す。機
能カバレジ計測準備処理1000は、再三述べたよう
に、機能事象パターンデータ300を入力とし、機能カ
バレジ計測に必要な計測用論理回路データ400と、接
続情報データ500、および機能事象名称データ600
を出力するものであるが、以下にさらに詳細な処理を説
明する。機能カバレジ計測準備処理1000は、機能事
象パターンデータ300を入力とし、パターンデータ解
析データ1007を出力する機能事象パターンデータ解
析処理1001と、パターンデータ解析データ1007
を入力とし、計測用論理回路データ400を出力する計
測用論理回路データ作成処理1002と、パターンデー
タ解析データ1007を入力とし、接続情報データ50
0を出力する接続情報データ作成処理1003と、パタ
ーンデータ解析データ1007と累積メモリ名称データ
1009を入力とし、機能事象名称データ600を出力
する機能事象名称データ作成処理1004より構成され
る。FIG. 10 shows a function coverage measurement preparation process 10.
00 shows a processing flow of 00. In FIG. 10, a solid-line square indicates processing, a solid-line arrow indicates processing flow, a dashed-line square indicates data, and a dashed-line arrow indicates data flow. As described above, the function coverage measurement preparation processing 1000 receives the function event pattern data 300 as input, and performs measurement logic circuit data 400 necessary for function coverage measurement, connection information data 500, and function event name data 600.
Is output, and a more detailed process will be described below. The function coverage measurement preparation processing 1000 receives the function event pattern data 300 as input and outputs the pattern data analysis data 1007, and the function event pattern data analysis processing 1001 and the pattern data analysis data 1007.
, And outputs the measurement logic circuit data generation processing 1002 that outputs the measurement logic circuit data 400, and the pattern data analysis data 1007, and the connection information data 50.
It comprises a connection information data creation process 1003 for outputting 0, and a function event name data creation process 1004 for inputting pattern data analysis data 1007 and cumulative memory name data 1009 and outputting function event name data 600.
【0024】機能カバレジ計測準備処理1000では、
まず機能事象パターンデータ解析処理1001が、機能
事象パターンデータ300を読み込み、字句解析/構文
解析を行なって、その内部データであるパターンデータ
解析データ1007を出力する。本処理は、従来より知
られる通常の言語解析処理である。次に、計測用論理回
路データ作成処理1002は、パターンデータ解析デー
タ1007を読み込み、定義されている機能事象の発生
の計測と回数を保持する機能を持つ計測用論理回路を生
成し、その回路情報を計測用論理回路データ400に出
力する。計測用論理回路データ作成処理1002は、時
間調整論理生成処理1100(詳細は図11)と、パタ
ーン照合論理生成処理1200(詳細は図12)、累積
メモリ付加処理1005、および計測用論理回路データ
生成処理1006より構成される。In the function coverage measurement preparation processing 1000,
First, the function event pattern data analysis processing 1001 reads the function event pattern data 300, performs lexical analysis / syntax analysis, and outputs pattern data analysis data 1007 as its internal data. This processing is an ordinary language analysis processing conventionally known. Next, the measurement logic circuit data creation processing 1002 reads the pattern data analysis data 1007, generates a measurement logic circuit having a function of measuring the occurrence and the number of occurrences of the defined function event, and generating the circuit information. Is output to the measurement logic circuit data 400. The measurement logic circuit data creation process 1002 includes a time adjustment logic creation process 1100 (detailed in FIG. 11), a pattern matching logic creation process 1200 (detailed in FIG. 12), a cumulative memory addition process 1005, and a measurement logic circuit data creation. The process 1006 is constituted.
【0025】計測用論理回路データ作成処理1002で
は、まず時間調整論理生成処理1100がパターンデー
タ解析データ1007を読み込み、計測用論理回路の中
の時間調整論理、すなわち与えられた機能事象の発生を
チェックするために、パターンを構成する信号のタイミ
ングを合わせる機能を持つ論理回路(図4の時間調整論
理402に相当)を生成し、内部データである計測用回
路内部データ1008に出力する。In the measurement logic circuit data creation processing 1002, first, the time adjustment logic generation processing 1100 reads the pattern data analysis data 1007 and checks the time adjustment logic in the measurement logic circuit, that is, occurrence of a given function event. For this purpose, a logic circuit (corresponding to the time adjustment logic 402 in FIG. 4) having a function of adjusting the timing of the signals constituting the pattern is generated and output to the measurement circuit internal data 1008 as internal data.
【0026】次に、パターン照合論理生成処理1200
は、計測用論理回路の中のパターン照合論理、すなわち
タイミングの合わせられた時間調整論理の出力信号に対
し、与えられた機能事象の信号パターンとの一致をチェ
ックする機能を持つ論理回路(図4のパターン照合論理
403に相当)を生成し、計測用回路内部データ100
8に出力する。次に、累積メモリ付加処理1005は、
計測用論理回路中の累積メモリの回路、すなわちパター
ン照合論理の出力信号である機能事象が発生したことを
示す信号をトリガにして、カウントアップされる機能を
持つ論理回路(図4の累積メモリ404に相当)を生成
し、計測用回路内部データ1008に出力する。また、
累積メモリ付加処理1005は、処理対象となった機能
事象の名称と対応する累積メモリの名称との対応表を、
累積メモリ名称データ1009に出力する。最後に、計
測用論理回路データ生成処理1006は、計測用回路内
部データ1008を読み込み論理シミュレータ201が
処理できる記述形式に変換して、計測用論理回路データ
400として出力する。なお、この記述形式としては、
例えば、VHDLやEDIF(Electorical Design Int
erchange Format)等が知られている。以上の処理にお
ける論理回路の記述レベルは、後続の論理シミュレータ
の処理能力に依存するが、一般にはRT(Register Tra
nsfer)レベル、あるいはゲートレベルである。以上に
より、計測用論理回路データ作成処理1002は、機能
事象パターンデータ300に定義された各機能事象の発
生回数を計測し、その発生回数を累積する機能を持つ論
理回路を生成し、計測用論理回路データ400に出力す
る。Next, pattern matching logic generation processing 1200
Is a logic circuit having a function of checking whether the output signal of the pattern matching logic in the measurement logic circuit, that is, the time adjustment logic whose timing has been adjusted, matches the signal pattern of a given functional event (FIG. 4). (Corresponding to the pattern matching logic 403 of FIG. 3), and the measurement circuit internal data 100
8 is output. Next, cumulative memory addition processing 1005
A logic circuit having a function of being counted up by a circuit of an accumulation memory in the measurement logic circuit, that is, a signal indicating that a functional event which is an output signal of the pattern matching logic has occurred (accumulation memory 404 in FIG. 4) Is generated and output to the measurement circuit internal data 1008. Also,
The cumulative memory addition processing 1005 generates a correspondence table between the names of the functional events to be processed and the names of the corresponding cumulative memories.
Output to the accumulated memory name data 1009. Finally, the measurement logic circuit data generation processing 1006 reads the measurement circuit internal data 1008, converts the data into a description format that can be processed by the logic simulator 201, and outputs it as the measurement logic circuit data 400. In addition, as this description format,
For example, VHDL and EDIF (Electorical Design Int.
erchange Format) is known. The description level of the logic circuit in the above processing depends on the processing capability of the subsequent logic simulator.
nsfer) level or gate level. As described above, the measurement logic circuit data creation processing 1002 measures the number of occurrences of each function event defined in the function event pattern data 300, generates a logic circuit having a function of accumulating the number of occurrences, and generates the measurement logic. Output to the circuit data 400.
【0027】次に、接続情報データ生成処理1003に
よって、検証対象論理回路と計測用論理回路の論理的な
接続を定義した接続情報データ500を作成する。接続
情報データ生成処理1003は、パターンデータ解析デ
ータ1007と計測用回路内部データ1008を入力と
し、計測用論理回路データ作成処理1002中で作成さ
れる論理回路の入力信号名称と、機能事象の観測信号の
検証対象論理回路中での信号名称とのペアを抽出して出
力する。最後に、機能事象名称データ生成処理1004
によって、機能事象の各名称と対応する累積メモリの名
称との対応表である機能事象名称データ600を作成す
る。機能事象名称データ生成処理1004は、累積メモ
リ名称データ1009を入力とし、図6に示したような
書式に変換して、機能事象名称データ600として出力
する。Next, in connection information data generation processing 1003, connection information data 500 defining the logical connection between the logic circuit to be verified and the measurement logic circuit is created. The connection information data generation processing 1003 receives the pattern data analysis data 1007 and the measurement circuit internal data 1008 as inputs, and receives the input signal name of the logic circuit created in the measurement logic circuit data creation processing 1002 and the observation signal of the functional event. And a pair with a signal name in the logic circuit to be verified is extracted and output. Finally, a function event name data generation process 1004
Thus, the function event name data 600 which is a correspondence table between each name of the function event and the name of the corresponding accumulation memory is created. The function event name data generation processing 1004 receives the cumulative memory name data 1009 as input, converts the data into a format as shown in FIG.
【0028】図11に時間調整論理生成処理1100の
詳細な処理フローを示す。時間調整論理生成処理110
0では、処理1101において、全ての機能事象に対し
て以下の処理を行なう。まず処理1102において、機
能事象を構成する各信号線のパターンのうち、最速のパ
ターンの出現するタイミングと最遅のパターンの出現す
るタイミングの差(これを最大遅延数と呼ぶ)を調べ
る。図1に示した機能事象100の例では、SIGNAL_A
とSIGNAL_Cのパターン出現の時間差がこれに相当し、こ
の例の場合は、2サイクルとなる。FIG. 11 shows a detailed processing flow of the time adjustment logic generation processing 1100. Time adjustment logic generation processing 110
At 0, the following processing is performed for all functional events in processing 1101. First, in process 1102, a difference between the timing of the appearance of the fastest pattern and the timing of the appearance of the slowest pattern among the patterns of the signal lines constituting the functional event (this is referred to as the maximum delay number) is examined. In the example of the function event 100 shown in FIG. 1, SIGNAL_A
This corresponds to the time difference between the appearance of the pattern and SIGNAL_C. In this example, this is two cycles.
【0029】次に、処理1103において、全ての観測
すべき信号線に対し、以下の処理を行なう。まず、処理
1104において、各観測すべき信号について、遅延さ
せるサイクル数を決定する。具体的には、各信号に対し
て、処理1102で求めた最大遅延数に対し、その信号
の定義されているタイミングとの差を求める。本例の場
合は、SIGNAL_Aは2サイクル、SIGNAL_Bは1サイクル、
SIGNAL_Cは0サイクル、SIGNAL_Dは1サイクルである。
次に、処理1105において、処理1104で求められ
た遅延サイクルを実現するために、各信号に対し、エッ
ジトリガ型のラッチが挿入される。その個数は、遅延サ
イクル数と同じである。最後に、処理1106により、
処理1105で生成したエッジトリガ型ラッチ間を結線
し、その派生された信号に名称を与える。以上の処理に
より、時間調整論理生成処理1100は、例えば図4に
示したような時間調整論理402を生成する。なお、時
間調整論理の出力信号を以下、同期信号と呼ぶ。Next, in processing 1103, the following processing is performed on all signal lines to be observed. First, in processing 1104, the number of cycles to be delayed is determined for each signal to be observed. Specifically, for each signal, the difference between the maximum delay number obtained in the process 1102 and the defined timing of the signal is obtained. In this example, SIGNAL_A is 2 cycles, SIGNAL_B is 1 cycle,
SIGNAL_C is 0 cycle and SIGNAL_D is 1 cycle.
Next, in processing 1105, an edge trigger type latch is inserted for each signal in order to realize the delay cycle determined in processing 1104. The number is the same as the number of delay cycles. Finally, by processing 1106,
The edge-triggered latches generated in the process 1105 are connected, and the derived signal is given a name. Through the above processing, the time adjustment logic generation processing 1100 generates, for example, the time adjustment logic 402 as shown in FIG. The output signal of the time adjustment logic is hereinafter referred to as a synchronization signal.
【0030】図12に、パターン照合論理生成処理12
00の処理フローを示す。パターン照合論理生成処理1
200では、処理1201において、全ての機能事象に
ついて以下の処理を行なう。まず処理1202におい
て、全ての時間調整論理の出力である同期信号に対し、
その照合パターンを調べ、処理1203の分岐制御を行
なう。すなわち、その照合パターンが“0”の場合、そ
の同期信号に対し、インバータを接続する。これによ
り、その同期信号が“0”であることをのチェックは、
インバータ出力信号が“1”であることと同値となる。
最後に、処理1205において、全ての同期信号、ある
いはインバータの出力信号に対し、1つのANDゲート
を付加する。ANDゲートの出力信号は、入力が全て
“1”である場合にのみ“1”になるため、ANDゲー
トの出力が“1”であることは、発生回数を計測すべき
機能事象が発生したことを意味する。以上により、パタ
ーン照合論理生成処理1200は、パターン照合論理を
生成する。以上説明したように、論理検証充分性評価シ
ステム200は、論理シミュレーションの実行に先立
ち、まず、機能カバレジ計測準備処理1000によっ
て、与えられた機能事象に対して該機能事象の発生を計
測しその発生回数を保持する機能を持った計測用論理回
路を生成し、次に、論理シミュレーションにおいて、検
証対象論理回路と先に生成した計測用論理回路を一括し
て、シミュレーションを行なうようにしたものである。
ここで、シミュレータ側からみると、通常のゲート評価
と同じ処理をすることで、機能事象の発生を計測するこ
とができる。論理シミュレーション終了後、発生回数を
保持した累積メモリの内容を出力し、結果累積編集処理
により、累積/出力を行なう。以上の処理により、カバ
レジの計測に関する論理シミュレーションにおける実行
速度のオーバヘッドを最小にすることが可能となる。FIG. 12 shows a pattern matching logic generation process 12.
00 shows a processing flow of 00. Pattern matching logic generation processing 1
In step 2001, the following processing is performed for all function events in step 1201. First, in process 1202, for the synchronization signal that is the output of all the time adjustment logics,
The collation pattern is checked, and the branch control of the process 1203 is performed. That is, when the matching pattern is “0”, an inverter is connected to the synchronization signal. Thus, the check that the synchronization signal is "0" is
It has the same value as the inverter output signal being "1".
Finally, in processing 1205, one AND gate is added to all the synchronization signals or the output signals of the inverters. Since the output signal of the AND gate becomes "1" only when all the inputs are "1", the output of the AND gate being "1" means that the functional event whose number of occurrences needs to be measured has occurred. Means As described above, the pattern matching logic generation processing 1200 generates the pattern matching logic. As described above, prior to the execution of the logic simulation, the logic verification sufficiency evaluation system 200 first measures the occurrence of a given function event with respect to a given function event by the function coverage measurement preparation processing 1000 and generates the result. A measurement logic circuit having a function of holding the number of times is generated, and then, in a logic simulation, the verification target logic circuit and the previously generated measurement logic circuit are collectively simulated. .
Here, from the viewpoint of the simulator, it is possible to measure the occurrence of the functional event by performing the same processing as the normal gate evaluation. After completion of the logic simulation, the contents of the accumulation memory holding the number of occurrences are output, and accumulation / output is performed by a result accumulation editing process. Through the above processing, it is possible to minimize the overhead of the execution speed in the logic simulation related to the coverage measurement.
【0031】[0031]
【発明の効果】本発明の論理検証充分性評価方法および
システムによれば、論理シミュレーションにおける実現
機能に基づく論理検証の充分性評価を、論理シミュレー
タに特別な処理を加えることなく、かつ高速に実行可能
である。その結果、機能カバレジの計測に要する実行速
度のオーバヘッドを小さくすることができ、充分に実用
的なシステムを構築することが可能となる。故に、本機
能カバレジ計測結果を、未検証機能の指摘やシミュレー
ションの進捗管理等に利用でき、実行するテストプログ
ラムの選択や新たなテストプログラムの作成等のフィー
ドバックを行なうことにより、必要かつ充分なテストプ
ログラムによる効率的な論理検証が実現可能となる。According to the logic verification sufficiency evaluation method and system of the present invention, the logic verification sufficiency evaluation based on the function realized in the logic simulation is executed at high speed without adding any special processing to the logic simulator. It is possible. As a result, the overhead of the execution speed required for measuring the function coverage can be reduced, and a sufficiently practical system can be constructed. Therefore, the results of this function coverage measurement can be used to indicate unverified functions and to manage the progress of simulation, etc., and provide necessary and sufficient testing by selecting the test program to be executed and providing feedback such as creating a new test program. Efficient logic verification by a program can be realized.
【図1】本発明の論理検証充分性評価方法において発生
の計測対象となる機能事象の例示図である。FIG. 1 is a diagram illustrating an example of a functional event to be measured for occurrence in the logic verification sufficiency evaluation method of the present invention.
【図2】本発明の論理検証充分性評価方法を実施するシ
ステムの構成図である。FIG. 2 is a configuration diagram of a system that implements a logic verification sufficiency evaluation method of the present invention.
【図3】本発明にかかる機能事象パターンデータの例示
図である。FIG. 3 is an illustration of functional event pattern data according to the present invention.
【図4】本発明にかかる計測用論理回路の例示図であ
る。FIG. 4 is an exemplary diagram of a measurement logic circuit according to the present invention.
【図5】本発明にかかる接続情報データの例示図であ
る。FIG. 5 is an exemplary diagram of connection information data according to the present invention.
【図6】本発明にかかる機能事象名称データの例示図で
ある。FIG. 6 is an illustration of functional event name data according to the present invention.
【図7】本発明にかかる累積メモリデータの例示図であ
る。FIG. 7 is an exemplary diagram of accumulated memory data according to the present invention.
【図8】本発明にかかる累積データの例示図である。FIG. 8 is an exemplary diagram of accumulated data according to the present invention.
【図9】本発明にかかる出力結果の例示図である。FIG. 9 is an illustration of an output result according to the present invention.
【図10】本発明にかかる機能カバレジ計測準備処理の
フロー図である。FIG. 10 is a flowchart of a function coverage measurement preparation process according to the present invention.
【図11】本発明にかかる時間調整論理生成処理のフロ
ー図である。FIG. 11 is a flowchart of a time adjustment logic generation process according to the present invention.
【図12】本発明にかかるパターン照合論理生成処理の
フロー図である。FIG. 12 is a flowchart of a pattern matching logic generation process according to the present invention.
【図13】本発明における論理検証充分性評価システム
のハードウエア構成例である。FIG. 13 is an example of a hardware configuration of a logic verification sufficiency evaluation system according to the present invention.
1:CPU、2:出力装置、3:キーボード、4:主記
憶、5:補助記憶装置 5、6:シミュレーション専用機構、200…論理検証
充分性評価システム、201…論理シミュレータ、20
2…結果累積編集処理、203…検証対象論理回路デー
タ、204:テストデータ、205:シミュレーション
結果データ、300…機能事象パターンデータ、400
…計測用論理回路データ、500…接続情報データ、6
00…機能事象名称データ、700…累積メモリデー
タ、800…累積データ、1000…機能カバレジ計測
準備処理、1100…時間調整論理生成処理、1200
…パターン照合論理生成処理1: CPU, 2: output device, 3: keyboard, 4: main memory, 5: auxiliary storage device 5, 6: simulation-dedicated mechanism, 200: logic verification sufficiency evaluation system, 201: logic simulator, 20
2 ... Result cumulative editing process 203 ... Logic circuit data to be verified 204: Test data 205: Simulation result data 300: Function event pattern data 400
... Logic circuit data for measurement, 500 ... Connection information data, 6
00: Function event name data, 700: Cumulative memory data, 800: Cumulative data, 1000: Function coverage measurement preparation processing, 1100: Time adjustment logic generation processing, 1200
… Pattern matching logic generation processing
───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平5−67165(JP,A) 特開 平4−289974(JP,A) 特開 平3−41565(JP,A) 特開 昭64−26243(JP,A) 特開 平3−18776(JP,A) 「情報処理学会全国大会講演論文集」 VOL.43rd NO.6 PAGE 6.263−6.264 ”HAL3を用いた HWとFWの網羅率測定システム" (58)調査した分野(Int.Cl.7,DB名) G06F 17/50 G06F 11/25 G01R 31/28 JICSTファイル(JOIS)──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-5-67165 (JP, A) JP-A-4-289974 (JP, A) JP-A-3-41565 (JP, A) JP-A 64-64 26243 (JP, A) Japanese Patent Laid-Open No. Hei 3-18776 (JP, A) "Transactions of the National Convention of the Information Processing Society of Japan" Vol. 43rd NO. 6 PAGE 6.263-6.264 "HW and FW coverage measurement system using HAL3" (58) Fields investigated (Int. Cl. 7 , DB name) G06F 17/50 G06F 11/25 G01R 31 / 28 JICST file (JOIS)
Claims (6)
を表現した機能事象パターンデータを入力し、論理シミ
ュレーション中の前記機能事象の発生回数を計測し、前
記機能事象の発生状況データを出力する論理検証充分性
評価方法において、前記機能事象の発生回数を計測する
機能を持った仮想的な計測用論理回路データを予め作成
する第1のステップと、検証対象論理回路データと前記
仮想的な計測用論理回路データとを一括してシミユレー
ションして前記機能事象の発生回数を計測して機能事象
の発生状況を出力する第2のステップとを有し、 かつ、前記第1のステップは、前記機能事象パターンデ
ータを入力して字句解析/構文解析を行ない、内部デー
タであるパターンデータ解析データを出力するパターン
データ解析ステップと、前記パターンデータ解析データ
を入力してパターンを構成する信号のタイミングを調整
する時間調整論理生成処理を行うステップと、該時間調
整論理生成処理の出力と与えられた機能事象パターンデ
ータとを照合するパターン照合論理生成処理ステップ
と、前記パターン照合論理生成処理の結果、時間調整論
理生成処理の出力と与えられた機能事象パターンデータ
とが一致した場合に、機能事象の発生回数を保持する累
積メモリをカウントアップさせる累積メモリ付加処理ス
テップと、前記時間調整論理生成処理を行うステップと
パターン照合論理生成処理ステップと前記累積メモリ付
加処理ステップによって得られたデータに基づいて計測
用論理回路データを生成する計測用論理回路データ生成
処理ステップとからなる ことを特徴とする論理検証充分
性評価方法。1. A function event pattern data representing a function of a logic circuit to be verified which is defined in advance is input, the number of occurrences of the function event during a logic simulation is measured, and the occurrence status data of the function event is output. A first step of previously creating virtual measurement logic circuit data having a function of measuring the number of occurrences of the functional event in the logic verification sufficiency evaluation method; and a logic circuit data to be verified and the virtual measurement. And a second step of simultaneously simulating the use logic circuit data and measuring the number of occurrences of the function event to output the occurrence state of the function event , and wherein the first step includes: The function event pattern data
Lexical analysis / syntax analysis by inputting
Pattern that outputs pattern data analysis data
A data analysis step, and the pattern data analysis data
To adjust the timing of the signals that make up the pattern
Performing a time adjustment logic generation process that performs
Output of the integer logic generation process and the given function event pattern data
Pattern matching logic generation processing step to match data
And time adjustment theory as a result of the pattern matching logic generation processing.
Output of logical generation processing and given function event pattern data
When the value of
Cumulative memory addition processing to increase product memory
And performing the time adjustment logic generation processing.
Pattern matching logic generation processing step and the accumulation memory
Measured based on data obtained by processing steps
Logic circuit data generation for generating logic circuit data
A logic verification sufficiency evaluation method characterized by comprising a processing step .
において、 前記第1のステップは、さらに機能事象と該機能事象の
発生回数を保持する累積メモリとを対応づける機能事象
名称データと、検証対象論理回路と前記計測用論理回路
の論理的な接続関係を定義する接続情報データとを作成
するステップを含むことを特徴とする論理検証充分性評
価方法。2. The logic verification sufficiency evaluation method according to claim 1 , wherein the first step further comprises: function event name data for associating a function event with a cumulative memory holding the number of occurrences of the function event; A logic verification sufficiency evaluation method, comprising the step of creating connection information data defining a logical connection relationship between a verification target logic circuit and the measurement logic circuit.
評価方法において、 前記第2のステップは、検証対象論理回路データとテス
トデータと前記計測用論理回路データと前記接続情報デ
ータとからシミュレーション結果データを出力する第3
のステップと、該論理シミュレータの出力と前記機能事
象名称データとから機能事象の発生状況を出力する第4
のステップとからなることを特徴とする論理検証充分性
評価方法。3. A logic verification adequacy evaluation method according to claim 1 or 2, wherein the second step, the simulation from verified logic circuit data and the test data and the measurement logic circuit data and the connection information data Third to output result data
And outputting a status of occurrence of a functional event from the output of the logic simulator and the functional event name data.
A logic verification sufficiency evaluation method characterized by comprising the steps of:
を表現した機能事象パターンデータを入力とし、論理シ
ミュレーション中の前記機能事象の発生回数を計測し前
記機能事象の発生状況データを出力する論理検証充分性
評価システムであって、機能事象のパターンに関する情
報に基づいて前記機能事象の発生回数を計測する機能を
持った仮想的な計測用論理回路データを作成する第1の
手段と、該仮想的な計測用論理回路データと検証対象と
なる検証対象論理回路データとを一括してシミュレーシ
ョンすることによって前記機能事象の発生回数を計測し
て機能事象の発生状況を出力する第2の手段とを有し、 かつ、前記第1の手段は、前記機能事象パターンデータ
を入力して字句解析/構文解析を行ない、内部データで
あるパターンデータ解析データを出力する第3の手段
と、前記パターンデータ解析データを入力してパターン
を構成する信号のタイミングを調整する時間調整論理生
成処理を行う手段と、該時間調整論理生成処理の出力と
与えられた機能事象パターンデータとを照合するパター
ン照合論理生成処理手段と、前記パターン照合論理生成
処理の結果、時間調整論理生成処理の出力と与えられた
機能事象パターンデータとが一致した場合に、機能事象
の発生回数を保持する累積メモリをカウントアップさせ
る累積メモリ付加処理手段と、前記時間調整論理生成処
理を行う手段とパターン照合論理生成処理手段と前記累
積メモリ付加処理手段によって得られたデータに基づい
て計測用論理回路データを生成する計測用論理回路デー
夕生成処理手段とからなる ことを特徴とする論理検証充
分性評価システム。4. A logic for inputting function event pattern data representing a function of a logic circuit to be verified which is defined in advance, measuring the number of occurrences of the function event during a logic simulation, and outputting occurrence status data of the function event. A verification adequacy evaluation system, comprising: first means for creating virtual measurement logic circuit data having a function of measuring the number of occurrences of the functional event based on information on a pattern of the functional event; specific measurement logic circuit data and collectively the verification target logic circuit data to be verified and a second means for outputting the occurrence of to functional entity measures the number of occurrences of the functional entity by simulating And said first means comprises said function event pattern data
Enter lexical analysis / syntax analysis using
Third means for outputting certain pattern data analysis data
And the pattern data analysis data
Time adjustment logic to adjust the timing of the signals that make up
Means for performing the time adjustment processing, and the output of the time adjustment logic generation processing.
A putter that matches the given functional event pattern data
Pattern matching logic generation processing means, and the pattern matching logic generation
As a result of the processing, the output of the time adjustment logic generation processing and given
When the function event pattern data matches, the function event
The cumulative memory that holds the number of occurrences of
Accumulative memory addition processing means, and the time adjustment logic generation processing
Processing means, pattern matching logic generation processing means, and
Based on the data obtained by the product memory addition processing means
Logic circuit data to generate measurement logic circuit data
A logic verification sufficiency evaluation system, comprising: an evening generation processing means .
テムにおいて、 前記第1の手段は、さらに機能事象と該機能事象の発生
回数を保持する累積メモリとを対応づける機能事象名称
データと、検証対象論理回路中の信号と前記計測用論理
回路データの入力データとを対応づける接続情報データ
とを作成する手段を含むことを特徴とする論理検証充分
性評価システム。5. The logic verification sufficiency evaluation system according to claim 4 , wherein the first means further comprises: function event name data for associating a function event with a cumulative memory holding the number of occurrences of the function event; A logic verification sufficiency evaluation system including means for creating connection information data for associating a signal in a logic circuit to be verified with input data of the measurement logic circuit data.
評価システムにおいて、 前記第2の手段は、検証対象論理回路データとテストデ
ータと前記計測用論理回路データと前記接続情報データ
とからシミュレーション結果データを出力する第3の手
段と、該論理シミュレータの出力と前記機能事象名称デ
ータとから機能事象の発生状況を出力する第4の手段と
からなることを特徴とする論理検証充分性評価システ
ム。6. The logic verification sufficiency evaluation system according to claim 4 , wherein the second means simulates the logic circuit data to be verified, test data, the measurement logic circuit data, and the connection information data. A logic verification sufficiency evaluation system comprising: third means for outputting result data; and fourth means for outputting a status of occurrence of a functional event from an output of the logic simulator and the functional event name data. .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6319617A JP3052263B2 (en) | 1994-12-22 | 1994-12-22 | Logic verification sufficiency evaluation method and system therefor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6319617A JP3052263B2 (en) | 1994-12-22 | 1994-12-22 | Logic verification sufficiency evaluation method and system therefor |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH08180083A JPH08180083A (en) | 1996-07-12 |
| JP3052263B2 true JP3052263B2 (en) | 2000-06-12 |
Family
ID=18112288
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP6319617A Expired - Fee Related JP3052263B2 (en) | 1994-12-22 | 1994-12-22 | Logic verification sufficiency evaluation method and system therefor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3052263B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5873767B2 (en) * | 2012-06-19 | 2016-03-01 | 株式会社日立製作所 | Logic verification system and coverage acquisition method |
-
1994
- 1994-12-22 JP JP6319617A patent/JP3052263B2/en not_active Expired - Fee Related
Non-Patent Citations (1)
| Title |
|---|
| 「情報処理学会全国大会講演論文集」VOL.43rd NO.6 PAGE 6.263−6.264 "HAL3を用いたHWとFWの網羅率測定システム" |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH08180083A (en) | 1996-07-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR100921314B1 (en) | High Performance Design Verification Apparatus Using Verification Results Re-use Technique and Its Rapid Verification Method Using the Same | |
| US4937765A (en) | Method and apparatus for estimating fault coverage | |
| US6609229B1 (en) | Method for automatically generating checkers for finding functional defects in a description of a circuit | |
| US20110035203A1 (en) | system level power evaluation method | |
| US7188061B2 (en) | Simulation monitors based on temporal formulas | |
| US6557150B1 (en) | Method of extracting timing characteristics of transistor circuits, storage medium storing timing characteristic library, LSI designing method, and gate extraction method | |
| CN117113908B (en) | A verification method, device, electronic device and readable storage medium | |
| US7490307B2 (en) | Automatic generating of timing constraints for the validation/signoff of test structures | |
| US20150121346A1 (en) | Method and apparatus for debugging hdl design code and test program code | |
| US12271670B2 (en) | Testbench for sub-design verification | |
| US6725187B1 (en) | Latch inference using dataflow analysis | |
| US6810507B2 (en) | Method and apparatus for isolating the root of indeterminate logic values in an HDL simulation | |
| US9058452B1 (en) | Systems and methods for tracing and fixing unknowns in gate-level simulation | |
| US11200127B2 (en) | Automated self-check of a closed loop emulation replay | |
| CN116048952A (en) | A method and device for instantiating module simulation verification based on tailorable IP | |
| Hekmatpour et al. | Block-based schema-driven assertion generation for functional verification | |
| JP3052263B2 (en) | Logic verification sufficiency evaluation method and system therefor | |
| US7051301B2 (en) | System and method for building a test case including a summary of instructions | |
| CN117827563B (en) | Processor function verification method, device and medium | |
| WO2025185801A1 (en) | Simulation method and device | |
| US7606692B2 (en) | Gate-level netlist reduction for simulating target modules of a design | |
| US8813005B1 (en) | Debugging using tagged flip-flops | |
| Sharma et al. | An automation methodology for amelioration of SpyGlassCDC abstract view generation process | |
| JP2003330983A (en) | Test facilitation design system, test facilitation design method, program and recording medium | |
| JP2003058597A (en) | Logical equivalence verification device and logical equivalence verification method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080407 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090407 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090407 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100407 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110407 Year of fee payment: 11 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120407 Year of fee payment: 12 |
|
| LAPS | Cancellation because of no payment of annual fees |