JP3558746B2 - Nonvolatile memory test method and test apparatus - Google Patents
Nonvolatile memory test method and test apparatus Download PDFInfo
- Publication number
- JP3558746B2 JP3558746B2 JP19084695A JP19084695A JP3558746B2 JP 3558746 B2 JP3558746 B2 JP 3558746B2 JP 19084695 A JP19084695 A JP 19084695A JP 19084695 A JP19084695 A JP 19084695A JP 3558746 B2 JP3558746 B2 JP 3558746B2
- Authority
- JP
- Japan
- Prior art keywords
- expected
- value
- under test
- address
- memory under
- 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 - Lifetime
Links
Images
Description
【0001】
【発明の属する技術分野】
本発明は、不揮発性メモリの試験方法及びその試験装置に関するものであり、特に、マスクROM,EPROM及びE2 PROM等のデータ読出し試験を行う方法及び装置に関するものである。
【0002】
【従来の技術】
近年、マスクROM,EPROM及びE2 PROM等の不揮発性メモリの大容量化に伴い、データ読出し試験においては期待値として用いるデータ量が膨大になっている。その一方で、顧客への製品供給に関しては短納期化が強く要望されている。このため、不揮発性メモリのデータ読出し試験では、様々なモードの不良を検出するため、あるいは、試験時間の短縮化を図るために、複数の異なるアドレスパターンを用いて効率良く試験を行うことが必要となる。
【0003】
図4は、従来例に係るROMテスタの構成図を示している。図4において、300 はROMテスタであり、1は期待値データを格納する期待値データメモリである。2はアドレスパターンを発生するアドレスパターン発生器であり、3は被試験メモリ18の読出しデータ(DATA)の「0」又は「1」を判定する0/1判定器であり、4は期待値データと読出しデータとを比較する比較器であり、5は比較器4の出力信号から被試験メモリ18の良否を判定する判定器である。6は期待値データメモリ1やアドレスパターン発生器2の入出力を制御するCPU(中央演算装置)である。
【0004】
メモリ1には被試験メモリ18への書込み値の格納番地を特定の順序で指定したときに、被試験メモリ18から読み出しが期待される値を1アドレス単位に対比させた期待値データが格納されている。例えば、期待値データはあるアドレス#Xを指定したときに読み出されるであろう値であり、被試験メモリ18をプログラムしたときに、そのアドレス#Xに書き込んだ値に等しい。
【0005】
次に、ROMテスタの動作を説明する。まず、ROMテスタ300 のアドレス出力端子と被試験メモリ18のアドレス入力端子とを接続し、被試験メモリ18のデータ出力端子とROMテスタ300 のデータ入力端子とをそれぞれ接続した状態で、CPU6の制御命令により、アドレスパターン発生器2はアドレスパターン(ADD),例えば、#0000〜#FFFF…を発生する。そして、発生器2からアドレス#0000が被試験メモリ18に指定され、CPU6は期待値データメモリ1のアドレス(ADD)#0000をポインタによって指示する。
【0006】
また、被試験メモリ18から読み出されたデータは、0/1判定器3によって、各出力ビット毎に「0」又は「1」が判定され、そのデータ,例えば「#00」が比較器4に出力される。比較器4ではアドレス#0000の期待値データ,例えば、「#00」と読出しデータ=「#00」とが比較される。この比較はアドレス単位に逐次実行され、その結果は判定器5によって判定される。これにより、被試験メモリ18の良否が判定される。
【0007】
【発明が解決しようとする課題】
しかしながら、読出しデータと期待値データとをアドレス単位に逐次比較する方法では、不揮発性メモリの大容量化に伴い、データ比較回数が膨大になるので試験時間が増加する。また、メモリ1には被試験メモリ18の全アドレス分の期待値データを格納しなくてはならないので、被試験メモリ18の容量と同じの容量のものを用意する必要がある。被試験メモリ18のメモリ容量の増大は期待値データメモリ1の増加を余儀無くする。
【0008】
従って、被試験メモリの容量分の期待値データメモリが準備できない場合、被試験メモリ18のアドレス領域を分割し、複数回に分けてデータ読出し試験を実施せざるを得なくなり、試験工程及び試験コストの増大、強いては顧客への製品納期の遅延を招くという問題が生じる。
本発明は、かかる従来例の問題点に鑑み創作されたものであり、読出しデータと期待値データとをアドレス単位に逐次比較することなく、短時間かつ簡易に読出し試験を行うことが可能となる不揮発性メモリの試験方法及びその試験装置の提供を目的とする。
【0009】
【課題を解決するための手段】
本発明の不揮発性メモリの試験方法は、所定のデータパターンが書き込まれた被試験メモリから、重複するアドレスを含むアドレス指定パターンを少なくとも1つ含む複数のアドレス指定パターンによって順次読出しが期待される値を特定の計算によってまとめた複数の期待値を作成しておき、前記被試験メモリの試験時には、前記複数の期待値の中から1つの期待値を選択し、前記選択された期待値を作成したときと同じアドレス指定パターンによって前記被試験メモリから順次読み出される値を前記特定の計算によってまとめて実際値を作成し、前記選択された期待値と前期作成された実際値とを比較することを特徴とする。
【0010】
上記した不揮発性メモリの試験方法において、前記複数のアドレス指定パターンは、少なくとも、最下位又は最上位アドレスから一つずつ順にアドレスを増やしていく又は減らしていく第1のパターンと、離散的にアドレスを指定していく第2のパターンとを含み、前記第2のパターンは、重複するアドレスが含まれていることを特徴とする。
【0011】
また、上記した不揮発性メモリの試験方法において、前記特定の計算は、加算、減算、乗算又は除算、もしくはこれら算術の組み合わせのいずれかにより行なうことを特徴とする。
本発明の不揮発性メモリの試験装置は、所定のデータパターンが書き込まれた被試験メモリから、重複するアドレスを含むアドレス指定パターンを少なくとも一つ含む複数のアドレス指定パターンによって順次読出しが期待される値を特定の計算によってまとめた複数の期待値を格納する記憶手段と、前記記憶手段から前記複数の期待値のうちの一つを選択する選択手段と、前記選択手段により選択された前記期待値に対応する前記アドレス指定パターンによって前記被試験メモリのアドレスを指定する指定手段と、前記指定手段によって指定されたアドレスから順次読み出される値を前記特定の計算によってまとめて実際値を作成する演算手段と、前記記憶手段からの期待値と前記演算手段からの実際値とを比較する比較手段と、前記比較手段の出力結果から前記被試験メモリへの書き込み値の正否を判定する判定手段とを備えていることを特徴とする。
【0012】
本発明の不揮発性メモリの試験方法では、予め、被試験メモリに書き込んだ値の正否判定基準を用意するために、まず、被試験メモリから順次読出しが期待される値を特定の計算によってまとめた期待値を作成する。このときの特定の計算は加算、減算、乗算又は除算もしくはこれらの算術の組み合わせのいずれかにより行う。また、被試験メモリの格納番地は特定順序で指定する。
【0013】
そして、被試験メモリを試験するときには、先の期待値を作成したときと同じ特定順序で試験対象となる実際の被試験メモリに対して格納番地を指定し、この指定によって順次読み出される値を特定の計算によりまとめて実際値を作成する。その後、先の期待値とこの実際値とを比較して被試験メモリへの書込み値の正否を判定する。
【0014】
このように本発明の試験方法によれば、被試験メモリから特定順序で読み出しが期待される値を特定の計算によってまとめた期待値と、実際の被試験メモリから期待値と同じ順序で逐次読み出された値を特定の計算によってまとめた実際値とを比較しているので、従来例のように格納番地毎に逐次指定して読み出した1つの値と、これに期待する1つの期待値とを比較することなく、格納番地群単位にまとめた値同士を一度に比較できるようになる。従って、比較回数が大幅に削減できるので、被試験メモリの容量が増大した場合であっても、短い時間でマスクROM,EPROM,E2 PROM等の簡易なデータ読出し試験を行うことができる。
【0015】
また、本発明の第2の試験方法では、被試験メモリの格納番地を指定する順序を何種類かに変更したときの複数の期待値が作成され、この複数の期待値の中から1つの期待値を選択し、この期待値を作成したときの格納番地の指定順序で、被試験メモリの格納番地を指定している。
このため、被試験メモリの格納番地を単一の特定順序で指定する場合に比べて、被試験メモリの格納番地を指定する順序を変更することによって、被試験メモリの格納番地を複数の異なる順序で指定できるので、ユーザの使用状況に模した試験ができる。この結果、被試験メモリのアドレス指定順序に依存したデバイス特性、例えば、読出し速度及び電源マージン等を考慮に入れたデータ読出し試験を行うことができる。
【0016】
さらに、本発明の試験装置によれば、被試験メモリから読み出しが期待される値を特定の計算で求めた期待値を格納するメモリ容量を確保すれば良いので、従来例に比べて記憶手段の容量が低減できる。このメモリ容量の低減化によって、試験装置が低廉化できる。
【0017】
【発明の実施の形態】
次に、図を参照しながら本発明の実施の形態について説明をする。図1〜3は、本発明の実施の形態に係る不揮発性メモリの試験方法及びその試験装置の説明図である。
(1)第1の実施の形態
図1は、本発明の第1の実施の形態に係るROMテスタの構成図であり、図2(A)は、そのアドレスパターンとチェックサム期待値との関係説明図をそれぞれ示している。図1において、11は被試験メモリ18から読み出しが期待される値を予め加算したチェックサム期待値D1を格納するチェックサム期待値メモリであり、記憶手段の一例である。チェックサム期待値D1は被試験メモリ18に書き込んだ値「0」又は「1」の正否判定基準となるものである。
【0018】
本実施の形態では、チェックサム期待値D1は図2(A)に示すように、例えば、「#3FFFFF」である。この値「#3FFFFF」は、被試験メモリ18への各ビット毎の書込み値「0」又は「1」の格納番地、例えば、メモリ容量が256K(64Kワード×8ビット)の場合でアドレス#0000〜#FFFFを特定の順序で指定したときに、被試験メモリ18から読み出しが期待される各出力ビット毎の値「0」又は「1」を予め全指定アドレス分加算したものである。「#3FFFFF」は16進数で表示した値であり、2進数で示すと、「0011 1111 1111 1111 1111 1111 」である。チェックサム期待値は、被試験メモリ18から各出力ビット毎に読み出しが期待される値「0」又は「1」の加算値の1の補数又は2の補数を採ったものである。
【0019】
12は特定の順序で被試験メモリ18の格納番地を指定するアドレスパターン発生器であり、指定手段の一例である。発生器12は例えば、図2(A)の順序のアドレスパターンを発生する。13は被試験メモリ18の読出しデータ(DATA)の「0」又は「1」を各出力ビット毎に判定する0/1判定器であり、14はアドレスパターン発生器12によって指定された被試験メモリ18の格納番地からの値(読出しデータ)を逐次加算してチェックサム値Dxを出力するチェックサム値演算器であり、加算手段の一例である。
【0020】
15はチェックサム期待値D1とチェックサム値Dxとを比較する比較器であり、比較手段の一例である。16は比較器15の出力信号から被試験メモリ18の良否を判定する判定器であり、判定手段の一例である。17はチェックサム期待値メモリ11やアドレスパターン発生器12の入出力を制御するCPU(中央演算装置)である。CPU17は,例えば、アドレスパターン発生器12には指定開始を起動する制御信号S1を出力し、チェックサム期待値メモリ11には読出し許可をする制御信号S2を出力し、比較器15には出力を許可する制御信号S3を出力し、判定器16には判定を許可する制御信号S4をそれぞれ出力する。
【0021】
次に、本実施の形態に係るROMの試験方法について試験装置の動作を説明する。まず、被試験メモリ18に書き込んだ値「0」又は「1」の正否判定基準となるチェックサム期待値D1をメモリ11に格納した状態で、CPU17からの制御信号S1によって、アドレスパターン発生器12はアドレス#0000〜#FFFFを図2(A)の順序で発生し、チェックサム期待値D1を作成したときと同じように、このアドレスアドレス#0000〜#FFFFを順次、実際の被試験メモリ18に対して指定する。これによって被試験メモリ18から逐次読み出されたデータ(DATA)が各ビット毎に0/1判定器13によって判定され、ここで判定された読出しデータ「0」又は「1」は演算器14に出力される。
【0022】
演算器14ではアドレス#0000〜#FFFFの指定によって順次読み出されるデータが全て加算され、この加算値はチェックサム値Dxとして比較器15に出力される。また、比較器15ではCPU17からの制御信号S2によって、先のチェックサム期待値D1がメモリ11から読み出され、このチェックサム期待値D1とチェックサム値Dxとが一致するか否かが比較される。この比較はCPU17からの制御信号S3によって全指定アドレスに対して1回のみ実行され、その結果はCPU17からの制御信号S4によって判定器16により判定される。
【0023】
例えば、チェックサム期待値D1とチェックサム値Dxとが一致する場合には、被試験メモリ18は「良」と判定され、D1とDxが一致しない場合には「不良」と判定される。これにより、被試験メモリ18に書き込まれた値「0」又は「1」の正否が総合的に判定できる。
このようにして、本発明の第1の実施の形態に係るROMテスタでは、被試験メモリ18から読み出しが期待される値を加算したチェックサム期待値D1と、実際の被試験メモリ18から逐次読み出された値を加算したチェックサム値Dxとを比較しているので、従来例のように格納番地毎に逐次指定して読み出した1つの読出しデータと、これに期待する1つの期待値データとを個々に比較することなく、全指定アドレス毎にまとめた総和値同士が比較できる。
【0024】
従って、被試験メモリ18の容量が増大した場合であっても、短い時間でマスクROM,EPROM,E2 PROM等の簡易なデータ読出し試験を行うことができる。
さらに、本実施の形態の装置によれば、チェックサム期待値D1を格納するメモリ容量を確保すれば良いので、従来例に比べてメモリが低減でき、試験装置が低廉化できる。
【0025】
(2)第2の実施の形態
図3は本発明の第2の実施の形態に係るROMテスタの構成図であり、図2(B)は、そのチェックサム期待値メモリの内容説明図をそれぞれ示している。
第2の実施の形態では第1の実施の形態と異なり、予めn種類のチェックサム期待値を用意して置き、それを選択して被試験メモリ18のデータ読出し試験を行うものである。
【0026】
図3において、200 は第2のROMテスタであり、21はn種類のチェックサム期待値D1〜Dnを格納するチェックサム期待値メモリであり、記憶手段の一例である。本実施の形態では、チェックサム期待値D1は図2(B)に示すように、「#1FFFFF」であり、アドレス#0000〜#FFFFの順序で指定したときに、被試験メモリ18から読み出しが期待される各ビット毎の値「0」又は「1」を予め全指定アドレス分加算したものである。
【0027】
チェックサム期待値D2は,例えば、「#3FFFFF」であり、第1の実施の形態と同じ順序で、アドレス#0000〜#FFFFを指定したときに、被試験メモリ18から各ビット毎に読み出しが期待される値「0」又は「1」を予め全指定アドレス分加算したものである。
チェックサム期待値D3は先頭アドレス#0000と最終アドレス#FFFFを指定し、再び、アドレス#0000を指定し、続いて次のアドレス#0001を指定し、順次、このようなアドレスの指定関係で指定したときに、被試験メモリ18から各ビット毎に読み出しが期待される値「0」又は「1」を予め全指定アドレス分加算したものである。このようにアドレスの指定を変更してチェックサム期待値D1〜Dnを作成して置く。この期待値D1〜Dnはメモリ21に格納する。
【0028】
22はチェックサム期待値メモリ21からチェックサム期待値の1つを選択するセレクタであり、選択手段の一例である。例えば、セレクタ22は制御信号S2に応じてn種類のチェックサム期待値D1〜Dnから1つのチェックサム期待値を選択する。制御信号S2はCPU28から出力され、信号S2は制御信号S1と相互に関連したものである。CPU28は,例えば、チェックサム期待値D1を選択する場合には、アドレス#0000〜#FFFFを順次指定するような制御信号S1をアドレスパターン発生器23に出力する。なお、第1の実施の形態と同じ名称のものは同じ機能を有するため、その説明を省略する。
【0029】
次に、本実施の形態に係るROMの試験方法について試験装置の動作を説明する。例えば、n種類のチェックサム期待値D1〜Dnからチェックサム期待値D3を選択してデータ読出し試験を行う場合、まず、被試験メモリ18に書き込んだ値「0」又は「1」の正否判定基準となるチェックサム期待値D1〜Dnをメモリ21に格納した状態で、CPU28からの制御信号S1によって、アドレスパターン発生器23は被試験メモリ18に対してチェックサム期待値D3を作成したときと同じように、実際の被試験メモリ18に対してアドレスを指定する。これによって被試験メモリ18から逐次読み出されたデータ(DATA)が0/1判定器24によって各ビット毎に判定され、ここで判定された読出しデータ「0」又は「1」は演算器25に出力される。
【0030】
演算器25ではアドレスの指定によって順次読み出されるデータが全て加算され、この加算値はチェックサム値Dxとして比較器26に出力される。また、CPU28からの制御信号S2によって、セレクタ22はチェックサム期待値D3をメモリ21から選択し、この期待値D3を比較器26に出力する。比較器26では、このチェックサム期待値D3とチェックサム値Dxとが一致するか否かが比較される。この比較はCPU28からの制御信号S3によって全指定アドレスに対して1回のみ実行され、その結果はCPU28からの制御信号S4によって判定器16により判定される。
【0031】
例えば、選択されたチェックサム期待値D3と演算したチェックサム値Dxとが一致する場合には、被試験メモリ18は「良」と判定され、D3とDxが一致しない場合には「不良」と判定される。これにより、被試験メモリ18に書き込まれた値「0」又は「1」の正否が総合的に判定できる。
このようにして、本発明の第2の実施の形態に係るROMテスタでは、被試験メモリ18の格納番地を指定する順序を変更したときのn種類のチェックサム期待値D1〜Dnの中から1つのチェックサム期待値を選択し、このチェックサム期待値を作成したときの格納番地の指定順序で、被試験メモリ18の格納番地を指定している。
【0032】
このため、単一のチェックサム期待値D1を用いて試験する場合に比べて、例えば、チェックサム期待値D1〜Dnを用いて試験する場合では、被試験メモリ18の格納番地が異なる複数の順序で指定できるので、いつも同じ順序でデータを読み出すとは限らないユーザの使用状況を模した試験ができる。
この結果、被試験メモリ18のアドレスパターンに依存したデバイス特性、例えば、読出し速度及び電源マージン等を考慮に入れたデータ読出し試験を行うことができる。また、従来例のように全アドレス分の期待値データを保持することなく、複数のアドレスパターンを使用して被試験メモリ18の良否が判定できる。
【0033】
なお、本実施の形態ではCPU28からの制御信号S2に応じてチェックサム期待値をメモリ21から選択する方法について説明したが、アドレスパターン発生器23からセレクタ22へ識別信号S5を転送して、それに対応したチェックサム期待値をメモリ21から選択しても良い。この識別信号S5はどのアドレスパターンを印加したか否かを識別する信号であり、図2(B)に示すように、予め、アドレスパターンとチェックサム期待値とを対応付けて置く必要がある。
【0034】
また、本発明の各実施の形態では被試験メモリ18の全格納番地を特定順序で指定したときに読み出されるであろう全値を加算したチェックサム期待値を用いて試験を行う場合について説明したが、その格納番地を分割して指定したときに読み出されるであろう部分値を加算したチェックサム部分期待値を用いてメモリセルのブロック毎に試験を行うことも可能である。
【0035】
さらに、本発明の各実施の形態では特定の計算に付き、加算の場合について説明をしたが、これに限らず、減算、乗算又は除算もしくはこれら算術の組み合わせのいずれかにより行っても良い。
【0036】
【発明の効果】
以上説明したように、本発明の不揮発性メモリの試験方法では、特定順序で読み出しが期待される値を特定の計算によってまとめた期待値と、同じ順序で、実際に読み出された値を特定の計算によってまとめた実際値とを比較しているので、従来例のように被試験メモリの格納番地毎に逐次指定して読み出した1つの値と、これに期待する1つの期待値とを個々に比較することなく、格納番地群単位にまとめた値同士が一度に比較できる。従って、比較回数が大幅に削減できるので、被試験メモリの容量が増大した場合であっても、短い時間でデータ読出し試験ができる。
【0037】
また、本発明の試験方法では、被試験メモリの格納番地を指定する順序を変更したときの複数の期待値の中から1つの期待値を選択し、この選択された期待値を作成したときと同じ順序で、被試験メモリの格納番地を指定できるので、ユーザの使用状況を模した試験ができるし、アドレスパターンに依存した不良を検出することもできる。
【0038】
さらに、本発明の試験装置では、被試験メモリから特定順序で読み出しが期待される値を特定の計算によってまとめた期待値を格納すれば良いので、記憶手段のメモリ容量が低減できる。従って、大容量のマスクROM,EPROM及びE2 PROM等のデータ読出し試験を可能とする簡易かつ安価な試験装置が提供できる。
【図面の簡単な説明】
【図1】本発明の第1の実施の形態に係るROMテスタの構成図である。
【図2】本発明の各実施の形態に係るアドレスパターンとチェックサム期待値メモリとの関係説明図である。
【図3】本発明の第2の実施の形態に係るROMテスタの構成図である。
【図4】従来例に係るROMテスタの構成図である。
【符号の説明】
1…期待値データメモリ、11,21…チェックサム期待値メモリ、2,12,23…アドレスパターン発生器、3,13,24…0/1判定器、4,14,25…加算器、15,26…比較器、5,16,27…判定器、6,17,28…CPU、100 ,200 ,300 …ROMテスタ。[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a method and an apparatus for testing a nonvolatile memory, and more particularly to a method and an apparatus for performing a data read test on a mask ROM, an EPROM, an E 2 PROM, and the like.
[0002]
[Prior art]
In recent years, with the increase in the capacity of nonvolatile memories such as mask ROMs, EPROMs, and E 2 PROMs, the amount of data used as an expected value in a data read test has become enormous. On the other hand, there is a strong demand for shorter delivery times for supplying products to customers. For this reason, in a data read test of a nonvolatile memory, it is necessary to efficiently perform a test using a plurality of different address patterns in order to detect a failure in various modes or to shorten a test time. It becomes.
[0003]
FIG. 4 shows a configuration diagram of a ROM tester according to a conventional example. In FIG. 4,
[0004]
The
[0005]
Next, the operation of the ROM tester will be described. First, while the address output terminal of the
[0006]
The data read from the memory under
[0007]
[Problems to be solved by the invention]
However, in the method of sequentially comparing read data and expected value data in address units, the test time increases because the number of data comparisons becomes enormous with the increase in the capacity of the nonvolatile memory. In addition, since the
[0008]
Therefore, when the expected value data memory for the capacity of the memory under test cannot be prepared, the address area of the memory under
The present invention has been made in view of the problems of the conventional example, and makes it possible to perform a read test in a short time and easily without successively comparing read data and expected value data in address units. It is an object of the present invention to provide a method for testing a nonvolatile memory and a test apparatus therefor.
[0009]
[Means for Solving the Problems]
According to the method for testing a nonvolatile memory of the present invention, a value expected to be sequentially read from a memory under test in which a predetermined data pattern is written by a plurality of addressing patterns including at least one addressing pattern including an overlapping address Were prepared by a specific calculation, and when testing the memory under test, one expected value was selected from the plurality of expected values, and the selected expected value was created. The values sequentially read out from the memory under test by the same addressing pattern are combined by the specific calculation to create an actual value, and the selected expected value is compared with the actual value created in the previous period. And
[0010]
In the above-described method for testing a nonvolatile memory, the plurality of addressing patterns include at least a first pattern in which addresses are sequentially increased or decreased one by one from the lowest or highest address, and discrete addresses. And a second pattern designating the second pattern, wherein the second pattern includes an overlapping address.
[0011]
Further, in the above-described method for testing a nonvolatile memory, the specific calculation is performed by any one of addition, subtraction, multiplication, or division, or a combination of these arithmetic operations.
The non-volatile memory test apparatus according to the present invention is configured such that a value to be sequentially read from a memory under test in which a predetermined data pattern is written by a plurality of addressing patterns including at least one addressing pattern including an overlapping address is provided. Storage means for storing a plurality of expected values obtained by a specific calculation, a selection means for selecting one of the plurality of expected values from the storage means, and the expected value selected by the selection means Designating means for designating an address of the memory under test by the corresponding address designating pattern; calculating means for creating an actual value by combining the values sequentially read from the address designated by the designating means by the specific calculation; Comparing means for comparing an expected value from the storage means with an actual value from the calculating means; Characterized in that the output stage includes a judging means for judging correctness of the value written to the memory under test.
[0012]
In the method for testing a nonvolatile memory according to the present invention, in order to prepare in advance a criterion for determining whether a value written to the memory under test is correct, values expected to be sequentially read from the memory under test are first summarized by a specific calculation. Create expected values. The specific calculation at this time is performed by addition, subtraction, multiplication, division, or a combination of these arithmetic operations. The storage addresses of the memory under test are specified in a specific order.
[0013]
When testing the memory under test, the storage address is specified for the actual memory under test in the same specific order as when the expected value was created, and the values sequentially read out by this specification are specified. The actual value is created collectively by the calculation of. Thereafter, the expected value is compared with the actual value to determine whether the value written to the memory under test is correct.
[0014]
As described above, according to the test method of the present invention, the expected value obtained by summing the values expected to be read from the memory under test in a specific order by the specific calculation and the sequential reading from the actual memory under test in the same order as the expected value are obtained. Since the output value is compared with an actual value obtained by a specific calculation, as in the conventional example, one value sequentially designated and read out for each storage address and one expected value expected therefrom are compared with one expected value. Can be compared at once without comparing values stored in the storage address group unit. Therefore, since the number of comparisons can be greatly reduced, even if the capacity of the memory under test is increased, it is possible to mask ROM, EPROM, a simple data reading test, such as E 2 PROM performed in a short time.
[0015]
Further, in the second test method of the present invention, a plurality of expected values are created when the order of designating the storage addresses of the memory under test is changed to several types, and one expected value is created from the plurality of expected values. Values are selected, and the storage addresses of the memory under test are specified in the order in which the storage addresses were specified when the expected value was created.
Therefore, by changing the order in which the storage addresses of the memory under test are specified, the storage addresses of the memory under test can be stored in a plurality of different orders, as compared with the case where the storage addresses of the memory under test are specified in a single specific order. The test can be performed by imitating the user's usage. As a result, it is possible to perform a data read test in consideration of the device characteristics depending on the address designation order of the memory under test, for example, the read speed and the power supply margin.
[0016]
Further, according to the test apparatus of the present invention, it is sufficient to secure a memory capacity for storing an expected value obtained by a specific calculation of a value expected to be read from the memory under test. The capacity can be reduced. By reducing the memory capacity, the cost of the test apparatus can be reduced.
[0017]
BEST MODE FOR CARRYING OUT THE INVENTION
Next, an embodiment of the present invention will be described with reference to the drawings. 1 to 3 are explanatory diagrams of a method for testing a nonvolatile memory and an apparatus for testing the same according to an embodiment of the present invention.
(1) First Embodiment FIG. 1 is a configuration diagram of a ROM tester according to a first embodiment of the present invention, and FIG. 2A shows the relationship between the address pattern and the expected checksum value. An explanatory diagram is shown. In FIG. 1, reference numeral 11 denotes a checksum expected value memory for storing a checksum expected value D1 obtained by adding a value expected to be read from the memory under
[0018]
In the present embodiment, as shown in FIG. 2A, the expected checksum value D1 is, for example, “# 3FFFFF”. This value “# 3FFFFF” is the storage address of the write value “0” or “1” for each bit in the memory under
[0019]
[0020]
A
[0021]
Next, the operation of the test apparatus for the ROM test method according to the present embodiment will be described. First, with the checksum expected value D1 serving as a criterion for determining whether the value “0” or “1” written in the memory under
[0022]
In the
[0023]
For example, when the expected checksum value D1 and the checksum value Dx match, the memory under
In this manner, in the ROM tester according to the first embodiment of the present invention, the checksum expected value D1 obtained by adding the value expected to be read from the memory under
[0024]
Therefore, even if the capacity of the memory under
Further, according to the apparatus of the present embodiment, it is sufficient to secure a memory capacity for storing the expected checksum value D1, so that the memory can be reduced as compared with the conventional example, and the test apparatus can be reduced in cost.
[0025]
(2) Second Embodiment FIG. 3 is a configuration diagram of a ROM tester according to a second embodiment of the present invention, and FIG. 2B is a diagram for explaining the contents of the checksum expected value memory. Is shown.
In the second embodiment, unlike the first embodiment, n kinds of checksum expected values are prepared in advance, selected, and a data read test of the memory under
[0026]
In FIG. 3,
[0027]
The checksum expected value D2 is, for example, “# 3FFFFF”. When the addresses # 0000 to #FFFF are specified in the same order as in the first embodiment, the checksum is read out from the memory under
The expected checksum value D3 designates the
[0028]
A
[0029]
Next, the operation of the test apparatus for the ROM test method according to the present embodiment will be described. For example, when a data reading test is performed by selecting the checksum expected value D3 from the n types of checksum expected values D1 to Dn, first, whether the value “0” or “1” written in the memory under
[0030]
In the arithmetic unit 25, all the data sequentially read out according to the designation of the address are added, and the added value is output to the
[0031]
For example, when the selected checksum expected value D3 and the calculated checksum value Dx match, the memory under
In this manner, in the ROM tester according to the second embodiment of the present invention, one out of n types of checksum expected values D1 to Dn when the order of designating the storage addresses of the memory under
[0032]
For this reason, for example, in the case where the test is performed using the checksum expected values D1 to Dn, a plurality of orders having different storage addresses of the memory under
As a result, it is possible to perform a data read test in consideration of device characteristics depending on the address pattern of the memory under
[0033]
In the present embodiment, the method of selecting the expected checksum value from the
[0034]
Further, in each embodiment of the present invention, a case has been described in which a test is performed using a checksum expected value obtained by adding all values that would be read when all the storage addresses of the memory under
[0035]
Furthermore, in each embodiment of the present invention, the case of addition has been described for a specific calculation. However, the present invention is not limited to this, and may be performed by any of subtraction, multiplication, division, or a combination of these arithmetic operations.
[0036]
【The invention's effect】
As described above, in the test method of the nonvolatile memory of the present invention, the values that are expected to be read in a specific order are specified by the specific calculation, and the values that are actually read are specified in the same order. Is compared with the actual value summarized by the calculation of the above, so that one value sequentially designated and read for each storage address of the memory under test and one expected value expected therefrom are individually Values can be compared at once without storing the values in the storage address group unit. Therefore, since the number of comparisons can be greatly reduced, a data read test can be performed in a short time even when the capacity of the memory under test increases.
[0037]
According to the test method of the present invention, one expected value is selected from a plurality of expected values when the order of designating the storage addresses of the memory under test is changed, and when the selected expected value is created. Since the storage address of the memory under test can be specified in the same order, it is possible to perform a test imitating the use situation of the user, and it is also possible to detect a defect depending on the address pattern.
[0038]
Furthermore, in the test apparatus of the present invention, the expected value obtained by collecting values expected to be read from the memory under test in a specific order by specific calculation may be stored, so that the memory capacity of the storage unit can be reduced. Therefore, the mask ROM of a large capacity, simple and inexpensive test device to enable data reading test, such as EPROM and E 2 PROM can be provided.
[Brief description of the drawings]
FIG. 1 is a configuration diagram of a ROM tester according to a first embodiment of the present invention.
FIG. 2 is an explanatory diagram showing a relationship between an address pattern and a checksum expected value memory according to each embodiment of the present invention.
FIG. 3 is a configuration diagram of a ROM tester according to a second embodiment of the present invention.
FIG. 4 is a configuration diagram of a ROM tester according to a conventional example.
[Explanation of symbols]
1 Expected value data memory, 11, 21 Checksum expected value memory, 2, 12, 23 ... Address pattern generator, 3, 13, 24 ... 0/1 decision unit, 4, 14, 25 ... Adder, 15 , 26 ... Comparator, 5, 16, 27 ... Judge, 6, 17, 28 ... CPU, 100, 200, 300 ... ROM tester.
Claims (4)
前記被試験メモリの試験時には、前記複数の期待値の中から1つの期待値を選択し、
前記選択された期待値を作成したときと同じアドレス指定パターンによって前記被試験メモリから順次読み出される値を前記特定の計算によってまとめて実際値を作成し、
前記選択された期待値と前期作成された実際値とを比較することを特徴とする不揮発性メモリの試験方法。A plurality of expected values obtained by sequentially calculating values expected to be sequentially read from a memory under test in which a predetermined data pattern is written by a plurality of addressing patterns including at least one addressing pattern including an overlapping address by a specific calculation Has been created,
When testing the memory under test, one expected value is selected from the plurality of expected values,
Creating an actual value by combining the values sequentially read from the memory under test by the specific calculation by the same addressing pattern as when the selected expected value was created,
A method for testing a non-volatile memory, comprising comparing the selected expected value with an actual value created in the previous period.
前記記憶手段から前記複数の期待値のうちの一つを選択する選択手段と、
前記選択手段により選択された前記期待値に対応する前記アドレス指定パターンによって前記被試験メモリのアドレスを指定する指定手段と、
前記指定手段によって指定されたアドレスから順次読み出される値を前記特定の計算によってまとめて実際値を作成する演算手段と、
前記記憶手段からの期待値と前記演算手段からの実際値とを比較する比較手段と、
前記比較手段の出力結果から前記被試験メモリへの書き込み値の正否を判定する判定手段とを備えていることを特徴とする不揮発性メモリの試験装置。A plurality of expected values in which values expected to be sequentially read from a memory under test in which a predetermined data pattern is written by a plurality of addressing patterns including at least one addressing pattern including an overlapping address are collected by a specific calculation Storage means for storing
Selecting means for selecting one of the plurality of expected values from the storage means,
Specifying means for specifying an address of the memory under test by the addressing pattern corresponding to the expected value selected by the selecting means;
Calculating means for creating an actual value by combining the values sequentially read from the address specified by the specifying means by the specific calculation;
Comparison means for comparing the expected value from the storage means and the actual value from the calculation means,
A non-volatile memory test device, comprising: a determination unit configured to determine whether a value written to the memory under test is correct or not based on an output result of the comparison unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP19084695A JP3558746B2 (en) | 1995-07-26 | 1995-07-26 | Nonvolatile memory test method and test apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP19084695A JP3558746B2 (en) | 1995-07-26 | 1995-07-26 | Nonvolatile memory test method and test apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH0945100A JPH0945100A (en) | 1997-02-14 |
JP3558746B2 true JP3558746B2 (en) | 2004-08-25 |
Family
ID=16264753
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP19084695A Expired - Lifetime JP3558746B2 (en) | 1995-07-26 | 1995-07-26 | Nonvolatile memory test method and test apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3558746B2 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3719654B2 (en) * | 2001-05-10 | 2005-11-24 | 松下電器産業株式会社 | LSI test method |
KR100843242B1 (en) * | 2007-04-04 | 2008-07-02 | 삼성전자주식회사 | Flash memory device and driving method for the same |
JP5350949B2 (en) * | 2009-09-11 | 2013-11-27 | Necエンベデッドプロダクツ株式会社 | Nonvolatile memory test method and memory test apparatus |
-
1995
- 1995-07-26 JP JP19084695A patent/JP3558746B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JPH0945100A (en) | 1997-02-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4310901A (en) | Address mapping for memory | |
US5410687A (en) | Analyzing device for saving semiconductor memory failures | |
US20100107149A1 (en) | Patching devices and methods thereof for patching firmware functions | |
US5646949A (en) | Method and apparatus for generating instructions for use in testing a microprocessor | |
JP3558746B2 (en) | Nonvolatile memory test method and test apparatus | |
US20030051119A1 (en) | Scheme for implementing breakpoints for on-chip ROM code patching | |
US5337045A (en) | Pattern generator | |
KR100425371B1 (en) | Method of generating and storing a user programme consisting of instructions for a stored-programme control unit and method of operating the stored-programme control unit | |
JPH10161899A (en) | Sequence control circuit | |
US5748886A (en) | Data check method for an external memory and check system for an external ROM data | |
US4414625A (en) | System condition selection circuitry | |
JP3663043B2 (en) | Method for determining the end of writing in a microcomputer | |
JP2926175B2 (en) | Apparatus and method for testing program memory section of one-chip microcomputer | |
JP2004199827A (en) | Data write-in device | |
JPS59111538A (en) | Microprogram controller | |
JP4135533B2 (en) | Tester device | |
JPH0625925B2 (en) | Sequential logic unit | |
JP3538298B2 (en) | Semiconductor integrated circuit inspection apparatus and data setting method thereof | |
JPH0258800A (en) | Circuit and system for on-chip test for semiconductor memory | |
JP3629820B2 (en) | Board inspection equipment | |
JPH06131899A (en) | Semiconductor storage | |
JPS60101651A (en) | Memory address designating system | |
JPS59132376A (en) | Test pattern reading control system | |
JP2000011700A (en) | Method and circuit for test of rom | |
JP3117076B2 (en) | Vehicle type determination method and vehicle type determination device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
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: 20040518 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20040519 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313113 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313113 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313113 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080528 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090528 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090528 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100528 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110528 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110528 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120528 Year of fee payment: 8 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120528 Year of fee payment: 8 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130528 Year of fee payment: 9 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130528 Year of fee payment: 9 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
EXPY | Cancellation because of completion of term | ||
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |