JPH11271404A - Self-test method and self-test device in a circuit reconfigurable by a program - Google Patents

Self-test method and self-test device in a circuit reconfigurable by a program

Info

Publication number
JPH11271404A
JPH11271404A JP10095468A JP9546898A JPH11271404A JP H11271404 A JPH11271404 A JP H11271404A JP 10095468 A JP10095468 A JP 10095468A JP 9546898 A JP9546898 A JP 9546898A JP H11271404 A JPH11271404 A JP H11271404A
Authority
JP
Japan
Prior art keywords
test
reconfigurable
test pattern
circuit
self
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10095468A
Other languages
Japanese (ja)
Inventor
Tomoo Fukazawa
友雄 深澤
Kiyoshi Kobayashi
潔 小林
Kazuyoshi Matsuhiro
一良 松広
Takeshi Takeya
健 武谷
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.)
NTT Inc
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP10095468A priority Critical patent/JPH11271404A/en
Publication of JPH11271404A publication Critical patent/JPH11271404A/en
Pending legal-status Critical Current

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Logic Circuits (AREA)

Abstract

(57)【要約】 【課題】 再構成可能な部品内部における全配線部分の
オープン、ショート、ブリッジ故障の全てに関して、故
障検出率が高い試験を行うことができるプログラムによ
って再構成可能な回路における自己試験方法および自己
試験装置を提供することを目的とするものである。 【解決手段】 再構成が可能な複数の論理回路部品であ
る複数の再構成可能部品と、上記複数の論理回路部品同
士の接続が再構成可能である接続用部品とによって構成
されている回路において、上記再構成可能部品に、自己
試験用回路と上記接続用部品とをプログラムし、上記プ
ログラムされた上記自己試験用回路によって、上記各再
構成可能部品と上記装置との故障を検出するものであ
る。
(57) [Summary] [PROBLEMS] For a circuit reconfigurable by a program capable of performing a test having a high failure detection rate with respect to all open, short, and bridge faults of all wiring portions inside a reconfigurable component. It is an object to provide a test method and a self-test apparatus. SOLUTION: In a circuit constituted by a plurality of reconfigurable components, which are a plurality of reconfigurable logic circuit components, and a connection component capable of reconfiguring a connection between the plurality of logic circuit components. The self-test circuit and the connection component are programmed in the reconfigurable component, and the programmed self-test circuit detects a failure of each of the reconfigurable components and the device. is there.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、論理回路や配線が
プログラマブルである再構成可能な回路についての製造
試験、フィールドにおける試験において、特定の論理回
路または実装試験機能とは独立した試験であり、系統的
な試験パタン生成によって、低コストで故障検出率の高
い試験を実現する方法および装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a test for manufacturing a reconfigurable circuit having programmable logic circuits and wiring, and a test in the field, which is independent of a specific logic circuit or mounting test function. The present invention relates to a method and an apparatus for realizing a test with a high failure detection rate at a low cost by systematic test pattern generation.

【0002】[0002]

【従来の技術】従来、大規模回路の設計検証に用いるエ
ミュレータを実現する場合、または、仕様、機能変更に
迅速かつ柔軟に対応する装置を実現する場合、論理回路
や配線がプログラマブルである再構成可能部品を搭載し
た装置を利用することが効果的である。つまり、再構成
可能部品を試験する場合、再構成可能部品内に試験回路
をプログラムし、可変論理ブロック部分を試験する手法
が、従来、提案されている。
2. Description of the Related Art Conventionally, when realizing an emulator used for design verification of a large-scale circuit, or realizing an apparatus capable of responding quickly and flexibly to changes in specifications and functions, a reconfigurable circuit in which logic circuits and wiring are programmable. It is effective to use a device equipped with possible components. That is, when testing a reconfigurable component, a method of testing a variable logic block portion by programming a test circuit in the reconfigurable component has been conventionally proposed.

【0003】[0003]

【発明が解決しようとする課題】しかし、上記従来例に
おいては、部品内におけるプログラム可能な接続回路を
含む、全配線部分における発生可能なオープン、ショー
ト、ブリッジの全てを試験することができないという問
題がある。
However, in the above conventional example, it is not possible to test all possible open, short, and bridges in all wiring parts, including a programmable connection circuit in a component. There is.

【0004】再構成可能な回路を試験する場合、従来
は、LSIテスタを使用し、実装前に部品単体を試験し
たり、ボードテスタを使用し、ボード上の実配線を試験
したり、特定の論理回路または機能をプログラムした後
に、機能試験を実行したりしている。
Conventionally, when testing a reconfigurable circuit, an LSI tester is used to test individual components before mounting, a board tester is used to test actual wiring on a board, or a specific test is performed. After programming a logic circuit or function, a functional test is performed.

【0005】上記従来の試験方法では、実装前の部品を
試験することができ、プログラムされた回路が必要とす
る特定の回路要素について試験を実行することはできる
が、しかし、装置全体としての故障検出率は充分である
とはいえない。
[0005] In the above-mentioned conventional test method, a component before mounting can be tested, and a test can be executed for a specific circuit element required by a programmed circuit. The detection rate is not sufficient.

【0006】したがって、上記従来例においては、再構
成可能部品を再構成すると、故障が顕在化する可能性が
あり、また、プログラムされた回路における機能試験に
ついての故障検出率が低いと、試験済みの回路構成であ
っても、再構成可能部品の運用中に故障が顕在化する可
能性がある。
Therefore, in the above-mentioned conventional example, when a reconfigurable component is reconfigured, a failure may become apparent, and when a failure detection rate for a functional test in a programmed circuit is low, the test is performed. Even with the above circuit configuration, a failure may become apparent during the operation of the reconfigurable component.

【0007】また、上記従来例において、再構成可能部
品の使用中における装置の試験に関して、プログラムさ
れた回路に対する機能試験以外は、試験の方法が存在し
ないという問題がある。すなわち、再構成可能部品の運
用後において、LSIテスタやボードテスタを用いた故
障検出率の高い試験パタンを適用する試験を実行するこ
とは、極めて困難であり、不十分な故障検出率しか得ら
れないという問題がある。
Further, in the above conventional example, there is a problem that there is no test method other than the function test for the programmed circuit regarding the test of the apparatus while the reconfigurable component is in use. That is, after the operation of the reconfigurable component, it is extremely difficult to execute a test using a test pattern having a high fault detection rate using an LSI tester or a board tester, and only an insufficient fault detection rate is obtained. There is no problem.

【0008】本発明は、再構成可能な部品内部における
全配線部分のオープン、ショート、ブリッジ故障の全て
に関して、故障検出率が高い試験を行うことができるプ
ログラムによって再構成可能な回路における自己試験方
法および自己試験装置を提供することを目的とするもの
である。
According to the present invention, there is provided a self-test method for a circuit reconfigurable by a program capable of performing a test having a high failure detection rate with respect to all open, short, and bridge faults in all wiring portions inside a reconfigurable component. And a self-test apparatus.

【0009】また、本発明は、再構成可能な部品を装置
に実装した後、再構成可能部品の使用のためにプログラ
ムされる回路とは独立に、装置全体の縮退故障と、接続
のオープン、ショート、配線のブリッジ故障とについ
て、故障検出率の高い試験を行うことができるプログラ
ムによって再構成可能な回路における自己試験方法およ
び自己試験装置を提供することを目的とするものであ
る。
Also, the present invention provides a method for mounting a reconfigurable component on a device, and then independently of a circuit programmed for use of the reconfigurable component, a stuck-at fault of the entire device, an open connection, It is an object of the present invention to provide a self-test method and a self-test device for a circuit that can be reconfigured by a program capable of performing a test with a high fault detection rate for a short circuit and a bridge fault of a wiring.

【0010】さらに、本発明は、再構成可能な回路の再
構成可能部品の使用中に、LSIテスタや、ボードテス
タ等の試験専用装置を用いることなく、故障検出率の高
い試験を実行することができるプログラムによって再構
成可能な回路における自己試験方法および自己試験装置
を提供することを目的とするものである。
Further, the present invention is to execute a test having a high fault detection rate without using a dedicated test device such as an LSI tester or a board tester while using a reconfigurable component of a reconfigurable circuit. It is an object of the present invention to provide a self-test method and a self-test apparatus for a circuit that can be reconfigured by a program capable of performing the following.

【0011】また、本発明は、再構成可能な回路の再構
成可能部品の使用後、異なる機能を再プログラムする前
に、対象ボードとボードと装置とを含めた意味での回路
について、故障検出率の高い試験を行うことができるプ
ログラムによって再構成可能な回路における自己試験方
法および自己試験装置を提供することを目的とするもの
である。
Further, the present invention provides a method for detecting a failure in a circuit including a target board, a board, and a device after using a reconfigurable component of the reconfigurable circuit and before reprogramming a different function. It is an object of the present invention to provide a self-test method and a self-test apparatus for a circuit that can be reconfigured by a program capable of performing a test with a high rate.

【0012】[0012]

【課題を解決するための手段】本発明は、再構成が可能
な複数の論理回路部品である複数の再構成可能部品と、
上記複数の論理回路部品同士の接続が再構成可能である
接続用部品とによって構成されている回路において、上
記再構成可能部品に、自己試験用回路と上記接続用部品
とをプログラムし、上記プログラムされた上記自己試験
用回路によって、上記各再構成可能部品と上記装置との
故障を検出するものである。
SUMMARY OF THE INVENTION The present invention comprises a plurality of reconfigurable components which are a plurality of reconfigurable logic circuit components;
In a circuit configured by a connection component capable of reconfiguring connection between the plurality of logic circuit components, a self-test circuit and the connection component are programmed in the reconfigurable component, and the program The failure of each of the reconfigurable components and the device is detected by the self-test circuit thus performed.

【0013】[0013]

【発明の実施の形態および実施例】図1は、本発明にお
いて、試験対象となる再構成可能な回路100aの内部
構成を示す図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a diagram showing the internal configuration of a reconfigurable circuit 100a to be tested in the present invention.

【0014】図2は、本発明の一実施例であるプログラ
ムによって再構成可能な回路100aにおける自己試験
装置100を示す図である。
FIG. 2 is a diagram showing a self-test apparatus 100 in a circuit 100a reconfigurable by a program according to an embodiment of the present invention.

【0015】自己試験装置100は、再構成可能な部品
に試験用回路をプログラムし、その後、上記プログラム
された試験用回路が他の再構成可能な部品を試験するも
のであり、つまり、自動的に自己試験を行うものであ
る。
The self-test apparatus 100 programs a reconfigurable component with a test circuit, and then the programmed test circuit tests other reconfigurable components. A self-test is performed.

【0016】プログラムによって再構成可能なボードま
たは装置(以下の説明では、ボード、装置の両者を含め
た意味として「回路」を使用する)における自己試験装
置100は、具体的には、図1に示す回路構成を有する
回路(ボードまたは装置)における再構成可能な論理回
路部品FPGAi の1つであるFPGAm に、試験パタ
ン生成器TPGをプログラムし、FPGAi とは異なる
再構成可能な論理回路部品FPGA1 〜FPGAm-1
FPGAm+1 〜FPGAn に、期待値比較回路CMPを
プログラムし、そして、試験パタン生成器TPGと期待
値比較回路CMPとによって、再構成可能な論理回路部
品が自己試験を行うものである。
The self-testing apparatus 100 on a board or device reconfigurable by a program (in the following description, “circuit” is used to mean both the board and the device) is specifically shown in FIG. A test pattern generator TPG is programmed in FPGA m which is one of reconfigurable logic circuit components FPGA i in a circuit (board or device) having the circuit configuration shown, and a reconfigurable logic circuit different from FPGA i Parts FPGA 1 to FPGA m-1 ,
The expected value comparison circuit CMP is programmed in the FPGA m + 1 to FPGA n , and the reconfigurable logic circuit component performs a self test by the test pattern generator TPG and the expected value comparison circuit CMP.

【0017】また、自己試験装置100は、再構成可能
な接続用部品(再構成可能な接続用回路SWi1〜S
in)の制御ピンCi1〜Cinにも、試験用の接続パ
タンを順次プログラムし、その各接続パタン毎に、試験
パタン生成器TPGと期待値比較回路CMPとによっ
て、回路を自己試験するものである。
In addition, the self-test apparatus 100 includes reconfigurable connection components (reconfigurable connection circuits SW i1 to S
The connection patterns for testing are sequentially programmed also in the control pins Ci1 to Cin of (Win), and the circuit is self-tested by the test pattern generator TPG and the expected value comparison circuit CMP for each of the connection patterns. is there.

【0018】上記実施例を、再構成可能部品単体に適用
する場合、図1に示す再構成可能な論理回路部品FPG
Aを使用し、再構成可能な接続用部品SWとして、論理
回路同士の接続回路を対応させることによって、上記と
同様の自己試験を実現することができる。
When the above embodiment is applied to a single reconfigurable component, the reconfigurable logic circuit component FPG shown in FIG.
By using A and associating connection circuits between logic circuits as reconfigurable connection parts SW, the same self-test as described above can be realized.

【0019】次に、上記実施例における試験パタンの生
成方法について説明する。
Next, a method of generating a test pattern in the above embodiment will be described.

【0020】図3は、上記実施例の試験対象回路をモデ
ル化したクロスバスイッチ回路SWX(N,M)を示す
図である。
FIG. 3 is a diagram showing a crossbar switch circuit SWX (N, M) which models the circuit to be tested in the above embodiment.

【0021】クロスバスイッチ回路SWX(N,M)
は、ピン数Nのクロスバ状のネットワークである。ま
ず、長さ2Lビットの試験パタン集合P1を生成する方
法について説明する。
Crossbar switch circuit SWX (N, M)
Is a crossbar-shaped network with N pins. First, a method of generating a test pattern set P1 having a length of 2L bits will be described.

【0022】1つの試験パタンが、2Lビットで構成さ
れ、その構成ビットの半分(Lビット)が0であり、残
りの半分(Lビット)が1である。そして、集合PS0
(L)は、上記試験パタンの全てを要素とする試験パタ
ン集合(試験パタン系列)であり、この試験パタン集合
PS0(L)を入力する。
One test pattern is composed of 2L bits, and half (L bit) of the constituent bits are 0 and the other half (L bit) is 1. And the set PS0
(L) is a test pattern set (test pattern sequence) having all of the test patterns as elements, and this test pattern set PS0 (L) is input.

【0023】試験パタン集合PS0(L)の要素の数
は、2Lのビット列から、L個の位置を選択する組み合
わせの数となるので、2LL 個である。
The number of elements of the test pattern set PS0 (L) is 2L C L because it is the number of combinations for selecting L positions from a 2L bit string.

【0024】次に、試験パタン集合PS0の中から、
(0,…0,1、…、1),(1,…1,0、…、0)
のように、1つの試験パタンを構成する2Lビットのう
ちで、0がL回連続する試験パタンと、1がL回連続す
る試験パタンとの2つの試験パタン(0から1への変化
が1回のみ存在する試験パタンと、1から0への変化が
1回のみ存在する試験パタンとの2つの試験パタン)を
除いた試験パタン集合PS1を生成する。
Next, from the test pattern set PS0,
(0, ... 0,1, ..., 1), (1, ... 1,0, ..., 0)
In the 2L bits forming one test pattern, two test patterns of a test pattern in which 0 consecutive L times and a test pattern in which 1 consecutive L times (the change from 0 to 1 is 1) A test pattern set PS1 is generated excluding two test patterns of a test pattern that exists only once and a test pattern that has a change from 1 to 0 only once.

【0025】上記Lビットのそれぞれの値を決定する場
合、試験パタン集合PS1の要素数をPN(=2LL
2)とし、ピンの数をNとした場合、N≦PNの条件を
満たすように、Lの値を選ぶ。このように決定されたL
について、PN通りの試験パタン列を生成し、図3に示
すクロバスイッチ回路SWX(N,M)の各入力ピンX
1、…、XNに、互いに異なる試験パタン列を与え、上
記入力ピンX1、…、XNに与えられた試験パタン列
を、クロスバスイッチ回路SWX(N,M)の故障検出
試験パタンとする。
[0025] When determining the respective values of the L bits, the number of elements of the test pattern set PS1 PN (= 2L C L -
If 2) and the number of pins is N, the value of L is selected so as to satisfy the condition of N ≦ PN. L thus determined
PN test patterns are generated for each input pin X of the crowbar switch circuit SWX (N, M) shown in FIG.
, XN are given different test pattern strings, and the test pattern strings given to the input pins X1,..., XN are used as failure detection test patterns of the crossbar switch circuit SWX (N, M).

【0026】たとえば、L=2である場合、集合PS0
(2)の要素数は、42 =6であり、 集合PS0(2)={(0,0,1,1),(0,1,
0,1),(0,1,1,0),(1,0,1,0),
(1,1,0,0),(1,0,0,1),}である。
For example, if L = 2, the set PS0
The number of elements in (2) is 4 C 2 = 6, and the set PS0 (2) = {(0,0,1,1), (0,1,
0,1), (0,1,1,0), (1,0,1,0),
(1,1,0,0), (1,0,0,1),}.

【0027】集合PS(2)は、集合PS0(2)か
ら、(0,0,1,1)と(1,1,0,0)とを除く
ことによって、 集合PS(2)={(0,1,0,1),(0,1,
1,0),(1,0,1,0),(1,0,0,
1),}である。
The set PS (2) is obtained by removing (0,0,1,1) and (1,1,0,0) from the set PS0 (2). 0,1,0,1), (0,1,
(1,0), (1,0,1,0), (1,0,0,
1) and}.

【0028】集合PS(2)の各要素を異なるピンに与
えることによって、端子数が4以下の接続用部品の試験
を実行することができる。
By giving each element of the set PS (2) to a different pin, it is possible to execute a test of a connection component having four or less terminals.

【0029】上記生成された試験パタン(故障検出用試
験パタン)は、次の〜の条件を満たしている必要が
ある。 各ピンに0と1とを、時系列的に入力する試験パタ
ンであること。 各ピンについて、0→1の変化を入力するものであ
るとともに、1→0の変化をも入力する試験パタンであ
ること。 上記ピンのうちの任意の2つのピンについて、
(0,1)と(1,0)とを設定する。つまり、全ての
ピンから、任意の2つのピンXi、Xjを選択し、これ
ら2つのピンXi、Xjに与えるパタンをPi、Pjと
し、そのk番目の論理値をVi(k)、Vj(k)とし
た場合、(Vi(k),Vj(k))=(0,1)にな
る場合と、1≠kにおいて、(Vi(k),Vj
(k))=(1,0)になる場合が存在するパタン系列
である。
The generated test pattern (test pattern for fault detection) needs to satisfy the following conditions. A test pattern that inputs 0 and 1 to each pin in time series. A test pattern that inputs a change of 0 → 1 and also inputs a change of 1 → 0 for each pin. For any two of the above pins,
(0,1) and (1,0) are set. That is, any two pins Xi, Xj are selected from all the pins, the patterns given to these two pins Xi, Xj are Pi, Pj, and the k-th logical value is Vi (k), Vj (k ), (Vi (k), Vj (k)) = (0, 1), and (Vi (k), Vj
(K)) = a pattern sequence that may be (1, 0).

【0030】各試験パタン(故障検出用試験パタン)は
1と0とを半数づつ含むように設定されているので、条
件が必ず満足される。また、上記のように、(0,…
0,1、…、1),(1,…1,0、…、0)の2つの
試験パタンが除外されているので、必ず条件を満足す
る。
Each test pattern (test pattern for failure detection) is set to include half of 1 and 0, so that the condition is always satisfied. Also, as described above, (0, ...
Since the two test patterns 0, 1,... 1) and (1,... 1, 0,..., 0) are excluded, the condition is always satisfied.

【0031】また、任意の2つの試験パタン系列は必ず
異なるようにしてあるので、任意の2端子Xi、Xj
(iとjとは等しくない)について、Xi=0,Xj=
1になる試験パタンが試験パタン系列中に必ず存在す
る。
Since any two test pattern sequences are always different, any two terminals Xi, Xj
(I and j are not equal), Xi = 0, Xj =
A test pattern that becomes 1 always exists in the test pattern series.

【0032】端子Xiに与える試験パタンと、Xjに与
える試験パタンは、条件によって1の数と0の数とが
同じなので、Xi=0,Xj=1という試験パタンがあ
れば、必ずXi=1,Xj=0という試験パタンが系列
中に存在する。したがって、条件を満足する。
The test pattern given to the terminal Xi and the test pattern given to the terminal Xj have the same number of 1s and 0s depending on the conditions. Therefore, if there is a test pattern of Xi = 0 and Xj = 1, Xi = 1 will always be obtained. , Xj = 0 exist in the series. Therefore, the condition is satisfied.

【0033】つまり、端子Xiに与えるパタン系列をP
i、端子Xjに与えるパタン系列をPjとすると、パタ
ン系列PiとPjとは、試験パタン生成器TPGによっ
て生成されるパタン系列であるので、次の3つの条件を
満たす。 i)長さが2Lであるという条件、 ii) L個の論理値は0、他のL個の論理値は1であると
いう条件、 iii)パタン系列PiとPjとは異なるという条件を満た
す。
That is, the pattern sequence given to terminal Xi is P
Assuming that the pattern sequence given to i and the terminal Xj is Pj, the pattern sequences Pi and Pj satisfy the following three conditions because they are pattern sequences generated by the test pattern generator TPG. i) the condition that the length is 2L; ii) the condition that the L logical values are 0, and the other L logical values are 1; and iii) the condition that the pattern sequences Pi and Pj are different.

【0034】パタン系列Pi、Pjのk番目の論理値を
それぞれ、Vi(k)、Vj(k)(1≦k≦2L)と
する。(Vi(k),Vj(k))は、(1,0)、
(0,0)、(1,1)、(0,1)のいずれかの値を
とる。これらの数をそれぞれ、以下のように、A、B、
C、Dとする。
The k-th logical values of the pattern series Pi and Pj are Vi (k) and Vj (k) (1 ≦ k ≦ 2L), respectively. (Vi (k), Vj (k)) are (1, 0),
It takes one of the values (0, 0), (1, 1), and (0, 1). These numbers are respectively represented as A, B,
C and D.

【0035】 Vi Vj 要素数 1 0 A=n≧1 0 0 B=L−n 1 1 C=L−n 0 1 D=n≧1 上記条件iii)によって、少なくとも1個以上のVi
(k)、Vj(k)は異なる。つまり、Vi(k)=
1、Vj(k)=0、または、Vi(k)=0、Vj
(k)=1となるkが1個以上存在する。そこで、Vi
(k)=1、Vj(k)=0となるkがn(nは1以
上)個存在すると仮定する。
Vi Vj Number of elements 10 A = n ≧ 100 B = L−n 11 C = L−n 0 1 D = n ≧ 1 According to the above condition iii), at least one or more Vi
(K) and Vj (k) are different. That is, Vi (k) =
1, Vj (k) = 0 or Vi (k) = 0, Vj
There is one or more k where (k) = 1. Then, Vi
It is assumed that there are n (n is 1 or more) k where (k) = 1 and Vj (k) = 0.

【0036】すなわち、 iV) A=n≧1とする。ii) の仮定によってPjの0の
数はLであるので、 V)A+B=Lになる。また、同様に、Piの1の数はL
であるので、 vi) A+C=Lになる。また、同様に、Pjの1の数は
Lであるので、 Vii)C+D=Lになる。 iv) とV)とから、 Viii) B=L−nになり、 iv) とVi) とから、 iX) C=L・nになり、 Vii)とiX) とから、 X)D=nになる。すなわち、Vi(k)=1、Vj
(k)=0になることがあれば、Vi(k’)=0、V
j(k’)=1となることがあり、これらが同数であ
る。
That is, iV) A = n ≧ 1. Since the number of 0s of Pj is L according to the assumption of ii), V) A + B = L. Similarly, the number of 1 of Pi is L
Vi) A + C = L. Similarly, since the number of 1s in Pj is L, Vii) C + D = L. From iv) and V), Viii) B = L-n, from iv) and Vi), iX) C = Ln, and from Vii) and iX), X) D = n Become. That is, Vi (k) = 1, Vj
If (k) = 0, then Vi (k ′) = 0, V
j (k ') = 1 sometimes, and these are the same number.

【0037】ところで、条件によって、全てのピンの
縮退故障(理論値が0に固定されているか、1に固定さ
れているかの故障)を検出することが可能である。
By the way, it is possible to detect a stuck-at fault (a fault whether the theoretical value is fixed to 0 or 1) depending on the condition.

【0038】また、条件によって、オープン故障検出
が可能である。さらに、未接続になるようにプログラム
された部分に対応する入力ピンの期待値として固定値を
与えた合、条件を満足する試験パタンを入力すると、
ショート故障の検出も可能になる。
Further, an open fault can be detected depending on conditions. Furthermore, when a fixed value is given as an expected value of an input pin corresponding to a portion programmed to be unconnected, when a test pattern that satisfies the condition is input,
Short-circuit failure can also be detected.

【0039】論理回路のスイッチがCMOSで実現され
ているときに、片方のトランジスタが故障した場合等、
1→0の動作、0→1の動作のいずれか一方の動作のみ
が特に不良になる場合もあるので、1→0の遷移と0→
1の遷移との両方が必要である。
When a switch of a logic circuit is realized by CMOS and one of the transistors fails, for example,
Since only one of the operations of 1 → 0 and the operation of 0 → 1 may be particularly defective, the transition of 1 → 0 and 0 →
One transition is required.

【0040】条件によって、任意の2端子におけるブ
リッジ故障の検出が可能になる。
Depending on the conditions, it is possible to detect a bridging fault at any two terminals.

【0041】上記実施例による試験の対象回路は、再構
成可能部品内および部品間のプログラマブルな接続スイ
ッチ(再構成可能部品同士の間においてプログラマブル
な接続スイッチ)であるので、上記クロスバスイッチ用
の試験パタン生成における上記説明が一般性を有する。
Since the circuit to be tested according to the above embodiment is a programmable connection switch within and between reconfigurable components (a programmable connection switch between reconfigurable components), the test for the crossbar switch is performed. The above description in pattern generation has generality.

【0042】上記実施例において、試験パタン生成器T
PGと期待値比較回路CMPとを、再構成可能な論理回
路部品にプログラムすることによって、再構成可能な回
路の自己試験を行うことができる。また、試験パタン生
成器TPGが生成した試験パタンを、再構成可能な接続
用部品の制御信号として与えることによって、再構成可
能な接続用部品を試験することができる。
In the above embodiment, the test pattern generator T
By programming the PG and the expected value comparison circuit CMP into reconfigurable logic circuit components, a self-test of the reconfigurable circuit can be performed. In addition, by providing the test pattern generated by the test pattern generator TPG as a control signal for the reconfigurable connection component, the reconfigurable connection component can be tested.

【0043】次に、試験パタン生成器TPGと、各再構
成可能部品と装置との故障を検出する期待値比較回路C
MPとについて説明する。
Next, a test pattern generator TPG and an expected value comparison circuit C for detecting a failure of each reconfigurable component and device.
MP will be described.

【0044】まず、シフトレジスタによって試験パタン
生成器TPGを構成する具体的手段について説明する。
First, specific means for configuring the test pattern generator TPG with a shift register will be described.

【0045】まず、1つの試験パタン中に0の数と1の
数とが同数含まれ、0と1とが種々に組み合わされた全
ての試験パタンの中から、0から1への変化または1か
ら0への変化が1回だけ生じる試験パタンを除いた試験
パタンを要素とする集合であって、互いに異なる試験パ
タンの集合である試験パタン系列を、クラス分けする。
つまり、シフトすることによって得られる試験パタン系
列の集合に、クラス分けする。
First, one test pattern contains the same number of 0s and 1s, and changes from 0 to 1 or 1 from all the test patterns in which 0 and 1 are variously combined. A test pattern sequence, which is a set of test patterns excluding a test pattern in which a change from “0” to “0” occurs only once and is a set of test patterns different from each other, is classified.
That is, classification is performed into a set of test pattern sequences obtained by shifting.

【0046】このクラス分けされた試験パタン系列の集
合を、PC1,PC2,…とする。試験パタン系列の集
合PC1,PC2,…のうちで、その要素である試験パ
タン系列の数が、試験パタン長2Lと等しい集合PCi
1,PCi2、…、PCinのそれぞれから、任意の試
験パタン系列P1∈PCi1,P2∈PCi2、…、P
n∈PCinを選び、P1,P2、…、Pnを初期値と
するn個のシフトレジスタを構成する。これらn個のシ
フトレジスタが、試験パタン生成器TPGである。
The set of test pattern sequences classified into classes is defined as PC1, PC2,. .. Of the test pattern sequence set PC1, PC2,... Whose number is equal to the test pattern length 2L.
, PCi2,..., PCin, an arbitrary test pattern sequence P1∈PCi1, P2∈PCi2,.
By selecting nPPCin, n shift registers with P1, P2,..., Pn as initial values are configured. These n shift registers are the test pattern generator TPG.

【0047】図4は、上記実施例における試験パタン生
成器TPGを示す図である。
FIG. 4 is a diagram showing the test pattern generator TPG in the above embodiment.

【0048】試験パタン生成器TPGは、シフトレジス
タSR1〜SRnによって構成されている。
The test pattern generator TPG includes shift registers SR1 to SRn.

【0049】つまり、シフトレジスタSR1〜SRnの
初期値P1〜Pnは、以下のようなものである場合、 P1=(V11 ,V12 、…、V12L) P2=(V21 ,V22 、…、V22L) … Pn=(Vn1 ,Vn2 、…、Vn2L) n個のシフトレジスタSR1、…、SRnへの初期値の
設定を、図4に示してある。なお、Vij =0または1
であり、1≦i≦nである。
[0049] That is, if the initial value P1~Pn shift register SR1~SRn is as follows, P1 = (V1 1, V1 2, ..., V1 2L) P2 = (V2 1, V2 2, .., V2 2L ) Pn = (Vn 1 , Vn 2 ,..., Vn 2L ) FIG. 4 shows the setting of initial values to the n shift registers SR1,. Note that Vi j = 0 or 1
And 1 ≦ i ≦ n.

【0050】また、シフトレジスタSR1は、試験パタ
ン列の集合PCi1={(V11 ,V12 、…、V
2L),(V12 ,V13 、…、V11 ),……,(V
2L,V11 、…、V12L-1)}をシフトするものであ
る。シフトレジスタSR2は、試験パタン列の集合PC
i2={(V21 ,V22 、…、V22L),(V22
V23 、…、V21 ),……,(V22L,V21 、…、
V22L-1)}をシフトするものである。さらに、シフト
レジスタSRnは、試験パタン列の集合PCin=
{(Vn1 ,Vn2 、…、Vn2L),(Vn2 ,Vn
3 、…、Vn1 ),……,(Vn2L,Vn1 、…、Vn
2L-1)}をシフトするものである。
The shift register SR1 has a set of test pattern sequences PCi1 = {(V1 1 , V1 2 ,..., V
1 2L), (V1 2, V1 3, ..., V1 1), ......, (V
1 2L, V1 1, ..., is to shift the V1 2L-1)}. The shift register SR2 has a set PC of test pattern strings.
i2 = {(V2 1, V2 2, ..., V2 2L), (V2 2,
V2 3, ..., V2 1) , ......, (V2 2L, V2 1, ...,
V2 2L-1 )}. Further, the shift register SRn has a set of test pattern strings PCin =
{(Vn 1 , Vn 2 ,..., Vn 2L ), (Vn 2 , Vn
3, ..., Vn 1), ......, (Vn 2L, Vn 1, ..., Vn
2L-1 ) Shifts}.

【0051】図5は、上記実施例において、上記シフト
レジスタを2L回、同期させてシフトしたときに、試験
パタン生成器TPGの出力ピンに生成される試験パタ
ン系列を示す図である。
FIG. 5 is a diagram showing a test pattern sequence generated at each output pin of the test pattern generator TPG when the shift register is synchronously shifted 2L times in the embodiment.

【0052】図5に示すように、長さ2Lビットを有
し、互いに異なる試験パタンが試験パタン生成器TPG
の各ピンに生成される。これら生成された試験パタン
は、上記した試験パタン系列である。なお、Xij は、
試験パタン生成器TPGの出力ピンである。
As shown in FIG. 5, test patterns having a length of 2 L bits and different from each other are used as test pattern generators TPG.
Is generated for each pin. These generated test patterns are the test pattern series described above. It should be noted that, Xi j is,
This is an output pin of the test pattern generator TPG.

【0053】上記実施例によれば、図5に示すように、
2L×n本のピン用の試験パタン生成器TPGが生成さ
れる。試験パタン系列の集合PCi1,PCi2、…、
PCinを選んだ結果、2L×n<Nである場合(すな
わち、全ピン数N分の試験パタン系列を生成できない場
合)、上記Lの値を1増やし、上記試験パタン生成方法
と同様の方法を繰り返せばよい。
According to the above embodiment, as shown in FIG.
A test pattern generator TPG for 2L × n pins is generated. A set of test pattern sequences PCi1, PCi2,...
As a result of selecting PCin, if 2L × n <N (that is, if a test pattern sequence for all pins N cannot be generated), the value of L is increased by 1 and a method similar to the above test pattern generation method is performed. Just repeat.

【0054】シフトレジスタSR1〜SRnによって試
験パタン生成器TPGを構成すれば、回路規模最小の試
験パタン生成器TPGを実現することができる。
If the test pattern generator TPG is constituted by the shift registers SR1 to SRn, the test pattern generator TPG with the smallest circuit scale can be realized.

【0055】たとえば、L=3である場合、2L=6で
あり、得られる全試験パタン系列PS(3)は、 PS(3)={(0,0,1,0,1,1),(0,
1,0,0,1,1),(1,0,0,0,1,1),
(0,0,1,1,0,1),(0,1,0,1,0,
1),(1,0,0,1,0,1),(0,1,1,
0,0,1),(1,0,1,0,0,1),(1,
1,0,0,0,1),(0,0,1,1,1,0),
(0,1,0,1,1,0),(1,0,0,1,1,
0),(0,1,1,0,1,0),(1,0,1,
0,1,0,),(1,1,0,0,1,0),(0,
1,1,1,0,0),(1,0,1,1,0,0),
(1,1,0,1,0,0)}である。
For example, when L = 3, 2L = 6, and the entire test pattern sequence PS (3) obtained is: PS (3) = {(0,0,1,0,1,1), (0,
1,0,0,1,1), (1,0,0,0,1,1),
(0,0,1,1,0,1), (0,1,0,1,0,
1), (1,0,0,1,0,1), (0,1,1,
0,0,1), (1,0,1,0,0,1), (1,
1,0,0,0,1), (0,0,1,1,1,0),
(0,1,0,1,1,0), (1,0,0,1,1,1)
0), (0, 1, 1, 0, 1, 0), (1, 0, 1,
0,1,0,), (1,1,0,0,1,0), (0,
1,1,1,0,0), (1,0,1,1,0,0),
(1,1,0,1,0,0)}.

【0056】これを、シフト動作によってクラス分けす
ると、下記の4つのクラスを生成することができる。
When these are classified by the shift operation, the following four classes can be generated.

【0057】PC1={(0,0,1,0,1,1),
(0,1,0,1,1,0),(1,0,1,1,0,
0),(0,1,1,0,0,1),(1,1,0,
0,1,0),(1,0,0,1,0,1)} PC2={(0,1,0,0,1,1),(1,0,
0,1,1,0),(0,0,1,1,0,1),
(0,1,1,0,1,0),(1,1,0,1,0,
0),(1,0,1,0,0,1)} PC3={(1,0,0,0,1,1),(0,0,
1,1,1,0),(0,1,1,1,0,0),
(1,1,0,0,0,1)} PC4={(0,1,0,1,0,1),(1,0,
1,0,1,0)} PC1〜PC4のうち、要素の数が、試験パタン長=2
L=6と等しいのは、PC1とPC2とであるから、P
C1とPC2とを試験パタン集合として選択する。すな
わち、PCi1=PC1,PCi2=PC2となる。P
C1とPC2とから任意の試験パタン、たとえば、先頭
の要素を選択し、これをシフトレジスタSR1とSR2
との初期値とする。すなわち、P1=(0,0,1,
0,1,1)、P2=(0,1,0,0,1,1)をシ
フトレジスタの初期値とする。シフトレジスタの各ビッ
トの初期値は、V11=0,V12=0,V13=1,
V14=0,V15=1,V16=1であり、V21=
0,V22=1,V23=0,V24=0,V25=
1,V26=1である。シフトレジスタSR1とSR2
とによって12ピン分の試験パタンを発生することがで
きる。
PC1 = {(0,0,1,0,1,1),
(0,1,0,1,1,0), (1,0,1,1,0,
0), (0,1,1,0,0,1), (1,1,0,
0,1,0), (1,0,0,1,0,1)} PC2 = {(0,1,0,0,1,1), (1,0,
0,1,1,0), (0,0,1,1,0,1),
(0,1,1,0,1,0), (1,1,0,1,0,
0), (1,0,1,0,0,1)} PC3 = {(1,0,0,0,1,1), (0,0,
1,1,1,0), (0,1,1,1,0,0),
(1,1,0,0,0,1)} PC4 = {(0,1,0,1,0,1), (1,0,
1,0,1,0)} The number of elements among PC1 to PC4 is as follows: test pattern length = 2
Since PC1 and PC2 are equal to L = 6, P
C1 and PC2 are selected as a test pattern set. That is, PCi1 = PC1, PCi2 = PC2. P
An arbitrary test pattern, for example, a leading element is selected from C1 and PC2, and is selected by shift registers SR1 and SR2.
And the initial value. That is, P1 = (0, 0, 1,
0,1,1) and P2 = (0,1,0,0,1,1) are the initial values of the shift register. The initial value of each bit of the shift register is V11 = 0, V12 = 0, V13 = 1,
V14 = 0, V15 = 1, V16 = 1, and V21 =
0, V22 = 1, V23 = 0, V24 = 0, V25 =
1, V26 = 1. Shift registers SR1 and SR2
Thus, a test pattern for 12 pins can be generated.

【0058】図6は、上記実施例において、2L=6で
ある場合におけるシフトレジスタSR1とSR2とが発
生する試験パタンを示す図である。
FIG. 6 is a diagram showing test patterns generated by shift registers SR1 and SR2 when 2L = 6 in the above embodiment.

【0059】期待値比較回路CMPは、試験パタン生成
器TPGとして構成された再構成可能部品に接続された
相手の再構成可能部品内に構成したものであり、対応す
るシフトレジスタSR1〜SRnと初期値設定回路と比
較回路と期待値圧縮回路とを構成したものである。
The expected value comparison circuit CMP is configured in a counterpart reconfigurable component connected to a reconfigurable component configured as a test pattern generator TPG, and is provided with a corresponding shift register SR1 to SRn and an initial value. It comprises a value setting circuit, a comparison circuit, and an expected value compression circuit.

【0060】期待値比較回路CMPにおけるシフトレジ
スタSR1〜SRnは、試験パタン生成器TPGのシフ
トレジスタと同期してシフト動作を行い、逐次比較を行
う。必要に応じて、上記逐次比較の結果を圧縮回路が圧
縮する。そして、排他的論理和を実現する回路によっ
て、期待値比較回路CMPを容易に構成することができ
る。
The shift registers SR1 to SRn in the expected value comparison circuit CMP perform a shift operation in synchronization with the shift register of the test pattern generator TPG to perform successive comparison. If necessary, the result of the successive approximation is compressed by a compression circuit. Then, the expected value comparison circuit CMP can be easily configured by a circuit that implements the exclusive OR.

【0061】一般に、設定する期待値は、再構成可能な
接続用部品の状態によって変化するが、上記実施例で
は、試験パタン自体を自動的に生成するので、期待値比
較を実行する部品内で、試験パタン生成器の状態を生成
することによって、試験パタン生成器TPGの試験パタ
ンや接続試験パタンに限らず、試験パタン生成器TP
G、期待値比較回路CMPを、それぞれ1種類ずつ回路
構成によって実現することができる。
In general, the expected value to be set varies depending on the state of the reconfigurable connection component. However, in the above embodiment, the test pattern itself is automatically generated. By generating the state of the test pattern generator, not only the test pattern and the connection test pattern of the test pattern generator TPG, but also the test pattern generator TP
G, the expected value comparison circuit CMP can be realized by one type of circuit configuration.

【0062】上記実施例において、再構成可能部品の使
用後に上記自己試験を実行する場合、試験パタン生成器
TPG、期待値比較回路CMPをプログラムする手段を
回路に具備し、試験モードを設け、この試験モード時
に、試験パタン生成器TPGまたは期待値比較回路CM
Pを順次プログラムすること(回路の再構成)によっ
て、自己試験を実現することができる。
In the above embodiment, when the self-test is performed after the use of the reconfigurable component, the circuit is provided with means for programming a test pattern generator TPG and an expected value comparison circuit CMP, and a test mode is provided. In the test mode, the test pattern generator TPG or the expected value comparison circuit CM
By sequentially programming P (circuit reconfiguration), a self-test can be realized.

【0063】つまり、再構成が可能な複数の論理回路部
品である複数の再構成可能部品と、上記複数の論理回路
部品同士の接続が再構成可能である接続用部品とによっ
て構成されている回路の自己試験方法において、第1の
プログラム段階と、試験実行段階と、繰り返し段階と、
プログラムし直し段階と、上記接続用部品について、上
記第1のプログラム段階、上記試験実行段階、上記繰り
返し段階、上記プログラムし直し段階と同様の段階を実
行する段階とを有するようにしてもよい。
That is, a circuit constituted by a plurality of reconfigurable components, which are a plurality of reconfigurable logic circuit components, and a connection component capable of reconfiguring the connection between the plurality of logic circuit components. A first program stage, a test execution stage, a repetition stage,
The method may include a step of reprogramming and a step of executing the same steps as the first program step, the test execution step, the repetition step, and the reprogramming step for the connection component.

【0064】なお、上記第のプログラム段階は、1つの
試験パタン中に0の数と1の数とが同数含まれ、0と1
とが種々に組み合わされた全ての試験パタンの中から、
0から1への変化または1から0への変化が1回だけ生
じる試験パタンを除いた試験パタンを要素とする集合で
あって、互いに異なる試験パタンの集合である試験パタ
ン系列中の試験パタンを生成する試験パタン生成器を、
1つの再構成可能部品にプログラムし、他の再構成可能
部品に、期待値比較器をプログラムする第1のプログラ
ム段階である。上記試験実行段階は、上記試験パタン生
成器が上記試験パタンを1つずつ順次プログラムする毎
に、上記試験パタン生成器と上記期待値比較器とによる
試験を実行する試験実行段階である。
In the above-mentioned first program stage, one test pattern includes the same number of 0s and 1s, and 0s and 1s.
From all the test patterns that are variously combined,
A test pattern in a test pattern sequence that is a set of test patterns excluding a test pattern in which a change from 0 to 1 or a change from 1 to 0 occurs only once, and is a set of test patterns different from each other. The test pattern generator to be generated
This is a first programming stage of programming one reconfigurable component and programming an expected value comparator in another reconfigurable component. The test execution step is a test execution step of executing a test using the test pattern generator and the expected value comparator each time the test pattern generator sequentially programs the test patterns one by one.

【0065】上記繰り返す繰り返し段階は、上記試験パ
タン系列中の全ての試験パタンをプログラムし終えた
ら、次の再構成可能部品を選択し、この選択された再構
成可能部品について、上記第1のプログラム段階と上記
試験実行段階とを実行し、これら再構成可能部品の選択
と、上記第1のプログラム段階と、上記試験実行段階と
を繰り返す繰り返し段階である。上記プログラムし直し
段階は、全ての再構成可能部品について上記試験実行段
階が終了したら、上記試験パタン生成器と上記期待値比
較器とを上記再構成可能部品にプログラムし直すプログ
ラムし直し段階である。
In the repetitive repetition step, when all the test patterns in the test pattern sequence have been programmed, the next reconfigurable component is selected, and the first reconfigurable component is selected for the selected reconfigurable component. A repetition step of executing the step and the test execution step, and selecting the reconfigurable parts, repeating the first program step, and the test execution step. The reprogramming step is a reprogramming step of reprogramming the test pattern generator and the expected value comparator into the reconfigurable component when the test execution step is completed for all reconfigurable components. .

【0066】再構成可能部品の使用中の回路の再構成方
法は、複数のプログラムROMを持つ方法、またはホス
トからダウンロードする方法等、既によく知られている
方法のうちで、回路の実現形態に応じて選択すればよ
い。
The method of reconfiguring the circuit while the reconfigurable component is in use may be any of the well-known methods, such as a method having a plurality of program ROMs, a method of downloading from a host, and the like. It should just be selected according to.

【0067】図7は、上記実施例において、試験験され
る再構成可能な回路としてのボードB1の構成例を示す
図である。
FIG. 7 is a diagram showing a configuration example of the board B1 as a reconfigurable circuit to be tested in the above embodiment.

【0068】接続再構成可能部品SW0、SW1、……
は、複数の再構成可能な論理回路部品FPGA同士を接
続するものである。1つの再構成可能な論理回路部品F
PGAに着目した場合、44グループ(各5ビット幅)
のソースが180個の接続再構成可能部品SW(各5ビ
ット幅)を介して、他の再構成可能な論理回路部品FP
GAに接続されている。
The connection reconfigurable parts SW0, SW1,...
Is for connecting a plurality of reconfigurable logic circuit components FPGA. One reconfigurable logic circuit component F
Focusing on PGA, 44 groups (5 bit width each)
Is connected to another reconfigurable logic circuit component FP via 180 connection reconfigurable components SW (5 bits each width).
Connected to GA.

【0069】図8は、上記実施例において、再構成可能
なボードB1を試験するために、再構成可能なボードB
1を、自己試験装置101として構成した例を示すブロ
ック図である。
FIG. 8 shows the configuration of the reconfigurable board B for testing the reconfigurable board B1 in the above embodiment.
1 is a block diagram showing an example in which a self-test apparatus 101 is configured.

【0070】自己試験装置101における試験パタン生
成器TPGは、試験パタン生成回路がプログラムされて
いる再構成可能部品であり、期待値比較回路CMPが、
期待値比較器と圧縮器とがプログラムされている再構成
可能部品である。
The test pattern generator TPG in the self-test apparatus 101 is a reconfigurable component in which the test pattern generation circuit is programmed, and the expected value comparison circuit CMP
The expected value comparator and the compressor are reconfigurable components that are programmed.

【0071】図9は、上記実施例における動作を示すフ
ローチャートである。
FIG. 9 is a flowchart showing the operation in the above embodiment.

【0072】1つの再構成可能な論理回路部品FPGA
i を、試験パタン生成器TPGとして選択し、シフトレ
ジスタSR1〜SR22をプログラムし、他の再構成可
能な論理回路部品FPGAを、期待値比較器CMPとし
てプログラムする(S1)。接続部品の制御ピンに接続
部品用試験パタンの1つをプログラムする(S2)。試
験パタン生成器TPGと期待値比較器CMPを同期して
スタートさせ、試験パタン生成として試験結果比較を実
行する(S3)。接続部品に与える全試験パタンが終了
したか否かを判断し、未了であれば(S4)、接続部品
に与える試験パタンを変え(S5)、ステップS2に戻
る。全ての再構成可能な論理回路部品FPGAを試験パ
タン生成器TPGとしてプログラムし終えたか否か判断
し(S6)、終了していれば、試験を終了する(S
8)、終了でなければ、試験パタン生成器TPGとして
プログラムしていない再構成可能な論理回路部品FPG
Aを選択し(S7)、ステップS1に戻る。
One Reconfigurable Logic Circuit Component FPGA
i is selected as a test pattern generator TPG, the shift registers SR1 to SR22 are programmed, and another reconfigurable logic circuit component FPGA is programmed as an expected value comparator CMP (S1). One of the connection part test patterns is programmed into the control pin of the connection part (S2). The test pattern generator TPG and the expected value comparator CMP are started in synchronization, and a test result comparison is executed as test pattern generation (S3). It is determined whether or not all the test patterns given to the connection parts have been completed. If not completed (S4), the test patterns given to the connection parts are changed (S5), and the process returns to step S2. It is determined whether or not all the reconfigurable logic circuit components FPGA have been programmed as the test pattern generator TPG (S6), and if completed, the test is terminated (S6).
8) If not finished, reconfigurable logic circuit component FPG not programmed as test pattern generator TPG
A is selected (S7), and the process returns to step S1.

【0073】このように、順次、再構成可能な論理回路
部品を、試験パタン生成器TPGとしてプログラムし、
他の再構成可能部品を、期待値比較器CMPとしてプロ
グラムすることによって、上記各試験を実現することが
できる。
As described above, the reconfigurable logic circuit components are sequentially programmed as the test pattern generator TPG,
Each of the above tests can be realized by programming another reconfigurable component as the expected value comparator CMP.

【0074】図10は、上記実施例において、試験パタ
ンのビット長2L=10ビットである場合における試験
パタンの生成例を示す図である。
FIG. 10 is a diagram showing an example of test pattern generation when the bit length of the test pattern is 2L = 10 bits in the above embodiment.

【0075】2L=10である場合、試験パタン数は、
2LL −2=250であり、250個の試験パタンが生
成される。この試験パタンを、再構成可能部品のピン数
=220に対する試験パタンにするために、22個の試
験パタン系列の集合PCi1、…、PCi22にクラス
分けし、これら試験パタン系列の集合PCi1、…、P
Ci22のうちから、P1∈PCi1、…、P22∈P
Ci22を選択する。この選択結果が、図10に示した
試験パタンであり、図10には、22個のシフトレジス
タの初期値のみを示してある。また、各シフトレジスタ
に10個のピンが対応し、結局、再構成可能部品のピン
数=220に対する試験パタンを得ることができる。
When 2L = 10, the number of test patterns is
A 2L C L -2 = 250, 250 pieces of the test pattern is generated. This test pattern is classified into a set PCi1,..., PCi22 of 22 test pattern sequences in order to make a test pattern for the number of pins of the reconfigurable component = 220, and a set PCi1,. P
From among Ci22, P1 @ PCi1,..., P22 @ P
Select Ci22. The result of the selection is the test pattern shown in FIG. 10, and FIG. 10 shows only the initial values of the 22 shift registers. In addition, ten pins correspond to each shift register, and as a result, a test pattern for the number of pins of the reconfigurable component = 220 can be obtained.

【0076】図11は、上記実施例において、生成され
るピン数が22、試験パタンのビット長さが10である
試験パタン系列の例を具体的に示す図である。
FIG. 11 is a diagram specifically showing an example of a test pattern sequence in which the number of pins generated is 22 and the bit length of the test pattern is 10 in the above embodiment.

【0077】初期値P1〜P22が格納されているシフ
トレジスタSR1〜SR22が、10回シフト動作する
と、試験パタンのビット長=10ビットの試験パタン系
列を、220ピンに供給することができる。このように
シフトすることによって、再構成可能論理回路の各ピン
にセットされる長さ10ビットの試験パタン系列が、図
11に示されている。
When the shift registers SR1 to SR22 storing the initial values P1 to P22 shift ten times, a test pattern sequence having a test pattern bit length = 10 bits can be supplied to the 220 pins. FIG. 11 shows a test pattern sequence having a length of 10 bits set to each pin of the reconfigurable logic circuit by shifting in this manner.

【0078】図12は、上記実施例における期待値発生
回路SR1、…SRiと、期待値比較器CMPと、結果
圧縮回路期待値比較器CMP0 、CMP1 、……、CM
iとの構成例を示す図である。
[0078] Figure 12, the expected value generation circuit SR1 in the above embodiment, ... SRi and an expected value comparator CMP, the result compression circuit expected value comparator CMP 0, CMP 1, ......, CM
It is a diagram illustrating a configuration example of the P i.

【0079】期待値発生回路SR1、…SRiは、試験
パタン生成器TPGで生成する試験パタン系列と同じ系
列の試験パタンを生成する回路を、シフトレジスタSR
1、…、SRiとしてプログラムすることによって実現
される回路である。
The expected value generation circuits SR1,..., SRi are circuits for generating a test pattern of the same sequence as the test pattern sequence generated by the test pattern generator TPG.
1,..., Are circuits realized by programming as SRi.

【0080】期待値比較器CMPは、排他的論理和によ
って実現される。結果圧縮は、時系列毎に圧縮する圧縮
器期待値比較器CMP1、…、CMPiと、さらにそれ
らの結果を圧縮する圧縮器期待値比較器CMP0との2
段で構成されている。これによって、ボード上に故障が
あった場合、図12に示す試験結果出力ピンに故障検出
結果が出力され、この出力された故障検出結果を観測す
ることによって、ボードの故障を検出することができ
る。
The expected value comparator CMP is realized by exclusive OR. Result compression is performed by a compressor expected value comparator CMP1,..., CMPi for compressing each time series, and a compressor expected value comparator CMP0 for further compressing those results.
It is composed of steps. As a result, when there is a failure on the board, a failure detection result is output to the test result output pin shown in FIG. 12, and the failure of the board can be detected by observing the output failure detection result. .

【0081】なお、期待値生成シフトレジスタSR1〜
SRnは、接続されている試験パタン生成器TPGが生
成する試験パタンに対応するものである。
The expected value generation shift registers SR1 to SR1
SRn corresponds to a test pattern generated by the connected test pattern generator TPG.

【0082】図13は、上記実施例において、試験パタ
ンのビット数2Lとピン数Nとの関係を示す図である。
FIG. 13 is a diagram showing the relationship between the number of test pattern bits 2L and the number of pins N in the above embodiment.

【0083】上記実施例によれば、プログラムによって
再構成可能な回路の試験において、発生する可能性があ
る配線のオープン、ショート故障および、任意の2配線
間のブリッジ故障を全て検出することができる。
According to the above-described embodiment, in a test of a circuit that can be reconfigured by a program, all possible open / short faults of a wiring and a bridge fault between two arbitrary wirings can be detected. .

【0084】また、上記実施例の自己試験回路をプログ
ラムする機構を付加すれば、LSIテスタやボードテス
タ等の試験専用装置を用いずに、LSIテスタやボード
テスタ等の試験専用装置を用いた場合と同様の故障を検
出することができる。
If a mechanism for programming the self-test circuit of the above embodiment is added, a dedicated test device such as an LSI tester or a board tester may be used instead of a dedicated test device such as an LSI tester or a board tester. And the same failure can be detected.

【0085】なお、本明細書において、被試験対象とし
ての「回路」は、ボードと、通常の装置との双方を含む
ものである。
In this specification, the “circuit” as a test object includes both a board and a normal device.

【0086】[0086]

【発明の効果】請求項1記載の発明によれば、プログラ
ムによって再構成可能な回路の試験において、プログラ
ムする回路または機能とは独立に、部品間のプログラム
可能な全ての接続形態のオープン故障、縮退故障およ
び、任意の2配線間のブリッジ故障の検出をする自己試
験が可能になり、したがって、プログラムによって再構
成可能な回路の信頼性が向上するという効果を奏するこ
とができる。
According to the first aspect of the present invention, in a test of a circuit that can be reconfigured by a program, an open failure of all programmable connection forms between components can be performed independently of a circuit or a function to be programmed. A self-test for detecting a stuck-at fault and a bridge fault between two arbitrary wirings can be performed, so that the effect of improving the reliability of a circuit reconfigurable by a program can be achieved.

【0087】請求項2に記載の発明によれば、試験パタ
ン数2Lとピン数Nとは、図13に示す関係があるの
で、短い試験パタン長で、多ピン部品間の配線の試験パ
タンを生成することができるという効果を奏することが
できる。
According to the second aspect of the present invention, since the number of test patterns 2L and the number of pins N have the relationship shown in FIG. 13, the test pattern of wiring between multi-pin components can be reduced with a short test pattern length. The effect of being able to generate | occur | produce can be produced.

【0088】請求項3に記載の発明によれば、再構成可
能な論理回路に搭載可能な程度に充分小さい回路規模で
実現可能であるという効果を奏する。
According to the third aspect of the present invention, there is an effect that the circuit can be realized with a sufficiently small circuit scale that can be mounted on a reconfigurable logic circuit.

【0089】請求項4に記載の発明によれば、回路の再
構成可能部品を使用中、または再構成の前に、コストが
低く、信頼性の高い試験を短時間で実行することが可能
になり、このプログラム機構は、ホストからのダウンロ
ードまたは、試験回路構成用のROM等の従来技術によ
って容易に実現することができるという効果を奏するこ
とができる。
According to the fourth aspect of the present invention, a low-cost and highly-reliable test can be executed in a short time while a reconfigurable component of a circuit is being used or before the reconfiguration. In other words, this program mechanism has an effect that it can be easily realized by a conventional technique such as download from a host or a ROM for configuring a test circuit.

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

【図1】本発明において、試験対象となる再構成可能な
回路100aの内部構成を示す図である。
FIG. 1 is a diagram showing an internal configuration of a reconfigurable circuit 100a to be tested in the present invention.

【図2】本発明の一実施例であるプログラムによって再
構成可能な回路100aにおける自己試験装置100を
示す図である。
FIG. 2 is a diagram showing a self-test apparatus 100 in a circuit 100a reconfigurable by a program according to an embodiment of the present invention.

【図3】上記実施例の試験対象回路をモデル化したクロ
スバスイッチ回路SWX(N,M)を示す図である。
FIG. 3 is a diagram showing a crossbar switch circuit SWX (N, M) obtained by modeling the test target circuit of the embodiment.

【図4】上記実施例における試験パタン生成器TPGを
示す図である。
FIG. 4 is a diagram showing a test pattern generator TPG in the embodiment.

【図5】上記実施例において、上記シフトレジスタを2
L回、同期させてシフトしたときに、試験パタン生成器
TPGの出力ピンに生成される試験パタン系列を示す
図である。
FIG. 5 is a block diagram showing the configuration of the embodiment,
FIG. 9 is a diagram showing a test pattern sequence generated at each output pin of a test pattern generator TPG when shifting synchronously L times.

【図6】上記実施例において、2L=6である場合にお
けるシフトレジスタSR1とSR2とが発生する試験パ
タンを示す図である。
FIG. 6 is a diagram showing test patterns generated by shift registers SR1 and SR2 when 2L = 6 in the embodiment.

【図7】上記実施例において、試験験される再構成可能
な回路としてのボードB1の構成例を示す図である。
FIG. 7 is a diagram showing a configuration example of a board B1 as a reconfigurable circuit to be tested in the embodiment.

【図8】上記実施例において、再構成可能なボードB1
を試験するために、再構成可能なボードB1を、自己試
験装置101として構成した例を示す図である。
FIG. 8 shows a reconfigurable board B1 in the embodiment.
FIG. 3 is a diagram showing an example in which a reconfigurable board B1 is configured as a self-test device 101 in order to test.

【図9】上記実施例における動作を示すフローチャート
である。
FIG. 9 is a flowchart showing an operation in the embodiment.

【図10】上記実施例において、試験パタンのビット長
2L=10ビットである場合における試験パタンの生成
例を示す図である。
FIG. 10 is a diagram illustrating an example of generation of a test pattern when the bit length of the test pattern is 2L = 10 bits in the embodiment.

【図11】上記実施例において、生成されるピン数が2
2、試験パタンのビット長さが10である試験パタン系
列の例を具体的に示す図である。
FIG. 11 shows that the number of generated pins is 2 in the embodiment.
FIG. 2 is a diagram specifically illustrating an example of a test pattern sequence in which the bit length of the test pattern is 10.

【図12】上記実施例における期待値発生回路SR1、
…SRiと、期待値比較器CMPと、結果圧縮回路期待
値比較器CMP0 、CMP1 、……、CMPi との構成
例を示す図である。
FIG. 12 shows an expected value generating circuit SR1,
... and SRi, illustrates the expected value comparator CMP, the result compression circuit expected value comparator CMP 0, CMP 1, ......, a configuration example of the CMP i.

【図13】上記実施例において、試験パタンのビット数
2Lとピン数Nとの関係を示す図である。
FIG. 13 is a diagram showing a relationship between the number of bits 2L of a test pattern and the number of pins N in the above embodiment.

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

100a…プログラムによって再構成可能な回路、 100、101…自己試験装置、 FPGA…再構成可能な論理回路部品、 CMP…期待値比較回路、 SWi1〜SWin…再構成可能な接続用回路、 Ci1〜Cin…制御ピン、 SWX(N,M)…クロスバスイッチ回路、 P1…試験パタンの集合、 TPG…試験パタン生成器、 SR1〜SRi…期待値発生回路としてのシフトレジス
タ、 PC1,PC2,…試験パタン系列の集合。
100a: Reconfigurable circuit by program, 100, 101: Self-test device, FPGA: Reconfigurable logic circuit component, CMP: Expected value comparison circuit, SW i1 to SW in : Reconfigurable connection circuit, Ci1 ~ Cin: control pin, SWX (N, M): crossbar switch circuit, P1: test pattern set, TPG: test pattern generator, SR1 to SRi: shift register as expected value generation circuit, PC1, PC2, ... test A set of pattern sequences.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 武谷 健 東京都新宿区西新宿三丁目19番2号 日本 電信電話株式会社内 ────────────────────────────────────────────────── ─── Continuing on the front page (72) Inventor Ken Takeya 3-19-2 Nishishinjuku, Shinjuku-ku, Tokyo Nippon Telegraph and Telephone Corporation

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 再構成が可能な複数の論理回路部品であ
る複数の再構成可能部品と、上記複数の論理回路部品同
士の接続が再構成可能である接続用部品とによって構成
されている回路において、 上記再構成可能部品に、自己試験用回路と上記接続用部
品とをプログラムするプログラム段階と;上記プログラ
ムされた上記自己試験用回路によって、上記各再構成可
能部品と上記装置との故障を検出する故障検出段階と;
を有することを特徴とするプログラムによって再構成可
能な回路における自己試験方法。
1. A circuit comprising a plurality of reconfigurable components, which are a plurality of reconfigurable logic circuit components, and a connection component capable of reconfiguring a connection between the plurality of logic circuit components. A program step of programming the self-testing circuit and the connection component in the reconfigurable component; and performing a fault in each of the reconfigurable components and the device by the programmed self-testing circuit. A fault detection step for detecting;
A self-test method for a circuit reconfigurable by a program, comprising:
【請求項2】 請求項1において、 上記故障検出段階は、 1つの試験パタン中に0の数と1の数とが同数含まれ、
0と1とが種々に組み合わされた全ての試験パタンの中
から、0から1への変化または1から0への変化が1回
だけ生じる試験パタンを除いた試験パタンを要素とする
集合であって、互いに異なる試験パタンの集合である試
験パタン系列を発生する試験パタン系列発生段階と;上
記発生された試験パタン系列を、試験対象の回路の各ピ
ンに逐次的に印加する試験パタン系列印加段階と;上記
試験パタン系列印加によって、全ての上記ピンの縮退故
障と、プログラム可能な全ての配線のオープン故障、シ
ョート故障と、プログラム可能な全ての2配線間のブリ
ッジ故障とを検出する検出段階と;を有する段階である
ことを特徴とするプログラムによって再構成可能な回路
における自己試験方法。
2. The failure detection step according to claim 1, wherein the number of 0s and the number of 1s are included in one test pattern,
Among all test patterns in which 0 and 1 are variously combined, a set including test patterns excluding a test pattern in which a change from 0 to 1 or a change from 1 to 0 occurs only once is an element. A test pattern sequence generating step of generating a test pattern sequence as a set of test patterns different from each other; and a test pattern sequence applying step of sequentially applying the generated test pattern sequence to each pin of a circuit to be tested. Detecting a stuck-at fault of all the pins, an open fault and a short-circuit fault of all programmable wires, and a bridge fault between all two programmable wires by applying the test pattern sequence; A self-test method for a circuit reconfigurable by a program, the method comprising:
【請求項3】 再構成が可能な複数の論理回路部品であ
る複数の再構成可能部品と、上記複数の論理回路部品同
士の接続が再構成可能である接続用部品とによって構成
されている回路において、 1つの試験パタン中に0の数と1の数とが同数含まれ、
0と1とが種々に組み合わされた全ての試験パタンの中
から、0から1への変化または1から0への変化が1回
だけ生じる試験パタンを除いた試験パタンを要素とする
集合であって、互いに異なる試験パタンの集合である試
験パタン系列を発生する試験パタン系列発生手段と;上
記各再構成可能部品と上記装置との故障を検出する期待
値比較回路と;を有し、上記試験パタン系列発生手段
と、上記期待値比較回路とを、上記再構成可能部品にプ
ログラムすることを特徴とするプログラムによって再構
成可能な回路における自己試験装置。
3. A circuit constituted by a plurality of reconfigurable components, which are a plurality of reconfigurable logic circuit components, and a connection component capable of reconfiguring a connection between the plurality of logic circuit components. In one test pattern, the same number of 0s and 1s are included in one test pattern,
Among all test patterns in which 0 and 1 are variously combined, a set including test patterns excluding a test pattern in which a change from 0 to 1 or a change from 1 to 0 occurs only once is an element. Test pattern sequence generating means for generating a test pattern sequence that is a set of test patterns different from each other; and an expected value comparison circuit for detecting a failure between each of the reconfigurable components and the device. A self-test apparatus for a circuit reconfigurable by a program, wherein the pattern sequence generating means and the expected value comparison circuit are programmed in the reconfigurable component.
【請求項4】 再構成が可能な複数の論理回路部品であ
る複数の再構成可能部品と、上記複数の論理回路部品同
士の接続が再構成可能である接続用部品とによって構成
されている回路の自己試験方法において、 1つの試験パタン中に0の数と1の数とが同数含まれ、
0と1とが種々に組み合わされた全ての試験パタンの中
から、0から1への変化または1から0への変化が1回
だけ生じる試験パタンを除いた試験パタンを要素とする
集合であって、互いに異なる試験パタンの集合である試
験パタン系列中の試験パタンを生成する試験パタン生成
器を、1つの再構成可能部品にプログラムし、他の再構
成可能部品に、期待値比較器をプログラムする第1のプ
ログラム段階と;上記試験パタン生成器が上記試験パタ
ンを1つずつ順次プログラムする毎に、上記試験パタン
生成器と上記期待値比較器とによる試験を実行する試験
実行段階と;上記試験パタン系列中の全ての試験パタン
をプログラムし終えたら、次の再構成可能部品を選択
し、この選択された再構成可能部品について、上記第1
のプログラム段階と上記試験実行段階とを実行し、これ
ら再構成可能部品の選択と、上記第1のプログラム段階
と、上記試験実行段階とを繰り返す繰り返し段階と;全
ての再構成可能部品について上記試験実行段階が終了し
たら、上記試験パタン生成器と上記期待値比較器とを上
記再構成可能部品にプログラムし直すプログラムし直し
段階と;上記接続用部品について、上記第1のプログラ
ム段階、上記試験実行段階、上記繰り返し段階、上記プ
ログラムし直し段階と同様の段階を実行する段階と;を
有し、装置上の全ての可能な配線のオープン、ショー
ト、ブリッジ故障を試験するプログラムによって再構成
可能な回路における自己試験方法。
4. A circuit comprising a plurality of reconfigurable components, which are a plurality of reconfigurable logic circuit components, and a connection component capable of reconfiguring a connection between the plurality of logic circuit components. In the self-test method, the same number of 0s and 1s are included in one test pattern,
Among all test patterns in which 0 and 1 are variously combined, a set including test patterns excluding a test pattern in which a change from 0 to 1 or a change from 1 to 0 occurs only once is an element. Program a test pattern generator that generates test patterns in a test pattern sequence that is a set of test patterns different from each other into one reconfigurable component, and program an expected value comparator into another reconfigurable component. A first program step of executing a test by the test pattern generator and the expected value comparator each time the test pattern generator sequentially programs the test patterns one by one; When all the test patterns in the test pattern sequence have been programmed, the next reconfigurable part is selected, and the first reconfigurable part is selected from the first reconfigurable part.
Performing the program step and the test execution step, selecting the reconfigurable parts, and repeating the first program step and the test execution step; and repeating the test step for all the reconfigurable parts. Re-programming the test pattern generator and the expected value comparator into the reconfigurable component when the execution stage is completed; the first program stage and the test execution for the connection component Performing the same steps as the reprogramming step, the repetition step, and the reprogramming step, wherein the circuit is reconfigurable by a program that tests for open, short, and bridging faults of all possible wires on the device. Self-test method in.
JP10095468A 1998-03-23 1998-03-23 Self-test method and self-test device in a circuit reconfigurable by a program Pending JPH11271404A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10095468A JPH11271404A (en) 1998-03-23 1998-03-23 Self-test method and self-test device in a circuit reconfigurable by a program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10095468A JPH11271404A (en) 1998-03-23 1998-03-23 Self-test method and self-test device in a circuit reconfigurable by a program

Publications (1)

Publication Number Publication Date
JPH11271404A true JPH11271404A (en) 1999-10-08

Family

ID=14138493

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10095468A Pending JPH11271404A (en) 1998-03-23 1998-03-23 Self-test method and self-test device in a circuit reconfigurable by a program

Country Status (1)

Country Link
JP (1) JPH11271404A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006518056A (en) * 2002-10-31 2006-08-03 ロッキード マーティン コーポレーション Programmable circuit, related computing machine, and method
JP5686259B2 (en) * 2009-09-18 2015-03-18 日本電気株式会社 Reliable device high reliability apparatus, high reliability method, and high reliability program
CN116257037A (en) * 2023-05-15 2023-06-13 通达电磁能股份有限公司 Method, system, electronic device and storage medium for generating controller test program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006518056A (en) * 2002-10-31 2006-08-03 ロッキード マーティン コーポレーション Programmable circuit, related computing machine, and method
JP2011181078A (en) * 2002-10-31 2011-09-15 Lockheed Martin Corp Programmable circuit and related computing machine, and method
JP5686259B2 (en) * 2009-09-18 2015-03-18 日本電気株式会社 Reliable device high reliability apparatus, high reliability method, and high reliability program
CN116257037A (en) * 2023-05-15 2023-06-13 通达电磁能股份有限公司 Method, system, electronic device and storage medium for generating controller test program
CN116257037B (en) * 2023-05-15 2023-08-11 通达电磁能股份有限公司 Method, system, electronic device and storage medium for generating controller test program

Similar Documents

Publication Publication Date Title
US5825785A (en) Serial input shift register built-in self test circuit for embedded circuits
US6003150A (en) Method for testing field programmable gate arrays
CN101413990B (en) A testing method and system for a field programmable gate array
US7644333B2 (en) Restartable logic BIST controller
US6745359B2 (en) Method of masking corrupt bits during signature analysis and circuit for use therewith
JPH11281716A (en) Method for generating test sequence for compressed set
WO2009059207A1 (en) Methods for analyzing scan chains, and for determining numbers or locations of hold time faults in scan chains
WO1996041205A1 (en) Method and apparatus for testing a megacell in an asic using jtag
US7337379B2 (en) Apparatus and method for diagnosing integrated circuit
CN114667455B (en) Universal compressor architecture for test circuits
JP2007506962A (en) Method and system for selectively masking test responses
JPH03115872A (en) Test facilitating circuit in digital integrated circuit
JP4802139B2 (en) Semiconductor integrated circuit module
Chen et al. A methodology to design efficient BIST test pattern generators
US6401226B1 (en) Electronic system with self-test function and simulation circuit for electronic system
US20020078412A1 (en) Built-in self test for a programmable logic device using linear feedback shift registers and hierarchical signature generation
US20090228751A1 (en) method for performing logic built-in-self-test cycles on a semiconductor chip and a corresponding semiconductor chip with a test engine
CN114781304B (en) A method, system, chip, and host computer for controlling the pin states of a chip.
JPH11271404A (en) Self-test method and self-test device in a circuit reconfigurable by a program
US7739566B2 (en) Scan test circuitry using a state machine and a limited number of dedicated pins
EP0151694A2 (en) Logic circuit with built-in self-test function
US10354742B2 (en) Scan compression architecture for highly compressed designs and associated methods
US7284171B2 (en) Integrated circuit device
JP3022017B2 (en) Integrated circuit
JP2004286549A (en) Scan test apparatus and design method thereof