JPH055773A - Test circuit of logic ic - Google Patents

Test circuit of logic ic

Info

Publication number
JPH055773A
JPH055773A JP3006143A JP614391A JPH055773A JP H055773 A JPH055773 A JP H055773A JP 3006143 A JP3006143 A JP 3006143A JP 614391 A JP614391 A JP 614391A JP H055773 A JPH055773 A JP H055773A
Authority
JP
Japan
Prior art keywords
test
input
data
output
terminal
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
JP3006143A
Other languages
Japanese (ja)
Inventor
Eiji Hirao
栄二 平尾
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 JP3006143A priority Critical patent/JPH055773A/en
Publication of JPH055773A publication Critical patent/JPH055773A/en
Pending legal-status Critical Current

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To make it unnecessary to form input data, to reduce output data, to easily form test data, and to make a test clock high-speed thereby to easily conduct real time testing. CONSTITUTION:One output signal of an LFSR 4 is input to an input testing terminal A of a data selecter 12, while all the output signals of the LFSR 4 are input to an input testing terminal A of a data selecter 13. On the other hand, an output signal SR of a RAM 1 is input to an A input terminal of a data selecter 3 at the output side of the RAM 1 to be tested. At% input terminal B of the data selecter 3 is connected to a GND. An output terminal of the data selecter 3 is connected to one input terminal to an EXOR 14. True other input terminal of the EXOR 14 is connected to an input of the final stage of an LFSR 20.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は論理ICのテスト回路に
関し、特にIC内部の機能回路のテスト回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a test circuit for a logic IC, and more particularly to a test circuit for a functional circuit inside the IC.

【0002】[0002]

【従来の技術】従来この種のテスト回路は、図4に示す
ようにテスト端子9とデータセレクタ3,データセレク
タ12及びデータセレクタ13を有している。データセ
レクタ3,12及び13はテスト端子9からの入力信号
S9によって、出力データがAかBかを選択する。この
例の場合は、テスト端子9の入力が“0”のときA、
“1”のときBを選択する。
2. Description of the Related Art Conventionally, this type of test circuit has a test terminal 9, a data selector 3, a data selector 12 and a data selector 13 as shown in FIG. The data selectors 3, 12 and 13 select whether the output data is A or B according to the input signal S9 from the test terminal 9. In the case of this example, when the input of the test terminal 9 is “0”, A,
When "1", B is selected.

【0003】テスト時はテスト端子9の入力を“0”と
して、テストデータ入力端子10からSDを入力しテス
ト用アドレス入力端子18からアドレスSAを入力し、
テスト用出力端子5からの出力信号SOをテストしてい
た。または図5に示すように、内部のテスト用アドレス
ジェネレータ19によってアドレスを発生させていた。
ここでは被テストRAM1の機能がテストされている。
During the test, the input of the test terminal 9 is set to "0", SD is input from the test data input terminal 10 and the address SA is input from the test address input terminal 18,
The output signal SO from the test output terminal 5 was tested. Alternatively, as shown in FIG. 5, an address is generated by an internal test address generator 19.
Here, the function of the RAM under test 1 is tested.

【0004】[0004]

【発明が解決しようとする課題】この従来の論理ICの
テスト回路では、図4の場合にテスト用データ,テスト
用アドレスおよび出力信号の期待値を全て作成する必要
があるため、被テスト回路のRAMの規模が大きい場合
は、データの作成に時間がかかった。
In this conventional logic IC test circuit, it is necessary to create all the test data, the test address, and the expected value of the output signal in the case of FIG. If the size of the RAM is large, it takes time to create the data.

【0005】また、テスト用の入力信号,出力信号を外
部に入出力するため、入出力の遅延時間や端子間のタイ
ミングのずれが大きいという問題があった。従って被テ
スト回路に高速動作が要求される時は、実時間で動作す
ることの確認ができなくる場合が多かった。
Further, since the test input signal and output signal are input and output to the outside, there is a problem that the input / output delay time and the timing deviation between terminals are large. Therefore, when the circuit under test is required to operate at high speed, it is often impossible to confirm that it operates in real time.

【0006】また図5の場合は、テスト用アドレスを入
力する必要はなくなるが、テスト用アドレスジェネレー
タ19自体が正常に動作することを別にテストする必要
があり、被テスト回路の規模が大きくなった場合に、こ
のテスト用アドレスジェネレータ19自体のテストが複
雑になるという問題があった。
In the case of FIG. 5, it is not necessary to input the test address, but it is necessary to separately test that the test address generator 19 itself operates normally, and the scale of the circuit under test is increased. In this case, there is a problem that the test of the test address generator 19 itself becomes complicated.

【0007】[0007]

【課題を解決するための手段】本発明の論理ICのテス
ト回路は、ICを構成する複数の論理機能回路のうちの
被テスト回路に、テスト設定信号によって制御される第
1のデータセレクタのテスト用データ入力端および第2
のデータセレクタのテスト用アドレス入力端をそれぞれ
介してテスト用データとテスト用アドレスを入力し、前
記被テスト回路の出力信号をデータ出力選択信号で制御
される第3のデータセレクタの一端に入力し、テスト用
出力端子からテスト出力信号を出力する論理ICのテス
ト回路において、前記テスト用データ入力端は、データ
反転信号を入力する第1の排他的論理和を介して、テス
ト用クロックを入力して前記テスト用入力データを出力
する第1の線形帰還シフトレジスタの出力の一端に接続
し、前記テスト用アドレス入力端は、前記第1の線形帰
還シフトレジスタの出力の残りの複数端にそれぞれ接続
し、前記第3のデータセレクタの出力端は第2の排他的
論理和の一方の入力端を介して第2の線形帰還シフトレ
ジスタの入力端に接続し、該第2の線形帰還シフトレジ
スタの出力するテスト出力信号はテスト出力端子に供給
されると共に前記第2の排他的論理和の他方の入力端に
期間入力して構成されている。
A test circuit for a logic IC according to the present invention is a test circuit for testing a first data selector controlled by a test setting signal in a circuit under test of a plurality of logic function circuits forming the IC. Data input terminal and second
The test data and the test address are input through the test address input terminals of the data selector of FIG. 3, and the output signal of the circuit under test is input to one end of the third data selector controlled by the data output selection signal. In the test circuit of the logic IC which outputs the test output signal from the test output terminal, the test data input terminal inputs the test clock through the first exclusive OR which inputs the data inversion signal. Connected to one end of the output of the first linear feedback shift register for outputting the test input data, and the test address input end is connected to the remaining plural ends of the output of the first linear feedback shift register, respectively. The output terminal of the third data selector is connected to the input terminal of the second linear feedback shift register via one input terminal of the second exclusive OR. Continued, and outputs the test output signal of the linear feedback shift register of the second is constituted by the period the other input terminal of said second exclusive-OR is supplied to the test output terminal.

【0008】[0008]

【実施例】次に本発明について図面を参照して説明す
る。図1は本発明の第1の実施例のブロック図である。
データセレクタ12のテスト側入力端子Aには線形帰還
シフトレジスタ(以下LFSR)4の出力の1本が入力
され、データセレクタ13のテスト側入力端子AにはL
FSR4の全出力信号がそれぞれ入力される。一方被テ
ストRAM1の出力側のデータセレクタ3のA入力には
RAM1の出力信号SRが入力され、B入力端はGND
に接続されている。データセレクタ3の出力端はEXO
R14の1方の入力に接続され、EXOR14の他方の
入力端はLFSR20の最終段出力に接続されている。
The present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of the first embodiment of the present invention.
One of the outputs of the linear feedback shift register (hereinafter referred to as LFSR) 4 is input to the test side input terminal A of the data selector 12, and the test side input terminal A of the data selector 13 is L
All the output signals of FSR4 are input respectively. On the other hand, the output signal SR of the RAM 1 is input to the A input of the data selector 3 on the output side of the RAM under test 1, and the B input terminal is GND.
It is connected to the. The output end of the data selector 3 is EXO
It is connected to one input of R14 and the other input end of EXOR14 is connected to the final stage output of LFSR20.

【0009】次に二つのLFSR4,20の動作を説明
する。図2はLFSR4を3bitで構成したときの例
である。このLFSRはG(x)は符号論理で生成多項
式と呼ばれるxの3乗と(x+1)の和で表わされる規
則に従って動作する。この意味は最終段の出力xの3乗
が初段の入力のxの0乗と2段目の入力xの1乗に加算
(EXOR)されるということである。
Next, the operation of the two LFSRs 4 and 20 will be described. FIG. 2 is an example when the LFSR 4 is configured with 3 bits. In this LFSR, G (x) is a code logic and operates according to a rule called a generator polynomial, which is represented by the sum of the cube of x and (x + 1). This means that the cube of the output x of the final stage is added (EXOR) to the power of x of the input of the first stage and the cube of the input x of the second stage.

【0010】この規則に従って回路を構成し、3個のD
−FF15の初期値を“0”以外の値に設定した後にテ
スト用クロック入力端子8からクロックを入力すると図
2(b)のようにxの1乗,2乗,3乗の値が変化し
て、時刻7で時刻0と同じ値に戻り、以後はこれを繰り
返す。1周期のうちにxの1乗,2乗,3乗は3bit
で表わされる値のうち、0以外の全ての値を各1回だけ
とる。
A circuit is constructed according to this rule, and three D
-When a clock is input from the test clock input terminal 8 after setting the initial value of the FF15 to a value other than "0", the values of the first power, the second power, and the third power of x change as shown in FIG. 2B. Then, at time 7, the value returns to the same value as time 0, and this is repeated thereafter. 1st, 2nd, and 3rd powers of x are 3 bits in one cycle
Of the values represented by, all values other than 0 are taken only once.

【0011】この規則は、G(x)の次数が大きくなっ
ても同様に守られるので、例えばG(x)がxの10乗
と3乗と1乗の和の場合は2の10乗の1024クロッ
クで1周期になる。
This rule can be similarly maintained even when the order of G (x) becomes large. Therefore, for example, when G (x) is the sum of x to the 10th power, the 3rd power and the 1st power, the power of 2 to the 10th power is used. One cycle consists of 1024 clocks.

【0012】次にLFSR20によるデータの圧縮につ
いて説明する。G(x)がxの3乗,1乗と0乗の和に
よるLFSR4で生成されるデータ系列のうち、最終段
の出力である“xの3乗”に注目してこのデータ系列を
時刻0から順に並べるとV0=(0010111)が得
られる。このv0を図3(a)に示されるLFSRに入
力すると、3個のD−FF15の初期値を0とした場合
図3(b)に示す様に動作し、全データを入力し終った
時刻でxの1乗,2乗,3乗の値は、図2(b)の時刻
0ときの初期値と同じ(100)になる。
Next, the data compression by the LFSR 20 will be described. Of the data series generated by LFSR4 in which G (x) is the cube of x, the sum of 1st power and 0th power, paying attention to the output of the last stage, “3rd power of x”, this data series is time 0 From the beginning, V0 = (0010111) is obtained. When this v0 is input to the LFSR shown in FIG. 3A, when the initial values of the three D-FFs 15 are set to 0, the operation is performed as shown in FIG. Then, the values of the first power, the second power, and the third power of x become (100), which is the same as the initial value at time 0 in FIG.

【0013】次に、入力データとして時刻1からはじめ
て時刻7で終る系列v1=(0101110)を入力す
ると、図3(c)に示すように最終値が(010)とな
り、図2(b)の時刻1のときのxの1乗,2乗,3乗
の値と同じになる。同様にして、時刻2〜6のどこから
はじめた系列を入力しても、図3(a)のxの1乗,2
乗,3乗の最終値は図2(a)のxの1乗,2乗,3乗
の初期値と1対1で対応する。
Next, when a series v1 = (0101110) starting from time 1 and ending at time 7 is input as input data, the final value becomes (010) as shown in FIG. It is the same as the value of the first power, the second power, and the third power of x at time 1. In the same way, no matter where the sequence started from time 2 to 6 is input, the power of x, 2 of x in FIG.
The final value of the power of 3 and the power of 3 correspond to the initial value of the power of 1, 2 and 3 of x in FIG.

【0014】以上述べたLFSRの特性により図1の実
施例では、被テストRAM1の容量に相当するテスト用
アドレスとデータをLFSR4によって発生させ、RA
M1の出力信号をLFSR20によって圧縮することが
できる。
Due to the characteristics of the LFSR described above, in the embodiment of FIG. 1, the LFSR 4 generates a test address and data corresponding to the capacity of the RAM under test 1, and RA
The output signal of M1 can be compressed by the LFSR 20.

【0015】その後データ出力選択端子6によってEX
OR14の1方の入力を0としてさらにテスト用クロッ
クを入力して、圧縮されたデータをテスト用出力端子5
から出力し、このデータがLFSR4の初期値と一致し
ていればRAM1の動作が正常と判定できる。
After that, the data output selection terminal 6 is used for EX.
With one input of OR14 set to 0, a test clock is further input, and the compressed data is output to the test output terminal 5
If the data matches the initial value of LFSR4, it can be determined that the operation of RAM1 is normal.

【0016】またテスト回路自体のテストのためにはL
FSR4とLFSR20を直結すれば同様にしてテスト
が可能である。さらに、RAMに“1”,“0”反転し
たデータを書き込むためには、データ反転信号入力端子
21に“1”を入力すればよい。
For testing the test circuit itself, L
If the FSR 4 and the LFSR 20 are directly connected, the same test can be performed. Further, in order to write data which is "1" or "0" inverted in the RAM, "1" may be input to the data inversion signal input terminal 21.

【0017】[0017]

【発明の効果】以上説明したように本発明は、LFSR
とLFSRを使用することによって入力データの生成が
不要となり、出力データも従来が1024bitであれ
ば10bitと比較的少ないため、テスト用データの作
成が容易になる。
As described above, the present invention provides the LFSR.
By using LFSR and LFSR, generation of input data becomes unnecessary, and since output data of the conventional 1024 bits is relatively small at 10 bits, it is easy to create test data.

【0018】さらに、実時間でのテストを行う際には、
テスト用クロックのみを高速で入力して最終的な結果を
低速で出力すれば良いので実時間のテストが容易にな
る。またテスト回路自体のテストもLFSR4とLFS
R20を直結すれば両方のLFSRが正常に動作してい
るかが容易に調べられる。
Furthermore, when conducting a test in real time,
Since only the test clock is input at high speed and the final result is output at low speed, real-time testing becomes easy. In addition, the test of the test circuit itself is also performed by LFSR4
If R20 is directly connected, it can be easily checked whether both LFSRs are operating normally.

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

【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】(a)は図1のLFSR4の原理図、(b)は
その動作図である。
2A is a principle diagram of the LFSR 4 of FIG. 1, and FIG. 2B is an operation diagram thereof.

【図3】(a)は図1のLFSR20の原理図、(b)
はその動作図である。
3A is a principle diagram of the LFSR 20 of FIG. 1, and FIG.
Is an operation diagram thereof.

【図4】従来の論理ICのテスト回路の一例のブロック
図である。
FIG. 4 is a block diagram of an example of a conventional logic IC test circuit.

【図5】従来の論理ICのテスト回路の他の例のブロッ
ク図である。
FIG. 5 is a block diagram of another example of a conventional logic IC test circuit.

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

1 被試験RAM 2 RAMデータ出力端子 3 データセレクタ 4 LFSR 5 テスト用出力端子 6 データ出力選択端子 7 アドレス入力端子 8 テスト用クロック入力端子 9 テスト端子 10 データ入力端子 12 データセレクタ 13 データセレクタ 14 EXOR 15 D−FF 16 データ系列入力端子 17 テスト用データ入力端子 18 テスト用アドレス入力端子 19 テスト用アドレスジェネレータ 20 LFSR 21 データ反転信号入力端子 22,23 EXOR 1 RAM under test 2 RAM data output terminal 3 Data selector 4 LFSR 5 Test output terminal 6 Data output selection terminal 7 Address input terminal 8 Test clock input terminal 9 Test terminal 10 Data input terminal 12 Data selector 13 Data selector 14 EXOR 15 D-FF 16 Data series input terminal 17 Test data input terminal 18 Test address input terminal 19 Test address generator 20 LFSR 21 Data inversion signal input terminal 22, 23 EXOR

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 G06F 11/22 330 B 9072−5B 6912−2G G01R 31/28 P ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 5 Identification number Office reference number FI technical display location G06F 11/22 330 B 9072-5B 6912-2G G01R 31/28 P

Claims (1)

【特許請求の範囲】 【請求項1】 ICを構成する複数の論理機能回路のう
ちの被テスト回路に、テスト設定信号によって制御され
る第1のデータセレクタのテスト用データ入力端および
第2のデータセレクタのテスト用アドレス入力端をそれ
ぞれ介してテスト用データとテスト用アドレスを入力
し、前記被テスト回路の出力信号をデータ出力選択信号
で制御される第3のデータセレクタの一端に入力し、テ
スト用出力端子からテスト出力信号を出力する論理IC
のテスト回路において、前記テスト用データ入力端は、
データ反転信号を入力する第1の排他的論理和を介し
て、テスト用クロックを入力して前記テスト用入力デー
タを出力する第1の線形帰還シフトレジスタの出力の一
端に接続し、前記テスト用アドレス入力端は、前記第1
の線形帰還シフトレジスタの出力の残りの複数端にそれ
ぞれ接続し、前記第3のデータセレクタの出力端は第2
の排他的論理和の一方の入力端を介して第2の線形帰還
シフトレジスタの入力端に接続し、該第2の線形帰還シ
フトレジスタの出力するテスト出力信号はテスト出力端
子に供給されると共に前記第2の排他的論理和の他方の
入力端に期間入力されることを特徴とする論理ICのテ
スト回路。 【請求項2】 前記第1および第2の排他的論理和を直
結してテスト回路の機能をテストすることを特徴とする
請求項1記載の論理ICのテスト回路。
Claim: What is claimed is: 1. A test data input terminal of a first data selector controlled by a test setting signal and a second test circuit of a plurality of logic function circuits constituting an IC. The test data and the test address are input through the test address input terminals of the data selector, and the output signal of the circuit under test is input to one end of the third data selector controlled by the data output selection signal, Logic IC that outputs a test output signal from the test output terminal
In the test circuit, the test data input terminal is
It is connected to one end of the output of the first linear feedback shift register which inputs the test clock and outputs the test input data through the first exclusive OR which inputs the data inversion signal, and The address input terminal is the first
Connected to the remaining plural ends of the output of the linear feedback shift register, and the output end of the third data selector is connected to the second end.
Is connected to the input end of the second linear feedback shift register via one input end of the exclusive OR, and the test output signal output from the second linear feedback shift register is supplied to the test output terminal. A test circuit for a logic IC, characterized in that it is input to the other input terminal of the second exclusive OR for a period. 2. The test circuit for a logic IC according to claim 1, wherein the first and second exclusive ORs are directly connected to test the function of the test circuit.
JP3006143A 1991-01-23 1991-01-23 Test circuit of logic ic Pending JPH055773A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3006143A JPH055773A (en) 1991-01-23 1991-01-23 Test circuit of logic ic

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3006143A JPH055773A (en) 1991-01-23 1991-01-23 Test circuit of logic ic

Publications (1)

Publication Number Publication Date
JPH055773A true JPH055773A (en) 1993-01-14

Family

ID=11630296

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3006143A Pending JPH055773A (en) 1991-01-23 1991-01-23 Test circuit of logic ic

Country Status (1)

Country Link
JP (1) JPH055773A (en)

Similar Documents

Publication Publication Date Title
JP2964644B2 (en) High-speed pattern generator
JPWO2005121827A1 (en) Timing generator and semiconductor test equipment
JPH0651028A (en) Test pattern generator
JP2000266815A (en) Electronic system with self-diagnostic function and simulation apparatus for electronic system
JPH04313119A (en) Pseudo random number pattern generator
US5293080A (en) Method and apparatus for generating test waveforms to be applied to a device under test
JPH055773A (en) Test circuit of logic ic
JP5077806B2 (en) Memory test equipment
US6172544B1 (en) Timing signal generation circuit for semiconductor test system
JP2001305197A (en) Method and device for calibrating pulse width timing error correction in semiconductor integrated circuit test
US7123679B2 (en) Counter having improved counting speed
JP3504316B2 (en) Multi-bit counter
JPH0748702B2 (en) M-sequence code generator
JP3501923B2 (en) Timing generator for semiconductor test equipment
JP3119388B2 (en) IC test equipment
JP3514020B2 (en) Rate generator
JPH0773695A (en) Self test circuit for ram
JPH01170874A (en) Test mode setting circuit for semiconductor integrated circuit device
JP3364777B2 (en) PN pattern generator
JPH01308978A (en) Pattern data generation circuit
JP2000183982A (en) Information transmission system
JPH04361179A (en) Semiconductor integrated circuit device
JPH0990003A (en) Rate generator
JPS5961311A (en) Digital signal train generator
JPH0242369A (en) Test circuit for counter