Programming processing method, programming processing system and memory

By using page verification mode and byte verification mode in memory, selecting the appropriate verification mode according to the pass rate of programming verification, the problem of long programming verification time is solved and the efficiency and speed of programming processing is improved.

CN115064201BActive Publication Date: 2024-11-12WUHAN XINXIN SEMICON MFG CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210769979.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-30
Publication Date
2024-11-12
Estimated Expiration
2042-06-30

AI Technical Summary

Technical Problem

Memory takes a long time during the programming verification process, and if the verification fails, the programming verification needs to be repeated, resulting in wasted time.

Method used

Provide programming processing methods, adopt page verification mode and byte verification mode, select appropriate verification mode according to the pass rate of the last programming verification, reduce the number of times the verification voltage and programming voltage is established, and checksum programming is performed cyclically. Until passing.

Benefits of technology

It reduces the time spent on programming checksum programming, improves the efficiency of programming processing in memory, and saves workload and time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115064201B_ABST
    Figure CN115064201B_ABST
Patent Text Reader

Abstract

The present application discloses a programming processing method, a programming processing system and a memory. The programming processing method can execute a page verification mode or a byte verification mode in response to a programming verification instruction, and can also execute a page programming mode or a byte programming mode in response to a programming instruction. The page verification mode and the page programming mode can reduce the number of times the verification voltage and the programming voltage are established, thereby reducing the time used for programming verification and programming. The byte verification mode and the byte programming mode can reduce the workload or number of programming verification and programming, and can also reduce the time used for programming verification and programming. Therefore, by executing any combination of the page verification mode, the page programming mode, the byte verification mode and the byte programming mode, the time required for programming verification and programming can be reduced, thereby improving the efficiency of programming processing in the memory.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of storage technology, and in particular to a programming processing method, a programming processing system and a memory. Background Art

[0002] In order to ensure the correctness of the data, the memory needs to verify whether the internal data has completed the corresponding programming action correctly after programming. However, it usually takes a long time to verify whether the programming action is correct. If the programming verification fails, it will take a long time to reprogram and program verification until the programming verification passes. Summary of the invention

[0003] The present application provides a programming processing method, a programming processing system and a memory to alleviate the technical problem that programming processing takes a long time.

[0004] In a first aspect, the present application provides a programming processing method, which includes: configuring a programming verification mode, the programming verification mode includes a page verification mode and a byte verification mode, the page verification mode performs programming verification in units of pages, and the byte verification mode performs programming verification in units of bytes; configuring a programming mode, the programming mode includes a page programming mode and a byte programming mode, the page programming mode performs programming in units of pages, and the byte programming mode performs programming in units of bytes; in response to a programming verification instruction, executing a page verification mode or a byte verification mode; in response to a programming instruction, executing a page programming mode or a byte programming mode.

[0005] In some of the embodiments, the programming processing method further includes: in response to a programming verification instruction, establishing a verification voltage to execute a page verification mode, wherein the verification voltage is established the same number of times as the page verification mode is executed; in response to a programming instruction, establishing a programming voltage to execute a page programming mode, wherein the programming voltage is established the same number of times as the page programming mode is executed.

[0006] In some implementations, the programming processing method further includes: determining whether a programming verification result of a page verification mode passes; if not, looping through the page verification mode and the page programming mode until the programming verification result passes.

[0007] In some of the embodiments, the programming processing method further includes: establishing a verification voltage to execute a byte verification mode in response to a programming verification instruction, wherein the verification voltage is established the same number of times as the byte verification mode is executed; and establishing a programming voltage to execute a byte programming mode in response to a programming instruction, wherein the programming voltage is established the same number of times as the byte programming mode is executed.

[0008] In some of the implementation modes, the programming processing method further includes: obtaining a pass rate of the last programming verification; and determining whether this programming verification is performed in a page verification mode or a byte verification mode based on a comparison result of the pass rate of the last programming verification with a preset value.

[0009] In some implementation modes, if the pass rate of the last programming verification is greater than or equal to a preset value, the current programming verification executes the byte verification mode.

[0010] In some implementation modes, if the passing rate of the last programming verification is less than a preset value, the current programming verification executes the page verification mode.

[0011] In some of the embodiments, the step of obtaining the pass rate of the last programming verification includes: obtaining the total number of storage cells processed by the last programming verification; determining the number of storage cells that passed the programming verification based on the result of the last programming verification; and determining the pass rate of the last programming verification based on the ratio of the number of storage cells to the total number of storage cells.

[0012] In some of the embodiments, the programming processing method further includes: determining whether the pass rate of the last programming verification is equal to 100%; if the pass rate of the last programming verification is not equal to 100%, configuring at least one intermediate programming between the last programming verification and the current programming verification.

[0013] In some of the embodiments, the programming processing method further includes: determining whether the intermediate programming is performed in a page programming mode or a byte programming mode according to a comparison result of a pass rate of the last programming verification with a preset value.

[0014] In some implementations, if the pass rate of the last programming verification is greater than or equal to a preset value, the intermediate programming executes the byte programming mode.

[0015] In some implementations, if the passing rate of the last programming verification is less than a preset value, the intermediate programming executes the page programming mode.

[0016] In some of the embodiments, the programming processing method further includes: determining whether the pass rate of this programming verification is equal to 100%; if the pass rate of this programming verification is not equal to 100%, looping programming and programming verification until the pass rate of programming verification reaches 100%.

[0017] In some of the embodiments, the programming processing method also includes: configuring a byte verification mode to include multiple read operation items and multiple correction operation items; executing multiple read operation items in a time-sharing manner based on a first timing; executing multiple correction operation items in a time-sharing manner based on a second timing, the second timing lags behind the first timing; and in response to the overlap of the first timing and the second timing on the time axis, synchronously executing the read operation items and the correction operation items.

[0018] In some of the embodiments, the programming processing method also includes: configuring each read operation item to include a read operation sub-item and a latch operation sub-item; executing the read operation sub-item and the latch operation sub-item in sequence according to a first timing sequence; configuring each correction operation item to include at least one comparison operation sub-item and at least one write operation sub-item; and executing the comparison operation sub-item and the write operation sub-item alternately in sequence according to a second timing sequence.

[0019] In some of the embodiments, the programming processing method also includes: configuring each read operation item to include a read operation sub-item and a latch operation sub-item; executing the read operation sub-item and the latch operation sub-item in sequence according to a first timing sequence; configuring each correction operation item to include at least one comparison operation sub-item and at least one write operation sub-item; executing the first comparison operation sub-item in sequence according to a second timing sequence, cyclically and synchronously executing the M+1th comparison operation sub-item and the Mth write operation sub-item, until finally executing the M+1th write operation sub-item alone, where M is a positive integer.

[0020] In some of the embodiments, the programming processing method also includes: executing a page verification mode; determining whether the execution result of the page verification mode passes; if passed, ending the programming verification of the current page; if not passed, executing a page programming mode; executing a byte verification mode until all bytes in the current page pass the programming verification, wherein, if one or more bytes fail the programming verification, executing a byte programming mode and a byte verification mode on one or more bytes until all bytes pass the programming verification.

[0021] In a second aspect, the present application provides a programming processing system, which executes the programming processing method in at least one of the above-mentioned embodiments during operation.

[0022] In a third aspect, the present application provides a memory, the memory comprising the programming processing system in at least one of the above-mentioned embodiments.

[0023] The programming processing method, programming processing system and memory provided by the present application, the page verification mode and the page programming mode can reduce the number of times the verification voltage and the programming voltage are established, thereby reducing the time used for programming verification and programming, and the byte verification mode and the byte programming mode can reduce the workload or number of programming verification and programming, and can also reduce the time used for programming verification and programming. Therefore, by executing any combination of the page verification mode, the page programming mode, the byte verification mode and the byte programming mode, the time required for programming verification and programming can be reduced, thereby improving the efficiency of programming processing in the memory. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The technical solution and other beneficial effects of the present application will be made apparent by describing in detail the specific implementation methods of the present application in conjunction with the accompanying drawings.

[0025] Figure 1 A flowchart of a programming processing method provided in an embodiment of the present application.

[0026] Figure 2 A schematic diagram for comparing the flow of the programming processing method provided in an embodiment of the present application.

[0027] Figure 3 for Figure 2 Specific flow chart of the byte mode shown.

[0028] Figure 4 for Figure 2 Schematic diagram of the specific process of the full-page mode shown.

[0029] Figure 5 A flowchart of a programming verification method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0030] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.

[0031] In view of the technical problem that the programming process mentioned above takes a long time, this embodiment provides a programming process method, please refer to Figures 1 to 5 ,like Figure 1 As shown, the programming processing method includes the following steps:

[0032] Step S10: Configure the programming verification mode, the programming verification mode includes the page verification mode and the byte verification mode, the page verification mode is to perform programming verification in units of pages, and the byte verification mode is to perform programming verification in units of bytes. It should be noted that the page verification mode can perform programming verification on a whole page of storage cells each time, and only needs to establish a verification voltage once, which reduces the number of times the verification voltage is established, so that the time spent on programming verification can be reduced, thereby reducing the time spent on programming processing, and also improving the efficiency of programming processing or programming verification, wherein, for example, the storage space of the storage cell in each page is 256 bytes (Byte). The byte verification mode can perform programming verification on one or more bytes of storage cells each time. For the case where only a small number of storage cells need to be programmed and verified in the whole page, compared with the page verification mode, the byte verification mode is more flexible, and since the number of storage cells for programming verification is less each time, the time required for each programming verification is also less, and when a verification error occurs, there is no need to re-verify the data of the whole page, therefore, in appropriate circumstances, such as according to the programming error rate, selecting and adopting different verification modes can reduce the time spent on programming verification, thereby improving the efficiency of programming verification.

[0033] Step S20: Configure the programming mode, the programming mode includes the page programming mode and the byte programming mode, the page programming mode is programmed in units of pages, and the byte programming mode is programmed in units of bytes. It should be noted that the page programming mode can program a whole page of storage cells each time, and only needs to establish the programming voltage once, which reduces the number of times the programming voltage is established, so it can reduce the time spent on programming, thereby reducing the time spent on programming processing, and also improves the efficiency of programming processing or programming, for example, the storage space of the storage cells in each page is 256 bytes (Byte). The byte programming mode can program one or more bytes of storage cells each time. For the case where only a small number of storage cells need to be programmed in the whole page, compared with the page programming mode, the byte programming mode is more flexible, and because the number of storage cells programmed each time is less, the time required for each programming is also less, therefore, selecting and adopting different programming modes under appropriate circumstances can reduce the time spent on programming, thereby improving the efficiency of programming.

[0034] Step S30: In response to the program verification instruction, executing a page verification mode or a byte verification mode.

[0035] Step S40: In response to the program instruction, executing the page program mode or the byte program mode.

[0036] It can be understood that in the programming processing method provided in this embodiment, the page verification mode and the page programming mode can reduce the number of times the verification voltage and the programming voltage are established, thereby reducing the time used for programming verification and programming; the byte verification mode and the byte programming mode can reduce the workload or number of programming verification and programming, and can also reduce the time used for programming verification and programming. Therefore, by executing any combination of the page verification mode, the page programming mode, the byte verification mode and the byte programming mode, the time required for programming verification and programming can be reduced, thereby improving the efficiency of programming processing in the memory.

[0037] In one of the embodiments, the programming processing method further includes: in response to a programming verification instruction, establishing a verification voltage to execute a page verification mode, wherein the verification voltage is established the same number of times as the page verification mode is executed; in response to a programming instruction, establishing a programming voltage to execute a page programming mode, wherein the programming voltage is established the same number of times as the page programming mode is executed.

[0038] It should be noted that the present embodiment performs programming processing in combination with the page verification mode and the page programming mode, which can reduce the number of times the verification voltage and the programming voltage are established, thereby reducing the time of the programming processing. In other embodiments, it is not limited to such a combination, and it can also be a combination of the page verification mode and the byte programming mode, or a combination of the byte verification mode and the page programming mode, or a combination of the byte verification mode and the byte programming mode. It can be understood that according to different actual programming situations, such as different error rates, the number of page bytes, environmental factors that affect the programming error rate, etc., these combinations can reduce the time of the programming processing.

[0039] In one embodiment, the programming processing method further includes: determining whether a programming verification result of the page verification mode passes; if not, cyclically executing the page verification mode and the page programming mode until the programming verification result passes.

[0040] It should be noted that this embodiment illustrates that the combination of the page verification mode and the page programming mode can be executed once or cyclically executed multiple times, which can also reduce the programming processing time.

[0041] In one embodiment, the programming processing method further includes: in response to a programming verification instruction, establishing a verification voltage to execute a byte verification mode, wherein the verification voltage is established the same number of times as the byte verification mode is executed; and in response to a programming instruction, establishing a programming voltage to execute a byte programming mode, wherein the programming voltage is established the same number of times as the byte programming mode is executed.

[0042] It should be noted that this embodiment can be executed alone or again after executing the combination of page verification mode and page programming mode. It can be understood that after executing the combination of page verification mode and page programming mode, the number of storage cells that have failed the programming verification will be relatively small with a high probability. Therefore, executing the combination of byte verification mode and byte programming mode at this time can save the workload or number of programming processing and reduce the time of programming processing.

[0043] Therefore, in order to save the design link of the programming error rate judgment circuit and the area occupied by it in the memory, as a preferred embodiment, a page check operation can be performed first, and if it passes, the check ends; if it fails, a page programming operation is performed; a byte check operation is performed, and for each byte check, if it passes, the next byte is checked until all bytes are checked, and if the byte check fails, the byte is programmed, and then the byte is checked until all bytes pass the check. The byte referred to here can be a single byte or multiple bytes, such as 16 bytes.

[0044] In one of the embodiments, the programming processing method further includes: obtaining the pass rate of the last programming verification. It should be noted that when the pass rate of the last programming verification is equal to 100%, it means that the last programming verification has passed or has been successful, and no subsequent operations are required; however, in actual situations, it may not be possible to pass the last programming verification in one go, that is, the pass rate of the last programming verification is less than 100%. In this case, it is necessary to perform re-programming and programming verification until the pass rate of the programming verification is 100%. Therefore, when the pass rate of the last programming verification is less than 100%, the time spent in the re-programming and programming verification process can be reduced by selecting an appropriate programming mode and verification mode. The specific process of obtaining the pass rate of the last programming verification will be described in detail in the subsequent description.

[0045] In one embodiment, the step of obtaining the pass rate of the last programming verification includes: obtaining the total number of storage cells processed by the last programming verification; determining the number of storage cells that passed the programming verification based on the result of the last programming verification; and determining the pass rate of the last programming verification based on the ratio of the number of storage cells to the total number of storage cells.

[0046] It should be noted that the result of each programming verification is stored in the page buffer (temporary register), so after each programming verification, it is possible to determine which memory cells have passed the programming verification and the number of memory cells that have passed the programming verification based on the result of each programming verification. It can be understood that this embodiment provides a method or implementation method for determining the pass rate of programming verification.

[0047] In one embodiment, the programming processing method further includes: determining whether the current programming verification is performed in a page verification mode or a byte verification mode according to a comparison result of the pass rate of the previous programming verification and a preset value. It should be noted that based on the two verification modes of the page verification mode and the byte verification mode and their above descriptions, it can be known that in different situations, whether it is the page verification mode or the byte verification mode, the time spent on programming verification can be correspondingly reduced, thereby improving the efficiency of programming verification.

[0048] It can be understood that the programming processing method provided in this embodiment can reduce the number of times the verification voltage is established through the page verification mode, thereby reducing the time used for programming verification, and can reduce the workload or number of programming verification through the byte verification mode, thereby reducing the time used for programming verification; on this basis, according to the pass rate of the last programming verification, a verification mode with less time can be selected and executed, which can further reduce the time used for programming verification, thereby improving the efficiency of programming processing in the memory. In some cases, the programming error rate will be relatively low, and page programming can be used to establish the programming voltage less times, and then byte verification can be used to correct only the programming error part without reprogramming the entire program, which can save the overall operation time.

[0049] It should be noted that the above steps S10 and S20 are not limited to Figure 1 The steps shown can be performed sequentially, or step S20 can be performed first and then step S10, both of which can be implemented and achieve the corresponding technical effects.

[0050] In one embodiment, if the pass rate of the last programming verification is greater than or equal to a preset value, the current programming verification executes the byte verification mode. It should be noted that when the pass rate of the last programming verification is greater than or equal to the preset value, it means that the number of storage cells that have not passed the programming verification is less than or equal to the number of storage cells that have passed the programming verification. In this case, the number of storage cells that need to be reprogrammed and verified is also small. Therefore, compared with the page verification mode, the byte verification mode takes less time to complete.

[0051] In one embodiment, if the pass rate of the last programming verification is less than a preset value, the current programming verification executes the page verification mode. It should be noted that when the pass rate of the last programming verification is less than the preset value, it means that the number of memory cells that have not passed the programming verification is greater than the number of memory cells that have passed the programming verification. In this case, the number of memory cells that need to be reprogrammed and verified is also greater. Therefore, compared with the byte verification mode, the page verification mode takes less time to complete.

[0052] It should be noted that the range of the preset value in each embodiment may be greater than 50% and less than or equal to 100%, specifically 60%, 70%, 80%, 90%, 95% or 100%, etc. The specific selection criteria of the preset value may be determined according to different storage products.

[0053] In one embodiment, the programming processing method further includes: determining whether the pass rate of the last programming verification is equal to 100%; if the pass rate of the last programming verification is not equal to 100%, configuring at least one intermediate programming between the last programming verification and the current programming verification.

[0054] It should be noted that the result of each programming verification is stored in the page buffer (temporary register). Therefore, after each programming verification, the result of each programming verification can be used to determine which storage units have passed the programming verification and the number of storage units that have passed the programming verification, so as to determine the specific value of the pass rate of each programming verification, and then to determine whether the pass rate of the last programming verification is equal to 100% by comparison. If the pass rate of the last programming verification is not equal to 100%, it means that the last programming verification failed, that is, the result of the last programming did not reach the ideal state, therefore, it is necessary to program again, that is, configure at least one intermediate programming, in order to achieve the ideal programming result.

[0055] In one embodiment, the programming processing method further includes: determining whether the intermediate programming is performed in a page programming mode or a byte programming mode according to a comparison result of a pass rate of the last programming verification and a preset value.

[0056] In one embodiment, if the pass rate of the last programming verification is greater than or equal to a preset value, the intermediate programming executes the byte programming mode. It should be noted that the intermediate programming is located between the last programming verification and the current programming verification in time. When the pass rate of the last programming verification is greater than or equal to the preset value, it means that the number of storage cells that have not passed the programming verification is less than or equal to the number of storage cells that have passed the programming verification. In this case, the number of storage cells that need to be reprogrammed is also small. Therefore, compared with the page programming mode, the byte programming mode takes less time to complete.

[0057] In one embodiment, if the pass rate of the last programming verification is less than a preset value, the intermediate programming executes the page programming mode. It should be noted that when the pass rate of the last programming verification is less than the preset value, it means that the number of memory cells that have not passed the programming verification is greater than the number of memory cells that have passed the programming verification. In this case, the number of memory cells that need to be reprogrammed is also greater. Therefore, compared with the byte programming mode, the page programming mode takes less time to complete.

[0058] In one embodiment, the programming processing method further includes: determining whether the pass rate of the current programming verification is equal to 100%; if the pass rate of the current programming verification is not equal to 100%, looping programming and programming verification until the pass rate of the programming verification reaches 100%.

[0059] It should be noted that when the pass rate of this programming verification is not equal to 100%, it means that an error occurred in the programming of at least one storage unit in the programming before this programming verification. Therefore, this embodiment will cyclically execute programming and programming verification until the pass rate of programming verification reaches 100%. In this way, programming errors of storage units can be avoided to ensure that the programming is completely correct.

[0060] Figure 2 A flow chart for comparing the programming processing method provided in the embodiment of the present application, wherein the left flow P10 indicates that the byte programming verification has not passed, that is, there are still memory cells with programming errors in the previous full-page programming, therefore, it is necessary to subsequently establish a byte programming voltage for byte programming, then release the byte programming voltage and establish a byte verification voltage, and then perform the byte programming verification, and so on until the byte programming verification is passed. The right flow P20 indicates that the byte programming verification has passed, that is, there are no memory cells with programming errors in the previous full-page programming, therefore, there is no need for the subsequent steps shown in the left flow P10: establish a byte programming voltage for byte programming, then release the byte programming voltage and establish a byte verification voltage, and then perform the byte programming verification, and so on until the byte programming verification is passed.

[0061] in, Figure 2 The full page mode shown may include a page verify mode and a page program mode, and the byte mode may include a byte verify mode and a byte program mode.

[0062] Based on this, this embodiment provides another programming processing method that can save programming processing time. The programming processing method includes the following steps:

[0063] Step a: Perform full page programming verification, i.e., perform programming verification in page verification mode. It should be noted that the page verification mode can perform programming verification on a full page of memory cells each time, and only needs to establish a verification voltage once, which reduces the number of times the verification voltage is established, thereby reducing the time spent on programming verification, thereby reducing the time spent on programming processing, and improving the efficiency of programming processing or programming verification.

[0064] Step b: When at least one memory cell is found to have a programming error according to the result of the full page programming verification in step a, a programming voltage is established. It is understandable that if no memory cell is found to have a programming error according to the result of the full page programming verification in step a, it means that the full page programming verification in step a has passed, and there is no need to establish a programming voltage or perform subsequent operations.

[0065] Step c: Perform full page programming, i.e., perform programming in page programming mode. It should be noted that the page programming mode can program a full page of memory cells at a time, and only needs to establish a programming voltage once, which reduces the number of times the programming voltage is established, thereby reducing the time spent on programming, thereby reducing the time spent on programming processing, and improving the efficiency of programming processing or programming.

[0066] Step d: Release the programming voltage and establish the verification voltage. It should be noted that after step d, you can choose to jump to step a and loop through steps a to d until the full page programming verification in step a passes, without having to execute subsequent steps e to h.

[0067] After the above step d, the process may also choose to jump to the following step e, for example, when the whole page programming verification fails in step a.

[0068] Step e: Perform byte programming verification, i.e., perform programming verification in byte verification mode. The byte verification mode can perform programming verification on one or more bytes of storage cells each time. For example, 16 bytes of storage cells can be programmed and verified each time. The programming verification of a page can be completed by 16 cycles. For the situation where only a small number of storage cells need to be programmed and verified in the entire page, the byte verification mode is more flexible than the page verification mode. Since the number of storage cells that are programmed and verified each time is smaller, the time required for each programming verification is also less. Among them, the byte programming verification can be performed on the storage cells that have not passed the programming verification in step a, so that the number of storage cells that need to be programmed and verified can be reduced, and the time used for byte programming verification can be reduced.

[0069] If each byte programming verification passes, then Figure 2 The right process P20 shown in FIG. ends. If at least one of the byte programming verifications fails, continue to execute Figure 2 The following subsequent steps of the left process P10 are shown:

[0070] Step f: Establishing a programming voltage to provide a programming voltage for byte programming in subsequent steps.

[0071] Step g: Perform byte programming, i.e., perform programming in byte programming mode. It should be noted that the byte programming mode can program one or more bytes of storage cells at a time. For example, 4 bytes of storage cells can be programmed at a time. After 4 cycles, the storage cells that have been verified by byte programming can be programmed. For the situation where only a small number of storage cells need to be programmed in the entire page, the byte programming mode is more flexible than the page programming mode. Since the number of storage cells programmed each time is smaller, the time required for each programming is also less. Among them, byte programming can be performed on the storage cells that have not passed the programming verification in the byte verification of step e, so that the number of storage cells that need to be programmed can be reduced and the time used for byte programming can be reduced.

[0072] Step h: Release the programming voltage and establish the verification voltage. After step h, the program may be jumped to step e until all the memory cells in a page pass the programming verification.

[0073] In one embodiment, see Figure 3 , Figure 3 for Figure 2 The specific flow chart of the byte mode shown in FIG. 1 includes the following steps:

[0074] To execute byte check mode:

[0075] Determine whether it has been programmed, if it has been programmed; read the corresponding storage unit for the Nth time to obtain the Nth read data, and then latch the Nth read data.

[0076] Determine again whether it has been programmed, if it has been programmed; read the corresponding storage unit for the N+1th time to obtain the N+1th read data, and then latch the N+1th read data. At the same time, perform subsequent operations in sequence: compare the first batch of the Nth read data, and write the comparison result of the first batch of the Nth read data; compare the second batch of the Nth read data, and write the comparison result of the second batch of the Nth read data... compare the Mth batch of the Nth read data, and write the comparison result of the Mth batch of the Nth read data.

[0077] It should be noted that the N+1th reading and latching of the N+1th read data and the comparison of the first batch to the Mth batch in the Nth read data and the writing of the comparison results from the first batch to the Mth batch in the Nth read data are performed simultaneously, which can save the time required for programming verification and further improve the efficiency of programming verification.

[0078] If a batch of latched Nth read data is inconsistent with the corresponding data to be programmed, the comparison result of the batch is 0; if a batch of latched Nth read data is consistent with the corresponding data to be programmed, the comparison result of the batch is 1.

[0079] For example, if a certain data in the above-mentioned batch is 1, and the data to be programmed corresponding to the certain data in the batch is 0, then the comparison result of the certain data in the batch is 0; if a certain data in the above-mentioned batch is 1, and the data to be programmed corresponding to the certain data in the batch is 1, then the comparison result of the certain data in the batch is 1.

[0080] Among them, a certain batch of latched Nth read data is stored in the corresponding storage unit, which belongs to non-volatile storage. The data to be programmed is stored in the page buffer (or temporary register), which belongs to volatile storage.

[0081] If at least one memory cell fails the programming verification in the above comparison results, the byte programming mode is executed:

[0082] Then, whether programming is required is determined based on the above comparison results, and the determination criteria are: if the comparison result is 0, the corresponding storage unit needs to be programmed; if the comparison result is 1, the corresponding storage unit does not need to be programmed.

[0083] If programming is required, read the corresponding first batch (data) in the page buffer, and then program the first batch; read the corresponding second batch (data) in the page buffer, and then program the second batch; ... read the corresponding Xth batch (data) in the page buffer, and then program the Xth batch.

[0084] If programming is not required, the corresponding first batch (data) in the page buffer is read, and then the first batch is not programmed; the corresponding second batch (data) in the page buffer is read, and then the second batch is not programmed; ... the corresponding Xth batch (data) in the page buffer is read, and then the Xth batch is not programmed.

[0085] Then, the byte verification mode and the byte programming mode are executed cyclically until the programming verification of all the storage cells in the current page passes.

[0086] In one embodiment, see Figure 4 , Figure 4 for Figure 2 The specific process diagram of the full-page mode is shown, and the full-page mode includes the following steps:

[0087] First, perform the whole page programming verification, i.e., the page verification mode: perform the first reading of data and latch the first reading of data; perform the second reading of data and latch the second reading of data, while verifying the first reading of data, i.e., comparing the first batch of the first reading of data, writing the comparison result of the first batch of the first reading of data to the page buffer, comparing the second batch of the first reading of data, writing the comparison result of the second batch of the first reading of data to the page buffer... comparing the Mth batch of the first reading of data, writing the comparison result of the Mth batch of the first reading of data to the page buffer; perform the third reading of data and latch the third reading of data, while verifying the second reading of data, i.e., comparing the first batch of the second reading of data, writing the comparison result of the first batch of the second reading of data to the page buffer, comparing the second batch of the second reading of data, writing the comparison result of the second batch of the second reading of data to the page buffer... comparing the Mth batch of the second reading of data, writing the comparison result of the Mth batch of the second reading of data the comparison result is written into the page buffer; while reading the data for the Nth time and latching the data for the Nth time, checking the data for the N-1th time, i.e., comparing the first batch in the data for the N-1th time, writing the comparison result of the first batch in the data for the N-1th time into the page buffer, comparing the second batch in the data for the N-1th time, writing the comparison result of the second batch in the data for the N-1th time into the page buffer... comparing the Mth batch in the data for the N-1th time, writing the comparison result of the Mth batch in the data for the N-1th time into the page buffer; while reading the data for the N+1th time and latching the data for the N+1th time, checking the data for the Nth time, i.e., comparing the first batch in the data for the Nth time, writing the comparison result of the first batch in the data for the Nth time into the page buffer, comparing the second batch in the data for the Nth time, writing the comparison result of the second batch in the data for the Nth time into the page buffer... comparing the Mth batch in the data for the Nth time, writing the comparison result of the Mth batch in the data for the Nth time into the page buffer.

[0088] Then the whole page is programmed, i.e., the page programming mode is performed: determine whether programming is required; if programming is required, read the corresponding first batch (data) in the page buffer, and then program the first batch; read the corresponding second batch (data) in the page buffer, and then program the second batch...read the corresponding Xth batch (data) in the page buffer, and then program the Xth batch, until the programming of all storage cells in the current page is completed. If programming is not required, read the corresponding first batch (data) in the page buffer, and then do not program the first batch; read the corresponding second batch (data) in the page buffer, and then do not program the second batch...read the corresponding Xth batch (data) in the page buffer, and then do not program the Xth batch.

[0089] In one embodiment, if Figure 3 , Figure 5As shown, the programming processing method also includes: configuring the byte verification mode to include multiple read operation items and multiple correction operation items; executing multiple read operation items in time-sharing based on a first timing; executing multiple correction operation items in time-sharing based on a second timing, the second timing lags behind the first timing, and the correction operation items are different from the read operation items; and in response to the overlap of the first timing and the second timing on the time axis, synchronously executing the read operation items and the correction operation items.

[0090] It should be noted that this can further save the execution time of the programming process, thereby further improving the programming process efficiency of the memory.

[0091] In one embodiment, if Figure 3 As shown, the programming processing method also includes: configuring each read operation item to include a read operation sub-item and a latch operation sub-item; executing the read operation sub-item and the latch operation sub-item in sequence according to a first timing sequence; configuring each correction operation item to include at least one comparison operation sub-item and at least one write operation sub-item; and executing the comparison operation sub-item and the write operation sub-item alternately in sequence according to a second timing sequence.

[0092] In one embodiment, if Figure 5 As shown, the programming processing method also includes: configuring each read operation item to include a read operation sub-item and a latch operation sub-item; executing the read operation sub-item and the latch operation sub-item in sequence according to a first timing sequence; configuring each correction operation item to include at least one comparison operation sub-item and at least one write operation sub-item; executing the first comparison operation sub-item in sequence according to a second timing sequence, cyclically and synchronously executing the M+1th comparison operation sub-item and the Mth write operation sub-item, until finally executing the M+1th write operation sub-item alone, where M is a positive integer.

[0093] Among them, the Mth write operation sub-item is configured to store the comparison result of the Mth comparison operation sub-item; the M+1th write operation sub-item is configured to store the comparison result of the M+1th comparison operation sub-item; the first comparison operation sub-item is executed according to the second timing; the M+1th comparison operation sub-item and the Mth write operation sub-item are synchronously and cyclically executed according to the second timing; and the last write operation sub-item is executed according to the second timing.

[0094] It should be noted that in this embodiment, the M+1th comparison operation sub-item and the Mth write operation sub-item are synchronously executed cyclically, for example, while comparing the second batch in the first read data, the comparison result of the first batch in the first read data is written to the register; and / or, while comparing the second batch in the second read data, the comparison result of the first batch in the second read data is written to the register; and / or, while comparing the second batch in the Nth read data, the comparison result of the first batch in the Nth read data is written to the register, and so on. It can be understood that this can further save the execution time of the correction operation item, and thus can further improve the verification efficiency of the memory.

[0095] In one embodiment, this embodiment provides a programming processing system, and the programming processing system executes the programming processing method in at least one of the above embodiments during operation.

[0096] It can be understood that the programming processing system provided in this embodiment can reduce the number of times the verification voltage is established through the page verification mode, thereby reducing the time used for programming verification, and can reduce the workload or number of programming verifications through the byte verification mode, thereby reducing the time used for programming verification; on this basis, according to the pass rate of the last programming verification, a verification mode that takes less time can be selected and executed, which can further reduce the time used for programming verification, thereby improving the efficiency of programming processing in the memory.

[0097] In one embodiment, this embodiment provides a memory, and the memory includes the programming processing system in at least one of the above embodiments.

[0098] It can be understood that the memory provided in this embodiment can reduce the number of times the verification voltage is established through the page verification mode, thereby reducing the time taken for programming verification, and can reduce the workload or number of programming verifications through the byte verification mode, thereby also reducing the time taken for programming verification; on this basis, according to the pass rate of the last programming verification, a verification mode that takes less time can be selected and executed, which can further reduce the time taken for programming verification, thereby improving the efficiency of programming processing in the memory.

[0099] It should be noted that the memory of this embodiment may be a memory chip, such as Nor Flash, and may also be other types of memory chips to which the erasure programming verification technology provided by this application is applicable.

[0100] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0101] The programming processing method, programming processing system and memory provided in the embodiments of the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the technical solutions and core ideas of the present application. Ordinary technicians in this field should understand that they can still modify the technical solutions recorded in the aforementioned embodiments, or replace some of the technical features therein with equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A programming processing method, It is characterized in that include: Configure a programming verification mode, wherein the programming verification mode includes a page verification mode and a byte verification mode. The page verification mode performs programming verification in units of pages, and the byte verification mode performs programming verification in units of bytes; Configure a programming mode, wherein the programming mode includes a page programming mode and a byte programming mode, wherein the page programming mode performs programming in units of pages, and the byte programming mode performs programming in units of bytes; In response to a program verification instruction, executing the page verification mode or the byte verification mode; In response to a program instruction, executing the page programming mode or the byte programming mode; Among them, the pass rate of the last programming verification is obtained; According to the comparison result of the pass rate of the last programming verification and the preset value, determining whether the current programming verification is performed in the page verification mode or the byte verification mode; If the pass rate of the previous programming verification is greater than or equal to the preset value, the current programming verification executes the byte verification mode.

2. The programming processing method according to claim 1, It is characterized in that The programming processing method also includes: In response to the program verification instruction, establishing a verification voltage to execute the page verification mode, wherein the verification voltage is established the same number of times as the page verification mode is executed; In response to the program command, a program voltage is established to execute the page program mode, wherein the program voltage is established the same number of times as the page program mode is executed.

3. The programming processing method according to claim 2, It is characterized in that The programming processing method also includes: Determining whether the programming verification result of the page verification mode passes; If not, the page verification mode and the page programming mode are executed cyclically until the programming verification result passes.

4. The programming processing method according to claim 1 or 2, It is characterized in that The programming processing method also includes: In response to the program verification instruction, establishing a verification voltage to execute the byte verification mode, wherein the verification voltage is established the same number of times as the byte verification mode is executed; In response to the program instruction, a program voltage is established to execute the byte program mode, wherein the program voltage is established for the same number of times as the byte program mode is executed.

5. The programming processing method according to claim 1, It is characterized in that If the passing rate of the last programming verification is less than the preset value, the current programming verification executes the page verification mode.

6. The programming processing method according to claim 1, It is characterized in that The step of obtaining the pass rate of the last programming verification includes: Obtaining the total number of storage cells processed by the last programming verification; Determine the number of storage cells that pass the programming verification according to the result of the last programming verification; The pass rate of the last programming verification is determined according to the ratio of the number of the memory cells to the total number of the memory cells.

7. The programming processing method according to claim 1, It is characterized in that The programming processing method also includes: Determine whether the pass rate of the last programming verification is equal to 100%; If the passing rate of the last programming verification is not equal to 100%, at least one intermediate programming is arranged between the last programming verification and the current programming verification.

8. The programming processing method according to claim 7, It is characterized in that The programming processing method also includes: According to a comparison result of the pass rate of the last programming verification and the preset value, it is determined that the intermediate programming is performed in accordance with the page programming mode or the byte programming mode.

9. The programming processing method according to claim 8, It is characterized in that If the pass rate of the last programming verification is greater than or equal to the preset value, the intermediate programming executes the byte programming mode.

10. The programming processing method according to claim 8, It is characterized in that If the passing rate of the last programming verification is less than the preset value, the intermediate programming executes the page programming mode.

11. The programming processing method according to claim 1, It is characterized in that The programming processing method also includes: Determine whether the pass rate of the current programming verification is equal to 100%; If the pass rate of the current programming verification is not equal to 100%, programming and programming verification are executed cyclically until the pass rate of the programming verification reaches 100%.

12. The programming processing method according to claim 1, It is characterized in that The programming processing method also includes: Configuring the byte check mode includes a plurality of read operation items and a plurality of correction operation items; Execute a plurality of the read operation items in a time-sharing manner based on a first timing sequence; Execute the plurality of correction operation items in a time-sharing manner based on a second timing sequence, wherein the second timing sequence lags behind the first timing sequence; and In response to the overlap of the first timing and the second timing on the time axis, the reading operation item and the correction operation item are synchronously executed.

13. The programming processing method according to claim 12, It is characterized in that The programming processing method also includes: Configuring each of the read operation items to include a read operation sub-item and a latch operation sub-item; According to the first timing sequence, the read operation sub-item and the latch operation sub-item are sequentially executed; Configuring each of the correction operation items to include at least one comparison operation sub-item and at least one write operation sub-item; The comparison operation sub-item and the write operation sub-item are executed alternately in sequence according to the second timing.

14. The programming processing method according to claim 12, It is characterized in that The programming processing method also includes: Configuring each of the read operation items to include a read operation sub-item and a latch operation sub-item; According to the first timing sequence, the read operation sub-item and the latch operation sub-item are sequentially executed; Configuring each of the correction operation items to include at least one comparison operation sub-item and at least one write operation sub-item; According to the second timing, the first comparison operation sub-item is executed in sequence, and the M+1th comparison operation sub-item and the Mth write operation sub-item are executed synchronously in a loop, until the M+1th write operation sub-item is executed alone at last, where M is a positive integer.

15. The programming processing method according to claim 1, It is characterized in that The programming processing method also includes: Executing the page verification mode; Determine whether the execution result of the page verification mode is passed; If it passes, the programming verification of the current page ends; If not passed, executing the page programming mode; The byte verification mode is executed until all bytes in the current page pass the programming verification, wherein, if one or more bytes fail the programming verification, the byte programming mode and the byte verification mode are executed on the one or more bytes until all bytes pass the programming verification.

16. A programming processing system, It is characterized in that The programming processing system executes the programming processing method according to any one of claims 1 to 15 during operation.

17. A memory, It is characterized in that The memory includes a programmed processing system as claimed in claim 16.