Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7745510B2 - Verification pattern check device and program - Google Patents
[go: Go Back, main page]

JP7745510B2 - Verification pattern check device and program - Google Patents

Verification pattern check device and program

Info

Publication number
JP7745510B2
JP7745510B2 JP2022088124A JP2022088124A JP7745510B2 JP 7745510 B2 JP7745510 B2 JP 7745510B2 JP 2022088124 A JP2022088124 A JP 2022088124A JP 2022088124 A JP2022088124 A JP 2022088124A JP 7745510 B2 JP7745510 B2 JP 7745510B2
Authority
JP
Japan
Prior art keywords
verification
module
signal
verification pattern
keyword
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.)
Active
Application number
JP2022088124A
Other languages
Japanese (ja)
Other versions
JP2023176055A (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.)
Mitsubishi Electric Engineering Co Ltd
Original Assignee
Mitsubishi Electric Engineering Co 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 Mitsubishi Electric Engineering Co Ltd filed Critical Mitsubishi Electric Engineering Co Ltd
Priority to JP2022088124A priority Critical patent/JP7745510B2/en
Publication of JP2023176055A publication Critical patent/JP2023176055A/en
Application granted granted Critical
Publication of JP7745510B2 publication Critical patent/JP7745510B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本開示は、検証パターンチェック装置およびプログラムに関する。 This disclosure relates to a verification pattern check device and program.

半導体集積回路等の論理回路の故障検出には、ハードウェア記述言語(以下、HDLという。)で記述された検証パターンが用いられる。検証パターンは、論理回路の入力端子に入力され、論理回路の出力端子からの出力状態を、検証パターンに対応した期待の出力パターンと比較した結果に基づいて論理回路の故障検出が行われる。しかしながら、検証パターンを用いた論理回路の故障検出において、検出対象の論理回路の入力端子数が増加した場合、論理回路をテストするための検証パターン数が増大する。このため、論理回路の故障検出に用いられる検証パターンを検査する必要がある。 Verification patterns written in a hardware description language (HDL) are used to detect faults in logic circuits such as semiconductor integrated circuits. The verification patterns are input to the input terminals of the logic circuit, and fault detection in the logic circuit is performed based on the results of comparing the output state from the logic circuit's output terminals with the expected output pattern corresponding to the verification pattern. However, when using verification patterns to detect faults in logic circuits, if the number of input terminals of the logic circuit being detected increases, the number of verification patterns required to test the logic circuit also increases. For this reason, it is necessary to inspect the verification patterns used to detect faults in logic circuits.

例えば、特許文献1には、論理シミュレーションにおいて、検証パターンを1ステップごとに実行し、論理回路内部のネットの論理状態が変化したときに、論理状態の変化が、論理回路の出力端子で観測可能であるか否かを判定し、観測可能であると判定された場合にのみ当該ネットの有効トグル数をカウントアップする検証方法が記載されている。この検証方法は、論理回路内部の各ネットの有効トグル数を主とした検証結果を得ることで、検証パターンの故障検出能力を有効に評価することができるものである。 For example, Patent Document 1 describes a verification method in which a verification pattern is executed step by step in a logic simulation, and when the logical state of a net within a logic circuit changes, it determines whether the change in logical state is observable at the output terminal of the logic circuit, and counts up the number of valid toggles for that net only if it is determined that the change is observable. This verification method can effectively evaluate the fault detection capability of a verification pattern by obtaining verification results that primarily consist of the number of valid toggles for each net within the logic circuit.

特許第2642250号Patent No. 2642250

従来の検証方法は、検証パターンの検証目的をチェックすることができないという課題があった。ここで、検証目的は、検証パターンが論理回路の検証対象の機能を示す情報であり、検証パターンは、検証目的に沿った内容で作成される。しかしながら、一般的に、論理回路の検証には多数の検証パターンが用いられ、また論理回路の設計と検証パターンの生成は別々に行われる場合が多いので、検証パターンがどの検証目的に対応するのかといったことをチェックするのは困難であった。 Conventional verification methods have the problem of being unable to check the verification purpose of a verification pattern. Here, the verification purpose is information that indicates the function of the logic circuit being verified, and the verification pattern is created with content that is in line with the verification purpose. However, since a large number of verification patterns are generally used to verify logic circuits, and the logic circuit design and verification pattern generation are often performed separately, it has been difficult to check which verification purpose a verification pattern corresponds to.

本開示は上記課題を解決するものであり、検証パターンの検証目的をチェックすることができる、検証パターンチェック装置およびプログラムを得ることを目的とする。 The present disclosure aims to solve the above problem by providing a verification pattern checking device and program that can check the verification purpose of a verification pattern.

本開示に係る検証パターンチェック装置は、HDLで記述された検証パターンの回路記述から信号名をモジュールごとに抽出する信号抽出部と、信号名の信号のトグル量をカウントするカウンタを生成するカウンタ生成部と、検証パターンを実行したときのカウンタ値が第1の判別条件を満たすモジュールを、検証対象モジュールとして特定するモジュール特定部と、検証対象モジュールにおけるカウンタ値が第2の判別条件を満たす信号名を特定する信号特定部と、特定された信号名に対応する第1のキーワードを回路記述のコメント欄から抽出し、第1のキーワードに対応する第2のキーワードを、検証パターンの仕様が記載された検証仕様書情報から抽出するキーワード抽出部と、第1のキーワードおよび第2のキーワードを用いて検証パターンの検証目的を特定する検証目的特定部を備える。 The verification pattern checking device according to the present disclosure includes a signal extraction unit that extracts signal names for each module from the circuit description of a verification pattern written in HDL; a counter generation unit that generates a counter that counts the toggle amount of the signal for the signal name; a module identification unit that identifies, as a module to be verified, a module whose counter value satisfies a first discrimination condition when the verification pattern is executed; a signal identification unit that identifies signal names in the module to be verified whose counter value satisfies a second discrimination condition; a keyword extraction unit that extracts a first keyword corresponding to the identified signal name from a comment field in the circuit description and extracts a second keyword corresponding to the first keyword from verification specification information that describes the specifications of the verification pattern; and a verification purpose identification unit that identifies the verification purpose of the verification pattern using the first keyword and the second keyword.

本開示によれば、検証パターンの回路記述から信号名をモジュールごとに抽出し、検証パターンを実行したときの信号のトグル量のカウンタ値が第1の判別条件を満たすモジュールを検証対象モジュールとして特定し、検証対象モジュールにおけるカウンタ値が第2の判別条件を満たす信号名を特定し、特定した信号名に対応する第1のキーワードを回路記述のコメント欄から抽出し、第1のキーワードに対応する第2のキーワードを検証仕様書情報から抽出し、第1のキーワードおよび第2のキーワードを用いて、検証パターンの検証目的を特定する。これにより、本開示に係る検証パターンチェック装置は、検証パターンの検証目的をチェックすることができる。 According to the present disclosure, signal names are extracted for each module from the circuit description of a verification pattern; a module whose counter value of the signal toggle amount when the verification pattern is executed satisfies a first judgment condition is identified as a module to be verified; signal names whose counter values in the module to be verified satisfy a second judgment condition are identified; a first keyword corresponding to the identified signal name is extracted from the comment field of the circuit description; a second keyword corresponding to the first keyword is extracted from the verification specification information; and the verification purpose of the verification pattern is identified using the first keyword and the second keyword. This allows a verification pattern checking device according to the present disclosure to check the verification purpose of a verification pattern.

実施の形態1に係る論理検証システムの構成を示すブロック図である。1 is a block diagram showing a configuration of a logic verification system according to a first embodiment; 実施の形態1に係る検証パターンチェック装置の構成を示すブロック図である。1 is a block diagram showing a configuration of a verification pattern check device according to a first embodiment; 実施の形態1に係る検証パターンチェック装置の動作を示すフローチャートである。4 is a flowchart showing the operation of the verification pattern check device according to the first embodiment; 検証パターンの回路記述における各モジュールの信号名を示す図である。FIG. 10 is a diagram showing signal names of each module in the circuit description of the verification pattern. 信号名が示す信号のトグル量をカウントする処理の概要を示す図である。FIG. 10 is a diagram illustrating an outline of a process for counting the toggle amount of a signal indicated by a signal name. 検証目的である検証対象機能を特定する処理の概要を示す図である。FIG. 10 is a diagram illustrating an outline of a process for identifying a verification target function, which is a verification objective. 実施の形態1に係る検証パターンチェック装置の機能を実現するハードウェア構成を示すブロック図である。1 is a block diagram showing a hardware configuration for realizing the functions of a verification pattern check device according to a first embodiment;

実施の形態1.
図1は、実施の形態1に係る論理検証システム1の構成を示すブロック図である。図1において、論理検証システム1は、論理回路の機能およびタイミングを検証するシステムであり、検証パターンチェック装置2、記憶部3、および論理シミュレータ4を備える。検証パターンチェック装置2は、論理回路の検証に使用される検証パターンの検証目的をチェックする。検証パターンは、HDLで記述されたファイルであり、論理回路ハードウェアを検証するために用いられる。検証パターンは、テストベンチとも呼ばれる。記憶部3には、論理回路の検証に用いる多数の検証パターンが記憶されている。論理シミュレータ4は、検証対象の論理回路ハードウェアを模擬したモデルに検証パターンを入力して、論理回路の応答を観測し、論理回路の動作を検証するものである。
Embodiment 1.
FIG. 1 is a block diagram showing the configuration of a logic verification system 1 according to a first embodiment. In FIG. 1, the logic verification system 1 is a system for verifying the function and timing of a logic circuit, and includes a verification pattern check device 2, a storage unit 3, and a logic simulator 4. The verification pattern check device 2 checks the verification purpose of verification patterns used to verify the logic circuit. The verification patterns are files written in HDL and are used to verify the logic circuit hardware. The verification patterns are also called test benches. The storage unit 3 stores a large number of verification patterns used to verify the logic circuit. The logic simulator 4 inputs the verification patterns into a model that simulates the logic circuit hardware to be verified, observes the response of the logic circuit, and verifies the operation of the logic circuit.

論理シミュレータ4による論理回路の検証には、RTL(Register Transfer Level)の検証がある。例えば、論理回路および検証パターンはVerilog-HDLで記述され、RTLの検証が実行される。一般的な論理回路の検証には、1000~2000といった多数の検証パターンが用いられる。個々の検証パターンは、検証仕様書に記載された検証目的に沿った内容で作成される。 Logic circuit verification using the logic simulator 4 includes RTL (Register Transfer Level) verification. For example, the logic circuit and verification patterns are written in Verilog-HDL, and RTL verification is performed. A typical logic circuit is verified using a large number of verification patterns, on the order of 1,000 to 2,000. Each verification pattern is created based on the verification objectives described in the verification specifications.

しかしながら、実際には、検証仕様書の作成工数を削減するために、仕様書作成の手順が簡略化されることがあり、この簡略化が過度に行われると、どのような目的で検証する必要があるのかが検証仕様書に明確に記載されていないことがある。特に、過去に開発された製品を新たな製品の開発に流用する流用開発において、過去に開発された製品の検証仕様書には、このような仕様書が多い。どのような目的で検証する必要があるのかが明確に記載されていない場合、検証パターンがどのような検証目的に対応するものであるのかも明確でない場合が多い。このような事情を鑑みて、検証パターンチェック装置2では、論理シミュレータ4が検証パターンを実行して論理回路を検証しているときに、当該検証パターンの検証目的をチェックする。これにより、検証パターンが検証仕様に沿っているかどうかをチェックすることができ、論理検証の信頼性が向上する。 However, in reality, the procedure for creating verification specifications is sometimes simplified to reduce the man-hours required for creating them. However, if this simplification is excessive, the verification specifications may not clearly state the purpose of the verification. This is particularly true in development where previously developed products are reused in the development of a new product. When the purpose of the verification is not clearly stated, it is often unclear what verification purpose the verification pattern corresponds to. In light of this situation, the verification pattern checking device 2 checks the verification purpose of the verification pattern while the logic simulator 4 is executing the verification pattern to verify the logic circuit. This makes it possible to check whether the verification pattern complies with the verification specifications, improving the reliability of logic verification.

図2は、実施の形態1に係る検証パターンチェック装置2の構成を示すブロック図である。図2に示すように、検証パターンチェック装置2は、信号抽出部21、カウンタ生成部22、モジュール特定部23、信号特定部24、キーワード抽出部25および検証目的特定部26を備える。信号抽出部21は、HDLで記述された検証パターンの回路記述から信号名をモジュールごとに抽出する。HDLで記述された検証パターンは、モジュールが基本構造である。Verilog-HDLにおいて、モジュールは、先頭行に予約語の「module」が記述され、最終行に「endmodule」が記述され、「module」と「endmodule」との間に、モジュールの内容が記述される。 Figure 2 is a block diagram showing the configuration of the verification pattern check device 2 according to the first embodiment. As shown in Figure 2, the verification pattern check device 2 includes a signal extraction unit 21, a counter generation unit 22, a module identification unit 23, a signal identification unit 24, a keyword extraction unit 25, and a verification objective identification unit 26. The signal extraction unit 21 extracts signal names for each module from the circuit description of a verification pattern written in HDL. A verification pattern written in HDL has a basic structure of modules. In Verilog-HDL, a module has the reserved word "module" written on the first line and "endmodule" written on the last line, with the contents of the module written between "module" and "endmodule."

先頭行の「module」に続いて宣言部が記述される。宣言部は、モジュールの内部で使用する信号の宣言が記述される部分である。宣言部には、入出力宣言、ネット宣言、および変数宣言が含まれる。入出力宣言には、入力または出力の方向、データ型、ビット幅および端子名が定義される。ネット宣言は、回路記述で使用されるネットが宣言され、ネット宣言には、wire宣言が含まれる。wire宣言は、内部配線の信号の信号名を規定するものである。変数宣言は、フリップフロップまたはラッチ等の値を保持する信号が宣言され、変数宣言には、reg宣言が含まれる。reg宣言は、レジスタの値を保持する信号の信号名が規定される。 The declaration section follows the first line, "module." The declaration section is where the signals used within the module are declared. The declaration section includes input/output declarations, net declarations, and variable declarations. The input/output declaration defines the input or output direction, data type, bit width, and terminal name. The net declaration declares the nets used in the circuit description, and includes a wire declaration. The wire declaration specifies the signal names of internal wiring signals. The variable declaration declares signals that hold values such as flip-flops or latches, and includes a reg declaration. The reg declaration specifies the signal name of the signal that holds the value of a register.

信号抽出部21は、検証パターンが実行される前の事前処理として、当該検証パターンの回路記述における宣言部から信号名を抽出する。例えば、信号抽出部21は、モジュールごとに、入出力宣言、wire宣言またはreg宣言の少なくとも一つのデータ型から信号名を抽出する。これにより、検証パターンの回路記述で使用される信号の信号名を、モジュールごとに的確に抽出することができる。 As a pre-processing step before a verification pattern is executed, the signal extraction unit 21 extracts signal names from the declaration section in the circuit description of the verification pattern. For example, for each module, the signal extraction unit 21 extracts signal names from at least one data type: input/output declaration, wire declaration, or reg declaration. This allows the signal names of signals used in the circuit description of the verification pattern to be accurately extracted for each module.

カウンタ生成部22は、信号抽出部21が抽出した信号名の信号のトグル量をカウントするカウンタを生成する。例えば、カウンタ生成部22は、検証パターンが実行される前の事前処理として、信号抽出部21が抽出した信号名の信号をクロックとしたカウンタを自動生成する。カウンタは、クロックに同期したカウンタであり、クロックの論理状態の変化(0と1の遷移)であるトグル量をカウントする。さらに、カウンタは、モジュールごとおよび信号名ごとに生成され、検証パターンが実行されるとカウントを開始する。 The counter generation unit 22 generates a counter that counts the amount of toggling of a signal with a signal name extracted by the signal extraction unit 21. For example, as a pre-processing step before the verification pattern is executed, the counter generation unit 22 automatically generates a counter that uses the signal with the signal name extracted by the signal extraction unit 21 as its clock. The counter is synchronized with the clock and counts the amount of toggling, which is a change in the clock's logical state (a transition between 0 and 1). Furthermore, a counter is generated for each module and signal name, and begins counting when the verification pattern is executed.

モジュール特定部23は、検証パターンを実行したときのカウンタ値が第1の判別条件を満たすモジュールを、検証対象モジュールとして特定するものである。例えば、モジュール特定部23は、論理シミュレータ4が検証パターンの実行を開始してから終了するまでの間のカウンタ値を信号名ごとに取得し、取得したカウンタ値が第1の判別条件を満たすモジュールを、検証対象モジュールとして特定する。 The module identification unit 23 identifies a module whose counter value when the verification pattern is executed satisfies a first judgment condition as a module to be verified. For example, the module identification unit 23 acquires the counter value for each signal name from when the logic simulator 4 starts to when it finishes executing the verification pattern, and identifies a module whose acquired counter value satisfies the first judgment condition as a module to be verified.

例えば、第1の判別条件は、カウンタ値が最大である信号名を含むモジュールを検証対象とするという条件である。この場合、モジュール特定部23は、信号名ごとのカウンタ値をモジュール内およびモジュール間で比較することで、カウンタ値が最大である信号名を含むモジュールを判別し、当該モジュールを検証対象モジュールとして特定する。これにより、モジュール特定部23は、検証対象モジュールを的確に特定することができる。 For example, the first discrimination condition is that the module containing the signal name with the largest counter value be the module to be verified. In this case, the module identification unit 23 compares the counter values for each signal name within a module and between modules to determine the module containing the signal name with the largest counter value and identify that module as the module to be verified. This allows the module identification unit 23 to accurately identify the module to be verified.

また、第1の判別条件は、カウンタ値が予め定められた第1の閾値以上である信号名を含むモジュールを検証対象モジュールとする条件であってもよい。第1の閾値は、カウンタ値に関する閾値である。この場合、モジュール特定部23が、信号名ごとのカウンタ値をモジュール内およびモジュール間で第1の閾値と比較し、カウンタ値が第1の閾値以上である信号名を含んだモジュールを判別し、判別結果のモジュールを検証対象モジュールとして特定する。これにより、モジュール特定部23は、検証対象モジュールを的確に特定することができる。 The first discrimination condition may also be a condition for determining, as a module to be verified, a module that includes a signal name whose counter value is equal to or greater than a predetermined first threshold. The first threshold is a threshold related to the counter value. In this case, the module identification unit 23 compares the counter value for each signal name with the first threshold within the module and between modules, determines modules that include signal names whose counter value is equal to or greater than the first threshold, and identifies the resulting module as a module to be verified. This allows the module identification unit 23 to accurately identify modules to be verified.

さらに、第1の判別条件は、カウンタ値が予め定められた第1の閾値以上である信号名を含むモジュールを検証対象モジュールとする条件であってもよい。この場合、モジュール特定部23は、信号名ごとのカウンタ値をモジュール内およびモジュール間で第1の閾値と比較し、カウンタ値が第1の閾値以上である信号名を含むモジュールを判別し、判別結果のモジュールを検証対象モジュールとして特定する。これにより、モジュール特定部23は、検証対象モジュールを的確に特定することができる。 Furthermore, the first discrimination condition may be a condition for determining, as a module to be verified, a module containing a signal name whose counter value is equal to or greater than a predetermined first threshold. In this case, the module identification unit 23 compares the counter value for each signal name with the first threshold within the module and between modules, determines modules containing signal names whose counter value is equal to or greater than the first threshold, and identifies the resulting module as a module to be verified. This allows the module identification unit 23 to accurately identify modules to be verified.

第1の判別条件は、カウンタ値が第1の閾値以上である信号名の数が第2の閾値以上であるモジュールを検証対象モジュールとする条件であってもよい。第2の閾値は、信号名の数に関する閾値である。この場合、モジュール特定部23は、信号名ごとのカウンタ値をモジュール内およびモジュール間で第1の閾値と比較し、カウンタ値が第1の閾値以上である信号名の数を特定する。そして、モジュール特定部23は、特定した信号名の数を第2の閾値と比較し、カウンタ値が第1の閾値以上である信号名の数が第2の閾値以上である信号名を含むモジュールを判別し、判別したモジュールを検証対象モジュールとして特定する。これにより、モジュール特定部23は、検証対象モジュールを的確に特定することができる。 The first discrimination condition may be a condition for determining, as a module to be verified, a module for which the number of signal names for which the counter value is equal to or greater than a first threshold is equal to or greater than a second threshold. The second threshold is a threshold related to the number of signal names. In this case, the module identification unit 23 compares the counter value for each signal name with the first threshold within the module and between modules, and identifies the number of signal names for which the counter value is equal to or greater than the first threshold. The module identification unit 23 then compares the identified number of signal names with the second threshold, and determines modules including signal names for which the number of signal names for which the counter value is equal to or greater than the first threshold is equal to or greater than the second threshold, and identifies the determined modules as modules to be verified. This allows the module identification unit 23 to accurately identify modules to be verified.

信号のトグル量のカウンタ値が大きいほど、このカウンタ値に対応する信号名を含んだモジュールは、検証パターンにおける検証対象モジュールである可能性が高い。第1の判別条件は、このような特性を条件化したものである。
なお、モジュール特定部23は、検証対象モジュールを一つ特定してもよいし、複数の検証対象モジュールを特定してもよい。
The larger the counter value of the toggle amount of a signal, the more likely it is that a module containing a signal name corresponding to this counter value is a module to be verified in the verification pattern. The first discrimination condition is a conditionalization of this characteristic.
The module specifying unit 23 may specify one verification target module or may specify multiple verification target modules.

信号特定部24は、検証対象モジュールにおけるカウンタ値が第2の判別条件を満たす信号名を特定する。例えば、第2の判別条件は、検証対象モジュールにおいてカウンタ値が最大である信号名を判別するという条件である。この場合、信号特定部24は、信号名ごとのカウンタ値を検証対象モジュール内で比較して、カウンタ値が最大である信号名を判別する。 The signal identification unit 24 identifies the signal name whose counter value in the module to be verified satisfies a second determination condition. For example, the second determination condition is a condition that determines the signal name whose counter value is the largest in the module to be verified. In this case, the signal identification unit 24 compares the counter values for each signal name within the module to be verified and determines the signal name whose counter value is the largest.

カウンタ値が最大である信号名の信号は、検証パターンを実行することで活性化されるため、検証目的の機能に関連している可能性が高い。第2の判別条件は、このような特性を条件化したものである。 The signal with the largest counter value is activated by executing the verification pattern, and is therefore likely to be related to the function being verified. The second discrimination condition is a condition based on this characteristic.

また、第2の判別条件を、検証対象モジュールにおいてカウンタ値が第1の閾値以上である信号名を判別するものとしてもよい。この場合、信号特定部24は、検証対象モジュールにおいて複数の信号名に対応するカウンタ値が第1の閾値以上である場合に、複数の信号名を検証目的の機能に関連する信号名として特定する。 The second discrimination condition may also be to determine signal names in the module to be verified whose counter values are equal to or greater than a first threshold. In this case, the signal identification unit 24 identifies multiple signal names as signal names related to the function to be verified when the counter values corresponding to multiple signal names in the module to be verified are equal to or greater than the first threshold.

キーワード抽出部25は、信号特定部24によって特定された信号名に対応する第1のキーワードを検証パターンの回路記述のコメント欄から抽出し、第1のキーワードに対応する第2のキーワードを検証仕様書情報から抽出する。検証パターンの回路記述におけるコメント欄とは、信号名の説明を記載するコメント欄である。例えば、各行の回路記述の最後に「//」で始まり行末までの記述欄であり、テキスト情報の記述が可能である。 The keyword extraction unit 25 extracts a first keyword corresponding to the signal name identified by the signal identification unit 24 from the comment field of the circuit description of the verification pattern, and extracts a second keyword corresponding to the first keyword from the verification specification information. The comment field in the circuit description of the verification pattern is a comment field where an explanation of the signal name is written. For example, it is a description field starting with "//" at the end of each line of the circuit description and extending to the end of the line, and text information can be written there.

第1のキーワードは、信号特定部24によって特定された信号名を示すテキスト情報である。信号特定部24によって特定された信号名は、検証目的の機能に関連している可能性が高いことから、この信号名を示す第1のキーワードは、検証対象機能に関連するものである。回路記述のコメント欄には、信号特定部24によって特定された信号名の具体的な信号名が記載されている。Aレジスタの値を保持する信号の信号名が「regA」である場合、回路記述のコメント欄には、例えば、「Aレジスタ」というテキスト情報が記載されている。 The first keyword is text information indicating the signal name identified by the signal identification unit 24. Since the signal name identified by the signal identification unit 24 is likely to be related to the function to be verified, the first keyword indicating this signal name is related to the function to be verified. The comment field of the circuit description contains the specific signal name identified by the signal identification unit 24. If the signal name of the signal that holds the value of register A is "regA", the comment field of the circuit description contains text information such as "register A", for example.

なお、信号特定部24によって特定された信号名に対応する回路記述のコメント欄が空欄であった場合、キーワード抽出部25は、論理回路の設計書情報から第1のキーワードを抽出してもよい。論理回路の設計書情報は、検証対象の論理回路の設計内容が記載された電子ファイルであり、論理回路に対応づけて記憶部3に記憶されている。例えば、キーワード抽出部25は、信号特定部24が特定した信号名に対応する回路記述のコメント欄が空欄の場合に、当該信号名を検索ワードとして記憶部3に記憶された設計書情報を検索して、第1のキーワードを抽出する。 If the comment field in the circuit description corresponding to the signal name identified by the signal identification unit 24 is blank, the keyword extraction unit 25 may extract the first keyword from the design document information of the logic circuit. The design document information of the logic circuit is an electronic file that describes the design details of the logic circuit to be verified, and is stored in the storage unit 3 in association with the logic circuit. For example, if the comment field in the circuit description corresponding to the signal name identified by the signal identification unit 24 is blank, the keyword extraction unit 25 searches the design document information stored in the storage unit 3 using the signal name as a search word to extract the first keyword.

検証仕様書情報は、検証パターンの仕様が記載された電子ファイルであり、検証パターンに対応付けて記憶部3に記憶されている。例えば、キーワード抽出部25は、検証パターンに対応する検証仕様書情報を記憶部3から読み出し、第1のキーワードを用いて検証仕様書情報の検証項目を検索する。キーワード抽出部25は、第1のキーワードが含まれる検証項目を検証仕様書情報から特定すると、特定した検証項目の内容から第2のキーワードを抽出する。 Verification specification information is an electronic file that describes the specifications of a verification pattern and is stored in the storage unit 3 in association with the verification pattern. For example, the keyword extraction unit 25 reads the verification specification information corresponding to the verification pattern from the storage unit 3 and searches for verification items in the verification specification information using the first keyword. When the keyword extraction unit 25 identifies a verification item that includes the first keyword from the verification specification information, it extracts a second keyword from the content of the identified verification item.

第2のキーワードは、検証仕様書情報における第1のキーワードに対応した検証項目に記載された情報である。例えば、検証項目には、検証対象の機能に関連した情報が、第1のキーワードよりも具体的に記載されている。第1のキーワードが「Aレジスタ」である場合、検証項目には、例えば、「Aレジスタの値を確認」といった検証対象機能に関する具体的な内容が記載されている。 The second keyword is information written in the verification item corresponding to the first keyword in the verification specification information. For example, the verification item contains more specific information related to the function to be verified than the first keyword. If the first keyword is "A register," the verification item contains specific content related to the function to be verified, such as "check the value of A register."

検証目的特定部26は、第1のキーワードおよび第2のキーワードを用いて検証パターンの検証目的を特定する。例えば、検証目的特定部26は、第1のキーワードおよび第2のキーワードを使用したテキスト情報を、検証パターンの検証目的を示す情報として出力する。上記テキスト情報は、第1のキーワードまたは第2のキーワードのいずれかまたは両方の組み合わせが含まれる。 The verification purpose identification unit 26 identifies the verification purpose of the verification pattern using the first keyword and the second keyword. For example, the verification purpose identification unit 26 outputs text information using the first keyword and the second keyword as information indicating the verification purpose of the verification pattern. The text information includes either the first keyword or the second keyword, or a combination of both.

また、検証目的特定部26は、第1のキーワードと第2のキーワードを含むテキスト情報を新たに生成してもよい。検証パターンの検証目的を示す情報は、例えば、図1および図2に不図示の表示装置に表示するための表示制御情報であってもよい。検証作業者は、表示装置に表示された情報を参照することにより検証パターンの検証目的を把握することができる。 The verification purpose identification unit 26 may also generate new text information including the first keyword and the second keyword. The information indicating the verification purpose of the verification pattern may be, for example, display control information for display on a display device not shown in Figures 1 and 2. The verification worker can understand the verification purpose of the verification pattern by referring to the information displayed on the display device.

図3は、検証パターンチェック装置2の動作を示すフローチャートである。
信号抽出部21は、検証パターンの回路記述から信号名をモジュールごとに抽出する(ステップST1)。図4は、検証パターンの回路記述における各モジュールの信号名を示す図である。図4において、検証パターンの回路記述には、モジュール(1)、モジュール(2)およびモジュール(3)が記述されている。
FIG. 3 is a flowchart showing the operation of the verification pattern check device 2.
The signal extraction unit 21 extracts signal names for each module from the circuit description of the verification pattern (step ST1). Figure 4 shows the signal names of each module in the circuit description of the verification pattern. In Figure 4, the circuit description of the verification pattern describes module (1), module (2), and module (3).

モジュール(1)には、regA、regB、regC、wireD、wireEおよびwireFという信号名が記述されている。モジュール(2)には、regG、regH、wireIおよびwireJという信号名が記述されている。さらに、モジュール(3)には、regK、regL、regM、wireN、wirePおよびwireQという信号名が記述されている。 Module (1) contains the signal names regA, regB, regC, wireD, wireE, and wireF. Module (2) contains the signal names regG, regH, wireI, and wireJ. Furthermore, module (3) contains the signal names regK, regL, regM, wireN, wireP, and wireQ.

信号抽出部21は、モジュール(1)から、regA、regB、regC、wireD、wireEおよびwireFを抽出し、モジュール(2)から、regG、regH、wireIおよびwireJを抽出し、モジュール(3)から、regK、regL、regM、wireN、wirePおよびwireQを抽出する。信号抽出部21が回路記述から抽出した信号名は、カウンタ生成部22に出力される。 The signal extraction unit 21 extracts regA, regB, regC, wireD, wireE, and wireF from module (1), extracts regG, regH, wireI, and wireJ from module (2), and extracts regK, regL, regM, wireN, wireP, and wireQ from module (3). The signal names extracted by the signal extraction unit 21 from the circuit description are output to the counter generation unit 22.

カウンタ生成部22は、信号抽出部21が抽出した信号名の信号のトグル量をカウントするカウンタを生成する(ステップST2)。例えば、カウンタ生成部22は、モジュール(1)において、regA、regB、regC、wireD、wireEおよびwireFのカウンタをそれぞれ生成し、モジュール(2)において、regG、regH、wireIおよびwireJのカウンタをそれぞれ生成し、モジュール(3)において、regK、regL、regM、wireN、wirePおよびwireQのカウンタをそれぞれ生成する。ここまでが事前処理である。
次に、論理シミュレータ4が検証パターンを実行し、論理回路の検証を開始する。
The counter generation unit 22 generates counters that count the toggle amounts of signals with the signal names extracted by the signal extraction unit 21 (step ST2). For example, the counter generation unit 22 generates counters for regA, regB, regC, wireD, wireE, and wireF in module (1), counters for regG, regH, wireI, and wireJ in module (2), and counters for regK, regL, regM, wireN, wireP, and wireQ in module (3). This is the pre-processing.
Next, the logic simulator 4 executes the verification pattern and starts verifying the logic circuit.

モジュール特定部23は、検証パターンを実行したときのカウンタ値が第1の判別条件を満たすモジュールを検証対象モジュールとして特定する(ステップST3)。図5は、信号名が示す信号のトグル量をカウントする処理の概要を示す図である。検証パターンの実行が完了したときのモジュール(1)カウンタにおいて、regAのカウンタ値が「50」であり、regBのカウンタ値が「2」、regCのカウンタ値が「0」、wireDのカウンタ値が「8」、wireEのカウンタ値が「0」およびwireFのカウンタ値が「0」である。モジュール(1)カウンタ値の合計値は「60」である。 The module identification unit 23 identifies, as a module to be verified, a module whose counter value when the verification pattern is executed satisfies the first judgment condition (step ST3). Figure 5 is a diagram showing an overview of the process of counting the toggle amount of a signal indicated by a signal name. When execution of the verification pattern is complete, the counter value of module (1) counter is "50" for regA, "2" for regB, "0" for regC, "8" for wireD, "0" for wireE, and "0" for wireF. The total counter value of module (1) is "60".

検証パターンの実行が完了したときのモジュール(2)カウンタにおいて、regGのカウンタ値が「0」であり、regHのカウンタ値が「0」、wireIのカウンタ値が「0」およびwireJのカウンタ値が「0」である。モジュール(2)カウンタ値の合計は「0」である。 When the execution of the verification pattern is complete, the counter value of module (2) counter is "0" for regG, "0" for regH, "0" for wireI, and "0" for wireJ. The sum of the counter values of module (2) is "0".

検証パターンの実行が完了したときのモジュール(3)カウンタにおいて、regKのカウンタ値が「1」であり、regLのカウンタ値が「0」、regMのカウンタ値が「0」、wireNのカウンタ値が「1」、wirePのカウンタ値が「0」およびwireQのカウンタ値が「0」である。モジュール(3)カウンタ値の合計は「2」である。 When execution of the verification pattern is complete, the counter value of module (3) counter is "1" for regK, "0" for regL, "0" for regM, "1" for wireN, "0" for wireP, and "0" for wireQ. The total counter value of module (3) is "2".

第1の判定条件が、信号名に対応するカウンタ値の合計が最大であるモジュールを検証対象モジュールとする条件である場合、モジュール特定部23は、信号名に対応するカウンタ値の合計が最大値「60」であるモジュール(1)を、検証対象モジュールとして特定する。モジュール特定部23は、検証対象モジュールを示す情報を信号特定部24に出力する。 When the first judgment condition is a condition that the module to be verified is the module with the largest sum of counter values corresponding to signal names, the module identification unit 23 identifies module (1) with the largest sum of counter values corresponding to signal names, "60," as the module to be verified. The module identification unit 23 outputs information indicating the module to be verified to the signal identification unit 24.

信号特定部24は、検証対象モジュールにおけるカウンタ値が第2の判別条件を満たす信号名を特定する(ステップST4)。図6は、検証目的である検証対象機能を特定する処理の概要を示す図である。第2の判定条件が、検証対象モジュールにおけるカウンタ値が最大の信号名を抽出する条件である場合、信号特定部24は、図6に示すように、カウンタ値が「50」である信号名「regA」を特定する。また、第2の判定条件が、検証対象モジュールにおけるカウンタ値が第1の閾値(例えば、8)以上である信号名を抽出する条件である場合、信号特定部24は、カウンタ値が「50」である信号名「regA」と、カウンタ値が「8」である信号名「wireD」を特定する。 The signal identification unit 24 identifies the signal name whose counter value in the module to be verified satisfies the second judgment condition (step ST4). FIG. 6 is a diagram showing an overview of the process of identifying the verification target function, which is the purpose of verification. If the second judgment condition is a condition to extract the signal name whose counter value in the module to be verified is the largest, the signal identification unit 24 identifies the signal name "regA" whose counter value is "50", as shown in FIG. 6. If the second judgment condition is a condition to extract the signal name whose counter value in the module to be verified is equal to or greater than a first threshold value (e.g., 8), the signal identification unit 24 identifies the signal name "regA" whose counter value is "50" and the signal name "wireD" whose counter value is "8".

キーワード抽出部25は、特定された信号名に対応する第1のキーワードを回路記述のコメント欄10から抽出し、第1のキーワードに対応する第2のキーワードを検証仕様書情報30から抽出する(ステップST5)。例えば、信号特定部24によりカウンタ値が最大である信号名「regA」が特定された場合、キーワード抽出部25は、信号名「regA」についての回路記述のコメント欄10から、第1のキーワードとして「Aレジスタ」を抽出する。続いて、キーワード抽出部25は、第1のキーワードである「Aレジスタ」が含まれる検証項目11を、検証仕様書情報30から特定し、特定した検証項目11の内容から第2のキーワードである「Aレジスタ確認」を抽出する。 The keyword extraction unit 25 extracts a first keyword corresponding to the identified signal name from the comment field 10 of the circuit description, and extracts a second keyword corresponding to the first keyword from the verification specification information 30 (step ST5). For example, if the signal identification unit 24 identifies the signal name "regA" with the largest counter value, the keyword extraction unit 25 extracts "A register" as the first keyword from the comment field 10 of the circuit description for the signal name "regA." Next, the keyword extraction unit 25 identifies verification items 11 that include the first keyword "A register" from the verification specification information 30, and extracts the second keyword "A register check" from the content of the identified verification item 11.

検証目的特定部26は、第1のキーワードおよび第2のキーワードを用いて検証パターンの検証目的を特定する(ステップST6)。例えば、検証目的特定部26は、第1のキーワードである「Aレジスタ」と、第2のキーワードである「Aレジスタ確認」とを使用して「レジスタAの動作を確認する検証」というテキスト情報を生成し、検証パターンの検証目的を示す情報として出力する。 The verification purpose identification unit 26 identifies the verification purpose of the verification pattern using the first keyword and the second keyword (step ST6). For example, the verification purpose identification unit 26 uses the first keyword "A register" and the second keyword "A register confirmation" to generate text information "Verification to confirm the operation of register A," and outputs this as information indicating the verification purpose of the verification pattern.

また、検証目的特定部26は、検証目的の特定をモジュールごとに行って、カウンタ値の遷移から検証パターンの検証手順を特定する。例えば、検証目的特定部26は、一つの検証パターンの実行が完了したときのカウンタ値に応じた検証目的の特定を行うことで、検証パターン内での検証目的の遷移、すなわち、一つの検証パターンにおける検証手順を特定可能である。さらに、検証目的特定部26は、検証パターンごとにカウンタ値に応じた検証目的の特定を行うことで、検証パターンごとの検証手順を特定することもできる。
これにより、検証パターンチェック装置2は、検証パターンの個々の検証目的に加えて、検証手順を確認することができる。
The verification purpose identification unit 26 also identifies the verification purpose for each module and identifies the verification procedure for the verification pattern from the transition of the counter value. For example, the verification purpose identification unit 26 can identify the transition of the verification purpose within the verification pattern, i.e., the verification procedure for one verification pattern, by identifying the verification purpose according to the counter value when execution of one verification pattern is completed. Furthermore, the verification purpose identification unit 26 can also identify the verification procedure for each verification pattern by identifying the verification purpose according to the counter value for each verification pattern.
This allows the verification pattern check device 2 to check the verification procedure in addition to the verification purpose of each verification pattern.

検証パターンチェック装置2の機能を実現するハードウェア構成について説明する。
検証パターンチェック装置2が備える信号抽出部21、カウンタ生成部22、モジュール特定部23、信号特定部24、キーワード抽出部25および検証目的特定部26の機能は、処理回路により実現される。すなわち、検証パターンチェック装置2は、図3に示したステップST1からステップST6の処理を実行するための処理回路を備える。処理回路は、専用のハードウェアであってもよいが、メモリに記憶されたプログラムを実行するCPU(Central Processing Unit)であってもよい。
The hardware configuration for realizing the functions of the verification pattern check device 2 will be described.
The functions of the signal extraction unit 21, counter generation unit 22, module identification unit 23, signal identification unit 24, keyword extraction unit 25, and verification purpose identification unit 26 included in the verification pattern check device 2 are realized by processing circuits. That is, the verification pattern check device 2 includes a processing circuit for executing the processes of steps ST1 to ST6 shown in Fig. 3. The processing circuit may be dedicated hardware, or may be a CPU (Central Processing Unit) that executes a program stored in a memory.

図7は、検証パターンチェック装置2の機能を実現するハードウェア構成を示すブロック図である。図7において、入力インタフェース100は、記憶部3および論理シミュレータ4から検証パターンチェック装置2へ出力される情報を中継するインタフェースである。出力インタフェース101は、検証パターンチェック装置2から記憶部3へ出力される検査結果などを中継するインタフェースである。 Figure 7 is a block diagram showing the hardware configuration that realizes the functions of the verification pattern check device 2. In Figure 7, the input interface 100 is an interface that relays information output from the storage unit 3 and logic simulator 4 to the verification pattern check device 2. The output interface 101 is an interface that relays test results and the like output from the verification pattern check device 2 to the storage unit 3.

処理回路が図7に示すプロセッサ102である場合、検証パターンチェック装置2が備える信号抽出部21、カウンタ生成部22、モジュール特定部23、信号特定部24、キーワード抽出部25および検証目的特定部26の機能は、ソフトウェア、ファームウェアまたはソフトウェアとファームウェアとの組み合わせにより実現される。なお、ソフトウェアまたはファームウェアは、プログラムとして記述されてメモリ103に記憶される。 When the processing circuit is the processor 102 shown in FIG. 7, the functions of the signal extraction unit 21, counter generation unit 22, module identification unit 23, signal identification unit 24, keyword extraction unit 25, and verification purpose identification unit 26 provided in the verification pattern check device 2 are realized by software, firmware, or a combination of software and firmware. The software or firmware is written as a program and stored in memory 103.

プロセッサ102は、メモリ103に記憶されたプログラムを読み出して実行することにより、検証パターンチェック装置2が備える、信号抽出部21、カウンタ生成部22、モジュール特定部23、信号特定部24、キーワード抽出部25および検証目的特定部26の機能を実現する。例えば、検証パターンチェック装置2は、プロセッサ102により実行されるときに、図3に示したステップST1からステップST6までの処理が結果的に実行されるプログラムを記憶するメモリ103を備える。これらのプログラムは、信号抽出部21、カウンタ生成部22、モジュール特定部23、信号特定部24、キーワード抽出部25および検証目的特定部26が行う処理の手順または方法を、コンピュータに実行させる。また、メモリ103は、コンピュータを、信号抽出部21、カウンタ生成部22、モジュール特定部23、信号特定部24、キーワード抽出部25および検証目的特定部26として機能させるためのプログラムが記憶されたコンピュータ可読記憶媒体であってもよい。 By reading and executing programs stored in memory 103, processor 102 realizes the functions of signal extraction unit 21, counter generation unit 22, module identification unit 23, signal identification unit 24, keyword extraction unit 25, and verification purpose identification unit 26 provided in verification pattern check device 2. For example, verification pattern check device 2 includes memory 103 that stores programs that, when executed by processor 102, result in the processing of steps ST1 to ST6 shown in FIG. 3 being executed. These programs cause a computer to execute the procedures or methods of the processing performed by signal extraction unit 21, counter generation unit 22, module identification unit 23, signal identification unit 24, keyword extraction unit 25, and verification purpose identification unit 26. Furthermore, memory 103 may be a computer-readable storage medium that stores programs that cause a computer to function as signal extraction unit 21, counter generation unit 22, module identification unit 23, signal identification unit 24, keyword extraction unit 25, and verification purpose identification unit 26.

メモリ103は、例えば、RAM(Random Access Memory)、ROM(Read Only Memory)、フラッシュメモリ、EPROM(Erasable Programmable Read Only Memory)、EEPROM(Electrically-EPROM)などの不揮発性または揮発性の半導体メモリ、磁気ディスク、フレキシブルディスク、光ディスク、コンパクトディスク、ミニディスク、DVDなどが該当する。 Memory 103 may be, for example, non-volatile or volatile semiconductor memory such as RAM (Random Access Memory), ROM (Read Only Memory), flash memory, EPROM (Erasable Programmable Read Only Memory), or EEPROM (Electrically-EPROM), as well as magnetic disks, flexible disks, optical disks, compact disks, minidisks, and DVDs.

検証パターンチェック装置2が備える信号抽出部21、カウンタ生成部22、モジュール特定部23、信号特定部24、キーワード抽出部25および検証目的特定部26の機能の一部は専用のハードウェアで実現され、他の一部がソフトウェアまたはファームウェアで実現されてもよい。例えば、信号抽出部21は、専用のハードウェアである処理回路が機能を実現し、カウンタ生成部22、モジュール特定部23、信号特定部24、キーワード抽出部25および検証目的特定部26は、プロセッサ102がメモリ103に記憶されたプログラムを読み出して実行することによって機能を実現する。このように、処理回路は、ハードウェア、ソフトウェア、ファームウェアまたはこれらの組み合わせにより上記機能を実現することができる。 Some of the functions of the signal extraction unit 21, counter generation unit 22, module identification unit 23, signal identification unit 24, keyword extraction unit 25, and verification purpose identification unit 26 provided in the verification pattern check device 2 may be realized by dedicated hardware, and other functions may be realized by software or firmware. For example, the signal extraction unit 21 is realized by a processing circuit that is dedicated hardware, and the counter generation unit 22, module identification unit 23, signal identification unit 24, keyword extraction unit 25, and verification purpose identification unit 26 are realized by the processor 102 reading and executing programs stored in memory 103. In this way, the processing circuit can realize the above functions by hardware, software, firmware, or a combination of these.

以上のように、実施の形態1に係る検証パターンチェック装置2は、検証パターンの回路記述から信号名をモジュールごとに抽出する信号抽出部21と、信号名の信号のトグル量をカウントするカウンタを生成するカウンタ生成部22と、検証パターンを実行したときのカウンタ値が第1の判別条件を満たすモジュールを検証対象モジュールとして特定するモジュール特定部23と、検証対象モジュールにおけるカウンタ値が第2の判別条件を満たす信号名を特定する信号特定部24と、特定された信号名に対応する第1のキーワードを回路記述のコメント欄から抽出し、第1のキーワードに対応する第2のキーワードを検証仕様書情報から抽出するキーワード抽出部25と、第1のキーワードおよび第2のキーワードを用いて検証パターンの検証目的を特定する検証目的特定部26を備える。これにより、検証パターンチェック装置2は、検証パターンの検証目的をチェックすることができる。 As described above, the verification pattern checking device 2 according to the first embodiment includes a signal extraction unit 21 that extracts signal names for each module from the circuit description of the verification pattern; a counter generation unit 22 that generates a counter that counts the toggle amount of the signal for the signal name; a module identification unit 23 that identifies, as a module to be verified, a module whose counter value satisfies a first judgment condition when the verification pattern is executed; a signal identification unit 24 that identifies a signal name in the module to be verified whose counter value satisfies a second judgment condition; a keyword extraction unit 25 that extracts a first keyword corresponding to the identified signal name from the comment field of the circuit description and extracts a second keyword corresponding to the first keyword from the verification specification information; and a verification purpose identification unit 26 that identifies the verification purpose of the verification pattern using the first keyword and the second keyword. This enables the verification pattern checking device 2 to check the verification purpose of the verification pattern.

実施の形態1に係る検証パターンチェック装置2において、信号抽出部21は、回路記述における宣言部から信号名を抽出する。これにより、信号抽出部21は、検証パターンの回路記述で使用される信号の信号名をモジュールごとに的確に抽出することができる。 In the verification pattern check device 2 according to the first embodiment, the signal extraction unit 21 extracts signal names from the declaration section in the circuit description. This allows the signal extraction unit 21 to accurately extract, for each module, the signal names of signals used in the circuit description of the verification pattern.

実施の形態1に係る検証パターンチェック装置2において、モジュール特定部23は、カウンタ値が最大である信号名を含むモジュールを検証対象モジュールとして特定する。これにより、モジュール特定部23は、検証対象モジュールを的確に特定することができる。 In the verification pattern check device 2 according to the first embodiment, the module identification unit 23 identifies the module containing the signal name with the largest counter value as the module to be verified. This allows the module identification unit 23 to accurately identify the module to be verified.

実施の形態1に係る検証パターンチェック装置2において、モジュール特定部23は、カウンタ値が予め定められた第1の閾値以上である信号名を含むモジュールを、検証対象モジュールとして特定する。これにより、モジュール特定部23は、検証対象モジュールを的確に特定することができる。 In the verification pattern check device 2 according to the first embodiment, the module identification unit 23 identifies, as a module to be verified, a module that includes a signal name whose counter value is equal to or greater than a predetermined first threshold. This allows the module identification unit 23 to accurately identify the module to be verified.

実施の形態1に係る検証パターンチェック装置2において、モジュール特定部23は、カウンタ値が第1の閾値以上である信号名の数が予め定められた第2の閾値以上であるモジュールを検証対象モジュールとして特定する。これにより、モジュール特定部23は、検証対象モジュールを的確に特定することができる。 In the verification pattern check device 2 according to the first embodiment, the module identification unit 23 identifies, as a module to be verified, a module for which the number of signal names for which the counter value is equal to or greater than the first threshold is equal to or greater than a predetermined second threshold. This allows the module identification unit 23 to accurately identify the module to be verified.

実施の形態1に係る検証パターンチェック装置2において、キーワード抽出部25は、カウンタ値が最大である信号名に対応する第1のキーワードを回路記述のコメント欄から抽出する。これにより、キーワード抽出部25は、検証対象モジュールの検証目的に関する第1のキーワードを的確に抽出することができる。 In the verification pattern check device 2 according to the first embodiment, the keyword extraction unit 25 extracts the first keyword corresponding to the signal name with the largest counter value from the comment field of the circuit description. This allows the keyword extraction unit 25 to accurately extract the first keyword related to the verification purpose of the module to be verified.

実施の形態1に係る検証パターンチェック装置2において、キーワード抽出部25は、カウンタ値が予め定められた第1の閾値以上である信号名に対応する第1のキーワードを回路記述のコメント欄から抽出する。これにより、キーワード抽出部25は、検証対象モジュールの検証目的に関する第1のキーワードを的確に抽出することができる。 In the verification pattern check device 2 according to the first embodiment, the keyword extraction unit 25 extracts, from the comment field of the circuit description, a first keyword corresponding to the name of a signal whose counter value is equal to or greater than a predetermined first threshold. This enables the keyword extraction unit 25 to accurately extract a first keyword related to the verification purpose of the module to be verified.

実施の形態1に係る検証パターンチェック装置2において、検証目的特定部26は、検証目的の特定をモジュールごとに行い、カウンタ値の遷移から検証パターンの検証手順を特定する。これにより、検証パターンチェック装置2は、検証パターンの個々の検証目的に加えて、検証手順を確認することができる。 In the verification pattern check device 2 according to embodiment 1, the verification purpose identification unit 26 identifies the verification purpose for each module and identifies the verification procedure for the verification pattern from the transition of the counter value. This allows the verification pattern check device 2 to confirm the verification procedure in addition to the individual verification purposes of the verification pattern.

実施の形態1に係るプログラムは、コンピュータを検証パターンチェック装置2として機能させるものであり、検証パターンの検証目的をチェック可能な検証パターンチェック装置を提供することができる。 The program according to the first embodiment causes a computer to function as a verification pattern check device 2, and can provide a verification pattern check device that can check the verification purpose of a verification pattern.

以下、本開示の諸態様を付記としてまとめて記載する。
(付記1)
ハードウェア記述言語で記述した検証パターンの回路記述から信号名をモジュールごとに抽出する信号抽出部と、
前記信号名の信号のトグル量をカウントするカウンタを生成するカウンタ生成部と、
前記検証パターンを実行したときのカウンタ値が第1の判別条件を満たすモジュールを検証対象モジュールとして特定するモジュール特定部と、
前記検証対象モジュールにおける前記カウンタ値が第2の判別条件を満たす前記信号名を特定する信号特定部と、
特定された前記信号名に対応する第1のキーワードを、前記検証パターンの回路記述のコメント欄から抽出し、前記第1のキーワードに対応する第2のキーワードを、前記検証パターンの仕様が記載された検証仕様書情報から抽出するキーワード抽出部と、
前記第1のキーワードおよび前記第2のキーワードを用いて前記検証パターンの検証目的を特定する検証目的特定部と、を備えた
ことを特徴とする検証パターンチェック装置。
(付記2)
前記信号抽出部は、前記検証パターンの回路記述における宣言部から前記信号名を抽出する
ことを特徴とする付記1に記載の検証パターンチェック装置。
(付記3)
前記モジュール特定部は、前記カウンタ値が最大である前記信号名を含むモジュールを前記検証対象モジュールとして特定する
ことを特徴とする付記1または付記2に記載の検証パターンチェック装置。
(付記4)
前記モジュール特定部は、前記カウンタ値が予め定められた第1の閾値以上である前記信号名を含むモジュールを前記検証対象モジュールとして特定する
ことを特徴とする付記1または付記2に記載の検証パターンチェック装置。
(付記5)
前記モジュール特定部は、前記カウンタ値が前記第1の閾値以上である前記信号名の数が予め定められた第2の閾値以上であるモジュールを前記検証対象モジュールとして特定する
ことを特徴とする付記4に記載の検証パターンチェック装置。
(付記6)
前記キーワード抽出部は、前記カウンタ値が最大である前記信号名に対応する前記第1のキーワードを、前記検証パターンの回路記述のコメント欄から抽出する
ことを特徴とする付記1から付記5のいずれか一つに記載の検証パターンチェック装置。
(付記7)
前記キーワード抽出部は、前記カウンタ値が予め定められた第1の閾値以上である前記信号名に対応する前記第1のキーワードを、前記検証パターンの回路記述のコメント欄から抽出する
ことを特徴とする付記1から付記5のいずれか一つに記載の検証パターンチェック装置。
(付記8)
前記検証目的特定部は、前記検証目的の特定をモジュールごとに行い、前記カウンタ値の遷移から前記検証パターンの検証手順を特定する
ことを特徴とする付記1から付記7のいずれか一つに記載の検証パターンチェック装置。
(付記9)
コンピュータを、付記1から付記8のいずれか一つに記載の検証パターンチェック装置として機能させるためのプログラム。
Various aspects of the present disclosure are summarized below as appendices.
(Appendix 1)
a signal extraction unit that extracts signal names for each module from a circuit description of a verification pattern written in a hardware description language;
a counter generating unit that generates a counter that counts the toggle amount of the signal having the signal name;
a module identification unit that identifies a module as a verification target module, the module having a counter value that satisfies a first determination condition when the verification pattern is executed;
a signal identification unit that identifies the signal name for which the counter value in the module to be verified satisfies a second determination condition;
a keyword extraction unit that extracts a first keyword corresponding to the identified signal name from a comment field of the circuit description of the verification pattern, and extracts a second keyword corresponding to the first keyword from verification specification information in which specifications of the verification pattern are described;
a verification purpose specifying unit that specifies a verification purpose of the verification pattern using the first keyword and the second keyword.
(Appendix 2)
2. The verification pattern checking device according to claim 1, wherein the signal extraction unit extracts the signal name from a declaration part in a circuit description of the verification pattern.
(Appendix 3)
3. The verification pattern check device according to claim 1, wherein the module identification unit identifies a module including the signal name with the largest counter value as the module to be verified.
(Appendix 4)
3. The verification pattern check device according to claim 1, wherein the module identification unit identifies, as the verification target module, a module including the signal name for which the counter value is equal to or greater than a predetermined first threshold value.
(Appendix 5)
the module identification unit is configured to identify, as the verification target module, a module for which the number of the signal names for which the counter value is equal to or greater than the first threshold is equal to or greater than a predetermined second threshold.
(Appendix 6)
the keyword extraction unit extracts the first keyword corresponding to the signal name with the largest counter value from a comment field of the circuit description of the verification pattern.
(Appendix 7)
the keyword extraction unit extracts the first keyword corresponding to the signal name whose counter value is equal to or greater than a predetermined first threshold from a comment field of the circuit description of the verification pattern.
(Appendix 8)
8. The verification pattern checking device according to claim 1, wherein the verification purpose specifying unit specifies the verification purpose for each module and specifies a verification procedure for the verification pattern from a transition of the counter value.
(Appendix 9)
A program for causing a computer to function as the verification pattern check device according to any one of claims 1 to 8.

なお、実施の形態の任意の構成要素の変形もしくは実施の形態の任意の構成要素の省略が可能である。 In addition, any of the components of the embodiments may be modified or omitted.

1 論理検証システム、2 検証パターンチェック装置、3 記憶部、4 論理シミュレータ、10 コメント欄、11 検証項目、21 信号抽出部、22 カウンタ生成部、23 モジュール特定部、24 信号特定部、25 キーワード抽出部、26 検証目的特定部、30 検証仕様書情報、100 入力インタフェース、101 出力インタフェース、102 プロセッサ、103 メモリ。 1 Logic verification system, 2 Verification pattern check device, 3 Storage unit, 4 Logic simulator, 10 Comment field, 11 Verification item, 21 Signal extraction unit, 22 Counter generation unit, 23 Module identification unit, 24 Signal identification unit, 25 Keyword extraction unit, 26 Verification purpose identification unit, 30 Verification specification information, 100 Input interface, 101 Output interface, 102 Processor, 103 Memory.

Claims (9)

ハードウェア記述言語で記述された検証パターンの回路記述から信号名をモジュールごとに抽出する信号抽出部と、
前記信号名の信号のトグル量をカウントするカウンタを生成するカウンタ生成部と、
前記検証パターンを実行したときのカウンタ値が第1の判別条件を満たすモジュールを検証対象モジュールとして特定するモジュール特定部と、
前記検証対象モジュールにおける前記カウンタ値が第2の判別条件を満たす前記信号名を特定する信号特定部と、
特定された前記信号名に対応する第1のキーワードを、前記検証パターンの回路記述のコメント欄から抽出し、前記第1のキーワードに対応する第2のキーワードを、前記検証パターンの仕様が記載された検証仕様書情報から抽出するキーワード抽出部と、
前記第1のキーワードおよび前記第2のキーワードを用いて前記検証パターンの検証目的を特定する検証目的特定部と、を備えた
ことを特徴とする検証パターンチェック装置。
a signal extraction unit that extracts signal names for each module from a circuit description of a verification pattern written in a hardware description language;
a counter generating unit that generates a counter that counts the toggle amount of the signal having the signal name;
a module identification unit that identifies a module as a verification target module, the module having a counter value that satisfies a first determination condition when the verification pattern is executed;
a signal identification unit that identifies the signal name for which the counter value in the module to be verified satisfies a second determination condition;
a keyword extraction unit that extracts a first keyword corresponding to the identified signal name from a comment field of the circuit description of the verification pattern, and extracts a second keyword corresponding to the first keyword from verification specification information in which specifications of the verification pattern are described;
a verification purpose specifying unit that specifies a verification purpose of the verification pattern using the first keyword and the second keyword.
前記信号抽出部は、前記検証パターンの回路記述における宣言部から前記信号名を抽出する
ことを特徴とする請求項1に記載の検証パターンチェック装置。
2. The verification pattern checking device according to claim 1, wherein the signal extraction unit extracts the signal name from a declaration part in a circuit description of the verification pattern.
前記モジュール特定部は、前記カウンタ値が最大である前記信号名を含むモジュールを前記検証対象モジュールとして特定する
ことを特徴とする請求項1に記載の検証パターンチェック装置。
2. The verification pattern check device according to claim 1, wherein the module identification unit identifies a module including the signal name for which the counter value is the largest as the module to be verified.
前記モジュール特定部は、前記カウンタ値が予め定められた第1の閾値以上である前記信号名を含むモジュールを前記検証対象モジュールとして特定する
ことを特徴とする請求項1に記載の検証パターンチェック装置。
2. The verification pattern check device according to claim 1, wherein the module identification unit identifies, as the verification target module, a module including the signal name for which the counter value is equal to or greater than a predetermined first threshold value.
前記モジュール特定部は、前記カウンタ値が前記第1の閾値以上である前記信号名の数が予め定められた第2の閾値以上であるモジュールを前記検証対象モジュールとして特定する
ことを特徴とする請求項4に記載の検証パターンチェック装置。
5. The verification pattern checking device according to claim 4, wherein the module identification unit identifies, as the verification target module, a module for which the number of the signal names for which the counter value is equal to or greater than the first threshold is equal to or greater than a predetermined second threshold.
前記キーワード抽出部は、前記カウンタ値が最大である前記信号名に対応する前記第1のキーワードを、前記検証パターンの回路記述のコメント欄から抽出する
ことを特徴とする請求項1に記載の検証パターンチェック装置。
2. The verification pattern checking device according to claim 1, wherein the keyword extraction unit extracts the first keyword corresponding to the signal name with the largest counter value from a comment field of the circuit description of the verification pattern.
前記キーワード抽出部は、前記カウンタ値が予め定められた第1の閾値以上である前記信号名に対応する前記第1のキーワードを、前記検証パターンの回路記述のコメント欄から抽出する
ことを特徴とする請求項1に記載の検証パターンチェック装置。
2. The verification pattern checking device according to claim 1, wherein the keyword extraction unit extracts the first keyword corresponding to the signal name whose counter value is equal to or greater than a predetermined first threshold value from a comment field of a circuit description of the verification pattern.
前記検証目的特定部は、前記検証目的の特定をモジュールごとに行い、前記カウンタ値の遷移から前記検証パターンの検証手順を特定する
ことを特徴とする請求項1に記載の検証パターンチェック装置。
2. The verification pattern checking device according to claim 1, wherein the verification purpose specifying unit specifies the verification purpose for each module and specifies a verification procedure for the verification pattern from a transition of the counter value.
コンピュータを、請求項1から請求項8のいずれか1項に記載の検証パターンチェック装置として機能させるためのプログラム。 A program for causing a computer to function as the verification pattern check device described in any one of claims 1 to 8.
JP2022088124A 2022-05-31 2022-05-31 Verification pattern check device and program Active JP7745510B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022088124A JP7745510B2 (en) 2022-05-31 2022-05-31 Verification pattern check device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022088124A JP7745510B2 (en) 2022-05-31 2022-05-31 Verification pattern check device and program

Publications (2)

Publication Number Publication Date
JP2023176055A JP2023176055A (en) 2023-12-13
JP7745510B2 true JP7745510B2 (en) 2025-09-29

Family

ID=89122428

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022088124A Active JP7745510B2 (en) 2022-05-31 2022-05-31 Verification pattern check device and program

Country Status (1)

Country Link
JP (1) JP7745510B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003196339A (en) 2001-12-26 2003-07-11 Ricoh Co Ltd Testability analysis system and testability analysis method, and testability design system and testability design method
US10031991B1 (en) 2016-07-28 2018-07-24 Cadence Design Systems, Inc. System, method, and computer program product for testbench coverage

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2642250B2 (en) * 1990-12-21 1997-08-20 川崎製鉄株式会社 Inspection method of test pattern of logic circuit
US20010031991A1 (en) * 1999-12-14 2001-10-18 Joseph Russial Circuit for producing an arbitrary defibrillation waveform

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003196339A (en) 2001-12-26 2003-07-11 Ricoh Co Ltd Testability analysis system and testability analysis method, and testability design system and testability design method
US10031991B1 (en) 2016-07-28 2018-07-24 Cadence Design Systems, Inc. System, method, and computer program product for testbench coverage

Also Published As

Publication number Publication date
JP2023176055A (en) 2023-12-13

Similar Documents

Publication Publication Date Title
CN110704304B (en) Application program testing method and device, storage medium and server
CN117094269B (en) Verification method, verification device, electronic equipment and readable storage medium
US11003817B2 (en) Hard error simulation and usage thereof
US9286180B1 (en) Final result checking for system with pre-verified cores
US10262097B2 (en) Method to optimize standard cells manufacturability
CN118940687A (en) Chip security design method, electronic device and storage medium
CN114817015A (en) Test case coverage rate statistical method and device, electronic equipment and storage medium
JP2004038617A (en) Logic verification system and method, logic cone extraction device and method, logic verification and logic cone extraction program
CN120449778A (en) Input stimulus completeness detection method, system, device and storage medium
CN103365772B (en) Software test automatic evaluation device and method
US9792394B2 (en) Accurate glitch detection
US6934656B2 (en) Auto-linking of function logic state with testcase regression list
JP7745510B2 (en) Verification pattern check device and program
CN115732025A (en) Method and device for verifying RAM access conflict
US10430535B2 (en) Verification support program medium, verification support method, and information processing device for verification of a circuit
WO2007142201A1 (en) Multi-cycle path information verification method and multi-cycle path information verification device
US11023357B1 (en) Method and system for sequential equivalence checking
EP3553681A1 (en) Method and apparatus for error test coverage determination for a circuit by simulation
CN115422865B (en) Simulation method and device, computing equipment and computer readable storage medium
CN110750956B (en) Logic gate level verification method and verification system
CN112380798A (en) Parameter checking method, device, equipment and storage medium
CN109374038B (en) A change test method for nuclear safety-level I&C products based on application prototypes
CN117236277B (en) Method and device for checking register and electronic equipment
US10060976B1 (en) Method and apparatus for automatic diagnosis of mis-compares
US9928328B1 (en) Method and system for automated debugging of a device under test

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20241210

TRDD Decision of grant or rejection written
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20250808

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20250819

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20250916

R150 Certificate of patent or registration of utility model

Ref document number: 7745510

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350