JPH05312917A - Semiconductor integrated circuit - Google Patents

Semiconductor integrated circuit

Info

Publication number
JPH05312917A
JPH05312917A JP4118634A JP11863492A JPH05312917A JP H05312917 A JPH05312917 A JP H05312917A JP 4118634 A JP4118634 A JP 4118634A JP 11863492 A JP11863492 A JP 11863492A JP H05312917 A JPH05312917 A JP H05312917A
Authority
JP
Japan
Prior art keywords
test
functional
circuit
signal
functional block
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.)
Withdrawn
Application number
JP4118634A
Other languages
Japanese (ja)
Inventor
Mihoko Yoshida
美穂子 吉田
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 JP4118634A priority Critical patent/JPH05312917A/en
Publication of JPH05312917A publication Critical patent/JPH05312917A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)

Abstract

PURPOSE:To perform the functional test of each functional block in a short time in a semiconductor integrated circuit containing one or more functional blocks. CONSTITUTION:An individual functional block is constituted of a ROM 12, which stores test input patterns for testing the validity of the own functions, a ROM 13, which stores test expected-value patterns, a ROM-address generating circuit 15, which imparts address signals 112 to two ROMs, and a comparator circuit 14, wherein the test-expected-value pattern 104 is collated with a test- output pattern 105 outputted from a function circuit 11 when a test-input pattern 108 is inputted into the function circuit 11. Therefore, the tests of all functional blocks can be performed at the same time. When an error is detected in any functional block, the test is immediately finished. Therefore, the number of the test patterns can be decreased to a large extent.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、半導体集積回路に係わ
り、機能ブロックを少なくとも1つ以上含んだ半導体集
積回路の機能試験を効率よく行なう回路の構成に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a semiconductor integrated circuit, and more particularly to a circuit structure for efficiently performing a functional test of a semiconductor integrated circuit including at least one functional block.

【0002】[0002]

【従来の技術】近年、半導体集積回路技術の発展はめざ
ましく、半導体集積回路の大規模化、複合化は加速度的
に進んでいる。また、これに伴い、半導体集積回路の機
能試験を効率良く、かつ不良を高い割合で検出すること
が製品のコストおよび信頼性を決める一つの要因となっ
ている。さらに、半導体集積回路の大規模化、複合化の
進展に伴い、不良解析の難易度も高くなっている。
2. Description of the Related Art In recent years, the development of semiconductor integrated circuit technology has been remarkable, and the scale-up and integration of semiconductor integrated circuits have been accelerated. Along with this, efficient functional test of semiconductor integrated circuits and detection of defects at a high rate are one of the factors that determine the cost and reliability of products. Further, as the scale of semiconductor integrated circuits increases and the progress of compounding progresses, the difficulty level of failure analysis is increasing.

【0003】この機能試験を効率よく、かつ不良を高い
割合で検出、不良解析を容易に行う方法として、回路分
割法が用いられることが多い。この回路分割法は、大規
模回路に搭載されたRAM(ランダム・アクセス・メモ
リ)やROM(リード・オンリ・メモリ)、あるいはあ
るまとまった機能を有する回路の集合をそれぞれ機能ブ
ロックとして分割し、回路全体の機能のテストとは別
に、各機能ブロック毎の機能テストを行うものである。
A circuit division method is often used as a method for efficiently performing this functional test, detecting defects at a high rate, and easily performing defect analysis. This circuit division method divides a RAM (random access memory) or a ROM (read only memory) mounted on a large-scale circuit or a set of circuits having a certain function into functional blocks, In addition to the test of the entire function, the function test of each function block is performed.

【0004】回路分割法を用いて各機能ブロック毎の機
能テストを行うためには、通常信号(通常に動作させる
時の入出力信号)とテスト信号(機能ブロックをテスト
する時の機能ブロックテスト用入出力信号)とを外部端
子から直接入出力する構成が考えられるが、チップサイ
ズやパッケージのピン数、大きさ等を考慮して、1つの
外部端子を複数の機能ブロックのテスト信号が共用して
使用する図2に示すような構成となっている。
In order to perform a functional test for each functional block using the circuit division method, a normal signal (an input / output signal when operating normally) and a test signal (for a functional block test when testing a functional block) are used. I / O signals) can be input and output directly from external terminals. However, considering the chip size, the number of pins in the package, the size, etc., one external terminal is shared by the test signals of multiple functional blocks. It has a structure as shown in FIG.

【0005】次に回路分割法の具体的な例を図2を用い
て説明する。図2に示す半導体集積回路のブロック図で
は、機能ブロックテスト用入力端子(図示せず)および
機能ブロックテスト用出力端子(図示せず)を、各機能
ブロック共用としている。図2に示される従来例の回路
構成においては、機能回路122B及びセレクタ回路1
22Aを含む機能ブロック122と、機能回路123B
及びセレクタ回路123Aを含む機能ブロック123
と、機能回路124B及びセレクタ回路124Aを含む
機能ブロック124と、機能回路125B及びセレクタ
回路125Aを含む機能ブロック125が備えられてい
る。
Next, a specific example of the circuit division method will be described with reference to FIG. In the block diagram of the semiconductor integrated circuit shown in FIG. 2, the functional block test input terminal (not shown) and the functional block test output terminal (not shown) are shared by the functional blocks. In the circuit configuration of the conventional example shown in FIG. 2, the functional circuit 122B and the selector circuit 1
22A functional block 122 and functional circuit 123B
And a functional block 123 including a selector circuit 123A
And a functional block 124 including the functional circuit 124B and the selector circuit 124A, and a functional block 125 including the functional circuit 125B and the selector circuit 125A.

【0006】通常動作時においては、入力信号101に
対応して、機能ブロック122、機能ブロック123、
機能ブロック124および機能ブロック125に対して
は、内部バス301によりそれぞれ入力信号128、1
29、130および131が入力され、それぞれの機能
ブロックの出力は内部バス301を経て、出力信号13
6として出力される。また、各機能ブロックのテスト時
においては、機能ブロックテスト用入力信号126は入
力選択回路120により、機能ブロックテスト用入力信
号127を各機能ブロック122、123、124、1
25に振り分ける。ここで、入力選択回路120はテス
トする機能ブロックのみに機能ブロックテスト用入力信
号127を出力する。
In normal operation, the function block 122, the function block 123, and the function block 122 correspond to the input signal 101.
Input signals 128 and 1 are input to the function block 124 and the function block 125 by the internal bus 301, respectively.
29, 130, and 131 are input, and the output of each functional block is sent through the internal bus 301 to the output signal 13
It is output as 6. Further, at the time of testing each functional block, the input signal 126 for functional block test is input by the input selection circuit 120 and the input signal 127 for functional block test is sent to each functional block 122, 123, 124, 1
Distribute to 25. Here, the input selection circuit 120 outputs the functional block test input signal 127 only to the functional block to be tested.

【0007】一方、機能ブロックテスト時の各機能ブロ
ックの出力信号132、133、134、135は出力
選択回路121に入力される。出力選択回路121はテ
ストする機能ブロックの出力を選択して機能ブロックテ
スト用出力信号137として外部に出力する。さらに、
通常に使用する時の入力端子、出力端子とテストの時に
使用するテスト用入力端子、出力端子を共用する方法も
あるが、その説明はここでは省略する。
On the other hand, the output signals 132, 133, 134 and 135 of the respective functional blocks at the time of the functional block test are input to the output selection circuit 121. The output selection circuit 121 selects the output of the functional block to be tested and outputs it as a functional block test output signal 137 to the outside. further,
There is also a method of sharing an input terminal and an output terminal for normal use with a test input terminal and an output terminal used for a test, but the description thereof is omitted here.

【0008】次に図2に示す従来例の構成による半導体
集積回路のテスト時の方法を説明する。まず、通常の入
力信号および出力信号の端子を使用し、半導体集積回路
全体のテストを行う。その際のテストは、一般的には半
導体集積回路全体の機能がテストできる内容のテスト
で、個々の機能ブロックの詳細な機能がテストできるも
のにはなっていない。個々の機能ブロック間の接続、外
部とのインターフェース等のテストが主に行われる。次
に半導体集積回路全体の機能テスト後、個々の機能ブロ
ックの詳細なテストを行う。個々の機能ブロックの詳細
なテストは、外部より直接各機能ブロックに信号を入力
し、それによる各機能ブロックの入力信号を外部にて判
定して行う。
Next, a method for testing the semiconductor integrated circuit having the configuration of the conventional example shown in FIG. 2 will be described. First, a test of the entire semiconductor integrated circuit is performed using normal input signal and output signal terminals. In that case, the test is generally a test that can test the function of the entire semiconductor integrated circuit, and is not a test that can test the detailed function of each functional block. Tests such as connection between individual functional blocks and external interface are mainly performed. Next, after a functional test of the entire semiconductor integrated circuit, a detailed test of each functional block is performed. A detailed test of each functional block is performed by directly inputting a signal to each functional block from the outside and determining the input signal of each functional block by the outside.

【0009】[0009]

【発明が解決しようとする課題】このように従来の半導
体集積回路においては、通常に使用する状態とテストの
時の状態と分離した考えに基づいて構成され、個々の機
能ブロックの詳細なテストは、1つの外部端子を複数の
機能ブロックの通常信号とテスト信号が共用して使用す
る構成となっている。従って複数の機能ブロックのテス
トを同時に行えず個別に行わなければならないため、複
数の機能ブロックを含む回路では、テストパターン数が
多大となるため、テスト時間が長くなり、従ってテスト
効率の低下をまねくと云う欠点を有する。
As described above, the conventional semiconductor integrated circuit is constructed on the basis of the idea that the normally used state and the state at the time of test are separated, and detailed test of each functional block is performed. The configuration is such that one external terminal is commonly used by a normal signal and a test signal of a plurality of functional blocks. Therefore, since a plurality of functional blocks cannot be tested simultaneously and must be performed individually, a circuit including a plurality of functional blocks has a large number of test patterns, resulting in a long test time and thus a decrease in test efficiency. It has a drawback.

【0010】[0010]

【課題を解決するための手段】本発明の特徴は、機能ブ
ロックを少なくとも1つ以上含み、個々の機能ブロック
が自己の機能をテストするためのテスト入力パターンを
記憶するROMと、テスト期待値パターンを記憶するR
OMと、前記2つのROMにアドレスを与えるROMア
ドレス発生回路と、前記テスト入力パターンを機能回路
に入力した場合に機能回路から出力されるテスト出力パ
ターンとテスト期待値パターンを照合するコンパレータ
回路を含むことにある。
A feature of the present invention is that it includes at least one functional block, each functional block stores a test input pattern for testing its own function, and a test expected value pattern. R to remember
An OM, a ROM address generation circuit for giving an address to the two ROMs, and a comparator circuit for collating the test output pattern output from the functional circuit with the test expected value pattern when the test input pattern is input to the functional circuit. Especially.

【0011】本発明の目的は、前述した欠点を除去する
ことにより、機能ブロックを1つ以上含む半導体集積回
路において、各機能ブロックの機能テストを短時間に効
率よく行なうことが出来る半導体集積回路を提供するこ
とにある。
An object of the present invention is to provide a semiconductor integrated circuit including one or more functional blocks capable of efficiently performing a functional test of each functional block in a short time by eliminating the above-mentioned drawbacks. To provide.

【0012】[0012]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。図1は本発明の一実施例の回路の構成図で
ある。
Embodiments of the present invention will now be described with reference to the drawings. FIG. 1 is a block diagram of a circuit of an embodiment of the present invention.

【0013】図1に示されるように機能ブロック1は、
機能回路11と、機能回路11をテストするためのテス
ト入力パターンを記憶しているROM12と、テスト期
待値パターンを記憶しているROM13と、ROM12
とROM13にアドレス信号108を与えるROMアド
レス発生回路15と、テスト入力パターン103を機能
回路11に入力した場合に機能回路11から出力される
テスト出力パターン105とROM13から出力される
テスト期待値パターン104を照合するためのコンパレ
ータ14により構成されている。ここで、半導体集積回
路が機能回路をN個含んでいる場合、機能ブロック2、
3、…、Nは機能ブロック1と同一の構成とする。
The functional block 1 as shown in FIG.
A functional circuit 11, a ROM 12 that stores a test input pattern for testing the functional circuit 11, a ROM 13 that stores a test expected value pattern, and a ROM 12
And a ROM address generation circuit 15 for giving an address signal 108 to the ROM 13, a test output pattern 105 output from the functional circuit 11 when the test input pattern 103 is input to the functional circuit 11, and a test expected value pattern 104 output from the ROM 13. It is constituted by a comparator 14 for collating. Here, when the semiconductor integrated circuit includes N functional circuits, the functional block 2,
, ..., N have the same configuration as the functional block 1.

【0014】本半導体集積回路を通常に使用する場合
と、各機能ブロックのテストをする場合の切り換えを入
力信号TEST107により行う。ここで説明を簡単に
するために、入力信号TEST107をTEST信号と
し、TEST信号107=“1”で本半導体集積回路を
通常に使用し、TEST信号107=“0”で機能回路
のテストを行うものとする。
An input signal TEST107 is used to switch between the normal use of the semiconductor integrated circuit and the test of each functional block. In order to simplify the description here, the input signal TEST107 is used as a TEST signal, the semiconductor integrated circuit is normally used when the TEST signal 107 = "1", and the functional circuit is tested when the TEST signal 107 = "0". I shall.

【0015】本半導体集積回路を通常に使用する場合
は、TEST信号107=“1”で、入力信号101
は、内部バス120を通って入力信号102として機能
ブロック1の機能回路11へ入力され、機能ブロックの
出力信号105は内部バス120に出力信号106とし
て出力される。機能ブロックのテストは、TEST信号
107=“0”により、ROMアドレス発生回路15は
指定アドレスより、ROM12とROM13にアドレス
信号を送り、ROM12は機能回路11へテスト入力パ
ターン103を、ROM13はコンパレータ14へテス
ト期待値パターン104を出力する。コンパレータ14
は、機能回路11のテスト出力パターン105とテスト
期待値パターン104の照合を行い、エラーの判定信号
109(以下、ERR信号とする)と、テストパターン
の終了信号110(以下、END信号とする)を出力す
る。ここで説明を簡単にするために、機能回テストでエ
ラーが発生した場合ERR信号109=“1”を、ま
た、機能回路テストパターンが終了するとEND信号1
10=“1”を、各機能ブロック1,2,…,Nが出力
することとする。
When the semiconductor integrated circuit is normally used, the TEST signal 107 is "1" and the input signal 101
Is input to the functional circuit 11 of the functional block 1 via the internal bus 120 as the input signal 102, and the output signal 105 of the functional block is output to the internal bus 120 as the output signal 106. In the test of the functional block, the TEST signal 107 = "0" causes the ROM address generation circuit 15 to send an address signal to the ROM 12 and the ROM 13 from the designated address. The test expected value pattern 104 is output to. Comparator 14
Compares the test output pattern 105 of the functional circuit 11 with the test expected value pattern 104, and determines an error determination signal 109 (hereinafter referred to as an ERR signal) and a test pattern end signal 110 (hereinafter referred to as an END signal). Is output. To simplify the explanation here, if an error occurs in the functional test, the ERR signal 109 is set to "1", and when the functional circuit test pattern ends, the END signal 1 is output.
Each of the functional blocks 1, 2, ..., N outputs 10 = “1”.

【0016】論理回路16は全機能ブロック1,2,
…,Nから出力されるERR信号109の論理和をER
ROR信号111とし、全機能ブロックから出力される
END信号110の論理積とERROR信号111の論
理和をTC信号112として出力するものとする。全機
能ブロックのテストは、TC信号112=“1”で終了
する。また、いずれかの機能回路でエラーが発生した場
合は、ERROR信号111=“1”を出力して終了す
る。
The logic circuit 16 comprises all functional blocks 1, 2,
..., N is the logical sum of the ERR signals 109 output from N
As the ROR signal 111, the logical product of the END signal 110 output from all the functional blocks and the logical sum of the ERROR signal 111 are output as the TC signal 112. The test of all functional blocks ends with the TC signal 112 = “1”. If an error occurs in any of the functional circuits, the ERROR signal 111 = "1" is output and the process ends.

【0017】ここで、機能回路のテストは、TEST信
号107=“0”を全機能ブロック1,2,…,Nに共
通で入力することにより、全機能回路のテストを同時に
開始し、パターン数の一番多い機能回路のテストが終了
する(全機能回路のテストが終了する)か、いずれかの
機能回路でエラーが発生するまでテストを行う。
Here, in the test of the functional circuits, the test of all the functional circuits is simultaneously started by inputting the TEST signal 107 = "0" to all the functional blocks 1, 2, ... The test is performed until the test of the most functional circuit ends (the test of all the functional circuits ends) or an error occurs in any of the functional circuits.

【0018】[0018]

【発明の効果】以上説明したように本発明の半導体集積
回路においては、各機能回路のテストは、外部端子に本
半導体集積回路を通常に使用する場合と、各機能回路を
テストする場合の切り換えをするためのTEST信号1
07と、全機能ブロック1,2,…,Nのエラー判定を
告げるERROR信号111及び全機能回路のテストが
終了したことを告げるTC信号112の追加だけで行え
るので半導体集積回路の端子数を大幅に削減できる。ま
た、機能回路が複数個存在する場合、TEST信号10
7を全機能回路のテスト回路に共通に入力し、全機能回
路のテストを同時に開始することにより、全機能回路の
エラーが無い場合は、パターン数の最も多い機能回路の
パターン数で決るテスト時間で全機能回路のテストがで
き、いずれかの機能回路でエラーが検出された場合は、
エラーの信号を出力して直ちにテストを終了するので、
テストパターンを流す時間を大幅に削減でき、テストの
効率を高める効果を有する。
As described above, in the semiconductor integrated circuit of the present invention, the test of each functional circuit is switched between the case where the semiconductor integrated circuit is normally used for the external terminal and the case where each functional circuit is tested. TEST signal 1 for
07 and the addition of the ERROR signal 111 for notifying the error judgment of all the functional blocks 1, 2, ..., N and the TC signal 112 for notifying the test of all the functional circuits, the number of terminals of the semiconductor integrated circuit can be greatly increased. Can be reduced to If there are a plurality of functional circuits, the TEST signal 10
By inputting 7 to the test circuits of all functional circuits in common and starting the test of all functional circuits at the same time, if there is no error in all functional circuits, the test time determined by the number of patterns of the functional circuit with the largest number of patterns. If all functional circuits can be tested with and an error is detected in any of the functional circuits,
Since the error signal is output and the test ends immediately,
This has the effect of significantly reducing the time for passing the test pattern and increasing the efficiency of the test.

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

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

【図2】図2は従来の半導体集積回路のブロック図であ
る。
FIG. 2 is a block diagram of a conventional semiconductor integrated circuit.

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

1,2,N 機能ブロック 11 機能回路 12,13 ROM 14 コンパレータ 15 ROMアドレス発生回路 101 入力信号 101,102 入力信号 103 テスト入力パターン 104 テスト期待値パターン 105 テスト出力パターン 106 出力信号 107 TEST信号 108 ROMアドレス信号 109 ERR信号 110 END信号 1,2, N Functional block 11 Functional circuit 12,13 ROM 14 Comparator 15 ROM address generation circuit 101 Input signal 101,102 Input signal 103 Test input pattern 104 Test expected value pattern 105 Test output pattern 106 Output signal 107 TEST signal 108 ROM Address signal 109 ERR signal 110 END signal

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 機能ブロックを少なくとも1つ以上含
み、個々の機能ブロックは自己の機能をテストするため
のテスト入力パターンを記憶するROMと、テスト期待
値パターンを記憶するROMと、前記2つのROMにア
ドレスを与えるROMアドレス発生回路と、前記テスト
入力パターンを機能回路に入力した場合に機能回路から
出力されるテスト出力パターンとテスト期待値パターン
を照合するコンパレータ回路を含むことを特徴とする半
導体集積回路。
1. A ROM including at least one functional block, each functional block storing a test input pattern for testing its own function, a ROM storing a test expected value pattern, and the two ROMs. A semiconductor integrated circuit characterized by including a ROM address generating circuit for giving an address to the test circuit and a comparator circuit for collating the test output pattern output from the functional circuit with the test expected value pattern when the test input pattern is input to the functional circuit. circuit.
JP4118634A 1992-05-12 1992-05-12 Semiconductor integrated circuit Withdrawn JPH05312917A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4118634A JPH05312917A (en) 1992-05-12 1992-05-12 Semiconductor integrated circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4118634A JPH05312917A (en) 1992-05-12 1992-05-12 Semiconductor integrated circuit

Publications (1)

Publication Number Publication Date
JPH05312917A true JPH05312917A (en) 1993-11-26

Family

ID=14741392

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4118634A Withdrawn JPH05312917A (en) 1992-05-12 1992-05-12 Semiconductor integrated circuit

Country Status (1)

Country Link
JP (1) JPH05312917A (en)

Similar Documents

Publication Publication Date Title
US6675336B1 (en) Distributed test architecture for multiport RAMs or other circuitry
JPH05312917A (en) Semiconductor integrated circuit
JPH11211793A (en) Ic tester
JPH06150698A (en) Semiconductor integrated circuit
JP2792327B2 (en) Semiconductor integrated circuit device
JPH05256914A (en) Testing circuit
JP2004069642A (en) Semiconductor integrated circuit device
JP2976621B2 (en) Semiconductor integrated circuit
JPH01293650A (en) Integrated circuit
JPH08184645A (en) Semiconductor integrated circuit and test method therefor
JP2000243916A (en) Semiconductor device
JPH05334899A (en) Semiconductor integrated circuit device
JPH0619803A (en) Memory circuit device
JP2601263Y2 (en) Relief block detection circuit for semiconductor test
JPH1196793A (en) Semiconductor memory test device
JPH04128666A (en) Semiconductor integrated circuit
JPH0362245A (en) Semiconductor integrated circuit
JPH05101694A (en) Test method for semiconductor memory
JPH0675023A (en) Self-diagnostic system for semiconductor memory
JPH08320802A (en) Integrated circuit test circuit
JPH05307900A (en) Semiconductor memory element
JPH04113580A (en) Semiconductor integrated circuit device
JPS63231282A (en) Semiconductor integrated circuit
JPH1055695A (en) Incorporated test circuit
JPH0599987A (en) Test circuit

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990803