JPH1048290A - Semiconductor integrated circuit and method for testing its performance - Google Patents

Semiconductor integrated circuit and method for testing its performance

Info

Publication number
JPH1048290A
JPH1048290A JP8204426A JP20442696A JPH1048290A JP H1048290 A JPH1048290 A JP H1048290A JP 8204426 A JP8204426 A JP 8204426A JP 20442696 A JP20442696 A JP 20442696A JP H1048290 A JPH1048290 A JP H1048290A
Authority
JP
Japan
Prior art keywords
logic block
test
shift register
input
tester
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
JP8204426A
Other languages
Japanese (ja)
Inventor
Tomoaki Takano
知明 高野
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP8204426A priority Critical patent/JPH1048290A/en
Publication of JPH1048290A publication Critical patent/JPH1048290A/en
Pending legal-status Critical Current

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Semiconductor Integrated Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To conduct performance tests on a logical block without delaying the operating speed of the block nor increasing the area of a chip. SOLUTION: A tester 9 is connected to the external terminals 11 and 12 of a chip 1 and a logical block 2 and other logical blocks 3 are integrated in the chip 1. After serial data are stored in a register 4 for test by temporarily stopping the internal clock of the block 2, the internal clock is operated and the value of the clock is read in the block 2. After the block 2 is made to repeat test data reading operations, operated result data are outputted from the block 2 and stored in a register 5 for test. Thereafter, the operated result data are read by means of the tester 9 by operating the clock for shift of a signal line 71 in a state where the internal clock of the block 2 is again stopped and whether or not the block 2 normally operates is discriminated by comparing the operated result data with an expected value.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、外部からテスタに
より動作試験が行われる論理ブロックを内蔵する半導体
集積回路およびその動作試験方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a semiconductor integrated circuit having a built-in logic block for which an operation test is externally performed by a tester, and an operation test method thereof.

【0002】[0002]

【従来の技術】近年の微細化技術の進歩により、半導体
集積回路では、ある特定の働きをする論理ブロックとそ
れに関連する回路あるいは複数の論理ブロックが同一チ
ップ上に集積されるようになってきた。例えば、プログ
ラマブルプロセッサエレメントとメモリとを同一チップ
上に集積したものがある。このような半導体集積回路で
は、一般に論理ブロック毎に試験用のテストデータが作
成されている。そして、同じ論理ブロックが内蔵されて
いる別の半導体集積回路においてもそのテストデータを
使用することにより、テストデータの作成時間を短縮す
ることが行われている。
2. Description of the Related Art With the recent advance in miniaturization technology, in a semiconductor integrated circuit, a logic block having a specific function and a circuit related thereto or a plurality of logic blocks have been integrated on the same chip. . For example, there is one in which a programmable processor element and a memory are integrated on the same chip. In such a semiconductor integrated circuit, test data for testing is generally created for each logical block. In addition, another semiconductor integrated circuit in which the same logic block is built uses the test data to shorten the time for generating the test data.

【0003】しかし、半導体集積回路内の論理ブロック
に外部からテストデータを直接与えることは難しく、そ
のために論理ブロックの動作試験を行うことが困難にな
ってきている。従来、このような論理ブロックの動作試
験は次のようにして行われていた。図3は従来の論理ブ
ロックの第1の動作試験方法を示す説明図である。第1
の動作試験方法では、論理ブロック101内部の全てあ
るいは必要ないくつかのレジスタをシフトレジスタとし
ても使えるように、予め設計時にそのように使用できる
特別なレジスタ(スキャンセル)102を用いる。
However, it is difficult to directly apply test data from an external source to a logic block in a semiconductor integrated circuit, which makes it difficult to perform an operation test on the logic block. Conventionally, an operation test of such a logic block has been performed as follows. FIG. 3 is an explanatory diagram showing a first operation test method of a conventional logic block. First
In the operation test method, a special register (scan cell) 102 that can be used as such at the time of design is used in advance so that all or some necessary registers in the logic block 101 can be used as shift registers.

【0004】図4はシフトレジスタとしても使えるスキ
ャンセル102の構成を示すブロック図である。スキャ
ンセル102では、通常動作時、フリップフロップ10
3の入力に接続されたセレクタ104は”Data i
n”を入力として選択し、クロック”CK”に同期して
データを読み込む。一方、シフトレジスタ動作時、セレ
クタ104は”SI”を入力として選択し、”SI”に
接続されている1つ前のフリップフロップの出力”S
O”の値をクロック”SCK”に同期して読み込む。こ
のようにシフトレジスタとして使えるようにしておき、
そのシフトレジスタの入力と出力とを外部端子に接続し
ておくことにより、外部からシリアル入出力により論理
ブロック内のレジスタに対して任意の値を読み書きする
ことが可能になる。
FIG. 4 is a block diagram showing a configuration of the scan cell 102 which can be used also as a shift register. In the scan cell 102, during normal operation, the flip-flop 10
3 is connected to the input of "Data i
n ”is selected as an input, and data is read in synchronization with the clock“ CK. ”On the other hand, during the shift register operation, the selector 104 selects“ SI ”as an input, and immediately before it is connected to“ SI ”. Output of flip-flop "S"
The value of "O" is read in synchronization with the clock "SCK".
By connecting the input and output of the shift register to an external terminal, an arbitrary value can be read and written from and to the register in the logical block by serial input / output.

【0005】したがって、スキャンセル102を用いて
論理ブロック101を構成することにより、論理ブロッ
ク101の試験に必要な任意の動作を行わせ、その結果
を論理ブロック101から読み込み、テスタ105によ
り期待値と比較することで試験を行うことができる。図
5は従来の論理ブロックの第2の動作試験方法を示す説
明図である。第2の動作試験方法では、論理ブロック2
01の入力および出力に、通常動作時には入力値をその
まま出力し、テスト動作時にはフリップフロップ内の値
を出力するような特別なフリップフロップ(バウンダリ
スキャンセル)202を挿入しておく。このフリップフ
ロップ202はシフトレジスタとしても動作させること
ができ、その入力は外部端子211に接続されている。
このようにフリップフロップ202を論理ブロック20
1の入力経路に挿入しておくことにより、外部のテスタ
205からシリアル入出力により論理ブロック201に
対して論理ブロック201の試験に必要な任意の値を与
えることができる。
Therefore, by configuring the logical block 101 using the scan cell 102, an arbitrary operation required for testing the logical block 101 is performed, the result is read from the logical block 101, and the expected value is compared with the expected value by the tester 105. A test can be performed by comparing. FIG. 5 is an explanatory diagram showing a second operation test method of a conventional logic block. In the second operation test method, the logic block 2
A special flip-flop (boundary scan cell) 202 that outputs the input value as it is during the normal operation and outputs the value in the flip-flop during the test operation is inserted into the input and output 01. The flip-flop 202 can also operate as a shift register, and its input is connected to an external terminal 211.
Thus, the flip-flop 202 is connected to the logic block 20.
By inserting the logic block 201 into one input path, an arbitrary value necessary for testing the logic block 201 can be given to the logic block 201 by serial input / output from the external tester 205.

【0006】また、論理ブロック201の出力経路に挿
入されたフリップフロップ203の値をシリアル出力と
して外部端子212を介して外部のテスタ205に読み
出すことにより、論理ブロック201が正常に動作して
いるかどうかを判別でき、論理ブロック201の動作試
験を行うことができる。
Also, by reading the value of the flip-flop 203 inserted into the output path of the logic block 201 as a serial output to the external tester 205 via the external terminal 212, it is determined whether the logic block 201 is operating normally. Can be determined, and an operation test of the logic block 201 can be performed.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、第1の
動作試験方法を用いるためには、論理ブロック101内
のすべてあるいは一部にシフトレジスタ機能を持つ特別
なレジスタ(スキャンセル)102を用いる必要があ
る。この特別な機能を持つレジスタ102は余分な回路
を持つので、動作速度が遅く、かつチップ面積を増加さ
せてしまうという問題があった。一方、第2の動作試験
方法を用いるためには、論理ブロック201の入力経路
および出力経路の特別なフリップフロップ(バウンダリ
スキャンセル)202、203を挿入しなくてはならな
い。この入力経路と出力経路は通常動作時にも動作させ
る必要があるので、速度的に仕様を満足できるように充
分な大きさのバッファ回路を用いなくてはならない。し
たがって、チップ面積が増加してしまうという問題があ
り、さらにデータ経路に余分な回路が挿入されるので、
速度的にも性能が低下してしまうという問題があった。
また、論理ブロック201の入力、出力端子が双方向の
同一端子である場合にはこのようなバウンダリスキャン
セルを挿入することはできない。
However, in order to use the first operation test method, it is necessary to use a special register (scan cell) 102 having a shift register function in all or a part of the logic block 101. is there. Since the register 102 having this special function has an extra circuit, there is a problem that the operation speed is slow and the chip area is increased. On the other hand, in order to use the second operation test method, special flip-flops (boundary scan cells) 202 and 203 for the input path and the output path of the logic block 201 must be inserted. Since the input path and the output path need to be operated even during the normal operation, a buffer circuit having a sufficient size must be used so as to satisfy the specification in terms of speed. Therefore, there is a problem that the chip area increases, and an extra circuit is inserted in the data path.
There is a problem that the performance is deteriorated also in terms of speed.
If the input and output terminals of the logic block 201 are the same terminal in both directions, such a boundary scan cell cannot be inserted.

【0008】そこで、本発明は、動作速度を遅延させる
ことなくかつチップ面積を増大させることなく論理ブロ
ックの動作試験を行える半導体集積回路およびその動作
試験方法を提供することを目的とする。
An object of the present invention is to provide a semiconductor integrated circuit capable of performing an operation test of a logic block without delaying the operation speed and without increasing the chip area, and an operation test method thereof.

【0009】[0009]

【課題を解決するための手段】上記目的を達成するため
に、本発明の請求項1に係る半導体集積回路は、外部か
らテスタにより動作試験が行われる論理ブロックを内蔵
する半導体集積回路において、前記テスタに入力端子を
介して接続され、該テスタからのテストデータを順次記
憶する入力用シフトレジスタと、該入力用シフトレジス
タを前記論理ブロックの入力ノードに接続する切替回路
と、該接続された入力ノードから前記入力用シフトレジ
スタに記憶されたテストデータを前記論理ブロック内に
読み込む読込回路と、該テストデータが読み込まれ、前
記論理ブロックによって処理された動作結果データを順
次記憶する出力用シフトレジスタとを備え、前記テスタ
は、出力端子を介して前記出力用シフトレジスタから出
力される動作結果データと所定の期待値とを比較するこ
とを特徴とする。
In order to achieve the above object, a semiconductor integrated circuit according to a first aspect of the present invention is a semiconductor integrated circuit having a built-in logic block that is subjected to an operation test by an external tester. An input shift register connected to the tester via an input terminal and sequentially storing test data from the tester; a switching circuit connecting the input shift register to an input node of the logic block; A read circuit that reads test data stored in the input shift register from the node into the logic block; and an output shift register that sequentially stores operation result data from which the test data is read and processed by the logic block. Wherein the tester outputs an operation result output from the output shift register via an output terminal. And comparing the over data with a predetermined expected value.

【0010】また、複数の論理ブロックを内蔵し、前記
動作試験が行われる論理ブロックは他の論理ブロックか
ら前記入力ノードを介してデータ読込自在であり、前記
切替回路は、該入力ノードとの接続を前記他の論理ブロ
ックから前記入力用シフトレジスタに切り替えることが
好ましい。さらに、前記論理ブロックは、前記出力用シ
フトレジスタに順次記憶される動作結果データの書込信
号を生成することが好ましい。請求項4に係る半導体集
積回路の動作試験方法は、内蔵された論理ブロックの動
作試験を外部からテスタにより行う半導体集積回路の動
作試験方法において、前記テスタに入力端子を介して接
続された入力用シフトレジスタに該テスタからのテスト
データを順次記憶し、該入力用シフトレジスタを前記論
理ブロックの入力ノードに接続し、該接続された入力ノ
ードから前記入力用シフトレジスタに記憶されたテスト
データを前記論理ブロック内に読み込み、該テストデー
タが読み込まれ、前記論理ブロックによって処理された
動作結果データを順次出力用シフトレジスタに記憶し、
出力端子を介して前記出力用シフトレジスタから出力さ
れる動作結果データと所定の期待値とを前記テスタによ
り比較することを特徴とする。
In addition, a plurality of logic blocks are built in, and the logic block on which the operation test is performed is capable of reading data from another logic block via the input node, and the switching circuit is connected to the input node. Is preferably switched from the other logic block to the input shift register. Further, it is preferable that the logic block generates a write signal of operation result data sequentially stored in the output shift register. 5. The operation test method for a semiconductor integrated circuit according to claim 4, wherein the operation test of the built-in logic block is performed by an external tester using a tester. The test data from the tester is sequentially stored in a shift register, the input shift register is connected to an input node of the logic block, and the test data stored in the input shift register is read from the connected input node. Read into a logic block, the test data is read, and the operation result data processed by the logic block is sequentially stored in a shift register for output,
The tester compares the operation result data output from the output shift register via an output terminal with a predetermined expected value.

【0011】[0011]

【発明の実施の形態】本発明の半導体集積回路およびそ
の動作試験方法の実施の形態について説明する。図1は
実施の形態における半導体集積回路の構成を示すブロッ
ク図である。本実施の形態における半導体集積回路で
は、チップ1の外部端子11、12に動作試験を行うた
めのテスタ9が接続されている。また、チップ1の内部
には測定対象の論理ブロック2および他の論理ブロック
3が集積されている。論理ブロック2は組合せ回路に限
定されることなく内部にレジスタを含んでいてもよい。
この場合、論理ブロック2の内部に含まれるレジスタと
して単純なフリップフロップを用いることができる。図
2は論理ブロック2の内部に含まれるフリップフロップ
の構成を示すブロック図である。このフリップフロップ
7はDatain端子に入力されるデータをCK端子に
入力されるクロックに同期してDataout端子に出
力する単純なものである。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of a semiconductor integrated circuit and an operation test method thereof according to the present invention will be described. FIG. 1 is a block diagram showing a configuration of the semiconductor integrated circuit according to the embodiment. In the semiconductor integrated circuit according to the present embodiment, a tester 9 for performing an operation test is connected to the external terminals 11 and 12 of the chip 1. A logic block 2 to be measured and another logic block 3 are integrated inside the chip 1. The logic block 2 may include a register inside without being limited to the combinational circuit.
In this case, a simple flip-flop can be used as a register included in the logic block 2. FIG. 2 is a block diagram showing a configuration of a flip-flop included in the logic block 2. The flip-flop 7 is a simple flip-flop that outputs data input to a Datain terminal to a Dataout terminal in synchronization with a clock input to a CK terminal.

【0012】また、論理ブロック2の入力ノード21に
は、トライステートバッファ31を介して論理ブロック
3の出力ノード32が接続されている。さらに、論理ブ
ロック2の入力ノード21には、テスト用レジスタ4の
出力ノード42がトライステートバッファ41を介して
接続されている。一方、論理ブロック2の出力ノード2
2はテスト用レジスタ5の入力ノード51に接続されて
いる。トライステートバッファ31の制御線34には多
入力論理和ゲート36の出力が接続されており、その入
力の1つにはインバータ37を介してテスト制御線61
が接続されている。また、多入力論理和ゲート36の他
の入力には論理ブロック2の制御線23が接続されてい
る。したがって、トライステートバッファ31の制御線
34の信号はテスト制御線61の信号が論理”0”のと
きに常に論理”1”となるので、このとき論理ブロック
3の出力ノード32はフローティング状態となり無効で
ある。
An output node 32 of the logic block 3 is connected to an input node 21 of the logic block 2 via a tri-state buffer 31. Further, the output node 42 of the test register 4 is connected to the input node 21 of the logic block 2 via the tri-state buffer 41. On the other hand, output node 2 of logic block 2
2 is connected to the input node 51 of the test register 5. The output of a multi-input OR gate 36 is connected to the control line 34 of the tristate buffer 31, and one of its inputs is connected to a test control line 61 via an inverter 37.
Is connected. The other input of the multi-input OR gate 36 is connected to the control line 23 of the logic block 2. Therefore, the signal on the control line 34 of the tristate buffer 31 always becomes logic "1" when the signal on the test control line 61 is logic "0". At this time, the output node 32 of the logic block 3 is in a floating state and is invalid. It is.

【0013】一方、トライステートバッファ41の制御
線43は多入力論理和ゲート47の出力に接続されてお
り、その入力の1つにテスト制御線61が直接接続され
ている。多入力論理和ゲート47の他の入力には論理ブ
ロック2の制御線23が接続されている。したがって、
トライステートバッファ41の制御線43の信号は、テ
スト制御線61の信号が論理”0”のときには論理ブロ
ック2の制御線23の信号により制御される。また、テ
スト制御線61の制御信号が論理”1”である場合、ト
ライステートバッファ41の制御線43の信号は常に論
理”1”となり、テスト用レジスタ4の出力ノード42
はフローティング状態となり無効である。このとき、ト
ライステートバッファ31の制御線34の信号は、テス
ト制御線61の信号が論理”1”であるので、論理ブロ
ック2の制御線23により制御される。
On the other hand, the control line 43 of the tri-state buffer 41 is connected to the output of the multi-input OR gate 47, and one of its inputs is directly connected to the test control line 61. The other input of the multi-input OR gate 47 is connected to the control line 23 of the logic block 2. Therefore,
The signal on the control line 43 of the tri-state buffer 41 is controlled by the signal on the control line 23 of the logic block 2 when the signal on the test control line 61 is logic "0". When the control signal on the test control line 61 is logic “1”, the signal on the control line 43 of the tristate buffer 41 is always logic “1”, and the output node 42 of the test register 4 is output.
Is in a floating state and is invalid. At this time, the signal on the control line 34 of the tristate buffer 31 is controlled by the control line 23 of the logic block 2 because the signal on the test control line 61 is logic “1”.

【0014】テスト用レジスタ4およびテスト用レジス
タ5は、シフト用クロックが信号線71から与えられる
ことによりシフトレジスタとして動作する。テスト用レ
ジスタ4の入力端子44およびテスト用レジスタ5の出
力端子55はそれぞれチップ1の外部端子11、12に
接続されており、外部端子11、12には前述したよう
にテスタ9が接続されている。また、テスト用レジスタ
4の出力端子45およびテスト用レジスタ5の入力端子
54はチップ1内部で接続されている。論理ブロック2
の信号線52から書込信号がテスト用レジスタ5に与え
られると、論理ブロック2の動作結果データが出力ノー
ド22からテスト用レジスタ5に書き込まれる。 上記
構成を有する半導体集積回路の論理ブロック2の動作試
験について説明する。動作試験を行う場合、テスト制御
線61の信号は論理”0”である。
The test registers 4 and 5 operate as shift registers when a shift clock is supplied from a signal line 71. The input terminal 44 of the test register 4 and the output terminal 55 of the test register 5 are connected to the external terminals 11 and 12 of the chip 1, respectively, and the tester 9 is connected to the external terminals 11 and 12 as described above. I have. The output terminal 45 of the test register 4 and the input terminal 54 of the test register 5 are connected inside the chip 1. Logical block 2
Is applied to the test register 5 from the signal line 52, the operation result data of the logic block 2 is written to the test register 5 from the output node 22. An operation test of the logic block 2 of the semiconductor integrated circuit having the above configuration will be described. When an operation test is performed, the signal on the test control line 61 is logic “0”.

【0015】また、論理ブロック2の内部クロックを一
旦、停止状態にしてテスト用レジスタ4、5をシフト動
作モードにする。この状態で論理ブロック2に与えたい
データ(テストデータ)をシリアルデータとして外部端
子11から与え、信号線71のシフト用クロックを動作
させてテストデータをテスト用レジスタ4に記憶させ
る。その後、論理ブロック2の内部クロックを動作さ
せ、テストデータを論理ブロック2内に読み込ませる。
このようにして、論理ブロック2にテストデータを読み
込ませる動作を必要回数繰り返した後、その動作結果デ
ータが論理ブロック2から出力される。論理ブロック2
から出力される動作結果データは、出力ノード22から
テスト用レジスタ5に読み込まれて記憶されるが、この
とき、テスト用レジスタ5への書込信号は信号線52を
通じて論理ブロック2から出力される。
Further, the internal clock of the logic block 2 is temporarily stopped, and the test registers 4 and 5 are set to the shift operation mode. In this state, the data (test data) to be given to the logic block 2 is given as serial data from the external terminal 11, and the shift clock on the signal line 71 is operated to store the test data in the test register 4. After that, the internal clock of the logic block 2 is operated to read the test data into the logic block 2.
After the operation of reading test data into the logic block 2 is repeated a required number of times in this way, the operation result data is output from the logic block 2. Logical block 2
Is read from the output node 22 to the test register 5 and stored therein. At this time, a write signal to the test register 5 is output from the logic block 2 through the signal line 52. .

【0016】この後、論理ブロック2の内部クロックを
再び停止させた状態で信号線71のシフト用クロックを
動作させ、テスト用レジスタ5に記憶された動作結果デ
ータをシリアルデータとして外部端子12から出力し、
テスタ9で読み取る。テスタ9は外部端子12から出力
される動作結果データを予め記憶されている期待値と比
較することにより、論理ブロック2が正しく動作したか
否かを判定する。以上示したように、本実施の形態にお
ける半導体集積回路では、論理ブロック2を試験するた
めに準備されたテストデータを論理ブロック2に直接入
力することにより、論理ブロック2に任意の動作をさせ
ることができ、かつ論理ブロック2の動作結果データを
読み出すことができる。したがって、スキャンセルなど
の特別なレジスタを内蔵していないので、半導体集積回
路の動作速度を遅延させることなく、かつチップ面積を
増大させることなく論理ブロックの動作試験を行うこと
ができる。
Thereafter, the shift clock on the signal line 71 is operated while the internal clock of the logic block 2 is stopped again, and the operation result data stored in the test register 5 is output from the external terminal 12 as serial data. And
Read with tester 9. The tester 9 compares the operation result data output from the external terminal 12 with an expected value stored in advance to determine whether the logic block 2 has operated correctly. As described above, in the semiconductor integrated circuit according to the present embodiment, the test data prepared for testing the logic block 2 is directly input to the logic block 2 to cause the logic block 2 to perform an arbitrary operation. And the operation result data of the logic block 2 can be read. Therefore, since a special register such as a scan cell is not incorporated, the operation test of the logic block can be performed without delaying the operation speed of the semiconductor integrated circuit and without increasing the chip area.

【0017】尚、本実施の形態では、論理ブロック2の
入力ノード21と出力ノード22とが異なる場合を示し
たが、入力ノード21と出力ノード22とが同一のノー
ドである場合、つまりテスト用レジスタ4およびテスト
用レジスタ5の働きを同一のテスト用レジスタに行わせ
る場合でも本発明は適用できる。また、本実施の形態で
は、テスト用レジスタ4、5をシフトレジスタとして動
作させる場合、シフトレジスタを構成するレジスタは全
て論理ブロック2に対して入力あるいは出力するもので
あるが、論理ブロック2に対して無関係なレジスタを含
んでいても本発明の動作に支障はない。
In this embodiment, the case where the input node 21 and the output node 22 of the logic block 2 are different is shown. However, when the input node 21 and the output node 22 are the same node, The present invention can be applied to a case where the same test register performs the functions of the register 4 and the test register 5. Further, in this embodiment, when the test registers 4 and 5 are operated as shift registers, all the registers constituting the shift register input or output to the logical block 2. Even if an extraneous register is included, the operation of the present invention is not hindered.

【0018】さらに、テスト用レジスタ4、5は1本の
チェーンとなる場合を示したが、複数のチェーンに分割
された構成にすることも可能である。この場合、テスト
用レジスタ4、5を他の論理ブロック3の試験に使用す
る構成に展開できる。
Further, although the case where the test registers 4 and 5 are formed as a single chain has been described, a configuration in which the test registers are divided into a plurality of chains may be employed. In this case, the test registers 4 and 5 can be expanded to a configuration used for testing another logic block 3.

【0019】[0019]

【発明の効果】本発明の請求項1に係る半導体集積回路
によれば、外部からテスタにより動作試験が行われる論
理ブロックを内蔵し、前記テスタに入力端子を介して接
続された入力用シフトレジスタに該テスタからのテスト
データを順次記憶し、切替回路により該入力用シフトレ
ジスタを前記論理ブロックの入力ノードに接続し、読込
回路により該接続された入力ノードから前記入力用シフ
トレジスタに記憶されたテストデータを前記論理ブロッ
ク内に読み込み、該テストデータが読み込まれ、前記論
理ブロックによって処理された動作結果データを出力用
シフトレジスタに順次記憶し、前記テスタは出力端子を
介して前記出力用シフトレジスタから出力される動作結
果データと所定の期待値とを比較するので、特定の働き
をする1つ以上の論理ブロックを内蔵し、該論理ブロッ
クの動作試験を行うために準備されたテストデータを論
理ブロックに直接入力することにより、論理ブロックに
任意の動作をさせることができ、かつ論理ブロックの動
作結果を読み出すことができる。したがって、スキャン
セルやバウンダリスキャンセルのような特別なレジスタ
を設けなくて済み、論理ブロックの動作速度の遅延およ
びチップ面積の増加を最小限に抑えることができる。
According to the semiconductor integrated circuit according to the first aspect of the present invention, the input shift register includes a logic block for which an operation test is externally performed by a tester and is connected to the tester via an input terminal. The test data from the tester is sequentially stored, the input shift register is connected to the input node of the logic block by the switching circuit, and the input shift register is stored in the input shift register from the connected input node by the read circuit. The test data is read into the logic block, the test data is read, and the operation result data processed by the logic block is sequentially stored in an output shift register. The tester outputs the output shift register via an output terminal. Is compared with a predetermined expected value, so that one or more of the The logic block has a built-in logic block, and by directly inputting test data prepared for performing an operation test of the logic block to the logic block, the logic block can be arbitrarily operated, and the operation result of the logic block can be obtained. Can be read. Therefore, it is not necessary to provide a special register such as a scan cell or a boundary scan cell, so that a delay in the operation speed of the logic block and an increase in the chip area can be minimized.

【0020】請求項2に係る半導体集積回路によれば、
複数の論理ブロックを内蔵し、前記動作試験が行われる
論理ブロックは他の論理ブロックから前記入力ノードを
介してデータ読込自在であり、前記切替回路は、該入力
ノードとの接続を前記他の論理ブロックから前記入力用
シフトレジスタに切り替えるので、論理ブロックが複数
存在しても、特定の論理ブロックの動作試験だけを有効
に行うことができる。請求項3に係る半導体集積回路に
よれば、前記論理ブロックは、前記出力用シフトレジス
タに順次記憶される動作結果データの書込信号を生成す
るので、出力用シフトレジスタへの書込信号を生成する
回路を別に設けなくて済み、チップ面積の増加を抑える
ことができる。
According to the semiconductor integrated circuit of the second aspect,
A plurality of logic blocks are incorporated, and the logic block on which the operation test is performed is capable of reading data from another logic block via the input node, and the switching circuit sets a connection with the input node to the other logic block. Since the block is switched to the input shift register, even if there are a plurality of logical blocks, only the operation test of a specific logical block can be effectively performed. According to the semiconductor integrated circuit of the third aspect, the logic block generates the write signal of the operation result data sequentially stored in the output shift register, and thus generates the write signal to the output shift register. It is not necessary to provide a separate circuit, and an increase in chip area can be suppressed.

【0021】請求項4に係る半導体集積回路の動作試験
方法によれば、内蔵された論理ブロックの動作試験を外
部からテスタにより行う半導体集積回路の動作試験方法
において、前記テスタに入力端子を介して接続された入
力用シフトレジスタに該テスタからのテストデータを順
次記憶し、該入力用シフトレジスタを前記論理ブロック
の入力ノードに接続し、該接続された入力ノードから前
記入力用シフトレジスタに記憶されたテストデータを前
記論理ブロック内に読み込み、該テストデータが読み込
まれ、前記論理ブロックによって処理された動作結果デ
ータを順次出力用シフトレジスタに記憶し、出力端子を
介して前記出力用シフトレジスタから出力される動作結
果データと所定の期待値とを前記テスタにより比較する
ので、論理ブロックの動作速度の遅延およびチップ面積
の増加を最小限に抑えることができる。
According to the semiconductor integrated circuit operation test method of the present invention, in the semiconductor integrated circuit operation test method in which the operation test of the built-in logic block is externally performed by a tester, the tester is connected to the tester via an input terminal. The test data from the tester is sequentially stored in the connected input shift register, the input shift register is connected to the input node of the logic block, and the input shift register is stored in the input shift register from the connected input node. The test data is read into the logic block, the test data is read, and the operation result data processed by the logic block is sequentially stored in an output shift register, and output from the output shift register via an output terminal. Since the operation result data is compared with a predetermined expected value by the tester, the logical block Delay in operation speed of and an increase in the chip area can be minimized.

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

【図1】実施の形態における半導体集積回路の構成を示
すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a semiconductor integrated circuit according to an embodiment.

【図2】論理ブロック2の内部に含まれるフリップフロ
ップの構成を示すブロック図である。
FIG. 2 is a block diagram showing a configuration of a flip-flop included in a logic block 2.

【図3】従来の論理ブロックの第1の動作試験方法を示
す説明図である。
FIG. 3 is an explanatory diagram showing a first operation test method of a conventional logic block.

【図4】シフトレジスタとしても使えるスキャンセル1
02の構成を示すブロック図である。
FIG. 4 is a scan cell 1 that can also be used as a shift register.
FIG. 2 is a block diagram showing a configuration of the second embodiment.

【図5】従来の論理ブロックの第2の動作試験方法を示
す説明図である。
FIG. 5 is an explanatory diagram showing a second operation test method of a conventional logic block.

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

1 チップ 2、3 論理ブロック 4、5 テス
ト用レジスタ 9 テスタ 31、41 トライステートバッファ
1 chip 2, 3 logic block 4, 5 test register 9 tester 31, 41 tri-state buffer

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 外部からテスタにより動作試験が行われ
る論理ブロックを内蔵する半導体集積回路において、 前記テスタに入力端子を介して接続され、該テスタから
のテストデータを順次記憶する入力用シフトレジスタ
と、 該入力用シフトレジスタを前記論理ブロックの入力ノー
ドに接続する切替回路と、 該接続された入力ノードから前記入力用シフトレジスタ
に記憶されたテストデータを前記論理ブロック内に読み
込む読込回路と、 該テストデータが読み込まれ、前記論理ブロックによっ
て処理された動作結果データを順次記憶する出力用シフ
トレジスタとを備え、 前記テスタは、出力端子を介して前記出力用シフトレジ
スタから出力される動作結果データと所定の期待値とを
比較することを特徴とする半導体集積回路。
1. A semiconductor integrated circuit having a built-in logic block for which an operation test is performed by a tester from the outside, comprising: an input shift register connected to said tester via an input terminal for sequentially storing test data from said tester; A switching circuit that connects the input shift register to an input node of the logic block; a read circuit that reads test data stored in the input shift register from the connected input node into the logic block; Test data is read, and an output shift register for sequentially storing operation result data processed by the logic block, wherein the tester has operation result data output from the output shift register via an output terminal. A semiconductor integrated circuit characterized by comparing with a predetermined expected value.
【請求項2】 複数の論理ブロックを内蔵し、 前記動作試験が行われる論理ブロックは他の論理ブロッ
クから前記入力ノードを介してデータ読込自在であり、 前記切替回路は、該入力ノードとの接続を前記他の論理
ブロックから前記入力用シフトレジスタに切り替えるこ
とを特徴とする請求項1記載の半導体集積回路。
2. A logic block including a plurality of logic blocks, wherein a logic block on which the operation test is performed is capable of reading data from another logic block via the input node, and wherein the switching circuit is connected to the input node. 2. The semiconductor integrated circuit according to claim 1, wherein the logic circuit is switched from the other logic block to the input shift register.
【請求項3】 前記論理ブロックは、前記出力用シフト
レジスタに順次記憶される動作結果データの書込信号を
生成することを特徴とする請求項1記載の半導体集積回
路。
3. The semiconductor integrated circuit according to claim 1, wherein said logic block generates a write signal of operation result data sequentially stored in said output shift register.
【請求項4】 内蔵された論理ブロックの動作試験を外
部からテスタにより行う半導体集積回路の動作試験方法
において、 前記テスタに入力端子を介して接続された入力用シフト
レジスタに該テスタからのテストデータを順次記憶し、 該入力用シフトレジスタを前記論理ブロックの入力ノー
ドに接続し、 該接続された入力ノードから前記入力用シフトレジスタ
に記憶されたテストデータを前記論理ブロック内に読み
込み、 該テストデータが読み込まれ、前記論理ブロックによっ
て処理された動作結果データを順次出力用シフトレジス
タに記憶し、 出力端子を介して前記出力用シフトレジスタから出力さ
れる動作結果データと所定の期待値とを前記テスタによ
り比較することを特徴とする半導体集積回路の動作試験
方法。
4. An operation test method for a semiconductor integrated circuit in which an operation test of a built-in logic block is performed by an external tester, wherein test data from the tester is supplied to an input shift register connected to the tester via an input terminal. The input shift register is connected to an input node of the logic block, and the test data stored in the input shift register is read from the connected input node into the logic block, and the test data is read. Are read and the operation result data processed by the logic block are sequentially stored in an output shift register, and the operation result data output from the output shift register via an output terminal and a predetermined expected value are compared with the tester. An operation test method for a semiconductor integrated circuit, characterized in that the operation is compared by:
JP8204426A 1996-08-02 1996-08-02 Semiconductor integrated circuit and method for testing its performance Pending JPH1048290A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8204426A JPH1048290A (en) 1996-08-02 1996-08-02 Semiconductor integrated circuit and method for testing its performance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8204426A JPH1048290A (en) 1996-08-02 1996-08-02 Semiconductor integrated circuit and method for testing its performance

Publications (1)

Publication Number Publication Date
JPH1048290A true JPH1048290A (en) 1998-02-20

Family

ID=16490349

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8204426A Pending JPH1048290A (en) 1996-08-02 1996-08-02 Semiconductor integrated circuit and method for testing its performance

Country Status (1)

Country Link
JP (1) JPH1048290A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011228725A (en) * 2000-06-05 2011-11-10 Renesas Electronics Corp Semiconductor device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011228725A (en) * 2000-06-05 2011-11-10 Renesas Electronics Corp Semiconductor device

Similar Documents

Publication Publication Date Title
EP0698849B1 (en) Semiconductor integrated circuit which can be tested by an LSI tester having a reduced number of pins
US7721174B2 (en) Full-speed BIST controller for testing embedded synchronous memories
US6937493B2 (en) Programming flash memory via a boundary scan register
US5574731A (en) Set/reset scan flip-flops
JP2535670B2 (en) Boundary scan cancel for bidirectional input / output terminals
US4912395A (en) Testable LSI device incorporating latch/shift registers and method of testing the same
US20040250165A1 (en) Semiconductor memory device permitting boundary scan test
US7284174B2 (en) Enhanced JTAG interface
JP3363691B2 (en) Semiconductor logic integrated circuit
US6341092B1 (en) Designing memory for testability to support scan capability in an asic design
US6327683B1 (en) Device scan testing
JPH08201484A (en) Semiconductor integrated circuit device
US6381720B1 (en) Test circuit and method for system logic
US5844921A (en) Method and apparatus for testing a hybrid circuit having macro and non-macro circuitry
JPH1048290A (en) Semiconductor integrated circuit and method for testing its performance
KR0170210B1 (en) Test circuit of memory device
JP4416469B2 (en) Semiconductor integrated circuit and design method thereof
JP4610919B2 (en) Semiconductor integrated circuit device
JP2005505781A (en) Automatic scan-based testing of complex integrated circuits
US20020053055A1 (en) Semiconductor device having a test mode
KR100504688B1 (en) Test circuit for semiconductor chip
JPH07174821A (en) Inspecting method for boundery scanning cell and testing circuit
JP2001203322A (en) Semiconductor integrated device
JPH0389178A (en) Semiconductor integrated circuit
JPH0358143A (en) Scan in/out logic circuit for lsi