JP4899927B2 - Test pattern automatic generation method and test pattern automatic generation program - Google Patents

Test pattern automatic generation method and test pattern automatic generation program Download PDF

Info

Publication number
JP4899927B2
JP4899927B2 JP2007045572A JP2007045572A JP4899927B2 JP 4899927 B2 JP4899927 B2 JP 4899927B2 JP 2007045572 A JP2007045572 A JP 2007045572A JP 2007045572 A JP2007045572 A JP 2007045572A JP 4899927 B2 JP4899927 B2 JP 4899927B2
Authority
JP
Japan
Prior art keywords
test pattern
rom
gate
netlist
input
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.)
Expired - Fee Related
Application number
JP2007045572A
Other languages
Japanese (ja)
Other versions
JP2008209210A (en
Inventor
直子 唐沢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Semiconductor Ltd
Original Assignee
Fujitsu Semiconductor Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Semiconductor Ltd filed Critical Fujitsu Semiconductor Ltd
Priority to JP2007045572A priority Critical patent/JP4899927B2/en
Publication of JP2008209210A publication Critical patent/JP2008209210A/en
Application granted granted Critical
Publication of JP4899927B2 publication Critical patent/JP4899927B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、LSI(large scale integrated circuit)テスタでROM(read only memory)混在LSIをテストする場合に使用するテストパターンを自動生成するテストパターン自動生成方法およびテストパターン自動生成プログラムに関する。   The present invention relates to a test pattern automatic generation method and a test pattern automatic generation program for automatically generating a test pattern used when a ROM (read only memory) mixed LSI is tested by an LSI (large scale integrated circuit) tester.

LSIテスタでLSIをテストする場合に使用するテストパターンを自動生成するATPG(automatic test pattern generator)には、故障検出率の高いテストパターンを高速で生成することが求められている。スキャン設計されたLSIのテストパターンを自動生成するATPGは、回路情報としてゲートレベルのネットリストを扱うが、ゲートの種類は、ANDゲートやORゲート等、数種類のみであり、その動作は単純であるので、テストパターン自動生成のための処理を高速で行うことができる。   An ATPG (automatic test pattern generator) that automatically generates a test pattern used when testing an LSI with an LSI tester is required to generate a test pattern with a high failure detection rate at high speed. The ATPG that automatically generates a scan-designed LSI test pattern handles a gate-level netlist as circuit information, but there are only a few gate types, such as AND gates and OR gates, and the operation is simple. Therefore, the process for automatic test pattern generation can be performed at high speed.

たとえば、図5に示す2入力のANDゲートの場合、出力ピンwに“0”を求める場合には、入力ピンa、bのどちらかに“0”を設定し、また、出力ピンwに“1”を求める場合には、入力ピンa、bの両方に“1”を設定するという処理をプログラムに組み込むようにすれば足りる。入力ピンが3ピン以上であっても、各入力ピンは同じ機能なので、処理上の負担は大きくない。   For example, in the case of the 2-input AND gate shown in FIG. 5, when “0” is obtained for the output pin w, “0” is set to either the input pin a or b, and “0” is set to the output pin w. In order to obtain “1”, it is sufficient to incorporate a process of setting “1” in both the input pins a and b into the program. Even if the number of input pins is three or more, since each input pin has the same function, the processing burden is not great.

しかし、ROMの場合には、メモリセルに設定されている信号値によって動作が決まるため、ROM混在LSIのテストパターンを自動生成する場合、ROMをメモリセルに設定されている信号値の集合である真理値表のままで扱うことはテストパターン生成時間の増大につながる。   However, in the case of the ROM, the operation is determined by the signal value set in the memory cell. Therefore, when the test pattern of the ROM mixed LSI is automatically generated, the ROM is a set of signal values set in the memory cell. Handling as a truth table leads to an increase in test pattern generation time.

図6はROMの一例を示しており、ADR0〜ADR6はアドレスピン、DO0〜DO7は出力データピンである。このROMの場合、アドレス数は128であるから、128×8ビットの信号値が設定されることになる。ここで、たとえば、出力データピンDO0に“0”を求める場合には、ROMの真理値表を見て、出力データピンDO0が“0”となるアドレスピンADR0〜ADR6の信号値を探し出す必要がある。この処理は、アドレスピンの数が増えるほど、ATPGには大きな負担となる。   FIG. 6 shows an example of a ROM. ADR0 to ADR6 are address pins, and DO0 to DO7 are output data pins. In the case of this ROM, since the number of addresses is 128, a signal value of 128 × 8 bits is set. Here, for example, when “0” is obtained for the output data pin DO0, it is necessary to look at the truth table of the ROM and find the signal value of the address pins ADR0 to ADR6 where the output data pin DO0 is “0”. is there. This process becomes more burdensome on the ATPG as the number of address pins increases.

そこで、ROM混在LSIについては、ROMを縮退故障あるいはディレイ故障の対象外として扱うテストパターンを生成するという方法が使用されることもある。しかし、この場合は、ROMのピンの縮退故障や、ROMを通過するパスのディレイ故障を検出することができないことになる。   Therefore, for a ROM mixed LSI, a method of generating a test pattern that treats the ROM as not subject to a stuck-at fault or a delay fault may be used. However, in this case, a stuck-at fault in the ROM pin or a delay fault in the path passing through the ROM cannot be detected.

そこで、また、ROM混在LSIについては、ROMをANDゲート、ORゲート、NANDゲートおよびNORゲートを必要に応じて使用してなる組合せ回路に置き換えて、ATPGでテストパターンを自動生成する方法が使用されることもある。この手法では、ATPGで生成したテストパターンの検証(validation)は、オリジナルのネットリストで行われる。   Therefore, for ROM mixed LSIs, a method of automatically generating test patterns with ATPG by replacing ROM with a combinational circuit that uses AND gates, OR gates, NAND gates and NOR gates as needed is used. Sometimes. In this method, verification of a test pattern generated by ATPG is performed using an original netlist.

図7はROMを組合せ回路に置き換えてATPGでROM混在LSIのテストパターンを自動生成する従来方法を示すフローチャートである。本例では、まず、ROMを真理値表で示すROM混載LSIのゲートレベルのネットリスト1を元に、CPUおよびレイアウト・プログラムによりレイアウト処理を行い、ディレイ情報2を作成する(ステップP1)。   FIG. 7 is a flowchart showing a conventional method for automatically generating a test pattern of a ROM mixed LSI by ATPG by replacing the ROM with a combinational circuit. In this example, first, layout processing is performed by the CPU and the layout program based on the gate-level netlist 1 of the ROM-embedded LSI whose ROM is shown in the truth table, and delay information 2 is created (step P1).

次に、ネットリスト1を入力し、CPUおよびATPGにより、真理値表で示されているROMをANDゲート、ORゲート、NANDゲートおよびNORゲートを必要に応じて使用してなる組合せ回路に置き換えて、ネットリスト1をATPG用のゲートレベルのネットリスト3に変換する(ステップP2)。次に、ATPG用のネットリスト3を元に、CPUおよびATPGにより、入出力ピンの信号値のみからなるテストパターン4を生成する(ステップP3)。   Next, the netlist 1 is input, and the CPU and ATPG replace the ROM shown in the truth table with a combinational circuit that uses AND gates, OR gates, NAND gates, and NOR gates as necessary. Then, the net list 1 is converted into a gate level net list 3 for ATPG (step P2). Next, based on the ATPG netlist 3, the CPU and ATPG generate a test pattern 4 consisting only of signal values of the input / output pins (step P3).

次に、入出力ピンの信号値のみからなるテストパターン4およびタイミング定義ファイル5を元に、CPUおよびATPGにより、入出力ピンの信号値およびタイミング記述のあるテストパターン6を生成する(ステップP4)。次に、ネットリスト1およびディレイ情報2を元に、CPUおよびテストパターン検証プログラムにより、テストパターン6の検証を行う(ステップP5)。   Next, based on the test pattern 4 and the timing definition file 5 consisting only of the signal values of the input / output pins, the test pattern 6 having the signal values of the input / output pins and the timing description is generated by the CPU and ATPG (step P4). . Next, the test pattern 6 is verified by the CPU and the test pattern verification program based on the netlist 1 and the delay information 2 (step P5).

図8は図7に示す従来のテストパターン自動生成方法の利点を説明するための図であり、(A)はネットリスト1が示すROM混在LSIの一部分を示し、(B)はATPG用のネットリスト3が示すROM混在LSIの一部分を示している。図8中、11はROM混在LSI、12はROM、13、14、15はANDゲート、16、17はスキャン・フリップフロップであり、ROM12は、ネットリスト1では真理値表で示され、ATPG用のネットリスト3では、ANDゲート14、15を含む組合せ回路で示される。   8A and 8B are diagrams for explaining the advantages of the conventional test pattern automatic generation method shown in FIG. 7, in which FIG. 8A shows a part of a ROM mixed LSI indicated by the netlist 1, and FIG. 8B shows an ATPG net. A part of the ROM mixed LSI shown in the list 3 is shown. In FIG. 8, 11 is a ROM mixed LSI, 12 is a ROM, 13, 14 and 15 are AND gates, 16 and 17 are scan flip-flops, and ROM 12 is shown as a truth table in the netlist 1 and is used for ATPG. In the net list 3, the combinational circuit including AND gates 14 and 15 is shown.

図7に示す従来のテストパターン自動生成方法によれば、ROM12は、ATPG用のネットリスト3では、組合せ回路で示されるので、ANDゲート13の出力ピンとROM12のアドレスピンとの間のネットの縮退故障検出用のテストパターンや、スキャン・フリップフロップ16、17間のディレイ故障検出用のテストパターンの自動生成が可能である。
特開平03−029868号公報
According to the conventional test pattern automatic generation method shown in FIG. 7, since the ROM 12 is indicated by a combinational circuit in the ATPG netlist 3, a net stuck-at fault between the output pin of the AND gate 13 and the address pin of the ROM 12 A test pattern for detection and a test pattern for detecting a delay fault between the scan flip-flops 16 and 17 can be automatically generated.
Japanese Patent Laid-Open No. 03-029868

ところで、ATPGが作成したテストパターン6をオリジナルのネットリスト1で検証する場合、ROMの真理値表を使用してその出力信号を決定しているが、ROMについては、アドレスピンのいずれか1ピンの信号値が不定値(“0”とも“1”とも言えない状態)になれば、全出力データピンの信号値が不定値にならなければならないという条件がある。   By the way, when verifying the test pattern 6 created by the ATPG with the original netlist 1, the output signal is determined using the truth table of the ROM. For the ROM, any one of the address pins is used. There is a condition that the signal values of all the output data pins must be indefinite values if the signal value becomes an indefinite value (a state in which neither “0” nor “1” can be said).

ここで、たとえば、図6に示すROMがROM混在LSIに搭載されている場合、出力データピンDO0〜DO7の各々の信号の全てがアドレスピンADR0〜ADR6の7本の全ての信号の影響を受けているとは限らない。たとえば、出力データピンDO0の信号値が、アドレスピンADR0の信号値が“0”の場合でも“1”の場合でも、同じ信号値であれば、出力データピンDO0の信号値には、アドレスピンADR0は関与していないことになる。   Here, for example, when the ROM shown in FIG. 6 is mounted on the ROM mixed LSI, all the signals of the output data pins DO0 to DO7 are affected by all the seven signals of the address pins ADR0 to ADR6. Not necessarily. For example, if the signal value of the output data pin DO0 is the same signal value regardless of whether the signal value of the address pin ADR0 is “0” or “1”, the signal value of the output data pin DO0 includes the address pin ADR0 will not be involved.

このような場合、図6に示すROMを組合せ回路に置き換えた後のATPG用のネットリスト3においては、出力データピンDO0の入力ツリーにはアドレスピンADR0は含まれないことになる。したがって、アドレスピンADR0の信号値が不定値になっても、ATPGでは出力データピンDO0に“0”あるいは“1”が出力されることを前提にテストパターンが生成されてしまう。   In such a case, in the ATPG netlist 3 after the ROM shown in FIG. 6 is replaced with a combinational circuit, the address pin ADR0 is not included in the input tree of the output data pin DO0. Therefore, even if the signal value of the address pin ADR0 becomes an indefinite value, the ATPG generates a test pattern on the assumption that “0” or “1” is output to the output data pin DO0.

このように、図7に示す従来のテストパターン自動生成方法においては、ATPGにより生成されるテストパターン6がオリジナルのネットリスト1を使用したテストパターン検証条件を満たさない場合が発生し、テストパターン検証工程(ステップP5)においてストローブエラーが発生してしまう場合があるという問題点があった。   As described above, in the conventional test pattern automatic generation method shown in FIG. 7, the test pattern 6 generated by ATPG does not satisfy the test pattern verification condition using the original netlist 1, and the test pattern verification is performed. There has been a problem that strobe errors may occur in the process (step P5).

本発明は、かかる点に鑑み、ゲートレベルのネットリストを扱うテストパターン自動生成ツールを使用してROM混在LSIのテストパターンを生成する場合であっても、生成されるテストパターンがオリジナルのネットリストを使用したテストパターン検証条件を満たすようにし、オリジナルのネットリストを使用したテストパターン検証工程においてストローブエラーが発生しないようにすることができるテストパターン自動生成方法およびテストパターン自動生成プログラムを提供することを目的とする。   In view of this point, the present invention provides a test pattern generated in an original netlist even when a test pattern for a ROM mixed LSI is generated using an automatic test pattern generation tool that handles a gate-level netlist. To provide a test pattern automatic generation method and a test pattern automatic generation program that can satisfy a test pattern verification condition using a test pattern and prevent a strobe error from occurring in a test pattern verification process using an original netlist With the goal.

本発明のテストパターン自動生成方法は、CPUにより、ROMを真理値表で示すROM混在LSIのゲートレベルの第1のネットリストをゲートレベルのネットリストを扱うテストパターン自動生成ツール用の第2のネットリストに変換するネットリスト変換工程と、前記第2のネットリストおよびタイミング定義ファイルを元に、前記CPUおよび前記テストパターン自動生成ツールにより、前記ROM混在LSIのテストパターンを生成するテストパターン生成工程を含むテストパターン自動生成方法であって、前記ネットリスト変換工程は、前記ROMを、前記真理値表を満足する組合せ回路と、アドレスピンのいずれかの信号値が不定値のときは、全出力データピンの信号値を不定値に設定する不定値発生回路を備える不定値発生回路付きROMに置き換える工程を含むものである。   According to the test pattern automatic generation method of the present invention, the CPU uses a second test pattern automatic generation tool for a gate-level netlist as a gate-level netlist of a ROM mixed LSI in which a ROM is represented by a truth table. A netlist conversion step for converting to a netlist, and a test pattern generation step for generating a test pattern for the ROM mixed LSI by the CPU and the test pattern automatic generation tool based on the second netlist and the timing definition file The netlist conversion step includes a combination circuit that satisfies the truth table, and a total output when any of the signal values of the address pins is an indefinite value. Indeterminate value generation with indeterminate value generation circuit that sets the signal value of the data pin to an indeterminate value It is intended to include the step of replacing the road with ROM.

本発明のテストパターン自動生成プログラムは、コンピュータに、ROMを真理値表で示すROM混在LSIのゲートレベルの第1のネットリストをゲートレベルのネットリストを扱うテストパターン自動生成ツール用の第2のネットリストに変換するネットリスト変換工程と、前記第2のネットリストおよびタイミング定義ファイルを元に、前記テストパターン自動生成ツールを使用して、前記ROM混在LSIのテストパターンを生成するテストパターン生成工程を実行させるプログラムを含むテストパターン自動生成プログラムであって、前記ネットリスト変換工程は、前記ROMを、前記真理値表を満足する組合せ回路と、アドレスピンのいずれかの信号値が不定値のときは、全出力データピンの信号値を不定値に設定する不定値発生回路を備える不定値発生回路付きROMに置き換える工程を含むものである。   The test pattern automatic generation program of the present invention is a second test pattern automatic generation tool for handling a gate-level netlist as a gate-level netlist of a ROM mixed LSI in which a ROM is indicated by a truth table. A netlist conversion step for converting to a netlist, and a test pattern generation step for generating a test pattern for the ROM mixed LSI using the test pattern automatic generation tool based on the second netlist and the timing definition file A test pattern automatic generation program including a program for executing the program, wherein in the netlist conversion step, the ROM, the combinational circuit that satisfies the truth table, and the signal value of any of the address pins are indefinite values Is an indeterminate value generator that sets the signal values of all output data pins to indeterminate values. It is intended to include the step of replacing the undefined value generating circuit with ROM having a circuit.

本発明によれば、ネットリスト変換工程において、ROMは、その真理値表を満足する組合せ回路と、アドレスピンのいずれかの信号値が不定値のときは、全出力データピンの信号値を不定値に設定する不定値発生回路を備える不定値発生回路付きROMに置き換えられる。したがって、ゲートレベルのネットリストを扱うテストパターン自動生成ツールを使用してROM混在LSIのテストパターンを生成する場合であっても、生成されるテストパターンがオリジナルの第1のネットリストを使用したテストパターン検証条件を満たすようにし、オリジナルの第1のネットリストを使用したテストパターン検証工程においてストローブエラーが発生しないようにすることができる。   According to the present invention, in the net list conversion step, the ROM makes the signal values of all output data pins undefined when the combinational circuit satisfying the truth table and the signal value of any of the address pins are undefined. It is replaced with a ROM with an indeterminate value generation circuit having an indeterminate value generation circuit for setting the value. Therefore, even when a test pattern for a ROM mixed LSI is generated using a test pattern automatic generation tool that handles a gate level netlist, the test pattern generated is a test using the original first netlist. By satisfying the pattern verification condition, it is possible to prevent a strobe error from occurring in the test pattern verification process using the original first netlist.

図1は本発明のテストパターン自動生成方法の一実施形態を示すフローチャートであり、本発明のテストパターン自動生成方法の一実施形態は、コンピュータを使用して実行されるものである。本発明のテストパターン自動生成方法の一実施形態では、まず、ROMを真理値表で示すROM混載LSIのゲートレベルのネットリスト21を元に、CPUおよびレイアウト・プログラムによりレイアウト処理を行い、ディレイ情報22を作成する(ステップS1)。   FIG. 1 is a flowchart showing an embodiment of a test pattern automatic generation method of the present invention. The test pattern automatic generation method of the present invention is executed using a computer. In one embodiment of the test pattern automatic generation method of the present invention, first, layout processing is performed by a CPU and a layout program based on a gate-level netlist 21 of a ROM-embedded LSI in which a ROM is indicated by a truth table, and delay information is obtained. 22 is created (step S1).

次に、ネットリスト21を入力して、CPUおよびATPG中の従来のネットリスト変換プログラムを改良したネットリスト変換処理プログラムにより、ROM混在LSI中のROMを、このROMの真理値表を満足させるように、ANDゲート、ORゲート、NANDゲートおよびNORゲートを必要に応じて使用して構成される組合せ回路と、アドレスピンのいずれかの信号値が不定値のときは、全出力データピンの信号値を不定値に設定する不定値発生回路を備える不定値発生回路付きROMに置き換えることにより、ネットリスト21をATPG用のネットリスト23に変換する(ステップS2)。   Next, the netlist 21 is inputted, and the ROM in the ROM mixed LSI is made to satisfy the truth table of the ROM by the netlist conversion processing program improved from the conventional netlist conversion program in the CPU and ATPG. In addition, when a combinational circuit configured using an AND gate, an OR gate, a NAND gate, and a NOR gate as needed and any of the signal values of the address pins are indefinite values, the signal values of all output data pins Is replaced with a ROM with an indefinite value generation circuit having an indefinite value generation circuit for setting an indefinite value, thereby converting the net list 21 into an ATPG net list 23 (step S2).

このように、本発明のテストパターン自動生成方法の一実施形態で使用するATPGは、ネットリスト変換プログラムとして、ROM混在LSI中のROMを、このROMの真理値表を満足させるように、ANDゲート、ORゲート、NANDゲートおよびNORゲートを必要に応じて使用して構成される組合せ回路と、アドレスピンのいずれかの信号値が不定値のときは、全出力データピンの信号値を不定値に設定する不定値発生回路を備える不定値発生回路付きROMに置き換えることにより、ネットリスト21をATPG用のネットリスト23に変換するネットリスト変換プログラムを有するものである。   As described above, the ATPG used in one embodiment of the test pattern automatic generation method of the present invention uses an AND gate as a netlist conversion program so that the ROM in the ROM mixed LSI can satisfy the truth table of the ROM. When the signal value of any one of the address circuit and the combinational circuit configured using the OR gate, NAND gate and NOR gate as necessary is an indefinite value, the signal values of all output data pins are set to an indeterminate value. It has a net list conversion program for converting the net list 21 into the ATPG net list 23 by replacing it with a ROM with an indefinite value generation circuit having an indefinite value generation circuit to be set.

次に、ATPG用のネットリスト23を元に、CPUおよびATPGにより、入出力ピンの信号値のみからなるテストパターン24を生成する(ステップS3)。次に、入出力ピンの信号値のみからなるテストパターン24およびタイミング定義ファイル25を元に、CPUおよびATPGにより、入出力ピンの信号値およびタイミング記述のあるテストパターン26を生成する(ステップS4)。次に、オリジナルのネットリスト21およびディレイ情報22を元に、CPUおよびテストパターン検証プログラムにより、テストパターン26の検証を行う(ステップS5)。   Next, based on the ATPG net list 23, the CPU and ATPG generate a test pattern 24 consisting only of signal values of the input / output pins (step S3). Next, based on the test pattern 24 and the timing definition file 25 consisting only of the signal values of the input / output pins, the test pattern 26 having the signal values of the input / output pins and the timing description is generated by the CPU and ATPG (step S4). . Next, based on the original net list 21 and the delay information 22, the test pattern 26 is verified by the CPU and the test pattern verification program (step S5).

ここで、ネットリスト変換工程(ステップS2)で生成する不定値発生回路は、ROMのアドレスピンと出力データピンとの間に設けられ、たとえば、アドレスピンと同数の入力端子を有し、アドレスピンの信号値を並列入力する1段目の排他的論理和ゲート(以下、XORゲートという)と、第1、第2の入力端子を1段目のXORゲートの出力端子に接続した2入力の2段目のXORゲートと、ROMの真理値表を満足する組合せ回路の各出力端子に対応して設けられ、第1の入力端子を2段目のXORゲートの出力端子に接続し、第2の入力端子をROMの真理値表を満足する組合せ回路の対応する出力端子に接続した2入力の3段目の排他的論理和ゲートで構成される。   Here, the indeterminate value generation circuit generated in the net list conversion step (step S2) is provided between the ROM address pin and the output data pin, and has, for example, the same number of input terminals as the address pins, and the signal value of the address pins. A first-stage exclusive OR gate (hereinafter referred to as an XOR gate) and a two-input second-stage where the first and second input terminals are connected to the output terminal of the first-stage XOR gate. An XOR gate is provided corresponding to each output terminal of the combinational circuit that satisfies the truth table of the ROM, the first input terminal is connected to the output terminal of the second-stage XOR gate, and the second input terminal is connected It is constituted by a 2-input third-stage exclusive OR gate connected to the corresponding output terminal of the combinational circuit that satisfies the ROM truth table.

図2は不定値発生回路の構成例を説明するための図であり、(A)はネットリスト21が示すROM混在LSIの一部分を示し、(B)はATPG用のネットリスト23が示すROM混在LSI中の不定値発生回路付きROMを示している。図2中、31はROM混在LSI、32はROM、ADR0〜ADR2はROM32のアドレスピン、DO0〜DO2はROM32の出力データピン、33はROM32を置き換えてなる不定値発生回路付きROMであり、ROM32に不定値発生回路34を付加したものである。なお、ROM32は、ネットリスト21では真理値表で示され、ATPG用のネットリスト23では、ANDゲート35、36等を含み、ROM32の真理値表を満足する組合せ回路で示される。   2A and 2B are diagrams for explaining a configuration example of an indefinite value generation circuit. FIG. 2A shows a part of a ROM mixed LSI indicated by the netlist 21, and FIG. 2B shows a ROM mixed indicated by an ATPG netlist 23. 2 shows a ROM with an indeterminate value generation circuit in an LSI. In FIG. 2, 31 is a ROM mixed LSI, 32 is a ROM, ADR 0 to ADR 2 are address pins of the ROM 32, DO 0 to DO 2 are output data pins of the ROM 32, and 33 is a ROM with an indefinite value generating circuit formed by replacing the ROM 32. To which an indefinite value generation circuit 34 is added. The ROM 32 is indicated by a truth table in the net list 21, and the ATPG net list 23 is indicated by a combinational circuit that includes AND gates 35 and 36 and the like and satisfies the truth value table of the ROM 32.

図2の例では、不定値発生回路34は、アドレスピンADR0〜ADR2と出力データピンDO0〜DO2との間に設けられ、3入力のXORゲート37と、2入力のXORゲート38〜41で構成されている。XORゲート37は、第1の入力端子aをアドレスピンADR0に接続し、第2の入力端子bをアドレスピンADR1に接続し、第3の入力端子cをアドレスピンADR2に接続している。2段目のXORゲート38は、第1の入力端子aおよび第2の入力端子bをXORゲート37の出力端子wに接続している。   In the example of FIG. 2, the indeterminate value generation circuit 34 is provided between the address pins ADR0 to ADR2 and the output data pins DO0 to DO2, and includes a three-input XOR gate 37 and two-input XOR gates 38 to 41. Has been. The XOR gate 37 has a first input terminal a connected to the address pin ADR0, a second input terminal b connected to the address pin ADR1, and a third input terminal c connected to the address pin ADR2. The second-stage XOR gate 38 connects the first input terminal a and the second input terminal b to the output terminal w of the XOR gate 37.

XORゲート39は、第1の入力端子aをXORゲート38の出力端子wに接続し、第2の入力端子bをROM32の出力端子42−0に接続し、出力端子wを出力データピンDO0に接続している。XORゲート40は、第1の入力端子aをXORゲート38の出力端子wに接続し、第2の入力端子bをROM32の出力端子42−1に接続し、出力端子wを出力データピンDO1に接続している。XORゲート41は、第1の入力端子aをXORゲート38の出力端子wに接続し、第2の入力端子bをROM32の出力端子42−2に接続し、出力端子wを出力データピンDO2に接続している。   The XOR gate 39 connects the first input terminal a to the output terminal w of the XOR gate 38, connects the second input terminal b to the output terminal 42-0 of the ROM 32, and connects the output terminal w to the output data pin DO0. Connected. The XOR gate 40 connects the first input terminal a to the output terminal w of the XOR gate 38, connects the second input terminal b to the output terminal 42-1 of the ROM 32, and connects the output terminal w to the output data pin DO1. Connected. The XOR gate 41 connects the first input terminal a to the output terminal w of the XOR gate 38, connects the second input terminal b to the output terminal 42-2 of the ROM 32, and connects the output terminal w to the output data pin DO2. Connected.

図3は不定値発生回路34の動作を説明するための図であり、(A)は1段目のXORゲート37の真理値表、(B)は2段目、3段目のXORゲート38〜41の真理値表を示している。なお、Xは不定値、Zはハイ・インピーダンス状態を示している。ここで、アドレスピンADR0、ADR1、ADR2の信号値が“000”又は“111”の場合には、1段目のXORゲート37の出力値=“0”、2段目のXORゲート38の出力値=“0”となり、3段目のXORゲート39、40、41は、ROM32の出力端子42−0、42−1、42−2に出力される信号に対してバッファとして機能する。   3A and 3B are diagrams for explaining the operation of the indefinite value generation circuit 34. FIG. 3A is a truth table of the first-stage XOR gate 37, and FIG. 3B is a second-stage and third-stage XOR gate 38. The truth table of -41 is shown. X represents an indefinite value and Z represents a high impedance state. Here, when the signal values of the address pins ADR0, ADR1, and ADR2 are “000” or “111”, the output value of the first-stage XOR gate 37 = “0” and the output of the second-stage XOR gate 38 The value = “0”, and the third-stage XOR gates 39, 40, and 41 function as buffers for signals output to the output terminals 42-0, 42-1, and 42-2 of the ROM 32.

また、アドレスピンADR0、ADR1、ADR2の信号値が“000”又は“111”以外の確定値の場合には、1段目のXORゲート37の出力値=“1”、2段目のXORゲート38の出力値=“0”となり、3段目のXORゲート39、40、41は、ROM32の出力端子42−0、42−1、42−2に出力される信号に対してバッファとして機能する。   When the signal values of the address pins ADR0, ADR1, and ADR2 are definite values other than “000” or “111”, the output value of the first-stage XOR gate 37 = “1” and the second-stage XOR gate The output value of 38 becomes “0”, and the third-stage XOR gates 39, 40, 41 function as buffers for signals output to the output terminals 42-0, 42-1, 42-2 of the ROM 32. .

これに対して、アドレスピンADR0、ADR1、ADR2の信号値のいずれかが不定値Xの場合には、1段目のXORゲート37の出力値=不定値X、2段目のXORゲート38の出力値=不定値Xとなり、3段目のXORゲート39、40、41の出力値は全て不定値Xとなる。したがって、ゲートレベルのネットリストを扱うテストパターン自動生成ツールであるATPGを使用してROM混在LSIのテストパターン26を生成する場合であっても、生成されるテストパターン26は、オリジナルのネットリスト21を使用したテストパターン検証条件を満足することになる。   On the other hand, when any of the signal values of the address pins ADR0, ADR1, and ADR2 is an indefinite value X, the output value of the first-stage XOR gate 37 = the indefinite value X, the second-stage XOR gate 38 The output value = undefined value X, and the output values of the third-stage XOR gates 39, 40, 41 all become the undefined value X. Therefore, even when the test pattern 26 of the ROM mixed LSI is generated using ATPG, which is a test pattern automatic generation tool that handles the gate level netlist, the generated test pattern 26 is the original netlist 21. This satisfies the test pattern verification condition using.

図4は本発明のテストパターン自動生成方法の一実施形態を実施するためのコンピュータを示す図である。図4中、51はCPU、52はCPU51が演算に使用するメモリ、53は入力装置、54は表示装置、55は外部メモリであり、外部メモリ55は、本発明のテストパターン自動生成方法の一実施形態を実行する本発明のテストパターン自動生成プログラムの一実施形態を構成するレイアウト・プログラム56、ネットリスト変換プログラム57、テストパターン生成プログラム58、59およびテストパターン検証プログラム60の格納や、ネットリスト21、ディレイ情報22、ATPG用のネットリスト23、テストパターン24、タイミング定義ファイル25、およびテストパターン26の格納などに利用される。   FIG. 4 is a diagram showing a computer for carrying out one embodiment of the test pattern automatic generation method of the present invention. In FIG. 4, 51 is a CPU, 52 is a memory used by the CPU 51 for calculation, 53 is an input device, 54 is a display device, 55 is an external memory, and the external memory 55 is one of the test pattern automatic generation methods of the present invention. Storage of a layout program 56, a netlist conversion program 57, test pattern generation programs 58 and 59, and a test pattern verification program 60 constituting an embodiment of an automatic test pattern generation program of the present invention for executing the embodiment, and a netlist 21, delay information 22, ATPG netlist 23, test pattern 24, timing definition file 25, and test pattern 26.

なお、レイアウト・プログラム56は、CPU51をレイアウト処理手段として機能させてステップS1を実行させるためのものである。ネットリスト変換プログラム57は、CPU51をネットリスト変換手段として機能させてステップS2を実行させるためのものである。テストパターン生成プログラム58は、CPU51をテストパターン生成手段として機能させてステップS3を実行させるためのものである。テストパターン生成プログラム59は、CPU51をテストパターン生成手段として機能させてステップS4を実行させるためのものである。テストパターン検証プログラム60は、CPU51をテストパターン検証手段として機能させてステップS5を実行させるためのものである。   The layout program 56 is for causing the CPU 51 to function as a layout processing means to execute step S1. The net list conversion program 57 is for causing the CPU 51 to function as a net list conversion means and to execute step S2. The test pattern generation program 58 is for causing the CPU 51 to function as test pattern generation means to execute step S3. The test pattern generation program 59 is for causing the CPU 51 to function as a test pattern generation unit to execute step S4. The test pattern verification program 60 is for causing the CPU 51 to function as a test pattern verification unit to execute step S5.

以上のように、本発明のテストパターン生成方法の一実施形態によれば、ATPGは、ROM混在LSI中のROMを、このROMの真理値表を満足させるように、ANDゲート、ORゲート、NANDゲートおよびNORゲートを必要に応じて使用して構成される組合せ回路と、アドレスピンのいずれかの信号値が不定値のときは、全出力データピンの信号値を不定値に設定する不定値発生回路を備える不定値発生回路付きROMに置き換えることにより、ネットリスト21をATPG用のネットリスト23に変換する(ステップS2)。   As described above, according to the embodiment of the test pattern generation method of the present invention, the ATPG allows the ROM in the ROM mixed LSI to perform the AND gate, OR gate, NAND operation so as to satisfy the truth table of the ROM. Indeterminate value generation that sets the signal values of all output data pins to indefinite values when the combinational circuit is configured using gates and NOR gates as needed, and the signal value of any of the address pins is indefinite The net list 21 is converted into an ATPG net list 23 by replacing it with a ROM with an indeterminate value generation circuit having a circuit (step S2).

したがって、ゲートレベルのネットリストを扱うテストパターン自動生成ツールであるATPGを使用してテストパターン26を生成する場合であっても、生成されるテストパターン26がオリジナルのネットリスト21を使用したテストパターン検証条件を満たすようにし、オリジナルのネットリスト21を使用したテストパターン検証工程においてストローブエラーが発生しないようにすることができる。   Therefore, even when the test pattern 26 is generated using the ATPG which is a test pattern automatic generation tool for handling the gate level netlist, the generated test pattern 26 uses the original netlist 21. By satisfying the verification condition, it is possible to prevent a strobe error from occurring in the test pattern verification process using the original netlist 21.

本発明のテストパターン自動生成方法の一実施形態を示すフローチャートである。It is a flowchart which shows one Embodiment of the test pattern automatic generation method of this invention. 本発明のテストパターン自動生成方法の一実施形態のネットリスト変換工程で生成する不定値発生回路の構成例を説明するための図である。It is a figure for demonstrating the structural example of the indefinite value generation circuit produced | generated at the net list conversion process of one Embodiment of the test pattern automatic generation method of this invention. 本発明のテストパターン自動生成方法の一実施形態で生成する不定値発生回路の動作を説明するための図である。It is a figure for demonstrating operation | movement of the indefinite value generation circuit produced | generated by one Embodiment of the test pattern automatic generation method of this invention. 本発明のテストパターン自動生成方法の一実施形態を実施するためのコンピュータを示す図である。It is a figure which shows the computer for implementing one Embodiment of the test pattern automatic generation method of this invention. ANDゲートの一例を示す図である。It is a figure which shows an example of an AND gate. ROMの一例を示す図である。It is a figure which shows an example of ROM. ROMを組合せ回路に置き換えてATPGでROM混在LSIのテストパターンを自動生成する従来方法を示すフローチャートである。It is a flowchart which shows the conventional method which replaces ROM with a combinational circuit and automatically produces | generates the test pattern of ROM mixed LSI by ATPG. 図7に示す従来のテストパターン自動生成方法の利点を説明するための図である。It is a figure for demonstrating the advantage of the conventional test pattern automatic generation method shown in FIG.

符号の説明Explanation of symbols

1…ネットリスト
2…ディレイ情報
3…ATPG用のネットリスト
4…テストパターン
5…タイミング定義ファイル
6…テストパターン
11…ROM混在LSI
12…ROM
13、14、15…ANDゲート
16、17…スキャン・フリップフロップ
21…ネットリスト
22…ディレイ情報
23…ATPG用のネットリスト
24…テストパターン
25…タイミング定義ファイル
26…テストパターン
31…ROM混在LSI
32…ROM
33…不定値発生回路付きROM
34…不定値発生回路
35、36…ANDゲート
37〜41…排他的論理和ゲート(XORゲート)
51…CPU
52…メモリ
53…入力装置
54…表示装置
55…外部メモリ
56…レイアウト・プログラム
57…ネットリスト変換プログラム
58、59…テストパターン生成プログラム
60…テストパターン検証プログラム
DESCRIPTION OF SYMBOLS 1 ... Net list 2 ... Delay information 3 ... Net list for ATPG 4 ... Test pattern 5 ... Timing definition file 6 ... Test pattern 11 ... ROM mixed LSI
12 ... ROM
13, 14, 15 ... AND gate 16, 17 ... Scan flip-flop 21 ... Net list 22 ... Delay information 23 ... Net list for ATPG 24 ... Test pattern 25 ... Timing definition file 26 ... Test pattern 31 ... ROM mixed LSI
32 ... ROM
33 ... ROM with indeterminate value generation circuit
34: Undefined value generation circuit 35, 36 ... AND gate 37-41 ... Exclusive OR gate (XOR gate)
51 ... CPU
52 ... Memory 53 ... Input device 54 ... Display device 55 ... External memory 56 ... Layout program 57 ... Netlist conversion program 58, 59 ... Test pattern generation program 60 ... Test pattern verification program

Claims (2)

CPUにより、ROMを真理値表で示すROM混在LSIのゲートレベルの第1のネットリストをゲートレベルのネットリストを扱うテストパターン自動生成ツール用の第2のネットリストに変換するネットリスト変換工程と、
前記第2のネットリストおよびタイミング定義ファイルを元に、前記CPUおよび前記テストパターン自動生成ツールにより、前記ROM混在LSIのテストパターンを生成するテストパターン生成工程を含むテストパターン自動生成方法であって、
前記ネットリスト変換工程は、前記ROMを、前記真理値表を満足する組合せ回路と、アドレスピンのいずれかの信号値が不定値のときは、全出力データピンの信号値を不定値に設定する不定値発生回路を備える不定値発生回路付きROMに置き換える工程を含み、
前記不定値発生回路は、
前記アドレスピンと同数の入力端子を有し、前記アドレスピンの信号値を並列入力する1段目の排他的論理和ゲートと、
第1、第2の入力端子を前記1段目の排他的論理和ゲートの出力端子に接続した2入力の2段目の排他的論理和ゲートと、
前記組合せ回路の各出力端子に対応して設けられ、第1の入力端子を前記2段目の排他的論理和ゲートの出力端子に接続し、第2の入力端子を前記組合せ回路の対応する出力端子に接続した2入力の3段目の排他的論理和ゲートを備えること
を特徴とするテストパターン自動生成方法。
A netlist conversion step of converting, by the CPU, a gate-level first netlist of a ROM mixed LSI whose ROM is shown in a truth table into a second netlist for a test pattern automatic generation tool for handling a gate-level netlist; ,
A test pattern automatic generation method including a test pattern generation step of generating a test pattern of the ROM mixed LSI by the CPU and the test pattern automatic generation tool based on the second netlist and the timing definition file,
In the netlist conversion step, when the signal value of any of the combinational circuit that satisfies the truth table and the address pin is an indefinite value, the ROM sets the signal values of all output data pins to an indefinite value. a step of replacing the undefined value generating circuit with ROM having an indefinite value generating circuit seen including,
The indefinite value generating circuit is:
A first-stage exclusive OR gate that has the same number of input terminals as the address pins and inputs the signal values of the address pins in parallel;
A 2-input second-stage exclusive OR gate having first and second input terminals connected to an output terminal of the first-stage exclusive-OR gate;
The first input terminal is provided corresponding to each output terminal of the combinational circuit, the first input terminal is connected to the output terminal of the second-stage exclusive OR gate, and the second input terminal is a corresponding output of the combinational circuit. features and to ruthenate strike pattern automatically generating method in that it comprises an exclusive OR gate of the third stage of the two-input connected to the terminal.
コンピュータに、ROMを真理値表で示すROM混在LSIのゲートレベルの第1のネットリストをゲートレベルのネットリストを扱うテストパターン自動生成ツール用の第2のネットリストに変換するネットリスト変換工程と、前記第2のネットリストおよびタイミング定義ファイルを元に、前記テストパターン自動生成ツールを使用して、前記ROM混在LSIのテストパターンを生成するテストパターン生成工程を実行させるプログラムを含むテストパターン自動生成プログラムであって、
前記ネットリスト変換工程は、前記ROMを、前記真理値表を満足する組合せ回路と、アドレスピンのいずれかの信号値が不定値のときは、全出力データピンの信号値を不定値に設定する不定値発生回路を備える不定値発生回路付きROMに置き換える工程を含み、
前記不定値発生回路は、
前記アドレスピンと同数の入力端子を有し、前記アドレスピンの信号値を並列入力する1段目の排他的論理和ゲートと、
第1、第2の入力端子を前記1段目の排他的論理和ゲートの出力端子に接続した2入力の2段目の排他的論理和ゲートと、
前記組合せ回路の各出力端子に対応して設けられ、第1の入力端子を前記2段目の排他的論理和ゲートの出力端子に接続し、第2の入力端子を前記組合せ回路の対応する出力端子に接続した2入力の3段目の排他的論理和ゲートを備えること
を特徴とするテストパターン自動生成プログラム。
A netlist conversion step for converting into a computer a second netlist for a test pattern automatic generation tool for handling a gate-level netlist; Automatic test pattern generation including a program for executing a test pattern generation process for generating a test pattern of the ROM mixed LSI using the test pattern automatic generation tool based on the second netlist and the timing definition file A program,
In the netlist conversion step, when the signal value of any of the combinational circuit that satisfies the truth table and the address pin is an indefinite value, the ROM sets the signal values of all output data pins to an indefinite value. a step of replacing the undefined value generating circuit with ROM having an indefinite value generating circuit seen including,
The indefinite value generating circuit is:
A first-stage exclusive OR gate that has the same number of input terminals as the address pins and inputs the signal values of the address pins in parallel;
A 2-input second-stage exclusive OR gate having first and second input terminals connected to an output terminal of the first-stage exclusive-OR gate;
The first input terminal is provided corresponding to each output terminal of the combinational circuit, the first input terminal is connected to the output terminal of the second-stage exclusive OR gate, and the second input terminal is a corresponding output of the combinational circuit. features and to ruthenate strike pattern automatically generated program in that it comprises an exclusive OR gate of the third stage of the two-input connected to the terminal.
JP2007045572A 2007-02-26 2007-02-26 Test pattern automatic generation method and test pattern automatic generation program Expired - Fee Related JP4899927B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007045572A JP4899927B2 (en) 2007-02-26 2007-02-26 Test pattern automatic generation method and test pattern automatic generation program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007045572A JP4899927B2 (en) 2007-02-26 2007-02-26 Test pattern automatic generation method and test pattern automatic generation program

Publications (2)

Publication Number Publication Date
JP2008209210A JP2008209210A (en) 2008-09-11
JP4899927B2 true JP4899927B2 (en) 2012-03-21

Family

ID=39785642

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007045572A Expired - Fee Related JP4899927B2 (en) 2007-02-26 2007-02-26 Test pattern automatic generation method and test pattern automatic generation program

Country Status (1)

Country Link
JP (1) JP4899927B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2319924B1 (en) 2008-08-15 2016-03-09 Fujikura Kasei Co., Ltd. Polypeptide marker for diagnosis of arteriosclerosis, method for detection of arteriosclerosis by using the maker or the like, and kit for diagnosis of arteriosclerosis
KR101709071B1 (en) 2010-05-19 2017-02-22 삼성전자주식회사 Integrated circuit for compression mode scan test

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5574692A (en) * 1995-06-07 1996-11-12 Lsi Logic Corporation Memory testing apparatus for microelectronic integrated circuit
JPH09281198A (en) * 1996-04-11 1997-10-31 Sony Corp Tester for semiconductor device and expected value pattern generator
JP2001067385A (en) * 1999-08-26 2001-03-16 Nec Ic Microcomput Syst Ltd Timing verifying method for random access memory part with built-in semiconductor device and logical simulation device for verification
JP2003141206A (en) * 2001-11-06 2003-05-16 Fujitsu Ltd Method and program for timing verification of lsi test data
JP4666468B2 (en) * 2005-03-29 2011-04-06 川崎マイクロエレクトロニクス株式会社 Semiconductor integrated circuit
JP4805604B2 (en) * 2005-05-09 2011-11-02 ルネサスエレクトロニクス株式会社 Failure diagnosis method, failure diagnosis apparatus, and failure diagnosis program

Also Published As

Publication number Publication date
JP2008209210A (en) 2008-09-11

Similar Documents

Publication Publication Date Title
US7661050B2 (en) Method and system for formal verification of partial good self test fencing structures
US7308660B2 (en) Calculation system of fault coverage and calculation method of the same
CN105631077B (en) Integrated circuit with increased fault coverage
EP3945448A1 (en) Methods and systems for fault injection testing of an integrated circuit hardware design
CN108694323B (en) Apparatus and method for detecting failure point
US8347260B2 (en) Method of designing an integrated circuit based on a combination of manufacturability, test coverage and, optionally, diagnostic coverage
US8453082B2 (en) Soft error verification in hardware designs
US7392448B2 (en) Method and apparatus for determining stuck-at fault locations in cell chains using scan chains
US9404972B2 (en) Diagnosis and debug with truncated simulation
JP4899927B2 (en) Test pattern automatic generation method and test pattern automatic generation program
US7127691B2 (en) Method and apparatus for manufacturing test generation
US7516376B2 (en) Test pattern generator, test circuit tester, test pattern generating method, test circuit testing method, and computer product
Biswal et al. A binary decision diagram approach to on-line testing of asynchronous circuits with dynamic and static C-elements
Borecký et al. Evaluation of the SEU Faults Coverage of a Simple Fault Model for Application-Oriented FPGA Testing
Sun et al. On the generation of diagnostic test set for intra-cell defects
JP4268966B2 (en) Circuit analysis apparatus, circuit analysis method, program, and computer-readable recording medium
Verma et al. Signal Rate Activity as a Formal Method for Fault Discovery and Monitoring in Trusted and Secure Electronics Development
Bareisa et al. Path delay test generation at functional level
JP2009086816A (en) Failure simulation device, and program
CN116579293A (en) Method and tool for verifying reliability of circuit, storage medium, and verification device
Yadav Fault diagnosis in failed functional test sequences at RTL level
JP2009192408A (en) Semiconductor integrated circuit, test pattern generating method, and circuit testing method
JP2006258654A (en) Test system
Westerman et al. Delay fault analysis using discrete event system approach
JP2007257440A (en) Logic equivalence verification method and pseudo logic circuit

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20080730

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091130

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110913

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111108

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20111206

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111219

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150113

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees