JPH0455775A - Semiconductor integrated circuit device - Google Patents

Semiconductor integrated circuit device

Info

Publication number
JPH0455775A
JPH0455775A JP2167218A JP16721890A JPH0455775A JP H0455775 A JPH0455775 A JP H0455775A JP 2167218 A JP2167218 A JP 2167218A JP 16721890 A JP16721890 A JP 16721890A JP H0455775 A JPH0455775 A JP H0455775A
Authority
JP
Japan
Prior art keywords
flip
clock
scan
flop
circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2167218A
Other languages
Japanese (ja)
Inventor
Shigeo Ozawa
小澤 重雄
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 Electronics Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electronics Corp filed Critical Matsushita Electronics Corp
Priority to JP2167218A priority Critical patent/JPH0455775A/en
Publication of JPH0455775A publication Critical patent/JPH0455775A/en
Pending legal-status Critical Current

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)

Abstract

PURPOSE:To obtain a device to be scan-tested by controlling combination of signal values of slave-clock, scan.clock and master.clock of a flip-flop. CONSTITUTION:When a clock signal is applied through a control circuit for limiting a combination of clock signal values of clocks CK1, CKT, CK2 of a master/slave type scan testing flip-flop, at least two of combinations of three signal values become 'L'. That is, even if a rule of combinations of the clock signal is kept by the control circuit and a test pattern is generated by an arbitrary algorithm, an oscillation, collision of signals can be prevented in a test using the test pattern to efficiently test it.

Description

【発明の詳細な説明】 産業上の利用分野 この発明は、半導体集積回路装置に関し、特にスキャン
テストが可能な半導体集積回路装置のテスト回路に関す
るものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to semiconductor integrated circuit devices, and more particularly to a test circuit for semiconductor integrated circuit devices capable of scan testing.

従来の技術 近年、半導体集積回路の大規模化、高集積化に伴いその
故障検査は著しく困難で時間のかがるものとなりつつあ
る。このため、この種の半導体集積回路には故障検査が
容易になるように回路の構成にある種の工夫をしておく
ことがある。従来とられてきた方法によると、この種の
半導体集積回路に対しては本来内部記憶素子として存在
するフリップフロップを相互に接続してシフトレジスタ
としての機能を追加することにより、フリップフロップ
を利用して回路内部の状態を設定したり、外部に読み出
すことが可能である。それによって順序回路を組み合せ
回路と同様、容易に検査することが可能となる。このス
キャン方式と呼ばれる回路構成法を図を用いて以下に説
明する。
BACKGROUND OF THE INVENTION In recent years, as semiconductor integrated circuits have become larger and more highly integrated, testing for their failures has become extremely difficult and time-consuming. For this reason, in this type of semiconductor integrated circuit, certain improvements are sometimes made to the circuit configuration to facilitate failure testing. According to the conventional method, flip-flops, which originally exist as internal storage elements, are interconnected to add the function of a shift register to this type of semiconductor integrated circuit. It is possible to set the internal state of the circuit or read it externally. This allows sequential circuits to be tested as easily as combinational circuits. This circuit configuration method called the scan method will be explained below using figures.

スキャンテスト用のマスタースレーブ・フリップフロッ
プを第4図に示す。このフリップフロップにスキャン・
クロックCKTとマスター・クロックCK2を交互に与
えるとシフトレジスタとして動作し、通常動作時にはス
キャン・クロックを止めておけば、普通のマスター・ス
レーブ・フリップフロップになる。このフリップフロッ
プを用いて構成したスキャン方式論理回路を第5図に示
す。フリップフロップFF+のQ端子とFF2のDTI
子を接続することによりシフトレジスタを構成している
。この回路のテスト時における動作について以下に説明
する。まずスキャン動作時には、シフトクロツタCKT
、CK2を交互に与え、テスト信号を外部端子Slから
入力し、各フリップフロップに信号を設定する。次に通
常信号を外部端子DATAから入力し、クロックCKI
A master-slave flip-flop for scan testing is shown in FIG. Scan to this flip-flop
If clock CKT and master clock CK2 are applied alternately, it operates as a shift register, and if the scan clock is stopped during normal operation, it becomes a normal master-slave flip-flop. A scan type logic circuit constructed using this flip-flop is shown in FIG. Q terminal of flip-flop FF+ and DTI of FF2
A shift register is constructed by connecting the children. The operation of this circuit during testing will be described below. First, during scan operation, the shift clock CKT
, CK2 are applied alternately, a test signal is input from an external terminal Sl, and a signal is set to each flip-flop. Next, input the normal signal from the external terminal DATA and clock CKI.
.

CK 2を交互に1回ずつ与え、通常の論理動作を実行
させ、その結果を各フリップフロップにたくわえるかま
たは外部端子OUTへ出力する。最後に各フリップフロ
ップにた(わえられた信号を、シフトクロックCKT、
CK2の印加により外部端子SOに出力させる。
CK 2 is applied alternately once to execute normal logic operations, and the results are stored in each flip-flop or output to the external terminal OUT. Finally, each flip-flop is connected to the shift clock CKT,
By applying CK2, it is output to the external terminal SO.

以上が、スキャン方式論理回路のテスト時における動作
であるが、回路中のすべてのフリップフロップをシフト
レジスタとして接続すれば、順序回路を組み合せ回路と
同等にテストすることができ、テストパターンもDアル
ゴリズム等を使ったプログラムで自動的に生成できる。
The above is the operation when testing a scan type logic circuit, but if all flip-flops in the circuit are connected as shift registers, sequential circuits can be tested in the same way as combinational circuits, and the test pattern can also be set using the D algorithm. It can be automatically generated using a program such as

一方、最近順序回路を対象にテストパターンを自動生成
しようとする試みがなされており、すでに実用化されて
いるプログラムも存在する。この種のプログラムを用い
れば、回路中の一部のフリップフロップのみをスキャン
テスト用とし、他は通常のフリップフロップを使う、パ
ーシャルスキャン法を採用することが可能である。
On the other hand, attempts have recently been made to automatically generate test patterns for sequential circuits, and some programs have already been put into practical use. Using this type of program, it is possible to employ a partial scan method in which only some flip-flops in the circuit are used for scan testing, and the rest are regular flip-flops.

発明が解決しようとする課題 第4図に示すようなマスター・スレーブ方式のスキャン
テスト用フリップフロップにおいて、クロックCKI、
CKT、CK2の信号値のとりうる組み合せは限定され
ていなければならない。すなわち、クロックCK1.C
KT、CR2の信号値がすべて′L”であるかあるいは
、3つのうち1つが”H”で、あとの2つが”L″であ
るか、という組み合せでなければならない。何故ならば
、これ以外の組み合せのクロック信号が入力された場合
、発振や信号の衝突が起こる可能性があるからである。
Problems to be Solved by the Invention In a master-slave scan test flip-flop as shown in FIG.
The possible combinations of signal values of CKT and CK2 must be limited. That is, clock CK1. C
The combination must be such that the signal values of KT and CR2 are all 'L', or one of the three is 'H' and the other two are 'L'. This is because if a combination of clock signals is input, oscillation or signal collision may occur.

たとえば、フリップフロップの出力信号が同一のフリッ
プ70ツブの入力に入るような経路が存在する場合、ク
ロックCKIとCR2またはクロックCKTとCR2が
同時に°H゛になると信号がフリップフロップを貫通す
るためにつくられる非同期フィードバックループにおい
て発振の起こる可能性がある。あるいは、クロックCK
IとCKTが同時にH“になるとフリップフロップFF
+の入力端子り、DTに入力される信号のいずれかが破
壊され、フリップフロップの出力に伝搬されない。
For example, if there is a path where the output signal of a flip-flop enters the input of the same flip-flop, if clocks CKI and CR2 or clocks CKT and CR2 become °H at the same time, the signal will pass through the flip-flop. Oscillations may occur in the asynchronous feedback loop created. Or clock CK
When I and CKT become H” at the same time, the flip-flop FF
Either the + input terminal or the signal input to the DT is destroyed and is not propagated to the output of the flip-flop.

回路中のすべてのフリップフロップをスキャン方式化す
る、いわゆる、フルスキャン法を採用した場合のテスト
パターン生成においては、まず、フリップフロップを取
り除いた組み合せ回路のみを対象としてテストパターン
を生成し、その後で、従来の技術で述べたようなテスト
時のシフト動作を加えるだけでよい。
When generating test patterns using the so-called full scan method, in which all flip-flops in a circuit are scanned, test patterns are first generated for only the combinational circuit from which flip-flops have been removed, and then , it is only necessary to add the shift operation during testing as described in the related art.

ところが一方、回路中の一部のフリップフロップのみを
スキャン方式化するパーシャルスキャン法を採用した場
合のテストパターン生成においては、フリップフロップ
を含む順序回路を対象にテストパターンを生成する必要
がある。この場合、テストパターン自動生成のアルゴリ
ズムによっては、フリップフロップのクロック信号にお
ける上述のような組み合せの規則が守られずにテストパ
ターンが生成されてしまう可能性があった。そのため、
生成されたテストパターンを用いてテストすると、発振
や信号の衝突が起こるという問題点があった。
However, when generating test patterns using a partial scan method in which only some flip-flops in a circuit are scanned, it is necessary to generate test patterns for sequential circuits including flip-flops. In this case, depending on the algorithm for automatic test pattern generation, there is a possibility that a test pattern may be generated without following the above-described combination rules for clock signals of flip-flops. Therefore,
When testing using the generated test pattern, oscillations and signal collisions occur.

課題を解決するための手段 この発明は、フリップフロップのクロックCK1、CK
T、CR2の信号値を制御できる回路を設けることによ
り、クロック信号値のとり得る組み合せを限定できるよ
うにしたものである。
Means for Solving the Problems This invention provides clocks CK1 and CK of flip-flops.
By providing a circuit that can control the signal values of T and CR2, it is possible to limit the possible combinations of clock signal values.

作用 この発明により、マスター・スレーブ方式スキャンテス
ト用フリップフロップを含む順序回路を対象にテストパ
ターンを任意のアルゴリズムにより生成したとしても、
そのテストパターンを用いてテストする場合、従来の技
術であれば起こる可能性のあった発振や信号の衝突を防
ぐことができる。
Effect: According to the present invention, even if a test pattern is generated using an arbitrary algorithm for a sequential circuit including a master-slave scan test flip-flop,
When testing using this test pattern, it is possible to prevent oscillations and signal collisions that could occur with conventional techniques.

実施例 マスター・スレーブ方式スキャンテスト用フリップ・フ
ロップのクロックCK1.CKT、CK2の制御回路を
第1図に示す。また、この論理回路の真理値表を第2図
に示す。この真理値表からもわかるように、CK1.C
KT、CK2のクロック信号をこの制御回路を通して与
えてやると、3つの信号値の組み合せとしては少な(と
も2つはL″となる。したがって、第5図のようなフル
スキャン回路、あるいはパーシャルスキャン回路に第1
図の制御回路を第3図に示すように接続すると、さきに
述べた問題点は解決される。
Embodiment Master-slave scan test flip-flop clock CK1. A control circuit for CKT and CK2 is shown in FIG. Moreover, the truth table of this logic circuit is shown in FIG. As can be seen from this truth table, CK1. C
When the KT and CK2 clock signals are applied through this control circuit, the combination of three signal values is small (both two are L''. Therefore, a full scan circuit as shown in Figure 5 or a partial scan circuit) first in the circuit
If the control circuit shown in the figure is connected as shown in FIG. 3, the above-mentioned problem will be solved.

すなわち、この制御回路の付加により、クロック信号の
組み合せの規則が守られ、任意のアルゴリズムによって
生成されたテストパターンによってテストを行っても、
発振や信号の衝突が発生する恐れはない。
In other words, by adding this control circuit, the rules for clock signal combinations are observed, and even when testing is performed using a test pattern generated by an arbitrary algorithm,
There is no risk of oscillation or signal collision.

発明の効果 以上述べたように、この発明によれば、マスター・スレ
ーブ方式スキャンテスト用フリップフロップを用いたフ
ルスキャン方式あるいはパーシャルスキャン方式論理回
路のテストパターンを任意のアルゴリズムにより生成し
た場合でも、そのテストパターンを用いたテストにおい
て、従来の技術では発生し得る発振現象や信号の衝突を
防ぐことができ、効率の良いテストを行うことができる
Effects of the Invention As described above, according to the present invention, even when a test pattern for a full-scan or partial-scan logic circuit using master-slave scan test flip-flops is generated by an arbitrary algorithm, In a test using a test pattern, it is possible to prevent oscillation phenomena and signal collisions that may occur with conventional techniques, and it is possible to perform an efficient test.

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

用いて本発明の実施例を示した半導体集積回路装置を示
すブロック図、第4図は従来のレベル応答型マスター・
スレーブ方式スキャンテスト用)1.2,15.1.6
・・・・・・インバータ、3,4゜5.6.9.10,
11.12・・・・・・2人力NAND回路、7,8・
・・・・・3人力NAND回路、13.14・・・・・
・組み合せ論理回路ブロック、17.18゜19・・・
・・・2人力AND回路、20・・・・・・スキャン方
式論理回路ブロック。 代理人の氏名 弁理士 粟野重孝 ほか1名第1図 第2図 第3図
FIG. 4 is a block diagram showing a semiconductor integrated circuit device according to an embodiment of the present invention.
For slave method scan test) 1.2, 15.1.6
...Inverter, 3,4゜5.6.9.10,
11.12...2-manpower NAND circuit, 7, 8...
...Three-person NAND circuit, 13.14...
・Combinational logic circuit block, 17.18°19...
...2-person AND circuit, 20...Scan method logic circuit block. Name of agent: Patent attorney Shigetaka Awano and one other person Figure 1 Figure 2 Figure 3

Claims (1)

【特許請求の範囲】[Claims] レベル応答型マスタースレーブフリップフロップを用い
スキャンテスト方式でテスト可能とした半導体集積回路
装置であって、そのフリップフロップのスレーブ・クロ
ック、スキャン・クロックおよびマスター・クロックの
信号値の組み合せを制御する手段を備えたことを特徴と
する半導体集積回路装置。
A semiconductor integrated circuit device that can be tested by a scan test method using a level-responsive master-slave flip-flop, comprising means for controlling the combination of signal values of a slave clock, a scan clock, and a master clock of the flip-flop. A semiconductor integrated circuit device comprising:
JP2167218A 1990-06-25 1990-06-25 Semiconductor integrated circuit device Pending JPH0455775A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2167218A JPH0455775A (en) 1990-06-25 1990-06-25 Semiconductor integrated circuit device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2167218A JPH0455775A (en) 1990-06-25 1990-06-25 Semiconductor integrated circuit device

Publications (1)

Publication Number Publication Date
JPH0455775A true JPH0455775A (en) 1992-02-24

Family

ID=15845627

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2167218A Pending JPH0455775A (en) 1990-06-25 1990-06-25 Semiconductor integrated circuit device

Country Status (1)

Country Link
JP (1) JPH0455775A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008027612A (en) * 2006-07-18 2008-02-07 Tokai Rika Co Ltd Connector attaching structure

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008027612A (en) * 2006-07-18 2008-02-07 Tokai Rika Co Ltd Connector attaching structure

Similar Documents

Publication Publication Date Title
KR100257415B1 (en) Scanable ff circuit and escanable ff circuit using method
US5958077A (en) Method for testing asynchronous circuits
JPH0411047B2 (en)
JPS6329276A (en) Logic lsi
JPH0572290A (en) Semiconductor integrated circuit
JPH05223899A (en) Formatter circuit
JPH04232699A (en) Scannable register having delay test capacity
JPH0694793A (en) Method for detecting signal transition and propagation
JPH0455775A (en) Semiconductor integrated circuit device
JP3291706B2 (en) Method for verifying high-speed operation of logic circuit and logic circuit
JPH0587885A (en) Generation of inspection series
JPS59100953A (en) Edge trigger latch circuit suitable for lssd regulation
JP2713123B2 (en) Logic circuit and test method thereof
JP2625355B2 (en) Logic verification method for sequential circuits
JPS6315456A (en) Semiconductor integrated circuit
JPH03138774A (en) Logic simulation system
JP3116832B2 (en) LSI inspection method
JP2984522B2 (en) Circuit verification system
JP2699355B2 (en) Integrated circuit
JP2536478B2 (en) Flip-flop circuit
JPH07174821A (en) Inspecting method for boundery scanning cell and testing circuit
JPH0513527A (en) Logic integrated circuit device and its manufacture
JPH05240917A (en) Output control circuit for integrated circuit
JPS62226071A (en) Rs flip-flop circuit
JP3341421B2 (en) Counting circuit