JPH0210176A - Semiconductor integrated circuit having test terminal - Google Patents
Semiconductor integrated circuit having test terminalInfo
- Publication number
- JPH0210176A JPH0210176A JP63160508A JP16050888A JPH0210176A JP H0210176 A JPH0210176 A JP H0210176A JP 63160508 A JP63160508 A JP 63160508A JP 16050888 A JP16050888 A JP 16050888A JP H0210176 A JPH0210176 A JP H0210176A
- Authority
- JP
- Japan
- Prior art keywords
- flip
- shift register
- outside
- terminal
- output
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Testing Or Measuring Of Semiconductors Or The Like (AREA)
- Semiconductor Integrated Circuits (AREA)
- Design And Manufacture Of Integrated Circuits (AREA)
- Tests Of Electronic Circuits (AREA)
Abstract
Description
【発明の詳細な説明】
[産業上の利用分野]
本発明はケートアレイの故障検出率を高めるため、集積
回路の任意のテストポイントに対し外部からのアクセス
を可能にしたテスl〜端子を持つ半導体集積回路に関す
る。[Detailed Description of the Invention] [Industrial Application Field] In order to increase the fault detection rate of a gate array, the present invention provides a semiconductor device having a test terminal that allows external access to any test point of an integrated circuit. Concerning integrated circuits.
[従来の技術]
従来より、ゲートアレイの故障検出率を向上させるため
、集積回路の外部にデス1〜端子を設けると共に、この
テスト端子からの信号入力によって集積回路(LS I
)内部の任意のナスl−ポイントに対し外部からのア
クセスを可能にした回路が知られている。[Prior Art] Conventionally, in order to improve the failure detection rate of gate arrays, a terminal is provided outside the integrated circuit, and a signal input from this test terminal is used to test the integrated circuit (LSI).
) A circuit is known that allows access to any internal Nasu l-point from the outside.
第6図はこの種のLSIの一例を示す。LSllは外部
端子として通常のゲートアレイ入出力ピン2の他にTE
STI端子3とTEST2端子4とを備え、これらTE
STI端子3とTEST2端子4とを介して、例えは、
ゲートアレイ5の内部に設けた複数のフリップフロップ
のリセット端子等のテストポイント6 (Xo 、 X
+ )に独立にリセットパルスを供給するようにしてい
た。FIG. 6 shows an example of this type of LSI. LSll is used as an external terminal in addition to the normal gate array input/output pin 2.
Equipped with STI terminal 3 and TEST2 terminal 4, these TE
For example, through the STI terminal 3 and the TEST2 terminal 4,
Test points 6 (Xo, X
+ ) was designed to supply a reset pulse independently.
[発明が解決しようとする課題]
しかしながら、上述した従来のテスト端子付きLSIで
は、テストポイントが増えると、これに伴って設けるべ
きテスト端子も増えるという問題点があった。本来、ゲ
ートアレイの入出力ピンはその本来の機能を外部へ伝達
するために存在するものである。従って、内部のテスト
用に多数の外部端子を設けるのは好ましくない。また、
ターゲットとなるゲートアレイのテストポイントに対す
るアクセスの設定手続きは、可及的に少なくする必要が
ある。[Problems to be Solved by the Invention] However, the above-described conventional LSI with test terminals has a problem in that as the number of test points increases, the number of test terminals to be provided also increases. Originally, the input/output pins of a gate array exist to transmit its original function to the outside. Therefore, it is not preferable to provide a large number of external terminals for internal testing. Also,
The procedure for setting up access to the test points of the target gate array must be minimized as much as possible.
本発明はかかる問題点に鑑みてなされたものであって、
少ないテスト用外部端子数及び少ない手続きで多数のテ
ストポイントに対する外部からのアクセスを可能にし、
より一層の故障検出率の向上を図ることができるテスト
端子を持つ半導体集積回路を提供することを目的とする
。The present invention has been made in view of such problems, and includes:
Enables external access to a large number of test points with fewer external test terminals and fewer procedures.
An object of the present invention is to provide a semiconductor integrated circuit having a test terminal that can further improve the failure detection rate.
[課題を解決するための手段]
本発明に係る半導体集積回路は、少なくとも2つのテス
ト用外部端子と、1ビットが第1の状態、他のビットが
第2の状態であるデータを格納し前記テスト用外部端子
を介して入力されるクロック信号に従って上記データを
リング状にシフトさせるシフトレジスタと、このシフト
レジスタのパラレル出力の各ビットに対応して設けられ
前記テスト用外部端子を介して入力されるトグル信号に
従って前記シフトレジスタのパラレル出力を入力し、入
力が第1の状態であれば出力を反転させ、第2の状態で
あれば保持する複数のフリップフロップと、これらフリ
ップフロップからの出力を前記ナス1〜用外部端子を介
して入力されるイネーブル信号によって入力し対応する
集積回路内部のテストポイントに対し外部からのアクセ
スを可能にする手段とを具備したことを特徴とする。[Means for Solving the Problems] A semiconductor integrated circuit according to the present invention stores at least two test external terminals and data in which one bit is in a first state and the other bits are in a second state. A shift register that shifts the data in a ring shape according to a clock signal input through the test external terminal, and a shift register provided corresponding to each bit of the parallel output of this shift register, which is input through the test external terminal. The parallel output of the shift register is input according to the toggle signal, and if the input is in the first state, the output is inverted, and if the input is in the second state, the output is held by a plurality of flip-flops and the outputs from these flip-flops are input. The present invention is characterized by comprising means for inputting an enable signal inputted through the external terminals for the above-mentioned eggplants 1 to 1 to enable external access to the test points inside the corresponding integrated circuit.
[作用]
本発明においては、テスト用外部端子を介してクロック
信号を入力すると、シフ1ヘレジスタに保持されたデー
タの第1の状態の位置が変化し、この第1の状態を任意
のフリップフロップの入力として与えることができる。[Function] In the present invention, when a clock signal is input through the external test terminal, the position of the first state of the data held in the shift 1 register changes, and this first state is transferred to any flip-flop. can be given as input.
第1の状態が入力として与えられたフリップフロップは
、テスト用外部端子から入力されるトグル信号によって
その出力状態を変化させる。従って、シフトレジスタの
シフト操作とフリップフロップのトグル動作とを適宜組
み合わせることにより少ない操作でフリップフロップの
任意の出力状態を外部から設定できる。The flip-flop to which the first state is input changes its output state in response to a toggle signal input from an external test terminal. Therefore, by appropriately combining the shift operation of the shift register and the toggle operation of the flip-flop, an arbitrary output state of the flip-flop can be externally set with a small number of operations.
このフリップフロップの出力に基いて所定のテストポイ
ントに対する外部からのアクセスが可能になる。Based on the output of this flip-flop, a predetermined test point can be accessed from the outside.
本発明によれば、テストポイントの数はフリップフロッ
プの出力ビット数によって決まり、且つ、その出力の設
定は外部からのシフト操作により行えるので、外部端子
数はわずかで足りる。このため、少ない外部端子数及び
少ない操作で多数のテストポイントに対する外部からの
アクセスが可能である。According to the present invention, the number of test points is determined by the number of output bits of the flip-flop, and the output can be set by an external shift operation, so that only a small number of external terminals are required. Therefore, a large number of test points can be accessed from the outside with a small number of external terminals and a small number of operations.
[実施例]
以下、本発明の実施例について添付の図面を参照して説
明する。[Examples] Examples of the present invention will be described below with reference to the accompanying drawings.
第1図は本発明の実施例に係るテスト端子付きLSIの
一部を示すブロック図である。FIG. 1 is a block diagram showing a part of an LSI with test terminals according to an embodiment of the present invention.
このLSIは通常のゲートアレイ入出力ピン(図示せず
)の他にテスト用外部端子としてTESTI端子11と
TEST2端子12とを備えている。TEST1端子1
1及びTEST2端子12に外部から与えられる信号は
、この信号の供給形態に応じ、L S Iの内部におい
て、インバータ]3及び2つのANDゲート14.15
からなる論理回路Y[によってクロック信号CK、トグ
ル信号TG及びイネーブル信号ENBに夫々変換される
。This LSI is provided with a TESTI terminal 11 and a TEST2 terminal 12 as external terminals for testing in addition to normal gate array input/output pins (not shown). TEST1 terminal 1
1 and TEST2 terminals 12 are connected to an inverter] 3 and two AND gates 14 and 15 inside the LSI, depending on the supply form of this signal.
are converted into a clock signal CK, a toggle signal TG, and an enable signal ENB by a logic circuit Y[ consisting of a clock signal CK, a toggle signal TG, and an enable signal ENB.
クロック信号CKは、4ビットのシフトレジスタ17の
シフトクロック端子Cに与えられている。The clock signal CK is applied to the shift clock terminal C of the 4-bit shift register 17.
シフトレジスタ17は、初期値として第2図に示ず゛よ
うに、出力Qoのみが1′″ (第1の状態)、出力Q
+乃至Q3が“’O”(第2の状態)のデータを保持し
、クロック信号CKに従ってそのデータをQ。−+Q1
→Q2−→Q 3 →Q oと巡回シフトさせるものと
なっている。シフトレジスタのバラレル出力Qo乃至Q
3は夫々JKフリップフロップ18,19,20.21
の各J、に端子に与えられている。J Kフリップフロ
ップ18乃至21は、その出力Ro乃至R3の初期値が
第3図に示すように全てパ0′″であり、第4図に示す
ようにJ、に端子に共に0″が与えられた状態て、C(
クロック)端子にトグル信号TGが与えられてもその出
力Rゎは変化しないが、J、に端子に共に1″が与えら
れた状態でC端子にトグル信号TGが入力されると、そ
の立上りエツジで出力R,を反転させるものとなってい
る。これらJ Kフリップフロップ18乃至21の出力
R8乃至R5は、夫々デコーダ22の入力A3乃至Ao
に与えられている。As shown in FIG. 2, the initial values of the shift register 17 are such that only the output Qo is 1''' (first state) and the output Qo is 1''' (first state).
+ to Q3 hold data of "'O" (second state), and transmit the data to Q according to the clock signal CK. -+Q1
→Q2−→Q3→Qo. Shift register parallel outputs Qo to Q
3 are JK flip-flops 18, 19, 20.21 respectively
are given to the terminals of each J. The initial values of the outputs Ro to R3 of the JK flip-flops 18 to 21 are all 0'' as shown in FIG. C(
Even if the toggle signal TG is applied to the clock) terminal, its output R does not change, but if the toggle signal TG is input to the C terminal with 1'' applied to the J and J terminals, its rising edge will change. The outputs R8 to R5 of these JK flip-flops 18 to 21 are respectively inverted by the inputs A3 to Ao of the decoder 22.
is given to.
デコーダ22はA3 、A2 、A 1.AOを入力す
るとバイナリ−値A3.A2.A、、Ao=jとおけば
、テストポイント23 (XJ >にイネーブル信号E
N=1のときたけ1を出力する。テストポイント23(
Xj (j=0乃至15))は、例えば、ゲートアレイ
内部のフリップフロップのRe5et端子又はset端
子に接続されていて、XJ(j=o乃至15)に対して
正極性のパルスが1つ加わるとそれに接続されたフリッ
プフロップが独立にリセッ1〜又はセラ1〜される。The decoder 22 has A3, A2, A1 . When AO is input, the binary value A3. A2. If we set Ao=j, enable signal E is applied to test point 23 (XJ >
When N=1, output 1. Test point 23 (
Xj (j=0 to 15) is connected, for example, to the Re5et or set terminal of a flip-flop inside the gate array, and one pulse of positive polarity is added to XJ (j=o to 15). and the flip-flops connected thereto are independently reset 1~ or cell 1~.
第5図はこの回路の動作例を示す。先ず、JKフリップ
フロップ18乃至21の出力R6,R1゜R2,R3=
”O″′であるから、TEST1端子11が1″′の
状態でTEST2端子1.2にパルスが1つ入力される
と、イネーブル信号ENBがコーグ22に与えられ、A
o、、A、+’ A2.A。FIG. 5 shows an example of the operation of this circuit. First, the outputs of the JK flip-flops 18 to 21 R6, R1°R2, R3=
Therefore, when one pulse is input to the TEST2 terminal 1.2 while the TEST1 terminal 11 is 1'', the enable signal ENB is given to the Korg 22, and the A
o, , A, +' A2. A.
−“0″をデコードした出力(Xo)に」1記パルスに
同期したパルスが発生ずる。このパルスによりテストポ
イン+Xoに独立にパルスを与えることができる。- A pulse synchronized with the first pulse is generated at the output (Xo) decoded from "0". This pulse allows a pulse to be applied independently to the test point +Xo.
続いて、TESTI端子]1を′0″にしてTEST2
端子12に直列パルスを3つ与えると、これがクロック
信号CKとしてシフ1−レジスタに与えられ、その初期
値Qo −” 1 ” 、 Q+乃至Q3 = ” 0
”が巡回シフトされてQ3 = ” 1 ”、Qo乃
至Q2−” O”となる。ここでTESTI端子11の
信号が立上ると、J Kフリップフロップ19乃至21
はその出力R8乃至R2=”O”′を維持し、JKフリ
ップフロップ18はその出力R3を′0″′から′1″
に反転させる。これにより、デコーダ22の入力A3
、 A2 、 A 1. A 。Next, set TESTI terminal]1 to '0'' and connect TEST2.
When three serial pulses are applied to the terminal 12, these are applied as the clock signal CK to the shift 1 register, and its initial value Qo - "1", Q+ to Q3 = "0"
" is cyclically shifted and becomes Q3 = "1", Qo to Q2 - "O". Here, when the signal at the TESTI terminal 11 rises, the JK flip-flops 19 to 21
maintains its output R8 to R2="O"', and the JK flip-flop 18 changes its output R3 from '0" to '1".
invert it. As a result, the input A3 of the decoder 22
, A2, A1. A.
−”0001”となり、イネーブル信号ENBが与えら
れるとテストポイントX1にパルスを出力することがで
きる。以後同様に、TESTI端子11とTEST2端
子12とに任意のパルスを供給することにより、JKフ
リップフロップ]8乃至21の出力状態を任意に設定す
ることができ、これにより、任意のテストポイントX、
に対して独立にパルスを与えて、LSIの内部検査に寄
与することができる。-"0001", and when the enable signal ENB is applied, a pulse can be output to the test point X1. Thereafter, by similarly supplying arbitrary pulses to the TESTI terminal 11 and the TEST2 terminal 12, the output states of the JK flip-flops]8 to 21 can be arbitrarily set.
It is possible to contribute to the internal inspection of the LSI by applying pulses independently to the LSI.
なお、本発明は上述した実施例に限定されるものではな
い。例えば、上記実施例では、論理回路16を設けて2
つの外部端子(TESTI端子11、TEST2端子1
2)へパルスを与える方法によって3つの信号CK、E
NB、TGを得ている。そして、これにより、外部端子
数の削減を更に一層図ることができるが、上記3つの信
号を3つの外部端子から別々に入力するようにしても良
い
また、上記実施例では1.テスI〜ポイン1〜Xo乃至
X15に対し、外部からパルスを入力する例を示したが
、本発明は多数のテストポイントXo乃至Xoから任意
のナス1〜ポイン1〜を選択して、その状態を外部に読
出す検査に対しても適用可能である。この場合には、デ
コーダ22の代わりにマルチプレクサを使用すれば良い
。Note that the present invention is not limited to the embodiments described above. For example, in the above embodiment, the logic circuit 16 is provided and two
2 external terminals (TESTI terminal 11, TEST2 terminal 1
2) Three signals CK, E depending on the method of applying pulses to
Obtained NB and TG. Although this makes it possible to further reduce the number of external terminals, the above three signals may be inputted separately from the three external terminals. Although an example has been shown in which pulses are input from the outside to test points 1 to 1 to It can also be applied to inspections that read externally. In this case, a multiplexer may be used instead of the decoder 22.
[発明の効果]
以上説明したように本発明によれば、シフトレジスタの
シフ1ル操作と、フリップフロップのトグル操作とを適
宜組合わせることにより少ない操作でフリップフロップ
の出力状態を外部から任意に設定できる。そして、対応
可能なデス1ヘボイン1へ数は、シフトレジスタの段数
及びフリップフロップの出力ヒツト数で決まり、しかも
それらの出力の設定は外部からのシフト操作により行う
ことができる。このため、少ない外部端子数及び少ない
操作で多くのテストポイントに対する外部からのアクセ
スが可能になり、故障検出率を高める効果がある。[Effects of the Invention] As described above, according to the present invention, the output state of a flip-flop can be arbitrarily changed from the outside with a small number of operations by appropriately combining the shift register operation and the flip-flop toggle operation. Can be set. The number of available outputs is determined by the number of stages of the shift register and the number of output hits of the flip-flops, and these outputs can be set by an external shift operation. Therefore, it is possible to access many test points from the outside with a small number of external terminals and a small number of operations, which has the effect of increasing the failure detection rate.
第1図は本発明の実施例に係るテスト端子付きLSIの
要部構成を示すブロック図、第2図は同LSIにおける
シフトレジスタの初期状態を示す図、第3図は同LSI
におけるJKフリップフロップの初期状態を示す図、第
4図は同J Kフリップフロップの真理値表を示す図、
第5図は同LSIの動作波形図、第6図は従来のデスI
一端子利きLSIを示すブロック図である。
1;LSI、2;ゲートアレイ入出力ピン、3゜11;
TESTI端子、4,12.TES”F2端子、5;ゲ
ートアレイ、6.23;テストポイン)、16;論理回
路、」7;シフ1〜レジスタ、18乃至21;JKフリ
ップフロップ、22:デコーダFIG. 1 is a block diagram showing the main part configuration of an LSI with a test terminal according to an embodiment of the present invention, FIG. 2 is a diagram showing the initial state of a shift register in the same LSI, and FIG.
FIG. 4 is a diagram showing the initial state of the JK flip-flop in the same JK flip-flop, and FIG.
Figure 5 is an operating waveform diagram of the same LSI, and Figure 6 is a diagram of the conventional dess I.
FIG. 2 is a block diagram showing a one-terminal dominant LSI. 1; LSI, 2; Gate array input/output pin, 3゜11;
TESTI terminal, 4, 12. TES"F2 terminal, 5; gate array, 6.23; test point), 16; logic circuit, 7; shift 1 to register, 18 to 21; JK flip-flop, 22: decoder
Claims (1)
が第1の状態、他のビットが第2の状態であるデータを
格納し前記テスト用外部端子を介して入力されるクロッ
ク信号に従って上記データをリング状にシフトさせるシ
フトレジスタと、このシフトレジスタのパラレル出力の
各ビットに対応して設けられ前記テスト用外部端子を介
して入力されるトグル信号に従って前記シフトレジスタ
のパラレル出力を入力し、入力が第1の状態であれば出
力を反転させ、第2の状態であれば保持する複数のフリ
ップフロップと、これらフリップフロップからの出力を
前記テスト用外部端子を介して入力されるイネーブル信
号によって入力し対応する集積回路内部のテストポイン
トに対し外部からのアクセスを可能にする手段とを具備
したことを特徴とするテスト端子を持つ半導体集積回路
。(1) At least two external terminals for testing, storing data in which one bit is in the first state and the other bits are in the second state, and the above-mentioned data is stored in accordance with a clock signal inputted through the external terminals for testing. A shift register that shifts the data in a ring shape, and a toggle signal provided corresponding to each bit of the parallel output of this shift register and inputted through the external terminal for testing, inputting the parallel output of the shift register, and inputting the parallel output of the shift register. A plurality of flip-flops whose outputs are inverted when in the first state and held when in the second state, and the outputs from these flip-flops are inputted by an enable signal inputted through the external terminal for testing. What is claimed is: 1. A semiconductor integrated circuit having a test terminal, characterized in that the semiconductor integrated circuit is provided with means for enabling external access to a test point inside the corresponding integrated circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63160508A JPH0210176A (en) | 1988-06-28 | 1988-06-28 | Semiconductor integrated circuit having test terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63160508A JPH0210176A (en) | 1988-06-28 | 1988-06-28 | Semiconductor integrated circuit having test terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0210176A true JPH0210176A (en) | 1990-01-12 |
Family
ID=15716465
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP63160508A Pending JPH0210176A (en) | 1988-06-28 | 1988-06-28 | Semiconductor integrated circuit having test terminal |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0210176A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS59202220A (en) * | 1983-05-02 | 1984-11-16 | Mitsui Petrochem Ind Ltd | Manufacturing method of copolymerized polyamide |
-
1988
- 1988-06-28 JP JP63160508A patent/JPH0210176A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS59202220A (en) * | 1983-05-02 | 1984-11-16 | Mitsui Petrochem Ind Ltd | Manufacturing method of copolymerized polyamide |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
AU593028B2 (en) | Digital intergrated circuit | |
US5090035A (en) | Linear feedback shift register | |
CA1218424A (en) | Scannable asynchronous/synchronous cmos latch | |
US3790885A (en) | Serial test patterns for mosfet testing | |
KR100257415B1 (en) | Scanable ff circuit and escanable ff circuit using method | |
US4995039A (en) | Circuit for transparent scan path testing of integrated circuit devices | |
US4698830A (en) | Shift register latch arrangement for enhanced testability in differential cascode voltage switch circuit | |
US7369455B2 (en) | Calibration circuit of a semiconductor memory device and method of operating the same | |
KR0147619B1 (en) | Flip-flop controller | |
US5450418A (en) | Pseudo master slave capture mechanism for scan elements | |
JP2946658B2 (en) | Flip-flop circuit | |
US5809039A (en) | Semiconductor integrated circuit device with diagnosis function | |
JPH071493B2 (en) | Test auxiliary circuit | |
JPH0572290A (en) | Semiconductor integrated circuit | |
US5457699A (en) | Electronic component with a shift register test architecture (boundary scan) | |
US5068881A (en) | Scannable register with delay test capability | |
JPH0210176A (en) | Semiconductor integrated circuit having test terminal | |
US4617648A (en) | Semiconductor integrated circuit device | |
US5394404A (en) | Flip-flop circuit having diagnostic function | |
KR0186189B1 (en) | Testing circuit for mask rom | |
KR20010063539A (en) | Programmable memory test device using FPGA | |
US20250096783A1 (en) | Bi-directional scan flip-flop circuit and method | |
WO2022156418A1 (en) | Self-test circuit and method for latch | |
JPH01298733A (en) | Integrated circuit with built-in self-running function | |
JP2002350509A (en) | Semiconductor device |