JP2589352B2 - Test method of coach circuit - Google Patents
Test method of coach circuitInfo
- Publication number
- JP2589352B2 JP2589352B2 JP63241384A JP24138488A JP2589352B2 JP 2589352 B2 JP2589352 B2 JP 2589352B2 JP 63241384 A JP63241384 A JP 63241384A JP 24138488 A JP24138488 A JP 24138488A JP 2589352 B2 JP2589352 B2 JP 2589352B2
- Authority
- JP
- Japan
- Prior art keywords
- test
- logic circuit
- circuit
- flip
- flop
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Landscapes
- Tests Of Electronic Circuits (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、論理回路のテスト方法に関し、特に、スタ
ンバイ電流測定により論理回路の製造不良を摘出する論
理回路のテスト方法に関するものである。Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for testing a logic circuit, and more particularly, to a method for testing a logic circuit in which a manufacturing defect of a logic circuit is detected by measuring a standby current.
CMOS論理回路は、PチャンネルMOSとNチャンネルMOS
とが相補的に接続されているため、入力電位レベルが静
止した状態においては、必ずPチャネルMOS,Nチャンネ
ルMOSの何れか一方が、カットオフの状態になってい
る。したがって、電源から電流が流れるパスはなく、流
れる電流はないはずであるが、実際にはCMOS論理回路の
チップ内に存在する寄生を含めた全P−N接合の逆バイ
アス電流が流れる。CMOS logic circuits are P-channel MOS and N-channel MOS
Are complementarily connected to each other, so that when the input potential level is at rest, one of the P-channel MOS and the N-channel MOS is always cut off. Accordingly, there is no path through which a current flows from the power supply, and there should be no current. However, in practice, a reverse bias current of all PN junctions including a parasitic existing in the chip of the CMOS logic circuit flows.
CMOS論理LSI等の製造不良を摘出する手段として、入
力電位レベルが安定した状態のCMOS論理回路のP−N接
合に流れる極めて微少な逆バイアス電流(スタンバイ電
流)を測定することが行われる。そして、測定したスタ
ンバイ電流が、標準的なスタンバイ電流と比較して大き
く異なる場合、測定したCMOS論理回路部品を不良と判定
するテストが行われる。As a means for extracting a manufacturing defect of a CMOS logic LSI or the like, an extremely small reverse bias current (standby current) flowing through a PN junction of a CMOS logic circuit in a state where an input potential level is stable is measured. If the measured standby current is significantly different from the standard standby current, a test for determining the measured CMOS logic circuit component as defective is performed.
スタンバイ電流測定のためには、内部セルの入力電位
レベルが安定していることが必要である。このため、通
常の論理動作を用いて回路内の全セルの入力電位を安定
させる専用のテストパターンを作成するか、または、既
存のテストパターンによる論理動作における入力電位安
定状態を抽出してテストを行うようにしている。In order to measure the standby current, it is necessary that the input potential level of the internal cell is stable. For this reason, a dedicated test pattern for stabilizing the input potential of all cells in the circuit using a normal logic operation is created, or a test is performed by extracting an input potential stable state in a logic operation based on an existing test pattern. I'm trying to do it.
しかしながら、スタンバイ電流測定のための専用のテ
ストパターンを設計する場合、 (1)内部フリップフロップを、テスト時にホールド状
態に確定するための処理手順として、通常の論理動作を
用いる必要があるため、処理手順が複雑である。However, when designing a dedicated test pattern for standby current measurement, it is necessary to use (1) a normal logic operation as a processing procedure for fixing the internal flip-flop to a hold state at the time of testing. The procedure is complicated.
(2)内部トライステートバスを、テスト時に非ハイイ
ンピーダンス状態に確定するための処理手順として、通
常の論理動作を用いる必要があるため、処理手順が複雑
である。(2) Since a normal logical operation needs to be used as a processing procedure for determining the internal tristate bus to a non-high impedance state at the time of a test, the processing procedure is complicated.
(3)また、実際にテストを行う時には、内部フリップ
フロップをホールド状態にすること、および内部トライ
ステートバスを非ハイインピーダンス状態にすること
を、回路全体に対し同時に成立させる必要があるため、
処理手順の設計および状態成立の確認が困難である。(3) Further, when actually performing the test, it is necessary to simultaneously hold the internal flip-flop in the hold state and the internal tristate bus in the non-high impedance state for the entire circuit.
It is difficult to design the processing procedure and confirm that the state is established.
(4)更に1つの論理回路の多くの回路内部状態に対し
て、上記(1),(2),(3)における状態の条件を
設定するためのテストパターンの設計および確認コスト
が大であるという問題があった。(4) Further, for many circuit internal states of one logic circuit, the cost of designing and confirming a test pattern for setting the state conditions in the above (1), (2), and (3) is large. There was a problem.
本発明は、上記問題点を解決するためになされもので
ある。The present invention has been made to solve the above problems.
本発明の目的は、簡単な処理手順によりスタンバイ電
流測定を行い、容易に論理回路をテストする論理回路の
テスト方法を提供することにある。SUMMARY OF THE INVENTION An object of the present invention is to provide a method for testing a logic circuit, which measures a standby current by a simple procedure and easily tests the logic circuit.
また、本発明の他の目的は、任意の既存テストパター
ン用いて、スタンバイ電流測定を行い、容易に論理回路
をテストする論理回路のテスト方法を提供することにあ
る。It is another object of the present invention to provide a test method of a logic circuit in which a standby current is measured using an arbitrary existing test pattern to easily test the logic circuit.
本発明の前記ならびにその他の目的と新規な特徴は、
本明細書の記述及び添付図面によって明らかになるであ
ろう。The above and other objects and novel features of the present invention are as follows.
It will become apparent from the description of the present specification and the accompanying drawings.
上記目的を達成するため、本発明においては、テスト
する論理回路に対して、テストモード時に論理回路に内
蔵されるフリップフロップを強制的にホールド状態と
し、論理回路に内蔵されるトライステートバス上のソー
スゲート群をテスト信号印加ゲートのみを除き全て強制
的にディスエーブル状態にして、スタンバイ電流を測定
することにより回路不良を判定して論理回路のテストを
行う論理回路のテスト方法が提供される。In order to achieve the above object, according to the present invention, for a logic circuit to be tested, a flip-flop incorporated in the logic circuit is forcibly held in a test mode during a test mode, and a flip-flop on a tristate bus incorporated in the logic circuit is set. A logic circuit test method is provided in which a source gate group is forcibly disabled except for only a test signal application gate, and a standby circuit is measured to determine a circuit failure and test the logic circuit.
また、本発明の論理回路のテスト方法は、論理回路に
内蔵されるフリップフロップをテストモード時に強制的
にホールド状態とするフリップフロップ制御回路と、論
理回路に内蔵されるトライステートバス上のソースゲー
ト群をテストモード時にテスト信号印加ゲートのみを除
き全て強制的にディスエーブル状態にするトライステー
トバス制御回路とを被テスト論理回路に備え、前記フリ
ップフロップ制御回路および前記トライステートバス制
御回路を個別に制御して、テストパターン信号が与えら
れたテストサイクルの中で、回路全体が静的安定状態と
なる期間を設け、スタンバイ電流を測定して、回路不良
を判定することを特徴とする。The test method for a logic circuit according to the present invention includes a flip-flop control circuit for forcibly holding a flip-flop incorporated in the logic circuit in a test mode, a source gate on a tristate bus incorporated in the logic circuit, A tri-state bus control circuit for forcibly disabling the group except for only the test signal application gate in the test mode, in the logic circuit under test, and the flip-flop control circuit and the tri-state bus control circuit are individually provided. In the control, a period in which the whole circuit is in a static stable state is provided in a test cycle to which a test pattern signal is applied, and a standby current is measured to determine a circuit failure.
更にまた、本発明の論理回路のテスト方法において
は、論理回路のテストを行うテストモード時、被テスト
論理回路に対して、任意のテストパターンを印加する第
1ステップと、論理回路に内蔵されるフリップフロップ
を強制的にホールド状態にする第2ステップと、論理回
路に内蔵されるトライステートバス上のソースゲート群
をテスト信号印加ゲートのみを除き全て強制的にディス
エーブル状態にする第3ステップと、スタンバイ電流を
測定する第4ステップと、論理回路に内蔵されるトライ
ステートバス上のソースゲート群の強制的なディスエー
ブル状態を解除する第5ステップと、論理回路に内蔵さ
れるフリップフロップの強制的なホールド状態を解除す
る第6ステップとの処理を順次に繰り返し行うことを特
徴とする。Furthermore, in the test method for a logic circuit according to the present invention, in a test mode for testing the logic circuit, a first step of applying an arbitrary test pattern to the logic circuit to be tested, and the logic circuit is incorporated in the logic circuit. A second step of forcibly putting the flip-flop in the hold state, and a third step of forcibly disabling all the source gate groups on the tristate bus built in the logic circuit except for only the test signal application gate A fourth step of measuring a standby current, a fifth step of canceling a forced disable state of a group of source gates on a tristate bus incorporated in the logic circuit, and a forcing of a flip-flop incorporated in the logic circuit The processing of the sixth step of releasing the temporary hold state is sequentially repeated.
前記手段によれば、論理回路のテストを行う場合、被
テスト論理回路に対して、論理回路に内蔵されるフリッ
プフロップを強制的にホールド状態とし、論理回路に内
蔵されるトライステートバス上のソースゲート群をテス
ト信号印加ゲートのみを除き全て強制的にディスエーブ
ル状態にして、スタンバイ電流を測定することにより回
路不良を判定する。According to the above-mentioned means, when a test of a logic circuit is performed, a flip-flop incorporated in the logic circuit is forcibly put into a hold state with respect to the logic circuit to be tested, and a source on a tristate bus incorporated in the logic circuit is held. Circuit failure is determined by forcibly disabling all the gate groups except for the test signal application gate and measuring the standby current.
これにより、複雑なテストパターンによるテストを行
うまでもなく、論理回路の回路不良を容易に確実に判定
できる。As a result, the circuit failure of the logic circuit can be easily and reliably determined without performing a test using a complicated test pattern.
また、このような論理回路のテストを行うために、論
理回路に内蔵されるフリップフロップをテストモード時
に強制的にホールド状態とするフリップフロップ制御回
路と、論理回路に内蔵されるトライステートバス上のソ
ースゲート群をテストモード時にテスト信号印加ゲート
のみを除き全て強制的にディスエーブル状態とするトラ
イステートバス制御回路とを被テスト論理回路に備え
て、前記フリップフロップ制御回路および前記トライス
テートバス制御回路を個別に制御して、テスト信号が与
えられたテストサイクルの中で、回路全体が静的安定状
態となる期間を設け、スタンバイ電流を測定して、回路
不良を判定する。Further, in order to test such a logic circuit, a flip-flop control circuit for forcibly holding a flip-flop built in the logic circuit in a test mode and a tri-state bus built in the logic circuit A tri-state bus control circuit for forcibly disabling all the source gate groups in a test mode except for only a test signal application gate; and a tri-state bus control circuit, the flip-flop control circuit and the tri-state bus control circuit. Are individually controlled to provide a period during which the entire circuit is in a static stable state in a test cycle to which a test signal is applied, and a standby current is measured to determine a circuit failure.
これにより、複雑なテストパターンによるテストを行
うまでもなく、論理回路の回路不良を容易に確実に判定
できる。As a result, the circuit failure of the logic circuit can be easily and reliably determined without performing a test using a complicated test pattern.
また、ここで行う論理回路のテスト方法は、被テスト
論理回路に対して、任意のテストパターンを印加する第
1ステップと、論理回路に内蔵されるフリップフロップ
を強制的にホールド状態にする第2ステップと、論理回
路に内蔵されるトライステートバス上のソースゲート群
をテスト信号印加ゲートのみを除き全て強制的にディス
エーブル状態にする第3ステップと、スタンバイ電流を
測定する第4ステップと、論理回路に内蔵されるトライ
ステートバス上のソースゲート群の強制的なディスエー
ブル状態を解除する第5ステップと、論理回路に内蔵さ
れるフリップフロップの強制的なホールド状態を解除す
る第6ステップとの処理を、順次に繰り返し行うことに
より行われる。The method of testing a logic circuit performed here includes a first step of applying an arbitrary test pattern to the logic circuit under test and a second step of forcibly putting a flip-flop incorporated in the logic circuit into a hold state. A third step of forcibly disabling all the source gate groups on the tristate bus built in the logic circuit except for the test signal application gate, a fourth step of measuring the standby current, A fifth step of releasing the forced disable state of the group of source gates on the tristate bus incorporated in the circuit, and a sixth step of releasing the forced hold state of the flip-flop incorporated in the logic circuit The processing is performed by sequentially repeating the processing.
これにより、任意のテストパターンに対して論理回路
の回路テストを行う論理回路テストの行程の中で、スタ
ンバイ電流測定のための状態で実現して、スタンバイ電
流測定のテスト項目を加えることができる。このため、
複雑なテストパターンによるテストを行うまでもなく、
スタンバイ電流測定のテスト項目を加えて、論理回路の
回路不良を容易に確実に判定できる。Thereby, in the process of the logic circuit test for performing the circuit test of the logic circuit with respect to an arbitrary test pattern, it can be realized in a state for standby current measurement, and a test item for standby current measurement can be added. For this reason,
Needless to test with complex test patterns,
By adding a test item for standby current measurement, a circuit failure of a logic circuit can be easily and reliably determined.
このような論理回路のテスト方法を確実に容易に行う
ために、被テスト論理回路には、例えば、論理回路の設
計時において、 (1)内部フリップフロップの値をテストモード時外部
ピンから強制的にホールド状態にするためのクロック信
号、セット信号,およびリセット信号等の制御信号を抑
止する回路のフリップフロップ制御信号抑止回路を埋設
し、また、 (2)内部トライステートバスの値をテストモード時外
部ピンから強制的に非ハイインピンダース状態にするた
めの通常論理トライステートバスを全てディスエーブル
とし、およびテスト専用トライステートソースをイネー
ブルとする回路のトライステートバス制御回路を埋設
し、更に、 (3)これらのフリップフロップ制御信号抑止回路およ
びトライステートバス制御回路を個別に制御するテスト
モード設定用外部ピンを、予め設けておく。これによ
り、容易に確実に上述の論理回路のテストを行うことが
できる。In order to easily perform such a logic circuit test method, for example, at the time of designing a logic circuit, (1) the value of an internal flip-flop is forcibly applied from an external pin in a test mode. A flip-flop control signal suppression circuit for suppressing a control signal such as a clock signal, a set signal, and a reset signal for setting a hold state is embedded in the test mode. All the normal logic tri-state buses for forcibly bringing a non-high impingement state from an external pin are disabled, and a tri-state bus control circuit for enabling a test-only tri-state source is embedded. 3) Separate these flip-flop control signal suppression circuits and tri-state bus control circuits The test mode setting external pins to control, provided in advance. This makes it possible to easily and reliably test the above-described logic circuit.
更に、任意のテストパターンに対し、前記テストモー
ド時の所望の状態を実現するため、テスト実行の順序
は、 (a)論理回路の被テストモード設定、 (b)任意のテストパターン印加、 (c)テストモード設定、 (d)トライステートゲートのテストモード設定、 (e)スタンバイ電流測定、 (f)フリップフロップのテストモード解除、 (g)トライステートゲートのテストモード解除、 (h)前記(b)〜(g)のくり返し、 として行う。このようなテスト実行において、テストモ
ード制御用外部ピンは、フリップフロップ制御系とトラ
イステートバス系で独立に制御してテストが行われる。Furthermore, in order to realize a desired state in the test mode for an arbitrary test pattern, the order of test execution is as follows: (a) setting a test mode of a logic circuit; (b) applying an arbitrary test pattern; ) Test mode setting, (d) Tri-state gate test mode setting, (e) Standby current measurement, (f) Flip-flop test mode release, (g) Tri-state gate test mode release, (h) (b) ) To (g) are repeated. In such a test execution, the test mode control external pins are independently controlled by a flip-flop control system and a tri-state bus system to perform a test.
論理回路に設けておくフリップフロップ制御信号抑止
回路は、テストモード時、各フリップフロップのデータ
入力端子、制御信号端子がどのような値であっても、フ
リップフロップ制御信号を抑止するように動作する。こ
のため、フリップフロップ内部状態はテストモード時に
は強制的にホールドすることができる。また、トライス
テートバス制御回路は、テストモード時、テスト専用ト
ライステートソースのみをイネーブルとし、他のトライ
ステートソースをディスエーブルとするように動作す
る。このため、バスラインの値を外部ピンから強制的に
非ハイインピーダンス状態にすることができる。The flip-flop control signal suppressing circuit provided in the logic circuit operates to suppress the flip-flop control signal in the test mode, regardless of the values of the data input terminal and the control signal terminal of each flip-flop. . Therefore, the internal state of the flip-flop can be forcibly held in the test mode. In the test mode, the tristate bus control circuit operates so as to enable only the test dedicated tristate source and disable other tristate sources. Therefore, the value of the bus line can be forcibly set to a non-high impedance state from an external pin.
テスト実行順序は、フリップフロップのホールド後に
トライステートバスの値を変更し、トライステートバス
の値の回復の後にフリップフロップのホールドを解除す
るというように動作するため、トライステートバスの
値、フリップフロップの入力および記憶値が、テストモ
ードの前後で変わることがない。それによって、任意の
テストパターンの順序性を乱すことがない。The test execution order changes the value of the tri-state bus after the flip-flop is held, and releases the hold of the flip-flop after the recovery of the value of the tri-state bus. Input and stored values do not change before and after the test mode. Thereby, the order of any test pattern is not disturbed.
テストモード制御用外部ピンは、フリップフロップ制
御系とトライステートバス制御系とを独立させることが
できるため、テスト実行手順を試験装置からのパターン
印加手順で制御することができる。なお、テストモード
制御用外部ピンをフリップフロップ制御系とトライステ
ートバス制御系で共用する場合には、内部位相制御回路
により各々の制御系に対する信号を制御するような構成
とすることにより、独立して設けている場合と同様に、
テスト実行手順を試験装置からのパターン印加手順で制
御することができる。Since the test mode control external pins can make the flip-flop control system and the tristate bus control system independent, the test execution procedure can be controlled by the pattern application procedure from the test apparatus. When the external pins for the test mode control are shared by the flip-flop control system and the tri-state bus control system, the internal phase control circuit controls the signals for each control system so that they are independent. As in the case where
The test execution procedure can be controlled by a pattern application procedure from the test apparatus.
以下、本発明の実施例を図面を用いて具体的に説明す
る。Hereinafter, embodiments of the present invention will be specifically described with reference to the drawings.
なお、実施例を説明するための全図において、同一要
素のものは同一符号を付け、その繰り返しの説明は省略
する。In all the drawings for describing the embodiments, the same components are denoted by the same reference numerals, and the repeated description thereof will be omitted.
第1図は、本発明の一実施例にかかる論理回路のテス
ト方法を一態様で実施する論理回路のテスト時の要部構
成を具体的に示す回路図である。また、第2図は、第1
図の論理回路の非テスト時の要部構成を示す回路図であ
る。FIG. 1 is a circuit diagram specifically showing a configuration of a main part at the time of a test of a logic circuit that implements a logic circuit test method according to an embodiment of the present invention in one aspect. Also, FIG.
FIG. 3 is a circuit diagram illustrating a main configuration of the logic circuit of FIG.
ここで、スタンバイ電流測定のテストを行う論理回路
は、第2図に示すように、組合せ論理部21,フリップフ
ロップ22,組合せ論理部23,トライステート素子24aおよ
び24b,組合せ論理部25,およびフリップフロップ26が直
列に接続された論理回路20とする。Here, as shown in FIG. 2, the logic circuit for testing the standby current measurement includes a combinational logic unit 21, a flip-flop 22, a combinational logic unit 23, tri-state elements 24a and 24b, a combinational logic unit 25, and a flip-flop. It is assumed that the logic circuit 20 has the loops 26 connected in series.
このような論理回路20に対して、スタンバイ電流測定
のテストを行うために、第1図に示すように、フリップ
フロップ22を強制的にホールド状態とするフリップフロ
ップ制御信号抑止回路11と、トライステート素子24aお
よび24bを強制的に非ハイインピンダース状態にするト
ライステートバス制御回路12と、フリップフロップ22を
強制的にホールド状態とするフリップフロップ制御信号
抑止回路13とが設けられた状態とする。論理回路をテス
トするためのスタンバイ電流測定のテストを行う場合、
これらの回路(11,12,13)により、論理回路中のフリッ
プフロップは強制的にホールド状態とし、トライステー
ト素子はテスト信号印加用のトライステート素子を除き
強制的に非ハイインピーダンス状態にする。In order to perform a standby current measurement test on such a logic circuit 20, as shown in FIG. It is assumed that a tristate bus control circuit 12 for forcing the elements 24a and 24b into the non-high impingement state and a flip-flop control signal suppressing circuit 13 for forcing the flip-flop 22 into the hold state are provided. When performing a standby current measurement test to test a logic circuit,
By these circuits (11, 12, 13), the flip-flop in the logic circuit is forcibly brought into the hold state, and the tri-state element is forcibly brought into the non-high impedance state except for the tri-state element for applying the test signal.
第1図を参照して、被テスト論理回路に設けるフリッ
プフロップ制御信号抑止回路およびトライステートバス
制御回路の回路構成の説明を続けると、第1図におい
て、14はトライステートバス系制御用外部ピン、17はフ
リップフロップ系制御用外部ピンである。フリップフロ
ップ制御信号抑止回路11は、ANDゲート11a,11b,11cによ
りフリップフロップ22の制御信号をテストモード時には
抑止し、非テストモード時には制御信号を通過させて通
常の論理動作が可となるようにする回路である。また、
トライステートバス制御回路12は、ORゲート12a,12bに
よりトライステート素子24aおよび24bをテストモード時
にはディスエーブルとし、非テストモード時には通常の
論理動作が可となるようにし、更に、トライステート素
子12cによりテストモード時には入力ピン15に与えたテ
ストデータをバスライン16に設定し、非テストモード時
にはディスエーブルとする回路である。また、フリップ
フロップ制御信号抑止回路13は、ANDゲート13a,13b,13c
によりフリップフロップ25の制御信号をテストモード時
には抑止してホールド状態とし、非テストモード時には
制御信号を通過させて通常論理動作が可となるようにす
る回路である。With reference to FIG. 1, the description of the circuit configuration of the flip-flop control signal suppressing circuit and the tri-state bus control circuit provided in the logic circuit under test will be continued. In FIG. , 17 are flip-flop system control external pins. The flip-flop control signal suppression circuit 11 suppresses the control signal of the flip-flop 22 by the AND gates 11a, 11b, and 11c in the test mode, and passes the control signal in the non-test mode to enable normal logic operation. Circuit. Also,
The tri-state bus control circuit 12 disables the tri-state elements 24a and 24b in the test mode by the OR gates 12a and 12b, enables normal logic operation in the non-test mode, and furthermore, the tri-state element 12c In the test mode, the test data applied to the input pin 15 is set on the bus line 16, and is disabled in the non-test mode. The flip-flop control signal suppression circuit 13 includes AND gates 13a, 13b, 13c
Is a circuit that suppresses the control signal of the flip-flop 25 in the test mode and sets it to the hold state, and passes the control signal in the non-test mode to enable normal logic operation.
第3図は、被テスト論理回路にテストパターンを与え
る動作のタイムチャートを示す図である。第3図に示す
ように、所定の期間毎に各々のテストサイクルが繰り返
し行われる。テスト用外部ピン以外のテストパターン信
号が、テストサイクル毎のタイミング31およびタイミン
グ37で必要に応じて変化する。この各テストサイクルの
タイミングに対応して、フリップフロップ系制御用外部
ピンの信号、トライステートバス系制御用外部ピンの信
号が、図示するように変化する。FIG. 3 is a diagram showing a time chart of an operation of giving a test pattern to a logic circuit under test. As shown in FIG. 3, each test cycle is repeatedly performed at predetermined intervals. Test pattern signals other than the test external pins change as necessary at timings 31 and 37 of each test cycle. Corresponding to the timing of each test cycle, the signal of the flip-flop system control external pin and the signal of the tristate bus system control external pin change as shown.
被テスト論理回路のテスト動作を説明する。テストサ
イクル1の先頭のタイミング31において、通常のテスト
パターン信号が印加されると、このとき、フリップフロ
ップ系制御用外部ピン17の信号はH(High)レベルにな
っており、フリップフロップ22,26の制御信号端子のC
(クロック)端子,S(セット)端子,R(リセット)端子
の各端子には、通常の論理動作時の信号が到達する。ま
た、このとき、トライステートバス系制御用外部ピン14
の信号はL(Low)レベルになっており、トライステー
ト素子24aおよび24bのイネーブル端子には通常の論理動
作信号が到達している。また、トライステート素子12c
はディスエーブル状態となっており、バスライン16の通
常の論理動作に影響を与えない。テストパターン信号で
与えた入力刺激が、回路中に伝播し安定した後、フリッ
プフロップ系制御用外部ピン17の信号をタイミング32で
Lレベルとすると、フリップフロップ22,26に対する制
御信号が抑止され、フリップフロップ22,26は、その時
点におけるフリップフロップ設定値をホールドする。フ
リップフロップのホールド状態が確定した後、トライス
テートバス系制御用外部ピン14の信号をタイミング33で
Hレベルとすると、トライステート素子24a,24bはディ
スエーブル状態となる。また、トライステート素子12c
がイネーブル状態となり、入力ピン15からの信号で与え
たレベルがバスライン16に設定される。トライステート
バス系制御用外部ピン14の入力刺激に対し回路が十分安
定した後のタイミング34においては、フリップフロップ
はホールド状態、トライステートバスは、LあるいはH
レベル安定状態になり、このとき、回路全体が静的安定
状態となるためスタンバイ電流の測定要件を満たす。し
たがって、タイミング34でスタンバイ電流測定を行う。
その後、タイミング35でトライステートバス系制御用外
部ピン14の信号をLレベルとすると、バスライン16がテ
ストモード前の状態に回復する。この後のタイミング36
で、フリップフロップ系制御用外部ピン17の信号をHレ
ベルとすると、前のタイミング35で既にフリップフロッ
プの入力端子における信号の値はテストモード前に回復
済となっているため、タイミング36で各フリップフロッ
プもテストモード前の状態に復帰する。同様の手順をテ
ストサイクル2においても、タイミング37からテストパ
ターン信号を加えて開始して繰り返し行い、以降必要な
回数のテストサイクルを同様の手順で繰り返す。The test operation of the test target logic circuit will be described. When a normal test pattern signal is applied at the beginning timing 31 of the test cycle 1, the signal of the flip-flop system control external pin 17 is at the H (High) level at this time, and the flip-flops 22, 26 Control signal terminal C
Signals during normal logic operation reach the (clock) terminal, the S (set) terminal, and the R (reset) terminal. At this time, the external pins 14
Is at the L (Low) level, and a normal logic operation signal has reached the enable terminals of the tri-state elements 24a and 24b. Also, the tri-state element 12c
Is disabled and does not affect the normal logical operation of the bus line 16. After the input stimulus given by the test pattern signal propagates through the circuit and stabilizes, when the signal of the flip-flop system control external pin 17 is set to L level at the timing 32, the control signals for the flip-flops 22 and 26 are suppressed, The flip-flops 22 and 26 hold the flip-flop set value at that time. After the hold state of the flip-flop is determined, when the signal of the external pin 14 for controlling the tri-state bus system is set to the H level at the timing 33, the tri-state elements 24a and 24b are disabled. Also, the tri-state element 12c
Are enabled, and the level given by the signal from the input pin 15 is set to the bus line 16. At a timing 34 after the circuit is sufficiently stabilized with respect to the input stimulus of the tristate bus system control external pin 14, the flip-flop is in the hold state, and the tristate bus is in the L or H state.
The level becomes a stable state, and at this time, the whole circuit is in a static stable state, so that the requirement for measuring the standby current is satisfied. Therefore, the standby current is measured at the timing.
Thereafter, when the signal of the tristate bus system control external pin 14 is set to L level at the timing 35, the bus line 16 is restored to the state before the test mode. Timing 36 after this
When the signal of the flip-flop system control external pin 17 is set to H level, the value of the signal at the input terminal of the flip-flop has already been recovered at the previous timing 35 before the test mode. The flip-flop also returns to the state before the test mode. The same procedure is repeated in test cycle 2 starting from timing 37 by adding a test pattern signal, and the necessary number of test cycles is repeated in the same procedure.
なお、この例では、連続した各々のテストサイクルに
対して、スタンバイ電流測定のテストを行っているが、
このスタンバイ電流測定のテストは特定のテストサイク
ルに対してのみ行うようにしてもよい。In this example, the test of the standby current measurement is performed for each successive test cycle.
The test of the standby current measurement may be performed only for a specific test cycle.
次に、本発明の他の実施例を説明する。まず、この論
理回路のテスト方法で用いるフリップフロップ制御回路
およびトライステートバス制御回路の他の回路例から説
明する。Next, another embodiment of the present invention will be described. First, another example of the flip-flop control circuit and the tristate bus control circuit used in the test method of the logic circuit will be described.
第4図は、フリップフロップ制御回路の他の実施例を
示す図である。第1図の回路例では、フリップフロップ
制御回路を独立したゲート群で構成している回路として
いるが、第4図に示すように、論理回路を構成する基本
回路セルのフリップフロップ41として、フリップフロッ
プ制御回路のANDゲート42a,42b,42cをフリップフロップ
43と共に等価的にセル内部へ取り込んだ回路を用いるよ
うにする。この場合、フリップフロップに対する制御信
号の供給を制御するゲートが付加されたフリップフロッ
プセルが、論理回路を構成する上で用いられるため、特
に、フリップフロップ制御回路のゲートを設けることは
ない。また、フリップフロップの周辺回路に既に設けら
れているゲートを用いて、同様なフリップフロップ制御
回路のゲートとしてもよい。テスト容易化設計による論
理回路方式によって、テストを行うためのテスト用ゲー
ト回路を組み込んだ回路としている場合には、それらの
テスト用ゲート回路を用いるようにしても良い。FIG. 4 is a diagram showing another embodiment of the flip-flop control circuit. In the circuit example of FIG. 1, the flip-flop control circuit is a circuit configured by an independent gate group. However, as shown in FIG. 4, a flip-flop 41 of a basic circuit cell forming a logic circuit is a flip-flop control circuit. Flip-flop AND gates 42a, 42b, 42c of the flip-flop control circuit
A circuit equivalent to 43 and taken into the cell is used. In this case, since a flip-flop cell to which a gate for controlling supply of a control signal to the flip-flop is added is used for forming a logic circuit, a gate of the flip-flop control circuit is not particularly provided. Alternatively, a gate already provided in a peripheral circuit of the flip-flop may be used as a gate of a similar flip-flop control circuit. In the case where a test gate circuit for performing a test is incorporated by a logic circuit system based on a test facilitation design, such a test gate circuit may be used.
第5a図および第5b図は、トライステートバス制御回路
の他の実施例を示す図である。この回路例は、第5a図に
示すように、論理回路を構成する基本回路セルのトライ
ステート素子セル51として、トライステート素子53と、
制御用ORゲート52とを等価的にセル内部へとり込んだも
のを用い、また、テスト信号印加用のトライステートゲ
ートとして、第5b図に示すように、トライステート素子
だけのテスト信号印加用専用セル54を用いたものであ
る。この専用セル54はトライステート素子55が内蔵され
たセルである。これらの基本回路セルを用いて、論理回
路を構成すると、第6図に示すような回路構成となる。
第6図の論理回路は、第1図と同じ構成の論理回路を、
第4図,第5a図および第5b図に示した各基本回路セルを
用いて構成した回路である。なお、これらの基本回路セ
ルは、セル内部にゲートレベルで制御回路を組込んだ
が、トランジスタレベルで等価な回路動作を実現するこ
とにより、ディレイ、あるいは、セル面積等のオーバヘ
ッドを削減した論理回路構成とすることもできる。5a and 5b show another embodiment of the tristate bus control circuit. In this circuit example, as shown in FIG. 5a, a tri-state element 53 as a tri-state element cell 51 of a basic circuit cell constituting a logic circuit,
Use a control OR gate 52 equivalent to the inside of the cell and use it as a tri-state gate for applying a test signal, as shown in Fig. 5b. This uses a cell 54. The dedicated cell 54 is a cell in which the tri-state element 55 is built. When a logic circuit is configured using these basic circuit cells, a circuit configuration as shown in FIG. 6 is obtained.
The logic circuit of FIG. 6 has the same configuration as that of FIG.
This is a circuit configured using each basic circuit cell shown in FIGS. 4, 5a and 5b. In these basic circuit cells, a control circuit is incorporated at the gate level inside the cell. However, by realizing equivalent circuit operation at the transistor level, a logic circuit configuration in which overhead such as delay or cell area is reduced is realized. It can also be.
第7図は、テスト制御用外部ピンにかかる他の実施例
を示す位相制御回路である。第7図において、71はテス
ト制御用外部ピン、72はフリップフロップ制御系への信
号端子、73はトライステートバス制御系への信号端子で
ある。また、74,75,76はそれぞれディレイ値d1,d2,d3を
持つANDゲートである。この位相制御回路を用い、信号
端子72はフリップフロップ系制御用外部ピン17に接続
し、信号端子73はトライステートバス系制御用外部ピン
14に接続することにより、論理回路のテスト制御用の外
部信号ピンを1本とすることができる。FIG. 7 is a phase control circuit showing another embodiment relating to an external pin for test control. In FIG. 7, reference numeral 71 denotes an external pin for test control, 72 denotes a signal terminal to a flip-flop control system, and 73 denotes a signal terminal to a tristate bus control system. 74, 75, and 76 are AND gates having delay values d1, d2, and d3, respectively. Using this phase control circuit, the signal terminal 72 is connected to the flip-flop control external pin 17, and the signal terminal 73 is connected to the tri-state bus control external pin.
By connecting to 14, the number of external signal pins for test control of the logic circuit can be reduced to one.
第8図は、第7図に示すテスト制御用の外部信号ピン
にかかる位相制御回路の動作を示すタイムチャートであ
る。第8図のタイムチャートに示すように、ANDゲート7
4,ANDゲート75およびANDゲート76はそれぞれディレイ値
d1,d2およびd3を持っており、テスト制御用外部ピン71
に外部制御信号としてタイミング信号77に示す波形を印
加すれば、信号端子72にはタイミング信号78が出力さ
れ、信号端子73にはタイミング信号79が出力される。こ
れらの端子から出力された各タイミング信号波形の各々
の立上がりまたは立下りのタイミング91,92,93を、例え
ば、第3図のタイムチャートのタイミング31,32,33に対
応させるように、ディレイ値d1〜d3、およびタイミング
91,94を適宜に設定することにより、テスト制御用外部
ピンを1ピンとした構成とすることができる。FIG. 8 is a time chart showing the operation of the phase control circuit relating to the external signal pin for test control shown in FIG. As shown in the time chart of FIG.
4, AND gate 75 and AND gate 76 each have delay value
It has d1, d2 and d3, and external test control pin 71
When the waveform shown in the timing signal 77 is applied as an external control signal, the timing signal 78 is output to the signal terminal 72, and the timing signal 79 is output to the signal terminal 73. The delay values 91, 92, and 93 of the timing signal waveforms output from these terminals are set to correspond to the timings 31, 32, and 33 in the time chart of FIG. d1 to d3, and timing
By appropriately setting 91 and 94, a configuration in which the external pin for test control is one pin can be realized.
以上、本発明を実施例にもとづき具体的に説明した
が、本発明は、前記実施例に限定されるものではなく、
その要旨を逸脱しない範囲において種々変更可能である
ことは言うまでもない。As mentioned above, although the present invention was explained concretely based on an example, the present invention is not limited to the above-mentioned example.
It goes without saying that various changes can be made without departing from the scope of the invention.
以上、説明したように、本発明によれば、論理回路の
テストとして、小量のハードウェア制御のオーバヘッド
で外部ピンから容易に内部フリップフロップをホールド
状態、トライステートバスを非ハイインピーダンス状態
にして、スタンバイ電流測定を行うことができる。これ
により、スタンバイ電流測定のための専用のテストパタ
ーン設計、あるいは、既存テストパターンからのスタン
バイ電流測定要件を満たすテストパターンの検索をし
て、論理回路のテストを行う必要はなく、論理回路テス
トのためのコストを低減する効果がある。As described above, according to the present invention, as a test of a logic circuit, an internal flip-flop is easily held from an external pin with a small amount of hardware control overhead, and a tristate bus is set to a non-high impedance state. , A standby current measurement can be performed. As a result, there is no need to test a logic circuit by designing a dedicated test pattern for standby current measurement or searching for a test pattern that meets the standby current measurement requirements from existing test patterns, and performing logic circuit tests. Therefore, there is an effect of reducing the cost.
また、本発明によるテスト実行手順で、論理回路テス
トを行うことにより、既存のテストパターンをそのまま
利用し、スタンバイ電流測定用パターンとすることがで
きるので、論理回路テスト用パターンの設計コストの低
減、テストパターンファイルリソース等の削減の効果が
ある。さらに、既存パターンにDCファンクションテスト
等のパターンを流用することにより、非常に多くの回路
内部状態に対してスタンバイ電流測定をすることが可能
となり、テストパターンの試験性能が向上し、容易に確
実な論理回路のテストが行える。In addition, by performing a logic circuit test in the test execution procedure according to the present invention, an existing test pattern can be used as it is and can be used as a standby current measurement pattern, so that the design cost of the logic circuit test pattern can be reduced. This has the effect of reducing test pattern file resources and the like. Furthermore, by using a pattern such as a DC function test for an existing pattern, it becomes possible to measure the standby current for an extremely large number of circuit internal states, thereby improving the test performance of the test pattern and making it easier and more reliable. Logic circuits can be tested.
第1図は、本発明の一実施例にかかる論理回路のテスト
方法を一態様で実施する論理回路のテスト時の要部構成
を具体的に示す回路図、 第2図は、第1図の論理回路の非テスト時の要部構成を
示す回路図、 第3図は、被テスト論理回路にテストパターンを与える
動作のタイムチャートを示す図、 第4図は、フリップフロップ制御回路の他の実施例を示
す図、 第5a図および第5b図は、トライステートバス制御回路の
他の実施例を示す図、 第6図は、本発明にかかる他の実施例の論理回路の要部
構成を示す回路図、 第7図は、テスト制御用外部ピンにかかる他の実施例を
示す位相制御回路の回路図、 第8図は、第7図に示すテスト制御用の外部信号ピンに
かかる位相制御回路の動作を示すタイムチャートであ
る。 図中、11,13…フリップフロップ制御回路、12…トライ
ステートバス制御回路、14…トライステートバス系制御
用外部ピン、17…フリップフロップ系制御用外部ピン、
20…論理回路、21,23…組合せ論理部、22,26…フリップ
フロップ、24a,24b…トライステート素子、41…フリッ
プフロップセル、51…トライステート素子セル、54…テ
スト信号印加用専用セル。FIG. 1 is a circuit diagram specifically showing a main configuration of a logic circuit at the time of testing, which implements a method for testing a logic circuit according to an embodiment of the present invention in one aspect. FIG. FIG. 3 is a circuit diagram showing a configuration of a main part of the logic circuit at the time of non-test, FIG. 3 is a diagram showing a time chart of an operation of applying a test pattern to a logic circuit under test, and FIG. 4 is another embodiment of a flip-flop control circuit; FIGS. 5a and 5b show an example of another embodiment of the tristate bus control circuit, and FIG. 6 shows a main configuration of a logic circuit of another embodiment of the present invention. FIG. 7 is a circuit diagram of a phase control circuit showing another embodiment relating to external pins for test control, and FIG. 8 is a phase control circuit relating to external signal pins for test control shown in FIG. 6 is a time chart showing the operation of the first embodiment. In the figure, 11, 13 ... flip-flop control circuit, 12 ... tri-state bus control circuit, 14 ... external pin for tri-state bus control, 17 ... external pin for flip-flop control,
Reference numeral 20: logic circuit, 21, 23: combinational logic unit, 22, 26: flip-flop, 24a, 24b: tri-state element, 41: flip-flop cell, 51: tri-state element cell, 54: cell dedicated to test signal application.
Claims (3)
時に、論理回路に内蔵されるフリップフロップを強制的
にホールド状態とし、論理回路に内蔵されるトライステ
ートバス上のソースゲート群をテスト信号印加ゲートの
みを除き全て強制的にディスエーブル状態にして、スタ
ンバイ電流を測定することにより回路不良を判定するこ
とを特徴とする論理回路のテスト方法。In a test mode, a flip-flop incorporated in a logic circuit is forcibly held in a test mode, and a source gate group on a tristate bus incorporated in the logic circuit is subjected to a test signal. A test method for a logic circuit, characterized in that a circuit failure is determined by forcibly disabling all except an application gate and measuring a standby current.
テストモード時に強制的にホールド状態とするフリップ
フロップ制御回路と、論理回路に内蔵されるトライステ
ートバス上のソースゲート群をテストモード時にテスト
信号印加ゲートのみを除き全て強制的にディスエーブル
状態にするトライステートバス制御回路とを被テスト論
理回路に備え、前記フリップフロップ制御回路および前
記トライステートバス制御回路を個別に制御して、テス
ト信号が与えられたテストサイクルの中で、回路全体が
静的安定状態となる期間を設け、スタンバイ電流を測定
して、回路不良を判定することを特徴とする論理回路の
テスト方法。2. A flip-flop control circuit for forcibly holding a flip-flop built in a logic circuit in a test mode in a test mode, and a test signal in a test mode in a source gate group on a tri-state bus built in the logic circuit. A tri-state bus control circuit for forcibly disabling all except for the application gate is provided in the logic circuit under test, and the flip-flop control circuit and the tri-state bus control circuit are individually controlled so that the test signal is A test method for a logic circuit, comprising: providing a period in which a whole circuit is in a static stable state in a given test cycle, and measuring a standby current to determine a circuit failure.
パターンを印加する第1ステップと、論理回路に内蔵さ
れるフリップフロップを強制的にホールド状態にする第
2ステップと、論理回路に内蔵されるトライステートバ
ス上のソースゲート群をテスト信号印加ゲートのみを除
き全て強制的にディスエーブル状態にする第3ステップ
と、スタンバイ電流を測定する第4ステップと、論理回
路に内蔵されるトライステートバス上のソースゲート群
の強制的なディスエーブル状態を解除する第5ステップ
と、論理回路に内蔵されるフリップフロップの強制的な
ホールド状態を解除する第6ステップとの処理を順次に
繰り返し行うことを特徴とする論理回路のテスト方法。3. A first step of applying an arbitrary test pattern to a logic circuit under test, a second step of forcibly putting a flip-flop incorporated in the logic circuit into a hold state, and a step of incorporating the flip-flop in the logic circuit. A third step of forcibly disabling all of the source gates on the tristate bus except for the test signal application gate, a fourth step of measuring a standby current, and a tristate incorporated in the logic circuit. A step of releasing the forced disable state of the source gate group on the bus and a sixth step of releasing the forced hold state of the flip-flop included in the logic circuit are sequentially and repeatedly performed. A method for testing a logic circuit, comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63241384A JP2589352B2 (en) | 1988-09-27 | 1988-09-27 | Test method of coach circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63241384A JP2589352B2 (en) | 1988-09-27 | 1988-09-27 | Test method of coach circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0288980A JPH0288980A (en) | 1990-03-29 |
| JP2589352B2 true JP2589352B2 (en) | 1997-03-12 |
Family
ID=17073484
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63241384A Expired - Lifetime JP2589352B2 (en) | 1988-09-27 | 1988-09-27 | Test method of coach circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2589352B2 (en) |
-
1988
- 1988-09-27 JP JP63241384A patent/JP2589352B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0288980A (en) | 1990-03-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5606567A (en) | Delay testing of high-performance digital components by a slow-speed tester | |
| US7543207B2 (en) | Full scan solution for latched-based design | |
| US5768159A (en) | Method of simulating AC timing characteristics of integrated circuits | |
| US20050005217A1 (en) | Test standard interfaces and architectures | |
| JP2013029515A (en) | Optimized jtag interface | |
| US10386413B2 (en) | Circuit and method for testing flip flop state retention | |
| US8841952B1 (en) | Data retention flip-flop | |
| US7882410B2 (en) | Launch-on-shift support for on-chip-clocking | |
| US10823781B1 (en) | Internally clocked logic built-in self-test apparatuses and methods | |
| JPH05281308A (en) | Logic integrated circuit | |
| EP0702241B1 (en) | Structural and performance scan test | |
| JP2589352B2 (en) | Test method of coach circuit | |
| US20050015689A1 (en) | Electronic component and method for measuring its qualification | |
| US12405304B2 (en) | Testing multi-cycle paths based on clock pattern | |
| JP2906073B2 (en) | LSI including DC test circuit | |
| US20030034795A1 (en) | Delayed flash clear scan flip-flop to be implemented in complex integrated circuit designs | |
| US7089471B2 (en) | Scan testing mode control of gated clock signals for flip-flops | |
| JP3529762B2 (en) | Test cell circuit | |
| JP3094983B2 (en) | System logic test circuit and test method | |
| US20050246599A1 (en) | System and method for testing input and output characterization on an integrated circuit device | |
| US6973422B1 (en) | Method and apparatus for modeling and circuits with asynchronous behavior | |
| JP2000046919A (en) | Integrated circuit and testing method | |
| US6968519B2 (en) | System and method for using IDDQ pattern generation for burn-in tests | |
| JP3328160B2 (en) | Test equipment for logic integrated circuits | |
| US20240418776A1 (en) | Integrated-circuit chip for retention cell testing |