Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0782073B2 - Self-testable integrated circuit device - Google Patents
[go: Go Back, main page]

JPH0782073B2 - Self-testable integrated circuit device - Google Patents

Self-testable integrated circuit device

Info

Publication number
JPH0782073B2
JPH0782073B2 JP61264697A JP26469786A JPH0782073B2 JP H0782073 B2 JPH0782073 B2 JP H0782073B2 JP 61264697 A JP61264697 A JP 61264697A JP 26469786 A JP26469786 A JP 26469786A JP H0782073 B2 JPH0782073 B2 JP H0782073B2
Authority
JP
Japan
Prior art keywords
signal
mode
test pattern
test
internal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP61264697A
Other languages
Japanese (ja)
Other versions
JPS62201378A (en
Inventor
正人 河合
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP61264697A priority Critical patent/JPH0782073B2/en
Publication of JPS62201378A publication Critical patent/JPS62201378A/en
Publication of JPH0782073B2 publication Critical patent/JPH0782073B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は内部論理回路を検査できる自己検査可能な集積
回路装置に関する。
Description: FIELD OF THE INVENTION The present invention relates to a self-testable integrated circuit device capable of testing an internal logic circuit.

〔従来の技術〕[Conventional technology]

一般に,集積回路装置はANDゲート,ORゲート等のような
組合せ回路と,フリップフロップ,レジスタ,メモリ等
のような順序回路とに分類できる複数の回路素子を含ん
でいる。
Generally, an integrated circuit device includes a plurality of circuit elements that can be classified into combinational circuits such as AND gates and OR gates, and sequential circuits such as flip-flops, registers and memories.

集積回路は上記した回路素子を用いて,入力データに関
する所要の処理動作を実行する。これら回路素子の数は
集積回路技術の進歩と共に著しく増大する傾向がある。
このような状況の下では,集積回路の品質を正確に保証
し,且つ,集積回路装置に欠陥があるときには,その欠
陥位置を標定することが必要になる。このため,集積回
路の検査はその設計及び製造する際に集積回路装置を診
断するために行なわれる。また,このような検査は顧客
で使用される最終製品についてもしばしば行なわれる。
The integrated circuit uses the circuit elements described above to perform the required processing operations on the input data. The number of these circuit elements tends to increase significantly with the progress of integrated circuit technology.
Under such circumstances, it is necessary to accurately assure the quality of the integrated circuit and to locate the defective position when the integrated circuit device has a defect. Therefore, the inspection of the integrated circuit is performed in order to diagnose the integrated circuit device when designing and manufacturing the integrated circuit. Also, such inspections are often performed on the final product used by the customer.

特開昭60−68,624において,ゲートアレイ等として動作
可能な内部論理回路と,当該内部論理回路を診断する検
査回路とを有する自己検査可能な集積回路装置が提案さ
れている。この構造では,検査回路を使用することによ
って内部論理回路を容易に評価及び試験できる。
Japanese Unexamined Patent Publication No. 60-68,624 proposes a self-testable integrated circuit device having an internal logic circuit operable as a gate array and a test circuit for diagnosing the internal logic circuit. With this structure, an internal logic circuit can be easily evaluated and tested by using a test circuit.

具体的に云えば,自己検査可能な集積回路装置は通常モ
ード及びテストモードで選択的に動作可能であり,通常
モードでは,内部論理回路は制御信号に応じて入力デー
タ信号について処理動作を行なう。一方,テストモード
では入力データ信号の代わりに,各制御信号に対して決
められた内部タイミング信号に応答して,内部テストパ
ターン信号が処理される。
Specifically, the self-testable integrated circuit device can selectively operate in the normal mode and the test mode, and in the normal mode, the internal logic circuit processes the input data signal in response to the control signal. On the other hand, in the test mode, instead of the input data signal, the internal test pattern signal is processed in response to the internal timing signal determined for each control signal.

上記したように,テストモードにおいては,入力データ
信号や制御信号のような外部信号は外部回路から自己検
査可能な集積回路装置に印加されない。いずれにして
も,テストモードでは内部タイミング信号と内部テスト
パターン信号を使用することによって,各処理動作を自
己検査可能な集積回路内で実行できる。その結果とし
て,各処理動作毎に内部論理回路を診断及び評価でき,
高い信頼性で内部論理回路欠陥位置を標定できる。
As described above, in the test mode, external signals such as input data signals and control signals are not applied from the external circuit to the self-testable integrated circuit device. In any case, in the test mode, each processing operation can be performed in the self-testable integrated circuit by using the internal timing signal and the internal test pattern signal. As a result, the internal logic circuit can be diagnosed and evaluated for each processing operation,
The defect position of the internal logic circuit can be located with high reliability.

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

しかしながら,複雑な順序回路素子を含む自己検査可能
な集積回路装置については何等考慮が払われていない。
このことは上記複雑な順序回路素子が自己検査可能な集
積回路装置に含まれている場合,完全なテストが期待で
きないことを意味している。ここで内部論理回路は順序
回路素子として,データ信号を蓄積する内部メモリーを
備え,且つある処理動作が蓄積されたデータ信号と次に
入力されるデータ信号の両方を使用して実行されるもの
と仮定する。また自己検査可能な集積回路装置が前記し
た方法で,内部テストパターン信号及び内部タイミング
信号を使用して検査されるものとする。この場合,入力
データ信号と内部タイミング信号が自己検査可能な集積
回路装置の検査回路内で発生する時,内部メモリーでは
何等データ信号が確定していない。従って,入力データ
信号や内部タイミング信号に応答して自己検査可能な集
積回路装置から発生されるべき出力データ信号を完全に
予測することは困難である。
However, no consideration has been given to an integrated circuit device capable of self-inspection including a complicated sequential circuit element.
This means that a complete test cannot be expected when the complex sequential circuit device is included in a self-testable integrated circuit device. Here, the internal logic circuit has, as a sequential circuit element, an internal memory that stores a data signal, and a certain processing operation is executed using both the stored data signal and the next input data signal. I assume. Further, it is assumed that the self-testable integrated circuit device is tested by using the internal test pattern signal and the internal timing signal in the above-mentioned method. In this case, when the input data signal and the internal timing signal are generated in the test circuit of the self-testable integrated circuit device, no data signal is fixed in the internal memory. Therefore, it is difficult to completely predict the output data signal to be generated from the self-testable integrated circuit device in response to the input data signal or the internal timing signal.

他方,順序回路素子をシフトレジスタとして取り扱うこ
とによって,順序回路素子を診断することが出来る。し
かしながら,このような順序回路素子は内部論理回路の
処理動作に対して定められた制御信号に関連してはテス
トされていない。
On the other hand, by treating the sequential circuit element as a shift register, the sequential circuit element can be diagnosed. However, such sequential circuit elements have not been tested in relation to the control signals defined for the processing operations of the internal logic circuits.

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

本発明によれば,通常モード及びテストモードで選択的
に動作可能な自己検査可能な集積回路装置において,順
序回路素子を含み,内部入力信号及び内部タイミング信
号に応答して処理動作を行なう内部論理回路と,入力デ
ータ信号を受けるためのデータ入力端子と,前記処理動
作をあらわす制御信号を受けるための制御端子と,通常
モード及びテストモードのいずれか一方をあらわすモー
ド信号を受けるためのモード信号端子と,前記モード信
号に応答して前記順序回路素子及び前記内部論理回路に
対してそれぞれ定められた第1及び第2のテストパター
ン信号を発生するテストパターン発生手段と,前記デー
タ入力端子及び前記テストパターン発生手段に結合さ
れ,前記通常モード及び前記テストモードにおいて,前
記入力データ信号及び前記第2のテストパターン信号を
それぞれ選択し,第1の選択信号を生成し,該第1の選
択信号を前記内部論理回路に前記内部入力信号として送
出する第1の選択手段と,前記モード信号に応答し,該
モード信号が前記テストモードをあらわしているときに
は,前記順序回路素子及び前記制御信号に関連して定め
られた第1及び第2のタイミング信号をそれぞれ発生す
るタイミング信号発生手段と,前記制御端子及び前記タ
イミング信号発生手段に結合され,前記通常モード及び
テストモードにおいて前記制御信号及び前記第2のタイ
ミング信号をそれぞれ選択し,第2の選択信号を生成
し,該第2の選択信号を前記内部論理回路に前記内部タ
イミング信号として送出する第2の選択手段とを有し,
前記内部論理回路内には,前記テストモードにおいて前
記第1のタイミング信号に応答し,前記第1のテストパ
ターン信号を前記順序回路素子に割り当てる割り当て手
段が設けられている自己検査可能な集積回路装置が得ら
れる。
According to the present invention, in the self-testable integrated circuit device capable of selectively operating in the normal mode and the test mode, an internal logic including sequential circuit elements and performing a processing operation in response to an internal input signal and an internal timing signal. A circuit, a data input terminal for receiving an input data signal, a control terminal for receiving a control signal representing the processing operation, and a mode signal terminal for receiving a mode signal representing one of a normal mode and a test mode Test pattern generating means for generating first and second test pattern signals respectively defined for the sequential circuit element and the internal logic circuit in response to the mode signal, the data input terminal and the test And a pattern generating means for connecting the input data signal and the test signal in the normal mode and the test mode. First selection means for selecting each of the second test pattern signals, generating a first selection signal, and transmitting the first selection signal to the internal logic circuit as the internal input signal; and the mode signal. In response to the test signal, the timing signal generating means for generating the first and second timing signals defined in relation to the sequential circuit element and the control signal, respectively. Coupled to the control terminal and the timing signal generating means, selects the control signal and the second timing signal in the normal mode and the test mode, respectively, generates a second selection signal, and outputs the second selection signal. And a second selecting means for sending to the internal logic circuit as the internal timing signal,
A self-testable integrated circuit device in which an assigning unit that responds to the first timing signal in the test mode and assigns the first test pattern signal to the sequential circuit element is provided in the internal logic circuit. Is obtained.

〔実施例〕〔Example〕

第1図を参照すると,この発明の一実施例に係る自己検
査可能集積回路装置は通常モードとテストモードで動作
可能であり,且つ内部論理回路11を有している。第1図
では,後で詳細に述べられるゲート回路13と結合された
単一のフリップフロップだけが回路素子の代表として図
示されているが、内部論理回路11は組み合せ回路素子や
順序回路素子のような多数の回路素子を含んでいる。
Referring to FIG. 1, a self-testable integrated circuit device according to an embodiment of the present invention can operate in a normal mode and a test mode and has an internal logic circuit 11. In FIG. 1, only a single flip-flop combined with a gate circuit 13, which will be described in detail later, is shown as a representative of the circuit elements, but the internal logic circuit 11 is a combinational circuit element or a sequential circuit element. It contains a large number of circuit elements.

通常モードでは,内部論理回路は所定の処理動作を実行
する。その処理動作とは例えば加算,減算,掛算,割
算,読み出し動作,および書き込み動作であってよい。
In the normal mode, the internal logic circuit executes a predetermined processing operation. The processing operation may be, for example, addition, subtraction, multiplication, division, read operation, and write operation.

書き込み動作や読み出し動作は順序回路素子,例えば内
部論理回路11に含まれるメモリーに関連付けて行なわれ
る。いずれにしても,各処理動作は内部入力信号INI及
び内部タイミング信号INTに応答して順序回路素子をア
クセスすることによって実行される。通常モードにおけ
る内部入力信号INIは図示されない外部回路からデータ
入力端子15を通して供給される入力データ信号IDであ
り,一方,内部タイミング信号INTは外部回路から制御
端子16を通して供給される制御信号CONTである。この制
御信号CONTは処理動作に対して定められた信号である。
The write operation and the read operation are performed in association with a sequential circuit element, for example, a memory included in the internal logic circuit 11. In any case, each processing operation is executed by accessing the sequential circuit element in response to the internal input signal INI and the internal timing signal INT. The internal input signal INI in the normal mode is the input data signal ID supplied from the external circuit (not shown) through the data input terminal 15, while the internal timing signal INT is the control signal CONT supplied from the external circuit through the control terminal 16. . This control signal CONT is a signal defined for the processing operation.

テストモードで,示された回路装置は後述される方法
で,内部論理回路11の順序回路素子及び組み合せ回路素
子を検査することができる。順序回路素子の検査を可能
にするために,第1図に示されているようにゲート回路
13には,各順序回路素子,すなわちフリップフロップ12
が接続されている。
In the test mode, the circuit device shown can test the sequential circuit elements and the combinational circuit elements of the internal logic circuit 11 in the manner described below. In order to enable inspection of sequential circuit elements, a gate circuit as shown in FIG.
13 includes each sequential circuit element, that is, a flip-flop 12
Are connected.

テストモードにおいて順序回路素子は一連のシフトレジ
スタ即ちスキャンパスを形成し,且つ一連のシフトレジ
スタにクロックパルス列に従ってシフトレジスタのテス
トパターン信号を順次蓄積することによって検査され
る。テストパターン信号は第1のテストパターン信号FP
と呼び,他方スキャンタイミング信号は第1のタイミン
グ信号FTと呼ぶことにする。第1のテストパターン信号
FPは順序回路素子によって決定される数のビット信号に
よって構成されている。
In the test mode, the sequential circuit elements are tested by forming a series of shift registers or scan paths and sequentially storing the shift register test pattern signals in the series of shift registers according to a clock pulse train. The test pattern signal is the first test pattern signal FP
On the other hand, the scan timing signal will be called the first timing signal FT. First test pattern signal
The FP is composed of a number of bit signals determined by the sequential circuit elements.

第1図と共に第2図を参照すると,内部論理回路11はテ
ストパターン入力端子21とテスト制御端子22を有してい
る。テストパターン入力端子21とテスト制御端子22には
テストモードにおいて,それぞれ,第1のテストパター
ン信号と第1のタイミング信号FTが供給される。
Referring to FIG. 2 together with FIG. 1, the internal logic circuit 11 has a test pattern input terminal 21 and a test control terminal 22. In the test mode, the test pattern input terminal 21 and the test control terminal 22 are supplied with the first test pattern signal and the first timing signal FT, respectively.

第2図において,ゲート回路13は第1のアンドゲート2
6,第2のアンドゲート27,オアゲート28,及びインバータ
29とを備えている。第1のテストパターン信号FP及び第
1のタイミング信号FTが第1アンドゲート26に与えられ
る一方,第2アンドゲート27にはインバータ29を介して
第1のタイミング信号が与えられ,且つ結果信号REも与
えられている。結果信号REは問題のゲート回路13に接続
された組合せ回路素子における処理の結果をあらわして
いる。順序回路をテストする際,第1のタイミング信号
FTは論理レベル“1"を取るから,第1のテストパターン
信号FPは第1アンドゲート26及びオアゲート28を通して
フリップフロップ12に送られる。順序回路素子をテスト
する際,スキャンパスを形成するためにフリップフロッ
プ12はフリップフロップ12とゲート回路13の間の接続部
(図示せず)を通して次段のゲート回路に直列に接続さ
れる。この状況の下で,第1のテストパターン信号FPは
順次次段のフリップフロップ(図示せず)にシフトされ
る。
In FIG. 2, the gate circuit 13 is a first AND gate 2
6, second AND gate 27, OR gate 28, and inverter
29 and. The first test pattern signal FP and the first timing signal FT are applied to the first AND gate 26, while the second AND gate 27 is applied the first timing signal via the inverter 29, and the result signal RE Is also given. The result signal RE represents the result of the processing in the combinational circuit element connected to the gate circuit 13 in question. When testing sequential circuits, the first timing signal
Since FT takes the logic level "1", the first test pattern signal FP is sent to the flip-flop 12 through the first AND gate 26 and the OR gate 28. When testing the sequential circuit device, the flip-flop 12 is connected in series to the gate circuit of the next stage through a connection (not shown) between the flip-flop 12 and the gate circuit 13 to form a scan path. Under this situation, the first test pattern signal FP is sequentially shifted to the flip-flop (not shown) at the next stage.

このように,順序回路素子が内部論理回路11でテストさ
れる場合,内部論理回路11はスキャンパスモードで動作
を行なう。ゲート回路13及びゲート回路13と次段のフリ
ップフロップ12の間の接続部とは各フリップフロップに
第1のテストパターン信号FPを割り当てるのに役立つ。
この意味で接続部は第1のテストパターン信号FPを伝送
する伝送経路を構成している。
Thus, when the sequential circuit element is tested by the internal logic circuit 11, the internal logic circuit 11 operates in the scan path mode. The gate circuit 13 and the connection between the gate circuit 13 and the next-stage flip-flop 12 serve to assign the first test pattern signal FP to each flip-flop.
In this sense, the connecting portion constitutes a transmission path for transmitting the first test pattern signal FP.

他方,第1のタイミング信号FTが論理レベル“0"を取る
時,結果信号REは第2アンドゲート27及びORゲート28を
通ってフリップフロップ12に蓄積される。
On the other hand, when the first timing signal FT takes the logic level "0", the result signal RE is stored in the flip-flop 12 through the second AND gate 27 and the OR gate 28.

再び第1図を参照すると,図示された回路装置はテスト
コマンド信号TCを受けるためのモード信号端子31を有し
テストコマンド信号は通常モードとテストモードのいず
れか一方を指示するからモード信号と呼ばれる。
Referring again to FIG. 1, the circuit device shown has a mode signal terminal 31 for receiving a test command signal TC, and the test command signal indicates either a normal mode or a test mode, and is called a mode signal. .

図示した例では,テストモードが指示されると,テスト
コマンド信号,即ちモード信号TCは論理レベル“1"を取
り,通常モードでは論理レベル“0"を取る。
In the illustrated example, when the test mode is instructed, the test command signal, that is, the mode signal TC takes the logic level "1", and takes the logic level "0" in the normal mode.

自己検査可能な集積回路装置は外部回路に出力データ信
号OUTを供給する出力端子32を備え,出力データ信号OUT
は内部論理回路11における計算結果として送出される。
The self-testable integrated circuit device has an output terminal 32 for supplying an output data signal OUT to an external circuit.
Is transmitted as a calculation result in the internal logic circuit 11.

第1図において,モード信号は第1及び第2のテストパ
ターン発生器36及び37を有するテストパターン発生回路
35に与えられ,各テストパターン発生器36及び37は複数
の排他的論理和ゲート,複数フリップフロップとが公知
の方法で接続された擬似乱数発生器によって構成されて
いる。第1のテストパターン発生器36は,順序回路素子
の数に等しいビット数を持ち,且つ,シフトレジスタに
対して決められた第1のテストパターン信号を発生す
る。第1のテストパターン信号FPはテストパターン入力
端子21を通して内部論理回路11に与えられスキャンパス
モードではスキャンパスを通して順序回路素子に順次蓄
積される。
In FIG. 1, the mode signal is a test pattern generation circuit having first and second test pattern generators 36 and 37.
Each of the test pattern generators 36 and 37 is provided with a pseudo random number generator in which a plurality of exclusive OR gates and a plurality of flip-flops are connected by a known method. The first test pattern generator 36 has the same number of bits as the number of sequential circuit elements and generates a first test pattern signal determined for the shift register. The first test pattern signal FP is given to the internal logic circuit 11 through the test pattern input terminal 21 and sequentially accumulated in the sequential circuit elements through the scan path in the scan path mode.

このようなスキャンパスモードにおける動作は知られて
いるから,ここでは説明を省略する。
Since the operation in such a scan path mode is known, its explanation is omitted here.

第2のテストパターン発生器37は,内部論理回路11,特
に内部論理回路の組合せ回路素子に対して定められた第
2のテストパターン信号SPを発生する。
The second test pattern generator 37 generates a second test pattern signal SP defined for the internal logic circuit 11, especially for the combinational circuit elements of the internal logic circuit.

上記したように,第1及び第2テストパターン発生器36
及び37は擬似乱数発生器によって構成されているので,
各発生器の構造及び各発生器の初期状態が決まれば第1
及び第2のテストパターン信号FP及びSPはそれぞれ前も
って予測し,再現できる。これは第1及び第2テストパ
ターン信号FP及びSPに対する応答して現われる出力デー
タ信号OUTを予測できることを意味している。
As described above, the first and second test pattern generators 36
Since and 37 are composed of pseudo-random number generators,
First, if the structure of each generator and the initial state of each generator are determined
And the second test pattern signals FP and SP can be predicted and reproduced in advance, respectively. This means that the output data signal OUT appearing in response to the first and second test pattern signals FP and SP can be predicted.

もし,初期状態がテストモードで決定されているなら
ば,第1及び第2のテストパターン信号FP及びSPは通常
モードにおいても連続的に発生されてもよい。
If the initial state is determined in the test mode, the first and second test pattern signals FP and SP may be continuously generated in the normal mode.

第2テストパターン信号SPはデータ入力端子15を通して
入力データ信号IDが供給されるデータセレクタ39に伝達
される。このデータセレクタ39は第1のセレクタと呼ば
れてもよい。
The second test pattern signal SP is transmitted to the data selector 39 to which the input data signal ID is supplied through the data input terminal 15. This data selector 39 may be called a first selector.

図示した例においては,データセレクタ39には,モード
信号端子31を通してモード信号TCが与えられ,データセ
レクタ39はモード信号TCに応じて,入力データ信号ID及
び第2のテストパターン信号SPのいずれか一方を第1の
選択信号として選択する。具体的に云えば,モード信号
TCが論理レベル“0"を取り通常モードをあらわしている
時,入力データ信号IDがデータセレクタ39によって選択
され第1選択信号として内部論理回路に供給される。他
方,モード信号TCがテストモードをあらわしている時,
第2テストパターン信号SPがデータセレクタ39によって
選択され,第1の選択信号として内部論理回路11に供給
される。いずれの場合にも第1の選択信号は内部入力信
号INIとして内部論理回路に送られる。
In the illustrated example, the mode signal TC is given to the data selector 39 through the mode signal terminal 31, and the data selector 39 selects either the input data signal ID or the second test pattern signal SP according to the mode signal TC. One is selected as the first selection signal. Specifically, the mode signal
When TC takes the logic level "0" and represents the normal mode, the input data signal ID is selected by the data selector 39 and supplied to the internal logic circuit as the first selection signal. On the other hand, when the mode signal TC represents the test mode,
The second test pattern signal SP is selected by the data selector 39 and supplied to the internal logic circuit 11 as a first selection signal. In either case, the first selection signal is sent to the internal logic circuit as the internal input signal INI.

データセレクタ39と内部論理回路との間の接続部は第1
の選択信号を内部入力信号INIとして内部論理回路11に
供給するための供給回路として役立つ。第1図及び第3
図におけるタイミング信号発生器41は,第1モード信号
TCの論理レベル“1"によって指示されて付勢され,他方
タイミング信号発生器41は通常モードで指示されると消
勢される。
The connection between the data selector 39 and the internal logic circuit is the first
Serves as a supply circuit for supplying the selection signal of 1 to the internal logic circuit 11 as the internal input signal INI. 1 and 3
The timing signal generator 41 in the figure is the first mode signal.
The timing signal generator 41 is activated when instructed by the logic level "1" of TC, while the timing signal generator 41 is inactivated when instructed in the normal mode.

このテストモードにおいてタイミングコントローラー42
は,最初に第1の信号発生回路43に第1のイネーブル信
号EA1を送出する。第1のイネーブル信号EA1に応じて,
第1の信号生成回路43には第1のタイミング信号FTを内
部論理回路11に供給する。第1のイネーブル信号EA1
タイミングコントローラー42から第1の信号生成回路43
に与えられている間,第1のタイミング信号FTは論理レ
ベル“1"を取る。結果として内部論理回路11はスキャン
パスモードにおかれ順序回路素子にはクロックパルス列
に同期して第1のテストパターン信号FPが1ビットずつ
順次記憶される。タイミングコントローラー42は論理
“1"のモード信号TCの受信後予め定められた時間を監視
しこの時間が経過すると,第2のイネーブル信号IA2
第2の信号生成回路44に送出する。したがって上記予め
定められた時間はスキャンパスの長さに関係して決定さ
れる。
Timing controller 42 in this test mode
First sends the first enable signal EA 1 to the first signal generating circuit 43. In response to the first enable signal EA 1 ,
The first signal generation circuit 43 supplies the first timing signal FT to the internal logic circuit 11. The first enable signal EA 1 is sent from the timing controller 42 to the first signal generation circuit 43.
, The first timing signal FT takes the logic level "1". As a result, the internal logic circuit 11 is placed in the scan path mode, and the first test pattern signal FP is sequentially stored bit by bit in the sequential circuit elements in synchronization with the clock pulse train. The timing controller 42 monitors a predetermined time after receiving the mode signal TC of logic "1", and when this time elapses, sends the second enable signal IA 2 to the second signal generation circuit 44. Therefore, the predetermined time is determined in relation to the length of the scan path.

第2のイネーブル信号EA2に応答して,第2の信号生成
回路44は内部論理回路11の処理動作に関連して決定され
る第2のタイミング信号STを発生する。したがって,第
2のタイミング信号STは制御信号CONTに対応付けること
ができ,第2の信号生成回路44から一つずつ順次送られ
る各種の制御信号を含んでいる。このような第2の信号
生成回路44はカウンタ及び読み出し専用メモリ(ROM)
の組合せによって構成できる。
In response to the second enable signal EA 2 , the second signal generating circuit 44 generates the second timing signal ST which is determined in relation to the processing operation of the internal logic circuit 11. Therefore, the second timing signal ST can be associated with the control signal CONT and includes various control signals sequentially sent one by one from the second signal generation circuit 44. Such a second signal generation circuit 44 is a counter and a read only memory (ROM).
Can be configured by a combination of.

第1図において,コントロールセレクタ46には制御信号
CONT,第2のタイミング信号ST及びモード信号TCが供給
され,モード信号TCに応じて,制御信号CONT及び第2の
タイミング信号STのいずれか一方を第2の選択信号とし
て選択する。具体的に云えば,通常モードでは制御信号
CONTが第2の選択信号として選択される一方,テストモ
ードでは第2のタイミング信号STが第2の選択信号とし
て選択される。第2の選択信号は内部タイミング信号と
して,内部論理回路11とコントロールセレクタ46との間
の接続部を通して,内部論理回路11に供給される。この
ため,この接続部は第2の選択信号を内部タイミング信
号として内部論理回路11に供給する供給回路と呼ばれて
もよい。このように,順序回路素子にスキャンパスモー
ドで第1のテストパターン信号FPが格納された後,内部
論理回路11は通常モードでは制御信号に応じて動作可能
になり,一方テストモードでは第2のタイミング信号に
応じて動作可能になる。この事からテストモードはスキ
ャンパスモードと後続するモード分離でき,且つ,後続
モードは非スキャンパスモードあるいは論理テストモー
ドと呼ぶことができる。
In FIG. 1, the control selector 46 has a control signal.
CONT, the second timing signal ST and the mode signal TC are supplied, and either the control signal CONT or the second timing signal ST is selected as the second selection signal according to the mode signal TC. Specifically, in the normal mode, the control signal is
While CONT is selected as the second selection signal, the second timing signal ST is selected as the second selection signal in the test mode. The second selection signal is supplied as an internal timing signal to the internal logic circuit 11 through the connection between the internal logic circuit 11 and the control selector 46. Therefore, this connection portion may be called a supply circuit that supplies the second selection signal as an internal timing signal to the internal logic circuit 11. In this way, after the first test pattern signal FP is stored in the sequential circuit element in the scan path mode, the internal logic circuit 11 can operate according to the control signal in the normal mode, while the internal logic circuit 11 can operate in the second mode in the test mode. It becomes operable according to the timing signal. From this, the test mode can be separated from the scan pass mode and the subsequent modes, and the subsequent mode can be called the non-scan pass mode or the logic test mode.

通常モードあるいは論理テストモードのどちらか一方に
おいて,出力データ信号OUTは出力端子32及び出力圧縮
回路48に送られる。尚,出力圧縮回路48はテストモード
においてだけ付勢され,出力圧縮回路48は,複数のフリ
ップフロップ及び複数の排他的論理和ゲートを含むシグ
ネチェアレジスタで構成され,第1及び第2のテストパ
ターン信号FP及びSPに応答して特定のパターンを発生す
るために役立つ。シグネチェアレジスタ48は公知の回路
であるからここでは詳述しない。
In either the normal mode or the logic test mode, the output data signal OUT is sent to the output terminal 32 and the output compression circuit 48. It should be noted that the output compression circuit 48 is activated only in the test mode, and the output compression circuit 48 is composed of a signature chair register including a plurality of flip-flops and a plurality of exclusive OR gates, and the first and second test patterns. It serves to generate a specific pattern in response to the signals FP and SP. The signature chair register 48 is a known circuit and will not be described in detail here.

以下,自己検査可能な集積回路装置の動作を説明する。The operation of the self-inspecting integrated circuit device will be described below.

通常モードでは,入力データ信号IDが内部入力信号INI
として,データセレクタ39を通してデータ入力端子15か
ら内部論理回路に供給される。制御信号CONTは,内部タ
イミング信号INIとしてコントローラセレクタ46を通し
て制御端子16から内部論理回路11に供給される。内部論
理回路11は入力データ信号IDを処理するために,制御信
号CONTによって示された処理動作を連続的に実行する。
結果として,出力データ信号OUTが出力端子32に送出さ
れる。
In the normal mode, the input data signal ID is the internal input signal INI
Is supplied from the data input terminal 15 to the internal logic circuit through the data selector 39. The control signal CONT is supplied as an internal timing signal INI from the control terminal 16 to the internal logic circuit 11 through the controller selector 46. The internal logic circuit 11 continuously executes the processing operation indicated by the control signal CONT to process the input data signal ID.
As a result, the output data signal OUT is sent to the output terminal 32.

テストモードにおいて,モード信号TCは論理レベル“1"
を取って第1のテストパターン発生器36を初期状態にす
る。これと同時にタイミング信号発生器41は第1のタイ
ミング信号FTを論理レベル“1"にする。論理レベル“1"
のモード信号TCに応じて,データセレクタ39は入力デー
タ信号IDを遮断して第2のテストパターン信号SPを選択
する。同様に,コントロールセレクタ46は制御信号CONT
を遮断して,第2のタイミング信号STを選択する。
In test mode, mode signal TC is at logic level "1"
Then, the first test pattern generator 36 is initialized. At the same time, the timing signal generator 41 sets the first timing signal FT to the logic level "1". Logical level "1"
The data selector 39 cuts off the input data signal ID and selects the second test pattern signal SP in accordance with the mode signal TC. Similarly, the control selector 46 uses the control signal CONT
Is cut off and the second timing signal ST is selected.

この状況の下で,内部論理回路11の順序回路素子は公知
の方法でスキャンパスを形成して,シフトレジスタとし
て動作可能な状態になる。第1のテストパターン信号FP
は,スキャンパスを通して順次順序回路に蓄積される。
順序回路素子中に第1のテストパターンが格納されたの
ち,第1のタイミング信号FTは論理“0"レベルにされ,
通常モードで同一の論理テストモードで内部論理回路を
動作させる。
Under this circumstance, the sequential circuit element of the internal logic circuit 11 forms a scan path by a known method and becomes operable as a shift register. First test pattern signal FP
Are sequentially accumulated in the sequential circuit through the scan path.
After the first test pattern is stored in the sequential circuit element, the first timing signal FT is set to the logic "0" level,
The internal logic circuit is operated in the same logic test mode in the normal mode.

論理テストモードでは,スキャンパスは個々の順序回路
素子の固有の動作を実行するために,第2図に関連して
述べられた方法で個々の順序回路素子に切り離される。
このように,順序回路素子は,個々の素子に互いに分離
される。この場合,第2のテストパターン信号SP及び第
2のテスト信号STはそれぞれ内部入力信号INI及び内部
タイミング信号INTとして内部論理回路11にデータセレ
クタ39及びコントロールセレクタ16を通して与えられ
る。
In the logic test mode, the scan paths are separated into individual sequential circuit elements in the manner described in connection with FIG. 2 to perform the unique operation of the individual sequential circuit elements.
In this way, the sequential circuit elements are separated from each other into individual elements. In this case, the second test pattern signal SP and the second test signal ST are given to the internal logic circuit 11 through the data selector 39 and the control selector 16 as the internal input signal INI and the internal timing signal INT, respectively.

上述したように,内部論理回路11は通常モードと同じ論
理テストモードに置かれ,第2のタイミング信号STは制
御信号CONTに関連して決定される。それゆえ,論理テス
トモードにおいて内部論理回路11は制御信号CONTにした
がって実行される処理動作をシュミレートする。各処理
動作は第2のタイミング信号SPの各制御パルスを変える
ことによって変えることができる。その結果としてあら
われる出力データ信号OUTは出力端子32に送出される。
As described above, the internal logic circuit 11 is placed in the same logic test mode as the normal mode, and the second timing signal ST is determined in relation to the control signal CONT. Therefore, in the logic test mode, the internal logic circuit 11 simulates the processing operation executed according to the control signal CONT. Each processing operation can be changed by changing each control pulse of the second timing signal SP. The resulting output data signal OUT is sent to the output terminal 32.

もし出力データ信号OUTが,直接内部論理回路11を診断
するのに使用される場合には,出力データ信号OUTは当
該出力データ信号に対して決定された予想値と比較され
る。このように内部論理回路11が正常か否かが判定され
る。
If the output data signal OUT is used directly to diagnose the internal logic circuit 11, the output data signal OUT is compared with the expected value determined for that output data signal. In this way, it is determined whether the internal logic circuit 11 is normal.

もし出力データ信号OUTが多数のディジタル信号によっ
て形成される場合,出力圧縮回路48は出力データ信号OU
Tを特定のパターンを有する限定データ信号に変換し,
限定データ信号を診断する。すなわち,特定のパターン
が一致するかどうかによって判断が行なわれる。
If the output data signal OUT is formed by multiple digital signals, the output compression circuit 48 will
Transform T into a limited data signal with a specific pattern,
Diagnose limited data signals. That is, the judgment is made depending on whether or not the particular patterns match.

診断の結果,欠陥が発見できないときには,モード信号
TCは論理レベル0となり,データセレクタ39とコントロ
ールセレクタ46にそれぞれ入力データ信号ID及び制御信
号CONTを選択させる。
If no defect is found as a result of diagnosis, the mode signal
TC becomes logic level 0, and causes the data selector 39 and the control selector 46 to select the input data signal ID and the control signal CONT, respectively.

データセレクタ39及びコントロールセレクタ46は図示さ
れた装置においてモード信号TCによって制御されるが,
これらのセレクタ39及び46はタイミング信号回路41によ
って制御されてもよい。
The data selector 39 and the control selector 46 are controlled by the mode signal TC in the illustrated device,
These selectors 39 and 46 may be controlled by the timing signal circuit 41.

同様な動作が自己検査可能な集積回路装置において順次
実行される。例えば,内部論理回路の診断が第1及び第
2のテストパターン信号FP及びSPによって終了するとす
ぐに,第1のテストパターン信号FPは新しいテストパタ
ーン信号に変更され,内部論理回路11を第1のテストパ
ターン信号FPに代わる新しい信号によって同様な動作を
実行させる。言い換えれば第1のテストパターン信号FP
の変更及び同様な処理動作は何回も繰り返されてもよ
い。この場合,順序回路素子に先に記憶された内容が有
効でない時,順序回路素子特に,レジスタ内容を書き替
えたり,あるいは,リフレッシュすることができる。こ
れは有効な診断を可能にする。
Similar operations are sequentially executed in the self-testable integrated circuit device. For example, as soon as the diagnosis of the internal logic circuit is completed by the first and second test pattern signals FP and SP, the first test pattern signal FP is changed to a new test pattern signal and the internal logic circuit 11 is changed to the first test pattern signal FP. A similar operation is performed by a new signal replacing the test pattern signal FP. In other words, the first test pattern signal FP
And the similar processing operations may be repeated many times. In this case, when the contents previously stored in the sequential circuit element are not valid, the sequential circuit element, particularly the register content, can be rewritten or refreshed. This allows a valid diagnosis.

以上この発明の好ましい実施例のみについて述べたが各
種の変形が可能である。
Although only the preferred embodiment of the present invention has been described above, various modifications can be made.

例えば順序回路素子には,スキャンパスを構成すること
なく,第1のテストパターン信号FPが格納されてもよ
い。例えば順序回路素子に一連のアドレスを割り当て,
第1のテストパターン信号が蓄積されるべきアドレスを
指示することによって,第1のテストパターン信号FPが
順序回路素子に蓄積されてもよい。この目的のために,
アドレスが第1のタイミング信号FTの代わりにタイミン
グ信号回路41から与えられ,他方,第1のテストパター
ン信号FPは順序回路素子のすべてに共通に与えられれば
よい。
For example, the first test pattern signal FP may be stored in the sequential circuit element without forming a scan path. For example, assign a series of addresses to sequential circuit elements,
The first test pattern signal FP may be stored in the sequential circuit element by designating an address at which the first test pattern signal should be stored. For this purpose,
The address may be given from the timing signal circuit 41 instead of the first timing signal FT, while the first test pattern signal FP may be given to all the sequential circuit elements in common.

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

第1図は本発明の一実施例に係る自己検査可能な集積回
路装置を示すブロック図,第2図は第1図に示された内
部論理回路に用いられるゲート回路を示すブロック図,
及び第3図は第1図に示されたタイミング信号回路の構
成を説明するためのブロック図である。 記号の説明 11……内部論理回路,12……順序回路素子(フリップフ
ロップ),13……ゲート回路,35……パターン発生回路,3
9……データセレクタ,41……タイミング信号発生回路,4
6……コントロールセレクタ。
1 is a block diagram showing a self-testable integrated circuit device according to an embodiment of the present invention, and FIG. 2 is a block diagram showing a gate circuit used in the internal logic circuit shown in FIG.
3 and FIG. 3 are block diagrams for explaining the structure of the timing signal circuit shown in FIG. Explanation of symbols 11 …… Internal logic circuit, 12 …… Sequential circuit element (flip-flop), 13 …… Gate circuit, 35 …… Pattern generation circuit, 3
9 …… Data selector, 41 …… Timing signal generator, 4
6 ... Control selector.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】通常モード及びテストモードで選択的に動
作可能な自己検査可能な集積回路装置において、順序回
路素子を含み、内部入力信号及び内部タイミング信号に
応答して処理動作を行なう内部論理回路と、入力データ
信号を受けるためのデータ入力端子と、前記処理動作を
あらわす制御信号を受けるための制御端子と、通常モー
ド及びテストモードのいずれか一方をあらわすモード信
号を受けるためのモード信号端子と、前記モード信号に
応答し前記順序回路素子に対して第1のテストパターン
信号を発生する第1のテストパターン発生器と、前記内
部論理回路に対して第2のテストパターン信号を発生す
る第2のテストパターン発生器と、前記データ入力端子
及び前記第2のテストパターン発生器に結合され、前記
通常モード及び前記テストモードにおいて、前記入力デ
ータ信号及び前記第2のテストパターン信号をそれぞれ
選択し、第1の選択信号を生成し、該第1の選択信号を
前記内部論理回路に前記内部入力信号として送出する第
1の選択手段と、前記モード信号に応答し、該モード信
号が前記テストモードをあらわしているときには、前記
順序回路素子及び前記制御信号に関連して定められた第
1及び第2のタイミング信号をそれぞれ発生するタイミ
ング信号発生手段と、前記制御端子及び前記タイミング
信号発生手段に結合され、前記通常モード及びテストモ
ードにおいて前記制御信号及び前記第2のタイミング信
号をそれぞれ選択し、第2の選択信号を生成し、該第2
の選択信号を前記内部論理回路に前記内部タイミング信
号として送出する第2の選択手段とを有し、前記内部論
理回路内には、前記テストモードにおいて前記第1のタ
イミング信号に応答し、前記第1のテストパターン信号
を前記順序回路素子に割り当てる割り当て手段が設けら
れていることを特徴とする自己検査可能な集積回路装
置。
1. A self-testable integrated circuit device capable of selectively operating in a normal mode and a test mode, including an internal logic circuit and performing a processing operation in response to an internal input signal and an internal timing signal. A data input terminal for receiving an input data signal, a control terminal for receiving a control signal representing the processing operation, and a mode signal terminal for receiving a mode signal representing one of a normal mode and a test mode. A first test pattern generator for generating a first test pattern signal for the sequential circuit element in response to the mode signal, and a second test pattern signal for generating a second test pattern signal for the internal logic circuit. Of the test pattern generator, the data input terminal and the second test pattern generator, In a test mode, selecting the input data signal and the second test pattern signal, respectively, generating a first selection signal, and transmitting the first selection signal to the internal logic circuit as the internal input signal. And a first timing signal defined in relation to the sequential circuit element and the control signal when the mode signal represents the test mode in response to the mode signal. Timing signal generating means for generating respectively, coupled to the control terminal and the timing signal generating means, selecting the control signal and the second timing signal in the normal mode and the test mode, respectively, and selecting a second selection signal. Generate the second
Second selection means for sending the selection signal of No. 1 to the internal logic circuit as the internal timing signal, and in the internal logic circuit, in response to the first timing signal in the test mode, An integrated circuit device capable of self-inspection, comprising: an assigning unit that assigns one test pattern signal to the sequential circuit element.
【請求項2】特許請求の範囲第1項記載の自己検査可能
な集積回路装置において、前記タイミング信号発生手段
は前記モード信号に応答し、該モード信号が前記テスト
モードをあらわしているとき、第1のイネーブル信号及
び当該第1のイネーブル信号に続く第2のイネーブル信
号を生成するイネーブル信号生成手段と、前記第1のイ
ネーブル信号に応答して前記第1のタイミング信号を発
生する第1の発生手段と、前記第2のイネーブル信号に
応答して前記第2のタイミング信号を発生する第2の発
生手段とを有することを特徴とする自己検査可能な集積
回路装置。
2. A self-testable integrated circuit device according to claim 1, wherein said timing signal generating means is responsive to said mode signal, and said mode signal represents said test mode. Enable signal generating means for generating a first enable signal and a second enable signal subsequent to the first enable signal, and a first generating means for generating the first timing signal in response to the first enable signal. A self-testable integrated circuit device comprising: means and second generating means for generating the second timing signal in response to the second enable signal.
【請求項3】特許請求の範囲第1項記載の自己検査可能
な集積回路装置において、前記割り当て手段は前記第1
のテストパターン信号及び前記第1のタイミング信号に
応答して、前記第1のタイミング信号が存在するときだ
け、前記第1のテストパターン信号を前記順序回路素子
に送出する手段と、前記第1のテストパターン信号を順
次前記順序回路素子に転送し、各順序回路素子に前記第
1のテストパターン信号を割り当てる手段とを有してい
ることを特徴とする自己検査可能な集積回路素子。
3. The self-testable integrated circuit device according to claim 1, wherein the assigning means is the first
Means for sending the first test pattern signal to the sequential circuit element only in the presence of the first timing signal in response to the test pattern signal and the first timing signal. Means for sequentially transferring a test pattern signal to the sequential circuit element and allocating the first test pattern signal to each sequential circuit element.
【請求項4】特許請求の範囲第1項記載の自己検査可能
な集積回路装置において、前記順序回路素子にそれぞれ
個有のアドレスを与えておき、前記第1のテストパター
ン発生器は前記モード信号によってテストモードが指示
されると、前記第1のテストパターンを各順序回路素子
に対して前記割り当て手段を介して共通に送出し、前記
第1のタイミング信号により前記アドレスを指定して、
所定の順序回路素子に第1のテストパターンを格納する
ことを特徴とする自己検査可能な集積回路装置。
4. The self-testable integrated circuit device according to claim 1, wherein each of the sequential circuit elements is provided with a unique address, and the first test pattern generator is configured to output the mode signal. When the test mode is instructed by, the first test pattern is commonly sent to each sequential circuit element via the assigning means, and the address is designated by the first timing signal.
An integrated circuit device capable of self-inspection, wherein a first test pattern is stored in a predetermined sequential circuit element.
JP61264697A 1985-11-06 1986-11-06 Self-testable integrated circuit device Expired - Lifetime JPH0782073B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61264697A JPH0782073B2 (en) 1985-11-06 1986-11-06 Self-testable integrated circuit device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP24715185 1985-11-06
JP60-247151 1985-11-06
JP61264697A JPH0782073B2 (en) 1985-11-06 1986-11-06 Self-testable integrated circuit device

Publications (2)

Publication Number Publication Date
JPS62201378A JPS62201378A (en) 1987-09-05
JPH0782073B2 true JPH0782073B2 (en) 1995-09-06

Family

ID=26538075

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61264697A Expired - Lifetime JPH0782073B2 (en) 1985-11-06 1986-11-06 Self-testable integrated circuit device

Country Status (1)

Country Link
JP (1) JPH0782073B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6068624A (en) * 1983-09-26 1985-04-19 Toshiba Corp Self-inspection system of lsi

Also Published As

Publication number Publication date
JPS62201378A (en) 1987-09-05

Similar Documents

Publication Publication Date Title
US4754215A (en) Self-diagnosable integrated circuit device capable of testing sequential circuit elements
US5325367A (en) Memory device containing a static ram memory that is adapted for executing a self-test, and integrated circuit containing such a device as an embedded static ram memory
US4860290A (en) Logic circuit having individually testable logic modules
US5173904A (en) Logic circuits systems, and methods having individually testable logic modules
US5173906A (en) Built-in self test for integrated circuits
US4063080A (en) Method of propagation delay testing a level sensitive array logic system
KR100597771B1 (en) Test circuit for memory
JP3247937B2 (en) Logic integrated circuit
JP3367848B2 (en) Test equipment for semiconductor devices
JPH11306798A (en) Test facilitation circuit for memory device
JPS61204744A (en) RAM built-in LSI with diagnostic function and its diagnostic method
JPH11174126A (en) Self-test pattern generator with built-in logic circuit and pattern selection method
JPS61272668A (en) Test facilitation system
JP3298955B2 (en) Semiconductor device
JPH0782073B2 (en) Self-testable integrated circuit device
JP3196013B2 (en) Logic integrated circuit
US20060053356A1 (en) Integrated circuit
JP2006058242A (en) Integrated circuit
JPH07307100A (en) Memory integrated circuit
JPH06102327A (en) Memory built-in semiconductor integrated circuit and its logic design method
KR100345673B1 (en) integrated circuit capable of self-testing
JPH09281192A (en) Self-diagnosis circuit of logic integrated circuit
KR20030068145A (en) At-Speed Built-in Self Testing of Multi-port Compact sRAMs
JP3180303B2 (en) Diagnosis method of connection state between logic elements on printed board
JP2002243801A (en) Semiconductor integrated circuit