JPH0560844A - Semiconductor integrated circuit - Google Patents

Semiconductor integrated circuit

Info

Publication number
JPH0560844A
JPH0560844A JP3225531A JP22553191A JPH0560844A JP H0560844 A JPH0560844 A JP H0560844A JP 3225531 A JP3225531 A JP 3225531A JP 22553191 A JP22553191 A JP 22553191A JP H0560844 A JPH0560844 A JP H0560844A
Authority
JP
Japan
Prior art keywords
signal
input
data
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
JP3225531A
Other languages
Japanese (ja)
Inventor
Katsuhiko Akai
勝彦 赤井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP3225531A priority Critical patent/JPH0560844A/en
Publication of JPH0560844A publication Critical patent/JPH0560844A/en
Pending legal-status Critical Current

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Design And Manufacture Of Integrated Circuits (AREA)

Abstract

PURPOSE:To inspect an LSI easily by adding a memory which retains a data needed for testing and a coincidence/non-coincidence detection circuit which compares this memory data with an output of a sequential circuit. CONSTITUTION:In the case of a test, a needed data is input from a q-bit ROM 3 to an FF1 by using a clock CK 12 and a needed data is input also to an input signal 15. Since the FF1 retained data, an input signal 21 to a combination circuit 2 and an input signal 15 from an outside become a fixed value and a value of an output signal 16 of the circuit 2 and that of an input signal 22 to the FF1 are also fixed according to values of the signal 21 and the signal 15. Then, LSI is returned to a normal mode by a test mode switching signal MD11, n values of the signal 22 is input to the FF1, and then an expectation value of the FF1 which is retained at the ROM 3 is output to a coincidence/non- coincidence detection circuit DET 4. The DET 4 compares the output signal 21 of the FF1 with an output signal 23 of the ROM 3 and then outputs a notice signal DS 17. When the DS 17 all matches, it is regarded to be acceptable.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は半導体集積回路に関し、
特に試験回路を有する半導体集積回路に関する。
BACKGROUND OF THE INVENTION The present invention relates to a semiconductor integrated circuit,
In particular, it relates to a semiconductor integrated circuit having a test circuit.

【0002】[0002]

【従来の技術】現在、LSI技術の進歩により、回路の
大規模化・複雑化が進んでいる。これらのLSIにおい
て、すべての回路を試験しようとすると、試験方法が複
雑になったり、試験時間が長くなったりという問題が生
ずる。そのため、LSIの評価・検査等を少しでも簡易
化するために.LSI設計時にLSI内部に試験回路又
は試験機能を持たせることが多い。
2. Description of the Related Art At present, circuits are becoming larger and more complex due to the progress of LSI technology. If all circuits are to be tested in these LSIs, the test method becomes complicated and the test time becomes long. Therefore, in order to simplify the evaluation and inspection of LSI as much as possible. When designing an LSI, a test circuit or a test function is often provided inside the LSI.

【0003】この種の試験回路のひとつに、スキャンパ
ス法と呼ばれるものがある。図3は従来の半導体集積回
路の試験方法の一例を示す図である。図3に示す半導体
集積回路はn個のフリップ・フロップからなるフリップ
・フロップ群(以下FF)1と、FF1からのn本の出
力信号21と外部からのm本の入力信号15とを入力と
しFF1へのn本の出力信号22と外部へのp本の出力
信号16とを出力とする組み合わせ回路2とを備える。
11は試験モード切り換え信号(以下MD)、12はF
F1を動作させるためのクロック(以下CK)、13は
試験時のシリアル・データ用入力端子(以下DI)、1
4は試験時のシリアル・データ用出力端子(以下DO)
である。
One of the test circuits of this type is called a scan path method. FIG. 3 is a diagram showing an example of a conventional semiconductor integrated circuit testing method. The semiconductor integrated circuit shown in FIG. 3 receives as inputs a flip-flop group (hereinafter referred to as FF) 1 including n flip-flops, n output signals 21 from FF1 and m input signals 15 from the outside. A combinational circuit 2 that outputs n output signals 22 to the FF 1 and p output signals 16 to the outside is provided.
11 is a test mode switching signal (MD), 12 is F
A clock (hereinafter CK) for operating F1, 13 is a serial data input terminal (hereinafter DI) at the time of test, 1
4 is an output terminal for serial data at the time of testing (hereinafter DO)
Is.

【0004】通常、LSIの中をみると、フリップ・フ
ロップのような順序回路とANDゲート等の組み合わせ
回路に分けることができる。MD11を切り換えて試験
モード時には、この中のn個のFF1をすべてシリアル
に接続し、あたかもnビットのシフト・レジスタと見え
るように接続する。そして、CK12を入力しn個のF
F1にDI13から試験に必要な任意のデータを入力
し、入力信号15にもそれぞれ試験に必要な任意のデー
タを入力する。n個のフリップ・フロップがデータを保
持したことで組み合わせ回路2の入力信号21と入力信
号15が固定された値となり、組み合わせ回路2の出力
信号16と22の値も入力信号21と入力信号15の値
に応じて固定される。
Generally, when looking inside the LSI, it can be divided into a sequential circuit such as a flip-flop and a combinational circuit such as an AND gate. When the MD 11 is switched and in the test mode, all n FF1s therein are serially connected so that they are connected as if they were n-bit shift registers. Then, input CK12 and n F
Arbitrary data required for the test is input from DI13 to F1 and arbitrary data required for the test is also input to the input signal 15. Since the n flip-flops hold the data, the input signal 21 and the input signal 15 of the combinational circuit 2 have fixed values, and the values of the output signals 16 and 22 of the combinational circuit 2 are also the input signal 21 and the input signal 15. Fixed according to the value of.

【0005】そして、MD11によりLSIを試験モー
ドから通常モードに戻し、CK12を1個入力し、n本
の出力信号22の値をn個のFF1に入力する。また、
MD11によりLSIを試験モードに戻して、FF1を
すべてシリアルに接続し、CK12からn個入力してn
個のDO14を出力する。
Then, the MD 11 returns the LSI from the test mode to the normal mode, one CK12 is input, and the values of the n output signals 22 are input to the n FF1. Also,
Return the LSI to the test mode by MD11, connect all FF1 serially, and input n from CK12
The individual DO 14 is output.

【0006】以上の動作を繰り返すことで、入力信号1
3と15の値が決まれば、一義的に出力信号14と16
の値が決まるため、LSI試験時に、出力信号14と1
6の値があらかじめ考えていた期待値と異なればLSI
内部に不良があることが分かる。また、この試験方法を
用いれば、回路的に入出力が中の方にあって外部から設
定し難いか、あるいは外部から見ずらい内部状態でも容
易に設定・検出することができる。
By repeating the above operation, the input signal 1
If the values of 3 and 15 are determined, the output signals 14 and 16 are uniquely
Since the value of is determined, the output signals 14 and 1
If the value of 6 is different from the expected value, the LSI
You can see that there is a defect inside. In addition, if this test method is used, it is possible to easily set / detect even in an internal state where it is difficult to set from the outside because the input / output is in the middle of the circuit or it is difficult to see from the outside.

【0007】[0007]

【発明が解決しようとする課題】図2(B)は従来のス
キャンパス法による試験時間を示す図である。上述した
従来のスキャンパス法による試験方法では、図2(B)
に示すように、n個のFF1にデータを入力する時間a
と通常モード時の1クロック分の時間bとn個のFF1
のデータを出力する時間cとがあり、トータルの時間と
して(2×n+1)クロック分の時間がかかる。
FIG. 2B is a diagram showing a test time by the conventional scan path method. In the conventional test method by the scan path method described above, FIG.
As shown in, time a at which data is input to n FF1
And one clock time b in normal mode and n FF1s
There is a time c for outputting the data, and the total time is (2 × n + 1) clocks.

【0008】この方式では、nの値が大きくなればなる
ほど試験時間が長くなり、かつ、内部を1クロック分動
作させるだけのための準備・検出という無駄な時間(2
n)の比率が増大してくるという問題が生じてくる。
In this method, the larger the value of n, the longer the test time, and the wasted time (2) of preparation and detection for operating the inside by one clock.
A problem arises that the ratio of n) increases.

【0009】[0009]

【課題を解決するための手段】本発明の半導体集積回路
は、複数の組み合わせ回路と複数の順序回路とを有する
半導体集積回路において、前記組み合わせ回路と前記順
序回路の試験時に必要な複数のデータを保持するメモリ
と、前記順序回路に通常使用時には前記組み合わせ回路
の出力データを入力し試験時には前記メモリのデータを
入力するモード切換え手段と、前記順序回路の出力デー
タと前記メモリの出力データとを比較して一致/不一致
結果を出力する一致/不一致検出回路とを備えている。
A semiconductor integrated circuit of the present invention is a semiconductor integrated circuit having a plurality of combinational circuits and a plurality of sequential circuits, in which a plurality of data necessary for testing the combinational circuits and the sequential circuits are stored. A memory for holding, mode switching means for inputting the output data of the combinational circuit to the sequential circuit during normal use and inputting the data of the memory for testing, and comparing the output data of the sequential circuit with the output data of the memory And a match / mismatch detection circuit for outputting a match / mismatch result.

【0010】[0010]

【実施例】次に、本発明について図面を参照して説明す
る。図1は本発明の半導体集積回路の一実施例を示すブ
ロック図、図2(A)は図1における試験時間を示す図
である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings. 1 is a block diagram showing an embodiment of a semiconductor integrated circuit of the present invention, and FIG. 2A is a diagram showing a test time in FIG.

【0011】本実施例の半導体集積回路はFF1と、F
F1からのn本の出力信号21と外部からのm本の入力
信号15とを入力としFF1へのn本の出力信号22と
外部へのp本の出力信号16とを出力とする組み合わせ
回路2と、FF1に設定するデータ値とFF1から出力
される期待値とを保持しているnビット以下のqビット
ROM3と、qビットROM3のq本の出力信号23と
FF1の出力信号21の値の一致/不一致を検出する検
出回路(以下DET)4とを備える。11は試験モード
切り換え信号(以下MD)、12はFF1を動作させる
ためのクロック(以下CK)、17は一致/不一致結果
通知信号(以下DS)である。
The semiconductor integrated circuit of this embodiment is composed of FF1 and F
A combinational circuit 2 which inputs n output signals 21 from F1 and m input signals 15 from the outside and outputs n output signals 22 to FF1 and p output signals 16 to the outside And a q-bit ROM 3 of n bits or less that holds a data value set in FF1 and an expected value output from FF1, q output signals 23 of q-bit ROM 3 and values of output signal 21 of FF1. A detection circuit (hereinafter referred to as DET) 4 for detecting a match / mismatch is provided. Reference numeral 11 is a test mode switching signal (hereinafter, MD), 12 is a clock (hereinafter, CK) for operating the FF 1, and 17 is a match / mismatch result notification signal (hereinafter, DS).

【0012】続いて本実施例の動作について説明する。
説明を簡略化するためにn=qの時の動作をまず説明す
る。LSI通常動作時は、FF1には入力信号22の値
が入力され、LSI試験時には、MD11によりFF1
にはqビットROM3の出力信号23の値が入力される
という機能をFF1に持たせる。試験時には、まずFF
1にqビットROM3から試験に必要なデータをCK1
2を用いて入力し、入力信号15にもそれぞれ試験に必
要な任意のデータを入力する。FF1がデータを保持し
たことで、組み合わせ回路2への入力信号21と外部か
らの入力信号15が固定された値となり、組み合わせ回
路2の出力信号16とFF1への入力信号22の値もF
F1の出力信号21と外部からの15の値に応じて固定
される。
Next, the operation of this embodiment will be described.
To simplify the description, the operation when n = q will be described first. The value of the input signal 22 is input to the FF1 during the LSI normal operation, and the FF1 is input by the MD11 during the LSI test.
The FF1 has a function of inputting the value of the output signal 23 of the q-bit ROM 3 to the. When testing, first FF
The data required for the test from the q-bit ROM3 to CK1
2 is used to input any data required for the test to the input signal 15. Since the FF1 holds the data, the input signal 21 to the combinational circuit 2 and the input signal 15 from the outside have fixed values, and the output signal 16 of the combinational circuit 2 and the value of the input signal 22 to the FF1 are also F.
It is fixed according to the output signal 21 of F1 and the value of 15 from the outside.

【0013】そして、MD11によりLSIを試験モー
ドから通常モードに戻し、CK12を1個入力し、FF
1へのn本の入力信号22の値をFF1に入力する。そ
して、qビットROM3に保持してあるFF1の期待値
をqビットROM3からDET4に出力する。DET4
はFF1の出力信号21の値とqビットROM3の出力
信号23とを比較し、DS17を出力する。
Then, the LSI is returned from the test mode to the normal mode by MD11, one CK12 is inputted, and FF is inputted.
The values of n input signals 22 to 1 are input to FF1. Then, the expected value of FF1 held in the q-bit ROM 3 is output from the q-bit ROM 3 to the DET 4. DET4
Compares the value of the output signal 21 of FF1 with the output signal 23 of the q-bit ROM 3 and outputs DS17.

【0014】nの値が例えば“16”を越えた場合、q
ビットROM3のビート数をそのままnとすると、qビ
ットROM3のビットが増大し、LSIとしては得策で
はない。したがって、qの値を最大“16”とし、試験
モードでのqビットROM3からFF1へのデータ入力
と一致/不一致検出をn/q(=r:小数点以下は切り
上げ)回に分けて行うと良い。
When the value of n exceeds "16", for example, q
If the number of beats of the bit ROM 3 is set to n as it is, the number of bits of the q bit ROM 3 increases, which is not a good idea for an LSI. Therefore, it is advisable to set the value of q to "16" at the maximum and perform the data input from the q-bit ROM 3 to the FF1 and the match / mismatch detection in the test mode separately for n / q (= r: rounding up after the decimal point) times. ..

【0015】LSIの試験では、設計した回路が期待通
り動作することが確認できれば、合格とみなす。したが
って、DS17が実施例によるLSI試験時にすべて一
致結果を出せば、本試験方式を用いて確認できる箇所・
項目については合格とみなすことができる。
In the LSI test, if it can be confirmed that the designed circuit operates as expected, it is regarded as passed. Therefore, if the DS17 produces all the matching results during the LSI test according to the embodiment, the points that can be confirmed using this test method.
Items can be considered pass.

【0016】本実施例では、n=qのとき、図2(A)
に示すようにFF1にデータを入力する時間aとFF1
のデータを出力する時間cとが図2(B)の従来例に比
較して非常に短くなり、トータルの時間として(2×n
−2)クロック分の時間が短縮されたことになる。ま
た、nの値が大きいときにFF1にデータを入力するの
をr回に分割した場合でも、(2×n−2×r)クロッ
ク分の時間が短縮されたことになる。
In this embodiment, when n = q, FIG.
As shown in, time a to input data to FF1 and FF1
2 is much shorter than the conventional example shown in FIG. 2B, and the total time is (2 × n
-2) This means that the time for the clock is shortened. Even when the data input to the FF1 is divided into r times when the value of n is large, it means that the time for (2 × n−2 × r) clocks is shortened.

【0017】[0017]

【発明の効果】以上説明したように本発明は、スキャン
パス法の試験方式を用いる従来の半導体集積回路に対
し、僅かなハードウェア量の追加で試験時間の短縮を図
ることができるという効果を有する。また、従来の試験
方式では、被試験LSIの外部でLSIからの出力デー
タを期待値と比較していたため、LSI外部に比較のた
めの回路・プログラム等が必要であったが、本発明を用
いれば、LSI外部に一致/不一致検出結果を検出する
機能を付加する程度でLSIの検査を容易にすることが
できるという効果が得られる。
As described above, the present invention has the effect that the test time can be shortened by adding a small amount of hardware to the conventional semiconductor integrated circuit using the test method of the scan path method. Have. Further, in the conventional test method, since the output data from the LSI is compared with the expected value outside the LSI to be tested, a circuit / program for comparison is required outside the LSI, but the present invention is used. For example, the effect of facilitating the inspection of the LSI can be obtained only by adding the function of detecting the match / mismatch detection result to the outside of the LSI.

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

【図1】本発明の半導体集積回路の一実施例を示すブロ
ック図である。
FIG. 1 is a block diagram showing an embodiment of a semiconductor integrated circuit of the present invention.

【図2】本発明を用いたときと従来のスキャンパス法を
用いたときとの試験時間を示す図である。
FIG. 2 is a diagram showing a test time when the present invention is used and when a conventional scan path method is used.

【図3】従来の半導体集積回路の試験方法の一例を示す
図である。
FIG. 3 is a diagram showing an example of a conventional semiconductor integrated circuit testing method.

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

1 フリップ・フロップ群(FF) 2 組み合わせ回路 3 qビットROM 4 nビット一致/不一致検出回路(DET) 11 試験モード切り換え信号(MD) 12 クロック(CK) 13 試験時のシリアル・データ用入力端子(DI) 14 試験時のシリアル・データ用出力端子(DO) 15 入力信号 16 出力信号 17 一致/不一致結果通知信号(DS) 21 FF1の出力信号 22 FF1への入力信号 23 qビットROM3の出力信号 1 flip-flop group (FF) 2 combinational circuit 3 q-bit ROM 4 n-bit match / mismatch detection circuit (DET) 11 test mode switching signal (MD) 12 clock (CK) 13 input terminal for serial data during test ( DI) 14 Serial data output terminal (DO) 15 test signal 16 output signal 17 match / mismatch result notification signal (DS) 21 FF1 output signal 22 FF1 input signal 23 q-bit ROM3 output signal

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 複数の組み合わせ回路と複数の順序回路
とを有する半導体集積回路において、前記組み合わせ回
路と前記順序回路の試験時に必要な複数のデータを保持
するメモリと、前記順序回路に通常使用時には前記組み
合わせ回路の出力データを入力し試験時には前記メモリ
のデータを入力するモード切換え手段と、前記順序回路
の出力データと前記メモリの出力データとを比較して一
致/不一致結果を出力する一致/不一致検出回路とを備
えることを特徴とする半導体集積回路。
1. A semiconductor integrated circuit having a plurality of combinational circuits and a plurality of sequential circuits, comprising: a memory that holds a plurality of data necessary for testing the combinational circuits and the sequential circuits; A mode switching means for inputting the output data of the combinational circuit and for inputting the data of the memory at the time of testing, and an output of the sequential circuit and the output data of the memory are compared, and a match / mismatch is output. A semiconductor integrated circuit comprising: a detection circuit.
JP3225531A 1991-09-05 1991-09-05 Semiconductor integrated circuit Pending JPH0560844A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3225531A JPH0560844A (en) 1991-09-05 1991-09-05 Semiconductor integrated circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3225531A JPH0560844A (en) 1991-09-05 1991-09-05 Semiconductor integrated circuit

Publications (1)

Publication Number Publication Date
JPH0560844A true JPH0560844A (en) 1993-03-12

Family

ID=16830763

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3225531A Pending JPH0560844A (en) 1991-09-05 1991-09-05 Semiconductor integrated circuit

Country Status (1)

Country Link
JP (1) JPH0560844A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6808250B2 (en) 1997-01-10 2004-10-26 Konica Corporation Production method of ink-jet head
US9033465B2 (en) 2013-02-22 2015-05-19 Seiko Epson Corporation Flow path unit, liquid ejecting head, liquid ejecting apparatus, and flow path unit manufacturing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6808250B2 (en) 1997-01-10 2004-10-26 Konica Corporation Production method of ink-jet head
US9033465B2 (en) 2013-02-22 2015-05-19 Seiko Epson Corporation Flow path unit, liquid ejecting head, liquid ejecting apparatus, and flow path unit manufacturing method

Similar Documents

Publication Publication Date Title
CA1218424A (en) Scannable asynchronous/synchronous cmos latch
KR100257415B1 (en) Scanable ff circuit and escanable ff circuit using method
US6877119B2 (en) Circuit scan output arrangement
JP2770617B2 (en) Test circuit
JP2003332443A (en) Semiconductor integrated circuit and design supporting device as well as test method therefor
JPH06160477A (en) Logic circuit
US5894482A (en) Semiconductor integrated circuit with a testable block
JP4130329B2 (en) Semiconductor integrated circuit provided with scan path circuit and scan path circuit
US5068881A (en) Scannable register with delay test capability
US20040139376A1 (en) Functional block for integrated circuit, semiconductor integrated circuit, method for testing semiconductor integrated circuit, and method for designing semiconductor integrated circuit
EP0699920A2 (en) Semiconductor integrated circuit with a testable block
JP2003121497A (en) Scan path circuit for logic circuit test and integrated circuit device provided with it
JPH0560844A (en) Semiconductor integrated circuit
US6272656B1 (en) Semiconductor integrated circuit including test facilitation circuit and test method thereof
JPH0772217A (en) Semiconductor integrated circuit, its designing method and its test method
JP4610919B2 (en) Semiconductor integrated circuit device
US11927633B1 (en) Secured scan access for a device including a scan chain
US20240241174A1 (en) Secured scan access for a device including a scan chain
JPH04221781A (en) Inspecting method and circuit
KR100396096B1 (en) Test circuit for semiconductor integrated circuit
JP3275952B2 (en) Test circuits for digital logic circuits
JP2806026B2 (en) Memory test circuit
JPH06186306A (en) Logical circuit
JP2874248B2 (en) Electronic circuit with scan path for diagnostics
JPH04270976A (en) Testing circuit of semiconductor integrated circuit