JPH0288980A - Method for testing logic circuit - Google Patents

Method for testing logic circuit

Info

Publication number
JPH0288980A
JPH0288980A JP63241384A JP24138488A JPH0288980A JP H0288980 A JPH0288980 A JP H0288980A JP 63241384 A JP63241384 A JP 63241384A JP 24138488 A JP24138488 A JP 24138488A JP H0288980 A JPH0288980 A JP H0288980A
Authority
JP
Japan
Prior art keywords
logic circuit
test
flip
circuit
state
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
JP63241384A
Other languages
Japanese (ja)
Other versions
JP2589352B2 (en
Inventor
Iku Moriwaki
森脇 郁
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP63241384A priority Critical patent/JP2589352B2/en
Publication of JPH0288980A publication Critical patent/JPH0288980A/en
Application granted granted Critical
Publication of JP2589352B2 publication Critical patent/JP2589352B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To easily test a logic circuit in a simple processing way by measuring a standby current after flip flops incorporated in the logic circuit as forcibly set to hold state and a source gate group on a tri-state bus forcibly set to a disable state. CONSTITUTION:Flip flop controlling signal suppression circuits 11 and 13 which forcibly set flip flops 22 and 26 to hold states and a tri-state bus control circuit 12 which forcibly sets tri-state elements 24a and 24b to non-high impedance states are provided. At the time of performing a standby current measuring test for testing a logic circuit, the flip flops 22 and 26 and tri-state elements 24a and 24b incorporated in the logic circuit are respectively set forcibly to hold states and non-high impedance states. Therefore, the testing cost of a logic circuit can be reduced.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、論理回路のテスト方法に関し、特に、スタン
バイ電流測定により論理回路の製造不良を摘出する論理
回路のテスト方法に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a logic circuit testing method, and more particularly to a logic circuit testing method for identifying manufacturing defects in the logic circuit by measuring standby current.

〔従来の技術〕[Conventional technology]

CMO8論理回路は、PチャンネルMO8とNチャンネ
ルMO8とが相補的に接続されているため、入力電位レ
ベルが静止した状態においては。
In the CMO8 logic circuit, the P-channel MO8 and the N-channel MO8 are connected in a complementary manner, so that when the input potential level is stationary.

必ずPチャネルMO8,NチャンネルMO8の何れか一
方が、カットオフの状態になっている。したがって、電
源から電流が流れるバスはなく、流れる電流はないはず
であるが、実際にはCMOS論理回路のチップ内に存在
する寄生を含めた全戸−N接合の逆バイアス電流が流れ
る。
Either the P channel MO8 or the N channel MO8 is always in a cutoff state. Therefore, there is no bus through which current flows from the power supply, and no current should flow; however, in reality, a reverse bias current flows across the whole-N junction, including the parasitics that exist within the chip of the CMOS logic circuit.

CMO8論理LSI等の製造不良を摘出する手段として
、入力電位レベルが安定した状態のCMO8論理回路の
P−N接合に流れる極めて微少な逆バイアス電流(スタ
ンバイ電流)を測定することが行われる。そして、m定
したスタンバイ電流が、標準的なスタンバイ電流と比較
して大きく異なる場合、測定したCMO5論理回路部品
を不良と判定するテストが行われる。
As a means of identifying manufacturing defects in CMO8 logic LSIs and the like, an extremely small reverse bias current (standby current) flowing through the PN junction of a CMO8 logic circuit with a stable input potential level is measured. Then, if the determined standby current is significantly different from the standard standby current, a test is performed to determine that the measured CMO5 logic circuit component is defective.

スタンバイ電流測定のためには、内部セルの入力電位レ
ベルが安定していることが必要である。
For standby current measurement, it is necessary that the input potential level of the internal cells be stable.

このため1通常の論理動作を用いて回路内の全セルの入
力電位を安定させる専用のテストパターンを作成するか
、または、既存のテストパターンによる論理動作におけ
る入力電位安定状態を抽出してテストを行うようにして
いる。
For this purpose, 1. Either create a dedicated test pattern that stabilizes the input potential of all cells in the circuit using normal logic operation, or extract the input potential stable state in logic operation using an existing test pattern and perform the test. I try to do it.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかしながら、スタンバイ電流測定のための専用のテス
トパターンを設計する場合、 (1)内部フリップフロップを、テスト時にホールド状
態に確定するための処理手順として、通常の論理動作を
用いる必要があるため、処理手順が複雑である。
However, when designing a dedicated test pattern for standby current measurement, (1) it is necessary to use normal logic operation as a processing procedure to establish the internal flip-flop in the hold state during testing; The procedure is complicated.

(2)内部トライステートバスを、テスト時に非ハイイ
ンピーダンス状態に確定するための処理手順として、通
常の論理動作を用いる必要があるため、処理手順が複雑
である。
(2) The processing procedure for establishing the internal tristate bus into a non-high-impedance state during testing requires the use of normal logic operations, making the processing procedure complicated.

(3)また、実際にテストを行う時には、内部フリップ
フロップをホールド状態にすること、および内部トライ
ステートバスを非ハイインピーダンス状態にすることを
、回路全体に対し同時に成立させる必要があるため、処
理手順の設計および状態成立の確認が困難である。
(3) Also, when actually testing, it is necessary to simultaneously set the internal flip-flops to the hold state and the internal tri-state bus to the non-high-impedance state for the entire circuit. It is difficult to design procedures and confirm that conditions hold.

(4)更に1つの論理回路の多くの回路内部状態に対し
て、上記(1)、(2)、(3)における状態の条件を
設定するためのテストパターンの設計および確認コスト
が大であるという問題があった。
(4) Furthermore, the cost of designing and confirming test patterns to set the conditions for the states in (1), (2), and (3) above for many circuit internal states of one logic circuit 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 logic circuit testing method that measures standby current using simple processing procedures and easily tests logic circuits.

また1本発明の他の目的は、任意の既存テストパターン
用いて、スタンバイ電流測定を行い、容易に論理回路を
テストする論理回路のテスト方法を提供することにある
Another object of the present invention is to provide a logic circuit testing method that easily tests a logic circuit by measuring standby current using any existing test pattern.

本発明の前記ならびにその他の目的と新規な特徴は、本
明細書の記述及び添付図面によって明らかになるであろ
う。
The above and other objects and novel features of the present invention will become apparent from the description of this specification and the accompanying drawings.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的を達成するため、本発明においては、テストす
る論理回路に対して、テストモード時に論理回路に内蔵
されるフリップフロップを強制的にホールド状態とし、
論理回路に内蔵されるトライステートバス上のソースゲ
ート群をテスト信号印加ゲートのみを除き全て強制的に
ディスエーブル状態にして、スタンバイ電流を測定する
ことにより回路不良を判定して論理回路のテストを行う
論理回路のテスト方法が提供される。
In order to achieve the above object, the present invention forcibly puts a flip-flop built in the logic circuit into a hold state in a test mode for the logic circuit to be tested.
Test the logic circuit by forcibly disabling all the source gates on the tri-state bus built into the logic circuit, except for the test signal application gate, and measuring the standby current to determine circuit failure. A method of testing a logic circuit is provided.

また、本発明の論理回路のテスト方法は、論理回路に内
蔵されるフリップ70ツブをテストモード時に強制的に
ホールド状態とするフリップフロップ制御回路と、論理
回路に内蔵されるトライステートバス上のソースゲート
群をテストモード時にテスト信号印加ゲートのみを除き
全て強制的にディスエーブル状態にするトライステート
バス制御回路とを被テスト論理回路に備え、前記フリッ
プフロップ制御回路および前記トライステートバス制御
回路を個別に制御して、テストパターン信号が与えられ
たテストサイクルの中で1回路全体が静的安定状態とな
る期間を設け、スタンバイ電流を測定して、回路不良を
判定することを特徴とする。
Further, the logic circuit testing method of the present invention includes a flip-flop control circuit that forcibly holds a flip 70 block built in the logic circuit in a hold state in a test mode, and a source on a tristate bus built in the logic circuit. The logic circuit under test is provided with a tri-state bus control circuit that forcibly disables all gate groups except for the test signal application gate in a test mode, and the flip-flop control circuit and the tri-state bus control circuit are separately configured. The present invention is characterized in that a period in which the entire circuit is in a static stable state is provided during a test cycle in which a test pattern signal is applied, and a standby current is measured to determine a circuit failure.

更にまた1本発明の論理回路のテスト方法においては、
論理回路のテストを行うテストモード時、被テスト論理
回路に対して、任意のテストパターンを印加する第1ス
テップと、論理回路に内蔵されるフリップフロップを強
制的にホールド状態にする第2ステップと、論理回路に
内蔵されるトライステートバス上のソースゲート群をテ
スト信号印加ゲートのみを除き全て強制的にディスエー
ブル状態にする第3ステップと、スタンバイ電流を測定
する第4ステップと、論理回路に内蔵されるトライステ
ートバス上のソースゲート群の強制的なディスエーブル
状態を解除する第5ステップと、論理回路に内蔵される
フリップフロップの強制的なホールド状態を解除する第
6ステップとの処理を順次に繰り返し行うことを特徴と
する。
Furthermore, in the logic circuit testing method of the present invention,
In a test mode for testing a logic circuit, the first step is to apply an arbitrary test pattern to the logic circuit under test, and the second step is to force the flip-flops built into the logic circuit into a hold state. , a third step of forcibly disabling all the source gates on the tri-state bus built in the logic circuit except for the test signal application gate, and a fourth step of measuring the standby current. A fifth step of releasing a forced disable state of a group of source gates on a built-in tri-state bus, and a sixth step of releasing a forced hold state of a flip-flop built into a logic circuit. It is characterized by being repeated sequentially.

〔作用〕[Effect]

前記手段によれば、論理回路のテストを行う場合、被テ
スト論理回路に対して、論理回路に内蔵されるフリップ
フロップを強制的にホールド状態とし、論理回路に内蔵
されるトライステートバス上のソースゲート群をテスト
信号印加ゲートのみを除き全て強制的にディスエーブル
状態にして、スタンバイ電流を測定することにより回路
不良を判定する。
According to the above means, when testing a logic circuit, a flip-flop built in the logic circuit under test is forcibly put into a hold state, and a source on a tristate bus built in the logic circuit is forced to be in a hold state. A circuit failure is determined by forcibly disabling all gate groups except for the test signal application gate and measuring the standby current.

これにより、複雑なテストパターンによるテストを行う
までもなく、論理回路の回路不良を容易に確実に判定で
きる。
Thereby, circuit defects in the logic circuit can be easily and reliably determined without the need for testing using complicated test patterns.

また、このような論理回路のテストを行うために、論理
回路に内蔵されるフリップフロップをテストモード時に
強制的にホールド状態とするフリップフロップ制御回路
と、論理回路に内蔵されるトライステートバス上のソー
スゲート群をテストモード時にテスト信号印加ゲートの
みを除き全て強制的にディスエーブル状態とするトライ
ステートバス制御回路とを被テスト論理回路に備えて、
前記フリップフロップ制御回路および前記トライステー
トバス制御回路を個別に制御して、テスト信号が与えら
れたテストサイクルの中で1回路全体が静的安定状態と
なる期間を設け、スタンバイ電流を測定して、回路不良
を判定する。
In addition, in order to test such logic circuits, a flip-flop control circuit that forcibly puts the flip-flops built into the logic circuit into a hold state in test mode, and a The logic circuit under test is equipped with a tri-state bus control circuit that forcibly disables all source gates except for the test signal application gate in test mode.
The flip-flop control circuit and the tristate bus control circuit are individually controlled to provide a period during which one entire circuit is in a static stable state in a test cycle in which a test signal is applied, and a standby current is measured. , determine circuit failure.

これにより、複雑なテストパターンによるテストを行う
までもなく、論理回路の回路不良を容易に確実に判定で
きる。
Thereby, circuit defects in the logic circuit can be easily and reliably determined without the need for testing using complicated test patterns.

また、ここで行う論理回路のテスト方法は、被テスト論
理回路に対して、任意のテストパターンを印加する第1
ステップと、論理回路に内蔵されるフリップフロップを
強制的にホールド状態にする第2ステップと、論理回路
に内蔵されるトライステートバス上のソースゲート群を
テスト信号印加ゲートのみを除き全て強制的にディスエ
ーブル状態にする第3ステップと、スタンバイ電流を測
定する第4ステップと、論理回路に内蔵されるトライス
テートバス上のソースゲート群の強制的なディスエーブ
ル状態を解除する第5ステップと、論理回路に内蔵され
るフリップフロップの強制的なホールド状態を解除する
第6ステップとの処理を、順次に繰り返し行うことによ
り行われる。
In addition, the logic circuit testing method performed here is a first test in which an arbitrary test pattern is applied to the logic circuit under test.
step, and a second step that forcibly puts the flip-flops built into the logic circuit into a hold state, and a second step that forces all the source gates on the tri-state bus built into the logic circuit except for the test signal application gate. A third step of disabling the logic circuit, a fourth step of measuring the standby current, a fifth step of releasing the forced disable state of a group of source gates on a tri-state bus built in the logic circuit, and a fifth step of disabling the logic circuit. This is performed by sequentially repeating the process including the sixth step of releasing the forced hold state of the flip-flop built in the circuit.

これにより、任意のテストパターンに対して論理回路の
回路テストを行う論理回路テストの工程の中で、スタン
バイ電流測定のための状態を実現して、スタンバイ電流
測定のテスト項目を加えることができる。このため、複
雑なテストパターンによるテストを行うまでもなく、ス
タンバイ電流測定のテスト項目を加えて、論理回路の回
路不良を容易に確実に判定できる。
This makes it possible to realize a state for standby current measurement and add test items for standby current measurement during a logic circuit test process in which a logic circuit is tested for an arbitrary test pattern. Therefore, it is possible to easily and reliably determine a circuit defect in a logic circuit by adding a test item for measuring standby current without performing a test using a complicated test pattern.

このような論理回路のテスト方法を確実に容易に行うた
めに、被テスト論理回路には、例えば。
In order to perform such a logic circuit testing method reliably and easily, the logic circuit under test includes, for example.

論理回路の設計時において、 (1)内部フリップフロップの値をテストモード時外部
ピンから強制的にホールド状態にするためのクロック信
号、セット信号、およびリセット信号等の制御信号を抑
止する回路のフリップフロップ制御信号抑止回路を埋設
し、また。
When designing a logic circuit, (1) A flip-flop circuit that suppresses control signals such as a clock signal, set signal, and reset signal to force the value of an internal flip-flop into a hold state from an external pin in test mode. Embedded control signal suppression circuit.

(2)内部トライステートバスの値をテストモード時外
部ピンから強制的に非ハイインピーダンス状態にするた
めの通常論理トライステートソースを全てディスエーブ
ルとし、およびテスト専用トライステートソースをイネ
ーブルとする回路のトライステートバス制御回路を埋設
し、更に。
(2) A circuit that disables all normal logic tri-state sources and enables test-only tri-state sources to force the value of the internal tri-state bus to a non-high-impedance state from an external pin in test mode. Embedded tri-state bus control circuit, and more.

(3)これらのフリップフロップ制御信号抑止回路およ
びトライステートバス制御回路を個別に制御するテスト
モード設定用外部ピンを、予め設けておく、これにより
、容易に確実に上述の論理回路のテストを行うことがで
きる。
(3) External pins for test mode setting to individually control these flip-flop control signal suppression circuits and tristate bus control circuits are provided in advance, thereby easily and reliably testing the above-mentioned logic circuits. be able to.

更に、任意のテストパターンに対し、前記テストモード
時の所望の状態を実現するため、テスト実行の順序は、 (a)論理回路の被テストモード設定、(b)任意のテ
ストパターン印加、 (c)テストモード設定。
Furthermore, in order to realize the desired state in the test mode for an arbitrary test pattern, the order of test execution is: (a) Setting the logic circuit to the test mode, (b) Applying an arbitrary test pattern, (c) ) Test mode settings.

(d)トライステートゲートのテストモード設定。(d) Tri-state gate test mode setting.

(e)スタンバイ電流測定。(e) Standby current measurement.

(f)ブリップフロップのテストモード解除。(f) Release of flip-flop test mode.

(g)トライステートゲートのテストモード解除。(g) Release of test mode of tri-state gate.

(h)前記(b)〜(g)のくり返し。(h) Repeating the above (b) to (g).

として行う、このようなテスト実行において、テストモ
ード制御用外部ピンは、フリップフロップ制御系とトラ
イステートバス系で独立に制御してテストが行われる。
In this type of test execution, the test mode control external pins are independently controlled by the flip-flop control system and the tristate bus system.

論理回路に設けておくフリップフロップ制御信号抑止回
路は、テストモード時、各フリップフロップのデータ入
力端子、制御信号端子がどのような値であっても、フリ
ップフロップ制御信号を抑止するように動作する。この
ため、フリップフロップ内部状態はテストモード時には
強制的にホールドすることができる。また、トライステ
ートバス制御回路は、テストモード時、テスト専用トラ
イステートソースのみをイネーブルとし、他のトライス
テートソースをディスエーブルとするように動作する。
The flip-flop control signal suppression circuit provided in the logic circuit operates to suppress the flip-flop control signal in test mode, regardless of the values of the data input terminal and control signal terminal of each flip-flop. . Therefore, the internal state of the flip-flop can be forcibly held during the test mode. Furthermore, the tristate bus control circuit operates in the test mode to enable only the test-dedicated tristate source and disable the other tristate sources.

このたψ、パスラインの値を外部ピンから強制的に非ハ
イインピーダンス状態にすることができる。
In addition, the value of the pass line can be forced into a non-high impedance state from an external pin.

テスト実行順序は、フリップフロップのホールド後にト
ライステートバスの値を変更し、トライステートバスの
値の回復の後にフリップフロップのホールドを解除する
というように動作するため、トライステートバスの値、
フリップフロップの入力および記憶値が、テストモード
の前後で変わることがない。それによって、任意のテス
トパターンの順序性を乱すことがない。
The test execution order is to change the value of the tristate bus after holding the flip-flop, and release the hold of the flip-flop after recovering the value of the tristate bus, so the value of the tristate bus,
Flip-flop inputs and stored values do not change before and after test mode. As a result, the order of any test pattern is not disturbed.

テストモード制御用外部ピンは、フリップフロップ制御
系とトライステートバス制御系とを独立させることがで
きるため、テスト実行手順を試験装置からのパターン印
加手順で制御することができる。なお、テストモード制
御用外部ピンをフリップフロップ制御系とトライステー
トバス制御系で共用する場合には、内部位相制御回路に
より各々の制御系に対する信号を制御するような構成と
することにより、独立して設けている場合と同様に、テ
スト実行手順を試験装置からのパターン印加手順で制御
することができる。
Since the test mode control external pin allows the flip-flop control system and the tristate bus control system to be made independent, the test execution procedure can be controlled by the pattern application procedure from the test device. If the external pin for test mode control is shared between the flip-flop control system and the tri-state bus control system, an internal phase control circuit can be used to control the signals for each control system so that they can be used independently. Similarly to the case where a test device is provided, the test execution procedure can be controlled by the pattern application procedure from the test device.

〔実施例〕〔Example〕

以下1本発明の実施例を図面を用いて具体的に説明する
EMBODIMENT OF THE INVENTION Hereinafter, one embodiment of the present invention will be specifically described using the drawings.

なお、実施例を説明するための全図において、同一要素
のものは同一符号を付け、その繰り返しの説明は省略す
る。
In all the figures for explaining the embodiments, the same elements are given the same reference numerals, and repeated explanations thereof will be omitted.

第1図は、本発明の一実施例にかかる論理回路のテスト
方法を一態様で実施する論理回路のテスト時の要部構成
を具体的に示す回路図である。また、第2図は、第1図
の論理回路の非テスト時の要部構成を示す回路図である
FIG. 1 is a circuit diagram specifically showing the configuration of main parts when testing a logic circuit in which a method for testing a logic circuit according to an embodiment of the present invention is carried out in one aspect. Further, FIG. 2 is a circuit diagram showing the main part configuration of the logic circuit shown in FIG. 1 during non-testing.

ここで、スタンバイ電流測定のテストを行う論理回路は
、第2図に示すように、組合せ論理部21゜フリップフ
ロップ222組合せ論理部23.トライステート素子2
4aおよび24b2組合せ論理部25.およびフリップ
フロップ26が直列に接続された論理回路20とする。
Here, the logic circuit that performs the standby current measurement test consists of a combinational logic section 21.degree. flip-flop 222, a combinational logic section 23. Tri-state element 2
4a and 24b2 combinational logic section 25. It is assumed that a logic circuit 20 includes a flip-flop 26 and a flip-flop 26 connected in series.

このような論理回路20に対して、スタンバイ電流測定
のテストを行うために、第1図に示1ように、フリップ
フロップ22を強制的にホールド状態とするブリップフ
ロップ制御信号抑止回路11と、トライステート素子2
4aおよび24bを強制的に非ハイインピーダンス状態
にするトライステートバス制御回路12と、フリップフ
ロップ22を強制的にホールド状態とするフリップフロ
ップ制御信号抑止回路13とが設けられた状態とする。
In order to perform a standby current measurement test on such a logic circuit 20, as shown in FIG. State element 2
A tristate bus control circuit 12 that forcibly puts 4a and 24b in a non-high impedance state and a flip-flop control signal suppression circuit 13 that forcibly puts flip-flop 22 in a hold state are provided.

論理回路をテストするためのスタンバイ電流測定のテス
トを行う場合、これらの回路(11,12,13)によ
り、論理回路中のフリップフロップは強制的にホールド
状態とし、トライステート素子はテスト信号印加用のト
ライステート素子を除き強制的に非ハイインピーダンス
状態にする。
When performing a standby current measurement test for testing a logic circuit, these circuits (11, 12, 13) force the flip-flops in the logic circuit into a hold state, and the tristate element is used for applying test signals. Force all tri-state elements into a non-high impedance state.

第1図を参照して、被テスト論理回路に設けるフリップ
フロップ制御信号抑止回路およびトライステートバス制
御回路の回路構成の説明を続けると、第1図において、
14はトライステートバス系制御用外部ピン、17はフ
リップフロップ系制御用外部ピンである。フリップフロ
ップ制御信号抑止回路11は、ANDゲートlla 、
 llb 、 lieによりフリップフロップ22の制
御信号をテストモード時には抑止し、非テストモード時
には制御信号を通過させて通常の論理動作が可となるよ
うにする回路である。また、トライステートバス制御回
路12は、ORゲート12a、12bによりトライステ
ート素子24aおよび24bをテストモード時にはディ
スエーブルとし、非テストモード時には通常の論理動作
が可となるようにし、更に、トライステート素子12c
によりテストモード時には入力ピン15に与えたテスト
データをパスライン16に設定し、非テストモード時に
はディスエーブルとする回路である。また、ブリップフ
ロップ制御信号抑止回路13は、ANDゲート13a 
、13b 、 13cによりフリップフロップ25の制
御信号をテストモード時には抑止してホールド状態とし
、非テストモード時には制御信号を通過させて通常論理
動作が可となるようにする回路である。
Continuing the explanation of the circuit configurations of the flip-flop control signal suppression circuit and tristate bus control circuit provided in the logic circuit under test with reference to FIG. 1, in FIG.
14 is an external pin for controlling the tri-state bus system, and 17 is an external pin for controlling the flip-flop system. The flip-flop control signal suppression circuit 11 includes AND gates lla,
This circuit suppresses the control signal of the flip-flop 22 by llb and lie in the test mode, and allows the control signal to pass in the non-test mode to enable normal logic operation. Further, the tristate bus control circuit 12 disables the tristate elements 24a and 24b in the test mode using the OR gates 12a and 12b, and enables normal logic operation in the non-test mode. 12c
This circuit sets the test data applied to the input pin 15 to the pass line 16 in the test mode, and disables it in the non-test mode. Further, the flip-flop control signal suppression circuit 13 includes an AND gate 13a
, 13b, and 13c are used to inhibit the control signal of the flip-flop 25 in the test mode to hold the flip-flop 25, and in the non-test mode, the control signal is passed to enable normal logic operation.

第3図は、被テスト論理回路にテストパターンを与える
動作のタイムチャートを示す図である。
FIG. 3 is a diagram showing a time chart of the operation of applying a test pattern to the logic circuit under test.

第3図に示すように、所定の期間毎に各々のテストサイ
クルが繰り返し行われる。テスト用外部ピン以外のテス
トパターン信号が、テストサイクル毎のタイミング31
およびタイミング37で必要に応じて変化する。この各
テストサイクルのタイミングに対応して、フリップフロ
ップ系制御用外部ピンの信号、トライステートバス系制
御用外部ピンの信号が1図示するように変化する。
As shown in FIG. 3, each test cycle is repeated at predetermined intervals. The test pattern signal other than the external pin for testing is at timing 31 in each test cycle.
and changes as necessary at timing 37. Corresponding to the timing of each test cycle, the signal of the external pin for controlling the flip-flop system and the signal of the external pin for controlling the tristate bus system change as shown in FIG.

被テスト論理回路のテスト動作を説明する。テストサイ
クル1の先頭のタイミング31において、通常のテスト
パターン信号が印加されると、このとき、フリップフロ
ップ系制御用外部ピン17の信号はH(High)レベ
ルになっており、フリップフロップ22.26の制御信
号端子のC(クロック)端子、S(セット)端子、R(
リセット)端子の各端子には、通常の論理動作時の信号
が到達する。
The test operation of the logic circuit under test will be explained. When a normal test pattern signal is applied at timing 31 at the beginning of test cycle 1, the signal on the flip-flop system control external pin 17 is at H (High) level, and the flip-flops 22, 26 The control signal terminals of C (clock) terminal, S (set) terminal, R (
A signal during normal logic operation reaches each terminal of the (reset) terminal.

また、このとき、トライステートバス系制御用外部ピン
14の信号はL(Low)レベルになっており。
Further, at this time, the signal of the tristate bus system control external pin 14 is at L (Low) level.

トライステート素子24aおよび24bのイネーブル端
子には通常の論理動作信号が到達している。また、トラ
イステート素子12cはディスエーブル状態となってお
り、パスライン16の通常の論理動作に影響を与えない
。テストパターン信号で与えた入力刺激が1回路中に伝
播し安定した後、フリップフロップ系制御用外部ピン1
7の信号をタイミング32でLレベルとすると、フリッ
プフロップ22゜26に対する制御信号が抑止され、フ
リップフロップ22.26は、その時点におけるフリッ
プフロップ設定値をホールドする。フリップフロップの
ホールド状態が確定した後、トライステートバス系制御
用外部ピン14の信号をタイミング33でHレベルとす
ると、トライステート素子24a、24bはディスエー
ブル状態となる。また、トライステート素子12aがイ
ネーブル状態となり、入力ピン15からの信号で与えた
レベルがパスライン16に設定される。トライステート
バス系制御用外部ピン14の入力刺激に対し回路が十分
安定した後のタイミング34においては、フリップフロ
ップはホールド状態、トライステートバスは、Lあるい
はHレベル安定状態になり、このとき、回路全体が静的
安定状態となるためスタンバイ電流の測定要件を渉たす
、したがって、タイミング34でスタンバイ電流測定を
行う、その後、タイミング35でトライステートバス系
制御用外部ピン14の信号をLレベルとすると、パスラ
イン16がテストモード前の状態に回復する。この後の
タイミング36で、フリップフロップ系制御用外部ピン
17の信号をHレベルとすると、前のタイミング35で
既にフリップフロップの入力端子における信号の値はテ
ストモード前に回復済となっているため、タイミング3
6で各フリップフロップもテストモード前の状態に復帰
する。同様の手順をテストサイクル2においても、タイ
ミング37からテストパターン信号を加えて開始して繰
り返し行い、以降必要な回数のテストサイクルを同様の
手順で繰り返す。
A normal logic operation signal reaches the enable terminals of tristate elements 24a and 24b. Furthermore, the tristate element 12c is in a disabled state and does not affect the normal logic operation of the pass line 16. After the input stimulus given by the test pattern signal propagates through one circuit and stabilizes, the external pin 1 for controlling the flip-flop system is
When the signal No. 7 is brought to the L level at timing 32, the control signals for flip-flops 22 and 26 are suppressed, and flip-flops 22 and 26 hold the flip-flop setting values at that time. After the hold state of the flip-flop is established, when the signal on the tristate bus control external pin 14 is set to H level at timing 33, the tristate elements 24a and 24b are disabled. Further, the tristate element 12a is enabled, and the level given by the signal from the input pin 15 is set on the pass line 16. At timing 34 after the circuit has become sufficiently stable in response to the input stimulus from the external pin 14 for controlling the tristate bus system, the flip-flops are in the hold state, the tristate bus is in the L or H level stable state, and at this time, the circuit Since the whole is in a static stable state, the standby current measurement requirements are met.Therefore, the standby current is measured at timing 34.Then, at timing 35, the signal on the external pin 14 for tri-state bus system control is set to L level. Then, the pass line 16 is restored to the state before the test mode. When the signal on the external pin 17 for controlling the flip-flop system is set to H level at the subsequent timing 36, the value of the signal at the input terminal of the flip-flop has already been recovered before the test mode at the previous timing 35. , timing 3
At step 6, each flip-flop also returns to its 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 thereafter repeating the test cycle as many times as necessary.

なお、この例では、連続した各々のテストサイクルに対
して、スタンバイ電流測定のテストを行っているが、こ
のスタンバイ電流測定のテストは特定のテストサイクル
に対してのみ行うようにしてもよい。
In this example, the standby current measurement test is performed for each successive test cycle, but the standby current measurement test may be performed only for a specific test cycle.

次に1本発明の他の実施例を説明する。まず、この論理
回路のテスト方法で用いるフリップフロップ制御回路お
よびトライステートバス制御回路の他の回路例から説明
する。
Next, another embodiment of the present invention will be described. First, other circuit examples of a flip-flop control circuit and a tristate bus control circuit used in this logic circuit testing method will be explained.

第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 composed of an independent gate group, but as shown in FIG. AND gates 42a, 42b,
42c and the flip-flop 43 are equivalently incorporated into the cell. In this case, since a flip-flop cell to which a gate for controlling the supply of a control signal to the flip-flop is added is used to configure the logic circuit, there is no need to provide a gate for the flip-flop control circuit. Also.

フリップフロップの周辺回路に既に設けられているゲー
トを用いて、同様なフリップフロップ制御回路のゲート
としてもよい、テスト容易化設計による論理回路方式に
よって、テストを行うためのテスト用ゲート回路を組み
込んだ回路としている場合には、それ、らのテスト用ゲ
ート回路を用いるようにしても良い。
A test gate circuit is incorporated to perform tests using a logic circuit method designed for testability, which can be used as a gate for a similar flip-flop control circuit by using the gate already provided in the peripheral circuit of the flip-flop. In the case of a circuit, such a test gate circuit may be used.

第5a図および第5b図は、トライステートバス制御回
路の他の実施例を示す図である。この回路例は、第5a
図に示すように、論理回路を構成する基本回路セルのト
ライステート素子セル51として、トライステート素子
53と、制御用ORゲート52とを等価的にセル内部へ
とり込んだものを用い、また、テスト信号印加用のトラ
イステートゲートとして、第5b図に示すように、トラ
イステート素子だけのテスト信号印加用専用セル54を
用いたものである。この専用セル54はトライステート
素子55が内蔵されたセルである。これらの基本回路セ
ルを用いて、論理回路を構成すると、第6図に示すよう
な回路構成となる。第6図の論理回路は、第1図と同じ
構成の論理回路を、第4図。
Figures 5a and 5b are diagrams showing other embodiments of the tristate bus control circuit. This example circuit is shown in section 5a.
As shown in the figure, as the tristate element cell 51 of the basic circuit cell constituting the logic circuit, a tristate element 53 and a control OR gate 52 are equivalently incorporated into the cell, and As a tri-state gate for applying a test signal, a cell 54 dedicated to applying a test signal, which is made up of only tri-state elements, is used, as shown in FIG. 5b. This dedicated cell 54 is a cell in which a tri-state element 55 is built-in. When a logic circuit is constructed using these basic circuit cells, a circuit configuration as shown in FIG. 6 is obtained. The logic circuit in FIG. 6 has the same configuration as that in FIG. 1, but the logic circuit in FIG.

第5a図および第5b図に示した各基本回路セルを用い
て構成した回路である。なお、これらの基本回路セルは
、セル内部にゲートレベルで制御回路を組込んだが、ト
ランジスタレベルで等価な回路動作を実現することによ
り、デイレイ、あるいは、セル面積等のオーバヘッドを
削減した論理回路構成とすることもできる。
This is a circuit constructed using each basic circuit cell shown in FIGS. 5a and 5b. These basic circuit cells incorporate a control circuit at the gate level inside the cell, but by realizing equivalent circuit operation at the transistor level, the logic circuit configuration reduces delay and overhead such as cell area. It is also possible to do this.

第7図は、テスト制御用外部ピンにかかる他の実施例を
示す位相制御回路である。第7図において、71はテス
ト制御用外部ピン、72はフリップフロップ制御系への
信号端子、73はトライステートバス制御系への信号端
子である。また、?4.75゜76はそれぞれデイレイ
値di、d2.d3を持つANDゲートである。この位
相制御回路を用い。
FIG. 7 is a phase control circuit showing another embodiment of the test control external pin. In FIG. 7, 71 is an external pin for test control, 72 is a signal terminal to the flip-flop control system, and 73 is a signal terminal to the tristate bus control system. Also,? 4.75°76 are delay values di, d2. It is an AND gate with d3. Using this phase control circuit.

信号端子72はフリップフロップ系制御用外部ピン17
に接続し、信号端子73はトライステートバス系制御用
外部ピン14に接続することにより、論理回路のテスト
制御用の外部信号ピンを1本とすることができる。
The signal terminal 72 is the external pin 17 for controlling the flip-flop system.
By connecting the signal terminal 73 to the external pin 14 for controlling the tri-state bus system, the number of external signal pins for controlling the test of the logic circuit can be reduced to one.

第8図は、第7図に示すテスト制御用の外部信号ピンに
かかる位相制御回路の動作を示すタイムチャートである
。第8図のタイムチャートに示すように、ANDゲート
74.ANDゲート75およびANDゲート76はそれ
ぞれデイレイ値di、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 related to the external signal pin for test control shown in FIG. 7. As shown in the time chart of FIG. 8, AND gate 74. AND gate 75 and AND gate 76 have delay values di, d2, and d3, respectively, and if a waveform shown in timing signal 77 is applied as an external control signal to external test control pin 71, a timing signal is output to signal terminal 72. 78 is output, and a timing signal 79 is output to the signal terminal 73. The delay values are set so that the rising or falling timings 91, 92, and 93 of each timing signal waveform output from these terminals correspond to, for example, the timings 31, 32, and 33 of the time chart in FIG. By appropriately setting d1 to d3 degrees and the timings 91 and 94, it is possible to configure one external pin for test control.

以上、本発明を実施例にもとづき具体的に説明したが1
本発明は、前記実施例に限定されるものではなく、その
要旨を逸脱しない範囲において種々変更可能であること
は言うまでもない。
The present invention has been specifically described above based on examples, but 1.
It goes without saying that the present invention is not limited to the embodiments described above, and can be modified in various ways without departing from the spirit thereof.

〔発明の効果〕〔Effect of the invention〕

以上、説明したように、本発明によれば、論理回路のテ
ストとして、小量のハードウェア制御のオーバヘッドで
外部ピンから容易に内部フリップフロップをホールド状
態、トライステートバスを非ハイインピーダンス状態に
して、スタンバイ電流測定を行うことができる。これに
より、スタンバイ電流測定のための専用のテストパター
ン設計、あるいは、既存テストパターンからのスタンバ
イ電流測定要件を満たすテストパターンの検索をして、
論理回路のテストを行う必要はなく、論理回路テストの
ためのコストを低減する効果がある。
As described above, according to the present invention, when testing a logic circuit, an internal flip-flop can be easily set to a hold state and a tristate bus can be set to a non-high impedance state from an external pin with a small amount of hardware control overhead. , standby current measurements can be made. This allows you to design a dedicated test pattern for standby current measurement, or search for a test pattern that meets the standby current measurement requirements from existing test patterns.
There is no need to test the logic circuit, which has the effect of reducing the cost for testing the logic circuit.

また1本発明によるテスト実行手順で、論理回路テスト
を行うことにより、既存のテストパターンをそのまま利
用し、スタンバイ電流測定用パターンとすることができ
るので、論理回路テスト用パターンの設計コストの低減
、テストパターンファイルリソース等の削減の効果があ
る。さらに、既存パターンにDCファンクションテスト
等のパターンを流用することにより、非常に多くの回路
内部状態に対してスタンバイ電流測定をすることが可能
となり、テストパターンの試験性能が向上し、容易に確
実な論理回路のテストが行える。
In addition, by performing a logic circuit test using the test execution procedure according to the present invention, it is possible to use an existing test pattern as it is and use it as a standby current measurement pattern, thereby reducing the design cost of the logic circuit test pattern. This has the effect of reducing test pattern file resources, etc. Furthermore, by reusing patterns such as those for DC function tests in existing patterns, it becomes possible to measure standby current for a large number of internal circuit states, improving test pattern test performance and making it easier and more reliable. Can test logic circuits.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は1本発明の一実施例にかかる論理回路のテスト
方法を一態様で実施する論理回路のテスト時の要部構成
を具体的に示す回路図。 第2図は、第1図の論理回路の非テスト時の要部構成を
示す回路図、 第3図は、被テスト論理回路にテストパターンを与える
動作のタイムチャートを示す図。 第4図は、フリップフロップ制御回路の他の実施例を示
す図、 第5a図および第5b図は、トライステートバス制御回
路の他の実施例を示す図、 第6図は、本発明にかかる他の実施例の論理回路の要部
構成を示す回路図、 第7図は、テスト制御用外部ピンにかかる他の実施例を
示す位相制御回路の回路図、 第8図は、第7図に示すテスト制御用の外部信号ピンに
かかる位相制御回路の動作を示すタイムチャートである
。 図中、 11.13・・・ブリッププロップ制御回路、
12・・・トライステートバス制御回路、14・・・ト
ライステートバス系制御用外部ピン、17・・・フリッ
プフロップ系制御用外部ピン、20・・・論理回路、2
1.23・・・組合せ論理部、22.26・・・フリッ
ププロップ、24a。 24b・・・トライステート素子、41・・・フリラフ
プロップセル、51・・・トライステート素子セル、5
4・・・テスト信号印加用専用セル。
FIG. 1 is a circuit diagram specifically showing the configuration of main parts when testing a logic circuit in which a method for testing a logic circuit according to an embodiment of the present invention is carried out in one aspect. FIG. 2 is a circuit diagram showing the main part configuration of the logic circuit of FIG. 1 during non-testing, and FIG. 3 is a diagram showing a time chart of the operation of applying a test pattern to the logic circuit under test. FIG. 4 is a diagram showing another embodiment of the flip-flop control circuit, FIGS. 5a and 5b are diagrams showing other embodiments of the tristate bus control circuit, and FIG. 6 is a diagram showing another embodiment of the tristate bus control circuit. FIG. 7 is a circuit diagram showing a main part configuration of a logic circuit in another embodiment; FIG. 7 is a circuit diagram of a phase control circuit in another embodiment related to external pins for test control; FIG. 5 is a time chart showing the operation of the phase control circuit related to the external signal pin for test control shown in FIG. In the figure, 11.13... blip prop control circuit,
12... Tri-state bus control circuit, 14... External pin for tri-state bus system control, 17... External pin for flip-flop system control, 20... Logic circuit, 2
1.23... Combinational logic section, 22.26... Flip flop, 24a. 24b... Tri-state element, 41... Freelough prop cell, 51... Tri-state element cell, 5
4... Dedicated cell for applying test signals.

Claims (1)

【特許請求の範囲】 1、被テスト論理回路に対して、テストモード時に、論
理回路に内蔵されるフリップフロップを強制的にホール
ド状態とし、論理回路に内蔵されるトライステートバス
上のソースゲート群をテスト信号印加ゲートのみを除き
全て強制的にディスエーブル状態にして、スタンバイ電
流を測定することにより回路不良を判定することを特徴
とする論理回路のテスト方法。 2、論理回路に内蔵されるフリップフロップをテストモ
ード時に強制的にホールド状態とするフリップフロップ
制御回路と、論理回路に内蔵されるトライステートバス
上のソースゲート群をテストモード時にテスト信号印加
ゲートのみを除き全て強制的にディスエーブル状態にす
るトライステートバス制御回路とを被テスト論理回路に
備え、前記フリップフロップ制御回路および前記トライ
ステートバス制御回路を個別に制御して、テスト信号が
与えられたテストサイクルの中で、回路全体が静的安定
状態となる期間を設け、スタンバイ電流を測定して、回
路不良を判定することを特徴とする論理回路のテスト方
法。 3、被テスト論理回路に対して、任意のテストパターン
を印加する第1ステップと、論理回路に内蔵されるフリ
ップフロップを強制的にホールド状態にする第2ステッ
プと、論理回路に内蔵されるトライステートバス上のソ
ースゲート群をテスト信号印加ゲートのみを除き全て強
制的にディスエーブル状態にする第3ステップと、スタ
ンバイ電流を測定する第4ステップと、論理回路に内蔵
されるトライステートバス上のソースゲート群の強制的
なディスエーブル状態を解除する第5ステップと、論理
回路に内蔵されるフリップフロップの強制的なホールド
状態を解除する第6ステップとの処理を順次に繰り返し
行うことを特徴とする論理回路のテスト方法。
[Claims] 1. For the logic circuit under test, in the test mode, the flip-flops built in the logic circuit are forcibly put into a hold state, and a group of source gates on the tri-state bus built in the logic circuit are A method for testing a logic circuit, comprising: forcibly disabling all but a test signal application gate, and determining a circuit failure by measuring standby current. 2. A flip-flop control circuit that forcibly puts the flip-flops built into the logic circuit into a hold state in test mode, and a test signal application gate that controls the group of source gates on the tri-state bus built into the logic circuit in test mode. The logic circuit under test is provided with a tri-state bus control circuit that forcibly disables all but the flip-flop control circuit, and the test signal is applied by individually controlling the flip-flop control circuit and the tri-state bus control circuit A method for testing a logic circuit, which comprises providing a period in a test cycle in which the entire circuit is in a static stable state, measuring standby current, and determining a circuit defect. 3. The first step is to apply an arbitrary test pattern to the logic circuit under test, the second step is to force the flip-flops built into the logic circuit into a hold state, and the flip-flops built into the logic circuit are The third step is to forcibly disable all source gates on the state bus except for the test signal application gate, the fourth step is to measure the standby current, and the third step is to forcibly disable all source gates on the state bus except for the test signal application gate. The fifth step of releasing the forced disable state of the source gate group and the sixth step of releasing the forced hold state of the flip-flops built in the logic circuit are sequentially repeated. How to test logic circuits.
JP63241384A 1988-09-27 1988-09-27 Test method of coach circuit Expired - Lifetime JP2589352B2 (en)

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 true JPH0288980A (en) 1990-03-29
JP2589352B2 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)

Also Published As

Publication number Publication date
JP2589352B2 (en) 1997-03-12

Similar Documents

Publication Publication Date Title
US5056094A (en) Delay fault testing method and apparatus
US5606567A (en) Delay testing of high-performance digital components by a slow-speed tester
EP0628831B1 (en) Bidirectional boundary scan test cell
JP2513904B2 (en) Testability circuit
US7543207B2 (en) Full scan solution for latched-based design
US20050005217A1 (en) Test standard interfaces and architectures
US20010047499A1 (en) Boundary scan test cell circuit
JPH0481147B2 (en)
KR20070070660A (en) Interconnect delay fault test controller and test apparatus using the same
US9188640B1 (en) Scan flip-flop circuit with LOS scan enable signal
US5471152A (en) Storage element for delay testing
EP0702241B1 (en) Structural and performance scan test
US20210325461A1 (en) Extended jtag controller and method for functional reset using the extended jtag controller
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
JPH0288980A (en) Method for testing logic circuit
US20030034795A1 (en) Delayed flash clear scan flip-flop to be implemented in complex integrated circuit designs
EP3367114A1 (en) Extended jtag controller and method for functional reset using the extended jtag controller
CN112698187B (en) Method and device for improving test coverage rate of integrated circuit
JPS5811584B2 (en) Pulse delay time test equipment
JPH0210178A (en) Logic circuit
US8008935B1 (en) Tester and a method for testing an integrated circuit
JPH0389179A (en) Trouble diagnostic apparatus
Mulder et al. Layout and test design of synchronous LSI circuits