JP3803053B2 - Test circuit - Google Patents

Test circuit Download PDF

Info

Publication number
JP3803053B2
JP3803053B2 JP2001346109A JP2001346109A JP3803053B2 JP 3803053 B2 JP3803053 B2 JP 3803053B2 JP 2001346109 A JP2001346109 A JP 2001346109A JP 2001346109 A JP2001346109 A JP 2001346109A JP 3803053 B2 JP3803053 B2 JP 3803053B2
Authority
JP
Japan
Prior art keywords
test
circuit
control unit
execution control
test target
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
JP2001346109A
Other languages
Japanese (ja)
Other versions
JP2002214302A (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.)
Nippon Telegraph and Telephone Corp
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 JP2001346109A priority Critical patent/JP3803053B2/en
Publication of JP2002214302A publication Critical patent/JP2002214302A/en
Application granted granted Critical
Publication of JP3803053B2 publication Critical patent/JP3803053B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

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

Description

【0001】
【発明の属する技術分野】
本発明は、テスト対象回路と、テストパターンを上記テスト対象回路に与えるテスト実行制御部とを具備するテスト回路に関する。
【0002】
【従来の技術】
図19は、第1の従来例である再構成可能な回路のテスト方法を説明する図である。
【0003】
再構成可能な回路(たとえば、FPGA:Field programmable gate array)は、本来、使用者が希望する回路をプログラムすることによって、上記希望する回路を様々に実現するものである。したがって、再構成可能な回路が、特定の機能を有するのではないので、再構成可能な回路をテストする場合、従来は、テストする度に、再構成可能な回路をプログラミングし、テストしている。
【0004】
図19において、1つ目のテストでは、1つ目のテスト対象回路TC11をプログラミングし、このプログラミングされたテスト対象回路TC11をテストし、2つ目のテストでは、テスト対象回路TC12をプログラミングし、このプログラミングされたテスト対象回路TC12をテストし、さらに、3つ目以降のテストでは、上記と同様に、テスト対象回路TC13、テスト対象回路TC14、……、テスト対象回路TC1nをプログラミングし、テストする。
【0005】
図20は、再構成可能な回路を対象としてテストした場合おける第1の従来のテスト方法における動作を示すフローチャートである。
【0006】
まず、1つ目の論理回路をプログラミングし(S101)、このプログラミングされた論理回路を1つ目のテスト対象回路とみなし、入力データを与え、テストし(S102)、出力値を観測する。
【0007】
上記出力値と、上記プログラミングされた回路(テスト対象回路)が正常な場合に期待されている値とが、一致するか否かを調べるために比較し(S103)、両値が互いに一致していなければ、再構成可能な回路に故障が存在していると判断し(S104)、一方、両値が互いに一致していれば(S103)、故障が存在していないと判断する。
【0008】
そして、両値が互いに一致していれば(S103)、再構成可能な回路に、2つ目の論理回路をプログラミングし(S101)、2つ目のテスト対象回路とみなし、これをテストし(S102)、上記プログラミング、テスト、比較を繰り返し実行する(S101、S102、S103、S105)。そして、再構成可能な回路の全ての面において、上記テストが終わると(S105)、1つの再構成可能な回路における全てのテストが終了する。
【0009】
図21は、第2の従来例であるBISTの説明図である。
【0010】
上記BISTは、自己組込テスト回路(Built−in selftest)と呼ばれるテスト回路であり、このBIST(自己組込テスト回路)をメモリヘ適用した例が、特開2000−30483公報に記載されている「大規模メモリ用BIST回路」である。
【0011】
上記第2の従来例であるBISTは、上記第1の従来例である再構成可能な回路のテスト方法よりも、簡単なテスト方法である。
【0012】
従来のBISTは、通常、特定の機能をもったテスト対象回路と、テスト制御部とが、LSI内に予め作り込まれている。そして、上記テスト制御部は、テストパターン発生器と、比較器とを有する。上記テストパターン発生器は、上記テスト対象回路におけるテスト入力データであるテストパターンを発生する回路であり、上記比較器は、テスト対象回路が出力したデータと、そのテスト対象回路が正常である場合に期待される期待値とを比較する回路である。
【0013】
テストに際して、BISTの外部から起動トリガを受信すると、上記テスト制御部が動作を開始し、テスト終了時に、テストがOKであるか否かを示す結果出力が、上記比較器からLSIの外部へ出力される。
【0014】
【発明が解決しようとする課題】
上記第1の従来例において、1つ目のテスト対象回路TC11をテストするには、入力端子からテスト対象回路TC11の位置までテストパターンを通す入力パスIP11を準備し、テスト対象回路TC11から出力端子まで出力結果を運ぶ出力パスOP11を準備しなければならない。この場合、上記入力パスIP11、出力パスOP11のプログラミングは、テスト対象回路TC11のプログラミングと一緒に扱われる。
【0015】
そして、テスト対象回路TC12をプログラミングするときに、入力パスIP12、出力パスOP12のプログラミングが一緒に行われ、テスト対象回路TC13、テスト対象回路TC14、……、テスト対象回路TC1nのそれぞれをプログラミングする場合も、上記と同様である。
【0016】
つまり、各テスト対象回路をプログラミングするときに、それに付随する入力パス、出力パスのプログラミングを行う。
【0017】
しかし、1つ目のテスト対象回路TC11と、2つ目のテスト対象回路TC12と、3つ目のテスト対象回路TC13と、……、n個目のテスト対象回路TC1nとが、互いに同じ機能回路であるようにプログラミングしたとしても、プログラムされた各テスト対象回路の配置位置が、再構成可能な回路上で異なれば、各テスト対象回路における入出力パス、入出力端子の位置が互いに異なる。
【0018】
したがって、上記第1の従来例では、テスト対象回路毎に(テスト対象回路を論理回路としてプログラミングする毎に)、異なる入出力パスを個別に設定する必要があり(プログラミングする必要があり)、また、異なる入出端子を個別に設定する必要がある(プログラミングする必要がある)という問題がある。
【0019】
ところで、第2の従来例であるBISTでは、テスト対象回路が特定の機能回路であることを前提にしている。すなわち、テスト対象回路に入力するテストパターン信号が、どのような信号であるのか、また、期待値がどのような値であるのかについて、LSIを製造する前に(設計時に)分かっている必要があり、しかも、上記入力するテストパターン信号とその期待値とを、LSI製造前に準備する必要がある。
【0020】
したがって、再構成可能な回路のように論理回路をプログラミングする回路に、従来のBISTを単純に適用することが困難であるという問題がある。
【0021】
また、上記従来のBISTにおいて、LSIにテスト制御部が予め設けられ、テストが終了しても、そのテスト制御部が、そのまま残り、テスト制御部以外の用途には使用できないという問題がある。つまり、オーバーヘッドが生じるという問題がある。
【0022】
本発明は、テストを行うべき回路の全体が大きくても、同じ手法で対応可能であり、また、テストの準備が簡単であり、テストそのものの仕方が簡単であり、さらに、入力端子からテスト対象回路まで入力パスを通じてテストパターンを入力する必要がなく、加えてテスト結果のデータを出力端子まで運ぶための出力パスを、テストする度にプログラム等によって設定し直す必要がないテスト回路を提供することを目的とするものである。
【0023】
【課題を解決するための手段】
本発明は、テスト対象回路と、テストパターンを上記テスト対象回路に与えるテスト実行制御部とを具備するテスト回路において、上記テスト実行制御部は、テスト回路を複製する手段を有するテスト回路である。
【0024】
また、本発明は、上記複製したテスト実行制御部(複製元のテスト実行制御部)が、上記複製されたテスト実行制御部を起動する手段を有するテスト回路である。
【0025】
さらに、本発明は、テスト結果のデータを出力する出力パスを、上記テスト対象回路から所定の出力端子へ設ける手段を有するテスト回路である。
【0026】
【発明の実施の形態および実施例】
[第1の実施例]
本発明の一実施例であるテスト回路TC1は、再構成可能な論理回路をテストする回路であり、この再構成可能な論理回路の一例が、PCA(PlasticCell Architecture)であり、まず、このPCAについて簡単に説明する。
【0027】
PCAは、任意の機能(オブジェクト)を実現するための可変部(PP:Plastic Part)と、オブジェクト間や、外部との間で、通信を行う組込部(BP:Built−in Part)とによって構成されている。
【0028】
図1は、本発明の一実施例であるテスト回路TCがテストする対象である再構成可能な論理回路の一例としてのPCAの構造を示す図である。
【0029】
図1に示すように、PCAセルは、再構成可能な論理回路の構造を持ち、通信路と可変部(PP)との制御を行い、このPCAセルを2次元的に並べたものが、PCAである。
【0030】
図2は、PCAにおけるオブジェクトとメッセージとの関係を示す図である。
【0031】
図2に示すように、各組込部(BP)は、メッシュネットワークを構成し、可変部(PP)の機能設定や、可変部(PP)上に構成されるオブジェクト間のメッセージのルーティングを行う。また、各可変部(PP)も、隣接するセルの可変部(PP)と接続を持ち、複数のセルにまたがって任意の大きさのオブジェクトを構成することができる。
【0032】
可変部(PP)は、4入力1出力のLUT(Look−Up Table)の結合網によって構成されている。LUTは、4単位で基本セルを構成する。各基本セルは、四方に隣接する基本セルからの1ビットずつの出力信号をそのまま入力信号とする。
【0033】
これらの4ビットの信号は、基本セル内の4つのLUT共通の入力信号となる。そして、これら各LUTの出力が、それぞれ、四方に隣接する基本セルの入力信号になる。これによって、基本セルの双方向隣接結合のネットワークを構成することができ、PCAにおいて、上記各PCAセルの可変部(PP)は、図1に示すように、8×8個の基本セルのアレイによって構成されている。つまり、1個の組込部(BP)が管理する対象の可変部(PP)は、64個の基本セル(=256個のLUT)であり、これがオブジェクトの最小単位となる。
【0034】
この可変部(PP)上のLUTに、メモリとしてデータを書き込むことによって、種々の論理回路を実現することができる。
【0035】
図3は、上記実施例において、可変部(PP)上のLUTに、メモリとしてデータを書き込むことによって実現される論理回路を示す図である。
【0036】
各基本セルは、任意の組み合わせ論理を実現するばかりでなく、論理素子を結ぶ配線要素も実現する。所定の基本セルにおいて、たとえば、W方向からE方向への結線を実現するためには、図3(2)に示すように、基本セル内の4つのLUTのうちのELUTの16個のメモリセルに対し、W方向からの入力(Win)を透過させるように、データを書き込んでおけばよい。また、2つの隣接する基本セル内のLUTで、フィードバックを構成することによって、非同期式レジスタやMuller−C素子を実現することができる。
【0037】
なお、PCAの技術の概要、詳細な構造(ハードウェア)や実現される回路等は、「名古屋彰、他、特集論文2“プラスティックセルアーキテクチャ”NTTR&D Vol.49 No.9 pp513−545 Sep.10th.2000.」に、多くが述べられている。
【0038】
図4は、本発明の一実施例であるテスト回路TCのうちの1つ目のテスト回路TC1をテストした後に、2つ目のテスト回路TC2を複製する動作を説明する図である。
【0039】
なお、テスト回路TCは、1つ目のテスト回路TC1、2つ目のテスト回路TC2、……、n個目のテスト回路TCnの総称であり、再構成可能な回路RCC(たとえばPCA)上に設けられ、可変部(PP)の構造をテストするテスト回路に適用したものである。
【0040】
テスト回路TC1は、テスト実行制御部101とテスト対象回路201とを有し、テスト回路TC2は、テスト実行制御部102とテスト対象回路202とを有し、……、テスト回路TCnは、テスト実行制御部10nとテスト対象回路20nとを有する。
【0041】
テスト実行制御部101は、所定のテストパターンをテスト対象回路201に与える回路であり、図4に示すように、テスト回路TC2を複製する手段を有する回路である。つまり、テスト実行制御部101は、テスト実行制御部102とテスト対象回路202とを複製する手段を有する回路である。
【0042】
また、テスト実行制御部102は、所定のテストパターンをテスト対象回路202に与える回路であり、テスト回路TC3を複製する手段を有する回路である。つまり、テスト実行制御部102は、テスト実行制御部103とテスト対象回路203とを複製する手段を有する回路である。
【0043】
さらに、以下、上記と同様にして、テスト実行制御部10(n−1)は、所定のテストパターンをテスト対象回路20(n−1)に与える回路であり、テスト回路TCnを複製する手段を有する回路である。つまり、テスト実行制御部10(n−1)は、テスト対象回路20nとテスト実行制御部10nとを複製する手段を有する回路である。
【0044】
すなわち、テスト実行制御部101、102、……、10(n−1)は、テスト実行制御部とテスト対象回路とを複製する手段の例である。
【0045】
そして、テスト実行制御部101は、上記複製されたテスト回路TC2を起動する機能を有し、また、テスト結果のデータを出力する出力パスを、テスト対象回路202から所定の出力端子へ設ける機能を有する。
【0046】
また、テスト実行制御部102は、上記複製されたテスト回路TC3を起動する機能を有し、また、テスト結果のデータを出力する出力パスを、テスト対象回路203から所定の出力端子へ設ける機能を有する。
【0047】
そして、以下、上記と同様にして、テスト実行制御部10(n−1)は、上記複製されたテスト回路TCnを起動する機能を有し、また、テスト結果のデータを出力する出力パスを、テスト対象回路20nから所定の出力端子へ設ける機能を有する。
【0048】
すなわち、テスト実行制御部101、102、……、10(n−1)は、複製したテスト実行制御部(複製元のテスト実行制御部)が、複製されたテスト実行制御部を起動する手段の例である。
【0049】
また、テスト実行制御部101、102、……、10(n−1)は、テスト結果のデータを出力する出力パスを、各テスト対象回路から所定の出力端子へ設ける手段の例である。
【0050】
次に、上記実施例の動作について、説明する。
【0051】
図5は、上記実施例におけるテスト動作を示すフローチャートである。
【0052】
まず、テスト回路TCのうちで、最初に準備する1つ目のテスト回路TC1が、論理回路としてプログラミングされる(S1)。このプログラミングにおいて、入力パス、出力パスが形成され、また、再構成可能な回路RCCの出力端子が形成される。
【0053】
上記1つ目のテスト回路TC1を起動する場合、再構成可能な回路RCCの外部から、1回だけトリガ信号が入力され(S1)、この入力されたトリガ信号によって、1つ目のテスト回路TC1が起動される。
【0054】
そして、テスト実行制御部101が、テスト対象回路201にテストパターンを与え、テストが実行される(S2)。このテストの結果が、テスト対象回路201の出力端子、出力パスを介して、再構成可能な回路RCCの出力端子まで運ばれる(S3)。そして、このテストの結果が、再構成可能な回路RCCの外部において期待値と比較され、テスト対象回路201の良否が判断される。
【0055】
ここで、上記期待値の冒頭の一部が、組込部(BP)への指示命令の一部を兼ね、上記組込部(BP)への指示命令によって、出力データ用の出力パスが形成される。上記上記期待値の冒頭の一部に、たとえば、「8」、「9」、「a」、「b」が含まれていれば、組込部(BP)は、自分の位置から、それぞれ、「西」、「北」、「東」、「南」にパスを設定する命令であると解釈する。なお、「NTT R&D Vol.49 No.9 2000」の第522(42)頁の表1には、PCAの組込部(BP)間メッセージの命令セットの例が記載され、ここには、パスの設定以外についても、記載されている。
【0056】
したがって、上記実施例では、テスト回路TC2から出力端子に向かう出力パスを形成するに際して、その都度、出力パス形成のための命令を、再構成可能な回路RCCの外部から送り込む必要がない。
【0057】
その出力パスが実現された後に、テストパターンに対するテスト対象回路201のテスト結果が、出力端子へ出力される。
【0058】
上記のように、1つ目のテスト回路TC1についてのテストが終わると(S4)、テスト実行制御部101が、2つ目のテスト回路TC2を、1つ目のテスト回路TC1の隣に複製する(S5)。
【0059】
2つ目のテスト回路TC2以降のテスト回路を複製する場合、再構成可能な論理回路RCC上の範囲から外れるまで、テスト回路TC1と同じテスト回路を複製し、また、同じテストが繰り返される。
【0060】
そして、複製された2つ目のテスト回路TC2のテスト実行制御部102に、1つ目のテスト回路TC1のテスト実行制御部101が起動トリガをかける。
【0061】
上記のように、上記実施例では、再構成可能な回路RCCの外部端子から、トリガ供給のための入力パスを、テスト回路TC2に設ける必要がない。
【0062】
ところで、上記第1の従来例(再構成可能な回路のテスト)では、テストパターンを外部端子からテスト対象回路へ入力するための入力パスを設ける必要があるが、しかし、上記実施例では、複製されたテスト実行制御部からテスト対象回路に、テストパターンが与えられるので、上記テストパターンを外部端子から入力する必要がなく、したがって、テストパターンを入力するための入力パスを設ける必要がない。
【0063】
また、上記第2の従来例(BIST)では、起動トリガを外部端子から入力する必要があるが、しかし、上記実施例において、最初のテスト回路TC1では、起動のためのトリガを外部から入力する必要があるものの、複製されたテスト回路(2つ目以降のテスト回路)TC2、TC3、……、TCnについては、複製元のテスト回路のテスト実行制御部から、起動トリガを受けるので、外部端子から起動トリガを入力する必要がない。
【0064】
テスト実行制御部102が起動トリガを受けることによって、テスト実行制御部102が、テスト対象回路202にテストパターンを与え、テスト対象回路202内で形成された論理回路を経由し、テストが実行され(S2)、このテストの結果が、出力パスを介して、再構成可能な回路RCCの出力端子から出力される(S3)。
【0065】
その後、テスト実行制御部102が第3のテスト回路TC3を、第2のテスト回路TC2の隣に、複製し(S5)、2つ目のテスト回路TC2のテスト実行制御部102がテスト実行制御部103に起動トリガをかけ、テスト対象回路203をテストし(S2)、このテストの結果が、出力パスを介して、再構成可能な回路RCCの出力端子から出力される(S3)。
【0066】
そして、上記動作を繰り返し、第(n−1)のテスト回路TC(n−1)の隣に、テスト実行制御部10(n−1)が第nのテスト回路TCnを複製し(S5)、n−1個目のテスト回路TC(n−1)のテスト実行制御部10(n−1)が、テスト実行制御部10nに起動トリガをかけ、テスト対象回路20nをテストし(S2)、このテストの結果が、出力パスを介して、再構成可能な回路RCCの出力端子から出力される(S3)。
【0067】
上記実施例においては、上記のように、再構成可能な回路RCCの外部端子と、テスト回路TC3、TC4、……、TCnのそれぞれとの間で、トリガ供給のための入力パスを設ける必要がない。
【0068】
また、上記テストの結果が、出力パスを介して、再構成可能な回路RCCの出力端子から出力される(S3)と、再構成可能な回路RCCの外部において、上記出力されたテストの結果が、期待値と比較され、テスト対象回路201、202、……、20nの良否が判断される。
【0069】
図6は、上記実施例において、再構成可能な論理回路RCC上の範囲(たとえばPCAシステム上)で、テスト回路TC1の隣に、テスト回路TC2が複製された状態を示す図である。
【0070】
図6では、左辺の入力端子から、1つ目のテスト回路TC1に対応する論理回路のプログラムが入力され、1つ目のテスト回路TC1のテスト実行制御部101を起動する起動トリガが入力される。これによって、テスト対象回路201から出力パスOP1を介して、右辺の出力端子へテスト結果が出力される。
【0071】
テスト対象回路201の右隣に、テスト回路TC2が複製される。同様にして複製されたテスト対象回路202は、出力パスOP1と同じ経路の出力パスOP2を通じ、結果を右辺端子へ出す。この場合、複製元のテスト実行制御部101が、複製したテスト回路TC2にトリガを送り、テスト回路TC2を起動させる。
【0072】
以降、上記と同様に、さらにテスト回路TCの複製と、トリガの供給と、テスト実行とを、再構成可能な回路RCC(PCAシステム)の右辺へ到達するまで繰り返す。
【0073】
また、上記実施例において、起動トリガは、1つ目のテスト回路TC1にのみ、印加し、2つ目のテスト回路TC2以降については、その1つ前のテスト回路から起動トリガが供給され、つまり、再構成可能な回路RCCから、2つ目のテスト回路TC2以降に、起動トリガを供給する必要がない。
【0074】
上記実施例によれば、比較的小規模なテスト回路TCによるテストを繰り返し行うことによって、極めて大きな再構成可能な論理回路RCCの範囲の全体(PCAシステムの全体)を、テストすることができる。
【0075】
極めて大きな再構成可能な論理回路RCCの範囲の全体(PCAシステムの全体)を一度にテストするテスト回路を準備する場合よりも、小規模なテスト回路TCを準備する場合が、はるかに簡単であり、つまり、テスト回路の設計、検証、テスト等の実行が、はるかに簡単である。
【0076】
ところで、再構成可能な論理回路をテストする第1の従来方法では、PCAシステム(再構成可能な論理回路)の範囲で、同じテスト回路を、位置を移してテストする場合に、テストパターンをテスト対象回路に与える入力パスや、テスト結果を出力する出力パスを変更しなければならない。
【0077】
しかし、上記実施例では、テスト対象回路202にテストパターンを与えるテスト実行制御部102が、テスト回路TC2を複製することに伴い、複製されるので、入力パスを別途設ける必要がない。また、上記実施例では、上記期待値に応じて出力パスを生成する命令の意味を持たせる等のように、テストパターンを工夫することによって、テスト毎に、出力パスが自動的に作られる。
【0078】
次に、上記実施例について、PCAに基づくデバイスシミュレーションを例にとって、具体的な動作を説明する。
【0079】
まず、PCAに基づくシュミレーションの概要、図面の説明については、文献「小西ほか、“PCAの実現を支援するソフトウェア”第16回パルテノン研究会資料集、Vol16、p4−12、(財)青梅佐藤財団パルテノン研究会発行、2000年5月19日」に記載されている。
【0080】
図7は、上記実施例において、論理回路(テスト回路TC1)をプログラミングした後における初期の回路を示す図である。
【0081】
図8は、図7に示す状態と同じ状態を簡略して示した図である。
【0082】
図7の左上隅に、テスト回路TC1がプログラムされている。テスト実行制御部101とテスト対象回路201とによって、テスト回路TC1が構成されている。この図7において、細かな回路の配線の1本毎に、レジスタやゲートが1個ずつ設けられている。しかし、以降は、図8に示す起動後の可変部(PP)にあるように、抽象的に簡略化した表示として、シミュレーションの動作途中の状態図を使って説明する。
【0083】
図9は、上記実施例において、テスト時の組込部(BP)を示す図である。
【0084】
図8に示す起動後の可変部(PP)と同じ1つ目のテスト回路TC1から出力パスが外部端子へ伸び、データを送っている様子が示されている。
【0085】
テスト実行制御部101に格納されているテストパターンが、テスト対象回路201に与えられている様子も見て取れる。つまり、図9において、テスト回路のテスト実行制御部中に描かれている太い横棒の部分のデータが読み出される。
【0086】
図10は、上記実施例において、1つ目のテスト回路TC1に出力する複製命令を示す図である。
【0087】
テスト回路TC1のテストが終わると、図10に示す複製命令のように、テスト実行制御部101から、テスト回路TC1を複製する命令列と、この複製された回路を起動する命令列とが発行される。テスト実行制御部101からテスト回路TC1へ戻る経路上に描かれている英数字は、上記命令列である。
【0088】
図10において、英数字は、テスト時に組込部(BP)層上で転送されるデータが16進表記された値であり、命令の区切りを意味する。なお、白丸は、高から低への信号遷移を表し、命令の区切りを意味する。
【0089】
そして、上記命令列がテスト実行制御部101から全て発行され、その命令列に従って、テスト機構(テスト回路TC1全体)が右隣へ複製される。
【0090】
図11は、上記実施例において、複製中の組込部(BP)を示す図であり、テスト回路TC1の隣りのテスト回路におけるテスト対象回路の最終に近い部分を複製している途中を示す図である。
【0091】
図11において、テスト回路TC1の情報を吸い出し、複製される領域へ、吐き出している様子を示している。つまり、図11において、テスト回路TC1のテスト対象回路201中に描かれている太い横棒が、テスト対象回路201を読み出し、テスト回路TC1の右側に描かれている太い横棒が、上記読み出されたテスト対象回路201を、テスト回路TC1の右側に、複製する途中で書き込んでいることを示している。
【0092】
図12は、上記実施例において、図11に示す複製の途中のタイミングと同じタイミングにおける複製中の可変部(PP)を示す図である。
【0093】
図12において、テスト対象回路202の最終に近い部分が、まだ複製されず、複製途中であることを示している。
【0094】
その後、複製が終ると、図10に示す複製命令によって発行された命令列の後半部で複製された回路が起動される。
【0095】
図13は、上記実施例において、テスト回路TCが1回複製された後に、動作中の可変部(PP)を示す図である。
【0096】
図12に示す可変部(PP)で複製途中であった部分も、図13に示す状態では、全て複製が終わり、図12に示す配線と比較すると、図13に示す回路内の配線が変化し、起動命令によってテスト回路が動作している。
【0097】
図14は、図12に示すテスト回路TC1、TC2を拡大して示す図である。
【0098】
図15は、図13に示すテスト回路TC1、TC2を拡大して示す図である。
【0099】
なお、図14、図15においては、動作している配線を破線で示し、動作していない配線を実線で示してある。
【0100】
図14に示す状態は、テスト回路TC2を複製する途中の状態であり、テスト回路TC2の配線のほとんどが動作していない(ほとんどが実線で示されている)が、図15に示す状態は、テスト回路TC2の複製が終了し、可変部(PP)が動作中の状態であり、テスト回路TC2中の左上の部分、右下の部分がほとんど動作し(ほとんどが破線で示され)、右上の部分の一部が動作している(一部が破線で示されている)。
【0101】
このテスト回路の動作は、図7、図8、図9で示した第1のテスト回路TC1におけるテスト動作と同じ動作である。
【0102】
図16は、上記実施例において、1回複製を行った後(第2のテスト回路TC2が複製された後)におけるテスト時の組込部(BP)を示す図である。
【0103】
図16に示す第2のテスト回路TC2におけるテスト動作は、図9に示す第1のテスト回路TC1におけるテスト動作と同じである。つまり、図16に示す第2のテスト回路TC2におけるテスト実行制御部102から、テスト対象回路202ヘテストパターンが与えられ、テスト対象回路202から、図9における出力端子と同じ出力端子まで、出力パスが延び、データが送り出される。
【0104】
図17は、上記実施例において、複数回、テストを行った後における可変部(PP)を示す図である。
【0105】
上記動作を繰り返すと、図17に示す複数回テスト後の可変部(PP)のようになる。複製後に動作中のテスト回路TCkが、一番右(出力端子に近い側)に存在し、その左隣には、その1つ前に複製されたテスト回路TC(k−1)、さらに、その前に複製されたテスト回路TC(k−2)が、その左隣に続いている。
【0106】
図18は、上記実施例において、複数回、テストした後に、複製命令を発行した組込部(BP)を示す図である。
【0107】
勿論、動作の様子を見てみると、図18に示す複数回、テストした後に複製命令を発行した組込部(BP)では、一番右側で、テスト回路TCkがさらに右隣へ回路を複製しようとして、図10に示す複製命令と同じように、命令列を出している様子が確認できる。
【0108】
図17に示す可変部(PP)と同様に、図18において、組込部(BP)が、1つ前に複製された回路TC(k−1)の左隣に設けられ、さらに前に複製された回路TC(k−2)が、その左隣へ続いている。
【0109】
上記のように、デバイスシミュレーションの表示を参照しながら、回路が部分的に左から右へ、テスト回路TCを1つ複製する度に、新たなテスト対象回路がテストされる。
【0110】
上記実施例において、テスト対象回路201は、テスト回路TC1を4等分に分割した場合、その4分割のうちの1つの部分であり、つまり、テスト回路TC1の1/4の面積の部分である。したがって、テスト回路TC1に着目すれば、テスト回路TC1の右上部分のみが、テスト対象回路201としてテストされ、つまり、テスト回路TC1の1/4だけが、テストされたことになる。テスト回路TC1の残りの3/4の部分についても上記テストを実行しなければ、テスト回路TC1の全てについてテストしたことにはならない。
【0111】
テスト回路TC1の残りの3/4の部分について上記テストするには、テスト回路TC1の左上部分にテスト対象回路201を改めて設定し、テストを行い、また、テスト回路TC1の左下部分にテスト対象回路201を改めて設定し、テストを行い、さらに、テスト回路TC1の右下部分にテスト対象回路201を改めて設定し、テストを行えばよい。つまり、テスト回路TC1の中心点を中心として、図10に示すテスト回路TC1の状態を、90度ずつ回転し、その都度、上記テストを実行すれば、テスト回路TC1の全てについてテストしたことになる。
【0112】
なお、図10において、命令列を上下方向に出すことができ、また、テスト回路TC1のうちで、一番下や真ん中等のように、任意の位置にテスト対象回路を配置することができるので、上記のように90度回転した状態でテストすることができる。
【0113】
また、テスト回路TC2、TC3、……、TCn等、テスト回路TC1以外のテスト回路についても、上記のように90度づつ回転した状態でテストすると、再構成可能な回路RCCの全ての部分について、洩れなくテストすることができる。
【0114】
上記実施例によれば、テスト回路自身の複製によって均質な構造を複製し、テストするので、テストを行うべき全体の部分が大きくても、同じ手法で対応可能である。つまり、テストにおける拡張性に優れている。
【0115】
また、上記実施例によれば、一度のテストにおけるテスト対象回路を小さな回路規模に押えることができるので、テストの準備が簡単であり、テストそのものの仕方が簡単である。つまり、テストが単純になる。
【0116】
さらに、上記実施例によれば、入力端子からテスト対象回路まで入力パスを通じてテストパターンを入力する必要がなく、加えてテスト結果のデータを出力端子まで運ぶための出力パスを、テストする度にプログラム等によって設定し直す必要がない。つまり、テストにおけるパスが簡略になる。
【0117】
また、上記実施例では、1つ目のテスト回路TC1のテスト実行制御部101に、テストパターンが格納され、このテスト実行制御部101が順次複製されるので、このテスト実行制御部の複製に伴って、テストパターンも複製され、したがって、1つ目のテスト回路TC1〜最後のテスト回路TCnをテストするに際して、再構成可能な回路RCCの外部から、テストパターンを入力する必要が全くない。このために、再構成可能な回路RCCの全部についてテストする時間が、非常に短くなり、つまり、再構成可能な回路RCCについて、高速にテストすることができる。なお、再構成可能な回路RCCを使用する際の動作速度と同じ速度で、上記テストが高速に実行される。
【0118】
また、1つ目のテスト回路TC1にのみ、再構成可能な回路RCCの外部から、トリガ供給用の専用入力パスを介して、トリガを供給し、2つ目のテスト回路TC2以降には、テスト回路TC1から順次、トリガが供給されるようにしてもよい。
【0119】
さらに、BISTによる従来例では、LSIにテスト制御部が予め設けられ、テストが終了しても、そのテスト制御部が、そのまま残り、テスト制御部以外の用途には使用できない(オーバーヘッドが生じる)が、上記実施例では、テストが終了すると、テスト実行制御部を、テスト実行制御部以外の用途に使用することができる。
【0120】
なお、上記実施例では、テスト実行制御部101からテスト対象回路201にテストパターンを供給し、このテストパターンがテスト対象回路201内の論理回路を経由し、出力パスを介して、再構成可能な回路RCCの出力端子に送られ、再構成可能な回路RCCの外部において、所定の期待値と比較され、この比較結果に応じて、テスト回路TC1の良否が判別されている。つまり、テスト実行制御部101が比較動作を実行していない。この代わりに、テスト実行制御部101が比較動作を実行するようにしてもよい。
【0121】
つまり、テスト実行制御部101からテスト対象回路201にテストパターンを供給し、このテストパターンがテスト対象回路201内の論理回路を経由し、テスト実行制御部101に戻り、このテスト実行制御部101に戻ったテストパターンと、所定の期待値とを、テスト実行制御部101において比較し、この比較結果に応じて、テスト回路TC1の良否を判別し、この判別結果を、出力パスを介して、再構成可能な回路RCCの出力端子に送るようにしてもよい。この場合、テスト実行制御部101には、上記比較を行う比較回路を設ける必要があり、また、上記期待値を保持する機能を設ける必要がある。
【0122】
なお、上記の場合、テスト実行制御部102、103、……、10nについても、テスト実行制御部101における上記の場合と同様に、上記比較回路、上記期待値を保持する機能を設ける。そして、テスト回路TC2、TC3、……、TCnの複製に伴って、上記比較回路、上記期待値を保持する機能も複製されるようにする。
【0123】
[第2の実施例]
ところで、上記第1の実施例において、テスト回路が、テスト実行制御部とテスト対象回路とによって構成され、複製元のテスト回路と、複製先のテスト回路とが、互いに重なることなく複製される。したがって、1つのテスト回路のうちで、テスト実行制御部として複製された領域は、テスト対象回路として動作せず、このテスト対象回路として動作しない部分が、テストされない領域として残るという課題がある。
【0124】
つまり、たとえば、左のブロックに、テスト実行制御部が存在し、このテスト実行制御部の右のブロックに、テスト対象回路が存在するテスト回路を使用し、横方向(右方向)にテスト回路を複製する場合、左端から数えて、奇数番目のブロックを、テスト実行制御部が占めるので、この領域が、テストされない領域として残る。
【0125】
一方、テスト対象回路が複製される偶数列においても、縦方向へはテストされない領域が残され、これらのテストされない領域をテストするために、別のテスト回路を用意する必要がある(テスト回路を外部から改めて読み込み、この読み込んだテスト回路に基づいて、テスト、複製を繰り返す必要がある。)という課題がある。
【0126】
ここで、上記テスト回路の外部から改めて読み込む場合、テスト回路の書き込みの位置を(たとえば3、4行目に)変えるか、または外部の読み込み位置を変えて、結果としてテスト回路の位置を変えて、テスト回路の外部から改めて読み込む。
【0127】
また、互いに異なる複数のテスト対象回路を使用してテストしようとする場合、上記複数のテスト対象回路のうちでテスト対象回路毎に、個別にテスト対象回路を準備し、個別にテストを実施する必要があり、この個別にテスト回路を準備することが煩雑であり、全体のテスト時間が長くなるという課題がある。つまり、1つ目のテスト対象回路について、テスト、複製を行った後に、2つ目のテスト対象回路について、外部から読み込み、テスト、複製を行い、これらの動作を、テストすべきテスト対象回路の数だけ、繰り返す必要があり、この動作が煩雑であり、全体のテスト時間が長くなるという課題がある。
【0128】
さらに、テスト対象回路が複数ブロック(たとえば2×2ブロック)で構成されている場合、テスト回路の複製先の一部と複製元とが重なるように複製したとしても、テスト対象回路が前に試験したテスト対象回路と重なりを持たないとテストできない領域が残る場合があるという課題があり、上記テストされない領域をテストするためには、別のテスト回路をさらに用意する必要があるという課題がある。
【0129】
第2の実施例以下の実施例では、一度のテストでほぼ全ての領域をテストすることができ、テストを効率化(合理化)することができるテスト回路を提供することを目的とするものである。
【0130】
第1の実施例と、これから述べる第2〜5の実施例とが原理的に違っている点は、複製のやり方である。第1の実施例は、テスト回路全体を1つとして一括した複製を行う実施例である。これに対して、第2〜5の実施例は、テスト実行制御部の複製とテスト対象回路の複製とを個別に行うことを基本とする実施例である。
【0131】
本発明の第2の実施例は、テスト回路を複製する場合、テスト回路の複製先の一部を、テスト回路の複製元と重ねるようにして複製する実施例である。
【0132】
図22は、本発明の第2の実施例の説明図である。
【0133】
図22(1)〜(3)は、第1の実施例の説明図であり、第2の実施例を説明するために記載されている図である。
【0134】
図22(1)は、2×2ブロックで構成されているテスト回路を示す図であり、複製元のテスト回路を示す図である。このテスト回路は、メモリMとフィルタ回路Fとを有するテスト実行制御部と、テスト対象回路Tとによって構成されている。この例では、1つのテスト回路に2つのブロックのテスト対象回路Tが設けられている。
【0135】
図22(2)は、第1の実施例において、テスト回路内の2つのテスト対象回路Tがテストされた後に、その右隣に、テスト回路を複製した状態を示す図である。
【0136】
図22(3)は、第1の実施例において、1回目に複製されたテスト回路内のテスト対象回路Tがテストされた後に、その右隣に、テスト回路を2回目に複製した状態を示す図である。
【0137】
ここで、メモリMとフィルタ回路Fとが複製された領域(テスト実行制御部が複製された領域)には、テスト対象回路Tが複製されていない。
【0138】
したがって、これらの領域(テスト実行制御部が複製された領域)をテストするには、別のテスト回路(たとえば、図22(1)に示すテスト回路において、テスト実行制御部とテスト対象回路との位置が左右反転しているテスト回路)を用いて、テストを実行しなければならない。つまり、第1の実施例では、テスト回路を連続して重なりなく複製するので、一列おきに、飛び飛びにテストされていない領域が残り、したがって、別のテスト回路を外部から読み込み、使用する等して、外部からの読み込みを含めたテストを、2度実行する必要がある。
【0139】
図22(4)〜(6)は、第2の実施例の特徴を説明する図である。
【0140】
図22(4)は、図22(1)に示したテスト回路と同じテスト回路であり、テスト回路を複製する前の状態を示す図である。
【0141】
図22(5)は、第2の実施例において、1回目にテストを実行した後、1回目の複製を実行した後の状態を示す図である。この複製において、テスト回路の複製先の半分が、テスト回路の複製元と重なるように複製されている。つまり、上記重なるテスト回路の複製先の半分は、上記テスト回路の複製先におけるテスト実行制御部である
図22(6)は、第2の実施例において、1回目に複製したテスト回路をテストし、2回目の複製を実行した後の状態を示す図である。この場合も、テスト回路の複製先の半分が、テスト回路の複製元と重なるように複製されている。
【0142】
したがって、複製先におけるテスト実行制御部は、複製元におけるテスト対象回路Tが存在していた領域に複製され、テスト対象回路Tのみが常に新しい領域(まだ複製されていない領域)に複製される。
【0143】
なお、テスト回路の複製先の半分が、上記テスト回路の複製元と重なる場合も含めて、テスト回路の複製先の一部が、上記テスト回路の複製元と重なるように複製すればよい。
【0144】
つまり、第2の実施例は、テスト対象回路と、テストパターンを上記テスト対象回路に与えるテスト実行制御部とを具備するテスト回路において、上記テスト実行制御部は、上記テスト対象回路と上記テスト実行制御部とを複製し、しかも、テスト回路の複製先の一部が、上記テスト回路の複製元と重なるように複製する手段を有するテスト回路である。
【0145】
上記のように、複製元のテスト回路と重なりをもって複製先のテスト回路を複製することによって、複製された領域の殆ど全ての領域をテストすることができる。
【0146】
図23は、第2の実施例において、シミュレータで、その複製とテストとを実行する様子を示す図である。
【0147】
図24は、図23の拡大図である。
【0148】
図23における右端に示す上下同じ回路が、テスト対象回路Tであり、その上側の回路は、その回路内の配線が全て実線で描かれ、この回路が動作していない(停止状態である)ことを示しており、その下側の回路は、殆どの配線が淡い色の線(図24の拡大図では破線)で描かれ、信号が伝播し、テストを実行中であることを確認することができる。
【0149】
また、テスト対象回路Tの左がテスト実行制御部であり、テスト実行制御部における上側がメモリMであり、テスト実行制御部における下側がフィルタ回路Fである。同じテスト実行制御部(メモリMとフィルタ回路F)が3つ横に並んでおり、テスト回路を3回複製したことがわかる。また、これら3つのテスト実行制御部のうちで、右側(テスト動作をしているテスト対象回路の左隣)のフィルタ回路Fだけが、一部の配線が淡い色(図24の拡大図では破線)である。これは、右隣のテスト対象回路Tのテスト動作を制御していることを示している。
【0150】
[第3の実施例]
本発明の第3の実施例は、テスト対象回路のみの複製を行う実施例である。
【0151】
図25は、本発明の第3の実施例の説明図である。
【0152】
図25(1)、(2)、(3)は、図22(1)、(2)、(3)と同じ図である。この場合において、テスト回路が複製された領域のうちで、テストされる領域の割合、つまりカバー率Rは、テスト回路毎に、テスト実行制御部とテスト対象回路Tとを併せて一緒に複製するので、
R=テスト対象回路/(テスト実行制御部+テスト対象回路)
である。
【0153】
ここで、第1の実施例では、横方向のみにテスト回路の複製を繰り返すので、テストできない領域は、テスト実行制御部(メモリMとフィルタ回路Fの箇所)だけでなく、横方向にテスト回路を複製する2行分を除く縦方向の全ての領域である。この2行分を除く領域について、外部からテスト回路を再び読み込み、テストし、複製する動作を繰り返す必要がある。
【0154】
ここで、上記外部からテスト回路を再び読み込む場合、テスト回路の書き込みの位置を3、4行目に変えるか、または、外部の読み込み位置を変えて、結果としてテスト回路の位置を同様に変える。
【0155】
図25(4)は、テスト実行制御部とテスト対象回路Tとを併せたテスト回路を複製し、しかも、テスト対象回路Tのみを縦方向に複製する実施例を示す図である。
【0156】
図25(4)は、左端のテスト実行制御部(メモリMとフィルタ回路F)が、その右隣の最上部に存在している2つのテスト対象回路Tをテストした後に、この2つのテスト対象回路Tのみを、1つ下隣に複製し、この複製されたテスト対象回路Tをテストし、上記複製されたテスト対象回路Tの下隣へ行うテスト対象回路Tの複製と、この複製されたテスト対象回路Tのテストとを必要な回数、繰り返す。
【0157】
図25(4)に示す実施例では、2つのテスト対象回路Tを、それぞれ2回複製し、縦方向へ合計6つのテスト対象回路Tをテストする。このように、テスト対象回路Tのみの複製と、この複製されたテスト対象回路Tのテストとを実行した後に、最初のテスト回路(テスト実行制御部とテスト対象回路Tとを併せたもの)を右隣へ複製する。そして、再びテストし、テスト対象回路Tのみの下隣への複製と、この複製されたテスト対象回路Tのテストとを、何回か繰り返す。この図では、テスト回路を2回複製し、2回目に複製されたテスト回路のテスト対象回路Tが、1回目の複製をし終えた段階までを表示してある。
【0158】
上記のように、第2の実施例であるテスト回路の横方向の複製に加えて、第3の実施例であるテスト対象回路Tのみの縦方向への複製を実行することによって、テストによるカバー率Rは、
R=k×テスト対象回路/(テスト実行制御部+k×テスト対象回路)
であり、改善することができる。
【0159】
なお、kは、テストを実施したテスト対象回路の数を指す。つまり、各複製が重なりを持たない条件の下では、1箇所のテスト実行制御部について、テスト実行制御部を複製した直後から、次のテスト実行制御部を複製する直前までの間に、複製されたテスト対象回路の数を、kとすることができる。
【0160】
図25(4)に示す例の場合では、テスト実行制御部を複製した後に、2つのテスト対象回路を縦方向に2回複製し、テスト実行制御部を複製する直前に、2つのテスト対象回路を横方向へ1回複製していることを加える。したがって、k=2×2×(縦方向の複製によるテスト対象回路数)+1×2×(横方向の複製によるテスト対象回路数)=6である。
【0161】
図26は、第3の実施例において、テスト対象回路Tのみを縦方向に複製し、しかも、複製先の一部が複製元と重なるようにテスト回路を横方向に複製した場合におけるシミュレーションの状態を示す図である。
【0162】
図27は、図26の拡大図である。
【0163】
図26中、その左端が、メモリMとフィルタ回路Fとを有するテスト実行制御部であり、その右隣に、同じテスト実行制御部が2つ複製され、テスト実行制御部を2回、複製した状態であることを示している。この中で、特に、左から3番目に存在しているテスト実行制御部のフィルタ回路Fだけ、その一部の配線が淡い色(図27の拡大図では破線)に変化し、テスト実行制御部が動作している状態を示している。
【0164】
また、図26中、右端に、テスト対象回路が4つ縦に並んでいる。これらのうちで、下に並ぶテスト対象回路Tは、テスト対象回路Tのみの複製が行われている。特に、上から4つ目のブロックに複製されたテスト対象回路(一番下のテスト対象回路)Tは、一部の配線が淡い色(図27の拡大図では破線)に変化し、上記動作中のテスト実行制御部によってテスト動作している状態を示している。
【0165】
また、左から2番目、3番目の列の上から3番〜6番目のブロックに複製されたテスト対象回路Tは、最初のテスト対象回路Tのみを数回、複製し、テスト回路(テスト実行制御部とテスト対象回路Tとを併せて)を1回複製した後に、数回に亘りテスト対象回路Tのみを複製したテスト対象回路である。
【0166】
ここで、図26(図27)のテスト途中の時点での結果において、テストを実施したテスト対象回路の総数kは、左から2、3列目に位置しているテスト対象回路の数と、縦方向の6×横方向の2と、4列目のテスト対象回路の数と、縦方向の4とを加え、k=16である。それに、テスト実行制御部の全て複製された箇所は、テスト対象回路が既に位置していた領域であるので、初の1箇所のテスト実行制御部が存在している領域のみテストが実施されていない。
【0167】
したがって、この時点でのカバー率R=16×テスト対象回路/(テスト実行制御部+16×テスト対象回路)となる。
【0168】
上記のように、1つのテスト対象回路Tによって、横方向のみならず縦方向にも全面へ、テスト対象回路Tを複製し、これによって、テストをより効率的に行うことができる。
【0169】
つまり、第3の実施例は、テスト対象回路が、互いに異なる複数のテスト対象回路であり、1つのテスト実行制御部が、上記互いに異なる複数のテスト対象回路について、複製とテストとを、繰り返して実行する例である。
【0170】
[第4の実施例]
本発明の第4の実施例は、互いに異なる複数のテスト対象回路を、ほぼ同時に扱う(複製し、テストする)実施例である。
【0171】
図28は、本発明の第4の実施例の説明図である。
【0172】
図28(1)は、図25(4)に示した第3の実施例と同じ図である。図28(1)に示す第3の実施例は、テスト回路を重ねながら横方向へ複製し、しかも、テスト対象回路Tのみを縦方向へ行う複製をk回実行することによって、テストの効率化を図ることができる。ところが、互いに異なる複数のテスト対象回路でテストするには、異なる複数のテスト対象回路をそれぞれ用意し、個別に複製し、テストする必要があり、この個別に複製、テストを繰り返す作業が煩雑である。
【0173】
つまり、1つ目のテスト対象回路について、テスト、複製を行った後に、2つ目のテスト対象回路について、外部から読み込み、テスト、複製を行い、これらの動作を、テストすべきテスト対象回路の数だけ、繰り返す必要があり、この動作が煩雑であり、全体のテスト時間が長くなるという課題がある。
【0174】
図28(2)〜(4)に示す第4の実施例は、テスト実行制御部(メモリMとフィルタ回路F)の右隣の列に、互いに異なるテスト対象回路T1〜T5を、テスト対象回路T1、T2、T3、T4、T5の順で、上から縦に並べて配置し、この場合、テスト対象回路が複製されていない領域、つまり、「空」と表示されている領域を設ける。そして、テスト対象回路T1〜T5をテストし、「空」領域を使用して、テスト対象回路T1〜T5を、1つづつ位置を移動させて複製し、テストし、これを繰り返す実施例である。
【0175】
すなわち、第4の実施例において、テスト実行制御部(メモリMとフィルタ回路F)の右隣の列に、テスト対象回路T1、T2、T3、T4、T5の順で、上から縦に並べて配置した後に、テスト対象回路T1〜T5をそれぞれテストし、これらのテスト対象回路を1つ下に移動するように複製する。すなわち、「空」領域にテスト対象回路T5を複製し、複製元のテスト対象回路T5が存在している領域に、テスト対象回路T4を複製し、複製元のテスト対象回路T4が存在している領域に、テスト対象回路T3を複製し、複製元のテスト対象回路T3が存在している領域に、テスト対象回路T2を複製し、複製元のテスト対象回路T2が存在している領域に、テスト対象回路T1を複製する。そして、この状態で、テスト対象回路T1〜T5をテストする。このテストによって、1つの領域で、2つのテスト対象回路によるテストが実行されたことになる。
【0176】
ここで、複製元のテスト対象回路T1が「空」領域と同じ意味を持つ。つまり、複製元のテスト対象回路T1に他のテスト対象回路を複製しても、複製先のテスト対象回路T1が別に存在するので、テスト対象回路T1を別に複製することに支障がないという意味で、「空」領域と同じ意味を持つ。この「空」領域と同じ意味を持つ領域に、テスト対象回路T5を複製し、複製元のテスト対象回路T5が存在している領域に、テスト対象回路T4を複製し、複製元のテスト対象回路T4が存在している領域に、テスト対象回路T3を複製し、複製元のテスト対象回路T3が存在している領域に、テスト対象回路T2を複製し、複製元のテスト対象回路T2が存在している領域に、テスト対象回路T1を複製する。そして、この状態で、テスト対象回路T1〜T5をテストする。このテストによって、1つの領域で、3つのテスト対象回路によるテストが実行されたことになる。
【0177】
上記のように、「空」領域と同じ意味を持つ領域に、テスト対象回路T5を複製し、順次、テスト対象回路T4〜T1を移動させるように複製し、テストすると、結局、1つの領域で、5つのテスト対象回路によるテストが実行されたことになる。
【0178】
このようにして、1つの領域で、5つのテスト対象回路によるテストが終了すると、図28(3)に示すように、テスト対象回路は、上から、T2、T3、T4、T5、「空」、T1の順で、位置する。ここで、一番下に位置するテスト対象回路T1を、1列右の一番上のブロックに複製し、図28(4)に示すように、テスト対象回路T2、T3、T4、T5の順で、複製先のテスト対象回路T1の下に連ねて複製する。
【0179】
そして、テスト実行制御部(メモリMとフィルタ回路F)を右隣の列に、複製し、上記複製されたテスト対象回路T1〜T5をテストする。
【0180】
上記のように、互いに異なる複数のテスト対象回路を、縦方向に並べ、テストし、複製によって縦方向へ移動させるように複製し、テストし、これを繰り返し、その列における異なるテスト対象回路のテストが全て完了すると、横方向へ、テスト実行制御部とテスト対象回路とを併せて複製する。このような動作によって、いくつも異なる種類のテスト対象回路をまとめて1度にテストすることが可能になる。
【0181】
つまり、互いに異なる複数のテスト対象回路についてテストする場合、テスト対象回路を含むテスト回路を1回だけ、外部から読み込めば足り、テスト作業が、極めて効率化される。
【0182】
図29は、第4の実施例において、互いに異なる種類のテスト対象回路を扱い、これらをまとめて1度でテストする場合におけるシミュレータ上の状態を示す図である。
【0183】
左端の上の2つのブロックが、メモリMであり、左端の最下ブロック(上から3つ目のブロック)が、フィルタ回路Fであり、両者を併せて、1つのテスト実行制御部を構成している。
【0184】
図30は、図29の拡大図である。
【0185】
また、図29中、右端の5つのブロックは、全て互いに異なるテスト対象回路T1、T2、T3、T4、T5である。これら5つのテスト対象回路T1〜T5うちで、最下ブロック(上から5つ目のブロック)のテスト対象回路T5の一部配線が、淡い色(図30の拡大図では破線)で示され、テスト動作をしている状態を示している。
【0186】
さらに、図29中、右から2番目の行の上から3番目のフィルタ回路Fは、配線が淡い色(図30の拡大図では破線)で示され、最も右下のテスト対象回路T5をテストする制御動作を実行していることを示している。
【0187】
また、図29中、右から2列目と3列目の上2つのブロックであるメモリMと、上から3番目のフィルタ回路Fとを併せたテスト実行制御部は、1回目の複製と2回目の複製とによって複製されたものである。また、右から2列目、3列目における下3つ分のテスト対象回路は、異なるテスト対象回路を1つずつ複製によって移動しながらテストした後に、複製の上書きがされていない部分である。
【0188】
なお、第4の実施例は、異なる種類のテスト対象回路を扱う場合の実施例である。しかし、同じ第4の実施例において、図28(2)に示すテスト対象回路のみの複製に関して、この1つ1つのテスト対象回路に着目して考えると、先に述べた第3の実施例の縦方向に、テスト対象回路のみを複製することが、全てのテスト対象回路のそれぞれに適用されていることが分かる。
【0189】
第1〜4の実施例を単独で実施してもよく、また、第1〜4の実施例のうちの複数の実施例を組み合わせて実施するようにしてもよい。この組み合わせて実施した場合におけるテストの効率は、相乗的に向上し、この点は、注目すべき重要なことである。
【0190】
[第5の実施例]
第5の実施例は、複製されたテスト対象回路同士の間における隙間を埋めるように、テスト対象回路を複製する実施例である。
【0191】
そもそも、これまでに述べてきた1ブロック分は、図1に示すPCAセルの1つ分に相当する。ここで、図1のPCAセルを見ると、この可変部(PP)はさらに、2次元的に並べられた基本セルで構成され、隣接するPP間は、ブロックの境界にあたる基本セルの入出力線で結線されている。したがって、PP間にまたがる入出力線が関わる境界の基本セルのテストは、それらに該当する複数のブロックをテスト対象回路にして実施する必要がある。
【0192】
図31は、本発明の第5の実施例の説明図である。
【0193】
図31に示すテスト対象回路は、可変部の角に位置する基本セルが、上下左右の隣接するPPに含まれる基本セルと、入出力線とが繋がっているので、この角に位置する基本セルをテストするために、2×2ブロック分の領域を占めている。
【0194】
図31(1)に示す第4の実施例において、2×2ブロック分の領域を占めるテスト対象回路Tのみを下隣へ連ねて2回複製し、それぞれテストし、その後に、テスト実行制御部が、複製元のテスト対象回路の一部に重なるように、テスト対象回路を右隣に複製し、テストする。また、上記と同じく、テスト対象回路Tのみを下隣へ連ねて2回複製し、テストする。このように、複製とテストとを実施すると、テスト対象回路Tによって縦方向も横方向も、全ての領域を敷詰めたようにテストすることができる。
【0195】
ところが、テスト対象回路Tが2×2ブロックサイズを持つ理由は、ブロック間にまたがる領域(図31(1)に示す例では、4つのブロックの中央部分(破線で示した交点部分)をテストするためである。
【0196】
上記のように、この中央部分を図1のPPで示すと、1つのPPの角に位置する基本セルに当たる。あるPPの角の基本セルは、上下左右にその隣接のPPに含まれる基本セルと、入力信号線と、出力信号線とが相互に接続されている。
【0197】
したがって、図31(1)において、4ブロックの交点(斜線を付した部分)は、このような手法ではテストされずに残る。
【0198】
そこで、テスト対象回路Tを複製する場合、図31(2)に示すように、既にテストが終了したテスト対象回路Tの一部に重ねて、テスト対象回路Tを複製する。この場合、所定の順番で、テスト対象回路Tを複製する。つまり、テスト対象回路Tの複製元(回路の構成情報を読み出す領域)を、テスト対象回路Tの複製先(回路の構成情報を書き込む領域)に複製する動作が終了する前に、複製元を複製先に重ねようとすると、その複製が正常に行われないので、テスト対象回路Tの複製元を、テスト対象回路Tの複製先に複製した後に、上記複製元に重ねて複製する。このような順番で、テスト対象回路Tを複製する。
【0199】
第5の実施例では、テスト対象回路Tを、1回目に複製する場合、2回目に複製する場合、下隣へ順に複製する。つまり、1回目に複製する場合、図31(2)中、▲1▼を付した矢印に従って、上から3〜4行目にテスト対象回路Ta(左下がりの斜線を付した回路)を複製し、2回目に複製する場合、▲2▼を付した矢印に従って、5〜6行目に、テスト対象回路Tb(右下がりの斜線を付した回路)を複製する。
【0200】
そして、1、2回目に複製したテスト対象回路Ta、Tbをテストした後に、3、4回目の複製を行う。つまり、3回目に複製する場合、図31(2)中、▲3▼を付した矢印に従って、上から2〜3行目にテスト対象回路Tcを複製し、4回目に複製する場合、▲4▼を付した矢印に従って、4〜5行目に、テスト対象回路Tdを複製する。そして、3、4回目に複製したテスト対象回路Tc、Tdをテストする。
【0201】
このような順番で複製すると、ある時点で複製したテスト対象回路(複製元のテスト対象回路)と、その次の時点で複製すべきテスト対象回路(複製先のテスト対象回路)とが重なることはない。上記4回の複製によって、そのテスト対象回路の2列を縦方向に見ると、1、2行目の領域と、2、3行目の領域と、3、4行目の領域と、4、5行目の領域と、5、6行目の領域とのそれぞれに複製されたテスト対象回路をテストするので、4つのブロックの交点(境界領域)を全てテストしたことになる。
【0202】
テスト対象回路Tが、2×2ブロックサイズを持つ理由は、ブロック間にまたがる領域(図31(1)に示す例では、4つのブロックの中央部分(破線で示した交点部分))をテストするためである。
【0203】
上記のように、この中央部分を図1のPPで示すと、1つのPPの角に位置する基本セルに当たる。あるPPの角の基本セルは、上下左右にその隣接のPPに含まれる基本セル、と入力信号線と、出力信号線とが相互に接続されている。
【0204】
また、図31(3)は、テスト実行制御部とテスト対象回路とを併せたテスト回路を、横方向へ複製する場合を示す図である。まず、図31(3)中、▲5▼−1を付した矢印に従って、4、5行目の領域に存在するテスト対象回路Tdを、その1列分だけ右隣の列で重なるように、しかも1、2行目へ複製する。つまり、この複製結果がテスト対象回路Teである。次に、図31(3)中、▲5▼−2の矢印に従ってメモリMとフィルタ回路Fとを有するテスト実行制御部を右隣へ複製する。
【0205】
このようにすれば、横方向に複製する場合も、1行ずつテスト対象回路Tが重なり、複製されたことになる。したがって、4ブロックの交点の境界を、縦方向にも、横方向にも、洩れなくテストすることができる。
【0206】
図32は、第5の実施例においてシミュレーション動作させている状態を示す図である。
【0207】
図33は、図32の拡大図である。
【0208】
テスト実行制御部は、左端に示す2つのブロック分で構成され、その上側がメモリMであり、その下側がフィルタ回路Fで構成されている。また、テスト対象回路Tは、最も右下の2×2ブロック(右から2列分、上から5〜6行分である2×2ブロック)である。正に、右から2列分、上から2、3行目の2×2ブロック分も、同じテスト対象回路であるが、このテスト対象回路の所々の配線は淡い色(図33の拡大図では破線)で示され、試験動作している状態を示している。また、その左隣のテスト実行制御部のフィルタ回路Fも、配線が一部淡い色(図33の拡大図では破線)であり、テストの制御動作中であることを示している。
【0209】
さらに、左から2、3列で、1、2行目の部分のテスト実行制御部は、テスト実行制御部が、それぞれ1回目、2回目に複製されたものである。また、左から2、3列で3〜6行目の領域は、テスト対象回路の断片である。この領域は、元は完全なテスト対象回路が複製され、テストを完了した痕跡である。
【0210】
第5の実施例によれば、縦横2次元の平面上に散在するテスト箇所を、効率的にテストすることができる。
【0211】
また、第5の実施例によれば、上記のように、同じテスト回路を使用し、その複製の回数を増やし、また、異なるテスト対象回路をまとめて1度で扱う(複製し、テストする)ので、テスト全体として、用意するテスト回路を削減することができるので、そのテストの準備作業が軽減される。
【0212】
さらに、第5の実施例において、テストを実行する場合、別々に扱うテスト対象回路を、外部からプログラムする必要回数を削減することができる。この削減分は、内部の高速な複製回数の増加分に置き換わる。したがって、その分のテスト時間も短縮される。
【0213】
なお、上記説明したいくつかの実施例を、様々に組み合わせて利用することができる。これら実施例の組み合わせによって、多様な形態が考えられるが、上記各実施例を組み合わせれば、テスト時間が相乗的に短縮される。
【0214】
たとえば、テスト対象回路Tのみの複製と、テスト回路の一部が重なるように複製することとを、2つの組み合わせることによって、テスト対象回路が複製されそれをテストする箇所を、縦方向横方向の2次元的に増やし、そのテストのカバー率を一挙に向上させることができる。
【0215】
また、別の実施例で説明したように、上のテスト回路の複製と、テスト対象回路Tのみの複製とを組み合わせ、しかも、テスト対象回路として、互いに異なるテスト対象回路をいくつかまとめて扱うようにすれば、つまり、一度に3つ組み合わせれば、3つの実施例の利点を相乗的に発揮することができる。すなわち、単に異なるテスト対象回路を扱うだけでなく、異なるテスト対象回路をそれぞれ1つずつ個別に見ても、2次元平面の全ての領域で、テストを隈なく実行することができる。
【0216】
すなわち、テスト対象回路と、テストパターンを上記テスト対象回路に与えるテスト実行制御部とを具備するテスト回路において、上記テスト実行制御部は、上記テスト対象回路と上記テスト実行制御部とを複製し、しかも、テスト対象回路の複製先が、既にテストが終わっているテスト対象回路の一部と重なるように複製する手段を有し、この場合、上記テスト対象回路は、互いに異なる複数のテスト対象回路であり、1つの上記テスト実行制御部が、上記互いに異なる複数のテスト対象回路について、複製とテストとを、繰り返して実行するようにしてもよい。
【0217】
なお、本発明の参考文献として、「坪井秀幸、小林英史、塩澤恒道、氷見康一、名古屋彰:“自律的再構成可能なハードウェアにおけるテスト方式の検討、”電子情報通信学会技術研究報告、VLD2000−80,ICD2000−137,FTS2000−45,pp.65−70,Nov.2000」を挙げることができる。
【0218】
[第1の実施例の変形例]
図34は、第1の実施例の変形例を示す図である。
【0219】
この変形例は、再構成可能な回路RCCに設けるテスト回路TC1の位置を変えた例である。図34(1)は、再構成可能な回路RCCの上部に、テスト回路TC1を設けた例であり、図34(2)は、再構成可能な回路RCCの中央部に、テスト回路TC1を設けた例であり、図34(3)は、再構成可能な回路RCCの下部に、テスト回路TC1を設けた例である。
【0220】
図35は、第1の実施例における別の変形例を示す図である。
【0221】
この変形例は、テスト回路TC1におけるテスト対象回路の位置を変えた例である。図35(1)は、テスト回路TCaの右下部分にテスト対象回路201aが設けられている例であり、図35(2)は、テスト回路TCbの右上部分にテスト対象回路201bが設けられている例であり、図35(3)は、テスト回路TCcの左下部分にテスト対象回路201cが設けられている例であり、図35(4)は、テスト回路TCeの左上部分にテスト対象回路201eが設けられている例である。
【0222】
つまり、第1の実施例における別の変形例は、テスト対象回路を、上記テスト回路において、90度回転した状態で、上記テスト対象回路をテストするテスト回路である。
【0223】
また、上記第1の実施例におけるさらに別の実施例は、上記テスト実行制御部から上記テスト対象回路にテストパターンを供給し、このテストパターンが上記テスト対象回路内の論理回路を経由して出力された値と、所定の期待値とを比較し、この比較結果を出力する回路を有するテスト回路である。
【0224】
【発明の効果】
本発明によれば、テスト回路自身の複製によって均質な構造を複製し、テストするので、テストを行うべき全体の部分が大きくても、同じ手法で対応可能であるという効果を奏し、また、一度のテストにおけるテスト対象回路を小さな回路規模に押えることができるので、テストの準備が簡単であり、テストそのものの仕方が簡単であるという効果を奏し、さらに、入力端子からテスト対象回路まで入力パスを通じてテストパターンを入力する必要がなく、加えてテスト結果のデータを出力端子まで運ぶための出力パスを、テストする度にプログラム等によって設定し直す必要がないという効果を奏し、また、テストを高速に実行することができ、オーバーヘッドが不用になるという効果を奏する。
【図面の簡単な説明】
【図1】本発明の一実施例であるテスト回路TCがテストする対象である再構成可能な論理回路の一例としてのPCAの構造を示す図である。
【図2】PCAにおけるオブジェクトとメッセージとの関係を示す図である。
【図3】上記実施例において、可変部(PP)上のLUTに、メモリとしてデータを書き込むことによって実現される論理回路を示す図である。
【図4】本発明の一実施例であるテスト回路TCのうちの1つ目のテスト回路TC1をテストした後に、2つ目のテスト回路TC2を複製する動作の説明図である。
【図5】上記実施例におけるテスト動作を示すフローチャートである。
【図6】上記実施例において、再構成可能な論理回路RCC上の範囲(たとえばPCAシステム上)で、テスト回路TC1の隣に、テスト回路TC2が複製された状態を示す図である。
【図7】上記実施例において、論理回路(テスト回路TC1)をプログラミングした後における初期の回路を示す図である。
【図8】図7に示す状態と同じ状態を簡略して示した図である。
【図9】上記実施例において、テスト時の組込部(BP)を示す図である。
【図10】上記実施例において、1つ目のテスト回路TC1に出力する複製命令を示す図である。
【図11】上記実施例において、複製中の組込部(BP)を示す図であり、テスト回路TC1の隣りのテスト回路におけるテスト対象回路の最終に近い部分を複製している途中を示す図である。
【図12】上記実施例において、図11に示す複製の途中のタイミングと同じタイミングにおける複製中の可変部(PP)を示す図である。
【図13】上記実施例において、テスト回路TCが1回複製された後に、動作中の可変部(PP)を示す図である。
【図14】図12に示すテスト回路TC1、TC2を拡大して示す図である。
【図15】図13に示すテスト回路TC1、TC2を拡大して示す図である。
【図16】上記実施例において、1回複製を行った後(第2のテスト回路TC2が複製された後)におけるテスト時の組込部(BP)を示す図である。
【図17】上記実施例において、複数回、テストを行った後における可変部(PP)を示す図である。
【図18】上記実施例において、複数回、テストした後に、複製命令を発行した組込部(BP)を示す図である。
【図19】第1の従来例である再構成可能な回路のテスト方法を説明する図である。
【図20】再構成可能な回路を対象としてテストした場合おける第1の従来のテスト方法における動作を示すフローチャートである。
【図21】第2の従来例であるBISTの説明図である。
【図22】本発明の第2の実施例の説明図である。
【図23】第2の実施例において、シミュレータで、その複製とテストとを実行する様子を示す図である。
【図24】図23の拡大図である。
【図25】本発明の第3の実施例の説明図である。
【図26】第3の実施例において、テスト対象回路Tのみを縦方向に複製し、しかも、複製先の一部が複製元と重なるようにテスト回路を横方向に複製した場合におけるシミュレーションの状態を示す図である。
【図27】図26の拡大図である。
【図28】本発明の第4の実施例の説明図である。
【図29】第4の実施例において、互いに異なる種類のテスト対象回路を扱い、これらをまとめて1度でテストする場合におけるシミュレータ上の状態を示す図である。
【図30】図29の拡大図である。
【図31】本発明の第5の実施例の説明図である。
【図32】第5の実施例においてシミュレーション動作させている状態を示す図である。
【図33】図32の拡大図である。
【図34】第1の実施例の変形例を示す図である。
【図35】第1の実施例における別の変形例を示す図である。
【符号の説明】
RCC…再構成可能な回路、
TC…テスト回路、
TC1…1つ目のテスト回路、
TC2…2つ目のテスト回路、
TCn…n個目のテスト回路、
101、102〜10n…テスト実行制御部、
201、202〜20n…テスト対象回路、
PP…可変部、
BP…組込部、
M…メモリ、
F…フィルタ回路、
T、T1〜T5、Ta〜Te…テスト対象回路。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a test circuit including a test target circuit and a test execution control unit that applies a test pattern to the test target circuit.
[0002]
[Prior art]
FIG. 19 is a diagram for explaining a test method for a reconfigurable circuit, which is a first conventional example.
[0003]
A reconfigurable circuit (for example, a field programmable gate array (FPGA)) originally realizes the desired circuit in various ways by programming the circuit desired by the user. Therefore, since a reconfigurable circuit does not have a specific function, when testing a reconfigurable circuit, conventionally, the reconfigurable circuit is programmed and tested each time it is tested. .
[0004]
In FIG. 19, in the first test, the first test target circuit TC11 is programmed, this programmed test target circuit TC11 is tested, and in the second test, the test target circuit TC12 is programmed, The programmed test target circuit TC12 is tested, and in the third and subsequent tests, the test target circuit TC13, the test target circuit TC14,..., And the test target circuit TC1n are programmed and tested in the same manner as described above. .
[0005]
FIG. 20 is a flowchart showing the operation of the first conventional test method when testing a reconfigurable circuit.
[0006]
First, the first logic circuit is programmed (S101), the programmed logic circuit is regarded as the first test target circuit, input data is given, tested (S102), and the output value is observed.
[0007]
The output value is compared with a value expected when the programmed circuit (test target circuit) is normal to check whether or not they match (S103), and both values match each other. If not, it is determined that a fault exists in the reconfigurable circuit (S104). On the other hand, if both values match each other (S103), it is determined that no fault exists.
[0008]
If the two values match each other (S103), the second logic circuit is programmed in the reconfigurable circuit (S101) and is regarded as the second test target circuit, and this is tested ( S102), the above programming, testing, and comparison are repeatedly executed (S101, S102, S103, S105). When all the aspects of the reconfigurable circuit have been tested (S105), all tests in one reconfigurable circuit are completed.
[0009]
FIG. 21 is an explanatory diagram of a BIST as a second conventional example.
[0010]
The BIST is a test circuit called a self-built-in test circuit (Built-in selftest), and an example in which this BIST (self-built-in test circuit) is applied to a memory is described in Japanese Patent Application Laid-Open No. 2000-30483. BIST circuit for large scale memory ”.
[0011]
The BIST as the second conventional example is a simpler test method than the test method for the reconfigurable circuit as the first conventional example.
[0012]
In a conventional BIST, a test target circuit having a specific function and a test control unit are usually built in advance in an LSI. The test control unit includes a test pattern generator and a comparator. The test pattern generator is a circuit that generates a test pattern, which is test input data in the test target circuit, and the comparator outputs data output from the test target circuit and when the test target circuit is normal. This circuit compares the expected value.
[0013]
When a start trigger is received from outside the BIST during the test, the test control unit starts operating, and at the end of the test, a result output indicating whether the test is OK is output from the comparator to the outside of the LSI. Is done.
[0014]
[Problems to be solved by the invention]
In the first conventional example, in order to test the first test target circuit TC11, an input path IP11 for passing the test pattern from the input terminal to the position of the test target circuit TC11 is prepared, and the test target circuit TC11 outputs the output terminal The output path OP11 carrying the output result must be prepared. In this case, the programming of the input path IP11 and the output path OP11 is handled together with the programming of the test target circuit TC11.
[0015]
When the test target circuit TC12 is programmed, the input path IP12 and the output path OP12 are programmed together, and the test target circuit TC13, the test target circuit TC14,..., And the test target circuit TC1n are each programmed. Is the same as above.
[0016]
That is, when each test target circuit is programmed, the input path and output path associated therewith are programmed.
[0017]
However, the first test target circuit TC11, the second test target circuit TC12, the third test target circuit TC13,..., The nth test target circuit TC1n are the same functional circuit. Even if the programming is performed as described above, the positions of the input / output paths and the input / output terminals in the test target circuits are different from each other if the arrangement positions of the programmed test target circuits are different on the reconfigurable circuit.
[0018]
Therefore, in the first conventional example, it is necessary to individually set different input / output paths (need to be programmed) for each test target circuit (each time the test target circuit is programmed as a logic circuit), and There is a problem that different input / output terminals need to be individually set (programmed).
[0019]
By the way, in the BIST as the second conventional example, it is assumed that the test target circuit is a specific functional circuit. That is, it is necessary to know (at the time of design) what kind of signal the test pattern signal input to the test target circuit is and what value the expected value is. In addition, it is necessary to prepare the input test pattern signal and its expected value before manufacturing the LSI.
[0020]
Therefore, there is a problem that it is difficult to simply apply the conventional BIST to a circuit that programs a logic circuit such as a reconfigurable circuit.
[0021]
Further, in the conventional BIST, there is a problem that a test control unit is provided in advance in the LSI, and even after the test is completed, the test control unit remains as it is and cannot be used for purposes other than the test control unit. That is, there is a problem that overhead occurs.
[0022]
In the present invention, even if the entire circuit to be tested is large, it can be handled by the same method, the preparation for the test is simple, the method of the test itself is simple, and further, the test object is tested from the input terminal. Providing a test circuit that does not require a test pattern to be input to the circuit through the input path, and in addition, does not require an output path to carry test result data to the output terminal by a program or the like every time the test is performed It is intended.
[0023]
[Means for Solving the Problems]
The present invention is a test circuit including a test target circuit and a test execution control unit that applies a test pattern to the test target circuit. The test execution control unit is a test circuit having means for copying the test circuit.
[0024]
The present invention is a test circuit in which the duplicated test execution control unit (replication source test execution control unit) has means for starting up the duplicated test execution control unit.
[0025]
Furthermore, the present invention is a test circuit having means for providing an output path for outputting test result data from the test target circuit to a predetermined output terminal.
[0026]
BEST MODE FOR CARRYING OUT THE INVENTION
[First embodiment]
A test circuit TC1 according to an embodiment of the present invention is a circuit that tests a reconfigurable logic circuit. An example of the reconfigurable logic circuit is a PCA (Plastic Cell Architecture). Briefly described.
[0027]
PCA includes a variable part (PP: Plastic Part) for realizing an arbitrary function (object) and a built-in part (BP: Built-in Part) that performs communication between objects and the outside. It is configured.
[0028]
FIG. 1 is a diagram showing the structure of a PCA as an example of a reconfigurable logic circuit to be tested by a test circuit TC according to an embodiment of the present invention.
[0029]
As shown in FIG. 1, the PCA cell has a reconfigurable logic circuit structure, controls the communication path and the variable part (PP), and the PCA cell is arranged in a two-dimensional manner. It is.
[0030]
FIG. 2 is a diagram showing the relationship between objects and messages in PCA.
[0031]
As shown in FIG. 2, each built-in unit (BP) constitutes a mesh network and performs function setting of the variable unit (PP) and routing of messages between objects configured on the variable unit (PP). . Each variable part (PP) is also connected to the variable part (PP) of an adjacent cell, and an object of an arbitrary size can be formed across a plurality of cells.
[0032]
The variable part (PP) is configured by a 4-input 1-output LUT (Look-Up Table) coupling network. The LUT constitutes a basic cell in units of four. Each basic cell uses an output signal of 1 bit from each basic cell adjacent in all directions as an input signal.
[0033]
These 4-bit signals are input signals common to the four LUTs in the basic cell. The outputs of these LUTs become input signals of basic cells adjacent in all directions. As a result, a network of two-way adjacent coupling of basic cells can be constructed. In PCA, the variable part (PP) of each PCA cell is an array of 8 × 8 basic cells as shown in FIG. It is constituted by. That is, the variable part (PP) to be managed by one embedded part (BP) is 64 basic cells (= 256 LUTs), and this is the minimum unit of the object.
[0034]
Various logic circuits can be realized by writing data as a memory in the LUT on the variable section (PP).
[0035]
FIG. 3 is a diagram illustrating a logic circuit realized by writing data as a memory in the LUT on the variable unit (PP) in the above embodiment.
[0036]
Each basic cell not only realizes arbitrary combinational logic, but also realizes wiring elements that connect logic elements. In a predetermined basic cell, for example, in order to realize the connection from the W direction to the E direction, as shown in FIG. 3 (2), 16 memory cells of the ELUT among the four LUTs in the basic cell For the input from the W direction (W in ) Should be written so that it is transparent. In addition, an asynchronous register or a Muller-C element can be realized by configuring feedback with LUTs in two adjacent basic cells.
[0037]
The outline of PCA technology, detailed structure (hardware), and realized circuits are described in “Akira Nagoya, et al., Special Issue 2“ Plastic Cell Architecture ”NTTR & D Vol. 49 No. 9 pp 513-545 Sep. 10th. .. 2000. ”, many are described.
[0038]
FIG. 4 is a diagram for explaining the operation of copying the second test circuit TC2 after testing the first test circuit TC1 of the test circuits TC according to the embodiment of the present invention.
[0039]
The test circuit TC is a general term for the first test circuit TC1, the second test circuit TC2,..., The nth test circuit TCn, and is on a reconfigurable circuit RCC (for example, PCA). It is provided and applied to a test circuit for testing the structure of the variable part (PP).
[0040]
The test circuit TC1 includes a test execution control unit 101 and a test target circuit 201, the test circuit TC2 includes a test execution control unit 102 and a test target circuit 202,..., And the test circuit TCn includes test execution. It has a control unit 10n and a test target circuit 20n.
[0041]
The test execution control unit 101 is a circuit that applies a predetermined test pattern to the test target circuit 201, and is a circuit having means for copying the test circuit TC2, as shown in FIG. That is, the test execution control unit 101 is a circuit having means for copying the test execution control unit 102 and the test target circuit 202.
[0042]
The test execution control unit 102 is a circuit that gives a predetermined test pattern to the test target circuit 202, and is a circuit that has means for copying the test circuit TC3. That is, the test execution control unit 102 is a circuit having means for copying the test execution control unit 103 and the test target circuit 203.
[0043]
Further, in the same manner as described above, the test execution control unit 10 (n-1) is a circuit that applies a predetermined test pattern to the test target circuit 20 (n-1), and includes means for copying the test circuit TCn. It is a circuit having. That is, the test execution control unit 10 (n-1) is a circuit having means for replicating the test target circuit 20n and the test execution control unit 10n.
[0044]
That is, the test execution control units 101, 102,..., 10 (n−1) are examples of means for copying the test execution control unit and the test target circuit.
[0045]
The test execution control unit 101 has a function of starting the duplicated test circuit TC2, and a function of providing an output path for outputting test result data from the test target circuit 202 to a predetermined output terminal. Have.
[0046]
The test execution control unit 102 has a function of starting the duplicated test circuit TC3, and a function of providing an output path for outputting test result data from the test target circuit 203 to a predetermined output terminal. Have.
[0047]
Thereafter, in the same manner as described above, the test execution control unit 10 (n-1) has a function of starting the duplicated test circuit TCn, and outputs an output path for outputting test result data. It has a function of providing a predetermined output terminal from the test target circuit 20n.
[0048]
That is, the test execution control units 101, 102,..., 10 (n-1) are the means by which the replicated test execution control unit (replication source test execution control unit) activates the replicated test execution control unit. It is an example.
[0049]
Further, the test execution control units 101, 102,..., 10 (n−1) are examples of means for providing an output path for outputting test result data from each test target circuit to a predetermined output terminal.
[0050]
Next, the operation of the above embodiment will be described.
[0051]
FIG. 5 is a flowchart showing the test operation in the above embodiment.
[0052]
First, among the test circuits TC, the first test circuit TC1 prepared first is programmed as a logic circuit (S1). In this programming, an input path and an output path are formed, and an output terminal of the reconfigurable circuit RCC is formed.
[0053]
When the first test circuit TC1 is activated, a trigger signal is input only once from the outside of the reconfigurable circuit RCC (S1), and the first test circuit TC1 is input by the input trigger signal. Is activated.
[0054]
Then, the test execution control unit 101 gives a test pattern to the test target circuit 201, and the test is executed (S2). The result of this test is carried to the output terminal of the reconfigurable circuit RCC via the output terminal and output path of the test target circuit 201 (S3). Then, the result of this test is compared with an expected value outside the reconfigurable circuit RCC to determine whether the test target circuit 201 is good or bad.
[0055]
Here, a part of the beginning of the expected value also serves as a part of an instruction command to the built-in unit (BP), and an output path for output data is formed by the instruction command to the built-in unit (BP). Is done. For example, if “8”, “9”, “a”, “b” are included in a part of the beginning of the above expected value, the built-in unit (BP) It is interpreted as a command for setting a path in “west”, “north”, “east”, and “south”. Table 1 on page 522 (42) of "NTT R & D Vol. 49 No. 9 2000" shows an example of the instruction set of the message between PCA built-in parts (BP). Other than the setting of is also described.
[0056]
Therefore, in the above embodiment, when forming an output path from the test circuit TC2 to the output terminal, it is not necessary to send an instruction for forming an output path from the outside of the reconfigurable circuit RCC each time.
[0057]
After the output path is realized, the test result of the test target circuit 201 for the test pattern is output to the output terminal.
[0058]
As described above, when the test for the first test circuit TC1 is completed (S4), the test execution control unit 101 copies the second test circuit TC2 next to the first test circuit TC1. (S5).
[0059]
When duplicating a test circuit after the second test circuit TC2, the same test circuit as the test circuit TC1 is duplicated and the same test is repeated until the test circuit is out of the range on the reconfigurable logic circuit RCC.
[0060]
Then, the test execution control unit 101 of the first test circuit TC1 applies an activation trigger to the test execution control unit 102 of the duplicated second test circuit TC2.
[0061]
As described above, in the above embodiment, it is not necessary to provide the test circuit TC2 with an input path for supplying a trigger from the external terminal of the reconfigurable circuit RCC.
[0062]
In the first conventional example (reconfigurable circuit test), it is necessary to provide an input path for inputting a test pattern from an external terminal to a circuit to be tested. Since a test pattern is given to the test target circuit from the test execution control unit, it is not necessary to input the test pattern from an external terminal, and therefore it is not necessary to provide an input path for inputting the test pattern.
[0063]
In the second conventional example (BIST), it is necessary to input a start trigger from an external terminal. However, in the first embodiment, the first test circuit TC1 inputs a trigger for start from the outside. Although it is necessary, the duplicated test circuits (second and subsequent test circuits) TC2, TC3,..., TCn receive an activation trigger from the test execution control unit of the duplicating test circuit, so that external terminals There is no need to input a start trigger.
[0064]
When the test execution control unit 102 receives the activation trigger, the test execution control unit 102 gives a test pattern to the test target circuit 202, and the test is executed via the logic circuit formed in the test target circuit 202 ( S2) The result of this test is output from the output terminal of the reconfigurable circuit RCC via the output path (S3).
[0065]
Thereafter, the test execution control unit 102 duplicates the third test circuit TC3 next to the second test circuit TC2 (S5), and the test execution control unit 102 of the second test circuit TC2 performs the test execution control unit. 103 is activated to test the test target circuit 203 (S2), and the result of this test is output from the output terminal of the reconfigurable circuit RCC via the output path (S3).
[0066]
Then, the above operation is repeated, and next to the (n-1) th test circuit TC (n-1), the test execution control unit 10 (n-1) duplicates the nth test circuit TCn (S5), The test execution control unit 10 (n-1) of the (n-1) th test circuit TC (n-1) applies a start trigger to the test execution control unit 10n to test the test target circuit 20n (S2). The result of the test is output from the output terminal of the reconfigurable circuit RCC via the output path (S3).
[0067]
In the above embodiment, as described above, it is necessary to provide an input path for trigger supply between the external terminal of the reconfigurable circuit RCC and each of the test circuits TC3, TC4,. Absent.
[0068]
When the test result is output from the output terminal of the reconfigurable circuit RCC via the output path (S3), the output test result is output outside the reconfigurable circuit RCC. , 20n is compared with the expected value to determine whether the test target circuits 201, 202,.
[0069]
FIG. 6 is a diagram showing a state in which the test circuit TC2 is duplicated next to the test circuit TC1 in the range on the reconfigurable logic circuit RCC (for example, on the PCA system) in the above embodiment.
[0070]
In FIG. 6, a logic circuit program corresponding to the first test circuit TC1 is input from the input terminal on the left side, and a start trigger for starting the test execution control unit 101 of the first test circuit TC1 is input. . As a result, the test result is output from the test target circuit 201 to the output terminal on the right side via the output path OP1.
[0071]
The test circuit TC2 is duplicated to the right of the test target circuit 201. The test target circuit 202 duplicated in the same manner outputs the result to the right side terminal through the output path OP2 of the same path as the output path OP1. In this case, the copy-source test execution control unit 101 sends a trigger to the copied test circuit TC2 to activate the test circuit TC2.
[0072]
Thereafter, similarly to the above, the duplication of the test circuit TC, the supply of the trigger, and the test execution are repeated until the right side of the reconfigurable circuit RCC (PCA system) is reached.
[0073]
In the above embodiment, the activation trigger is applied only to the first test circuit TC1, and the activation trigger is supplied from the previous test circuit for the second test circuit TC2 and thereafter. Therefore, it is not necessary to supply a start trigger from the reconfigurable circuit RCC to the second test circuit TC2 and thereafter.
[0074]
According to the above embodiment, the entire range of the reconfigurable logic circuit RCC (the entire PCA system) can be tested by repeatedly performing the test using the relatively small test circuit TC.
[0075]
It is much easier to prepare a small test circuit TC than to prepare a test circuit that tests the entire range of a very large reconfigurable logic circuit RCC (the entire PCA system) at once. That is, test circuit design, verification, test execution, etc. are much easier.
[0076]
By the way, in the first conventional method for testing a reconfigurable logic circuit, the test pattern is tested when the same test circuit is moved and tested within the range of the PCA system (reconfigurable logic circuit). The input path given to the target circuit and the output path for outputting the test result must be changed.
[0077]
However, in the above embodiment, the test execution control unit 102 that gives the test pattern to the test target circuit 202 is duplicated as the test circuit TC2 is duplicated, so that it is not necessary to provide a separate input path. In the above embodiment, an output path is automatically created for each test by devising a test pattern so as to give the meaning of an instruction for generating an output path according to the expected value.
[0078]
Next, a specific operation of the above embodiment will be described by taking a device simulation based on PCA as an example.
[0079]
First, for an overview of simulation based on PCA and explanation of drawings, refer to the document “Konishi et al.,“ Software that Supports PCA Realization ”, 16th Parthenon Study Group Collection, Vol 16, p4-12, Ome Sato Foundation. "Partenon Study Group, May 19, 2000".
[0080]
FIG. 7 is a diagram showing an initial circuit after programming the logic circuit (test circuit TC1) in the above embodiment.
[0081]
FIG. 8 is a diagram simply showing the same state as that shown in FIG.
[0082]
In the upper left corner of FIG. 7, the test circuit TC1 is programmed. The test execution control unit 101 and the test target circuit 201 constitute a test circuit TC1. In FIG. 7, one register and one gate are provided for each fine circuit wiring. However, the following description will be made using a state diagram during the simulation operation as an abstract simplified display as in the variable part (PP) after activation shown in FIG.
[0083]
FIG. 9 is a diagram showing a built-in part (BP) at the time of testing in the above embodiment.
[0084]
8 shows a state in which the output path extends from the first test circuit TC1, which is the same as the variable section (PP) after activation shown in FIG. 8, to the external terminal and sends data.
[0085]
It can also be seen that the test pattern stored in the test execution control unit 101 is given to the test target circuit 201. That is, in FIG. 9, the data of the thick horizontal bar drawn in the test execution control unit of the test circuit is read.
[0086]
FIG. 10 is a diagram showing a replication command output to the first test circuit TC1 in the above embodiment.
[0087]
When the test of the test circuit TC1 is completed, an instruction sequence for duplicating the test circuit TC1 and an instruction sequence for starting the duplicated circuit are issued from the test execution control unit 101, as in the duplicate instruction shown in FIG. The Alphanumeric characters drawn on the path from the test execution control unit 101 back to the test circuit TC1 are the instruction sequence.
[0088]
In FIG. 10, alphanumeric characters are values in hexadecimal notation of data transferred on the built-in part (BP) layer at the time of a test, and mean an instruction delimiter. A white circle represents a signal transition from high to low, and means a break between instructions.
[0089]
Then, all the instruction sequences are issued from the test execution control unit 101, and the test mechanism (the entire test circuit TC1) is duplicated to the right according to the instruction sequences.
[0090]
FIG. 11 is a diagram showing a built-in part (BP) that is being duplicated in the above embodiment, and is a diagram showing a way in which a part near the end of the test target circuit in the test circuit adjacent to the test circuit TC1 is being duplicated. It is.
[0091]
FIG. 11 shows a state in which the information of the test circuit TC1 is sucked out and discharged to an area to be duplicated. That is, in FIG. 11, the thick horizontal bar drawn in the test target circuit 201 of the test circuit TC1 reads the test target circuit 201, and the thick horizontal bar drawn on the right side of the test circuit TC1 This shows that the test target circuit 201 is written on the right side of the test circuit TC1 in the middle of copying.
[0092]
FIG. 12 is a diagram showing the variable part (PP) during duplication at the same timing as the mid-duplication timing shown in FIG. 11 in the above embodiment.
[0093]
In FIG. 12, the portion near the end of the test target circuit 202 is not yet duplicated, indicating that it is in the middle of duplication.
[0094]
Thereafter, when the replication is completed, the copied circuit is activated in the second half of the instruction sequence issued by the replication instruction shown in FIG.
[0095]
FIG. 13 is a diagram showing the variable unit (PP) in operation after the test circuit TC is replicated once in the above embodiment.
[0096]
In the state shown in FIG. 13, all of the portions that were in the middle of duplication in the variable section (PP) shown in FIG. 12 are duplicated, and the wiring in the circuit shown in FIG. 13 changes compared to the wiring shown in FIG. The test circuit is activated by the start command.
[0097]
FIG. 14 is an enlarged view of the test circuits TC1 and TC2 shown in FIG.
[0098]
FIG. 15 is an enlarged view of the test circuits TC1 and TC2 shown in FIG.
[0099]
In FIGS. 14 and 15, the operating wiring is indicated by a broken line, and the non-operating wiring is indicated by a solid line.
[0100]
The state shown in FIG. 14 is a state in the middle of duplicating the test circuit TC2, and most of the wiring of the test circuit TC2 is not operating (mostly shown by a solid line), but the state shown in FIG. The copy of the test circuit TC2 is completed and the variable part (PP) is in operation. The upper left part and the lower right part of the test circuit TC2 are almost operated (mostly indicated by broken lines). Part of the part is working (partially indicated by a broken line).
[0101]
The operation of this test circuit is the same as the test operation in the first test circuit TC1 shown in FIG. 7, FIG. 8, and FIG.
[0102]
FIG. 16 is a diagram illustrating a built-in unit (BP) at the time of a test after the first replication (after the second test circuit TC2 is replicated) in the above embodiment.
[0103]
The test operation in the second test circuit TC2 shown in FIG. 16 is the same as the test operation in the first test circuit TC1 shown in FIG. That is, the test execution control unit 102 in the second test circuit TC2 shown in FIG. 16 gives a test pattern to the test target circuit 202, and the output path from the test target circuit 202 to the same output terminal as in FIG. And the data is sent out.
[0104]
FIG. 17 is a diagram illustrating the variable portion (PP) after the test is performed a plurality of times in the above embodiment.
[0105]
When the above operation is repeated, a variable part (PP) after a plurality of tests shown in FIG. 17 is obtained. The test circuit TCk that is operating after duplication exists on the rightmost side (the side close to the output terminal), and on the left side is a test circuit TC (k−1) that was duplicated immediately before, and A previously duplicated test circuit TC (k-2) continues to its left.
[0106]
FIG. 18 is a diagram showing a built-in unit (BP) that has issued a duplication instruction after testing a plurality of times in the above embodiment.
[0107]
Of course, when looking at the state of operation, in the built-in unit (BP) that issued the duplication instruction after testing a plurality of times as shown in FIG. 18, the test circuit TCk duplicates the circuit further to the right on the rightmost side. As a result, it can be confirmed that the instruction sequence is issued in the same manner as the duplicate instruction shown in FIG.
[0108]
In the same way as the variable part (PP) shown in FIG. 17, in FIG. 18, the built-in part (BP) is provided on the left side of the circuit TC (k−1) duplicated one time before, and further duplicated before. The circuit TC (k-2) thus made continues to the left adjacent to it.
[0109]
As described above, a new test target circuit is tested each time the circuit duplicates one test circuit TC partially from left to right while referring to the display of the device simulation.
[0110]
In the above embodiment, when the test circuit TC1 is divided into four equal parts, the test target circuit 201 is one part of the four divisions, that is, a part having an area of 1/4 of the test circuit TC1. . Therefore, focusing on the test circuit TC1, only the upper right part of the test circuit TC1 is tested as the test target circuit 201, that is, only 1/4 of the test circuit TC1 is tested. If the above test is not performed on the remaining 3/4 portion of the test circuit TC1, all the test circuits TC1 are not tested.
[0111]
In order to test the remaining 3/4 portion of the test circuit TC1, the test target circuit 201 is newly set in the upper left portion of the test circuit TC1, and the test is performed. In addition, the test target circuit 201 is set in the lower left portion of the test circuit TC1. 201 may be set again, a test may be performed, and the test target circuit 201 may be set again in the lower right part of the test circuit TC1 to perform the test. That is, if the test circuit TC1 shown in FIG. 10 is rotated by 90 degrees around the center point of the test circuit TC1 and the test is executed each time, all the test circuits TC1 are tested. .
[0112]
In FIG. 10, the instruction sequence can be issued in the vertical direction, and the test target circuit can be arranged at an arbitrary position in the test circuit TC1, such as the bottom or the middle. As described above, the test can be performed in a state rotated by 90 degrees.
[0113]
Also, test circuits other than the test circuit TC1, such as the test circuits TC2, TC3,..., TCn, etc., when tested in a state rotated by 90 degrees as described above, all parts of the reconfigurable circuit RCC are You can test without omission.
[0114]
According to the above-described embodiment, since the homogeneous structure is duplicated and tested by duplicating the test circuit itself, even if the whole part to be tested is large, it can be handled by the same method. In other words, it has excellent extensibility in testing.
[0115]
Further, according to the above-described embodiment, the test target circuit in one test can be suppressed to a small circuit scale, so that the preparation for the test is simple and the way of the test itself is simple. That means testing is simple.
[0116]
Furthermore, according to the above-described embodiment, it is not necessary to input a test pattern through the input path from the input terminal to the test target circuit, and in addition, the output path for carrying the test result data to the output terminal is programmed every time the test is performed. There is no need to reset the settings. That is, the test path is simplified.
[0117]
In the above embodiment, the test pattern is stored in the test execution control unit 101 of the first test circuit TC1, and the test execution control unit 101 is sequentially replicated. Thus, the test pattern is also duplicated. Therefore, when testing the first test circuit TC1 to the last test circuit TCn, there is no need to input the test pattern from outside the reconfigurable circuit RCC. For this reason, the time for testing all the reconfigurable circuits RCC is very short, that is, the reconfigurable circuit RCC can be tested at high speed. Note that the test is executed at a high speed at the same speed as the operation speed when the reconfigurable circuit RCC is used.
[0118]
Also, only the first test circuit TC1 is supplied with a trigger from the outside of the reconfigurable circuit RCC via a dedicated input path for trigger supply. The trigger may be supplied sequentially from the circuit TC1.
[0119]
Furthermore, in the conventional example by BIST, a test control unit is provided in advance in the LSI, and even after the test is completed, the test control unit remains as it is and cannot be used for purposes other than the test control unit (an overhead occurs). In the above embodiment, when the test is completed, the test execution control unit can be used for purposes other than the test execution control unit.
[0120]
In the above-described embodiment, a test pattern is supplied from the test execution control unit 101 to the test target circuit 201, and this test pattern can be reconfigured via a logic circuit in the test target circuit 201 and via an output path. It is sent to the output terminal of the circuit RCC and compared with a predetermined expected value outside the reconfigurable circuit RCC, and the quality of the test circuit TC1 is determined according to the comparison result. That is, the test execution control unit 101 does not execute the comparison operation. Instead, the test execution control unit 101 may execute the comparison operation.
[0121]
That is, a test pattern is supplied from the test execution control unit 101 to the test target circuit 201, and the test pattern returns to the test execution control unit 101 via the logic circuit in the test target circuit 201. The test execution control unit 101 compares the returned test pattern with a predetermined expected value, determines the quality of the test circuit TC1 according to the comparison result, and re-determines the determination result via the output path. It may be sent to the output terminal of the configurable circuit RCC. In this case, it is necessary to provide the test execution control unit 101 with a comparison circuit that performs the comparison, and it is necessary to provide a function for holding the expected value.
[0122]
In the above case, the test execution control units 102, 103,..., 10n are also provided with a function of holding the comparison circuit and the expected value as in the case of the test execution control unit 101. As the test circuits TC2, TC3,..., TCn are replicated, the comparison circuit and the function for holding the expected value are also replicated.
[0123]
[Second Embodiment]
By the way, in the first embodiment, the test circuit is constituted by the test execution control unit and the test target circuit, and the duplication source test circuit and the duplication destination test circuit are duplicated without overlapping each other. Therefore, in one test circuit, a region duplicated as a test execution control unit does not operate as a test target circuit, and a portion that does not operate as the test target circuit remains as an untested region.
[0124]
That is, for example, a test execution control unit exists in the left block, a test circuit in which the test target circuit exists is used in the right block of the test execution control unit, and the test circuit is arranged in the horizontal direction (right direction). When duplicating, since the test execution control unit occupies an odd-numbered block counting from the left end, this area remains as an untested area.
[0125]
On the other hand, even in the even columns where the circuit to be tested is duplicated, areas that are not tested are left in the vertical direction, and it is necessary to prepare another test circuit in order to test these untested areas (test circuit There is a problem that it is necessary to read from the outside again and repeat the test and replication based on the read test circuit.
[0126]
Here, when reading again from the outside of the test circuit, the write position of the test circuit is changed (for example, on the third and fourth lines), or the external read position is changed, and as a result, the position of the test circuit is changed. Read again from outside the test circuit.
[0127]
In addition, when a test is performed using a plurality of different test target circuits, it is necessary to prepare a test target circuit for each test target circuit among the plurality of test target circuits and perform the test individually. However, it is complicated to prepare the test circuits individually, and there is a problem that the entire test time becomes long. In other words, after the first test target circuit is tested and duplicated, the second test target circuit is read from outside, tested and duplicated, and these operations are performed on the test target circuit to be tested. There is a problem that this operation is complicated, and the entire test time becomes long.
[0128]
Furthermore, if the test target circuit is composed of multiple blocks (for example, 2 × 2 blocks), even if the test circuit is copied so that part of the test circuit's copy destination overlaps the copy source, the test target circuit is tested before There is a problem that an area that cannot be tested may not remain unless there is an overlap with the test target circuit, and there is a problem that it is necessary to prepare another test circuit in order to test the area that is not tested.
[0129]
Second Embodiment The following embodiments are intended to provide a test circuit capable of testing almost all areas in a single test and making the test more efficient (rationalized). .
[0130]
The difference between the first embodiment and the second to fifth embodiments to be described in principle is the method of duplication. The first embodiment is an embodiment in which the entire test circuit is integrated and duplication is performed collectively. On the other hand, the second to fifth embodiments are embodiments that basically perform duplication of the test execution control unit and duplication of the test target circuit individually.
[0131]
In the second embodiment of the present invention, when a test circuit is duplicated, a part of the duplication destination of the test circuit is duplicated so as to overlap the duplication source of the test circuit.
[0132]
FIG. 22 is an explanatory diagram of the second embodiment of the present invention.
[0133]
FIGS. 22 (1) to 22 (3) are explanatory diagrams of the first embodiment and are diagrams for explaining the second embodiment.
[0134]
FIG. 22A is a diagram illustrating a test circuit configured by 2 × 2 blocks, and is a diagram illustrating a test circuit as a copy source. The test circuit includes a test execution control unit having a memory M and a filter circuit F, and a test target circuit T. In this example, two test target circuits T are provided in one test circuit.
[0135]
FIG. 22 (2) is a diagram showing a state in which the test circuit is duplicated to the right of the two test target circuits T in the test circuit after the test in the first embodiment.
[0136]
FIG. 22 (3) shows a state in which the test circuit is duplicated for the second time on the right side after the test target circuit T in the test circuit duplicated for the first time is tested in the first embodiment. FIG.
[0137]
Here, the test target circuit T is not duplicated in the area where the memory M and the filter circuit F are duplicated (the area where the test execution control unit is duplicated).
[0138]
Therefore, in order to test these regions (regions where the test execution control unit is duplicated), in another test circuit (for example, in the test circuit shown in FIG. 22 (1), the test execution control unit and the test target circuit The test must be carried out using a test circuit whose position is reversed from side to side. In other words, in the first embodiment, the test circuits are continuously replicated without overlapping, so that every other row remains in an untested area, so another test circuit is read from the outside and used. Therefore, it is necessary to execute a test including reading from the outside twice.
[0139]
22 (4) to 22 (6) are diagrams for explaining the features of the second embodiment.
[0140]
FIG. 22 (4) is the same test circuit as the test circuit shown in FIG. 22 (1), and shows a state before the test circuit is duplicated.
[0141]
FIG. 22 (5) is a diagram illustrating a state after the first copy is executed after the first test is executed in the second embodiment. In this duplication, half of the test circuit duplication destination is duplicated so as to overlap the test circuit duplication source. That is, half of the duplication destination of the overlapping test circuit is a test execution control unit in the duplication destination of the test circuit.
FIG. 22 (6) is a diagram illustrating a state after the test circuit replicated for the first time is tested and the second replication is executed in the second embodiment. Also in this case, half of the test circuit duplication destination is duplicated so as to overlap the test circuit duplication source.
[0142]
Therefore, the test execution control unit at the duplication destination is duplicated in the area where the test target circuit T exists in the duplication source, and only the test target circuit T is always duplicated in a new area (an area that has not yet been duplicated).
[0143]
It should be noted that a part of the test circuit duplication destination may be duplicated so as to overlap with the test circuit duplication source, including a case where half of the test circuit duplication destination overlaps with the test circuit duplication source.
[0144]
In other words, the second embodiment is a test circuit including a test target circuit and a test execution control unit that applies a test pattern to the test target circuit. The test execution control unit includes the test target circuit and the test execution unit. This is a test circuit that has a means for copying the control unit and for copying so that a part of the copy destination of the test circuit overlaps the copy source of the test circuit.
[0145]
As described above, it is possible to test almost all of the duplicated areas by duplicating the duplication destination test circuit with an overlap with the duplication source test circuit.
[0146]
FIG. 23 is a diagram showing how the duplication and testing are executed by the simulator in the second embodiment.
[0147]
FIG. 24 is an enlarged view of FIG.
[0148]
The upper and lower same circuits shown at the right end in FIG. 23 are the test target circuit T, and in the upper circuit, all the wiring in the circuit is drawn with a solid line, and this circuit is not operating (is in a stopped state). The lower circuit shows that most of the wiring is drawn with light colored lines (dashed lines in the enlarged view of FIG. 24), confirming that the signal is propagating and the test is being performed. it can.
[0149]
The left side of the test target circuit T is a test execution control unit, the upper side of the test execution control unit is the memory M, and the lower side of the test execution control unit is the filter circuit F. Three test execution control units (memory M and filter circuit F) are arranged side by side, and it can be seen that the test circuit is duplicated three times. Among these three test execution control units, only the filter circuit F on the right side (the left side of the test target circuit performing the test operation) has a light color in part of the wiring (the broken line in the enlarged view of FIG. 24). ). This indicates that the test operation of the test target circuit T on the right side is controlled.
[0150]
[Third embodiment]
The third embodiment of the present invention is an embodiment in which only the circuit to be tested is replicated.
[0151]
FIG. 25 is an explanatory diagram of the third embodiment of the present invention.
[0152]
FIGS. 25 (1), (2), and (3) are the same as FIGS. 22 (1), (2), and (3). In this case, the ratio of the area to be tested out of the areas where the test circuit is duplicated, that is, the coverage ratio R, is duplicated together with the test execution control unit and the test target circuit T for each test circuit. So
R = test target circuit / (test execution control unit + test target circuit)
It is.
[0153]
Here, in the first embodiment, since the test circuit is replicated only in the horizontal direction, the area that cannot be tested includes not only the test execution control unit (the location of the memory M and the filter circuit F) but also the test circuit in the horizontal direction. Are all vertical regions except for two rows to be copied. For the area excluding these two lines, it is necessary to repeat the operation of reading the test circuit from the outside, testing it, and copying it.
[0154]
Here, when the test circuit is read again from the outside, the write position of the test circuit is changed to the third and fourth lines, or the external read position is changed, and as a result, the position of the test circuit is similarly changed.
[0155]
FIG. 25 (4) is a diagram showing an embodiment in which a test circuit in which the test execution control unit and the test target circuit T are combined is duplicated, and only the test target circuit T is duplicated in the vertical direction.
[0156]
FIG. 25 (4) shows that the test execution control unit (the memory M and the filter circuit F) at the left end tests the two test target circuits T existing at the uppermost part on the right side, and then the two test target units. Only the circuit T is duplicated one down, the duplicated test target circuit T is tested, and a duplicate of the test target circuit T is performed below the duplicated test target circuit T. The test of the test target circuit T is repeated as many times as necessary.
[0157]
In the embodiment shown in FIG. 25 (4), two test target circuits T are duplicated twice, and a total of six test target circuits T are tested in the vertical direction. As described above, after executing the duplication of only the test target circuit T and the test of the duplicated test target circuit T, the first test circuit (the test execution control unit and the test target circuit T combined) is obtained. Duplicate to the right. Then, the test is performed again, and only the test target circuit T is copied to the lower side and the test of the copied test target circuit T is repeated several times. In this figure, the test circuit is duplicated twice, and the test circuit T of the test circuit duplicated for the second time is displayed up to the stage where the first duplication is completed.
[0158]
As described above, in addition to the horizontal duplication of the test circuit according to the second embodiment, the duplication in the vertical direction of only the test target circuit T according to the third embodiment is performed, thereby covering the test circuit. The rate R is
R = k × test target circuit / (test execution control unit + k × test target circuit)
It can be improved.
[0159]
Note that k indicates the number of test target circuits that have been tested. In other words, under the condition that each copy does not overlap, one test execution control unit is copied between immediately after the test execution control unit is copied and immediately before the next test execution control unit is copied. The number of test target circuits can be k.
[0160]
In the case of the example shown in FIG. 25 (4), after duplicating the test execution control unit, the two test target circuits are duplicated twice in the vertical direction, and immediately before the test execution control unit is duplicated, the two test target circuits are duplicated. Add one copy in the horizontal direction. Therefore, k = 2 × 2 × (number of test target circuits by vertical duplication) + 1 × 2 × (number of test target circuits by horizontal duplication) = 6.
[0161]
FIG. 26 shows a simulation state when only the test target circuit T is duplicated in the vertical direction and the test circuit is duplicated in the horizontal direction so that a part of the duplication destination overlaps the duplication source in the third embodiment. FIG.
[0162]
FIG. 27 is an enlarged view of FIG.
[0163]
In FIG. 26, the left end is a test execution control unit having a memory M and a filter circuit F, and two identical test execution control units are duplicated on the right side, and the test execution control unit is duplicated twice. It shows that it is in a state. Among these, in particular, only the filter circuit F of the test execution control unit existing third from the left part of the wiring changes to a light color (broken line in the enlarged view of FIG. 27), and the test execution control unit Shows the operating state.
[0164]
In FIG. 26, four test target circuits are arranged vertically at the right end. Among these, the test target circuits T arranged below are duplicated only for the test target circuit T. In particular, in the test target circuit (bottom test target circuit) T copied to the fourth block from the top, part of the wiring changes to a light color (broken line in the enlarged view of FIG. 27), and the above operation is performed. The test execution control unit in FIG.
[0165]
In addition, the test target circuit T duplicated in the second to third blocks from the left to the third to sixth blocks from the left duplicates only the first test target circuit T several times, and the test circuit (test execution) This is a test target circuit in which only the test target circuit T is replicated several times after the control unit and the test target circuit T are replicated once.
[0166]
Here, in the result in the middle of the test in FIG. 26 (FIG. 27), the total number k of the test target circuits subjected to the test is the number of test target circuits located in the second and third columns from the left, The vertical direction is 6 × 2 in the horizontal direction, the number of circuits to be tested in the fourth column, and 4 in the vertical direction, and k = 16. In addition, since all the duplicated portions of the test execution control unit are regions where the test target circuit has already been located, only the region where the first one test execution control unit exists is not tested. .
[0167]
Therefore, the coverage ratio at this time is R = 16 × test target circuit / (test execution control unit + 16 × test target circuit).
[0168]
As described above, the test target circuit T is duplicated not only in the horizontal direction but also in the vertical direction by the single test target circuit T, so that the test can be performed more efficiently.
[0169]
That is, in the third embodiment, the test target circuit is a plurality of different test target circuits, and one test execution control unit repeats duplication and testing for the plurality of different test target circuits. This is an example of execution.
[0170]
[Fourth embodiment]
The fourth embodiment of the present invention is an embodiment in which a plurality of different test target circuits are handled (duplicated and tested) almost simultaneously.
[0171]
FIG. 28 is an explanatory diagram of the fourth embodiment of the present invention.
[0172]
FIG. 28 (1) is the same diagram as the third embodiment shown in FIG. 25 (4). In the third embodiment shown in FIG. 28 (1), the test circuit is duplicated in the horizontal direction while overlapping the test circuits, and the duplication of performing only the test target circuit T in the vertical direction is executed k times, thereby improving the test efficiency. Can be achieved. However, in order to test with a plurality of different test target circuits, it is necessary to prepare a plurality of different test target circuits, individually copy and test them, and it is complicated to repeat the individual duplication and test. .
[0173]
In other words, after the first test target circuit is tested and duplicated, the second test target circuit is read from outside, tested and duplicated, and these operations are performed on the test target circuit to be tested. There is a problem that this operation is complicated, and the entire test time becomes long.
[0174]
In the fourth embodiment shown in FIGS. 28 (2) to 28 (4), different test target circuits T1 to T5 are placed in the right adjacent column of the test execution control unit (memory M and filter circuit F). T1, T2, T3, T4, and T5 are arranged in the vertical order from the top. In this case, an area where the test target circuit is not duplicated, that is, an area displayed as “empty” is provided. Then, the test target circuits T1 to T5 are tested, the “empty” region is used, the test target circuits T1 to T5 are moved one by one, copied, tested, and this is repeated. .
[0175]
That is, in the fourth embodiment, the test target circuits T1, T2, T3, T4, and T5 are arranged in the vertical order from the top in the column adjacent to the right of the test execution control unit (the memory M and the filter circuit F). After that, each of the test target circuits T1 to T5 is tested, and the test target circuits are duplicated so as to move down by one. That is, the test target circuit T5 is duplicated in the “empty” area, the test target circuit T4 is duplicated in the area where the copy source test target circuit T5 exists, and the copy source test target circuit T4 exists. The test target circuit T3 is duplicated in the area, the test target circuit T2 is duplicated in the area where the copy source test target circuit T3 exists, and the test is performed in the area where the copy source test target circuit T2 exists. The target circuit T1 is duplicated. In this state, the test target circuits T1 to T5 are tested. By this test, a test by two test target circuits is executed in one area.
[0176]
Here, the test source circuit T1 as the copy source has the same meaning as the “empty” area. That is, even if another test target circuit is copied to the test source circuit T1 that is the copy source, there is another test target circuit T1 that is the copy destination, so that there is no problem in duplicating the test target circuit T1 separately. , Which has the same meaning as the “empty” area. The test target circuit T5 is duplicated in the area having the same meaning as the “empty” area, the test target circuit T4 is duplicated in the area where the copy source test target circuit T5 exists, and the copy source test target circuit is copied. The test target circuit T3 is duplicated in the area where T4 exists, the test target circuit T2 is duplicated in the area where the copy source test target circuit T3 exists, and the copy source test target circuit T2 exists. The test target circuit T1 is duplicated in the area where In this state, the test target circuits T1 to T5 are tested. By this test, a test by three test target circuits is executed in one area.
[0177]
As described above, the test target circuit T5 is copied to an area having the same meaning as the “empty” area, and the test target circuits T4 to T1 are sequentially moved and tested. A test using five test target circuits is executed.
[0178]
In this manner, when the test by the five test target circuits is completed in one area, as shown in FIG. 28 (3), the test target circuits are T2, T3, T4, T5, “empty” from the top. , T1 in order. Here, the test target circuit T1 located at the bottom is duplicated in the uppermost block on the right of one column, and as shown in FIG. 28 (4), the test target circuits T2, T3, T4, and T5 are arranged in this order. Then, duplication is performed continuously under the circuit to be tested T1 as a duplication destination.
[0179]
Then, the test execution control unit (the memory M and the filter circuit F) is duplicated in the right adjacent column, and the duplicated test target circuits T1 to T5 are tested.
[0180]
As described above, a plurality of different test target circuits are arranged in the vertical direction, tested, duplicated to be moved in the vertical direction by duplication, tested, and this is repeated to test different test target circuits in the column. When all the above are completed, the test execution control unit and the test target circuit are duplicated in the horizontal direction. Such an operation makes it possible to test several different types of test target circuits at once.
[0181]
In other words, when testing a plurality of different test target circuits, it is sufficient to read the test circuit including the test target circuit only once from the outside, and the test work is extremely efficient.
[0182]
FIG. 29 is a diagram showing a state on the simulator when handling different types of test target circuits and testing them all at once in the fourth embodiment.
[0183]
The two blocks on the upper left are the memory M, and the lowermost block (the third block from the top) is the filter circuit F. Together, they constitute one test execution control unit. ing.
[0184]
FIG. 30 is an enlarged view of FIG.
[0185]
In FIG. 29, the five blocks at the right end are test circuit T1, T2, T3, T4, and T5 which are all different from each other. Among these five test target circuits T1 to T5, the partial wiring of the test target circuit T5 of the lowermost block (the fifth block from the top) is shown in a light color (broken line in the enlarged view of FIG. 30), The test operation is shown.
[0186]
Further, in FIG. 29, the third filter circuit F from the top in the second row from the right is indicated by a light color (dashed line in the enlarged view of FIG. 30), and the test circuit T5 at the bottom right is tested. This indicates that a control operation is being executed.
[0187]
In FIG. 29, the test execution control unit including the memory M, which is the upper two blocks in the second column and the third column from the right, and the third filter circuit F from the top is the first copy and 2 It was copied by the second copy. Further, the lower three test target circuits in the second and third columns from the right are portions in which duplication is not overwritten after testing by moving different test target circuits one by one by duplication.
[0188]
The fourth embodiment is an embodiment in which different types of test target circuits are handled. However, in the same fourth embodiment, regarding the duplication of only the test target circuit shown in FIG. 28 (2), if attention is paid to each of the test target circuits, the third embodiment described above will be used. It can be seen that duplicating only the test target circuit in the vertical direction is applied to each of all the test target circuits.
[0189]
The first to fourth embodiments may be implemented alone, or a plurality of embodiments of the first to fourth embodiments may be combined and implemented. The test efficiency when performed in combination is synergistically improved, which is important to note.
[0190]
[Fifth embodiment]
In the fifth embodiment, the test target circuit is duplicated so as to fill a gap between the duplicated test target circuits.
[0191]
In the first place, one block described so far corresponds to one PCA cell shown in FIG. Here, looking at the PCA cell of FIG. 1, this variable part (PP) is further composed of two-dimensionally arranged basic cells, and between adjacent PPs, the input / output lines of the basic cells corresponding to the block boundaries Wired at Therefore, the test of the basic cell at the boundary related to the input / output lines extending between the PPs needs to be performed using a plurality of blocks corresponding to them as a test target circuit.
[0192]
FIG. 31 is an explanatory diagram of the fifth embodiment of the present invention.
[0193]
In the test target circuit shown in FIG. 31, the basic cell located at the corner of the variable part is connected to the input / output line with the basic cell included in the upper, lower, left, and right adjacent PP. Occupies an area of 2 × 2 blocks.
[0194]
In the fourth embodiment shown in FIG. 31 (1), only the test target circuit T occupying the area of 2 × 2 blocks is duplicated twice in succession, tested, and then the test execution control unit However, the test target circuit is duplicated on the right side and tested so that it overlaps a part of the duplication source test target circuit. In the same manner as described above, only the test target circuit T is duplicated twice in succession and tested. As described above, when the duplication and the test are performed, the test target circuit T can perform the test so that all the areas are laid down in the vertical direction and the horizontal direction.
[0195]
However, the reason why the test target circuit T has the 2 × 2 block size is that the area spanning the blocks (in the example shown in FIG. 31 (1), the central part of four blocks (intersection part indicated by a broken line) is tested. Because.
[0196]
As described above, when this central portion is indicated by PP in FIG. 1, it corresponds to a basic cell located at the corner of one PP. In a basic cell at a corner of a certain PP, a basic cell included in the adjacent PP, an input signal line, and an output signal line are connected to each other vertically and horizontally.
[0197]
Therefore, in FIG. 31 (1), the intersections of the four blocks (shaded portions) remain untested by such a method.
[0198]
Therefore, when the test target circuit T is duplicated, as shown in FIG. 31B, the test target circuit T is duplicated so as to overlap a part of the test target circuit T that has already been tested. In this case, the test target circuit T is duplicated in a predetermined order. In other words, the copy source is copied before the operation of copying the copy source of the test target circuit T (the area where the circuit configuration information is read) to the copy destination of the test target circuit T (the area where the circuit configuration information is written) ends. If an attempt is made to superimpose first, the duplication will not be performed normally. Therefore, the duplication source of the test target circuit T is duplicated on the duplication destination of the test target circuit T, and then duplicated on the duplication source. The test target circuit T is duplicated in this order.
[0199]
In the fifth embodiment, when the circuit T to be tested is duplicated for the first time and duplicated for the second time, the circuit under test T is duplicated in order downward. In other words, when duplicating for the first time, the circuit to be tested Ta (the circuit with the slanting left slanting line) is duplicated in the 3rd to 4th rows from the top according to the arrow marked with (1) in FIG. When duplicating for the second time, the test target circuit Tb (the circuit with the slanting line on the lower right) is duplicated on the 5th to 6th lines according to the arrow marked with (2).
[0200]
Then, after testing the test target circuits Ta and Tb replicated for the first and second times, the third and fourth times of replication are performed. That is, in the case of duplicating for the third time, according to the arrow marked with (3) in FIG. 31 (2), the test target circuit Tc is duplicated in the second to third rows from the top, and in the case of duplicating for the fourth time, (4) The test target circuit Td is duplicated in the 4th to 5th lines according to the arrow marked with ▼. Then, the test target circuits Tc and Td copied at the third and fourth times are tested.
[0201]
When duplicating in this order, the test target circuit replicated at a certain point (the original test target circuit) and the test target circuit to be replicated at the next point in time (the target test target circuit) will overlap. Absent. When the two columns of the circuit under test are viewed in the vertical direction by the above four times of duplication, the first and second row regions, the second and third row regions, the third and fourth row regions, Since the test target circuit replicated in each of the fifth row area and the fifth and sixth row areas is tested, all the intersections (boundary areas) of the four blocks are tested.
[0202]
The reason why the test target circuit T has a 2 × 2 block size is to test an area extending between the blocks (in the example shown in FIG. 31 (1), the central portion of four blocks (intersection portion indicated by a broken line)). Because.
[0203]
As described above, when this central portion is indicated by PP in FIG. 1, it corresponds to a basic cell located at the corner of one PP. In a basic cell at a corner of a certain PP, a basic cell included in the adjacent PP, an input signal line, and an output signal line are connected to each other vertically and horizontally.
[0204]
FIG. 31 (3) is a diagram illustrating a case where a test circuit in which a test execution control unit and a test target circuit are combined is duplicated in the horizontal direction. First, in FIG. 31 (3), according to the arrow marked with (5) -1, the test target circuit Td existing in the region of the fourth and fifth rows is overlapped by the column adjacent to the right by one column. And it replicates to the first and second lines. That is, this duplication result is the test target circuit Te. Next, in FIG. 31 (3), the test execution control unit having the memory M and the filter circuit F is duplicated to the right side in accordance with the arrow (5) -2.
[0205]
In this way, even when duplicating in the horizontal direction, the test target circuits T overlap each other and are duplicated. Therefore, the boundary of the intersection of the four blocks can be tested without omission in both the vertical direction and the horizontal direction.
[0206]
FIG. 32 is a diagram showing a state in which a simulation operation is performed in the fifth embodiment.
[0207]
FIG. 33 is an enlarged view of FIG.
[0208]
The test execution control unit is composed of two blocks shown at the left end, the upper side is a memory M, and the lower side is a filter circuit F. The test target circuit T is the lowermost 2 × 2 block (2 × 2 blocks corresponding to 2 columns from the right and 5 to 6 rows from the top). Exactly, 2 columns from the right, 2 from the top, and 2 × 2 blocks in the 3rd row are the same circuit under test, but the wirings in this circuit under test are lightly colored (in the enlarged view of FIG. 33). A broken line) indicates a state in which the test operation is performed. Further, the filter circuit F of the test execution control unit adjacent to the left also has a partly light color (dashed line in the enlarged view of FIG. 33), indicating that the test control operation is being performed.
[0209]
Further, in the second and third columns from the left, the test execution control units in the first and second rows are obtained by copying the test execution control units for the first time and the second time, respectively. Further, the area in the third and sixth rows in the second and third columns from the left is a fragment of the circuit to be tested. This area is a trace that the original circuit to be tested has been duplicated and the test has been completed.
[0210]
According to the fifth embodiment, test points scattered on a two-dimensional plane can be efficiently tested.
[0211]
Further, according to the fifth embodiment, as described above, the same test circuit is used, the number of times of duplication is increased, and different test target circuits are handled at once (duplicated and tested). Therefore, since the test circuits to be prepared can be reduced as a whole test, the test preparation work is reduced.
[0212]
Furthermore, in the fifth embodiment, when a test is executed, it is possible to reduce the number of times required to program a test target circuit to be handled separately from the outside. This reduction is replaced by an increase in the internal high-speed replication count. Therefore, the test time is also shortened.
[0213]
It should be noted that the several embodiments described above can be used in various combinations. Various forms are conceivable depending on the combination of these embodiments. However, if the above embodiments are combined, the test time is synergistically shortened.
[0214]
For example, by duplicating only the test target circuit T and duplicating the test circuit so that a part of the test circuit overlaps, the test target circuit is duplicated and the place where the test target circuit is tested can be set in the vertical and horizontal directions. It can be increased two-dimensionally and the coverage of the test can be improved at once.
[0215]
Further, as described in another embodiment, the above test circuit duplication and the duplication of only the test target circuit T are combined, and several different test target circuits are collectively handled as the test target circuit. In other words, if three are combined at a time, the advantages of the three embodiments can be exhibited synergistically. That is, not only different test target circuits but also different test target circuits can be individually viewed one by one, and the test can be executed without fail in all areas of the two-dimensional plane.
[0216]
That is, in a test circuit comprising a test target circuit and a test execution control unit that gives a test pattern to the test target circuit, the test execution control unit duplicates the test target circuit and the test execution control unit, In addition, the test target circuit has a copy destination that overlaps with a part of the test target circuit that has already been tested. In this case, the test target circuit includes a plurality of different test target circuits. Yes, one test execution control unit may repeatedly execute duplication and testing for the plurality of different test target circuits.
[0217]
In addition, as a reference of the present invention, “Hideyuki Tsuboi, Hidefumi Kobayashi, Tsunemichi Shiozawa, Koichi Himi, Akira Nagoya:“ Examination of test method in autonomously reconfigurable hardware, ”IEICE technical report, VLD2000-80, ICD2000-137, FTS2000-45, pp.65-70, Nov.2000 ".
[0218]
[Modification of the first embodiment]
FIG. 34 is a diagram showing a modification of the first embodiment.
[0219]
This modification is an example in which the position of the test circuit TC1 provided in the reconfigurable circuit RCC is changed. FIG. 34 (1) is an example in which a test circuit TC1 is provided above the reconfigurable circuit RCC, and FIG. 34 (2) is an example in which the test circuit TC1 is provided at the center of the reconfigurable circuit RCC. FIG. 34 (3) is an example in which a test circuit TC1 is provided below the reconfigurable circuit RCC.
[0220]
FIG. 35 is a diagram showing another modification of the first embodiment.
[0221]
This modification is an example in which the position of the test target circuit in the test circuit TC1 is changed. FIG. 35 (1) is an example in which a test target circuit 201a is provided in the lower right part of the test circuit TCa, and FIG. 35 (2) is an example in which the test target circuit 201b is provided in the upper right part of the test circuit TCb. FIG. 35 (3) is an example in which a test target circuit 201c is provided in the lower left part of the test circuit TCc, and FIG. 35 (4) is a test target circuit 201e in the upper left part of the test circuit TCe. Is an example provided.
[0222]
That is, another modified example of the first embodiment is a test circuit that tests the test target circuit in a state where the test target circuit is rotated 90 degrees in the test circuit.
[0223]
In another embodiment of the first embodiment, a test pattern is supplied from the test execution control unit to the test target circuit, and the test pattern is output via a logic circuit in the test target circuit. The test circuit includes a circuit that compares the measured value with a predetermined expected value and outputs the comparison result.
[0224]
【The invention's effect】
According to the present invention, since the homogeneous structure is duplicated and tested by duplicating the test circuit itself, even if the whole part to be tested is large, it is possible to cope with the same technique. The test target circuit in this test can be held down to a small circuit scale, so that the test preparation is easy and the test itself is simple, and the input path from the input terminal to the test target circuit is achieved through the input path. There is no need to input a test pattern, and in addition, there is no need to reset the output path for carrying test result data to the output terminal by a program or the like every time the test is performed. It can be executed, and there is an effect that overhead is unnecessary.
[Brief description of the drawings]
FIG. 1 is a diagram showing the structure of a PCA as an example of a reconfigurable logic circuit to be tested by a test circuit TC according to an embodiment of the present invention.
FIG. 2 is a diagram illustrating a relationship between an object and a message in PCA.
FIG. 3 is a diagram illustrating a logic circuit realized by writing data as a memory in an LUT on a variable unit (PP) in the embodiment.
FIG. 4 is an explanatory diagram of an operation of duplicating a second test circuit TC2 after testing the first test circuit TC1 of the test circuits TC according to an embodiment of the present invention;
FIG. 5 is a flowchart showing a test operation in the embodiment.
FIG. 6 is a diagram showing a state in which a test circuit TC2 is duplicated next to a test circuit TC1 in a range (for example, on a PCA system) on a reconfigurable logic circuit RCC in the embodiment.
FIG. 7 is a diagram showing an initial circuit after programming a logic circuit (test circuit TC1) in the embodiment.
8 is a diagram simply showing the same state as shown in FIG. 7. FIG.
FIG. 9 is a diagram showing a built-in part (BP) at the time of testing in the embodiment.
FIG. 10 is a diagram showing a replication command output to the first test circuit TC1 in the embodiment.
FIG. 11 is a diagram showing a built-in part (BP) being duplicated in the above embodiment, and a diagram showing a state where a part near the end of a test target circuit in a test circuit adjacent to the test circuit TC1 is being duplicated; It is.
12 is a diagram showing a variable section (PP) during duplication at the same timing as the mid-duplication timing shown in FIG. 11 in the embodiment.
FIG. 13 is a diagram showing a variable section (PP) in operation after the test circuit TC is replicated once in the embodiment.
14 is an enlarged view showing test circuits TC1 and TC2 shown in FIG.
15 is an enlarged view of test circuits TC1 and TC2 shown in FIG.
FIG. 16 is a diagram illustrating a built-in unit (BP) at the time of a test after the first replication (after the second test circuit TC2 is replicated) in the embodiment.
FIG. 17 is a diagram showing a variable section (PP) after a test is performed a plurality of times in the embodiment.
FIG. 18 is a diagram showing a built-in unit (BP) that has issued a replication command after being tested a plurality of times in the embodiment.
FIG. 19 is a diagram for explaining a test method for a reconfigurable circuit according to a first conventional example.
FIG. 20 is a flowchart showing an operation in the first conventional test method when a reconfigurable circuit is tested.
FIG. 21 is an explanatory diagram of a BIST as a second conventional example.
FIG. 22 is an explanatory diagram of a second embodiment of the present invention.
FIG. 23 is a diagram showing how the duplication and the test are executed by the simulator in the second embodiment.
24 is an enlarged view of FIG. 23. FIG.
FIG. 25 is an explanatory diagram of a third embodiment of the present invention.
FIG. 26 shows a simulation state when only the test target circuit T is duplicated in the vertical direction and the test circuit is duplicated in the horizontal direction so that a part of the duplication destination overlaps the duplication source in the third embodiment. FIG.
FIG. 27 is an enlarged view of FIG. 26;
FIG. 28 is an explanatory diagram of a fourth embodiment of the present invention.
FIG. 29 is a diagram illustrating a state on a simulator when different types of test target circuits are handled in the fourth embodiment and tested together at once.
30 is an enlarged view of FIG. 29. FIG.
FIG. 31 is an explanatory diagram of a fifth embodiment of the present invention.
FIG. 32 is a diagram showing a state in which a simulation operation is performed in the fifth embodiment.
33 is an enlarged view of FIG. 32. FIG.
FIG. 34 is a diagram showing a modification of the first embodiment.
FIG. 35 is a diagram showing another modification of the first embodiment.
[Explanation of symbols]
RCC ... reconfigurable circuit,
TC ... Test circuit,
TC1 ... The first test circuit,
TC2 ... The second test circuit,
TCn: nth test circuit,
101, 102 to 10n ... test execution control unit,
201, 202 to 20n: circuit to be tested,
PP ... variable part,
BP ... Built-in part,
M ... memory,
F: Filter circuit,
T, T1 to T5, Ta to Te: Test target circuit.

Claims (13)

テスト対象回路と、テストパターンを上記テスト対象回路に与えるテスト実行制御部とを具備するテスト回路において、
上記テスト実行制御部は、上記テスト対象回路と上記テスト実行制御部とを複製する手段を有することを特徴とするテスト回路。
In a test circuit comprising a test target circuit and a test execution control unit for giving a test pattern to the test target circuit,
The test execution control unit includes means for replicating the test target circuit and the test execution control unit.
請求項1において、
上記複製したテスト実行制御部が、上記複製されたテスト実行制御部を起動する手段を有することを特徴とするテスト回路。
In claim 1,
The test circuit, wherein the duplicated test execution control unit has means for starting up the duplicated test execution control unit.
請求項1において、
テスト結果のデータを出力する出力パスを、上記テスト対象回路から所定の出力端子へ設ける手段を有することを特徴とするテスト回路。
In claim 1,
A test circuit comprising means for providing an output path for outputting test result data from the circuit under test to a predetermined output terminal.
請求項1において、
上記テスト回路が設けられる再構成可能な回路の上部、真中、下部のいずれかに、上記テスト回路が設けられていることを特徴とするテスト回路。
In claim 1,
A test circuit, wherein the test circuit is provided in any one of an upper part, a middle part, and a lower part of a reconfigurable circuit provided with the test circuit.
請求項1において、
上記テスト対象回路を、上記テスト回路において、90度回転した状態で、上記テスト対象回路をテストすることを特徴とするテスト回路。
In claim 1,
A test circuit for testing the test target circuit in a state in which the test target circuit is rotated 90 degrees in the test circuit.
請求項1において、
上記テスト実行制御部から上記テスト対象回路にテストパターンを供給し、このテストパターンが上記テスト対象回路内の論理回路を経由して出力された値と、所定の期待値とを比較し、この比較結果を出力する回路を有することを特徴とするテスト回路。
In claim 1,
A test pattern is supplied from the test execution control unit to the test target circuit, and the value output by the test pattern via the logic circuit in the test target circuit is compared with a predetermined expected value, and this comparison is performed. A test circuit comprising a circuit for outputting a result.
テスト対象回路と、テストパターンを上記テスト対象回路に与えるテスト実行制御部とを具備するテスト回路において、
上記テスト実行制御部は、上記テスト対象回路と上記テスト実行制御部とを複製するものであり、
上記テスト回路の複製先の一部が、上記テスト回路の複製元と重なるように複製する手段を有することを特徴とするテスト回路。
In a test circuit comprising a test target circuit and a test execution control unit for giving a test pattern to the test target circuit,
The test execution control unit duplicates the test target circuit and the test execution control unit,
A test circuit comprising means for copying so that a part of the copy destination of the test circuit overlaps the copy source of the test circuit.
請求項7において、
上記重なるテスト回路の複製先の一部は、上記テスト回路の複製先における上記テスト実行制御部であることを特徴とするテスト回路。
In claim 7,
A part of the duplication destination of the overlapping test circuit is the test execution control unit in the duplication destination of the test circuit.
テスト対象回路と、テストパターンを上記テスト対象回路に与えるテスト実行制御部とを具備するテスト回路において、
上記テスト実行制御部は、上記テスト対象回路と上記テスト実行制御部とを複製するものであり、
上記テスト対象回路のみを連ねて複製する手段を有することを特徴とするテスト回路。
In a test circuit comprising a test target circuit and a test execution control unit for giving a test pattern to the test target circuit,
The test execution control unit duplicates the test target circuit and the test execution control unit,
A test circuit comprising means for duplicating only the circuit under test.
請求項9において、
上記テスト対象回路のみを連ねて複製した後に、上記テスト回路の複製先の一部が、上記テスト回路の複製元と重なるように複製する手段を有することを特徴とするテスト回路。
In claim 9,
A test circuit comprising means for copying only the test target circuit and copying so that a part of the copy destination of the test circuit overlaps the copy source of the test circuit.
請求項7〜請求項10のいずれか1項において、
上記テスト対象回路は、互いに異なる複数のテスト対象回路であり、1つの上記テスト実行制御部が、上記互いに異なる複数のテスト対象回路について、複製とテストとを、繰り返して実行することを特徴とするテスト回路。
In any one of Claims 7-10,
The test target circuit is a plurality of different test target circuits, and one test execution control unit repeatedly performs duplication and testing on the plurality of different test target circuits. Test circuit.
テスト対象回路と、テストパターンを上記テスト対象回路に与えるテスト実行制御部とを具備するテスト回路において、
上記テスト実行制御部は、上記テスト対象回路と上記テスト実行制御部とを複製し、しかも、テスト対象回路の複製先が、既にテストが終わっているテスト対象回路の一部と重なるように複製する手段を有することを特徴とするテスト回路。
In a test circuit comprising a test target circuit and a test execution control unit for giving a test pattern to the test target circuit,
The test execution control unit duplicates the test target circuit and the test execution control unit, and duplicates the test target circuit so that the test destination circuit overlaps a part of the test target circuit that has already been tested. A test circuit comprising means.
請求項12において、
上記テスト対象回路は、互いに異なる複数のテスト対象回路であり、1つの上記テスト実行制御部が、上記互いに異なる複数のテスト対象回路について、複製とテストとを、繰り返して実行することを特徴とするテスト回路。
In claim 12,
The test target circuit is a plurality of different test target circuits, and one test execution control unit repeatedly performs duplication and testing on the plurality of different test target circuits. Test circuit.
JP2001346109A 2000-11-14 2001-11-12 Test circuit Expired - Fee Related JP3803053B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001346109A JP3803053B2 (en) 2000-11-14 2001-11-12 Test circuit

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2000346308 2000-11-14
JP2000-346308 2000-11-14
JP2001346109A JP3803053B2 (en) 2000-11-14 2001-11-12 Test circuit

Publications (2)

Publication Number Publication Date
JP2002214302A JP2002214302A (en) 2002-07-31
JP3803053B2 true JP3803053B2 (en) 2006-08-02

Family

ID=26603916

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001346109A Expired - Fee Related JP3803053B2 (en) 2000-11-14 2001-11-12 Test circuit

Country Status (1)

Country Link
JP (1) JP3803053B2 (en)

Also Published As

Publication number Publication date
JP2002214302A (en) 2002-07-31

Similar Documents

Publication Publication Date Title
US6701491B1 (en) Input/output probing apparatus and input/output probing method using the same, and mixed emulation/simulation method based on it
US6526559B2 (en) Method for creating circuit redundancy in programmable logic devices
Huang et al. Testing configurable LUT-based FPGA's
JP3710070B2 (en) Testable programmable gate array and test method
CN105373493B (en) Programmable circuit with multiple sectors
JP5131997B2 (en) Transparent test method and scan flip-flop
US7849435B1 (en) Utilizing multiple test bitstreams to avoid localized defects in partially defective programmable integrated circuits
Stroud et al. Using ILA testing for BIST in FPGAs
US6550030B1 (en) On-line testing of the programmable logic blocks in field programmable gate arrays
US7412635B1 (en) Utilizing multiple bitstreams to avoid localized defects in partially defective programmable integrated circuits
US5802075A (en) Distributed test pattern generation
JP3803053B2 (en) Test circuit
US20100115353A1 (en) System and method for testing application-specific blocks embedded in reconfigurable arrays
Sun et al. A unified global and local interconnect test scheme for Xilinx XC4000 FPGAs
US7437635B1 (en) Testing hard-wired IP interface signals using a soft scan chain
Sun et al. Modeling of FPGA local/global interconnect resources and derivation of minimal test configurations
Sun et al. Design and implementation of a parity-based BIST scheme for FPGA global interconnects
JP4049360B2 (en) Test control circuit in reconfigurable integrated circuit and test control method in reconfigurable integrated circuit
JPH06509643A (en) Method for testing integrated circuits having at least one logic circuit and testable integrated circuits
JP2001185622A (en) Semiconductor integrated circuit and its modification method
Sun et al. Minimal test configurations for FPGA local interconnects
Abdelfattah Evaluation of advanced techniques for structural FPGA self-test
JPH10222389A (en) Whole reconstitution system fault tolerant information processing system
JP4049361B2 (en) Circuit test apparatus and circuit test method
Harris Built-In Self-Test Configurations for Field Programmable Gate Array Cores in Systems on Chip

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040210

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20041105

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060428

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060501

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20090512

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100512

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100512

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110512

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120512

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130512

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20140512

Year of fee payment: 8

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees