JP2003329736A - Test circuit for semiconductor integrated circuit - Google Patents

Test circuit for semiconductor integrated circuit

Info

Publication number
JP2003329736A
JP2003329736A JP2002139421A JP2002139421A JP2003329736A JP 2003329736 A JP2003329736 A JP 2003329736A JP 2002139421 A JP2002139421 A JP 2002139421A JP 2002139421 A JP2002139421 A JP 2002139421A JP 2003329736 A JP2003329736 A JP 2003329736A
Authority
JP
Japan
Prior art keywords
output
signal
delay
determination
mismatch
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.)
Granted
Application number
JP2002139421A
Other languages
Japanese (ja)
Other versions
JP3955788B2 (en
Inventor
Kazuji Kurata
和司 蔵田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2002139421A priority Critical patent/JP3955788B2/en
Publication of JP2003329736A publication Critical patent/JP2003329736A/en
Application granted granted Critical
Publication of JP3955788B2 publication Critical patent/JP3955788B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Semiconductor Integrated Circuits (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To solve the problem that it is impossible to perform specification of nonconformity spots which aims at failure analysis or test development, and observation of its information by a limited number of terminals, in a test circuit which inputs an expected value to a semiconductor integrated circuit and performs comparison inside. <P>SOLUTION: An output data signal A of a test object circuit 1 and an expected value signal B from an expected value input terminal 2 are compared by a comparing means 3, and the comparison result signal C is held in a nonconformity holding means M1 when the signal C represents nonconformity. When a decision signal D outputted by the holding means M1 represents nonconformity, an output data locking means M2 holds the logic value of the output signal A of the circuit 1. When a delayed decision signal F as a delayed signal of the decision signal D by a decision delay means 11 is in a state of representing nonconformity, and output buffer 12 is brought into a conducting state, and a defective information signal E is outputted to the outside from an input/output terminal 2A for inputting the expected value signal B. <P>COPYRIGHT: (C)2004,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、良品、不良品の選
別や不良解析、テスト開発に好適な半導体集積回路のテ
スト回路に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a test circuit of a semiconductor integrated circuit suitable for selection of non-defective products and defective products, failure analysis, and test development.

【0002】[0002]

【従来の技術】従来の半導体集積回路のテスト回路を図
11に示し、以下に説明する(特開平3−25382号
公報参照)。
2. Description of the Related Art A conventional test circuit for a semiconductor integrated circuit is shown in FIG. 11 and will be described below (see Japanese Patent Application Laid-Open No. 3-25382).

【0003】図11において、60はテストの対象の半
導体集積回路であるテスト対象回路であり、図示しない
LSIテスタからテストパターンがクロックCLK0
同期して周期的にテスト対象回路60に入力され、テス
ト対象回路60の出力端子から所定の周期で第1および
第2の出力データ信号A1,A2が出力される。61,
62は期待値信号B1,B2を入力する期待値入力端
子、63,64はそれぞれ出力データ信号A1,A2と
期待値信号B1,B2とを比較する比較手段であり、排
他的論理和ゲートで構成されている。排他的論理和ゲー
トは、2つの入力が一致すれば“0”を出力し、不一致
のときに“1”を出力する。65は比較手段63,64
からの出力信号C1,C2の出力を論理和して出力する
論理和ゲートである。66は論理和ゲート65からの出
力信号C3をクロックCLK0の立ち上がりに同期して
ラッチするフリップフロップである。67は内部比較の
結果である判定信号Dを出力する判定信号出力端子であ
る。
In FIG. 11, reference numeral 60 denotes a test target circuit which is a semiconductor integrated circuit as a test target. A test pattern is periodically input to the test target circuit 60 from an LSI tester (not shown) in synchronization with a clock CLK 0 . The first and second output data signals A1 and A2 are output from the output terminal of the test target circuit 60 at a predetermined cycle. 61,
Reference numeral 62 is an expected value input terminal for inputting the expected value signals B1 and B2, and 63 and 64 are comparing means for comparing the output data signals A1 and A2 with the expected value signals B1 and B2, respectively, which are constituted by exclusive OR gates. Has been done. The exclusive OR gate outputs "0" when the two inputs match and outputs "1" when they do not match. 65 is a comparison means 63, 64
Is a logical sum gate that logically sums the outputs of the output signals C1 and C2 from Reference numeral 66 is a flip-flop that latches the output signal C3 from the OR gate 65 in synchronization with the rising edge of the clock CLK 0 . Reference numeral 67 is a determination signal output terminal for outputting a determination signal D which is the result of internal comparison.

【0004】ここで、テスト対象回路60が正常に動作
していて、出力データ信号A1,A2がそれぞれ期待値
信号B1,B2と一致しているときには、比較手段6
3,64の出力信号C1,C2がともに“0”で、クロ
ックCLK0の立ち上がりタイミングで論理和ゲート6
5の出力信号C3が“0”であると、フリップフロップ
66の出力である判定信号Dは“0”を出力する。
Here, when the circuit under test 60 is operating normally and the output data signals A1 and A2 match the expected value signals B1 and B2, respectively, the comparing means 6
When the output signals C1 and C2 of 3 and 64 are both “0”, the OR gate 6 is generated at the rising timing of the clock CLK 0.
When the output signal C3 of 5 is "0", the determination signal D which is the output of the flip-flop 66 outputs "0".

【0005】しかし、テスト対象回路60が異常動作を
起し、出力データ信号A1が期待値信号B1と不一致と
なるか、出力データ信号A2が期待値信号B2と不一致
となったとき、あるいはそれら両者が不一致となったと
きには、比較手段63,64の出力信号C1,C2の少
なくともいずれか一方が“1”となり、クロックCLK
0の立ち上がりタイミングで論理和ゲート65の出力信
号C3が“1”であると、フリップフロップ66の出力
である判定信号Dは“1”を出力する。判定信号出力端
子67から外部出力される判定信号DをLSIテスタで
判定する。これによって、期待値をすべて外部比較する
ことなくテストすることができる。
However, when the circuit under test 60 causes an abnormal operation and the output data signal A1 does not match the expected value signal B1 or the output data signal A2 does not match the expected value signal B2, or both of them. When at least one of the output signals C1 and C2 of the comparison means 63 and 64 becomes "1", the clock CLK
When the output signal C3 of the OR gate 65 is "1" at the rising timing of 0 , the determination signal D which is the output of the flip-flop 66 outputs "1". The judgment signal D externally output from the judgment signal output terminal 67 is judged by the LSI tester. This allows you to test all expected values without making an external comparison.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上記構
成の従来技術の場合、テスト対象回路60の動作が異常
シーケンスに入らない状態で、外部出力される判定信号
Dが“0”と“1”を繰り返す場合には、LSIテスタ
のボード容量によって生じる出力遅延や端子間スキュー
により、正確に異常動作と判定することが困難であっ
た。そのため高精度、高コストのLSIテスタを使用せ
ざるを得なかった。
However, in the case of the prior art having the above-mentioned configuration, the determination signal D output externally outputs "0" and "1" while the operation of the circuit under test 60 does not enter the abnormal sequence. When it is repeated, it is difficult to accurately determine the abnormal operation due to the output delay and the terminal skew generated by the board capacity of the LSI tester. Therefore, a high-precision and high-cost LSI tester has to be used.

【0007】また、不良解析やテストパターン作成ミス
のデバッグ情報として、異常動作した周期にテスト対象
回路60の出力データ信号が論理的に“0”であったか
“1”であったかの情報や、該当する周期がいつであっ
たかの不良時刻情報信号を出力するためには、その出力
専用の端子を特別に設けなければならない。
Further, as the debug information of the failure analysis or the test pattern creation error, information whether the output data signal of the test target circuit 60 is logically "0" or "1" in the abnormal operation cycle, or the corresponding information. In order to output the defective time information signal indicating when the cycle was, a terminal dedicated to the output must be specially provided.

【0008】さらには、その不良時刻情報信号を出力し
ても、LSIテスタのボード容量などの問題から高速動
作の場合に、LSIテスタで正確に判定することができ
ないという課題があった。
Further, there is a problem that even if the defective time information signal is output, the LSI tester cannot accurately determine it in the case of high-speed operation due to a problem such as the board capacity of the LSI tester.

【0009】また、LSI内部の遅延ばらつきによって
期待値信号を入力するタイミングが出力データ信号と一
致しなくなり、そのために良品でありながら不良品と判
定してしまうおそれがあった。この不都合を回避するに
は、一つのテスト対象回路について常に入力タイミング
を変化させ複数回のテストを繰り返せばよいが、そうす
ると検査時間が長くなるという課題があった。
Further, the timing of inputting the expected value signal does not coincide with the output data signal due to delay variation inside the LSI, and there is a possibility that it may be determined as a defective product although it is a good product. In order to avoid this inconvenience, it is sufficient to constantly change the input timing and repeat the test a plurality of times for one test target circuit, but this causes a problem that the inspection time becomes long.

【0010】また、不良判定しても、不一致のタイミン
グで内部クロックを停止できないため、実装されたトラ
ンジスタのスイッチング動作が継続して行われ、テスト
で不一致を生じた状態を保持したまま不良箇所の特定が
できないという課題があった。
Further, even if a defect is determined, the internal clock cannot be stopped at the timing of the mismatch, so that the switching operation of the mounted transistors is continuously performed, and the defective portion is detected while maintaining the state where the mismatch occurs in the test. There was a problem that it could not be specified.

【0011】[0011]

【課題を解決するための手段】本発明は、次のような手
段を講じることにより、上記の課題を解決する。
The present invention solves the above problems by taking the following means.

【0012】第1の解決手段として、本発明の半導体集
積回路のテスト回路は、期待値信号を入力する期待値入
力端子と、テスト対象回路の出力データ信号と前記期待
値入力端子からの前記期待値信号とを比較する比較手段
と、前記比較手段からの比較結果信号が不一致を示すと
きはその不一致状態を保持する不一致保持手段と、前記
不一致保持手段が出力する判定信号を外部出力する判定
信号出力端子と、前記不一致保持手段が出力する前記判
定信号が不一致状態を示すときに前記テスト対象回路か
らの出力データ信号を保持する出力データロック手段
と、前記出力データロック手段の出力信号を外部出力す
る不良情報出力端子とを備えた構成としている。
As a first solution, a test circuit for a semiconductor integrated circuit according to the present invention comprises an expected value input terminal for inputting an expected value signal, an output data signal of a circuit under test and the expectation value from the expected value input terminal. Comparing means for comparing with the value signal, disagreement holding means for holding the disagreement state when the comparison result signal from the comparing means indicates disagreement, and a determination signal for externally outputting the determination signal output by the inconsistency holding means An output terminal, an output data lock unit that holds an output data signal from the test target circuit when the determination signal output from the mismatch hold unit indicates a mismatch state, and an output signal of the output data lock unit is externally output. And a defect information output terminal for

【0013】この構成によれば、比較手段において出力
データ信号と期待値信号とを比較し、その比較の結果が
不一致を示すときに不一致保持手段において不一致状態
を保持した上で判定信号を外部出力するとともに、出力
データロック手段においてその不一致を生じたタイミン
グでテスト対象回路が出力している出力データ信号をロ
ックした上で外部出力する。すなわち、出力データ信号
と期待値信号との内部比較を行いながら、不良情報(異
常動作タイミングで出力データ信号が論理的に“0”,
“1”いずれであったかの不良解析に用いる情報)を保
持することができる。この不良情報は不一致検出後も保
持されているため、高速テスト時にもボード容量に影響
されることなく外部観測することができる。
According to this structure, the comparison means compares the output data signal with the expected value signal, and when the result of the comparison shows a mismatch, the mismatch holding means holds the mismatch state and then outputs the determination signal to the outside. At the same time, the output data locking means locks the output data signal output from the circuit under test at the timing when the mismatch occurs, and then outputs the signal externally. That is, while performing internal comparison between the output data signal and the expected value signal, defect information (the output data signal is logically "0" at the abnormal operation timing,
It is possible to hold information used for failure analysis which is "1". Since this defect information is retained even after the mismatch detection, it can be externally observed even during the high speed test without being affected by the board capacity.

【0014】第2の解決手段として、本発明による半導
体集積回路のテスト回路は、上記第1の解決手段におい
て、前記不良情報出力端子が省略された上で、さらに、
次の構成要素が追加されたものである。すなわち、前記
不一致保持手段が出力する判定信号を所定の周期遅延さ
せる判定遅延手段と、前記期待値入力端子に接続され、
前記判定遅延手段からの遅延判定信号が一致を示すとき
はハイインピーダンスを出力し、前記遅延判定信号が不
一致を示すときに前記出力データロック手段からの出力
信号を出力する出力バッファとである。
As a second solving means, a test circuit for a semiconductor integrated circuit according to the present invention is the same as the first solving means, wherein the defect information output terminal is omitted, and further,
The following components have been added. That is, the determination delay means for delaying the determination signal output from the mismatch holding means by a predetermined period, and the expected value input terminal are connected,
The output buffer outputs a high impedance when the delay determination signal from the determination delay means indicates a match, and outputs the output signal from the output data locking means when the delay determination signal indicates a mismatch.

【0015】これは、不良情報出力端子の省略を可能に
する。すなわち、期待値入力端子を不良情報信号の出力
端子として兼用するものである(なお、この兼用の入力
端子は、後述する実施の形態の説明では、入出力端子2
Aに相当する)。不一致保持手段が出力する判定信号を
判定遅延手段によって遅延させる。これが遅延判定信号
である。遅延判定信号が一致を示すとき、出力バッファ
はハイインピーダンスを出力するので、出力データロッ
ク手段の出力と期待値入力端子とは電気的に分離されて
いる。したがって、期待値信号の入力に支障はない。出
力データ信号と期待値信号とが不一致となると、不一致
保持手段の判定信号がアクティブとなり、その結果、出
力データロック手段においてテスト対象回路の出力デー
タ信号をロックするが、そのタイミングから判定遅延手
段が判定信号を遅延させ、遅延判定信号がアクティブと
なる。この遅延時間内に期待値信号の入力が停止され
る。その上で、アクティブとなった遅延判定信号により
出力バッファを導通状態にし、出力データロック手段か
らの不良情報信号を期待値入力端子から外部出力する。
期待値入力端子を不良情報信号の出力端子に兼用するの
で、第1の解決手段の場合に比べて、不良情報信号の出
力のための専用の出力端子を不要化することができる。
This makes it possible to omit the defect information output terminal. That is, the expected value input terminal is also used as the output terminal of the defect information signal (this input terminal is also used as the input / output terminal 2 in the description of the embodiments described later).
Equivalent to A). The determination signal output by the mismatch holding means is delayed by the determination delay means. This is the delay determination signal. When the delay determination signals indicate coincidence, the output buffer outputs high impedance, so the output of the output data lock means and the expected value input terminal are electrically separated. Therefore, there is no problem in inputting the expected value signal. When the output data signal and the expected value signal do not match, the determination signal of the inconsistency holding means becomes active, and as a result, the output data signal of the circuit under test is locked by the output data locking means. The determination signal is delayed, and the delayed determination signal becomes active. Input of the expected value signal is stopped within this delay time. Then, the activated delay determination signal brings the output buffer into a conducting state, and the defect information signal from the output data lock means is externally output from the expected value input terminal.
Since the expected value input terminal is also used as the output terminal of the failure information signal, it is possible to eliminate the need for a dedicated output terminal for outputting the failure information signal, as compared with the case of the first solution.

【0016】第3の解決手段として、本発明による半導
体集積回路のテスト回路は、上記第1の解決手段におい
て、さらに、次の構成要素が追加されたものである。す
なわち、前記不一致保持手段が出力する判定信号を所定
の周期遅延させる判定遅延手段と、クロックを計測し、
前記不一致保持手段が出力する前記判定信号が不一致に
変化したタイミングでの計測クロック数を保持するクロ
ック計測手段と、前記判定遅延手段が出力する遅延判定
信号が不一致を示すときに前記保持した計測クロック数
を所定の間隔でシリアル出力する計測クロック数出力手
段と、前記判定遅延手段が出力する前記遅延判定信号が
一致を示すときは前記出力データロック手段の出力を選
択し、不一致のときは前記計測クロック数出力手段の出
力を選択し、前記不良情報出力端子へ出力する選択手段
とである。
As a third solving means, a test circuit for a semiconductor integrated circuit according to the present invention is obtained by adding the following constituent elements to the above first solving means. That is, a determination delay unit that delays the determination signal output by the mismatch holding unit by a predetermined period, and a clock are measured,
A clock measuring unit that holds the number of measurement clocks at the timing when the judgment signal output from the mismatch holding unit changes to mismatch, and the held measurement clock when the delay judgment signal output from the judgment delay unit indicates a mismatch When the measurement clock number output means for serially outputting a number at a predetermined interval and the delay judgment signal output by the judgment delay means indicate a match, the output of the output data lock means is selected, and when they do not match, the measurement is performed. Selecting means for selecting the output of the clock number output means and outputting it to the defect information output terminal.

【0017】これは、異常動作時にテスト対象回路の出
力データ信号が論理的に“0”,“1”いずれであった
かの不良情報に加えて、異常動作が発生したのがどのタ
イミングであるかの不良時刻情報を外部出力するもので
ある。さらに、不良情報と不良時刻情報とを同一の出力
端子(不良情報出力端子)から外部出力するものであ
る。テスト動作の開始時に不一致保持手段とともにクロ
ック計測手段をリセットする。不一致保持手段が出力す
る判定信号が不一致に変化したとき、クロック計測手段
は計時動作を停止し、それまで計時した計測クロック数
を保持する。一方、出力データロック手段が保持した不
良情報信号が選択手段を介して不良情報出力端子から外
部出力される。判定信号を判定遅延手段で遅延した遅延
判定信号がアクティブになると、計測クロック数出力手
段をアクティブにするとともに、選択手段の出力を計測
クロック数出力手段側に切り換える。計測クロック数出
力手段は、クロック計測手段が保持した計測クロック数
のデータ(多値)をパラレル/シリアル変換する。その
計測クロック数のシリアルデータは選択手段を介して不
良情報出力端子より順次に外部出力される。計測クロッ
ク数のデータは1ビットではなく、多値であり、これを
1つの不良情報出力端子から出力するために、パラレル
/シリアル変換をしている。また、不良情報信号と不良
時刻情報信号とを同じ不良情報出力端子から出力するた
めに、時分割状態での出力形態をとり、そのために選択
手段を設けてある。この発明によれば、不良情報だけで
なく不良時刻情報も取得することができるとともに、不
良時刻情報信号の外部出力に不良情報信号出力のための
不良情報出力端子を兼用しており、回路構成の簡略化を
進めることができる。
This is in addition to the defect information indicating whether the output data signal of the test target circuit is logically "0" or "1" at the time of abnormal operation, and at what timing the abnormal operation occurs. The defect time information is externally output. Further, the defect information and the defect time information are externally output from the same output terminal (defect information output terminal). The clock measuring means is reset together with the mismatch holding means at the start of the test operation. When the determination signal output from the non-coincidence holding unit changes to non-coincidence, the clock measuring unit stops the time counting operation and holds the number of measurement clocks measured until then. On the other hand, the failure information signal held by the output data lock means is externally output from the failure information output terminal via the selection means. When the delayed determination signal obtained by delaying the determination signal by the determination delay means becomes active, the measurement clock number output means is activated and the output of the selection means is switched to the measurement clock number output means side. The measurement clock number output means performs parallel / serial conversion of the measurement clock number data (multivalue) held by the clock measurement means. The serial data of the number of measurement clocks is sequentially output from the defect information output terminal to the outside through the selecting means. The data of the number of measurement clocks is not 1 bit but multivalued, and parallel / serial conversion is performed in order to output this from one defect information output terminal. Further, in order to output the defect information signal and the defect time information signal from the same defect information output terminal, an output form in a time division state is adopted, and therefore a selecting means is provided. According to the present invention, not only the defect information but also the defect time information can be obtained, and the defect information output terminal for outputting the defect information signal is also used as an external output of the defect time information signal. Simplification can proceed.

【0018】第4の解決手段として、本発明による半導
体集積回路のテスト回路は、上記第1の解決手段におい
て、前記不良情報出力端子が省略された上で、さらに、
次の構成要素が追加されたものである。すなわち、前記
不一致保持手段が出力する判定信号を所定の周期遅延さ
せる第1の判定遅延手段と、前記第1の判定遅延手段か
らの遅延判定信号を所定の周期遅延させる第2の判定遅
延手段と、クロックを計測し、前記不一致保持手段が出
力する前記判定信号が不一致に変化したタイミングでの
計測クロック数を保持するクロック計測手段と、前記第
2の判定遅延手段が出力する第2の遅延判定信号が不一
致を示すときに前記保持した計測クロック数を所定の間
隔でシリアル出力する計測クロック数出力手段と、前記
第2の判定遅延手段が出力する前記第2の遅延判定信号
が一致を示すときは前記出力データロック手段の出力を
選択し、不一致のときは前記計測クロック数出力手段の
出力を選択し出力する選択手段と、前記期待値入力端子
に接続され、前記第1の判定遅延手段が出力する第1の
遅延判定信号が一致を示すときはハイインピーダンスを
出力し、前記第1の遅延判定信号が不一致を示すときに
前記選択手段の出力信号を出力する出力バッファとであ
る。
As a fourth solving means, a test circuit for a semiconductor integrated circuit according to the present invention is the same as the above first solving means, except that the defect information output terminal is omitted.
The following components have been added. That is, first determination delay means for delaying the determination signal output from the mismatch holding means by a predetermined cycle, and second determination delay means for delaying the delay determination signal from the first determination delay means by a predetermined cycle. A clock measuring unit that measures a clock and holds the number of measurement clocks at the timing when the determination signal output from the inconsistency holding unit changes to inconsistent; and a second delay determination output from the second determination delay unit. When the measured clock number output means that serially outputs the held measured clock number at a predetermined interval when the signals indicate a mismatch and the second delay determination signal output by the second determination delay means indicate a match Selects the output of the output data lock means, and when there is a mismatch, selects the output of the measurement clock number output means and outputs it, and the expected value input terminal When the first delay determination signal output from the first determination delay means indicates a match, a high impedance is output, and when the first delay determination signal indicates a mismatch, the output signal of the selection means. And an output buffer for outputting.

【0019】第3の解決手段に対する第4の解決手段の
関係は、上記第1の解決手段に対する第2の解決手段の
関係と類似する。上記第3の解決手段において、不良情
報出力端子の省略を可能にする。すなわち、期待値入力
端子を不良情報および不良情報信号の出力端子として兼
用するものである。この兼用のために、判定遅延手段を
増やし、また、出力バッファを追加している。
The relationship of the fourth solving means to the third solving means is similar to the relationship of the second solving means to the first solving means. In the third solving means, it is possible to omit the defect information output terminal. That is, the expected value input terminal is also used as the output terminal of the defect information and the defect information signal. For this purpose, the number of judgment delay means is increased and an output buffer is added.

【0020】第5の解決手段として、次のものを挙げる
ことができる。すなわち、上記第3の解決手段または第
4の解決手段において、前記選択手段が、前記出力デー
タロック手段からの前記不良情報信号の出力と前記計測
クロック数出力手段からの不良時刻情報信号の出力との
順序を、不良情報信号を先に、不良時刻情報信号を後に
するように構成されていることである。なお、出力順序
については逆でもよく、基本的な作用は同じである。
The following can be given as a fifth means for solving the problems. That is, in the third solving means or the fourth solving means, the selecting means outputs the failure information signal from the output data locking means and the failure time information signal from the measurement clock number output means. In this order, the defect information signal is arranged first and the defect time information signal is arranged later. The output order may be reversed, and the basic operation is the same.

【0021】第6の解決手段として、本発明による半導
体集積回路のテスト回路は、上記第1〜第5の解決手段
において、さらに、次の構成要素が追加されたものであ
る。すなわち、前記期待値入力端子からの前記期待値信
号を遅延させる期待値遅延手段と、前記テスト対象回路
の出力データ信号と前記期待値遅延手段による遅延期待
値信号とを比較する遅延系の比較手段と、前記遅延系の
比較手段からの比較結果信号が不一致を示すときにその
不一致状態を保持する遅延系の不一致保持手段と、前記
不一致保持手段と前記判定信号出力端子との間に挿入さ
れて、前記不一致保持手段の出力信号と前記遅延系の不
一致保持手段の出力信号の論理積を前記判定信号として
前記判定信号出力端子に出力する論理積手段とである。
As a sixth solution, a test circuit for a semiconductor integrated circuit according to the present invention is the test circuit according to any one of the above first to fifth solutions, in which the following constituent elements are further added. That is, an expected value delay means for delaying the expected value signal from the expected value input terminal, and a delay system comparison means for comparing the output data signal of the circuit under test and the delayed expected value signal by the expected value delay means. A delay system mismatch holding means for holding the mismatched state when the comparison result signals from the delay system comparing means indicate a mismatch, and is inserted between the mismatch holding means and the determination signal output terminal. A logical product means for outputting the logical product of the output signal of the mismatch holding means and the output signal of the delay system mismatch holding means to the judgment signal output terminal as the judgment signal.

【0022】これは、半導体集積回路の内部遅延のばら
つきに対応するものである。比較手段はテスト対象回路
からの出力データ信号と期待値信号とを比較するもので
あるが、両者のタイミングが高精度に合致していること
が重要である。しかし、半導体集積回路の内部遅延のば
らつきのために、期待値信号の入力タイミングが出力デ
ータ信号と一致しなくなる場合が起こり得る。そのまま
であれば、良品を不良品と誤判定する可能性がある。そ
こで、上記の期待値遅延手段と遅延系の比較手段と遅延
系の不一致保持手段とを追加している。さらに、論理積
手段を追加している。このように構成すれば、出力デー
タ信号と期待値信号とを比較するに際して、タイミング
を少しずらして比較することができる。したがって、一
致または不一致の判定の確度が高いものになる。これに
より、内部遅延のばらつきを吸収する状態での並行比較
をすることができる。したがって、同一のテスト対象回
路について入力タイミングを変化させる状態でテストを
繰り返す必要性をなくすことができ、検査時間の短縮化
を図ることができる。
This corresponds to the variation in the internal delay of the semiconductor integrated circuit. The comparison means compares the output data signal from the test target circuit and the expected value signal, but it is important that the timings of both are matched with high accuracy. However, the input timing of the expected value signal may not match the output data signal due to variations in the internal delay of the semiconductor integrated circuit. If it is left as it is, there is a possibility that a non-defective product may be erroneously determined as a defective product. Therefore, the expected value delay means, the delay system comparison means, and the delay system disagreement holding means are added. Further, a logical product means is added. With this configuration, when comparing the output data signal and the expected value signal, the timing can be slightly shifted and the comparison can be performed. Therefore, the accuracy of the match or mismatch judgment is high. As a result, it is possible to perform parallel comparison while absorbing variations in internal delay. Therefore, it is possible to eliminate the need to repeat the test for the same test target circuit in a state where the input timing is changed, and it is possible to shorten the inspection time.

【0023】第7の解決手段として、本発明による半導
体集積回路のテスト回路は、上記第6の解決手段におい
て、前記不良情報出力端子が省略された上で、さらに、
次の構成要素が追加されたものである。すなわち、前記
論理積手段が出力する判定信号を所定の周期遅延させる
判定遅延手段と、前記期待値入力端子に接続され、前記
判定遅延手段からの遅延判定信号が一致を示すときはハ
イインピーダンスを出力し、前記遅延判定信号が不一致
を示すときに前記出力データロック手段からの出力信号
を出力する出力バッファとである。
As a seventh solving means, a test circuit for a semiconductor integrated circuit according to the present invention is the same as the sixth solving means, wherein the defect information output terminal is omitted.
The following components have been added. That is, when the judgment delay means for delaying the judgment signal output from the logical product means by a predetermined cycle and the expected value input terminal are connected, and the delay judgment signal from the judgment delay means indicates a match, a high impedance is output. The output buffer outputs the output signal from the output data lock means when the delay determination signals indicate a mismatch.

【0024】これは、前述同様に、不良情報出力端子の
省略を可能にする。すなわち、期待値入力端子を不良情
報信号の出力端子として兼用するものである。期待値入
力端子を不良情報信号の出力端子に兼用するので、不良
情報信号の出力のための特別な出力端子が不要となる。
This makes it possible to omit the defect information output terminal, as described above. That is, the expected value input terminal is also used as the output terminal of the failure information signal. Since the expected value input terminal is also used as the output terminal of the failure information signal, a special output terminal for outputting the failure information signal is unnecessary.

【0025】第8の解決手段として、本発明による半導
体集積回路のテスト回路は、上記第6の解決手段におい
て、さらに、次の構成要素が追加されたものである。す
なわち、前記論理積手段が出力する判定信号を所定の周
期遅延させる第1の判定遅延手段と、前記第1の判定遅
延手段からの遅延判定信号を所定の周期遅延させる第2
の判定遅延手段と、クロックを計測し、前記不一致保持
手段が出力する前記判定信号が不一致に変化したタイミ
ングでの計測クロック数を保持するクロック計測手段
と、前記第2の判定遅延手段が出力する第2の遅延判定
信号が不一致を示すときに前記保持した計測クロック数
を所定の間隔でシリアル出力する計測クロック数出力手
段と、前記第2の判定遅延手段が出力する前記第2の遅
延判定信号が一致を示すときは前記出力データロック手
段の出力を選択し、不一致のときは前記計測クロック数
出力手段の出力を選択し出力する選択手段と、前記期待
値入力端子に接続され、前記第1の判定遅延手段が出力
する第1の遅延判定信号が一致を示すときはハイインピ
ーダンスを出力し、前記第1の遅延判定信号が不一致を
示すときに前記選択手段の出力信号を出力する出力バッ
ファとである。
As an eighth solution, a test circuit for a semiconductor integrated circuit according to the present invention is the same as the sixth solution, with the addition of the following components. That is, the first determination delay means for delaying the determination signal output from the AND means by a predetermined cycle and the second determination delay means for delaying the delay determination signal from the first determination delay means by a predetermined cycle.
Determination delay means, a clock measuring means for measuring a clock and holding the number of measurement clocks at the timing when the determination signal output from the mismatch holding means changes to mismatch, and the second determination delay means output. Measurement clock number output means for serially outputting the held measurement clock number at a predetermined interval when the second delay determination signal indicates a mismatch, and the second delay determination signal output by the second determination delay means. Are connected to the expected value input terminal, and selection means for selecting and outputting the output of the measurement clock number output means when they do not match, and Output a high impedance when the first delay determination signal output from the determination delay means of 1 indicates a match, and select the above when the first delay determination signal indicates a mismatch. Is an output buffer for outputting an output signal of the stage.

【0026】これは、前述同様に、異常動作時にテスト
対象回路の出力データ信号が論理的に“0”,“1”い
ずれであったかの不良情報に加えて、異常動作が発生し
たのがどのタイミングであるかの不良時刻情報を外部出
力するものである。さらに、不良情報と不良時刻情報と
を同一の出力端子から外部出力するものである。不良情
報だけでなく不良時刻情報も取得することができるとと
もに、不良時刻情報信号の外部出力に不良情報信号出力
のための不良情報出力端子を兼用しており、回路構成の
簡略化を進めることができる。
This is similar to the above, in addition to the defect information indicating whether the output data signal of the test target circuit is logically "0" or "1" at the time of the abnormal operation, the timing at which the abnormal operation occurs. Is output to the outside. Further, the defect information and the defect time information are externally output from the same output terminal. Not only the failure information but also the failure time information can be obtained, and the failure information output terminal for outputting the failure information signal is also used for the external output of the failure time information signal, which simplifies the circuit configuration. it can.

【0027】第9の解決手段として、本発明による半導
体集積回路のテスト回路は、上記第6〜第8の解決手段
において、前記期待値遅延手段、前記遅延系の比較手段
および前記遅延系の不一致保持手段の組が複数組以上設
けられ、前記論理積手段は、前記不一致保持手段と前記
複数組の遅延系の不一致保持手段の論理積をとるように
構成されている。
As a ninth solving means, a test circuit for a semiconductor integrated circuit according to the present invention is the above sixth to eighth solving means, wherein the expected value delay means, the delay system comparing means and the delay system do not match. A plurality of sets of holding means are provided, and the logical product means is configured to take a logical product of the mismatch holding means and the plurality of sets of delay system mismatch holding means.

【0028】これは、判定遅延手段、遅延系の比較手段
および遅延系の不一致保持手段の組が複数組あること、
換言すれば、比較から不一致保持の系統が3つ以上ある
ことを記述している。上記第8の解決手段では、比較か
ら不一致保持の系統が2つであることを記述しているの
に対するものである。系統数は2に限定する必要がない
ことを明確にしている。系統の数が多いほど、内部遅延
のばらつきを吸収する作用が大きく、より高精度な比較
判定に基づくテストが可能となる。
This is because there are a plurality of sets of judgment delay means, delay system comparison means, and delay system disagreement holding means.
In other words, it is described from the comparison that there are three or more systems that hold disagreement. In contrast to the eighth solving means, it is described from the comparison that there are two systems for holding the mismatch. It is clarified that the number of lines need not be limited to two. The larger the number of systems, the greater the effect of absorbing the variation in internal delay, and the more accurate the test based on the comparison judgment becomes.

【0029】第10の解決手段として、本発明による半
導体集積回路のテスト回路は、上記第1〜第9の解決手
段において、前記不一致保持手段および前記遅延系の不
一致保持手段のそれぞれの出力信号を個別的に外部出力
する出力端子群を備えるものである。
As a tenth solving means, a test circuit for a semiconductor integrated circuit according to the present invention is characterized in that, in the above first to ninth solving means, respective output signals of the mismatch holding means and the delay system mismatch holding means are outputted. It is provided with an output terminal group for individually outputting to the outside.

【0030】この場合、出力端子群から複数相の判定信
号を取得でき、タイミング調整の指標として利用するこ
とができる。そして、期待値信号の入力タイミングが早
いタイミングと遅いタイミングのどちらにずれても、良
品判定できるように調整できる。
In this case, determination signals of a plurality of phases can be acquired from the output terminal group and can be used as an index for timing adjustment. Then, it can be adjusted so that the non-defective product can be determined regardless of whether the input timing of the expected value signal is earlier or later.

【0031】第11の解決手段として、本発明による半
導体集積回路のテスト回路は、上記第1〜第10の解決
手段において、さらに、前記判定信号出力端子に出力さ
れる前記判定信号が不一致を示すとき、前記テスト対象
回路に対する供給クロックを停止させるクロック制御手
段を備えた構成としている。
As an eleventh solving means, in the test circuit for a semiconductor integrated circuit according to the present invention, in addition to the above first to tenth solving means, the judgment signals output to the judgment signal output terminals show a mismatch. At this time, the clock control means for stopping the supply clock to the circuit under test is provided.

【0032】これによれば、出力データ信号が期待値信
号から不一致となったタイミングにおいて、テスト対象
回路へのクロック供給を停止し、実装トランジスタのス
イッチング動作を内部的に強制停止させることができ
る。したがって、外部からの操作で不一致のタイミング
を見計らってクロック供給を絶つ必要がなく、当該のテ
ストで不一致を生じた状態を保持したまま不良箇所を特
定することができる。例えば、テストパターンを使って
電流量に応じた発光現象を用いて不良箇所の解析ができ
る。
According to this, at the timing when the output data signal does not match the expected value signal, the clock supply to the circuit under test can be stopped, and the switching operation of the mounted transistor can be internally stopped forcibly. Therefore, it is not necessary to cut off the clock supply by observing the timing of the mismatch by an external operation, and the defective portion can be specified while maintaining the state where the mismatch occurs in the test. For example, a defective portion can be analyzed by using a light emission phenomenon corresponding to the amount of current using a test pattern.

【0033】第12の解決手段として、本発明による半
導体集積回路のテスト回路は、上記第1〜第11の解決
手段において、さらに、次のように構成したものであ
る。すなわち、前記テスト対象回路が前記出力データ信
号を複数ビット出力するものであり、前記期待値入力端
子、前記比較手段、前記不一致保持手段、前記判定信号
出力端子、前記出力データロック手段および前記不良情
報出力端子の組が前記出力データ信号のビット数に応じ
て複数組設けられ、前記複数の不一致保持手段の出力の
論理和を前記判定信号とするものである。
As a twelfth solving means, a test circuit for a semiconductor integrated circuit according to the present invention is the same as the above first to eleventh solving means, further configured as follows. That is, the test target circuit outputs the output data signal in a plurality of bits, and the expected value input terminal, the comparing means, the mismatch holding means, the determination signal output terminal, the output data locking means, and the failure information. A plurality of sets of output terminals are provided according to the number of bits of the output data signal, and the logical sum of the outputs of the plurality of mismatch holding means is used as the determination signal.

【0034】これによれば、テスト対象回路の多ビット
からなる複数の出力データ信号について、出力データ信
号と期待値信号との内部比較を行いながら、不良発生時
の多ビットの不良情報を保持することができ、不良解析
を有利に展開することができる。
According to this, for a plurality of multi-bit output data signals of the circuit under test, the multi-bit failure information at the time of failure is held while internally comparing the output data signal and the expected value signal. Therefore, the failure analysis can be advantageously developed.

【0035】[0035]

【発明の実施の形態】(実施の形態1)図1は本発明の
実施の形態1における半導体集積回路のテスト回路の構
成を示す回路図である。
(First Embodiment) FIG. 1 is a circuit diagram showing a structure of a test circuit of a semiconductor integrated circuit according to a first embodiment of the present invention.

【0036】テスト対象回路1からの出力データ信号A
と期待値入力端子2からの期待値信号Bとが排他的論理
和ゲートからなる比較手段3に入力されている。比較手
段3は、テスト対象回路1から出力される出力データ信
号Aとそれに対応する期待値信号Bとを比較し、一致の
ときは比較結果信号Cとして“0”を出力し、不一致の
ときは比較結果信号Cとして“1”を出力する。比較手
段3からの比較結果信号Cが不一致保持手段M1に入力
されている。不一致保持手段M1は論理和ゲート4とリ
セット付きフリップフロップ5から構成されている。論
理和ゲート4の入力側には比較手段3の出力とフリップ
フロップ5の出力とが入力され、論理和ゲート4の出力
はフリップフロップのデータ入力(D)に接続されてい
る。フリップフロップ5は、論理和ゲート4からのデー
タをテストパターンの1周期毎すなわちクロックCLK
0の立ち上がりエッジ毎に更新的に記憶するとともに、
比較結果信号Cが不一致の“1”のときには、その
“1”を一旦保持すると、リセットされるまで保持し続
ける機能を有している。不一致保持手段M1が出力する
判定信号Dは判定信号出力端子6に出力されるととも
に、出力データロック手段M2に供給されている。判定
信号Dはテスト対象回路1が良品であるか不良品である
かを示すものである。
Output data signal A from the circuit under test 1
And the expected value signal B from the expected value input terminal 2 are inputted to the comparison means 3 which is an exclusive OR gate. The comparison means 3 compares the output data signal A output from the test target circuit 1 with the corresponding expected value signal B, and outputs “0” as the comparison result signal C when they match and when they do not match. "1" is output as the comparison result signal C. The comparison result signal C from the comparison means 3 is input to the mismatch holding means M1. The mismatch holding means M1 is composed of an OR gate 4 and a flip-flop 5 with reset. The output of the comparator 3 and the output of the flip-flop 5 are input to the input side of the OR gate 4, and the output of the OR gate 4 is connected to the data input (D) of the flip-flop. The flip-flop 5 receives the data from the OR gate 4 every cycle of the test pattern, that is, the clock CLK.
It is updated and stored for each rising edge of 0 , and
When the comparison result signal C is "1" that does not match, once the "1" is held, it has a function of holding it until it is reset. The determination signal D output from the mismatch holding means M1 is output to the determination signal output terminal 6 and is also supplied to the output data locking means M2. The determination signal D indicates whether the test target circuit 1 is a good product or a defective product.

【0037】テスト対象回路1からの出力データ信号A
は出力データロック手段M2にも供給されている。出力
データロック手段M2は論理積ゲート7とフリップフロ
ップ8から構成されている。不一致保持手段M1が出力
する判定信号Dは論理積ゲート7の1入力に対して論理
反転して入力されている。テスト対象回路1からの出力
データ信号Aがフリップフロップ8のデータ入力(D)
に接続され、データ出力(Q)が不良情報出力端子9に
接続されている。フリップフロップ8のクロック入力
(CLK)に接続の論理積ゲート7は、判定信号Dが
“0”のときすなわちテスト対象回路1の出力データ信
号Aが期待値信号Bと一致する状態では、ゲート開の状
態であり、出力データ信号AをクロックCLK0に同期
して出力する。また、判定信号Dが“1”のときすなわ
ちテスト対象回路1の出力データ信号Aのが期待値信号
Bと一致しない状態では、非導通となって、不一致状態
が発生したタイミングでの出力データ信号Aを保持し、
それ以降、その不良を示す不良情報信号Eを出力する。
Output data signal A from the circuit under test 1
Is also supplied to the output data lock means M2. The output data lock means M2 is composed of an AND gate 7 and a flip-flop 8. The determination signal D output from the mismatch holding means M1 is logically inverted and input to one input of the AND gate 7. The output data signal A from the test target circuit 1 is the data input (D) of the flip-flop 8.
, And the data output (Q) is connected to the defect information output terminal 9. The AND gate 7 connected to the clock input (CLK) of the flip-flop 8 opens the gate when the decision signal D is “0”, that is, when the output data signal A of the test target circuit 1 matches the expected value signal B. In this state, the output data signal A is output in synchronization with the clock CLK 0 . Further, when the determination signal D is "1", that is, when the output data signal A of the test target circuit 1 does not match the expected value signal B, the output data signal becomes non-conductive, and the output data signal at the timing when the mismatched state occurs. Hold A,
After that, the defect information signal E indicating the defect is output.

【0038】以下、上記のように構成された本実施の形
態の半導体集積回路のテスト回路の動作を説明する。ク
ロックCLK0は、テスト対象回路(半導体集積回路)
1と当該のテスト回路とに共通に供給される。
The operation of the test circuit of the semiconductor integrated circuit of the present embodiment configured as above will be described below. The clock CLK 0 is the circuit under test (semiconductor integrated circuit)
1 and the test circuit concerned are commonly supplied.

【0039】テスト対象回路1がリセットされると、不
一致保持手段M1のフリップフロップ5は、そのリセッ
ト端子に図示されないリセット信号が入力され、論理
“0”に初期化される。テスト対象回路1から出力され
る出力データ信号Aと期待値入力端子2から入力される
期待値信号Bとが比較手段3によって比較され、その比
較結果信号Cは論理和ゲート4に入力される。論理和ゲ
ート4には比較手段3の比較結果信号Cとフリップフロ
ップ5の出力が入力されて論理和される。論理和ゲート
4の論理和出力はフリップフロップ5に入力される。フ
リップフロップ5は、クロックCLK0の立ち上がりタ
イミングで論理和ゲート4の出力を記憶する。
When the circuit under test 1 is reset, the flip-flop 5 of the mismatch holding means M1 receives a reset signal (not shown) at its reset terminal and is initialized to logic "0". The output data signal A output from the test target circuit 1 and the expected value signal B input from the expected value input terminal 2 are compared by the comparison means 3, and the comparison result signal C is input to the OR gate 4. The comparison result signal C of the comparison means 3 and the output of the flip-flop 5 are input to the logical sum gate 4 and logically summed. The logical sum output of the logical sum gate 4 is input to the flip-flop 5. The flip-flop 5 stores the output of the OR gate 4 at the rising timing of the clock CLK 0 .

【0040】《良品の場合》テストパターンのすべての
周期においてテスト対象回路1から出力される出力デー
タ信号Aが正常で、出力データ信号Aが期待値入力端子
2から入力される期待値信号Bと一致する場合、比較手
段3による比較結果信号Cは論理“0”であり、不一致
保持手段M1のフリップフロップ5の出力である判定信
号Dは論理“0”のままである。出力データ信号Aが正
常状態を続けるとき、判定信号出力端子6はテスト終了
まで論理“0”の判定信号Dを出力し続ける。外部のL
SIテスタでは判定信号出力端子6からの論理“0”の
出力を観測し、良品と判定する。判定信号Dが“0”の
とき、その論理反転の“1”を入力する出力データロッ
ク手段M2の論理積ゲート7はゲート開であり、正常な
出力データ信号AをクロックCLK0に同期して不良情
報出力端子9より順次に外部出力する。
<In the case of non-defective product> The output data signal A output from the circuit under test 1 is normal in all cycles of the test pattern, and the output data signal A is the expected value signal B input from the expected value input terminal 2. When they match, the comparison result signal C by the comparison means 3 is logic "0", and the determination signal D which is the output of the flip-flop 5 of the mismatch holding means M1 remains logic "0". When the output data signal A continues to be in the normal state, the judgment signal output terminal 6 continues to output the judgment signal D of logic "0" until the end of the test. External L
The SI tester observes the output of the logic "0" from the determination signal output terminal 6 and determines that it is a good product. When the determination signal D is "0", the AND gate 7 of the output data locking means M2 for inputting "1" of the logical inversion is the gate to open in synchronization normal output data signal A to the clock CLK 0 The defect information output terminal 9 sequentially outputs to the outside.

【0041】《不良品の場合》テストパターンのある周
期で出力データ信号Aが不良で、比較手段3において、
出力データ信号Aと期待値信号Bとが不一致を示すと
き、比較手段3の比較結果信号Cは“0”から“1”に
切り換わる。不一致保持手段M1のフリップフロップ5
は論理和ゲート4からの論理“1”をクロックCLK0
の立ち上がりに同期して保持する。フリップフロップ5
の出力が論理和ゲート4の入力に帰還されているので、
フリップフロップ5は一旦“1”を保持すると、それ以
降で比較結果信号Cが“0”になっても、“1”の保持
および出力を継続する。それはリセットされるまで続
く。
<< In case of defective product >> The output data signal A is defective at a certain cycle of the test pattern, and the comparing means 3
When the output data signal A and the expected value signal B show a mismatch, the comparison result signal C of the comparison means 3 switches from "0" to "1". Flip-flop 5 of the mismatch holding means M1
Represents the logic "1" from the OR gate 4 as the clock CLK 0
Hold in sync with the rising edge of. Flip flop 5
Since the output of is fed back to the input of OR gate 4,
Once the flip-flop 5 holds "1", it keeps holding and outputting "1" even if the comparison result signal C becomes "0" thereafter. It lasts until it is reset.

【0042】不一致保持手段M1のフリップフロップ5
が出力する判定信号Dが“1”に切り換わったとき、そ
の論理反転の“0”を入力する出力データロック手段M
2の論理積ゲート7はゲート閉の状態に切り換わり、フ
リップフロップ8は不良が発生した時点の出力データ信
号Aを保持し、それ以降、その不良を示す不良情報信号
Eを不良情報出力端子9から出力する。外部のLSIテ
スタでは判定信号出力端子6からの論理“1”の判定信
号Dを観測し、不良品と判定するとともに、不良情報出
力端子9から出力される不良情報信号Eを不良解析の情
報として使用する。この判定信号Dが“1”のときに出
力される不良情報信号Eは、テスト対象回路1が不良を
引き起こしたときの論理(“0”または“1”)を示し
ている。なお、フリップフロップ5をリセットすると、
論理積ゲート7はゲート開を再開する。
Flip-flop 5 of the mismatch holding means M1
When the decision signal D output by the switch is switched to "1", the output data lock means M for inputting "0" of its logical inversion
The AND gate 7 of 2 switches to the gate closed state, the flip-flop 8 holds the output data signal A at the time when the defect occurs, and thereafter, the defect information signal E indicating the defect is transmitted to the defect information output terminal 9 Output from. An external LSI tester observes the judgment signal D of logic "1" from the judgment signal output terminal 6 to judge that it is a defective product, and at the same time, uses the failure information signal E output from the failure information output terminal 9 as failure analysis information. use. The failure information signal E output when the determination signal D is "1" indicates the logic ("0" or "1") when the test target circuit 1 causes a failure. In addition, when the flip-flop 5 is reset,
The AND gate 7 restarts the gate opening.

【0043】以上のように、本実施の形態によれば、異
常動作を発生したタイミングにおけるテスト対象回路1
の出力データ信号Aについて、そのときの論理が“0”
であったか“1”であったかの不良情報を、出力データ
信号と期待値信号との内部比較を行いながら、記憶し外
部出力することができる。この不良解析に用いる情報
は、不一致が生じた後は保持されているため、高速テス
ト時にもボード容量に影響されることなく外部観測する
ことができる。
As described above, according to the present embodiment, the test target circuit 1 at the timing when the abnormal operation occurs
Of the output data signal A of "0" at that time
It is possible to store and externally output the defect information indicating whether it is "1" or "1" while internally comparing the output data signal and the expected value signal. Since the information used for this failure analysis is retained after the mismatch, it can be externally observed even during the high speed test without being affected by the board capacitance.

【0044】(実施の形態2)図2は本発明の実施の形
態2における半導体集積回路のテスト回路の構成を示す
回路図である。実施の形態1の場合の図1と同じ構成要
素には同一符号を付与して説明を省略する。
(Second Embodiment) FIG. 2 is a circuit diagram showing a structure of a test circuit of a semiconductor integrated circuit according to a second embodiment of the present invention. The same components as those in FIG. 1 in the first embodiment are designated by the same reference numerals and the description thereof will be omitted.

【0045】テスト対象回路1からは2ビットの出力デ
ータ信号A1,A2が出力されるようになっている。こ
れに対応して、比較手段3として3a,3bの2つが設
けられ、不一致保持手段M1における論理和ゲート4と
して4a,4bの2つ、リセット付きフリップフロップ
5として5a,5bの2つがそれぞれ設けられている。
また、出力データロック手段M2における論理積ゲート
7として7a,7bの2つ、およびフリップフロップ8
として8a,8bの2つがそれぞれ設けられている。
The test target circuit 1 outputs 2-bit output data signals A1 and A2. Correspondingly, two comparators 3a and 3b are provided, two OR gates 4a and 4b in the mismatch holding means M1 and two reset flip-flops 5a and 5b are provided, respectively. Has been.
Further, two AND gates 7a and 7b are provided as the AND gate 7 in the output data lock means M2, and the flip-flop 8
Are provided respectively as 8a and 8b.

【0046】テスト対象回路1からの2ビットの出力デ
ータ信号A1,A2と期待値入力端子2a,2bからの
2ビットの期待値信号B1,B1とがそれぞれ排他的論
理和ゲートからなる比較手段3a,3bに入力されてい
る。比較手段3aは、テスト対象回路1から出力される
1ビット目の出力データ信号A1とそれに対応する期待
値信号B1とを比較し、一致のときは比較結果信号C1
として“0”を出力し、不一致のときは比較結果信号C
1として“1”を出力する。比較手段3bは、2ビット
目の出力データ信号A2とそれに対応する期待値信号B
2とを比較し、一致のときは比較結果信号C2として
“0”を出力し、不一致のときは比較結果信号C2とし
て“1”を出力する。比較手段3a,3bからの比較結
果信号C1,C2がそれぞれ不一致保持手段M1に入力
されている。
The comparison means 3a in which the 2-bit output data signals A1 and A2 from the test target circuit 1 and the 2-bit expected value signals B1 and B1 from the expected value input terminals 2a and 2b are exclusive OR gates, respectively. , 3b. The comparing means 3a compares the output data signal A1 of the first bit output from the circuit under test 1 with the expected value signal B1 corresponding to the output data signal A1, and when they match, the comparison result signal C1.
"0" is output as the comparison result signal C
"1" is output as 1. The comparison means 3b outputs the output data signal A2 of the second bit and the expected value signal B corresponding thereto.
2 is compared, and when they match, "0" is output as the comparison result signal C2, and when they do not match, "1" is output as the comparison result signal C2. The comparison result signals C1 and C2 from the comparing means 3a and 3b are input to the mismatch holding means M1, respectively.

【0047】不一致保持手段M1は、実施の形態1の場
合の図1と同様の関係にある論理和ゲート4aとリセッ
ト付きフリップフロップ5aの組み合わせ、同じく論理
和ゲート4bとリセット付きフリップフロップ5bの組
み合わせ、および論理和ゲート10から構成されてい
る。論理和ゲート10は両フリップフロップ5a,5b
が出力する出力信号D1,D2の論理和をとり、判定信
号Dとして判定信号出力端子6および出力データロック
手段M2に出力する。
The mismatch holding means M1 is a combination of an OR gate 4a and a flip-flop 5a with reset, and a combination of an OR gate 4b and a flip-flop 5b with reset, which have the same relationship as in FIG. 1 in the first embodiment. , And an OR gate 10. The OR gate 10 includes both flip-flops 5a and 5b.
Output the output signals D1 and D2, and outputs the logical sum as the determination signal D to the determination signal output terminal 6 and the output data lock means M2.

【0048】出力データロック手段M2は、実施の形態
1の場合の図1と同様の関係にある論理積ゲート7aと
フリップフロップ8aの組み合わせおよび同じく論理積
ゲート7bとフリップフロップ8bの組み合わせから構
成されている。テスト対象回路1からの2ビットの出力
データ信号A1,A2はそれぞれフリップフロップ8
a,8bのデータ入力(D)に接続され、それぞれのデ
ータ出力(Q)が不良情報出力端子9a,9bに接続さ
れている。フリップフロップ8a,8bのクロック入力
(CLK)に接続の論理積ゲート7a,7bは、判定信
号Dが“0”のときすなわちテスト対象回路1の出力デ
ータ信号A1,A2がそれぞれ期待値信号B1,B1と
一致する状態では、ゲート開の状態であり、このときフ
リップフロップ8a,8bはそれぞれ出力データ信号A
1,A2をクロックCLK0に同期して出力する。ま
た、判定信号Dが“1”のときすなわちテスト対象回路
1の出力データ信号A1,A2の少なくともいずれか一
方が期待値信号B1,B1と一致しない状態では、論理
積ゲート7a,7bはそれぞれ非導通となり、フリップ
フロップ8a,8bは不一致状態が発生した時点の出力
データ信号A1,A2を保持し、それ以降、その不良を
示す不良情報信号E1,E2を出力する。
The output data locking means M2 is composed of a combination of a logical product gate 7a and a flip-flop 8a and a combination of a logical product gate 7b and a flip-flop 8b which have the same relationship as in FIG. 1 in the first embodiment. ing. The 2-bit output data signals A1 and A2 from the circuit under test 1 are flip-flops 8 respectively.
a and 8b are connected to the data inputs (D), and the respective data outputs (Q) are connected to the defect information output terminals 9a and 9b. The AND gates 7a and 7b connected to the clock inputs (CLK) of the flip-flops 8a and 8b have the expected data signals A1 and A2 output from the test target circuit 1 when the decision signal D is "0". When the state coincides with B1, the gate is open, and at this time, the flip-flops 8a and 8b respectively output the output data signal A.
1 and A2 are output in synchronization with the clock CLK 0 . Further, when the determination signal D is "1", that is, when at least one of the output data signals A1 and A2 of the test target circuit 1 does not match the expected value signals B1 and B1, the AND gates 7a and 7b are in the non-conducting states. It becomes conductive, and the flip-flops 8a and 8b hold the output data signals A1 and A2 at the time when the mismatched state occurs, and thereafter output the failure information signals E1 and E2 indicating the failure.

【0049】以下、上記のように構成された本実施の形
態の半導体集積回路のテスト回路の動作を説明する。
The operation of the test circuit of the semiconductor integrated circuit of the present embodiment configured as above will be described below.

【0050】《良品の場合》テスト対象回路1から出力
される2ビットの出力データ信号A1,A2がともに正
常で、出力データ信号A1,A2のそれぞれが期待値入
力端子2a,2bから入力される期待値信号B1,B2
と一致する場合、比較手段3a,3bによる比較結果信
号C1,C2はともに論理“0”であり、フリップフロ
ップ5a,5bの出力信号D1,D2もともに論理
“0”となる。その結果、論理和ゲート10が出力する
判定信号Dは論理“0”のままである。出力データ信号
A1,A2が正常状態を続けるとき、判定信号出力端子
6はテスト終了まで論理“0”の判定信号Dを出力し続
ける。外部のLSIテスタでは判定信号出力端子6から
の論理“0”の出力を観測し、良品と判定する。判定信
号Dが“0”のとき、その論理反転の“1”を入力する
出力データロック手段M2の論理積ゲート7a,7bは
ゲート開であり、正常な出力データ信号A1,A2をク
ロックCLK0に同期してそれぞれ不良情報出力端子9
a,9bから順次に出力する。
<< Good Product >> Both the 2-bit output data signals A1 and A2 output from the test target circuit 1 are normal, and the output data signals A1 and A2 are input from the expected value input terminals 2a and 2b, respectively. Expected value signal B1, B2
If they match, the comparison result signals C1 and C2 by the comparison means 3a and 3b are both logic "0", and the output signals D1 and D2 of the flip-flops 5a and 5b are also logic "0". As a result, the decision signal D output from the OR gate 10 remains the logic "0". When the output data signals A1 and A2 continue to be in the normal state, the determination signal output terminal 6 continues to output the determination signal D of logic "0" until the end of the test. An external LSI tester observes the output of the logic "0" from the determination signal output terminal 6 and determines that it is a good product. When the decision signal D is "0", the AND gates 7a and 7b of the output data lock means M2 which inputs "1" of its logical inversion are gate open, and the normal output data signals A1 and A2 are supplied to the clock CLK 0. The defect information output terminal 9
It is sequentially output from a and 9b.

【0051】《不良品の場合》出力データ信号A1,A
2の少なくともいずれか一方が不良でフリップフロップ
5a,5bの少なくともいずれか一方が論理“1”を出
力するようになった場合、論理和ゲート10が出力する
判定信号Dは論理“0”から論理“1”に反転する。つ
まり、2つのフリップフロップ5a,5bのいずれかが
最初に不一致を保持してからテストが終了するまで、判
定信号出力端子6は論理“1”の判定信号Dを出力し続
けることになる。判定信号Dが“1”に切り換わったと
き、その論理反転の“0”を入力する出力データロック
手段M2の論理積ゲート7a,7bはゲート閉の状態に
切り換わり、不良が発生した時点の出力データ信号A
1,A2を保持し、それ以降、その不良を示す不良情報
信号E1,E2をそれぞれ不良情報出力端子9a,9b
から出力する。外部のLSIテスタでは判定信号出力端
子6からの論理“1”の判定信号Dを観測し、不良品と
判定するとともに、不良情報出力端子9a,9bから出
力される不良情報信号E1,E2を不良解析の情報とし
て使用する。なお、フリップフロップ5a,5bをリセ
ットすると、論理積ゲート7a,7bはゲート開を再開
する。
<< In case of defective product >> Output data signals A1, A
If at least one of the two 2 is defective and at least one of the flip-flops 5a and 5b outputs the logic "1", the determination signal D output from the OR gate 10 changes from the logic "0" to the logic "0". Invert to "1". That is, the judgment signal output terminal 6 continues to output the judgment signal D of logic "1" until the test ends after either of the two flip-flops 5a and 5b first holds the mismatch. When the determination signal D is switched to "1", the AND gates 7a and 7b of the output data lock means M2 which inputs "0" of its logical inversion are switched to the gate closed state, and the defect is generated. Output data signal A
1 and A2 are held, and thereafter, defect information signals E1 and E2 indicating the defect are output to the defect information output terminals 9a and 9b, respectively.
Output from. An external LSI tester observes the judgment signal D of logic "1" from the judgment signal output terminal 6 to judge that it is a defective product, and at the same time, judges the defect information signals E1 and E2 output from the defect information output terminals 9a and 9b to be defective. Used as information for analysis. When the flip-flops 5a and 5b are reset, the AND gates 7a and 7b restart the gate opening.

【0052】以上において、テスト対象回路1の出力を
2ビットとしたが、3ビット以上のときにも適用するこ
とができる。その場合、比較手段3の数、不一致保持手
段M1を構成する論理和ゲート4、フリップフロップ5
の数、および、出力データロック手段M2を構成する論
理積ゲート7、フリップフロップ8の数を、テスト対象
回路1の出力ビット数に応じた数とする。
In the above, the output of the circuit under test 1 is set to 2 bits, but it can be applied to the case of 3 bits or more. In that case, the number of the comparison means 3, the OR gate 4 and the flip-flop 5 which constitute the mismatch holding means M1.
, And the number of AND gates 7 and flip-flops 8 forming the output data lock means M2 are set to a number corresponding to the number of output bits of the circuit under test 1.

【0053】(実施の形態3)本発明の実施の形態3
は、不良情報信号の外部出力のための専用の出力端子を
省略するものである。すなわち、不良情報信号の出力端
子として期待値信号の入力端子を兼用するものである。
実施の形態1の場合の図1における不良情報出力端子9
がなく、図1における期待値入力端子2から不良情報信
号Eを外部出力するように構成したものである。その兼
用の端子が期待値入力不良情報出力の入出力端子2Aで
ある。
(Embodiment 3) Embodiment 3 of the present invention
Omits a dedicated output terminal for external output of the defect information signal. That is, the input terminal of the expected value signal is also used as the output terminal of the defect information signal.
Defect information output terminal 9 in FIG. 1 in the case of the first embodiment
However, the defect information signal E is externally output from the expected value input terminal 2 in FIG. The dual-purpose terminal is the input / output terminal 2A for outputting expected value input failure information.

【0054】図3は本発明の実施の形態3における半導
体集積回路のテスト回路の構成を示す回路図である。実
施の形態1の場合の図1と同じ構成要素には同一符号を
付与して説明を省略する。図3において、11は不一致
保持手段M1におけるフリップフロップ5が出力する判
定信号Dを所定の周期(ここでは4周期分)遅延させ遅
延判定信号Fとして出力する判定遅延手段である。2A
は期待値信号Bを入力するとともに不良情報信号Eを出
力する期待値入力不良情報出力の入出力端子である。1
2はトライステートバッファに構成された出力バッファ
であり、その入力端子には出力データロック手段M2に
おけるフリップフロップ8からの不良情報信号Eが接続
され、その出力端子には期待値入力不良情報出力の入出
力端子2Aが接続され、その制御端子には判定遅延手段
11からの遅延判定信号Fが入力されている。
FIG. 3 is a circuit diagram showing the structure of the test circuit of the semiconductor integrated circuit according to the third embodiment of the present invention. The same components as those in FIG. 1 in the first embodiment are designated by the same reference numerals and the description thereof will be omitted. In FIG. 3, reference numeral 11 is a judgment delay means for delaying the judgment signal D output from the flip-flop 5 in the mismatch holding means M1 by a predetermined cycle (here, four cycles) and outputting it as a delay judgment signal F. 2A
Is an input / output terminal for inputting the expected value signal B and outputting the defect information signal E for outputting the expected value input defect information. 1
Reference numeral 2 is an output buffer configured as a tri-state buffer, the input terminal of which is connected to the defect information signal E from the flip-flop 8 in the output data lock means M2, and the output terminal of which is the expected value input defect information output. The input / output terminal 2A is connected, and the delay determination signal F from the determination delay means 11 is input to its control terminal.

【0055】出力バッファ12の機能は次のとおりであ
る。出力データ信号Aが期待値信号Bに一致している状
態が続き、判定信号Dが論理“0”であり、その結果と
して、遅延判定信号Fが“0”となっているときは、出
力バッファ12はハイインピーダンスを出力し、出力デ
ータロック手段M2からの不良情報信号Eを入出力端子
2Aに対して遮断する。出力データ信号Aと期待値信号
Bとが不一致を示し判定信号Dが“0”から“1”に切
り換わり、その状態がある程度続いて遅延判定信号Fも
“0”から“1”に切り換わると、出力バッファ12は
導通状態となり、出力データロック手段M2からの不良
情報信号Eを入出力端子2Aに出力する。なお、入出力
端子2Aにおいては、出力データ信号Aと期待値信号B
とが不一致を示した時点から判定遅延手段11における
遅延時間が経過するまでの間に、期待値信号Bの入力が
停止される。これは、LSIテスタからの指示によって
行われる。判定遅延手段11は4つのフリップフロップ
で構成されており、クロックCLK0の4クロック分の
遅延時間を有している。その他の構成については実施の
形態1の場合の図1と同様であるので、同一部分に同一
符号を付すにとどめ、説明を省略する。
The function of the output buffer 12 is as follows. When the output data signal A continues to match the expected value signal B, the decision signal D is logic "0", and as a result, the delay decision signal F is "0", the output buffer Reference numeral 12 outputs a high impedance and blocks the defect information signal E from the output data lock means M2 to the input / output terminal 2A. The output data signal A and the expected value signal B indicate disagreement, the judgment signal D is switched from "0" to "1", the state continues to some extent, and the delay judgment signal F is also switched from "0" to "1". Then, the output buffer 12 becomes conductive and outputs the defect information signal E from the output data lock means M2 to the input / output terminal 2A. At the input / output terminal 2A, the output data signal A and the expected value signal B
The input of the expected value signal B is stopped during the period from the time when and indicate that they do not match until the delay time in the determination delay means 11 elapses. This is done by an instruction from the LSI tester. The judgment delay means 11 is composed of four flip-flops and has a delay time of four clocks of the clock CLK 0 . Since other configurations are similar to those of the first embodiment shown in FIG. 1, the same parts are allotted with the same reference numerals and the description thereof will be omitted.

【0056】以下、上記のように構成された本実施の形
態の半導体集積回路のテスト回路の動作を説明する。
The operation of the test circuit of the semiconductor integrated circuit of the present embodiment configured as described above will be described below.

【0057】《良品の場合》テストパターンのすべての
周期においてテスト対象回路1から出力される出力デー
タ信号Aが正常であり、期待値入力不良情報出力の入出
力端子2Aから入力される期待値信号Bと出力データ信
号Aとが一致する。この場合、比較手段3による比較結
果信号Cは論理“0”であり、不一致保持手段M1のフ
リップフロップ5の出力である判定信号Dは論理“0”
のままである。出力データ信号Aが正常状態を続けると
き、判定信号出力端子6はテスト終了まで論理“0”の
判定信号Dを出力し続ける。外部のLSIテスタでは判
定信号出力端子6からの論理“0”の出力を観測し、良
品と判定する。判定信号Dが“0”のとき、その論理反
転の“1”を入力する出力データロック手段M2の論理
積ゲート7はゲート開であり、正常な出力データ信号A
をクロックCLK0に同期して順次に出力する。また、
出力データ信号Aが正常状態を続けるとき、判定遅延手
段11から出力される遅延判定信号Fは論理“0”を出
力し続け、出力バッファ12は常にハイインピーダンス
を出力し、出力データロック手段M2におけるフリップ
フロップ8の出力端子は入出力端子2Aから切り離さ
れ、入出力端子2Aへの期待値信号Bの入力は妨げられ
ない。
<In the case of non-defective product> The output data signal A output from the circuit under test 1 is normal in all cycles of the test pattern, and the expected value signal input from the input / output terminal 2A of the expected value input failure information output. B and the output data signal A match. In this case, the comparison result signal C by the comparison means 3 is logic "0", and the determination signal D which is the output of the flip-flop 5 of the mismatch holding means M1 is logic "0".
It remains. When the output data signal A continues to be in the normal state, the judgment signal output terminal 6 continues to output the judgment signal D of logic "0" until the end of the test. An external LSI tester observes the output of the logic "0" from the determination signal output terminal 6 and determines that it is a good product. When the judgment signal D is "0", the logical product gate 7 of the output data lock means M2 for inputting the logically inverted "1" is gate open, and the normal output data signal A
Are sequentially output in synchronization with the clock CLK 0 . Also,
When the output data signal A continues to be in the normal state, the delay judgment signal F outputted from the judgment delay means 11 continues to output logic "0", the output buffer 12 always outputs high impedance, and the output data lock means M2 The output terminal of the flip-flop 8 is separated from the input / output terminal 2A, and the input of the expected value signal B to the input / output terminal 2A is not disturbed.

【0058】《不良品の場合》テストパターンのある周
期で出力データ信号Aが不良で、比較手段3において、
出力データ信号Aと期待値信号Bとが不一致を示すと
き、比較手段3の比較結果信号Cは“0”から“1”に
切り換わる。不一致保持手段M1のフリップフロップ5
は、クロックCLK0の立ち上がりに同期して“1”に
切り換えられ、“1”を保持する。すなわち、判定信号
Dは論理“0”から論理“1”に反転する。判定信号D
が“1”に切り換わると、その論理反転の“0”を入力
する出力データロック手段M2の論理積ゲート7はゲー
ト閉の状態に切り換わり、フリップフロップ8は不良が
発生した時点の出力データ信号Aを保持する。このフリ
ップフロップ8におけるデータ保持状態は、不一致保持
手段M1におけるリセット付きフリップフロップ5がリ
セットされるまで続く。
<< In case of defective product >> The output data signal A is defective at a certain cycle of the test pattern, and the comparing means 3
When the output data signal A and the expected value signal B show a mismatch, the comparison result signal C of the comparison means 3 switches from "0" to "1". Flip-flop 5 of the mismatch holding means M1
Is switched to “1” in synchronization with the rising edge of the clock CLK 0 and holds “1”. That is, the determination signal D is inverted from the logic "0" to the logic "1". Judgment signal D
Is switched to "1", the logical product gate 7 of the output data lock means M2 which inputs "0" of its logical inversion is switched to the gate closed state, and the flip-flop 8 outputs the output data at the time when the defect occurs. The signal A is held. The data holding state in the flip-flop 8 continues until the flip-flop 5 with reset in the mismatch holding means M1 is reset.

【0059】判定信号出力端子6の状態を観測している
外部のLSIテスタは、論理“0”から論理“1”への
切り換わりによって、不良品と判定するとともに、入出
力端子2Aからの期待値信号Bの入力を停止する。
The external LSI tester observing the state of the judgment signal output terminal 6 judges the defective product by switching from the logic "0" to the logic "1" and expects from the input / output terminal 2A. The input of the value signal B is stopped.

【0060】判定遅延手段11は、判定信号Dが“0”
から“1”に切り換わった時点から4周期分遅れて、そ
の遅延判定信号Fを論理“0”から論理“1”に反転す
る。遅延判定信号Fが“1”に反転されると、出力バッ
ファ12はハイインピーダンス状態から導通状態に切り
換えられ、すでに出力ロック状態にされている出力デー
タロック手段M2のフリップフロップ8からの不良情報
信号Eが出力バッファ12を通って入出力端子2Aから
出力される。このときすでに、入出力端子2Aでは期待
値信号Bの入力が停止されており、入出力端子2Aから
の不良情報信号Eの外部出力には支障はない。
The decision delay means 11 outputs a decision signal D of "0".
The delay determination signal F is inverted from the logic "0" to the logic "1" with a delay of four cycles from the time when the switch from "1" to "1". When the delay judgment signal F is inverted to "1", the output buffer 12 is switched from the high impedance state to the conduction state, and the defect information signal from the flip-flop 8 of the output data lock means M2 which has been already in the output lock state. E is output from the input / output terminal 2A through the output buffer 12. At this time, the input of the expected value signal B has already been stopped at the input / output terminal 2A, and there is no hindrance to the external output of the defect information signal E from the input / output terminal 2A.

【0061】以上のようにして、外部のLSIテスタで
は、判定信号出力端子6からの論理“1”の判定信号D
を観測して不良品と判定するとともに、入出力端子2A
から出力される不良情報信号Eを不良解析の情報として
使用する。この判定信号Dが“1”のときに出力される
不良情報信号Eは、テスト対象回路1が不良を引き起こ
したときのテスト対象回路1の出力データ信号Aの論理
(“0”または“1”)を示している。
As described above, in the external LSI tester, the judgment signal D of logic "1" from the judgment signal output terminal 6 is outputted.
I / O terminal 2A
The failure information signal E output from is used as information for failure analysis. The failure information signal E output when the determination signal D is “1” is the logic (“0” or “1”) of the output data signal A of the test target circuit 1 when the test target circuit 1 causes a failure. ) Is shown.

【0062】なお、本実施の形態では、判定遅延手段1
1が4周期分遅延するものとしたが、遅延時間について
は条件に応じて適宜に設定すればよい。外部のLSIテ
スタも精度に応じて、さらに多くのクロック数を要して
もかまわない。
In the present embodiment, the judgment delay means 1
Although 1 is delayed by 4 cycles, the delay time may be set appropriately according to the conditions. The external LSI tester may require a larger number of clocks depending on the accuracy.

【0063】以上のように本実施の形態によれば、判定
信号Dが不良状態を出力した後に不良情報信号Eを出力
させるための端子として、期待値信号Bを入力する端子
を兼用している。この兼用化を実現するのが、出力バッ
ファ12と判定遅延手段11とである。この兼用によ
り、不良情報信号Eを出力するための専用の出力端子
(実施の形態1の場合の図1における不良情報出力端子
9に相当するもの)を省略することができる。
As described above, according to the present embodiment, the terminal for inputting the expected value signal B is also used as the terminal for outputting the defect information signal E after the judgment signal D outputs the defective state. . It is the output buffer 12 and the judgment delay means 11 that realize this dual use. Due to this dual use, a dedicated output terminal for outputting the defect information signal E (corresponding to the defect information output terminal 9 in FIG. 1 in the case of the first embodiment) can be omitted.

【0064】(実施の形態4)図4は本発明の実施の形
態4における半導体集積回路のテスト回路の構成を示す
回路図である。実施の形態3の場合の図3と同じ構成要
素には同一符号を付与して説明を省略する。本実施の形
態は、異常動作時にテスト対象回路の出力データ信号が
論理的に“0”,“1”いずれであったかの不良情報信
号を外部出力するだけでなく、異常動作が発生したのが
どのタイミングであるかの不良時刻情報信号も外部出力
するものである。そして、不良情報信号と不良時刻情報
信号とを時分割して、期待値信号の入力端子(入出力端
子2A)から外部出力するものである。
(Fourth Embodiment) FIG. 4 is a circuit diagram showing a structure of a test circuit of a semiconductor integrated circuit according to a fourth embodiment of the present invention. The same components as those in FIG. 3 in the case of the third embodiment are assigned the same reference numerals and explanations thereof will be omitted. The present embodiment not only externally outputs a failure information signal indicating whether the output data signal of the test target circuit is logically "0" or "1" at the time of abnormal operation, but also which abnormal operation has occurred. The defective time information signal indicating the timing is also externally output. Then, the defect information signal and the defect time information signal are time-divided and externally output from the expected value signal input terminal (input / output terminal 2A).

【0065】図4において、21は実施の形態3の場合
の図3における判定遅延手段11と同様の構成をもつも
ので、不一致保持手段M1におけるフリップフロップ5
が出力する判定信号Dを所定の周期(ここでは4周期
分)遅延させ第1の遅延判定信号Fとして出力する第1
の判定遅延手段、22は第1の判定遅延手段21が出力
する第1の遅延判定信号Fをさらに所定の周期(ここで
は4周期分)遅延させ第2の遅延判定信号Gとして出力
する第2の判定遅延手段である。
In FIG. 4, reference numeral 21 has the same structure as the judgment delay means 11 in FIG. 3 in the third embodiment, and the flip-flop 5 in the mismatch holding means M1.
The first delay determination signal F is obtained by delaying the determination signal D output by the first delay determination signal D by a predetermined cycle (here, four cycles).
The second determination delay means 22 further delays the first delay determination signal F output from the first determination delay means 21 by a predetermined period (here, four cycles) and outputs it as the second delay determination signal G. Is a determination delay means.

【0066】M3はクロックCLK0を計測し、不一致
保持手段M1が出力する判定信号Dが不一致の“1”に
切り換わったときの計測クロック数N(D1)を保持す
るクロック計測手段であり、論理積ゲート23とリセッ
ト付きフリップフロップ24とインクリメンタ25とか
ら構成されている。論理積ゲート23にはクロックCL
0が入力されるとともに、判定信号Dの論理反転が入
力されている。論理積ゲート23の出力はフリップフロ
ップ24のクロック入力(CLK)に接続されている。
フリップフロップ24のデータ出力端子(Q)は、イン
クリメンタ25の入力端子に接続され、インクリメンタ
25の出力端子はフリップフロップ24のデータ入力端
子(D)に接続されている。フリップフロップ24は多
値の計測クロック数データHpを出力する。
M3 is a clock measuring means for measuring the clock CLK 0 and holding the number N (D1) of measured clocks when the determination signal D output from the non-coincidence holding means M1 is switched to "1" for non-coincidence. It is composed of a logical product gate 23, a flip-flop with reset 24, and an incrementer 25. A clock CL is applied to the AND gate 23.
The logic inversion of the determination signal D is input as well as K 0 is input. The output of the AND gate 23 is connected to the clock input (CLK) of the flip-flop 24.
The data output terminal (Q) of the flip-flop 24 is connected to the input terminal of the incrementer 25, and the output terminal of the incrementer 25 is connected to the data input terminal (D) of the flip-flop 24. The flip-flop 24 outputs multivalued measurement clock count data Hp.

【0067】M4は計測クロック数出力手段である。こ
の計測クロック数出力手段M4の入力端子にはクロック
計測手段M3におけるフリップフロップ24のデータ出
力端子(Q)が接続され、多値の計測クロック数データ
Hpを入力する。計測クロック数出力手段M4は、計測
クロック数データHpとクロックCLK0と第2の判定
遅延手段22からの第2の遅延判定信号Gを入力し、第
2の遅延判定信号Gが“1”に切り換わったときにアク
ティブにされ、クロックCLK0に同期して、多値の計
測クロック数データHpをパラレル/シリアル変換し、
変換後のシリアル計測クロック数信号Hsを出力する。
この計測クロック数出力手段M4は、具体的には、クロ
ックCLK0の4分周回路と、その4分周回路の出力を
クロックとしてnビットデータ(nは例えば32)を1
ビットデータにパラレル/シリアル変換するPS変換回
路の2つで構成されている。
M4 is a measurement clock number output means. The data output terminal (Q) of the flip-flop 24 in the clock measuring means M3 is connected to the input terminal of the measurement clock number output means M4, and the multivalued measurement clock number data Hp is input. The measurement clock number output means M4 inputs the measurement clock number data Hp, the clock CLK 0, and the second delay determination signal G from the second determination delay means 22, and the second delay determination signal G becomes “1”. When switched, the multi-valued measured clock count data Hp is converted into parallel / serial in synchronization with the clock CLK 0 .
The converted serial measurement clock number signal Hs is output.
Specifically, the measurement clock number output means M4 divides the clock CLK 0 by four and divides the n-bit data (n is 32, for example) into 1 by using the output of the quarter circuit as a clock.
It is composed of two PS conversion circuits that perform parallel / serial conversion into bit data.

【0068】26は出力データロック手段M2から出力
される不良情報信号Eと計測クロック数出力手段M4か
ら出力されるシリアル計測クロック数信号Hsとを入力
し、第2の判定遅延手段22からの第2の遅延判定信号
Gの論理値に従って、いずれか一方を選択して出力する
マルチプレクサなどの選択手段である。具体的には、第
2の遅延判定信号Gが論理“0”のときは不良情報信号
Eを選択し、論理“1”のときはシリアル計測クロック
数信号Hsを選択する。
Reference numeral 26 receives the defect information signal E output from the output data lock means M2 and the serial measurement clock number signal Hs output from the measurement clock number output means M4, and the second determination delay means 22 outputs the second signal. It is a selection unit such as a multiplexer that selects and outputs one of them according to the logical value of the delay determination signal G of 2. Specifically, when the second delay judgment signal G is logic "0", the defect information signal E is selected, and when it is logic "1", the serial measurement clock number signal Hs is selected.

【0069】以下、上記のように構成された本実施の形
態の半導体集積回路のテスト回路の動作を説明する。
The operation of the test circuit of the semiconductor integrated circuit of the present embodiment configured as described above will be described below.

【0070】テスト対象回路1がリセットされると、不
一致保持手段M1におけるフリップフロップ5が論理
“0”に初期化されると同時に、クロック計測手段M3
におけるフリップフロップ24も初期化され、nビット
の計測クロック数データHpの“0”からの計数を開始
する。
When the circuit under test 1 is reset, the flip-flop 5 in the mismatch holding means M1 is initialized to logic "0", and at the same time, the clock measuring means M3.
The flip-flop 24 in is also initialized, and counting of the n-bit measurement clock number data Hp from "0" is started.

【0071】良品の場合の動作については、実施の形態
3の場合と同様であり、説明を省略する。
The operation in the case of a non-defective product is the same as in the case of the third embodiment, and the description thereof will be omitted.

【0072】《不良品の場合》テストパターンのある周
期で出力データ信号Aが不良で、比較手段3において、
出力データ信号Aと期待値信号Bとが不一致を示すと
き、比較手段3の比較結果信号Cは“0”から“1”に
切り換わる。不一致保持手段M1のフリップフロップ5
が出力する判定信号Dは論理“0”から論理“1”に反
転され、この判定信号Dは、第1の判定遅延手段21と
出力データロック手段M2とクロック計測手段M3に出
力される。これによって、判定信号Dの論理反転の
“0”を入力する出力データロック手段M2の論理積ゲ
ート7はゲート閉の状態に切り換わり、フリップフロッ
プ8は不良が発生した時点の出力データ信号Aを保持す
る。また、クロック計測手段M3の論理積ゲート23も
ゲート閉の状態に切り換わり、フリップフロップ24は
テスト開始から不良発生時点までのクロック数の計数を
停止し、そのときのカウント値すなわちnビットの計測
クロック数データHpの値を保持する。これらのフリッ
プフロップ8,24におけるデータ保持状態は、不一致
保持手段M1におけるリセット付きフリップフロップ5
がリセットされるまで続く。
<< In case of defective product >> The output data signal A is defective in a certain cycle of the test pattern, and the comparing means 3
When the output data signal A and the expected value signal B show a mismatch, the comparison result signal C of the comparison means 3 switches from "0" to "1". Flip-flop 5 of the mismatch holding means M1
Is inverted from logic "0" to logic "1", and this decision signal D is output to the first decision delay means 21, output data lock means M2, and clock measurement means M3. As a result, the logical product gate 7 of the output data lock means M2 for inputting "0" of the logical inversion of the determination signal D is switched to the gate closed state, and the flip-flop 8 outputs the output data signal A at the time when the defect occurs. Hold. Further, the AND gate 23 of the clock measuring means M3 is also switched to the gate closed state, the flip-flop 24 stops counting the number of clocks from the start of the test to the time of occurrence of the defect, and the count value at that time, that is, n-bit measurement The value of the clock number data Hp is held. The data holding states of these flip-flops 8 and 24 are the same as those of the flip-flop 5 with reset in the mismatch holding means M1.
Continues until is reset.

【0073】判定信号出力端子6の状態を観測している
外部のLSIテスタは、論理“0”から論理“1”への
切り換わりによって、不良品と判定するとともに、入出
力端子2Aからの期待値信号Bの入力を停止する。
The external LSI tester observing the state of the determination signal output terminal 6 determines that it is a defective product by switching from the logic "0" to the logic "1" and expects from the input / output terminal 2A. The input of the value signal B is stopped.

【0074】第1の判定遅延手段21は、判定信号Dが
“0”から“1”に切り換わった時点から4周期分遅れ
て、その第1の遅延判定信号Fを論理“0”から論理
“1”に反転し、出力バッファ12の制御端子と第2の
判定遅延手段22に出力する。第1の遅延判定信号Fが
“1”に反転されると、出力バッファ12はハイインピ
ーダンス状態から導通状態に切り換えられる。このと
き、第2の判定遅延手段22が選択手段26の制御端子
に与えている第2の遅延判定信号Gはまだ論理“0”で
あるので、選択手段26は出力データロック手段M2か
らの不良情報信号Eの方を選択する状態である。その不
良情報信号Eが出力バッファ12を通って入出力端子2
Aから出力される。このときすでに、入出力端子2Aで
は期待値信号Bの入力が停止されており、入出力端子2
Aからの不良情報信号Eの外部出力に支障はない。
The first judgment delay means 21 delays the first delay judgment signal F from the logic "0" to the logic 4 cycles after the judgment signal D is switched from "0" to "1". It is inverted to "1" and output to the control terminal of the output buffer 12 and the second determination delay means 22. When the first delay determination signal F is inverted to "1", the output buffer 12 is switched from the high impedance state to the conductive state. At this time, since the second delay judgment signal G given to the control terminal of the selection means 26 by the second judgment delay means 22 is still logic "0", the selection means 26 is defective from the output data lock means M2. In this state, the information signal E is selected. The defect information signal E passes through the output buffer 12 and the input / output terminal 2
It is output from A. At this time, the input of the expected value signal B has already been stopped at the input / output terminal 2A,
There is no problem with the external output of the defect information signal E from A.

【0075】次いで、第2の判定遅延手段22の遅延時
間である4周期分の時間が経過すると、第2の判定遅延
手段22は、それが出力する第2の遅延判定信号Gを論
理“0”から論理“1”に反転する。これに伴って、計
測クロック数出力手段M4がアクティブにされ、クロッ
ク計測手段M3ですでにロックされた多値の計測クロッ
ク数データHpをシリアル計測クロック数信号Hsにパ
ラレル/シリアル変換する動作を開始する。また、選択
手段26は計測クロック数出力手段M4からのシリアル
計測クロック数信号Hsの方を選択する状態に切り換え
られ、そのシリアル計測クロック数信号Hsが出力バッ
ファ12を通って入出力端子2Aから出力される。
Next, when the time corresponding to four cycles which is the delay time of the second judgment delay means 22 has elapsed, the second judgment delay means 22 outputs the second delay judgment signal G output by the second judgment delay means 22 to the logic "0". From "" to logic "1". Along with this, the measurement clock number output means M4 is activated and the operation of parallel / serial conversion of the multivalued measurement clock number data Hp already locked by the clock measurement means M3 into the serial measurement clock number signal Hs is started. To do. Further, the selection means 26 is switched to a state of selecting the serial measurement clock number signal Hs from the measurement clock number output means M4, and the serial measurement clock number signal Hs is output from the input / output terminal 2A through the output buffer 12. To be done.

【0076】すなわち、出力データ信号Aと期待値信号
Bとの不一致が検出されると、その時点の出力データ信
号Aの論理値が出力データロック手段M2においてロッ
クされるとともに、その時点の時刻情報がクロック計測
手段M3においてロックされ、入出力端子2Aからの期
待値信号Bの入力が停止され、所定時間の経過後、不良
情報信号Eが入出力端子2Aから外部出力され、さらに
所定時間の経過後、シリアル計測クロック数信号Hsが
入出力端子2Aから外部出力される。
That is, when a mismatch between the output data signal A and the expected value signal B is detected, the logical value of the output data signal A at that time point is locked by the output data locking means M2 and the time information at that time point is obtained. Is locked in the clock measuring means M3, the input of the expected value signal B from the input / output terminal 2A is stopped, and after a lapse of a predetermined time, the defect information signal E is externally output from the input / output terminal 2A, and further the lapse of a predetermined time. After that, the serial measurement clock number signal Hs is externally output from the input / output terminal 2A.

【0077】計測クロック数データHpのLSBからM
SBまでのシリアル計測クロック数信号Hsへの変換に
は、n=32の場合、クロックCLK0の4クロック分
の周期で、トータル128(32×4)クロックの時間
を要する。この時間をかけてシリアル計測クロック数信
号Hsが入出力端子2Aから外部出力される。
Measured clock count data Hp from LSB to M
In the case of n = 32, conversion to the serial measurement clock number signal Hs up to SB requires a total of 128 (32 × 4) clocks in a cycle of 4 clocks of the clock CLK 0 . The serial measurement clock number signal Hs is externally output from the input / output terminal 2A over this time.

【0078】つまり、判定信号Dが論理反転してから4
クロック後に出力バッファ12がイネーブルとなり、同
時に不良情報信号Eが入出力端子2Aから出力され、そ
の4クロック後から4クロック間隔で計測クロック数出
力手段M4から不良を引き起こした周期を示すシリアル
計測クロック数信号Hsをシリアルに出力する。なお、
本実施の形態では4クロック間隔で出力する構成とした
が、その周期はこれに限定するものではない。
That is, 4 after the decision signal D is logically inverted.
The output buffer 12 is enabled after the clock, and at the same time, the failure information signal E is output from the input / output terminal 2A, and four clocks later, the serial measurement clock number indicating the cycle causing the failure from the measurement clock number output means M4 at four clock intervals. The signal Hs is output serially. In addition,
In the present embodiment, the configuration is such that the output is performed at 4 clock intervals, but the cycle is not limited to this.

【0079】以上のようにして、外部のLSIテスタで
は、判定信号出力端子6からの論理“1”の判定信号D
を観測して不良品と判定するとともに、入出力端子2A
から出力される不良情報信号Eを不良解析の情報として
使用する。この判定信号Dが“1”のときに出力される
不良情報信号Eは、テスト対象回路1が不良を引き起こ
したときの論理(“0”または“1”)を示している。
As described above, in the external LSI tester, the judgment signal D of logic "1" from the judgment signal output terminal 6 is outputted.
I / O terminal 2A
The failure information signal E output from is used as information for failure analysis. The failure information signal E output when the determination signal D is "1" indicates the logic ("0" or "1") when the test target circuit 1 causes a failure.

【0080】なお、本実施の形態では、判定遅延手段1
1が4周期分遅延するものとしたが、遅延時間について
は条件に応じて適宜に設定すればよい。外部のLSIテ
スタも精度に応じて、さらに多くのクロック数を要して
もかまわない。
In the present embodiment, the judgment delay means 1
Although 1 is delayed by 4 cycles, the delay time may be set appropriately according to the conditions. The external LSI tester may require a larger number of clocks depending on the accuracy.

【0081】以上のように、本実施の形態によれば、異
常動作を発生したタイミングにおけるテスト対象回路1
の出力データ信号Aの論理が“0”であったか“1”で
あったかの不良情報と、それに対応する周期がいつであ
ったかの不良時刻情報とを時分割で出力できるため、よ
り効果的に不良解析やテストパターンのデバッグを行う
ことができる。
As described above, according to the present embodiment, the test target circuit 1 at the timing when the abnormal operation occurs
Of the output data signal A of “0” or “1”, and the defect time information of when the corresponding cycle is when can be output in a time division manner, so that the defect analysis can be performed more effectively. And test patterns can be debugged.

【0082】なお、選択手段26は、上記の説明とは逆
に、第2の遅延判定信号Gが論理“0”のときにシリア
ル計測クロック数信号Hsを選択し、論理“1”のとき
に不良情報信号Eを選択するようにしてもよい。この場
合、入出力端子2Aからは、まずシリアル計測クロック
数信号Hsが出力され、次いで、不良情報信号Eが出力
されることになる。
Contrary to the above description, the selecting means 26 selects the serial measurement clock number signal Hs when the second delay judgment signal G is logic "0", and when it is logic "1". The defect information signal E may be selected. In this case, the serial measurement clock number signal Hs is first output from the input / output terminal 2A, and then the defect information signal E is output.

【0083】(実施の形態5)本発明の実施の形態5
は、期待値信号の時間ばらつきを吸収するものである。
(Embodiment 5) Embodiment 5 of the present invention
Is to absorb the time variation of the expected value signal.

【0084】図5は本発明の実施の形態5における半導
体集積回路のテスト回路の構成を示す回路図である。実
施の形態1の場合の図1と同じ構成要素には同一符号を
付与して説明を省略する。
FIG. 5 is a circuit diagram showing the structure of the test circuit of the semiconductor integrated circuit according to the fifth embodiment of the present invention. The same components as those in FIG. 1 in the first embodiment are designated by the same reference numerals and the description thereof will be omitted.

【0085】図5において、27aは入出力端子2Aか
らの期待値信号Bを遅延させる第1の期待値遅延手段、
27bは第1の期待値遅延手段27aによる第1の期待
値遅延信号B1をさらに遅延させる第2の期待値遅延手
段である。第1の期待値遅延手段27aと第2の期待値
遅延手段27bとは同一の構成となっている。したがっ
て、それぞれの遅延時間τ1と遅延時間τ2とは同じで
ある。これらは、例えば所定個数のバッファをシリーズ
に接続して構成することができる。また、例えばクロッ
クCLK0をクロック入力(CLK)に入力するフリッ
プフロップで1周期分の遅延を作る構成であってもよ
い。もっとも、τ1≠τ2でもかまわない。
In FIG. 5, 27a is a first expected value delay means for delaying the expected value signal B from the input / output terminal 2A,
27b is a second expected value delay means for further delaying the first expected value delay signal B 1 by the first expected value delay means 27a. The first expected value delay means 27a and the second expected value delay means 27b have the same configuration. Therefore, the respective delay times τ1 and τ2 are the same. These can be configured by connecting a predetermined number of buffers in series, for example. Further, for example, a configuration may be used in which a flip-flop that inputs the clock CLK 0 to the clock input (CLK) delays for one cycle. However, τ1 ≠ τ2 does not matter.

【0086】28aはテスト対象回路1からの出力デー
タ信号Aと第1の期待値遅延信号B 1とを比較する第1
の遅延系の比較手段、28bはテスト対象回路1からの
出力データ信号Aと第2の期待値遅延信号B2とを比較
する第2の遅延系の比較手段である。
28a is the output data from the circuit under test 1.
Signal A and first expected value delayed signal B 1First to compare with
Of the delay system of FIG.
Output data signal A and second expected value delayed signal B2Compare with
This is a second delay system comparison means.

【0087】M5aは第1の遅延系の比較手段28aか
らの第1の比較結果信号C1が不一致を示す“1”のと
きにその不一致状態を保持する第1の遅延系の不一致保
持手段、M5bは第2の遅延系の比較手段28bからの
第2の比較結果信号C2が不一致を示す“1”のときに
その不一致状態を保持する第2の遅延系の不一致保持手
段である。
M5a is a first delay system disagreement holding means for holding the disagreement state when the first comparison result signal C 1 from the first delay system comparison means 28a is "1" indicating a disagreement, M5b is a second delay based mismatch holding means for holding the mismatch state when the second comparison result signal C 2 of from comparison means 28b of the second delay system indicating the disagreement "1".

【0088】第1および第2の遅延系の不一致保持手段
M5a,M5bの構成は不一致保持手段M1と同様の構
成となっている。29a,29bは論理和ゲート、30
a,30bはリセット付きフリップフロップである。不
一致保持手段M1と第1および第2の遅延系の不一致保
持手段M5a,M5bの各出力端子は論理積ゲート(論
理積手段)31の入力端子に接続されている。論理積ゲ
ート31の出力端子からは判定信号Dが出力されるが、
この論理積ゲート31の出力端子は判定信号出力端子6
に出力されるとともに、出力データロック手段M2およ
び判定遅延手段11に供給されている。
The structure of the mismatch holding means M5a, M5b of the first and second delay systems is the same as that of the mismatch holding means M1. 29a and 29b are OR gates, 30
Reference numerals a and 30b are flip-flops with reset. The output terminals of the mismatch holding means M1 and the mismatch holding means M5a, M5b of the first and second delay systems are connected to the input terminal of the AND gate (logical product means) 31. Although the determination signal D is output from the output terminal of the AND gate 31,
The output terminal of the AND gate 31 is the judgment signal output terminal 6
And is supplied to the output data lock means M2 and the judgment delay means 11.

【0089】テスト対象回路1から出力される出力デー
タ信号Aと期待値信号Bとの比較において、期待値信号
が時間的なばらつき(ジッタ)を生じていると判定信号
Dが不正確になる。本実施の形態においては、入出力端
子2Aから入力した期待値信号Bを比較手段3で出力デ
ータ信号Aと比較するだけでなく、第1および第2の期
待値遅延手段27a,27bで1段階および2段階に遅
延させた第1および第2の期待値遅延信号B1,B2のそ
れぞれと出力データ信号Aとを比較し、これら3つの比
較結果の総合で判定信号Dを生成するようにしている。
In comparison between the output data signal A output from the circuit under test 1 and the expected value signal B, if the expected value signal has a temporal variation (jitter), the decision signal D becomes inaccurate. In the present embodiment, the comparison means 3 not only compares the expected value signal B input from the input / output terminal 2A with the output data signal A, but also the first and second expected value delay means 27a and 27b perform one step. And the output data signal A is compared with each of the first and second expected value delayed signals B 1 and B 2 delayed in two stages, and the decision signal D is generated by the sum of these three comparison results. ing.

【0090】すなわち、比較結果信号Cが“1”に反転
したときは不一致保持手段M1の出力信号D0は“1”
に反転保持される。また、第1の比較結果信号C1
“1”に反転したときは第1の遅延系の不一致保持手段
M5aの出力信号D1は“1”に反転保持される。ま
た、第2の比較結果信号C2が“1”に反転したときは
第2の遅延系の不一致保持手段M5bの出力信号D2
“1”に反転保持される。これら3つの比較結果信号
C,C1,C2がすべて“0”から“1”に反転し、その
結果として、3つの出力信号D0,D1,D2がすべて
“1”になったときに限り論理積ゲート31が出力する
判定信号Dが“1”に反転する。それ以外のときは、判
定信号Dは“0”のままである。
That is, when the comparison result signal C is inverted to "1", the output signal D 0 of the mismatch holding means M1 is "1".
Is held in reverse. Further, when the first comparison result signal C 1 is inverted to "1", the output signal D 1 of the first delay system mismatch holding means M5a is inverted and held to "1". When the second comparison result signal C 2 is inverted to "1", the output signal D 2 of the second delay system mismatch holding means M5b is inverted and held at "1". These three comparison result signals C, C 1 , C 2 are all inverted from “0” to “1”, and as a result, the three output signals D 0 , D 1 , D 2 are all “1”. Only occasionally, the decision signal D output from the AND gate 31 is inverted to "1". At other times, the determination signal D remains "0".

【0091】以下、上記のように構成された本実施の形
態の半導体集積回路のテスト回路の動作を説明する。
The operation of the test circuit of the semiconductor integrated circuit of the present embodiment having the above configuration will be described below.

【0092】《良品の場合》テスト対象回路1から出力
される出力データ信号Aは、比較手段3と第1の遅延系
の比較手段28aと第2の遅延系の比較手段28bの3
箇所で期待値信号Bと第1の期待値遅延信号B1と第2
の期待値遅延信号B2によって比較される。テスト対象
回路1が正常であれば、入力される期待値信号Bにタイ
ミングばらつきがあっても、少なくとも1箇所では一致
する。すなわち、比較結果信号C、第1の比較結果信号
1、第2の比較結果信号C2のうち少なくともいずれか
1つは“0”を維持する。その結果、不一致保持手段M
1の出力信号D0、第1の遅延系の不一致保持手段M5
aの出力信号D1、第2の遅延系の不一致保持手段M5
bの出力信号D2のいずれか1つは“0”を維持する。
したがって、論理積ゲート31の出力である判定信号D
は“0”を維持し、これが判定信号出力端子6から外部
のLSIテスタへ正常を示す判定信号Dが出力される。
<< In the case of non-defective product >> The output data signal A output from the test target circuit 1 is 3 of the comparing means 3 and the comparing means 28a of the first delay system and the comparing means 28b of the second delay system.
Where the expected value signal B, the first expected value delayed signal B 1 and the second
Are compared by the expected delay signal B 2 . If the circuit under test 1 is normal, even if there is timing variation in the expected value signal B that is input, it will match at least at one location. That is, at least one of the comparison result signal C, the first comparison result signal C 1 , and the second comparison result signal C 2 maintains “0”. As a result, the mismatch holding means M
1 output signal D 0 , first delay system mismatch holding means M5
a output signal D 1 of the second delay system disagreement holding means M5
Any one of the output signals D 2 of b maintains "0".
Therefore, the decision signal D which is the output of the AND gate 31
Keeps "0", and this outputs the judgment signal D indicating normality from the judgment signal output terminal 6 to the external LSI tester.

【0093】《不良品の場合》テスト対象回路1に異常
が発生しておれば、入力される期待値信号Bにタイミン
グばらつきがあれば、3つの比較箇所すべてにおいて不
一致となる。すなわち、比較結果信号C、第1の比較結
果信号C1、第2の比較結果信号C2のうちすべてが
“1”に反転する。その結果、不一致保持手段M1の出
力信号D0、第1の遅延系の不一致保持手段M5aの出
力信号D1、第2の遅延系の不一致保持手段M5bの出
力信号D2のいずれもが“1”となり、論理積ゲート3
1の出力である判定信号Dも“1”に反転する。判定信
号出力端子6から外部のLSIテスタへ異常を示す判定
信号Dが出力される。
<< In Case of Defective Product >> If an abnormality has occurred in the test target circuit 1, and if there is timing variation in the expected value signal B to be input, there will be a mismatch at all three comparison points. That is, all of the comparison result signal C, the first comparison result signal C 1 , and the second comparison result signal C 2 are inverted to “1”. As a result, the output signal D 0 mismatch holding means M1, the output signal D 1 of the mismatch holding means M5a of the first delay system, none of the output signal D 2 mismatches holding means M5b of the second delay system "1 "And the AND gate 3
The determination signal D, which is the output of 1, is also inverted to "1". The determination signal output terminal 6 outputs a determination signal D indicating an abnormality to an external LSI tester.

【0094】外部のLSIテスタでは判定信号出力端子
6から出力されてきた判定信号Dの論理“1”をもって
不良品と判定するとともに、入出力端子2Aからの期待
値信号Bの入力を停止する。また、判定信号Dが“1”
に切り換わったタイミングで出力データ信号Aの論理値
が出力データロック手段M2に保持され不良情報信号E
として出力される。それから所定時間遅れて判定遅延手
段11が出力する遅延判定信号Fが“1”に切り換わる
と、出力バッファ12がハイインピーダンス状態から導
通状態に切り換わり、前記の保持された不良情報信号E
が出力バッファ12を通して入出力端子2Aから外部の
LSIテスタに出力される。
In the external LSI tester, the logic "1" of the determination signal D output from the determination signal output terminal 6 determines that the product is defective, and the input of the expected value signal B from the input / output terminal 2A is stopped. Further, the determination signal D is "1"
The logic value of the output data signal A is held in the output data lock means M2 at the timing of switching to the defect information signal E.
Is output as. Then, when the delay judgment signal F output from the judgment delay means 11 switches to "1" after a predetermined time delay, the output buffer 12 switches from the high impedance state to the conducting state, and the held defect information signal E is held.
Is output from the input / output terminal 2A to the external LSI tester through the output buffer 12.

【0095】なお、本実施の形態では、期待値信号Bの
遅延ばらつきを吸収するための遅延系のブロックを2つ
使用したが、この数は1でもよいし、あるいは3以上で
もよい。
In this embodiment, two delay system blocks for absorbing the delay variation of the expected value signal B are used, but the number may be one or three or more.

【0096】以上のように、本実施の形態によれば、入
力されてきた期待値信号とそれが指定の時間間隔で遅延
された1以上の期待値信号とでテスト対象回路1の出力
データ信号Aを並行比較することができるため、テスト
対象回路1の内部遅延のばらつきに影響されることなく
適正なテストを実施でき、従来技術に比べて、検査時間
の短縮を図ることができる。
As described above, according to the present embodiment, the output data signal of the test target circuit 1 is composed of the input expected value signal and one or more expected value signals delayed by a specified time interval. Since A can be compared in parallel, an appropriate test can be performed without being affected by variations in the internal delay of the test target circuit 1, and the inspection time can be shortened as compared with the conventional technique.

【0097】(変形の実施の形態) (1)図6に示すように、不一致保持手段M1、第1の
遅延系の不一致保持手段M5a、第2の遅延系の不一致
保持手段M5bそれぞれの出力端子に外部出力端子32
a,32b,32cを接続する構成とし、タイミング調
整の指標として用いてもよい。この構成により、良品サ
ンプルを用いて、入出力端子2Aから期待値信号Bを入
力するタイミングについて、第1の遅延系の比較手段2
8aおよび第1の遅延系の不一致保持手段M5aで良品
判定されるタイミングに調整できる。つまり、早いタイ
ミングと遅いタイミングのどちらにずれても良品判定で
きるように調整可能となる。
(Modified Embodiment) (1) As shown in FIG. 6, output terminals of the mismatch holding means M1, the first delay system mismatch holding means M5a, and the second delay system mismatch holding means M5b, respectively. External output terminal 32
It may be configured to connect a, 32b, and 32c and used as an index for timing adjustment. With this configuration, with respect to the timing of inputting the expected value signal B from the input / output terminal 2A using the non-defective sample, the comparison means 2 of the first delay system
8a and the first delay system non-coincidence holding means M5a can be adjusted to a timing at which a non-defective product is determined. That is, it is possible to perform adjustment so that the non-defective product can be determined regardless of whether the timing is earlier or later.

【0098】(2)図7に示すように、テスト対象回路
1にクロックCLK0を供給する系に、不一致時クロッ
ク供給を停止するクロック制御手段M6を介在させるよ
うに構成してもよい。具体的には、論理積ゲート33を
介在させ、この論理積ゲート33を判定信号Dの論理反
転で制御する。すなわち、出力データ信号Aと期待値信
号Bとの不一致が生じ判定信号Dが“1”に反転したと
きに、テスト対象回路1に対するクロックCLK0の供
給を停止する。不一致時に、実装したトランジスタのス
イッチング動作を停止させ、テストパターンを使って電
流量に応じた発光現象を用いて不良箇所の解析ができ
る。
(2) As shown in FIG. 7, the system for supplying the clock CLK 0 to the circuit under test 1 may be arranged to interpose the clock control means M6 for stopping the clock supply at the time of mismatch. Specifically, the AND gate 33 is interposed, and the AND gate 33 is controlled by the logical inversion of the determination signal D. That is, when a mismatch occurs between the output data signal A and the expected value signal B and the determination signal D is inverted to “1”, the supply of the clock CLK 0 to the test target circuit 1 is stopped. When they do not match, the switching operation of the mounted transistor is stopped, and the defective portion can be analyzed by using the light emission phenomenon according to the current amount using the test pattern.

【0099】なお、図7は実施の形態1の場合の図1に
クロック制御手段M6を追加したものに相当するが、同
じことを他の実施の形態に適用してもよい。
Although FIG. 7 corresponds to the case of the first embodiment with the addition of the clock control means M6 to FIG. 1, the same thing may be applied to other embodiments.

【0100】(3)図2に示す実施の形態2は、テスト
対象回路1が複数ビットの出力データ信号Aを出力する
ことを骨子とするが、この概念を、図3に示す実施の形
態3、図4に示す実施の形態4、図5に示す実施の形態
5、さらにはこれらの変形の実施の形態にそれぞれ適用
してもよい。
(3) The second embodiment shown in FIG. 2 is based on the fact that the test target circuit 1 outputs the output data signal A of a plurality of bits. This concept is the same as the third embodiment shown in FIG. 4 may be applied to the fourth embodiment shown in FIG. 4, the fifth embodiment shown in FIG. 5, and further modified embodiments thereof.

【0101】(4)図4に示す実施の形態4は図3に示
す実施の形態3との比較において、クロック計測手段M
3および計測クロック数出力手段M4を追加し、不良時
刻情報をも外部出力することに骨子があるが、シリアル
計測クロック数信号Hsを入出力端子2Aから出力する
ことを無視して考えて、その概念を、他の実施の形態に
適用してもよい。その場合に、計測クロック数出力手段
M4を省略し、計測クロック数データHpを出力するた
めの複数の端子を設けてもよい。また、出力データロッ
ク手段M2および選択手段26を省略し、シリアル計測
クロック数信号Hsを外部出力する端子を設けてもよ
い。これらの変形の実施の形態を図8、図9に示す。図
8において、34は計測クロック数出力手段M4からの
シリアル計測クロック数信号Hsを外部出力するための
外部出力端子、図9において、35は選択手段26から
の不良情報信号Eまたはシリアル計測クロック数信号H
sを外部出力するための外部出力端子である。また、図
示は省略するが、不良情報信号Eを出力バッファ12を
介して入出力端子2Aから出力する一方、シリアル計測
クロック数信号Hsを専用の外部出力端子から出力する
ように構成してもよいし、逆に、シリアル計測クロック
数信号Hsを出力バッファ12を介して入出力端子2A
から出力する一方、不良情報信号Eを専用の外部出力端
子から出力するように構成してもよい。
(4) The fourth embodiment shown in FIG. 4 is different from the third embodiment shown in FIG. 3 in clock measuring means M.
3 and measurement clock number output means M4 is added to output the defective time information to the outside, but ignoring that the serial measurement clock number signal Hs is output from the input / output terminal 2A, The concept may be applied to other embodiments. In that case, the measurement clock number output means M4 may be omitted and a plurality of terminals for outputting the measurement clock number data Hp may be provided. Further, the output data lock means M2 and the selection means 26 may be omitted and a terminal for externally outputting the serial measurement clock number signal Hs may be provided. Embodiments of these modifications are shown in FIGS. 8 and 9. In FIG. 8, 34 is an external output terminal for externally outputting the serial measurement clock number signal Hs from the measurement clock number output means M4, and in FIG. 9, 35 is the defect information signal E from the selection means 26 or the serial measurement clock number. Signal H
It is an external output terminal for externally outputting s. Although not shown, the failure information signal E may be output from the input / output terminal 2A via the output buffer 12, while the serial measurement clock number signal Hs may be output from a dedicated external output terminal. On the contrary, the serial measurement clock number signal Hs is output via the output buffer 12 to the input / output terminal 2A.
Alternatively, the defect information signal E may be output from a dedicated external output terminal.

【0102】(5)図5に示す実施の形態5の変形の形
態として、図10に示すように、不良情報信号Eの外部
出力専用の不良情報出力端子9を設けてもよい。この場
合、図5における判定遅延手段11および出力バッファ
12は省略され、期待値信号Bの入力端子は入力専用の
期待値入力端子2となる。また、図示しないが、図5に
示す遅延系の比較手段、不一致保持手段を有する構成を
図4のようなクロック計測手段M3、計測クロック数出
力手段M4を有する形態に適用してもよい。
(5) As a modification of the fifth embodiment shown in FIG. 5, a defect information output terminal 9 dedicated to external output of the defect information signal E may be provided as shown in FIG. In this case, the decision delay means 11 and the output buffer 12 in FIG. 5 are omitted, and the input terminal of the expected value signal B becomes the expected value input terminal 2 for input only. Although not shown, the configuration including the delay system comparing means and the mismatch holding means shown in FIG. 5 may be applied to a mode having the clock measuring means M3 and the measured clock number output means M4 as shown in FIG.

【0103】[0103]

【発明の効果】以上のように本発明によれば、次の効果
が発揮される。
As described above, according to the present invention, the following effects are exhibited.

【0104】(1)異常動作した周期にテスト対象回路
の出力データ信号が論理的に“0”であったか“1”で
あったかの不良解析に用いる不良情報を、期待値を内部
比較しながら保持することができる。一旦、異常動作を
検出した後は、この不良情報は保持されるため、高速テ
スト時にもボード容量に影響されることなく外部観測す
ることができる。
(1) The failure information used for failure analysis of whether the output data signal of the test target circuit is logically "0" or "1" in the abnormal operation cycle is held while internally comparing the expected value. be able to. Since the defect information is retained once the abnormal operation is detected, it can be externally observed even during the high speed test without being affected by the board capacity.

【0105】(2)また、判定遅延手段と出力バッファ
を設けて、期待値信号を入力する端子から不良情報信号
を出力するように構成すれば、不良情報信号を外部出力
する専用の端子を余分に設ける必要がなく、半導体集積
回路の小型化、低コスト化に貢献する。
(2) Further, if the judgment delay means and the output buffer are provided so that the defect information signal is output from the terminal for inputting the expected value signal, a dedicated terminal for externally outputting the defect information signal is provided. Since it is not necessary to provide the device, it contributes to downsizing and cost reduction of the semiconductor integrated circuit.

【0106】(3)また、異常動作時の不良情報に加え
て、異常動作がどのタイミングで発生したかを示す不良
時刻情報を外部出力する場合は、より詳細な不良解析を
行うことができる。
(3) Further, in addition to the defect information at the time of abnormal operation, when the defect time information indicating at which timing the abnormal operation occurs is output to the outside, more detailed defect analysis can be performed.

【0107】特に、不良情報と不良時刻情報とを同一の
出力端子から外部出力すれば、回路構成の簡略化を図る
ことができる。
Particularly, if the defect information and the defect time information are externally output from the same output terminal, the circuit structure can be simplified.

【0108】さらに、第1および第2の判定遅延手段と
出力バッファを付加すれば、不良情報と不良時刻情報と
を時分割で期待値入力端子から外部出力させることがで
き、限られた端子数でより多くの情報を取得することが
できる。すなわち、より効果的に不良解析やテスト開発
ができる。
Further, if the first and second judgment delay means and the output buffer are added, the defect information and the defect time information can be output from the expected value input terminal to the outside in a time division manner, and the number of terminals is limited. You can get more information at. That is, defect analysis and test development can be performed more effectively.

【0109】(4)また、期待値信号を所定単位時間遅
らせる期待値遅延手段と遅延系の不一致保持手段と論理
積手段を追加すれば、タイミングを積極的に異ならせて
出力データ信号と並行比較でき、半導体集積回路の内部
遅延のばらつきに影響されることなくテストすることが
でき、繰り返しテストを省略して検査時間を短縮するこ
とができる。
(4) If the expected value delay means for delaying the expected value signal by a predetermined unit time, the mismatch holding means of the delay system and the logical product means are added, the timing is positively changed and the output data signal is compared in parallel. Therefore, the test can be performed without being affected by the variation in the internal delay of the semiconductor integrated circuit, and the repetitive test can be omitted to shorten the inspection time.

【0110】(5)また、不一致保持手段からの判定信
号が不一致を示すときに、その判定信号に基づいてテス
ト対象回路へのクロック供給を停止すれば、実装トラン
ジスタのスイッチング動作を内部的に強制停止させるこ
とができる。したがって、外部からの操作で不一致のタ
イミングを見計らってクロック供給を絶つ必要がなく、
当該のテストで不一致を生じた状態を保持したまま不良
箇所を特定することができる。
(5) Further, when the judgment signal from the mismatch holding means indicates a mismatch, if the clock supply to the circuit under test is stopped based on the judgment signal, the switching operation of the mounted transistor is internally forced. It can be stopped. Therefore, it is not necessary to cut off the clock supply by observing the timing of mismatch by an external operation,
It is possible to specify the defective portion while maintaining the state in which the mismatch occurs in the test.

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

【図1】 本発明の実施の形態1における半導体集積回
路のテスト回路の構成を示す回路図
FIG. 1 is a circuit diagram showing a configuration of a test circuit of a semiconductor integrated circuit according to a first embodiment of the present invention.

【図2】 本発明の実施の形態2における半導体集積回
路のテスト回路の構成を示す回路図
FIG. 2 is a circuit diagram showing a configuration of a test circuit of a semiconductor integrated circuit according to a second embodiment of the present invention.

【図3】 本発明の実施の形態3における半導体集積回
路のテスト回路の構成を示す回路図
FIG. 3 is a circuit diagram showing a configuration of a test circuit of a semiconductor integrated circuit according to a third embodiment of the present invention.

【図4】 本発明の実施の形態4における半導体集積回
路のテスト回路の構成を示す回路図
FIG. 4 is a circuit diagram showing a configuration of a test circuit of a semiconductor integrated circuit according to a fourth embodiment of the present invention.

【図5】 本発明の実施の形態5における半導体集積回
路のテスト回路の構成を示す回路図
FIG. 5 is a circuit diagram showing a configuration of a test circuit of a semiconductor integrated circuit according to a fifth embodiment of the present invention.

【図6】 本発明の他の実施の形態における本半導体集
積回路のテスト回路の構成を示す回路図
FIG. 6 is a circuit diagram showing a configuration of a test circuit of the semiconductor integrated circuit according to another embodiment of the present invention.

【図7】 本発明のさらに他の実施の形態における本半
導体集積回路のテスト回路の構成を示す回路図
FIG. 7 is a circuit diagram showing a configuration of a test circuit of the present semiconductor integrated circuit in still another embodiment of the present invention.

【図8】 本発明のさらに他の実施の形態における本半
導体集積回路のテスト回路の構成を示す回路図
FIG. 8 is a circuit diagram showing a configuration of a test circuit of the present semiconductor integrated circuit according to still another embodiment of the present invention.

【図9】 本発明のさらに他の実施の形態における本半
導体集積回路のテスト回路の構成を示す回路図
FIG. 9 is a circuit diagram showing a configuration of a test circuit of the present semiconductor integrated circuit in still another embodiment of the present invention.

【図10】 本発明のさらに他の実施の形態における本
半導体集積回路のテスト回路の構成を示す回路図
FIG. 10 is a circuit diagram showing a configuration of a test circuit of the present semiconductor integrated circuit according to still another embodiment of the present invention.

【図11】 従来の半導体集積回路のテスト回路の構成
を示す回路図
FIG. 11 is a circuit diagram showing a configuration of a test circuit of a conventional semiconductor integrated circuit.

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

1 テスト対象回路(半導体集積回路) 2,2a,2b 期待値入力端子 2A 期待値入力不良情報出力の入出力端子 3,3a,3b 比較手段(排他的論理和ゲート) 4,4a,4b 論理和ゲート 5,5a,5b リセット付きフリップフロップ 6 判定信号出力端子 7,7a,7b 論理積ゲート 8,8a,8b フリップフロップ 9,9a,9b 不良情報出力端子 10 論理和ゲート(論理和手段) 11 判定遅延手段 12 出力バッファ 21 第1の判定遅延手段 22 第2の判定遅延手段 23 論理積ゲート 24 フリップフロップ 25 インクリメンタ 26 選択手段 27a 第1の期待値遅延手段 27b 第2の期待値遅延手段 28a 第1の遅延系の比較手段 28b 第2の遅延系の比較手段 29a,29b 論理和ゲート 30a,30b フリップフロップ 31 論理積ゲート 32a,32b,32c 外部出力端子 33論理積ゲート 34,35 外部出力端子 A,A1,A2 出力データ信号 B,B1,B2 期待値信号 B1 第1の期待値遅延信号 B2 第2の期待値遅延信号 C,C1,C2 比較結果信号 C1 第1の比較結果信号 C2 第2の比較結果信号 D 判定信号 E,E1,E2 不良情報信号 F 第1の遅延判定信号 G 第2の遅延判定信号 CLK0 クロック M1 不一致保持手段 M2 出力データロック手段 M3 クロック計測手段 M4 計測クロック数出力手段 M5a 第1の遅延系の不一致保持手段 M5b 第2の遅延系の不一致保持手段 M6 クロック制御手段1 test target circuit (semiconductor integrated circuit) 2, 2a, 2b expected value input terminal 2A expected value input failure information output input / output terminal 3, 3a, 3b comparison means (exclusive OR gate) 4, 4a, 4b logical OR Gates 5, 5a, 5b Flip-flop with reset 6 Judgment signal output terminals 7, 7a, 7b AND gates 8, 8a, 8b Flip-flops 9, 9a, 9b Failure information output terminal 10 Logical sum gate (logical sum means) 11 Judgment Delay means 12 Output buffer 21 First judgment delay means 22 Second judgment delay means 23 AND gate 24 Flip-flop 25 Incrementer 26 Selection means 27a First expected value delay means 27b Second expected value delay means 28a 1 delay system comparing means 28b Second delay system comparing means 29a, 29b OR gates 30a, 30b Flip flow 31 AND gates 32a, 32b, 32c External output terminal 33 AND gates 34, 35 External output terminals A, A1, A2 Output data signals B, B1, B2 Expected value signal B 1 First expected value delayed signal B 2 Second expected value delay signal C, C1, C2 Comparison result signal C 1 First comparison result signal C 2 Second comparison result signal D Judgment signals E, E1, E2 Failure information signal F First delay judgment signal G second delay determination signal CLK 0 clock M1 mismatch holding means M2 output data lock means M3 clock measuring means M4 measurement clock number output means M5a first delay system mismatch holding means M5b second delay system mismatch holding means M6 Clock control means

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 期待値信号を入力する期待値入力端子
と、 テスト対象回路の出力データ信号と前記期待値入力端子
からの前記期待値信号とを比較する比較手段と、 前記比較手段からの比較結果信号が不一致を示すときは
その不一致状態を保持する不一致保持手段と、 前記不一致保持手段が出力する判定信号を外部出力する
判定信号出力端子と、 前記不一致保持手段が出力する前記判定信号が不一致状
態を示すときに前記テスト対象回路からの出力データ信
号を保持する出力データロック手段と、 前記出力データロック手段の出力信号を外部出力する不
良情報出力端子とを備える半導体集積回路のテスト回
路。
1. An expected value input terminal for inputting an expected value signal, a comparing means for comparing an output data signal of a circuit under test and the expected value signal from the expected value input terminal, and a comparison from the comparing means. When the result signals show a mismatch, the mismatch holding means for holding the mismatch status, the determination signal output terminal for externally outputting the determination signal output by the mismatch holding means, and the determination signal output by the mismatch holding means do not match. A test circuit for a semiconductor integrated circuit, comprising: output data lock means for holding an output data signal from the circuit under test when indicating a state; and a failure information output terminal for externally outputting an output signal of the output data lock means.
【請求項2】 請求項1において、前記不良情報出力端
子が省略された上で、さらに、 前記不一致保持手段が出力する判定信号を所定の周期遅
延させる判定遅延手段と、 前記期待値入力端子に接続され、前記判定遅延手段から
の遅延判定信号が一致を示すときはハイインピーダンス
を出力し、前記遅延判定信号が不一致を示すときに前記
出力データロック手段からの出力信号を出力する出力バ
ッファとを備える半導体集積回路のテスト回路。
2. The defect information output terminal according to claim 1, further comprising: a determination delay means for delaying the determination signal output by the mismatch holding means by a predetermined cycle, and the expected value input terminal. And an output buffer that is connected and outputs high impedance when the delay determination signal from the determination delay means indicates a match and outputs the output signal from the output data locking means when the delay determination signal indicates a mismatch. A semiconductor integrated circuit test circuit provided.
【請求項3】 請求項1において、さらに、 前記不一致保持手段が出力する判定信号を所定の周期遅
延させる判定遅延手段と、 クロックを計測し、前記不一致保持手段が出力する前記
判定信号が不一致に変化したタイミングでの計測クロッ
ク数を保持するクロック計測手段と、 前記判定遅延手段が出力する遅延判定信号が不一致を示
すときに前記保持した計測クロック数を所定の間隔でシ
リアル出力する計測クロック数出力手段と、 前記判定遅延手段が出力する前記遅延判定信号が一致を
示すときは前記出力データロック手段の出力を選択し、
不一致のときは前記計測クロック数出力手段の出力を選
択し、前記不良情報出力端子へ出力する選択手段とを備
える半導体集積回路のテスト回路。
3. The determination delay unit according to claim 1, further comprising: a determination delay unit that delays the determination signal output by the inconsistency holding unit by a predetermined cycle; and the determination signal output by the inconsistency holding unit does not match. A clock measurement unit that holds the number of measurement clocks at a changed timing, and a measurement clock number output that serially outputs the held number of measurement clocks at predetermined intervals when the delay determination signal output from the determination delay unit indicates a mismatch. Means, the output of the output data lock means is selected when the delay judgment signal output by the judgment delay means indicates coincidence,
A test circuit for a semiconductor integrated circuit, comprising: a selection means for selecting the output of the measurement clock number output means when there is a mismatch and outputting the output to the defect information output terminal.
【請求項4】 請求項1において、前記不良情報出力端
子が省略された上で、さらに、 前記不一致保持手段が出力する判定信号を所定の周期遅
延させる第1の判定遅延手段と、 前記第1の判定遅延手段からの遅延判定信号を所定の周
期遅延させる第2の判定遅延手段と、 クロックを計測し、前記不一致保持手段が出力する前記
判定信号が不一致に変化したタイミングでの計測クロッ
ク数を保持するクロック計測手段と、 前記第2の判定遅延手段が出力する第2の遅延判定信号
が不一致を示すときに前記保持した計測クロック数を所
定の間隔でシリアル出力する計測クロック数出力手段
と、 前記第2の判定遅延手段が出力する前記第2の遅延判定
信号が一致を示すときは前記出力データロック手段の出
力を選択し、不一致のときは前記計測クロック数出力手
段の出力を選択し出力する選択手段と、 前記期待値入力端子に接続され、前記第1の判定遅延手
段が出力する第1の遅延判定信号が一致を示すときはハ
イインピーダンスを出力し、前記第1の遅延判定信号が
不一致を示すときに前記選択手段の出力信号を出力する
出力バッファとを備える半導体集積回路のテスト回路。
4. The first determination delay unit according to claim 1, wherein the defect information output terminal is omitted, and further, the first determination delay unit delays the determination signal output from the mismatch holding unit by a predetermined period, and the first determination delay unit. Second determination delay means for delaying the delay determination signal from the determination delay means of a predetermined cycle, and clock count, and the number of measurement clocks at the timing when the determination signal output from the mismatch holding means changes to mismatch. A clock measuring unit that holds the measured clock number output unit that serially outputs the held measured clock number at a predetermined interval when the second delay determination signal output from the second determination delay unit indicates disagreement; When the second delay judgment signal output from the second judgment delay means indicates a match, the output of the output data lock means is selected, and when they do not match the measurement clock. Selection means for selecting and outputting the output of the clock number output means, and a high impedance when the first delay judgment signal output from the first judgment delay means connected to the expected value input terminal indicates a match. A test circuit for a semiconductor integrated circuit, comprising: an output buffer which outputs and outputs an output signal of the selecting means when the first delay determination signal indicates a mismatch.
【請求項5】 請求項3または請求項4において、前記
選択手段は、前記出力データロック手段からの前記不良
情報信号の出力と前記計測クロック数出力手段からの不
良時刻情報信号の出力との順序を、不良情報信号を先
に、不良時刻情報信号を後にするように構成されている
半導体集積回路のテスト回路。
5. The order according to claim 3 or 4, wherein the selecting means outputs the defective information signal from the output data locking means and the defective time information signal from the measurement clock number outputting means. The test circuit of the semiconductor integrated circuit is configured so that the failure information signal comes first and the failure time information signal comes later.
【請求項6】 請求項1から請求項5までのいずれかに
おいて、さらに、 前記期待値入力端子からの前記期待値信号を遅延させる
期待値遅延手段と前記テスト対象回路の出力データ信号
と前記期待値遅延手段による遅延期待値信号とを比較す
る遅延系の比較手段と、 前記遅延系の比較手段からの比較結果信号が不一致を示
すときにその不一致状態を保持する遅延系の不一致保持
手段と、 前記不一致保持手段と前記判定信号出力端子との間に挿
入されて、前記不一致保持手段の出力信号と前記遅延系
の不一致保持手段の出力信号の論理積を前記判定信号と
して前記判定信号出力端子に出力する論理積手段とを備
える半導体集積回路のテスト回路。
6. The expected value delay means for delaying the expected value signal from the expected value input terminal, the output data signal of the circuit under test, and the expectation according to claim 1. A delay system comparing means for comparing the delayed expected value signal by the value delay means, and a delay system mismatch holding means for holding the mismatch state when the comparison result signals from the delay system comparing means indicate mismatch. It is inserted between the mismatch holding means and the judgment signal output terminal, and the logical product of the output signal of the mismatch holding means and the output signal of the delay system mismatch holding means is output to the judgment signal output terminal as the judgment signal. A test circuit for a semiconductor integrated circuit, comprising: a logical product means for outputting.
【請求項7】 請求項6において、前記不良情報出力端
子が省略された上で、さらに、 前記論理積手段が出力する判定信号を所定の周期遅延さ
せる判定遅延手段と、 前記期待値入力端子に接続され、前記判定遅延手段から
の遅延判定信号が一致を示すときはハイインピーダンス
を出力し、前記遅延判定信号が不一致を示すときに前記
出力データロック手段からの出力信号を出力する出力バ
ッファとを備える半導体集積回路のテスト回路。
7. The defect information output terminal according to claim 6, further comprising: a determination delay unit that delays the determination signal output from the AND unit by a predetermined cycle, and the expected value input terminal. And an output buffer that is connected and outputs high impedance when the delay determination signal from the determination delay means indicates a match and outputs the output signal from the output data locking means when the delay determination signal indicates a mismatch. A semiconductor integrated circuit test circuit provided.
【請求項8】 請求項6において、さらに、 前記論理積手段が出力する判定信号を所定の周期遅延さ
せる第1の判定遅延手段と、 前記第1の判定遅延手段からの遅延判定信号を所定の周
期遅延させる第2の判定遅延手段と、 クロックを計測し、前記不一致保持手段が出力する前記
判定信号が不一致に変化したタイミングでの計測クロッ
ク数を保持するクロック計測手段と、 前記第2の判定遅延手段が出力する第2の遅延判定信号
が不一致を示すときに前記保持した計測クロック数を所
定の間隔でシリアル出力する計測クロック数出力手段
と、 前記第2の判定遅延手段が出力する前記第2の遅延判定
信号が一致を示すときは前記出力データロック手段の出
力を選択し、不一致のときは前記計測クロック数出力手
段の出力を選択し出力する選択手段と、 前記期待値入力端子に接続され、前記第1の判定遅延手
段が出力する第1の遅延判定信号が一致を示すときはハ
イインピーダンスを出力し、前記第1の遅延判定信号が
不一致を示すときに前記選択手段の出力信号を出力する
出力バッファとを備える半導体集積回路のテスト回路。
8. The method according to claim 6, further comprising: a first determination delay unit that delays the determination signal output from the AND circuit by a predetermined cycle; and a delay determination signal from the first determination delay unit that is predetermined. A second judgment delay means for delaying the cycle; a clock measuring means for measuring a clock and holding the number of measurement clocks at the timing when the judgment signal output from the non-coincidence holding means changes to non-coincidence; A measurement clock number output means for serially outputting the held measurement clock number at a predetermined interval when the second delay determination signal output by the delay means indicates a mismatch, and the first determination clock output by the second determination delay means. The output of the output data lock means is selected when the delay determination signals of 2 indicate a match, and the output of the measurement clock number output means is selected and output when a mismatch occurs. And the first delay determination signal connected to the expected value input terminal and the first delay determination signal output from the first determination delay means indicates a match, a high impedance is output, and the first delay determination signal indicates a mismatch. A test circuit for a semiconductor integrated circuit, comprising: an output buffer that outputs the output signal of the selecting means when indicated.
【請求項9】 請求項6から請求項8までのいずれかに
おいて、 前記期待値遅延手段、前記遅延系の比較手段および前記
遅延系の不一致保持手段の組が複数組以上設けられ、 前記論理積手段は、前記不一致保持手段と前記複数組の
遅延系の不一致保持手段の論理積をとる半導体集積回路
のテスト回路。
9. The method according to claim 6, wherein a plurality of sets of the expected value delay means, the delay system comparison means, and the delay system disagreement holding means are provided, and the logical product is provided. A means is a test circuit of a semiconductor integrated circuit, which performs a logical product of the mismatch holding means and the plurality of sets of delay system mismatch holding means.
【請求項10】 請求項6から請求項9までのいずれか
において、前記不一致保持手段および前記遅延系の不一
致保持手段のそれぞれの出力信号を個別的に外部出力す
る出力端子群を備える半導体集積回路のテスト回路。
10. The semiconductor integrated circuit according to claim 6, further comprising an output terminal group for individually outputting the output signals of the mismatch holding means and the delay system mismatch holding means, respectively. Test circuit.
【請求項11】 請求項1から請求項10までのいずれ
かにおいて、前記判定信号出力端子に出力される前記判
定信号が不一致を示すとき、前記テスト対象回路に対す
る供給クロックを停止させるクロック制御手段を備える
半導体集積回路のテスト回路。
11. The clock control means according to claim 1, wherein when the judgment signal output to the judgment signal output terminal indicates a mismatch, the clock supplied to the circuit under test is stopped. A semiconductor integrated circuit test circuit provided.
【請求項12】 請求項1から請求項11でのいずれか
において、前記テスト対象回路が前記出力データ信号を
複数ビット出力するものであり、前記期待値入力端子、
前記比較手段、前記不一致保持手段、前記判定信号出力
端子、前記出力データロック手段および前記不良情報出
力端子の組が前記出力データ信号のビット数に応じて複
数組設けられ、前記複数の不一致保持手段の出力の論理
和を前記判定信号とする半導体集積回路のテスト回路。
12. The test target circuit according to claim 1, wherein the test target circuit outputs a plurality of bits of the output data signal, and the expected value input terminal,
A plurality of sets of the comparison means, the mismatch holding means, the determination signal output terminal, the output data locking means, and the defect information output terminal are provided according to the number of bits of the output data signal, and the plurality of mismatch holding means. A test circuit for a semiconductor integrated circuit, wherein the logical sum of the outputs of the above is used as the determination signal.
JP2002139421A 2002-05-15 2002-05-15 Test circuit for semiconductor integrated circuit Expired - Fee Related JP3955788B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002139421A JP3955788B2 (en) 2002-05-15 2002-05-15 Test circuit for semiconductor integrated circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002139421A JP3955788B2 (en) 2002-05-15 2002-05-15 Test circuit for semiconductor integrated circuit

Publications (2)

Publication Number Publication Date
JP2003329736A true JP2003329736A (en) 2003-11-19
JP3955788B2 JP3955788B2 (en) 2007-08-08

Family

ID=29700558

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002139421A Expired - Fee Related JP3955788B2 (en) 2002-05-15 2002-05-15 Test circuit for semiconductor integrated circuit

Country Status (1)

Country Link
JP (1) JP3955788B2 (en)

Also Published As

Publication number Publication date
JP3955788B2 (en) 2007-08-08

Similar Documents

Publication Publication Date Title
KR100335683B1 (en) Method and apparatus for utilizing mux scan flip-flops to test speed related defects
US7795939B2 (en) Method and system for setup/hold characterization in sequential cells
US7398442B2 (en) Electronic circuit with asynchronously operating components
US7673208B2 (en) Storing multicore chip test data
US7504896B2 (en) Methods and apparatus for inline measurement of switching delay history effects in PD-SOI technology
US10371751B2 (en) Circuit and method for diagnosing scan chain failures
JP2007187458A (en) Scan flip-flop circuit and semiconductor integrated circuit device
US8525565B2 (en) Family of multiplexer/flip-flops with enhanced testability
US9989590B2 (en) Self-test circuit in integrated circuit, and data processing circuit
US7421634B2 (en) Sequential scan based techniques to test interface between modules designed to operate at different frequencies
US6941498B2 (en) Technique for debugging an integrated circuit having a parallel scan-chain architecture
US6470483B1 (en) Method and apparatus for measuring internal clock skew
JP2004361351A (en) Scan path circuit, and method of testing logic circuit and integrated circuit equipped with the same
JP3955788B2 (en) Test circuit for semiconductor integrated circuit
US20030110431A1 (en) Scanning an allowed value into a group of latches
US7152195B2 (en) Scan test circuit
Singh A self-timed structural test methodology for timing anomalies due to defects and process variations
JP2006058152A (en) Testing method for semiconductor device and testing circuit of semiconductor device
KR100892633B1 (en) Circuit and Method for Testing Input Data in Semiconductor Memory Apparatus
JP2001108727A (en) Circuit and method for controlling clock
JP2002236145A (en) Test cell circuit
US20230259433A1 (en) Systems and methods to test an asychronous finite machine
CN113391178A (en) Method and apparatus for detecting defective logic devices
JPS622336B2 (en)
JP2002062338A (en) Electronic device and inspection method thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050511

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070118

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070130

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070312

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: 20070410

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070507

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: 20110511

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110511

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120511

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees