JP2006147073A - Semiconductor device - Google Patents
Semiconductor device Download PDFInfo
- Publication number
- JP2006147073A JP2006147073A JP2004337259A JP2004337259A JP2006147073A JP 2006147073 A JP2006147073 A JP 2006147073A JP 2004337259 A JP2004337259 A JP 2004337259A JP 2004337259 A JP2004337259 A JP 2004337259A JP 2006147073 A JP2006147073 A JP 2006147073A
- Authority
- JP
- Japan
- Prior art keywords
- data
- holding
- memory cell
- determination
- cpu
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Read Only Memory (AREA)
Abstract
Description
本発明は、EEPROMを用いた半導体装置(以後、半導体装置とする)に関するものである。 The present invention relates to a semiconductor device using an EEPROM (hereinafter referred to as a semiconductor device).
図9は従来の半導体装置のブロック概略図を示す。図9において、半導体装置は任意の容量のフラッシュメモリ11、センスアンプ(以下SAとする)12とCPU13で構成されている。フラッシュメモリ11は複数のメモリセルから構成されており、SA12はフラッシュメモリ11内の指定されたメモリセルのセル電流値でもって読み出したデータが“1”データか“0”データかを判定し出力する(例えば、特許文献1参照)。
FIG. 9 is a block schematic diagram of a conventional semiconductor device. In FIG. 9, the semiconductor device includes a
以上のように構成された半導体装置についてその動作を説明する。フラッシュメモリ11には任意のデータが書き込まれている。フラッシュメモリ11はアドレスが与えられると、指定されたメモリセルのデータを電流値として出力する。SA12はメモリセル11の電流値をビット毎に判定し、"1"もしくは"0"データとして出力する。CPU13はSA12の出力データを格納し、所定の処理を行う。
半導体装置は、セットの開発サイクルの加速に伴い、実装後のプログラム書換えが可能なために、幅広い電子機器に必要不可欠な部品となっている。このような背景のもと、マスクROM内蔵マイクロコントローラの代替品となるためには、同等の信頼性を確保することが必須となっている。 Semiconductor devices have become indispensable components for a wide range of electronic devices because the program can be rewritten after mounting as the set development cycle accelerates. Against this background, it is essential to ensure the same reliability in order to replace the mask ROM built-in microcontroller.
ところで、フラッシュメモリを構成するメモリセルのVt値(閾値。以下Vtとする)を制御することで、“1”データ、“0”データが作られる。 By the way, by controlling the Vt value (threshold value, hereinafter referred to as Vt) of the memory cells constituting the flash memory, “1” data and “0” data are created.
しかしながら、メモリセルの構造的な問題から、温度や電圧の変化や書換え/消去の繰り返しによるストレスにより、書込みおよび消去されたセルのVtが、初期状態から変化するという問題がある。 However, due to the structural problem of the memory cell, there is a problem that the Vt of the written and erased cell changes from the initial state due to stress due to temperature and voltage changes and rewrite / erase repetition.
従来の半導体装置では、Vtの経時変化によりSAがデータの判定を誤り、結果としてCPUが誤動作するという課題があった。 In the conventional semiconductor device, there is a problem that the SA erroneously determines data due to a change in Vt with time, and as a result, the CPU malfunctions.
したがって、本発明の目的は、誤動作の防止、フラッシュメモリの信頼性向上およびシステムの寿命向上を図ることができる半導体装置を提供することである。 Accordingly, an object of the present invention is to provide a semiconductor device capable of preventing malfunction, improving the reliability of a flash memory, and improving the life of a system.
この課題を解決するために、本発明の半導体装置は、メモリセルの閾値の劣化度合いを検知する半導体装置であって、
メモリセルのデータを閾値に対して判定する判定基準の異なる複数の判定手段と、複数の判定手段の結果を比較して一致しない場合に異なる信号を出力する比較手段と、比較手段の比較結果を格納し保持する保持手段とを備え、複数の判定手段で判定された結果からメモリセルの劣化度合いを検知することを特徴とするものである。
In order to solve this problem, a semiconductor device of the present invention is a semiconductor device that detects a degree of deterioration of a threshold value of a memory cell,
A plurality of determination means having different determination criteria for determining the memory cell data with respect to the threshold value, a comparison means for comparing the results of the plurality of determination means and outputting different signals when they do not match, Holding means for storing and holding, and detecting the degree of deterioration of the memory cell from the results determined by the plurality of determination means.
本発明の別の半導体装置は、メモリセルの閾値の劣化度合いを検知する半導体装置であって、
メモリセルに互いに並列に接続される複数の異なる抵抗値の抵抗部を介して、メモリセルに接続され複数の抵抗部を順次選択して出力する選択手段と、選択手段により順次選択された抵抗部を通るメモリセルのデータを判定する判定手段と、選択手段により先に選択された抵抗部を通る判定手段のデータを保持する第1の保持手段と、選択手段により後に選択された判定手段のデータと第1の保持手段のデータを比較して一致しない場合に異なる信号を出力する比較手段と、比較手段の比較結果を保持する第2の保持手段とを備えたものである。
Another semiconductor device of the present invention is a semiconductor device that detects a degree of deterioration of a threshold value of a memory cell,
Selection means for sequentially selecting and outputting a plurality of resistance parts connected to the memory cell via a plurality of resistance parts having different resistance values connected in parallel to the memory cell, and the resistance parts sequentially selected by the selection means Determining means for determining data of the memory cell passing through the first holding means for holding data of the determining means passing through the resistance portion previously selected by the selecting means, and data of the determining means selected later by the selecting means And comparison means for outputting a different signal when the data of the first holding means do not match, and a second holding means for holding the comparison result of the comparing means.
上記構成において、保持手段の出力を受けて比較手段の結果が一致の場合に切換え信号を出力するCPUと、CPUの切換え信号を受けて複数の判定手段のうち低い判定基準の判定手段により判定されたメモリセルのデータをCPUに出力する切換え手段を有するものである。 In the above configuration, the CPU that outputs the switching signal when the result of the comparing means is received after receiving the output of the holding means, and the determination means of the low determination criterion among the plurality of determination means that receives the CPU switching signal And switching means for outputting the data of the memory cells to the CPU.
上記構成において、保持手段の出力を受けて比較手段の結果が不一致の場合に書込み信号をメモリセルに出力するCPUと、複数の判定手段のうち最も判定基準の高い判定手段により判定されたデータを保持するデータ用保持手段を有し、メモリセルは書込み信号を受けてデータ用保持手段の保持データを上書きするものである。 In the above configuration, the CPU that receives the output of the holding unit and outputs the write signal to the memory cell when the result of the comparing unit does not match, and the data determined by the determination unit having the highest determination criterion among the plurality of determination units The memory cell has data holding means for holding data, and the memory cell receives the write signal and overwrites the data held in the data holding means.
本発明に係る半導体装置によれば、複数の判定基準が異なる判定手段を備え、その判定結果から、例えば不揮発性メモリのVt変化を検知し、その情報をユーザーやCPUが知ることでシステムの誤動作に対し、不揮発性メモリのリフレッシュ等の対策を未然に打つことが可能となり、誤動作を防止し、不揮発性メモリの信頼性を向上し、システムの寿命を飛躍的に向上することが可能となる。 The semiconductor device according to the present invention includes a plurality of determination means having different determination criteria. From the determination result, for example, the Vt change of the nonvolatile memory is detected, and the user or the CPU knows the information so that the system malfunctions. On the other hand, it is possible to take measures such as refreshing the non-volatile memory in advance, preventing malfunction, improving the reliability of the non-volatile memory, and dramatically improving the life of the system.
また、判定基準がセンスアンプ回路に代表される電流値を基準にするものであれば、不揮発性メモリの状態によってはより低消費電力のシステムを構築することができる。 Further, if the criterion is based on a current value typified by a sense amplifier circuit, a system with lower power consumption can be constructed depending on the state of the nonvolatile memory.
別の半導体装置によれば、センスアンプを削減することでより小面積でVtを検知することができる。抵抗はトランジスタだけでなく、配線の長さや幅を変化させることで形成することが可能なため、形成そのものやレイアウトが容易である。 According to another semiconductor device, Vt can be detected with a smaller area by reducing the sense amplifier. Since the resistor can be formed by changing not only the transistor but also the length and width of the wiring, the formation itself and the layout are easy.
例えば、フラッシュメモリのVt変化を検出しメモリの劣化度合いが少ない場合や、システムスピードが遅い場合は、判定電流が小さいセンスアンプ回路を使用することでシステムの低消費電力化を図り、システムの長寿命化を達成することが可能となる。 For example, if a flash memory Vt change is detected and the degree of memory degradation is small or the system speed is slow, a sense amplifier circuit with a low judgment current is used to reduce the power consumption of the system. It is possible to achieve a long life.
さらに、メモリの劣化度合いを察知し、読み出したデータを例えばフラッシュメモリに上書きすることで、メモリセルのVtを正常な値に戻し、システムの寿命を飛躍的に伸ばすことが可能となる。 Further, by detecting the degree of deterioration of the memory and overwriting the read data on, for example, a flash memory, the Vt of the memory cell can be returned to a normal value, and the life of the system can be greatly extended.
以下、本発明の実施の形態について、図を用いて説明する。
(実施の形態1)
図1は、本発明の第1の実施の形態である半導体装置の概略構成図である。 図1において、半導体装置は、フラッシュメモリ21、データ判定回路2、比較回路24、保持回路25、CPU26で構成されている。データ判定回路2は、2種類のセンスアンプSA22、SA23で構成されている。SA22とSA23はそれぞれフラッシュメモリ21のデータが“0”か“1”かを判定し出力する。比較回路24は、SA22とSA23のデータをビット毎に比較し、1ビットでも異なれば“1”データを出力し、それ以外は“0”データを出力する。保持回路25は、比較回路24の出力を格納し保持する。CPU26はSA22の出力データを命令およびテーブルデータとして格納し、保持回路25の出力を比較回路24の比較結果として格納し、所定の処理を行う。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
(Embodiment 1)
FIG. 1 is a schematic configuration diagram of a semiconductor device according to a first embodiment of the present invention. In FIG. 1, the semiconductor device includes a
ここで、データ判定回路2の詳細動作について図5を用いて説明する。図5において、61はSA23の判定基準となる電流曲線、62はSA22の判定基準となる電流曲線であり、第1の実施の形態では、SA22とSA23の判定基準は異なり、SA22よりSA23の方が低くなるように設定されている。SA22は、任意の電源電圧におけるフラッシュメモリ21のセル電流値が判定基準62より高い場合は“0”データ、低い場合は“1”データとして判定する。この判定方法は、SA23についても同様であり、判定基準61よりセル電流が高い場合は“0”、低い場合は“1”と判定する。
Here, the detailed operation of the
63と64はフラッシュメモリ21のセル電流曲線であり、前者は書込み直後のVt=max[V]時、後者は消去直後のVt=min[V]時の特性を示す。65と66はVt変動した場合のセル電流曲線であり、前者はVt変動幅が小さく(Vt=X[V]時)、後者はVt変動幅が大きい場合(Vt=Y[V]時)の特性を示す。図中A値、B値、C値は電源電圧=D[V]時におけるセル電流曲線63、65、66上の点であり、それぞれ、書込み直後、Vt=X[V]時およびVt=Y[V]時のセル電流値である。
63 and 64 are cell current curves of the
図5から、電源電圧D[V]時は、メモリセルのVtがVt=max[V]→X[V]→Y[V]に変化すると、セル電流値がA値→B値→C値に移動する。この場合のフラッシュメモリ21の“1”データは、SA22ではそれぞれ“1”、“1”、“0”と判定される。一方SA23においては、それぞれ“1”、“0”、“0”と判定されることになる。結果として、SA22と比較してSA23の方が早い段階でフラッシュメモリ21の“1”データの読み出しを誤判定することになる。
From FIG. 5, when the power supply voltage D [V], Vt of the memory cell changes from Vt = max [V] → X [V] → Y [V], the cell current value becomes A value → B value → C value. Move to. In this case, “1” data in the
以上のように構成された半導体装置において、フラッシュメモリ21の書込みされたメモリセルのVtが変動した場合の“1”データの読み出し動作について説明する。
In the semiconductor device configured as described above, the operation of reading “1” data when Vt of the memory cell to which the
SA22とSA23は、順次フラッシュメモリ21のデータを判定し出力する。メモリセルのVtがVt=max[V]からX[V]に低下した場合、図5のA値がB値になる。B値はSA22では“1”判定されるため、CPU26は正常に動作することが出来る。しかしながら、VtがY[V]に更に低下した場合、図5のA値はC値になり、SA22は“1”データと判定する。この時、CPU26は誤ったデータを格納するため、誤動作することになる。
SA22 and SA23 sequentially determine and output the data in the
一方、SA23ではB値は“0”判定される。従ってSA22とSA23の判定結果が異なるため、比較回路24は“1”を出力する。保持回路25は上記“1”データを格納し、CPU26はSA22とSA23の判定結果が異なったことを知ることができる。つまり、CPU26は、Vtが低下しても誤動作する前にVtが低下していることを察知できる。
On the other hand, in SA23, the B value is determined to be “0”. Accordingly, since the determination results of SA22 and SA23 are different, the
以上のように第1の実施の形態によれば、フラッシュメモリ21のVt変化を検出しメモリの劣化度合いを察知することで、例えば、ユーザーやCPU26によるフラッシュメモリのリフレッシュや、CPU26による動作速度の最適化等、事前に誤動作防止の処置を実施することが可能となる。
(実施の形態2)
図2は、本発明の第2の実施の形態である半導体装置の概略構成図である。
As described above, according to the first embodiment, by detecting the change in Vt of the
(Embodiment 2)
FIG. 2 is a schematic configuration diagram of a semiconductor device according to the second embodiment of the present invention.
図2において、半導体装置は、フラッシュメモリ31、データ判定回路3、2つの保持回路35、37、比較回路36およびCPU38で構成されている。
In FIG. 2, the semiconductor device includes a
ここで第2の実施の形態における半導体装置は、通常動作モードとそれ以外にフラッシュメモリ31のVtを検知するモードの2つの動作モードを持っているものとする。これら2つの動作モードは、CPU38によりシステムの状態が判断して切換えられる。CPU38は、フラッシュメモリ31のVt検知のモードに入った場合にのみセレクト信号301として“1”と“0”を交互に出力し、それ以外は“0”のみを出力するものとする。CPU38は保持回路37の出力を受けて適切なタイミングで切換え信号を出力して切り換えが行われる。また、フラッシュメモリ31のnビットのデータが1回出力される間に、セレクト信号301は“1”、“0”の順番でそれぞれ一度づつ出力されるものとする。
Here, it is assumed that the semiconductor device according to the second embodiment has two operation modes: a normal operation mode and a mode for detecting Vt of the
データ判定回路3は、抵抗32とセレクタ33とセンスアンプ回路SA34で構成されている。フラッシュメモリ31は抵抗32を経由する経路と何も経由しない経路(抵抗0)でデータを出力する。セレクタ33はセレクト信号301が“0”の時に抵抗32のデータを出力し、“1”の時にフラッシュメモリ31のデータを出力する。また保持回路35は、セレクト信号301が“0”の時にのみデータを保持する。SA34はそれぞれフラッシュメモリ31のデータが“0”か“1”かを判定し出力する。比較回路36は、SA34と保持回路35のデータをビット毎に比較し、1ビットでも異なれば“1”データを出力し、それ以外は“0”データを出力する。保持回路37は、セレクト信号301が“1”の時にのみ比較回路36の出力を格納し保持する。CPU38はSA34の出力データを命令およびテーブルデータとして格納し、また保持回路37の出力を比較回路36の比較結果として格納し、所定の処理を行う。
The data determination circuit 3 includes a
ここで、CPU38によりVt検知モードに入った場合のデータ判定回路3の動作について図6を用いて説明する。
Here, the operation of the data determination circuit 3 when the
図6において、71はSA34の判定基準となる電流曲線を示す。SA34は、任意の電源電圧におけるフラッシュメモリ31のセル電流値が判定基準71より高い場合は“0”データ、低い場合は“1”データとして判定する。
In FIG. 6, reference numeral 71 denotes a current curve that is a determination criterion for SA34. SA34 determines “0” data when the cell current value of the
72と76はフラッシュメモリ31のセル電流曲線であり、前者は書込み直後のVt=max[V]時、後者は消去直後のVt=min[V]時の特性を示す。73は抵抗32を経由した場合の書込み直後のセル電流曲線であり、抵抗32を介することによりセル電流曲線72より低い数値を示す。74と75はVt変動した場合のセル電流曲線であり、前者はVt=X[V]時、後者はVt=X[V]時に抵抗32を経由した場合の特性を示す。A値、B値、A'値、B'値は電源電圧=C[V]時におけるセル電流曲線72、73、74、75上の点であり、A値とB値は書込み直後、A'値とB'値はVt=X[V]時のセル電流値を示す。
まずセレクト信号301が“0”の場合の動作を説明する。
First, the operation when the
フラッシュメモリ31のデータは抵抗32を経由してSA34に入力される。この時、SA34に入力される電流値はセル電流曲線73と75の特性を示す。図6から、電源電圧C[V]時において、メモリセルのVtがVt=max[V]からX[V]に変化すると、セル電流値Bは B'値に変化する。フラッシュメモリ31のデータは、SA34によりB値とB'値はともに“1”データと判定される。
Data in the
次にセレクト信号301が“1”の場合の動作を説明する。この時、SA34に入力される電流値はセル電流曲線72と74の特性を示す。図6から、電源電圧C[V]時において、メモリセルのVtがVt=max[V]からX[V]に変化すると、セル電流値Aは A'値に変化する。フラッシュメモリ31のデータは、SA34によりA値は“1”、A'値は“0”データと判定される。
Next, the operation when the
上記のように、セレクト信号が“1”の場合は“0”の場合と比較して早い段階でフラッシュメモリ31の読み出しデータを誤判定することになる。
As described above, when the select signal is “1”, the read data of the
以上のように構成された半導体装置において、フラッシュメモリ31のメモリセルのVtがVt=max[V]からX[V]に変動した場合の動作について説明する。
In the semiconductor device configured as described above, an operation when the Vt of the memory cell of the
通常動作モードでは、CPU38によりセレクト信号301は“0”であるため、フラッシュメモリ31のデータは抵抗32を経由してSA34に入力される。
In the normal operation mode, since the
図6から、電源電圧C[V]時において、セル電流値Bは B'値に変化する。フラッシュメモリ31のデータは、SA34によりB値とB'値はともに“1”データと判定され、CPU38は正常に動作することができる。
From FIG. 6, the cell current value B changes to the B ′ value at the power supply voltage C [V]. As for the data of the
またVt検知モードにおいて、セレクト信号301が“0”の時は上記通常動作モード時と同一の判定がSA34によりなされる。この時、保持回路35はSA34の出力である“1”データを格納する。しかしながら、セレクト信号301が“1”の場合、A'値はSA34により“0”データと判定される。結果、保持回路35のデータと異なるデータが入力されるため比較回路36は“1”を出力し、保持回路37は比較回路36の出力を格納する。CPU38は保持回路37の“1”データを受けるため判定結果が異なったことを知ることができる。つまり、CPU38は、Vtが低下しても誤動作する前にVtが低下していることを察知できる。
In the Vt detection mode, when the
以上のように第2の実施の形態によれば、フラッシュメモリ31のVt変化を検出しメモリの劣化度合いを察知することで、例えば、ユーザーやCPUによるフラッシュメモリのリフレッシュや、CPUによる動作速度の最適化等、事前に誤動作防止の処置を実施することが可能となる。
As described above, according to the second embodiment, by detecting the Vt change of the
また、第2の実施の形態によれば、第1の実施の形態と比較して回路面積のあるセンスアンプを削減することでより小面積でVtを検知することができる。 Further, according to the second embodiment, Vt can be detected with a smaller area by reducing the sense amplifier having a circuit area as compared with the first embodiment.
さらに、第2の実施の形態によれば、抵抗32はトランジスタだけでなく、配線の長さや幅を変化させることで形成することが可能なため、形成そのものやレイアウトが容易であるという特徴を有する。
(実施の形態3)
図3は、第3の実施の形態である半導体装置の概略構成図である。
Furthermore, according to the second embodiment, since the
(Embodiment 3)
FIG. 3 is a schematic configuration diagram of the semiconductor device according to the third embodiment.
図3において、半導体装置は、フラッシュメモリ41、データ判定回路4、比較回路44、切換え回路45、保持回路46、CPU47で構成されている。データ判定回路4は、2種類のセンスアンプ回路SA42、SA43で構成されている。SA42は、2ビットで構成された切換え信号401を受け、切換え信号401が(0,0)、(1,1)および(1,0)の時にフラッシュメモリ41のデータが“0”か“1”かを判定し、それ以外は動作を停止する。同様にしうSA43は、切換え信号401が(0,0)、(1,1)および(0,1)の時にフラッシュメモリ41のデータが“0”か“1”かを判定し、それ以外は動作を停止する。比較回路44は、SA42とSA43のデータをビット毎に比較し、1ビットでも異なれば“1”データを出力し、それ以外は“0”データを出力する。保持回路46は、比較回路44の出力を格納し保持する。また保持回路46は、“0”データに初期値化されており、一度“1”データを格納するとCPU47により初期化されるまでそのデータを保持するものとする。さらに保持回路46は、切換え信号401が(0,0)もしくは(1,1)の時にのみ比較回路44の出力を格納する。切換え回路45は切換え信号401を受け、切換え信号401が(0,0)、(1,1)および(1,0)の時にSA42のデータを出力し、それ以外はSA43のデータを出力する。CPU47は切換え回路45を経由してフラッシュメモリ41のデータを命令およびテーブルデータとして格納し所定の処理を行う。また、CPU47は保持回路46のデータを受け、2ビットで構成する切換え信号401を表1の通りに出力するものとする。定期的に保持回路46、切換え信号401、SA42、SA43と切換え回路45の関係を表1に示す。
In FIG. 3, the semiconductor device includes a
また、データ判定回路4の詳細動作について図7を用いて説明する。 The detailed operation of the data determination circuit 4 will be described with reference to FIG.
図7において、81はSA43の判定基準となる電流曲線、82はSA42の判定基準となる電流曲線であり、第3の実施の形態では、SA42とSA43の判定基準となる判定電流値が異なり、SA42よりSA43の方が低くなるように設定されている。SA42は、任意の電源電圧におけるフラッシュメモリ41のセル電流値が判定基準82より高い場合は“0”データ、低い場合は“1”データとして判定する。判定方法は、SA43についても同様であり、判定基準81よりセル電流が高い場合は“0”、低い場合は“1”と判定する。
In FIG. 7, 81 is a current curve that is a determination criterion for SA43, 82 is a current curve that is a determination criterion for SA42, and in the third embodiment, determination current values that are determination criteria for SA42 and SA43 are different, SA43 is set lower than SA42. SA42 is determined as “0” data when the cell current value of the
83と84はフラッシュメモリ41のセル電流曲線であり、前者は書込み直後のVt=max[V]時、後者は消去直後のVt=min[V]時の特性を示す。85はVt変動した場合のセル電流曲線であり、前者はVt=X[V]時の特性を示す。図中A値、B値は電源電圧=D[V]時におけるセル電流曲線83、85上の点であり、それぞれ、書込み直後、Vt=X[V]時のセル電流値である。
83 and 84 are cell current curves of the
図7から、電源電圧D[V]時は、メモリセルのVtがVt=max[V]からX[V]に変化すると、セル電流値がA値からB値に変化する。A値は、SA42およびSA43により、ともに“1”データと判定される。一方B値は、SA42により“1”データと判定されるが、SA43により“0”データと判定されることになる。結果として、SA42と比較してSA43の方が判定電流値が小さいため、フラッシュメモリ41のVtがある値以上に変化するとSA42より早く“1”データの読み出しを誤判定することになる。
From FIG. 7, at the power supply voltage D [V], when the Vt of the memory cell changes from Vt = max [V] to X [V], the cell current value changes from the A value to the B value. The A value is determined to be “1” data by both SA42 and SA43. On the other hand, the B value is determined as “1” data by SA42, but is determined as “0” data by SA43. As a result, since the determination current value of SA43 is smaller than that of SA42, when Vt of the
以上のように構成された半導体装置において、フラッシュメモリ41の書込みされたメモリセルのVtが変動した場合の動作について説明する。
In the semiconductor device configured as described above, an operation when the Vt of the memory cell to which the
第3の実施の形態による半導体装置が、CPU47によりVt判定モードに移行した場合、保持回路46は初期値“0”であるため、CPU47は切換え信号401として(0,0)もしくは(1,1)を出力する。SA42とSA43は、切換え信号401を受け、共にフラッシュメモリ41のデータを判定し出力する。
When the semiconductor device according to the third embodiment shifts to the Vt determination mode by the CPU 47, since the holding
まずメモリセルのVtがVt=max[V]の場合、図7のA値はSA42およびSA43によりともに“1”データと判定される。この時比較回路44は“0”を出力し、保持回路46は“0”データを格納し保持する。CPU47は保持回路46のデータを受け、S42とSA43の判定が一致しているとして切換え信号401として(0,1)を出力する。この結果、本半導体装置は低消費モードに移行する。従って、SA42は切換え信号401の値を受け判定動作を停止し、次のフラッシュメモリ41の読み出しはSA43でのみ実施される。SA43はSA42より判定電流値が小さいため、結果として本半導体装置の消費電力が小さくなる。
First, when the Vt of the memory cell is Vt = max [V], the A value in FIG. 7 is determined to be “1” data by both SA42 and SA43. At this time, the
次に、メモリセルのVtがVt=max[V]からX[V]に低下した場合、図7のA値がB値になる。B値はSA42では“1”判定されるため、CPU47は正常に動作することが出来る。しかしながら、SA43は“0”データと判定する。この時、CPU47は誤ったデータを格納するため、誤動作することになる。この時比較回路44は“1”を出力し、保持回路46は“1”データを格納し保持する。CPU47は保持回路46のデータを受け、SA42とSA43の判定が一致していないとして切換え信号401として(1,0)を出力する。この結果、本半導体装置は通常モードに移行する。従って、SA43は切換え信号401の値を受け判定動作を停止し、次のフラッシュメモリ41の読み出しはSA42でのみ実施される。
Next, when the Vt of the memory cell decreases from Vt = max [V] to X [V], the A value in FIG. 7 becomes the B value. Since the B value is determined as “1” in SA42, the CPU 47 can operate normally. However, SA43 determines that the data is “0”. At this time, the CPU 47 stores erroneous data, and thus malfunctions. At this time, the
以上のように第3の実施の形態によれば、フラッシュメモリ41のVt変化を検出しメモリの劣化度合いが少ない場合や、システムスピードが遅い場合は、判定電流が小さいセンスアンプ回路を使用することでシステムの低消費電力化を図り、システムの長寿命化を達成することが可能となる。
(実施の形態4)
図4は、本発明における第4の実施の形態である半導体装置の概略構成図である。
As described above, according to the third embodiment, when the Vt change of the
(Embodiment 4)
FIG. 4 is a schematic configuration diagram of a semiconductor device according to the fourth embodiment of the present invention.
ここで第4の実施の形態における半導体装置の動作モードとして、通常動作モードと、書込みモードを備えているものとする。通常動作モードは、CPU56が指定したアドレスのフラッシュメモリデータを読出しCPU56が所定の動作をするモードである。また書込みモードは、CPU56が指定したアドレスのフラッシュメモリデータを読出し、読み出したデータを保持回路57が格納し、格納したデータをフラッシュメモリに書込むモードである。フラッシュメモリデータの読出しと、保持回路57によるデータ格納と、保持回路57のデータのフラッシュメモリ51への書込みは、順番の通りに同一CPUサイクル内で実行されるものとする。また2種類の動作モードは図4のCPU56がシステムの状態を判断し制御するものとする。
Here, it is assumed that the operation mode of the semiconductor device in the fourth embodiment includes a normal operation mode and a write mode. The normal operation mode is a mode in which the flash memory data at an address designated by the
図4において、半導体装置は、フラッシュメモリ51、データ判定回路5、比較回路54、保持回路55と57、CPU56で構成されている。データ判定回路5は、2種類のセンスアンプ回路SA52、SA53で構成されている。SA52とSA53はそれぞれフラッシュメモリ51のデータが“0”か“1”かを判定し出力する。比較回路54は、前記SA52とSA53のデータをビット毎に比較し、1ビットでも異なれば“1”データを出力し、それ以外は“0”データを出力する。保持回路55は、比較回路54の出力を格納し保持する。CPU56はSA52の出力データを命令およびテーブルデータとして格納し所定の処理を行う。またCPU56は、保持回路55の出力が“1”の時に書込み信号501として“1”データを出力し、それ以外は“0”を出力する。保持回路57は、CPU56と同様にSA52のデータを格納し、フラッシュメモリ51に出力する。フラッシュメモリ51は、書込み信号501が"1"の時に保持回路57のデータをCPU56に指定されたアドレスに書込まれ、それ以外は順次メモリデータをSA52と53に出力する。
In FIG. 4, the semiconductor device includes a
ここで、データ判定回路5の詳細動作について図8を用いて説明する。
図8において、91はSA53の判定基準となる電流曲線、92はSA52の判定基準となる電流曲線であり、第3の実施の形態では、SA52とSA53の判定基準は異なり、SA52よりSA53の方が低くなるように設定されている。SA52は、任意の電源電圧におけるフラッシュメモリ51のセル電流値が判定基準92より高い場合は“0”データ、低い場合は“1”データとして判定する。この判定方法は、SA53についても同様であり、判定基準91よりセル電流が高い場合は“0”、低い場合は“1”と判定する。
Here, the detailed operation of the
In FIG. 8, 91 is a current curve that is a determination criterion for SA53, 92 is a current curve that is a determination criterion for SA52, and in the third embodiment, the determination criteria for SA52 and SA53 are different, and SA53 is more than SA52. Is set to be low. SA52 determines that “0” data when the cell current value of the
93と94はフラッシュメモリ51のセル電流曲線であり、前者は書込み直後のVt=max[V]時、後者は消去直後のVt=min[V]時の特性を示す。95と96はVt変動した場合のセル電流曲線であり、前者はVt変動幅が小さく(Vt=X[V]時)、後者はVt変動幅が大きい場合(Vt=Y[V]時)の特性を示す。図中A値、B値、C値は電源電圧=D[V]時におけるセル電流曲線93、95、96上の点であり、それぞれ、書込み直後、Vt=X[V]時およびVt=Y[V]時のセル電流値である。
93 and 94 are cell current curves of the
図8から、電源電圧D[V]時は、メモリセルのVtがVt=max[V]→X[V]→Y[V]に変化すると、セル電流値がA値→B値→C値に移動する。この場合のフラッシュメモリ51の“1”データは、SA52ではそれぞれ“1”、“1”、“0”と判定される。一方SA53においては、それぞれ“1”、“0”、“0”と判定されることになる。結果として、SA52と比較してSA53の方が早い段階でフラッシュメモリ51の“1”データの読み出しを誤判定することになる。
From FIG. 8, when the power supply voltage D [V], when the Vt of the memory cell changes from Vt = max [V] → X [V] → Y [V], the cell current value becomes A value → B value → C value. Move to. In this case, “1” data in the
以上のように構成された半導体装置において、フラッシュメモリ51の書込みされたメモリセルのVtが変動した場合の動作について説明する。
In the semiconductor device configured as described above, an operation when the Vt of the memory cell to which the
まず通常動作モードにおいて、SA52とSA53は、順次フラッシュメモリ51のデータを判定し出力する。メモリセルのVtがVt=max[V]からX[V]に低下した場合、図8のA値がB値になる。B値はSA52では“1”判定されるため、CPU56は正常に動作することが出来る。しかしながら、VtがY[V]に更に低下した場合、図9のA値はC値になり、SA52は“0”データと判定する。この時、CPU56は誤ったデータを格納するため、誤動作することになる。
First, in the normal operation mode,
一方、SA53ではB値は“0”判定される。従ってSA52とSA53の判定結果が異なるため、比較回路54は“1”を出力する。保持回路55は“1”データを格納し、一度“1”データを格納するとCPU56により初期化されるまでデータを保持する。CPU56は保持回路55の“1”データを受けSA52とSA53の判定結果が異なったと判断する。この時CPU56は、システムの状態を考慮して、半導体装置を書込みモードに移行させる。以上の結果、CPU56は、フラッシュメモリ51のVtが変化していることを察知し、誤動作する前に半導体装置を書込みモードに移行させることができる。
On the other hand, in SA53, the B value is determined to be “0”. Accordingly, since the determination results of SA52 and SA53 are different, the
書込みモードにおいて、保持回路57はCPU56に指定されたアドレスのフラッシュメモリ51のデータを格納する。CPU56は、書込み信号として“1”を出力し、読み出したデータをフラッシュメモリ51に上書きする。上記の動作を繰り返すことでフラッシュメモリ51のメモリセルのVtは、書込み直後の状態に改善されることになる。
In the write mode, the holding
以上のように、第4の実施の形態によれば、フラッシュメモリ51のVt変化を検出しメモリの劣化度合いを察知し、読み出したデータをフラッシュメモリに上書きすることで、メモリセルのVtを正常な値に戻し、システムの寿命を飛躍的に伸ばすことが可能となる。
As described above, according to the fourth embodiment, Vt of the
なお、以上の実施の形態では、書き込まれたメモリセルのVt変化(低下)に対する形態で説明したが、判定基準に対してメモリセルの初期電流値が高いか低いかの違いだけであるので、消去されたメモリセルのVt変化(上昇)についても同様の判定方法が適用できることは言うまでもない。 In the above embodiment, the Vt change (decrease) in the written memory cell has been described. However, since only the difference between the initial current value of the memory cell and the criterion is high or low, It goes without saying that the same determination method can be applied to the Vt change (rise) of the erased memory cell.
本発明にかかる半導体装置は、誤動作を防止し、不揮発性メモリの信頼性を向上し、システムの寿命を飛躍的に向上する。また、小面積化が可能でレイアウトが容易になり、低消費電力が可能となり、メモリセルのVtを正常値に戻すことができる等の効果を有し、半導体装置等として有用である。 The semiconductor device according to the present invention prevents malfunction, improves the reliability of the nonvolatile memory, and drastically improves the system life. Further, the area can be reduced, the layout is facilitated, the power consumption can be reduced, and the Vt of the memory cell can be returned to a normal value, which is useful as a semiconductor device or the like.
21 メモリ
22 SA
23 SA
24 比較回路
25 保持回路
26 CPU
21
23 SA
24
Claims (4)
前記メモリセルのデータを前記閾値に対して判定する判定基準の異なる複数の判定手段と、前記複数の判定手段の結果を比較して一致しない場合に異なる信号を出力する比較手段と、前記比較手段の比較結果を格納し保持する保持手段とを備え、前記複数の判定手段で判定された結果から前記メモリセルの劣化度合いを検知することを特徴とする半導体装置。 A semiconductor device that detects a degree of deterioration of a threshold value of a memory cell,
A plurality of determination means having different determination criteria for determining the data of the memory cell with respect to the threshold; a comparison means for comparing the results of the plurality of determination means to output different signals; and the comparison means And a holding means for storing and holding the comparison result, and detecting a degree of deterioration of the memory cell from the results determined by the plurality of determination means.
前記メモリセルに互いに並列に接続される複数の異なる抵抗値の抵抗部を介して、前記メモリセルに接続され前記複数の抵抗部を順次選択して出力する選択手段と、前記選択手段により順次選択された前記抵抗部を通る前記メモリセルのデータを判定する判定手段と、前記選択手段により先に選択された前記抵抗部を通る前記判定手段のデータを保持する第1の保持手段と、前記選択手段により後に選択された前記判定手段のデータと前記第1の保持手段のデータを比較して一致しない場合に異なる信号を出力する比較手段と、前記比較手段の比較結果を保持する第2の保持手段とを備えた半導体装置。 A semiconductor device that detects a degree of deterioration of a threshold value of a memory cell,
A selection means for sequentially selecting and outputting the plurality of resistance portions connected to the memory cell via a plurality of resistance portions having different resistance values connected in parallel to the memory cell, and sequentially selecting by the selection means Determination means for determining data of the memory cell passing through the resistance section, first holding means for holding data of the determination means passing through the resistance section previously selected by the selection means, and the selection A comparison unit that outputs a different signal when the data of the determination unit selected later by the unit and the data of the first holding unit do not coincide with each other, and a second holding that holds the comparison result of the comparison unit And a semiconductor device.
CPU for outputting the write signal to the memory cell when the result of the comparison means is inconsistent upon receiving the output of the holding means, and for data holding the data determined by the determination means having the highest determination criterion among the plurality of determination means 2. The semiconductor device according to claim 1, further comprising a holding unit, wherein the memory cell receives the write signal and overwrites the data held in the data holding unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004337259A JP4580219B2 (en) | 2004-11-22 | 2004-11-22 | Semiconductor device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004337259A JP4580219B2 (en) | 2004-11-22 | 2004-11-22 | Semiconductor device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2006147073A true JP2006147073A (en) | 2006-06-08 |
JP4580219B2 JP4580219B2 (en) | 2010-11-10 |
Family
ID=36626556
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004337259A Expired - Fee Related JP4580219B2 (en) | 2004-11-22 | 2004-11-22 | Semiconductor device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4580219B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011204065A (en) * | 2010-03-26 | 2011-10-13 | Mitsubishi Electric Corp | Data storage device |
JP2015508933A (en) * | 2012-03-27 | 2015-03-23 | アップル インコーポレイテッド | Redundant sense amplifier memory |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS56143599A (en) * | 1980-04-10 | 1981-11-09 | Toshiba Corp | Check system for fault of p-rom |
JPH03222196A (en) * | 1990-01-26 | 1991-10-01 | Hitachi Ltd | Non-volatile semiconductor memory device |
JPH05198189A (en) * | 1991-10-16 | 1993-08-06 | Rohm Co Ltd | Prom ic |
JPH10255487A (en) * | 1997-03-10 | 1998-09-25 | Fujitsu Ltd | Semiconductor memory |
JP2001076496A (en) * | 1999-09-02 | 2001-03-23 | Fujitsu Ltd | Preventing circuit for erroneous data of non-volatile memory and its method |
-
2004
- 2004-11-22 JP JP2004337259A patent/JP4580219B2/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS56143599A (en) * | 1980-04-10 | 1981-11-09 | Toshiba Corp | Check system for fault of p-rom |
JPH03222196A (en) * | 1990-01-26 | 1991-10-01 | Hitachi Ltd | Non-volatile semiconductor memory device |
JPH05198189A (en) * | 1991-10-16 | 1993-08-06 | Rohm Co Ltd | Prom ic |
JPH10255487A (en) * | 1997-03-10 | 1998-09-25 | Fujitsu Ltd | Semiconductor memory |
JP2001076496A (en) * | 1999-09-02 | 2001-03-23 | Fujitsu Ltd | Preventing circuit for erroneous data of non-volatile memory and its method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011204065A (en) * | 2010-03-26 | 2011-10-13 | Mitsubishi Electric Corp | Data storage device |
JP2015508933A (en) * | 2012-03-27 | 2015-03-23 | アップル インコーポレイテッド | Redundant sense amplifier memory |
Also Published As
Publication number | Publication date |
---|---|
JP4580219B2 (en) | 2010-11-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10522222B2 (en) | Semiconductor device and error correction method | |
US7305596B2 (en) | Nonvolatile memory and nonvolatile memory apparatus | |
JP2010146722A (en) | Method for reducing effects of noise in nonvolatile memory through multiple reads | |
JP3204379B2 (en) | Nonvolatile semiconductor memory device | |
JP2004362729A (en) | Nonvolatile semiconductor storage device | |
EP3176790A2 (en) | Non-volatile memory (nvm) with endurance control | |
US9697904B2 (en) | Integrated circuit for mirroring and amplifying a sensing current and operation method thereof | |
JP2008052798A (en) | Data read circuit and method | |
JP4580219B2 (en) | Semiconductor device | |
JP2008310896A (en) | Nonvolatile memory device, nonvolatile memory system, and method for controlling nonvolatile memory device | |
US20110019492A1 (en) | Test device and test method for resistive random access memory and resistive random access memory device | |
US9036429B2 (en) | Nonvolatile memory device and operating method thereof | |
CN111933209B (en) | Semiconductor device with a plurality of semiconductor chips | |
JP2002288999A (en) | Semiconductor memory | |
US20070171723A1 (en) | NOR flash memory and related read method | |
JP4937219B2 (en) | Nonvolatile semiconductor memory device | |
JP2005078489A (en) | Microcontroller and its control method | |
KR100536491B1 (en) | Flash memory having circuit for avoiding bad block and method of address-shifting therefor | |
JP6267497B2 (en) | Semiconductor memory control device and unstable memory region detection method | |
US7929363B1 (en) | Memory test and setup method | |
JP4349886B2 (en) | Nonvolatile memory device | |
JP2006155735A (en) | Storage device | |
JP3529688B2 (en) | Non-volatile semiconductor memory | |
JP2000215697A (en) | Non-volatile semiconductor memory device | |
JP4606477B2 (en) | Memory system and semiconductor integrated circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20060825 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20071025 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100520 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100608 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100805 |
|
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: 20100824 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100827 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130903 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130903 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |