JPS6338182A - Semiconductor integrated circuit device - Google Patents

Semiconductor integrated circuit device

Info

Publication number
JPS6338182A
JPS6338182A JP61183686A JP18368686A JPS6338182A JP S6338182 A JPS6338182 A JP S6338182A JP 61183686 A JP61183686 A JP 61183686A JP 18368686 A JP18368686 A JP 18368686A JP S6338182 A JPS6338182 A JP S6338182A
Authority
JP
Japan
Prior art keywords
scan
data
test
circuit
output
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
JP61183686A
Other languages
Japanese (ja)
Other versions
JPH0627777B2 (en
Inventor
Ichiro Tomioka
一郎 富岡
Kazuhiro Sakashita
和広 坂下
Satoru Kishida
悟 岸田
Toshiaki Hanibuchi
埴渕 敏明
Takahiko Arakawa
荒川 隆彦
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP61183686A priority Critical patent/JPH0627777B2/en
Priority to KR1019870008021A priority patent/KR910002236B1/en
Priority to US07/081,095 priority patent/US4870345A/en
Priority to DE3725823A priority patent/DE3725823A1/en
Publication of JPS6338182A publication Critical patent/JPS6338182A/en
Publication of JPH0627777B2 publication Critical patent/JPH0627777B2/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 obtain an integrated circuit device which enables a scan test with a small number of control input pins by providing scan registers, gate circuits, latch circuits, etc., between circuit blocks to be tested and at their connection parts. CONSTITUTION:The scan registers 8a-16a, latch circuits 75 and 76, AND gates 70 and 72, OR gates 71, 73, and 74, etc., are incorporated between a combinational block 35 and asynchronous circuit blocks 36 and 37 including order circuits and a their connection parts. Consequently, an input to the circuit block to be tested is fixed at a prescribed value by the gate circuits interposed at the outputs of the scan registers 8a-16a in a scan mode and also held as test data in the last period by the latch circuits 75 and 76. Consequently, the input signal to the circuit block to be tested is prevented from varying during scanning. Further, a positive type clock signal and a negative signal having the same timing with it are controlled in test operation with one control signal, and the test data never varies at the time of mode switching.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、半導体集積回路装置に関し、さらに具体的
にはスキャンバスを用いた半導体集積回路装置のテスト
回路に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a semiconductor integrated circuit device, and more specifically to a test circuit for a semiconductor integrated circuit device using a scan canvas.

〔従来の技術〕[Conventional technology]

微細加工技術の進歩により、半導体集積回路の集積度は
飛躍的に向上し、今後もさらに増大する傾向にある。こ
のような集積度(ゲート数)の増大とともに、半導体集
積回路装置の試験の難易度は指数関数的に増大する。こ
こで、ある装置のテスト容易度は、各端子の故障を観測
する容易さく可観測性)と、各端子を所望の論理値に設
定する容易さく可制御性)の2点から決定され、一般に
大規模な論理回路網の奥深い端子は可観測性、可制御性
とも悪くなる。
With advances in microfabrication technology, the degree of integration of semiconductor integrated circuits has improved dramatically and is likely to continue to increase in the future. As the degree of integration (number of gates) increases, the difficulty of testing semiconductor integrated circuit devices increases exponentially. Here, the testability of a device is determined from two points: (observability (easiness in observing failures at each terminal) and controllability (ease in setting each terminal to a desired logical value)). Deep terminals in a large-scale logic network deteriorate both observability and controllability.

半導体集積回路装置のテスト方式としてスキャンテスト
方式があるが、このスキャンテスト方式は、シフトレジ
スタ機能を有するレジスタ回路を論理回路網の適当な個
所に押入し、これらのレジスタ回路を1本のシフトレジ
スタバスでつなぎ、テスト動作時にはチップ外部からテ
ストパターンをシリアル入力して各レジスタに所定のデ
ータを設定し、これらのレジスタのデータ出力端子に接
続されている論理回路に所望の論理信号を印加して動作
させ、その結果をこれらレジスタのパラレル入力端子よ
り該レジスタ内にパラレルに取り込み、その後それらを
シリアルにチップ外部へ出力して観測することによって
、大規模な論理回路網の奥深い端子の可観測性、可制御
性を向上しようとするものである。
There is a scan test method as a test method for semiconductor integrated circuit devices. In this scan test method, register circuits having a shift register function are inserted into appropriate locations in a logic circuit network, and these register circuits are combined into a single shift register. They are connected via a bus, and during test operation, a test pattern is serially input from outside the chip, predetermined data is set in each register, and desired logic signals are applied to the logic circuits connected to the data output terminals of these registers. By operating these registers, inputting the results in parallel into the registers from the parallel input terminals of these registers, and then outputting them serially to the outside of the chip for observation, it is possible to observe the deep terminals of large-scale logic circuit networks. , which aims to improve controllability.

レベルセンシティブな同期回路に関するスキャンテスト
方式の基本的なアイデアは特開昭52−28614号公
報に示されている。
The basic idea of a scan test method for level-sensitive synchronous circuits is disclosed in Japanese Patent Laid-Open No. 52-28614.

ここでは、対象とする回路を非同期な順序回路も含める
ので、従来例として特開昭56−74668号公報を参
考に説明する。
Here, since the target circuits include asynchronous sequential circuits, the description will be made with reference to Japanese Patent Application Laid-Open No. 56-74668 as a conventional example.

築3図に非同期式順序回路を対象とした従来のスキャン
パス方式のテスト回路例を示す0図において、35は組
み合わせ回路のブロック、36゜37は順序回路を含む
非同期回路ブロック、8〜16は各回路ブロック間に設
けられたスキャンレジスタ、26〜34は対応する回路
ブロックの出力とスキャンレジスタの出力のいずれかを
選択して出力するデータセレクタである。上記スキャン
レジスタのデータ入力端子り及びデータセレクタのデー
タ入力端子りには各回路ブロックの出力信号が直接接続
され、またデータセレクタのテストデータ入力端子TD
には、対応するスキャンレジスタの出力端子Qが接続さ
れている。
Figure 3 shows an example of a conventional scanpath method test circuit for asynchronous sequential circuits, 35 is a combinational circuit block, 36°37 is an asynchronous circuit block including a sequential circuit, and 8 to 16 are asynchronous circuit blocks including sequential circuits. Scan registers 26 to 34 provided between each circuit block are data selectors that select and output either the output of the corresponding circuit block or the output of the scan register. The output signal of each circuit block is directly connected to the data input terminal of the scan register and the data input terminal of the data selector, and the test data input terminal TD of the data selector
is connected to the output terminal Q of the corresponding scan register.

また、1はテストモード選択端子であり、該端子1はス
キャンレジスタとデータセレクタの各モード選択端子M
Sに接続されている。2はスキャンイン端子、3日はス
キャンアウト端子である。
Further, 1 is a test mode selection terminal, and this terminal 1 is each mode selection terminal M of the scan register and data selector.
Connected to S. 2 is a scan-in terminal, and 3rd is a scan-out terminal.

スキャンイン端子2はスキャンレジスタ8のスキャンイ
ン端子Slに接続され、スキャンレジスタ8の出力端子
Qはスキャンレジスタ9のスキャンイン端子Slに接続
されており、このように各スキャンレジスタの出力端子
Qは次のスキャンレジスタのスキャンイン端子SIに順
次接続され、結果として、スキャンイン端子2とスキャ
ンアウト端子38の間でシフトレジスタパスが形成され
ている。3〜5は通常のデータ入力端子、6はスキャン
クロック入力端子であり、該端子6はスキャンレジスタ
のクロック入力端子Tに接続されている。
The scan-in terminal 2 is connected to the scan-in terminal Sl of the scan register 8, and the output terminal Q of the scan register 8 is connected to the scan-in terminal Sl of the scan register 9. In this way, the output terminal Q of each scan register is connected to the scan-in terminal Sl of the scan register 8. It is sequentially connected to the scan-in terminal SI of the next scan register, and as a result, a shift register path is formed between the scan-in terminal 2 and the scan-out terminal 38. 3 to 5 are normal data input terminals, and 6 is a scan clock input terminal, which is connected to the clock input terminal T of the scan register.

第4図は上記スキャンレジスタの一例であり、MSはモ
ード選択端子、Dはデータ入力端子、S■はスキャンイ
ン端子、Tはクロック入力端子である。また51はイン
バータゲート、52.53は2人力ANDゲート、54
は2人力ORゲート、55はエツジトリガ方式Dタイプ
フリップフロフプ(以下D−FFと記す)、Qはデータ
出力端子である。
FIG. 4 shows an example of the scan register, in which MS is a mode selection terminal, D is a data input terminal, S is a scan-in terminal, and T is a clock input terminal. Also, 51 is an inverter gate, 52.53 is a two-man AND gate, and 54
55 is an edge trigger type D-type flip-flop (hereinafter referred to as D-FF), and Q is a data output terminal.

第5図は上記第3図に示したデータセレクタの一例であ
り、MSはモード選択端子、TDはテストデータ入力端
子、Dはデータ入力端子、60はインバータゲート、6
1.62は2人力ANDゲート、63は2人力ORゲー
ト、Yは出力端子である。
FIG. 5 is an example of the data selector shown in FIG. 3 above, where MS is a mode selection terminal, TD is a test data input terminal, D is a data input terminal, 60 is an inverter gate, 6
1.62 is a two-man powered AND gate, 63 is a two-man powered OR gate, and Y is an output terminal.

次に動作について説明する。Next, the operation will be explained.

まず通常動作時について説明すると、この場合はテスト
モード選択端子1  (MS)に“H″が印加され、ス
キャンクロック端子6 (TS又はT)は“L”に固定
される。結果として、各データセレクタを通じて、対応
する各回路ブロック間の入出力端子が直接接続されるこ
ととなる。
First, the normal operation will be explained. In this case, "H" is applied to the test mode selection terminal 1 (MS), and the scan clock terminal 6 (TS or T) is fixed to "L". As a result, the input/output terminals between the corresponding circuit blocks are directly connected through each data selector.

これを第5図について説明すると、データセレクタはモ
ード選択端子MSに“H″が与えられると、データ入力
端子りからのデータをANDゲート62及びORゲート
63を介して出力端子Yに出力する。回路ブロックの出
力はこのデータセレクタのデータ入力端子りに直接接続
されているので、対応する各回路ブロック間の入出力端
子が直接接続されることとなる。
To explain this with reference to FIG. 5, when "H" is applied to the mode selection terminal MS, the data selector outputs data from the data input terminal to the output terminal Y via the AND gate 62 and the OR gate 63. Since the output of the circuit block is directly connected to the data input terminal of this data selector, the input/output terminals between the corresponding circuit blocks are directly connected.

一方テスト動作時には、次のようにスキャンモードとテ
ストモードを順次繰り返して実行し、各回路ブロックの
テストを実施する。
On the other hand, during the test operation, the scan mode and test mode are sequentially repeated as described below to test each circuit block.

■ スキャンモード (a)  テストモード選択端子1に”H”を印加して
スキャンモードとする。これによりスキャンレジスタで
はスキャンイン端子SIからの入力データが選択され、
データセレクタではデータ入力端子りからの入力データ
が有効になる。
■ Scan mode (a) Apply "H" to test mode selection terminal 1 to set scan mode. As a result, the scan register selects the input data from the scan-in terminal SI,
In the data selector, input data from the data input terminal becomes valid.

(b)  さらにスキャンイン端子2から各スキャンレ
ジスタに設定するテストデータを、スキャンクロック端
子6に印加するクロックに同期させて順次スキャンイン
させる。
(b) Furthermore, the test data set in each scan register is sequentially scanned in from the scan-in terminal 2 in synchronization with the clock applied to the scan clock terminal 6.

(C)  これと同時に、スキャンアウト端子38から
は前回のテスト時に取り込んだ各回路ブロックの出力デ
ータを順次スキャンアウトさせる。
(C) At the same time, the output data of each circuit block taken in during the previous test is sequentially scanned out from the scan-out terminal 38.

この動作を第4図及び第5図について説明すると、まず
スキャンレジスタにおいては、モード選択端子MSに“
Hゝが与えられると、スキャンイン端子Srからのデー
タがANDゲート53.ORゲート54を介して、クロ
ック端子Tに印加されるクロックに同期してD−FF5
5に保持され、またこれと同時に保持されていたデータ
が出力端子Qから出力される。なおこのときデータセレ
クタのモード選択端子MSにも“H”が与えられており
、従ってその出力端子Yにはデータ入力端子りからのデ
ータが出力される。
To explain this operation with reference to FIGS. 4 and 5, first, in the scan register, the mode selection terminal MS is
When H is applied, data from the scan-in terminal Sr is sent to the AND gate 53. D-FF5 is synchronized with the clock applied to the clock terminal T via the OR gate 54.
5, and the data held at the same time is output from the output terminal Q. At this time, "H" is also applied to the mode selection terminal MS of the data selector, and therefore, the data from the data input terminal is output to its output terminal Y.

■ テストモード (al  所望のデータを各スキャンレジスタに設定し
終わったら、テストモード選択端子1に“L”を印加し
てテストモードとする。
■ Test mode (al) After setting desired data in each scan register, apply "L" to test mode selection terminal 1 to enter test mode.

(b)  これによりスキャンレジスタの出力データが
データセレクタのテストデータ入力端子TDを経由して
各回路ブロックに印加される。
(b) As a result, the output data of the scan register is applied to each circuit block via the test data input terminal TD of the data selector.

(e)  同時にデータ入力端子3〜5に所望のテスト
データを印加する。
(e) At the same time, apply desired test data to data input terminals 3 to 5.

fdl  次に回路ブロックの動作が完了した時点でス
キャンクロツタ入力端子6にクロックを1つ印加する。
fdl Next, when the operation of the circuit block is completed, one clock is applied to the scan clock input terminal 6.

これにより各回路ブロックの出力信号が、対応するスキ
ャンレジスタのデータ入力端子りを通じてスキャンレジ
スタ内のD−FFに保持される。
As a result, the output signal of each circuit block is held in the D-FF in the scan register through the data input terminal of the corresponding scan register.

これらの動作を第4図及び第5図について説明すると、
まずスキャンレジスタではモード選択端子MSに“L゛
が与えられると、データ入力端子りからのデータがAN
Dゲート52.ORゲート54を介して、クロック入力
端子Tに印加されるクロックに同期してD−FF55に
保持される。
These operations will be explained with reference to FIGS. 4 and 5.
First, in the scan register, when "L" is applied to the mode selection terminal MS, the data from the data input terminal is
D gate 52. It is held in the D-FF 55 in synchronization with the clock applied to the clock input terminal T via the OR gate 54.

またこのときデータセレクタのモード選択端子MSにも
“L”が与えられるので、その出力端子Yにはテストデ
ータ入力端子TDからのデータがANDゲー)61.O
Rゲート63を介して出力される。
At this time, "L" is also applied to the mode selection terminal MS of the data selector, so the data from the test data input terminal TD is sent to the output terminal Y of the AND gate)61. O
It is output via the R gate 63.

このようにして各回路ブロック35〜37のテストを実
行できるが、この回路では、スキャンの動作中において
はデータセレクタが各回路ブロックの出力データを選択
しており、これによりスキャン動作中にスキャンレジス
タの出力値が順次変わっても順序回路を含む回路ブロッ
ク36の状態が変化しないようにしている。従ってこの
例のように、スキャンバスに囲まれた回路ブロックが非
同期の順序回路であってもスキャンテストが可能となっ
ている。
In this way, each circuit block 35 to 37 can be tested, but in this circuit, the data selector selects the output data of each circuit block during the scan operation, so the scan register Even if the output values of the sequential circuits change sequentially, the state of the circuit block 36 including the sequential circuit does not change. Therefore, as in this example, scan testing is possible even if the circuit block surrounded by the scan canvas is an asynchronous sequential circuit.

〔発明が解決しよ・うとする問題点〕[Problem that the invention attempts to solve]

従来の装置は以上のように構成されているので、非同期
順序回路を含むブロックについてもスキャンテストをす
ることができる。しかし、一般にはテストモードからス
キャンモードへ切り換わる時に、順序回路に与えられる
データがシリアルインされた信号値から、隣接する回路
ブロックの出力信号値に変化してしまう、このため、対
象とする非同期順序回路の状態が変化しないように入力
を設定することが困難で、多くの場合スキャンテストを
有効に実施することができないという問題があった。
Since the conventional device is configured as described above, a scan test can also be performed on blocks including asynchronous sequential circuits. However, in general, when switching from test mode to scan mode, the data given to the sequential circuit changes from the serially input signal value to the output signal value of the adjacent circuit block. There is a problem in that it is difficult to set inputs so that the state of the sequential circuit does not change, and in many cases it is not possible to effectively perform a scan test.

この発明は、上記のような問題点を解消するためになさ
れたもので、非同期順序回路を含む回路ブロックを含め
て、少ない制御信号入力ビンで容易にスキャンテスト可
能な半導体集積回路装置を得ることを目的とする。
The present invention has been made to solve the above-mentioned problems, and provides a semiconductor integrated circuit device that includes a circuit block including an asynchronous sequential circuit and that can be easily scan tested with a small number of control signal input bins. With the goal.

〔問題点を解決するための手段〕[Means for solving problems]

どの発明に係る半導体集積回路装置は、被テスト回路ブ
ロックの間に、 通常動作時は入出力端子間をスルー状態にして入力デー
タをそのまま出力し、テスト動作時は入力データを保持
、出力するスキャンレジスタと、このスキャンレジスタ
の出力端子に接続され、通常動作時及びテスト動作時の
テストモードにおいては上記スキャンレジスタの出力デ
ータを、テスト動作時のスキャンモードにおいてはそれ
ぞれ第1の固定データ、該第1の固定データとは反対論
理値の第2の固定データ、又は前周期のスキャンレジス
タの出力データを出力する第1.第2のゲート回路及び
ランチ回路と、 上記第1又は第2のゲート回路の制御入力に接続された
否定回路とを設け、 少なくとも同一段の上記第1又は第2のゲート回路の制
御入力と否定回路の入力とを同一の制御信号に接続した
ものである。
A semiconductor integrated circuit device according to any of the inventions provides a scan method between the circuit blocks under test, in which the input and output terminals are put into a through state during normal operation and input data is output as is, and the input data is held and output during test operation. It is connected to a register and an output terminal of this scan register, and outputs the output data of the scan register in the test mode during normal operation and test operation, and the first fixed data and the first fixed data in the scan mode during test operation. The first fixed data outputs the second fixed data having the opposite logical value to the first fixed data, or the output data of the scan register of the previous cycle. a second gate circuit, a launch circuit, and a negation circuit connected to a control input of the first or second gate circuit; The input of the circuit is connected to the same control signal.

〔作用〕[Effect]

この発明においては、スキャンモードにおける被テスト
回路ブロックの入力を、スキャンレジスタの出力に挿入
されたゲート回路により所定の値に固定でき、またラッ
チ回路により前周期のテストデータに保持できる。この
ため被テスト回路ブロックの入力信号がスキャン中に変
化するのを防ぐことができる。またテスト時にポジティ
ブタイプのクロック信号と、それと同一のタイミングの
ネガティブ信号とを1つの制御信号でコントロールでき
、しかもテストモードからスキャンモードへの切り換え
時にテストデータが変化することがないため、少ないピ
ン数で、非同期順序回路を含む回路ブロックを容易にス
キャンテストできる。
In the present invention, the input of the circuit block under test in the scan mode can be fixed to a predetermined value by the gate circuit inserted into the output of the scan register, and can be held at the test data of the previous cycle by the latch circuit. Therefore, it is possible to prevent the input signal of the circuit block under test from changing during scanning. Also, during testing, a positive type clock signal and a negative signal with the same timing can be controlled with one control signal, and the test data does not change when switching from test mode to scan mode, reducing the number of pins. This allows easy scan testing of circuit blocks containing asynchronous sequential circuits.

〔実施例〕〔Example〕

以下、本発明の実施例を図について説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.

第1図において、第3図と同一符号は同−又は相当部分
を示し、35〜37は被テスト回路プロ・7りであり、
これらの接続部分に本発明の一実施例によるテスト回路
が組み込まれている。8a〜16aはスキャンレジスタ
であり、詳細は後述する。
In FIG. 1, the same reference numerals as in FIG. 3 indicate the same or corresponding parts, and 35 to 37 are the circuits under test.
A test circuit according to an embodiment of the present invention is incorporated into these connections. 8a to 16a are scan registers, the details of which will be described later.

75.76はそれぞれスキャンレジスタ10a。75 and 76 are scan registers 10a, respectively.

11aの出力端子に接続され、スルー機能を持つランチ
であり、該ランチ75.76はE入力が“H”であれば
入力りのデータをそのままQ出力へ伝播し、“L”にな
ればう・ノチした内容を出力Qに保持出力するものであ
る。70.72はスキャンレジスタと回路ブロック間に
設けられたANDケート、71,73.74は同様にス
キャンレジスタと回路ブロック間に設けられたORゲー
ト、77.78.79はORゲートの制御入力に接続さ
れたインバータである。また81.82は−77子制御
入力端子、80.90.91はゲート制御入力端子、3
6a〜36c、37a〜37cは被テスト回路ブロック
の入力である。ここで本実施例における回路ブロック3
6.37において、その人力36a、37bはアクティ
ブHの入力、入力36b、37cはアクティブLの入力
であり、また人力36c、37aは入力データがH−L
This is a launch that is connected to the output terminal of 11a and has a through function.When the E input is "H", the launches 75 and 76 propagate the input data as is to the Q output, and when it becomes "L"・The notched contents are held and output to the output Q. 70.72 is an AND gate provided between the scan register and the circuit block, 71, 73.74 is an OR gate similarly provided between the scan register and the circuit block, and 77.78.79 is the control input of the OR gate. Connected inverter. Also, 81.82 is a -77 child control input terminal, 80.90.91 is a gate control input terminal, and 3
6a to 36c and 37a to 37c are inputs of the circuit blocks to be tested. Here, circuit block 3 in this embodiment
In 6.37, the human power 36a and 37b are active H inputs, the inputs 36b and 37c are active L inputs, and the human power 36c and 37a have input data H-L.
.

L −Hのどちらの方向に変化しても内部状態が変化す
るような入力となっている。また7は通常動作とテスト
動作を切り換えるためのノーマルモード入力端子である
The input is such that the internal state changes regardless of whether it changes in the L or H direction. Further, 7 is a normal mode input terminal for switching between normal operation and test operation.

また本実施例におけるスキャンレジスタは従来と異なり
、第6図に示すように構成されている。
Further, the scan register in this embodiment is different from the conventional one and is configured as shown in FIG.

即ち第6図において、56はインバータ、57゜58は
ANDゲート、59はORゲートであり、他の構成は第
4図に示すものと同様である。このように構成されたス
キャンレジスタは、ノーマルモード信号NMが“H″で
あれば入力りのデータを出力Qへそのまま伝播し、逆に
“L”であれば第4図の従来のレジスタと同機能となる
ものである。
That is, in FIG. 6, 56 is an inverter, 57°, 58 is an AND gate, and 59 is an OR gate, and the other configurations are the same as those shown in FIG. The scan register configured in this way propagates the input data as is to the output Q when the normal mode signal NM is "H", and conversely, when the normal mode signal NM is "L", it is the same as the conventional register shown in FIG. It is a function.

次に動作について説明する。Next, the operation will be explained.

まず通常動作時について説明する。通常動作時にはノー
マルモード入カフに“■(1,ラッチ制御入力81.8
2に“H”、ゲート制御入力80゜90.91に“H”
を印加する。これにより、全てのスキャンレジスタはD
入力からQ出力まで信号がそのまま伝播するとともに、
ラッチ75,76及びゲート70〜74は入力がそのま
ま出力まで伝播する。このため回路ブロック間のデータ
はテスト回路に影響されずにそのまま伝播でき、所望の
通常動作を行うことができる。
First, normal operation will be explained. During normal operation, the normal mode input cuff is “■(1, latch control input 81.8
2 “H”, gate control input 80°90.91 “H”
Apply. As a result, all scan registers are D
The signal propagates as it is from the input to the Q output, and
The inputs of the latches 75 and 76 and the gates 70 to 74 propagate as they are to the outputs. Therefore, data between circuit blocks can be propagated as is without being affected by the test circuit, and desired normal operation can be performed.

次にテスト動作、即ちノーマルモード入カフを“L”に
した場合について述べる。この場合において、テストモ
ード選択端子1の信号によってスキャンモードとテスト
モードの切り換えを行う。
Next, a test operation, that is, a case where the normal mode entry cuff is set to "L" will be described. In this case, the scan mode and test mode are switched by the signal at the test mode selection terminal 1.

そしてこの2つのモードを繰り返すことによって・被テ
スト回路のテストを行う。
By repeating these two modes, the circuit under test is tested.

次にこの2つのモードについて説明する。Next, these two modes will be explained.

■ スキャンモード テストモード選択端子1を“H”にすることによりスキ
ャンモードとなる。このモードではスキャンクロフタ入
力端子6にクロックを与えることにより、スキャンパス
を構成するスキャンレジスタにテストデータをスキャン
イン、スキャンアウトすることができる。この動作の例
を第2図に示す。同図において、入力1を“I(”にし
た場合がスキャンモードである。本実施例においてはス
キャン動作時にスキャンレジスタの出力端子Qにスキャ
ンデータが出力されるため、このデータに応じた信号の
変化が起こる。
■ Scan mode Setting the test mode selection terminal 1 to "H" sets the scan mode. In this mode, by applying a clock to the scan crofter input terminal 6, test data can be scanned in and scanned out to the scan registers forming the scan path. An example of this operation is shown in FIG. In the figure, the scan mode is when input 1 is set to "I(". In this embodiment, scan data is output to the output terminal Q of the scan register during scan operation, so a signal corresponding to this data is output. Change happens.

しかし、スキャンモードにおいてラッチ制御入力81.
82を1L″にしておけば、被テスト回路への入力36
c、37aはスキャン動作前のデータを保持できる。ま
たゲート制御入力80.90を全て“L”にしておけば
、入力36a、37bは”L”、入力36b、37cは
”H”に固定される。
However, in scan mode the latch control input 81.
If 82 is set to 1L'', the input 36 to the circuit under test
c, 37a can hold data before the scan operation. Furthermore, if all the gate control inputs 80 and 90 are set to "L", the inputs 36a and 37b are fixed to "L" and the inputs 36b and 37c are fixed to "H".

このように、スキャンモード時において被テスト回路ブ
ロックの入力を固定できるため、回路ブロックの状態を
保持できる。
In this way, since the input of the circuit block under test can be fixed during the scan mode, the state of the circuit block can be maintained.

■ テストモード テストモード時はテストモード選択端子1を“L”にす
る。このモードでは、スキャンレジスタの内容を被テス
ト回路ブロックに入力し、その後被テスト回路ブロック
の出力をスキャンレジスタに取り込む動作を行う。
■ Test mode In test mode, set test mode selection terminal 1 to “L”. In this mode, the contents of the scan register are input to the circuit block under test, and then the output of the circuit block under test is taken into the scan register.

この動作の例を第2図に示す。同図において、入力1を
“L”にした場合がテストモードである。
An example of this operation is shown in FIG. In the figure, the test mode is when input 1 is set to "L".

ここでこのテストモードにおいて、第2図に示すように
、入力36a、36b、37bへはパルスが出力され、
入力37cへは出力されないとすると、スキャンレジス
タ8a、9a、12a、13aの出力データはそれぞれ
H”、“L″、“H”。
In this test mode, as shown in FIG. 2, pulses are output to the inputs 36a, 36b, and 37b.
Assuming that it is not output to the input 37c, the output data of the scan registers 8a, 9a, 12a, and 13a are "H", "L", and "H", respectively.

H″である。またスキャンレジスタ10a、11aはそ
れぞれH”、“L”を出力しているものとする。これら
のテストデータは、ラッチ回路75.76及びゲート7
0〜73をスルー状態とすることにより被テスト回路ブ
ロックに与えることができる。第2図において、ランチ
75.76の出力はそれぞれランチ制御信号81e、8
2eの立5上がりに同期して出力され、それぞれ信号3
5ce、37aeのように変化し、これらのデータが各
う、チア3,76に保持される。またゲ−170〜73
の出力はそれぞれパルス90p。
It is also assumed that the scan registers 10a and 11a are outputting "H" and "L", respectively. These test data are applied to the latch circuits 75 and 76 and the gate 7.
By setting 0 to 73 in a through state, they can be applied to the circuit block under test. In FIG. 2, the outputs of launches 75 and 76 are launch control signals 81e and 8, respectively.
They are output in synchronization with the rising edge of 2e, and each signal 3
5ce and 37ae, and these data are held in cheers 3 and 76, respectively. Also game-170-73
The output of each is 90p pulse.

90p、80p、80pの期間だけ出力されるので、そ
れぞれ波形36al)、36bp、37bp。
Since they are output only during periods of 90p, 80p, and 80p, the waveforms are 36al), 36bp, and 37bp, respectively.

37ceのようになる。It will be like 37ce.

このようにして被テスト回路ブロックにテストデータを
与えた後に、回路ブロックから出力されるテスト結果を
スキャンクロック入力端子6にパルス6pをり−えてス
キャンレジスタに取り込む。
After applying the test data to the circuit block to be tested in this manner, the test result output from the circuit block is input into the scan register by passing a pulse 6p to the scan clock input terminal 6.

このテスト結果データは次のスキャン動作時に順次スキ
ャンアウトされる。
This test result data is sequentially scanned out during the next scan operation.

このような本実施例では、スキャンレジスタの出力にラ
ッチないしAND又はORゲートを接続したので、その
制御入力をコントロールすることによりスキャンモード
において被テスト回路の動作を止めることができ、しか
も任意のタイミングの“■(”又は“L”のテストパル
スを被テスト回路に印加することができる。また各回路
ブロックのテストデータはスキャンデータだけから与え
ることができるため、他の回路ブロックの出力データの
値を考えずにテストデータを生成でき、容易にスキャン
テストを実施できる。
In this embodiment, since a latch or an AND or OR gate is connected to the output of the scan register, the operation of the circuit under test can be stopped in the scan mode by controlling its control input, and moreover, the operation of the circuit under test can be stopped at any timing. A test pulse of "■(" or "L" of Test data can be generated without having to think about this, and scan tests can be easily performed.

また通常AND回路とOR回路を設けた場合、その制御
入力にはそれぞれ別の制御信号が接続される訳であるが
、本実施例ではOR回路の制御入力端子にインバータを
接続しているので、ポジティブタイプの信号とそれと同
一タイミングのネガティ・ブタイブの信号を1つの制御
入力でコントロールすることができ、集積回路のピン数
を減らずことができる。
Also, normally when an AND circuit and an OR circuit are provided, different control signals are connected to their control inputs, but in this embodiment, an inverter is connected to the control input terminal of the OR circuit. A positive type signal and a negative type signal with the same timing can be controlled with one control input, and the number of pins on the integrated circuit can be reduced.

なお、上記実施例ではORゲートの制御入力端子にイン
バータを設けた場合について説明したが、ANDゲート
70.72の制御入力端子にインバータを設けてもよく
、上記実施例と同様の効果を奏する。
In the above embodiment, an inverter is provided at the control input terminal of the OR gate. However, an inverter may be provided at the control input terminal of the AND gate 70, 72, and the same effects as in the above embodiment can be obtained.

また、上記実施例では同一段のAND回路とOR回路の
制御入力を接続した場合について説明したが、仮に回路
ブロック36と37の入力のタイミングが同一であれば
、各ゲート回路70〜73の制御入力の全てを同一制御
信号に接続することも可能である。
Further, in the above embodiment, the case where the control inputs of the AND circuit and the OR circuit of the same stage are connected is explained, but if the timing of the inputs of the circuit blocks 36 and 37 is the same, then the control inputs of each gate circuit 70 to 73 can be controlled. It is also possible to connect all of the inputs to the same control signal.

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

以上のように、この発明によれば、被テスト回路プロ、
り間のスキャンレジスタの出力に、通常uノ作時及びナ
ス1−動作時のテストモードにおいては上記スキャンレ
ジスタの出力データを、テスト動作時のス+t・ンモー
ドにおいてはそれぞれ第1のυ1定データ、該第1の固
定データと反対論理値の第2の固定データ、又はスキャ
ン動作前のスキャンL・ジスクの出力データを保持出力
する第1゜第2のゲート回路及びラッチ回路を設け、テ
ストデータの出力を制御入力によりコントロールできる
ようにしたので、スキャン動作時に被テスト回路の動作
を止めることができ、各回路ブロックのテストデータは
スキャンデータだけから与えることが−できるため他の
回路ブロックの出力データの値を考えずにテストデータ
を生成でき、容易にスキャンテストを実施できる。しか
も任意のタイミングのテストパルスを被テスト回路に印
加することができる。さらに上記第1.第2のゲート回
路の制御入力端子に同一の制御信号を接続し、ポジティ
ブタイプの信号とそれと同一のタイミングのネガティブ
タイプの信号を1つの制御入力でコントロールすること
ができるようにしたので、集、積回路のピン数を減らす
ことができる効果がある。
As described above, according to the present invention, the circuit under test professional,
The output data of the above-mentioned scan register is inputted to the output of the scan register during normal operation in the test mode during normal u operation and eggplant 1- operation, and the first υ1 constant data is input in the scan mode during test operation. A first and second gate circuit and a latch circuit are provided for holding and outputting second fixed data having an opposite logical value to the first fixed data, or output data of the scan L disk before the scan operation, and test data. Since the output of the circuit block can be controlled by the control input, the operation of the circuit under test can be stopped during scan operation, and the test data for each circuit block can be given only from the scan data, so the output of other circuit blocks can be controlled. Test data can be generated without considering data values, and scan tests can be easily performed. Moreover, test pulses with arbitrary timing can be applied to the circuit under test. Furthermore, the above 1. The same control signal is connected to the control input terminal of the second gate circuit, so that a positive type signal and a negative type signal with the same timing can be controlled with one control input. This has the effect of reducing the number of pins in the product circuit.

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

第1図はこの発明の一実施例による半導体集積回路装置
の回路図、第2図は該装置におけるテスト動作を説明す
るためのタイミング図、第3図は従来の半導体集積回路
装置の回路図、第4図は第3図に示す装置におけるスキ
ャンレジスタ回路の一具体例を示す図、第5図は第3図
に示す装置における選択回路の一具体例を示す図、第6
図は第1図の装置におけるスキャンレジスタ回路の一構
成例を示す図である。 1・・・テストモード選択端子、2・・・スキャンイン
端子、6・・・スキャンクロック入力端子、7・・・ノ
ーマルモード入力端子、8a〜16a・・・スキャンレ
ジスタ、35・・・組み合わせ回路のブロック、36.
37・・・順序回路を含む非同期回路ブロック、3日・
・・スキャンアウト端子、70.72・・・2人力AN
D回路、71゜73.74−2人力OR回路、75.1
6−ランチ回路、77.78.79・・・インバータ、
80,90゜91・・・ゲート制御入力、81.82・
・・ラッチ制御入力。 なお図中同一符号は同−又は相当部分を示す。
FIG. 1 is a circuit diagram of a semiconductor integrated circuit device according to an embodiment of the present invention, FIG. 2 is a timing diagram for explaining a test operation in the device, and FIG. 3 is a circuit diagram of a conventional semiconductor integrated circuit device. 4 is a diagram showing a specific example of the scan register circuit in the device shown in FIG. 3, FIG. 5 is a diagram showing a specific example of the selection circuit in the device shown in FIG. 3, and FIG.
FIG. 1 is a diagram showing an example of the configuration of a scan register circuit in the device shown in FIG. DESCRIPTION OF SYMBOLS 1...Test mode selection terminal, 2...Scan in terminal, 6...Scan clock input terminal, 7...Normal mode input terminal, 8a to 16a...Scan register, 35...Combination circuit block, 36.
37...Asynchronous circuit block including sequential circuit, 3 days...
・・Scan out terminal, 70.72 ・・2-person power AN
D circuit, 71°73.74-2 manual OR circuit, 75.1
6-launch circuit, 77.78.79...inverter,
80,90°91...Gate control input, 81.82.
...Latch control input. Note that the same reference numerals in the figures indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】[Claims] (1)少なくともそのうちの1つは順序回路を含む複数
個の回路ブロック間でデータ伝送を行うとともに、上記
各回路ブロックをスキャンテスト方式でテスト可能とし
た半導体集積回路装置であって、 上記複数個の回路ブロック間の各々に、伝播されるデー
タのビット数に対応して設けられ、通常動作時は前段回
路ブロックの出力データをそのまま出力し、 テスト動作時は前段回路ブロックの出力データ又はスキ
ャンテスト用のテストデータを外部クロックに同期して
保持、出力し、 全体で1つのシフトレジスタ機能を有するよう各回路相
互間がシフトレジスタパスで接続されてなる複数のスキ
ャンレジスタと、 それぞれその入力端子が所定の上記スキャンレジスタの
出力端子に、その出力端子が所定の回路ブロックの所定
の入力端子に接続して設けられ、通常動作時及びテスト
動作時のテストモードにおいては対応するスキャンレジ
スタの出力データをそのまま次段の回路ブロックに出力
し、 テスト動作時のスキャンモードにおいてはそれぞれ第1
の固定データ、該第1の固定データと反対論理値の第2
の固定データを次段の回路ブロックに出力する第1、第
2のゲート回路と、 該第1又は第2のゲート回路の制御入力端子に接続され
た否定回路と、 その入力端子が所定のスキャンレジスタの出力端子に、
出力端子が所定の回路ブロックの所定の入力端子に接続
して設けられ、 通常動作時及びテスト動作時のテストモードにおいては
対応するスキャンレジスタの出力データをそのまま次段
の回路ブロックに出力し、 テスト動作時のスキャンモードにおいては対応するスキ
ャンレジスタのスキャン動作前の出力データを保持出力
するラッチ回路と、 上記スキャンレジスタの各々に装置外部からテスト用の
シリアルデータを設定するためのテストデータ設定手段
と、 上記各スキャンレジスタのデータをシリアルデータとし
て装置外部へ順次出力するためのテスト結果出力手段と
、 通常動作とテスト動作の切り換え、スキャンモードとテ
ストモードの切り換えを行う動作切り換え手段とを備え
、 上記複数の第1、第2のゲート回路のうちの少なくとも
同一段に設けられた第1又は第2のゲート回路の制御入
力端子と否定回路の入力端子とは、同一の制御信号入力
に接続されていることを特徴とする半導体集積回路装置
(1) A semiconductor integrated circuit device, at least one of which transmits data between a plurality of circuit blocks including a sequential circuit, and is capable of testing each of the circuit blocks using a scan test method, are provided between each circuit block corresponding to the number of bits of data to be propagated, and during normal operation, the output data of the previous stage circuit block is output as is, and during test operation, the output data of the previous stage circuit block or scan test is provided. It holds and outputs test data in synchronization with an external clock, and each circuit is connected by a shift register path so that the entire circuit has one shift register function. The output terminal of a predetermined scan register is connected to a predetermined input terminal of a predetermined circuit block, and output data of the corresponding scan register is provided during normal operation and test mode during test operation. It is output as it is to the next stage circuit block, and in the scan mode during test operation, the first
fixed data, a second fixed data having an opposite logical value to the first fixed data;
first and second gate circuits that output fixed data to the next circuit block; an inverter connected to the control input terminal of the first or second gate circuit; At the output terminal of the register,
An output terminal is connected to a predetermined input terminal of a predetermined circuit block, and during normal operation and test mode during test operation, the output data of the corresponding scan register is output as is to the next stage circuit block, and the test is performed. A latch circuit that holds and outputs the output data of the corresponding scan register before the scan operation in the scan mode during operation, and a test data setting means for setting serial data for testing from outside the device to each of the scan registers. , comprising test result output means for sequentially outputting the data of each of the above scan registers to the outside of the device as serial data, and operation switching means for switching between normal operation and test operation, and between scan mode and test mode, The control input terminal of the first or second gate circuit and the input terminal of the inverter provided at least in the same stage among the plurality of first and second gate circuits are connected to the same control signal input. A semiconductor integrated circuit device characterized by:
JP61183686A 1986-08-04 1986-08-04 Semiconductor integrated circuit device Expired - Lifetime JPH0627777B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP61183686A JPH0627777B2 (en) 1986-08-04 1986-08-04 Semiconductor integrated circuit device
KR1019870008021A KR910002236B1 (en) 1986-08-04 1987-07-23 Semiconductor ic circuit apparature
US07/081,095 US4870345A (en) 1986-08-04 1987-08-03 Semiconductor intergrated circuit device
DE3725823A DE3725823A1 (en) 1986-08-04 1987-08-04 INTEGRATED SEMICONDUCTOR SWITCHING DEVICE

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61183686A JPH0627777B2 (en) 1986-08-04 1986-08-04 Semiconductor integrated circuit device

Publications (2)

Publication Number Publication Date
JPS6338182A true JPS6338182A (en) 1988-02-18
JPH0627777B2 JPH0627777B2 (en) 1994-04-13

Family

ID=16140156

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61183686A Expired - Lifetime JPH0627777B2 (en) 1986-08-04 1986-08-04 Semiconductor integrated circuit device

Country Status (1)

Country Link
JP (1) JPH0627777B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5210759A (en) * 1990-11-19 1993-05-11 Motorola, Inc. Data processing system having scan testing using set latches for selectively observing test data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5210759A (en) * 1990-11-19 1993-05-11 Motorola, Inc. Data processing system having scan testing using set latches for selectively observing test data

Also Published As

Publication number Publication date
JPH0627777B2 (en) 1994-04-13

Similar Documents

Publication Publication Date Title
US4870345A (en) Semiconductor intergrated circuit device
JP2725258B2 (en) Integrated circuit device
JP2626920B2 (en) Scan test circuit and semiconductor integrated circuit device using the same
US5130568A (en) Scannable latch system and method
US4864579A (en) Semiconductor integrated circuit device
US5530706A (en) Non-destructive sampling of internal states while operating at normal frequency
JPH0481147B2 (en)
JPS6338181A (en) Semiconductor integrated circuit device
JPH07202645A (en) Technology and method of asynchronous scan design
JPH0572290A (en) Semiconductor integrated circuit
JPS6338180A (en) Semiconductor integrated circuit device
JPS6338182A (en) Semiconductor integrated circuit device
JPH10185999A (en) Test circuit and test method
JP2953435B2 (en) Delay test method and flip-flop used in the delay test method
JPS6338179A (en) Semiconductor integrated circuit device
JPS6338184A (en) Semiconductor integrated circuit device
JPH0295283A (en) Semiconductor integrated circuit device
JP3328160B2 (en) Test equipment for logic integrated circuits
JPS6338178A (en) Semiconductor integrated circuit device
JPH07174821A (en) Inspecting method for boundery scanning cell and testing circuit
JPS6338183A (en) Semiconductor integrated circuit device
JPH06148291A (en) Boundary scanning register
JPS62226071A (en) Rs flip-flop circuit
JPH09320290A (en) Shift register
JPH0690265B2 (en) Test circuit

Legal Events

Date Code Title Description
S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

EXPY Cancellation because of completion of term