Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2812008B2 - Test sequence generator - Google Patents
[go: Go Back, main page]

JP2812008B2 - Test sequence generator - Google Patents

Test sequence generator

Info

Publication number
JP2812008B2
JP2812008B2 JP3219891A JP21989191A JP2812008B2 JP 2812008 B2 JP2812008 B2 JP 2812008B2 JP 3219891 A JP3219891 A JP 3219891A JP 21989191 A JP21989191 A JP 21989191A JP 2812008 B2 JP2812008 B2 JP 2812008B2
Authority
JP
Japan
Prior art keywords
cost
circuit
logic
circuit element
value
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
JP3219891A
Other languages
Japanese (ja)
Other versions
JPH0560839A (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.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial Co 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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP3219891A priority Critical patent/JP2812008B2/en
Priority to US07/850,877 priority patent/US5341315A/en
Priority to EP92104350A priority patent/EP0503656B1/en
Priority to DE69212673T priority patent/DE69212673T2/en
Publication of JPH0560839A publication Critical patent/JPH0560839A/en
Application granted granted Critical
Publication of JP2812008B2 publication Critical patent/JP2812008B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、ディジタル回路の検査
系列生成装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a test sequence generator for a digital circuit.

【0002】[0002]

【従来の技術】最近の検査系列生成装置として、すべて
の回路素子の状態を観測できる回路構成をもつASIC
半導体が注目されている。このような構成の半導体の検
査は、検査系列を用いて、回路素子の状態をON、OF
Fにし、これを測定することによって、回路のショート
や断線等の半導体故障の検出を行う。
2. Description of the Related Art As a recent test sequence generation device, an ASIC having a circuit configuration capable of observing states of all circuit elements.
Semiconductors are receiving attention. Inspection of a semiconductor having such a configuration uses a test sequence to turn on and off the states of circuit elements.
F, and by measuring this, a semiconductor failure such as a short circuit or disconnection of a circuit is detected.

【0003】従来の検査系列生成方法について、図10を
用いて説明を行う。ここでの仮定は、NOR31の出力線
32がグランドと接触している0縮体故障とする。この故
障を検出するためには、出力線32の状態を1にする検査
系列を入力し、出力線32の状態が0(出力線32は0縮体
故障の可能性あり。)であるか1(出力線32は0縮体故
障ではない。)であるかを検査すればよい。
A conventional test sequence generation method will be described with reference to FIG. The assumption here is the output line of NOR31.
It is assumed that 0 contraction fault where 32 is in contact with the ground. In order to detect this failure, a test sequence for setting the state of the output line 32 to 1 is input, and whether the state of the output line 32 is 0 (the output line 32 has a possibility of 0 contraction failure) or 1 (The output line 32 is not a zero-body failure.)

【0004】従来の検査系列の生成方法は、論理を逆に
たどるものである。図10を用いて検査系列の生成手順を
説明する。まず、0縮体故障を仮定したNOR31の出力
線32を1にするためには、入力33を0とし、ディーフリ
ップフロップ34の出力線35を0にする必要がある。フリ
ップフロップ34の出力線35を0にするためには、あらか
じめNOR36の出力線37を0とし、次にクロック38を立
ち上げる必要がある。NOR36の出力線37を0にするた
めに、入力39またはNOR31の出力線32をする必要があ
る。この場合は、入力39を1にする方が簡単であるの
で、以上の手続きによって、検査系列は、(000、0
01:入力33、入力39、クロック38)が得られる。
The conventional test sequence generation method reverses the logic. The procedure for generating a test sequence will be described with reference to FIG. First, in order to set the output line 32 of the NOR 31 to 1 assuming a 0-body fault, it is necessary to set the input 33 to 0 and the output line 35 of the D flip-flop 34 to 0. In order to set the output line 35 of the flip-flop 34 to 0, it is necessary to set the output line 37 of the NOR 36 to 0 in advance and then start the clock 38. In order to make the output line 37 of the NOR 36 zero, it is necessary to make the input 39 or the output line 32 of the NOR 31. In this case, since it is easier to set the input 39 to 1, the test sequence becomes (000, 0) by the above procedure.
01: input 33, input 39, clock 38) are obtained.

【0005】[0005]

【発明が解決しようとする課題】ところが、従来の方式
は以下のような問題がある。 (1)論理を逆にたどるとき、必ずしも正しい解が存在
するとは限らずに、ループや終端に陥ることが多く生じ
る。そのために、バックトラックが必要となり、計算時
間が膨大となる。 (2)フリップフロップを逆にたどることは時間軸を後
方に戻ることになるので、検査装置はバックトラックに
対応するために時間ごとの論理状態を記憶しなければい
けなく、莫大なメモリ量が必要となる。
However, the conventional system has the following problems. (1) When tracing back the logic, a correct solution does not always exist, and a loop or a termination often occurs. Therefore, a backtrack is required, and the calculation time becomes enormous. (2) Since reversing the flip-flop returns the time axis backward, the inspection apparatus must store the logical state for each time in order to cope with the backtrack, and an enormous amount of memory is required. Required.

【0006】[0006]

【課題を解決するための手段】上記課題を解決するため
に、N個の入力とM個の出力を有する順序回路と、0ま
たは1の縮退故障を仮定した任意の故障設定信号線と、
前記順序回路を疑似実行し各回路素子の論理値信号を出
力する回路シミュレータと、各回路素子の連続的論理値
を導出する連続的論理値導出部と、各回路素子の可制御
費を導出する可制御費導出部と、前記N個の入力に対し
て2個以上L個の入力信号を生成する入力信号生成部
と、それぞれの入力信号に対して前記順序回路を疑似実
行し、前記故障設定信号線における可制御費と連続的論
理値の合計をコストとして導出するコスト導出部と、得
られたコスト組の中で最小のコストを求める最小コスト
導出部とからなり、この最小コストと前回のコストを比
較し、最小コストの方が小さいならば最小コストを示す
入力信号を次の入力信号とし、それ以外ならば、前回の
入力信号に対してクロックを示す入力の一つを反転した
入力信号を次の入力信号とする、検査系列生成装置構成
とする。
In order to solve the above problems, a sequential circuit having N inputs and M outputs, an arbitrary fault setting signal line assuming a stuck-at 0 or 1 fault, and
A circuit simulator that simulates the sequential circuit and outputs a logic value signal of each circuit element, a continuous logic value derivation unit that derives a continuous logic value of each circuit element, and derives a controllable cost of each circuit element. A controllable cost derivation unit, an input signal generation unit that generates two or more L input signals for the N inputs, and a pseudo execution of the sequential circuit for each of the input signals; A cost deriving unit that derives the sum of the controllable cost and the continuous logical value on the signal line as a cost, and a minimum cost deriving unit that determines the minimum cost in the obtained cost group. Compare the costs.If the minimum cost is smaller, set the input signal indicating the minimum cost as the next input signal. Otherwise, change the input signal indicating the clock to the previous input signal. Enter the following And No., the test sequence generation device configuration.

【0007】また、回路素子の連続的論理値は、オフ状
態を表す論理0、オン状態を表す論理1、未定の状態を
表す論理Xの間を連続値で表現し、前記回路素子の各入
力線の連続的論理値より、回路素子に基づき前記回路素
子の出力線に出力される連続的論理値とする。
The continuous logic value of the circuit element is expressed by a continuous value between a logic 0 representing an OFF state, a logic 1 representing an ON state, and a logic X representing an undetermined state, and each input of the circuit element is represented by a continuous value. Based on the continuous logical value of the line, the continuous logical value output to the output line of the circuit element based on the circuit element.

【0008】さらに、回路素子の出力線の可制御費は、
回路の構造に基づき、各回路素子の入力線組の可制御費
組と前記回路素子の出力線の論理値をパラメータとし、
前記出力線の論理値を0にするために必要な手続きの回
数である0可制御費と、前記出力線の論理値を1にする
ために必要な手続きの回数である1可制御費と、前記出
力線の論理値を0から1にするために必要な手続きの回
数であるP可制御費と、前記出力線の論理値を1から0
にするために必要な手続きの回数であるN可制御費とす
る。
Furthermore, the controllable cost of the output line of the circuit element is
Based on the structure of the circuit, the controllable cost set of the input line set of each circuit element and the logical value of the output line of the circuit element as parameters,
0 controllable cost, which is the number of procedures required to set the logical value of the output line to 0, and 1 controllable cost, which is the number of procedures required to set the logical value of the output line to 1; The P controllable cost, which is the number of procedures required to change the logical value of the output line from 0 to 1, and the logical value of the output line from 1 to 0
N controllable cost, which is the number of procedures required to make

【0009】[0009]

【作用】第1の発明の構成によれば、数万ゲートにも及
ぶ回路や複雑な構造を有する回路の検査系列を探索中に
多く生じる局所解に陥いった時、バックトラックを行わ
ずにクロック入力を反転することにより、もっとも状態
を変化させる入力信号を与え、局所解から抜け出すこと
ができる。
According to the structure of the first aspect of the present invention, when a local solution often occurs during search for a test sequence of a circuit having tens of thousands of gates or a circuit having a complicated structure, backtracking is not performed. By inverting the clock input, it is possible to provide an input signal that changes the state the most and escape from the local solution.

【0010】第2、第3の発明の構成によれば、回路の
構造に基づき、各回路素子の出力線を任意の論理値にす
る為に必要な手続きの回数として4種類の可制御費を設
け、さらに、各回路素子の出力線の入力パターンによる
変化の度合を示す連続的論理値を用い、故障設定信号線
における可制御費と連続的論理値の合計の最小値をコス
トとするので、入力パターンの変化回数である手続きの
回数と入力パターンの変化による故障設定信号線の論理
値の変化の度合を目安とした入力パターンの探索が可能
となり、局所解に陥ることがない。
According to the second and third aspects of the present invention, four types of controllable costs are set as the number of procedures required to set the output line of each circuit element to an arbitrary logical value based on the circuit structure. Further, since a continuous logical value indicating the degree of change due to the input pattern of the output line of each circuit element is used and the minimum value of the sum of the controllable cost and the continuous logical value on the failure setting signal line is used as the cost, It is possible to search for an input pattern based on the number of procedures, which is the number of changes in the input pattern, and the degree of change in the logical value of the failure setting signal line due to the change in the input pattern, without falling into a local solution.

【0011】[0011]

【実施例】以下、本発明の一実施例について説明する。
図1にこの実施例の検査系列生成装置の構成を示す。
An embodiment of the present invention will be described below.
FIG. 1 shows the configuration of the test sequence generation device of this embodiment.

【0012】順序回路1は、フリップフロップ等の記憶
素子と論理積回路等の論理素子と、N個の入力IN2と
M個の出力OUT3からなる。回路シミュレータ4は、
この順序回路1を疑似実行し、各回路素子iの論理値信
号Viを制御する入力を求める。半導体回路の検査系列
生成は、この図の例では、正常回路と故障回路の状態に
違いが生じるように論理積回路の出力を1に制御する検
査系列信号を生成することが目的である。
The sequential circuit 1 includes a storage element such as a flip-flop, a logic element such as an AND circuit, N inputs IN2, and M outputs OUT3. The circuit simulator 4
The sequential circuit 1 is pseudo-executed to obtain an input for controlling the logical value signal Vi of each circuit element i. In the example of this figure, the purpose of the test sequence generation of the semiconductor circuit is to generate a test sequence signal for controlling the output of the AND circuit to 1 so that a difference occurs between the states of the normal circuit and the faulty circuit.

【0013】入力信号生成部6は、前回の入力信号Vin
(t−1)とハミング距離1だけ離れたL個の入力信号
Vin,i(t) (i=1,L)を生成する。ここでの生成方
式は入力個数全部N個を選んでも良いし、よく使われる
入力ピンに対して重みをつけた乱数を用いて入力信号V
inをL個選んでも良い。
The input signal generation unit 6 receives the previous input signal Vin
Generate L input signals Vin, i (t) (i = 1, L) separated from (t-1) by a Hamming distance 1. The generation method here may select all N input numbers, or use an input signal V using a weighted random number for frequently used input pins.
You may select L in.

【0014】連続的論理値導出部8は、各回路素子iの
出力線ioにおける連続的論理値CVioを計算する。連
続的論理値は、図2に示す0から30の実数で表現され
る。オフ状態を表す論理0を0で、オン状態を表す論理
1を10で、未定の状態を表す論理Xを20で表現し、
論理0、論理1、論理Xは円上に配置する。連続的論理
値の0から10の間は、論理0と論理1の中間の値を表
す。連続的論理値の10から20の間は、論理1と論理
Xの中間の値を表す。連続的論理値の20から30の間
は、論理Xと論理0の中間の値を表す。
[0014] continuous logical value deriving unit 8 calculates a continuous logic value CVi o at the output line i o of each circuit element i. The continuous logical value is represented by a real number from 0 to 30 shown in FIG. A logic 0 representing an OFF state is represented by 0, a logic 1 representing an ON state is represented by 10, a logic X representing an undetermined state is represented by 20,
Logic 0, Logic 1, and Logic X are arranged on a circle. A continuous logical value between 0 and 10 represents an intermediate value between logical 0 and logical 1. A continuous logic value between 10 and 20 represents an intermediate value between logic 1 and logic X. A continuous logical value between 20 and 30 represents an intermediate value between logical X and logical 0.

【0015】各回路素子の出力線の連続的論理値CVi
oは、入力線に与えられた連続的論理値から決定され
る。入力と出力の関係は、論理和、論理積、否定、排他
的論理和、ディ−フリップフロップである。それぞれの
論理素子の入出力の関係は、論理の不確定の度合あるい
は確定の度合を反映させた論理関数として表現する。図
3に論理和素子における連続的論理値の入出力関係を示
す。
The continuous logical value CVi of the output line of each circuit element
o is determined from the successive logical values applied to the input lines. The relation between input and output is OR, AND, NOT, exclusive OR, and de-flip-flop. The relationship between the input and output of each logic element is expressed as a logic function reflecting the degree of logic uncertainty or the degree of logic determination. FIG. 3 shows an input / output relationship of a continuous logical value in the OR element.

【0016】可制御費導出部7は、各回路素子iの出力
線i0 に対して、回路の構造に基づき、出力線i0の論
理値Vi0を0にするために必要な手続きの回数である
0可制御費CC0i0と、出力線i0 の論理値Vi0を1
にするために必要な手続きの回数である1可制御費CC
1i0と出力線i0 の論理値Vi0を0から1にするため
に必要な手続きの回数であるP可制御費CCPi0と、
出力線i0の論理値Vi0を1から0にするために必要な
手続の回数であるN可制御費CCNi0 を計算する。す
なわち、着目する回路素子iの構造に基づき、回路素子
iの入力線ii の可制御費CC0、1、P、Nと出力線
0 の論理値Vi0 をパラメータとし、入力回路、論理
積回路、論理和回路、排他的論理和回路、ディフリップ
フロップの、可制御費CC0、1、P、Nは以下のよう
に定める。 Vi0 = 0 の時、CC0i0 = 0 Vi0 = 1 の時、CC1i0 = 0 回路素子iが入力回路である場合 CC0i0 = 1 (Vi0 = 1、X) CC1i0 = 1 (Vi0 = 0、X)CCPi 0 = 1 (Vi 0 = 0) CCPi 0 = 2 (Vi 0 = 1、X) CCNi 0 = 1 (Vi 0 = 1) CCNi 0 = 2 (Vi 0 = 0、X) 回路素子iが論理積回路である場合
The controllable cost deriving unit 7 calculates the number of procedures required to set the logical value Vi 0 of the output line i 0 to 0 based on the circuit structure for the output line i 0 of each circuit element i. 0-controllability costs CC0i 0 is, the logical value Vi 0 output lines i 0 1
Controllable cost CC, which is the number of procedures required to make
1i 0 and the P controllable cost CCPi 0 which is the number of procedures required to change the logical value Vi 0 of the output line i 0 from 0 to 1.
Calculating the N-controllability costs CCNI 0 is the number of procedures necessary to the logical value Vi 0 from 1 to 0 of the output lines i 0. That is, based on the structure of interest to the circuit element i, and controllable costs CC0,1 input lines i i of the circuit element i, P, a logic value Vi 0 of N and the output lines i 0 as a parameter, an input circuit, a logical product The controllable costs CC0, 1, P, and N of the circuit, the OR circuit, the exclusive OR circuit, and the flip-flop are determined as follows. When Vi 0 = 0, when CC0i 0 = 0 Vi 0 = 1 , if CC1i 0 = 0 circuit element i is an input circuit CC0i 0 = 1 (Vi 0 = 1, X) CC1i 0 = 1 (Vi 0 = 0, X) CCPo 0 = 1 (Vi 0 = 0) CCPo 0 = 2 (Vi 0 = 1, X) CCNi 0 = 1 (Vi 0 = 1) CCNi 0 = 2 (Vi 0 = 0, X) circuit When element i is an AND circuit

【0017】[0017]

【数1】 (Equation 1)

【0018】回路素子iが論理和回路である場合When the circuit element i is an OR circuit

【0019】[0019]

【数2】 (Equation 2)

【0020】回路素子iが排他的論理和回路である場合
(簡単のために2入力を考える。) CC0io =min(CC0i1 +CC0i2 、CC1
1 +CC1i2) (Vio =1、X) CC1io =min(CC0i1 +CC1i2 、CC1
1 +CC0i2) (Vio =0、X) CCPio =min(CC0i1 +CCPi2 、CC0
2 +CCPi1 、CC1i1 +CCNi2 、CC1i
2 +CCNi1) CCNio =min(CC1i1 +CCPi2 、CC1
2 +CCPi1 、CC0i1 +CCNi2 、CC0i
2 +CCNi1) 回路素子iがディフリップフロップ回路である場合 CC0io =CC0iset +min(CC1ireset
CC0idata+CCPiclock ) (Vio =1、X) CC1io =CC0ireset+min(CC1iset
CC1idata+CCPiclock ) (Vio =0、X) CCPio =CC1io (Vio =0) CCPio =CC0io +CC1io (Vio =1、X) CCNio =CC1io +CC0io (Vio =0、X) CCNio =CC0io (Vio =1) コスト導出部9は、故障設定信号線if における、設定
縮退故障種Sの負論理T=〜Sとなる可制御費CCTi
f と、故障設定信号線if における連続的論理値CVi
f と制御連続的論理値(設定縮退故障種Sが1のとき
0、Sが0のとき10)との差CCVifの定数加重和
をコストCTiとして導出する。 CTi=a×CCTif +b×CCVif (a,
b:定数) 最小コスト導出部10は、得られたコスト組CTiの中
で最小のコストCminを導出する。
The circuit element i is (think of two inputs for simplicity.) When an exclusive OR circuit CC0i o = min (CC0i 1 + CC0i 2, CC1
i 1 + CC1i 2) (Vi o = 1, X) CC1i o = min (CC0i 1 + CC1i 2, CC1
i 1 + CC 0 i 2 ) (Vi o = 0, X) CCP i o = min (CC 0 i 1 + CCPi 2 , CC 0)
i 2 + CCPi 1 , CC1i 1 + CCNi 2 , CC1i
2 + CCNi 1) CCNi o = min (CC1i 1 + CCPi 2, CC1
i 2 + CCPi 1 , CC0i 1 + CCNi 2 , CC0i
If 2 + CCNi 1) circuit element i is Di flip-flop circuit CC0i o = CC0i set + min ( CC1i reset,
CC0i data + CCPi clock) (Vi o = 1, X) CC1i o = CC0i reset + min (CC1i set,
CC1i data + CCPi clock) (Vi o = 0, X) CCPi o = CC1i o (Vi o = 0) CCPi o = CC0i o + CC1i o (Vi o = 1, X) CCNi o = CC1i o + CC0i o (Vi o = 0, X) CCNi o = CC0i o (Vi o = 1) the cost derivation section 9, the fault-signal line i f, controllable costs CCTi as a negative logic T = to S configuration stuck-type S
f and the continuous logical value CVi on the fault setting signal line if .
(When the set stuck-at fault species S is 1 0, S is 10 when 0) f and control continuous logic value to derive the constant weighted sum of the differences CCVi f between the cost CTi. CTi = a × CCTi f + b × CCVi f (a,
b: constant) The minimum cost deriving unit 10 derives the minimum cost Cmin from the obtained cost group CTi.

【0021】入力信号設定部11はこの最小コストCmi
n と前回のコストCOST(tー1)を比較し、最小コ
ストCmin の方が小さいならば最小コストCmin を示す
入力信号Vin,min(t)を次の入力信号Vin(t)と
し、それ以外ならば、前回の入力信号Vin(t−1)に
対してクロックを示す入力iclの一つを選択し、この入
力iclを反転した入力信号を次の入力信号とする。
The input signal setting unit 11 calculates the minimum cost Cmi
n and the previous cost COST (t-1). If the minimum cost Cmin is smaller, the input signal Vin, min (t) indicating the minimum cost Cmin is set as the next input signal Vin (t). Then, one of the inputs icl indicating the clock is selected with respect to the previous input signal Vin (t-1), and the input signal obtained by inverting the input icl is set as the next input signal.

【0022】前記クロックを示す入力iclとは、図4に
示すように、直接ディフリップフロップのクロック入力
等に接続するもの(a)、論理回路を通して間接的にデ
ィフリップフロップのクロック入力(b)等に接続して
いるものを呼ぶ。図4の例では(a)、(b)の2個で
ある。選択方法は、クロック入力が1つしかない場合に
はこれを選択し、2つ以上ある場合には、乱数を用いて
1つを選択する。
As shown in FIG. 4, the input i cl indicating the clock is directly connected to the clock input of the flip-flop (a) as shown in FIG. 4 or indirectly connected to the clock input of the flip-flop (b) through a logic circuit. ) Etc. are connected. In the example of FIG. 4, there are two (a) and (b). As a selection method, when there is only one clock input, this is selected, and when there are two or more clock inputs, one is selected using a random number.

【0023】次に、実施例を図5のフローチャートと、
図6の回路と、図7のコストの探索木とを用いて本発明
の動作を説明する。今回仮定した故障12は故障設定信
号線をG17とし、故障種を1縮退故障とする。ただ
し、コストCTiの計算には定数a=1、b=3とし
た。
Next, an embodiment will be described with reference to the flowchart of FIG.
The operation of the present invention will be described using the circuit of FIG. 6 and the cost search tree of FIG. For the fault 12 assumed this time, the fault setting signal line is G17, and the fault type is 1 stuck-at fault. However, the constants a = 1 and b = 3 were used for calculating the cost CTi.

【0024】まず、入力信号Vin(0)を(clk=
0、G0=0、G1=0、G2=0、G3=0、G4=
0)と初期化する。
First, the input signal Vin (0) is changed to (clk =
0, G0 = 0, G1 = 0, G2 = 0, G3 = 0, G4 =
0).

【0025】次に、入力信号Vin(0)に対する回路シ
ミュレーションを行い、各回路素子iの、論理値信号V
iと、回路素子id の連続的論理値CVid と、0、
1、P、N可制御費CC0iを求め、時間0でのコスト
COST(0)を導出する。ここでの実施例ではCOS
T(0)は38.9であった。
Next, a circuit simulation is performed on the input signal Vin (0), and the logical value signal V
and i, a continuous logic value CVi d of the circuit element i d, 0,
The control cost CC0i of 1, P, N is obtained, and the cost COST (0) at time 0 is derived. In the embodiment here, COS
T (0) was 38.9.

【0026】次に、初期の入力信号Vin(0)とハミン
グ距離1だけ離れた5個の入力信号Vin,i(t)を生成
し、それぞれの入力信号に対する回路シミュレーション
を行い、初期の入力信号と同様に、コストCTiを導出
する。
Next, five input signals Vin, i (t) which are separated from the initial input signal Vin (0) by a Hamming distance 1 are generated, a circuit simulation is performed for each input signal, and an initial input signal is generated. Similarly, the cost CTi is derived.

【0027】最小のコストCmin は、以下に示すように
35.1であり、ここでは、入力線番号0を選択する。
The minimum cost Cmin is:
35.1. Here, input line number 0 is selected.

【0028】[0028]

【表1】 [Table 1]

【0029】コストCmin は、1時刻前のコスト38.9に
比べて小さいので、入力信号は、0番の(1、0、0、
0、0)が選ばれ、時刻1における検査系列が求められ
る。
Since the cost Cmin is smaller than the cost 38.9 one time before, the input signal is the 0th (1, 0, 0,
0, 0) is selected, and the test sequence at time 1 is obtained.

【0030】次に、時刻を1つ進め、次の検査系列を作
成し、最小コストを連続的論理値における2値論理値間
の差である10より小さくするまで続けられる。この例で
は時刻5でコストが 1.3と10より小さくなり、仮定した
故障(G17:VD)を検出する検査系列を生成するこ
とができる。
Next, the time is advanced by one, the next test sequence is created, and the process is continued until the minimum cost becomes smaller than 10 which is the difference between binary logical values in continuous logical values. In this example, at time 5, the cost becomes smaller than 1.3 and 10, and a test sequence for detecting an assumed failure (G17: VD) can be generated.

【0031】コストが、前回コストよりも小さくならな
い場合には、従来例のように探索の初期化やハミング距
離より離れた入力パターンの再設定を行なわずに、順序
回路の状態を変化させるにもっとも適したクロック入力
を変化させる方式であるので、コストが小さくならない
現象が多く生じる数万ゲートにも及ぶ回路や複雑な構造
を有する回路に対して有効であり、検査系列の生成の為
の計算時間を短くできる。
If the cost does not become smaller than the previous cost, it is necessary to change the state of the sequential circuit without initializing the search and resetting the input pattern that is longer than the Hamming distance as in the conventional example. Since the method of changing the clock input is suitable, it is effective for circuits with tens of thousands of gates or circuits with complicated structures where the phenomenon that the cost does not decrease often occurs, and the calculation time for generating the test sequence Can be shortened.

【0032】また、図8に示す論理回路において、出力
23の信号線が1縮退故障していて、それを発見するため
の検査系列を求める問題を考える。初期状態の入力22は
論理1、ディ−フリップフロップ24の出力は論理Xとす
る。この初期状態から出力23の出力値を論理0に制御す
る検査系列を求める。図8の回路では、出力23の出力値
を論理Xから論理0に直接変化させる入力パターン系列
はなく、出力23の出力値を論理0に制御するためには、
論理Xから論理1にそして論理0にと変化させなければ
ならない。図9に示される従来の論理値を用いた場合、
出力23の出力値を論理Xから論理1に変化させた場合、
最終の論理状態である論理0との距離を比べると、論理
Xより論理1の方が遠くなる。従って、出力値を論理1
に変化させる入力パターン系列は選択されず局所解に陥
る。一方、連続的論理値を用いた場合には、最終の論理
状態である論理0との距離は、論理Xと論理1では同じ
であり、局所解に陥ることがなく検査系列を求めること
ができる。
In the logic circuit shown in FIG.
Consider a problem in which 23 signal lines have a stuck-at-1 fault and find a test sequence to find it. In the initial state, the input 22 is logic 1, and the output of the de-flip-flop 24 is logic X. From this initial state, a test sequence for controlling the output value of the output 23 to logic 0 is obtained. In the circuit of FIG. 8, there is no input pattern sequence that directly changes the output value of the output 23 from the logic X to the logic 0. In order to control the output value of the output 23 to the logic 0,
It must change from logic X to logic 1 and to logic 0. When the conventional logical value shown in FIG. 9 is used,
When the output value of the output 23 is changed from logic X to logic 1,
Comparing the distance to the final logical state of logical 0, logical 1 is farther than logical X. Therefore, the output value is set to logic 1
The input pattern sequence to be changed to is not selected and falls into a local solution. On the other hand, when continuous logical values are used, the distance from the final logical state, logical 0, is the same in logical X and logical 1, and the test sequence can be obtained without falling into a local solution. .

【0033】以上説明したように、本発明は、故障設定
信号線if と故障種fを検査するために必要な手続きの
回数と故障設定信号線if の入力パターンによる変化の
度合を示す連続的論理値をコストとして用いているため
に、不必要なディーフリップフロップを変化させない組
合せ的な探索を行わないので、検査系列の短縮、計算時
間の短縮ができる。
As described above, according to the present invention, the number of procedures required for inspecting the fault setting signal line if and the fault type f and a continuous value indicating the degree of change due to the input pattern of the fault setting signal line if. Since a logical value is used as a cost, a combinatorial search that does not change unnecessary D flip-flops is not performed, so that the test sequence can be reduced and the calculation time can be reduced.

【0034】[0034]

【発明の効果】本発明は、計算されたコストが、前回コ
ストよりも小さくならない場合には、探索の初期化やハ
ミング距離より離れた入力パターンの再設定を行なわず
に、順序回路の状態を変化させるにもっとも効果的なク
ロック入力を変化させる方式であるので、コストが小さ
くならない現象が多く生じる数万ゲートにも及ぶ回路や
複雑な構造を有する回路に対して有効であり、検査系列
の生成の為の計算時間が短くできる。
According to the present invention, when the calculated cost does not become smaller than the previous cost, the state of the sequential circuit can be changed without initializing the search or resetting the input pattern farther than the Hamming distance. Since this is the most effective method of changing the clock input, it is effective for circuits with tens of thousands of gates or circuits with complicated structures where phenomena that do not reduce the cost often occur. The calculation time for can be shortened.

【0035】さらに、コストとして故障設定信号線if
と故障種fを検査するために必要な手続きの回数と故障
設定信号線if の入力パターンによる変化の度合を示す
連続的論理値をコストとして用いているために、不必要
なディーフリップフロップを変化させない組合せ的な探
索を行わないので、検査系列の短縮、計算時間の短縮が
できる。
Further, as a cost, the failure setting signal line if
And a continuous logic value indicating the degree of change due to the input pattern with the number of required procedures to inspect the fault type f fault-signal line i f due to the use as a cost, unnecessary D flip-flop Since a combinatorial search that does not change is not performed, the test sequence can be reduced and the calculation time can be reduced.

【0036】連続的論理値は、論理0、論理1、論理X
を円上に配置して、未定の論理Xを確定の論理と区別し
て表現しているために、未定の論理値をもつディーフリ
ップフロップを含む回路においても局所解に陥ることが
なく、検査系列を生成できる。
Successive logical values are logical 0, logical 1, logical X
Are arranged on a circle, and the undetermined logic X is distinguished from the determined logic, so that a circuit including a D flip-flop having an undetermined logic value does not fall into a local solution, and the test sequence Can be generated.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施例の検査系列生成装置の構成図FIG. 1 is a configuration diagram of a test sequence generation device according to an embodiment of the present invention.

【図2】回路素子の連続的論理値図FIG. 2 is a continuous logical value diagram of a circuit element;

【図3】論理和回路素子の論理関係図FIG. 3 is a logical relationship diagram of an OR circuit element;

【図4】クロック入力を示す図FIG. 4 is a diagram showing a clock input;

【図5】本発明の実施例のフローチャートFIG. 5 is a flowchart of an embodiment of the present invention.

【図6】順序回路図FIG. 6 is a sequential circuit diagram.

【図7】実施例での探索結果を示すコストの探索木図FIG. 7 is a cost search tree diagram showing search results in the embodiment.

【図8】連続的論理値の説明のための順序回路図FIG. 8 is a sequential circuit diagram for explaining a continuous logical value;

【図9】回路素子の従来の論理値図FIG. 9 is a conventional logical value diagram of a circuit element.

【図10】従来の例を説明するための順序回路図FIG. 10 is a sequential circuit diagram for explaining a conventional example.

【符号の説明】[Explanation of symbols]

1 入力信号生成部 2 IN 3 OUT 4 回路シミュレータ 5 故障設定信号 6 入力信号生成部 7 可制御費導出部 8 連続的論理値導出部 9 コスト導出部 10 最小コスト導出部 11 入力信号設定部 12 故障 21 クロック 22 入力 23 出力 24 ディーフリップフロップ 31 NOR 32 出力線 33 入力 34 ディーフリップフロップ 35 出力線 36 NOR 37 出力線 38 クロック 39 入力 Reference Signs List 1 input signal generation unit 2 IN 3 OUT 4 circuit simulator 5 failure setting signal 6 input signal generation unit 7 controllable cost derivation unit 8 continuous logical value derivation unit 9 cost derivation unit 10 minimum cost derivation unit 11 input signal setting unit 12 failure 21 clock 22 input 23 output 24 D flip-flop 31 NOR 32 output line 33 input 34 D flip-flop 35 output line 36 NOR 37 output line 38 clock 39 input

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】N個の入力とM個の出力を有する順序回路
と、0または1の縮退故障を仮定した任意の故障設定信
号線と、前記順序回路を疑似実行し各回路素子の論理値
を出力する回路シミュレータと、各回路素子の連続的論
理値を導出する連続的論理値導出部と、各回路素子の可
制御費を導出する可制御費導出部と、前記N個の入力に
対して2個以上L個の入力信号を生成する入力信号生成
部と、それぞれの入力信号に対して前記順序回路を疑似
実行し、前記故障設定信号線に於ける可制御費と連続的
論理値の合計をコストとして導出するコスト導出部と、
得られたコストの中で最小のコストを求める最小コスト
導出部と、この最小コストと前回のコストを比較し、今
回の最小コストの方が小さいならば最小コストを示す入
力信号を次の入力信号とし、それ以外ならば、前回の入
力信号に対してクロックを示す入力の一つを反転した入
力信号を次の入力信号とする入力信号決定部とを備えた
検査系列生成装置。
1. A sequential circuit having N inputs and M outputs, an arbitrary fault setting signal line assuming a stuck-at fault of 0 or 1, a logic value of each circuit element by pseudo-executing the sequential circuit Circuit simulator, a continuous logic value derivation unit for deriving a continuous logic value of each circuit element, a controllable cost derivation unit for deriving a controllable cost of each circuit element, and the N inputs An input signal generation unit for generating two or more L input signals, and executing the sequential circuit for each of the input signals in a pseudo manner to control the controllable cost and the continuous logical value of the fault setting signal line. A cost deriving unit that derives the total as a cost,
A minimum cost deriving unit for obtaining the minimum cost among the obtained costs, and comparing the minimum cost with the previous cost. If the current minimum cost is smaller, an input signal indicating the minimum cost is input to the next input signal. Otherwise, the test sequence generation device includes: an input signal determination unit that sets an input signal obtained by inverting one of the inputs indicating the clock with respect to the previous input signal as a next input signal.
【請求項2】回路素子の連続的論理値は、オフ状態を表
す論理0、オン状態を表す論理1、未定の状態を表す論
理Xの間を連続値で表現し、前記回路素子の各入力線の
連続的論理値より、回路素子に基づき前記回路素子の出
力線に出力される連続的論理値であることを特徴とする
請求項1記載の検査系列生成装置。
2. A continuous logic value of a circuit element is expressed by a continuous value between a logic 0 representing an OFF state, a logic 1 representing an ON state, and a logic X representing an undetermined state. The test sequence generation device according to claim 1, wherein the test sequence generation device is a continuous logic value output to an output line of the circuit element based on the circuit element, based on the continuous logic value of the line.
【請求項3】回路素子の出力線の可制御費は、回路の構
造に基づき、各回路素子の入力線組の可制御費組と前記
回路素子の出力線の論理値をパラメータとし、前記出力
線の論理値を0にするために必要な手続きの回数である
0可制御費と、前記出力線の論理値を1にするために必
要な手続きの回数である1可制御費と、前記出力線の論
理値を0から1にするために必要な手続きの回数である
P可制御費と、前記出力線の論理値を1から0にするた
めに必要な手続きの回数であるN可制御費であることを
特徴とする請求項1記載の検査系列生成装置。
3. The controllable cost of the output line of the circuit element is based on the structure of the circuit, and the controllable cost set of the input line set of each circuit element and the logical value of the output line of the circuit element are used as parameters. 0 controllable cost, which is the number of procedures required to set the logical value of the line to 0, 1 controllable cost, which is the number of procedures required to set the logical value of the output line to 1, and P controllable cost, which is the number of procedures required to change the logical value of the line from 0 to 1, and N controllable cost, which is the number of procedures required to change the logical value of the output line from 1 to 0 The test sequence generation device according to claim 1, wherein
JP3219891A 1991-03-14 1991-08-30 Test sequence generator Expired - Fee Related JP2812008B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP3219891A JP2812008B2 (en) 1991-08-30 1991-08-30 Test sequence generator
US07/850,877 US5341315A (en) 1991-03-14 1992-03-13 Test pattern generation device
EP92104350A EP0503656B1 (en) 1991-03-14 1992-03-13 Test pattern generation device
DE69212673T DE69212673T2 (en) 1991-03-14 1992-03-13 Test sample generation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3219891A JP2812008B2 (en) 1991-08-30 1991-08-30 Test sequence generator

Publications (2)

Publication Number Publication Date
JPH0560839A JPH0560839A (en) 1993-03-12
JP2812008B2 true JP2812008B2 (en) 1998-10-15

Family

ID=16742665

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3219891A Expired - Fee Related JP2812008B2 (en) 1991-03-14 1991-08-30 Test sequence generator

Country Status (1)

Country Link
JP (1) JP2812008B2 (en)

Also Published As

Publication number Publication date
JPH0560839A (en) 1993-03-12

Similar Documents

Publication Publication Date Title
US5341315A (en) Test pattern generation device
JP2554410B2 (en) Test pattern bit sequence generation circuit and method for testing digital circuit device
US5422891A (en) Robust delay fault built-in self-testing method and apparatus
JPS6232511B2 (en)
JP2823475B2 (en) Test pattern generator
US7194668B2 (en) Event based test method for debugging timing related failures in integrated circuits
JP2953975B2 (en) Test pattern generation device and test pattern generation method
JP2000266815A (en) Electronic system with self-diagnosis function and electronic system simulation device
JP2607029B2 (en) Signal transition propagation detection method
US4058767A (en) Apparatus and process for testing AC performance of LSI components
US4045736A (en) Method for composing electrical test patterns for testing ac parameters in integrated circuits
KR100966010B1 (en) How to eliminate one or more duplicate tests and rearrange one or more inefficient tests
US5590135A (en) Testing a sequential circuit
US6237117B1 (en) Method for testing circuit design using exhaustive test vector sequence
JPH04227575A (en) Logic circuit simulation method
JP2812008B2 (en) Test sequence generator
US6105156A (en) LSI tester for use in LSI fault analysis
US5434869A (en) Test pattern generating apparatus
JPH0641968B2 (en) Digital circuit test equipment
JP2685666B2 (en) Dynamic test method for digital logic circuits
US5461575A (en) Simulation of sequential circuits for calculating timing characteristics to design/manufacture a logic network
Fike Predicting fault detectability in combinational circuits-a new design tool?
Iyer et al. Software-based weighted random testing for ip cores in bus-based programmable socs
JPH0560838A (en) Inspection series generating device
Chakraborty et al. Robust testing for stuck-at faults

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees