JPH0560843A - Self-test circuit - Google Patents

Self-test circuit

Info

Publication number
JPH0560843A
JPH0560843A JP3250498A JP25049891A JPH0560843A JP H0560843 A JPH0560843 A JP H0560843A JP 3250498 A JP3250498 A JP 3250498A JP 25049891 A JP25049891 A JP 25049891A JP H0560843 A JPH0560843 A JP H0560843A
Authority
JP
Japan
Prior art keywords
test
data
circuit
comparison
self
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.)
Granted
Application number
JP3250498A
Other languages
Japanese (ja)
Other versions
JP2940257B2 (en
Inventor
Jun Koike
純 小池
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP3250498A priority Critical patent/JP2940257B2/en
Publication of JPH0560843A publication Critical patent/JPH0560843A/en
Application granted granted Critical
Publication of JP2940257B2 publication Critical patent/JP2940257B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)

Abstract

PURPOSE:To obtain a self-test circuit which can reduce a ratio of area in an IC device. CONSTITUTION:A linear feedback shift register (LFSR) 4 allows a test input data 7 to be input to a circuit 5 to be tested. A signature register (MISR) 6 compresses a test result data 8 which is output from the circuit 5 to be tested and then outputs it. A data comparison circuit 1 compares an output of an LFSR 4 with a comparison data 2 and then outputs a test end signal 3 based on the comparison result. The test end signal 3 allows operation of the LFSR 4 and the MISR 6 to be stopped. The circuit configuration is simpler than a conventional circuit where the number of input data is counted by a counter and execution of a test is stopped automatically based on this count value.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は特にICデバイスに内蔵
された状態でリニアフィードバックシフトレジスタ(以
下、LFSRという)及びシグネチャレジスタ(以下、
MISRという)を使用してテストを実行し、このテス
トの実行を自動的に停止するセルフテスト回路に関す
る。
BACKGROUND OF THE INVENTION The present invention particularly relates to a linear feedback shift register (hereinafter referred to as LFSR) and a signature register (hereinafter referred to as LFSR) when incorporated in an IC device.
MISR) to execute a test and automatically stop the execution of this test.

【0002】[0002]

【従来の技術】従来、この種のセルフテスト回路におい
ては、疑似乱数の発生回路としてLFSRの出力を使用
し、このLFSRの出力に基づくテスト結果をMISR
でデータ圧縮した後にシグネチャとして期待値と比較す
る。そして、一般的に、アップカウンタ及びダウンカウ
ンタ等のカウンタでテストの実行回数をカウントし、こ
のカウント値が所要回数となったときにテストの実行を
自動的に停止する。(日経エレクトロニクス「テストを
容易にする論理LSIの設計法」、1983年6月20
日版、123乃至133頁、及び岩波書店 岩波講座
情報科学4「情報と符号の論理」、143乃至155
頁)
2. Description of the Related Art Conventionally, in this type of self-test circuit, the output of the LFSR is used as a pseudo-random number generating circuit, and the test result based on the output of this LFSR is used as the MISR.
After compressing the data with, compare it with the expected value as a signature. Then, generally, the number of test executions is counted by a counter such as an up counter and a down counter, and when the count value reaches the required number, the test execution is automatically stopped. (Nikkei Electronics "Design Method of Logic LSI for Easy Test", June 20, 1983
Japanese edition, pages 123 to 133, and Iwanami Shoten Iwanami Course
Information Science 4 "The Logic of Information and Codes", 143-155
page)

【0003】[0003]

【発明が解決しようとする課題】上述した従来のセルフ
テスト回路においては、テストの実行を自動的に停止す
るためのカウンタを設ける必要があり、複数個のテスト
回路に対応させて複数個のカウンタを設ける必要があ
る。このため、ICデバイスに内蔵された被テスト回路
に対するセルフテスト回路の面積の割合が大きくなると
いう問題点がある。
In the above-mentioned conventional self-test circuit, it is necessary to provide a counter for automatically stopping the execution of the test, and a plurality of counters corresponding to a plurality of test circuits are required. Need to be provided. Therefore, there is a problem that the ratio of the area of the self-test circuit to the circuit under test built in the IC device increases.

【0004】本発明はかかる問題点に鑑みてなされたも
のであって、ICデバイスにおける面積の割合を低減す
ることができるセルフテスト回路を提供することを目的
とする。
The present invention has been made in view of the above problems, and an object of the present invention is to provide a self-test circuit capable of reducing the area ratio of an IC device.

【0005】[0005]

【課題を解決するための手段】本発明に係るセルフテス
ト回路は、被テスト回路への入力データを生成するnビ
ット(n;正の整数)のリニアフィードバックシフトレ
ジスタと、前記被テスト回路の出力データをデータ圧縮
するシグネチャレジスタとを備えたセルフテスト回路に
おいて、前記入力データの最長周期(2n −1)までの
データ系列の中でi番目(i;1乃至2n −1の正の整
数)の任意のデータを記憶する記憶手段と、前記任意の
データと前記入力データとを比較する比較手段と、この
比較手段の比較結果に基づいて前記リニアフィードバッ
クシフトレジスタ及び前記シグネチャレジスタの動作を
停止させる制動手段とを有することを特徴とする。
A self-test circuit according to the present invention comprises an n-bit (n; positive integer) linear feedback shift register for generating input data to the circuit under test, and an output of the circuit under test. in self-test circuit that includes a signature register for data compression data, i-th among the data series of the up to the period of the input data (2 n -1) (i; 1 to the 2 n -1 positive integer ) Storing means for storing arbitrary data, comparing means for comparing the arbitrary data with the input data, and stopping the operation of the linear feedback shift register and the signature register based on the comparison result of the comparing means. And a braking means for controlling the braking.

【0006】[0006]

【作用】リニアフィードバックシフトレジスタ(LFS
R)はそのデータの生成多項式として原始多項式を選択
すれば、疑似ランダムであって全て異なる(2n −1)
個の全数データを生成することができる。但し、全ビッ
トが0であるデータは除く。このようにLFSRによっ
て生成されるデータ系列は(2n −1)個のデータを生
成するまでは全て異なるデータとなるため、(2n
1)番目までに生成されるデータはそれまで生成された
全てのデータと異なって初めて現れることになる。比較
手段は記憶手段に記憶されたi番目(i;1乃至2n
1の正の整数)の任意のデータと被テスト回路への入力
データとを比較する。そして、前記任意のデータと前記
入力データとが一致した場合に、制動手段は比較結果に
基づいてLFSR及びシグネチャレジスタ(MISR)
の動作を停止させる。これにより、テストの実行を自動
的に停止させることができる。
Operation: Linear feedback shift register (LFS
R) is pseudo-random and all different (2 n -1) if a primitive polynomial is selected as the generator polynomial of the data.
It is possible to generate 100% data. However, data in which all bits are 0 is excluded. As described above, since the data series generated by the LFSR are all different data until (2 n -1) data are generated, (2 n
1) The data generated up to the first will appear differently from all the data generated so far. The comparison means is the i-th (i; 1 to 2 n −) stored in the storage means.
Arbitrary data (a positive integer of 1) is compared with the input data to the circuit under test. Then, when the arbitrary data and the input data match, the braking means determines the LFSR and the signature register (MISR) based on the comparison result.
Stop the operation of. This allows the test execution to be stopped automatically.

【0007】本実施例によれば、比較手段の比較結果に
基づいてLFSR及びMISRの動作を停止させるの
で、従来のテスト実行の停止を判断するカウンタをなく
すことができる。従って、ICデバイスに内蔵された被
テスト回路に対するセルフテスト回路の面積の割合を低
減することができる。
According to this embodiment, the operations of the LFSR and the MISR are stopped based on the comparison result of the comparing means, so that the conventional counter for judging the stop of the test execution can be eliminated. Therefore, the ratio of the area of the self-test circuit to the circuit under test built in the IC device can be reduced.

【0008】なお、本発明においては、LFSRの出力
に基づくテスト結果をMISRでデータ圧縮した後にシ
グネチャとして期待値と比較することにより、被テスト
回路をテストすることができる。
In the present invention, the circuit under test can be tested by comparing the test result based on the output of the LFSR with the expected value as a signature after data compression by MISR.

【0009】[0009]

【実施例】次に、本発明の実施例について添付の図面を
参照して説明する。
Embodiments of the present invention will now be described with reference to the accompanying drawings.

【0010】図1は本発明の第1の実施例に係るセルフ
テスト回路を示すブロック図である。LFSR4はテス
ト入力データ(疑似乱数)7を発生し、これを被テスト
回路5に入力する。MISR6は被テスト回路5から出
力されるテスト結果データ8を入力し、これをデータ圧
縮して出力する。データ比較回路1はLFSR4の出力
及び比較データ2を入力し、双方を比較してその比較結
果に基づいてテスト終了信号3を出力する。即ち、複数
個のEXORゲート9はLFSR4の出力及び比較デー
タ2を入力し、双方の排他的論理和をとって出力する。
ORゲート16は複数個のEXORゲート9の出力を入
力し、これらのORをとって出力する。インバータ10
はORゲート16の出力を入力し、これを反転してテス
ト終了信号3を出力する。このテスト終了信号3はLF
SR4及びMISR6に供給される。
FIG. 1 is a block diagram showing a self-test circuit according to the first embodiment of the present invention. The LFSR 4 generates test input data (pseudo random number) 7 and inputs it to the circuit under test 5. The MISR 6 receives the test result data 8 output from the circuit under test 5, compresses it, and outputs it. The data comparison circuit 1 inputs the output of the LFSR 4 and the comparison data 2, compares them, and outputs a test end signal 3 based on the comparison result. That is, the plurality of EXOR gates 9 inputs the output of the LFSR 4 and the comparison data 2 and outputs the exclusive OR of both.
The OR gate 16 inputs the outputs of the plurality of EXOR gates 9, takes the OR of these and outputs them. Inverter 10
Inputs the output of the OR gate 16 and inverts it to output the test end signal 3. This test end signal 3 is LF
It is supplied to SR4 and MISR6.

【0011】このように構成されるセルフテスト回路に
おいては、LFSR4の出力はテスト入力データ7とし
て被テスト回路5に入力され、このテスト入力データ7
に基づく被テスト回路5のテスト結果データ8はMIS
R6に入力される。そして、MISR6がテスト結果デ
ータ8を圧縮した後、これをシグネチャとして期待値と
比較する。この場合、被テスト回路5は全数テストされ
るものの、テストを終了させるためのテスト終了信号3
を生成する必要がある。即ち、データ比較回路1がLF
SR4の出力と比較データ2とを比較し、双方が完全に
一致した場合にそのテスト終了信号3が“1”になる。
このテスト終了信号3に基づいて、LFSR4及びMI
SR6の動作が停止する。これにより、テストの実行が
自動的に停止する。
In the self-test circuit configured as described above, the output of the LFSR 4 is input to the circuit under test 5 as the test input data 7, and the test input data 7 is output.
The test result data 8 of the circuit under test 5 based on
Input to R6. Then, the MISR 6 compresses the test result data 8 and then compares this with the expected value as a signature. In this case, all the circuits under test 5 are tested, but the test end signal 3 for ending the test.
Needs to be generated. That is, the data comparison circuit 1 is LF
The output of SR4 and the comparison data 2 are compared, and when both match completely, the test end signal 3 becomes "1".
Based on this test end signal 3, LFSR 4 and MI
The operation of SR6 stops. This will automatically stop the test execution.

【0012】本実施例によれば、従来のカウント値をデ
ータ比較する際のカウンタに比して、データ比較回路1
の回路構成が簡単であるため、ICデバイスに内蔵され
た被テスト回路5に対するセルフテスト回路の面積の割
合を低減することができる。
According to the present embodiment, the data comparison circuit 1 is compared with the conventional counter for comparing the count values.
Since the circuit configuration is simple, the ratio of the area of the self-test circuit to the circuit under test 5 built in the IC device can be reduced.

【0013】図2は本発明の第2の実施例に係るセルフ
テスト回路を示すブロック図である。なお、本実施例は
第1の実施例におけるデータ比較回路1の構成が異な
り、比較データ2を不要にしたものであるので、図2に
おいて図1と同一物には同一符号を付してその部分の詳
細な説明は省略する。
FIG. 2 is a block diagram showing a self-test circuit according to the second embodiment of the present invention. In this embodiment, the structure of the data comparison circuit 1 in the first embodiment is different and the comparison data 2 is not necessary. Therefore, in FIG. 2, the same parts as those in FIG. Detailed description of the parts is omitted.

【0014】第1の実施例ではEXORゲートを使用し
てデータ比較を行っていたが、第2の実施例はデータ比
較回路1の中に比較データを含めて構成されている。即
ち、データ比較回路1には被テスト回路5へのテスト入
力データ7と同一のデータが入力される。NMOSトラ
ンジスタ11,17は接地端子とテスト終了信号3の出
力端との間に直列に接続されている。NMOSトランジ
スタ17のゲートにはクロック信号15が入力される。
また、LFSR4が生成するデータ系列の最後のデータ
(第1の実施例において比較データ2に記憶すべきデー
タ)のビットが1ならばLFSR4の出力端とNMOS
トランジスタ11のゲートとの間にインバータ14が直
列に接続され、最後のデータのビットが0ならばLFS
R4の出力端とNMOSトランジスタ11のゲートとが
直接接続される。PMOSトランジスタ12は電源端子
とテスト終了信号3の出力端との間に接続されており、
そのゲートにクロック信号13が入力される。
In the first embodiment, the EXOR gate is used for data comparison, but in the second embodiment, the data comparison circuit 1 includes the comparison data. That is, the same data as the test input data 7 to the circuit under test 5 is input to the data comparison circuit 1. The NMOS transistors 11 and 17 are connected in series between the ground terminal and the output end of the test end signal 3. The clock signal 15 is input to the gate of the NMOS transistor 17.
If the bit of the last data (data to be stored in the comparison data 2 in the first embodiment) of the data sequence generated by the LFSR4 is 1, the output terminal of the LFSR 4 and the NMOS.
An inverter 14 is connected in series with the gate of the transistor 11, and if the last data bit is 0, LFS is set.
The output end of R4 and the gate of the NMOS transistor 11 are directly connected. The PMOS transistor 12 is connected between the power supply terminal and the output end of the test end signal 3,
The clock signal 13 is input to the gate.

【0015】このように構成されるセルフテスト回路に
おいては、データ比較回路1にLFSR4が生成するデ
ータ系列の最後のデータが入力されると、データ比較が
行われることと同義になり、テスト終了信号3を生成す
ることができる。つまり、データが一致していればクロ
ック信号15に基づいてテスト終了信号3が“1”にな
り、データが一致していなければクロック信号15に基
づいてテスト終了信号3が“0”になる。なお、NMO
Sトランジスタ17は、クロック信号13に基づいてテ
スト終了信号3がPMOSトランジスタ12を介してプ
リチャージされている期間にオフ状態であり、クロック
信号15のタイミングにのみアクティブになる。従っ
て、テスト終了信号3はクロック信号15のタイミング
にのみ有効となる。
In the self-test circuit configured as described above, when the last data of the data series generated by the LFSR 4 is input to the data comparison circuit 1, it is synonymous with that data comparison is performed. 3 can be generated. That is, if the data match, the test end signal 3 becomes “1” based on the clock signal 15, and if the data does not match, the test end signal 3 becomes “0” based on the clock signal 15. In addition, NMO
The S-transistor 17 is in an off state while the test end signal 3 is precharged through the PMOS transistor 12 based on the clock signal 13, and becomes active only at the timing of the clock signal 15. Therefore, the test end signal 3 is valid only at the timing of the clock signal 15.

【0016】本実施例によれば、データ比較回路1は回
路数が極めて少なく、そのゲート数をカウンタを使用し
た場合の約50%以下にすることができる。このため、
ICデバイスに内蔵された被テスト回路5に対するセル
フテスト回路の面積の割合を低減することができる。
According to this embodiment, the number of circuits in the data comparison circuit 1 is extremely small, and the number of gates can be reduced to about 50% or less of the case where a counter is used. For this reason,
The ratio of the area of the self-test circuit to the circuit under test 5 built in the IC device can be reduced.

【0017】[0017]

【発明の効果】以上説明したように本発明によれば、比
較手段は記憶手段に記憶された任意のデータと被テスト
回路への入力データとを比較し、制動手段は前記比較手
段の比較結果に基づいてリニアフィードバックシフトレ
ジスタ及びシグネチャレジスタの動作を停止させるか
ら、テストの実行を自動的に停止させることができ、I
Cデバイスに内蔵された被テスト回路に対するセルフテ
スト回路の面積の割合を従来に比して低減することがで
きる。
As described above, according to the present invention, the comparison means compares arbitrary data stored in the storage means with the input data to the circuit under test, and the braking means compares the comparison result of the comparison means. Since the operation of the linear feedback shift register and the signature register is stopped based on the above, the test execution can be automatically stopped.
The ratio of the area of the self-test circuit to the circuit under test built in the C device can be reduced as compared with the conventional case.

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

【図1】本発明の第1の実施例に係るセルフテスト回路
を示すブロック図である。
FIG. 1 is a block diagram showing a self-test circuit according to a first embodiment of the present invention.

【図2】本発明の第2の実施例に係るセルフテスト回路
を示すブロック図である。
FIG. 2 is a block diagram showing a self-test circuit according to a second embodiment of the present invention.

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

1;データ比較回路 2;比較データ 3;テスト終了信号 4;リニアフィードバックシフトレジスタ(LFSR) 5;被テスト回路 6;シグネチャレジスタ(MISR) 7;テスト入力データ 8;テスト結果データ 9;EXORゲート 10,14;インバータ 11,17;NMOSトランジスタ 12;PMOSトランジスタ 13,15;クロック信号 16;ORゲート 1; data comparison circuit 2; comparison data 3; test end signal 4; linear feedback shift register (LFSR) 5; circuit under test 6; signature register (MISR) 7; test input data 8; test result data 9; EXOR gate 10 , 14; Inverter 11, 17; NMOS transistor 12; PMOS transistor 13, 15; Clock signal 16; OR gate

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 被テスト回路への入力データを生成する
nビット(n;正の整数)のリニアフィードバックシフ
トレジスタと、前記被テスト回路の出力データをデータ
圧縮するシグネチャレジスタとを備えたセルフテスト回
路において、前記入力データの最長周期(2n −1)ま
でのデータ系列の中でi番目(i;1乃至2n −1の正
の整数)の任意のデータを記憶する記憶手段と、前記任
意のデータと前記入力データとを比較する比較手段と、
この比較手段の比較結果に基づいて前記リニアフィード
バックシフトレジスタ及び前記シグネチャレジスタの動
作を停止させる制動手段とを有することを特徴とするセ
ルフテスト回路。
1. A self-test comprising an n-bit (n; positive integer) linear feedback shift register for generating input data to a circuit under test, and a signature register for compressing output data of the circuit under test. In the circuit, a storage means for storing an i-th (i; positive integer of 1 to 2 n -1) arbitrary data in the data series up to the longest period (2 n -1) of the input data; Comparing means for comparing arbitrary data with the input data,
A self-test circuit comprising: a braking means for stopping the operations of the linear feedback shift register and the signature register based on a comparison result of the comparison means.
JP3250498A 1991-09-03 1991-09-03 Self test circuit Expired - Fee Related JP2940257B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3250498A JP2940257B2 (en) 1991-09-03 1991-09-03 Self test circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3250498A JP2940257B2 (en) 1991-09-03 1991-09-03 Self test circuit

Publications (2)

Publication Number Publication Date
JPH0560843A true JPH0560843A (en) 1993-03-12
JP2940257B2 JP2940257B2 (en) 1999-08-25

Family

ID=17208773

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3250498A Expired - Fee Related JP2940257B2 (en) 1991-09-03 1991-09-03 Self test circuit

Country Status (1)

Country Link
JP (1) JP2940257B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006329810A (en) * 2005-05-26 2006-12-07 Nec Electronics Corp Semiconductor integrated circuit and its testing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006329810A (en) * 2005-05-26 2006-12-07 Nec Electronics Corp Semiconductor integrated circuit and its testing method

Also Published As

Publication number Publication date
JP2940257B2 (en) 1999-08-25

Similar Documents

Publication Publication Date Title
US6134182A (en) Cycle independent data to echo clock tracking circuit
US6128248A (en) Semiconductor memory device including a clocking circuit for controlling the read circuit operation
EP1168369B1 (en) Synchronous semiconductor memory device
KR920001100B1 (en) Logical arithmetic unit
US7408394B2 (en) Measure control delay and method having latching circuit integral with delay circuit
JPH1196755A (en) Dram mounting integrated circuit
KR20000023473A (en) Internal clock multiplication for test time reduction
JP2940257B2 (en) Self test circuit
US20050179476A1 (en) System and method for creating a limited duration clock divider reset
US4551838A (en) Self-testing digital circuits
US6535440B2 (en) Apparatus and method for package level burn-in test in semiconductor device
JP2561032B2 (en) Semiconductor integrated circuit test method
US4503548A (en) Timer with fast counter interrupt
JPS6037998B2 (en) semiconductor storage device
US6981166B2 (en) Method, apparatus, and computer program product for pacing clocked operations
KR100528450B1 (en) Synchronous memory device
KR100375597B1 (en) Apparatus for preventing metastable state of burst counter
KR100238933B1 (en) Test pattern generator
KR0186166B1 (en) Error detecting device for a cd-rom driver
JP3038544B2 (en) Buffer circuit for semiconductor memory device
JPH10149318A (en) Memory monitoring device
JPS604328A (en) Integrated circuit
JPH09171681A (en) Memory address controller
JP2000163173A (en) Output simultaneous operation reducing circuit
JPH11304891A (en) Pseudo-random pattern generating circuit, pseudo-random pattern check circuit, and pseudo-random pattern test circuit

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees