JP3253770B2 - Test mode setting circuit for integrated circuits - Google Patents

Test mode setting circuit for integrated circuits

Info

Publication number
JP3253770B2
JP3253770B2 JP19755093A JP19755093A JP3253770B2 JP 3253770 B2 JP3253770 B2 JP 3253770B2 JP 19755093 A JP19755093 A JP 19755093A JP 19755093 A JP19755093 A JP 19755093A JP 3253770 B2 JP3253770 B2 JP 3253770B2
Authority
JP
Japan
Prior art keywords
test
activation
circuit
output
terminal
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 - Fee Related
Application number
JP19755093A
Other languages
Japanese (ja)
Other versions
JPH0755896A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP19755093A priority Critical patent/JP3253770B2/en
Publication of JPH0755896A publication Critical patent/JPH0755896A/en
Application granted granted Critical
Publication of JP3253770B2 publication Critical patent/JP3253770B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、1本のテスト専用端子
を使用して、通常動作時とテスト・モード時の切換えを
行うと共に、各種のテスト・モードの設定を可能とした
集積回路のテスト・モード設定回路に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an integrated circuit capable of switching between a normal operation and a test mode by using one test-dedicated terminal and setting various test modes. It relates to a test mode setting circuit .

【0002】[0002]

【従来の技術】図9はテスト可能な集積回路の構成例を
示す図である。同図において、AないしDは機能ブロッ
ク、10Aないし10Dはテスト時データ線、11と1
2は通常時データ線、13はマルチプレクサ(信号切換
器)をそれぞれ示している。ブロックAには、信号Aと
テストAとが印加されている。信号Aがオンであると、
ブロックAが動作する。オフのテストAは通常動作を示
し、オンのテストAはブロックAのテストを示す。テス
トAがオンの場合には、ブロックAのデータは、テスト
時データ線10Aを介してマルチプレクサ13に入力さ
れると共に、通常時データ線11を介してブロックCお
よびブロックBへ送られる。なお、図示しないが、ブロ
ックAには、集積回路の入力端子からのデータがデータ
線を介して供給される。
2. Description of the Related Art FIG. 9 is a diagram showing a configuration example of a testable integrated circuit. In the figure, A to D are functional blocks, 10A to 10D are test data lines, 11 and 1
Reference numeral 2 denotes a normal data line, and reference numeral 13 denotes a multiplexer (signal switch). The signal A and the test A are applied to the block A. When signal A is on,
Block A operates. An off test A indicates a normal operation, and an on test A indicates a block A test. When the test A is on, the data of the block A is input to the multiplexer 13 via the test data line 10A and sent to the blocks C and B via the normal data line 11. Although not shown, data from an input terminal of the integrated circuit is supplied to the block A via a data line.

【0003】ブロックCには、信号CとテストCとが印
加されている。通常動作時にはブロックCのデータがデ
ータ線10Cを介してマルチプレクサ13に入力され、
ブロックCのテスト時においてもブロックCのデータが
データ線10Cを介してマルチプレクサ13に入力され
る。
A signal C and a test C are applied to a block C. During normal operation, data of block C is input to multiplexer 13 via data line 10C,
Even during the test of the block C, the data of the block C is input to the multiplexer 13 via the data line 10C.

【0004】ブロックBには、信号BとテストBとが印
加されている。テストBがオンの場合には、ブロックB
のデータは、テスト時データ線10Bを介してマルチプ
レクサ13に入力されるとともに、通常時データ線12
を介してブロックDへ送られる。
A signal B and a test B are applied to a block B. If test B is on, block B
Is input to the multiplexer 13 via the test data line 10B and the normal data line 12B.
To block D.

【0005】ブロックDには、信号DとテストDとが印
加されている。通常動作時にはブロックDのデータがデ
ータ線10Dを介してマルチプレクサ13に入力され、
ブロックDのテスト時においてもブロックDのデータが
データ線10Dを介してマルチプレクサ13に入力され
る。
[0005] To the block D, a signal D and a test D are applied. During normal operation, data of block D is input to multiplexer 13 via data line 10D,
Also during the test of the block D, the data of the block D is input to the multiplexer 13 via the data line 10D.

【0006】マルチプレクサ13は、テストAがオンの
ときにはデータ線10Aのデータを出力し、テストBが
オンのときにはデータ線10Bのデータを出力し、テス
トCがオンのときにはデータ線10Cのデータを出力
し、テストDがオンのときにはデータ線10Dのデータ
を出力する。なお、マルチプレクサ13に入力されるテ
ストCは信号Cがオンのときにもオンし、マルチプレク
サ13に入力されるテストDは信号Dがオンのときにも
オンする。
The multiplexer 13 outputs data on the data line 10A when the test A is on, outputs data on the data line 10B when the test B is on, and outputs data on the data line 10C when the test C is on. When the test D is on, the data on the data line 10D is output. Note that the test C input to the multiplexer 13 is also turned on when the signal C is on, and the test D input to the multiplexer 13 is also turned on when the signal D is on.

【0007】[0007]

【発明が解決しようとする課題】従来技術では集積回路
に対してテスト・モード状態を設定するために複数の未
使用外部入力端子を使用していた。しかし、未使用外部
入力端子が存在しない場合には同一パッケージでのテス
トは不可能であり、端子数の多いパッケージにすること
で未使用外部入力端子を確保していたために、パッケー
ジサイズが大きくなり、実装密度が低く、無駄になった
り、価格も高くなる等の問題があった。
In the prior art, a plurality of unused external input terminals were used to set a test mode state for an integrated circuit. However, if there are no unused external input terminals, testing in the same package is not possible, and the package size increases because the unused external input terminals are secured by using a package with a large number of terminals. However, there are problems such as low mounting density, wastefulness, and high price.

【0008】また、従来技術では集積回路をテスト・モ
ード状態にしておくためには、テスト専用端子に常にテ
スト・モード状態の信号を入力し続けなければならなか
った。このため、テストしたい機能以外の回路に同様な
テスト専用端子に直接的に接続されている場合、そのテ
ストしたい機能以外の回路に影響を及ぼすことがあっ
た。さらに、集積回路が複雑になればなるほど、テスト
パターン数が増加し、製品テストの時間も増える。
In the prior art, in order to keep the integrated circuit in the test mode state, the signal in the test mode state must be continuously input to the dedicated test terminal. Therefore, when a circuit other than the function to be tested is directly connected to the same dedicated test terminal, the circuit other than the function to be tested may be affected. Further, the more complex the integrated circuit, the more test patterns and the longer the time for product testing.

【0009】本発明は、この点に鑑みて創作されたもの
であって、1本のテスト専用端子を使用して、通常動作
時とテスト・モード時の切換えを行い得ると共に、簡単
な回路で各種のテスト・モードを設定できる集積回路の
テスト・モード設定回路を提供することを目的としてい
る。
The present invention has been made in view of the above point, and can switch between a normal operation and a test mode by using one test-dedicated terminal, and can use a simple circuit. An object of the present invention is to provide an integrated circuit test mode setting circuit capable of setting various test modes.

【0010】[0010]

【課題を解決するための手段】図1は本発明の原理説明
図である。請求項の発明の集積回路のテスト・モード
設定回路は、1本のテスト専用端子と、1本の活性化用
端子と、外部出力端子と、複数の機能ブロックと、複数
のテスト信号を出力するテスト専用回路と、複数の活性
化信号を出力する活性化回路とを備え、テスト信号がオ
ンの場合には当該テスト信号に対応付けられた機能ブロ
ックのデータが外部出力端子から出力され、活性化信号
がオンの場合には当該活性化信号に対応付けられた機能
ブロックが活性化されるようになった集積回路のテスト
・モード設定回路であって、活性化回路は、活性化用記
憶手段と、活性化用記憶手段の出力をデコードする活性
化用デコーダ回路とを有し、活性化用デコーダ回路の出
力が活性化信号とされ、テスト専用回路は、テスト用記
憶手段と、イネーブル状態であることを条件としてテス
ト用記憶手段の出力をデコードするテスト用デコーダ回
路とを有し、テスト用デコーダ回路の出力がテスト信号
とされ、活性化用端子に活性化指示電圧が印加されると
活性化用記憶手段の入力データが活性化用記憶手段の出
力側から出力され、活性化用端子に活性化指示電圧が印
加されないときは活性化用記憶手段の出力データが固定
され、テスト専用端子にテスト指示電圧が印加されると
テスト用記憶手段の入力データがテスト用記憶手段の出
力側から出力され、テスト専用端子にテスト指示電圧が
印加されないときはテスト用記憶手段の出力データが固
定され、テスト専用端子にテスト指示電圧が印加されな
いときにテスト用デコーダ回路がイネーブル状態になる
ことを特徴とするものである。
FIG. 1 is a diagram illustrating the principle of the present invention. The test mode setting circuit for an integrated circuit according to the first aspect of the present invention outputs one test dedicated terminal, one activation terminal, an external output terminal, a plurality of function blocks, and a plurality of test signals. A test-dedicated circuit, and an activation circuit that outputs a plurality of activation signals. When the test signal is on, data of a functional block associated with the test signal is output from an external output terminal. A test mode setting circuit for an integrated circuit in which a function block associated with the activation signal is activated when the activation signal is on, the activation circuit comprising: And an activation decoder circuit for decoding the output of the activation storage means. The output of the activation decoder circuit is used as an activation signal. A test decoder circuit for decoding the output of the test storage means on condition that the output of the test decoder circuit is used as a test signal and an activation instruction voltage is applied to the activation terminal. The input data of the activation storage means is output from the output side of the activation storage means, and when the activation instruction voltage is not applied to the activation terminal, the output data of the activation storage means is fixed. When the test instruction voltage is applied, the input data of the test storage means is output from the output side of the test storage means, and when the test instruction voltage is not applied to the test dedicated terminal, the output data of the test storage means is fixed, The test decoder circuit is enabled when the test instruction voltage is not applied to the test dedicated terminal.

【0011】請求項の発明の集積回路のテスト・モー
ド設定回路は、1本のテスト専用端子と、1本の活性化
用端子と、外部出力端子と、複数の機能ブロックと、複
数のテスト信号を出力するテスト専用回路と、複数の活
性化信号を出力する活性化回路とを備え、テスト信号が
オンの場合には当該テスト信号に対応付けられた機能ブ
ロックのデータが外部出力端子から出力され、活性化信
号がオンの場合には当該活性化信号に対応付けられた機
能ブロックが活性化されるようになった集積回路のテス
ト・モード設定回路であって、活性化回路は、活性化用
記憶手段と、活性化用記憶手段の出力をデコードする活
性化用デコーダ回路とを有し、活性化用デコーダ回路の
出力が活性化信号とされ、テスト専用回路は、テスト用
記憶手段と、イネーブル状態であることを条件としてテ
スト用記憶手段の出力をデコードするテスト用デコーダ
回路とを有し、テスト用デコーダ回路の出力がテスト信
号とされ、活性化用端子に活性化指示電圧が印加される
と活性化用記憶手段の入力データが活性化用記憶手段の
出力側から出力され、活性化用端子に活性化指示電圧が
印加されないときは活性化用記憶手段の出力データが固
定され、テスト専用端子にテスト指示電圧が印加され且
つ活性化用端子に活性化指示電圧が印加されるとテスト
用記憶手段の入力データがテスト用記憶手段の出力側か
ら出力され、テスト専用端子にテスト指示電圧が印加さ
れないときはテスト用記憶手段の出力データが固定さ
れ、テスト専用端子にテスト指示電圧が印加されないと
きにテスト用デコーダ回路がイネーブル状態になること
を特徴とするものである。
According to a second aspect of the present invention, there is provided a test mode setting circuit for an integrated circuit, wherein one test dedicated terminal, one activation terminal, an external output terminal, a plurality of functional blocks, and a plurality of test terminals are provided. A test circuit for outputting a signal; and an activation circuit for outputting a plurality of activation signals. When the test signal is on, data of a functional block associated with the test signal is output from an external output terminal. A test mode setting circuit for an integrated circuit, wherein when the activation signal is on, the function block associated with the activation signal is activated. Storage means, and an activation decoder circuit for decoding the output of the activation storage means, the output of the activation decoder circuit is an activation signal, the test dedicated circuit, the test storage means, Rice plant And a test decoder circuit for decoding the output of the test storage means on condition that the test storage means is in a state of being able to be activated. The output of the test decoder circuit is used as a test signal, and the activation instruction voltage is applied to the activation terminal. Then, the input data of the activation storage means is outputted from the output side of the activation storage means, and when the activation instruction voltage is not applied to the activation terminal, the output data of the activation storage means is fixed and the test is performed. When the test instruction voltage is applied to the dedicated terminal and the activation instruction voltage is applied to the activation terminal, the input data of the test storage means is output from the output side of the test storage means, and the test instruction voltage is applied to the test dedicated terminal. When the test instruction voltage is not applied, the output data of the test storage means is fixed, and when the test instruction voltage is not applied to the dedicated test terminal, the test decoder circuit is enabled. And it is characterized in that a state.

【0012】[0012]

【作用】請求項の発明の集積回路のテスト・モード設
回路の作用を説明する。テスト用記憶手段は、例えば
Dフリップ・フロップまたはDラッチである。テスト用
記憶手段には、例えば集積回路のアドレス端子からのデ
ータA0…Anが入力される。テスト専用端子にテスト
指示電圧が印加されると、データがテスト用記憶手段の
出力端子から出力される。活性化用記憶手段の出力は活
性化用デコーダ回路でデコードされ、活性化用デコーダ
回路の各出力を活性化信号として対応する機能ブロック
に送り、テスト記憶手段の出力はテスト用デコーダ回路
でデコードされ、テスト用デコーダ回路の各出力をテス
ト信号として対応する機能ブロックに送る。請求項
発明の集積回路のテスト・モード設定回路は、同じデー
タを活性化用記憶手段とテスト用記憶手段に入力させ、
同じデータを活性化用記憶手段とテスト用記憶手段から
出力させることができる。また、テスト専用端子にテス
ト指示電圧が印加されなくなったときに、テスト用記憶
手段の出力をテスト用デコーダ回路でデコードし、テス
ト用デコーダ回路の各出力を対応する機能ブロックに送
っている。
SUMMARY OF] illustrating the operation of the test mode setting circuit of the integrated circuit of the invention of claim 1. The test storage means is, for example,
D flip flop or D latch. for test
The storage means stores data from, for example, an address terminal of the integrated circuit.
Data A0... An are input. Test to test dedicated terminal
When the command voltage is applied, the data is stored in the test storage means.
Output from the output terminal. The output of the activation storage means is active.
Decoding by the activation decoder circuit and the activation decoder
Function block corresponding to each output of the circuit as an activation signal
And the output of the test storage means is a test decoder circuit.
And test each output of the test decoder circuit.
To the corresponding function block as a reset signal. The test mode setting circuit for an integrated circuit according to the first aspect of the present invention causes the same data to be input to the activation storage unit and the test storage unit,
The same data can be output from the activation storage unit and the test storage unit. Further, when the test instruction voltage is not applied to the dedicated test terminal, the output of the test storage means is decoded by the test decoder circuit, and each output of the test decoder circuit is sent to the corresponding functional block.

【0013】請求項の発明の集積回路のテスト・モー
ド設定回路の作用を説明する。請求項の発明の集積回
路のテスト・モード設定回路は、テスト専用端子にテス
ト指示電圧が印加されている状態の下では、同じデータ
を活性化用記憶手段とテスト用記憶手段に入力し、同じ
データを活性化用記憶手段とテスト用記憶手段から出力
する。また、テスト専用端子にテスト指示電圧が印加さ
れなくなったときに、テスト用記憶手段の出力をテスト
用デコーダ回路でデコードし、テスト用デコーダ回路の
各出力を対応する機能ブロックに送る。
[0013] illustrating the operation of test mode setting circuit of the integrated circuit of the invention of claim 2. The test mode setting circuit for an integrated circuit according to claim 2 inputs the same data to the activation storage unit and the test storage unit when the test instruction voltage is applied to the test dedicated terminal. The same data is output from the activation storage unit and the test storage unit. Further, when the test instruction voltage is no longer applied to the test dedicated terminal, the output of the test storage means is decoded by the test decoder circuit, and each output of the test decoder circuit is sent to the corresponding functional block.

【0014】[0014]

【実施例】図2は本発明の第1実施例のブロック図であ
る。同図において、1はラッチ、7はプルアップ抵抗付
き入力バッファをそれぞれ示している。ラッチ1や入力
バッファ7は集積回路の中に存在する。集積回路のテス
ト専用端子TESTからの信号は入力バッファ7に入力
され、入力バッファ7の出力はラッチ1のゲート端子G
に入力される。テスト専用端子TESTに印加された信
号がLレベルの場合には、入力バッファ7にLレベルが
入力される。テスト専用端子TESTに何も接続されな
い,或いはHレベルが印加されている場合には、プルア
ップ抵抗によってHレベルが入力バッファ7に入力され
る。
FIG. 2 is a block diagram of a first embodiment of the present invention. In the figure, 1 indicates a latch, and 7 indicates an input buffer with a pull-up resistor. The latch 1 and the input buffer 7 exist in the integrated circuit. A signal from a test dedicated terminal TEST of the integrated circuit is input to an input buffer 7, and an output of the input buffer 7 is a gate terminal G of the latch 1.
Is input to When the signal applied to the test dedicated terminal TEST is at L level, L level is input to the input buffer 7. When nothing is connected to the test dedicated terminal TEST, or when the H level is applied, the H level is input to the input buffer 7 by the pull-up resistor.

【0015】ラッチ1のデータ入力端子には、集積回路
のアドレス端子からのデータが入力される。ラッチ1の
ゲート端子Gの信号がLレベル(低レベル)の場合に
は、ラッチ1の入力データはそのまま出力端子Q0…Q
nから出力される。ラッチ1のゲート端子Gの信号がH
レベルになると、その時点の出力データが維持され、入
力データが変化しても出力データは変化しない。ラッチ
1の出力がテストA,…,テストnとなり、各テスト信
号は対応する機能ブロックに送られる。
The data input terminal of the latch 1 receives data from an address terminal of the integrated circuit. When the signal of the gate terminal G of the latch 1 is at L level (low level), the input data of the latch 1 is output as it is to the output terminals Q0.
n. The signal at the gate terminal G of the latch 1 is H
At the level, the output data at that time is maintained, and the output data does not change even if the input data changes. The output of the latch 1 becomes test A,..., Test n, and each test signal is sent to the corresponding function block.

【0016】図2動作について説明する。通常動作時
は、テスト専用端子TESTに何も接続されないか, 或
いはHレベルが印加される。この状態の下においては、
プルアップ抵抗付き入力バッファ7の出力はHレベルに
なり、テスト専用回路のラッチ1のゲート端子GにHレ
ベルが印加され、テスト専用端子のラッチ1の出力Q0
…Qnの信号はLレベルとなる。なお、通常動作時にな
る直前に、ラッチ1の内容はクリアされる。
The operation of FIG. 2 will be described. During normal operation, nothing is connected to the test dedicated terminal TEST, or H level is applied. Under this condition,
The output of the input buffer 7 with the pull-up resistor becomes H level, the H level is applied to the gate terminal G of the latch 1 of the test dedicated circuit, and the output Q0 of the latch 1 of the test dedicated terminal is applied.
... The signal of Qn is at L level. Immediately before the normal operation, the contents of the latch 1 are cleared.

【0017】テスト・モード時にはテスト専用端子TE
STにLレベルが印加される。テスト専用端子TEST
にLレベルが印加されると、プルアップ抵抗付き入力バ
ッファ7の出力はLレベルになり、テスト専用回路のラ
ッチ1のゲート端子GにLレベルが印加されることで、
テスト専用回路のラッチ1にアドレス端子からのテスト
・モード選択信号A0…Anの値がセットされる。テス
ト専用回路のラッチ1にA0…Anの値がセットされる
と、テスト専用端子TESTに印加していたLレベルを
解除するためにテスト専用端子TESTに何も接続しな
いようにするか,あるいはHレベルを印加する。
In the test mode, the dedicated test terminal TE
L level is applied to ST. Test dedicated terminal TEST
When the L level is applied, the output of the input buffer 7 with the pull-up resistor goes to the L level, and the L level is applied to the gate terminal G of the latch 1 of the test dedicated circuit.
The values of the test mode selection signals A0 to An from the address terminals are set in the latch 1 of the test dedicated circuit. When the value of A0... An is set in the latch 1 of the test dedicated circuit, nothing is connected to the test dedicated terminal TEST to release the L level applied to the test dedicated terminal TEST, or H Apply level.

【0018】図2によれば、テスト・モード選択信号A
0…Anの入力値に応じて、各種のテスト・モードを設
定することが可能であり、且つテスト・モード中におい
て、常にテスト専用端子TESTにテスト・モード信号
を印加し続ける必要がなくなる。また、テスト・モード
を維持しながら、通常動作モードをも動作可能にするこ
とで他機能に影響を与えずに、テストしたい機能のみを
選択し、集積回路をテストすることが可能になる。
According to FIG . 2 , the test mode selection signal A
Various test modes can be set in accordance with the input values of 0... An, and it is not necessary to constantly apply the test mode signal to the test dedicated terminal TEST during the test mode. Further, by enabling the normal operation mode while maintaining the test mode, it is possible to select only the function to be tested and to test the integrated circuit without affecting other functions.

【0019】上述の説明では、テスト専用端子TEST
にLレベルが印加されたときにテスト・モードになると
しているが、テスト専用端子TESTにHレベルが印加
されたときにテスト・モードになるようにしても良い。
テスト専用端子TESTにHレベルが印加されたときに
テスト・モードするには、プルアップ機能付き入力バッ
ファ7を,プルダウン抵抗付きのインバータ機能を持つ
入力バッファにすれば良い。また、上述の説明では、ラ
ッチ1のデータ入力端子に集積回路のアドレス端子のデ
ータが入力されているが、集積回路の他の入力端子のデ
ータをラッチ1のデータ入力端子に入力するようにして
も良い。
In the above description, the test-only terminal TEST
Is set to the test mode when an L level is applied thereto, but the test mode may be set when an H level is applied to the test dedicated terminal TEST.
In order to perform the test mode when the H level is applied to the test dedicated terminal TEST, the input buffer 7 with a pull-up function may be replaced with an input buffer having an inverter function with a pull-down resistor. In the above description, the data of the address terminal of the integrated circuit is input to the data input terminal of the latch 1. However, the data of the other input terminal of the integrated circuit is input to the data input terminal of the latch 1. Is also good.

【0020】図3は本発明の第2実施例のブロック図で
ある。同図において、1はラッチ、2はデコーダ回路、
7はプルアップ抵抗付き入力バッファ7をそれぞれ示
す。ラッチ1の出力Q0…Qnは、デコーダ回路2に入
力される。デコーダ回路2は、X0…Xmの出力を有し
ている。但し、mは2n+1 −1である。ラッチ1の出力
Q0…Qnが例えばオール0の場合にはデコーダ回路2
の出力X0のみがオンし、ラッチ1の出力Q0…Qnが
例えばオール1の場合にはデコーダ回路2の出力Xmの
みがオンする。デコーダ回路2の出力X0…Xmがテス
トA…テストmとなり、各テスト信号は対応する機能ブ
ロックに送られる。なお、実際には、デコーダ回路2の
出力X0は使用しない。
FIG. 3 is a block diagram of a second embodiment of the present invention. In the figure, 1 is a latch, 2 is a decoder circuit,
Reference numeral 7 denotes an input buffer 7 with a pull-up resistor. The outputs Q0 to Qn of the latch 1 are input to the decoder circuit 2. The decoder circuit 2 has outputs of X0... Xm. However, m is 2n + 1 -1. If the outputs Q0... Qn of the latch 1 are all 0, for example, the decoder circuit 2
, Qn of the latch 1 are all 1, for example, only the output Xm of the decoder circuit 2 is turned on. The outputs X0... Xm of the decoder circuit 2 become the test A... Test m, and each test signal is sent to the corresponding functional block. Actually, the output X0 of the decoder circuit 2 is not used.

【0021】図3のものは、図2のものが持つ効果に加
え、テスト専用回路のラッチ1の値をデコーダ回路2に
入力することで、n+1ビットのテスト・モード選択信
号A0…Anを使用して、2n+1 −1個のテスト・モー
ドの中の任意の1個を設定することが出来ると言う効果
を有している。
3 uses the test mode selection signals A0... An of n + 1 bits by inputting the value of the latch 1 of the test-only circuit to the decoder circuit 2 in addition to the effects of FIG. Thus, there is an effect that any one of the 2n + 1-1 test modes can be set.

【0022】図4は本発明の第3実施例のブロック図で
ある。同図において、1aは通常動作用のラッチ、1b
はテスト専用回路のラッチ、3はORゲート、7はプル
アップ抵抗付き入力バッファをそれぞれ示している。通
常動作用のラッチ1aのデータ入力端子には、集積回路
のアドレス端子からの信号A0…Anが印加される。ラ
ッチ1aのゲート端子GAには、集積回路の外部端子O
Tからの信号が印加される。ラッチ1aのゲート端子G
Aの信号がLレべルのときは、信号A0…Anがそのま
ま出力され、ゲート端子GAの信号がHレベルになる
と、その時点の出力が維持される。ラッチ1aの出力N
Q0…NQnからの信号が信号A…信号nになり、各信
号は対応する機能ブロックに送られる。例えば、信号A
がオンになると、対応する機能ブロックAは動作状態に
なる(活性化される)。
FIG. 4 is a block diagram of a third embodiment of the present invention. In the figure, 1a is a latch for normal operation, 1b
Denotes a latch of a dedicated test circuit, 3 denotes an OR gate, and 7 denotes an input buffer with a pull-up resistor. Signals A0... An from the address terminals of the integrated circuit are applied to the data input terminals of the latch 1a for normal operation. The external terminal O of the integrated circuit is connected to the gate terminal GA of the latch 1a.
A signal from T is applied. Gate terminal G of latch 1a
When the signal A is at the L level, the signals A0 to An are output as they are, and when the signal at the gate terminal GA goes to the H level, the output at that time is maintained. Output N of latch 1a
The signals from Q0... NQn become signals A... Signal n, and each signal is sent to the corresponding functional block. For example, signal A
Is turned on, the corresponding functional block A enters an operating state (is activated).

【0023】テスト専用回路のラッチ1bのデータ入力
端子には集積回路のアドレス端子からの信号A0…An
が印加され、ラッチ1bの各出力はテスト信号として対
応する機能ブロックに送られる。ORゲート3の入力C
1には外部端子OTからの信号が印加され、ORゲート
3の入力C2には入力バッファ7の出力が印加される。
ORゲート3の出力は、テスト専用回路のラッチ1bの
ゲート端子GBに印加される。
The signals A0... An from the address terminals of the integrated circuit are applied to the data input terminals of the latch 1b of the test dedicated circuit.
Is applied, and each output of the latch 1b is sent to the corresponding function block as a test signal. OR gate 3 input C
A signal from the external terminal OT is applied to 1, and an output of the input buffer 7 is applied to an input C 2 of the OR gate 3.
The output of the OR gate 3 is applied to the gate terminal GB of the latch 1b of the dedicated test circuit.

【0024】図4の動作について説明する。通常動作時
は、テスト専用端子TESTはオープンにされるか,或
いはHレベルが印加される。通常動作時は、プルアップ
抵抗付き入力バッファ7の出力はHレベルとなり、OR
ゲート3の入力C2にHレベルが印加され、ORゲート
3の出力からHレベルが出力されるため、ORゲート3
の出力は外部端子OTの影響を受けない。テスト専用回
路であるラッチ1のゲート端子GBにはHレベルが印加
され、テスト専用回路のラッチ1bの出力TQ0…TQ
nの信号はLレベルになる。また、通常動作用のラッチ
1aには、外部端子OTに依存して、アドレス端子から
のテスト・モード選択信号A0…Anの値がセットされ
る。
The operation of FIG . 4 will be described. During a normal operation, the test dedicated terminal TEST is opened or an H level is applied. During normal operation, the output of the input buffer 7 with a pull-up resistor is at H level,
Since the H level is applied to the input C2 of the gate 3 and the H level is output from the output of the OR gate 3, the OR gate 3
Are not affected by the external terminal OT. An H level is applied to the gate terminal GB of the latch 1 which is a dedicated test circuit, and the outputs TQ0.
The signal of n becomes L level. Further, the values of the test mode selection signals A0... An from the address terminals are set in the normal operation latch 1a depending on the external terminal OT.

【0025】テスト・モード時には、テスト専用端子T
ESTにLレベルが印加される。テスト専用端子TES
TにLレベルが印加されると、プルアップ抵抗付き入力
バッファ7の出力はLレベルになり、ORゲート3の入
力C2にLレベルが印加される。ORゲート3の入力C
2がLレベルの状態の下では、ORゲート3の出力は外
部端子OTに依存するため、通常動作用のラッチ1aと
テスト専用回路のラッチ1bの動作は全く同じになる。
ORゲート3の入力C2がLレベルの状態の下で外部端
子OTがLレベルになると、通常動作用のラッチ1aの
ゲート端子GAにLレベルが印加されると同時にテスト
専用回路のラッチ1bのゲート端子GBにLレベルが印
加され、アドレス端子からの信号A0…Anの値がラッ
チ1aとラッチ1bにセットされる。
In the test mode, the dedicated test terminal T
L level is applied to EST. Test dedicated terminal TES
When the L level is applied to T, the output of the input buffer 7 with the pull-up resistor goes to the L level, and the L level is applied to the input C2 of the OR gate 3. OR gate 3 input C
When 2 is at the L level, the output of the OR gate 3 depends on the external terminal OT, so that the operation of the latch 1a for normal operation and the operation of the latch 1b of the dedicated test circuit are exactly the same.
When the external terminal OT goes low when the input C2 of the OR gate 3 is low, the low level is applied to the gate terminal GA of the latch 1a for normal operation, and at the same time, the gate of the latch 1b of the test-only circuit is opened. An L level is applied to the terminal GB, and the values of the signals A0 to An from the address terminals are set in the latches 1a and 1b.

【0026】テスト専用回路のラッチ1bにA0…An
の値がセットされると、テスト専用端子TESTに印加
していたLレベルを解除するために、テスト専用端子T
ESTに何も接続しないようにするか,或いはHレベル
を印加しておく。
A0... An are stored in the latch 1b of the dedicated test circuit.
Is set to release the L level applied to the test dedicated terminal TEST, the test dedicated terminal TEST is released.
Either nothing is connected to EST or H level is applied.

【0027】従来技術では、集積回路内のある機能ブロ
ックのテストを行う場合、通常動作によってテスト対象
の機能ブロックを動作させるようにセットした後に,テ
スト・モードに切り換えてからテスト対象の機能ブロッ
クをテストすると言う2回の設定が必要であった。本発
明の第3実施例では、集積回路のテスト対象の機能ブロ
ックを動作状態にすると同時に、テスト対象の機能ブロ
ックをテスト可能にしているので、テスト対象の機能ブ
ロックを1回の設定でテストすることが出来る。
In the prior art, when a certain functional block in an integrated circuit is tested, the function block to be tested is set to operate in a normal operation, and then the test mode is switched to the test mode. It required two settings to test. In the third embodiment of the present invention, since the function block to be tested of the integrated circuit is set to the operating state and the function block to be tested can be tested at the same time, the function block to be tested is tested with one setting. I can do it.

【0028】図5は本発明の第4実施例のブロック図で
ある。同図において、1aは通常動作用のラッチ、1b
はテスト専用回路のラッチ、2aは通常動作用のデコー
ダ回路、2bはテスト専用回路のデコーダ回路、3はO
Rゲート、7はプルアップ抵抗付き入力バッファをそれ
ぞれ示している。通常動作用のラッチ1aの出力NQ0
…NQnは、通常動作用のデコーダ回路2aに送られ
る。デコーダ回路2aは、出力NX0…NXmを有して
おり、入力データの値によって定まる出力がオンする。
デコーダ回路2aの出力NX0…NXmのそれぞれは、
対応する機能ブロックに送られる。
FIG. 5 is a block diagram of a fourth embodiment of the present invention. In the figure, 1a is a latch for normal operation, 1b
Is a latch for a test-only circuit, 2a is a decoder circuit for normal operation, 2b is a decoder circuit for a test-only circuit, 3 is O
R gate 7 indicates an input buffer with a pull-up resistor. Output NQ0 of latch 1a for normal operation
.., NQn are sent to the decoder circuit 2a for normal operation. The decoder circuit 2a has outputs NX0 to NXm, and an output determined by the value of the input data is turned on.
Each of the outputs NX0 to NXm of the decoder circuit 2a is
It is sent to the corresponding function block.

【0029】テスト専用回路のラッチ1bの出力TQ0
…TQnは、テスト専用回路のデコーダ回路2bに送ら
れる。デコーダ回路2bは、出力TX0…TXmを有し
ており、入力データの値によって定まる出力がオンす
る。デコーダ回路2bの出力TX0…TXmのそれぞれ
は、テスト信号として対応する機能ブロックのテスト端
子に送られる。なお、実際には、デコーダ回路2aの出
力NX0とデコーダ回路2bの出力TX0は使用されな
い。
Output TQ0 of Latch 1b of Test Only Circuit
.., TQn are sent to the decoder circuit 2b, which is a dedicated test circuit. The decoder circuit 2b has outputs TX0 to TXm, and an output determined by the value of the input data is turned on. Each of the outputs TX0 to TXm of the decoder circuit 2b is sent as a test signal to a test terminal of a corresponding functional block. Actually, the output NX0 of the decoder circuit 2a and the output TX0 of the decoder circuit 2b are not used.

【0030】図5の動作は図4の動作と似ているので、
相違する点についてのみ説明する。通常動作用のラッチ
1aの出力NQ0…NQnは通常動作用のデコーダ回路
2aに入力され、テスト専用回路のラッチ1bの出力T
Q0…TQnはテスト専用デコーダ回路2bに入力さ
れ、通常動作用のデコーダ回路2aの出力NX0…NX
mが生成されて各機能ブロックに送られ、テスト専用回
路のデコーダ回路2bの出力TX0…TXmも生成され
て、各機能ブロックのテスト端子に送られる。デコーダ
回路2aの出力NXi(iは0,1,…,m)がオンの
ときには、デコーダ回路2bの出力TXiもオンであ
る。
The operation of FIG. 5 is similar to the operation of FIG.
Only the differences will be described. The outputs NQ0 to NQn of the latch 1a for normal operation are input to the decoder circuit 2a for normal operation, and the output TQ of the latch 1b of the test-only circuit is output.
Q0... TQn are input to a test-dedicated decoder circuit 2b, and outputs NX0.
m is generated and sent to each functional block, and the outputs TX0... TXm of the decoder circuit 2b of the test dedicated circuit are also generated and sent to the test terminals of each functional block. When the output NXi (i is 0, 1,..., M) of the decoder circuit 2a is on, the output TXi of the decoder circuit 2b is also on.

【0031】図5のものは、図4に記載のものが持つ効
果に加えて、n+1ビットのテスト・モード選択信号A
0…Anを使用して、2n+1 −1種類のテスト・モード
を得ることが出来ると言う効果を有している。
FIG . 5 shows a test mode selection signal A of n + 1 bits in addition to the effects of FIG.
By using 0... An, there is an effect that 2n + 1 -1 kinds of test modes can be obtained.

【0032】図6は請求項1の発明に係わる第5実施例
のブロック図である。同図において、1aは通常動作用
のラッチ、1bはテスト専用回路のラッチ、2aは通常
動作用のデコーダ回路、2bはテスト専用回路のデコー
ダ回路、5はインバータ、7はプルアップ抵抗付き入力
バッファをそれぞれ示している。
FIG. 6 is a block diagram of a fifth embodiment according to the first aspect of the present invention . In the figure, 1a is a latch for a normal operation, 1b is a latch for a test-only circuit, 2a is a decoder circuit for a normal operation, 2b is a decoder circuit for a test-only circuit, 5 is an inverter, 7 is an input buffer with a pull-up resistor. Are respectively shown.

【0033】集積回路のアドレス端子からの信号A0…
Anは通常動作用のラッチ1aのデータ入力端子に印加
され、集積回路の外部端子OTからの信号はラッチ1a
のゲート端子GAに印加される。ラッチ1aの出力NQ
0…NQnは通常動作用のデコーダ回路2aのデータ入
力端子に印加される。デコーダ回路2aの出力NX0…
NXmのそれぞれは対応する機能ブロックに送られる。
Signals A0... From address terminals of the integrated circuit
An is applied to the data input terminal of the latch 1a for normal operation, and the signal from the external terminal OT of the integrated circuit is applied to the latch 1a.
Is applied to the gate terminal GA. Output NQ of latch 1a
.. NQn are applied to the data input terminals of the decoder circuit 2a for normal operation. The outputs NX0 of the decoder circuit 2a ...
Each of the NXm is sent to the corresponding function block.

【0034】プルアップ付き入力バッファ7の出力は、
テスト専用回路のラッチ1bのゲート端子GBに印加さ
れると共に、インバータ5の入力に印加される。ラッチ
1bのデータ入力端子には、集積回路のアドレス端子か
らの信号A0…Anが印加される。ラッチ1bの出力T
Q0…TQnは、テスト専用回路のデコーダ回路2bの
データ入力端子に送られる。インバータ回路5の出力
は、デコーダ回路2bのゲート端子GCに印加される。
The output of the input buffer 7 with pull-up is
The voltage is applied to the gate terminal GB of the latch 1 b of the test dedicated circuit and to the input of the inverter 5. The signals A0... An from the address terminals of the integrated circuit are applied to the data input terminals of the latch 1b. Output T of latch 1b
Q0... TQn are sent to the data input terminals of the decoder circuit 2b of the dedicated test circuit. The output of the inverter circuit 5 is applied to the gate terminal GC of the decoder circuit 2b.

【0035】デコーダ回路2bは、ゲート端子GCにL
レベルが印加されると、イネーブル状態になり、イネー
ブル状態の下では入力データTQ0…TQnの値に応じ
て複数の出力信号線の内の1個をオンする。ゲート端子
GCに高レベルが印加されている場合は、デコーダ回路
2bは非イネーブル状態になる。非イネーブル状態の下
では、デコーダ回路2bは、所定の値(例えば、出力T
X0のみがオンで,他の出力TX1…TXmがオール
0)を出力する。デコーダ回路2bの出力TX0…TX
mのそれぞれは、対応する機能ブロックのテスト端子に
送られる。なお、実際には、デコーダ回路2aの出力N
X0とデコーダ回路2bの出力TX0は使用されない。
The decoder circuit 2b has the gate terminal GC
When the level is applied, the enable state is established. Under the enable state, one of the plurality of output signal lines is turned on in accordance with the value of the input data TQ0 to TQn. When a high level is applied to the gate terminal GC, the decoder circuit 2b enters the non-enabled state. Under the non-enable state, the decoder circuit 2b outputs a predetermined value (for example, the output T
Only X0 is on and the other outputs TX1... TXm output all 0). TX0... TX of the decoder circuit 2b
Each of m is sent to the test terminal of the corresponding functional block. Note that the output N of the decoder circuit 2a is actually
X0 and the output TX0 of the decoder circuit 2b are not used.

【0036】第5実施例の動作について説明する。通常
動作時は、テスト専用端子TESTに何も接続されない
か,或いは高レベルが印加される。通常動作時は、プル
アップ抵抗付き入力バッファ7の出力はHレベルとな
り、インバータ回路5の入力端子とラッチ1bのゲート
端子GBにHレベルが印加される。これにより、ラッチ
1bの出力TQ0…TQnの信号はLレベルとなり、イ
ンバータ回路5の出力端子にはLレベルが出力されるた
め、デコーダ回路2bの出力TX0(テストA)がオン
する。通常動作時は、ラッチ1bにはオール0が記憶さ
れている。ここで、アドレスA0…An=0……0を集
積回路内部の機能として使用しないようにし、デコーダ
回路2aの出力NX0(信号A)は未使用端子とする。
The operation of the fifth embodiment will be described. During normal operation, nothing is connected to the test dedicated terminal TEST, or a high level is applied. During normal operation, the output of the input buffer 7 with the pull-up resistor is at the H level, and the H level is applied to the input terminal of the inverter circuit 5 and the gate terminal GB of the latch 1b. Thereby, the signals of the outputs TQ0 to TQn of the latch 1b become L level, and the L level is output to the output terminal of the inverter circuit 5, so that the output TX0 (test A) of the decoder circuit 2b is turned on. During normal operation, all 0s are stored in the latch 1b. Here, the address A0... An = 0... 0 is not used as a function inside the integrated circuit, and the output NX0 (signal A) of the decoder circuit 2a is an unused terminal.

【0037】テスト・モード時には、テスト専用端子T
ESTにLレベルが印加される。テスト専用端子TES
TにLレベルが印加されると、プルアップ抵抗付き入力
バッファ7の出力はLレベルになり、テスト専用回路の
ラッチ1bのゲート端子GBにLレベルが印加され、ラ
ッチ1bにアドレス端子からのA0…Anの値がセット
される。また、テスト専用端子TESTをLレベルにす
ると同時に外部端子OTをLレベルにし、ラッチ1bに
セットされた値と同じ値をラッチ1aにセットする。
In the test mode, the dedicated test terminal T
L level is applied to EST. Test dedicated terminal TES
When an L level is applied to T, the output of the input buffer 7 with a pull-up resistor goes to an L level, an L level is applied to the gate terminal GB of the latch 1b of the test dedicated circuit, and A0 from the address terminal is applied to the latch 1b. ... The value of An is set. Further, the external terminal OT is set to the L level at the same time when the test dedicated terminal TEST is set to the L level, and the same value as the value set in the latch 1b is set in the latch 1a.

【0038】通常動作用のラッチ1aの出力NQ0…N
Qnの信号は通常動作用のデコーダ回路2aに入力さ
れ、通常動作用のデコーダ回路2aの出力NX0…NX
mが生成されて各機能ブロックに送られた後に、テスト
専用端子TESTをオープンにするか,或いはテスト専
用端子TESTにHレベルを印加する。
Outputs NQ0... N of latches 1a for normal operation
The signal of Qn is input to the decoder circuit 2a for normal operation, and the outputs NX0 ... NX of the decoder circuit 2a for normal operation
After m is generated and sent to each functional block, the test dedicated terminal TEST is opened or the H level is applied to the test dedicated terminal TEST.

【0039】テスト専用端子をオープンにするか,或い
はテスト専用端子に高レベルを印加すると、インバータ
5の出力はLレベルになり、テスト専用回路のデコーダ
回路2bはイネーブル状態になる。デコーダ回路2bが
イネーブル状態になると、ラッチ1bの出力TQ0…T
Qnの値によって定まるデコーダ回路2bの出力TXi
のみがオンとなり、デコーダ回路2bの他の出力はオフ
となる。例えば、デコーダ回路2bの出力TX1がオン
のときはデコーダ回路2aの出力NX1もオンし、機能
ブロックBが活性化されると共に、機能ブロックBのデ
ータを集積回路の外部に引き出すことが出来るようにな
る。
When the dedicated test terminal is opened or a high level is applied to the dedicated test terminal, the output of the inverter 5 goes low, and the decoder circuit 2b of the dedicated test circuit is enabled. When the decoder circuit 2b is enabled, the outputs TQ0.
Output TXi of decoder circuit 2b determined by the value of Qn
ON only, and the other outputs of the decoder circuit 2b are OFF. For example, when the output TX1 of the decoder circuit 2b is on, the output NX1 of the decoder circuit 2a is also on, so that the functional block B is activated and the data of the functional block B can be extracted to the outside of the integrated circuit. Become.

【0040】従来技術では、集積回路の或る機能ブロッ
クをテストする場合、通常動作によって当該機能ブロッ
クを活性化させた後に,テスト・モードに切り換えて当
該機能ブロックをテストすると言う2回の設定が必要で
あった。本発明の第5実施例によれば、テスト対象の機
能ブロックを活性化すると同時に、テスト対象の機能ブ
ロックをテスト可能にしているので、テスト対象の機能
ブロックを1回の設定でテストすることが出来る。
In the prior art, when a certain functional block of an integrated circuit is tested, it is necessary to activate the function block by a normal operation and then switch to a test mode to test the function block. Was needed. According to the fifth embodiment of the present invention, since the function block to be tested is activated and the function block to be tested can be tested at the same time, the function block to be tested can be tested with one setting. I can do it.

【0041】また、第5実施例によれば、テスト専用回
路ラッチ1bの出力TQ0…TQnを使用して、2n+1
−1種類のテスト・モードを得ることが出来る。さら
に、テスト・モードを維持しながら、通常動作モードも
動作可能にすることで他機能に影響を与えずに、テスト
したい機能のみを選択し、集積回路をテストすることが
出来る。
According to the fifth embodiment, the output TQ0... TQn of the test-only circuit latch 1b is used to obtain 2n + 1
-1 kinds of test modes can be obtained. Further, by enabling the normal operation mode while maintaining the test mode, it is possible to select only the function to be tested and to test the integrated circuit without affecting other functions.

【0042】図7は請求項2の発明に係わる第6実施例
のブロック図である。同図において、1aは通常動作用
のラッチ、1bはテスト専用回路のラッチ、2aは通常
動作用のデコーダ回路、2bはテスト専用回路のデコー
ダ回路、3はORゲート、5はインバータ、7はプルア
ップ抵抗付き入力バッファをそれぞれ示している。
FIG. 7 is a block diagram of a sixth embodiment according to the second aspect of the present invention . In the figure, 1a is a latch for a normal operation, 1b is a latch for a test-only circuit, 2a is a decoder circuit for a normal operation, 2b is a decoder circuit for a test-only circuit, 3 is an OR gate, 5 is an inverter, and 7 is a pull. The input buffer with an up resistor is shown.

【0043】集積回路のアドレス端子からの信号A0…
Anは、通常動作用のラッチ1aのデータ入力端子に印
加されると共に、テスト専用回路のラッチ1bのデータ
入力端子に印加される。集積回路の外部端子OTからの
信号は、ラッチ1aのゲート端子GAに印加されると共
に、ORゲート3の入力C1に印加される。ラッチ1a
の出力NQ0…NQnは、通常動作用のデコーダ回路2
aのデータ入力端子に送られる。デコーダ回路2aの出
力NX0…NXmのそれぞれは、対応する機能ブロック
に送られる。
Signals A0... From address terminals of the integrated circuit
An is applied to the data input terminal of the latch 1a for normal operation and to the data input terminal of the latch 1b of the test-only circuit. The signal from the external terminal OT of the integrated circuit is applied to the gate terminal GA of the latch 1a and to the input C1 of the OR gate 3. Latch 1a
NQ0 through NQn of the decoder circuits 2 for normal operation
a is sent to the data input terminal. Each of the outputs NX0 to NXm of the decoder circuit 2a is sent to a corresponding function block.

【0044】プルアップ抵抗付き入力バッファ7の出力
は、ORゲート3の入力C2に印加されると共に、イン
バータ5の入力にも印加される。ORゲート3の出力
は、テスト専用回路のラッチ1bのゲート端子GBに印
加される。インバータ5の出力は、テスト専用回路のデ
コーダ回路2bのゲート端子GCに印加される。
The output of the input buffer 7 with a pull-up resistor is applied to the input C2 of the OR gate 3 and also to the input of the inverter 5. The output of the OR gate 3 is applied to the gate terminal GB of the latch 1b of the dedicated test circuit. The output of the inverter 5 is applied to the gate terminal GC of the decoder circuit 2b of the test-only circuit.

【0045】ラッチ1bの出力TQ0…TQnはデコー
ダ回路2bのデータ入力端子に送られる。デコーダ回路
2bはゲート端子GCにLレベルが印加されているとき
にイネーブル状態になり、イネーブル状態の下では入力
データTQ0…TQnの値に応じた出力TX0…TXm
を出力する。デコーダ回路2bの出力TX0…TXmの
それぞれは、対応する機能ブロックのテスト端子に送ら
れる。
The outputs TQ0... TQn of the latch 1b are sent to the data input terminal of the decoder circuit 2b. The decoder circuit 2b is enabled when an L level is applied to the gate terminal GC. Under the enabled state, the output circuits TX0... TXm corresponding to the values of the input data TQ0.
Is output. Each of the outputs TX0 to TXm of the decoder circuit 2b is sent to a test terminal of a corresponding functional block.

【0046】第6実施例の動作について説明する。通常
動作時は、テスト専用端子TESTがオープンされる
か,或いはテスト専用端子TESTにHレベルが印加さ
れる。通常動作時は、プルアップ抵抗付き入力バッファ
7の出力はHレベルとなり、ORゲート3の入力C2に
Hレベルが印加され、ORゲート3はHレベルを出力
し、ORゲート3の出力は外部端子OTの影響を受けな
い。ORゲート3の出力がHレベルになると、テスト専
用回路のラッチ1bのゲート端子GBにはHレベルが印
加され、ラッチ1bの出力TQ0…TQnの信号はLレ
ベルとなる。なお、通常動作になる直前に、ラッチ1b
はクリアされる。
The operation of the sixth embodiment will be described. At the time of normal operation, the test dedicated terminal TEST is opened, or the H level is applied to the test dedicated terminal TEST. During normal operation, the output of the input buffer 7 with the pull-up resistor is at H level, H level is applied to the input C2 of the OR gate 3, the OR gate 3 outputs H level, and the output of the OR gate 3 is an external terminal. Not affected by OT. When the output of the OR gate 3 goes high, the high level is applied to the gate terminal GB of the latch 1b of the test-only circuit, and the signals of the outputs TQ0 to TQn of the latch 1b go low. Immediately before the normal operation, the latch 1b
Is cleared.

【0047】通常動作用のラッチ1aには、外部端子O
Tに依存して、集積回路のアドレス端子からの信号A0
…Anがセットされる。通常動作時は、インバータ5の
入力端子にHレベルが印加され、インバータ5の出力は
Lレベルになる。インバータ5がLレベルを出力する
と、テスト専用回路のデコーダ回路2bはイネーブル状
態になり、デコーダ回路2bは当該時点の入力データ
(オール0)対応して出力TX0のみをオンする。ここ
で、アドレスA0…An=0……0は集積回路内部の機
能として使用しないようにし、通常動作用のデコーダ回
路2aの出力NX0は未使用端子とする。
An external terminal O is connected to the latch 1a for normal operation.
Depending on T, the signal A0 from the address terminal of the integrated circuit
... An is set. During normal operation, the H level is applied to the input terminal of the inverter 5, and the output of the inverter 5 goes to the L level. When the inverter 5 outputs the L level, the decoder circuit 2b of the test-only circuit is enabled, and the decoder circuit 2b turns on only the output TX0 corresponding to the input data (all 0s) at the time. Here, the addresses A0... An = 0... 0 are not used as functions inside the integrated circuit, and the output NX0 of the decoder circuit 2a for normal operation is an unused terminal.

【0048】テスト・モード時には、テスト専用端子T
ESTにLレベルが印加される。テスト専用端子TES
TにLレベルが印加されると、プルアップ抵抗付き入力
バッファ7からはLレベルが出力されると共に、ORゲ
ート3の入力C2にLレベルが印加され、ORゲート3
の出力は外部端子OTに依存するため、通常動作用のラ
ッチ1aとテスト専用回路1bの動作は全く同じにな
る。
In the test mode, the dedicated test terminal T
L level is applied to EST. Test dedicated terminal TES
When the L level is applied to T, the L level is output from the input buffer 7 with the pull-up resistor, and the L level is applied to the input C2 of the OR gate 3 to cause the OR gate 3
Is dependent on the external terminal OT, the operation of the latch 1a for normal operation and the operation of the test-only circuit 1b are exactly the same.

【0049】入力バッファ7の出力がLレベルの状態の
下で外部端子OTがLレベルになると、通常動作用のラ
ッチ1aのゲート端子GAとテスト専用回路のラッチ1
bのゲート端子GBにLレベルが印加される。ゲート端
子GAとゲート端子GBにLレベルが印加されると、ア
ドレス端子からの信号A0…Anの値がラッチ1aとラ
ッチ1bにセットされ、ラッチ1aの出力NQ0…NQ
nの信号がデコーダ回路2aに入力され、ラッチ1bの
出力TQ0…TQnの信号がデコーダ回路2bに入力さ
れると共に、通常動作用のデコーダ回路2aの出力NX
0…NXmが生成され、各機能ブロックに送られる。各
機能ブロックに活性化のための信号を送った後に、テス
ト専用端子TESTにHレベルを印加するか,或いは何
も接続しないようにする。
When the external terminal OT goes low when the output of the input buffer 7 is low, the gate terminal GA of the latch 1a for normal operation and the latch 1
The L level is applied to the gate terminal GB of b. When the L level is applied to the gate terminal GA and the gate terminal GB, the values of the signals A0... An from the address terminals are set in the latches 1a and 1b, and the outputs NQ0.
n is input to the decoder circuit 2a, the output TQ0... TQn signal of the latch 1b is input to the decoder circuit 2b, and the output NX of the normal operation decoder circuit 2a is output.
NXm are generated and sent to each functional block. After sending a signal for activation to each functional block, an H level is applied to the test dedicated terminal TEST or nothing is connected.

【0050】テスト専用端子TESTにHレベルを印加
するか或いは何も接続しないようにすると、インバータ
5の出力はLレベルになり、テスト専用回路のデコーダ
回路2bのゲート端子GCにLレベルが印加され、テス
ト専用回路のラッチ1bの出力TQ0…TQnの信号が
デコーダ回路2bに入力され、デコーダ回路2bの出力
TX0…TXmが生成され、通常動作用のデコーダ回路
2aの出力NX0…NXmと同じ機能ブロックのテスト
端子に印加される。
When the H level is applied to the test dedicated terminal TEST or nothing is connected, the output of the inverter 5 becomes L level, and the L level is applied to the gate terminal GC of the decoder circuit 2b of the test dedicated circuit. , TQn of the latch 1b of the dedicated test circuit are input to the decoder circuit 2b, and the outputs TX0... TXm of the decoder circuit 2b are generated, and the same functional blocks as the outputs NX0. Is applied to the test terminal of

【0051】従来技術においては、集積回路のある機能
ブロックのテストを行うとする場合、通常動作によって
テスト対象の機能ブロックを動作させ、その後でテスト
対象の機能ブロックの状態を外部から見えるようにする
と言う2回の設定が必要であったが、本発明の第6実施
例によれば、1回の設定でテスト対象の機能ブロックを
テストすることが出来る。また、テスト専用回路のラッ
チ1bの出力TQ0…TQnを使用して2n+1 −1種類
のテスト・モードを得ることが出来る。さらに、テスト
・モードを維持しながら通常動作モードをも動作可能に
することで、他機能に影響を与えずに、テストしたい機
能のみを選択し、集積回路をテストすることが出来る。
In the prior art, when a function block of an integrated circuit is to be tested, the function block to be tested is operated by normal operation, and then the state of the function block to be tested is made visible from the outside. Although two settings are required, according to the sixth embodiment of the present invention, the function block to be tested can be tested with one setting. Further, 2n + 1-1 types of test modes can be obtained by using the outputs TQ0 to TQn of the latch 1b of the dedicated test circuit. Furthermore, by enabling the normal operation mode while maintaining the test mode, it is possible to select only the function to be tested and test the integrated circuit without affecting other functions.

【0052】図8はDフリップ・フロップで構成された
ラッチを示す。図2〜図7で使用しているラッチ1,1
a,1bとしては、集積回路の外部入力端子(例えば、
アドレス端子)からの信号A0…Anの値が記憶できる
回路であれば、どのようなものであっても良い。例え
ば、ラッチ1,1a,1bをDフリップ・フロップで構
成した場合の回路構成を図8に示す。図8のDフリップ
・フロップは、信号TESTが立ち下がると、入力デー
タA0…Anを出力し、次の立下がりが来るまで出力デ
ータを保持するものである。図8に示されているシステ
ムリセット信号は外部入力端子から得られる。
FIG. 8 shows a latch composed of D flip-flops. Latches 1, 1 used in FIGS.
a and 1b are external input terminals of the integrated circuit (for example,
Any circuit may be used as long as it can store the values of the signals A0 to An from the address terminals). For example, FIG. 8 shows a circuit configuration when the latches 1, 1a, and 1b are configured by D flip-flops. The D flip-flop in FIG. 8 outputs input data A0 to An when the signal TEST falls, and holds the output data until the next falling. The system reset signal shown in FIG. 8 is obtained from an external input terminal.

【0053】[0053]

【発明の効果】以上の説明から明らかなように、本発明
によれば、 (a) 集積回路の複数のテスト・モードの切換えが簡単に
出来る。 (b) パッケージの大きさを小さく出来ることで、高密度
実装が可能になり、価格が安くなる。 (c) テスト専用端子に常にテスト・モード信号を入力し
続ける必要がない。このため、テストしたい機能以外の
回路に同じテスト専用端子に直接的に接続されている場
合、そのテストしたい以外の回路に影響を及ぼすことな
く、機能テストが行える。 (d) 活性化すべき機能ブロックを示すアドレスと同じア
ドレスをテスト専用回路にラッチするので、1回の設定
で機能ブロックのテストが可能になり、且つテスト・モ
ードを維持しながら、通常動作モードをも可能にするこ
とで他機能に影響を与えずに、テストしたい機能のみを
選択的にテストすることが出来る。 (e) 集積回路が複雑であっても、ブロック毎や機能毎に
テストが可能であり、テストパターン数の減少と共に、
製品テストの時間も大幅に削減できる。等の顕著な効果
を奏することが出来る。
As is apparent from the above description, according to the present invention, it is possible to (a) easily switch between a plurality of test modes of an integrated circuit. (b) Since the size of the package can be reduced, high-density mounting becomes possible, and the price is reduced. (c) There is no need to constantly input the test mode signal to the dedicated test terminal. Therefore, when the circuit other than the function to be tested is directly connected to the same dedicated test terminal, the function test can be performed without affecting the circuit other than the function to be tested. (d) Since the same address as the address indicating the functional block to be activated is latched in the dedicated test circuit, the functional block can be tested with a single setting, and the normal operation mode is maintained while maintaining the test mode. By enabling the function, it is possible to selectively test only the function to be tested without affecting other functions. (e) Even if the integrated circuit is complicated, it is possible to test for each block and each function, and as the number of test patterns decreases,
Product testing time can also be significantly reduced. And other remarkable effects.

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

【図1】本発明の原理説明図である。FIG. 1 is a diagram illustrating the principle of the present invention.

【図2】本発明の第1実施例のブロック図である。FIG. 2 is a block diagram of a first embodiment of the present invention.

【図3】本発明の第2実施例のブロック図である。FIG. 3 is a block diagram of a second embodiment of the present invention.

【図4】本発明の第3実施例のブロック図である。FIG. 4 is a block diagram of a third embodiment of the present invention.

【図5】本発明の第4実施例のブロック図である。FIG. 5 is a block diagram of a fourth embodiment of the present invention.

【図6】本発明の第5実施例のブロック図である。FIG. 6 is a block diagram of a fifth embodiment of the present invention.

【図7】本発明の第6実施例のブロック図である。FIG. 7 is a block diagram of a sixth embodiment of the present invention.

【図8】Dフリップ・フロップで構成されたラッチを示
す図である。
FIG. 8 is a diagram showing a latch constituted by D flip-flops.

【図9】集積回路の構成例を示す図である。FIG. 9 is a diagram illustrating a configuration example of an integrated circuit.

【符号の説明】[Explanation of symbols]

1 テスト専用回路のラッチ 1a 通常動作用のラッチ 1b テスト専用回路のラッチ 2 テスト専用回路のデコーダ回路 2a 通常動作用のデコーダ回路 2b テスト専用回路のデコーダ回路 3 ORゲート 5 インバータ 7 プルアップ抵抗付き入力バッファ REFERENCE SIGNS LIST 1 Latch of dedicated test circuit 1a Latch for normal operation 1b Latch of dedicated test circuit 2 Decoder circuit of dedicated test circuit 2a Decoder circuit for normal operation 2b Decoder circuit of dedicated test circuit 3 OR gate 5 Inverter 7 Input with pull-up resistor buffer

フロントページの続き (56)参考文献 特開 平1−54380(JP,A) 特開 平3−296675(JP,A) 特開 昭59−160778(JP,A) 特開 平6−201794(JP,A) 特開 平2−124483(JP,A) 特開 平4−181186(JP,A) 特開 平6−3424(JP,A) (58)調査した分野(Int.Cl.7,DB名) G01R 31/28 - 31/3185 H01L 21/66 H01L 21/822 Continuation of the front page (56) References JP-A-1-54380 (JP, A) JP-A-3-296675 (JP, A) JP-A-59-160778 (JP, A) JP-A-6-201794 (JP) JP-A-2-124483 (JP, A) JP-A-4-181186 (JP, A) JP-A-6-3424 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB G01R 31/28-31/3185 H01L 21/66 H01L 21/822

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 1本のテスト専用端子と、1本の活性化
用端子と、外部出力端子と、複数の機能ブロックと、複
数のテスト信号を出力するテスト専用回路と、複数の活
性化信号を出力する活性化回路とを備え、 テスト信号がオンの場合は当該テスト信号に対応付けら
れた機能ブロックのデータが外部出力端子から出力さ
れ、活性化信号がオンの場合は当該活性化信号に対応付
けられた機能ブロックが活性化されるようになった集積
回路のテスト・モード設定回路であって、 活性化回路は、活性化用記憶手段と、活性化用記憶手段
の出力をデコードする活性化用デコーダ回路とを有し、
活性化用デコーダ回路の出力が活性化信号とされ、 テスト専用回路は、テスト用記憶手段と、イネーブル状
態であることを条件としてテスト用記憶手段の出力をデ
コードするテスト用デコーダ回路とを有し、 テスト用デコーダ回路の出力がテスト信号とされ、活性
化用端子に活性化指示電圧が印加されると活性化用記憶
手段の入力データが活性化用記憶手段の出力側から出力
され、 活性化用端子に活性化指示電圧が印加されないときは活
性化用記憶手段の出力データが固定され、 テスト専用端子にテスト指示電圧が印加されるとテスト
用記憶手段の入力データがテスト用記憶手段の出力側か
ら出力され、テスト専用端子にテスト指示電圧が印加さ
れないときはテスト用記憶手段の出力データが固定さ
れ、テスト専用端子にテスト指示電圧が印加されないと
きにテスト用デコーダ回路がイネーブル状態になること
を特徴とする集積回路のテスト・モード設定回路
1. A test dedicated terminal, one activation terminal, an external output terminal, a plurality of functional blocks, a test dedicated circuit for outputting a plurality of test signals, and a plurality of activation signals An activation circuit that outputs the data of the functional block associated with the test signal from the external output terminal when the test signal is on, and outputs the data to the activation signal when the activation signal is on. A test mode setting circuit for an integrated circuit in which an associated function block is activated, the activation circuit comprising: an activation storage unit; and an activation unit for decoding an output of the activation storage unit. A decoding circuit for
The output of the activation decoder circuit is used as an activation signal, and the test-only circuit has a test storage circuit and a test decoder circuit for decoding the output of the test storage device on condition that the test storage circuit is enabled. The output of the test decoder circuit is used as a test signal, and when an activation instruction voltage is applied to the activation terminal, the input data of the activation storage means is output from the output side of the activation storage means. When the activation instruction voltage is not applied to the test terminal, the output data of the activation storage means is fixed, and when the test instruction voltage is applied to the test dedicated terminal, the input data of the test storage means is output from the test storage means. When the test instruction voltage is not applied to the dedicated test terminal, the output data of the test storage means is fixed, and the test instruction voltage is applied to the dedicated test terminal. A test mode setting circuit for an integrated circuit, wherein a test decoder circuit is enabled when not applied.
【請求項2】 1本のテスト専用端子と、1本の活性化
用端子と、外部出力端子と、複数の機能ブロックと、複
数のテスト信号を出力するテスト専用回路と、複数の活
性化信号を出力する活性化回路とを備え、 テスト信号がオンの場合は当該テスト信号に対応付けら
れた機能ブロックのデータが外部出力端子から出力さ
れ、活性化信号がオンの場合は当該活性化信号に対応付
けられた機能ブロックが活性化されるようになった集積
回路のテスト・モード設定回路であって、 活性化回路は、活性化用記憶手段と、活性化用記憶手段
の出力をデコードする活性化用デコーダ回路とを有し、
活性化用デコーダ回路の出力が活性化信号とされ、テス
ト専用回路は、テスト用記憶手段と、イネーブル状態で
あることを条件としてテスト用記憶手段の出力をデコー
ドするテスト用デコーダ回路とを有し、 テスト用デコーダ回路の出力がテスト信号とされ、活性
化用端子に活性化指示電圧が印加されると活性化用記憶
手段の入力データが活性化用記憶手段の出力側から出力
され、 活性化用端子に活性化指示電圧が印加されないときは活
性化用記憶手段の出力データが固定され、 テスト専用端子にテスト指示電圧が印加され且つ活性化
用端子に活性化指示電圧が印加されるとテスト用記憶手
段の入力データがテスト用記憶手段の出力側から出力さ
れ、 テスト専用端子にテスト指示電圧が印加されないときは
テスト用記憶手段の出力データが固定され、テスト専用
端子にテスト指示電圧が印加されないときにテスト用デ
コーダ回路がイネーブル状態になることを特徴とする集
積回路のテスト・モード設定回路
2. A dedicated test terminal, a single activation terminal, an external output terminal, a plurality of function blocks, a dedicated test circuit for outputting a plurality of test signals, and a plurality of activation signals An activation circuit that outputs the data of the functional block associated with the test signal from the external output terminal when the test signal is on, and outputs the data to the activation signal when the activation signal is on. A test mode setting circuit for an integrated circuit in which an associated function block is activated, the activation circuit comprising: an activation storage unit; and an activation unit for decoding an output of the activation storage unit. A decoding circuit for
The output of the activating decoder circuit is used as an activating signal, and the dedicated test circuit has a test storing means and a test decoder circuit for decoding the output of the test storing means on condition that it is in an enabled state. The output of the test decoder circuit is used as a test signal, and when an activation instruction voltage is applied to the activation terminal, the input data of the activation storage means is output from the output side of the activation storage means. When the activation instruction voltage is not applied to the test terminal, the output data of the activation storage means is fixed, and when the test instruction voltage is applied to the test dedicated terminal and the activation instruction voltage is applied to the activation terminal, the test is performed. When the test instruction voltage is not applied to the test dedicated terminal, the output data of the test storage means is output from the output side of the test storage means. A test mode setting circuit for an integrated circuit, wherein the test decoder circuit is enabled when a test instruction voltage is not applied to a dedicated test terminal.
JP19755093A 1993-08-09 1993-08-09 Test mode setting circuit for integrated circuits Expired - Fee Related JP3253770B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19755093A JP3253770B2 (en) 1993-08-09 1993-08-09 Test mode setting circuit for integrated circuits

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19755093A JP3253770B2 (en) 1993-08-09 1993-08-09 Test mode setting circuit for integrated circuits

Publications (2)

Publication Number Publication Date
JPH0755896A JPH0755896A (en) 1995-03-03
JP3253770B2 true JP3253770B2 (en) 2002-02-04

Family

ID=16376356

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19755093A Expired - Fee Related JP3253770B2 (en) 1993-08-09 1993-08-09 Test mode setting circuit for integrated circuits

Country Status (1)

Country Link
JP (1) JP3253770B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002222921A (en) * 2001-01-25 2002-08-09 Mitsubishi Electric Corp Semiconductor integrated circuit

Also Published As

Publication number Publication date
JPH0755896A (en) 1995-03-03

Similar Documents

Publication Publication Date Title
US20040008725A1 (en) Method and an interface circuit configurable in two communication protocol modes
EP0377455B1 (en) Test mode switching system for LSI
JP3253770B2 (en) Test mode setting circuit for integrated circuits
KR860007584A (en) Video Converter
JPS62277813A (en) Programmable logic device
JP2957333B2 (en) Unused input line detection method in space switch
JPH10256488A (en) Operation mode setting circuit
KR970076252A (en) Microcomputer
JPH06138191A (en) Semiconductor integrated circuit
KR930004858Y1 (en) Passive component testing circuit of pcb
KR0184154B1 (en) One chip micro-computer unit
JPS6031641A (en) One chip microcomputer
US4310881A (en) Conditional transfer control circuit
KR940020221A (en) Programmable Logic Controller Address Change Device
JPS6315620B2 (en)
JPH05173876A (en) Extended memory board
JP3251265B2 (en) Memory output control circuit
JP2919841B2 (en) Testing method for data processing equipment
JPS6145898B2 (en)
JPS59207743A (en) General purpose logical circuit
JPH0230217A (en) Programmable logic array
JPH02183486A (en) Ram control circuit
JPH04177517A (en) Input/output port
JPS6341090B2 (en)
JPS59186016A (en) Storage circuit

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20011113

LAPS Cancellation because of no payment of annual fees