JP2000231793A - Device and method for controlling writing-in of flash memory - Google Patents

Device and method for controlling writing-in of flash memory

Info

Publication number
JP2000231793A
JP2000231793A JP11031989A JP3198999A JP2000231793A JP 2000231793 A JP2000231793 A JP 2000231793A JP 11031989 A JP11031989 A JP 11031989A JP 3198999 A JP3198999 A JP 3198999A JP 2000231793 A JP2000231793 A JP 2000231793A
Authority
JP
Japan
Prior art keywords
data
writing
binary data
write
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP11031989A
Other languages
Japanese (ja)
Inventor
Tomofumi Higashide
朋史 東出
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP11031989A priority Critical patent/JP2000231793A/en
Publication of JP2000231793A publication Critical patent/JP2000231793A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To prevent a writing-in level from being upgraded due to that a flash memory is repeatedly written in and to prevent the deterioration in the precision of a holding test. SOLUTION: This device consists of a flash cell array section 11, a writing-in section 12 which stores writing-in object binary data and writes the data into the section 11, and a reading out section 17 which reads the data written in the section 11 and stores the data. An inverter 22 is arranged between the sections 12 and 17 to reverse binary data read from the section 17. The reversed binary data, which are reversed by the inverter 22, are reset as writing-in object binary data of the section 12. By properly setting initial setting values of the sections 12 and 17, a performance test is made faster and deterioration in the test is prevented. Thus, the increase in a writing-in level of arbitrary writing-in data is eliminated for an arbitrary write-in data by the physical characteristics of a flash memory in sigular or plural steps of repeated writing-ins.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、高電圧を印加して
発生させる電子電圧を記憶素子に記憶させ、その書込・
読出時に高圧反転動作が行われ記録値のその確認が必要
であるフラッシュメモリ、特に、その電子電圧の保持特
性の試験が必要であるフラッシュメモリの書込制御装置
及びその書込制御方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a storage element for storing an electronic voltage generated by applying a high voltage,
The present invention relates to a flash memory in which a high-voltage inversion operation is performed at the time of reading and a recorded value needs to be confirmed, and more particularly to a write control device and a write control method for a flash memory that requires a test of a holding characteristic of its electronic voltage.

【0002】[0002]

【従来の技術】アクセスの高速性が望まれる分野では、
そのメモリ装置には半導体メモリが使用される。一括消
去が可能であり、電源から切断されてもその記憶値が失
われない利点がある半導体メモリとして、フラッシュメ
モリが使用される。
2. Description of the Related Art In fields where high-speed access is desired,
A semiconductor memory is used for the memory device. A flash memory is used as a semiconductor memory that can be erased at once and has an advantage that its stored value is not lost even when the power is cut off.

【0003】高電圧印加により正負に局所的に電気活性
になることを利用したフラッシュメモリは、その保持性
能が劣化しやすい。図5は、公知のフラッシュメモリの
基本的回路を示している。フラッシュメモリ部であるセ
ルアレイ部101には、CPU100から送られてライ
トラッチ102にラッチ(設置)されている書込対象デ
ータが書込線バス103を介して書き込まれ、その書き
込みが終了すれば、今書き込まれたそのアドレスの書込
データが読出線バス104を介してリードラッチ105
に読み出されてラッチされ、リードラッチ105にラッ
チされている読出データはCPU100に戻され、CP
U100で書込データと読出データとの一致性の確認が
実行される。
A flash memory utilizing the fact that local high and negative electrical activation is caused by application of a high voltage tends to deteriorate its holding performance. FIG. 5 shows a basic circuit of a known flash memory. The write target data sent from the CPU 100 and latched (installed) in the write latch 102 is written via the write line bus 103 to the cell array unit 101 which is a flash memory unit. The write data of the address thus written is read via the read line bus 104 and the read latch 105.
The read data latched by the read latch 105 is returned to the CPU 100,
At U100, the consistency between the write data and the read data is checked.

【0004】その一致性がない場合、即ち、データが正
しく書き込まれていない場合、ライトラッチ102に既
に書き込まれている書込対象データが再度セルアレイ部
101に書き込まれ、そのデータは再度リードラッチ1
05に読み出され、その書込データとその読出データの
一致性の確認が再度CPU100で確認される。両デー
タが一致するまでこのような動作が繰り返され、正しい
書き込みが行われる。
If there is no match, that is, if the data has not been correctly written, the data to be written which has already been written to the write latch 102 is written again to the cell array unit 101 and the data is again written to the read latch 1.
05, and the CPU 100 again checks the consistency between the write data and the read data. Such an operation is repeated until both data match, and correct writing is performed.

【0005】このような書込みは、既に正しく書き込み
が行われているビットに対しても、誤って書き込まれて
いるビットに対する書込みと同様に書込動作が繰り返さ
れ、既に書き込まれているビットには次の書き込み時に
再び高電圧を受けて、その書き込みのための電圧レベル
が上昇し、ビットごとに書込レベルが異なって、そのア
レイは場所ごとに書込レベルがまちまちになり、保持性
の劣化が促進される。更に、保持性能を試験する保持試
験の時に、保持特性が最も悪いビットの特定が困難であ
り、保持試験の精度が上がらない。
[0005] In such writing, the writing operation is repeated in the same manner as the writing to the erroneously written bit, even for the bit that has already been correctly written, and the already written bit is At the next write, the high voltage is applied again, the voltage level for the write rises, the write level differs for each bit, and the write level varies for each location in the array, deteriorating the retention. Is promoted. Further, at the time of a retention test for testing retention performance, it is difficult to specify a bit having the worst retention characteristic, and the precision of the retention test does not increase.

【0006】2度目の書込みを行わないようにした技術
は、特開平6−187791号で知られている。データ
修正のための書き込みデータの如何に係わらず繰返書込
ステップで書込レベルが上がることがないことが望まれ
る。更に、保持試験の精度の劣化を防止することができ
ることが望まれる。
A technique in which the second writing is not performed is known from Japanese Patent Laid-Open No. Hei 6-187791. It is desired that the write level does not increase in the repetitive write step regardless of the write data for data correction. Further, it is desired that the deterioration of the accuracy of the holding test can be prevented.

【0007】[0007]

【発明が解決しようとする課題】本発明の課題は、デー
タ修正のための書き込みデータの如何に係わらず、繰返
書込により書き込みレベルが上がらず書き込みレベルを
揃えることができるフラッシュメモリの書込制御装置及
びその書込制御方法を提供することにある。本発明の他
の課題は、データ修正のための書き込みデータの如何に
係わらず、繰返書込により書き込みレベルが上がらず書
き込みレベルを揃えることができ、保持試験の精度の劣
化を防止することができるフラッシュメモリの書込制御
装置及びその書込制御方法を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a write control for a flash memory in which the write level does not increase by repetitive writing and the write level can be made uniform regardless of the write data for data correction. An object of the present invention is to provide an apparatus and a write control method thereof. Another object of the present invention is to make it possible to uniform the write level without increasing the write level by repetitive writing, regardless of the write data for data correction, and to prevent deterioration in the accuracy of the retention test. An object of the present invention is to provide a write control device and a write control method for a flash memory.

【0008】[0008]

【課題を解決するための手段】その課題を解決するため
の手段が、下記のように表現される。その表現中の請求
項対応の技術的事項には、括弧()つきで、番号、記号
等が添記されている。その番号、記号等は、請求項対応
の技術的事項と実施の複数・形態のうちの少なくとも1
つの形態の技術的事項との一致・対応関係を明白にして
いるが、その請求項対応の技術的事項が実施の形態の技
術的事項に限定されることを示すためのものではない。
Means for solving the problem are described as follows. The technical matters corresponding to the claims in the expression are appended with numbers, symbols, etc. in parentheses (). The number, the symbol, etc. are at least one of the technical matters corresponding to the claims and the plurality of embodiments.
Although the agreement / correspondence with the technical matters of the two forms is clarified, it is not intended to show that the technical matters corresponding to the claims are limited to the technical matters of the embodiment.

【0009】本発明によるフラッシュメモリの書込制御
装置は、フラッシュ・セルアレイ部と、書込対象2値デ
ータを格納しその書込対象2値データをフラッシュ・セ
ルアレイ部(11)へ書き込むための書込部(12)
と、フラッシュ・セルアレイ部(11)に書き込まれて
いる2値データを読み出して格納するための読出部(1
7)と、書込部(12)と読出部(17)との間に介設
され読出部(17)が出力する2値データを反転させて
書込部(12)に入力するためのインバータ(22)と
からなり、インバータ(22)により反転された反転2
値データが書込部(12)の書込対象2値データとして
再設定される。このような繰返書込の単数、複数・ステ
ップで、フラッシュメモリの物理的特性により、データ
修正のための書き込みデータの如何に係わらず、既に書
き込みが行われているビットに再書き込みを行うことが
なく、そのビットで書込レベルが上がることがなく、未
書きビットにのみ書き込みを行うことができる。この場
合、書込部(12)の初期値を全て零に設定することに
より、保持性能試験を高速化することができ、結果的
に、保持試験精度の劣化を防止することができる。
A write control device for a flash memory according to the present invention includes a flash cell array unit and a write unit for storing binary data to be written and writing the binary data to be written to the flash cell array unit (11). Including part (12)
And a reading unit (1) for reading and storing the binary data written in the flash cell array unit (11).
7) and an inverter interposed between the writing section (12) and the reading section (17) for inverting binary data output from the reading section (17) and inputting the inverted data to the writing section (12). (22) and inverted 2 inverted by the inverter (22)
The value data is reset as binary data to be written by the writing unit (12). Due to the physical characteristics of the flash memory, it is possible to rewrite the already-written bits regardless of the write data for data correction in one or more steps of such repetitive writing. Therefore, the write level does not increase at that bit, and writing can be performed only on the unwritten bit. In this case, by setting all the initial values of the writing unit (12) to zero, the holding performance test can be sped up, and as a result, the deterioration of the holding test accuracy can be prevented.

【0010】読出部の2値データが元の書込対象2値デ
ータに一致した時に、再設定が停止されることになる。
更に、インバータ(22)と書込部(12)との間に介
設され論理和を生成するための論理和生成回路(32)
と、論理和生成回路(32)の入力側に接続される予書
込部(31)とからなり、インバータ(22)の出力側
は論理和生成回路(32)の入力側に接続され、論理和
生成回路(32)の出力側が書込部(12)に接続され
る回路構成は、既述の回路構成に等価的である。この場
合、読出部(17)の初期値を全て1に設定することに
より、保持性能試験を高速化することができ、結果的
に、保持試験精度の劣化を防止することができる。
When the binary data of the reading section matches the original binary data to be written, resetting is stopped.
Further, a logical sum generation circuit (32) interposed between the inverter (22) and the writing unit (12) for generating a logical sum.
And a pre-write unit (31) connected to the input side of the logical sum generation circuit (32). The output side of the inverter (22) is connected to the input side of the logical sum generation circuit (32). The circuit configuration in which the output side of the sum generation circuit (32) is connected to the writing unit (12) is equivalent to the above-described circuit configuration. In this case, by setting all the initial values of the reading unit (17) to 1, the holding performance test can be sped up, and as a result, the deterioration of the holding test accuracy can be prevented.

【0011】本発明によるフラッシュメモリの書込制御
方法は、フラッシュ・セルアレイ部(11)に書込対象
である第1・2値データを書き込むためのステップと、
書き込まれた第2・2値データをフラッシュ・セルアレ
イ部(11)から読み出すためのステップと、その読み
出された第2・2値データを反転するためのステップ
と、その反転された第3・2値データをフラッシュ・セ
ルアレイ部(11)に書き込むためのステップとからな
る方法である。
A write control method for a flash memory according to the present invention includes the steps of writing first / binary data to be written in a flash cell array section (11);
A step of reading the written second binary data from the flash cell array unit (11), a step of inverting the read second binary data, and a step of inverting the inverted third binary data. Writing binary data into the flash cell array unit (11).

【0012】更に、第3・2値データと第1・2値デー
タの論理和を生成するためのステップからなり、フラッ
シュ・セルアレイ部に書き込むためのステップは、その
ステップにより生成された論理和・2値データを第3・
2値データに置換してフラッシュ・セルアレイ部に書き
込むためのステップである。この方法は、既述の方法に
等価である。第1・2値データと前記第2・2値データ
が一致すれば、第3・2値データをフラッシュ・セルア
レイ部に書(11)き込むことを停止することになる。
Further, the method comprises the step of generating the logical sum of the third binary data and the first binary data, and the step of writing the data in the flash cell array section is performed by the logical sum generated by the step. Convert binary data to third
This is a step for replacing the binary data with the binary data and writing the binary data into the flash cell array unit. This method is equivalent to the method described above. If the first binary data and the second binary data match, writing (11) of the third binary data into the flash cell array unit is stopped.

【0013】[0013]

【発明の実施の形態】図に一致対応して、本発明による
フラッシュメモリの書込制御装置の実施の形態は、フラ
ッシュメモリ部であるセルアレイ部11を持ってフラッ
シュメモリ装置が設けられている。ライトラッチ12
が、書込用バス13を介してセルアレイ部11に接続さ
れている。ライトラッチ12に設置されている書込対象
データのセルアレイ部11への書込動作は、CPU14
の指令により実行される。
DESCRIPTION OF THE PREFERRED EMBODIMENTS In accordance with the drawings, an embodiment of a flash memory write control device according to the present invention is provided with a flash memory device having a cell array unit 11 which is a flash memory unit. Write latch 12
Are connected to the cell array unit 11 via the write bus 13. The write operation of the write target data set in the write latch 12 to the cell array unit 11 is performed by the CPU 14.
It is executed by the command of

【0014】ライトラッチ12は、セレクタ20を介し
てCPU14に接続されている。セレクタ20は、第1
データ転送バス15を介してCPU14に接続されてい
る。ライトラッチ12は、第2データ転送バス16を介
してセレクタ20に接続されている。リードラッチ17
が、読出用バス18を介してセルアレイ部11に接続さ
れている。リードラッチ17は、第3データ転送バス1
9を介してCPU14に接続されている。リードラッチ
17は、データ反転用転送バス21を介してセレクタ2
0に接続されている。データ反転用転送バス21には、
データを反転させるためのインバータ22が介設されて
いる。
The write latch 12 is connected to the CPU 14 via a selector 20. The selector 20 has the first
It is connected to the CPU 14 via the data transfer bus 15. The write latch 12 is connected to the selector 20 via the second data transfer bus 16. Read latch 17
Are connected to the cell array unit 11 via the read bus 18. The read latch 17 is connected to the third data transfer bus 1
9 is connected to the CPU 14. The read latch 17 is connected to the selector 2 via the data inversion transfer bus 21.
Connected to 0. The data inversion transfer bus 21 includes:
An inverter 22 for inverting data is provided.

【0015】ライトラッチ12には、CPU14から選
択指示信号23が入力される。選択指示信号23は、セ
レクタ20にも同時に入力される。選択指示信号23
は、データ反転用転送バス21を第2データ転送バス1
6に接続するか、又は、CPU14を第2データ転送バ
ス16に接続するかのいずれかを選択的に指示するため
の電気信号である。
A selection instruction signal 23 is input from the CPU 14 to the write latch 12. The selection instruction signal 23 is also input to the selector 20 at the same time. Selection instruction signal 23
Sets the data inversion transfer bus 21 to the second data transfer bus 1
6 or an electrical signal for selectively instructing the CPU 14 to connect to the second data transfer bus 16.

【0016】図2は、繰返書込動作のフローを示してい
る。セルアレイ部11の初期値が、零に設定される。初
期値として、(0,0,0,0,0,0,0,0)(=
0)が例示される。書込対象データ0が、選択指示信号
23により選択されて第2データ転送バス16に接続さ
れる第1データ転送バス15を介してライトラッチ12
に入力され、ライトラッチ12に、初期値(0,0,
0,0,0,0,0,0)が入力される。
FIG. 2 shows a flow of the repetitive writing operation. The initial value of the cell array unit 11 is set to zero. As an initial value, (0, 0, 0, 0, 0, 0, 0, 0) (=
0) is exemplified. The write target data 0 is selected by the selection instruction signal 23 and is written to the write latch 12 via the first data transfer bus 15 connected to the second data transfer bus 16.
And the initial value (0, 0,
0, 0, 0, 0, 0, 0).

【0017】ライトラッチ12に設定された初期値
(0,0,0,0,0,0,0,0)は、書込用バス1
3を介してセルアレイ部11の特定アドレスに書き込ま
れる(ステップS1)。この書き込みが終了すれば、そ
のアドレスに書き込まれているデータが、リードラッチ
17に読み出される。書き込み時にエラーが生じてい
て、リードラッチ17に読み出されるデータが(0,
0,0,1,1,0,0,1)であったとする。
The initial value (0,0,0,0,0,0,0,0) set in the write latch 12 is stored in the write bus 1
3 is written to a specific address of the cell array unit 11 (step S1). When this writing is completed, the data written at that address is read out to the read latch 17. An error has occurred during writing, and the data read to the read latch 17 is (0,
0, 0, 1, 1, 0, 0, 1).

【0018】このように読み出されたデータは、読出用
バス18を介して、リードラッチ17に格納される(ス
テップS2)。このようにリードラッチ17に格納され
た読出データ(0,0,0,1,1,0,0,1)は、
データ反転用転送バス21を介してインバータ22に入
力され、インバータ22により反転される。インバータ
22により反転された第1回反転データは、(1,1,
1,0,0,1,1,0)である。
The data thus read is stored in the read latch 17 via the read bus 18 (step S2). The read data (0, 0, 0, 1, 1, 0, 0, 1) thus stored in the read latch 17 is
The data is input to the inverter 22 via the data inversion transfer bus 21 and is inverted by the inverter 22. The first inverted data inverted by the inverter 22 is (1, 1,
1,0,0,1,1,0).

【0019】この第1回反転データは、セレクタ20に
入力される。次の選択指示信号23により選択されてデ
ータ反転用転送バス21が第2データ転送バス16に接
続されており、第1回反転データはライトラッチ12に
入力される。この入力により、ライトラッチ12の値
は、第1回反転データである(1,1,1,0,0,
1,1,0)に設定される(ステップS3)。
The first inverted data is input to the selector 20. The data inversion transfer bus 21 selected by the next selection instruction signal 23 is connected to the second data transfer bus 16, and the first inversion data is input to the write latch 12. By this input, the value of the write latch 12 is the first inverted data (1, 1, 1, 0, 0,
(1, 1, 0) (step S3).

【0020】第1回反転データが第2回書込対象データ
であり、これがセルアレイ部11に書き込まれる。この
書き込み時、初期値に対して反転している部分(1,
1,1,−,−,1,1,−)である”1”の部分は、
記憶素子の書込レベルを上げることはない。このように
書き込まれた第1回反転値データは、リードラッチ17
に2回目に読み出される。2回目に読み出されたデータ
は、まだ完全には修復されておらず1カ所のみにエラー
が残存し、(0,0,0,0,0,0,0,1)であっ
たとする(ステップS4)。このデータが、2回目に反
転され、ライトラッチ12に設定される(ステップS
4)。
The first inverted data is the second write target data, which is written to the cell array unit 11. At the time of this writing, the part (1,
1,1,-,-, 1,1,-) is "1",
There is no increase in the write level of the storage element. The first inverted value data written in this manner is stored in the read latch 17.
At the second time. It is assumed that the data read out the second time has not been completely repaired yet, and an error remains in only one place and is (0, 0, 0, 0, 0, 0, 0, 1) ( Step S4). This data is inverted for the second time and set in the write latch 12 (step S
4).

【0021】ライトラッチ12に2回目に設定される値
は、(1,1,1,1,1,1,1,0)である(ステ
ップS5)。この値が3度目にセルアレイ部11に書き
込まれる。この書き込みの時、2回目の書込データに対
して反転している部分(1,1,1,1,1,1,1,
−)である”1”の部分は、記憶素子の書込レベルを上
げることはない。セルアレイ部11からリードラッチ1
7に読み出されるデータが(0,0,0,0,0,0,
0,0)であったとする。
The value set in the write latch 12 for the second time is (1,1,1,1,1,1,1,0) (step S5). This value is written to the cell array unit 11 for the third time. At the time of this writing, the part (1,1,1,1,1,1,1,1,1) that is inverted with respect to the second write data
The portion of "-" of "1" does not increase the write level of the storage element. Read latch 1 from cell array unit 11
7 is (0, 0, 0, 0, 0, 0,
(0,0).

【0022】このデータ(0,0,0,0,0,0,
0,0)が、リードラッチ17に格納される(ステップ
S6)。読み出されるデータ、その読出の都度、第3デ
ータ転送バス19を介してCPU14に送られて初期値
と比較され、読み出されるそのデータと初期値とは、そ
の読出の都度、それらの間の一致性がCPU14により
確認されている。第3回目の読出時には、読出データは
初期値に一致している。その一致を確認したCPU14
は、それ以後の繰返書込を停止する。
This data (0,0,0,0,0,0,
(0, 0) is stored in the read latch 17 (step S6). The data to be read, each time the data is read, are sent to the CPU 14 via the third data transfer bus 19 and compared with the initial value. The data and the initial value to be read are identical each time the data is read. Are confirmed by the CPU 14. At the time of the third reading, the read data matches the initial value. CPU 14 that has confirmed the match
Stops subsequent repetitive writing.

【0023】図3は、本発明による実施の他の形態を示
している。ライトラッチ12とCPU14との間に、プ
リライトラッチ31とOR回路32とが既述のセレクタ
に代えられて介設されている。図示されていないが、O
R回路32はバスの本数分が存在する。リードラッチ1
7とOR回路32の入力側との間のデータ反転用転送バ
ス21’に、インバータ22が介設されている。OR回
路32の出力側が、バス33によりライトラッチ12に
接続されている。選択指示信号23’が、CPU14か
らプリライトラッチ31とリードラッチ17に入力され
る。
FIG. 3 shows another embodiment of the present invention. A pre-write latch 31 and an OR circuit 32 are interposed between the write latch 12 and the CPU 14 instead of the above-described selector. Although not shown, O
The number of the R circuits 32 is equal to the number of buses. Read latch 1
An inverter 22 is provided on the data inversion transfer bus 21 ′ between the gate 7 and the input side of the OR circuit 32. The output side of the OR circuit 32 is connected to the write latch 12 via the bus 33. The selection instruction signal 23 ′ is input from the CPU 14 to the pre-write latch 31 and the read latch 17.

【0024】図4は、図3の実施の形態の繰返書込動作
のフローを示している。セルアレイ部11の初期値が、
(1,1,1,1,1,1,1,1)であるとする。書
込対象データ(1,01,0,1,0,0,1)を、プ
リライトラッチ31に設定する(ステップS11)。こ
の設定時の書き込み信号23’は1であり、この信号2
3’によりリードラッチ17はリセットされ、(1,
1,1,1,1,1,1,1)となる(ステップS1
2)。リードラッチ17に出力されるデータの出力値
は、(1,1,1,1,1,1,1,1)である。
FIG. 4 shows a flow of the repetitive writing operation of the embodiment of FIG. The initial value of the cell array unit 11 is
(1,1,1,1,1,1,1,1,1). The data to be written (1,01,0,1,0,0,1) is set in the prewrite latch 31 (step S11). The write signal 23 'at this setting is 1, and this signal 2'
3 'resets the read latch 17 to (1,
1,1,1,1,1,1,1,1) (step S1)
2). The output value of the data output to the read latch 17 is (1,1,1,1,1,1,1,1).

【0025】この出力値は、インバータ22により反転
され、第1回反転データは、OR回路32に入力され
る。一方、プリライトラッチ31の出力値(1,0,
1,0,1,0,0,1)は、そのままの値で、OR回
路32に入力される。OR回路32が出力する論理和は
(ステップS13)、バス33を介して、ライトラッチ
12に入力される。ライトラッチ12には、(1,0,
1,0,1,0,0,1)が格納される(ステップS1
4)。
This output value is inverted by the inverter 22, and the first inverted data is input to the OR circuit 32. On the other hand, the output value (1, 0,
1, 0, 1, 0, 0, 1) are input to the OR circuit 32 as they are. The logical sum output from the OR circuit 32 (step S13) is input to the write latch 12 via the bus 33. The write latch 12 has (1, 0,
1, 0, 1, 0, 0, 1) are stored (step S1).
4).

【0026】ライトラッチ12に設定された書き込み対
象データは、セルアレイ部11に書き込まれる。このよ
うな第1回目の書き込みが終了すると、今書き込まれた
アドレスのデータが、リードラッチ17に読み出され
る。読み出されたデータが、(1,0,1,0,1,
0,1,1)であったとする。この読出データ(1,
0,1,0,1,0,1,1)が、リードラッチ17に
格納される(ステップS15)。プリライトラッチ31
に書き込まれた書き込みデータに一致していないこの読
出データの反転値(0,1,0,1,0,1,0,0)
は、書き込みデータ(1,0,1,0,1,0,0,
1)との論理和が取られて(ステップS)、その論理和
が再びプリライトラッチ31に格納される(ステップS
17)。
The data to be written set in the write latch 12 is written to the cell array unit 11. When the first writing is completed, the data at the address just written is read out to the read latch 17. The read data is (1, 0, 1, 0, 1,
0, 1, 1). This read data (1,
0, 1, 0, 1, 0, 1, 1) are stored in the read latch 17 (step S15). Prewrite latch 31
The inverted value of this read data that does not match the write data written in (0, 1, 0, 1, 0, 1, 0, 0)
Is the write data (1, 0, 1, 0, 1, 0, 0,
1) is calculated (step S), and the logical sum is stored again in the prewrite latch 31 (step S).
17).

【0027】この論理和データが第2回目の書き込みデ
ータとして、セルアレイ部11に書き込まれる。書き込
みデータと読出データが一致するまで(ステップS1
8)、このような書き込みと読出が繰り返される。プリ
ライトラッチの値とリードラッチの値の反転値の論理和
を次の書き込みデータとするため、このような繰り返し
の動作中で、書き込みデータの値の如何に係わらず、フ
ラッシュメモリセルの書き込みレベルを揃えることがで
きる。
This OR data is written to the cell array section 11 as the second write data. Until the write data matches the read data (step S1
8) Such writing and reading are repeated. In order to make the logical sum of the value of the pre-write latch and the inverted value of the value of the read latch the next write data, during such repetitive operation, the write level of the flash memory cell is independent of the write data value. Can be aligned.

【0028】[0028]

【発明の効果】本発明によるフラッシュメモリの書込制
御装置及びその書込制御方法は、データ修正のための書
き込みデータの如何に係わらず、繰り返し書き込みによ
り書き込みレベルが上がることがない。インバータを用
いることにより、書き込みレベルを上げることがない当
該回路がシンプルである。初期設定値を適正に与えるこ
とにより、保持試験を高速化することができ、結果的
に、保持試験精度の劣化を防止することができる。
According to the flash memory write control device and the write control method of the present invention, the write level does not increase due to repeated writing regardless of the write data for data correction. By using the inverter, the circuit without raising the write level is simple. By appropriately giving the initial set value, the holding test can be sped up, and as a result, the deterioration of the holding test accuracy can be prevented.

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

【図1】図1は、本発明によるフラッシュメモリの書込
制御装置の実施の形態を示す回路ブロック図である。
FIG. 1 is a circuit block diagram showing an embodiment of a flash memory write control device according to the present invention.

【図2】図2は、本発明によるフラッシュメモリの書込
制御方法の実施の形態を示すフローチャートである。
FIG. 2 is a flowchart showing an embodiment of a flash memory write control method according to the present invention.

【図3】図3は、本発明によるフラッシュメモリの書込
制御装置の実施の他の形態を示す回路ブロック図であ
る。
FIG. 3 is a circuit block diagram showing another embodiment of the flash memory write control device according to the present invention.

【図4】図4は、本発明によるフラッシュメモリの書込
制御方法の実施の他の形態を示すフローチャートであ
る。
FIG. 4 is a flowchart showing another embodiment of the write control method of the flash memory according to the present invention.

【図5】図5は、公知装置の回路ブロック図である。FIG. 5 is a circuit block diagram of a known device.

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

11…フラッシュ・セルアレイ部 12…書込部(ライトラッチ) 17…読出部(リードラッチ) 22…インバータ 22…論理和生成回路(OR回路) 31…予書込部(プリライトラッチ) 11 flash cell array unit 12 write unit (write latch) 17 read unit (read latch) 22 inverter 22 logical sum generation circuit (OR circuit) 31 pre-write unit (pre-write latch)

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】フラッシュ・セルアレイ部と、 書込対象2値データを格納し前記書込対象2値データを
前記フラッシュ・セルアレイ部へ書き込むための書込部
と、 前記フラッシュ・セルアレイ部に書き込まれている2値
データを読み出して格納するための読出部と、 前記書込部と前記読出部との間に介設され前記読出部が
出力する2値データを反転させて前記書込部に入力する
ためのインバータとからなり、 前記インバータにより反転された反転2値データが前記
書込部の書込対象2値データとして再設定されるフラッ
シュメモリの書込制御装置。
A flash cell array unit; a write unit for storing binary data to be written and writing the binary data to be written to the flash cell array unit; and a write unit for writing to the flash cell array unit. A reading unit for reading and storing the binary data stored therein; and a binary data interposed between the writing unit and the reading unit, wherein the binary data output by the reading unit is inverted and input to the writing unit. A write control device for a flash memory, wherein the inverted binary data inverted by the inverter is reset as binary data to be written by the writing unit.
【請求項2】請求項1において、 前記読出部の2値データが元の書込対象2値データに一
致した時に、前記再設定が停止されることを特徴とする
フラッシュメモリの書込制御装置。
2. The flash memory write control device according to claim 1, wherein the resetting is stopped when the binary data of the read unit matches the original binary data to be written. .
【請求項3】請求項1において、 前記書込部の初期設定値は、全てが0であることを特徴
とするフラッシュメモリの書込制御装置。
3. The write control device for a flash memory according to claim 1, wherein all initial setting values of said writing unit are 0.
【請求項4】請求項1において、 更に、前記インバータと前記書込部との間に介設され論
理和を生成するための論理和生成回路と、 前記論理和生成回路の入力側に接続される予書込部とか
らなり、 前記インバータの出力側は前記論理和生成回路の前記入
力側に接続され、前記論理和生成回路の出力側が前記書
込部に接続され、 前記書込部の初期設定値は、全てが1であることを特徴
とするフラッシュメモリの書込制御装置。
4. The logical sum generation circuit according to claim 1, further comprising a logical sum generation circuit interposed between the inverter and the write unit for generating a logical sum, and connected to an input side of the logical sum generation circuit. An output side of the inverter is connected to the input side of the logical sum generating circuit, an output side of the logical sum generating circuit is connected to the writing section, A setting control device for a flash memory, wherein all set values are 1.
【請求項5】フラッシュ・セルアレイ部に書込対象であ
る第1・2値データを書き込むためのステップと、 書き込まれた第2・2値データを前記フラッシュ・セル
アレイ部から読み出すためのステップと、 前記ステップにより読み出された第2・2値データを反
転するためのステップと、 前記ステップにより反転された第3・2値データを前記
フラッシュ・セルアレイ部に書き込むためのステップと
からなるフラッシュメモリの書込制御方法。
5. A step for writing first / binary data to be written to a flash cell array unit, a step for reading the written second / binary data from the flash cell array unit, A flash memory comprising: a step for inverting the second binary data read in the step; and a step for writing the third binary data inverted in the step in the flash cell array unit. Write control method.
【請求項6】請求項5において、 前記第1・2値データの初期値は、全てが零であること
を特徴とするフラッシュメモリの書込制御方法。
6. The method according to claim 5, wherein all of the initial values of the first and second data are zero.
【請求項7】請求項5において、 更に、前記第3・2値データと前記第1・2値データの
論理和を生成するためのステップからなり 前記フラッシュ・セルアレイ部に書き込むためのステッ
プは、前記ステップにより生成された論理和・2値デー
タを前記第3・2値データに置換して前記フラッシュ・
セルアレイ部に書き込むためのステップであることを特
徴とするフラッシュメモリの書込制御方法。
7. The flash cell array according to claim 5, further comprising a step of generating a logical sum of the third and second data and the first and second data. The logical sum / binary data generated in the above step is replaced with the third / binary data to replace the flash / binary data.
A write control method for a flash memory, which is a step for writing to a cell array unit.
【請求項8】請求項7において、 前記第3・2値データは、初期値として全てが1に設定
されていることを特徴とするフラッシュメモリの書込制
御方法。
8. The method according to claim 7, wherein all of the third and second data are set to 1 as an initial value.
JP11031989A 1999-02-09 1999-02-09 Device and method for controlling writing-in of flash memory Pending JP2000231793A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11031989A JP2000231793A (en) 1999-02-09 1999-02-09 Device and method for controlling writing-in of flash memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11031989A JP2000231793A (en) 1999-02-09 1999-02-09 Device and method for controlling writing-in of flash memory

Publications (1)

Publication Number Publication Date
JP2000231793A true JP2000231793A (en) 2000-08-22

Family

ID=12346342

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11031989A Pending JP2000231793A (en) 1999-02-09 1999-02-09 Device and method for controlling writing-in of flash memory

Country Status (1)

Country Link
JP (1) JP2000231793A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008145070A1 (en) * 2007-05-30 2008-12-04 Memoright Memoritech (Shenzhen) Co., Ltd Flash memory data read/write processing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008145070A1 (en) * 2007-05-30 2008-12-04 Memoright Memoritech (Shenzhen) Co., Ltd Flash memory data read/write processing method

Similar Documents

Publication Publication Date Title
JP4059473B2 (en) Memory card and memory controller
JP4901348B2 (en) Semiconductor memory device and control method thereof
US7130217B2 (en) Semiconductor storage device having page copying function
US7296128B2 (en) Nonvolatile memory with error correction for page copy operation and method thereof
JP3730423B2 (en) Semiconductor memory device
KR100286188B1 (en) Nonvolatile Memory and Semiconductor Device Having the Same
JPH09180477A (en) Non-volatile semiconductor memory device and its reading/programming method
KR100291807B1 (en) A nonvolatile storage device and control method therefor
US6826081B2 (en) Nonvolatile semiconductor memory device, nonvolatile semiconductor memory device-integrated system, and defective block detecting method
CN114758689A (en) Erasing method and power-on repair method for nonvolatile memory
JP4256307B2 (en) Memory card
JP4724692B2 (en) High-speed program type MLC memory
US6320791B1 (en) Writing apparatus for a non-volatile semiconductor memory device
US6460111B1 (en) Semiconductor disk drive and method of creating an address conversion table based on address information about defective sectors stored in at least one sector indicated by a management code
JP4849637B2 (en) Memory card and memory controller
JP5010263B2 (en) Nonvolatile semiconductor memory device
JP2000231793A (en) Device and method for controlling writing-in of flash memory
JP2556655B2 (en) Data recording / reproducing device
CN114115701A (en) Nonvolatile memory and writing method and reading method thereof
KR100313555B1 (en) Nonvolatile semiconductor memory device having test circuit for testing erasing function thereof
JP2004030849A (en) Semiconductor nonvolatile memory having rewritable function for part of data
TWI753814B (en) Semiconductor storage apparatus and ecc related information reading method
JP3267320B2 (en) Nonvolatile semiconductor memory device and method of controlling nonvolatile semiconductor memory device
JPH06139785A (en) Nonvolatile semiconductor storage device
JP2000123581A (en) Write-in method for semiconductor memory, and semiconductor memory

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20030916

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20031022