JPS62229966A - Semiconductor integrated circuit - Google Patents

Semiconductor integrated circuit

Info

Publication number
JPS62229966A
JPS62229966A JP61072844A JP7284486A JPS62229966A JP S62229966 A JPS62229966 A JP S62229966A JP 61072844 A JP61072844 A JP 61072844A JP 7284486 A JP7284486 A JP 7284486A JP S62229966 A JPS62229966 A JP S62229966A
Authority
JP
Japan
Prior art keywords
circuit
signal
output
input
test
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
JP61072844A
Other languages
Japanese (ja)
Inventor
Soichi Kawasaki
川崎 壮一
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP61072844A priority Critical patent/JPS62229966A/en
Publication of JPS62229966A publication Critical patent/JPS62229966A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01LSEMICONDUCTOR DEVICES NOT COVERED BY CLASS H10
    • H01L27/00Devices consisting of a plurality of semiconductor or other solid-state components formed in or on a common substrate
    • H01L27/02Devices consisting of a plurality of semiconductor or other solid-state components formed in or on a common substrate including semiconductor components specially adapted for rectifying, oscillating, amplifying or switching and having potential barriers; including integrated passive circuit elements having potential barriers
    • H01L27/04Devices consisting of a plurality of semiconductor or other solid-state components formed in or on a common substrate including semiconductor components specially adapted for rectifying, oscillating, amplifying or switching and having potential barriers; including integrated passive circuit elements having potential barriers the substrate being a semiconductor body

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • Condensed Matter Physics & Semiconductors (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Tests Of Electronic Circuits (AREA)
  • Testing Or Measuring Of Semiconductors Or The Like (AREA)
  • Semiconductor Integrated Circuits (AREA)

Abstract

PURPOSE: To make the testing process easier while cutting down the testing time by a method wherein an overall circuit as an LSI system is divided into multiple circuit blocks fulfilling the testing functions and simultaneously provided with a test mode generating part to control respective circuit blocks. CONSTITUTION:An overall circuit is divided into multiple circuit blocks 64-67 fulfilling the testing functions and simultaneously provided with a test mode generating part 68 to control the respective circuit blocks. The test mode generating part 68 is provided with a change-over circuit to change-over and select any input signals from outside of blocks in said respective circuit blocks 64-67 and any test input signals transmitted from inside of blocks for feeding them to inner circuits as well as a comparison circuit to compare any output signals from said inner circuits with any signals to be tested transmitted from the inner blocks so that the resultant comparison signals from the comparison circuit may be outputted to outside of blocks for simultaneously testing respective circuit blocks during the testing process. Furthermore, the respective circuit blocks 64-67 can receive control signals BCON l-BCON n from the circuit block through the test mode generating part 68 so that the respective circuit blocks 64-67 may be tested independently.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、カスタムLSI.スタンダードセルLSI.
ゲートアレイなどの半導体集積回路に係り、特にそのテ
ストを容易に行なうことができるように内部回路が複数
ブロックに分割された集積回路に関する。
Detailed Description of the Invention [Object of the Invention] (Industrial Application Field) The present invention is directed to a custom LSI. Standard cell LSI.
The present invention relates to semiconductor integrated circuits such as gate arrays, and particularly to integrated circuits whose internal circuits are divided into a plurality of blocks so that testing thereof can be easily performed.

(従来の技術) LSIの高集積化に伴ない、LSIのテス1・の問題が
深刻化してきている。テストに対して何も考慮を払わな
いと、テス1・がLSIの外部端子からの信号の授受で
行なわれるため、多大なテスト時間,テスト系列が必要
となり、ひどい場合にはテストできないという状況も発
生し得る。
(Prior Art) As LSIs become more highly integrated, the problem of test 1 of LSIs becomes more serious. If no consideration is given to the test, test 1 will be performed by sending and receiving signals from the external terminals of the LSI, which will require a large amount of test time and test series, and in severe cases, the test may not be possible. It can occur.

LSIのテス1・方式には、LSSD,セルフテスト.
回路分割法がある。LSSDとは、l−evelSen
sitive  Scan Designの略で、内部
記憶回路を直列に接続させ、状態を外部から読み囚きで
きる構造にしたもので、テストを組合せ回路として行な
うことができるものである。
LSI test 1 methods include LSSD, self test.
There is a circuit division method. LSSD is l-evelSen
It is an abbreviation for sitive scan design, and has a structure in which internal memory circuits are connected in series so that the state can be read and captured from the outside, and tests can be performed as a combinational circuit.

セルフテストについては、LSI内部に疑似ランダムパ
ターン発生器と出力信号をある規則を用いて圧縮する装
置を内蔵させて、テスト時に1本の出力信号の応答列を
検査する方式が主流である。
As for self-testing, the mainstream method is to incorporate a pseudo-random pattern generator and a device for compressing output signals using a certain rule inside the LSI, and inspect a response string of one output signal during testing.

回路分割法は、LSI内部をいくつかのブロックに分割
しておき、テスト時にそのブロック毎にテストしようと
するものである。
In the circuit division method, the inside of an LSI is divided into several blocks, and each block is tested at the time of testing.

LSSD@施した場合、内部記憶回路が増大すると、そ
れらを外部の直列入出力端子から制御するために、直列
にデータを入出力させる時間がテスト時間の大半を占め
、テスト時間は増大する。
When LSSD@ is applied, as the internal storage circuits increase, the time for serially inputting and outputting data in order to control them from external serial input/output terminals occupies most of the test time, and the test time increases.

例えば内部記憶回路数をN、必要なテスト系列ステップ
数をn,1ステツプのテスト時間を11 。
For example, the number of internal memory circuits is N, the number of required test series steps is n, and the test time for one step is 11.

直列入出力時間を【2とすると、全テスト時間Tは T=n  (2N  t2+  tl)となり、Nが増
大すると本質のテスト時間ntlと比べて膨大となる。
If the serial input/output time is [2], the total test time T is T=n (2N t2+tl), and as N increases, it becomes enormous compared to the essential test time ntl.

疑似ランダムパターン発生器を内蔵させ、それからテス
ト系列を発生させるセルフナス1一方法は、回路が高集
積化されると、パターン発生器は膨大なテス!・パター
ンを発生しなければならず、大きくなり、実用に適さな
いし、テスト時間も長くなってしまう。
Self-Nath 1 method uses a built-in pseudo-random pattern generator to generate a test sequence.As circuits become highly integrated, pattern generators can generate a huge number of tests!・Patterns must be generated, making them large, making them unsuitable for practical use, and increasing test time.

回路分割法を施した場合、テスト時間は、分割ざれたブ
ロック数をM1平均テスト時間をtとすると、Mtとな
り、一般に分割しない時よりも短かくなる。しかし、恐
終的にLSIの外部端子を使ってテストしなければなら
ないので、外部端子数により制約ざれ、外部端子数以上
の入出力信号をもつブロックに分割できない。
When the circuit division method is applied, the test time is Mt, where M1 is the number of divided blocks and t is the average test time, and is generally shorter than when not divided. However, since the external terminals of the LSI must be used for testing eventually, the LSI is limited by the number of external terminals and cannot be divided into blocks having more input/output signals than the number of external terminals.

(発明が解決しようとする問題点) 本,発明は上記したようにテスト時間が長いとかテスト
系列の発生が膨大になるとかブロック分割上の制約が大
きいという問題点を解決すべくなされたもので、テスト
時間の増大を抑えること、およびテスト系列の発生を容
易に行なうことができ、分割ブロックのテスト用端子数
が少なくて済み、ブロック分割上の制約が小さい半導体
!I積回路を提供することを目的とする。
(Problems to be Solved by the Invention) The present invention has been made to solve the above-mentioned problems such as long test times, large number of test sequences, and large restrictions on block division. , a semiconductor that can suppress the increase in test time, easily generate test sequences, requires fewer test terminals in divided blocks, and has fewer restrictions on block division! The purpose of this invention is to provide an I product circuit.

[発明の構成] (問題点を解決するための手段) 本発明の半導体集積回路は、回路全体をそれぞれテスト
は能を持つ複数の回路ブロックlこ分割すると共に各回
路ブロックを制御するためのテストモード発生部を設け
、上記各回路ブロックにおいてはブロック外部からの入
力信号とブロック内部で発生したテスト入力信号とを切
換選択して内部回路に供給するための切換回路を設け、
また上記内部回路からの出力信号とブロック内部で発生
したテスト期待信号とを比較する比較回路を設(す、比
較回路の比較結果信号をブロック外部に出力するように
構成し、テスト時には各回路ブロックを同時にテストし
得るようにしてなることを特徴とする。
[Structure of the Invention] (Means for Solving the Problems) The semiconductor integrated circuit of the present invention is divided into a plurality of circuit blocks each having the ability to test the entire circuit, and a test for controlling each circuit block. A mode generation section is provided, and in each of the circuit blocks, a switching circuit is provided for switching and selecting an input signal from outside the block and a test input signal generated inside the block and supplying the selected signal to the internal circuit,
In addition, a comparison circuit is provided to compare the output signal from the internal circuit and the test expected signal generated inside the block.The comparison result signal of the comparison circuit is configured to be output to the outside of the block. It is characterized by being able to test both at the same time.

(作 用) 礪能テストに際して、各回路ブロックそれぞれにおいて
、入力側ではテスト入力信号を選択して各内部回路に入
力し、出力側では各内部回路の出力信号をそれぞれテス
ト期待信号と比較し、各比較結果信号の論理和をとるこ
とによって各回路ブロックそれぞれのテスト結果の良否
が容易に観測できるようになる。この場合、各回路ブロ
ックを同時にテストするので、テスト時間は回路ブロッ
クの最大テスト時間によりほぼ定まるので、テスト時間
の短縮が可能である。また、各回路ブロックのテストの
ために人、出力端子以外に入力切換用と、出力切換用と
、比較結果信号出力用などの若干の端子を付加するだけ
でよく、回路分割上の制約が少ない。また、回路ブロッ
クの規模の選択によってテストパターンの発生を容易に
行なうことが可能になる。
(Function) During the performance test, in each circuit block, the input side selects a test input signal and inputs it to each internal circuit, and the output side compares the output signal of each internal circuit with the test expected signal. By calculating the logical sum of each comparison result signal, it becomes possible to easily observe whether the test result of each circuit block is good or bad. In this case, since each circuit block is tested at the same time, the test time is approximately determined by the maximum test time of the circuit block, so the test time can be shortened. In addition, in order to test each circuit block, it is only necessary to add a few terminals in addition to the output terminals, such as for input switching, output switching, and comparison result signal output, so there are fewer restrictions on circuit division. . Furthermore, test patterns can be easily generated by selecting the scale of the circuit block.

(実施例) 以下、図面を参照して本発明の一実施例を詳細に説明す
る。
(Example) Hereinafter, an example of the present invention will be described in detail with reference to the drawings.

第1図に示すLSIにおいて、64〜67はLSIシス
テムとしての回路が複数個に分割された回路ブロック、
68はテストモード発生部、69〜71は複数個の外部
入力端子であって、それぞれ対応して入力バッフ?51
〜53を介して各回路ブロック64〜67の信号入力端
に配線されている。72〜74は複数個の外部出力端子
であって、それぞれ対応して出力バッフ754〜56の
出力端が接続され、この出力バッフ754〜56は各回
路ブロック64〜67の信号出力端に配線されている。
In the LSI shown in FIG. 1, 64 to 67 are circuit blocks in which a circuit as an LSI system is divided into a plurality of parts;
68 is a test mode generator, and 69 to 71 are a plurality of external input terminals, each of which has a corresponding input buffer. 51
-53 to the signal input terminals of each circuit block 64-67. Reference numerals 72 to 74 denote a plurality of external output terminals, to which the output terminals of output buffers 754 to 56 are respectively connected, and the output buffers 754 to 56 are wired to the signal output terminals of each circuit block 64 to 67. ing.

75はテスト信号発生タイミング制御用のクロック1信
号CLOCK1用の外部入力端子であって、入力バッフ
757を介して各回路ブロック64〜67のCLOCK
1入力端に接続される。但し、後述するように各回路ブ
ロックのCLOCK1入力端とCLOCKI出力端とは
直結接続されているので、任意の回路ブロックのCLO
CKI出力端と別の回路ブロックのCLOCK1入力端
とを接続してもよい。76は直列出力同期用のクロツク
2信号CLOCK2用の外部入力端子であって、入力バ
ッフ758を介して各回路ブロック64〜67のCLO
CK2入力端に接続されている。この場合、前記CLO
CK1人力と同様に、1つの回路ブロックのCLOCK
2出力端と他の回路ブロックのCLOCK2入力端を接
続してもよい。77はシステムリセット信号RESET
用の外部入力端子であって、入力バッファ59を介して
テストモード発生部68および各回路ブロックのRES
ET入力端に接続されている。このRESET入力端も
後述するように回路ブロック内でRESET出力端に接
続されているので、他の回路ブロックのRESET出力
端と接続してもよい。78.79はテストモード発生部
制御信号C0NT1゜C0NT2用の外部入力端子であ
って、それぞれ対応して入力バッファ60.61を介し
てデス1発生−ド発生部68に接続されている。80は
回路ブロックテスト結果出力CHECKI用の外部出力
端子であり、81は入力検査用直列出力CHECK2用
の外部出力端子である。
75 is an external input terminal for the clock 1 signal CLOCK1 for controlling the test signal generation timing, and the CLOCK signal of each circuit block 64 to 67 is input via an input buffer 757.
Connected to the 1 input terminal. However, as described later, the CLOCK1 input terminal and CLOCKI output terminal of each circuit block are directly connected, so the CLOCK1 input terminal and CLOCKI output terminal of each circuit block are directly connected.
The CKI output terminal and the CLOCK1 input terminal of another circuit block may be connected. 76 is an external input terminal for the clock 2 signal CLOCK2 for serial output synchronization, and is connected to the CLO of each circuit block 64 to 67 via an input buffer 758
Connected to the CK2 input terminal. In this case, the CLO
CLOCK of one circuit block as well as CK1 manual
2 output terminal and the CLOCK 2 input terminal of another circuit block may be connected. 77 is the system reset signal RESET
It is an external input terminal for the test mode generator 68 and the RES of each circuit block via the input buffer 59.
Connected to the ET input terminal. Since this RESET input terminal is also connected to the RESET output terminal within the circuit block as described later, it may be connected to the RESET output terminal of another circuit block. Reference numerals 78 and 79 are external input terminals for test mode generator control signals C0NT1 and C0NT2, which are respectively connected to the D1 and D1 generators 68 via input buffers 60 and 61, respectively. 80 is an external output terminal for circuit block test result output CHECKI, and 81 is an external output terminal for serial output CHECK2 for input inspection.

なお、第1図の回路では、回路ブロックとして図示を簡
略化するために64〜67の4個しか示していないが、
一般的にはnブロック存在する。
In the circuit of FIG. 1, only four circuit blocks 64 to 67 are shown to simplify the illustration, but
Generally, there are n blocks.

そして、回路ブロック64を第1の回路ブロック、回路
ブロック65を第1の回路ブロック、回路ブロック66
を第(Jl+1>の回路ブロック、回路ブロック67を
第nの回路ブロックとして区別する(但し、第5図のタ
イミング図ではブロック1〜nと表記している)ものと
すれば、CHECK1信号およびCHECK2信号は第
1の回路ブロック64から第nの回路ブロック67まで
の順に接続されている。この場合、第1の回路ブロック
64のCHECKlの入力端とCHECK2の入力端と
はどこにも配線されなくなるが、上記CI−IECKI
入力端は接地し、上記CHECK2入力端は外部入力端
子を設けて接続してもよいし、電源に接続してもよいし
、図示の如く接地してもよい。また、第nの回路ブロッ
ク67のCHECK1入力端を第(f+1)の回路ブロ
ック66のCHE CK 1出力端と点線で接続してい
るのは、上記第nの回路ブロック67のCHECK1入
力端は他の回路ブロックのCHECKI出力端と接続さ
れ、第(f+1)の回路ブロック66のCHECKI出
力端は池の回路ブロックのCHECK1入力端と接続さ
れていることを意味する。図中、他の信号の回路ブロッ
ク間接続を点線で示しているのも、上記と同様な意味を
持つものとする。そして、第nの回路ブロック67のC
HECKIの出力端、CHECK2出力端は各対応して
出力バッファ62.63を介して前記CHECKl用外
部出力端子80、CI−(ECK2用外部出力端子81
に接続されている。
Then, the circuit block 64 is a first circuit block, the circuit block 65 is a first circuit block, and the circuit block 66 is a first circuit block.
If we distinguish the circuit block Jl+1> as the circuit block and the circuit block 67 as the n-th circuit block (however, in the timing diagram of FIG. 5, they are indicated as blocks 1 to n), then the CHECK1 signal and the CHECK2 The signals are connected in order from the first circuit block 64 to the n-th circuit block 67. In this case, the input terminals of CHECKl and CHECK2 of the first circuit block 64 are not wired anywhere. , the above CI-IECKI
The input terminal is grounded, and the CHECK2 input terminal may be connected to an external input terminal, may be connected to a power supply, or may be grounded as shown. The CHECK1 input terminal of the n-th circuit block 67 is connected to the CHECK1 output terminal of the (f+1)th circuit block 66 by a dotted line because the CHECK1 input terminal of the n-th circuit block 67 is connected to the CHECK1 output terminal of the (f+1)th circuit block 66 by a dotted line. This means that the CHECKI output terminal of the (f+1)th circuit block 66 is connected to the CHECK1 input terminal of the circuit block 66. In the figure, connections between circuit blocks for other signals are indicated by dotted lines, which have the same meaning as described above. Then, C of the n-th circuit block 67
The HECKI output terminal and the CHECK2 output terminal are connected to the external output terminal 80 for CHECK1 and the external output terminal 81 for CI-(ECK2) via output buffers 62 and 63, respectively.
It is connected to the.

第2図は、第1図中のテストモード発生部68の一具体
例を示しており、155は第1図中の入力バッファ60
が接続されているC0NTl入力端であって、テストモ
ード発生カウンタ152用のクロック信号が入力する。
FIG. 2 shows a specific example of the test mode generator 68 in FIG. 1, and 155 is the input buffer 60 in FIG.
is connected to the C0NTl input terminal, into which a clock signal for the test mode generation counter 152 is input.

154は第1図中の入力バッファ61が接続されるC0
N72入力端であり、バッファ153を介してモード制
御信号MODE3出力端157に接続されている。
154 is C0 to which the input buffer 61 in FIG. 1 is connected.
N72 input terminal, and is connected to the mode control signal MODE3 output terminal 157 via the buffer 153.

156は第1図中の入力バッファ59が接続されるRE
SET入力端であって、前記カウンタ152用のRES
ET信号が入力する。上記カウンタ152のカウンタ出
力Q1〜Q×はデコーダ151に入力し、このデコーダ
151はブロック制御信号′へ−coN1.BOCON
2.・・・BOCONnを出力端160,161. ・
 162から出力し、モード制御信号MODE1゜MO
DE2を出力端158.159から出力する。
156 is an RE to which the input buffer 59 in FIG. 1 is connected.
SET input terminal, RES for the counter 152
ET signal is input. Counter outputs Q1 to Qx of the counter 152 are input to a decoder 151, which outputs the block control signals -coN1. BOCON
2. . . . BOCONn is connected to output terminals 160, 161 .・
162, the mode control signal MODE1゜MO
DE2 is output from output terminals 158 and 159.

したがって、上記テストモード発生81168は、第1
図の外部入力端子78からのC0NTl信号(クロック
信号)によってカウンタ152から上記MODE1.M
ODE2.8CONI。
Therefore, the test mode occurrence 81168 is the first
The above-mentioned MODE1. M
ODE2.8CONI.

BOCON2.−BOCOMn (1)各制御信号を発
生し、第1図の外部入力端子79からのC0NT2信号
(クロック信号)をそのままMODE信号として出力す
る。上記8C(lJl、8CON2゜・・・BCONn
信号の各出力端は第1図の各回路ブロックに対応して接
続され、前記MODE1゜MODE2.MODE31M
(F)各出力mt、を第1EWの回路ブロックをそれぞ
れの各対応する入力端に接続されている。この場合、各
回路ブロックにおいて後述するようにMODE1信号の
人、出力端相互、MODE2信号の人、出力端相互、M
ODE3信号の人、出力端相互が接続されているので、
上記テストモード発生部68のMODE1出力端を回路
ブロックのMODE1出力端に接続Lr、JIJ:<、
MODE2出力端、MODE3出力端についても同様で
ある。
BOCON2. -BOCOMn (1) Generates each control signal and outputs the C0NT2 signal (clock signal) from the external input terminal 79 in FIG. 1 as it is as the MODE signal. Above 8C (lJl, 8CON2゜...BCONn
Each output terminal of the signal is connected correspondingly to each circuit block in FIG. MODE31M
(F) Each output mt is connected to each corresponding input terminal of the circuit block of the first EW. In this case, in each circuit block, as described later, the MODE1 signal, the output terminals mutually, the MODE2 signal terminals, the output terminals mutually, the M
Since the output ends of the ODE3 signal are connected to each other,
Connect the MODE1 output terminal of the test mode generator 68 to the MODE1 output terminal of the circuit block Lr, JIJ:<,
The same applies to the MODE2 output terminal and the MODE3 output terminal.

上記回路ブロック64〜67は同じ構成を有し、それぞ
れたとえば第3図に示すBLOCK↓(1−1〜0)の
ように構成されている。即ち、複数の信号入力端22〜
24(図示の簡略化のため3個としている)は各対応し
て入力信号BINI。
The circuit blocks 64 to 67 have the same configuration, and are each configured as, for example, BLOCK↓(1-1 to 0) shown in FIG. That is, the plurality of signal input terminals 22 to
24 (three are shown for simplicity of illustration) correspond to input signals BINI.

BIN2.8INaが入力し、複数の信号出力端25〜
27(図示の簡略化のため3個としている)は各対応し
て出力信号BOUTI、BOUT2゜BOUTbが出力
するものであり、他の回路ブロックの信号入力端、信号
出力端と接続されている。
BIN2.8INa is input, and multiple signal output terminals 25~
Reference numerals 27 (three for simplicity of illustration) output corresponding output signals BOUTI, BOUT2°BOUTb, and are connected to signal input terminals and signal output terminals of other circuit blocks.

28〜30.36.40.43G、tLS 1システム
共通の制御信号の入力端であって、池の回路ブロックと
の接続を可能とするために各対応して出力端32〜34
,37,41.44に直接接続されている。この場合、
28.32は直列出力同期用のCLOCK2信号の入力
(IN)、出ヵ(OUT>用、29.33は直列切換制
御用のMODE3信号の入力、出力用、30.34は入
力切換用のMODE1信号の入力、出力用、36゜37
は出力切換用のM OD E 2信号の入力、出力用、
40.41はRESET信号の入力、出力用、43.4
4はCLOCK信号の入力、出力用である。35は他の
回路ブロックからの検査用直列出力CHECK2信号が
入力する検査用直列入力端であり、31は他の回路ブロ
ックへ検査用直列出力CHECK2信号を出力する検査
用直列出力端である。39は本回路ブロックのテスト結
果信号CHECK1および他の回路ブロックからCHE
 CK 1入力端を通じて入力するテスト結果信号CH
ECK1用の出力端であって、他の回路ブロックのCH
ECKI入力端に接続される。
28 to 30.36.40.43G, tLS 1 System common control signal input terminal, corresponding output terminals 32 to 34 to enable connection with the circuit block.
, 37, 41.44. in this case,
28.32 is for input (IN) and output (OUT) of CLOCK2 signal for serial output synchronization, 29.33 is for input and output of MODE3 signal for series switching control, 30.34 is MODE1 for input switching For signal input and output, 36°37
is for input and output of MODE 2 signal for output switching,
40.41 is for RESET signal input and output, 43.4
4 is for inputting and outputting the CLOCK signal. Reference numeral 35 denotes a test serial input terminal to which the test serial output CHECK2 signal from another circuit block is input, and 31 indicates a test serial output terminal to output the test serial output CHECK2 signal to the other circuit block. 39 is the test result signal CHECK1 of this circuit block and CHE from other circuit blocks.
Test result signal CH input through CK1 input terminal
Output terminal for ECK1 and CH of other circuit blocks
Connected to the ECKI input terminal.

42は本回路ブロックの制御信号BCON を用の入力
端であって、BCON を信号は第1図中のテストモー
ド発生FA68から与えられる。
Reference numeral 42 denotes an input terminal for receiving the control signal BCON of this circuit block, and the BCON signal is applied from the test mode generation FA 68 in FIG.

前記信号入力端22〜24は各対応して入力回路8〜1
0に接続されており、信号出力端25〜27には各対応
して出力回路16〜18が接続されている。11はテス
ト信号発生部であって詳細は後述するが、前記CLOC
KI入力端43、BCONL入力端42、RESET入
力端4oに接続されると共に前記各入力回路8〜10.
各出力回路16〜18に接続されている。19は多入力
のオアゲートであって、出力回路16〜18がらの比較
結果信号C0UT1〜C0UTbの論理和をとるもので
ある。20は上記オアゲート19のゲート遅延を補正す
るために上記オアゲート19の出力が安定したときの状
態を記憶するための記憶回路(たとえばD型フリップ7
0ツブ回路からなり、そのクロック入力としてCLOC
Klが用いられる)である。46は二人力オアゲートで
あり、本回路ブロックの比較結果、つまり内部デス1〜
結果(上記フリップフロップ回路のQ出力)と他の回路
ブロックからCHECKI人カ端を通じて入力するテス
ト結果(比較結果)の論理和をとるものである。
The signal input terminals 22-24 correspond to input circuits 8-1.
0, and output circuits 16 to 18 are connected to the signal output terminals 25 to 27 in correspondence with each other. Reference numeral 11 denotes a test signal generator, the details of which will be described later, but the CLOC
It is connected to the KI input terminal 43, the BCONL input terminal 42, the RESET input terminal 4o, and the respective input circuits 8 to 10.
It is connected to each output circuit 16-18. Numeral 19 is a multi-input OR gate which calculates the logical sum of the comparison result signals C0UT1 to C0UTb from the output circuits 16 to 18. Reference numeral 20 denotes a memory circuit (for example, a D-type flip 7
It consists of a 0-tube circuit, and CLOC is used as its clock input.
Kl is used). 46 is a two-person OR gate, and the comparison results of this circuit block, that is, internal des1~
The result (Q output of the flip-flop circuit) and the test result (comparison result) input from another circuit block through the CHECKI terminal are logically summed.

第4図は第3図中のテスト信号発生部11の一具体例を
示しており、テスト信号発生ブロック101と、テスト
信号発生ブロック制御用カウンタ102と、デコーダ1
03と、インバータ群(その一部104〜106のみ図
示している)とからなる。基本的には、BCONj信号
4 shows a specific example of the test signal generation section 11 in FIG. 3, which includes a test signal generation block 101, a test signal generation block control counter 102, and a decoder 1.
03, and a group of inverters (only some of them 104 to 106 are shown). Basically, it is a BCONj signal.

RESET信号、CLOCK1信号によりカウンタ10
2が制御され、その状態にしたがってデコーダ103、
テスト信号発生ブロック101の動作により出力状態制
御信号CC1〜ccb、テスト期待信号TOUT1〜T
OUTb 、テスト入力信号TlN1〜TlNaが出力
される。詳細な動作説明は後述するLSIシステムの動
作説明で置き換える。
Counter 10 is activated by RESET signal and CLOCK1 signal.
2 is controlled, and according to the state, the decoder 103,
The operation of the test signal generation block 101 generates output state control signals CC1 to ccb and test expectation signals TOUT1 to TOUT.
OUTb, test input signals TlN1 to TlNa are output. A detailed explanation of the operation will be replaced with an explanation of the operation of the LSI system described later.

一方、前記入力回路8〜1oは同じ構成を有しており、
代表的に入力回路8を詳細に説明する。
On the other hand, the input circuits 8 to 1o have the same configuration,
The input circuit 8 will be described in detail as a representative example.

即ち、この人力回路8は、本回路ブロックの対応するB
IN1人カ端子22がら入力する入力信号BIN1とM
ODE1信号との論理積をとる二人カアンドゲート1と
、上記MODE1信号と前記テスト信号発生部11がら
の対応するテスト人ノ〕信号TlN1との論理和の否定
をとる二人カッアゲート2と、上記2つのゲート1.2
の各出力が入力して本回路ブロックの内部回路に供給す
るための内部入力信号5YSIN1を出力する二人カッ
アゲート3と、上記5YSIN1信号とMODE3信号
とが入力する二人カアンドゲート4と、上記MODE3
信号を反転するインバータ45と、このインバータ45
の出力とCHECK2信号とがとが入力する二人カアン
ドグート5と、上記2つのアンドゲート4,5の各出力
が入力する二人カッアゲート6と、このノアゲート6の
出力がD入力端に入力すると共にクロック入力端GKに
CLOCK2信号が入力してQ出力をCHECK2信号
として出力するD型フリップフロップ(FF)回路7と
からなる。なお、他の入力回路9.・・・10において
は、前記入力信号BIN1(7)代わりに−81N 2
. ・F31 Naが入力し、テスト入力信号TlN1
の代わりにTlN2゜・・・TlNaが入力し、内部入
力信号は5YSIN2、・・・5YSINaである。ま
た、入カ回路8〜10はCHECK2信号が直列に接続
されるものであり、入力回路8はCHECK2信号が本
回路ブロックのCHECK2入力端35から入力し、そ
のC)−IEcK2信号出力が次段の入力回路9に入力
する。そして、この入力回路9のCHECK2信号入力
となり、以下同様なことが繰返され、れている。
That is, this human circuit 8 is connected to the corresponding B of this circuit block.
Input signals BIN1 and M input from IN1 input terminal 22
a two-person AND gate 1 that performs an AND with the ODE1 signal; a two-person AND gate 2 that performs the negative OR of the MODE1 signal and the corresponding test person signal TIN1 from the test signal generator 11; Above two gates 1.2
a two-person gate 3 to which each output of is input and outputs an internal input signal 5YSIN1 to be supplied to the internal circuit of this circuit block; a two-person gate 4 to which the 5YSIN1 signal and MODE3 signal are input; MODE3
an inverter 45 that inverts the signal, and this inverter 45
The output of the AND gate 5 and the CHECK2 signal are input to the two-person gate 5, the output of the two AND gates 4 and 5 is input to the two-person gate 6, and the output of this NOR gate 6 is input to the D input terminal. It consists of a D-type flip-flop (FF) circuit 7 which inputs a CLOCK2 signal to a clock input terminal GK and outputs a Q output as a CHECK2 signal. Note that other input circuits 9. ...10, -81N 2 instead of the input signal BIN1 (7)
..・F31 Na is input, test input signal TlN1
TlN2°...TlNa are input instead of , and the internal input signals are 5YSIN2,...5YSINa. In addition, the input circuits 8 to 10 are connected to the CHECK2 signal in series, and the input circuit 8 receives the CHECK2 signal from the CHECK2 input terminal 35 of this circuit block, and its C)-IEcK2 signal output is connected to the next stage. input to the input circuit 9 of. This becomes the CHECK2 signal input to the input circuit 9, and the same process is repeated thereafter.

次に、上記構成の入力回路8〜10の機能について説明
する。入力信号BIN1〜8INaとテスト信号発生部
11からのテスト入力信号TlN1〜TlNaとはMO
DEI信号により切換選択されて回路ブロックの内部回
路へ内部入力信号SYS I N 1〜SYS I N
aとして供給される。
Next, the functions of the input circuits 8 to 10 having the above configuration will be explained. The input signals BIN1-8INa and the test input signals TIN1-TlNa from the test signal generation section 11 are MO
Internal input signals SYS I N 1 to SYS I N are switched and selected by the DEI signal to the internal circuit of the circuit block.
Supplied as a.

但し、第2図では入力信号BINI〜BINaが選択さ
れたときは逆極性で内部へ供給されるが、回路ブロック
の内部回路をそれに合わせて設計すれば問題はない。そ
して、入力回路8において、5YSIN1信号としCH
ECK2信号とはMODE3信号により切換選択されて
FF回路7に導かれ、CLOCK2信号のタイミングで
入力されて記憶される。このFF回路7のQ出力は次段
の入力回路9に入力され、この入力と5YSIN2信号
とがMODE3信号により切換選択されて入力回路9の
FF回路7に記憶される。
However, in FIG. 2, when the input signals BINI to BINa are selected, they are supplied internally with opposite polarity, but there is no problem if the internal circuit of the circuit block is designed accordingly. Then, in the input circuit 8, the CH
The ECK2 signal is switched and selected by the MODE3 signal, guided to the FF circuit 7, inputted and stored at the timing of the CLOCK2 signal. The Q output of this FF circuit 7 is input to the input circuit 9 at the next stage, and this input and the 5YSIN2 signal are switched and selected by the MODE3 signal and stored in the FF circuit 7 of the input circuit 9.

この入力回路9から最終段の入力回路10まで上記と同
様な動作が行なわれ、最終段の入力回路10のFF回路
7の出力がC)(ECK2出力端31が出力されて他の
回路ブロックのCHECK2入力端35に入力する。
The same operation as above is performed from this input circuit 9 to the input circuit 10 at the final stage, and the output of the FF circuit 7 of the input circuit 10 at the final stage is outputted from the ECK2 output terminal 31, and the other circuit blocks are Input to CHECK2 input terminal 35.

即ち、入力回路8〜10それぞれは、内部入力信号SY
S I N 1〜SYS I NaをMODE3信号に
より任意に定め得るタイミングで記憶し、直列に回路ブ
ロック外部へ出力する機能を持ち、そのとき他の回路ブ
ロックからのia PI比出力入力させることができる
。したがって、複数の回路ブロックを有するLSIシス
テムでは、全ての回路ブロックの内部入力信号を1つの
外部出力端子(第1図81)から直列に取り出してその
観測を行なうことが可能になる。
That is, each of the input circuits 8 to 10 receives the internal input signal SY.
It has a function of storing S I N 1 to SYS I Na at a timing that can be determined arbitrarily by the MODE3 signal and outputting it serially to the outside of the circuit block, and at that time, it is possible to input the ia PI ratio output from other circuit blocks. . Therefore, in an LSI system having a plurality of circuit blocks, it is possible to take out the internal input signals of all the circuit blocks in series from one external output terminal (81 in FIG. 1) and observe them.

また、前記出力回路16〜18は同じ構成を有しており
、代表的に出力回路16を詳細に説明する。即ち、この
出力回路16は、本回路ブロックの内部回路から出力す
る内部出力信号 5YSOLITIとMODE2信号とが入力する二人カ
アンドゲート12と、上記MODE2信号とテスト信号
発生部11からの対応する出力状態制御信号CC1とが
入力する二人カッアゲート13と、上記2つのゲート1
2.13の各出力が入力して出力信号BOtJT1を本
回路ブロックの対応するBOtJT1出力端25に出力
する二人カッアゲート14と、このノアゲー1−14の
出力とテスト信号発生部11からの対応するテスト期待
信号TOUTIとの排他的論理和をとって比較結果信号
C0LJTIを出力する排他的オアゲート15とからな
る。なお、他の出力回路17.・・・18においては、
前記内部出力信号5YSOIJTIの代わり(C8YS
OtJT2. ・5YSOtJTb が入力し、出力状
態制御信号CCIの代わりにCC2,・・・CCbが入
力し、テスト期待信号TOUT1の代わりにTOtJT
2.・・・TOUTbが入力し、出力信号はBOtJT
2.・・・BOIJTbである。
Further, the output circuits 16 to 18 have the same configuration, and the output circuit 16 will be described in detail as a representative. That is, this output circuit 16 includes a two-man AND gate 12 into which the internal output signal 5YSOLITI outputted from the internal circuit of this circuit block and the MODE2 signal are input, and the corresponding output from the MODE2 signal and the test signal generator 11. A two-person gate 13 to which the state control signal CC1 is input, and the two gates 1
2. A two-person gate 14 which receives each output of 13 and outputs an output signal BOtJT1 to the corresponding BOtJT1 output terminal 25 of this circuit block, and a corresponding output from the output of the NOR game 1-14 and the test signal generator 11. It consists of an exclusive OR gate 15 that performs an exclusive OR with the test expectation signal TOUTI and outputs a comparison result signal C0LJTI. Note that other output circuits 17. ...In 18,
Instead of the internal output signal 5YSOIJTI (C8YS
OtJT2.・5YSOtJTb is input, CC2,...CCb is input instead of the output state control signal CCI, and TOtJT is input instead of the test expectation signal TOUT1.
2. ...TOUTb is input, output signal is BOtJT
2. ...BOIJTb.

次に、上記構成の出力回路16〜18のn能について説
明する。回路ブロックの内部回路からの内部出力信号5
YSOtJT1〜5YSOUTbとテスト信号発生部1
1からの出力状態制御信号CGI〜CCbとは、MOD
E2信号により切換選択されて各対応してBO1JT1
〜BOUTb信号としてBOIJTI出力端〜BO1J
Tb出力端に出力される。このとき、5YSOUT1〜
5YSOtJTbが選択されたときは逆極性で出力され
るが、所望の出力極性が得られるように内部は排他的オ
アゲート15により比較され、比較結果信号C0tJT
1が得られる。同様に、BOUT2、・BOLJTb信
号と各対応LTTOUT2゜・・・TOIJTbとが比
較され、比較結果信号C0tJT2.・・・C0tJT
bが得られる。
Next, the functions of the output circuits 16 to 18 having the above configuration will be explained. Internal output signal 5 from the internal circuit of the circuit block
YSOtJT1-5YSOUTb and test signal generator 1
The output state control signals CGI to CCb from MOD
Switching is selected by E2 signal and BO1JT1 corresponds to each
~BOIJTI output terminal ~BO1J as BOUTb signal
It is output to the Tb output terminal. At this time, 5YSOUT1~
When 5YSOtJTb is selected, it is output with the opposite polarity, but internal comparison is performed by an exclusive OR gate 15 to obtain the desired output polarity, and the comparison result signal C0tJT
1 is obtained. Similarly, the BOUT2, ·BOLJTb signals and each corresponding LTTOUT2° · · · TOIJTb are compared, and the comparison result signal C0tJT2. ...C0tJT
b is obtained.

即ち、出力回路16〜18それぞれは、回路ブロック内
部出力信号5YSOUTI〜 5YSOLJTbと出力状態制御信号CC1〜CCbと
を切換選択して回路ブロック外部へ出力する機能と、上
記切yA這択した信号とテスト期待信号TOUTI〜T
OUTbとを比較して比較結果信号cou”ri〜C0
UTbを出力する機能を持つ。
That is, each of the output circuits 16 to 18 has a function of switching and selecting the circuit block internal output signals 5YSOUTI to 5YSOLJTb and output state control signals CC1 to CCb and outputting the selected signals to the outside of the circuit block, and outputting the selected signals and test signals to the outside of the circuit block. Expected signal TOUTI~T
Compare the comparison result signal cou”ri to C0 with OUTb.
It has the function of outputting UTb.

そして、上記比較結果信号cou”ri〜C0UTbは
オアゲート19により論理和がとられ、このオアゲート
1つの出力が安定したときに記憶回路20で記憶され、
この記憶回路20の出力と他の回路ブロックからのCH
EK1入力端38を通じて入力するCHECK1信号と
はオアゲート46により論理和差がとられる。したがっ
て、全ての回路ブロックについてCHECK1出力端を
他の回路ブロックCHECK1入力端に接続するように
順に接続しておくことにより、全回路ブロックのテスト
結果を1つの外部出力端子(第1図80)から取り出し
てそのl!測を行なうことができる。
Then, the comparison result signals cou"ri to C0UTb are logically summed by the OR gate 19, and when the output of one of the OR gates becomes stable, they are stored in the storage circuit 20,
The output of this memory circuit 20 and the CH from other circuit blocks
An OR gate 46 performs a logical OR difference with the CHECK1 signal input through the EK1 input terminal 38. Therefore, by sequentially connecting all circuit blocks so that the CHECK1 output terminal is connected to the CHECK1 input terminal of other circuit blocks, the test results of all circuit blocks can be transmitted from one external output terminal (80 in Fig. 1). Take it out and take it out! measurements can be made.

次に、第1図のLSIシステム全体のテストシーケンス
動作について第5図のタイミングチャートを参照して説
明する。
Next, the test sequence operation of the entire LSI system shown in FIG. 1 will be explained with reference to the timing chart shown in FIG.

外部入力端子77からのRESET信号入力がロウレベ
ル“L IIで全回路がリセットされる。こノトキ、M
ODE1〜MODE3.BCON1〜B CON nの
各信号および全ての回路ブロックにおけるTOU71〜
TOIJTb 、CCI〜CCbの各信号はL°′とな
る。テストモード発生部68は外部入力端子78.79
からのC0NTl。
When the RESET signal input from the external input terminal 77 is at low level "L II", all the circuits are reset.
ODE1~MODE3. TOU71~ in each signal of BCON1~BCONn and all circuit blocks
Each signal of TOIJTb and CCI to CCb becomes L°'. The test mode generator 68 has external input terminals 78 and 79.
C0NTl from.

C0NT2信号が入力すると、BCON1〜BCONn
 、MODEl 〜MODE3(7)各信号ヲタイミン
グ図に示すように発生する。このタイミング図では、C
LOCK1信号の立下りのタイミングで上記制御信号を
発生させているが、CLOCK1信号は外部入力端子7
5からの入力であり、CLOCK1信号の立上りまでに
上記各制御信号が確定されればよい。また、この場合、
第2図に示したテストモード発生部68におけるデコー
ダ151を、カウンタ152の状態にしたがって上記各
制御信号を発生するように設計しておけばよい。なお、
タイミング図において、CLOCKI信号トCL OC
K 2 <M 号トLt 同L; ’)イミングで描か
れているが、載面は全く別であるので非同期でよく、こ
れらに関する説明を以下別別に行なう。
When the C0NT2 signal is input, BCON1 to BCONn
, MODE1 to MODE3 (7) are generated as shown in the timing diagram. In this timing diagram, C
The above control signal is generated at the falling timing of the LOCK1 signal, but the CLOCK1 signal is generated at the external input terminal 7.
It is sufficient that each control signal is determined by the rising edge of the CLOCK1 signal. Also, in this case,
The decoder 151 in the test mode generating section 68 shown in FIG. 2 may be designed to generate each of the above control signals according to the state of the counter 152. In addition,
In the timing diagram, the CLOCKI signal
K 2 <M No. Lt Same L; ') Although they are drawn with timing, since the mounting surfaces are completely different, they may be asynchronous, and these will be explained separately below.

最初に、CLOCK1信号を使用した医能について説明
する。RESET信号がハイレベル“°H′。
First, medical functions using the CLOCK1 signal will be explained. The RESET signal is at high level "°H'.

となり、MODE2信号およびBCON1〜BCONn
信号がL゛′の状態でCLOCKI信号を1発(パルス
)入力すると、全回路ブロック64〜67における出力
状慝制御信号CC1〜ccb  <ブロック毎にbの数
は固有の値を有する)が全て“L”、テスト期待信号T
OUTI〜TOUTb信号が全て“L IIであるので
、全ての出力回路に16〜18における排他的オアゲー
ト15の出力は“L′であり、オアゲート1つの出力が
°゛L′°であり、記憶回路20出力が゛Lパとなり、
各回路ブロックのCHECK1出力はL°′となり、し
たがって回路ブロック67のCHECK1出力は“L 
IIとなる。次に、BCON1信号を゛Hパにすると、
第1の回路ブロック64のテスト信号発生部11内のカ
ウンタ102だけが可動となり、CLOCK1信号をさ
らに6発(パルス)入力すると、TOUTIからTOI
JTbまで順に“H′°となるよう設計しておく。これ
で、第1の回路ブロック64における全ての出力回路1
6〜18内の排他的オア回路15(比較回路)の比較検
査出力がCHECK39に出力される。BCONI信号
からBCONn信号まで順に“H11にすることで、全
回路ブロックの比較回路検査を行なうことが可能である
Therefore, MODE2 signal and BCON1 to BCONn
When the CLOCKI signal is inputted once (pulse) while the signal is in the L' state, the output states of all the circuit blocks 64 to 67 (CC1 to ccb <the number of b has a unique value for each block) are all “L”, test expectation signal T
Since all the OUTI to TOUTb signals are "L II", the output of the exclusive OR gate 15 in all output circuits 16 to 18 is "L", the output of one OR gate is °゛L'°, and the memory circuit 20 output becomes ゛Lpa,
The CHECK1 output of each circuit block is L°', so the CHECK1 output of the circuit block 67 is “L°”.
It becomes II. Next, when the BCON1 signal is set to HIGH,
Only the counter 102 in the test signal generation section 11 of the first circuit block 64 becomes movable, and when six more CLOCK1 signals (pulses) are input, it changes from TOUTI to TOI.
It is designed so that up to JTb it becomes "H'°. Now, all the output circuits 1 in the first circuit block 64
The comparison test output of the exclusive OR circuits 15 (comparison circuits) among the exclusive OR circuits 6 to 18 is output to CHECK39. By sequentially setting the BCONI signal to the BCONn signal to "H11", it is possible to test the comparison circuits of all circuit blocks.

次に各回路ブロックにおけるテスト信号発生部11内の
カウンタ102の値が(b+1)の状態で、CC1〜C
Cb信号を全て“H゛′にし、且つToU丁1〜TOU
Tb信号を全て”H”に’するよう設計しておくと、第
nの回路ブロック67へのCLOCK1信号が1発入力
された後、8CON1〜BCONn信号の全てを’ H
”にしてCLOCKI信号を1発入力すると、全ての回
路ブロックのCC1〜CCム信号は全てH″となる。そ
して、BCON1信号だけH゛とじ、了 BCON 2〜BCONn信号を全4 ” l ”とす
ると、第1の回路ブロック64だけ可動となる。
Next, when the value of the counter 102 in the test signal generating section 11 in each circuit block is (b+1), CC1 to C
Set all Cb signals to “H”, and
If the design is designed so that all Tb signals are set to "H", after one CLOCK1 signal is input to the n-th circuit block 67, all of the 8CON1 to BCONn signals are set to "H".
When the CLOCKI signal is input once with the input voltage set to "H", all the CC1 to CC signals of all circuit blocks become H". Then, if only the BCON1 signal is kept high and all the BCON2 to BCONn signals are set to 4 ``l'', only the first circuit block 64 becomes movable.

CLOCKI信号をさらに1発(パルス)入力すると、
TOUTIからTOUTbまで順にL°′となるように
設計しておけば、最初の1パルスで全てのブロックcc
i〜ccb信号がH″、TOtJT1〜TOUTb信号
カ”H” −c−アルノr前述とは逆レベルでの一致に
よる一致出力11 L ITがCHECK1出力端39
に出力され、さらに続くパルスによって逆レベルでの出
力回路内の比較回路検査出力ii HnがCHECK1
出力端39に出力される。この場合も、舶述したのと同
様にBCONlfi号からBCONn信号まで順にH′
′にすることで、全ての回路ブロックの比較回路検査を
行なう。そして、第nの回路ブロック67の比較回路検
査が終了したら、BCON1〜BCONn信号を全て°
’ l−1”に、そして、MODEI、MODE2信号
を“H″にして全ての回路ブロックを同時にテストし、
テスト結果をCHEKI用の外部出力端子8oに出力す
る。即ち、各ブロックのテスト信号発生部11は、カウ
ンタ102の値がr2b+2Jの状態から、ブロックの
テスト期待信号TOUT1〜TOUTbおよびTlN1
〜TlNaを発生するように設計しておく。そして、必
要なテストパターンの発生後、上記カウンタ102の動
作を停止するように設計しておけば、その回路ブロック
の比較出力はL”で固定するので、全回路ブロックの内
で最大のテストストップ数を持つ回路ブロックのカウン
タ102の動作が停止するまでのパルス数を入力してテ
ストが終了する。
If you input one more CLOCKI signal (pulse),
If you design it so that it is L°' in order from TOUTI to TOUTb, all blocks cc will be
i~ccb signal is H'', TOtJT1~TOUTb signal is ``H'' - c-Alnorr Coincidence output 11 due to coincidence at the opposite level to the above L IT is CHECK1 output terminal 39
The comparison circuit test output ii Hn in the output circuit at the opposite level is output to CHECK1 by the following pulse.
It is output to the output terminal 39. In this case, as described above, the H'
', the comparison circuit test is performed for all circuit blocks. When the comparison circuit test of the n-th circuit block 67 is completed, all the BCON1 to BCONn signals are
'1-1', and set the MODEI and MODE2 signals to 'H' to test all circuit blocks at the same time,
The test result is output to the external output terminal 8o for CHEKI. That is, the test signal generation unit 11 of each block generates the test expected signals TOUT1 to TOUTb and TlN1 of the block from the state where the value of the counter 102 is r2b+2J.
- Designed to generate TlNa. If the counter 102 is designed to stop operating after the necessary test pattern is generated, the comparison output of that circuit block will be fixed at "L", so it will be the largest test stop of all the circuit blocks. The test is completed by inputting the number of pulses until the counter 102 of the circuit block having the number stops operating.

また、各回路ブロックの比較回路テストのとき、各回路
ブロックのBOtJT1〜BOLITb出力端25〜2
7は、CG1〜ccbi@が全で“L ITまたは“H
11であるので、同様に°゛L″またはII HItと
なるから、最終的にLSIの外部出力端子72〜74 
ハ全テ” L ” マtc ハ” H” (!: ナリ
、同時に出力D6(直流)テストが可能である。ざらに
、このとき各回路ブロックの入力信号は不使用なので、
最終的にLSIの外部入力端子69〜71は自由となり
、入力DCテストも可能である。
Also, when testing the comparison circuit of each circuit block, the BOtJT1 to BOLITb output terminals 25 to 2 of each circuit block
7, CG1~ccbi@ are all “LIT” or “H”
11, so similarly it becomes °゛L'' or II HIt, so finally the external output terminals 72 to 74 of the LSI
All outputs "L" Matc "H" (!: Nari, it is possible to test output D6 (DC) at the same time. Roughly speaking, since the input signals of each circuit block are not used at this time,
Finally, the external input terminals 69 to 71 of the LSI become free, and input DC testing is also possible.

但し、上記入力端子の使用は、後述するようにMODE
3は信号を利用するタイミングで若干制約される。
However, the use of the above input terminals is limited to MODE as described later.
3 is somewhat restricted in the timing of using the signal.

なお、上述した各回路ブロックの同時機能テストの所要
時間に比べてそれ以前の比較回路テストの所要時間は僅
かである。
Note that the time required for the previous comparison circuit test is shorter than the time required for the simultaneous functional test of each circuit block described above.

次に、CLOCK2信号を使用した機能について説明す
る。この憬能は各回路ブロックの入力信号検査のための
ものであり、各回路ブロックの検査用直列出力信号はそ
れぞれCHECK2月出力端31から直列に出力される
。したがって、テスト時の任意のタイミングで全回路ブ
ロックの入力駆動している。
Next, functions using the CLOCK2 signal will be explained. This function is for testing input signals of each circuit block, and serial output signals for testing of each circuit block are outputted in series from the CHECK output terminal 31, respectively. Therefore, the inputs of all circuit blocks are driven at arbitrary timing during testing.

RESET信号が°゛[パから゛Hパとなり、CLOC
K1信号が2発入力されるまでは、MODE2信号が”
L”、CG1〜CCb信1を全て“し”′であるので、
全回路ブロックの出力信号BOtJT1〜BOtJTt
lは°゛L′′となる。そこで、LSIの外部入力端子
69〜71を全てL′′にすれば、全回路ブロックの信
号入力端22〜24への入力信号は°“L IIとなる
。したがって、MOED1信号をL”にすれば、全回路
ブロックの入力回路8〜10はLSIシステム入力信号
を選択し、このときMODE3信号を“H”にしてCL
OCE2信号を1発入力すれば、全ての入力回路8〜1
0内の記憶回路(FF回路7)出力はL″となる。そし
て、MODE3信号を゛LパにしてCLOCK2信号の
パルス入力を続ければ、CHECK2用出力端31から
L″が出力され、回路ブロック間の接続検査が可能にな
る。
The RESET signal changes from °゛[pa to ゛Hpa, and CLOC
Until two K1 signals are input, the MODE2 signal is "
L”, CG1 to CCb signal 1 are all “shi”, so
Output signals of all circuit blocks BOtJT1 to BOtJTt
l becomes °゛L''. Therefore, if all the external input terminals 69 to 71 of the LSI are set to L'', the input signals to the signal input terminals 22 to 24 of all circuit blocks become LII. Therefore, if the MOED1 signal is set to L'', For example, input circuits 8 to 10 of all circuit blocks select the LSI system input signal, and at this time, the MODE3 signal is set to "H" and the CL
If one OCE2 signal is input, all input circuits 8 to 1
The output of the memory circuit (FF circuit 7) in 0 becomes L''. Then, if the MODE3 signal is set to L and the pulse input of the CLOCK2 signal is continued, L'' is output from the CHECK2 output terminal 31, and the circuit block It becomes possible to check the connection between

次に、MODEI信号をH”にすると、全回路ブロック
の入力回路8〜10はテスト入力信号TlN1〜TlN
aを選択し、たとえば1010・・・というパターンの
信号をTlN1〜TlNaに用意しておけば、MODE
3信号を°゛HHパ、CLOCK2信号を1発入力すれ
ば、入力回路内の記憶回路(FF回路7)には前記10
10・・・のパターンのデータが記憶され、次に、MO
DE3信月をL°′にしてCLOCK2信号のパルス入
力を続ければ、これら記憶回路(FF回路7)の直列レ
ジスタ動作が行なわれる。
Next, when the MODEI signal is set to H'', the input circuits 8 to 10 of all circuit blocks are connected to test input signals TlN1 to TlN.
If you select a and prepare a signal with a pattern of, for example, 1010... in TlN1 to TlNa, MODE
If the 3 signals are inputted once to HH and CLOCK2 signals, the memory circuit (FF circuit 7) in the input circuit will receive the above 10 signals.
10... patterns of data are stored, and then MO
If the pulse input of the CLOCK2 signal is continued with the DE3 signal set to L°', the serial register operation of these memory circuits (FF circuit 7) is performed.

ざらに、前蓮の全回路ブロックCC7〜ccb信号が全
て“H”、MODE2信号が“L IIのとき、CC1
〜ccb信号が全て゛Lパのときと同様に全回路ブロッ
クの入力回路内の記憶回路(FF回路7)は、MODE
3信号を“H”にしてCLOCK2信号を1発入力すれ
ば、“H″となる。そして、MODE3信号を°゛L°
°にしてCLOCK2信号のパルス入力を続けてCHE
CK2出力端31の゛H″出力を検査することにより、
回路ブロック間の接続検査が可能にナル。MODEl 
、MODE2(ijl ”H” にり。
Roughly speaking, when all the circuit block CC7 to ccb signals of Zenren are all "H" and the MODE2 signal is "L II", CC1
~ Similarly to when all the ccb signals are low, the memory circuit (FF circuit 7) in the input circuit of all circuit blocks is set to MODE.
If the CLOCK 3 signal is set to "H" and one CLOCK2 signal is input, the signal becomes "H". Then, change the MODE3 signal to °゛L°
°, continue inputting pulses of CLOCK2 signal and CHE
By checking the “H” output of the CK2 output terminal 31,
Enables connection inspection between circuit blocks. MODEL
, MODE2 (ijl “H”)

て全回銘ブロックの同時改能テストを行なうどき、〜l
O[)E3信号を”H” にしrCLOCK2信号を1
発入力すると、その時点でのテスト入力信号TlN1〜
TlNaが全ブロックの入力回路内の記憶回路(FF回
路7)に入力され、続いてMODE3信号ヲ” L ”
 1.: L、 T CL OCK 2信号のパルス入
力を続ければ、第nの回路ブロック67からCHECK
2用外部出力端子81にテスト入力信号TlN1〜Tl
Naが直列に出力される。
I am going to do a simultaneous reform test of all the name blocks, ~l
O[) Set the E3 signal to “H” and set the rCLOCK2 signal to 1.
When the output is input, the test input signal TIN1~
TlNa is input to the memory circuit (FF circuit 7) in the input circuit of all blocks, and then the MODE3 signal is "L"
1. : L, T CL OCK If you continue to input the pulse of the 2 signals, CHECK will be output from the nth circuit block 67.
Test input signals TlN1 to Tl are applied to the external output terminal 81 for
Na is output in series.

なお、上述した同時機能テストの時間に比べてそれ以前
のテスト時間は僅かである。
Note that the test time before that is short compared to the time for the above-mentioned simultaneous functional test.

また、以上は全回路ブロックの同時テストの機能につい
て述べたが、本発明では、回路ブロックの制御信号BC
ONI〜BCONnが各回路ブロックで独立にテストモ
ード発生部68がら与えられているので、各回路ブロッ
クの独立テストも可能である。即ち、前記タイミング図
に示した全回路ブロック同時機能テストの後に、各ブロ
ックの独立テストを付加することは、テストモード発生
部68内に独立テストのためのテスト信号発生ブロック
を付加すればよく、容易に実現することができる。この
ような各回路ブロックの独立テストは、LSIの開発段
階でのブロックの評価、不良解析に有効である。
Moreover, although the function of simultaneous testing of all circuit blocks has been described above, in the present invention, the control signal BC of the circuit block
Since ONI to BCONn are independently applied to each circuit block from the test mode generator 68, independent testing of each circuit block is also possible. That is, to add an independent test for each block after the simultaneous functional test of all circuit blocks shown in the timing diagram, it is sufficient to add a test signal generation block for the independent test in the test mode generator 68. This can be easily achieved. Such independent testing of each circuit block is effective for block evaluation and failure analysis during the LSI development stage.

上記実施例のLSIによれば、テスト時間は分割された
回路ブロックの最大テストFR間で済むので、各回路ブ
ロックのテスト時間が同じでブロック数がnであれば、
テスト時間は1/n程度になる。一般に、システム分割
前のテスト系列をmとすれば、n分割後のテスト系列は
n−mn程度になる。また、従来の回路分割法は外部端
子数によって回路分割が大きく制約されるが、本実施例
のLSIシステムは分割された回路ブロックに本来の入
、出力端以外にCHECKI人、出力端、CHECK2
人、出力端、RESET人、出力端、BCON入力端の
7端子を付加するだけで済み、分割上の制約が小さい。
According to the LSI of the above embodiment, the test time is only the maximum test FR of the divided circuit blocks, so if the test time of each circuit block is the same and the number of blocks is n,
The test time will be about 1/n. Generally, if the test sequence before system division is m, the test sequence after n divisions will be approximately n-mn. In addition, in the conventional circuit division method, circuit division is greatly restricted by the number of external terminals, but in the LSI system of this embodiment, in addition to the original input and output terminals, the divided circuit blocks have CHECK terminals, output terminals, and CHECK2 terminals.
It is only necessary to add seven terminals: input terminal, output terminal, RESET terminal, output terminal, and BCON input terminal, and restrictions on division are small.

また、従来の疑似ランダムパターン発生器と出力圧縮装
置をLSIに内蔵させるセルフテスト方法は、LSIシ
ステムを分割して成り立たず、高集積化されたときに対
応できないが、本実施例のLSIシステムはいくら高集
積化されても対応でき、基本構成である回路ブロックを
小規模に設計しておけば、疑似ランダムパターンよりは
るかに秀れているテストパターンの設計が容易であり、
テスト系列の発生が容易になる。また、従来のLSSD
法を施した場合、LSIが高集積化されると内部記憶回
路数が増大し、それらをLSI外部の直列入出力端子で
1IIIJtfOLなければならない制約から、直列に
データを入出力させる時間が無視できなくなり、テスト
時間は高集積化されればされるほど増大する。しかし、
本実施例のLSIではテスト時間は分割された回路ブロ
ックの最大テスト時間程度に抑えられる。ざらに本実施
例のしS!は、基本となる回路ブロックのテスト系列を
開発しておけば、それを使って設計されたLSIシステ
ムについてはテスト系列をそのまま利用でき、LSIr
M発期間の短期間大きく貢献することができ、特に論理
用LSIに適している。
Furthermore, the conventional self-test method of incorporating a pseudo-random pattern generator and output compression device into an LSI cannot be achieved by dividing the LSI system and cannot be applied when the LSI system is highly integrated. No matter how high the level of integration becomes, if the basic circuit block is designed on a small scale, it is easy to design test patterns that are far superior to pseudo-random patterns.
It becomes easier to generate test series. In addition, conventional LSSD
When applying the method, the number of internal memory circuits increases as LSIs become highly integrated, and the time required to input and output data serially is ignored due to the constraint that they must be connected to serial input/output terminals outside the LSI. The higher the degree of integration, the greater the test time. but,
In the LSI of this embodiment, the test time can be suppressed to about the maximum test time of the divided circuit blocks. Roughly this example S! If you develop a test series for the basic circuit blocks, you can use the test series as is for LSI systems designed using it.
It can greatly contribute to the short period of the M generation period, and is particularly suitable for logic LSIs.

なお、前記実施例では、テスト結果出力CHECKIの
観測を行なうための外部出カ端子を設けたが、このCH
ECKlの観測を製品テストより前の製造過程での検査
工程でのみ行なう場合にはチップ上あるいはウェハ上に
設けたパッドを用いればよい。CHECK2用外部出力
端子についても同様である。
In the above embodiment, an external output terminal was provided for observing the test result output CHECKI, but this CH
If ECKl is to be observed only in an inspection step in the manufacturing process prior to product testing, pads provided on the chip or wafer may be used. The same applies to the external output terminal for CHECK2.

[発明の効果] 上述したように本光明の半導体集積回路によれば、テス
ト時間の増大を抑えること、および系列の発生を容易に
行なうことができ、分割ブロックのテスト用端子数が少
なくて済み、ブロック分割上の制約が小さいので、たと
えば論理LSIに適用してその開発、ffi産の過程で
のテストに際して極めて有効である。
[Effects of the Invention] As described above, according to Komei's semiconductor integrated circuit, it is possible to suppress an increase in test time, to easily generate sequences, and to reduce the number of test terminals of divided blocks. Since there are few restrictions on block division, it is extremely effective when applied to, for example, a logic LSI and tested during its development and FFI production.

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

第1図は本発明の一実施例であるLSIを簡略的に示す
構成説明図、第2図は第1図中のテストモード発生部の
一具体例を示すブロック図、第3図は第1図中の回路ブ
ロックの11[1i1を代表的に示す構成説明図、第4
図は第3図中のテスト信号発生部の一具体例を示すブロ
ック 図、第5図は第1図のLSIのテストシーケンス
の一例を示すタイミングチャートである。 1.2.3・・・第1の切換用グー1〜.4.5.6゜
45・・・第2の切換回路用ゲート、7・・・記憶回路
(FF回路)、8〜10・・・入力回路、11・・・テ
スト信号発生部、12,13.14・・・出力切換回路
用ゲート、15・・・比較回路、16〜18・・・出力
回路、19.46・・・オアゲート、22〜24・・・
信号入力端、25〜27・・・信号出力端、31・・・
検査用直列出力端、35・・・検査用直列入力端、38
・・・比較結果入力端、39・・・比較結果出力端、6
4〜67・・・回路ブロック、68・・・テストモード
発生部、69〜71・・・外部入力端子、72〜74・
・・外部出力端子、80・・・テスト結果出力用外部端
子、81・・・検査用直列出力用外部端子。 出願人代理人 弁理士 鈴江武彦 手続補正書 昭和61【5・百9日
FIG. 1 is a configuration explanatory diagram schematically showing an LSI that is an embodiment of the present invention, FIG. 2 is a block diagram showing a specific example of the test mode generating section in FIG. 1, and FIG. A configuration explanatory diagram representatively showing circuit block 11 [1i1 in the figure, No. 4
This figure is a block diagram showing a specific example of the test signal generation section in FIG. 3, and FIG. 5 is a timing chart showing an example of the test sequence of the LSI shown in FIG. 1. 1.2.3...First switching goo 1~. 4.5.6゜45... Second switching circuit gate, 7... Memory circuit (FF circuit), 8-10... Input circuit, 11... Test signal generation section, 12, 13 .14... Output switching circuit gate, 15... Comparison circuit, 16-18... Output circuit, 19.46... OR gate, 22-24...
Signal input terminal, 25-27...Signal output terminal, 31...
Serial output terminal for inspection, 35...Series input terminal for inspection, 38
...Comparison result input terminal, 39...Comparison result output terminal, 6
4-67...Circuit block, 68...Test mode generation section, 69-71...External input terminal, 72-74...
...External output terminal, 80...External terminal for outputting test results, 81...External terminal for serial output for inspection. Applicant's agent Patent attorney Takehiko Suzue Procedural amendment 1986 [5.109 days]

Claims (4)

【特許請求の範囲】[Claims] (1)複数に分割された回路ブロック群およびこれらに
共通のテスト制御信号を供給するためのテストモード発
生部を有し、上記各回路ブロックにおいては複数の信号
入力端に各対応して入力回路を設けると共に複数の信号
出力端に各対応して出力回路を設け、これらの入力回路
群および出力回路群に各別にテスト信号を供給するため
のテスト信号発生部を設け、上記各入力回路においては
前記信号入力端からの入力信号と前記テスト信号発生部
からのテスト入力信号とを前記テストモード発生部から
のテスト制御信号MODE1によつて切換選択して選択
出力を前記回路ブロックの内部回路の入力信号として供
給する第1の切換回路を設け、前記各出力回路において
は前記内部回路の出力信号と前記テスト信号発生部から
のテスト期待信号とを比較して比較結果信号を出力する
比較回路を設け、前記各回路ブロックにおいて各出力回
路の比較結果信号それぞれと比較結果入力端を通じて入
力する他の回路ブロックからの比較結果論理和出力との
論理和をとって比較結果論理和信号を比較結果出力端に
出力する論理和回路を設け、前記各回路ブロックにおけ
る比較結果入力端、比較結果出力端間の経路を全体とし
て直列に接続し、最終段の回路ブロックの比較結果出力
端を1つの集積回路外部端子に接続してなることを特徴
とする半導体集積回路。
(1) It has a group of circuit blocks divided into a plurality of blocks and a test mode generation section for supplying a common test control signal to these blocks, and each circuit block has an input circuit corresponding to a plurality of signal input terminals. At the same time, an output circuit is provided corresponding to each of the plurality of signal output terminals, and a test signal generating section is provided for supplying a test signal to each of these input circuit groups and output circuit groups, and in each of the above input circuits, The input signal from the signal input terminal and the test input signal from the test signal generation section are switched and selected by the test control signal MODE1 from the test mode generation section, and the selected output is input to the internal circuit of the circuit block. A first switching circuit is provided for supplying the signal as a signal, and each of the output circuits is provided with a comparison circuit that compares the output signal of the internal circuit and the test expected signal from the test signal generation section and outputs a comparison result signal. , in each of the circuit blocks, the comparison result signal of each output circuit is logically summed with the comparison result OR output from the other circuit block inputted through the comparison result input terminal, and the comparison result OR signal is outputted to the comparison result output terminal. The paths between the comparison result input terminal and the comparison result output terminal in each of the circuit blocks are connected in series, and the comparison result output terminal of the final stage circuit block is connected to the outside of one integrated circuit. A semiconductor integrated circuit characterized by being connected to a terminal.
(2)前記各出力回路において、前記内部回路の出力信
号と前記テスト信号発生部からの出力状態制御信号とを
前記テストモード発生部からのテスト制御信号MODE
2によつて切換選択し、この選択出力を回路ブロックの
対応する信号出力端に出力すると共に前記比較回路の一
方の入力とする出力切換回路とをさらに具備してなるこ
とを特徴とする前記特許請求の範囲第1項記載の半導体
集積回路。
(2) In each of the output circuits, the output signal of the internal circuit and the output state control signal from the test signal generation section are connected to the test control signal MODE from the test mode generation section.
2, and outputs the selected output to the corresponding signal output terminal of the circuit block, and also serves as one input of the comparison circuit. A semiconductor integrated circuit according to claim 1.
(3)前記各入力回路において、前記切換回路の選択出
力と別に入力する検査用直列入力とを前記テストモード
発生部からのテスト制御信号 MODE3によって切換選択する第2の切換回路を設け
、この第2の切換回路の選択出力を記憶して記憶出力を
検査用直列出力とする記憶回路を設け、前記各回路ブロ
ックにおいて1個の検査用直列入力端と1個の検査用出
力端との間に前記各入力回路の検査用直列入力と検査用
直列出力との間の経路を直列に接続し、さらに各回路ブ
ロックにおける前記1個の検査用直列入力端と1個の検
査用出力端との間の経路を全体として直列に接続し、最
終段の回路ブロックの検査用直列出力端を1つの集積回
路の外部端子に接続してなることを特徴とする前記特許
請求の範囲第1項または第2項記載の半導体集積回路。
(3) In each of the input circuits, a second switching circuit is provided which switches and selects the selected output of the switching circuit and a separately input test serial input using the test control signal MODE3 from the test mode generator; A memory circuit is provided that stores the selected output of the switching circuit No. 2 and uses the stored output as a serial output for testing, and in each of the circuit blocks, a storage circuit is provided between one serial input terminal for testing and one output terminal for testing. The paths between the serial input for testing and the serial output for testing of each of the input circuits are connected in series, and further between the one serial input terminal for testing and one output terminal for testing in each circuit block. The circuit blocks are connected in series as a whole, and the test serial output terminal of the circuit block at the final stage is connected to an external terminal of one integrated circuit. Semiconductor integrated circuit described in Section 1.
(4)前記テストモード発生部は、前記回路ブロックを
同時に駆動制御するモードと各回路ブロックを独立に駆
動制御するモードとを有し、モード切換が可能であるこ
とを特徴とする前記特許請求の範囲第1項記載の半導体
集積回路。
(4) The test mode generating section has a mode in which the circuit blocks are simultaneously driven and controlled and a mode in which each circuit block is independently driven and controlled, and the mode can be switched. A semiconductor integrated circuit according to scope 1.
JP61072844A 1986-03-31 1986-03-31 Semiconductor integrated circuit Pending JPS62229966A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61072844A JPS62229966A (en) 1986-03-31 1986-03-31 Semiconductor integrated circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61072844A JPS62229966A (en) 1986-03-31 1986-03-31 Semiconductor integrated circuit

Publications (1)

Publication Number Publication Date
JPS62229966A true JPS62229966A (en) 1987-10-08

Family

ID=13501102

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61072844A Pending JPS62229966A (en) 1986-03-31 1986-03-31 Semiconductor integrated circuit

Country Status (1)

Country Link
JP (1) JPS62229966A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5802007A (en) * 1995-11-17 1998-09-01 Nec Corporation Semiconductor device having redundancy controlling circuit for selectively connecting signal paths to pin

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5802007A (en) * 1995-11-17 1998-09-01 Nec Corporation Semiconductor device having redundancy controlling circuit for selectively connecting signal paths to pin

Similar Documents

Publication Publication Date Title
US3783254A (en) Level sensitive logic system
US5325367A (en) Memory device containing a static ram memory that is adapted for executing a self-test, and integrated circuit containing such a device as an embedded static ram memory
US5138619A (en) Built-in self test for integrated circuit memory
JP3291350B2 (en) Equipment for testing digital systems
JP3216449B2 (en) Self-diagnosis device for semiconductor memory failure
EP0023972A2 (en) A system of functional units for performing logic functions
WO1985001825A1 (en) A scannable asynchronous/synchronous cmos latch
JPH02181676A (en) Interface scan testing cell
JPS60147660A (en) Linear feedback shift register
US6870392B2 (en) Method for generating test signals for an integrated circuit and test logic unit
US5809039A (en) Semiconductor integrated circuit device with diagnosis function
JPS63243890A (en) Semiconductor integrated circuit device
US5390189A (en) Semiconductor integrated circuit
JPS62229966A (en) Semiconductor integrated circuit
KR19990024827A (en) Signature compression method and circuit
JP2002236145A (en) Test cell circuit
KR100396096B1 (en) Test circuit for semiconductor integrated circuit
JPS61247984A (en) Test circuit
KR100728943B1 (en) A semiconductor memory device with self test mode
JPH026772A (en) Integrated circuit
JPH06102327A (en) Memory built-in type semiconductor integrated circuit and logical design method therefor
JP2002196047A (en) Bist circuit built-in semiconductor integrated circuit device and testing method for it
JP2002139557A (en) Semiconductor device
JPH01221686A (en) Semiconductor integrated circuit
JP2874248B2 (en) Electronic circuit with scan path for diagnostics