JP2007108995A - Test condition sufficiency measuring method in lsi logical function verification - Google Patents

Test condition sufficiency measuring method in lsi logical function verification Download PDF

Info

Publication number
JP2007108995A
JP2007108995A JP2005298991A JP2005298991A JP2007108995A JP 2007108995 A JP2007108995 A JP 2007108995A JP 2005298991 A JP2005298991 A JP 2005298991A JP 2005298991 A JP2005298991 A JP 2005298991A JP 2007108995 A JP2007108995 A JP 2007108995A
Authority
JP
Japan
Prior art keywords
test condition
test
logic
design logic
simulation
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
JP2005298991A
Other languages
Japanese (ja)
Inventor
Hitoshi Ueno
仁 上野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2005298991A priority Critical patent/JP2007108995A/en
Publication of JP2007108995A publication Critical patent/JP2007108995A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a test condition sufficiency measuring method in LSI logical function verification for efficiently measuring test condition sufficiency for confirming the positive generation of test conditions during execution of simulation, without being influenced by a bug correction and an internal implementation specification change in LSI logical function verification. <P>SOLUTION: When preparing a pattern 4, a test condition sign 5 describing test conditions which are test contents, without including design logic internal information 7 derived from a design logic 6 is prepared as verification data (checker) for verifying whether intended test conditions are established, and the design logic internal information 7 is derived from the design logic 6 and prepared. Simulation of the design logic internal information 7 is carried out by a simulation means 8 using the test condition symbol 5 to confirm the positive generation of the test contents to be carried out by the pattern 4, during the execution of simulation. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

この発明は、LSI(大規模集積回路)の論理機能検証での試験条件充足測定方法に関するものである。   The present invention relates to a test condition satisfaction measuring method in verification of logic function of LSI (Large Scale Integrated Circuit).

従来から、LSIの論理設計段階における設計論理の機能検証は、コンピュータ上に構築したシミュレーション環境を使用して行っている。つまり、予め検証用にテストベンチ及びパターンを用意し、それを用いて検証対象である設計論理をシミュレータ上でシミュレーションを行い、そのシミュレーション結果が正しい結果であることを確認することで合否判断を行っている(例えば、特許文献1参照)。   Conventionally, functional verification of design logic at the logic design stage of an LSI has been performed using a simulation environment built on a computer. In other words, a test bench and pattern are prepared for verification in advance, and the design logic to be verified is simulated on the simulator using the test bench, and a pass / fail decision is made by confirming that the simulation result is correct. (For example, refer to Patent Document 1).

ところで、この機能検証においては、設計する際のリファレンスである仕様書を基にして検証項目を定義し、この検証項目に書かれている検証内容を実現する手段として、前記のテストベンチ及びパターンを作成する。   By the way, in this functional verification, a verification item is defined based on a specification as a reference when designing, and the test bench and the pattern are used as means for realizing the verification contents written in the verification item. create.

このテストベンチ及びパターンは、基本的には当該LSIの設計者が手作業で作成するものである。そのため、作成したテストベンチ及びパターンが不適切であることが起こり得る。この場合は、検証項目で意図していた試験内容がシミュレーション実施時において発生していない可能性が常に存在する。しかし、悪いことに、意図した試験内容が発生していないからと言ってシミュレーション結果が期待された動きにならないとは限らない。つまり、テストベンチ及びパターンが不適切であったために、検証項目で意図していた試験内容がシミュレーション実施時において発生していなくとも、シミュレーション結果が期待された通りに動作し、合否判定において合格と判断される場合があり得る。   The test bench and pattern are basically created manually by the LSI designer. Therefore, the created test bench and pattern may be inappropriate. In this case, there is always a possibility that the test content intended by the verification item does not occur when the simulation is performed. Unfortunately, just because the intended test content has not occurred does not mean that the simulation results will not be as expected. In other words, because the test bench and pattern were inappropriate, even if the test content intended by the verification item did not occur at the time of the simulation, the simulation result worked as expected and the pass / fail judgment passed. It may be judged.

この問題に対する解決方法としては、チェッカを用いる方法が採られている。チェッカとは、ある意図した試験条件が成立したか否かをチェックするHDL(Hardware Description Language:ハードウェア記述言語)で書かれたコード(検証データ)である。   As a solution to this problem, a method using a checker is employed. The checker is a code (verification data) written in HDL (Hardware Description Language) that checks whether a certain intended test condition is satisfied.

すなわち、検証項目が定義され、検証内容が決まれば、どのような試験条件を発生させたいのかが決まるので、その意図した試験条件が発生したか否かをチェックするHDLで書かれたコード(チェッカ)を、テストベンチやパターンとは別に作成し、シミュレーション環境に入力する。チェッカは、シミュレーション実行中に、検証対象論理の内部ノードをモニタしており、意図した試験条件が発生していることが観測されれば、その旨のメッセージを画面出力などによって検証オペレータに通知する。   In other words, when the verification items are defined and the verification contents are determined, it is determined what test conditions are desired to be generated. Therefore, a code written in HDL (checker) for checking whether or not the intended test conditions have occurred. ) Are created separately from the test bench and pattern and input to the simulation environment. The checker monitors the internal node of the logic to be verified during the simulation, and if it is observed that the intended test condition has occurred, the checker notifies the verification operator by a screen output or the like. .

検証オペレータは、シミュレーション結果の合否判断として、得られた結果が期待値と一致しているか、チェッカによって意図した試験条件が発生しているかを調べる。得られた結果が期待値と一致し、且つチェッカによって意図した試験条件が発生していることを確認できている場合に、その試験は合格と判断される。   The verification operator checks whether the obtained result is consistent with the expected value and whether the intended test condition is generated by the checker as the pass / fail judgment of the simulation result. If the obtained result matches the expected value and it can be confirmed by the checker that the intended test condition has occurred, the test is judged to be acceptable.

意図した試験条件が発生していない場合は、テストベンチあるいはパターンの不適切により、そもそも行いたい試験ができていないことを意味する。この場合には、得られた結果の期待値との比較自体に意味はないので、期待値との比較結果に関わらず、テストベンチあるいはパターンを適切に修正し、再度シミュレーションを行い、チェッカによる意図した試験条件が発生していることの確認ができるまで、修正とシミュレーションとを行う必要がある。   If the intended test conditions do not occur, it means that the test you want to perform is not possible due to inappropriate test bench or pattern. In this case, the comparison of the obtained result with the expected value is meaningless. Therefore, regardless of the result of comparison with the expected value, the test bench or pattern is corrected appropriately, and simulation is performed again. It is necessary to perform correction and simulation until it can be confirmed that the test condition is generated.

また、意図した試験条件は発生しているが、シミュレーション結果が期待値と一致していない場合は、テストベンチ及びパターンは適切に試験ができているが、検証対象論理の不具合により不合格となったことを意味する。この場合には、検証対象論理を修正し再度シミュレーションを行い、チェッカによる意図した試験条件が発生していることの確認ができ、且つシミュレーション結果が期待値と一致していることが確認できるまで、これを繰り返すことになる。   In addition, if the intended test conditions have occurred but the simulation results do not match the expected values, the test bench and pattern have been properly tested, but failed due to a failure in the verification target logic. Means that. In this case, the logic to be verified is corrected and the simulation is performed again until it can be confirmed that the intended test condition by the checker has occurred, and the simulation result can be confirmed to match the expected value. This will be repeated.

特開平3−62172号公報(論理検証充分性評価方法)Japanese Patent Laid-Open No. 3-62172 (logic verification sufficiency evaluation method)

しかしながら、従来の方法では、意図した試験条件が発生していることをチェックするためのチェッカ作成では、検証対象論理の内部ノード情報をそのまま用いて記述しているので、次のような問題がある。   However, in the conventional method, the creation of a checker for checking that the intended test condition has occurred is described using the internal node information of the verification target logic as it is, and therefore has the following problems. .

第1に、チェッカを作成できるのが検証対象論理のコーディングが完了した以降の段階になってしまうので、検証項目が定義された段階においてはチェッカによってチェックすべき試験条件は決定されているのに、検証対象論理のコーディングが完了していないために、チェッカの作成ができない。つまり、従来では、チェッカの作成までにタイムラグが発生する可能性があり、効率的とは言えない。   First, since the checker can be created at the stage after the coding of the logic to be verified is completed, the test conditions to be checked by the checker are determined at the stage where the verification items are defined. The checker cannot be created because the verification target logic has not been coded. In other words, conventionally, there is a possibility that a time lag occurs until the checker is created, which is not efficient.

第2に、検証が進むにつれて検証対象論理のバグ発見による論理の修正が発生する。この場合、従来では、チェッカは検証対象論理の内部ノード情報を直接記述しているので、この論理修正によって多くのチェッカもまた修正する必要が発生する可能性があり、効率的とは言えず、またチェッカの可搬性に欠ける。   Second, as verification progresses, logic correction occurs due to bug discovery of the verification target logic. In this case, conventionally, since the checker directly describes the internal node information of the logic to be verified, there is a possibility that many checkers need to be corrected by this logic correction, which is not efficient. Also, the checker is not portable.

第3に、過去において既に開発済みである論理について、外部仕様は変えずに内部ノードの設計を変更するようなケースがある。例えば、同一の機能を有しながら、性能を向上させるような開発である。このような場合では、論理は設計し直しであるので検証も再度実施することとなるが、機能的には既に開発済みの論理と同等であるので、開発済みの論理の機能検証で使用したテストベンチ、パターン及びチェッカがそのまま使用できることが期待されるが、チェッカについてはその多くが修正を必要とする可能性が高い。同様にチェッカの可搬性に欠ける。   Thirdly, there is a case where the design of the internal node is changed without changing the external specification for the logic that has already been developed in the past. For example, a development that improves performance while having the same function. In such a case, since the logic is redesigned, the verification is performed again. However, the function is functionally equivalent to the already developed logic, so the test used in the functional verification of the developed logic. It is expected that benches, patterns, and checkers can be used as they are, but many of the checkers are likely to require modification. Similarly, the checker is not portable.

この発明は、上記に鑑みてなされたものであり、LSIの論理機能検証において、試験条件がシミュレーション実行中に確実に発生していることを確認する試験条件充足の測定を、バグ修正や内部インプリメンテーション仕様変更に影響されずに効率よく行うことを可能にするLSIの論理機能検証での試験条件充足測定方法を得ることを目的とする。   The present invention has been made in view of the above. In the logic function verification of an LSI, measurement of test condition satisfaction for confirming that the test condition is surely generated during simulation execution is performed by bug correction or internal implementation. It is an object of the present invention to obtain a test condition satisfaction measurement method in LSI logical function verification that can be performed efficiently without being affected by the change in the specification of the input.

上述した目的を達成するために、この発明にかかるLSIの論理機能検証での試験条件充足測定方法は、コンピュータ上に構築したシミュレーション環境にて、LSIの論理機能の検証用に作成したパターンを用いて検証対象である設計論理のシミュレーションを実行し、その動作結果が正しいか否かを確認することで合否判断を行うLSIの論理機能検証において、意図した試験条件の成立可否を検証する検証データとして、前記パターン作成時に、その試験内容である試験条件を前記設計論理から導出される設計論理内部情報を含めないで記述した試験条件記号を作成する工程と、前記設計論理から前記設計論理内部情報を導出して用意する工程と、前記試験条件記号と前記設計論理内部情報とを前記シミュレーション環境に入力して前記試験条件記号を用いた前記設計論理内部情報のシミュレーションを実行し、前記パターンによって行いたい試験内容がシミュレーション実行中に確実に発生していることを確認する試験条件充足測定を行う工程とを含むことを特徴とする。   In order to achieve the above-mentioned object, the test condition satisfaction measurement method for LSI logic function verification according to the present invention uses a pattern created for LSI logic function verification in a simulation environment constructed on a computer. As verification data for verifying whether or not the intended test conditions are met in the LSI logic function verification, which performs a pass / fail judgment by executing a simulation of the design logic to be verified and confirming whether the operation result is correct , Creating a test condition symbol that describes the test conditions that are the test contents without including the design logic internal information derived from the design logic at the time of creating the pattern, and the design logic internal information from the design logic. Deriving and preparing, inputting the test condition symbol and the design logic internal information into the simulation environment Performing a simulation of the design logic internal information using a test condition symbol, and performing a test condition satisfaction measurement to confirm that the test content desired to be performed by the pattern is surely generated during the execution of the simulation. It is characterized by.

この発明によれば、試験条件がシミュレーション実行中に発生していることを確認するための検証データ(チェッカ)は、検証対象論理の内部ノードを直接記述するのではなくパターン作成時に別名を用いて記述を行い、論理設計時に検証対象論理の内部ノード情報を設計論理内部情報として別に準備し、論理シミュレーション実施時に、この別名で記述されたチェッカと設計論理内部情報とを用いて論理シミュレーションを行うことで、試験条件充足の測定を行う。これによれば、チェッカは、論理設計が完了する前に作成することが可能であるので、バグ修正や内部インプリメンテーション仕様変更のために内部ノード情報が変更された場合でも、変更が必要なのは設計論理内部情報のみであり、チェッカの修正は不要である。すなわち、チェッカの可搬性が向上する。   According to the present invention, the verification data (checker) for confirming that the test condition is generated during the execution of the simulation is not described directly in the internal node of the logic to be verified, but is used when creating the pattern. Describe and prepare the internal node information of the verification target logic as design logic internal information separately during logic design, and perform logic simulation using the checker described in this alias and the design logic internal information when performing logic simulation Then, measure the satisfaction of the test conditions. According to this, since the checker can be created before the logical design is completed, even if the internal node information is changed due to bug correction or internal implementation specification change, it is necessary to change the checker. It is only design logic internal information, and it is not necessary to modify the checker. That is, the portability of the checker is improved.

この発明によれば、検証データ(チェッカ)の可搬性が向上するので、バグ修正や内部インプリメンテーション仕様変更の影響を受けずに、LSIの論理機能検証と並行して、試験条件充足の測定を効率よく行うことができるという効果を奏する。   According to the present invention, since the portability of verification data (checker) is improved, measurement of satisfaction of test conditions can be performed in parallel with LSI logical function verification without being affected by bug correction or internal implementation specification change. The effect that it can perform efficiently is produced.

以下に図面を参照して、この発明にかかるLSIの論理機能検証での試験条件充足測定方法の好適な実施の形態を詳細に説明する。   Exemplary embodiments of a test condition satisfaction measurement method in logic function verification of an LSI according to the present invention will be described below in detail with reference to the drawings.

図1は、この発明の一実施の形態による試験条件充足測定方法が実施されるLSIの論理機能検証を説明するフローチャートである。図1に示すように、LSIの論理機能検証では、まず、設計する際のリファレンスである仕様書1を基に、検証項目2が定義され、また設計論理6が設計される。   FIG. 1 is a flowchart for explaining logic function verification of an LSI in which a test condition satisfaction measuring method according to an embodiment of the present invention is implemented. As shown in FIG. 1, in the logic function verification of an LSI, a verification item 2 is first defined and a design logic 6 is designed based on a specification 1 which is a reference for designing.

そして、この検証項目2から、その検証項目2で意図している試験内容を実現するためのテストベンチ3及びパターン4が作成される他、この実施の形態では、試験条件記号5が作成される。この試験条件記号5は、検証項目2で意図している試験内容、つまり試験条件がシミュレーション実行中に発生していることをチェックするためにそのチェック内容を記述したチェッカである。また、設計論理6から設計論理内部情報7が定義される。このように作成ないしは定義されたテストベンチ3,パターン4,試験条件記号5,設計論理6及び設計論理内部情報7は、シミュレーション手段8に入力される。   From this verification item 2, a test bench 3 and a pattern 4 for realizing the test contents intended by the verification item 2 are created, and in this embodiment, a test condition symbol 5 is created. . The test condition symbol 5 is a checker that describes the test contents intended by the verification item 2, that is, the check contents for checking that the test conditions are generated during the execution of the simulation. Also, design logic internal information 7 is defined from the design logic 6. The test bench 3, the pattern 4, the test condition symbol 5, the design logic 6 and the design logic internal information 7 thus created or defined are input to the simulation means 8.

シミュレーション手段8は、テストベンチ3及びパターン4を用いて設計論理6のシミュレーションを実行し、その動作結果が正しいか否かを確認して合否判断を行うの用いるミュレーション結果値9を出力する。並行して、シミュレーション手段8は、試験条件記号5を用いて設計論理内部情報7のシミュレーションを実行し、試験条件記号5に記述されている試験条件、つまりパターンによって行いたい試験内容がシミュレーション実行中に発生していることを確認する試験条件充足測定を行うのに用いる試験条件発生結果10を出力する。   The simulation means 8 executes the simulation of the design logic 6 using the test bench 3 and the pattern 4, confirms whether or not the operation result is correct, and outputs a simulation result value 9 used to make a pass / fail judgment. In parallel, the simulation means 8 executes the simulation of the design logic internal information 7 using the test condition symbol 5, and the test condition described in the test condition symbol 5, that is, the test content to be performed according to the pattern is being simulated. The test condition generation result 10 used to perform the test condition satisfaction measurement for confirming that it has occurred is output.

ここで、この試験条件記号5の記述には、検証対象論理の内部コード情報は含まれていない(図4参照)。したがって、試験条件記号5は、検証対象論理のコーディング完了を待たずに記述することが可能であり、効率的である。また、試験条件記号5は、検証対象論理の修正に連動して修正する必要がなく、効率的であり、また可搬性が向上する。   Here, the description of the test condition symbol 5 does not include the internal code information of the verification target logic (see FIG. 4). Therefore, the test condition symbol 5 can be described without waiting for completion of coding of the verification target logic, and is efficient. Further, the test condition symbol 5 does not need to be corrected in conjunction with the correction of the verification target logic, is efficient, and improves portability.

次に、図2〜図6を参照して、実際の試験条件記号及び設計論理内部情報の記述例について説明する。なお、図2は、仕様書1の一仕様例を示す図である。図3は、検証項目2の一例を示す図である。図4は、試験条件記号5の一例を示す図である。図5は、設計論理6の一例を示す図である。図6は、設計論理内部情報7の一例を示す図である。   Next, description examples of actual test condition symbols and design logic internal information will be described with reference to FIGS. FIG. 2 is a diagram showing an example of the specification 1 specification. FIG. 3 is a diagram illustrating an example of the verification item 2. FIG. 4 is a diagram illustrating an example of the test condition symbol 5. FIG. 5 is a diagram illustrating an example of the design logic 6. FIG. 6 is a diagram illustrating an example of the design logic internal information 7.

図2に示すように、「仕様」では、設計論理は、いわゆるステートマシンを持つとして規定されている。図2では、設計論理は、内部で2つの状態S0,S1を持ち、現在の内部状態と外部からの入力値l0,l1により、設計論理からの出力値0と次の内部状態とが決定される例が示されている。   As shown in FIG. 2, in the “specification”, the design logic is defined as having a so-called state machine. In FIG. 2, the design logic internally has two states S0 and S1, and the output value 0 from the design logic and the next internal state are determined by the current internal state and the externally input values l0 and l1. An example is shown.

図3では、図2に示す仕様例から定義された一つの検証項目の例として、「状態S1の時に入力l0=かつl1=1を与えて、その結果が出力0=0かつ状態S0になる事を確認する。」が示されている。   In FIG. 3, as an example of one verification item defined from the specification example shown in FIG. 2, “input l0 = and l1 = 1 is given in state S1, and the result is output 0 = 0 and state S0. Confirm things. ”Is shown.

図4は、図2に示す仕様例と図3に示す検証項目例とを基に記述された試験条件記号の例である。試験条件記号では、仕様例において定義されるステートマシンの遷移条件と、検証項目例において意図される試験条件とが、記号として明記されている。重要なのは、試験条件記号は、図4に示すように、「State,I0,I1」という一時的な名前「State」のみを使用して記述し、図6に示す検証対象論理の内部ノード名称「Status」を直接記述していないということである。   FIG. 4 is an example of test condition symbols described based on the specification example shown in FIG. 2 and the verification item example shown in FIG. In the test condition symbol, the state machine transition condition defined in the specification example and the test condition intended in the verification item example are specified as symbols. Importantly, as shown in FIG. 4, the test condition symbol is described using only the temporary name “State” of “State, I0, I1”, and the internal node name “ This means that “Status” is not described directly.

図5は、図2に示す仕様例を基にした設計論理例である。図6は、図5に示す設計論理例から導き出される設計論理内部情報例である。図6では、試験条件記号例で記述された一時的な名前「State」に対応する設計論理内部のノード名称「Status」が記述されている。この設計論理内部のノード名称「Status」は、検証対象論理のコーディングが完了した時点、あるいは一旦完了した後に修正が入った時点で記述する。   FIG. 5 is a design logic example based on the specification example shown in FIG. FIG. 6 is an example of design logic internal information derived from the design logic example shown in FIG. In FIG. 6, the node name “Status” inside the design logic corresponding to the temporary name “State” described in the test condition symbol example is described. The node name “Status” inside the design logic is described when coding of the verification target logic is completed, or when correction is made after it is once completed.

次に、図7と図8は、図1に示すLSIの論理機能検証において実施されるこの発明の一実施の形態による試験条件充足測定方法を説明するフローチャートである。図7、図8に示すように、この実施の形態による試験条件充足測定方法では、試験条件記号と設計論理内部情報とを基にシミュレーション実行中において意図した試験条件が発生していることをチェックすることが行われる。   Next, FIGS. 7 and 8 are flowcharts for explaining a test condition satisfaction measuring method according to an embodiment of the present invention, which is performed in the logic function verification of the LSI shown in FIG. As shown in FIG. 7 and FIG. 8, in the test condition satisfaction measurement method according to this embodiment, it is checked that the intended test condition is generated during the simulation based on the test condition symbol and the design logic internal information. To be done.

図7では、試験条件記号をシミュレーション手段に入力可能なHDLコードに変換してからシミュレーションを行う場合が示されている。図7において、HDLコード生成手段23は、試験条件記号21及び設計論理内部情報22を基に、HDLコード24を生成する。この生成されたHDLコード24は、テストベンチ25及びパターン26と共に、シミュレーション手段27に入力される。HDLコード24は、試験条件記号21に記述されている試験条件がシミュレーション実行中に発生したことをチェックする機能を有するコードである。これによって、シミュレーション手段27では、シミュレーション実行中に意図した試験条件が発生したか否かのチェックが行われ、図1に示した試験条件発生結果10がシミュレーション結果値9と共に出力される。   FIG. 7 shows a case where the simulation is performed after the test condition symbols are converted into HDL codes that can be input to the simulation means. In FIG. 7, the HDL code generation means 23 generates an HDL code 24 based on the test condition symbol 21 and the design logic internal information 22. The generated HDL code 24 is input to the simulation unit 27 together with the test bench 25 and the pattern 26. The HDL code 24 is a code having a function of checking that the test condition described in the test condition symbol 21 has occurred during the simulation. As a result, the simulation unit 27 checks whether or not the intended test condition has occurred during the execution of the simulation, and the test condition generation result 10 shown in FIG.

図8では、試験条件記号を直接シミュレーション手段に入力する場合が示されている。図8において、試験条件記号31及び設計論理内部情報32とテストベンチ25及びパターン26とは、共に、シミュレーション手段27に入力される。そのうち、試験条件記号31及び設計論理内部情報32は、シミュレーション手段27に設けた試験条件記号の意味を解読するエンジンである試験条件記号解読手段36に入力される。   FIG. 8 shows a case where the test condition symbols are directly input to the simulation means. In FIG. 8, the test condition symbol 31 and the design logic internal information 32, the test bench 25 and the pattern 26 are all input to the simulation means 27. Among them, the test condition symbol 31 and the design logic internal information 32 are input to the test condition symbol decoding means 36 which is an engine for decoding the meaning of the test condition symbol provided in the simulation means 27.

試験条件記号解読手段36は、設計論理内部情報32からシミュレーション実行中に観測すべき検証対象内部のノード名を取得し、試験条件記号31からチェックすべき条件を取得することで、シミュレーション実行中において、観測すべき検証対象内部のノードを観測し、それらの値が試験条件記号31に書かれている条件を満たすか否かをチェックする。これによって、シミュレーション手段35では、シミュレーション実行中に意図した試験条件が発生したか否かのチェックが行われ、図1に示した試験条件発生結果10がシミュレーション結果値9と共に出力される。   The test condition symbol decoding means 36 acquires the node name inside the verification target to be observed during the simulation execution from the design logic internal information 32 and acquires the condition to be checked from the test condition symbol 31, thereby executing the simulation The nodes inside the verification target to be observed are observed, and it is checked whether or not those values satisfy the condition written in the test condition symbol 31. As a result, the simulation means 35 checks whether or not the intended test condition has occurred during the execution of the simulation, and the test condition generation result 10 shown in FIG.

このように、この実施の形態によれば、試験条件がシミュレーション実行中に発生していることをチェックするためのチェッカとして、検証対象論理の内部ノード情報を持たない試験条件記号で記述するようにし、論理設計時に検証対象論理の内部ノード情報を設計論理内部情報として別に準備するので、設計論理が何時コーディング完了するかに関わらず、検証項目を定義した時点で試験条件記号を記述することが可能である。また、バグ修正や内部インプリメンテーション仕様変更によって、検証対象論理に修正が入ったとしても、それに合わせて修正しなければいけないのは設計論理内部情報のみであり、試験条件記号を修正する必要はなく、チェッカの可搬性が向上する。したがって、バグ修正や内部インプリメンテーション仕様変更の影響を受けずに、LSIの論理機能検証と並行して、試験条件充足の測定を効率よく行うことができる。   As described above, according to this embodiment, as a checker for checking that a test condition is generated during simulation execution, the test condition symbol having no internal node information of the verification target logic is described. Because the internal node information of the verification target logic is separately prepared as the design logic internal information at the time of logic design, it is possible to describe the test condition symbols when the verification items are defined regardless of when the design logic is coded It is. Even if the verification target logic is modified due to bug modifications or internal implementation specification changes, only the design logic internal information must be modified accordingly, and the test condition symbols need to be modified. In addition, the portability of the checker is improved. Therefore, it is possible to efficiently measure the satisfaction of the test condition in parallel with the logic function verification of the LSI without being affected by bug correction or internal implementation specification change.

以上のように、この発明にかかるLSIの論理機能検証での試験条件充足測定方法は、LSIの論理機能検証において、試験条件がシミュレーション実行中に確実に発生していることを確認する試験条件充足の測定を、バグ修正や内部インプリメンテーション仕様変更に影響されずに効率よく行う方法として有用である。   As described above, the test condition satisfaction measuring method in the logic function verification of the LSI according to the present invention satisfies the test condition for confirming that the test condition is surely generated during the simulation execution in the logic function verification of the LSI. This measurement is useful as a method for efficiently performing measurement without being affected by bug fixes or changes in internal implementation specifications.

この発明の一実施の形態による試験条件充足測定方法が実施されるLSIの論理機能検証を説明するフローチャートである。It is a flowchart explaining the logic function verification of LSI with which the test condition satisfaction measuring method by one embodiment of this invention is implemented. 図1に示す仕様書の一仕様例を示す図である。It is a figure which shows the example of 1 specification of the specification shown in FIG. 図1に示す検証項目の一例を示す図である。It is a figure which shows an example of the verification item shown in FIG. 図1に示す試験条件記号の一例を示す図である。It is a figure which shows an example of the test condition symbol shown in FIG. 図1に示す設計論理の一例を示す図である。It is a figure which shows an example of the design logic shown in FIG. 図1に示す設計論理内部情報の一例を示す図である。It is a figure which shows an example of the design logic internal information shown in FIG. 図1に示すLSIの論理機能検証において実施されるこの発明の一実施の形態による試験条件充足測定方法(その1)を説明するフローチャートである。6 is a flowchart for explaining a test condition satisfaction measuring method (part 1) according to an embodiment of the present invention, which is performed in the logic function verification of the LSI shown in FIG. 図1に示すLSIの論理機能検証において実施されるこの発明の一実施の形態による試験条件充足測定方法(その2)を説明するフローチャートである。6 is a flowchart for explaining a test condition satisfaction measurement method (part 2) according to an embodiment of the present invention, which is performed in the logic function verification of the LSI shown in FIG.

符号の説明Explanation of symbols

1 仕様書
2 検証項目
3,25,33 テストベンチ
4,26,34 パターン
5,21,31 試験条件記号
6 設計論理
7,22,32 設計論理内部情報
8,27,35 シミュレーション手段
9 シミュレーション結果値
10 試験条件発生結果
23 HDLコード生成手段
24 HDLコード
DESCRIPTION OF SYMBOLS 1 Specification document 2 Verification item 3, 25, 33 Test bench 4, 26, 34 Pattern 5, 21, 31 Test condition symbol 6 Design logic 7, 22, 32 Design logic internal information 8, 27, 35 Simulation means 9 Simulation result value 10 Test condition generation result 23 HDL code generation means 24 HDL code

Claims (3)

コンピュータ上に構築したシミュレーション環境にて、LSIの論理機能の検証用に作成したパターンを用いて検証対象である設計論理のシミュレーションを実行し、その動作結果が正しいか否かを確認することで合否判断を行うLSIの論理機能検証において、
意図した試験条件の成立可否を検証する検証データとして、前記パターン作成時に、その試験内容である試験条件を前記設計論理から導出される設計論理内部情報を含めないで記述した試験条件記号を作成する工程と、
前記設計論理から前記設計論理内部情報を導出して用意する工程と、
前記試験条件記号と前記設計論理内部情報とを前記シミュレーション環境に入力して前記試験条件記号を用いた前記設計論理内部情報のシミュレーションを実行し、前記パターンによって行いたい試験内容がシミュレーション実行中に確実に発生していることを確認する試験条件充足測定を行う工程と
を含むことを特徴とするLSIの論理機能検証での試験条件充足測定方法。
In the simulation environment built on the computer, the design logic that is the verification target is simulated using the pattern created for verifying the logic function of the LSI, and it is confirmed whether the operation result is correct or not. In the logic function verification of the LSI that performs the determination,
As verification data for verifying whether or not the intended test condition is satisfied, a test condition symbol describing the test condition that is the test content without including the design logic internal information derived from the design logic is created at the time of creating the pattern Process,
Deriving and preparing the design logic internal information from the design logic;
The test condition symbol and the design logic internal information are input to the simulation environment, and the design logic internal information is simulated using the test condition symbol, and the test content desired to be performed according to the pattern is ensured during the simulation. A test condition satisfaction measurement method in the logic function verification of LSI, comprising the step of performing a test condition satisfaction measurement for confirming occurrence of the test condition.
試験条件充足測定を行う工程は、
前記試験条件記号を前記設計論理内部情報に基づきシミュレータに入力可能なHDL記述に変換する工程と、
得られた前記HDL記述によるコードを前記シミュレーション環境に入力して前記確認を行う工程と、
を含むことを特徴とする請求項1に記載のLSIの論理機能検証での試験条件充足測定方法。
The process of performing test condition satisfaction measurement is as follows:
Converting the test condition symbol into an HDL description that can be input to a simulator based on the design logic internal information;
Inputting the obtained code according to the HDL description into the simulation environment and performing the confirmation;
The test condition satisfaction measuring method in the logical function verification of the LSI according to claim 1, wherein
試験条件充足測定を行う工程は、
前記シミュレーション環境に前記試験条件記号の意味を解読するエンジンを用意する工程と、
前記エンジンが、前記試験条件記号と前記設計論理内部情報との入力を受けて、シミュレーション実行中において検証対象である設計論理の内部の観測すべきノードを観測し、それと前記試験条件記号とを照合して前記確認を行う工程と、
を含むことを特徴とする請求項1に記載のLSIの論理機能検証での試験条件充足測定方法。
The process of performing test condition satisfaction measurement is as follows:
Providing an engine for decoding the meaning of the test condition symbol in the simulation environment;
The engine receives the test condition symbol and the design logic internal information, observes a node to be observed inside the design logic to be verified during simulation, and collates it with the test condition symbol And performing the confirmation,
The test condition satisfaction measuring method in the logical function verification of the LSI according to claim 1, wherein
JP2005298991A 2005-10-13 2005-10-13 Test condition sufficiency measuring method in lsi logical function verification Pending JP2007108995A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005298991A JP2007108995A (en) 2005-10-13 2005-10-13 Test condition sufficiency measuring method in lsi logical function verification

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005298991A JP2007108995A (en) 2005-10-13 2005-10-13 Test condition sufficiency measuring method in lsi logical function verification

Publications (1)

Publication Number Publication Date
JP2007108995A true JP2007108995A (en) 2007-04-26

Family

ID=38034819

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005298991A Pending JP2007108995A (en) 2005-10-13 2005-10-13 Test condition sufficiency measuring method in lsi logical function verification

Country Status (1)

Country Link
JP (1) JP2007108995A (en)

Similar Documents

Publication Publication Date Title
JP4586926B2 (en) Circuit verification apparatus, circuit verification program, and circuit verification method
US9047260B2 (en) Model-based testing of a graphical user interface
US7124383B2 (en) Integrated proof flow system and method
JP2007172444A (en) Verification work support system and method therefor
JP4541196B2 (en) Failure detection improvement device, failure detection improvement program, failure detection improvement method
US20080244484A1 (en) Circuit design verification system, method and medium
JP4950942B2 (en) Semiconductor integrated circuit verification device
JP5259082B2 (en) Concordance verification method and apparatus
US20070266361A1 (en) Logic verification method, logic verification apparatus and recording medium
JP4831375B2 (en) Verification device, verification method, and program
JP2007108995A (en) Test condition sufficiency measuring method in lsi logical function verification
US10769332B2 (en) Automatic simulation failures analysis flow for functional verification
JP4899927B2 (en) Test pattern automatic generation method and test pattern automatic generation program
JP3169930B2 (en) Automatic test pattern generation device and automatic test pattern generation method
JP2011242888A (en) System development support device, program and method
US20240037312A1 (en) Selective scan insertion for rapid scan design verification
JP3788355B2 (en) Design verification system, design verification method, and design verification program
JP2006221368A (en) Library providing method and library providing device
US20070101226A1 (en) Method of test pattern generation in ic design simulation system
JP2015094964A (en) Adverse effect detector
JP4752404B2 (en) LSI design system, logic correction support apparatus, logic correction support method used therefor, and program thereof
JP3866268B2 (en) Mask pattern verification apparatus for semiconductor integrated circuit device
JP2006185202A (en) Circuit simulation device and circuit simulation method
CN115374735A (en) Automation for functional safety diagnostic coverage
CN113496106A (en) Method and system for validating a sequencer