JP2006119922A - Functional verification system, control method, and program - Google Patents

Functional verification system, control method, and program Download PDF

Info

Publication number
JP2006119922A
JP2006119922A JP2004307250A JP2004307250A JP2006119922A JP 2006119922 A JP2006119922 A JP 2006119922A JP 2004307250 A JP2004307250 A JP 2004307250A JP 2004307250 A JP2004307250 A JP 2004307250A JP 2006119922 A JP2006119922 A JP 2006119922A
Authority
JP
Japan
Prior art keywords
test
functional
verification
verified
specifications
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.)
Pending
Application number
JP2004307250A
Other languages
Japanese (ja)
Inventor
Shigeru Nishikawa
成 西川
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2004307250A priority Critical patent/JP2006119922A/en
Publication of JP2006119922A publication Critical patent/JP2006119922A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a function verification system efficiently generating high quality test items, test specifications, and test groups for function verification of a logic circuit. <P>SOLUTION: A function verification system 1 comprises a data input/editing part 10, a database part 20, a verification element extraction part 30, a verification element group 40, a verification environment constructing part 50, and a verification environment 60. ELectronic data of verification object DUT specifications 21, a various DUT specification libraries 26, a test item library 22, a test specification library 27, a verification library 24, a test template group 25, correspondence information 28, and a DUT library 29 are stored in the database part 20. The verification element extraction part 30 compares the verification object DUT specifications 21 with function specifications of individual DUTs in the various DUT specification library 26 to extract function specifications having a prescribed degree of approximation or higher, test items corresponding to the extracted function specifications are extracted on the basis of the correspondence information 28, and thus a test item group relating to all function specifications of a verification object DUT is generated. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、論理回路の必要十分な機能検証項目の設定及び機能検証項目に関わる機能検証を行う機能検証システム、制御方法、及びプログラムに関する。   The present invention relates to a function verification system, a control method, and a program for setting necessary and sufficient function verification items of a logic circuit and performing function verification related to the function verification items.

従来、各種電子機器に搭載される例えば割り込み回路やタイマ回路等の、論理回路の機能検証(以下DUT(Design Under Test)の機能検証と表記する)においては、当該DUTが機能仕様書に記載された機能仕様通りに機能するかどうかを、動的或いは静的な検証手法によって機能検証を実施していた。通常、検証対象のDUTの機能検証を実施する検証者は、実際にDUTの各機能がどのように実装されているかという部分には踏み込まずに、DUTの観測可能な端子の信号の状態を調べることで、DUTが機能仕様通りに機能するかどうかをブラックボックス的に検証する。   Conventionally, in functional verification of logic circuits such as interrupt circuits and timer circuits mounted on various electronic devices (hereinafter referred to as functional verification of DUT (Design Under Test)), the DUT is described in the functional specification. Functional verification was carried out by a dynamic or static verification method to check whether it functions according to the functional specifications. Usually, a verifier who performs functional verification of a DUT to be verified examines the state of a signal at a terminal that can be observed in the DUT without going into the part of how each function of the DUT is actually implemented. Thus, it is verified in a black box whether the DUT functions according to the functional specification.

DUTの機能検証にあたっては、検証者がDUTの機能仕様書から機能検証すべきテスト項目を抽出してテスト仕様書を作成し、設計者が前記作成されたテスト仕様書に関してテスト項目の抽出抜けが無いかどうかをレビュー等で確認した上で、検証者が完成されたテスト仕様書に基づきテストを作成し、機能検証を実施していた。   When verifying the function of the DUT, the verifier extracts the test items to be verified from the functional specifications of the DUT and creates the test specifications, and the designer fails to extract the test items for the created test specifications. After confirming whether or not there was a review, the verifier created a test based on the completed test specification and performed functional verification.

機能検証すべきテスト項目の抽出にあたっては、予め準備された各機能毎に抽出すべきテスト項目を網羅したテスト項目一覧を参照することで、テスト項目の抽出抜けが無いかどうかを確認する場合もあった。また、設計者が検証者からテスト項目のレビューを受けることにより、検証者が抽出したテスト項目に抜けが無いかどうかを確認する場合もあった。これらの場合はテスト項目の抽出抜け回避にある程度効果は出ていた。   When extracting test items that should be verified, it may be possible to check whether there are any missing test items by referring to a list of test items that are prepared in advance for each function to be extracted. there were. In addition, when the designer receives a review of the test items from the verifier, it may be confirmed whether there are any missing test items extracted by the verifier. In these cases, some effects were found in avoiding missing test items.

近年、ソフトウエア開発の分野において、構造化手法やオブジェクト指向方法論に基づき、仕様からプログラムを自動生成することが可能となってきている。また、グラフィカルユーザインタフェースを介して入力されたソフトウエア要求仕様に基づいて、ソフトウエアコードを自動生成させる技術が開示されている(例えば、特許文献1参照)。   In recent years, in the field of software development, it has become possible to automatically generate programs from specifications based on structured methods and object-oriented methodologies. In addition, a technique for automatically generating software code based on software requirement specifications input via a graphical user interface is disclosed (for example, see Patent Document 1).

また、本発明の執筆者は、DUTの機能検証に関して、実績のあるテスト項目一覧、パラメタライズ化されたモデルやモニタ等の検証モジュール、テスト項目に対応したテストテンプレートを有効活用することにより、当該DUTの機能検証用のテスト項目、テスト仕様、テストを高品質かつ高効率に作成可能とする機能検証システム及び方法を提案している。
特開2002−073336号公報
In addition, the author of the present invention can effectively use the test item list, parameterized model and monitor verification module, and test template corresponding to the test item for functional verification of the DUT. We have proposed a function verification system and method that can create test items, test specifications, and tests for DUT function verification with high quality and high efficiency.
JP 2002-073336 A

しかしながら、上述したように、従来のDUTの機能検証に際しては、DUTの機能仕様書から機能検証すべきテスト項目を抽出する工程、テスト仕様書を作成する工程、テスト仕様をレビューする工程、テストを作成する工程、テストを実行する工程に要する負荷が、DUTの大規模化に伴い大幅に増大し、DUTの機能検証期間の増大を招いているという問題点があった。   However, as described above, when verifying the function of a conventional DUT, the process of extracting test items to be verified from the function specification of the DUT, the process of creating the test specification, the process of reviewing the test specification, and the test There is a problem that the load required for the step of creating and the step of executing the test is greatly increased as the DUT becomes larger in scale, resulting in an increase in the functional verification period of the DUT.

また、機能仕様書からの機能検証すべきテスト項目の抽出が、担当する検証者のスキルに依存し、機能検証の品質を大きく左右するという問題点があった。   In addition, there is a problem that the extraction of test items to be verified from the function specification depends on the skill of the verifier in charge and greatly affects the quality of the function verification.

また、機能検証すべきテスト項目の抽出抜けを回避するために、予め準備された各機能毎に抽出すべきテスト項目を網羅したテスト項目一覧を参照する作業を検証者が行った場合でも、不注意等により発生する検証漏れは回避できなかった。   Even if the verifier performs the work of referring to the test item list that covers the test items prepared for each function prepared in advance in order to avoid missing the test items to be verified. The verification omission caused by caution etc. could not be avoided.

また、検証者によるテスト項目抽出後に設計者と検証者とが対となってテストレビューを実施しても、機能検証すべきテスト項目の一部が抜けてしまう場合も少なくなかった。   Moreover, even if the designer and the verifier perform a test review after extracting the test items by the verifier, there are not a few cases where a part of the test items to be functionally omitted is missing.

また、上記の機能検証に関わる工程のうち、最も上流の工程である、機能検証すべきテスト項目を抽出する工程において、いかに必要十分なテスト項目を抽出するかが、その後の検証品質を大きく左右するため、機能検証すべきテスト項目抽出の信頼性と生産性の向上を両立させることは大きな課題であった。   In addition, among the processes related to function verification described above, how to extract necessary and sufficient test items in the process of extracting the test items to be verified, which is the most upstream process, greatly affects the subsequent verification quality. Therefore, it has been a big challenge to achieve both the reliability of extracting test items to be verified and the improvement of productivity.

また、抽出したテスト項目に関する適切なテストを作成することも検証品質の観点から重要なポイントであり、その信頼性と生産性の向上を両立させることも大きな課題であった。   In addition, creating an appropriate test for the extracted test items is also an important point from the viewpoint of verification quality, and it is a major issue to achieve both improvement in reliability and productivity.

また、上述したように、仕様からプログラムを自動生成することが可能となってきており、適用分野は主にアプリケーション或いは組込みソフトウエアの開発の分野であるが、ハードウエアの開発の分野でも一部適用が試みられてきている。即ち、実現すべきソフトウエアの仕様から当該ソフトウエアのプログラムを自動生成するものや、実現すべきハードウエアの機能仕様から当該ハードウエアの機能をハードウエア記述向けの拡張C言語等で記述したプログラムを自動生成するものである。   In addition, as described above, it has become possible to automatically generate a program from specifications, and the application field is mainly the field of application or embedded software development, but it is also partly in the field of hardware development. Application has been attempted. That is, a program that automatically generates a program of the software from the specifications of the software to be realized, or a program that describes the functions of the hardware in the extended C language for hardware description from the functional specifications of the hardware to be realized Is automatically generated.

また、実現すべきソフトウエアの仕様或いはプログラムから、当該ソフトウエアのテスト項目、そしてテストプログラムを自動生成する技術も提案されてきている。   In addition, a technique for automatically generating a test item of a software and a test program from a specification or program of the software to be realized has been proposed.

しかし、ハードウエアの機能検証の分野において、機能検証用のテスト仕様、テストプログラムを自動生成する技術は開示されておらず、DUTの機能仕様から、当該機能に関する機能検証用のテスト項目、テスト仕様、テストを作成する工程を高品質に効率化する必要性が高まっている。   However, in the field of functional verification of hardware, there is no disclosure of technology for automatically generating test specifications and test programs for functional verification. From the functional specifications of the DUT, test items and test specifications for functional verification related to the functions. There is a growing need to improve the quality of the test creation process.

上述した、本発明の執筆者が提案した機能検証システム及び方法は、各種論理回路の機能検証に関わるテスト項目一覧を前提にしており、テストの実行、テスト実行結果のフィードバックに関しては考慮していないと課題があった。   The above-described function verification system and method proposed by the author of the present invention is based on a list of test items related to functional verification of various logic circuits, and does not consider test execution and feedback of test execution results. There was a problem.

本発明の目的は、論理回路の機能検証用のテスト項目、テスト仕様、テスト群を高品質かつ高効率に作成すること等を可能とした機能検証システム、制御方法、及びプログラムを提供することにある。   An object of the present invention is to provide a function verification system, a control method, and a program capable of creating test items, test specifications, and test groups for functional verification of logic circuits with high quality and high efficiency. is there.

上述の目的を達成するために、本発明は、論理回路の機能検証を行う機能検証システムであって、検証対象の論理回路の機能仕様と、各種論理回路の機能仕様の集合と、前記各種論理回路の機能仕様に関して機能検証すべきテスト項目の集合とを格納する格納手段と、前記検証対象の論理回路の個々の機能仕様と、前記各種論理回路の機能仕様の集合における個々の機能仕様とを比較し、所定以上の近似度の機能仕様と該機能仕様に対応するテスト項目を抽出し、前記検証対象の論理回路の全機能仕様に関するテスト項目群を生成するテスト項目抽出手段とを備えることを特徴とする。   In order to achieve the above object, the present invention provides a functional verification system for performing functional verification of a logic circuit, comprising a functional specification of a logic circuit to be verified, a set of functional specifications of various logic circuits, and the various logics. Storage means for storing a set of test items to be functionally verified with respect to the functional specifications of the circuit, individual functional specifications of the logic circuit to be verified, and individual functional specifications in the set of functional specifications of the various logic circuits A test item extracting means for comparing and extracting a functional specification having a degree of approximation equal to or greater than a predetermined value and a test item corresponding to the functional specification and generating a test item group relating to all functional specifications of the logic circuit to be verified; Features.

上述の目的を達成するために、本発明は、論理回路の機能検証を行う機能検証システムであって、検証対象の論理回路の機能仕様と、各種論理回路の機能仕様に関して機能検証すべきテスト項目の集合と、前記各種論理回路の機能仕様に関して機能検証するプロパティのプロパティ仕様の集合と、前記各種論理回路の機能仕様に関して機能検証するプロパティテンプレートの集合とを格納する格納手段と、前記検証対象の論理回路の個々の機能仕様と、前記各種論理回路の機能仕様の集合における個々の機能仕様とを比較し、所定以上の近似度の機能仕様と該機能仕様に関わるテスト項目を抽出し、前記検証対象の論理回路の全機能仕様に関するテスト項目群を生成するテスト項目抽出手段と、前記テスト項目群、前記検証対象の論理回路の機能仕様を解析し、プロパティ仕様群を生成するプロパティ仕様生成手段と、前記検証対象の論理回路の機能仕様、前記テスト項目群、前記プロパティ仕様群、前記プロパティテンプレートの集合を解析し、前記検証対象の論理回路の機能検証に必要なプロパティ群を生成するプロパティ群生成手段とを備えることを特徴とする。   In order to achieve the above-described object, the present invention is a functional verification system for performing functional verification of a logic circuit, which is a test item to be verified with respect to the functional specifications of the logic circuit to be verified and the functional specifications of various logic circuits. A storage means for storing a set of property specifications of properties to be functionally verified with respect to the functional specifications of the various logic circuits, a set of property templates to be functionally verified with respect to the functional specifications of the various logic circuits, and the verification target The individual functional specifications of the logic circuit and the individual functional specifications in the set of functional specifications of the various logic circuits are compared, and the functional specifications with a predetermined degree of approximation or more and test items related to the functional specifications are extracted, and the verification is performed. Test item extraction means for generating a test item group for all functional specifications of the target logic circuit, the test item group, and the verification target logic circuit A property specification generating means for analyzing a performance specification and generating a property specification group; and a function specification of the logic circuit to be verified, the test item group, the property specification group, and a set of the property template are analyzed, and the verification target is analyzed. And property group generation means for generating a property group necessary for functional verification of the logic circuit.

本発明によれば、検証対象の論理回路の個々の機能仕様と、各種論理回路の機能仕様の集合における個々の機能仕様とを比較し、所定以上の近似度の機能仕様と該機能仕様に対応するテスト項目を抽出し、検証対象の論理回路の全機能仕様に関するテスト項目群を生成するので、論理回路の機能検証用のテスト項目を高品質かつ高効率に作成可能とすることができ、検証工数削減、検証期間短縮、検証品質向上を同時に実現することができるという顕著な効果を奏する。   According to the present invention, the individual functional specifications of the logic circuit to be verified are compared with the individual functional specifications in the set of functional specifications of the various logical circuits, and the functional specifications having a predetermined degree of approximation or higher are supported. The test items for all functional specifications of the logic circuit to be verified are generated and test items for functional verification of the logic circuit can be created with high quality and high efficiency. There is a remarkable effect that man-hour reduction, verification period shortening, and verification quality improvement can be realized at the same time.

また、本発明によれば、更に、テスト項目群、検証対象の論理回路の機能仕様を解析してテスト仕様群を生成し、検証対象の論理回路の機能仕様、テスト項目群、テストテンプレートの集合を解析して検証対象の論理回路の機能検証に必要なテスト群を生成するので、論理回路の機能検証用のテスト項目に加えて、テスト仕様、テストを高品質かつ高効率に作成可能とすることができ、検証工数削減、検証期間短縮、検証品質向上を同時に実現することができるという顕著な効果を奏する。   Further, according to the present invention, a test specification group is generated by analyzing the functional specifications of the test item group and the logic circuit to be verified, and the set of the functional specification, test item group and test template of the logic circuit to be verified The test group necessary for functional verification of the logic circuit to be verified is generated by analyzing the test, so that test specifications and tests can be created with high quality and high efficiency in addition to the test items for functional verification of the logic circuit It is possible to reduce the verification man-hours, shorten the verification period, and improve the verification quality at the same time.

また、本発明によれば、実行したテストの実行結果のカバレッジを解析するカバレッジ解析手段の解析結果に基づき、実行するテストを制御するので、テスト実行に関しても、検証ゴール達成に向けて高品質化及び効率化を達成することができるという顕著な効果を奏する。   In addition, according to the present invention, since the test to be executed is controlled based on the analysis result of the coverage analysis means for analyzing the coverage of the execution result of the executed test, the quality of the test execution is improved to achieve the verification goal. And the remarkable effect that efficiency can be achieved is achieved.

以下、本発明の実施の形態を図面に基づき説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

[第1の実施の形態]
図1は、本発明の第1の実施の形態に係る機能検証システムの構成を示すブロック図である。
[First Embodiment]
FIG. 1 is a block diagram showing the configuration of the function verification system according to the first embodiment of the present invention.

図1において、機能検証システム1は、論理回路の機能検証を行うものであり、データ入力/編集部10、データベース部20、検証要素抽出部30、検証要素群40、検証環境構築部50、検証環境60から構成されている。   In FIG. 1, a functional verification system 1 performs functional verification of a logic circuit, and includes a data input / editing unit 10, a database unit 20, a verification element extraction unit 30, a verification element group 40, a verification environment construction unit 50, and verification. It consists of an environment 60.

本実施の形態では、機能検証システム1の各構成要素は、ワークステーション或いはパーソナルコンピュータ(PC)上において主記憶装置或いは補助記憶装置に保存され、中央演算処理装置の制御に基づき機能するものとする。また、本実施の形態では、DUTとDUT検証用のテストベンチ及びテストをソフトウエアシミュレータ上でシミュレーションを実行することにより動的な機能検証を行うことを想定している。   In the present embodiment, each component of the function verification system 1 is stored in a main storage device or an auxiliary storage device on a workstation or a personal computer (PC) and functions based on control of the central processing unit. . In the present embodiment, it is assumed that the DUT and the test bench for DUT verification and the test are performed dynamically by executing simulation on a software simulator.

データ入力/編集部10は、データベース部20内の各種データの入力及び編集を行うものであり、データベース部20にネットワーク接続されたワークステーション或いはPC等から構成される、GUI(Graphical User Interface)等を有するマンマシンインタフェースである。   The data input / editing unit 10 inputs and edits various data in the database unit 20, and includes a GUI (Graphical User Interface) configured from a workstation or a PC connected to the database unit 20 via a network. It is a man-machine interface having

データベース部20は、検証対象DUT仕様21、各種DUT仕様ライブラリ26、テスト項目ライブラリ22、テスト仕様ライブラリ27、検証ライブラリ24、テストテンプレート群25、DUT仕様とテスト項目の対応情報28、DUTライブラリ29の電子データを格納している。データベース部20は、具体的には、上記電子データを格納するワークステーション或いはPC上のハードディスク等の電子データ蓄積デバイスとして構成されており、上記電子データのバージョン管理等を行う。   The database unit 20 includes a verification target DUT specification 21, various DUT specification libraries 26, a test item library 22, a test specification library 27, a verification library 24, a test template group 25, DUT specification / test item correspondence information 28, and a DUT library 29. Stores electronic data. Specifically, the database unit 20 is configured as an electronic data storage device such as a hard disk on a workstation or PC that stores the electronic data, and performs version management of the electronic data.

各種DUT仕様ライブラリ26は、既存の各種DUTの機能仕様(機能毎に分類される例えば割り込み回路やタイマ回路等の各種論理回路の仕様)のライブラリ(集合)である。テスト項目ライブラリ22は、上記既存の各種DUTの機能仕様に関して機能検証すべきテスト項目のライブラリである。テスト仕様ライブラリ27は、上記既存の各種DUTの機能仕様に関して機能検証すべきテスト項目に関するテスト仕様のライブラリである。   The various DUT specification libraries 26 are libraries (collections) of existing various DUT functional specifications (specifications of various logic circuits such as interrupt circuits and timer circuits classified for each function). The test item library 22 is a library of test items whose functions should be verified with respect to the functional specifications of the existing various DUTs. The test specification library 27 is a library of test specifications related to test items whose functions should be verified with respect to the functional specifications of the existing various DUTs.

検証ライブラリ24は、予め用意された、様々なDUTの機能検証に必要となるモデルやモニタ等の検証モジュールのライブラリである。テストテンプレート群25は、予め用意された、テスト項目一覧の各テスト項目に対応するテストのテンプレートのデータである。DUT仕様とテスト項目の対応情報28は、上記既存の各種DUTの機能仕様と、対応するテスト項目の対応に関する情報である。DUTライブラリ29は、下記のDUT61の情報を含むライブラリである。   The verification library 24 is a library of verification modules such as models and monitors that are prepared in advance and are necessary for functional verification of various DUTs. The test template group 25 is test template data prepared in advance corresponding to each test item in the test item list. The correspondence information 28 between the DUT specifications and the test items is information regarding the correspondence between the function specifications of the existing various DUTs and the corresponding test items. The DUT library 29 is a library including information on the following DUT 61.

検証要素抽出部30は、テスト項目抽出部31、テスト仕様生成部32、検証モジュール群抽出部33、テスト群生成部34から構成されており、データベース部20内の各種データを解析して、当該DUTの機能検証に必要な検証要素群40を抽出する。   The verification element extraction unit 30 includes a test item extraction unit 31, a test specification generation unit 32, a verification module group extraction unit 33, and a test group generation unit 34. The verification element extraction unit 30 analyzes various data in the database unit 20, and A verification element group 40 necessary for functional verification of the DUT is extracted.

テスト項目抽出部31は、図2に示すように、個別機能仕様抽出部301、データ構造解析部302、キーワード抽出部303、近似度評価部304、類似仕様抽出部305、テスト項目選択部306から構成されている。   As shown in FIG. 2, the test item extraction unit 31 includes an individual function specification extraction unit 301, a data structure analysis unit 302, a keyword extraction unit 303, an approximation degree evaluation unit 304, a similar specification extraction unit 305, and a test item selection unit 306. It is configured.

個別機能仕様抽出部301は、検証対象DUT仕様21及び各種DUT仕様ライブラリ26を入力して、各々について、例えば、各機能仕様の記述部分に記載されるキーワード(”specification”等)、或いは、データ構造を示す識別子(”1.1”)を基に判断することにより、データ構造を解析して各個別機能仕様の記述を抽出する。データ構造解析部302は、個別機能仕様抽出部301により抽出された各個別機能仕様の記述に対して、例えば、データ構造の部分毎の特徴を示すキーワード(”name”、”contents”等)、或いは、データ構造を示す識別子(”1.1.1”)を基に判断することにより、個々の機能仕様のデータ構造を解析する。   The individual function specification extraction unit 301 inputs the verification target DUT specification 21 and various DUT specification libraries 26, and for each, for example, a keyword ("specification" or the like) described in the description part of each function specification or data By judging based on the identifier ("1.1") indicating the structure, the data structure is analyzed and the description of each individual function specification is extracted. For example, keywords (“name”, “contents”, etc.) indicating the characteristics of each part of the data structure for the description of each individual function specification extracted by the individual function specification extracting unit 301, Alternatively, the data structure of each functional specification is analyzed by making a determination based on the identifier (“1.1.1”) indicating the data structure.

キーワード抽出部303は、データ構造解析部302により解析された各個別機能仕様のデータ構造の各部分毎に、当該機能仕様のカテゴリ(”arbiter”等)や特徴(”one hot”等)を示すキーワード自体、或いは、カテゴリや特徴を示すキーワードに対応する識別子(”A-1-1”等)の抽出を行う。近似度評価部304は、キーワード抽出部303により抽出されたキーワード(或いはキーワードに対応した識別子)に関して、検証対象DUT仕様21と各種DUT仕様ライブラリ26内の機能仕様の近似度を評価する。   The keyword extraction unit 303 indicates a category (“arbiter”, etc.) and a feature (“one hot”, etc.) of the function specification for each part of the data structure of each individual function specification analyzed by the data structure analysis unit 302. An identifier ("A-1-1" or the like) corresponding to the keyword itself or a keyword indicating a category or feature is extracted. The degree-of-approximation evaluation unit 304 evaluates the degree of approximation between the verification target DUT specification 21 and the functional specifications in the various DUT specification libraries 26 with respect to the keywords (or identifiers corresponding to the keywords) extracted by the keyword extraction unit 303.

類似仕様抽出部305は、近似度評価部304により評価された近似度が所定以上の場合、各種DUT仕様ライブラリ26内の当該機能仕様を抽出する。尚、類似仕様抽出部305は、検証対象DUT仕様21の或る機能仕様に関して、各種DUT仕様ライブラリ26の何れの機能仕様も所定以上の近似度とならなかった場合は、適切な機能仕様が抽出不能であった旨をワークステーション或いはPCの表示部を介してユーザに通知するものとし、また、所定以上の近似度の機能仕様が抽出できなかった機能仕様の情報をデータベース部20に登録する。   The similar specification extraction unit 305 extracts the functional specifications in the various DUT specification libraries 26 when the degree of approximation evaluated by the approximation degree evaluation unit 304 is equal to or greater than a predetermined value. It should be noted that the similar specification extraction unit 305 extracts an appropriate functional specification for a certain functional specification of the verification target DUT specification 21 when none of the functional specifications of the various DUT specification libraries 26 has a degree of approximation exceeding a predetermined level. It is assumed that the user is notified through the workstation or the display unit of the PC, and information on the function specification for which a function specification with a degree of approximation equal to or greater than a predetermined value cannot be extracted is registered in the database unit 20.

テスト項目選択部306は、テスト項目ライブラリ22と、DUT仕様とテスト項目の対応情報28を用いて、類似仕様抽出部305により抽出された各種DUT仕様ライブラリ26内の当該機能仕様に対応するテスト項目をテスト項目ライブラリ22から抽出する。   The test item selection unit 306 uses the test item library 22 and the DUT specification / test item correspondence information 28 to test items corresponding to the functional specifications in the various DUT specification libraries 26 extracted by the similar specification extraction unit 305. Are extracted from the test item library 22.

尚、検証要素抽出部30のテスト仕様生成部32、検証モジュール群抽出部33、テスト群生成部34の機能については、検証要素群40の後に説明する。   The functions of the test specification generation unit 32, the verification module group extraction unit 33, and the test group generation unit 34 of the verification element extraction unit 30 will be described after the verification element group 40.

検証要素群40は、テスト項目群41、テスト仕様42、検証モジュール群43、テスト群44から構成されている。   The verification element group 40 includes a test item group 41, a test specification 42, a verification module group 43, and a test group 44.

テスト項目群41は、テスト項目抽出部31により抽出された、検証対象DUT仕様21の機能検証に必要なテスト項目の集合である。テスト仕様42は、当該DUTの機能検証に必要な各テスト項目毎にDUT仕様に基づく制約条件を考慮したテスト仕様が抽出されたものである。検証モジュール群43は、当該DUTの機能検証に必要となる検証モジュールの集合である。テスト群44は、当該DUTの機能検証に必要となるテストの集合である。   The test item group 41 is a set of test items necessary for functional verification of the verification target DUT specification 21 extracted by the test item extraction unit 31. The test specification 42 is obtained by extracting a test specification in consideration of the constraint condition based on the DUT specification for each test item necessary for functional verification of the DUT. The verification module group 43 is a set of verification modules necessary for functional verification of the DUT. The test group 44 is a set of tests necessary for functional verification of the DUT.

上記のテスト項目抽出部31は、検証対象DUT仕様21と各種DUT仕様ライブラリ26内の個々のDUTの機能仕様とを比較して、所定の近似度以上の機能仕様を抽出し、DUT仕様とテスト項目の対応情報28に基づき、上記抽出された機能仕様に対応するテスト項目を抽出し、検証対象DUTの全機能仕様に関するテスト項目群を生成する。   The test item extraction unit 31 compares the DUT specification 21 to be verified with the functional specifications of the individual DUTs in the various DUT specification libraries 26, extracts functional specifications that are equal to or higher than a predetermined degree of approximation, and tests the DUT specifications and tests. Based on the item correspondence information 28, test items corresponding to the extracted functional specifications are extracted, and a test item group related to all functional specifications of the verification target DUT is generated.

テスト仕様生成部32は、当該DUTの機能検証として実施すべきテスト項目群のテスト項目毎に、関連する検証対象DUT仕様21を解析して、当該対応DUT仕様の制約条件を付加した各テスト仕様を生成し、全てのテスト項目群に対応するテスト仕様42を生成する。   The test specification generation unit 32 analyzes the relevant verification target DUT specification 21 for each test item of the test item group to be implemented as the function verification of the DUT, and adds each constraint specification of the corresponding DUT specification. And test specifications 42 corresponding to all test item groups are generated.

検証モジュール群抽出部33は、当該DUTの機能検証として実施すべきテスト項目群の各テスト項目毎に、関連する検証対象DUT仕様21と当該テスト仕様42を解析して、当該テスト項目に関する機能検証時にテスト側に実装すべき部分と、モデルやモニタ等の検証モジュールの機能として実装すべき部分との切り分けを行い、当該テスト項目に関する機能検証に必要なモデルやモニタ等の検証モジュールを検証ライブラリ24から抽出し、必要に応じてテスト実行時に検証モジュールに設定すべきパラメータ情報を保持し、全てのテスト項目群に対応する検証モジュール群43を抽出する。   The verification module group extraction unit 33 analyzes the related verification target DUT specification 21 and the test specification 42 for each test item of the test item group to be implemented as the functional verification of the DUT, and performs functional verification regarding the test item. Sometimes, a part to be mounted on the test side is separated from a part to be mounted as a function of a verification module such as a model or a monitor, and a verification module such as a model or a monitor necessary for function verification related to the test item is verified library 24 If necessary, parameter information to be set in the verification module at the time of test execution is held, and verification module groups 43 corresponding to all test item groups are extracted.

テスト群生成部34は、テスト項目群の各テスト項目毎にテストテンプレート群25を解析して、対応するテストテンプレートを抽出し、関連する検証対象DUT仕様21、テスト仕様42、及び検証モジュール抽出部33に保持されたテスト側から検証モジュールに設定すべきパラメータ情報を解析し、必要なパラメータを当該テストテンプレートに追加して、当該DUTの機能検証として実施すべきテストを生成し、これを全てのテスト項目に対して実行し、テスト項目群に対応するテスト群44を生成する。また、テスト群生成部34は、所定のテスト項目に対して下記のカバレッジを取得するテストを生成する。   The test group generation unit 34 analyzes the test template group 25 for each test item of the test item group, extracts a corresponding test template, and relates to the verification target DUT specification 21, the test specification 42, and the verification module extraction unit. 33, the parameter information to be set in the verification module is analyzed from the test side, the necessary parameters are added to the test template, and the test to be performed as the functional verification of the DUT is generated. A test group 44 corresponding to the test item group is generated by executing the test item. Further, the test group generation unit 34 generates a test for acquiring the following coverage for a predetermined test item.

検証環境構築部50は、上記の検証要素群40を組合せて下記の検証環境60を構築する。   The verification environment construction unit 50 constructs the following verification environment 60 by combining the verification element groups 40 described above.

検証環境60は、テスト群44、DUT61、テストベンチ63、検証部/シミュレータインタフェース(以下I/Fと略称)64、ソフトウエアシミュレータ65、テスト実行制御部67、カバレッジ解析部68から構成されている。尚、検証環境60内の検証モジュール群43とテスト群44は、検証要素群40を構成しているものであるため、図1では検証環境60内と検証要素群40内とで同一符号を付すものとする。   The verification environment 60 includes a test group 44, a DUT 61, a test bench 63, a verification unit / simulator interface (hereinafter abbreviated as I / F) 64, a software simulator 65, a test execution control unit 67, and a coverage analysis unit 68. . Since the verification module group 43 and the test group 44 in the verification environment 60 constitute the verification element group 40, the same reference numerals are given in the verification environment 60 and the verification element group 40 in FIG. Shall.

テストベンチ63は、検証モジュール群抽出部33により抽出された検証モジュール群43と、検証対象DUTの機能検証に必要なベースハードウエア(以下H/Wと略称)62から構成される。ベースH/W62は、DUT61を包含するH/Wのトップ階層であり、検証モジュール群43と接続されることでテストベンチ63を構成し、ソフトウエアシミュレータ65上でシミュレーション実行が可能である。検証モジュール群43には、テスト群44とDUT61が接続される。   The test bench 63 includes a verification module group 43 extracted by the verification module group extraction unit 33 and base hardware (hereinafter abbreviated as H / W) 62 necessary for functional verification of the verification target DUT. The base H / W 62 is a H / W top layer including the DUT 61, and is connected to the verification module group 43 to constitute a test bench 63, which can execute a simulation on the software simulator 65. A test group 44 and a DUT 61 are connected to the verification module group 43.

ソフトウエアシミュレータ65は、ハードウエア記述言語等で機能記述されたハードウエアのプログラムを実行可能な論理シミュレータである。検証部/シミュレータI/F64は、テスト群44及び検証モジュール群43等の検証言語等で記述された検証部をソフトウエアシミュレータ65上で実行させるためのインタフェースである。   The software simulator 65 is a logic simulator capable of executing a hardware program whose function is described in a hardware description language or the like. The verification unit / simulator I / F 64 is an interface for causing the verification unit described in a verification language or the like such as the test group 44 and the verification module group 43 to be executed on the software simulator 65.

テスト実行制御部67は、検証環境60において、ソフトウエアシミュレータ65を起動してテストベンチ63上でテスト群44の実行を司る。また、テスト実行制御部67は、下記のカバレッジ解析部68の解析結果を受けて、所定のカバッレジ条件が満足されなかった場合は対応するテストを制約条件等を制御した上で実行する。カバレッジ解析部68は、テスト群44内の所定のテスト項目に関連して対応するテストに記述されたカバレッジ取得の機構によって、テスト実行時に取得されたカバレッジを解析し、所定の条件を満足したか否かを判断し、テスト実行制御部67に解析結果を通知する。   The test execution control unit 67 activates the software simulator 65 in the verification environment 60 and manages the execution of the test group 44 on the test bench 63. Further, the test execution control unit 67 receives the analysis result of the coverage analysis unit 68 described below, and executes a corresponding test after controlling the constraint conditions and the like when a predetermined coverage condition is not satisfied. Whether the coverage analysis unit 68 analyzed the coverage acquired at the time of test execution by the coverage acquisition mechanism described in the corresponding test in relation to the predetermined test item in the test group 44, and satisfied the predetermined condition It is determined whether or not the test execution control unit 67 is notified of the analysis result.

次に、上記構成を有する本実施の形態の機能検証システムの主要構成要素である検証要素抽出部30と検証環境構築部50の動作を説明する。   Next, operations of the verification element extraction unit 30 and the verification environment construction unit 50, which are main components of the function verification system of the present embodiment having the above-described configuration, will be described.

尚、本実施の形態では、データベース部20に、検証対象DUT仕様21、各種DUT仕様ライブラリ26、テスト項目ライブラリ22、テスト仕様ライブラリ27、検証ライブラリ24、テストテンプレート群25、DUT仕様とテスト項目の対応情報28、DUT61に加えて、抽出/生成される、テスト仕様42、検証モジュール群43、テスト群44を保持する構成を想定している。   In the present embodiment, the database unit 20 includes a verification target DUT specification 21, various DUT specification libraries 26, a test item library 22, a test specification library 27, a verification library 24, a test template group 25, DUT specifications and test items. In addition to the correspondence information 28 and the DUT 61, a configuration is assumed in which a test specification 42, a verification module group 43, and a test group 44 that are extracted / generated are held.

図3及び図4は、機能検証システムの検証要素抽出部30及び検証環境構築部50の動作を示すフローチャートである。   3 and 4 are flowcharts showing operations of the verification element extraction unit 30 and the verification environment construction unit 50 of the function verification system.

図3及び図4において、まず、検証要素抽出部30は、最初の工程として、当該DUTに対応するテスト項目群のテスト項目No.の初期化処理(i=1)を行う(ステップS100)。次に、検証要素抽出部30は、検証対象DUT仕様21と各種DUT仕様ライブラリ26とを比較して、所定の近似度以上と評価された各種DUT仕様ライブラリ26内の機能仕様をピックアップし、DUT仕様とテスト項目の対応情報28を参照して、当該ピックアップされた機能仕様に対応するテスト項目を抽出する(ステップS113)。   3 and 4, first, the verification element extraction unit 30 performs the test item No. of the test item group corresponding to the DUT as the first step. Initialization processing (i = 1) is performed (step S100). Next, the verification element extraction unit 30 compares the verification target DUT specification 21 with the various DUT specification libraries 26, picks up the functional specifications in the various DUT specification libraries 26 that have been evaluated to be equal to or higher than a predetermined degree of approximation, and performs the DUT. The test item corresponding to the picked-up function specification is extracted with reference to the specification / test item correspondence information 28 (step S113).

次に、検証要素抽出部30は、当該テスト項目に関連する検証対象DUT仕様21を解析して、検証対象DUT仕様21の制約条件を付加してテスト仕様42を生成する(ステップS101)。次に、検証要素抽出部30は、当該テスト項目に関連する検証対象DUT仕様21とテスト仕様42を解析して、当該テスト項目に関する機能検証時にテスト側に実装すべき部分と検証モジュール側に実装すべき部分との切り分けを行った上で、必要な検証モジュールを検証ライブラリ24より抽出し、必要に応じてテスト実行時に検証モジュールに設定すべきパラメータ情報を保持する(ステップS102)。   Next, the verification element extraction unit 30 analyzes the verification target DUT specification 21 related to the test item, adds a constraint condition of the verification target DUT specification 21, and generates a test specification 42 (step S101). Next, the verification element extraction unit 30 analyzes the verification target DUT specification 21 and the test specification 42 related to the test item, and implements the portion to be mounted on the test side and the verification module side when performing functional verification on the test item. After separation from the portion to be performed, a necessary verification module is extracted from the verification library 24, and parameter information to be set in the verification module at the time of test execution is held as necessary (step S102).

次に、検証要素抽出部30は、テストテンプレート群25を解析して当該テスト項目に対応するテストテンプレートを抽出し、関連する検証対象DUT仕様21と、テスト仕様42と、検証モジュール抽出部33に保持されたパラメータ情報を解析して、必要な制約条件を当該テストテンプレートに付加してテスト群44を作成する(ステップS103)。次に、検証要素抽出部30は、次のテスト項目を選択するためにテスト項目No.(i)をインクリメントする(i=i+1)(ステップS104)。   Next, the verification element extraction unit 30 analyzes the test template group 25 and extracts a test template corresponding to the test item. The verification element extraction unit 30 stores the verification target DUT specification 21, the test specification 42, and the verification module extraction unit 33. The stored parameter information is analyzed, and necessary test conditions are added to the test template to create a test group 44 (step S103). Next, the verification element extraction unit 30 increments the test item No. (i) to select the next test item (i = i + 1) (step S104).

次に、検証要素抽出部30は、テスト項目No.(i)が当該DUTのテスト項目群の総テスト項目数n以下の場合(i≦n)(ステップS105でNO)、上記ステップS101に進んで、検証要素抽出の工程を続行する。他方、検証要素抽出部30は、テスト項目No.(i)が当該DUTのテスト項目群の総テスト項目数nを超えた場合(i>n)(ステップS105でYES)、検証要素抽出の工程を終了し、ステップS106に進む。検証要素抽出部30は、上記ステップS101で生成したテスト仕様42をデータベース部20に格納し(ステップS106)、上記ステップS102で抽出した検証モジュール群43をデータベース部20に格納し(ステップS107)、上記ステップS103で生成したテスト群44をデータベース部20に格納する(ステップS108)。   Next, the verification element extraction unit 30 sets the test item No. When (i) is less than or equal to the total number n of test items in the test item group of the DUT (i ≦ n) (NO in step S105), the process proceeds to step S101 and the verification element extraction process is continued. On the other hand, the verification element extraction unit 30 has a test item No. When (i) exceeds the total number n of test items in the test item group of the DUT (i> n) (YES in step S105), the verification element extraction process is terminated, and the process proceeds to step S106. The verification element extraction unit 30 stores the test specification 42 generated in step S101 in the database unit 20 (step S106), and stores the verification module group 43 extracted in step S102 in the database unit 20 (step S107). The test group 44 generated in step S103 is stored in the database unit 20 (step S108).

次に、検証環境構築部50は、最初の工程として、DUT61をテストベンチ63に接続するためのDUT61の上位階層のモジュールとなるベースH/W62を生成し、DUT61を接続する(ステップS109)。次に、検証環境構築部50は、上記ステップS102で抽出された検証モジュール群43をベースH/W62とDUT61に接続し、テストベンチ63を構成する(ステップS110)。次に、検証環境構築部50は、上記ステップS103で生成されたテスト群44をテストベンチ63に接続する(ステップS111)。最後に、検証環境構築部50は、全接続情報をデータベース部20に格納し、シミュレータ環境にテスト群44、テストベンチ63、DUT61を組込んで、検証環境60を構築する(ステップS112)。   Next, as a first step, the verification environment construction unit 50 generates a base H / W 62 that is a module in the upper layer of the DUT 61 for connecting the DUT 61 to the test bench 63, and connects the DUT 61 (step S109). Next, the verification environment construction unit 50 connects the verification module group 43 extracted in step S102 to the base H / W 62 and the DUT 61 to configure the test bench 63 (step S110). Next, the verification environment construction unit 50 connects the test group 44 generated in step S103 to the test bench 63 (step S111). Finally, the verification environment construction unit 50 stores all connection information in the database unit 20, and constructs the verification environment 60 by incorporating the test group 44, the test bench 63, and the DUT 61 into the simulator environment (step S112).

テスト実行制御部67は、上記の検証環境60において、ソフトウエアシミュレータ65を起動してテストベンチ63上でテスト群44の実行を司る(ステップS114)。カバレッジ解析部68は、テスト群44内の所定のテスト項目に関連して対応するテストに記述されたカバレッジ取得の機構によって、テスト実行時に取得されたカバレッジを解析し、所定の条件を満足したか否かを判断し(ステップS115)、テスト実行制御部67に解析結果を通知する。テスト実行制御部67は、カバレッジ解析部68の解析結果を受けて、所定のカバッレジ条件が満足されなかった場合は対応するテストを制約条件等を制御した上で実行する。   The test execution control unit 67 activates the software simulator 65 in the verification environment 60 and manages the execution of the test group 44 on the test bench 63 (step S114). Whether the coverage analysis unit 68 analyzed the coverage acquired at the time of test execution by the coverage acquisition mechanism described in the corresponding test in relation to the predetermined test item in the test group 44, and satisfied the predetermined condition (Step S115), and notifies the test execution control unit 67 of the analysis result. The test execution control unit 67 receives the analysis result of the coverage analysis unit 68, and executes a corresponding test after controlling the constraint conditions and the like when a predetermined coverage condition is not satisfied.

上記において、検証対象DUTの各テスト項目に関する機能検証に必要となるモデルやモニタ等の検証モジュールは、検証ライブラリ24に含まれており、同様に、当該DUTの各テスト項目に関する機能検証に必要となるテストに対応するテストテンプレートも、テストテンプレート群25に含まれていることを想定している。   In the above, a verification module such as a model or a monitor required for functional verification regarding each test item of the verification target DUT is included in the verification library 24, and similarly, required for functional verification regarding each test item of the DUT. It is assumed that a test template corresponding to the test is also included in the test template group 25.

検証対象DUTの各テスト項目に関する機能検証に必要となるモデル、モニタ、或いはテストテンプレートが抽出不可能な場合は、必要となるモデル、モニタ、或いは、テストテンプレートを新規或いは類似モジュールを編集することにより作成し、データ入力/編集部10を介してデータベース部20に追加登録するものとする。   If the model, monitor, or test template required for functional verification related to each test item of the verification target DUT cannot be extracted, edit the required model, monitor, or test template by editing a new or similar module. It is created and additionally registered in the database unit 20 via the data input / editing unit 10.

また、検証対象DUTの機能仕様が、各種DUT仕様ライブラリ26内の何れの個別機能仕様とも所定以上の近似度とならなかった場合は、当該機能仕様に関わるテスト項目は新規に作成し、データ入力/編集部10を介してデータベース部20に追加登録するものとする。   Also, if the functional specification of the verification target DUT does not have a degree of approximation higher than a predetermined level with any of the individual functional specifications in the various DUT specification libraries 26, a test item related to the functional specification is newly created and data is input. / Additional registration to the database unit 20 via the editing unit 10 is assumed.

本実施の形態では、検証要素抽出部30の動作例として、各テスト項目毎に、テスト項目抽出工程、テスト仕様抽出工程、検証モジュール抽出工程、テスト生成工程を実行して、次のテスト項目に移行する場合を説明しているが、これに限定されるものではなく、次のような方法が考えられる。   In this embodiment, as an operation example of the verification element extraction unit 30, a test item extraction process, a test specification extraction process, a verification module extraction process, and a test generation process are executed for each test item, and the next test item is obtained. Although the case of shifting is described, the present invention is not limited to this, and the following method is conceivable.

例えば、まず全テスト項目を抽出した後、全テスト項目分のテスト仕様抽出工程を実行した後に、全テスト項目分の検証モジュール抽出工程を実行し、更に全テスト項目分のテスト生成工程を行うようにする方法、或いは、所定のテスト項目をまとめて、テスト仕様抽出工程、検証モジュール抽出工程、テスト生成工程を実行する方法、等である。即ち、検証要素抽出部30の内部的な工程の進め方は様々な方法が考えられ、上記図3及び図5で説明した方法に限定されるものではないということは言うまでもない。   For example, after all test items are extracted, the test specification extraction process for all test items is executed, then the verification module extraction process for all test items is executed, and the test generation process for all test items is further performed Or a method for performing a test specification extracting step, a verification module extracting step, a test generating step, etc. by collecting predetermined test items. That is, it is needless to say that various methods can be used to proceed with the internal processes of the verification element extraction unit 30 and are not limited to the methods described with reference to FIGS.

次に、図5に示す機能検証システムのDUT、テストベンチ及びテスト群の具体例に基づいて、検証対象DUTの機能検証に必要となる、テスト項目群、テスト仕様、検証モジュール及びテスト群の抽出/生成の方法を具体例を挙げて説明する。   Next, based on the specific examples of the DUT, test bench, and test group of the function verification system shown in FIG. 5, extraction of test item group, test specification, verification module, and test group necessary for functional verification of the verification target DUT The method of generation will be described with a specific example.

図5は、機能検証システムのDUT61、テストベンチ63、テスト群44の詳細構成を示すブロック図である。   FIG. 5 is a block diagram showing detailed configurations of the DUT 61, the test bench 63, and the test group 44 of the function verification system.

図5において、DUT61には、バス602に接続されるバスアービタ601のみが示されているが、その他不図示の、バス602に接続される4つのバスマスタ、アドレスデコーダ、バスマルチプレクサ等も備えるものとする。テストベンチ63には、検証モジュール群として、バスマスタモデル1・201、バスマスタモデル2・202、バスマスタモデル3・203、バスマスタモデル4・204、バススレーブモデル205、バスモニタ206が示されているが、その他不図示の、DUTの他の構成要素の機能検証に必要な検証モジュールも備えるものとする。テスト群44には、バスアービタテスト501のみが示されているが、その他不図示の、DUTの他の構成要素の機能検証に必要なテストも備えるものとする。   In FIG. 5, only the bus arbiter 601 connected to the bus 602 is shown in the DUT 61, but other four masters connected to the bus 602, an address decoder, a bus multiplexer, and the like (not shown) are also provided. . The test bench 63 shows bus master models 1 and 201, bus master models 2 and 202, bus master models 3 and 203, bus master models 4 and 204, bus slave model 205, and bus monitor 206 as verification module groups. In addition, a verification module (not shown) necessary for functional verification of other components of the DUT is also provided. Although only the bus arbiter test 501 is shown in the test group 44, other tests (not shown) necessary for functional verification of other components of the DUT are also provided.

バスマスタモデル1・201〜4・204は、各々バス602のバスマスタとして機能する検証モジュールであり、バスアービタ601は、バス602上の4つのバスマスタモデル1・201〜4・204のバス権を調停する検証対象DUTである。バススレーブモデル205は、バスマスタモデル1・201〜4・204からライト/リード等のアクセスを受ける検証モジュールである。バス602の状態(信号のレベル、変化)、複数の信号の状態の時間関係は、バスモニタ206によりモニタされる。バスアービタテスト501は、テストベンチ63内の各検証モジュールに必要なデータを設定し、必要な出力データを収集し、論理シミュレータによるシミュレーションにおいてバスアービタ601の機能検証を実施するためのテストプログラムである。   Each of the bus master models 1, 201 to 4, and 204 is a verification module that functions as a bus master of the bus 602. The bus arbiter 601 is a verification module that arbitrates the bus rights of the four bus master models 1, 201 to 4, and 204 on the bus 602. The target DUT. The bus slave model 205 is a verification module that receives accesses such as write / read from the bus master models 1, 201 to 4, 204. The bus monitor 206 monitors the state of the bus 602 (signal level and change) and the time relationship between the plurality of signal states. The bus arbiter test 501 is a test program for setting necessary data for each verification module in the test bench 63, collecting necessary output data, and performing functional verification of the bus arbiter 601 in simulation by a logic simulator.

図6は、検証対象のアービタのDUT仕様と各種論理回路のDUT仕様ライブラリの例を示す図である。   FIG. 6 is a diagram illustrating an example of the DUT specification of the arbiter to be verified and the DUT specification library of various logic circuits.

図6において、例として、X_Bus_Arbiterの仕様の Spec.xxx_2 “only one grant signal is hot. i.e.g_k=1 & g_i=0(i≠k) when k is granted (k∈{0,1,2,3})”が示されている。テスト項目抽出部31により、検証対象DUT仕様21と各種DUT仕様ライブラリ26内の各機能仕様のデータ構造が解析され、所定の近似度以上となる機能仕様として、図6右側の、aaa_Bus_Arbiterの仕様の Spec.aaa_10 “only one grant signal is hot. i.e.g_k=1 & g_i=0(i≠k) when k is granted (k∈{0,1,2,3})”及びSpec.aaa_1 “supports master_Ii(0≦i≦k)”を抽出した例が示されている。   In FIG. 6, Spec.xxx_2 “only one grant signal is hot. Ieg_k = 1 & g_i = 0 (i ≠ k) when k is granted (k∈ {0,1,2,3 })"It is shown. The test item extraction unit 31 analyzes the data structure of each functional specification in the DUT specification 21 to be verified and the various DUT specification libraries 26. As a functional specification having a predetermined approximation degree or more, the aaa_Bus_Arbiter specification on the right side of FIG. Spec.aaa_10 “only one grant signal is hot. Ieg_k = 1 & g_i = 0 (i ≠ k) when k is granted (k∈ {0,1,2,3})” and Spec.aaa_1 “supports master_Ii ( An example in which “0 ≦ i ≦ k)” is extracted is shown.

図7は、DUT仕様ライブラリとテスト項目ライブラリの例を示す図である。   FIG. 7 is a diagram illustrating an example of a DUT specification library and a test item library.

図7において、上記テスト項目抽出部31により抽出された機能仕様に対して、DUT仕様とテスト項目の対応情報28により対応しているDUTテスト項目を抽出した例を示したものであり、機能仕様の番号とテスト項目の番号が対応するようになっている。本実施の形態では、テスト項目aaaがピックアップされ、テスト項目aaaに着目して、以下のテスト仕様生成、検証モジュール抽出、テスト群抽出の説明を行うものとする。   FIG. 7 shows an example in which a DUT test item corresponding to the functional specification extracted by the test item extraction unit 31 is extracted by the correspondence information 28 between the DUT specification and the test item. Number and test item number correspond to each other. In the present embodiment, the test item aaa is picked up, and the following test specification generation, verification module extraction, and test group extraction will be described focusing on the test item aaa.

テスト項目aaaにおいて、その概要”check if only one grant signal is hot. i.e. g_k=1 & g_i=0(i≠k) when k is granted)”は、同時には1つのgrant信号のみ1(許可)となることをチェックするというものである。また、関連モジュールとしては、bus_master_model、bus_slave_model、bus_monitorが挙げられている。   In the test item aaa, the summary “check if only one grant signal is hot. Ie g_k = 1 & g_i = 0 (i ≠ k) when k is granted)” means that only one grant signal is 1 (permission) at the same time. It is to check that it becomes. As related modules, bus_master_model, bus_slave_model, and bus_monitor are listed.

図8は、上記図7に示すテスト項目に着目した場合に検証要素抽出部30の中で解析すべきDUT仕様の例を示す図である。   FIG. 8 is a diagram showing an example of the DUT specification to be analyzed in the verification element extraction unit 30 when focusing on the test items shown in FIG.

図8において、検証すべきテスト項目が定められると、検証要素抽出部30の中の、テスト仕様生成部32、検証モジュール群抽出部33、テスト群生成部34は、図示の直接該当するDUT仕様及び関連するDUT仕様をピックアップする。   In FIG. 8, when the test item to be verified is determined, the test specification generation unit 32, the verification module group extraction unit 33, and the test group generation unit 34 in the verification element extraction unit 30 directly correspond to the DUT specifications shown in the figure. And related DUT specifications.

直接該当するDUT仕様として、X_Bus_Arbiterの仕様の Spec.xxx_2 “only one grant signal is hot. i.e.g_k=1 & g_i=0(i≠k) when k is granted (k∈{0,1,2,3})”が示されている。また、関連するDUT仕様として、X_Bus_Arbiterの仕様のSpec.xxx_1 “support master0,master1,master2,master3.”と、X_Bus_Master0の仕様のSpec.yyy_1 “signal path=/system0/…/…/xbusarb0”とが示されている。   Spec.xxx_2 “only one grant signal is hot. Ieg_k = 1 & g_i = 0 (i ≠ k) when k is granted (k∈ {0,1,2,3) of X_Bus_Arbiter specification as directly applicable DUT specification })"It is shown. As related DUT specifications, Spec.xxx_1 “support master0, master1, master2, master3.” Of X_Bus_Arbiter specifications and Spec.yyy_1 “signal path = / system0 /… /… / xbusarb0” of X_Bus_Master0 specifications It is shown.

図9は、テスト項目群41からのテスト仕様の生成例を示す図である。   FIG. 9 is a diagram illustrating an example of generating test specifications from the test item group 41.

図9において、テスト仕様生成部32において、上記図7に示したテスト項目aaaに対して、上記図8に示した当該DUT仕様の制約条件を付加したテスト仕様が生成される。テスト項目aaaに対応する当該DUTに対するテスト仕様として、DUT仕様(X_Bus_Arbiterの仕様のSpec.xxx_1)に合わせてバスマスタの数が4に制約されていると共に、当該DUTのバスの種類(x_busを使用)に合わせて、関連モジュールがx_busのマスタモデルx_bus_master_model、スレーブモデルx_bus_slave_model、モニタx_bus_monitorに制約されている。   In FIG. 9, the test specification generating unit 32 generates a test specification in which the constraint condition of the DUT specification shown in FIG. 8 is added to the test item aaa shown in FIG. As a test specification for the DUT corresponding to the test item aaa, the number of bus masters is limited to 4 according to the DUT specification (Spec.xxx_1 of the specification of X_Bus_Arbiter), and the bus type of the DUT (using x_bus) Accordingly, related modules are restricted to the master model x_bus_master_model, slave model x_bus_slave_model, and monitor x_bus_monitor of x_bus.

また、テスト項目aaa「バスアービタは同時には1つのgrant信号のみ1(許可)とすることをチェックする」に対するテスト仕様の詳細として、テストステップ” 1.Issue write access from all x_bus_master_model to x_bus_slave_model0 concurrently with ramdom delay. 2.Check if only one grant signal is hot by x_bus_monitor.”が示されている。   Also, as test specification details for test item aaa “Check that bus arbiter is set to 1 (permitted) only one grant signal at the same time”, test step “1. Issue write access from all x_bus_master_model to x_bus_slave_model0 simultaneously with ramdom delay 2. Check if only one grant signal is hot by x_bus_monitor. ”Is shown.

図10は、検証ライブラリ24からの検証モジュール群43の抽出例を示す図である。   FIG. 10 is a diagram illustrating an example of extracting the verification module group 43 from the verification library 24.

図10において、検証ライブラリ24には、x_bus以外にもa_busに関連する検証モジュールが含まれているものとする。検証モジュール群抽出部33において、検証ライブラリ24より、テスト項目aaaの検証に必要な検証モジュール群として、x_bus_master_model、x_bus_slave_model、x_bus_monitorが抽出される。   In FIG. 10, the verification library 24 includes a verification module related to a_bus in addition to x_bus. The verification module group extraction unit 33 extracts x_bus_master_model, x_bus_slave_model, and x_bus_monitor from the verification library 24 as verification module groups necessary for verification of the test item aaa.

図11は、テストテンプレート群25からのテスト群44の生成例を示す図である。   FIG. 11 is a diagram illustrating a generation example of the test group 44 from the test template group 25.

図11において、テストテンプレートとして、テスト項目aaa「バスアービタは同時には1つのgrant信号のみ1(許可)とすることをチェックする」に対するテストのテンプレート” grant_signal_for_arbitration”が含まれている。本実施の形態では、当該テストは、検証専用言語を用いて記述されているものとし、0からn-1のn個のバスマスタモデルからバススレーブモデルに対してランダムな遅延を伴って、同時にアクセスを行うという内容が記載されている。   In FIG. 11, a test template “grant_signal_for_arbitration” is included as a test template for the test item aaa “the bus arbiter checks that only one grant signal is 1 (permitted) at the same time”. In this embodiment, it is assumed that the test is described using a verification-specific language, and n bus master models from 0 to n-1 simultaneously access the bus slave model with a random delay. The content of performing is described.

テスト群生成部34において、上記テストテンプレートより、当該テスト項目aaaの検証用のテストとして、当該DUT仕様及びテスト仕様の制約を付加したテストが生成される。具体的には、テスト名が”sys0_x_grant_signal_for_arbitration”に変更され、struct名、クロック名、各フィールド名に、例えば”clk”が”x_clk”と変更されているように、”x_”が付加され、同時アクセスする関数write()の呼び出し数がDUT仕様のマスタ数に応じてnから4に変更されている。   In the test group generation unit 34, a test to which the DUT specification and test specification constraints are added is generated from the test template as a test for verifying the test item aaa. Specifically, the test name is changed to “sys0_x_grant_signal_for_arbitration”, and “x_” is added to the struct name, clock name, and each field name, for example, “clk” is changed to “x_clk”. The number of calls to the function write () to be accessed is changed from n to 4 according to the number of masters of the DUT specification.

図12は、x_bus_moniorにおけるgrant信号チェック記述例を示す図である。   FIG. 12 is a diagram illustrating a grant signal check description example in x_bus_monior.

図12において、” x_bus_monitor”は、上記図9のテスト仕様に示した通り、テスト項目aaaに対する機能検証を実施するのに必要となる、”check if only one grant signal is hot”のチェック機能を記述した例である。本実施の形態では、接続されるマスタ数が仕様毎に異なるといった様々なDUT仕様に対応可能とするため、マスタ数を最大16個のマスタ数をサポートできるように記述されている。即ち、xgrantのbit数を16としている。   In FIG. 12, “x_bus_monitor” describes the check function of “check if only one grant signal is hot”, which is necessary for performing functional verification on the test item aaa, as shown in the test specification of FIG. This is an example. In the present embodiment, the master number is described so as to be able to support a maximum of 16 master numbers in order to be compatible with various DUT specifications in which the number of connected masters varies depending on the specifications. That is, the number of bits of xgrant is 16.

grant信号チェックの内容としては、16bitからなる信号xの各bitの値の算術和を計算する関数bitsum(x:int(bits:16))を用意し、あるマスタに対するgrantの発生時(これを “grant”というeventと定義)に、bitsum(xgrant)=1であることをチェックするようにしている。また、xgrantは、DUT仕様のX_Bus_Master0の仕様のSpec.yyy_1 “signal path=/system0/…/…/xbusarb0”に応じてDUTの信号をサンプルしたものである。   The contents of the grant signal check include the function bitsum (x: int (bits: 16)) that calculates the arithmetic sum of the values of each bit of the 16-bit signal x. Check that bitsum (xgrant) = 1 in the event “grant”. Further, xgrant is a sample of a DUT signal according to Spec.yyy_1 “signal path = / system0 /... / Xbusarb0” of the X_Bus_Master0 specification of the DUT specification.

そして、検証環境構築部50により、上記図10に示した抽出された検証モジュール群x_bus_master_model、x_bus_slave_model、x_bus_monitorは、上記図5に示したテストベンチ構成に従って、マスタモデルはx_bus_master_model0、x_bus_master_model1、x_bus_master_model2、x_bus_master_model3の4つがインスタンスされ、スレーブモデルは1つのx_bus_slave_model0がインスタンスされ、バスモニタは1つのx_bus_monitor0がインスタンスされて、DUTとのインタフェースとして生成されるベースH/W62と共にテストベンチ63を構築し、上記テストと共にシミュレータ環境に組込まれて、テスト項目aaaの機能検証のためのテストの実行が可能となる。   Then, the verification environment construction unit 50 extracts the verification module groups x_bus_master_model, x_bus_slave_model, and x_bus_monitor shown in FIG. 10 according to the test bench configuration shown in FIG. Four instances are instantiated, one x_bus_slave_model0 is instantiated for the slave model, one x_bus_monitor0 is instantiated for the bus monitor, and the test bench 63 is constructed with the base H / W 62 generated as an interface with the DUT, and the simulator is built with the above test Built into the environment, it is possible to execute a test for verifying the function of the test item aaa.

上記のようにして、検証対象DUT仕様21と検証資産である各種DUT仕様ライブラリ26とを比較して、所定の近似度以上の各種DUT仕様ライブラリ26内の個別のDUT仕様を抽出し、当該DUT仕様と対応するテスト項目を、各種DUT仕様ライブラリ26内の個別DUT仕様と、テスト項目ライブラリ22内の個別テスト項目との対応を示す対応情報28を参照することにより、必要なテスト項目を抽出することが可能となる。   As described above, the DUT specification 21 to be verified and the various DUT specification libraries 26 that are verification assets are compared to extract individual DUT specifications in the various DUT specification libraries 26 having a predetermined approximation degree or more, and the DUT specifications are extracted. The test items corresponding to the specifications are extracted by referring to the correspondence information 28 indicating the correspondence between the individual DUT specifications in the various DUT specification libraries 26 and the individual test items in the test item library 22. It becomes possible.

更に、検証資産であるテスト仕様ライブラリ27、検証ライブラリ24及びテストテンプレート群25を基にして、着目するテスト項目の機能検証を実施するためのテスト仕様を生成し、必要となる検証モジュール群を抽出し、必要となるテストを生成することが可能となる。   Furthermore, based on the test specification library 27, the verification library 24, and the test template group 25, which are verification assets, a test specification for performing functional verification of the target test item is generated, and necessary verification module groups are extracted. Then, it becomes possible to generate the necessary tests.

更に、DUT61と検証モジュール群43とテスト群44からなる検証環境60を構築することにより、当該テスト項目に対する機能検証を実行することが可能となる。   Furthermore, by constructing a verification environment 60 including the DUT 61, the verification module group 43, and the test group 44, it is possible to execute functional verification for the test item.

上述した本実施の形態の特徴をまとめると、テスト項目抽出部31は、検証対象DUT仕様21と各種DUT仕様ライブラリ26とを比較し、所定以上の近似度の機能仕様を抽出し、当該機能仕様に対応するテスト項目をテスト項目群41から抽出する。テスト仕様生成部32は、テスト項目群41の各テスト項目毎に、関連する検証対象DUT仕様21を解析してテスト仕様42を生成する。検証モジュール群抽出部33は、テスト項目、テスト仕様、DUT仕様、検証ライブラリを解析して当該DUTの機能検証に必要となる検証モジュール群43を抽出する。テスト群生成部34は、テスト項目、テスト仕様、DUT仕様、テストテンプレート群を解析して当該DUTの機能検証に必要となるテスト群44を生成する。   To summarize the features of the present embodiment described above, the test item extraction unit 31 compares the DUT specification 21 to be verified with various DUT specification libraries 26, extracts functional specifications having a degree of approximation equal to or higher than a predetermined value, and the functional specifications. Are extracted from the test item group 41. The test specification generation unit 32 generates a test specification 42 by analyzing the relevant verification target DUT specification 21 for each test item in the test item group 41. The verification module group extraction unit 33 analyzes a test item, a test specification, a DUT specification, and a verification library, and extracts a verification module group 43 necessary for functional verification of the DUT. The test group generation unit 34 analyzes test items, test specifications, DUT specifications, and test template groups, and generates a test group 44 necessary for functional verification of the DUT.

検証環境構築部50は、DUT61、検証対象DUTの検証に必要なベースH/W62と上記抽出した検証モジュール群43から構成されるテストベンチ63、テスト群44を組込んで検証環境60を構築する。カバレッジ解析部68は、テスト実行時に取得されたカバレッジを解析し、所定の条件を満足したか否かを判断し、テスト実行制御部67に解析結果を通知する。テスト実行制御部67は、カバレッジ解析部68の解析結果を受けて、所定のカバッレジ条件が満足されなかった場合は対応するテストを制約条件等を制御した上で実行する。   The verification environment construction unit 50 constructs a verification environment 60 by incorporating a test bench 63 and a test group 44 composed of the DUT 61, the base H / W 62 necessary for verification of the verification target DUT, and the extracted verification module group 43. . The coverage analysis unit 68 analyzes the coverage acquired at the time of test execution, determines whether or not a predetermined condition is satisfied, and notifies the test execution control unit 67 of the analysis result. The test execution control unit 67 receives the analysis result of the coverage analysis unit 68, and executes a corresponding test after controlling the constraint conditions and the like when a predetermined coverage condition is not satisfied.

上記制御により、実績のあるDUTの機能仕様の集合、テスト項目の集合、テスト仕様の集合、パラメタライズ化されたモデルやモニタ等の検証モジュール、テスト項目に対応したテストテンプレートを有効活用して、当該DUTの機能検証用のテスト項目、テスト仕様、テストを高品質かつ高効率に作成することが可能となる。また、カバレッジ解析を行って検証ゴール達成に向け必要十分なテストを実行することが可能となる。   With the above control, a set of proven functional specifications of DUT, a set of test items, a set of test specifications, verification modules such as parameterized models and monitors, and test templates corresponding to test items can be used effectively. Test items, test specifications, and tests for functional verification of the DUT can be created with high quality and high efficiency. It is also possible to perform necessary and sufficient tests to achieve the verification goal by performing coverage analysis.

以上説明したように、本実施の形態によれば、DUTの機能検証に関して、各種DUTの実績のある仕様と対応するテスト項目との最低2つの設計資産の存在を前提として、両設計資産の再利用を図り、有効活用する。これにより、DUTの機能検証用のテスト項目、テスト仕様、テストを高品質かつ高効率に作成可能とすることができ、検証工数削減、検証期間短縮、検証品質向上を同時に実現することができるという顕著な効果を奏する。更に、テスト実行に関しても、検証ゴール達成に向けて高品質化及び効率化を達成することができるという顕著な効果を奏する。   As described above, according to the present embodiment, regarding the functional verification of the DUT, it is assumed that there is a minimum of two design assets including specifications with various DUT results and corresponding test items. Make use and use it effectively. As a result, test items, test specifications, and tests for functional verification of DUT can be created with high quality and high efficiency, and verification man-hour reduction, verification period shortening, and verification quality improvement can be realized at the same time. Has a remarkable effect. Furthermore, with regard to test execution, there is a remarkable effect that high quality and efficiency can be achieved to achieve the verification goal.

[第2の実施の形態]
本発明の第2の実施の形態は、上述した第1の実施の形態がシミュレーションによる動的な機能検証を実行したことに対して、プロパティチェックによる静的な機能検証を実行する点と、機能検証システムの構成が図13に示す点において相違する。
[Second Embodiment]
In the second embodiment of the present invention, in contrast to the fact that the first embodiment described above performs dynamic function verification by simulation, static function verification by property check is performed, The configuration of the verification system is different in the point shown in FIG.

図13は、本実施の形態に係る機能検証システムの構成を示すブロック図である。   FIG. 13 is a block diagram showing the configuration of the function verification system according to the present embodiment.

図13において、機能検証システム100は、論理回路の機能検証を行うものであり、データ入力/編集部10、データベース部120、検証要素抽出部130、検証要素群140、検証環境構築部50、検証環境160から構成されている。   In FIG. 13, a function verification system 100 performs functional verification of a logic circuit, and includes a data input / editing unit 10, a database unit 120, a verification element extraction unit 130, a verification element group 140, a verification environment construction unit 50, and verification. It consists of an environment 160.

本実施の形態では、機能検証システム100の各構成要素は、ワークステーション或いはPC上において主記憶装置或いは補助記憶装置に保存され、中央演算処理装置の制御に基づき機能するものとする。また、本実施の形態では、プロパティチェックによる静的な機能検証を行うことを想定している。   In the present embodiment, each component of the function verification system 100 is stored in a main storage device or an auxiliary storage device on a workstation or PC and functions based on control of the central processing unit. In this embodiment, it is assumed that static function verification is performed by property check.

データベース部120は、検証対象DUT仕様21、テスト項目一覧17、プロパティ仕様ライブラリ18、プロパティライブラリ19、DUTライブラリ29の電子データを格納している。検証要素抽出部130は、テスト項目抽出部31、プロパティ仕様生成部35、プロパティ群生成部36から構成されている。検証要素群140は、テスト項目群41、プロパティ仕様45、プロパティ群46から構成されている。検証環境160は、プロパティ群46、DUT61、プロパティチェッカ66、カバレッジ解析部68、プロパティ実行部69から構成されている。   The database unit 120 stores electronic data of the verification target DUT specification 21, the test item list 17, the property specification library 18, the property library 19, and the DUT library 29. The verification element extraction unit 130 includes a test item extraction unit 31, a property specification generation unit 35, and a property group generation unit 36. The verification element group 140 includes a test item group 41, a property specification 45, and a property group 46. The verification environment 160 includes a property group 46, a DUT 61, a property checker 66, a coverage analysis unit 68, and a property execution unit 69.

本実施の形態のその他の要素(データ入力/編集部10、検証環境構築部50、その他同一符号を付した構成要素)は、上述した第1の実施の形態(図1)の対応するものと同一なので、説明を省略する。   Other elements of the present embodiment (the data input / editing unit 10, the verification environment construction unit 50, and other components having the same reference numerals) correspond to those of the above-described first embodiment (FIG. 1). Since it is the same, explanation is omitted.

テスト項目一覧17は、各種DUTの機能仕様に関して機能検証すべきテスト項目の一覧(集合)である。プロパティ仕様ライブラリ18は、DUTの機能仕様に関して機能検証するプロパティのプロパティ仕様のライブラリである。プロパティライブラリ19は、予め用意された各種プロパティ仕様に対するプロパティのテンプレート(DUTの機能仕様に関して機能検証するプロパティのテンプレート)のライブラリである。DUTライブラリ29は、下記のDUT61の情報を含むライブラリである。   The test item list 17 is a list (set) of test items whose functions should be verified with respect to the functional specifications of various DUTs. The property specification library 18 is a property specification library of properties whose functions are verified with respect to the functional specifications of the DUT. The property library 19 is a library of property templates (property templates for function verification regarding the functional specifications of the DUT) for various property specifications prepared in advance. The DUT library 29 is a library including information on the following DUT 61.

プロパティ仕様45は、当該DUTの機能検証に必要な各テスト項目毎にDUT仕様に基づく制約条件を考慮したプロパティ仕様が抽出されたものである。プロパティ群46は、当該DUTの機能検証に必要となるプロパティの集合である。   The property specification 45 is a property specification extracted in consideration of the constraint condition based on the DUT specification for each test item necessary for functional verification of the DUT. The property group 46 is a set of properties necessary for functional verification of the DUT.

プロパティ仕様生成部35は、当該DUTの機能検証として実施すべきテスト項目群の各テスト項目毎に、関連する検証対象DUT仕様21を解析して当該対応DUT仕様の制約条件を付加した各プロパティ仕様をプロパティ仕様ライブラリ18に基づき生成し、全テスト項目群に対応するプロパティ仕様群45を生成する。   The property specification generation unit 35 analyzes each verification target DUT specification 21 for each test item of the test item group to be implemented as functional verification of the DUT, and adds each constraint specification of the corresponding DUT specification. Is generated based on the property specification library 18, and a property specification group 45 corresponding to all test item groups is generated.

プロパティ群生成部36は、テスト項目群の各テスト項目毎にプロパティライブラリ19を解析して、対応するプロパティテンプレートを抽出し、関連する検証対象DUT仕様21とプロパティ仕様45を解析し、必要なパラメータ等の制約条件を当該プロパティテンプレートに追加し、当該DUTの機能検証として実施すべきプロパティを生成し、これを全てのテスト項目に対して実行し、テスト項目群に対応するプロパティ群46を生成する。   The property group generation unit 36 analyzes the property library 19 for each test item of the test item group, extracts a corresponding property template, analyzes the related verification target DUT specification 21 and the property specification 45, and necessary parameters. Are added to the property template, a property to be implemented as function verification of the DUT is generated, this is executed for all test items, and a property group 46 corresponding to the test item group is generated. .

検証環境構築部50は、上記の検証要素群40を組合せて下記の検証環境60を構築する。   The verification environment construction unit 50 constructs the following verification environment 60 by combining the verification element groups 40 described above.

検証環境60は、プロパティ群46、DUT61、プロパティチェッカ67、カバレッジ解析部68、プロパティ実行制御部69から構成されている。   The verification environment 60 includes a property group 46, a DUT 61, a property checker 67, a coverage analysis unit 68, and a property execution control unit 69.

プロパティチェッカ66は、ハードウエア記述言語等で機能記述されたハードウエアの機能を、プロパティ専用言語等で記述されたプロパティに基づいて正当性を静的に検証する静的検証ツールである。プロパティ実行制御部69は、検証環境60において、プロパティチェッカ66を起動してプロパティ群46の実行を司る。また、プロパティ実行制御部69は、下記のカバレッジ解析部68の解析結果を受けて、所定のカバッレジ条件が満足されなかった場合は対応するプロパティを制約条件等を制御した上で実行する。   The property checker 66 is a static verification tool that statically verifies the validity of hardware functions described in a hardware description language or the like based on properties described in a property-dedicated language or the like. The property execution control unit 69 activates the property checker 66 in the verification environment 60 and manages the execution of the property group 46. Also, the property execution control unit 69 receives the analysis result of the coverage analysis unit 68 described below, and executes the corresponding property after controlling the constraint condition and the like when a predetermined coverage condition is not satisfied.

カバレッジ解析部68は、プロパティ群46内の所定のプロパティ項目に関連して対応するプロパティに記述されたカバレッジ取得の機構によって、プロパティ実行時に取得されたカバレッジを解析し、所定の条件を満足したか否かを判断し、プロパティ実行制御部69に解析結果を通知する。   Whether the coverage analysis unit 68 analyzed the coverage acquired at the time of property execution by the coverage acquisition mechanism described in the corresponding property in relation to the predetermined property item in the property group 46, and satisfied the predetermined condition It is determined whether or not the property execution control unit 69 is notified of the analysis result.

以上説明したように、本実施の形態によれば、上述した第1の実施の形態と同様に、DUTの機能検証用のテスト項目、テスト仕様、テストを高品質かつ高効率に作成可能とすることができ、検証工数削減、検証期間短縮、検証品質向上を同時に実現することができ、検証ゴール達成に向けて高品質化及び効率化を達成することができるという顕著な効果を奏する。   As described above, according to this embodiment, it is possible to create test items, test specifications, and tests for DUT function verification with high quality and high efficiency, as in the first embodiment described above. It is possible to reduce the verification man-hours, shorten the verification period, and improve the verification quality at the same time, and achieve a remarkable effect that high quality and efficiency can be achieved to achieve the verification goal.

[他の実施の形態]
上記第1実施の形態では、各種DUT仕様ライブラリ26内の個別DUT仕様と、テスト項目ライブラリ22内の個別テスト項目との対応を示す対応情報28を用いたが、DUT仕様とテスト項目との対応に限定されるものではない。DUT仕様、テスト項目、テスト仕様、検証ライブラリ、テストテンプレートの全て或いは一部を対応情報としてデータベース部20に保持して、検証対象DUT仕様21と各種DUT仕様ライブラリ26内の個別DUT仕様とが所定以上の近似度となった場合、上記対応情報を基にして、当該DUT仕様に対応するテスト仕様、検証ライブラリ、テストテンプレートを決定しても良いことは言うまでもない。
[Other embodiments]
In the first embodiment, the correspondence information 28 indicating the correspondence between the individual DUT specifications in the various DUT specification libraries 26 and the individual test items in the test item library 22 is used, but the correspondence between the DUT specifications and the test items is used. It is not limited to. All or part of DUT specifications, test items, test specifications, verification libraries, and test templates are held in the database unit 20 as correspondence information, and the verification target DUT specifications 21 and individual DUT specifications in various DUT specification libraries 26 are predetermined. Needless to say, in the case of the above approximation, the test specification, verification library, and test template corresponding to the DUT specification may be determined based on the correspondence information.

また、上記第1の実施の形態では、上記説明した図5から図12のバスアービタのgrant信号に関する機能検証は一例であり、これに限定されるものではない。上記説明した検証要素抽出及び検証環境構築の方法は、他のDUT仕様、テスト項目に関しても適用可能であり、この例に限られたものではないことは言うまでもない。   Further, in the first embodiment, the functional verification related to the grant signal of the bus arbiter in FIGS. 5 to 12 described above is an example, and the present invention is not limited to this. It goes without saying that the verification element extraction and verification environment construction method described above can be applied to other DUT specifications and test items, and is not limited to this example.

また、上記第1の実施の形態では、テスト項目一覧の各項目の内容として項目識番号:名称、概要、関連モジュール名が記載されているものとし、また、これらの記載事項は、特定の識別子(例においては”#”)を付加されたキーワードで識別可能に記載されているものとするとしたが、これに限定されるものではない。テスト項目の記載の形式は上記に限らず、所定の細項目毎に表形式或いは所定タグを付加されたもの等、細項目毎の識別が可能であれば、他の形式であっても良いことは言うまでもない。   In the first embodiment, the item identification number: name, outline, and related module name are described as the contents of each item of the test item list. (In the example, “#”) is described so as to be identifiable by the added keyword, but is not limited to this. The test item description format is not limited to the above, and other formats may be used as long as identification is possible for each sub-item, such as a table format or a tag added to each sub-item. Needless to say.

また、上記第1の実施の形態では、テスト項目とテスト仕様は項目識別番号及び項目名称により対応付けをしていたが、これに限定されるものではない。項目毎の対応のさせ方は、上記に限らず、項目識別符号のみ或いは所定のキーワードやタグ等、識別可能であれば、他の形式であっても良いことは言うまでもない。   In the first embodiment, the test item and the test specification are associated by the item identification number and the item name. However, the present invention is not limited to this. The method of handling each item is not limited to the above, and it is needless to say that other formats may be used as long as the item identification code or a predetermined keyword or tag can be identified.

また、上記第1の実施の形態では、テスト項目とDUT仕様はキーワードにより関連付けを解析したが、これに限定されるものではない。両者の関連性の解析は、上記に限らず、識別符号のみ或いは所定のタグ等、識別可能であれば、他の形式であっても良いことは言うまでもない。   In the first embodiment, the association between the test item and the DUT specification is analyzed using a keyword. However, the present invention is not limited to this. The analysis of the relationship between the two is not limited to the above, and it is needless to say that other formats may be used as long as the identification code alone or a predetermined tag can be identified.

また、上記第1の実施の形態では、DUT仕様、テスト仕様等は細項目毎に自然言語に近い形式で記述したが、これに限定されるものではない。これらはUML(Unified Modeling Language)等の仕様記述言語により記述したものを解析するようにしても良いことは言うまでもない。   In the first embodiment, the DUT specification, test specification, and the like are described in a format close to a natural language for each fine item, but the present invention is not limited to this. Needless to say, those described in a specification description language such as UML (Unified Modeling Language) may be analyzed.

また、上記第1の実施の形態では、テスト仕様はピックアップされたテスト項目に当該DUT仕様の制約条件を付加して生成するものとしたが、これに限定されるものではない。予め用意されたテスト項目に対するテスト仕様のテンプレートに対して、当該DUT仕様の制約条件を付加して生成するようにしても良いことは言うまでもない。   In the first embodiment, the test specification is generated by adding the constraint condition of the DUT specification to the picked-up test item. However, the present invention is not limited to this. It goes without saying that a test specification template for a test item prepared in advance may be generated by adding a constraint condition of the DUT specification.

本発明は、上述した実施の形態の機能を実現するソフトウエアのプログラム(図3、図4のフローチャート)をコンピュータ又はCPUに供給し、そのコンピュータ又はCPUが該供給されたプログラムを読出して実行することによって、達成することができる。   The present invention supplies a software program (flowcharts in FIGS. 3 and 4) for realizing the functions of the above-described embodiments to a computer or CPU, and the computer or CPU reads and executes the supplied program. Can be achieved.

この場合、上記プログラムは、該プログラムを記録した記憶媒体から直接供給されるか、又はインターネット、商用ネットワーク、若しくはローカルエリアネットワーク等に接続される不図示の他のコンピュータやデータベース等からダウンロードすることにより供給される。   In this case, the program is directly supplied from a storage medium storing the program, or downloaded from another computer or database (not shown) connected to the Internet, a commercial network, a local area network, or the like. Supplied.

上記プログラムの形態は、オブジェクトコード、インタプリタにより実行されるプログラムコード、OS(オペレーティングシステム)に供給されるスクリプトデータ等の形態から成ってもよい。   The form of the program may be in the form of object code, program code executed by an interpreter, script data supplied to an OS (operating system), and the like.

また、本発明は、上述した実施の形態の機能を実現するソフトウエアのプログラムを記憶した記憶媒体をコンピュータ又はCPUに供給し、そのコンピュータ又はCPUが記憶媒体に記憶されたプログラムを読出して実行することによっても、達成することができる。   The present invention also supplies a computer or CPU with a storage medium storing a software program that implements the functions of the above-described embodiments, and the computer or CPU reads and executes the program stored in the storage medium. Can also be achieved.

この場合、記憶媒体から読出されたプログラムコード自体が上述した各実施の形態の機能を実現すると共に、そのプログラムコードを記憶した記憶媒体は本発明を構成する。   In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention.

プログラムコードを記憶する記憶媒体としては、例えば、ROM、RAM、NV−RAM、フロッピー(登録商標)ディスク、ハードディスク、光ディスク(登録商標)、光磁気ディスク、CD−ROM、MO、CD−R、CD−RW、DVD−ROM、DVD−RAM、DVD−RW、DVD+RW、磁気テープ、不揮発性のメモリカード等がある。   As a storage medium for storing the program code, for example, ROM, RAM, NV-RAM, floppy (registered trademark) disk, hard disk, optical disk (registered trademark), magneto-optical disk, CD-ROM, MO, CD-R, CD -RW, DVD-ROM, DVD-RAM, DVD-RW, DVD + RW, magnetic tape, nonvolatile memory card, etc.

上述した実施の形態の機能は、コンピュータから読出されたプログラムコードを実行することによるばかりでなく、コンピュータ上で稼動するOS等がプログラムコードの指示に基づいて実際の処理の一部又は全部を行うことによっても実現することができる。   The function of the above-described embodiment is not only by executing the program code read from the computer, but the OS or the like running on the computer performs part or all of the actual processing based on the instruction of the program code. Can also be realized.

更に、本発明は、前述した実施の形態を実現するソフトウエアのプログラムがネットワーク上のデータベース又はホームページから通信プログラムによりダウンロードされ、このプログラムを読出して実行することによって達成することができる。   Furthermore, the present invention can be achieved by downloading a software program for realizing the above-described embodiment from a database on a network or a homepage by a communication program, and reading and executing this program.

上記プログラムは、クライアントコンピュータのブラウザを用いてインターネットのホームページに接続し、該ホームページからコンピュータプログラム自体、又は自動インストール機能を含む圧縮ファイルをハードディスク等の記憶媒体にダウンロードすることによっても供給することができる。   The above program can also be supplied by connecting to a homepage on the Internet using a browser of a client computer and downloading the computer program itself or a compressed file including an automatic installation function from the homepage to a storage medium such as a hard disk. .

また、上記プログラムは、プログラムコードを暗号化した上で格納したCD−ROM等の記憶媒体をユーザに配布し、所定の条件をクリアしたユーザに対し、インターネットを介してホームページから暗号化を解く鍵情報をダウンロードさせ、その鍵情報を使用することにより暗号化されたプログラムコードを実行してコンピュータにインストールさせることによっても供給することができる。   The above program distributes a storage medium such as a CD-ROM stored after encrypting the program code to the user, and provides a key for decrypting the encryption from the homepage via the Internet to the user who has cleared a predetermined condition. It can also be provided by downloading the information and using the key information to execute the encrypted program code and install it on the computer.

上述した実施の形態の機能は、プログラムコードを複数のファイルに分割し、夫々のファイルを異なるホームページからダウンロードすることによっても実現することができる。即ち、本発明の機能処理をコンピュータで実現させるためのプログラムファイルを複数のユーザに対してダウンロードさせるWWWサーバも、本発明を構成する。   The functions of the embodiments described above can also be realized by dividing the program code into a plurality of files and downloading each file from a different home page. That is, a WWW server that allows a plurality of users to download a program file for realizing the functional processing of the present invention on a computer also constitutes the present invention.

また、上述した実施の形態の機能は、記憶媒体から読出されたプログラムが、コンピュータに挿入された機能拡張ボード又はコンピュータに接続された機能拡張ユニットに備えられたメモリに書込まれた後、そのプログラムの指示に基づき、その機能拡張ボード又は機能拡張ユニットに備えられたCPU又はMPU等が実際の処理の一部又は全部を実行することによっても実現することができる。   Further, the functions of the above-described embodiment are obtained by writing a program read from a storage medium into a function expansion board inserted in a computer or a memory provided in a function expansion unit connected to the computer, and It can also be realized by the CPU or MPU provided in the function expansion board or function expansion unit executing part or all of the actual processing based on the instructions of the program.

本発明の第1の実施の形態に係る機能検証システムの構成を示すブロック図である。It is a block diagram which shows the structure of the function verification system which concerns on the 1st Embodiment of this invention. 機能検証システムのデータベース部及びテスト項目抽出部の詳細構成を示すブロック図である。It is a block diagram which shows the detailed structure of the database part and test item extraction part of a function verification system. 機能検証システムの検証要素抽出部及び検証環境構築部の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the verification element extraction part and verification environment construction part of a function verification system. 図3のフローチャートの続きである。FIG. 4 is a continuation of the flowchart of FIG. 3. 機能検証システムのDUT、テストベンチ、テスト群の詳細構成を示すブロック図である。It is a block diagram which shows the detailed structure of DUT of a function verification system, a test bench, and a test group. 検証対象のアービタのDUT仕様と各種論理回路のDUT仕様ライブラリの例を示す図である。It is a figure which shows the example of the DUT specification of the arbiter to be verified, and the DUT specification library of various logic circuits. DUT仕様ライブラリとテスト項目ライブラリの例を示す図である。It is a figure which shows the example of a DUT specification library and a test item library. 図7に示すテスト項目に着目した場合に検証要素抽出部の中で解析すべきDUT仕様の例を示す図である。It is a figure which shows the example of the DUT specification which should be analyzed in a verification element extraction part, when paying attention to the test item shown in FIG. テスト項目群からのテスト仕様の生成例を示す図である。It is a figure which shows the example of a production | generation of the test specification from a test item group. 検証ライブラリからの検証モジュール群の抽出例を示す図である。It is a figure which shows the example of extraction of the verification module group from a verification library. テストテンプレートからのテスト群の生成例を示す図である。It is a figure which shows the example of the production | generation of the test group from a test template. x_bus_moniorにおけるgrant信号チェック記述例を示す図である。It is a figure which shows the grant signal check description example in x_bus_monior. 本発明の第2の実施の形態に係る機能検証システムの構成を示すブロック図である。It is a block diagram which shows the structure of the function verification system which concerns on the 2nd Embodiment of this invention.

符号の説明Explanation of symbols

1 機能検証システム(機能検証システムに対応)
20 データベース部(格納手段に対応)
30 検証要素抽出部
31 テスト項目抽出部(テスト項目抽出手段に対応)
32 テスト仕様生成部(テスト仕様生成手段に対応)
33 検証モジュール群抽出部(検証モジュール群抽出手段に対応)
34 テスト群生成部(テスト群生成手段に対応)
35 プロパティ仕様生成部(プロパティ仕様生成手段に対応)
36 プロパティ群生成部(プロパティ群生成手段に対応)
50 検証環境構築部(構築手段に対応)
60 検証環境
62 ベースH/W
67 テスト実行制御部(実行手段に対応)
68 カバレッジ解析部(カバレッジ解析手段に対応)
69 プロパティ実行制御部(実行手段に対応)
301 個別機能仕様抽出部(機能仕様抽出手段に対応)
302 データ構造解析部(解析手段に対応)
303 キーワード抽出部(キーワード抽出手段に対応)
304 近似度評価部(評価手段に対応)
305 類似仕様抽出部(類似仕様抽出手段に対応)
1 Functional verification system (supports functional verification system)
20 Database section (corresponding to storage means)
30 verification element extraction unit 31 test item extraction unit (corresponding to test item extraction means)
32 Test specification generator (corresponds to test specification generator)
33 Verification module group extraction unit (corresponding to verification module group extraction means)
34 Test group generation unit (corresponding to test group generation means)
35 Property specification generator (corresponds to property specification generator)
36 Property group generator (corresponds to property group generator)
50 Verification Environment Construction Department (corresponds to construction means)
60 Verification environment 62 Base H / W
67 Test execution control unit (corresponding to execution means)
68 Coverage analysis unit (corresponding to coverage analysis means)
69 Property execution control unit (corresponding to execution means)
301 Individual function specification extraction unit (corresponding to function specification extraction means)
302 Data structure analysis unit (corresponding to analysis means)
303 Keyword extraction unit (corresponds to keyword extraction means)
304 Approximation degree evaluation unit (corresponding to evaluation means)
305 Similar specification extraction unit (corresponding to similar specification extraction means)

Claims (18)

論理回路の機能検証を行う機能検証システムであって、
検証対象の論理回路の機能仕様と、各種論理回路の機能仕様の集合と、前記各種論理回路の機能仕様に関して機能検証すべきテスト項目の集合とを格納する格納手段と、
前記検証対象の論理回路の個々の機能仕様と、前記各種論理回路の機能仕様の集合における個々の機能仕様とを比較し、所定以上の近似度の機能仕様と該機能仕様に対応するテスト項目を抽出し、前記検証対象の論理回路の全機能仕様に関するテスト項目群を生成するテスト項目抽出手段とを備えることを特徴とする機能検証システム。
A functional verification system for performing functional verification of a logic circuit,
A storage means for storing a functional specification of a logic circuit to be verified, a set of functional specifications of various logic circuits, and a set of test items to be functionally verified with respect to the functional specifications of the various logic circuits;
The individual functional specifications of the logic circuit to be verified are compared with the individual functional specifications in the set of functional specifications of the various logic circuits, and the functional specifications having a predetermined degree of approximation or more and test items corresponding to the functional specifications A function verification system comprising: test item extraction means for extracting and generating test item groups related to all functional specifications of the logic circuit to be verified.
前記テスト項目抽出手段は、
論理回路の機能仕様のデータ構造を解析して個々の機能仕様を抽出する機能仕様抽出手段と、
前記抽出した論理回路の個々の機能仕様のデータ構造を解析する解析手段と、
前記解析した機能仕様のデータ構造の部分毎に機能仕様の特徴を示すキーワードを抽出するキーワード抽出手段と、
前記抽出したキーワードに関して近似度を評価する評価手段と、所定以上の近似度の機能仕様を抽出する類似仕様抽出手段とを備えることを特徴とする請求項1記載の機能検証システム。
The test item extraction means includes
Functional specification extraction means for analyzing the data structure of the functional specification of the logic circuit and extracting individual functional specifications;
Analyzing means for analyzing the data structure of each functional specification of the extracted logic circuit;
A keyword extracting means for extracting a keyword indicating a feature of the functional specification for each portion of the data structure of the analyzed functional specification;
The function verification system according to claim 1, further comprising: an evaluation unit that evaluates the degree of approximation with respect to the extracted keyword; and a similar specification extraction unit that extracts a functional specification having a predetermined degree of approximation or more.
前記テスト項目抽出手段は、所定以上の近似度の機能仕様が抽出できなかった機能仕様の情報を前記格納手段に登録することを特徴とする請求項2記載の機能検証システム。   3. The function verification system according to claim 2, wherein the test item extraction unit registers, in the storage unit, information on a functional specification for which a functional specification having a predetermined degree of approximation or more could not be extracted. 前記格納手段は、前記機能仕様とテスト項目との対応情報を更に格納し、
前記テスト項目抽出手段は、前記対応情報に基づき、前記抽出した機能仕様に対応するテスト項目を抽出することを特徴とする請求項1記載の機能検証システム。
The storage means further stores correspondence information between the functional specifications and test items,
The function verification system according to claim 1, wherein the test item extraction unit extracts a test item corresponding to the extracted functional specification based on the correspondence information.
前記格納手段は、前記論理回路の機能仕様に関して機能検証すべきテスト項目のテスト仕様の集合と、機能検証に必要な検証モジュールの集合と、前記テスト項目に対応するテストテンプレートの集合とを更に格納し、
前記テスト項目群、前記検証対象の論理回路の機能仕様を解析し、テスト仕様群を生成するテスト仕様生成手段と、
前記検証対象の論理回路の機能仕様、前記テスト項目群、前記テスト仕様群、前記検証モジュールの集合を解析し、前記検証対象の論理回路の機能検証に必要な検証モジュール群を抽出する検証モジュール群抽出手段と、
前記検証対象の論理回路の機能仕様、前記テスト項目群、前記テストテンプレートの集合を解析し、前記検証対象の論理回路の機能検証に必要なテスト群を生成するテスト群生成手段とを更に備えることを特徴とする請求項1記載の機能検証システム。
The storage means further stores a set of test specifications of test items to be functionally verified with respect to the functional specifications of the logic circuit, a set of verification modules necessary for functional verification, and a set of test templates corresponding to the test items. And
Analyzing the functional specifications of the test item group, the logic circuit to be verified, and generating a test specification group;
A verification module group for analyzing a functional specification of the logic circuit to be verified, the test item group, the test specification group, and a set of the verification modules, and extracting a verification module group necessary for functional verification of the logic circuit to be verified Extraction means;
Test group generation means for analyzing a functional specification of the logic circuit to be verified, the test item group, and a set of the test templates, and generating a test group necessary for functional verification of the logic circuit to be verified. The function verification system according to claim 1.
前記検証対象の論理回路の検証に必要なベースハードウエアに前記検証モジュール群を接続すると共に、前記検証モジュール群に前記検証対象の論理回路と前記テスト群を接続した検証環境を構築する構築手段を更に備えることを特徴とする請求項5記載の機能検証システム。   Construction means for constructing a verification environment in which the verification module group is connected to base hardware necessary for verification of the verification target logic circuit and the verification target logic circuit and the test group are connected to the verification module group. The function verification system according to claim 5, further comprising: 前記テスト仕様生成手段は、前記テスト項目に関連する前記検証対象の論理回路の仕様を解析し、前記論理回路の仕様の制約条件を付加したテスト仕様を生成することを特徴とする請求項5記載の機能検証システム。   6. The test specification generation unit analyzes a specification of the logic circuit to be verified related to the test item, and generates a test specification to which a constraint condition of the specification of the logic circuit is added. Functional verification system. 前記検証モジュール群抽出手段は、前記テスト項目に関連する前記検証対象の論理回路の仕様と前記テスト仕様を解析し、前記テスト項目に関する機能検証時にテスト側に実装すべき部分と前記検証モジュール側に実装すべき部分との切り分けを行い、必要な検証モジュールを前記格納手段から抽出し、必要に応じてテスト実行時に前記検証モジュールに設定すべきパラメータ情報を保持することを特徴とする請求項5記載の機能検証システム。   The verification module group extraction means analyzes the specification of the logic circuit to be verified and the test specification related to the test item, and installs the part to be installed on the test side and the verification module side during functional verification related to the test item. 6. The parameter information to be set in the verification module at the time of test execution is retained as needed by extracting the necessary verification module from the storage means and separating the portion from the portion to be mounted. Functional verification system. 前記テスト群生成手段は、前記格納手段のテストテンプレートの集合を解析して前記テスト項目に対応するテストテンプレートを抽出し、関連する前記検証対象の論理回路の仕様と前記テスト仕様と前記パラメータ情報を解析し、必要なパラメータを前記テストテンプレートに追加してテスト群を生成することを特徴とする請求項5又は8記載の機能検証システム。   The test group generation unit extracts a test template corresponding to the test item by analyzing a set of test templates in the storage unit, and relates the specification of the logic circuit to be verified, the test specification, and the parameter information. 9. The function verification system according to claim 5, wherein a test group is generated by analyzing and adding necessary parameters to the test template. 前記テスト群生成手段により生成したテスト群を実行する実行手段を更に備えることを特徴とする請求項5乃至9記載の機能検証システム。   10. The function verification system according to claim 5, further comprising execution means for executing the test group generated by the test group generation means. 前記実行手段により実行したテストの実行結果のカバレッジを解析するカバレッジ解析手段を更に備え、
前記テスト群生成手段は、所定のテスト項目に対してカバレッジを取得するテストを生成し、前記実行手段は、前記カバレッジ解析手段の解析結果に基づき、実行するテストを制御することを特徴とする請求項10記載の機能検証システム。
Coverage analysis means for analyzing coverage of an execution result of the test executed by the execution means,
The test group generation unit generates a test for acquiring coverage for a predetermined test item, and the execution unit controls a test to be executed based on an analysis result of the coverage analysis unit. Item 13. The function verification system according to Item 10.
論理回路の機能検証を行う機能検証システムであって、
検証対象の論理回路の機能仕様と、各種論理回路の機能仕様に関して機能検証すべきテスト項目の集合と、前記各種論理回路の機能仕様に関して機能検証するプロパティのプロパティ仕様の集合と、前記各種論理回路の機能仕様に関して機能検証するプロパティテンプレートの集合とを格納する格納手段と、
前記検証対象の論理回路の個々の機能仕様と、前記各種論理回路の機能仕様の集合における個々の機能仕様とを比較し、所定以上の近似度の機能仕様と該機能仕様に関わるテスト項目を抽出し、前記検証対象の論理回路の全機能仕様に関するテスト項目群を生成するテスト項目抽出手段と、
前記テスト項目群、前記検証対象の論理回路の機能仕様を解析し、プロパティ仕様群を生成するプロパティ仕様生成手段と、
前記検証対象の論理回路の機能仕様、前記テスト項目群、前記プロパティ仕様群、前記プロパティテンプレートの集合を解析し、前記検証対象の論理回路の機能検証に必要なプロパティ群を生成するプロパティ群生成手段とを備えることを特徴とする機能検証システム。
A functional verification system for performing functional verification of a logic circuit,
The functional specification of the logic circuit to be verified, the set of test items to be verified with respect to the functional specifications of the various logic circuits, the set of property specifications of the properties to be verified with respect to the functional specifications of the various logic circuits, and the various logic circuits Storage means for storing a set of property templates for functional verification with respect to the functional specifications of
Compares the individual functional specifications of the logic circuit to be verified with the individual functional specifications in the set of functional specifications of the various logic circuits, and extracts the functional specifications having a degree of approximation equal to or higher than the predetermined value and test items related to the functional specifications. Test item extraction means for generating a test item group related to all functional specifications of the logic circuit to be verified;
Analyzing the functional specifications of the test item group, the logic circuit to be verified, and generating a property specification group;
Property group generation means for analyzing a functional specification of the logic circuit to be verified, the test item group, the property specification group, and a set of the property templates, and generating a property group necessary for functional verification of the logic circuit to be verified A function verification system comprising:
前記プロパティ仕様生成手段は、前記テスト項目に関連する前記検証対象の論理回路の仕様を解析し、前記検証対象の論理回路の仕様の制約条件を付加したプロパティ仕様を生成することを特徴とする請求項12記載の機能検証システム。   The property specification generation means analyzes a specification of the logic circuit to be verified related to the test item, and generates a property specification to which a constraint condition of the specification of the logic circuit to be verified is added. Item 13. The function verification system according to item 12. 前記プロパティ群生成手段により生成したプロパティ群を実行する実行手段を更に備えることを特徴とする請求項12記載の機能検証システム。   13. The function verification system according to claim 12, further comprising execution means for executing the property group generated by the property group generation means. 検証対象の論理回路の機能仕様と、各種論理回路の機能仕様の集合と、前記各種論理回路の機能仕様に関して機能検証すべきテスト項目の集合とを格納した格納手段を備えた機能検証システムの制御方法であって、
前記検証対象の論理回路の個々の機能仕様と、前記各種論理回路の機能仕様の集合における個々の機能仕様とを比較し、所定以上の近似度の機能仕様と該機能仕様に対応するテスト項目を抽出し、前記検証対象の論理回路の全機能仕様に関するテスト項目群を生成することを特徴とする制御方法。
Control of a function verification system comprising a storage means for storing a functional specification of a logic circuit to be verified, a set of functional specifications of various logic circuits, and a set of test items to be verified with respect to the functional specifications of the various logic circuits A method,
The individual functional specifications of the logic circuit to be verified are compared with the individual functional specifications in the set of functional specifications of the various logic circuits, and the functional specifications having a predetermined degree of approximation or more and test items corresponding to the functional specifications A control method comprising: extracting and generating a test item group related to all functional specifications of the logic circuit to be verified.
検証対象の論理回路の機能仕様と、各種論理回路の機能仕様に関して機能検証すべきテスト項目の集合と、前記各種論理回路の機能仕様に関して機能検証するプロパティのプロパティ仕様の集合と、前記各種論理回路の機能仕様に関して機能検証するプロパティテンプレートの集合とを格納した格納手段を備えた機能検証システムの制御方法であって、
前記検証対象の論理回路の個々の機能仕様と、前記各種論理回路の機能仕様の集合における個々の機能仕様とを比較し、所定以上の近似度の機能仕様と該機能仕様に関わるテスト項目を抽出し、前記検証対象の論理回路の全機能仕様に関するテスト項目群を生成し、
前記テスト項目群、前記検証対象の論理回路の機能仕様を解析し、プロパティ仕様群を生成し、
前記検証対象の論理回路の機能仕様、前記テスト項目群、前記プロパティ仕様群、前記プロパティテンプレートの集合を解析し、前記検証対象の論理回路の機能検証に必要なプロパティ群を生成することを特徴とする制御方法。
The functional specification of the logic circuit to be verified, the set of test items to be verified with respect to the functional specifications of the various logic circuits, the set of property specifications of the properties to be verified with respect to the functional specifications of the various logic circuits, and the various logic circuits A function verification system control method comprising a storage means storing a set of property templates for function verification with respect to the functional specifications of
Compares the individual functional specifications of the logic circuit to be verified with the individual functional specifications in the set of functional specifications of the various logic circuits, and extracts the functional specifications having a degree of approximation equal to or higher than the predetermined value and test items related to the functional specifications. And generating a test item group related to all functional specifications of the logic circuit to be verified,
Analyzing the functional specifications of the test item group and the logic circuit to be verified, and generating a property specification group,
Analyzing a set of functional specifications of the logic circuit to be verified, the test item group, the property specification group, and the property template, and generating a property group necessary for functional verification of the logic circuit to be verified Control method to do.
検証対象の論理回路の機能仕様と、各種論理回路の機能仕様の集合と、前記各種論理回路の機能仕様に関して機能検証すべきテスト項目の集合とを格納した格納手段を備えた機能検証システムの制御方法をコンピュータに実行させるプログラムであって、
前記検証対象の論理回路の個々の機能仕様と、前記各種論理回路の機能仕様の集合における個々の機能仕様とを比較するモジュールと、
所定以上の近似度の機能仕様と該機能仕様に対応するテスト項目を抽出するモジュールと、
前記検証対象の論理回路の全機能仕様に関するテスト項目群を生成するモジュールとを備えることを特徴とするプログラム。
Control of a function verification system comprising a storage means for storing a functional specification of a logic circuit to be verified, a set of functional specifications of various logic circuits, and a set of test items to be verified with respect to the functional specifications of the various logic circuits A program for causing a computer to execute a method,
A module for comparing individual functional specifications of the logic circuit to be verified with individual functional specifications in the set of functional specifications of the various logic circuits;
A module that extracts a function specification having a degree of approximation equal to or greater than a predetermined value and a test item corresponding to the function specification;
And a module for generating a test item group relating to all functional specifications of the logic circuit to be verified.
検証対象の論理回路の機能仕様と、各種論理回路の機能仕様に関して機能検証すべきテスト項目の集合と、前記各種論理回路の機能仕様に関して機能検証するプロパティのプロパティ仕様の集合と、前記各種論理回路の機能仕様に関して機能検証するプロパティテンプレートの集合とを格納した格納手段を備えた機能検証システムの制御方法をコンピュータに実行させるプログラムであって、
前記検証対象の論理回路の個々の機能仕様と、前記各種論理回路の機能仕様の集合における個々の機能仕様とを比較し、所定以上の近似度の機能仕様と該機能仕様に関わるテスト項目を抽出し、前記検証対象の論理回路の全機能仕様に関するテスト項目群を生成するモジュールと、
前記テスト項目群、前記検証対象の論理回路の機能仕様を解析し、プロパティ仕様群を生成するモジュールと、
前記検証対象の論理回路の機能仕様、前記テスト項目群、前記プロパティ仕様群、前記プロパティテンプレートの集合を解析し、前記検証対象の論理回路の機能検証に必要なプロパティ群を生成するモジュールとを備えることを特徴とするプログラム。
The functional specification of the logic circuit to be verified, the set of test items to be verified with respect to the functional specifications of the various logic circuits, the set of property specifications of the properties to be verified with respect to the functional specifications of the various logic circuits, and the various logic circuits A program that causes a computer to execute a control method of a function verification system including a storage unit that stores a set of property templates for function verification with respect to the functional specifications of
Compares the individual functional specifications of the logic circuit to be verified with the individual functional specifications in the set of functional specifications of the various logic circuits, and extracts the functional specifications having a degree of approximation equal to or higher than the predetermined value and test items related to the functional specifications. A module for generating a test item group related to all functional specifications of the logic circuit to be verified;
A module that analyzes the functional specifications of the test item group, the logic circuit to be verified, and generates a property specification group;
A module that analyzes a functional specification of the logic circuit to be verified, the test item group, the property specification group, and a set of the property templates, and generates a property group necessary for functional verification of the logic circuit to be verified. A program characterized by that.
JP2004307250A 2004-10-21 2004-10-21 Functional verification system, control method, and program Pending JP2006119922A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004307250A JP2006119922A (en) 2004-10-21 2004-10-21 Functional verification system, control method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004307250A JP2006119922A (en) 2004-10-21 2004-10-21 Functional verification system, control method, and program

Publications (1)

Publication Number Publication Date
JP2006119922A true JP2006119922A (en) 2006-05-11

Family

ID=36537746

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004307250A Pending JP2006119922A (en) 2004-10-21 2004-10-21 Functional verification system, control method, and program

Country Status (1)

Country Link
JP (1) JP2006119922A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008210004A (en) * 2007-02-23 2008-09-11 Fujitsu Ltd Device, method and program for generating verification scenario, and verification device
JP2010157211A (en) * 2008-12-31 2010-07-15 Internatl Business Mach Corp <Ibm> Data processing system and method for monitoring black box web application security scan, and computer program
JP2011118757A (en) * 2009-12-04 2011-06-16 Fujitsu Ltd Verification support program and verification support device
WO2021164279A1 (en) * 2020-02-21 2021-08-26 上海御渡半导体科技有限公司 Semiconductor automatic test equipment for improving test flow efficiency, and testing method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008210004A (en) * 2007-02-23 2008-09-11 Fujitsu Ltd Device, method and program for generating verification scenario, and verification device
JP2010157211A (en) * 2008-12-31 2010-07-15 Internatl Business Mach Corp <Ibm> Data processing system and method for monitoring black box web application security scan, and computer program
JP2011118757A (en) * 2009-12-04 2011-06-16 Fujitsu Ltd Verification support program and verification support device
WO2021164279A1 (en) * 2020-02-21 2021-08-26 上海御渡半导体科技有限公司 Semiconductor automatic test equipment for improving test flow efficiency, and testing method

Similar Documents

Publication Publication Date Title
Reussner et al. Modeling and simulating software architectures: The Palladio approach
US7865853B2 (en) Systems, methods, and media for block-based assertion generation, qualification and analysis
US7100133B1 (en) Computer system and method to dynamically generate system on a chip description files and verification information
US20020157080A1 (en) Design method of a logic circuit
US6553514B1 (en) Digital circuit verification
JPH10232891A (en) Work group computing for electronic design automation
US20030009730A1 (en) Enhanced platform based SOC design including exended peripheral selection and automated IP customization facilitation
US8365112B2 (en) Verification apparatus and design verification program
US6895524B2 (en) Circuit reduction technique for improving clock net analysis performance
US8527254B2 (en) Simulator engine development system and simulator engine development method
US8249850B2 (en) Method and an apparatus for executing simulation for system performance evaluation
JP2006048525A (en) Simulation method
CN100483429C (en) Verification operation supporting system and method of the same
US7111275B2 (en) Electronic circuit design analysis system
US9633159B1 (en) Method and system for performing distributed timing signoff and optimization
US7949509B2 (en) Method and tool for generating simulation case for IC device
JP2006119922A (en) Functional verification system, control method, and program
US8875087B1 (en) Method and system for automated script generation for EDA tools
JP2005222371A (en) System and method for verifying function of logic circuit
US7971167B2 (en) Semiconductor design support device, semiconductor design support method, and manufacturing method for semiconductor integrated circuit
US6684372B2 (en) Method, system and computer product to translate electronic schematic files between computer aided design platforms
JP5000859B2 (en) Generation apparatus and program capable of causing computer to execute generation method
US20240037312A1 (en) Selective scan insertion for rapid scan design verification
JP5233354B2 (en) Property verification system, property verification method, and program
US20090192959A1 (en) Analysis supporting apparatus, analysis supporting method, and analysis supporting program

Legal Events

Date Code Title Description
RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20060419

RD05 Notification of revocation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7425

Effective date: 20070626