JPH0798995A - Linear feedback shift register - Google Patents
Linear feedback shift registerInfo
- Publication number
- JPH0798995A JPH0798995A JP5242411A JP24241193A JPH0798995A JP H0798995 A JPH0798995 A JP H0798995A JP 5242411 A JP5242411 A JP 5242411A JP 24241193 A JP24241193 A JP 24241193A JP H0798995 A JPH0798995 A JP H0798995A
- Authority
- JP
- Japan
- Prior art keywords
- switch
- lfsr
- bit
- feedback loop
- flip
- 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
Links
Landscapes
- Tests Of Electronic Circuits (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
- For Increasing The Reliability Of Semiconductor Memories (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、組込型自己テスト(Bu
ilt In Self Test以下「BIST」と称す。)回路にお
ける疑似ランダムパターン発生器として使用されるリニ
アフィードバックシフトレジスタ(Liner Feed-back Sh
ift Resister以下「LFSR」と称す。)の回路構成に
関するものである。BACKGROUND OF THE INVENTION The present invention relates to a built-in self test (Bu
ilt In Self Test Hereinafter referred to as “BIST”. ) Linear feedback shift register (Liner Feed-back Sh
ift Resister Hereinafter referred to as "LFSR". ) Is related to the circuit configuration.
【0002】[0002]
【従来の技術】従来のLFSRは、図3に示すように、
発生させる疑似ランダムパターンのビット数分のフリッ
プフロップ1と、エクスクルッシブORゲート2とを備
え、所定のビット数に対応する位置のフリップフロップ
1から第1フリップフロップ1へ回帰するように分岐す
るフィードバックループ3が構成されている。フィード
バックをかけるビット位置のフリップフロップ1は符号
理論による原始多項式に基づいて決定される。そして、
LFSRは、オール0を除いた2n −1種のパターン信
号を2n −1回のクロック印加で1回ずつ疑似ランダム
的に発生させることができる。2. Description of the Related Art A conventional LFSR, as shown in FIG.
The flip-flop 1 for the number of bits of the pseudo-random pattern to be generated and the exclusive OR gate 2 are provided, and the flip-flop 1 at the position corresponding to the predetermined number of bits branches so as to return to the first flip-flop 1. The feedback loop 3 is configured. The flip-flop 1 at the bit position to be fed back is determined based on the primitive polynomial according to the code theory. And
The LFSR can generate 2 n -1 types of pattern signals excluding all 0s in a pseudo-random manner once every 2 n -1 times of clock application.
【0003】ここで、nはLFSRのビット長であり、
この種のLFSRは最長系列パターンを発生するLFS
Rと呼ばれる。例えば、4ビットの最長系列パターンを
発生するには第4、第3フリップフロップから最下位ビ
ット(第1フリップフロップ)へフィードバックをかけ
ることとなり、また図3に示すように、8ビットの場合
には第8、第7、第5、第3フリップフロップ1から最
下位のビットへフィードバックをかけることとなる。Here, n is the bit length of the LFSR,
This kind of LFSR is the LFS that generates the longest sequence pattern.
Called R. For example, in order to generate a 4-bit longest series pattern, feedback is applied from the fourth and third flip-flops to the least significant bit (first flip-flop), and as shown in FIG. Feeds back to the least significant bit from the eighth, seventh, fifth and third flip-flops 1.
【0004】図4(A)(B)には、このLFSRを有
するBIST回路を、4ビット、8ビットの入力端子を
持つテスト対象モジュールM1、M2が搭載されたLS
Iチップに適用した例を示す。図4(A)に示すよう
に、テスト対象モジュールM1には、パターンを生成す
る4ビット長のLFSR4と、出力応答パターンを圧縮
する圧縮器5とが接続される。テスト対象モジュールM
2には、パターンを生成する8ビット長のLFSR6
と、出力応答パターンを圧縮する圧縮器7とが接続され
る。さらに、LFSR4、6や圧縮器5、7へのテスト
クロックCKやモジュールM1、M2を選択するセレク
ト信号等の送出は、図示しない制御回路によって行われ
る。In FIGS. 4A and 4B, the BIST circuit having the LFSR is mounted on the LS in which the test target modules M1 and M2 having 4-bit and 8-bit input terminals are mounted.
An example applied to an I chip is shown. As shown in FIG. 4A, the test target module M1 is connected to a 4-bit long LFSR 4 for generating a pattern and a compressor 5 for compressing an output response pattern. Module to be tested M
2 is an 8-bit LFSR6 for generating a pattern
And the compressor 7 for compressing the output response pattern are connected. Further, the test clock CK and the select signal for selecting the modules M1 and M2 are sent to the LFSRs 4 and 6 and the compressors 5 and 7 by a control circuit (not shown).
【0005】[0005]
【発明が解決しようとする課題】上記従来のBIST回
路においては、ビット長の異なる2種のLFSRが必要
となる。従って、入力ビット数の異なるテスト対象モジ
ュールが3個以上に増えると、夫々のテスト対象モジュ
ールに対応したビット長のLFSRを準備しなければな
らない。このため、LSI上でのゲート規模が増大する
という問題がある。The conventional BIST circuit described above requires two types of LFSRs having different bit lengths. Therefore, when the number of test target modules having different input bit numbers increases to three or more, it is necessary to prepare the LFSR having the bit length corresponding to each test target module. Therefore, there is a problem that the gate scale on the LSI increases.
【0006】これに対して、図5に示すように、8ビッ
ト長のLFSR6をテスト対象モジュールM2に接続
し、そのうちの4ビットを入力ビット数4のテスト対象
モジュールM1に並列接続する構成も考えられる。しか
しながら、この構成では、テスト対象モジュールM4へ
は28 −1回のクロック印加で28 −1種のパターンが
1回ずつ印加できるが、テスト対象モジュールM2へは
24 −1回のクロック印加で同じパターンが何回か出現
してしまうため、テスト対象モジュールM2に対して最
長系列パターンを発生できるLFSRになり得ない。従
って、24 −1種類のパターンを印加するには、24 −
1回以上のクロック印加が必要となるので、テスト時間
が長くなったり、また同じパターンを2回以上印加する
ことにより、圧縮器での誤り見逃し率が増大してしまう
という問題がある。On the other hand, as shown in FIG. 5, a configuration is conceivable in which the LFSR 6 having an 8-bit length is connected to the test target module M2, and 4 bits of the LFSR 6 are connected in parallel to the test target module M1 having an input bit number of 4. To be However, in this configuration, although the test module M4 is 2 8 -1 or patterns in the clock application of 2 8 -1 times can be applied once, the clock application of 2 4 -1 times the test module M2 Since the same pattern appears several times, the LFSR cannot generate the longest series pattern for the test target module M2. Therefore, to apply 2 4 −1 types of patterns, 2 4 −
Since it is necessary to apply the clock at least once, there is a problem that the test time becomes long and the error oversight rate in the compressor increases by applying the same pattern twice or more.
【0007】本発明の目的は、2種以上の最長系列パタ
ーンを発生して、LSIチップのゲート規模を減少させ
ると共に誤り見逃し率を低下させるLFSRを提供する
ことにある。An object of the present invention is to provide an LFSR that generates two or more longest series patterns to reduce the gate size of an LSI chip and the error-miss rate.
【0008】[0008]
【課題を解決するための手段】本発明では、BIST回
路の疑似ランダムパターン発生器用LFSRにおいて、
フリップフロップ出力とフィードバックループとの間を
開閉して、複数の異なるビット数のパターンを択一的に
出力するようにフィードバックループの分岐位置を切り
替えるスイッチ機構を設けて、リニアフィードバックシ
フトレジスタを構成するようにした。According to the present invention, in an LFSR for a pseudo random pattern generator of a BIST circuit,
A linear feedback shift register is configured by providing a switch mechanism that opens and closes between the flip-flop output and the feedback loop to switch the branch position of the feedback loop so as to selectively output a plurality of patterns of different bit numbers. I did it.
【0009】[0009]
【作用】本発明のリニアフィードバックシフトレジスタ
においては、選択信号の入力等によりスイッチ機構が開
閉動作して、必要なフィードバックループを形成して、
例えば4ビット長あるいは8ビット長等の異なる複数の
最長系列パターンを単一回路で発生させる。従って、入
力ビット長の異なる複数のテスト対象モジュールが存在
するLSIチップに対しても個別的に入力ビット数に応
じたLFSRを準備する必要がない。In the linear feedback shift register of the present invention, the switch mechanism is opened / closed by inputting a selection signal or the like to form a necessary feedback loop,
For example, a single circuit generates a plurality of longest series patterns having different 4-bit length or 8-bit length. Therefore, it is not necessary to individually prepare an LFSR corresponding to the number of input bits even for an LSI chip having a plurality of test target modules having different input bit lengths.
【0010】[0010]
【実施例】本発明の実施例を図面を参照して説明する。
なお、図中、従来と同一の構成部分には同一の符号を付
して説明を省略する。Embodiments of the present invention will be described with reference to the drawings.
In the figure, the same components as those of the related art are designated by the same reference numerals and the description thereof will be omitted.
【0011】図1においては、本実施例のLFSRは、
4ビット長と8ビット長の2種の最長系列パターンを発
生する構成例を示す。同図において、フィードバックル
ープ3の途上には、スイッチ制御系10が介設されてい
る。スイッチ制御系10は、スイッチ11が第4、第5
フリップフロップ1、1間とフィードバックループ3と
の間に位置し、またスイッチ12が第5、第6フリップ
フロップ1、1間とフィードバックループ3との間に位
置している。そして、スイッチ11、12は、インバー
タゲート13により逆レベル信号が入力されるようにな
っている。従って、選択信号S1の状態によりスイッチ
11、12は互いにON、OFF逆状態になる。In FIG. 1, the LFSR of this embodiment is
An example of the configuration for generating two types of longest sequence patterns of 4-bit length and 8-bit length is shown. In the figure, a switch control system 10 is provided on the way of the feedback loop 3. In the switch control system 10, the switch 11 includes the fourth and fifth switches.
The switch 12 is located between the flip-flops 1 and 1 and the feedback loop 3, and the switch 12 is located between the fifth and sixth flip-flops 1 and 1 and the feedback loop 3. The switches 11 and 12 are configured such that the inverter gate 13 inputs the reverse level signal. Therefore, depending on the state of the selection signal S1, the switches 11 and 12 are in the ON and OFF opposite states.
【0012】本実施例のLFSRは、スイッチ制御系1
0に選択信号S1が入力されると、選択信号S1がHi
ghレベルの場合、スイッチ11がON、スイッチ12
がOFFとなるため、図2(A)に示すような等価回路
になって、4ビット長の最長系列パターンを発生する。
一方、選択信号S1がLowレベルの場合、スイッチ1
1がOFF、スイッチ12がONとなるため、図2
(B)に示すような等価回路になって、8ビット長の最
長系列パターンを発生する。このように、スイッチ制御
系10への選択信号S1により、4ビット長あるいは8
ビット長の最長系列パターンを簡単に切り替えることが
できる。The LFSR of this embodiment is a switch control system 1
When the selection signal S1 is input to 0, the selection signal S1 changes to Hi.
In case of gh level, switch 11 is ON, switch 12
Is turned off, the equivalent circuit shown in FIG. 2 (A) is obtained, and the longest series pattern of 4 bits is generated.
On the other hand, when the selection signal S1 is at low level, the switch 1
Since 1 is OFF and switch 12 is ON, as shown in FIG.
An equivalent circuit as shown in (B) is generated, and a longest series pattern of 8-bit length is generated. As described above, depending on the selection signal S1 to the switch control system 10, the 4-bit length or 8
The longest sequence pattern of bit length can be easily switched.
【0013】なお、上記実施例では、2種の異なるビッ
ト長として4ビット、8ビットを採用したが、フィード
バックをかけるビット位置を共通にするビット数であれ
ば他のビット数でも適用することができる。In the above embodiment, 4 bits and 8 bits are adopted as the two different bit lengths, but other bit numbers can be applied as long as the bit numbers to which feedback is applied are common. it can.
【0014】[0014]
【発明の効果】本発明では、BIST回路の疑似ランダ
ムパターン発生器用LFSRにおいて、フリップフロッ
プ出力とフィードバックループとの間を開閉して、複数
の異なるビット数のパターンを択一的に出力するように
フィードバックループの分岐位置を切り替えるスイッチ
機構を設けてリニアフィードバックシフトレジスタを構
成したため、フィードバックループの分岐位置を変更す
るようにスイッチを切り替えることにより、1つのLF
SRでビット長の異なる複数の最長系列パターンを発生
させることができるので、入力ビット長の異なる複数の
テスト対象モジュールが存在するLSIチップに対して
も夫々の入力ビット数に応じたLFSRを個別に設ける
必要がなく、ゲート規模の低減を図ることができるし、
誤り見逃し率を低下させることができるという効果を有
する。According to the present invention, in the LFSR for the pseudo random pattern generator of the BIST circuit, the flip-flop output and the feedback loop are opened and closed to selectively output a pattern having a plurality of different bit numbers. Since the linear feedback shift register is configured by providing the switch mechanism for switching the branch position of the feedback loop, by switching the switch so as to change the branch position of the feedback loop, one LF can be obtained.
Since a plurality of longest series patterns having different bit lengths can be generated by SR, LFSRs corresponding to the respective input bit numbers are individually provided to LSI chips having a plurality of test target modules having different input bit lengths. There is no need to provide it, the gate scale can be reduced,
This has the effect of reducing the false negative rate.
【図1】本発明に係るLFSRの回路図である。FIG. 1 is a circuit diagram of an LFSR according to the present invention.
【図2】(A)は4ビット用LFSRの等価回路の回路
図、(B)は8ビット用LFSRの等価回路の回路図の
である。FIG. 2A is a circuit diagram of an equivalent circuit of a 4-bit LFSR, and FIG. 2B is a circuit diagram of an equivalent circuit of an 8-bit LFSR.
【図3】従来の8ビット用LFSRの回路図である。FIG. 3 is a circuit diagram of a conventional 8-bit LFSR.
【図4】(A)は従来の8ビット用BIST回路のブロ
ック図、(B)は4ビット用BIST回路のブロック図
である。FIG. 4A is a block diagram of a conventional 8-bit BIST circuit, and FIG. 4B is a block diagram of a 4-bit BIST circuit.
【図5】従来の4ビット、8ビット兼用BIST回路の
ブロック図である。FIG. 5 is a block diagram of a conventional 4-bit and 8-bit dual-purpose BIST circuit.
1 フリップフロップ 2 エクスクルッシブORゲート 3 フィードバックループ 10 スイッチ制御系 11 スイッチ 12 スイッチ 13 インバータゲート 1 Flip Flop 2 Exclusive OR Gate 3 Feedback Loop 10 Switch Control System 11 Switch 12 Switch 13 Inverter Gate
───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G06F 11/22 310 B G11C 19/00 Z 29/00 303 D 6866−5L ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI Technical display location G06F 11/22 310 B G11C 19/00 Z 29/00 303 D 6866-5L
Claims (1)
ダムパターン発生器用リニアフィードバックシフトレジ
スタにおいて、 フリップフロップ出力とフィードバックループとの間を
開閉して、複数の異なるビット数のパターンを択一的に
出力するようにフィードバックループの分岐位置を切り
替えるスイッチ機構を設けた、ことを特徴とするリニア
フィードバックシフトレジスタ。1. A linear feedback shift register for a pseudo random pattern generator of a built-in self-test circuit, wherein a flip-flop output and a feedback loop are opened / closed to selectively output a pattern having a plurality of different bit numbers. A linear feedback shift register, wherein a switch mechanism for switching the branch position of the feedback loop is provided in the.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5242411A JPH0798995A (en) | 1993-09-29 | 1993-09-29 | Linear feedback shift register |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5242411A JPH0798995A (en) | 1993-09-29 | 1993-09-29 | Linear feedback shift register |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0798995A true JPH0798995A (en) | 1995-04-11 |
Family
ID=17088734
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP5242411A Pending JPH0798995A (en) | 1993-09-29 | 1993-09-29 | Linear feedback shift register |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0798995A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE10213269A1 (en) * | 2002-03-25 | 2003-10-23 | Infineon Technologies Ag | Random number generator |
JP2009265961A (en) * | 2008-04-25 | 2009-11-12 | Renesas Technology Corp | Pseudorandom number generator and data communication apparatus |
JP2011520178A (en) * | 2008-04-14 | 2011-07-14 | シーメンス アクチエンゲゼルシヤフト | Bit sequence generation method and apparatus |
-
1993
- 1993-09-29 JP JP5242411A patent/JPH0798995A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE10213269A1 (en) * | 2002-03-25 | 2003-10-23 | Infineon Technologies Ag | Random number generator |
JP2011520178A (en) * | 2008-04-14 | 2011-07-14 | シーメンス アクチエンゲゼルシヤフト | Bit sequence generation method and apparatus |
JP2009265961A (en) * | 2008-04-25 | 2009-11-12 | Renesas Technology Corp | Pseudorandom number generator and data communication apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100206128B1 (en) | Built-in self test circuit | |
US5090035A (en) | Linear feedback shift register | |
US5475694A (en) | Fuzzy multiple signature compaction scheme for built-in self-testing of large scale digital integrated circuits | |
US5268949A (en) | Circuit for generating M-sequence pseudo-random pattern | |
Hellebrand et al. | Mixed-mode BIST using embedded processors | |
US4047008A (en) | Pseudo-random number sequence generator | |
US5390192A (en) | High-speed pattern generator | |
KR960042768A (en) | Fail memory device | |
JPS61223675A (en) | Digital integrated circuit | |
KR20020096335A (en) | High speed built-in self test circuit using linear feedback shift register | |
KR20000013809A (en) | Built in self test device using linear feedback shift register | |
JP4195195B2 (en) | Sequence generator | |
US6513138B1 (en) | Pattern generator for semiconductor test system | |
JP2841882B2 (en) | Pseudo random pattern generator | |
US5636225A (en) | Memory test circuit | |
US6983407B2 (en) | Random pattern weight control by pseudo random bit pattern generator initialization | |
KR970051415A (en) | Method of selecting merge data output mode of semiconductor memory device | |
US4813043A (en) | Semiconductor test device | |
KR940011036B1 (en) | Shift register | |
JPH0798995A (en) | Linear feedback shift register | |
KR920001083B1 (en) | A circuit which tests easily logic circuits | |
US5321641A (en) | Pseudo random pattern generation circuit | |
JP3022017B2 (en) | Integrated circuit | |
JP3277785B2 (en) | Pattern generation circuit | |
JP2001013222A (en) | Waveform creating circuit |