JP3955708B2 - Built-in self-test circuit - Google Patents

Built-in self-test circuit Download PDF

Info

Publication number
JP3955708B2
JP3955708B2 JP2000027677A JP2000027677A JP3955708B2 JP 3955708 B2 JP3955708 B2 JP 3955708B2 JP 2000027677 A JP2000027677 A JP 2000027677A JP 2000027677 A JP2000027677 A JP 2000027677A JP 3955708 B2 JP3955708 B2 JP 3955708B2
Authority
JP
Japan
Prior art keywords
address
data
test
ram
register
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.)
Expired - Fee Related
Application number
JP2000027677A
Other languages
Japanese (ja)
Other versions
JP2001222900A (en
Inventor
孝光 山田
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2000027677A priority Critical patent/JP3955708B2/en
Publication of JP2001222900A publication Critical patent/JP2001222900A/en
Application granted granted Critical
Publication of JP3955708B2 publication Critical patent/JP3955708B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • For Increasing The Reliability Of Semiconductor Memories (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、集積回路内で使用されるRAMをテストするための自己試験用回路(BIST)を組み込んだ集積回路に関し、特にRAMに対する自己試験パターンとしてダイアゴナルパターンを生成して供給するデータ生成器を備えた自己試験用回路を有する集積回路に関する。
【0002】
【従来の技術】
近年の集積回路の大規模化及び高集積化に伴い、集積回路に対するテストはますます困難な問題となっており、テスト費用の削減及びテストの質的向上が求められている。このようなことから、集積回路内にあらかじめ自己試験用回路を組み込み、集積回路に自己試験機能を備えさせている。従来、集積回路内のRAMに対する自己試験用回路を備えた集積回路において、該自己試験用回路は、RAMのアドレスをXアドレスとYアドレスに区別してアドレスを変化させるダイアゴナルパターンを生成してRAMのテストを行っていた。
【0003】
【発明が解決しようとする課題】
しかし、上記Xアドレス及びYアドレスの各ビット数は、RAMのシェイプに応じてそれぞれ異なっていることから、集積回路内にシェイプの異なるRAMが配置されている場合、集積回路内に、ダイアゴナルパターンを生成するデータ生成器をRAMのシェイプごとに配置する必要があった。このため、集積回路において、RAMのシェイプの種類に比例して自己試験用回路が占める面積が増加し、ハードウェアのオーバヘッドが増加するという問題があった。
【0004】
本発明は、上記のような問題を解決するためになされたものであり、集積回路内にシェイプの異なるRAMが配置されている場合においても、ダイアゴナルパターンを生成するデータ生成器を共有できるようにすることによって、集積回路内に占める面積増加を減少させることができる組込み自己試験用回路を得ることを目的とする。
【0005】
なお、本発明と異なるが、特開平5−241882号公報で、組み合わせ型データ生成器とLFSRを有するBIST回路が開示されている。
【0006】
【課題を解決するための手段】
この発明に係る組込み自己試験用回路は、集積回路内の被テストデバイスであるRAMにダイアゴナルパターンを供給するデータ生成回路を備えた、集積回路における組込み自己試験用回路において、データ生成回路は、テストを行うすべてのRAMのXアドレスを生成して出力するXアドレスレジスタ部と、テストを行うすべてのRAMのYアドレスを生成して出力するYアドレスレジスタ部と、Xアドレスレジスタ部及びYアドレスレジスタ部から出力されたXアドレス及びYアドレスから、テストを行うRAMに対してイネーブル信号を生成して出力するチップイネーブル制御部と、テスト対象となるすべてのRAMに対してテスト用データを生成して出力するシフトレジスタで構成されたデータレジスタ部と、Xアドレスレジスタ部、Yアドレスレジスタ部及びデータレジスタ部の動作制御を行う制御部とを備えるものである。
【0007】
また、上記チップイネーブル制御部は、Xアドレスレジスタ部及びYアドレスレジスタ部から出力されたXアドレス及びYアドレスから、テストを行うRAMのシェイプを特定し、該特定したシェイプのRAMに対してイネーブル信号を生成して出力するようにしてもよい。
【0008】
具体的には、チップイネーブル制御部は、Xアドレスレジスタ部及びYアドレスレジスタ部から出力されたXアドレス及びYアドレスの各ビット数とあらかじめ設定された対応する比較基準値とを比較してテストを行うRAMのシェイプを特定するようにした
【0009】
また、上記Xアドレスレジスタ部及びYアドレスレジスタ部を、アップカウンタ付きのレジスタで構成するとよい。
【0010】
【発明の実施の形態】
次に、図面に示す実施の形態に基づいて、本発明を詳細に説明する。
図1は、本発明の実施の形態における集積回路の組込み自己試験用回路例を示した概略のブロック図である。なお、図1では、集積回路内で使用されるRAMをテストするために集積回路内に組み込まれた自己試験用回路(以下、BIST回路と呼ぶ)のデータ生成回路のみを示しており、その他の部分は省略している。
図1で示したRAM用BIST回路におけるデータ生成回路1は、RAMの自己試験パターンであるダイアゴナルパターンを被テストデバイスであるRAMに供給する回路である。
【0011】
図1において、データ生成回路1は、テストを行うすべてのRAMのXアドレスを生成して出力するXアドレスレジスタ2と、同様にYアドレスを生成して出力するYアドレスレジスタ3と、Xアドレスレジスタ2及びYアドレスレジスタ3から出力されるXアドレス及びYアドレスからテスト対象となるRAMに対してイネーブル信号を生成して出力するチップイネーブル制御回路部4とを備えている。更に、データ生成回路1は、テスト対象となるRAMに対してテスト用データを生成して出力するデータレジスタ5と、外部からの制御信号に応じてXアドレスレジスタ2、Yアドレスレジスタ3及びデータレジスタ5の動作制御を行うシーケンサ6とを備えている。
【0012】
Xアドレスレジスタ2及びYアドレスレジスタ3は、アップカウンタ付きのレジスタであり、Xアドレスレジスタ2のレジスタサイズはテスト対象となるRAMにおける最大のXアドレス幅を、Yアドレスレジスタ3のレジスタサイズはテスト対象となるRAMにおける最大のYアドレス幅をそれぞれ有している。また、データレジスタ5は、シフトレジスタで構成されており、該レジスタサイズは、テスト対象となるRAMにおける最大のデータ幅を有している。
【0013】
シーケンサ6は、RAMに対するテスト動作の開始を指示する信号であるテストモード開始信号GOが入力されると、あらかじめ設定されたシーケンスに基づいてテストモードの動作を開始する。この際、外部から所定のクロック信号CKが入力され、該クロック信号CKは、Xアドレスレジスタ2、Yアドレスレジスタ3及びデータレジスタ5にそれぞれ出力される。このように、Xアドレスレジスタ2、Yアドレスレジスタ3、データレジスタ5及びシーケンサ6は、外部から入力されるクロック信号CKを基にして動作する。
【0014】
シーケンサ6は、更に、Xアドレスレジスタ2及びYアドレスレジスタ3に対して、それぞれカウントアップさせるための制御信号CUをそれぞれ出力すると共に、Xアドレスレジスタ2及びYアドレスレジスタ3からそれぞれ出力される各アドレスデータをすべて0にするための、例えばLowレベルのリセット信号RBを必要に応じて出力する。Xアドレスレジスタ2及びYアドレスレジスタ3は、制御信号CUが例えばHighレベルのときクロック信号CKに同期してレジスタをカウントアップさせ、このようにして生成したXアドレス及びYアドレスをテスト対象のRAMに出力すると共に、チップイネーブル制御回路部4に出力する。
【0015】
また、シーケンサ6は、データレジスタ5に対して、シフトレジスタにシフトさせて格納するためのデータであるシフトインデータSINを出力すると共にシフトレジスタのシフト動作を制御するための制御信号SEを出力する。例えば、データレジスタ5は、シーケンサ6からHighレベルの制御信号SEが入力されると、シフトレジスタの1つのレジスタに格納されているシフトインデータSINをクロック信号CKに同期させてシフトさせる。更に、シーケンサ6は、テストを行う各シェイプのRAMに対してそれぞれライトイネーブル信号WEを出力すると共に、データレジスタ5から出力されるデータをすべて「0」にするための例えばLowレベルのリセット信号RBと、すべて「1」にするための例えばLowレベルのリセット信号SBをそれぞれ必要に応じて出力する。
【0016】
ここで、データレジスタ5は、複数ビットのテスト用データを生成する、すなわち、制御信号SEがHighレベルの場合、入力されたシフトインデータSINが「1」のとき、シフトレジスタの最初のレジスタに「1」のデータを格納すると共に他のレジスタには「0」のデータを格納し、制御信号SEがHighレベルの間クロック信号CKに同期して、「1」のデータを次のレジスタに順次シフトさせてそれぞれ出力する。これに対して、データレジスタ5は、入力されたシフトインデータSINが「0」のとき、シフトレジスタの最初のレジスタに「0」のデータを格納すると共に他のレジスタには「1」のデータ格納し、制御信号SEがHighレベルの間クロック信号CKに同期して、「0」のデータを次のレジスタに順次シフトさせてそれぞれ出力する。
【0017】
例えば、テスト用データが8ビットの場合、シフトインデータSINが「1」のとき、最初に出力されるデータは「00000001」であり、次のタイミングで出力されるデータは「00000010」となり、その次には「00000100」となっていく。これに対して、シフトインデータSINが「0」のとき、最初に出力されるデータは「11111110」であり、次のタイミングで出力されるデータは「11111101」となり、その次には「11111011」となっていく。
【0018】
一方、チップイネーブル制御回路部4は、入力されたXアドレス及びYアドレスからRAMのシェイプを特定し、該特定したシェイプのRAMに対してイネーブル信号を出力する。ここで、通常、RAMのアドレスを示すXアドレス及びYアドレスは、RAMのシェイプに応じてビット数が異なっている。このことから、チップイネーブル制御回路部4は、入力されたXアドレス及びYアドレスの各ビット数を検出し、該検出した各ビット数からアドレスが示すRAMのシェイプを特定する。更に、チップイネーブル制御回路部4は、該特定したシェイプのRAMに対してイネーブル信号を出力する。
【0019】
図2は、チップイネーブル制御回路部4の回路例を示した概略図であり、図2を用いてチップイネーブル制御回路部4の動作についてもう少し詳細に説明する。
図2において、RAMのシェイプがk(kは、k>0の自然数)種類であるとすると、チップイネーブル制御回路部4は、Xアドレスのビット数を検出するXアドレス比較器X1〜Xk、Yアドレスのビット数を検出するYアドレス比較器Y1〜Yk、NOR回路N1〜Nk、並びに各Xアドレス比較器X1〜Xk及び各Yアドレス比較器Y1〜Ykに対してそれぞれ対応する比較基準値を出力する比較基準値発生回路11とで構成されている。
【0020】
NOR回路N1〜Nkの各一方の入力端には、対応するXアドレス比較器X1〜Xkの出力端がそれぞれ接続され、NOR回路N1〜Nkの各他方の入力端には、対応するYアドレス比較器Y1〜Ykの出力端がそれぞれ接続されている。NOR回路N1〜Nkの各出力からは、対応するシェイプのRAMに対してイネーブル信号CE1〜CEkが出力される。また、各Xアドレス比較器X1〜Xk及び各Yアドレス比較器Y1〜Ykには、あらかじめシェイプごとに設定された各比較基準値が比較基準値発生回路11から対応してそれぞれ入力されており、Xアドレスレジスタ2からのXアドレスが各Xアドレス比較器X1〜Xkに、Yアドレスレジスタ3からのYアドレスが各Yアドレス比較器Y1〜Ykにそれぞれ入力される。
【0021】
Xアドレス比較器Xm(m=1〜k)は、入力されたXアドレス値のビット数と、比較基準値発生回路11から入力される比較基準値とを比較し、Xアドレス値のビット数が比較基準値以下であると出力端から対応するNOR回路Nmの一方の入力端にLowレベルの信号を出力し、比較基準値を超える場合は、Highレベルの信号を出力する。
【0022】
同様に、Yアドレス比較器Ym(m=1〜k)は、入力されたYアドレス値のビット数と、比較基準値発生回路11から入力される比較基準値とを比較し、Yアドレス値のビット数が比較基準値以下であると出力端から対応するNOR回路Nmの他方の入力端にLowレベルの信号を出力し、比較基準値を超える場合は、Highレベルの信号を出力する。NOR回路Nmは、Xアドレス比較器Xm及びYアドレス比較器YmからそれぞれLowレベルの信号が出力されると、対応するシェイプのRAMをイネーブルにするHighレベルのイネーブル信号CEmを出力する。
【0023】
図3及び図4は、図1で示したシーケンサ6の動作例を示したフローチャートであり、図3及び図4を用いてシーケンサ6の動作についてもう少し詳細に説明する。なお、図3及び図4では、特に明記しない限り各フローで行われる処理はシーケンサ6で行われるものである。
【0024】
図3において、まず最初に、外部から入力されるテストモード開始信号GOが立ち上がるとテストモードの動作を開始し(ステップS1)、初期化処理として、リセット信号RBをLowレベルに、リセット信号SBをHighレベルに、制御信号SE及びCUをそれぞれLowレベルにすると共に、ライトイネーブル信号WEの出力を停止する(ステップS2)。このようにすることにより、Xアドレスレジスタ2及びYアドレスレジスタ3からXアドレス及びYアドレスの各初期値、すなわちすべて「0」のXアドレス及びYアドレスが出力されると共に、データレジスタ5から出力されるテストデータはすべて「0」のデータとなる。更に、データチップイネーブル制御回路部4からは、入力されたXアドレス及びYアドレスに対応するシェイプのRAMに対してイネーブル信号が出力される。
【0025】
次に、制御信号SEがLowレベルの状態で、「1」のシフトインデータSINを出力し、データレジスタ6のシフトレジスタにおける最初のレジスタのみに「1」のデータを格納させて初期テストデータをセットし(ステップS3)、この後、シフトインデータSINを「0」にして初期テストデータのセットが完了する(ステップS4)。次に、ライトイネーブル信号WEを出力してセットしたテストデータを対応するシェイプのRAMに書き込ませ(ステップS5)、再びライトイネーブル信号WEの出力を停止して、対応するシェイプのRAMに対するデータの書き込みが終了する(ステップS6)。
【0026】
次に、制御信号CUを立ち上げ、Xアドレスレジスタ2に対してXアドレスをカウントアップさせて出力させると共に、Yアドレスレジスタ3に対してYアドレスをカウントアップさせて出力させ(ステップS7)、この後、制御信号CUを立ち下げてXアドレス及びYアドレスのカウントアップが完了する(ステップS8)。次に、Yアドレスが最大Yアドレス値までカウントアップされたか否かを調べ(ステップS9)、最大Yアドレス値までカウントアップされていない場合(NO)、制御信号SEを立ち上げてデータレジスタ5に対してテストデータのシフトを順次行わせRAMへのデータの供給を行う(ステップS10)。この後、再び制御信号SEを立ち下げてテストデータのシフトが完了し(ステップS11)、ステップS5に戻る。
【0027】
一方、ステップS9で、最大Yアドレス値までカウントアップされていた場合(YES)、図4のステップS12に進み、リセット信号RBをHighレベルに、リセット信号SBをLowレベルに、制御信号SE及びCUをそれぞれLowレベルにすると共に、ライトイネーブル信号WEの出力を停止する(ステップS12)。このようにすることにより、データレジスタ5から出力されるテストデータがすべて「1」のデータにリセットされる。
【0028】
次に、制御信号SEがLowレベルの状態で、「0」のシフトインデータSINを出力し、データレジスタ6のシフトレジスタにおける最初のレジスタのみに「0」のデータを格納させてテストデータをセットし(ステップS13)、この後、シフトインデータSINを「1」にしてテストデータのセットが完了する(ステップS14)。次に、ステップS5からステップS8と同様の処理であるステップS15からステップS18の処理を行う。
【0029】
この後、Xアドレスが最大Xアドレス値までカウントアップされたか否かを調べ(ステップS19)、最大Xアドレス値までカウントアップされていない場合(NO)、ステップS10及びステップS11と同様の処理であるステップS20及びステップS21の処理を行った後、ステップS15に戻る。また、ステップS19で、最大Xアドレス値までカウントアップされていた場合(YES)、本フローは終了する。なお、上記フローにおいて、Xアドレス又はYアドレスが有効値を超えたRAMは、チップイネーブル制御回路部4によって非活性状態にされる。
【0030】
このように、本実施の形態における組込み自己試験用回路は、テストを行うすべてのRAMのXアドレスを生成して出力するアップカウンタ付きのレジスタで構成されたXアドレスレジスタ2と、テストを行うすべてのRAMのYアドレスを生成して出力するアップカウンタ付きのレジスタで構成されたYアドレスレジスタ3と、Xアドレスレジスタ2及びYアドレスレジスタ3から出力されるXアドレス及びYアドレスからテスト対象となるRAMに対してイネーブル信号を生成して出力するチップイネーブル制御回路部4とを備えた。このことから、被テストRAMをダイアゴナルパターンによって並列にテストを行うことができ、異なるシェイプのRAMが配置されている場合においても、ダイアゴナルパターンを生成するデータ生成回路を共有することができ、集積回路内に占めるBIST回路の面積の増加を減少させることができる。
【0031】
【発明の効果】
上記の説明から明らかなように、本発明の組込み自己試験用回路によれば、データ生成回路に、テストを行うすべてのRAMのXアドレスを生成して出力するXアドレスレジスタ部と、テストを行うすべてのRAMのYアドレスを生成して出力するYアドレスレジスタ部と、Xアドレスレジスタ部及びYアドレスレジスタ部から出力されるXアドレス及びYアドレスからテストを行うRAMに対してイネーブル信号を生成して出力するチップイネーブル制御部とを備えた。このことから、被テストRAMをダイアゴナルパターンによって並列にテストを行うことができ、異なるシェイプのRAMが配置されている場合においても、ダイアゴナルパターンを生成するデータ生成回路を共有することができ、集積回路内に占める組込み自己試験用回路の面積の増加を減少させることができる。
【0032】
また、チップイネーブル制御部は、入力されたXアドレス及びYアドレスから特定したテスト対象となるシェイプのRAMに対して、チップイネーブル信号を出力するようにしたことから、異なるシェイプのRAMが配置されている場合においても、データ生成回路を共有することができる。
【0033】
具体的には、チップイネーブル制御部は、入力されたXアドレス及びYアドレスの各ビット数からテストを行うRAMのシェイプを特定するようにしたことから、テストを行うRAMのシェイプを正確に特定することができる。
【0034】
また、Xアドレスレジスタ部及びYアドレスレジスタ部を、アップカウンタ付きのレジスタで構成したことから、簡単な構成でシェイプが異なる被テストRAMに対するXアドレス及びYアドレスを生成することができる。
【図面の簡単な説明】
【図1】 本発明の実施の形態における集積回路の組込み自己試験用回路例を示した概略のブロック図である。
【図2】 図1のチップイネーブル制御回路部4の回路例を示した概略図である。
【図3】 図1で示したシーケンサ6の動作例を示したフローチャートである。
【図4】 図1で示したシーケンサ6の動作例を示したフローチャートである。
【符号の説明】
1 データ生成回路
2 Xアドレスレジスタ
3 Yアドレスレジスタ
4 チップイネーブル制御回路部
5 データレジスタ
6 シーケンサ
11 比較基準値発生回路
X1〜Xk Xアドレス比較器
Y1〜Yk Yアドレス比較器
N1〜Nk NOR回路
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an integrated circuit incorporating a self test circuit (BIST) for testing a RAM used in the integrated circuit, and more particularly to a data generator that generates and supplies a diagonal pattern as a self test pattern for the RAM. The present invention relates to an integrated circuit having a self-test circuit.
[0002]
[Prior art]
With the recent increase in scale and integration of integrated circuits, testing of integrated circuits has become an increasingly difficult problem, and reduction in test costs and improvement in test quality are required. For this reason, a self-test circuit is built in the integrated circuit in advance, and the integrated circuit has a self-test function. 2. Description of the Related Art Conventionally, in an integrated circuit having a self-test circuit for a RAM in the integrated circuit, the self-test circuit generates a diagonal pattern that changes the address by distinguishing the RAM address into an X address and a Y address. I was testing.
[0003]
[Problems to be solved by the invention]
However, since the number of bits of the X address and the Y address differs depending on the shape of the RAM, when a RAM having a different shape is arranged in the integrated circuit, a diagonal pattern is formed in the integrated circuit. The data generator to be generated has to be arranged for each RAM shape. For this reason, in the integrated circuit, the area occupied by the self-test circuit increases in proportion to the type of RAM shape, resulting in an increase in hardware overhead.
[0004]
The present invention has been made in order to solve the above-described problems, and can share a data generator for generating a diagonal pattern even when RAMs having different shapes are arranged in an integrated circuit. Thus, an object of the present invention is to obtain a built-in self-test circuit capable of reducing an increase in the area occupied in an integrated circuit.
[0005]
Although different from the present invention, Japanese Patent Application Laid-Open No. 5-241882 discloses a BIST circuit having a combined data generator and an LFSR.
[0006]
[Means for Solving the Problems]
A built-in self-test circuit according to the present invention is a built-in self-test circuit in an integrated circuit including a data generation circuit that supplies a diagonal pattern to a RAM that is a device under test in the integrated circuit. X address register unit that generates and outputs X addresses of all the RAMs that perform, Y address register unit that generates and outputs the Y addresses of all the RAMs that perform the test, X address register unit and Y address register unit The chip enable control unit that generates and outputs an enable signal to the RAM to be tested from the X address and the Y address output from, and generates and outputs test data for all the RAMs to be tested Data register unit composed of shift registers and X address register unit In which a control unit for controlling the operation of the Y address register and a data register unit.
[0007]
The chip enable control unit identifies a RAM shape to be tested from the X address and Y address output from the X address register unit and the Y address register unit, and an enable signal for the RAM of the identified shape. May be generated and output.
[0008]
Specifically, the chip enable control unit compares the number of bits of the X address and Y address output from the X address register unit and the Y address register unit with a corresponding comparison reference value, and performs a test. The shape of RAM to be performed is specified.
[0009]
Further, the X address register unit and the Y address register unit may be constituted by registers with an up counter.
[0010]
DETAILED DESCRIPTION OF THE INVENTION
Next, the present invention will be described in detail based on the embodiments shown in the drawings.
FIG. 1 is a schematic block diagram showing a built-in self-test circuit example of an integrated circuit according to an embodiment of the present invention. Note that FIG. 1 shows only a data generation circuit of a self-test circuit (hereinafter referred to as a BIST circuit) incorporated in an integrated circuit in order to test a RAM used in the integrated circuit. The part is omitted.
The data generation circuit 1 in the RAM BIST circuit shown in FIG. 1 is a circuit that supplies a diagonal pattern, which is a self test pattern of the RAM, to the RAM, which is a device under test.
[0011]
In FIG. 1, a data generation circuit 1 includes an X address register 2 that generates and outputs X addresses of all RAMs to be tested, a Y address register 3 that similarly generates and outputs Y addresses, and an X address register. 2 and a chip enable control circuit unit 4 that generates and outputs an enable signal from the X address and Y address output from the Y and Y address registers 3 to the RAM to be tested. Further, the data generation circuit 1 includes a data register 5 that generates and outputs test data to the RAM to be tested, an X address register 2, a Y address register 3, and a data register in accordance with an external control signal. 5 and a sequencer 6 for performing operation control.
[0012]
The X address register 2 and the Y address register 3 are registers with an up counter. The register size of the X address register 2 is the maximum X address width in the RAM to be tested, and the register size of the Y address register 3 is the test target. Each of the RAMs has the maximum Y address width. The data register 5 is composed of a shift register, and the register size has the maximum data width in the RAM to be tested.
[0013]
When the sequencer 6 receives a test mode start signal GO, which is a signal for instructing the start of a test operation for the RAM, the sequencer 6 starts the test mode operation based on a preset sequence. At this time, a predetermined clock signal CK is input from the outside, and the clock signal CK is output to the X address register 2, the Y address register 3, and the data register 5, respectively. As described above, the X address register 2, the Y address register 3, the data register 5, and the sequencer 6 operate based on the clock signal CK input from the outside.
[0014]
The sequencer 6 further outputs a control signal CU for counting up to the X address register 2 and the Y address register 3, respectively, and each address output from the X address register 2 and the Y address register 3, respectively. For example, a low level reset signal RB for setting all data to 0 is output as necessary. The X address register 2 and the Y address register 3 count up the registers in synchronization with the clock signal CK when the control signal CU is at a high level, for example, and the generated X address and Y address are stored in the test target RAM. Output to the chip enable control circuit unit 4 as well.
[0015]
In addition, the sequencer 6 outputs shift-in data SIN, which is data to be shifted and stored in the shift register, to the data register 5 and outputs a control signal SE for controlling the shift operation of the shift register. . For example, when the high level control signal SE is input from the sequencer 6, the data register 5 shifts the shift-in data SIN stored in one register of the shift register in synchronization with the clock signal CK. Further, the sequencer 6 outputs a write enable signal WE to the RAM of each shape to be tested, and at the same time, for example, a low level reset signal RB for setting all data output from the data register 5 to “0”. For example, a low level reset signal SB for setting all to “1” is output as necessary.
[0016]
Here, the data register 5 generates a plurality of bits of test data. That is, when the control signal SE is at a high level, when the input shift-in data SIN is “1”, the data register 5 is stored in the first register of the shift register. The data “1” is stored and the data “0” is stored in the other registers. The data “1” is sequentially transferred to the next register in synchronization with the clock signal CK while the control signal SE is at the high level. Shift and output each. On the other hand, when the input shift-in data SIN is “0”, the data register 5 stores “0” data in the first register of the shift register and “1” data in the other registers. Stored, and in synchronization with the clock signal CK while the control signal SE is at a high level, the data of “0” is sequentially shifted to the next register and output.
[0017]
For example, when the test data is 8 bits and the shift-in data SIN is “1”, the first output data is “00000001”, and the data output at the next timing is “00000010”. Next, it becomes “00000100”. On the other hand, when the shift-in data SIN is “0”, the data output first is “11111110”, the data output at the next timing is “11111101”, and then “11111011”. It will become.
[0018]
On the other hand, the chip enable control circuit unit 4 specifies the RAM shape from the input X address and Y address, and outputs an enable signal to the RAM of the specified shape. Here, normally, the X address and the Y address indicating the RAM address differ in the number of bits depending on the shape of the RAM. From this, the chip enable control circuit unit 4 detects the number of bits of the inputted X address and Y address, and specifies the shape of the RAM indicated by the address from the detected number of bits. Further, the chip enable control circuit unit 4 outputs an enable signal to the RAM having the specified shape.
[0019]
FIG. 2 is a schematic diagram illustrating a circuit example of the chip enable control circuit unit 4. The operation of the chip enable control circuit unit 4 will be described in more detail with reference to FIG.
In FIG. 2, if the shape of the RAM is k (k is a natural number of k> 0), the chip enable control circuit unit 4 detects X address comparators X1 to Xk, Y that detect the number of bits of the X address. Y address comparators Y1 to Yk for detecting the number of bits of the address, NOR circuits N1 to Nk, and corresponding reference reference values are output to the X address comparators X1 to Xk and the Y address comparators Y1 to Yk, respectively. The comparison reference value generating circuit 11 is configured.
[0020]
The output terminals of the corresponding X address comparators X1 to Xk are connected to one input terminals of the NOR circuits N1 to Nk, respectively, and the corresponding Y address comparison is connected to the other input terminals of the NOR circuits N1 to Nk. The output ends of the devices Y1 to Yk are connected to each other. From the outputs of the NOR circuits N1 to Nk, enable signals CE1 to CEk are output to the RAM of the corresponding shape. Further, each X reference comparator X1 to Xk and each Y address comparator Y1 to Yk are input with respective comparison reference values set in advance for each shape correspondingly from the comparison reference value generating circuit 11, respectively. The X address from the X address register 2 is input to each X address comparator X1 to Xk, and the Y address from the Y address register 3 is input to each Y address comparator Y1 to Yk.
[0021]
The X address comparator Xm (m = 1 to k) compares the number of bits of the input X address value with the comparison reference value input from the comparison reference value generation circuit 11, and the number of bits of the X address value is If it is equal to or lower than the comparison reference value, a low level signal is output from the output terminal to one input terminal of the corresponding NOR circuit Nm. If the comparison reference value is exceeded, a high level signal is output.
[0022]
Similarly, the Y address comparator Ym (m = 1 to k) compares the number of bits of the input Y address value with the comparison reference value input from the comparison reference value generation circuit 11, and determines the Y address value. When the number of bits is equal to or smaller than the comparison reference value, a Low level signal is output from the output terminal to the other input terminal of the corresponding NOR circuit Nm. When the number of bits exceeds the comparison reference value, a High level signal is output. When a low level signal is output from each of the X address comparator Xm and the Y address comparator Ym, the NOR circuit Nm outputs a high level enable signal CEm that enables the RAM of the corresponding shape.
[0023]
3 and 4 are flowcharts showing an example of the operation of the sequencer 6 shown in FIG. 1. The operation of the sequencer 6 will be described in more detail with reference to FIGS. In FIG. 3 and FIG. 4, processing performed in each flow is performed by the sequencer 6 unless otherwise specified.
[0024]
In FIG. 3, first, when an externally input test mode start signal GO rises, the test mode operation starts (step S1). As an initialization process, the reset signal RB is set to the low level, and the reset signal SB is set. The control signals SE and CU are set to the low level at the high level, and the output of the write enable signal WE is stopped (step S2). By doing so, the initial values of the X address and Y address, that is, the X address and Y address of all “0” are output from the X address register 2 and the Y address register 3, and also output from the data register 5. All the test data is “0”. Further, the data chip enable control circuit unit 4 outputs an enable signal to the RAM having a shape corresponding to the input X address and Y address.
[0025]
Next, in the state where the control signal SE is at the low level, the shift-in data SIN of “1” is output, the data of “1” is stored only in the first register in the shift register of the data register 6 and the initial test data is stored After that, the shift-in data SIN is set to “0” and the initial test data setting is completed (step S4). Next, the test data set by outputting the write enable signal WE is written into the RAM of the corresponding shape (step S5), the output of the write enable signal WE is stopped again, and the data is written into the RAM of the corresponding shape. Ends (step S6).
[0026]
Next, the control signal CU is raised and the X address register 2 counts up and outputs the X address, and the Y address register 3 counts up and outputs the Y address (step S7). Thereafter, the control signal CU is lowered to complete counting up of the X address and the Y address (step S8). Next, it is checked whether or not the Y address has been counted up to the maximum Y address value (step S9). If the Y address has not been counted up (NO), the control signal SE is raised to the data register 5 On the other hand, the test data is sequentially shifted and the data is supplied to the RAM (step S10). Thereafter, the control signal SE is again lowered to complete the shift of the test data (step S11), and the process returns to step S5.
[0027]
On the other hand, if it is counted up to the maximum Y address value in step S9 (YES), the process proceeds to step S12 in FIG. 4, the reset signal RB is set to the high level, the reset signal SB is set to the low level, and the control signals SE and CU Are set to the Low level, and the output of the write enable signal WE is stopped (step S12). In this way, all the test data output from the data register 5 is reset to “1” data.
[0028]
Next, in the state where the control signal SE is at the low level, the shift-in data SIN of “0” is output, the data of “0” is stored only in the first register in the shift register of the data register 6 and the test data is set. Thereafter, the shift-in data SIN is set to “1” to complete the test data setting (step S14). Next, the process of step S15 to step S18 which is the same process as step S5 to step S8 is performed.
[0029]
Thereafter, it is checked whether or not the X address has been counted up to the maximum X address value (step S19). If the X address has not been counted up to the maximum X address value (NO), the processing is the same as in steps S10 and S11. After performing steps S20 and S21, the process returns to step S15. If the count has been counted up to the maximum X address value in step S19 (YES), this flow ends. In the above flow, the RAM whose X address or Y address exceeds the valid value is deactivated by the chip enable control circuit unit 4.
[0030]
As described above, the built-in self-test circuit according to the present embodiment generates the X address of all the RAMs to be tested and generates and outputs the X address register 2 composed of the registers with the up counter, and all the tests to be performed. A Y address register 3 composed of a register with an up-counter that generates and outputs a Y address of the RAM, and a RAM to be tested from the X address and the Y address output from the X address register 2 and the Y address register 3 And a chip enable control circuit unit 4 for generating and outputting an enable signal. As a result, the RAM under test can be tested in parallel with the diagonal pattern, and even when RAMs of different shapes are arranged, the data generation circuit for generating the diagonal pattern can be shared, and the integrated circuit The increase in the area of the BIST circuit occupying the inside can be reduced.
[0031]
【The invention's effect】
As is apparent from the above description, according to the built-in self-test circuit of the present invention, the X address register unit that generates and outputs the X addresses of all the RAMs to be tested and the data generation circuit are tested. Generate and output an enable signal for the RAM to be tested from the Y address register unit that generates and outputs the Y address of all the RAMs, and the X address and Y address output from the X address register unit and the Y address register unit And a chip enable controller for outputting. As a result, the RAM under test can be tested in parallel with the diagonal pattern, and even when RAMs of different shapes are arranged, the data generation circuit for generating the diagonal pattern can be shared, and the integrated circuit The increase in the area of the built-in self-test circuit occupying the inside can be reduced.
[0032]
In addition, since the chip enable control unit outputs a chip enable signal to the RAM of the shape to be tested specified from the input X address and Y address, the RAMs of different shapes are arranged. Even in such a case, the data generation circuit can be shared.
[0033]
Specifically, since the chip enable control unit specifies the shape of the RAM to be tested from the number of bits of the input X address and Y address, it accurately specifies the shape of the RAM to be tested. be able to.
[0034]
In addition, since the X address register unit and the Y address register unit are constituted by registers with an up counter, it is possible to generate an X address and a Y address for a RAM under test having a different configuration with a simple configuration.
[Brief description of the drawings]
FIG. 1 is a schematic block diagram showing an example of a built-in self-test for an integrated circuit according to an embodiment of the present invention.
FIG. 2 is a schematic diagram showing a circuit example of a chip enable control circuit unit 4 in FIG. 1;
FIG. 3 is a flowchart showing an operation example of the sequencer 6 shown in FIG. 1;
4 is a flowchart showing an operation example of the sequencer 6 shown in FIG.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Data generation circuit 2 X address register 3 Y address register 4 Chip enable control circuit part 5 Data register 6 Sequencer 11 Comparison reference value generation circuit X1-Xk X address comparator Y1-Yk Y address comparator N1-Nk NOR circuit

Claims (2)

集積回路内の被テストデバイスであるRAMにダイアゴナルパターンを供給するデータ生成回路を備えた、集積回路における組込み自己試験用回路において、
上記データ生成回路は、
テストを行うすべてのRAMのXアドレスを生成して出力するXアドレスレジスタ部と、
テストを行うすべてのRAMのYアドレスを生成して出力するYアドレスレジスタ部と、
上記Xアドレスレジスタ部及びYアドレスレジスタ部から出力されたXアドレス及びYアドレスから、テストを行うRAMに対してイネーブル信号を生成して出力するチップイネーブル制御部と、
テスト対象となるすべてのRAMに対してテスト用データを生成して出力するシフトレジスタで構成されたデータレジスタ部と、
上記Xアドレスレジスタ部、Yアドレスレジスタ部及びデータレジスタ部の動作制御を行う制御部と、
を備え
上記チップイネーブル制御部は、Xアドレスレジスタ部及びYアドレスレジスタ部から出力されたXアドレス及びYアドレスの各ビット数とあらかじめ設定された対応する比較基準値とを比較して、テストを行うRAMのシェイプを特定し、該特定したシェイプのRAMに対してイネーブル信号を生成して出力することを特徴とする組込み自己試験用回路。
In a built-in self-test circuit in an integrated circuit, comprising a data generation circuit for supplying a diagonal pattern to a RAM, which is a device under test in the integrated circuit,
The data generation circuit
An X address register unit for generating and outputting X addresses of all RAMs to be tested;
A Y address register unit for generating and outputting Y addresses of all RAMs to be tested;
A chip enable control unit that generates and outputs an enable signal to the RAM to be tested from the X address and the Y address output from the X address register unit and the Y address register unit;
A data register section composed of a shift register that generates and outputs test data for all RAMs to be tested;
A control unit for controlling operations of the X address register unit, the Y address register unit, and the data register unit;
Equipped with a,
The chip enable control unit compares the number of bits of the X address and Y address output from the X address register unit and the Y address register unit with a corresponding comparison reference value set in advance, and performs a test of the RAM for performing the test. A built-in self-test circuit characterized by specifying a shape and generating and outputting an enable signal to the RAM of the specified shape .
上記Xアドレスレジスタ部及びYアドレスレジスタ部は、アップカウンタ付きのレジスタで構成されることを特徴とする請求項1に記載の組込み自己試験用回路。 2. The built-in self-test circuit according to claim 1, wherein each of the X address register unit and the Y address register unit includes a register with an up counter .
JP2000027677A 2000-02-04 2000-02-04 Built-in self-test circuit Expired - Fee Related JP3955708B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000027677A JP3955708B2 (en) 2000-02-04 2000-02-04 Built-in self-test circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000027677A JP3955708B2 (en) 2000-02-04 2000-02-04 Built-in self-test circuit

Publications (2)

Publication Number Publication Date
JP2001222900A JP2001222900A (en) 2001-08-17
JP3955708B2 true JP3955708B2 (en) 2007-08-08

Family

ID=18553219

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000027677A Expired - Fee Related JP3955708B2 (en) 2000-02-04 2000-02-04 Built-in self-test circuit

Country Status (1)

Country Link
JP (1) JP3955708B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004246979A (en) 2003-02-14 2004-09-02 Fujitsu Ltd Semiconductor test circuit, semiconductor memory device, and semiconductor testing method
JP2006252702A (en) * 2005-03-11 2006-09-21 Nec Electronics Corp Semiconductor integrated circuit apparatus and its inspection method
JP5310654B2 (en) * 2010-06-10 2013-10-09 富士通セミコンダクター株式会社 Memory device and memory system

Also Published As

Publication number Publication date
JP2001222900A (en) 2001-08-17

Similar Documents

Publication Publication Date Title
US7607055B2 (en) Semiconductor memory device and method of testing the same
US7181658B2 (en) Method for testing semiconductor memory device and test circuit for semiconductor memory device
US6219289B1 (en) Data writing apparatus, data writing method, and tester
US6516430B1 (en) Test circuit for semiconductor device with multiple memory circuits
EP2149885B1 (en) Integrated circuit and method for testing the circuit
US6151692A (en) Integrated circuit having memory built-in self test (BIST) for different memory sizes and method of operation
US9443611B2 (en) Semiconductor integrated circuit with bist circuit
JP3955708B2 (en) Built-in self-test circuit
US7117394B2 (en) Built-in self-test circuit
JPH0991997A (en) Memory test circuit
US7386650B2 (en) Memory test circuit with data expander
KR20020018128A (en) Semiconductor integrated circuit and operating method
JP2002083499A (en) Data write-in device, data write-in method, test device, and test method
US7178077B2 (en) Integrated circuit test apparatus
JP4724774B2 (en) Semiconductor circuit device, memory test circuit, and test method for semiconductor circuit device
JP4526176B2 (en) IC test equipment
JP2006208190A (en) Integrated circuit and its test method
JP4811244B2 (en) Semiconductor test equipment
JPH05151017A (en) Microcomputer
JPH0572286A (en) Ic test pattern generator
JP2720761B2 (en) Semiconductor integrated circuit test equipment
JP3540247B2 (en) Test circuit for semiconductor device and test method using the same
CN113345508A (en) Test circuit and electronic device
JP5453981B2 (en) LSI and test data setting method thereof
JP3281898B2 (en) Memory mounted semiconductor device and memory test method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040616

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20061226

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070109

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070309

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070424

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070507

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110511

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120511

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120511

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130511

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees