JP2012150723A - Design verification program, design verification device, and design verification method - Google Patents

Design verification program, design verification device, and design verification method Download PDF

Info

Publication number
JP2012150723A
JP2012150723A JP2011010133A JP2011010133A JP2012150723A JP 2012150723 A JP2012150723 A JP 2012150723A JP 2011010133 A JP2011010133 A JP 2011010133A JP 2011010133 A JP2011010133 A JP 2011010133A JP 2012150723 A JP2012150723 A JP 2012150723A
Authority
JP
Japan
Prior art keywords
assertion
request
test pattern
executed
consistency
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.)
Granted
Application number
JP2011010133A
Other languages
Japanese (ja)
Other versions
JP5625942B2 (en
Inventor
Hiroyuki Tanaka
啓之 田中
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.)
Fujitsu Semiconductor Ltd
Original Assignee
Fujitsu Semiconductor Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Semiconductor Ltd filed Critical Fujitsu Semiconductor Ltd
Priority to JP2011010133A priority Critical patent/JP5625942B2/en
Publication of JP2012150723A publication Critical patent/JP2012150723A/en
Application granted granted Critical
Publication of JP5625942B2 publication Critical patent/JP5625942B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To improve verification accuracy and reduce analysis man-hours in assertion-based verification.SOLUTION: In design verification processing for causing a computer to verify whether or not a result of logic simulation executed by a logic circuit described in a hardware description language complies with an assertion described as a design specification of the logic circuit, the computer executes: a test pattern generation step for generating a test pattern including at least one request; an expectation information generation step for, with respect to each generated request, generating expectation information where each request is associated with an assertion expected to be executed to each request; and a consistency determination step for, with respect to each generated request, determining consistency between the assertion executed to each request and the assertion in the expectation information set to each request.

Description

本発明は,ハードウェア記述言語で記述された論理回路の設計仕様の検証技術に関し,特に,アサーションベース検証により論理回路の設計仕様を検証するための設計検証プログラム,設計検証装置,設計検証方法に関する。   The present invention relates to a technique for verifying design specifications of a logic circuit described in a hardware description language, and more particularly to a design verification program, a design verification apparatus, and a design verification method for verifying the design specifications of a logic circuit by assertion-based verification. .

ハードウェア記述言語(HDL: Hardware Description Language)を用いた論理回路の設計では,作成したRTL(Resister Transfer Level)記述の論理シミュレーションによる設計仕様の検証が行われる。仕様検証は,検証回路の設計仕様を期待動作として,違反動作を監視するアサーションベース検証が広く利用されている。   In designing a logic circuit using a hardware description language (HDL), design specifications are verified by logic simulation of the created RTL (Resister Transfer Level) description. For the specification verification, assertion-based verification for monitoring the violation operation with the design specification of the verification circuit as the expected operation is widely used.

アサーションベース検証は,設計仕様に基づく回路動作をアサーション言語を用いて定義し,これに違反する動作が検出された場合にエラーを出力する機能(アサーション)による検証方式であり,試験パターンで設定された入力動作(要求)に対して,期待動作に対応する信号が出力されているかどうか判定し,アサーションの実行結果が期待動作に違反している場合は,エラーが出力される(例えば,特許文献1,2及び3)。   Assertion-based verification is a verification method that uses a function (assertion) to output an error when an operation that violates this is defined by using an assertion language to define circuit operations based on design specifications. It is determined whether a signal corresponding to the expected operation is output for the input operation (request). If the execution result of the assertion violates the expected operation, an error is output (for example, patent document) 1, 2, and 3).

特開2009−41922号公報JP 2009-41922 A 特開2008−158696号公報JP 2008-158696A 特開2005−108007号公報JP 2005-108007 A

アサーションのための試験パターンは,検証回路の規模や機能の増加に比例して膨大となるため,現状,ツールによる任意なパラメータ設定により,自動的に大量に生成され,この自動生成された膨大な試験パターンに対するアサーションが実行される。   Since the test patterns for assertion become enormous in proportion to the increase in the scale and function of the verification circuit, a large number of test patterns are automatically generated by any parameter setting by the tool. An assertion is performed on the test pattern.

しかしながら,従来,試験パターンの動作とアサーションの動作は,互いに関連づけが行われておらず,それぞれ独立に動作していた。このため,例えば,試験パターンによる検証回路の入出力動作でアサーションの判定が行われるため,試験パターンが期待する動作と,検証回路の入出力動作が一致しているか,などの整合性に関しての検証が十分に行うことができず,十分な検証精度が確保されていない。具体的には,試験パターンが期待する動作が,検証回路の入出力動作で欠落しても,アサーションの判定結果によりエラーを検出することができない。例えば,10回の試験パターンに対して,何らかのエラー原因により,1回の検証回路の出力動作が欠落し,アサーション判定結果により9回の正常判定が行われた場合,正常のみのアサーション判定結果からは,欠落に対するエラーを検出できない。また,何らかのエラー原因により,10回の試験パターンに対して,余分な検証回路の出力動作を含む11回のアサーション判定が行われ,全て正常判定が行われた場合も,正常のみのアサーション判定結果からは,余分は検証回路の出力に対するエラーを検出できない。   However, conventionally, the operation of the test pattern and the operation of the assertion are not associated with each other and operate independently. For this reason, for example, since the assertion is determined by the input / output operation of the verification circuit based on the test pattern, verification regarding consistency such as whether the operation expected by the test pattern matches the input / output operation of the verification circuit is performed. However, sufficient verification accuracy is not ensured. Specifically, even if the operation expected by the test pattern is lost in the input / output operation of the verification circuit, an error cannot be detected based on the assertion determination result. For example, for 10 test patterns, if the output operation of one verification circuit is missing due to some error cause, and 9 normal judgments are made based on the assertion judgment result, the normal only assertion judgment result Cannot detect errors for omissions. In addition, when there are 11 assertion judgments including the output operation of an extra verification circuit for 10 test patterns due to some error cause, and all normal judgments are made, the result of the assertion judgment only for normality From the above, no extra error can be detected for the output of the verification circuit.

また,自動生成された膨大な試験パターンのうち,エラーの発生箇所である一部の動作結果のみでエラーの解析が行われている。このため,エラー発生時の検証回路の状態を適切に把握することができず,エラー原因の特定に多くの解析工数を要し,作業効率の低下を招いている。特に,エラー原因とその影響によるエラー発生までに時間のずれが生じる場合では,解析工数がさらに増大する。   In addition, among a large number of automatically generated test patterns, errors are analyzed only with a part of the operation results that are the locations where errors occurred. For this reason, the state of the verification circuit when an error occurs cannot be properly grasped, and it takes a lot of analysis steps to identify the cause of the error, resulting in a decrease in work efficiency. In particular, if there is a time lag between the cause of the error and the occurrence of the error due to the error, the man-hours for analysis further increase.

そこで,本発明の目的は,アサーションベース検証において,検証精度を向上させ,さらに,解析作業工数を削減することができる設計検証プログラム,設計検証装置,設計検証方法を提供することにある。   Accordingly, an object of the present invention is to provide a design verification program, a design verification apparatus, and a design verification method capable of improving verification accuracy and reducing the number of analysis work steps in assertion-based verification.

上記目的を達成するための設計検証プログラム,設計検証装置,設計検証方法は,ハードウェア記述言語で記述された論理回路の論理シミュレーション実行結果が,前記論理回路の設計仕様として記述されたアサーションと一致するかコンピュータに検証させる設計検証処理において,コンピュータが,少なくとも一つの要求を含む試験パターンを生成する試験パターン生成工程と,生成された要求毎に,各要求に対して実行が期待されるアサーションとを関連付けた期待値情報を生成する期待値情報生成工程と,生成された要求毎に,各要求に対して実行されたアサーションと,期待値情報における各要求に対して実行が期待されるアサーションとの整合性を判定する整合性判定工程と,整合性の判定結果を出力する出力工程とを実行することを要件とする。   The design verification program, the design verification apparatus, and the design verification method for achieving the above object are such that the logic simulation execution result of the logic circuit described in the hardware description language matches the assertion described as the design specification of the logic circuit. In the design verification process in which the computer verifies, a test pattern generation process in which the computer generates a test pattern including at least one request, and an assertion expected to be executed for each request for each generated request An expected value information generation process for generating expected value information associated with the request, an assertion executed for each request for each generated request, and an assertion expected to be executed for each request in the expected value information The consistency determination process for determining the consistency of the output and the output process for outputting the consistency determination result It is required for the door.

さらに,上記目的を達成するための設計検証プログラム,設計検証装置,設計検証方法は,ハードウェア記述言語で記述された論理回路の論理シミュレーション実行結果が,前記論理回路の設計仕様として記述されたアサーションと適合するかコンピュータに検証させる設計検証処理において,コンピュータが,順序付けされた複数の要求を含む試験パターンを生成する試験パターン生成工程と,試験パターンにおける複数の要求の実行順序と,実際に実行された要求の実行順序との整合性を判定する整合性判定工程と,整合性の判定結果を出力する出力工程とを実行することを要件とする。   Furthermore, a design verification program, a design verification apparatus, and a design verification method for achieving the above-described object include an assertion in which a logic simulation execution result of a logic circuit described in a hardware description language is described as a design specification of the logic circuit. In the design verification process that allows the computer to verify whether it conforms to the test pattern generation process, the computer generates a test pattern including a plurality of ordered requests, and the execution order of the plurality of requests in the test pattern. It is a requirement to execute a consistency determination process for determining consistency with the execution order of the requested requests and an output process for outputting a consistency determination result.

開示の設計検証プログラム,設計検証装置,設計検証方法によれば,試験パターンの要求単位で,要求と関連付けてアサーションの実行を検証することができるため,アサーションベース検証において,検証精度を向上させ,さらに,解析作業工数を削減することができる。   According to the disclosed design verification program, design verification device, and design verification method, it is possible to verify the execution of an assertion in association with a request for each test pattern request. Therefore, in the assertion-based verification, the verification accuracy is improved. Furthermore, the number of analysis work steps can be reduced.

本実施の形態における設計検証装置の機能構成を示す図である。It is a figure which shows the function structure of the design verification apparatus in this Embodiment. 実施の形態における設計検証処理のフロー図である。It is a flowchart of the design verification process in embodiment. 実施の形態における設計検証装置のハードウェア構成例を示す図である。It is a figure which shows the hardware structural example of the design verification apparatus in embodiment. 試験パターン/アサーション連携部202によるアサーション期待値テーブルの生成を説明する図である。It is a figure explaining the production | generation of the assertion expectation value table by the test pattern / assertion cooperation part 202. FIG. シーケンス制御部203によるシーケンス動作テーブルの生成を説明する図である。It is a figure explaining the production | generation of the sequence operation | movement table by the sequence control part 203. FIG. 整合性判定部207による整合性判定処理を説明する図である。It is a figure explaining the consistency determination process by the consistency determination part. 整合性判定部207による整合性判定処理を説明する図である。It is a figure explaining the consistency determination process by the consistency determination part. 整合性判定部207による整合性判定処理を説明する図である。It is a figure explaining the consistency determination process by the consistency determination part. 整合性判定処理のシーケンス例を示す図である。It is a figure which shows the example of a sequence of a consistency determination process. 整合性判定処理のシーケンス例を示す図である。It is a figure which shows the example of a sequence of a consistency determination process.

図1は,本実施の形態における設計検証装置の機能構成を示す図であり,図2は,本実施の形態における設計検証処理のフロー図である。図1及び図2を参照して,本実施の形態の設計検証装置100における設計検証処理の概要について説明する。   FIG. 1 is a diagram illustrating a functional configuration of the design verification apparatus according to the present embodiment, and FIG. 2 is a flowchart of the design verification processing according to the present embodiment. With reference to FIG. 1 and FIG. 2, an outline of the design verification processing in the design verification apparatus 100 of the present embodiment will be described.

まず,オペレータにより,試験項目に応じた試験パターンの試験制約情報500(例えば,禁止動作であって,リード,ライトの発生順序,アドレス,データなどで定義する)が試験パターン生成部201に入力される(図2のS101)。試験パターン生成部201は,試験制約情報500の条件を満たす試験パターンを自動生成する(図2のS102)。生成された試験パターンは,試験パターン記憶部502に記憶され,さらに,試験パターン/アサーション連携部202及びシーケンス制御部203に通知される。   First, the operator inputs test constraint information 500 (for example, a prohibited operation, which is defined by read / write generation order, address, data, etc.) to the test pattern generation unit 201 according to the test item. (S101 in FIG. 2). The test pattern generation unit 201 automatically generates a test pattern that satisfies the conditions of the test constraint information 500 (S102 in FIG. 2). The generated test pattern is stored in the test pattern storage unit 502 and further notified to the test pattern / assertion link unit 202 and the sequence control unit 203.

また,オペレータ操作により,アサーションの制約情報501をあらかじめ生成し,試験パターン/アサーション連携部202に入力する。アサーションの制約情報501は,あらかじめ登録されている複数のアサーションそれぞれを識別するために付されたアサーションIDについて,そのアサーションを試験パターンの各要求に対して実行するかどうかの適用の有無(有効/無効)を有する情報である。アサーション制約情報501は,図4にて例示する。   In addition, by operating the operator, assertion constraint information 501 is generated in advance and input to the test pattern / assertion link unit 202. The assertion constraint information 501 indicates whether or not to apply the assertion to each request of the test pattern for the assertion ID assigned to identify each of a plurality of pre-registered assertions (valid / Information having (invalid). The assertion constraint information 501 is illustrated in FIG.

試験パターン/アサーション連携部202は,アサーション制約情報を用いて,生成された試験パターンと,アサーションとの関連付けを行い,生成された試験パターンの各要求に対して有効となるアサーションの定義(種類)と,試験パターンとアサーションの整合性を判定するための条件(要求単位の実行回数など)を含むアサーション期待値テーブルを生成する(図2のS103)。アサーション期待値テーブルは,図4にて例示する。   The test pattern / assertion linkage unit 202 associates the generated test pattern with the assertion using the assertion constraint information, and defines (types) the assertion that is valid for each request of the generated test pattern. And an assertion expectation value table including conditions (such as the number of executions of the request unit) for determining the consistency between the test pattern and the assertion is generated (S103 in FIG. 2). The assertion expectation value table is illustrated in FIG.

試験パターン/アサーション連携部202は,アサーション期待値テーブルを整合性判定部207に通知する。アサーション期待値テーブルについては後述する。試験パターンを構成する要求は,リード又はライトなどの単アクセス,又は特定の回路機能を実現するための複数の単アクセスのシーケンス(複アクセス)などを単位とする。   The test pattern / assertion cooperation unit 202 notifies the consistency determination unit 207 of the expected assertion value table. The expected assertion value table will be described later. Requests that make up a test pattern are based on single access such as read or write, or multiple single access sequences (multiple access) to realize a specific circuit function.

さらに,シーケンス制御部204は,生成された試験パターンの要求発行順序を含むシーケンス動作テーブルを生成し(図2のS104),要求の発行順序を監視する。シーケンス制御部204は,シーケンス動作テーブルを整合性判定部207に通知する。シーケンス動作テーブルは,図5にて例示する。   Further, the sequence control unit 204 generates a sequence operation table including the request issue order of the generated test patterns (S104 in FIG. 2), and monitors the request issue order. The sequence control unit 204 notifies the sequence determination table 207 of the sequence operation table. The sequence operation table is illustrated in FIG.

論理シミュレータ204は,試験パターン記憶部502に格納される試験パターン及びアサーション記憶部503に格納されるアサーションを用いて,検証回路504に対してアサーションを実行する(図2のS105)。   The logic simulator 204 executes an assertion on the verification circuit 504 using the test pattern stored in the test pattern storage unit 502 and the assertion stored in the assertion storage unit 503 (S105 in FIG. 2).

状態監視部205は,検証回路504の状態を監視する(図2のS106)。具体的には,状態監視部205は,試験パターンの要求が発生しているかどうか監視し,要求が発生すると,その発生した要求を整合性判定部207に通知する。さらには,状態監視部205は,実行されるアサーション及びその成立条件を監視し,実行されたアサーション及びその実行結果をアサーション判定部206及び整合性判定部207に通知する。   The state monitoring unit 205 monitors the state of the verification circuit 504 (S106 in FIG. 2). Specifically, the state monitoring unit 205 monitors whether or not a test pattern request is generated, and notifies the consistency determination unit 207 of the generated request when the request is generated. Furthermore, the state monitoring unit 205 monitors the assertion to be executed and the conditions for establishment thereof, and notifies the assertion determination unit 206 and the consistency determination unit 207 of the executed assertion and the execution result.

アサーション判定部206は,実行されたアサーション毎にその実行結果を判定し(図2のS107),アサーションの実行結果に対する判定(OK又はNG)をアサーション判定記憶部505に格納する。アサーション判定部206は,アサーションの実行結果に対する判定及びアサーションの実行回数を整合性判定部207に通知する。   The assertion determination unit 206 determines the execution result for each executed assertion (S107 in FIG. 2), and stores the determination (OK or NG) for the execution result of the assertion in the assertion determination storage unit 505. The assertion determination unit 206 notifies the consistency determination unit 207 of the determination on the execution result of the assertion and the number of executions of the assertion.

整合性判定部207は,アサーション期待値テーブルから得られる試験パターンに対して期待されるアサーション動作,及びシーケンス動作テーブルから得られる期待される試験パターン動作と,状態監視部205から通知される情報(発生した要求,実行されたアサーション及びその実行結果)と,アサーション判定部206から通知される判定情報,アサーションの実行回数情報とから得られる実際のアサーション動作及び試験パターン動作との比較に基づいて,アサーション動作の整合性判定,試験パターン動作の整合性判定を行う(図2のS108),さらに,整合性判定部207は,アサーション判定におけるNG判定(アサーションエラー)が発生した場合の該アサーションエラーに対応する試験パターンの要求の検出を行う。整合性判定部207は,整合性判定の結果及び検出結果を整合性判定記憶部506に格納する。   The consistency determination unit 207 includes the expected assertion operation for the test pattern obtained from the expected assertion value table, the expected test pattern operation obtained from the sequence operation table, and information notified from the state monitoring unit 205 ( Based on the comparison of the actual assertion operation and test pattern operation obtained from the generated request, the assertion executed and its execution result), the determination information notified from the assertion determination unit 206, and the execution frequency information of the assertion, The consistency determination of the assertion operation and the consistency determination of the test pattern operation are performed (S108 in FIG. 2). Further, the consistency determination unit 207 determines the assertion error when an NG determination (assertion error) occurs in the assertion determination. The request for the corresponding test pattern is detected. The consistency determination unit 207 stores the consistency determination result and the detection result in the consistency determination storage unit 506.

すべての試験パターンに対する上記設計検証処理が終了するまで,上記設計検証処理を繰り返す(図2のS109)。   The design verification process is repeated until the design verification process for all test patterns is completed (S109 in FIG. 2).

図3は,本実施の形態における設計検証装置のハードウェア構成例を示す図である。図3において,設計検証装置100は,CPU102,ROM104,RAM106,記憶媒体アクセス装置108,入力装置110及び出力装置112を備える。CPU102は,設計検証装置100の全体的な制御を行い,設計検証プログラムを実行する。ROM104は,設計検証プログラムなどの各種コンピュータプログラムを記憶している。RAM106は,CPU102のワークエリアとして使用されるメモリである。   FIG. 3 is a diagram illustrating a hardware configuration example of the design verification apparatus according to the present embodiment. 3, the design verification apparatus 100 includes a CPU 102, a ROM 104, a RAM 106, a storage medium access device 108, an input device 110, and an output device 112. The CPU 102 performs overall control of the design verification apparatus 100 and executes a design verification program. The ROM 104 stores various computer programs such as a design verification program. The RAM 106 is a memory used as a work area for the CPU 102.

記憶媒体アクセス装置108は,磁気ディスクドライブや光ディスクドライブなどであり,CPU102の制御に従って,磁気ディスクや光ディスクなどの記憶媒体109にアクセスして,データの読み出し及び書き込みを行う。入力装置110は,例えばキーボードやマウスなどであり,検証支援プログラムの実行に対する外部からの操作を可能とする。出力装置112は,例えばディスプレイやプリンタ装置であり,ディスプレイは設計検証プログラムの実行結果を表示し,プリンタ装置は,設計検証プログラムの実行結果を印刷出力する。各構成要素は,バス120を介して接続されている。また,ネットワークに接続して通信するための通信インターフェースなど他の機能要素を備えていてもよい。   The storage medium access device 108 is a magnetic disk drive, an optical disk drive, or the like, and reads and writes data by accessing the storage medium 109 such as a magnetic disk or an optical disk under the control of the CPU 102. The input device 110 is a keyboard or a mouse, for example, and enables an external operation for the execution of the verification support program. The output device 112 is, for example, a display or a printer device. The display displays the execution result of the design verification program, and the printer device prints out the execution result of the design verification program. Each component is connected via a bus 120. Moreover, you may provide other functional elements, such as a communication interface for connecting and communicating with a network.

図1に示された設計検証装置100の各機能部(試験パターン生成部201,試験パターン/アサーション連携部202,シーケンス制御部203,論理シミュレータ204,状態監視部205,アサーション判定部206,整合性判定部207)は,図3に示したROM104,RAM106,記憶媒体109などの記憶領域に記憶された設計検証プログラムとして提供され,CPU102が該設計検証プログラムを実行することにより,各機能部の機能が実現される。   Each function unit (test pattern generation unit 201, test pattern / assertion linkage unit 202, sequence control unit 203, logic simulator 204, state monitoring unit 205, assertion determination unit 206, consistency of the design verification apparatus 100 shown in FIG. The determination unit 207) is provided as a design verification program stored in a storage area such as the ROM 104, RAM 106, and storage medium 109 shown in FIG. 3, and the function of each functional unit is executed by the CPU 102 executing the design verification program. Is realized.

また,図1に示された設計検証装置100のデータ類記憶部(試験パターン記憶部502,アサーション記憶部503,検証回路記憶部504,アサーション判定記憶部505,整合性判定記憶部506)は,図3に示したROM104,RAM106,記憶媒体109などの記憶領域として提供され,CPU102による設計検証プログラムの実行に伴う該記憶領域へのアクセスにより,該記憶領域に対するデータ類の読み出し及び書き込みが行われる。   The data storage unit (the test pattern storage unit 502, the assertion storage unit 503, the verification circuit storage unit 504, the assertion determination storage unit 505, and the consistency determination storage unit 506) of the design verification apparatus 100 illustrated in FIG. Provided as storage areas such as the ROM 104, RAM 106, and storage medium 109 shown in FIG. 3, and the data is read from and written to the storage area when the CPU 102 accesses the storage area when the design verification program is executed. .

以下に,アサーション期待値テーブルの生成処理(S103),シーケンス動作テーブルの生成処理(S104),及び整合性判定処理(S108)について,さらに詳細に説明する。   The assertion expectation value table generation process (S103), the sequence operation table generation process (S104), and the consistency determination process (S108) will be described in more detail below.

図4は,試験パターン/アサーション連携部202によるアサーション期待値テーブルの生成を説明する図である。オペレータ操作により,アサーションの制約情報501があらかじめ生成し,試験パターン/アサーション連携部202に入力される。アサーションの制約情報は,あらかじめ登録されている複数のアサーションそれぞれを識別するために付されたアサーションIDについて,そのアサーションを試験パターンの各要求に対して実行するかどうかの適用の有無(有効/無効),及び,実行する場合(有効の場合)の実行回数を期待値として有する。例えば,図4のアサーション制約情報501において,アサーションID(A)〜(D)を有効とし,アサーションID(E)以降を無効と設定することで,複数のアサーションから,アサーションID(A)〜(D)のアサーションのみが実行される。登録されている複数のアサーションから,今回の検証に必要なアサーションのみを選択することができる。   FIG. 4 is a diagram for explaining generation of an expected assertion value table by the test pattern / assertion cooperation unit 202. By operator operation, assertion constraint information 501 is generated in advance and input to the test pattern / assertion link unit 202. The assertion constraint information is whether or not to apply the assertion to each request of the test pattern for the assertion ID given to identify each of a plurality of pre-registered assertions (valid / invalid) ) And the number of executions when it is executed (when it is valid) as an expected value. For example, in the assertion constraint information 501 in FIG. 4, by asserting the assertion IDs (A) to (D) and invalidating the assertion ID (E) and later, the assertion IDs (A) to (A) ( Only the assertion of D) is executed. Only the assertions necessary for the current verification can be selected from a plurality of registered assertions.

また,図4のアサーション制約情報600において,アサーションIDと要求との対応関係として設定される数値は,各要求の試験パターン動作を行う場合の,各アサーションが実行される回数である。例えば,アサーションID(A)と要求(1)との対応関係として期待値「1」が設定されているので,要求(1)の試験パターン動作を行う場合に,アサーションID(A)が実行される回数は1回である。同様に,アサーションID(B)と要求(3)との対応関係として期待値「2」が設定されているので,要求(3)の試験パターン動作を行う場合に,アサーションID(B)が実行される回数は2回である。期待値「0」が設定される場合は,対応する要求の試験パターン動作を行う場合に,対応するアサーションIDのアサーションは実行されない。例えば,アサーションID(B)と要求(1)との対応関係として期待値「0」が設定されているので,アサーションID(B)は有効設定されていても,要求(1)の試験パターン動作に対しては,アサーションID(B)は実行されない。   Also, in the assertion constraint information 600 of FIG. 4, the numerical value set as the correspondence relationship between the assertion ID and the request is the number of times each assertion is executed when the test pattern operation of each request is performed. For example, since the expected value “1” is set as the correspondence between the assertion ID (A) and the request (1), the assertion ID (A) is executed when the test pattern operation of the request (1) is performed. Is performed once. Similarly, since the expected value “2” is set as the correspondence between the assertion ID (B) and the request (3), the assertion ID (B) is executed when the test pattern operation of the request (3) is performed. The number of times it is done is two times. When the expected value “0” is set, the assertion of the corresponding assertion ID is not executed when the test pattern operation of the corresponding request is performed. For example, since the expected value “0” is set as the correspondence relationship between the assertion ID (B) and the request (1), even if the assertion ID (B) is set valid, the test pattern operation of the request (1) For, the assertion ID (B) is not executed.

試験パターン/アサーション連携部202は,試験パターン生成部201により生成された試験パターンを受け付け,アサーション制約情報501から,有効設定されているアサーションIDについて,試験パターン生成部201により生成された試験パターンの要求に対応する各アサーションIDの設定値を抽出し,これを,アサーション期待値テーブル602とする。アサーション期待値テーブル602は,生成された試験パターンに対して,要求単位で,期待されるアサーションの実行回数が関連付けられたテーブルである。   The test pattern / assertion cooperation unit 202 receives the test pattern generated by the test pattern generation unit 201, and the test pattern generated by the test pattern generation unit 201 for the assertion ID that is set valid from the assertion constraint information 501. A set value of each assertion ID corresponding to the request is extracted, and this is used as an assertion expected value table 602. The expected assertion value table 602 is a table in which the expected number of assertions executed is associated with the generated test pattern in request units.

図5は,シーケンス制御部203によるシーケンス動作テーブルの生成を説明する図である。シーケンス制御部203は,試験パターン生成部201により生成された試験パターンを受け付ける。試験パターンの要求は,実行される順に順序づけられ,シーケンス制御部203は,実行順に要求を記録したシーケンス動作テーブル604を生成する。例えば,図5において,生成された試験パターンの要求の実行順序が,要求(1),要求(2),要求(1),要求(1)の順である場合は,シーケンス制御部203は,その実行順序に従って要求が並べられたシーケンス動作テーブル604を生成する。   FIG. 5 is a diagram for explaining generation of a sequence operation table by the sequence control unit 203. The sequence control unit 203 receives the test pattern generated by the test pattern generation unit 201. The test pattern requests are ordered in the execution order, and the sequence control unit 203 generates a sequence operation table 604 in which the requests are recorded in the execution order. For example, in FIG. 5, when the execution order of the generated test pattern requests is in the order of request (1), request (2), request (1), request (1), the sequence control unit 203 A sequence operation table 604 in which requests are arranged according to the execution order is generated.

なお,回路によっては,要求の実行順序の入れ替わりが許可されている場合がある。この場合は,試験パターンで設定された順序通りに要求が実行されないときにエラーとしないため,要求の実行順序に代わって,シーケンス制御部203は,試験パターンに含まれる各要求毎に実行回数を期待値として記録したシーケンス動作テーブル604を生成する。例えば,図5において,生成された試験パターンで実行される要求が,実行順に要求(1),要求(2),要求(1),要求(1)である場合,シーケンス制御部203は,要求(1)の実行回数3回,要求(2)の実行回数1回をシーケンス動作テーブルとして記録する。要求の実行順序の入れ替わりが許可されている場合は,シーケンス制御部203に対して,要求の実行回数を期待値とするための切替制約情報をあらかじめ定義する。   Note that, depending on the circuit, switching of the execution order of requests may be permitted. In this case, since an error does not occur when requests are not executed in the order set in the test pattern, the sequence control unit 203 sets the number of executions for each request included in the test pattern instead of the execution order of the requests. A sequence operation table 604 recorded as an expected value is generated. For example, in FIG. 5, when the requests executed in the generated test pattern are request (1), request (2), request (1), request (1) in the execution order, the sequence control unit 203 Record the number of executions of (1) three times and the number of executions of request (2) once as a sequence operation table. When switching of the execution order of requests is permitted, switching constraint information for defining the number of executions of the request as an expected value is defined in advance for the sequence control unit 203.

図6乃至図8は,整合性判定部207による整合性判定処理を説明する図である。図6において,整合性判定部207は,試験パターン/アサーション連携部202よりアサーション期待値テーブル602を受領し,アサーション期待値テーブル602で期待されるアサーションと,実際に実行されるアサーションとの整合性(一致/不一致)を判定する。例えば,整合性判定部207は,状態監視部205から通知される情報(発生した要求,実行されたアサーション及びその実行結果)と,アサーション判定部206から通知される判定情報とから得られる実際のアサーション動作及び試験パターンの情報を取得する。そして,整合性判定部207は,実際に実行された要求に対して実際に実行されたアサーションと,アサーション期待値テーブル602で設定されている要求に対するアサーションIDの実行回数(設定値)とを比較し,一致しているかどうか判定する。例えば,図6に例示されるように,要求(1)の実行において,アサーションID(A)が2回実行された場合,又は,要求(2)の実行において,アサーションID(D)が実行されなかった場合に,整合性判定部207は,アサーション期待値テーブル602の設定値との不一致を検出する。整合性判定部207は,不一致を検出すると,エラー(NG)出力する。   6 to 8 are diagrams for explaining consistency determination processing by the consistency determination unit 207. FIG. In FIG. 6, the consistency determination unit 207 receives the assertion expectation value table 602 from the test pattern / assertion cooperation unit 202, and the consistency between the assertion expected in the assertion expectation value table 602 and the actually executed assertion. (Match / mismatch) is determined. For example, the consistency determination unit 207 receives the actual information obtained from the information notified from the state monitoring unit 205 (the generated request, the executed assertion, and the execution result) and the determination information notified from the assertion determination unit 206. Get information about assertion operations and test patterns. The consistency determination unit 207 compares the actually executed assertion with respect to the actually executed request and the number of executions (set value) of the assertion ID for the request set in the expected assertion value table 602. And determine whether they match. For example, as illustrated in FIG. 6, when the assertion ID (A) is executed twice in the execution of the request (1), or the assertion ID (D) is executed in the execution of the request (2). If not, the consistency determination unit 207 detects a mismatch with the set value of the expected assertion value table 602. When the consistency determination unit 207 detects a mismatch, it outputs an error (NG).

図7において,整合性判定部207は,シーケンス制御部203よりシーケンス動作テーブル604を受領し,シーケンス動作テーブル604で期待される要求の実行順序と,実際に実行される要求の実行順序との整合性を判定する。例えば,整合性判定部207は,要求が発生する毎に,状態監視部205から,実際に発生した要求の情報を取得し,その実際に発生した要求と,シーケンス動作テーブル604に記録されている要求の実行順序とを比較し,整合性を判定する。例えば,図7において,シーケンス動作テーブル604において,要求の実行順序が,最初に要求(1)が実行され,その次に要求(2)が実行されるものと期待される場合において,実際に実行された要求は,最初に要求(1)が実行され,その次に再度要求(1)が実行されたような場合,整合性判定部207は,シーケンス動作テーブル604に記録された実行順序との不一致を検出する。整合性判定部207は,不一致を検出すると,エラー(NG)出力する。   In FIG. 7, the consistency determination unit 207 receives the sequence operation table 604 from the sequence control unit 203, and matches the execution order of requests expected in the sequence operation table 604 with the execution order of requests actually executed. Determine sex. For example, each time a request is generated, the consistency determination unit 207 acquires information on the request that has actually occurred from the state monitoring unit 205 and records the request that has actually occurred and the sequence operation table 604. Compare the execution order of the requests to determine consistency. For example, in FIG. 7, in the sequence operation table 604, the execution order of requests is actually executed when the request (1) is expected to be executed first and then the request (2) is expected to be executed next. When the request (1) is executed first and then the request (1) is executed again after that, the consistency determination unit 207 determines that the execution order recorded in the sequence operation table 604 is the same as the execution order. Detect mismatches. When the consistency determination unit 207 detects a mismatch, it outputs an error (NG).

また,シーケンス動作テーブル604が,実行順序に代わって,要求毎の実行回数を記録している場合,整合性判定部207は,要求毎に,期待される実行回数と,実際の実行回数とを比較し,整合性(一致/不一致)を判定する。図7に示される例では,要求(1)について,期待される実行回数が3回であるのに対して,実際の実行回数が2回であったため,整合性判定部207は不一致を検出する。   When the sequence operation table 604 records the number of executions for each request instead of the execution order, the consistency determination unit 207 obtains the expected number of executions and the actual number of executions for each request. Compare and judge consistency (match / mismatch). In the example shown in FIG. 7, for the request (1), the expected number of executions is 3, whereas the actual number of executions is 2. Therefore, the consistency determination unit 207 detects a mismatch. .

図8において,整合性判定部207は,アサーション判定部206からの判定情報として,アサーションエラー(NG)の発生通知を受けると,そのアサーションエラーに対応するアサーションが実行時の要求を検出する。具体的には,整合性判定部207は,アサーションエラーが試験パターンのどの要求実行時に発生したかを判定する。整合性判定部207は,アサーション判定部206からアサーションの実行回数情報を取得し,状態監視部205から実行される要求の情報を順次取得し,それらの情報からアサーションエラー発生時に実行されている要求を特定する。図8の例では,整合性判定部207は,アサーションID(A)の実行に対するアサーションエラー発生時に実行されていた要求は,最初の要求(1)の次に実行された2回目の要求(1)であることを特定する。これにより,アサーションエラー発生時の検証回路の状態を,要求単位で特定することができる。   In FIG. 8, when the consistency determination unit 207 receives an assertion error (NG) occurrence notification as determination information from the assertion determination unit 206, the assertion corresponding to the assertion error detects a request at the time of execution. Specifically, the consistency determination unit 207 determines at which request execution time of the test pattern the assertion error occurred. The consistency determination unit 207 acquires information on the number of executions of the assertion from the assertion determination unit 206, sequentially acquires information on requests executed from the state monitoring unit 205, and requests that are executed when an assertion error occurs from the information Is identified. In the example of FIG. 8, the consistency determination unit 207 determines that the request executed when the assertion error occurs for the execution of the assertion ID (A) is the second request (1) executed after the first request (1). ). Thereby, the state of the verification circuit when the assertion error occurs can be specified on a request basis.

図9及び図10は,整合性判定処理のシーケンス例を示す図である。図9では,試験パターンとして,最初に要求(1)が実行され,その次に要求(2)が実行される。また,アサーション期待値テーブル600に設定された期待動作として,1回のアサーションID(A)のアサーションが要求(1)で実行され,それぞれ1回ずつのアサーションID(B),(C),(D)のアサーションが要求(2)で実行されることが期待されるものとする。論理シミュレータ204は,要求(1)により検証回路504に対してアサーションを実行する。状態監視部205は,要求(1)の実行を整合性判定部207に通知する。アサーション判定部206は,アサーションの実行結果を整合性判定部207に通知するが,このとき,アサーション判定部206は,要求(1)の有効範囲(有効期間)中に,2回のアサーションID(A)の実行結果を通知する。整合性判定部207は,要求(1)の有効期間中に実行された2回目のアサーションID(A)のアサーションの実行が,期待動作と不一致である旨判定し,エラー(NG)出力する。さらに,アサーション判定部206は,要求(2)の有効範囲(有効期間)中に,それぞれ1回ずつのアサーションID(B),(C)の実行結果を通知するが,アサーションID(D)の実行結果を通知しなかった場合,整合性判定部207は,要求(2)の有効期間中にアサーションID(D)が実行されなかったと判断し,期待動作と不一致である旨判定し,エラー出力する。   9 and 10 are diagrams illustrating a sequence example of consistency determination processing. In FIG. 9, request (1) is executed first as a test pattern, and then request (2) is executed. In addition, as the expected operation set in the assertion expectation value table 600, one assertion ID (A) is asserted with the request (1), and each assertion ID (B), (C), ( Assume that the assertion in D) is expected to be executed in request (2). The logic simulator 204 executes an assertion on the verification circuit 504 according to the request (1). The state monitoring unit 205 notifies the consistency determination unit 207 of execution of the request (1). The assertion determination unit 206 notifies the consistency determination unit 207 of the execution result of the assertion. At this time, the assertion determination unit 206 performs two assertion IDs (in the effective range (valid period) of the request (1). The execution result of A) is notified. The consistency determination unit 207 determines that the execution of the assertion of the second assertion ID (A) executed during the validity period of the request (1) does not match the expected operation, and outputs an error (NG). Furthermore, the assertion determination unit 206 notifies the execution results of the assertion IDs (B) and (C) once each during the valid range (valid period) of the request (2), but the assertion ID (D) If the execution result is not notified, the consistency determination unit 207 determines that the assertion ID (D) has not been executed during the validity period of the request (2), determines that it does not match the expected operation, and outputs an error. To do.

図10では,図9と同様に,試験パターンとして,最初に要求(1)が実行され,その次に要求(2)が実行される。また,アサーション期待値テーブル600に設定された期待動作として,1回のアサーションID(A)のアサーションが要求(1)で実行され,それぞれ1回ずつのアサーションID(B),(C),(D)のアサーションが要求(2)で実行されることが期待されるものとする。論理シミュレータ204は,要求(1)により検証回路504に対してアサーションを実行する。状態監視部205は,要求(1)の実行を整合性判定部207に通知する。アサーション判定部206は,アサーションの実行結果を整合性判定部207に通知するが,このとき,アサーション判定部206は,要求(1)の有効期間中に,1回のアサーションID(A)の実行結果に加えて,1回のアサーションID(E)の実行結果を通知する。整合性判定部207は,要求(1)の有効期間中に実行されたアサーションID(E)のアサーションの実行が,期待動作と不一致である旨判定し,エラー出力する。さらに,アサーション判定部206は,要求(2)の有効期間中に,それぞれ1回ずつのアサーションID(B),(C)の実行結果を通知し,さらに次の要求の有効期間中に,アサーションID(D)の実行結果を通知する。整合性判定部207は,アサーションID(D)の実行結果を受領するものの,要求(2)の有効期間中に受領しないため,要求(2)の有効期間中にアサーションID(D)が実行されなかったと判断し,期待動作と不一致である旨判定し,エラー出力する。   In FIG. 10, as in FIG. 9, the request (1) is first executed as the test pattern, and then the request (2) is executed. In addition, as the expected operation set in the assertion expectation value table 600, one assertion ID (A) is asserted with the request (1), and each assertion ID (B), (C), ( Assume that the assertion in D) is expected to be executed in request (2). The logic simulator 204 executes an assertion on the verification circuit 504 according to the request (1). The state monitoring unit 205 notifies the consistency determination unit 207 of execution of the request (1). The assertion determination unit 206 notifies the execution result of the assertion to the consistency determination unit 207. At this time, the assertion determination unit 206 executes the assertion ID (A) once during the validity period of the request (1). In addition to the result, the execution result of one assertion ID (E) is notified. The consistency determination unit 207 determines that the execution of the assertion of the assertion ID (E) executed during the validity period of the request (1) does not match the expected operation, and outputs an error. Further, the assertion determination unit 206 notifies the execution results of the assertion IDs (B) and (C) once each during the validity period of the request (2), and further asserts during the validity period of the next request. The execution result of ID (D) is notified. The consistency determination unit 207 receives the execution result of the assertion ID (D), but does not receive it during the validity period of the request (2), so the assertion ID (D) is executed during the validity period of the request (2). It is determined that there was no match, and it is determined that the expected operation does not match, and an error is output.

以上説明したように,本実施の形態例では,自動生成される試験パターンと,アサーションとの関連付けを行い,生成された試験パターンの各要求について,期待されるアサーション動作を含む期待値テーブルを生成する。そして,要求単位毎に,実際に実行されるアサーションの種類,実行回数及び実行タイミングを判定し,要求単位毎に,期待されるアサーション動作と実際に実行されるアサーション動作との一致/不一致を判定し,不一致の場合に,エラー出力する。さらに,生成された試験パターンの要求発行順序を期待値として,実際の要求発行順序との一致/不一致を判定し,不一致の場合にエラー出力する。これにより,試験パターンの要求単位で,要求と関連付けてアサーションの実行を検証することができるため,検証精度が向上し,アサーションエラーがどの要求に対応するものであるか容易に解析することができるようになる。   As described above, in this embodiment, an automatically generated test pattern is associated with an assertion, and an expected value table including an expected assertion operation is generated for each request of the generated test pattern. To do. Then, for each request unit, the type of assertion that is actually executed, the number of executions, and the execution timing are determined, and for each request unit, the match / mismatch between the expected assertion operation and the actually executed assertion operation is determined. If a mismatch occurs, an error is output. Furthermore, using the request issuance order of the generated test pattern as an expected value, a match / mismatch with the actual request issuance order is determined, and an error is output if there is a mismatch. As a result, it is possible to verify the execution of the assertion in association with the request in the request unit of the test pattern, thereby improving the verification accuracy and easily analyzing which request the assertion error corresponds to. It becomes like this.

本実施の形態における設計検証プログラムは,上述した設計検証処理をコンピュータ装置(パーソナルコンピュータやワークステーションを含む)に実行させるためのプログラムであり,本実施の形態における設計検証方法は,該プログラムをコンピュータ装置(設計検証装置)で実行させることで実現される。   The design verification program in the present embodiment is a program for causing a computer apparatus (including a personal computer and a workstation) to execute the design verification process described above. This is realized by being executed by an apparatus (design verification apparatus).

以上説明した実施の形態の主な技術的特徴は、以下の付記の通りである。   The main technical features of the embodiment described above are as follows.

(付記1)
ハードウェア記述言語で記述された論理回路の論理シミュレーション実行結果が,前記論理回路の設計仕様として記述されたアサーションと適合するかコンピュータに検証させる設計検証プログラムにおいて,
前記コンピュータを,
少なくとも一つの要求を含む試験パターンを生成する試験パターン生成手段,
生成された要求毎に,各要求と各要求に対して実行が期待されるアサーションとを関連付けた期待値情報を生成する期待値情報生成手段,
生成された要求毎に,各要求に対して実行されたアサーションと,各要求に対して設定された前記期待値情報におけるアサーションとの整合性を判定する整合性判定手段,
前記整合性の判定結果を出力する出力手段,
として機能させることを特徴とする設計検証プログラム。
(Appendix 1)
In a design verification program for causing a computer to verify whether a logic simulation execution result of a logic circuit described in a hardware description language matches an assertion described as a design specification of the logic circuit,
Said computer,
Test pattern generation means for generating a test pattern including at least one requirement;
Expected value information generating means for generating expected value information that associates each request with an assertion that is expected to be executed for each request for each generated request;
Consistency determination means for determining the consistency between the assertion executed for each request and the assertion in the expected value information set for each request for each generated request;
An output means for outputting the consistency determination result;
Design verification program characterized by functioning as

(付記2)
付記1において,
前記整合性判定手段は,各要求に対して,前記期待値情報におけるアサーションと異なるアサーションが実行された場合に,エラー判定することを特徴とする設計検証プログラム。
(Appendix 2)
In Appendix 1,
The design verification program, wherein the consistency determination means determines an error when an assertion different from the assertion in the expected value information is executed for each request.

(付記3)
付記1において,
前記整合性判定手段は,各要求に対して,一定期間内に,前記期待値情報におけるアサーションが実行されない場合に,エラー判定することを特徴とする設計検証プログラム。
(Appendix 3)
In Appendix 1,
The design verification program characterized in that the consistency determination means determines an error when assertion in the expected value information is not executed within a certain period for each request.

(付記4)
付記1において,
前記期待値情報は,各要求に対して実行が期待されるアサーションの実行回数を含み,
前記整合性判定手段は,各要求に対して実行されたアサーションの実行回数と,前記期待値情報におけるアサーションの実行回数とが異なる場合に,エラー判定することを特徴とする設計検証プログラム。
(Appendix 4)
In Appendix 1,
The expected value information includes the number of assertions that are expected to be executed for each request,
The design verification program characterized in that the consistency determination means determines an error when the number of assertions executed for each request is different from the number of assertions executed in the expected value information.

(付記5)
付記1において,
前記試験パターンは,順序付けされた複数の要求を含む試験パターンを生成し,
前記整合性判定手段は,前記試験パターンにおける前記複数の要求の実行順序と,実際に実行された要求の実行順序とが異なる場合,エラー判定することを特徴とする設計検証プログラム。
(Appendix 5)
In Appendix 1,
The test pattern generates a test pattern including a plurality of ordered requests;
The design verification program characterized in that the consistency determination means determines an error when the execution order of the plurality of requests in the test pattern is different from the execution order of the requests actually executed.

(付記6)
ハードウェア記述言語で記述された論理回路の論理シミュレーション実行結果が,前記論理回路の設計仕様として記述されたアサーションと適合するかコンピュータに検証させる設計検証プログラムにおいて,
前記コンピュータを,
順序付けされた複数の要求を含む試験パターンを生成する試験パターン生成手段,
前記試験パターンにおける前記複数の要求の実行順序と,実際に実行された要求の実行順序との整合性を判定する整合性判定手段,
前記整合性の判定結果を出力する出力手段,
として機能させることを特徴とする設計検証プログラム。
(Appendix 6)
In a design verification program for causing a computer to verify whether a logic simulation execution result of a logic circuit described in a hardware description language matches an assertion described as a design specification of the logic circuit,
Said computer,
Test pattern generation means for generating a test pattern including a plurality of ordered requests;
Consistency determining means for determining consistency between the execution order of the plurality of requests in the test pattern and the execution order of the requests actually executed;
An output means for outputting the consistency determination result;
Design verification program characterized by functioning as

(付記7)
ハードウェア記述言語で記述された論理回路の論理シミュレーション実行結果が,前記論理回路の設計仕様として記述されたアサーションと一致するか検証する設計検証装置において,
少なくとも一つの要求を含む試験パターンを生成する試験パターン生成手段と,
生成された要求毎に,各要求に対して実行が期待されるアサーションとを関連付けた期待値情報を生成する期待値情報生成手段と,
生成された要求毎に,各要求に対して実行されたアサーションと,前記期待値情報における各要求に対して実行が期待されるアサーションとの整合性を判定する整合性判定手段と,
前記整合性の判定結果を出力する出力手段とを備えることを特徴とする設計検証装置。
(Appendix 7)
In a design verification device for verifying whether a logic simulation execution result of a logic circuit described in a hardware description language matches an assertion described as a design specification of the logic circuit,
Test pattern generation means for generating a test pattern including at least one requirement;
For each generated request, expected value information generating means for generating expected value information in association with an assertion expected to be executed for each request;
Consistency determining means for determining the consistency between the assertion executed for each request and the assertion expected to be executed for each request in the expected value information for each generated request;
The design verification apparatus comprising: output means for outputting the consistency determination result.

(付記8)
ハードウェア記述言語で記述された論理回路の論理シミュレーション実行結果が,前記論理回路の設計仕様として記述されたアサーションと一致するかコンピュータに検証させる設計検証方法において,
前記コンピュータが,
少なくとも一つの要求を含む試験パターンを生成する試験パターン生成工程と,
生成された要求毎に,各要求に対して実行が期待されるアサーションとを関連付けた期待値情報を生成する期待値情報生成工程と,
生成された要求毎に,各要求に対して実行されたアサーションと,前記期待値情報における各要求に対して実行が期待されるアサーションとの整合性を判定する整合性判定工程と,
前記整合性の判定結果を出力する出力工程とを実行することを特徴とする設計検証方法。
(Appendix 8)
In a design verification method for causing a computer to verify whether a logic simulation execution result of a logic circuit described in a hardware description language matches an assertion described as a design specification of the logic circuit,
The computer is
A test pattern generation step for generating a test pattern including at least one requirement;
For each generated request, an expected value information generating step for generating expected value information in association with an assertion expected to be executed for each request;
For each generated request, a consistency determining step for determining consistency between an assertion executed for each request and an assertion expected to be executed for each request in the expected value information;
An output step of outputting the consistency determination result is executed.

(付記9)
ハードウェア記述言語で記述された論理回路の論理シミュレーション実行結果が,前記論理回路の設計仕様として記述されたアサーションと適合するかコンピュータに検証させる設計検証装置において,
順序づけされた複数の要求を含む試験パターンを生成する試験パターン生成手段と,
前記試験パターンにおける前記複数の要求の実行順序と,実際に実行された要求の実行順序との整合性を判定する整合性判定手段と,
前記整合性の判定結果を出力する出力手段とを備えることを特徴とする設計検証プログラム。
(Appendix 9)
In a design verification apparatus for causing a computer to verify whether a logic simulation execution result of a logic circuit described in a hardware description language is compatible with an assertion described as a design specification of the logic circuit,
A test pattern generating means for generating a test pattern including a plurality of ordered requests;
Consistency determining means for determining consistency between the execution order of the plurality of requests in the test pattern and the execution order of the requests actually executed;
A design verification program comprising: output means for outputting the result of the consistency determination.

(付記10)
ハードウェア記述言語で記述された論理回路の論理シミュレーション実行結果が,前記論理回路の設計仕様として記述されたアサーションと適合するかコンピュータに検証させる設計検証方法において,
前記コンピュータが,
順序づけされた複数の要求を含む試験パターンを生成する試験パターン生成工程と,
前記試験パターンにおける前記複数の要求の実行順序と,実際に実行された要求の実行順序との整合性を判定する整合性判定工程と,
前記整合性の判定結果を出力する出力工程とを実行することを特徴とする設計検証方法。
(Appendix 10)
In a design verification method for causing a computer to verify whether a logic simulation execution result of a logic circuit described in a hardware description language matches an assertion described as a design specification of the logic circuit,
The computer is
A test pattern generation process for generating a test pattern including a plurality of ordered requests;
A consistency determination step for determining consistency between the execution order of the plurality of requests in the test pattern and the execution order of the requests actually executed;
An output step of outputting the consistency determination result is executed.

201:試験パターン生成部,202:試験パターン/アサーション連携部,203:シーケンス制御部,204:論理シミュレータ,205:状態監視部,206:アサーション判定部,207:整合性判定部,500:試験制約情報,501:アサーション制約情報,502:試験パターン記憶部,503:アサーション記憶部,504:検証回路,505,アサーション判定記憶部,506:整合性判定記憶部,602:アサーション期待値テーブル,604:シーケンス動作テーブル   201: Test pattern generation unit, 202: Test pattern / assertion cooperation unit, 203: Sequence control unit, 204: Logic simulator, 205: State monitoring unit, 206: Assertion determination unit, 207: Consistency determination unit, 500: Test constraint Information, 501: Assertion constraint information, 502: Test pattern storage unit, 503: Assertion storage unit, 504: Verification circuit, 505, Assertion determination storage unit, 506: Consistency determination storage unit, 602: Assertion expected value table, 604: Sequence operation table

Claims (5)

ハードウェア記述言語で記述された論理回路の論理シミュレーション実行結果が,前記論理回路の設計仕様として記述されたアサーションと適合するかコンピュータに検証させる設計検証プログラムにおいて,
前記コンピュータを,
少なくとも一つの要求を含む試験パターンを生成する試験パターン生成手段,
生成された要求毎に,各要求と各要求に対して実行が期待されるアサーションとを関連付けた期待値情報を生成する期待値情報生成手段,
生成された要求毎に,各要求に対して実行されたアサーションと,各要求に対して設定された前記期待値情報におけるアサーションとの整合性を判定する整合性判定手段,
前記整合性の判定結果を出力する出力手段,
として機能させることを特徴とする設計検証プログラム。
In a design verification program for causing a computer to verify whether a logic simulation execution result of a logic circuit described in a hardware description language matches an assertion described as a design specification of the logic circuit,
Said computer,
Test pattern generation means for generating a test pattern including at least one requirement;
Expected value information generating means for generating expected value information that associates each request with an assertion that is expected to be executed for each request for each generated request;
Consistency determination means for determining the consistency between the assertion executed for each request and the assertion in the expected value information set for each request for each generated request;
An output means for outputting the consistency determination result;
Design verification program characterized by functioning as
請求項1において,
前記試験パターンは,順序付けされた複数の要求を含む試験パターンを生成し,
前記整合性判定手段は,前記試験パターンにおける前記複数の要求の実行順序と,実際に実行された要求の実行順序とが異なる場合,エラー判定することを特徴とする設計検証プログラム。
In claim 1,
The test pattern generates a test pattern including a plurality of ordered requests;
The design verification program characterized in that the consistency determination means determines an error when the execution order of the plurality of requests in the test pattern is different from the execution order of the requests actually executed.
ハードウェア記述言語で記述された論理回路の論理シミュレーション実行結果が,前記論理回路の設計仕様として記述されたアサーションと適合するかコンピュータに検証させる設計検証プログラムにおいて,
前記コンピュータを,
順序付けされた複数の要求を含む試験パターンを生成する試験パターン生成手段,
前記試験パターンにおける前記複数の要求の実行順序と,実際に実行された要求の実行順序との整合性を判定する整合性判定手段,
前記整合性の判定結果を出力する出力手段,
として機能させることを特徴とする設計検証プログラム。
In a design verification program for causing a computer to verify whether a logic simulation execution result of a logic circuit described in a hardware description language matches an assertion described as a design specification of the logic circuit,
Said computer,
Test pattern generation means for generating a test pattern including a plurality of ordered requests;
Consistency determining means for determining consistency between the execution order of the plurality of requests in the test pattern and the execution order of the requests actually executed;
An output means for outputting the consistency determination result;
Design verification program characterized by functioning as
ハードウェア記述言語で記述された論理回路の論理シミュレーション実行結果が,前記論理回路の設計仕様として記述されたアサーションと一致するか検証する設計検証装置において,
少なくとも一つの要求を含む試験パターンを生成する試験パターン生成手段と,
生成された要求毎に,各要求に対して実行が期待されるアサーションとを関連付けた期待値情報を生成する期待値情報生成手段と,
生成された要求毎に,各要求に対して実行されたアサーションと,前記期待値情報における各要求に対して実行が期待されるアサーションとの整合性を判定する整合性判定手段と,
前記整合性の判定結果を出力する出力手段とを備えることを特徴とする設計検証装置。
In a design verification device for verifying whether a logic simulation execution result of a logic circuit described in a hardware description language matches an assertion described as a design specification of the logic circuit,
Test pattern generation means for generating a test pattern including at least one requirement;
For each generated request, expected value information generating means for generating expected value information in association with an assertion expected to be executed for each request;
Consistency determining means for determining the consistency between the assertion executed for each request and the assertion expected to be executed for each request in the expected value information for each generated request;
The design verification apparatus comprising: output means for outputting the consistency determination result.
ハードウェア記述言語で記述された論理回路の論理シミュレーション実行結果が,前記論理回路の設計仕様として記述されたアサーションと一致するかコンピュータに検証させる設計検証方法において,
前記コンピュータが,
少なくとも一つの要求を含む試験パターンを生成する試験パターン生成工程と,
生成された要求毎に,各要求に対して実行が期待されるアサーションとを関連付けた期待値情報を生成する期待値情報生成工程と,
生成された要求毎に,各要求に対して実行されたアサーションと,前記期待値情報における各要求に対して実行が期待されるアサーションとの整合性を判定する整合性判定工程と,
前記整合性の判定結果を出力する出力工程とを実行することを特徴とする設計検証方法。
In a design verification method for causing a computer to verify whether a logic simulation execution result of a logic circuit described in a hardware description language matches an assertion described as a design specification of the logic circuit,
The computer is
A test pattern generation step for generating a test pattern including at least one requirement;
For each generated request, an expected value information generating step for generating expected value information in association with an assertion expected to be executed for each request;
For each generated request, a consistency determining step for determining consistency between an assertion executed for each request and an assertion expected to be executed for each request in the expected value information;
An output step of outputting the consistency determination result is executed.
JP2011010133A 2011-01-20 2011-01-20 Design verification program, design verification device, and design verification method Expired - Fee Related JP5625942B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011010133A JP5625942B2 (en) 2011-01-20 2011-01-20 Design verification program, design verification device, and design verification method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011010133A JP5625942B2 (en) 2011-01-20 2011-01-20 Design verification program, design verification device, and design verification method

Publications (2)

Publication Number Publication Date
JP2012150723A true JP2012150723A (en) 2012-08-09
JP5625942B2 JP5625942B2 (en) 2014-11-19

Family

ID=46792895

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011010133A Expired - Fee Related JP5625942B2 (en) 2011-01-20 2011-01-20 Design verification program, design verification device, and design verification method

Country Status (1)

Country Link
JP (1) JP5625942B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112464174A (en) * 2020-10-27 2021-03-09 华控清交信息科技(北京)有限公司 Method and device for verifying multi-party secure computing software and device for verifying

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006309576A (en) * 2005-04-28 2006-11-09 Canon Inc Verification device and verification method for logic system, and storage medium and computer program
JP2010044622A (en) * 2008-08-13 2010-02-25 Hitachi Information & Communication Engineering Ltd Information processor test program and method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006309576A (en) * 2005-04-28 2006-11-09 Canon Inc Verification device and verification method for logic system, and storage medium and computer program
JP2010044622A (en) * 2008-08-13 2010-02-25 Hitachi Information & Communication Engineering Ltd Information processor test program and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112464174A (en) * 2020-10-27 2021-03-09 华控清交信息科技(北京)有限公司 Method and device for verifying multi-party secure computing software and device for verifying
CN112464174B (en) * 2020-10-27 2023-09-29 华控清交信息科技(北京)有限公司 Method and device for verifying multi-party security computing software and device for verification

Also Published As

Publication number Publication date
JP5625942B2 (en) 2014-11-19

Similar Documents

Publication Publication Date Title
US9569325B2 (en) Method and system for automated test and result comparison
US20160320451A1 (en) Simulation verification method for fpga function modules and system thereof
US20110083114A1 (en) Method and system for re-using digital assertions in a mixed signal design
TW201405306A (en) System and method for automatically generating software test cases
US9824169B2 (en) Regression signature for statistical functional coverage
JP4468410B2 (en) Software execution device and cooperative operation method
JP2010044622A (en) Information processor test program and method
US10592623B2 (en) Assertion statement check and debug
CA2811617C (en) Commit sensitive tests
US9811617B2 (en) Regression nearest neighbor analysis for statistical functional coverage
JP5625942B2 (en) Design verification program, design verification device, and design verification method
US7962796B2 (en) State testing device and methods thereof
JP5992107B2 (en) Program verification apparatus, program verification method, and program
JP5310397B2 (en) Behavioral synthesis verification auxiliary device, behavioral synthesis verification auxiliary method, program, and recording medium
WO2017013783A1 (en) Logic circuit verification method
JP2014071775A (en) System development support device and system development support method
JP6146224B2 (en) Determination method, determination program, and determination apparatus
JPH10221410A (en) Automatic logic verification system for lsi
WO2017149737A1 (en) High-level synthesis device, high-level synthesis method, and high-level synthesis program
CN115757099A (en) Automatic test method and device for platform firmware protection recovery function
JP5951130B2 (en) Program verification apparatus, program verification method, and program
Bindu A Rigorous Approach to Microprocessor Verification using UVM
CN117034824A (en) Simulation verification system, method, terminal and medium for multiplexing test cases and verification environments
JP6331400B2 (en) Verification method, verification apparatus, and verification program
JP6147094B2 (en) Information processing apparatus, information processing method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130926

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140515

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140603

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140804

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140902

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140915

R150 Certificate of patent or registration of utility model

Ref document number: 5625942

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees