Storage structure and erase method thereof
11366603 · 2022-06-21
Assignee
Inventors
Cpc classification
G06F3/0659
PHYSICS
G11C7/1042
PHYSICS
G06F3/0679
PHYSICS
G11C2216/18
PHYSICS
G11C2211/5648
PHYSICS
G06F3/0652
PHYSICS
G11C16/3477
PHYSICS
G06F3/0619
PHYSICS
International classification
Abstract
The invention provides a storage structure and an erase method thereof, capable of performing an erase operation on a plurality of memory blocks. The storage structure includes: a first storage body, a second storage body, a third storage body, and a controller. Memory blocks that are consecutively numbered are sequentially alternately stored in the first memory bank, the second memory bank, and the third memory bank, and the controller is configured to control each memory block to sequentially undergo a first process, a second process and a third process. The erase method includes: when a memory block Bi undergoes the third process, a memory block Bi+1 undergoes the second process, and a memory block Bi+2 undergoes the first process at the same time; where i ∈ [1, n−2]. Three adjacent blocks undergo the first process, the second process, and the third process simultaneously.
Claims
1. A storage structure capable of performing an erase operation on memory blocks B.sub.1, B.sub.2, . . . , B.sub.n, where n is an integer greater than or equal to 3, and the storage structure comprises: a first memory bank, a second memory bank, and a third memory bank and a controller, where the memory blocks B.sub.1, B.sub.2, . . . , B.sub.n, that are consecutively numbered are sequentially alternately arranged in the first memory bank, the second memory bank, and the third memory bank, wherein the controller is used to control the memory blocks to sequentially undergo an erase operation, and the erase operation includes sequentially performing a first process, a second process, and a third process; wherein once the erase operation is applied to a memory block, the memory block undergoes the first process, the second process and the third process sequentially; and the erase operation comprises: when a memory block B.sub.i undergoes the third process, a memory block B.sub.i+1 undergoes the second process, and a memory block B.sub.8+2 undergoes the first process, where i ∈ [1, n−2].
2. The storage structure according to claim 1, wherein after the memory block B.sub.1 has completed the first process, the memory block B.sub.1 undergoes the second process while simultaneously the memory block B.sub.2 undergoes the first process, and the erase operation is then performed on the remaining memory blocks; after the memory block B.sub.1 has completed the third process, the memory block B.sub.i+1 has completed the second process and the memory block B.sub.i+2 has completed the first process, the memory block B.sub.i+1 undergoes the third process; until the memory block B.sub.n−1 has completed the second process, the memory block B.sub.n−1 undergoes the third process, while the memory block B.sub.n, simultaneously undergoes the second process; after the memory block B.sub.n, has completed the second process, the memory block B.sub.n, undergoes the third process.
3. The storage structure according to claim 2, wherein the first process includes a pre-programming step, the second process includes an erase step, and the third process includes an over-erase correction step.
4. The storage structure according to claim 2, wherein the numbers of the memory blocks in the first memory bank, the second memory bank, and the third memory bank are the same.
5. The storage structure according to claim 2, wherein the numbers of the memory blocks in the first memory bank and the second memory bank are the same, and the number of the memory blocks in the third memory bank is not the same as those in the first memory bank and the second memory bank; or the numbers of the memory blocks in the second memory bank and the third memory bank are the same, and the number of the memory blocks in the first memory bank is not the same as those in the second memory bank and the third memory bank.
6. The storage structure according to claim 2, wherein the storage structure comprises M memory banks, and M is greater than or equal to 3.
7. The storage structure according to claim 1, wherein the first process includes a pre-programming step, the second process includes an erase step, and the third process includes an over-erase correction step.
8. The storage structure according to claim 1, wherein the numbers of the memory blocks in the first memory bank, the second memory bank, and the third memory bank are the same.
9. The storage structure according to claim 1, wherein the numbers of the memory blocks in the first memory bank and the second memory bank are the same, and the number of the memory blocks in the third memory bank is not the same as those in the first memory bank and the second memory bank; or the numbers of the memory blocks in the second memory bank and the third memory bank are the same, and the number of the memory blocks in the first memory bank is not the same as those in the second memory bank and the third memory bank.
10. The storage structure according to claim 1, wherein the storage structure comprises M memory banks, and M is greater than or equal to 3.
11. The storage structure according to claim 1, wherein the controller comprises: a first memory bank controller, coupled to the first memory bank for controlling the first memory bank; a second memory bank controller, coupled to the second memory bank for controlling the second memory bank; a third memory bank controller, coupled to the third memory bank for controlling the third memory bank; and a chip controller coupled to the first memory bank controller, the second memory bank controller, and the third memory bank controller and capable of operating the first memory bank controller, the second memory bank controller, and the third memory bank simultaneously.
12. The storage structure according to claim 11, wherein the storage structure is a NOR flash memory.
13. The storage structure according to claim 1, wherein the storage structure is a NOR flash memory.
14. An erase method of a storage structure, used to perform an erase operation on memory blocks B.sub.1, B.sub.2, . . . , B.sub.n, where n is an integer greater than or equal to 3, and the method comprises: sequentially alternately arranging the memory blocks B.sub.i B.sub.2 . . . , B.sub.n, that are consecutively numbered in a first memory bank, a second memory bank, and a third memory bank; controlling the memory blocks to sequentially undergo the erase operation; wherein the erase operation comprises sequentially performing a first process, a second process, and a third process, and once the erase operation is applied to a memory block, the memory block undergoes the first process, the second process and the third process sequentially; and further comprises in response to a memory block B.sub.i undergoing the third process, a memory block B.sub.i+1 undergoes the second process while a memory block B.sub.i+2 simultaneously undergoes the first process, where i ∈ [1, n−2].
15. The method according to claim 14, wherein the method erases the storage structure entirely.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
DETAILED DESCRIPTION
(5)
(6)
(7) This erase method of the storage structure 100 repeats three steps separately for each memory block. The erase operation will be performed on a next memory block until a previous memory block completes the three steps. There are many blocks within the storage structure (for example, n=256), however. It takes a lot of time to complete the entire erasing of the storage structure 100, and the erasing efficiency is low.
(8) The specific embodiments of the present invention will be described in more detail below with reference to the schematic diagrams. The advantages and features of the invention will become clearer from the following description. It should be noted that the drawings are in a very simplified form and all use inaccurate proportions, which are only used to facilitate and clearly assist the description of the embodiments of the present invention. The numbers of the memory blocks and banks are intended to facilitate explanation of the scheme, which does not mean that the corresponding numbers of the memory blocks and the banks must be set as in the figures, nor does it mean that the numbering of the blocks must be in accordance with the numbering method of this invention.
(9)
(10) When n is not a multiple of 3, the arranging of memory blocks in the memory banks may be according to one of the following scenarios: 1) the numbers of memory blocks in the first bank Bank2 and the second bank Bank3 are the same, and there is one less memory block in the third memory bank Bank4 than in the first memory bank Bank2 and the second memory bank Bank3; or 2) the numbers of memory blocks in the second memory bank Bank3 and the third memory bank Bank4 are the same, and there is one more memory block in the first memory bank Bank2 than in the second memory bank Bank3 and the third memory bank Bank4. This does not affect the implementation of the present invention.
(11) In addition, the number of memory banks is not limited to three, and it may be M, where M is preferably a multiple of three. When M is not a multiple of three, the scheme of this invention may still be applied to most memory banks in a storage structure.
(12) The storage structure 300 further includes a controller, which comprises a chip controller 210, a first memory bank controller 220, a second memory bank controller 230, and a third memory bank controller 240. The first memory bank controller 220 is coupled to and controls the first memory bank Bank2, the second memory bank controller 230 is coupled to and controls the second memory bank Bank3, and the third memory bank controller 240 is coupled to and controls the third memory bank Bank4. The chip controller 210 is coupled to the first memory bank controller 220, the second memory bank controller 230, and the third memory bank controller 240, and is configured to control the first memory bank Bank2, the second memory bank Bank3 and the third memory bank Bank4 to perform operations such as read, write, and erase. Because addresses of the first memory bank Bank2, the second memory bank Bank3, and the third memory bank Bank4, and their bias conditions (voltages required to be applied to the source, drain, or gate) are different, this embodiment relies on the chip controller 210 to totally control the first memory bank controller 220, the second memory bank controller 230, and the third memory bank controller 240. The first memory bank controller 220, the second memory bank controller 230 and the third memory bank controller 240 control the first memory bank Bank2, the second memory bank Bank3, and the third memory bank Bank4 respectively, such that the chip controller 210 can simultaneously operate the memory blocks in the first memory bank Bank2, the second memory bank Bank3, and the third memory bank Bank4.
(13) It should be understood, however, that according to existing integrated circuit design and manufacturing technologies, the first memory bank controller 220, the second memory bank controller 230, the third memory bank controller 240, and the chip controller 210 may be integrated into a single control unit, or multiple control units. This can be done by those skilled in the art; this embodiment merely provides a preferred solution.
(14) This embodiment also provides an erase method of the storage structure 300, which is used to perform entire erasing of the storage structure 300. Specifically, the memory blocks are sequentially alternately arranged in the first memory bank Bank2, the second memory bank Bank3, and the third memory bank Bank4. When the storage structure 300 needs to be erased entirely, the controller controls the memory blocks B.sub.1, B.sub.2 . . . B.sub.n to be sequentially erased. Only when a first process, a second process and a third process are performed on a memory block, will the erase operation be completed on said memory block. The erase method includes: when the memory block B.sub.i undergoes the third process, the memory block B.sub.i+1 undergoes the second process, and the memory block B.sub.i+2 undergoes the first process, where i∈[1, n−2]. In other words, for the three adjacent memory blocks, memory block B.sub.1 undergoes the third process, memory block B.sub.i+1 undergoes the second process, and memory block B.sub.i+2 undergoes the first process simultaneously. After the memory block B.sub.i has completed the third process, the memory block B.sub.i+1 has completed the second process and the memory block B.sub.i+2 has completed the first process, the erasing of the memory block B.sub.1 is completed; then, the memory block B.sub.i+1 undergoes the third process, while simultaneously the memory block B.sub.i+2 undergoes the second process, and the memory block B.sub.i+3 undergoes the first process. This continues in a pipeline manner until the erasing of the memory block B.sub.n is completed, and eventually the storage structure 300 is completely erased.
(15) In this embodiment, the first process includes a pre-programing step, the second process includes an erase step, and the third process includes an over-erase correction step (OEC).
(16)
(17) As shown in
(18) The erase method according to the related art as shown in
(19) In order to prove that the erasing efficiency of the present invention erase method is improved compared to the erase method of the related art, the following assumptions and calculations are made:
(20) Assume n=256, the time of the pre-programming step t1=50 ms, the time of the erase step t2=80 ms, and the time of the over-erase repair step t3=20 ms;
(21) The time T1 required to erase the entire storage structure by using the erase method shown in
T1=(50 ms+80 ms+20 ms)*256=38.4 s
(22) The time T2 required to erase the entire storage structure by using the erase method shown in
T2=50 ms+80 ms*256+20 ms=20.58 s
(23) It can be seen that, compared with the related art, the erase method of the present invention can improve erasing efficiency by about 46.5%.
(24) The erase times listed above are reference values. It is possible that the flash memory has different pre-programming times, erase times, and over erase correction times depending on the manufacturing process and operation mode.
(25) In summary, in the storage structure and the erase method provided by the embodiments of the present invention, erase operations can be performed on memory blocks where n is an integer greater than or equal to 3, and the storage structure includes: a first memory bank, a second memory bank, a third memory bank, and a controller. The memory blocks are sequentially alternately arranged in the first memory bank, the second memory bank, and the third memory bank, and the controller is used to control the memory blocks to sequentially undergo an erase operation according to an erase method. The erase operation includes sequentially performing a first process, a second process, and a third process. The erase method includes: when the memory block B.sub.1 undergoes the third process, the memory block B.sub.i+1 undergoes the second process, while the memory block B.sub.i+2 undergoes the first process at the same time, where i∈[1, n−2]. Three adjacent blocks thereby undergo the first process, the second process, and the third process simultaneously, which improves the erasing efficiency while requiring no additional circuits. The above structure and method can therefore be implemented without increasing costs.
(26) Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.