JP2005032191A - Virtual tester, test device, test system for semiconductor integrated circuit, and verification method of test program for semiconductor integrated circuit - Google Patents
Virtual tester, test device, test system for semiconductor integrated circuit, and verification method of test program for semiconductor integrated circuit Download PDFInfo
- Publication number
- JP2005032191A JP2005032191A JP2003273709A JP2003273709A JP2005032191A JP 2005032191 A JP2005032191 A JP 2005032191A JP 2003273709 A JP2003273709 A JP 2003273709A JP 2003273709 A JP2003273709 A JP 2003273709A JP 2005032191 A JP2005032191 A JP 2005032191A
- Authority
- JP
- Japan
- Prior art keywords
- semiconductor integrated
- integrated circuit
- test program
- description language
- hardware description
- 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
Links
Images
Abstract
Description
本発明は、ハードウェア記述言語によりモデル化された半導体集積回路をコンピュータ上でのシミュレーションによりテストするための仮想テスタ、そのような仮想テスタをハードウェア記述言語によりコンピュータ上でモデル化したテスト装置、及びそのような仮想テスタまたはテスト装置を用いた半導体集積回路用テストシステムと、更にはそのようなシステムで使用される半導体集積回路用テストプログラムの完成度を検証するための検証方法に関する。 The present invention relates to a virtual tester for testing a semiconductor integrated circuit modeled in a hardware description language by simulation on a computer, a test apparatus in which such a virtual tester is modeled on a computer in a hardware description language, The present invention also relates to a semiconductor integrated circuit test system using such a virtual tester or test apparatus, and further to a verification method for verifying the completeness of a semiconductor integrated circuit test program used in such a system.
従来、出荷前の半導体集積回路に対しては現実の装置としての半導体集積回路用テストシステム(以下、LSIテスタという)を使用した機能テスト及び電流電圧テストが行なわれている。機能テストでは、出荷前の半導体集積回路を対象として、予め準備しておいたテストパターン信号を与え、このテストパターン信号に応じて半導体集積回路が予定通りに動作しているか否かを判定する。また、電流電圧テストでは、出荷前の半導体集積回路の各端子に対して特定の電圧を印加した際の電流を測定し、この電流値が半導体集積回路の仕様を満たしているか否かを判定するテストと、半導体集積回路の各端子に電流を印加した際の電圧を測定し、この電圧値が半導体集積回路の仕様を満たしているか否かを判定するテスト等が行なわれていた。 Conventionally, a function test and a current voltage test using a semiconductor integrated circuit test system (hereinafter referred to as an LSI tester) as an actual device have been performed on a semiconductor integrated circuit before shipment. In the functional test, a test pattern signal prepared in advance is given to a semiconductor integrated circuit before shipment, and it is determined whether or not the semiconductor integrated circuit is operating as planned according to the test pattern signal. In the current-voltage test, a current when a specific voltage is applied to each terminal of the semiconductor integrated circuit before shipment is measured, and it is determined whether or not this current value satisfies the specifications of the semiconductor integrated circuit. A test and a test for measuring a voltage when a current is applied to each terminal of the semiconductor integrated circuit and determining whether or not this voltage value satisfies the specifications of the semiconductor integrated circuit are performed.
これらの機能テスト及び電流電圧テストをLSIテスタを使用して実施するためには、そのためのテストプログラムを予め作成しておく必要がある。但し、このテストプログラムは、複数のテスト項目それぞれに関して、テスト対象の半導体集積回路に対する電源電圧値/電流値,動作条件の設定作業、及び測定結果に対するテスト結果の判定作業が必要となるため、ソースコードが長大になり、このことがテストプログラム全体のサイズを大きくしてしまうという問題があった。 In order to carry out these functional tests and current / voltage tests using an LSI tester, it is necessary to create a test program for that purpose in advance. However, since this test program requires the setting work of the power supply voltage value / current value and the operating condition for the test target semiconductor integrated circuit and the test result for the measurement result for each of the plurality of test items, There was a problem that the code lengthened and this increased the overall size of the test program.
更に、上述のようなテストプログラムは、半導体集積回路の種類それぞれに対応するように作成する必要があることは勿論のこと、半導体集積回路の一部分のみが変更された場合にも、また半導体集積回路の仕様が変更された場合にも、それぞれに対応するように新規に作成するか、または修正・変更することが必要になる。 Furthermore, the test program as described above needs to be created so as to correspond to each type of semiconductor integrated circuit, and also when only a part of the semiconductor integrated circuit is changed, the semiconductor integrated circuit Even if the specifications are changed, it is necessary to create a new one, or to modify or change the specification.
このようなテストプログラムの新規作成及び修正・変更に際しては、一般的なプログラムと同様にデバッグ作業が必要であることは勿論のこと、テストプログラムのデバッグを行なうためには、テスト対象の半導体集積回路及びLSIテスタが必要であることは言うまでもない。更に、このようなテストプログラムの新規作成及びデバッグを行なうに際しては、その開始時期と完了時期とが重要になる。即ち、新規に半導体集積回路を開発して製造する場合、開発期間を短縮すると共に効率化を図るために、現実の製品としての半導体集積回路が製造される以前にLSIテスタ及びテストプログラムの新規作成とデバッグとを完了させておく必要があるが、その時点ではテスト対象の半導体集積回路は未だ現実には存在しないという問題がある。 When such a new test program is created, modified, or changed, it is necessary to perform debugging as in the case of a general program. In addition, in order to debug a test program, a test target semiconductor integrated circuit Needless to say, an LSI tester is necessary. Furthermore, when such a new test program is created and debugged, the start time and completion time are important. In other words, when a new semiconductor integrated circuit is developed and manufactured, a new LSI tester and test program are created before the actual production of the semiconductor integrated circuit in order to shorten the development period and improve efficiency. However, there is a problem that the semiconductor integrated circuit to be tested does not actually exist at that time.
このような事情から、現実の半導体集積回路及びLSIテスタを使用せずにテストプログラムの新規作成(開発)及びデバッグを行なうための技術として仮想テスタの技術が実用化されている。 Under these circumstances, a virtual tester technique has been put to practical use as a technique for creating (developing) and debugging a test program without using an actual semiconductor integrated circuit and an LSI tester.
仮想テスタとは、コンピュータ上にテスト対象の半導体集積回路のハードウェア記述言語によるモデルとLSIテスタのハードウェア記述言語によるモデルとを準備することにより、テストプログラムの新規作成及びデバッグを実際のテスト対象の半導体集積回路及びLSIテスタを使用せずに、コンピュータ上でのシミュレーションによって実現する技術である。 A virtual tester is a test target that can be used to create a new test program and debug it by preparing a model in a hardware description language of a semiconductor integrated circuit to be tested and a model in a hardware description language of an LSI tester on a computer. This technology is realized by simulation on a computer without using the semiconductor integrated circuit and the LSI tester.
ここで、テストプログラムとは、半導体集積回路のテストを行なうLSIテスタのためのプログラムである。また、テストパターンとはテストプログラムにその一部として含まれており、テスト対象の半導体集積回路の入力端子へ入力されるデータと、これに応じてテスト対象の半導体集積回路の出力端子から出力されるべきデータ(出力期待値情報)とを対応させたデータである。従って、テスト対象の半導体集積回路へ入力されたテストパターンに応じてその半導体集積回路から出力されたデータが出力期待値情報とは異なっている場合には、半導体集積回路が不良品であるか、またはテストプログラムに欠陥(バグ)が存在するか、のいずれかであると判断することができる。 Here, the test program is a program for an LSI tester that tests a semiconductor integrated circuit. The test pattern is included in the test program as a part thereof, and is input to the input terminal of the test target semiconductor integrated circuit and output from the output terminal of the test target semiconductor integrated circuit accordingly. This data corresponds to the data to be output (output expected value information). Therefore, if the data output from the semiconductor integrated circuit according to the test pattern input to the test target semiconductor integrated circuit is different from the output expected value information, the semiconductor integrated circuit is a defective product, Alternatively, it can be determined that there is a defect (bug) in the test program.
従来の仮想テスタとしてはたとえば、IMS社が開発したDVT(Digital Virtual Tester)が知られており、コンピュータ上での機能テストにおけるテストプログラムのデバッグ環境を実現している(たとえば、非特許文献1参照)。また、他の従来技術としては、機能テスト及び電流電圧テストに関するテストプログラムのデバッグを可能にした技術も知られている(たとえば、特許文献1参照)。 As a conventional virtual tester, for example, DVT (Digital Virtual Tester) developed by IMS is known, and a test program debugging environment in a functional test on a computer is realized (for example, see Non-Patent Document 1). ). As another conventional technique, a technique that enables debugging of a test program related to a function test and a current-voltage test is also known (see, for example, Patent Document 1).
上述の非特許文献1等に開示されている従来技術の仮想テスタによるシミュレーションの実施手順の一例を図15のフローチャートを参照して説明する。
An example of a simulation execution procedure using the conventional virtual tester disclosed in Non-Patent
図15に示すように、非特許文献1に開示されている従来技術では、複数の測定項目,判定項目を含むテストプログラムが予め用意されており、それらの内からたとえば機能テストの項目を実行する部分が抽出され(ステップS1)、仮想テスタが取り込めるようにコンパイル(具体的には、「for 」、「if」等の記述を2進コード化する)され(ステップS2)、コンパイルした結果の2進コードが仮想テスタのPLIに取り込まれて実行されることによりシミュレーションが実施される(ステップS3)。
As shown in FIG. 15, in the prior art disclosed in Non-Patent
ここで注目すべき点は、この図15に示す非特許文献1等に開示されている従来技術では、ステップS1において機能テストの項目に関する部分のプログラムのみが抽出されることであり、従ってこの結果としてステップS3においてはテストプログラムの内の機能テストの部分のみが実行されてシミュレーションされることである。
What should be noted here is that, in the prior art disclosed in Non-Patent
また、図16は、半導体集積回路用テストプログラムの完成度を検証するための従来の手法を説明する模式図である。具体的には、テストプログラムTPがLSIテスタ1’にロードされ、このテストプログラムをLSIテスタ1’が実行することにより、現実の半導体集積回路7'-1, 7'-2…からなる半導体集積回路群70' を対象としてテストを行なっていた。
FIG. 16 is a schematic diagram for explaining a conventional method for verifying the completeness of a test program for a semiconductor integrated circuit. Specifically, a test program TP is loaded onto the
しかしこの従来例では、テストプログラムTPが良品と判定すべき種々の特性(設計仕様内に収まる特性)を有する現実の半導体集積回路(良品LSI)7'-1, 7'-2…7'-nが全て揃うことは現実的には有り得ない。また同様に、不良品と判定すべき種々の特性(設計仕様を外れた特性)を有する現実の半導体集積回路(不良LSI)70'-1, 70'-2 …70'-m が全て揃うことも有り得ない。 However, in this conventional example, the actual semiconductor integrated circuit (non-defective LSI) 7′-1, 7′-2... 7′- having various characteristics (characteristics that fall within the design specifications) that the test program TP should determine as non-defective In reality, it is impossible to have all n. Similarly, all of the actual semiconductor integrated circuits (defective LSI) 70'-1, 70'-2 ... 70'-m that have various characteristics (characteristics that deviate from the design specifications) to be judged as defective products are available. It is impossible.
従って、半導体集積回路群70' は、実際に製造された半導体集積回路の内の偶発的に製造された良品としての特性を有する半導体集積回路7'-1, 7'-2…7'-nと不良品としての特性を有する導体集積回路70'-1, 70-2' …70'-m とを用いて、テストプログラムの完成度を検証せざるをえない。このため、テストプログラムが、良品と判定すべき種々の特性を有する半導体集積回路の全てを実際に良品と判定し、不良品と判定すべき種々の特性を有する半導体集積回路の全てを実際に不良品と判定するか否かを確認することは現実問題としては不可能であった。また、実際に製造された半導体集積回路のそれぞれがどのような良品又は不良品と判定されるべき特性を有しているかを検査して調べる必要もある。
Therefore, the semiconductor
このように、テストプログラムのデバッグでの重要な問題は、開発したテストプログラムが、良品としての種々の条件を満たす半導体集積回路のみを良品であると判定し、良品としての種々の条件を満たさない半導体集積回路を全て不良品であると判定することが可能であるか否かである。テストプログラムのデバッグは通常はLSIテスタと現実に存在する半導体集積回路とを使用して実行されるが、現実に存在する多数の半導体集積回路から不良品としての多種多様な条件を有する半導体集積回路を準備することは現実問題として不可能である。 Thus, an important problem in debugging a test program is that the developed test program determines that only a semiconductor integrated circuit that satisfies various conditions as a non-defective product is a non-defective product and does not satisfy various conditions as a non-defective product. Whether or not it is possible to determine that all the semiconductor integrated circuits are defective. Although debugging of a test program is usually performed using an LSI tester and a semiconductor integrated circuit that actually exists, a semiconductor integrated circuit having various conditions as a defective product from a large number of actually existing semiconductor integrated circuits It is impossible as a real problem to prepare.
即ち、製造された半導体集積回路の内の偶然に発生した、または製造条件のバラツキ等に起因して発生する不良品としての多種多様な条件を有する半導体集積回路の入手を待っていたのでは、現実にはテストは行なえないという問題がある。従って、テストプログラムが想定している良品としての種々の条件を満たす半導体集積回路を全て良品であると判定し、また逆に想定している不良品としての種々の条件を満たす半導体集積回路を全て不良品であると判定することが実際に可能であるのか否かを確実に検証することは事実上は不可能である。
しかしながら、上述のような従来技術においては以下のような問題がある。まず非特許文献1に記載されているIMS社のDVT等では、図15に示したように、複数の測定項目,判定項目を含むテストプログラムの内の機能テストのみを対象としてる。IMS社のDVTでは具体的には、入出力端子の入力信号の変化タイミングと出力端子の信号取り込みタイミングとを読み取り、テストプログラム内に記述されているテストパターンのデータと対照することにより、シミュレーションによる機能テストを実現している。
However, the conventional techniques as described above have the following problems. First, IMS DVT described in Non-Patent
従って、この非特許文献1に記載されている従来技術では、テスト対象の半導体集積回路の機能テストを仮想テスタ上でシミュレーションすることは可能ではあるが、他のテスト、たとえば電流電圧テストに対する考慮がなされておらず、従ってテストプログラムに電源回路及び電流電圧測定回路の機能に関する記述が無いため、電流電圧テストを実施することができない。このため、非特許文献1に記載されている技術では、テストプログラムに記述されたテスタ動作の全てを正確にコンピュータ上でシミュレーションすることが出来ない。
Therefore, in the prior art described in
一方、特許文献1に記載されている発明は、LSIテスタをコンピュータでシミュレーション可能なハードウェア記述言語によりモデル化して構築した仮想テスタであり、機能テスト及び電流電圧テストのテストプログラムのデバッグを現実の半導体集積回路及びLSIテスタを使用する必要なしに可能としている。しかし、この特許文献1には、仮想テスタをHDL記述を用いて構築し、機能テスト及び電流電圧テストを実施する、と記載されているのみであり、具体的な仮想テスタの実現方法が開示されていない。
On the other hand, the invention described in
更に、テストプログラムが、良品としての種々の条件を満たす半導体集積回路のみを良品であると確実に判定し、良品としての種々の条件を満たさない半導体集積回路を全て不良品であると確実に判定することが可能であるか否かを検証する必要がある。しかし、製造された半導体集積回路の内の偶然に発生した、または製造条件のバラツキに起因して発生する不良品としての多種多様な条件を有する半導体集積回路の入手を待っていたのでは、現実にはテストは行なえないという問題がある。従って、テストプログラムが想定している良品としての種々の条件を満たす半導体集積回路を全て良品であると判定し、また逆に想定している不良品としての種々の条件を満たす半導体集積回路を全て不良品であると判定することが実際に可能であるのか否かを確実に検証することは事実上は不可能であるという問題があった。 Furthermore, the test program reliably determines that only semiconductor integrated circuits that satisfy various conditions as good products are good products, and reliably determines that all semiconductor integrated circuits that do not satisfy various conditions as good products are defective products. It is necessary to verify whether it is possible. However, waiting for the acquisition of a semiconductor integrated circuit having various conditions as a defective product that occurred by chance among the manufactured semiconductor integrated circuits or occurred due to variations in manufacturing conditions, Has the problem that it cannot be tested. Therefore, it is determined that all semiconductor integrated circuits that satisfy various conditions as good products assumed by the test program are good products, and conversely, all semiconductor integrated circuits that satisfy various conditions as defective products that are assumed. There has been a problem that it is practically impossible to reliably verify whether it is actually possible to determine that the product is defective.
本発明は以上のような事情に鑑みてなされたものであり、第1の目的は、仮想テスタをハードウェア記述言語によりモデル化する際のLSIテスタの構成と、それにより電流電圧テストを実現することが可能な仮想テスタ及びそのような仮想テスタをコンピュータ上でハードウェア記述言語により実現したテスト装置の提供にある。 The present invention has been made in view of the above circumstances, and a first object is to realize a configuration of an LSI tester when a virtual tester is modeled by a hardware description language, and thereby a current voltage test. It is an object of the present invention to provide a virtual tester and a test apparatus that implements such a virtual tester on a computer using a hardware description language.
また本発明の第2の目的は、第1の目的により実現される仮想テスタ及びテスト装置により、ハードウェア記述言語によりモデル化された半導体集積回路をテストして、テストプログラムにバグが存在するか否かを容易に判定可能な半導体集積回路用テストシステムの提供にある。 A second object of the present invention is to test a semiconductor integrated circuit modeled in a hardware description language by a virtual tester and a test apparatus realized by the first object, and to check whether a bug exists in the test program. An object of the present invention is to provide a test system for a semiconductor integrated circuit that can easily determine whether or not.
また本発明の第3の目的は、テストプログラムが想定している良品を全て良品であると判定し、また逆にテストプログラムが想定している不良品を全て不良品であると判定することが実際に可能であるのか否かを確実に検証することが可能な半導体集積回路用テストプログラムの検証方法の提供にある。 The third object of the present invention is to determine that all non-defective products assumed by the test program are non-defective products, and conversely, determine that all defective products assumed by the test program are defective products. An object of the present invention is to provide a method for verifying a test program for a semiconductor integrated circuit capable of surely verifying whether or not it is actually possible.
本発明に係る仮想テスタは、ハードウェア記述言語によりモデル化された半導体集積回路をテスト用プログラムに従ってコンピュータ上で動作させてテストするようにハードウェア記述言語によりモデル化した仮想テスタにおいて、前記テストプログラムを格納するための機能をハードウェア記述言語によりモデル化したテストプログラム格納回路と、前記テストプログラムを実行するための機能をハードウェア記述言語によりモデル化したテストプログラム実行回路と、前記ハードウェア記述言語によりモデル化されたテストプログラム格納回路及びテストプログラム実行回路を制御するための機能をハードウェア記述言語によりモデル化した制御回路とを含むことを特徴とする。 The virtual tester according to the present invention is the virtual tester modeled in the hardware description language so that the semiconductor integrated circuit modeled in the hardware description language is operated and tested on a computer according to the test program. A test program storage circuit in which a function for storing a program is modeled by a hardware description language, a test program execution circuit in which a function for executing the test program is modeled by a hardware description language, and the hardware description language And a control circuit in which a function for controlling the test program storage circuit and the test program execution circuit modeled by the hardware description language is modeled.
また本発明に係るテスト装置は、ハードウェア記述言語によりコンピュータ上でモデル化された半導体集積回路をテスト用プログラムに従ってコンピュータ上で動作させてテストする仮想テスタをハードウェア記述言語によりコンピュータ上でモデル化したテスト装置において、前記テストプログラムを格納するための機能をハードウェア記述言語によりコンピュータ上でモデル化したテストプログラム格納手段と、前記テストプログラムを実行するための機能をハードウェア記述言語によりコンピュータ上でモデル化したテストプログラム実行手段と、前記テストプログラム格納手段及びテストプログラム実行手段を制御するための機能をハードウェア記述言語によりコンピュータ上でモデル化した制御手段とを備えることを特徴とする。 The test apparatus according to the present invention models a virtual tester for testing a semiconductor integrated circuit modeled on a computer in a hardware description language by operating the computer in accordance with a test program on the computer in a hardware description language. In the test apparatus, a test program storage means in which a function for storing the test program is modeled on a computer by a hardware description language, and a function for executing the test program on the computer by a hardware description language. It is characterized by comprising a modeled test program execution means, and a control means in which functions for controlling the test program storage means and the test program execution means are modeled on a computer by a hardware description language.
このような本発明の仮想テスタ(テスト装置)では、プログラム実行回路(プログラム実行手段)とプログラム格納回路(プログラム格納手段)との機能がハードウェア記述言語でモデル化されているため、テストプログラムをコンピュータ上でシミュレーションさせることがより容易になると共に、テストプログラムに記述されている全てのテス項目の動作が正確にシミュレーションされる。 In such a virtual tester (test apparatus) of the present invention, since the functions of the program execution circuit (program execution means) and the program storage circuit (program storage means) are modeled in a hardware description language, The simulation on the computer becomes easier, and the operation of all test items described in the test program is accurately simulated.
また本発明に係る仮想テスタは、上述の仮想テスタの発明において、前記テストプログラム格納回路に格納されているテストプログラムに基づいて電源電圧値及び/又は電流値を表わすアナログ値を生成する機能をハードウェア記述言語によりモデル化した電源回路を更に含むことを特徴とする。 The virtual tester according to the present invention has a function of generating an analog value representing a power supply voltage value and / or a current value based on a test program stored in the test program storage circuit in the above-described virtual tester invention. And a power supply circuit modeled by a hardware description language.
また本発明に係るテスト装置は、上述のテスト装置の発明において、前記テストプログラム格納手段に格納されているテストプログラムに基づいて電源電圧値及び/又は電流値を表わすアナログ値を生成する機能をハードウェア記述言語によりコンピュータ上でモデル化した電源手段を更に備えたことを特徴とする。 The test apparatus according to the present invention has a function of generating an analog value representing a power supply voltage value and / or a current value based on a test program stored in the test program storage means in the above-described test apparatus invention. And a power supply means modeled on a computer by a hardware description language.
このような本発明の仮想テスタ(テスト装置)では、ハードウェア記述言語でその機能がモデル化された電源回路(電源手段)により、電源電圧値,電流値をアナログ値として扱ったシミュレーションが行われる。 In such a virtual tester (test apparatus) of the present invention, a simulation is performed in which the power supply voltage value and the current value are treated as analog values by a power supply circuit (power supply means) whose function is modeled in a hardware description language. .
更に本発明に係る仮想テスタは、上述の仮想テスタの発明において、前記テストプログラムの実行に応じて前記半導体集積回路に電流及び/又は電圧値を印加する機能と、前記テストプログラムの実行に応じて前記半導体集積回路が出力した電流及び/又は電圧値を表わすアナログ値を取り込む機能と、取り込んだアナログ値を前記テストプログラム格納回路に格納されているテストプログラムで処理する機能とをハードウェア記述言語によりモデル化した電流電圧測定回路を更に含むことを特徴とする。 Furthermore, the virtual tester according to the present invention is the above-described virtual tester invention, wherein a function of applying a current and / or voltage value to the semiconductor integrated circuit according to the execution of the test program, and a function according to the execution of the test program. A function that takes in an analog value representing a current and / or voltage value output from the semiconductor integrated circuit and a function that processes the taken-in analog value with a test program stored in the test program storage circuit using a hardware description language Further comprising a modeled current voltage measuring circuit.
更に本発明に係るテスト装置は、上述のテスト装置の発明において、前記テストプログラムの実行に応じて前記半導体集積回路に電流及び/又は電圧値を印加する機能と、前記テストプログラムの実行に応じて前記半導体集積回路が出力した電流及び/又は電圧値を表わすアナログ値を取り込む機能と、取り込んだアナログ値を前記テストプログラム格納手段に格納されているテストプログラムで処理する機能とをハードウェア記述言語によりコンピュータ上でモデル化した電流電圧測定手段を更に備えたことを特徴とする。 The test apparatus according to the present invention further includes a function of applying a current and / or voltage value to the semiconductor integrated circuit according to the execution of the test program, and a function according to the execution of the test program. A function for taking in an analog value representing a current and / or voltage value output from the semiconductor integrated circuit and a function for processing the taken-in analog value with a test program stored in the test program storage means by a hardware description language It further comprises current voltage measuring means modeled on a computer.
このような本発明の仮想テスタ(テスト装置)では、その機能をハードウェア記述言語でモデル化された電流電圧測定回路(電流電圧測定手段)により、アナログ値を扱うシミュレーションが可能になる。 In such a virtual tester (test apparatus) of the present invention, a simulation for handling an analog value can be performed by a current voltage measurement circuit (current voltage measurement means) whose function is modeled in a hardware description language.
また、本発明に係る半導体集積回路用テストシステムは、ハードウェア記述言語によりモデル化された半導体集積回路をハードウェア記述言語によりモデル化された仮想テスタによりコンピュータ上でテストプログラムに従って動作させてテストする半導体集積回路用テストシステムにおいて、前記仮想テスタは、前記テストプログラムを格納するための機能をハードウェア記述言語によりモデル化したテストプログラム格納回路と、前記テストプログラムを実行するための機能をハードウェア記述言語によりモデル化したテストプログラム実行回路と、前記ハードウェア記述言語によりモデル化されたテストプログラム格納回路及びテストプログラム実行回路を制御するための機能をハードウェア記述言語によりモデル化した制御回路とを含み、前記半導体集積回路を前記テストプログラムに従って所定のテスト状態に設定するための条件設定信号を発生する機能をハードウェア記述言語によりモデル化してあり、前記条件設定信号が与えられることにより与えられた条件設定信号に応じた第1及び第2の電流及び/又は電圧値が設定される機能と、前記半導体集積回路が前記条件設定信号に応じて前記所定のテスト状態に設定されたか否かを検出する機能と、該検出結果に応じて前記第1又は第2の電流及び/又は電圧値を生成する機能とをハードウェア記述言語によりモデル化した状態検出回路を含み、前記仮想テスタは、前記状態検出回路が生成した電流及び/又は電圧値に基づいて前記テスト用プログラム中のバグの存否を判定するようにしてあることを特徴とする。 The semiconductor integrated circuit test system according to the present invention tests a semiconductor integrated circuit modeled in a hardware description language by operating it on a computer according to a test program using a virtual tester modeled in the hardware description language. In the test system for a semiconductor integrated circuit, the virtual tester includes a test program storage circuit in which a function for storing the test program is modeled by a hardware description language, and a function for executing the test program is described in hardware. A test program execution circuit modeled by a language, a test program storage circuit modeled by the hardware description language, and a control circuit modeled by a hardware description language for controlling the test program execution circuit The function for generating a condition setting signal for setting the semiconductor integrated circuit to a predetermined test state in accordance with the test program is modeled by a hardware description language, and the condition setting signal is given. A function of setting the first and second current and / or voltage values according to the condition setting signal and detecting whether or not the semiconductor integrated circuit is set to the predetermined test state according to the condition setting signal And a state detection circuit in which a function for generating the first or second current and / or voltage value according to the detection result is modeled by a hardware description language, and the virtual tester includes the state The presence or absence of a bug in the test program is determined based on the current and / or voltage value generated by the detection circuit.
また、本発明に係る半導体集積回路用テストシステムは、ハードウェア記述言語によりコンピュータ上でモデル化された半導体集積回路をテスト用プログラムに従ってコンピュータ上で動作させてテストする仮想テスタをハードウェア記述言語によりコンピュータ上でモデル化したテスト装置を備えた半導体集積回路用テストシステムにおいて、前記テスト装置は、前記テストプログラムを格納するための機能をハードウェア記述言語によりコンピュータ上でモデル化したテストプログラム格納手段と、前記テストプログラムを実行するための機能をハードウェア記述言語によりコンピュータ上でモデル化したテストプログラム実行手段と、前記テストプログラム格納手段及びテストプログラム実行手段を制御するための機能をハードウェア記述言語によりコンピュータ上でモデル化した制御手段と、前記半導体集積回路を前記テストプログラムに従って所定のテスト状態に設定するための条件設定信号を発生する機能をハードウェア記述言語によりコンピュータ上でモデル化した手段とを有し、前記条件設定信号が与えられることにより与えられた条件設定信号に応じた第1及び第2の電流及び/又は電圧値が設定される機能と、前記半導体集積回路が前記条件設定信号に応じて前記所定のテスト状態に設定されたか否かを検出する機能と、該検出結果に応じて前記第1又は第2の電流及び/又は電圧値を生成する機能とをハードウェア記述言語によりコンピュータ上でモデル化した状態検出手段を備え、前記テスト装置は、前記状態検出手段が生成した電流及び/又は電圧値に基づいて前記テスト用プログラム中のバグの存否を判定するようにしてあることを特徴とする。 The semiconductor integrated circuit test system according to the present invention also provides a virtual tester for testing by operating a semiconductor integrated circuit modeled on a computer in a hardware description language on the computer according to the test program. In a test system for a semiconductor integrated circuit provided with a test device modeled on a computer, the test device comprises a test program storage means in which a function for storing the test program is modeled on a computer by a hardware description language , A test program execution means in which a function for executing the test program is modeled on a computer by a hardware description language, and a function for controlling the test program storage means and the test program execution means. Control means modeled on a computer by a predicate language and a function for generating a condition setting signal for setting the semiconductor integrated circuit to a predetermined test state according to the test program are modeled on a computer by a hardware description language Means for setting the first and second currents and / or voltage values according to the condition setting signal given by the condition setting signal, and the semiconductor integrated circuit has the condition A hardware description of a function for detecting whether or not the predetermined test state is set according to a setting signal and a function for generating the first or second current and / or voltage value according to the detection result A state detection unit modeled on a computer by a language, and the test apparatus is configured to generate a current and / or voltage value generated by the state detection unit. Zui and characterized that you have to determine the presence or absence of bugs in the test program.
このような本発明に係る半導体集積回路用テストシステムでは、プログラム実行回路(プログラム実行手段)とプログラム格納回路(プログラム格納手段)とがハードウェア記述言語でモデル化されているため、テストプログラムをコンピュータ上でシミュレーションさせることがより容易になると共に、テストプログラムに記述されている全てのテス項目の動作が正確にシミュレーションされる。更に、半導体集積回路が条件設定信号に応じて所定のテスト状態に設定されたか否かが検出され、この検出結果に応じて予め設定されている電流電圧値が生成されるので、仮想テスタ(テスト装置)がこの電流電圧値に基づいてテスト用プログラム中のバグの存否を判定することが可能になる。 In such a semiconductor integrated circuit test system according to the present invention, the program execution circuit (program execution means) and the program storage circuit (program storage means) are modeled in a hardware description language. In addition to making the above simulation easier, the operation of all test items described in the test program is accurately simulated. Further, it is detected whether or not the semiconductor integrated circuit is set to a predetermined test state according to the condition setting signal, and a preset current voltage value is generated according to the detection result, so that the virtual tester (test The apparatus) can determine whether or not there is a bug in the test program based on the current voltage value.
また本発明に係る半導体集積回路用テストシステムは、上述の半導体集積回路用テストシステムの発明において、前記仮想テスタは、前記テストプログラム格納回路に格納されているテストプログラムに基づいて電源電圧値及び/又は電流値を表わすアナログ値を生成する機能をハードウェア記述言語によりモデル化した電源回路を更に含み、前記状態検出回路は、前記電源回路が生成した電源電圧値及び/又は電流値のアナログ値が前記テストプログラムに基づいて生成されるべき電源電圧値及び/又は電流値を表わすアナログ値に対して所定範囲内であるか否かを判定する機能をハードウェア記述言語によりモデル化してあり、前記仮想テスタは、前記状態検出回路の判定結果に基づいて前記テスト用プログラム中のバグの存否を判定するようにしてあることを特徴とする。 The semiconductor integrated circuit test system according to the present invention is the above-described semiconductor integrated circuit test system invention, wherein the virtual tester is configured to supply power supply voltage values and / or values based on a test program stored in the test program storage circuit. Or a power supply circuit in which a function for generating an analog value representing a current value is modeled by a hardware description language, and the state detection circuit has an analog value of a power supply voltage value and / or a current value generated by the power supply circuit. A function for determining whether or not an analog value representing a power supply voltage value and / or current value to be generated based on the test program is within a predetermined range is modeled by a hardware description language, and the virtual The tester determines whether or not there is a bug in the test program based on the determination result of the state detection circuit. Characterized that you have manner.
また本発明に係る半導体集積回路用テストシステムは、上述の半導体集積回路用テストシステムの発明において、前記テスト装置は、前記テストプログラム格納手段に格納されているテストプログラムに基づいて電源電圧値及び/又は電流値を表わすアナログ値を生成する機能をハードウェア記述言語によりコンピュータ上でモデル化した電源手段を更に有し、前記状態検出手段は、前記電源手段が生成した電源電圧値及び/又は電流値のアナログ値が前記テストプログラムに基づいて生成されるべき電源電圧値及び/又は電流値を表わすアナログ値に対して所定範囲内であるか否かを判定する機能をハードウェア記述言語によりコンピュータ上でモデル化した手段を有し、前記テスト装置は、前記状態検出手段の判定結果に基づいて前記テスト用プログラム中のバグの存否を判定するようにしてあることを特徴とする。 The semiconductor integrated circuit test system according to the present invention is the above-described semiconductor integrated circuit test system invention, wherein the test apparatus is configured to supply power supply voltage values and / or values based on a test program stored in the test program storage means. Alternatively, it further includes power supply means that has a function of generating an analog value representing a current value modeled on a computer by a hardware description language, and the state detection means includes a power supply voltage value and / or current value generated by the power supply means. A function for determining whether or not an analog value of a power supply voltage value and / or current value to be generated based on the test program is within a predetermined range with respect to the analog value on the computer using a hardware description language The test apparatus includes a modeled means, and the test apparatus is configured to perform the test based on a determination result of the state detection means. Characterized in that you have to determine the presence or absence of bugs in Preparative program.
このような本発明に係る半導体集積回路用テストシステムでは、その機能をハードウェア記述言語でモデル化された電源回路(電源手段)により、電源電圧値,電流値をアナログ値として扱ったシミュレーションが行われると共に、アナログ値として扱われる電源電圧値,電流値に基づいてテスト用プログラム中のバグの存否を判定することが可能になる。 In such a semiconductor integrated circuit test system according to the present invention, a simulation is performed in which the power supply voltage value and the current value are treated as analog values by a power supply circuit (power supply means) whose function is modeled in a hardware description language. In addition, it is possible to determine the presence or absence of a bug in the test program based on the power supply voltage value and current value that are treated as analog values.
また本発明に係る半導体集積回路用テストシステムは、上述の半導体集積回路用テストシステムの発明において、前記状態検出回路は、前記半導体集積回路が前記テストプログラムの実行に応じて出力した電流及び/又は電圧値を表わすアナログ値を取り込む機能と、前記テストプログラムの実行に応じて出力されるべき電流及び/又は電圧値に対して所定範囲内であるか否かを判定する機能と、該判定結果に応じて前記第1又は第2の電流及び/又は電圧値を生成する機能とをハードウェア記述言語によりモデル化してあり、前記電流電圧測定回路は、前記状態検出回路が生成した電流及び/又は電圧値を表わすアナログ値に基づいて前記テスト用プログラム中のバグの存否を判定するようにしてあることを特徴とする。 The semiconductor integrated circuit test system according to the present invention is the above-described semiconductor integrated circuit test system invention, wherein the state detection circuit includes the current output by the semiconductor integrated circuit in response to execution of the test program and / or A function of taking in an analog value representing a voltage value, a function of determining whether or not a current and / or voltage value to be output in accordance with execution of the test program is within a predetermined range, and a result of the determination Accordingly, the function of generating the first or second current and / or voltage value is modeled by a hardware description language, and the current / voltage measurement circuit is configured to generate the current and / or voltage generated by the state detection circuit. The presence or absence of a bug in the test program is determined based on an analog value representing the value.
また本発明に係る半導体集積回路用テストシステムは、上述の半導体集積回路用テストシステムで発明において、前記状態検出手段は、前記半導体集積回路が前記テストプログラムの実行に応じて出力した電流及び/又は電圧値を表わすアナログ値を取り込む機能と、前記テストプログラムの実行に応じて出力されるべき電流及び/又は電圧値に対して所定範囲内であるか否かを判定する機能と、該判定結果に応じて前記第1又は第2の電流及び/又は電圧値を生成する機能とをハードウェア記述言語によりコンピュータ上でモデル化した手段を有し、前記電流電圧測定手段は、前記状態検出手段が生成した電流及び/又は電圧値を表わすアナログ値に基づいて前記テスト用プログラム中のバグの存否を判定するようにしてあることを特徴とする。 The semiconductor integrated circuit test system according to the present invention is the above-described semiconductor integrated circuit test system, wherein the state detecting means includes a current output by the semiconductor integrated circuit in response to execution of the test program and / or A function of taking in an analog value representing a voltage value, a function of determining whether or not a current and / or voltage value to be output in accordance with execution of the test program is within a predetermined range, and a result of the determination In response, the first or second current and / or voltage value generating function is modeled on a computer using a hardware description language, and the current / voltage measuring means is generated by the state detecting means. The presence or absence of a bug in the test program is determined on the basis of an analog value representing a current and / or voltage value. That.
このような本発明に係る半導体集積回路用テストシステムでは、その機能をハードウェア記述言語でモデル化された電流電圧測定回路(電流電圧測定手段)により、アナログ値を扱うシミュレーションが可能になると共に、扱われるアナログ値に基づいてテスト用プログラム中のバグの存否を判定することが可能になる。 In such a test system for a semiconductor integrated circuit according to the present invention, the current / voltage measurement circuit (current / voltage measurement means) whose function is modeled in a hardware description language enables simulation to handle an analog value, It is possible to determine the presence or absence of a bug in the test program based on the analog value to be handled.
また本発明に係る半導体集積回路用テストシステムは、上述の半導体集積回路用テストシステムの発明において、前記半導体集積回路はハードウェア記述言語によりモデル化された複数の論理ブロックを含み、前記複数の論理ブロックの内のテスト対象の論理ブロックの前後の論理ブロックでの動作に応じて前記テスト対象の論理ブロックへ前記仮想テスタからの信号を入力させる機能と、入力された信号に応じて出力される電流及び/又は電圧値を読み出す機能とをハードウェア記述言語によりモデル化した信号伝達回路を含むことを特徴とする。 The semiconductor integrated circuit test system according to the present invention is the above-described semiconductor integrated circuit test system invention, wherein the semiconductor integrated circuit includes a plurality of logic blocks modeled in a hardware description language, A function for inputting a signal from the virtual tester to the logical block to be tested according to an operation in a logical block before and after the logical block to be tested in the block, and a current output in accordance with the input signal And / or a signal transmission circuit in which a function of reading a voltage value is modeled by a hardware description language.
また本発明に係る半導体集積回路用テストシステムは、上述の半導体集積回路用テストシステムの発明において、前記半導体集積回路はハードウェア記述言語によりコンピュータ上でモデル化された複数の論理ブロックを含み、前記複数の論理ブロックの内のテスト対象の論理ブロックの前後の論理ブロックでの動作に応じて前記テスト対象の論理ブロックへ前記仮想テスタからの信号を入力させる機能と、入力された信号に応じて出力される電流及び/又は電圧値を読み出す機能とをハードウェア記述言語によりコンピュータ上でモデル化した信号伝達手段を有することを特徴とする。 The semiconductor integrated circuit test system according to the present invention is the above-described semiconductor integrated circuit test system invention, wherein the semiconductor integrated circuit includes a plurality of logic blocks modeled on a computer by a hardware description language, A function of inputting a signal from the virtual tester to the logical block to be tested according to an operation in a logical block before and after the logical block to be tested among a plurality of logical blocks, and an output according to the input signal And a function of reading out a current and / or voltage value to be signaled on a computer modeled by a hardware description language.
このような本発明に係る半導体集積回路用テストシステムでは、半導体集積回路に含まれているハードウェア記述言語でモデル化された複数の論理ブロックの内のテスト対象の論理ブロックの前後の論理ブロックでの動作を反映させた状態でテスト対象の論理ブロックへ仮想テスタ(テスト装置)からの信号が入力され、この信号に応じて出力される電流電圧値に基づいて仮想テスタ(テスト装置)がテスト用プログラム中のバグの存否を判定することが可能になる。 In such a test system for a semiconductor integrated circuit according to the present invention, the logic blocks before and after the test target logic block among the plurality of logic blocks modeled in the hardware description language included in the semiconductor integrated circuit are used. A signal from the virtual tester (test device) is input to the logic block to be tested in a state reflecting the operation of the test, and the virtual tester (test device) is used for testing based on the current voltage value output in response to this signal. It becomes possible to determine the presence or absence of bugs in the program.
また本発明に係る半導体集積回路用テストシステムは、上述の半導体集積回路用テストシステムの発明において、前記半導体集積回路が前記テストプログラムにより良品であると判定されるようにハードウェア記述言語によりモデル化されていることを特徴とする。 The semiconductor integrated circuit test system according to the present invention is modeled by a hardware description language so that the semiconductor integrated circuit is determined to be non-defective by the test program in the above-described semiconductor integrated circuit test system invention. It is characterized by being.
また本発明に係る半導体集積回路用テストシステムは、上述の半導体集積回路用テストシステムの発明において、前記半導体集積回路が前記テストプログラムにより良品であると判定されるようにハードウェア記述言語によりコンピュータ上でモデル化されていることを特徴とする。 The semiconductor integrated circuit test system according to the present invention is the above-described semiconductor integrated circuit test system invention, wherein the semiconductor integrated circuit is determined to be non-defective by the test program on a computer using a hardware description language. It is characterized by being modeled by.
このような本発明に係る半導体集積回路用テストシステムでは、半導体集積回路がテストプログラムにより良品であると判定されるようにハードウェア記述言語でモデル化されているため、テストプログラムによるテストで不良品であると判定された場合には、テストプログラムの方にバグがあると判断可能になる。 In such a test system for a semiconductor integrated circuit according to the present invention, since the semiconductor integrated circuit is modeled in a hardware description language so that it is determined to be a non-defective product by the test program, the defective product is tested by the test program. If it is determined that there is a bug, it can be determined that there is a bug in the test program.
また本発明に係る仮想テスタ及び半導体集積回路用テストシステムは、上記の仮想テスタ及び半導体集積回路用テストシステムの各発明において、前記制御回路を、ハードウェア記述言語によりモデル化されたFPGA(Field Programmable Gate Array)のハードウェア記述言語及び/又はネットリストを用いて構成してあることを特徴とする。 A virtual tester and a test system for a semiconductor integrated circuit according to the present invention are the same as the virtual tester and the test system for a semiconductor integrated circuit in the invention described above, wherein the control circuit is an FPGA (Field Programmable) modeled in a hardware description language. Gate Array) hardware description language and / or netlist.
また本発明に係るテスト装置及び半導体集積回路用テストシステムは、上記のテスト装置及び半導体集積回路用テストシステムの各発明において、前記制御手段を、ハードウェア記述言語によりコンピュータ上でモデル化されたFPGA(Field Programmable Gate Array)のハードウェア記述言語及び/又はネットリストを用いて構成してあることを特徴とする。 A test apparatus and a semiconductor integrated circuit test system according to the present invention include an FPGA in which the control means is modeled on a computer in a hardware description language in each of the test apparatus and the semiconductor integrated circuit test system. (Field Programmable Gate Array) hardware description language and / or netlist.
このような本発明のテスト装置及び半導体集積回路用テストシステムでは、FPGAのハードウェア記述言語によるモデルが用いられ、そこで用いられたネットリストがそのまま用いられることにより、仮想テスタのFPGAが開発される。 In such a test apparatus and test system for a semiconductor integrated circuit according to the present invention, an FPGA hardware description language model is used, and the netlist used there is used as it is, whereby a virtual tester FPGA is developed. .
更に本発明に係る半導体集積回路用テストプログラムの検証方法は、半導体集積回路テストシステムとテスト対象の半導体集積回路とをハードウェア記述言語によりモデル化してコンピュータ上で動作させることにより、前記半導体集積回路用のテストプログラムをデバッグするための半導体集積回路用テストプログラムの完成度を検証する方法において、検証対象の半導体集積回路用テストプログラムにより良品と判定されるようにハードウェア記述言語によりモデル化された半導体集積回路と、検証対象の半導体集積回路用テストプログラムにより不良品と判定されるようにハードウェア記述言語によりモデル化された半導体集積回路とを用意し、前記検証対象の半導体集積回路用テストプログラムに従って、前記良品と判定されるようにハードウェア記述言語によりモデル化された半導体集積回路及び不良品と判定されるようにハードウェア記述言語によりモデル化された半導体集積回路をテストし、前記良品と判定されるようにハードウェア記述言語によりモデル化された半導体集積回路が良品と判定され、前記不良品と判定されるようにハードウェア記述言語によりモデル化された半導体集積回路が不良品と判定された場合に、前記検証対象の半導体集積回路用テストプログラムが完全であると判定することを特徴とする。 The semiconductor integrated circuit test program verification method according to the present invention further comprises: modeling a semiconductor integrated circuit test system and a semiconductor integrated circuit to be tested with a hardware description language and operating the semiconductor integrated circuit on a computer. In a method for verifying the completeness of a test program for a semiconductor integrated circuit for debugging a test program for a semiconductor, it is modeled by a hardware description language so that the test program for a semiconductor integrated circuit to be verified is judged as a non-defective product A semiconductor integrated circuit and a semiconductor integrated circuit modeled in a hardware description language so as to be determined as defective by the semiconductor integrated circuit test program to be verified are prepared. According to the above The semiconductor integrated circuit modeled by the hardware description language is tested so as to be judged as a defective product and the semiconductor integrated circuit modeled by the hardware description language. When the modeled semiconductor integrated circuit is determined to be a non-defective product, and the semiconductor integrated circuit modeled by a hardware description language is determined to be a defective product so as to be determined as the defective product, the semiconductor integrated circuit to be verified It is determined that the circuit test program is complete.
このような本発明の半導体集積回路用テストプログラムの検証方法では、良品と判定されるようにハードウェア記述言語でモデル化された半導体集積回路が良品と判定され、不良品と判定されるようにハードウェア記述言語でモデル化された半導体集積回路が不良品と判定された場合に、テストプログラムが完全であると判定される。 In such a semiconductor integrated circuit test program verification method of the present invention, a semiconductor integrated circuit modeled in a hardware description language so as to be determined as a non-defective product is determined as a non-defective product and is determined as a defective product. When the semiconductor integrated circuit modeled in the hardware description language is determined to be defective, it is determined that the test program is complete.
本発明の仮想テスタによれば、プログラム実行回路とプログラム格納回路とをハードウェア記述言語でモデル化したので、テストプログラムの全てをハードウェア記述言語でモデル化したプログラム格納回路(仮想RAM)に格納することができる。また本発明のテスト装置によれば、プログラム実行手段とプログラム格納手段とをハードウェア記述言語によりコンピュータ上でモデル化したので、テストプログラムの全てをハードウェア記述言語でモデル化したプログラム格納手段(仮想RAM)に格納することができる。従って、本発明の仮想テスタ及びテスト装置では、コンピュータ上でシミュレーションさせることがより容易になると共に、テストプログラムに記述されているテスト動作を正確にシミュレーションすることが可能な仮想テスタが実現される。 According to the virtual tester of the present invention, since the program execution circuit and the program storage circuit are modeled in the hardware description language, all the test programs are stored in the program storage circuit (virtual RAM) modeled in the hardware description language. can do. Further, according to the test apparatus of the present invention, since the program execution means and the program storage means are modeled on the computer by the hardware description language, the program storage means (virtual storage) in which all the test programs are modeled by the hardware description language. RAM). Therefore, in the virtual tester and the test apparatus of the present invention, it is easier to simulate on the computer, and a virtual tester capable of accurately simulating the test operation described in the test program is realized.
また本発明に係る仮想テスタによれば、上述の発明において、ハードウェア記述言語でモデル化された電源回路(仮想電源回路)により、電源電圧値をアナログ値として扱うシミュレーションが可能な仮想テスタが実現される。また、本発明に係るテスト装置によれば、上述の発明において、ハードウェア記述言語によりコンピュータ上でモデル化された電源手段(仮想電源回路)により、電源電圧値をアナログ値として扱うシミュレーションが可能なテスト装置が実現される。これにより、従来技術では不可能であった論理テスト以外のテスト項目に対して仮想テスタ技術の適用が可能となり、全てのテストプログラムを実行することが可能となる。 Further, according to the virtual tester of the present invention, in the above-described invention, a virtual tester capable of simulating the power supply voltage value as an analog value is realized by the power supply circuit (virtual power supply circuit) modeled in the hardware description language. Is done. Further, according to the test apparatus of the present invention, in the above-described invention, the power supply means (virtual power supply circuit) modeled on the computer by the hardware description language can be simulated to handle the power supply voltage value as an analog value. A test device is realized. As a result, the virtual tester technology can be applied to test items other than the logical test, which is impossible with the conventional technology, and all test programs can be executed.
更に本発明に係る仮想テスタによれば、上述の発明において、ハードウェア記述言語でモデル化された電流電圧測定回路(仮想電流電圧測定回路)により、アナログ値を扱うシミュレーションが可能な仮想テスタが実現される。更に、本発明に係るテスト装置によれば、上述の発明において、ハードウェア記述言語によりコンピュータ上でモデル化された電流電圧測定手段(仮想電流電圧測定回路)により、アナログ値を扱うシミュレーションが可能なテスト装置が実現される。これにより、従来技術では不可能であった論理テスト以外のテスト項目に対して仮想テスタ技術の適用が可能となり、全てのテストプログラムを実行することが可能となった。 Furthermore, according to the virtual tester according to the present invention, in the above-described invention, a virtual tester capable of simulating handling an analog value is realized by a current voltage measurement circuit (virtual current voltage measurement circuit) modeled in a hardware description language. Is done. Furthermore, according to the test apparatus according to the present invention, in the above-described invention, a simulation for handling an analog value is possible by means of current voltage measurement means (virtual current voltage measurement circuit) modeled on a computer by a hardware description language. A test device is realized. As a result, the virtual tester technology can be applied to test items other than the logical test, which is impossible with the conventional technology, and all test programs can be executed.
また、本発明に係る半導体集積回路用テストシステムによれば、上述の仮想テスタの効果に加えて、半導体集積回路が条件設定信号に応じて所定のテスト状態に設定されたか否かが検出され、この検出結果に応じて予め設定されている電流電圧値が生成されるので、仮想テスタ(テスト装置)がこの電流電圧値に基づいてテスト用プログラム中のバグの存否を判定することが可能になり、デバッグが容易に行なえる。 Further, according to the test system for a semiconductor integrated circuit according to the present invention, in addition to the effect of the virtual tester described above, it is detected whether or not the semiconductor integrated circuit is set to a predetermined test state according to the condition setting signal, Since a preset current voltage value is generated according to the detection result, the virtual tester (test device) can determine the presence or absence of a bug in the test program based on the current voltage value. Debugging is easy.
また本発明に係る半導体集積回路用テストシステムによれば、上述の発明において、ハードウェア記述言語でモデル化された電源回路(電源手段)により、電源電圧値をアナログ値として扱うシミュレーションが可能になると共に、アナログ値として扱われる電源電圧値に基づいてテスト用プログラム中のバグの存否を判定することが可能になり、デバッグが容易に行なえる。 According to the semiconductor integrated circuit test system of the present invention, in the above-described invention, the power supply voltage (power supply means) modeled in the hardware description language can be used to simulate handling of the power supply voltage value as an analog value. At the same time, it is possible to determine whether or not there is a bug in the test program based on the power supply voltage value treated as an analog value, and debugging can be easily performed.
また本発明に係る半導体集積回路用テストシステムによれば、上述の発明において、ハードウェア記述言語でモデル化された電流電圧測定回路(電流電圧測定手段)により、アナログ値を扱うシミュレーションが可能になると共に、扱われるアナログ値に基づいてテスト用プログラム中のバグの存否を判定することが可能になり、デバッグが容易に行なえる。 Further, according to the test system for a semiconductor integrated circuit according to the present invention, in the above-described invention, a simulation for handling an analog value can be performed by the current-voltage measuring circuit (current-voltage measuring means) modeled in the hardware description language. At the same time, the presence or absence of a bug in the test program can be determined based on the analog value to be handled, and debugging can be easily performed.
また本発明に係る半導体集積回路用テストシステムによれば、上述の発明において、半導体集積回路に含まれているハードウェア記述言語でモデル化された複数の論理ブロックの内のテスト対象の論理ブロックの前後の論理ブロックでの動作を反映させた状態でテスト対象の論理ブロックへ仮想テスタ(テスト装置)からの信号が入力され、この信号に応じて出力される電流電圧値に基づいて仮想テスタ(テスト装置)がテスト用プログラム中のバグの存否を判定できるので、テストプログラムの内の半導体集積回路内の所望の論理ブロックに関する部分のバグの存否を判定することが可能になり、テストプログラムのより部分的なデバッグが容易に行なえる。 Further, according to the test system for a semiconductor integrated circuit according to the present invention, in the above-described invention, a test target logic block among a plurality of logic blocks modeled in a hardware description language included in the semiconductor integrated circuit is stored. A signal from the virtual tester (test device) is input to the logical block to be tested in a state reflecting the operation in the preceding and subsequent logical blocks, and the virtual tester (test) is based on the current voltage value output in response to this signal. Apparatus) can determine whether or not there is a bug in the test program, so that it is possible to determine whether or not there is a bug related to a desired logic block in the semiconductor integrated circuit in the test program. Debugging is easy.
また本発明に係る半導体集積回路用テストシステムによれば、上述の発明において、半導体集積回路がテストプログラムにより良品であると判定されるようにハードウェア記述言語でモデル化されているため、テストプログラムによるテストで不良品であると判定された場合には、テストプログラムの方にバグがあると判断可能になり、デバッグが容易に行なえる。 According to the semiconductor integrated circuit test system of the present invention, in the above-described invention, the semiconductor integrated circuit is modeled in a hardware description language so that it is determined to be a non-defective product by the test program. If it is determined that the test program is defective, it is possible to determine that there is a bug in the test program, and debugging can be performed easily.
また本発明に係る仮想テスタ、テスト装置、及び半導体集積回路用テストシステムによれば、仮想テスタを開発する際に、FPGAのハードウェア記述言語によるモデルが用いられ、そこで用いられたネットリストがそのまま用いることにより、実際の仮想テスタFPGAを開発することができることから、LSIテスタの構築や変更を短時間で、かつ、効率的に開発できる。 According to the virtual tester, the test apparatus, and the semiconductor integrated circuit test system according to the present invention, when developing the virtual tester, a model based on the hardware description language of the FPGA is used, and the net list used there is used as it is. By using it, an actual virtual tester FPGA can be developed, so that the construction and modification of an LSI tester can be developed in a short time and efficiently.
更に本発明に係る半導体集積回路用テストプログラムの検証方法によれば、良品と判定されるようにハードウェア記述言語でモデル化された半導体集積回路が良品と判定され、不良品と判定されるようにハードウェア記述言語でモデル化された半導体集積回路が不良品と判定された場合に、テストプログラムが完全であると判定されるので、テストプログラムの完成度を容易に且つ正確に検証することが可能になる。また、実際に製造された半導体集積回路に含まれる偶発的な特性を有する半導体集積回路ではなく、理論的に電圧,電流値,抵抗値等の許容値を設定してハードウェア記述言語によりモデル化した半導体集積回路を使用して判定を行なえるので、テストプログラムに設定される良品,不良品の判定基準を許容値に近い値においても正確に設定することが可能になり、非常に緻密なテストプログラムを開発することが可能になる。 Furthermore, according to the method for verifying a test program for a semiconductor integrated circuit according to the present invention, a semiconductor integrated circuit modeled in a hardware description language so as to be determined as a non-defective product is determined as a non-defective product and is determined as a defective product. When a semiconductor integrated circuit modeled in a hardware description language is determined to be defective, it is determined that the test program is complete, so that the completeness of the test program can be verified easily and accurately. It becomes possible. Also, it is not a semiconductor integrated circuit that has an accidental characteristic included in an actually manufactured semiconductor integrated circuit, but is theoretically modeled with a hardware description language by setting allowable values such as voltage, current value, and resistance value. Judgment can be made using the semiconductor integrated circuit, so it is possible to accurately set the judgment criteria for good and defective products set in the test program even at values close to the permissible value. It becomes possible to develop a program.
以下、本発明をその実施の形態を示す図面に基づいて詳述するが、まず最初に本発明の仮想テスタについて説明する。 Hereinafter, the present invention will be described in detail with reference to the drawings showing embodiments thereof. First, the virtual tester of the present invention will be described.
図1は、本発明の仮想テスタの概念的構成を示す模式図である。本発明の仮想テスタ1は、テストプログラムを実行するテストプログラム実行回路としてのCPU2と、テストプログラムを格納するメモリ回路としてのRAM3と、電源電圧を発生する電源回路4と、図示しないテスト対象の半導体集積回路から出力される電流電圧を測定する電流電圧測定回路5と、これらの要素を制御する制御回路としてのFPGA(Field Programmable Gate Array)20とを含む。なお、FPGA20内には、PLL(Phase-Locked Loop), ADC(アナログ−デジタルコンバータ),DAC(デジタル−アナログコンバータ)等も含まれており、たとえばCPU,RAM,電源回路,電圧電流印加回路,同測定回路等の機能を持たせることも可能である。
FIG. 1 is a schematic diagram showing a conceptual configuration of a virtual tester of the present invention. The
図2は、図1にその概念的構成を示す本発明の仮想テスタ1の各ブロックをコンピュータ上で実際に動作するように、それぞれの機能をハードウェア(HW)記述言語によりコンピュータ上でモデル化して現実のテスト装置とした場合の構成例を示す機能ブロック図である。
FIG. 2 is a block diagram of the functions of the
仮想CPU2としては既存のPLIモデルまたは回路モデルを使用することが可能である。なお、PLIとはVerilog (IEEE Std-1364) で一般的に使用されているPrograming Language Interface のことであり、C言語によるシミュレーション用の記述と、Verilog またはVHDL(VHSIC High Description Language)で記述された対象回路のシミュレーション用記述との間のインターフェイスの役割を果たす。
As the
また、仮想FPGA20としては、FPGAに論理回路を書き込むために必要なネットリスト及び論理回路設計に使用されるRTL(Register Transfer Level) モデルを使用することが可能である。
As the
また、仮想RAM3、仮想電源回路4、及び仮想電流電圧測定回路5としてはそれぞれ、現実の装置として構成する場合に使用するパーツの機能を忠実にハードウェア記述言語によりコンピュータ上でモデル化して利用することが可能である。具体的には、仮想電源回路4に関しては、テストプログラムに基づいて発生すべき所望の電圧値,電流値に相当するアナログ値のデータを出力する機能等がハードウェア記述言語によりコンピュータ上でモデル化されている。仮想電流電圧測定回路5に関しては、テストプログラムに従ってテスト対象の半導体集積回路へ入力する電流値,電圧値を発生する機能、及びテスト対象の半導体集積回路から出力される電流値,電圧値に相当するアナログ値のデータを入力し、その値がテストプログラムで規定されている仕様の許容値内であるか否かを判定し、その結果のデータを仮想RAM3に書き込む機能等がハードウェア記述言語によりコンピュータ上でモデル化されている。
Further, as the
前述の図1に示すような概念的構成を採ることにより、本発明の仮想テスタを図2に示すようなコンピュータ上で実際に動作する本発明のテスト装置として構築することが可能であるが、その際、仮想RAM3,仮想電源回路4及び仮想電流電圧測定回路5のみをハードウェア記述言語によりモデル化するだけで良く、他の回路、即ち仮想CPU2及び仮想FPGA20に関しては既存のモデル、即ち一般的に使用されている回路モデルを利用することが可能である。一方、仮想RAM3,仮想電源回路4及び仮想電流電圧測定回路5のハードウェア記述言語による機能記述は非常に簡単である。従って、図1に示すような概念的構成のLSIテスタの全ての構成要素の機能をハードウェア記述言語によりコンピュータ上で実現することが非常に容易になる。
By adopting the conceptual configuration as shown in FIG. 1, the virtual tester of the present invention can be constructed as a test apparatus of the present invention that actually operates on a computer as shown in FIG. At that time, only the
なお、ハードウェア記述言語としては、公知のVerilog-HDL, VHDL 等が利用可能である。また、仮想CPU2として動作するPLIモデル、または仮想CPU2の回路記述が入手可能であると共にテストプログラムで使用するC言語, BASIC等のCPU専用コンパイラが必要ではあるが、これらの条件さえ満たされれば仮想CPU2としては、Z80,ARM(英ARM社が開発した"Advanced RISC Machine" )等、どのようなタイプでも利用可能である。
As a hardware description language, known Verilog-HDL, VHDL, etc. can be used. In addition, a PLI model that operates as a
次に、前述した非特許文献1に開示されている従来技術による場合と、上述の本発明の仮想テスタをコンピュータ上でモデル化したテスト装置による場合とのシミュレーションの実施手順について比較して説明する。図3は本発明のテスト装置のシミュレーションの実施手順の一例を示すフローチャートである。
Next, a description will be given by comparing the simulation execution procedure between the case of the prior art disclosed in
図3に示すように、本発明のテスト装置では、複数のテスト項目を含むテストプログラム全体が抽出され(ステップS4)、「for 」、「if」等の記述が2進コード化されることによりテスト装置1用にコンパイルされる(ステップS5)。このようにしてコンパイルされたテストプログラム全体はハードウェア記述言語でモデル化された仮想RAM3に書き込まれる(ステップS6)。
As shown in FIG. 3, in the test apparatus of the present invention, the entire test program including a plurality of test items is extracted (step S4), and descriptions such as “for” and “if” are binary coded. Compiled for the test apparatus 1 (step S5). The entire test program compiled in this way is written in the
次いで、ハードウェア記述言語でモデル化された仮想CPU2がテストプログラムを実行し(ステップS7)、同様にハードウェア記述言語でモデル化された仮想FPGA20,仮想電源回路4,仮想電流電圧測定回路5が必要に応じて使用されてテストプログラムが実行される(ステップS8)。これにより、本発明のテスト装置の動作がシミュレーションされる。
Next, the
前述の非特許文献1に開示されている従来技術では、最初に、テストプログラムに含まれる複数のテスト項目の内の一部のみが抽出されてコンパイルされ、コンパイルされたデータ(テストプログラムを2進コード化したデータ)をPLIで構築された仮想CPU2が実行することによりシミュレーションしている。しかし、このような従来の仮想テスタでは、テストプログラムの全てを使用してはおらず、従ってテストプログラムの全てを正確にシミュレーションすることは不可能であった。
In the prior art disclosed in the above-mentioned
これに対して、上述したように本発明のテスト装置では、テストプログラムはその全てのソースコードがコンパイルされることによってテストプログラム全体が2進コードデータ化される。このようにしてバイナリー化(2進コードデータ化)されたデータはハードウェア記述言語でモデル化した仮想RAM3に格納することが可能になる。従って、ハードウェア記述言語でモデル化した仮想RAM3にはテストプログラム(実際にはその2進コード)全体が格納され、これらのテストプログラムはハードウェア記述言語でモデル化した仮想CPU2のPLIモデルによって仮想RAM2から順次的に読み出して実行することが可能であるので、シミュレーションにより正確に処理することができる。
On the other hand, as described above, in the test apparatus of the present invention, the entire test program is converted into binary code data by compiling all the source codes of the test program. The data thus binarized (binary code data) can be stored in the
以上のように、本発明の仮想テスタをコンピュータ上でモデル化したテスト装置によれば、テストプログラム全体を実行してより正確なシミュレーションを実現することができる。 As described above, according to the test apparatus in which the virtual tester of the present invention is modeled on the computer, it is possible to execute the entire test program and realize a more accurate simulation.
次に、上述のような本発明に係るテスト装置(仮想テスタ)を含む本発明の半導体集積回路用テストシステムについて説明する。 Next, the semiconductor integrated circuit test system according to the present invention including the test apparatus (virtual tester) according to the present invention as described above will be described.
図4は本発明の半導体集積回路用テストシステムの一実施の形態を示す機能ブロック図であり、図2に示した本発明のテスト装置1と、その機能がハードウェア記述言語でモデル化された状態検出回路6と、同じく半導体集積回路7とで構成されているが、勿論、これらは全てコンピュータ上でソフトウェア的に実現されるシミュレータとして構成されている。
FIG. 4 is a functional block diagram showing an embodiment of a test system for a semiconductor integrated circuit of the present invention. The
なお、テスト装置1は前述の図2に示したように、制御回路としての機能を有するFPGA20と、仮想テストプログラム実行回路としてのCPUのPLIモデル(ハードウェア記述言語によりモデル化)である仮想CPU2と、仮想メモリ回路としてのプログラム格納回路(ハードウェア記述言語によりモデル化)である仮想RAM3と、仮想電源回路4(ハードウェア記述言語によりモデル化)と、仮想電流電圧測定回路5(ハードウェア記述言語によりモデル化)とを含んでいる。なお、テスト装置1としては、上述の仮想CPU2と、前述した如くCPU等の機能をも含むFPGA20との双方により制御される。
As shown in FIG. 2, the
また、10はテスト装置1の外部からテストプログラムをロードしたり、動作開始の指示等の種々の指示を与えるための入力端子、11はテスト装置1の仮想CPU2と半導体集積回路7との間で信号を送受するための入出力端子、12はテスト装置1内の仮想電源回路4から状態検出回路6へ電源電圧のデータを送るための出力端子、13はテスト装置1内の仮想電流電圧測定回路5と状態検出回路6との間でデータを送受するための入出力端子である。
62は上述の出力端子12から状態検出回路6がデータを受けるための入力端子、63は上述の入出力端子13との間で状態検出回路6がデータを送受するための入出力端子、71は上述の入出力端子11との間で半導体集積回路7が信号を送受するための入出力端子、74は半導体集積回路7から状態検出回路6へ信号を送る出力端子、64はこの出力端子74から状態検出回路6が信号を受ける入力端子である。
62 is an input terminal for the
以下、テストプログラムに含まれるテスト項目の一例として、ハードウェア記述言語によりモデル化された半導体集積回路7の出力端子74への電圧印加電流測定テストのプログラムにバグが存在するか否かを判定する手順の詳細について説明する。但し、ここでは半導体集積回路7の出力端子74がハイレベル時に出力することが可能な電流が許容値内であるか否かをテストするテストプログラムの例である。なお、半導体集積回路7そのものは正常にハードウェア記述言語でモデル化されており、その正常にモデル化されている半導体集積回路7の出力端子74がハイレベル時に出力することが可能な電流値がたとえば 0.8mA以上である場合に半導体集回路7を良品であると判定するようにテストプログラムが記述されている。
Hereinafter, as an example of the test items included in the test program, it is determined whether or not there is a bug in the program for measuring the voltage application current to the
図5,図6は、ハードウェア記述言語によりモデル化された状態検出回路6がテストプログラムに従って半導体集積回路7のハイレベル側出力電流を測定する手順及びそれによってテストプログラムにバグが存在するか否かを判定する手順を示すフローチャートである。
5 and 6 show a procedure in which the
まず、テスト装置1は、仮想RAM3に格納されているテストプログラムに従って、ハードウェア記述言語によりモデル化された状態検出回路内6に、半導体集積回路7の出力端子74の正常時のON抵抗値と、このON抵抗値が異常である場合の異常電流値とを端子13−63を介して予め設定する(ステップS10)。ここで、正常時のON抵抗値として設定すべき抵抗値は、測定対象の出力端子74がハイレベル出力時の正常な抵抗値としてテストプログラムのテストパターンで定められている値であり、一例として 500Ωとする。また、測定対象の出力端子74がハイレベル出力時に異常なON抵抗値、即ち 500Ω以外の値を示した場合等の異常時にその旨を示すための異常電流値としては、上述したようにテストプログラムが半導体集積回路7の出力端子74がハイレベル時に出力することが可能な電流値がたとえば 0.8mA以上である場合に半導体集回路7を良品であると判定することから、0.8mAよりも小さい値、たとえば 0.5mAが設定される。
First, in accordance with a test program stored in the
そして、テストが開始されると、テストプログラムに従ってまず、仮想電流電圧測定回路5から状態検出回路6へ端子13−63を介してテスト開始信号が送られる(ステップS11)。
When the test is started, a test start signal is first sent from the virtual current /
次に、テストプログラムに従ってテスト装置1が半導体集積回路7の電源電圧値を設定し、これに応じてハードウェア記述言語によりモデル化された仮想電源回路4が設定された電源電圧値をアナログ値として端子12−62を介して状態検出回路6へ出力する(ステップS12)。ここで、テストプログラムにより仮想電源回路4に設定される電源電圧値がたとえば 5.0Vであるとすると、テストプログラムにバグがなければ状態検出回路6へ仮想電源回路4から送られる電源電圧値は 5.0Vを中心とする規定範囲内のアナログ値になる(ステップS13でYES)。
Next, the
次に、テストプログラムによる半導体集積回路7の電流印加電圧の測定対象である端子74が測定可能状態になるようにテストパターン信号が、テストプログラムに従ってテスト装置1の仮想CPU2から端子11−71を介して半導体集積回路7へ送られる(ステップS14)。言うまでもないが、正しいテストパターン信号が半導体集積回路7に与えられた場合には、測定対象の出力端子74がハイレベル状態になるようにテストプログラムが記述されている(ステップS15でYES)。
Next, a test pattern signal is sent from the
次に、テスト装置1は仮想RAM3(ハードウェア記述言語によりモデル化)に格納されているテストプログラムに従って、半導体集積回路7の出力端子74の出力電流を測定するために印加すべき電圧値をアナログ値で設定する(ステップS16)。ハードウェア記述言語によりモデル化された仮想電流電圧測定回路5はこの設定に基づいて、半導体集積回路7の出力端子74の出力電流を測定するために印加すべき電圧値を状態検出回路6へ端子13−63を介して出力する。ここでは、この出力電流を測定するために印加する電圧値を 4.5Vとする。
Next, the
ここで、テストプログラムにバグがなければ仮想電流電圧測定回路5から状態検出回路6に設定される印加すべき電圧値は 4.5Vを中心とする規定範囲内になる(ステップS17でYES)。
Here, if there is no bug in the test program, the voltage value to be applied set from the virtual current
以上のように、状態検出回路6は、ハードウェア記述言語によりモデル化された半導体集積回路7のテストプログラムによる測定対象の端子74の出力状態と、受け取った2種類の電圧値、具体的には仮想電源回路4から受け取った電源電圧値及び仮想電流電圧測定回路5から受け取った印加電圧値とを、それぞれステップS17,S13,S15において判定する。半導体集積回路7の測定対象端子74の出力状態がハイレベルであれば(ステップS15でYES)、状態検出回路6は図示しない内蔵演算回路(勿論、ハードウェア記述言語によりモデル化されている)において
「出力電流値=(電源電圧値−印加電圧値)/ON抵抗値」、具体的には
「1mA=(5.0V− 4.5V)/ 500Ω」
の演算を行なう(ステップS18)。但し、「ON抵抗値」は固定値ではなく、「電源電圧」の大小に応じて異なる値が適用される。ちなみに、この例では「電源電圧」の 5.0Vに対して「ON抵抗値」として 500Ωが設定されているが、たとえば「電源電圧」が 3.0Vである場合には「ON抵抗値」として 700Ωが設定される場合もある。そして、このような演算の結果として得られた1mAの出力電流値は端子63−13経由で仮想電流電圧測定回路5へ送られる(ステップS19)。
As described above, the
Is calculated (step S18). However, the “ON resistance value” is not a fixed value, and a different value is applied depending on the magnitude of the “power supply voltage”. By the way, in this example, 500Ω is set as the “ON resistance value” for 5.0V of the “power supply voltage”, but for example, when the “power supply voltage” is 3.0V, 700Ω is set as the “ON resistance value”. May be set. Then, the output current value of 1 mA obtained as a result of such calculation is sent to the virtual current
以上のようにして仮想電流電圧測定回路5により測定された半導体集積回路7の出力端子74の出力電流値は仮想CPU2へ送られ、ソフトウェア的に、換言すればテストプログラムにより半導体集積回路7は良品であるか不良品であるかの判定処理が行なわれる。このテストプログラムでは、前述したように、半導体集積回路7の出力端子74がハイレベル時に出力することが可能な電流値が 0.8mA以上である場合に半導体集回路7を良品であると判定するように記述されているので、ステップS18での演算結果により得られた出力電流値が1mAであれば、半導体集積回路7は良品であると判定される(ステップS20でYES)。
The output current value of the
以上により、テストプログラムに基づいて生成した電源電圧値,端子74からの出力電流値を測定するために印加すべき電圧値,出力端子状態の設定(ここでは該当する出力端子74がハイレベル)等のテストプログラムの内容に間違い、即ちバグがないことが判明する(ステップS21)。
As described above, the power supply voltage value generated based on the test program, the voltage value to be applied to measure the output current value from the terminal 74, the setting of the output terminal state (here, the
なお、上述のようなテストプログラムの実行に際して、電源電圧値,印加電圧値,出力端子74の状態設定等が所定の値,状態ではない、即ちテストプログラムのテストパターンで定められている値,状態ではないことが判明した場合、具体的にはステップS13,S15,S17の内の少なくとも一つで「NO」であった場合は、ハードウェア記述言語によりモデル化された状態検出回路6は、事前にステップS10において準備しておいた異常電流値である 0.5mAの信号をハードウェア記述言語によりモデル化された仮想電流電圧測定回路5へ端子63−13を経由して送る(ステップS22)。
When executing the test program as described above, the power supply voltage value, the applied voltage value, the state setting of the
これにより、ソフトウェア的に、換言すればテストプログラムにより半導体集積回路7は不良品であると判定される。この場合、ハードウェア記述言語によりモデル化された半導体集積回路7は正常であるとの前提であるため、テストプログラムの方にバグがあることを意味している(ステップS23)。また、ステップS20でNOであった場合にもテストプログラムにバグがあることを意味している(ステップS23)。
Thereby, in terms of software, in other words, the semiconductor integrated
以上のように、ハードウェア記述言語によりモデル化された半導体集積回路7が正常であるとの前提により、テストプログラムのバグを見付けることが可能になり、テストプログラムをデバッグすることが可能になる。
As described above, the test program bug can be found and the test program can be debugged on the assumption that the semiconductor integrated
次に、図4に示す本発明に係る半導体集積回路用テストシステムによって半導体集積回路7の消費電流測定テスト用テストプログラムにバグが存在するか否かを判定する例について説明する。
Next, an example of determining whether or not a bug exists in the test program for current consumption measurement test of the semiconductor integrated
図7,図8は、ハードウェア記述言語によりモデル化された状態検出回路6が半導体集積回路7の消費電流を測定する手順及びそれによってテストプログラムにバグが存在するか否かを判定する手順を示すフローチャートである。なおこの例では、テストプログラムは消費電流が 100mA以下で10mA以上であれば半導体集積回路7を良品であると判定する。
7 and 8 show a procedure for the
まず、テスト装置1は、仮想RAM3に格納されているテストプログラムに従って、ハードウェア記述言語によりモデル化された状態検出回路6内に、半導体集積回路7の正常動作時の消費電流値と、異常動作時の消費電流値とを端子13−63を介して予め設定する(ステップS30)。なお、シミュレーション開始前に予め状態検出回路6内にこれらの値を設定しておいてもよい。ここで、正常動作時の消費電流値として設定すべき電流値を一例として50mAとする。また、異常動作時の消費電流値としては、上述したようにテストプログラムは消費電流が 100mA以下(且つ、10mA以上)であれば半導体集積回路7を良品であると判定することから、 100mAよりも大きい値、たとえば 200mAが設定される。
First, in accordance with a test program stored in the
そして、テストが開始されると、テストプログラムに従ってまず、仮想電流電圧測定回路5から状態検出回路6へ端子13−66を介してテスト開始信号が送られる(ステップS31)。
When the test is started, a test start signal is first sent from the virtual current
次に、テストプログラムに従ってテスト装置1が半導体集積回路7の電源電圧値を設定し、これに応じてハードウェア記述言語によりモデル化された仮想電源回路4が設定された電源電圧値をアナログ値として端子12−62を介して状態検出回路6へ出力する(ステップS32)。ここで、テストプログラムにより仮想電源回路4に設定される電源電圧値がたとえば 5.0Vであるとすると、テストプログラムにバグがなければ状態検出回路6へ仮想電源回路4から送られる電源電圧値は 5.0Vを中心とする規定範囲内になる(ステップS33でYES)。
Next, the
次に、半導体集積回路7の消費電流を測定することが可能になるようにテストパターン信号が、テストプログラムに従ってテスト装置1の仮想CPU2から端子11−71を介して半導体集積回路7へ送り続けられる(ステップS34)。正しいテストパターン信号が半導体集積回路7に送り続けられた場合には、半導体集積回路7のテストプログラムによる測定対象の出力端子74がテストプログラムで設定されている期待通りの動作、即ち10MHz以上の周期でハイレベル状態とローレベル状態とを反復し、その反復回数が10回以上になる動作を行なうので、消費電流測定が可能になるものとする(ステップS35でYES)。
Next, a test pattern signal is continuously sent from the
以上のように、状態検出回路6は、ハードウェア記述言語によりモデル化された半導体集積回路7の測定対象端子74の動作状態と、仮想電源回路4から受け取った電源電圧値とをそれぞれステップS35,S33において判定する。そして、半導体集積回路7の測定対象端子74の動作状態がテストプログラムで設定されている、10MHz以上の周期でハイレベル状態とローレベル状態とを反復し、その反復回数が10回以上になるという期待通りの動作を行なえば(ステップS35でYES)、半導体集積回路7が正常に動作しているとして、状態検出回路6は正常な消費電流値としてステップS30において設定されている50mAの信号を仮想電流電圧測定回路5へ端子63−13経由で送る(ステップS36)。
As described above, the
一方、ステップS35でNOであった場合、即ちテストプログラムによる測定対象の出力端子74がテストプログラムで設定されている期待通りの動作を行なわなかった場合、具体的には半導体集積回路7の測定対象端子74の状態が、10MHz以上の周期でハイレベル状態とローレベル状態とを反復しない場合、又は反復回数が10回に満たない内に反復を停止したような場合には、半導体集積回路7は与えられたテストパターン信号に応じた正常な動作をしていないとして、状態検出回路6は異常動作時の消費電流値としてステップS30において設定されている 200mAの信号を仮想電流電圧測定回路5へ端子63−13経由で送る(ステップS39)。
On the other hand, if NO in step S35, that is, if the
以上のようにして、状態検出回路6から仮想電流電圧測定回路5へ与えられた消費電流値が仮想CPU2へ送られ、ソフトウェア的に、換言すればテストプログラムにより半導体集積回路7は良品であるか不良品であるかの判定処理が行なわれる。このテストプログラムでは、前述したように、半導体集積回路7の出力端子74の消費電流値が 100mA以下で10mA以上である場合に半導体集回路7を良品であると判定するように設定してあるので、仮想電流電圧測定回路5により得られた消費電流値が50mAであれば、半導体集積回路7は良品であると判定される(ステップS37でYES)。
As described above, the current consumption value given from the
以上により、テストプログラムに基づいて生成した電源電圧値,出力端子の動作状態(ここでは該当する出力端子74が10MHz以上の周期でハイレベル状態とローレベル状態とを反復し、その反復回数が10回以上になる)等のテストプログラムの内容に間違い、即ちバグがないことが判明する(ステップS38)。
As described above, the power supply voltage value generated based on the test program, the operation state of the output terminal (here, the
なお、上述のようなテストプログラムの実行に際して、電源電圧値,出力端子74の動作状態等が所定の値,状態ではない、即ちテストプログラムのテストパターンで定められている値,状態ではないことが判明した場合、具体的にはステップS33,S35の内の少なくとも一つで「NO」であった場合は、ハードウェア記述言語によりモデル化された状態検出回路6は、事前にステップS30において準備しておいた異常時の消費電流値である 200mAの信号をハードウェア記述言語によりモデル化された仮想電流電圧測定回路5へ端子63−13を経由して送る(ステップS39)。
When executing the test program as described above, the power supply voltage value, the operation state of the
これにより、ソフトウェア的に、換言すればテストプログラムにより半導体集積回路7は不良品であると判定される。この場合、ハードウェア記述言語によりモデル化された半導体集積回路7は正常であるとの前提であるため、テストプログラムの方にバグがあることを意味している(ステップS40)。また、ステップS37でNOであった場合にもテストプログラムにバグがあることを意味している(ステップS40)。
Thereby, in terms of software, in other words, the semiconductor integrated
以上のように、ハードウェア記述言語によりモデル化された半導体集積回路7が正常であるとの前提により、テストプログラムのバグを見付けることが可能になり、テストプログラムをデバッグすることが可能になる。
As described above, the test program bug can be found and the test program can be debugged on the assumption that the semiconductor integrated
次に、図4に示す本発明に係る半導体集積回路用テストシステムによって半導体集積回路7の静止時電流測定テスト用テストプログラムにバグが存在するか否かを判定する例について説明する。なお、以下の説明は、半導体集積回路7の静止時における出力端子がローレベルである場合の例である。
Next, an example of determining whether or not there is a bug in the test program for quiescent current measurement test of the semiconductor integrated
半導体集積回路7の静止時には、半導体集積回路7の全ての出力端子がローレベルになる。従って、図4には示していないが、状態検出回路6は半導体集積回路7の全ての出力端子と一対一で接続された入力端子を備えているものとする。但し、以下の説明においては、半導体集積回路7の全ての出力端子を出力端子74で代表し、状態検出回路6の全ての入力端子を入力端子64で代表する。
When the semiconductor integrated
図9,図10は、ハードウェア記述言語によりモデル化された状態検出回路6が半導体集積回路7の静止時電流を測定するために半導体集積回路7を静止状態にさせる条件を設定する手順及びそれによってテストプログラムにバグが存在するか否かを判定する手順を示すフローチャートである。なおこの例では、テストプログラムは静止時電流が10μA以下であれば半導体集積回路7を良品であると判定する。
FIG. 9 and FIG. 10 show a procedure for setting conditions for causing the semiconductor integrated
以下、ハードウェア記述言語によりモデル化された半導体集積回路7を用いて電源端子の静止時電流測定テストのテストプログラムにバグが存在するか否かを判定する手順の詳細を説明する。
The details of the procedure for determining whether or not there is a bug in the test program of the quiescent current measurement test of the power supply terminal using the semiconductor integrated
まず、テスト装置1は、仮想RAM3に格納されているテストプログラムに従って、ハードウェア記述言語によりモデル化された状態検出回路6内に、半導体集積回路7を静止状態にするための設定条件の正しい設定時の電流値と、異常設定時の電流値とを端子13−63を介して予め設定する(ステップS50)。なお、シミュレーション開始前に予め状態検出回路6内にこれらの値を設定しておいてもよい。ここで、正しい設定時の電流値としては一例として5μAが設定される。また、異常設定時の電流値としては、上述したようにテストプログラムが静止電流値が10μA以下であれば半導体集積回路7を良品であると判定することから、10μAよりも大きい値、たとえば 100μAが設定される。
First, in accordance with a test program stored in the
そして、テストが開始されると、テストプログラムに従ってまず、仮想電流電圧測定回路5から状態検出回路6へ端子13−63を介してテスト開始信号が送られる(ステップS51)。
When the test is started, a test start signal is first sent from the virtual current
次に、テストプログラムに従ってテスト装置1が半導体集積回路7の電源電圧値を設定し、これに応じてハードウェア記述言語によりモデル化された仮想電源回路4が設定された電源電圧値をアナログ値として端子12−62を介して状態検出回路6へ出力する(ステップS52)。ここで、テストプログラムにより仮想電源回路4に設定される電源電圧値がたとえば 5.0Vであるとすると、テストプログラムにバグがなければ状態検出回路6へ仮想電源回路4から送られる電源電圧値は 5.0Vを中心とする規定範囲内になる(ステップS53でYES)。
Next, the
次に、半導体集積回路7の静止時電流を測定することが可能になるように、具体的には半導体集積回路7を静止状態にするためのテストパターン信号が、テストプログラムに従ってテスト装置1の仮想CPU2から端子11−71を介して半導体集積回路7へ送られる(ステップS54)。正しいテストパターン信号が半導体集積回路7に与えられた場合、換言すれば半導体集積回路7を静止状態にするための正しい条件がテストプログラムにより設定された場合には、半導体集積回路7は静止状態になって全ての出力端子74がローレベルになる(ステップS55でYES)。
Next, a test pattern signal for bringing the semiconductor integrated
以上のように、状態検出回路6は、ハードウェア記述言語によりモデル化された半導体集積回路7の全ての出力端子74のレベルと、仮想電源回路4から受け取った電源電圧値とをそれぞれステップS55,S53において判定する。そして、半導体集積回路7の全ての出力端子74のレベルがローレベルであれば(ステップS55でYES)、半導体集積回路7がテストプログラムにより静止状態に正しく設定されてその静止時電流を測定することが可能な状態になったとして、状態検出回路6は正常設定時の電流値としてステップS50において設定されている5μAの信号を仮想電流電圧測定回路5へ端子63−13を経由して送る(ステップS56)。
As described above, the
一方、ステップS55でNOであった場合、具体的には半導体集積回路7のいずれかの出力端子がハイレベルであった場合には、半導体集積回路7が静止状態には設定されておらず、従ってその静止時電流を測定することが可能な状態にはなっていないとして、状態検出回路6は異常設定時の電流値としてステップS50において設定されている 100μAの信号を仮想電流電圧測定回路5へ送る(ステップS59)。
On the other hand, if NO in step S55, specifically, if any of the output terminals of the semiconductor integrated
以上のようにして、状態検出回路6から仮想電流電圧測定回路5へ与えられた電流値が仮想CPU2へ送られ、ソフトウェア的に、換言すればテストプログラムにより半導体集積回路7は良品であるか不良品であるかの判定処理が行なわれる。このテストプログラムでは、前述したように、半導体集積回路7の静止時電流値が10μA以下である場合に半導体集回路7を良品であると判定するように設定してあるので、仮想電流電圧測定回路5により得られた静止時電流値が5μAであれば、半導体集積回路7は良品であると判定される(ステップS57でYES)。
As described above, the current value supplied from the
以上により、テストプログラムに基づいて生成した電源電圧値,半導体集積回路7を静止状態(この場合、全ての出力端子がローレベルになる)に設定する条件等を設定するためのテストプログラムの内容に間違い、即ちバグがないことが判明する(ステップS58)。
As described above, the contents of the test program for setting the power supply voltage value generated based on the test program, the conditions for setting the semiconductor integrated
なお、上述のようなテストプログラムの実行に際して、電源電圧値,出力端子74のレベルの状態等が所定の値,状態ではない、即ちテストプログラムのテストパターンで定められている値,状態ではないことが判明した場合、具体的にはステップS53,S55の内の少なくとも一つで「NO」であった場合は、ハードウェア記述言語によりモデル化された状態検出回路6は、事前にステップS50において準備しておいた異常設定時の電流値である 100μAの信号をハードウェア記述言語によりモデル化された仮想電流電圧測定回路5へ送る(ステップS59)。
When executing the test program as described above, the power supply voltage value, the level state of the
これにより、ソフトウェア的に、換言すればテストプログラムにより半導体集積回路7は不良品であると判定される。この場合、ハードウェア記述言語によりモデル化された半導体集積回路7は正常であるとの前提であるため、テストプログラムの方にバグがあることを意味している(ステップS60)。また、ステップS57でNOであった場合にもテストプログラムにバグがあることを意味している(ステップS60)。
Thereby, in terms of software, in other words, the semiconductor integrated
以上のように、ハードウェア記述言語によりモデル化された半導体集積回路7が正常であるとの前提により、テストプログラムのバグを見付けることが可能になり、テストプログラムをデバッグすることが可能になる。
As described above, the test program bug can be found and the test program can be debugged on the assumption that the semiconductor integrated
次に、本発明の半導体集積回路用テストシステムの他の実施の形態として、半導体集積回路7内部の状態を判定するための構成について説明する。
Next, a configuration for determining the internal state of the semiconductor integrated
図11は、本発明の半導体集積回路用テストシステムの他の実施の形態を示す機能ブロック図であり、図4に示した実施の形態において備えられていた状態検出回路6に代えて信号伝達回路8がテスト装置1と半導体集積回路7との間に備えられている。なおこの信号伝達回路8も勿論、ハードウェア記述言語でモデル化されていることはいうまでもない。
FIG. 11 is a functional block diagram showing another embodiment of a test system for a semiconductor integrated circuit according to the present invention, and a signal transmission circuit instead of the
この信号伝達回路8は、ハードウェア記述言語によりモデル化された半導体集積回路7の内部の所望の位置の電流電圧値を測定して判定することが可能なようにハードウェア記述言語によりモデル化されている。以下に、詳細に説明する。
The
図12は、図11に示す本発明の半導体集積回路用テストシステムの半導体集積回路7の内部構成及び上述の信号伝達回路8の内部構成と、両者間の信号の送受関係とを示すためのブロック図である。
FIG. 12 is a block diagram showing the internal configuration of the semiconductor integrated
通常、半導体集積回路7はその内部で電流電圧値の処理が完結するように構成されているため、半導体集積回路7の内部の特定の位置から電流電圧値を外部へ読み出すための接続端子はハードウェア記述言語によりモデル化した半導体集積回路7の最上位の端子(具体的には、外部と直接接続する端子)としては存在しない。即ち、図12に示す半導体集積回路7の一般的な入出力端子71はハードウェア記述言語によりモデル化した半導体集積回路7の最上位の端子ではない。従って、前述したような本発明のテスト装置1のみでは半導体集積回路7の内部の所望の位置の電流電圧値を測定することは不可能である。
Usually, the semiconductor integrated
更に、ハードウェア記述言語によりモデル化した半導体集積回路7の内部の特定の位置に電流電圧値を外部から書き込むための接続端子も半導体集積回路の最上位の端子としては存在しない。ハードウェア記述言語によりモデル化された半導体集積回路7の内部の電流電圧値を測定するためには、半導体集積回路7の内部の特定の論理回路に直接アクセスして信号を入力し、その結果として生成される電流電圧値を半導体集積回路7の内部から外部へ直接読み出す必要がある。
Further, a connection terminal for externally writing a current voltage value to a specific position inside the semiconductor integrated
しかし、上述のようにして所望の論理回路を直接アクセスして信号を入力し、その結果として所望の論理回路が生成する電流電圧値を読み出したとしても、その所望の論理回路の前段(信号の流れの上流側)に設けられている論理回路群の動作条件(入力条件)及び所望の論理回路の後段(信号の流れの下流側)に設けられている論理回路群の動作条件(出力条件)のいずれもが反映されない状況にならざるを得ない。このような状況は、所望の論理回路が前段の論理回路群から入力した信号を処理して後段の論理回路群へ単に出力するのみの回路構成であれば問題はないが、たとえば所望の論理回路の前後でフィードバックループが形成されているような回路の場合には、本来は信号が通過するはずの各論理回路の状態を正しく反映したシミュレーションができないことになる。 However, even if a signal is input by directly accessing a desired logic circuit as described above and a current voltage value generated by the desired logic circuit is read as a result, the preceding stage (signal flow) of the desired logic circuit is obtained. Of the logic circuit group provided upstream) of the logic circuit group (input condition) and the operation condition (output condition) of the logic circuit group provided downstream of the desired logic circuit (downstream of the signal flow) Both must be in a situation where they are not reflected. Such a situation is not a problem as long as the circuit configuration is such that the desired logic circuit simply processes the signal input from the preceding logic circuit group and outputs it to the succeeding logic circuit group. In the case of a circuit in which a feedback loop is formed before and after the simulation, it is impossible to perform a simulation that correctly reflects the state of each logic circuit through which a signal should normally pass.
このような問題点を解決するために本発明の半導体集積回路用テストシステムでは、半導体集積回路7の内部において所望の論理回路の前後の論理回路群の所定の位置にハードウェア記述言語によりモデル化したスイッチ回路を備え、これらの半導体集積回路7内のスイッチ回路のオン/オフ動作に連動してオン/オフ制御されるようにハードウェア記述言語によりモデル化されたスイッチ回路を有する信号伝達回路8を、図11に示すように、テスト装置1と半導体集積回路7との間に配置している。
In order to solve such problems, the semiconductor integrated circuit test system according to the present invention is modeled by a hardware description language in a predetermined position of a logic circuit group before and after a desired logic circuit in the semiconductor integrated
信号伝達回路8はテスト装置1との接続に関しては、図11に示すように、仮想電源回路4が端子12から出力する信号を受け取る入力端子82と、仮想電流電圧測定回路5の入出力端子13との間で信号を入出力するための入出力端子83とを備えている。また信号伝達回路8は半導体集積回路7との接続に関しては、図11に示すように、半導体集積回路7へ信号を出力するための出力端子85と、半導体集積回路7から信号を入力するための入力端子86とを備えている。
As shown in FIG. 11, the
信号伝達回路8は、図12に示すように、半導体集積回路7内部の所望の論理回路、即ち直接アクセスして信号を入力し、その結果として生成される電流電圧値を読み出したい論理回路である演算処理回路702に信号を直接与え、この与えられた信号を演算処理回路702が処理した結果として得られる電流電圧値を直接読み出して測定するようにハードウェア記述言語によりモデル化されている。
As shown in FIG. 12, the
なお、本実施の形態では、所望の論理回路である演算処理回路702の前後には実数変換回路701とデジタル変換回路703とが配置されている。そして、前段の論理回路群700から出力された信号は実数変換回路701により実数値を表わすアナログ信号に変換され、これに対して演算処理回路702が所定の演算を行ない、その結果をデジタル変換回路703がデジタル信号に変換して後段の論理回路群704へ出力する。
In this embodiment, a real
演算処理回路702の入力段に配置された論理回路群700の所定の位置(この例では論理回路群700の前後の位置)にはスイッチ回路7S1,7S2が備えられていると共に、これらのスイッチ回路7S1,7S2のオン/オフ制御信号を信号伝達回路8内の論理ゲート801(図12に示す例ではANDゲートであるとする)を介してテスト装置1の仮想電流電圧測定回路5からの入力信号をオン/オフ制御するスイッチ回路8S1のオン/オフ制御信号としている。
Switch circuits 7S1 and 7S2 are provided at predetermined positions of the
この例では、所望の論理回路である演算処理回路702の前段の論理回路群700の前後のスイッチ回路7S1,7S2が共にオンした場合に論理回路群700から実数変換回路701へ信号が出力されるが、この際同時に論理ゲート801から出力される信号によって信号伝達回路8内のスイッチ回路8S1もオンする。これにより、テスト装置1の電流電圧測定回路5からの入力信号が入出力端子83,出力端子85を経由して信号線73により演算処理回路702へ直接入力される。このようにして信号伝達回路8から信号線73により演算処理回路702へ入力される信号は実数変換回路701から演算処理回路702へ与えられる信号をシミュレーションしている。
In this example, a signal is output from the
所望の論理回路である演算処理回路702の出力段に配置された論理回路群704の所定の位置(この例では論理回路群704の前後の位置)にはスイッチ回路7S3,7S4が備えられていると共に、これらのスイッチ回路7S3,7S4のオン/オフ制御信号を信号伝達回路8内の論理ゲート802(図12に示す例ではANDゲートであるとする)を介してテスト装置1の仮想電流電圧測定回路5への出力信号をオン/オフ制御するスイッチ回路8S2のオン/オフ制御信号としている。
Switch circuits 7S3 and 7S4 are provided at predetermined positions (positions before and after the
この例では、所望の論理回路である演算処理回路702の後段の論理回路群704の前後のスイッチ回路7S3,7S4が共にオンした場合に論理回路群704へはデジタル変換回路703の出力信号が入力されるが、この際同時に論理ゲート802から出力される信号によって信号伝達回路8内のスイッチ回路8S2もオンする。これにより、演算処理回路702からの出力信号が信号線72から信号伝達回路8の入力端子86,入出力端子83を経由して出力され、電流電圧測定回路回路5へ入力される。このようにして演算処理回路702から信号線72により外部へ出力されて仮想電流電圧測定回路5へ入力される信号は、演算処理回路702へ仮想電流電圧測定回路5から入力された信号を演算処理回路702で処理した結果をシミュレーションしている。
In this example, the output signal of the
なお、半導体集積回路7内のスイッチ回路7S1,7S2,7S3,7S4のオン/オフ制御信号は、図示していないが、テストプログラムに基づいて端子11−71経由で送られる信号に基づいて半導体集積回路7内で生成される。
Although the ON / OFF control signals of the switch circuits 7S1, 7S2, 7S3, and 7S4 in the semiconductor integrated
このようなハードウェア記述言語によりモデル化した信号伝達回路8により、所望の論理回路の前後において本来信号が通過する各論理回路の状態を反映させた正しいシミュレーションが可能となる。
The
このような技術を使用することにより、ハードウェア記述言語によりモデル化した半導体集積回路7の最上位に電流電圧端子を設ける必要が無くなり、論理シミュレータ上で電流電圧値を用いたシミュレーションが可能となる。
By using such a technique, it is not necessary to provide a current voltage terminal at the top of the semiconductor integrated
次に、半導体集積回路用テストプログラムの完成度を検証する本発明の方法について説明する。 Next, the method of the present invention for verifying the completeness of a test program for a semiconductor integrated circuit will be described.
図13は、半導体集積回路用テストプログラムの完成度を本発明のテスト装置1を使用して検証する際の手順を説明するための模式図である。前述したように、本発明のテスト装置1では、テストプログラムTPをテスト装置1に、より具体的には仮想RAM3にロードし、ハードウェア記述言語でモデル化した半導体集積回路7を対象としてテストを行なう。従ってここでは、テストプログラムTPをテスト装置1の仮想RAM3にロードし、ハードウェア記述言語でモデル化した半導体集積回路群70を対象としてテストを行なう。このような構成を採る場合、ハードウェア記述言語でモデル化した半導体集積回路群70として、良品と判定すべき種々の特性(設計仕様内に収まる特性)を有する半導体集積回路7-1, 7-2…7-n の全てをハードウェア記述言語でモデル化すること、及び不良品と判定すべき種々の特性(設計仕様を外れた特性)を有する半導体集積回路70-1, 70-2…70-mの全てをハードウェア記述言語でモデル化することは容易である。
FIG. 13 is a schematic diagram for explaining a procedure for verifying the completeness of a test program for a semiconductor integrated circuit using the
従って、半導体集積回路用テストプログラムが良品と判定すべきハードウェア記述言語でモデル化された半導体集積回路の全てを実際に良品と判定し、不良品と判定すべきハードウェア記述言語でモデル化された半導体集積回の全てを実際に不良品と判定するか否かを確認することが可能になる。 Therefore, all the semiconductor integrated circuits modeled in the hardware description language to be determined as non-defective products by the semiconductor integrated circuit test program are actually determined as non-defective products and modeled in the hardware description language to be determined as defective products. It is possible to confirm whether or not all the semiconductor integrated times are actually judged as defective products.
図14はこのような本発明のテスト装置を用いた半導体集積回路用テストプログラムの検証方法を実施するための手順を示すフローチャートである。以下、本発明方法の実施手順について具体的に説明する。 FIG. 14 is a flowchart showing a procedure for implementing a method for verifying a test program for a semiconductor integrated circuit using such a test apparatus of the present invention. Hereinafter, the implementation procedure of the method of the present invention will be specifically described.
まず、検証対象のテストプログラムと、このテストプログラムによって良品及び不良品と判定されるべき種々の特性を有するようにハードウェア記述言語でモデル化した半導体集積回路7を用意する(ステップS80)。次に、テストプログラムを本発明のテスト装置1の仮想RAM3にロードする(ステップS81)。以上で準備が整ったので、用意したハードウェア記述言語でモデル化した半導体集積回路7の全てに対して本発明のテスト装置1によるテストを実行する(ステップS82)。
First, a test program to be verified and a semiconductor integrated
このテストの結果、用意した良品と判定すべき種々の特性を有するようにハードウェア記述言語でモデル化した半導体集積回路7の全てが良品と判定され(ステップS83でYES)、また用意した不良品と判定すべき種々の特性を有するハードウェア記述言語でモデル化した半導体集積回路7の全てが不良品と判定されれば(ステップS84でYES)、テストプログラムの完成度には問題は無いと判定される(ステップS85)。
As a result of this test, all of the semiconductor integrated
一方、ステップS83において、用意した良品と判定すべき種々の特性を有するハードウェア記述言語でモデル化した半導体集積回路7の一つでもが不良品と判定された場合(ステップS83でNO)、または用意した種々の不良品と判定すべき特性を有するハードウェア記述言語でモデル化した半導体集積回路7の一つでもが良品と判定された場合には(ステップS84でNO)、テストプログラムの完成度に問題が有ると判定される(ステップS86)。
On the other hand, if at least one of the semiconductor integrated
このように、本発明のテスト装置1を利用して半導体集積回路用テストプログラムの完成度を検証する場合には、あらゆる特性を有する良品及び不良品の半導体集積回路をハードウェア記述言語によってモデル化することが可能であるため、実際の半導体集積回路が製造される以前に、また実際の半導体集積回路が製造された後であっても、理論上可能なあらゆる特性を想定して半導体集積回路用テストプログラムの完成度を検証することができる。
Thus, when verifying the completeness of a test program for a semiconductor integrated circuit using the
1 仮想テスタ(テスト装置)
2 仮想CPU(CPUのPLIモデル)
3 仮想RAM
4 仮想電源回路
5 仮想電流電圧測定回路
6 状態検出回路
7 半導体集積回路
8 信号伝達回路
20 仮想FPGA
70 半導体集積回路群
700 論理回路群
701 実数変換回路
702 演算処理回路
703 デジタル変換回路
704 論理回路群
7S1 スイッチ回路
7S2 スイッチ回路
7S3 スイッチ回路
7S4 スイッチ回路
8S1 スイッチ回路
8S2 スイッチ回路
801 論理ゲート
802 論理ゲート
1 Virtual tester (test equipment)
2 Virtual CPU (CPU PLI model)
3 Virtual RAM
4 Virtual
70 Semiconductor
Claims (21)
前記テストプログラムを格納するための機能をハードウェア記述言語によりモデル化したテストプログラム格納回路と、
前記テストプログラムを実行するための機能をハードウェア記述言語によりモデル化したテストプログラム実行回路と、
前記ハードウェア記述言語によりモデル化されたテストプログラム格納回路及びテストプログラム実行回路を制御するための機能をハードウェア記述言語によりモデル化した制御回路と
を含むことを特徴とする仮想テスタ。 In a virtual tester modeled with a hardware description language so that a semiconductor integrated circuit modeled with a hardware description language is operated on a computer according to a test program and tested.
A test program storage circuit in which a function for storing the test program is modeled by a hardware description language;
A test program execution circuit in which a function for executing the test program is modeled by a hardware description language;
A virtual tester comprising: a test program storage circuit modeled by the hardware description language; and a control circuit modeled by a hardware description language with a function for controlling the test program execution circuit.
前記仮想テスタは、前記テストプログラムを格納するための機能をハードウェア記述言語によりモデル化したテストプログラム格納回路と、前記テストプログラムを実行するための機能をハードウェア記述言語によりモデル化したテストプログラム実行回路と、前記ハードウェア記述言語によりモデル化されたテストプログラム格納回路及びテストプログラム実行回路を制御するための機能をハードウェア記述言語によりモデル化した制御回路とを含み、前記半導体集積回路を前記テストプログラムに従って所定のテスト状態に設定するための条件設定信号を発生する機能をハードウェア記述言語によりモデル化してあり、
前記条件設定信号が与えられることにより与えられた条件設定信号に応じた第1及び第2の電流及び/又は電圧値が設定される機能と、前記半導体集積回路が前記条件設定信号に応じて前記所定のテスト状態に設定されたか否かを検出する機能と、該検出結果に応じて前記第1又は第2の電流及び/又は電圧値を生成する機能とをハードウェア記述言語によりモデル化した状態検出回路を含み、
前記仮想テスタは、前記状態検出回路が生成した電流及び/又は電圧値に基づいて前記テスト用プログラム中のバグの存否を判定するようにしてあること
を特徴とする半導体集積回路用テストシステム。 In a semiconductor integrated circuit test system for testing a semiconductor integrated circuit modeled in a hardware description language by operating it on a computer according to a test program by a virtual tester modeled in a hardware description language,
The virtual tester includes a test program storage circuit in which a function for storing the test program is modeled by a hardware description language, and a test program execution in which a function for executing the test program is modeled by a hardware description language A test program storage circuit modeled by the hardware description language and a control circuit modeled by a hardware description language for controlling a function for controlling the test program execution circuit. A function that generates a condition setting signal for setting a predetermined test state according to a program is modeled by a hardware description language,
A function of setting the first and second currents and / or voltage values according to the condition setting signal given by the condition setting signal; and the semiconductor integrated circuit according to the condition setting signal. A state in which a function for detecting whether or not a predetermined test state is set and a function for generating the first or second current and / or voltage value according to the detection result are modeled by a hardware description language Including a detection circuit,
The test system for a semiconductor integrated circuit, wherein the virtual tester determines whether or not there is a bug in the test program based on a current and / or voltage value generated by the state detection circuit.
前記状態検出回路は、前記電源回路が生成した電源電圧値及び/又は電流値のアナログ値が前記テストプログラムに基づいて生成されるべき電源電圧値及び/又は電流値を表わすアナログ値に対して所定範囲内であるか否かを判定する機能をハードウェア記述言語によりモデル化してあり、
前記仮想テスタは、前記状態検出回路の判定結果に基づいて前記テスト用プログラム中のバグの存否を判定するようにしてあること
を特徴とする請求項5に記載の半導体集積回路用テストシステム。 The virtual tester further includes a power supply circuit in which a function for generating an analog value representing a power supply voltage value and / or a current value based on a test program stored in the test program storage circuit is modeled by a hardware description language. ,
The state detection circuit is configured such that an analog value of a power supply voltage value and / or current value generated by the power supply circuit is predetermined with respect to an analog value representing a power supply voltage value and / or current value to be generated based on the test program. The function to determine whether it is within the range is modeled by a hardware description language,
6. The semiconductor integrated circuit test system according to claim 5, wherein the virtual tester determines whether or not a bug exists in the test program based on a determination result of the state detection circuit.
前記電流電圧測定回路は、前記状態検出回路が生成した電流及び/又は電圧値を表わすアナログ値に基づいて前記テスト用プログラム中のバグの存否を判定するようにしてあること
を特徴とする請求項6に記載の半導体集積回路用テストシステム。 The state detection circuit has a function of taking in an analog value representing a current and / or voltage value output by the semiconductor integrated circuit in response to execution of the test program, and a current to be output in response to execution of the test program and A hardware description language having a function for determining whether or not a voltage value is within a predetermined range and a function for generating the first or second current and / or voltage value according to the determination result Is modeled by
The current / voltage measurement circuit is configured to determine whether or not there is a bug in the test program based on an analog value representing a current and / or voltage value generated by the state detection circuit. 7. A test system for a semiconductor integrated circuit according to 6.
前記複数の論理ブロックの内のテスト対象の論理ブロックの前後の論理ブロックでの動作に応じて前記テスト対象の論理ブロックへ前記仮想テスタからの信号を入力させる機能と、入力された信号に応じて出力される電流及び/又は電圧値を読み出す機能とをハードウェア記述言語によりモデル化した信号伝達回路を含むことを特徴とする請求項5乃至7のいずれかに記載の半導体集積回路用テストシステム。 The semiconductor integrated circuit includes a plurality of logic blocks modeled by a hardware description language,
A function of inputting a signal from the virtual tester to the logical block to be tested in response to an operation in a logical block before and after the logical block to be tested among the plurality of logical blocks, and according to the input signal 8. The test system for a semiconductor integrated circuit according to claim 5, further comprising a signal transmission circuit in which a function of reading an output current and / or voltage value is modeled by a hardware description language.
前記テストプログラムを格納するための機能をハードウェア記述言語によりコンピュータ上でモデル化したテストプログラム格納手段と、
前記テストプログラムを実行するための機能をハードウェア記述言語によりコンピュータ上でモデル化したテストプログラム実行手段と、
前記テストプログラム格納手段及びテストプログラム実行手段を制御するための機能をハードウェア記述言語によりコンピュータ上でモデル化した制御手段と
を備えることを特徴とするテスト装置。 In a test apparatus in which a virtual tester for testing a semiconductor integrated circuit modeled on a computer in a hardware description language by operating the computer in accordance with a test program on the computer in a hardware description language,
A test program storage means in which a function for storing the test program is modeled on a computer by a hardware description language;
A test program execution means in which a function for executing the test program is modeled on a computer by a hardware description language;
A test apparatus comprising: control means for modeling a function for controlling the test program storage means and the test program execution means on a computer using a hardware description language.
前記テスト装置は、前記テストプログラムを格納するための機能をハードウェア記述言語によりコンピュータ上でモデル化したテストプログラム格納手段と、前記テストプログラムを実行するための機能をハードウェア記述言語によりコンピュータ上でモデル化したテストプログラム実行手段と、前記テストプログラム格納手段及びテストプログラム実行手段を制御するための機能をハードウェア記述言語によりコンピュータ上でモデル化した制御手段と、前記半導体集積回路を前記テストプログラムに従って所定のテスト状態に設定するための条件設定信号を発生する機能をハードウェア記述言語によりコンピュータ上でモデル化した手段とを有し、
前記条件設定信号が与えられることにより与えられた条件設定信号に応じた第1及び第2の電流及び/又は電圧値が設定される機能と、前記半導体集積回路が前記条件設定信号に応じて前記所定のテスト状態に設定されたか否かを検出する機能と、該検出結果に応じて前記第1又は第2の電流及び/又は電圧値を生成する機能とをハードウェア記述言語によりコンピュータ上でモデル化した状態検出手段を備え、
前記テスト装置は、前記状態検出手段が生成した電流及び/又は電圧値に基づいて前記テスト用プログラム中のバグの存否を判定するようにしてあること
を特徴とする半導体集積回路用テストシステム。 A semiconductor integrated circuit having a test apparatus in which a virtual tester for testing a semiconductor integrated circuit modeled on a computer in a hardware description language by operating on the computer according to a test program is modeled on the computer in a hardware description language In the test system for
The test apparatus includes a test program storage unit in which a function for storing the test program is modeled on a computer by a hardware description language, and a function for executing the test program on the computer by a hardware description language. Modeled test program execution means, control means for modeling the function for controlling the test program storage means and test program execution means on a computer by a hardware description language, and the semiconductor integrated circuit according to the test program A means for modeling a function setting signal for setting a predetermined test state on a computer by a hardware description language;
A function of setting the first and second currents and / or voltage values according to the condition setting signal given by the condition setting signal; and the semiconductor integrated circuit according to the condition setting signal. A function for detecting whether or not a predetermined test state has been set and a function for generating the first or second current and / or voltage value according to the detection result are modeled on a computer using a hardware description language. Equipped with a state detection means
The test system for a semiconductor integrated circuit, wherein the test apparatus determines whether or not there is a bug in the test program based on the current and / or voltage value generated by the state detection means.
前記状態検出手段は、前記電源手段が生成した電源電圧値及び/又は電流値のアナログ値が前記テストプログラムに基づいて生成されるべき電源電圧値及び/又は電流値を表わすアナログ値に対して所定範囲内であるか否かを判定する機能をハードウェア記述言語によりコンピュータ上でモデル化した手段を有し、
前記テスト装置は、前記状態検出手段の判定結果に基づいて前記テスト用プログラム中のバグの存否を判定するようにしてあること
を特徴とする請求項15に記載の半導体集積回路用テストシステム。 The test apparatus includes a power supply means in which a function for generating an analog value representing a power supply voltage value and / or current value based on a test program stored in the test program storage means is modeled on a computer by a hardware description language. Further comprising
The state detection means is predetermined for an analog value representing a power supply voltage value and / or a current value to be generated based on the test program. Having means for modeling on a computer by a hardware description language to determine whether it is within a range;
16. The semiconductor integrated circuit test system according to claim 15, wherein the test apparatus determines whether or not a bug exists in the test program based on a determination result of the state detection unit.
前記電流電圧測定手段は、前記状態検出手段が生成した電流及び/又は電圧値を表わすアナログ値に基づいて前記テスト用プログラム中のバグの存否を判定するようにしてあること
を特徴とする請求項16に記載の半導体集積回路用テストシステム。 The state detection means includes a function of taking in an analog value representing a current and / or voltage value output by the semiconductor integrated circuit in response to execution of the test program, and a current to be output in response to execution of the test program and A hardware description language having a function for determining whether or not a voltage value is within a predetermined range and a function for generating the first or second current and / or voltage value according to the determination result Having means modeled on a computer by
The current voltage measurement unit is configured to determine whether or not there is a bug in the test program based on an analog value representing a current and / or voltage value generated by the state detection unit. 16. A test system for a semiconductor integrated circuit according to 16.
前記複数の論理ブロックの内のテスト対象の論理ブロックの前後の論理ブロックでの動作に応じて前記テスト対象の論理ブロックへ前記仮想テスタからの信号を入力させる機能と、入力された信号に応じて出力される電流及び/又は電圧値を読み出す機能とをハードウェア記述言語によりコンピュータ上でモデル化した信号伝達手段を有すること
を特徴とする請求項15乃至17のいずれかに記載の半導体集積回路用テストシステム。 The semiconductor integrated circuit includes a plurality of logic blocks modeled on a computer by a hardware description language,
A function of inputting a signal from the virtual tester to the logical block to be tested in response to an operation in a logical block before and after the logical block to be tested among the plurality of logical blocks, and according to the input signal 18. The semiconductor integrated circuit device according to claim 15, further comprising: a signal transmission unit that models a function of reading an output current and / or voltage value on a computer using a hardware description language. Test system.
検証対象の半導体集積回路用テストプログラムにより良品と判定されるようにハードウェア記述言語によりモデル化された半導体集積回路と、検証対象の半導体集積回路用テストプログラムにより不良品と判定されるようにハードウェア記述言語によりモデル化された半導体集積回路とを用意し、
前記検証対象の半導体集積回路用テストプログラムに従って、前記良品と判定されるようにハードウェア記述言語によりモデル化された半導体集積回路及び不良品と判定されるようにハードウェア記述言語によりモデル化された半導体集積回路をテストし、
前記良品と判定されるようにハードウェア記述言語によりモデル化された半導体集積回路が良品と判定され、前記不良品と判定されるようにハードウェア記述言語によりモデル化された半導体集積回路が不良品と判定された場合に、前記検証対象の半導体集積回路用テストプログラムが完全であると判定すること
を特徴とする半導体集積回路用テストプログラムの検証方法。 A test program for a semiconductor integrated circuit for debugging a test program for a semiconductor integrated circuit by modeling a semiconductor integrated circuit test system and a semiconductor integrated circuit to be tested in a hardware description language and operating them on a computer In the method of verifying completeness,
A semiconductor integrated circuit modeled in a hardware description language so as to be judged as a non-defective product by a test program for a semiconductor integrated circuit to be verified, and a hardware so as to be judged as a defective product by a test program for a semiconductor integrated circuit to be verified A semiconductor integrated circuit modeled in a hardware description language,
According to the test program for the semiconductor integrated circuit to be verified, the semiconductor integrated circuit modeled by the hardware description language so as to be determined as the non-defective product and the hardware description language modeled as determined as the defective product Testing semiconductor integrated circuits,
A semiconductor integrated circuit modeled in a hardware description language so as to be determined as the non-defective product is determined as a non-defective product, and a semiconductor integrated circuit modeled in the hardware description language as determined as the defective product is defective. When it is determined that the test program for the semiconductor integrated circuit is determined to be complete, the method for verifying the test program for the semiconductor integrated circuit is characterized in that:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003273709A JP2005032191A (en) | 2003-07-11 | 2003-07-11 | Virtual tester, test device, test system for semiconductor integrated circuit, and verification method of test program for semiconductor integrated circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003273709A JP2005032191A (en) | 2003-07-11 | 2003-07-11 | Virtual tester, test device, test system for semiconductor integrated circuit, and verification method of test program for semiconductor integrated circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005032191A true JP2005032191A (en) | 2005-02-03 |
Family
ID=34210864
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003273709A Pending JP2005032191A (en) | 2003-07-11 | 2003-07-11 | Virtual tester, test device, test system for semiconductor integrated circuit, and verification method of test program for semiconductor integrated circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005032191A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100375096C (en) * | 2005-11-24 | 2008-03-12 | 威盛电子股份有限公司 | Detection system and method for hardware description language circuit |
JP2008283366A (en) * | 2007-05-09 | 2008-11-20 | Yokogawa Electric Corp | Lsi tester |
DE112008001590T5 (en) | 2007-06-13 | 2010-04-29 | Toyota Infotechnology Center Co., Ltd. | Processor operation inspection system and operation inspection circuit |
KR20200139083A (en) * | 2019-06-03 | 2020-12-11 | 주식회사 아도반테스토 | Systems and methods for simulated device testing using a memory-based communication protocol |
CN112363877A (en) * | 2020-11-10 | 2021-02-12 | 海光信息技术股份有限公司 | Chip verification method and platform |
CN114253158A (en) * | 2021-12-23 | 2022-03-29 | 江苏辛艾络科技研发有限公司 | Semi-physical rapid test system based on virtual resistance |
-
2003
- 2003-07-11 JP JP2003273709A patent/JP2005032191A/en active Pending
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100375096C (en) * | 2005-11-24 | 2008-03-12 | 威盛电子股份有限公司 | Detection system and method for hardware description language circuit |
JP2008283366A (en) * | 2007-05-09 | 2008-11-20 | Yokogawa Electric Corp | Lsi tester |
DE112008001590T5 (en) | 2007-06-13 | 2010-04-29 | Toyota Infotechnology Center Co., Ltd. | Processor operation inspection system and operation inspection circuit |
US8060793B2 (en) | 2007-06-13 | 2011-11-15 | Toyota Infotechnology Center Co., Ltd. | Processor operation inspection system and operation inspection circuit |
KR20200139083A (en) * | 2019-06-03 | 2020-12-11 | 주식회사 아도반테스토 | Systems and methods for simulated device testing using a memory-based communication protocol |
KR102243791B1 (en) | 2019-06-03 | 2021-04-22 | 주식회사 아도반테스토 | Systems and methods for simulated device testing using a memory-based communication protocol |
CN112363877A (en) * | 2020-11-10 | 2021-02-12 | 海光信息技术股份有限公司 | Chip verification method and platform |
CN114253158A (en) * | 2021-12-23 | 2022-03-29 | 江苏辛艾络科技研发有限公司 | Semi-physical rapid test system based on virtual resistance |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3942765B2 (en) | Semiconductor device simulation apparatus and program debugging apparatus for semiconductor test using the same | |
US6141630A (en) | System and method for automated design verification | |
US8997034B2 (en) | Emulation-based functional qualification | |
US7478346B2 (en) | Debugging system for gate level IC designs | |
JP3872954B2 (en) | System and method for identifying finite state machines and inspecting circuit designs | |
JP2003114260A (en) | Embedded memory of asic and built-in self-testing method using processor | |
US8990622B2 (en) | Post-silicon validation using a partial reference model | |
Polian et al. | Exploring the mysteries of system-level test | |
Civera et al. | Exploiting FPGA for accelerating fault injection experiments | |
CN116663462B (en) | Assertion verification method, assertion verification platform, electronic device and readable storage medium | |
US20020173942A1 (en) | Method and apparatus for design validation of complex IC without using logic simulation | |
Khan et al. | From Spec to Verification Closure: a case study of applying UVM-MS for first pass success to a complex Mixed-Signal SoC design | |
KR100506769B1 (en) | High speed test pattern evaluation apparatus | |
JP2005032191A (en) | Virtual tester, test device, test system for semiconductor integrated circuit, and verification method of test program for semiconductor integrated circuit | |
US8938646B2 (en) | Mutations on input for test generation | |
JP2001051025A (en) | Program debugging apparatus for semiconductor test | |
US8560987B2 (en) | Test functionality integrity verification for integrated circuit design | |
US6829572B2 (en) | Method and system for efficiently overriding array net values in a logic simulator machine | |
JPH1185828A (en) | Sequential circuit functional verifying method and system therefor | |
CN115510782B (en) | Method for locating verification errors, electronic device and storage medium | |
Anghel et al. | Self-test library generation for in-field test of path delay faults | |
CN107679266A (en) | The emulation mode and simulator of flash memory circuit | |
Rahkonen | Mutation-based qualification of module verification environments | |
Melani et al. | An integrated flow from pre-silicon simulation to post-silicon verification | |
Ellervee et al. | Fault emulation on FPGA: a feasibility study |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050810 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20080325 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20081125 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20090331 |