JPS63195582A - Test circuit for lsi internal circuit - Google Patents

Test circuit for lsi internal circuit

Info

Publication number
JPS63195582A
JPS63195582A JP62026567A JP2656787A JPS63195582A JP S63195582 A JPS63195582 A JP S63195582A JP 62026567 A JP62026567 A JP 62026567A JP 2656787 A JP2656787 A JP 2656787A JP S63195582 A JPS63195582 A JP S63195582A
Authority
JP
Japan
Prior art keywords
test
pin
input
output
circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP62026567A
Other languages
Japanese (ja)
Inventor
Hiroki Sakurai
櫻井 博樹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP62026567A priority Critical patent/JPS63195582A/en
Publication of JPS63195582A publication Critical patent/JPS63195582A/en
Pending legal-status Critical Current

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Testing Or Measuring Of Semiconductors Or The Like (AREA)

Abstract

PURPOSE:To add a test circuit automatically by replacing an existent pin with a two-way pin and utilizing it as test data input and output pins, and adding the test circuit. CONSTITUTION:When a test is conducted, the input test pin 4 and output test pin 5 are both held at '1' to place a two-way buffer 21 for test data input in an input mode and two-way buffer 22 for test data output in an output mode. Here, data inputted from the two-way pin 19 for test data input is inputted to the TD pin of a FF 23 through the buffer 21 and latched at the rise of the signal of a clock input pin 2, and the signal is further passed through a circuit 12 to be tested, latched by a FF 24 at the next rise of the input pin 2, and outputted from the TQ pin. Then the data is outputted from the two-way pin 20 for test data output through the buffer 22. Thus, the test circuit is added automatically.

Description

【発明の詳細な説明】 〔産業上の利用分野J この発明は、LSIの内部回路のテス)K関するもので
ある。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field J] The present invention relates to testing of internal circuits of LSIs.

〔従来の技術J 第5図は例えば、従来のLSI内部回路のテスト回路を
示す図であり、図において、(1)はデータ入力ピン、
(2)Hクロック入力ピン、(3)Hテストデータ入力
ピン、(4)は入力テストピン、(5)は出力テストピ
ン、(6)Fiデータ出力ピン、(71テストデータ出
力ピン、(8)Fi入力パッ7ア、(す)は出力バッフ
ァ、(10) (11) J−t S −= 0のとき
Y=A、S!=1のときY=Bとなるセレクタ、(12
)は被テスト内部回路、  (13)Fi被テスト回路
(11)の直前の7リツプフクツプ、(14) d被テ
スト回路のi後の7リンプフaツブ、(15)#:tフ
リップフロップ(13)の前の内部回路、(16)#i
フリップフロップ(14)の後の内部回路、  (17
)(1g)は内部回路である。
[Prior Art J] Figure 5 is a diagram showing, for example, a conventional LSI internal circuit test circuit. In the figure, (1) is a data input pin;
(2) H clock input pin, (3) H test data input pin, (4) input test pin, (5) output test pin, (6) Fi data output pin, (71 test data output pin, (8 )Fi input pad 7a, (su) is output buffer, (10) (11) Selector where Y=A when J-t S -= 0, Y=B when S!=1, (12
) is the internal circuit under test, (13) Fi is the 7-limp flop just before the circuit under test (11), (14) d is the 7-limp flop after i of the circuit under test, (15) #: t flip-flop (13) Internal circuit in front of (16) #i
Internal circuit after flip-flop (14), (17
)(1g) is an internal circuit.

次に動作について説明する。システム動作時は。Next, the operation will be explained. When the system is running.

入力テストピン(4〕、出力テストピン(5)共にOK
しておき、データ入力ピン(1)から入力されたデータ
は、入カパツ7ア(8)、内部回路(tS)、セレクタ
(10)を通り、タロツク入力ピン(2)の信号の立ち
上がりでフリップフロップ(13) kCラッチされ、
サラに被テスト回路(12)を辿り、クロック入力ピン
(2)の次の立ち上がりで7リツプフロンブ(14)に
ランチされ、内部回路(16)、出力バッファ(9)を
通り、データ出力ピン(6)に出力される。また、テス
トデータ入力ピンから入力されたデータは、内部回路(
16)にのみ人力纒れ、テストデータ出力ピンには、内
部回路(18)のデータが出力される。テスト時は、入
力テストピン(4)、出力テストピン(5)共に1にし
ておき、テストデータ入力ピン(3)から入力されたデ
ータは、入カパツフア(司、セレクタ(lO)を通り、
クロック入力ピン(2)の倍らの立ち上がりで7リツプ
70ンプ(13)にランチされ、さらに被テスト回路(
12)を通り、タロツク入力ピン(2)の次の立ち上が
りで7リンブ7oツブ(14)にランチされ、セレクタ
(11) 、出力バッファ(9)を通り、テストデータ
出力ピン(7)に出力される。
Both input test pin (4) and output test pin (5) are OK.
The data input from the data input pin (1) passes through the input capacitor 7a (8), the internal circuit (tS), and the selector (10), and becomes a flip-flop at the rising edge of the signal at the tarock input pin (2). (13) kC latched,
Following the circuit under test (12), it is launched at the next rising edge of the clock input pin (2) to the 7-lip front (14), passes through the internal circuit (16), the output buffer (9), and is output to the data output pin (6). ) is output. Also, the data input from the test data input pin is transferred to the internal circuit (
16), and the data of the internal circuit (18) is output to the test data output pin. During testing, both the input test pin (4) and output test pin (5) are set to 1, and the data input from the test data input pin (3) passes through the input buffer (controller) and selector (lO).
At the rising edge of the clock input pin (2), the 7-rip 70 amplifier (13) is launched, and the circuit under test (
12), is launched to the 7-link 7-o pin (14) at the next rising edge of the tarok input pin (2), passes through the selector (11), the output buffer (9), and is output to the test data output pin (7). Ru.

〔光萌が解決しようとする問題点] 従来のLSI内部回路テスト回路汀、以上のようにJj
Jt成されているので、システム設計時から、テスト回
路を、付加しなければならず、回路が複雑tどなったり
、また、セレクタの付加1こより、ゲート数が増加した
り%創作タイミングが変化するなどの問題点かあつ友っ この発明け、上記のような問題点を解消するためになさ
れたもので、システム設計後に自動的にテスト回路を付
加できると共に、ゲート数の増加を<flおさえ、タイ
ミングもほとんど変化しないLSI内部回路テスト回路
を得ることを目的とする。
[Problems that Komoe tries to solve] The conventional LSI internal circuit test circuit, as described above,
Since the JT is configured, a test circuit must be added from the system design stage, which makes the circuit complicated, and adding a selector increases the number of gates and changes the creation timing. This invention was made to solve the above problems, and it is possible to automatically add a test circuit after system design, and to suppress the increase in the number of gates. The object of the present invention is to obtain an LSI internal circuit test circuit whose timing hardly changes.

〔問題点を解決するための手段] この発明に係るL31内部(ロ)路のテスト回路は、ま
ずシステムのみの回路を作成しておき、その回路中直接
データを入力したいフリップ70ンプとそのデータを入
力する出力ピンを指定し、また、データを直接出力した
い7リツプフロツプトソのデータを出力する入力ピンを
指定しておき、自動的に指定され九フリップフロップを
テスト用ツリツブ70ツブに変更し、指定された入出力
ピンに接続されたバッファを双方向バッファに変更し、
信号線の接続を行うようにしたものである。
[Means for Solving the Problems] In the L31 internal circuit test circuit according to the present invention, a system-only circuit is first created, and a flip 70 amplifier to which data is to be directly input and its data are inserted into the circuit. Specify the output pin to input the data, and also specify the input pin to output the data of the 7 flip-flop to which you want to directly output the data. and change the buffer connected to the specified input/output pin to a bidirectional buffer,
It is designed to connect signal lines.

〔作用J この発明におけるテスト回路は、システム設計後にテス
ト回路を自動的Vζ付加するものであり、システム設計
者I/i、テスト回路付加について全く考慮する必要が
ない。
[Operation J] The test circuit according to the present invention automatically adds the test circuit Vζ after the system is designed, and there is no need for the system designer I/I to consider the addition of the test circuit at all.

〔発明の実施例〕[Embodiments of the invention]

以下この発明の一実施例を図について脱力する。 An embodiment of the present invention will be explained below with reference to the drawings.

第1図において、(19)Fiテストデータ入力用双方
向ピン、  (20)はテストデータ出力用双方向ピン
、(21)Fiテストデータ入入力次駅方向バッファ 
 (22)けテストデータ出力用双方向バッファ、  
(23)#−iテストデータ入カテストνこ使用したテ
スト7リツプフaッグ、 (24)#:tテストデータ
出力テストに使用し北テスト7リツプフaンプである。
In Figure 1, (19) Bi-directional pin for Fi test data input, (20) Bi-directional pin for test data output, (21) Fi test data input/next station direction buffer.
(22) bidirectional buffer for outputting test data;
(23) #-i test data input test ν test 7 lip amplifier used for test, (24) #:t test data output test 7 lip amplifier used for test.

第2図は第1図で使用したテスト用7リツプ70ンプ(
23) (24)であり、(25)はシステムデータ入
力ピン: D、(26)Hrストデータ入力ピン:TD
Figure 2 shows the test 7-lip 70 amplifier used in Figure 1 (
23) (24), (25) is the system data input pin: D, (26) Hr data input pin: TD
.

(27) #−jりOンク入力ピン: CLK 、  
(2g)はモード切換えピン: TMSC29)uシス
テムデータ出力ピン:Q、(30)#−iテストデータ
出力ピン:TQである。ま÷値3反+11−+−テスト
田フ11ツプフ0ツブの盲御箔表であり、システムデー
タ入力ピン(25)、又はテストデータ入力ピン(26
)から入力されたデータはクロック入力ピン(27)の
立ち上かりのエツジでランチされ、システムデータ出力
ピン(四)、及びテストデータ出力ピン(30)に出力
される。
(27) #-jri ON input pin: CLK,
(2g) are mode switching pins: TMSC29) u system data output pin: Q, and (30) #-i test data output pin: TQ. This is a blind guide table with the value ÷ 3 + 11 - + - test data 11 pf 0 test, and the system data input pin (25) or the test data input pin (26
) is launched at the rising edge of the clock input pin (27) and output to the system data output pin (4) and the test data output pin (30).

次にMJ件について脱糊する。システム11作時は、入
力テストピン(4)、出力テストピン(5)共に0にし
ておき、データ入力ピン(1)から入力遜れたデータは
入力バッファ(8)、内部回路(15)を通り、タロツ
ク入力ピン(23のイg15の立ち上がりで7リツプフ
ロツプ(23)にランチされ、さらPこ被テスト回路(
12)kmす、タロツク入力ピンの次の立ち上がりで7
リツプフaツブ(24)にラッチされ、内部回路(16
) 、出力バッファ(9)を通り、データ出力ピン(6
)Vこ出力される。また、テストデータ入力用双方向バ
ッファは、出力モードとなり、内部回路(18)のデー
タが、テストデータ入力用ピンから出力され、テストデ
ータ出力用双方向バッファ(22) H1入力七−ドと
なり、テストデータ出力用ピンC20) カら入力され
たデータは、内部回路(17)に入力される。
Next, let's discuss the MJ issue. When creating system 11, both the input test pin (4) and output test pin (5) are set to 0, and the input buffer (8) and internal circuit (15) are used to input poor data from the data input pin (1). As shown, the tallock input pin (23) is launched to the 7th lip-flop (23) at the rising edge of Ig15, and the P is launched to the circuit under test (23).
12) km, then 7 on the next rising edge of the tarok input pin
The internal circuit (16)
), through the output buffer (9), to the data output pin (6
) V is output. In addition, the test data input bidirectional buffer becomes the output mode, and the data of the internal circuit (18) is output from the test data input pin, and becomes the test data output bidirectional buffer (22) H1 input pin. The data input from the test data output pin C20) is input to the internal circuit (17).

テスト時は、入力テストピン(4)、出力テストピン(
5)共に1にしておき、テストデータ入力用双方向バッ
ファ(21)を入力モードに、テストデー、タ出力用バ
ッファ(22)を出力モードにする。テストデータ入力
用双方向ピン(19)から入力されたデータは、テスト
データ入力用双方向バッファ(21)を通り、7リンブ
70ンプ(23)のTD上ピン入力され、りaツク入力
ピン(2)の信ちの立ち上がりでラッチされ、さらに被
テスト回路(12)を辿り、タロツク入力ピン(2〕の
次の立ち上がりでフリップフロップ(24)にラッチさ
れ、TQピンから出力され、テストデータ出力用双方向
バッファ(22) k mリテストデータ出力用双方向
ピン(20)から出力される。
During testing, input test pin (4), output test pin (
5) Both are set to 1, and the test data input bidirectional buffer (21) is set to input mode, and the test data output buffer (22) is set to output mode. The data input from the test data input bidirectional pin (19) passes through the test data input bidirectional buffer (21), is input to the TD upper pin of the 7 limb 70 amplifier (23), and is input to the rear input pin ( It is latched at the rising edge of the signal 2), further traces the circuit under test (12), is latched by the flip-flop (24) at the next rising edge of the tarock input pin (2), is output from the TQ pin, and is used for test data output. Bidirectional buffer (22) km Output from the retest data output bidirectional pin (20).

また、上記実施例では、1つのテストデータ入力用双方
向バッファに対し1つのテスト用7リツブ7aツブを接
続した例を示したが、仮数のテスト用フリップ70ツブ
を接続してもよく、上記実施例と同様の効果を奏する。
Further, in the above embodiment, one test data input bidirectional buffer is connected to one test 7 rib 7a tube, but a mantissa test flip 70 tube may be connected to the test data input bidirectional buffer. The same effects as in the embodiment are achieved.

テスト回路を付加する手順には、規則性があり、自動的
に付加することができる。第4図に自動テスト回路付加
のフローチャートを示す。第4図において、(:jl)
けテスト回路付加前の論理接続情報、(32)#−j直
接データを出し入れしたいフリツプフロップとピンの対
応表、(33)、(34)、(35)は処理、(36)
はテスト回路付加改の論理接続情報である。
The procedure for adding test circuits has regularity and can be added automatically. FIG. 4 shows a flowchart for adding an automatic test circuit. In Figure 4, (:jl)
Logic connection information before adding the test circuit, (32) #-j Correspondence table of flip-flops and pins to which you want to directly input and output data, (33), (34), and (35) are processing, (36)
is the logical connection information of the test circuit addition modification.

次にテスト回路の付加手順について説明する。まず処理
(33)で、論理接続情報(31)の中の、7リツブフ
aツブとピンの対16辰(32)で指定されたフリツプ
フロツプをテスト用7リツプフロツプに変更する。次に
処理(34)で、論理接続情報(31)の中のフリップ
フロップとピンの対応表(32)で指定されたピンに接
続されたバッファを双方向パンツアレご変更するっそし
て、処理(35)で、変更した7リン7’70ンブと双
方向パン7ア、及びテストピンの接続を行い、テスト回
路付加後の論理接続情報を出力する。
Next, the procedure for adding a test circuit will be explained. First, in process (33), the flip-flop specified by the 7-lip flop and pin pair 16 (32) in the logical connection information (31) is changed to a 7-lip flop for testing. Next, in process (34), the buffer connected to the pin specified in the flip-flop and pin correspondence table (32) in the logical connection information (31) is changed to a bidirectional pants pattern. ), connect the changed 7-ring 7'70 panel, bidirectional pan 7-a, and test pin, and output the logical connection information after adding the test circuit.

〔発明の効果」 以上のよう−C1この発明によれば、既存のピンを双方
向ピンに変更してテストデータ入出力ピンとして利用し
、テスト回路を付加するように構成したので、システム
設計完r後に、2つのテストピンの追加のみでテスト回
路付加がり能であり、さら虻こテスト回路を付加する手
順にけ規則性がるる定め、自動的1ζテスト回路を付加
することができる効果がある。
[Effects of the Invention] As mentioned above - C1 According to this invention, the existing pins are changed to bidirectional pins and used as test data input/output pins, and a test circuit is added, so that the system design can be completed easily. After R, the test circuit can be added only by adding two test pins, and the procedure for adding a further test circuit has much regularity, which has the effect of automatically adding a 1ζ test circuit. .

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

第1図はこの発明の一実施例によるLSI内部回路のテ
スト回路図、第2図はこの発明の一実施例のテスト回路
のテスト用フリップフロップ、第3商はテスト用クリッ
ププロップの真理#ip、第4図は目1テスト回路付加
のフローチャート、第5図は従来のLSI内部回路テス
ト方法による回路図である。 図トこpいて、 (IJけデータ入力ピン、Q)はタロ
ツク入力ピン、 (3J Hテストデータ入力ピン、 
(4) H入力テストピン、(S)Fi出力テストピン
、(6〕けデータ出力ピン、(7)はテストデータ出力
ピン、(8)は入カバン7ア、(9)は出カバン7ア、
(10) (11)はセレクタ、(12)は被テスト内
部回路、(13) (14)は7リツプフaツブ、(1
5) (16) (17) (18)は内部回!1p1
.(19)はテストデータ入力用双方向ピン、  (2
0)はテストデータ出力用双方向ピン、(21) (2
2) I″i双方向・くツファ、 (23) (24)
けテスト用フリップ7aツブ、(25)HDピン、(2
6)けTD上ピン(27)けCLKピン、(28)はT
Mピン、(29)けQピン、(30) T Qピン、 
(31)はテスト回路付加前の論理接続情報、(32)
はフリップ70ツブとピンの対応表、  (33) (
34) (35)ri処理、(36)けテスト回路付加
後の調理接続情報である。 なお図中、同−符ちけ、同−又は相当部分を示す。 代 理 人  大  岩   増  雄第2図 Zσ 第3図 X:1士り 第4図
FIG. 1 is a test circuit diagram of an LSI internal circuit according to an embodiment of the present invention, FIG. 2 is a test flip-flop of a test circuit according to an embodiment of the present invention, and the third quotient is the truth #ip of a test clip-prop. , FIG. 4 is a flowchart for adding the first test circuit, and FIG. 5 is a circuit diagram according to a conventional LSI internal circuit testing method. As shown in the figure, (IJ data input pin, Q) is tarokku input pin, (3J H test data input pin,
(4) H input test pin, (S) Fi output test pin, (6) data output pin, (7) test data output pin, (8) input bag 7A, (9) output bag 7A. ,
(10) (11) is a selector, (12) is an internal circuit under test, (13) (14) is a 7-lip tube, (1
5) (16) (17) (18) are internal times! 1p1
.. (19) is a bidirectional pin for test data input, (2
0) is a bidirectional pin for test data output, (21) (2
2) I″i two-way Kutufa, (23) (24)
test flip 7a tab, (25) HD pin, (2
6) Put TD top pin (27) put CLK pin, (28) is T
M pin, (29) Q pin, (30) T Q pin,
(31) is the logical connection information before adding the test circuit, (32)
is the correspondence table of flip 70 knobs and pins, (33) (
34) Cooking connection information after (35) ri processing and (36) addition of test circuit. In addition, in the figures, the same or equivalent parts are shown. Agent Masuo Oiwa Diagram 2 Zσ Diagram 3 X: 1 Shiri Diagram 4

Claims (2)

【特許請求の範囲】[Claims] (1)LSI外部より直接データを入出力したいフリッ
プフロップをテスト用フリップフロップに変更し、既存
の出力ピンと、入力ピンを双方向ピンに変更し、テスト
時に既存の出力ピンをテストデータ入力ピンとして使用
し、また既存の入力ピンをテストデータ出力ピンとして
使用することと、システム動作と、テスト動作の切り換
えをLSI外部よりの入力ピンにより行うことを特徴と
したLSI内部回路のテスト回路。
(1) Change the flip-flop to which you want to input/output data directly from outside the LSI to a test flip-flop, change the existing output pins and input pins to bidirectional pins, and use the existing output pins as test data input pins during testing. 1. A test circuit for an internal circuit of an LSI, which uses an existing input pin as a test data output pin, and switches between system operation and test operation using an input pin from outside the LSI.
(2)テスト回路の付加を自動的に行うようにしたこと
を特徴とする特許請求の範囲第1項記載のLSI内部回
路のテスト回路。
(2) A test circuit for an LSI internal circuit according to claim 1, wherein the test circuit is automatically added.
JP62026567A 1987-02-06 1987-02-06 Test circuit for lsi internal circuit Pending JPS63195582A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62026567A JPS63195582A (en) 1987-02-06 1987-02-06 Test circuit for lsi internal circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62026567A JPS63195582A (en) 1987-02-06 1987-02-06 Test circuit for lsi internal circuit

Publications (1)

Publication Number Publication Date
JPS63195582A true JPS63195582A (en) 1988-08-12

Family

ID=12197118

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62026567A Pending JPS63195582A (en) 1987-02-06 1987-02-06 Test circuit for lsi internal circuit

Country Status (1)

Country Link
JP (1) JPS63195582A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05107295A (en) * 1991-06-10 1993-04-27 Internatl Business Mach Corp <Ibm> Test of integrated circuit device and method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05107295A (en) * 1991-06-10 1993-04-27 Internatl Business Mach Corp <Ibm> Test of integrated circuit device and method thereof

Similar Documents

Publication Publication Date Title
JP2626920B2 (en) Scan test circuit and semiconductor integrated circuit device using the same
JP2871291B2 (en) Logic integrated circuit
CA2157960A1 (en) Delay testing of high-performance digital components by a slow-speed tester
US4961013A (en) Apparatus for generation of scan control signals for initialization and diagnosis of circuitry in a computer
US5705942A (en) Method and apparatus for locating and improving critical speed paths in VLSI integrated circuits
US5898702A (en) Mutual exclusivity circuit for use in test pattern application scan architecture circuits
US5818263A (en) Method and apparatus for locating and improving race conditions in VLSI integrated circuits
US6182256B1 (en) Scan flip-flop that simultaneously holds logic values from a serial load and a subsequent parallel load
US20230243887A1 (en) Clock shaper circuit for transition fault testing
US6107852A (en) Method and device for the reduction of latch insertion delay
US6081913A (en) Method for ensuring mutual exclusivity of selected signals during application of test patterns
JPS63195582A (en) Test circuit for lsi internal circuit
JPH01253669A (en) Semiconductor integrated circuit device
JPH04248483A (en) Semiconductor integrated circuit
US6185711B1 (en) Methods and apparatus for synchronizing asynchronous test structures and eliminating clock skew considerations
JPH04306013A (en) Latch circuit device
JPS6089120A (en) Flip-flop circuit
US5289119A (en) Transparent enable test circuit
JPH10307167A (en) Testing device for logic integrated circuit
JPS63135883A (en) Test circuit for integrated circuit
JPH0746123B2 (en) Integrated circuit test method
JP2515704B2 (en) Semiconductor integrated circuit device
JP2984522B2 (en) Circuit verification system
JPH0261569A (en) Serial shift register
JPS60220942A (en) Testing method for integrated circuit