Semiconductor Devices

By adopting a high-speed write mode in flash memory, using a small current to perform preliminary writing of large numbers of memory cells, and using a larger current to complete the writing of the remaining cells, the problems of long write time and increased noise are solved, and the problem of long write time and increased noise is achieved Higher write speed and reduced costs.

CN111105831BActive Publication Date: 2024-11-26RENESAS ELECTRONICS CORP
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
CN201910823753.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-10-29
Filing Date
2019-09-02
Publication Date
2024-11-26
Estimated Expiration
2039-09-02

AI Technical Summary

Technical Problem

The longer writing time of existing flash memory leads to increased test time and cost, and as the number of selected cells increases, current demand increases, and noise increases.

Method used

In a high-speed write mode, by using a second write current smaller than the normal write current in the memory controller, the first write operation is performed on more memory cells, and when the first write operation is completed, the failure is not completed. The written unit performs a second write operation using a larger current to increase throughput and suppress noise.

Benefits of technology

While suppressing the increase in noise, it improves the write speed of flash memory, shortens test time and reduces test costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111105831B_ABST
    Figure CN111105831B_ABST
Patent Text Reader

Abstract

The present application relates to semiconductor devices. One object of the present invention is to increase the write speed of a flash memory while suppressing an increase in noise. In a high-speed write mode, a memory controller simultaneously performs a first write operation with respect to a second number of memory cells using a second write current, the second write current having a current value smaller than the first write current, and the second number of memory cells having a larger number than the first write current. When the first write operation is completed, the memory controller simultaneously performs a second write operation with respect to memory cells determined by a sense amplifier as not completing the write operation in a determination process, using a third write current, the third write current having a current value larger than the second write current.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] The disclosure of Japanese Patent Application No. 2018-202741 filed on October 29, 2018 including specification, drawings and abstract is incorporated herein by reference in its entirety. Technical Field

[0003] The present invention relates to semiconductor devices. Background Art

[0004] For example, nonvolatile memories such as CPU (Central Processing Unit) and flash memory are installed on semiconductor devices for automobiles. In recent years, various functions such as OTA (Over the Air) have been installed on automotive semiconductors, and higher functions have been developed. At the same time, the amount of code and data has increased, and thus the capacity of flash memory has increased.

[0005] However, as the capacity of flash memory increases, the test time increases, and the test cost increases. Therefore, for example, Japanese JP10-106276 publication (reference 1) discloses a semiconductor integrated circuit for accelerating a write operation to a nonvolatile memory cell, etc.

[0006] Specifically, the flash memory of reference 1 applies a pulse voltage to a nonvolatile memory cell until the threshold voltage of the nonvolatile memory cell having a first threshold voltage becomes a second threshold voltage. As a write mode, the flash memory has: a first write mode (rough write) in which the amount of change in the threshold voltage of the nonvolatile memory cell (change each time a pulse voltage is applied) is relatively increased; and a second write mode (high-precision write) in which the amount of change in the threshold voltage is relatively reduced. In the rough write mode, the number of pulses required to change the threshold voltage of the memory cell is small. Therefore, the number of verification operations when the rough write mode is used is small, thereby speeding up the write operation as a whole. Summary of the invention

[0007] However, in the method of reference 1, the write time of the flash memory is not sufficiently shortened, and it is necessary to further shorten the write time. For example, in the configuration of patent document 1, if the number of selected cells when data is rewritten is increased, the throughput is improved and the write time is shortened. However, as the number of selected cells increases, the load on the charge pump increases because more current is required. In addition, the influence of noise caused by the increase in the amount of current also increases.

[0008] Other objects and novel features will become apparent from the description of this specification and the accompanying drawings.

[0009] Although a semiconductor device of multiple embodiments is described in this specification, a semiconductor device of one embodiment will be described below. The semiconductor device includes a plurality of memory cells, a memory controller for controlling the plurality of memory cells, and a sense amplifier for performing a determination process of whether a write operation to the memory cells has been completed. In a high-speed write mode, the memory controller performs a first write operation on a second number of memory cells having a number greater than the first number using a second write current having a current value less than the first write current, which is different from a normal write mode in which a write operation is performed simultaneously on a first number of memory cells using a first write current. When the first write operation is completed, the memory controller simultaneously performs a second write operation on the memory cells determined by the sense amplifier as not completing the write operation during the determination process using a third write current having a current value greater than the second write current.

[0010] According to one embodiment, the writing speed to a flash memory can be increased while suppressing an increase in noise. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 is a block diagram showing a configuration example of a semiconductor device according to Embodiment 1 of the present invention.

[0012] Figure 2 is a block diagram showing a configuration example of a nonvolatile memory according to Embodiment 1 of the present invention.

[0013] Figure 3 is a cross-sectional view showing a configuration example of a memory cell according to Embodiment 1 of the present invention.

[0014] Figure 4 is a diagram illustrating voltage values ​​applied to electrodes of a memory cell in a write operation, an erase operation, and a read operation on the memory cell.

[0015] Figure 5 is a flowchart illustrating an example of a normal writing mode.

[0016] Figure 6 is a flowchart illustrating an example of the high-speed writing mode.

[0017] Figure 7 This is a graph comparing the write current in the normal write mode and the write current in the high-speed write mode.

[0018] Figure 8 It is a diagram showing the effect of Example 1 of the present invention.

[0019] Fig. 9 is a flowchart illustrating an example of a low noise writing mode.

[0020] Fig.10 is a diagram showing a specific example of the low-noise writing mode.

[0021] Fig.11 is a flowchart illustrating an example of the low voltage write mode.

[0022] Fig.12 is a graph showing the relationship between the write current and the threshold voltage in the low voltage write mode.

[0023] Fig.13 is a diagram showing a list of verification results in the low-voltage write mode.

[0024] Fig.14 This is a diagram for explaining a method of obtaining an optimum write current. DETAILED DESCRIPTION

[0025] In all the drawings for explaining the embodiments, the same parts are denoted by the same reference numerals in principle, and repeated descriptions thereof are omitted.

[0026] Example 1

[0027] In one embodiment, a semiconductor device that accelerates a write operation to a nonvolatile memory will be described.

[0028] Configuration of semiconductor devices

[0029] Figure 1 1 is a block diagram showing a configuration example of a semiconductor device according to Embodiment 1 of the present invention. Figure 1 As shown, the semiconductor device 1 includes a CPU 10, a RAM (Random Access Memory) 20, a memory controller 30, a flash memory (non-volatile memory) 40, and a peripheral bus 50. The semiconductor device 1 is, for example, an in-vehicle semiconductor device mounted on a car or the like. Figure 1 As shown, the CPU 10 and the memory controller 30 are connected to a peripheral bus 50 , and various data are input and output via the peripheral bus 50 .

[0030] The CPU 10 is a functional block for performing arithmetic processing related to the control of the constituent elements of the semiconductor device 1, arithmetic processing related to OTA, and the like. In addition, the CPU 10 cooperates with various devices connected to the semiconductor device 1 to perform arithmetic processing related to vehicle control. The CPU 10 reads a program stored in the flash memory 40 and expands the read program in the RAM 20. The CPU 10 implements a functional block for implementing a corresponding function by executing the program expanded in the RAM 20. A cache 11 is provided inside the CPU 10, and information frequently used in arithmetic processing is stored in the cache 11. In addition, the CPU 10 can directly execute a program read from the flash memory 40 (including the information stored in the cache 11) without expanding the program into the RAM 20.

[0031] As described above, the RAM 20 expands the program read from the flash memory 40. In addition, the RAM 20 can temporarily store information generated by arithmetic processing performed by the CPU 10 and the like.

[0032] The memory controller 30 is a functional block for controlling the flash memory 40. The memory controller 30 performs processing related to a write operation, a read operation, an erase operation, etc. with respect to the flash memory 40. More specifically, the memory controller 30 controls a write operation, an erase operation, and a read operation at the time of normal use or at the time of product testing before shipment. The memory controller 30 may independently control the flash memory 40, or may control the flash memory 40 based on a signal output from the CPU 10. The operation of the memory controller 30 will be described in detail later.

[0033] The flash memory 40 is a functional block for storing various information related to the semiconductor device 1. Although the flash memory 40 is illustrated as Figure 1 and Figure 2 The non-volatile memory in the embodiment of the present invention is disclosed, but other non-volatile memories may be used. Figure 2 is a block diagram showing a configuration example of a nonvolatile memory according to Embodiment 1 of the present invention. Figure 2 A memory controller 30 is also shown in addition to a flash memory 40 . Figure 3 1 is a cross-sectional view showing a configuration example of a memory cell according to Embodiment 1 of the present invention. Figure 2 As shown, the flash memory 40 includes a memory array 41 , a source driver 42 , a memory gate driver 43 , a charge pump 44 , a write current setting circuit 45 , a sense amplifier 47 , and a switch circuit 48 .

[0034] Despite Figure 1 and Figure 23 and 4. The memory controller 30 and the flash memory 40 are shown separately in FIG. 4, but the flash memory 40 and the memory controller 30 may be formed integrally.

[0035] The memory array 41 includes a plurality of memory cells MC. Figure 2 Only one memory cell MC is shown in the figure, but in fact, multiple memory cells MC are arranged in an array. Figure 2 As shown in FIG. 4 , a plurality of memory cells MC are arranged in a grid pattern along a bit line BL extending in the Y direction and along a source line SL extending in the X direction. More specifically, a plurality of bit lines BL extending in the Y direction are provided in the flash memory 40, and the plurality of bit lines BL are arranged in the X direction. A plurality of source lines SL extending in the X direction are provided in the flash memory 40, and the plurality of source lines SL are arranged in the Y direction. A plurality of memory cells MC are arranged corresponding to respective intersections of the plurality of bit lines BL and the plurality of source lines SL.

[0036] like Figures 2 to 3 As shown, the memory cell MC includes a selection transistor ST and a memory transistor MT. One electrode of the selection transistor ST is connected to the bit line BL. One electrode of the memory transistor MT is connected to the source driver 42 via the source line SL. The other electrode of the selection transistor ST is connected to the other electrode of the memory transistor MT. As described above, in the memory cell MC, the selection transistor ST and the memory transistor MT are connected in series between the source line SL and the bit line BL. The selection transistor ST includes a control gate CG, and the memory transistor MT includes a charge storage layer CL and a memory gate MG. The memory gate MG is connected to the memory gate driver 43. As shown in FIG. Figure 3 As shown, in the memory cell MC, the source line SL side is the source S, and the bit line BL side is the drain D.

[0037] The writing system of the flash memory illustrated here is a hot electron injection method in which a writing current flows between the drain and the source, and the charge is captured in the charge storage layer CL. More specifically, a high voltage is applied to the memory gate MG and the source line SL, and a current flows between the drain and the source in a state where the charge is easily captured. Then, the charge storage layer CL captures the charge, thereby writing data to the memory cell MC. The charge storage layer CL may be a floating gate system or a charge trap type.

[0038] Figure 4 is a diagram illustrating voltage values ​​applied to electrodes of a memory cell in a write operation, an erase operation, and a read operation with respect to the memory cell. Figure 4In the figure, Vd is the voltage applied to the drain D of the memory cell MC. That is, Vd is the voltage of the bit line BL. Vcg is the voltage applied to the control gate CG of the memory cell MC. Vmg is the voltage applied to the memory gate MG of the memory cell MC. Vs is the voltage applied to the source S of the memory cell MC. That is, Vs is the voltage of the source line SL.

[0039] like Figure 4 As shown, in the write operation, the voltages applied to the electrodes of the memory cell MC are set to Vd=0.5[V], Vcg=1[V], Vmg=10[V], and Vs=5[V], respectively. In the erase operation, the voltages applied to the electrodes of the memory cell MC are set to Vd=0V, Vcg=0V, Vmg=-10V, and Vs=5V, respectively. In the read operation, the voltages applied to the electrodes of the memory cell MC are set to Vd=1[V], Vcg=1[V], Vmg=0[V], and Vs=0[V], respectively. Note that these voltages are only examples and can be appropriately changed according to the characteristics of the memory cell MC.

[0040] The source driver 42 is a functional block for setting the potential of each source line SL. The source driver 42 is connected to the memory controller 30, the charge pump 44, and the plurality of source lines SL. The source driver 42 controls the voltage of each source line SL based on, for example, a signal output from the memory controller 30. The source driver 42 supplies, for example, a voltage generated by the charge pump 44 to the source line SL. At this time, the source driver 42 may supply the voltage generated by the charge pump 44 to the source line SL as it is, or may supply it to the source line SL after converting it to a predetermined voltage.

[0041] The memory gate driver 43 is a functional block for controlling the voltage of the memory gate MG of each memory transistor MT. The memory gate driver 43 is connected to the memory controller 30, the charge pump 44, and the plurality of memory gates MG. The memory gate driver 43 controls the voltage of each memory gate MG based on, for example, a signal output from the memory controller 30. The memory gate driver 43 supplies, for example, a voltage generated by the charge pump 44 to the memory gate MG. At this time, the memory gate driver 43 may supply the voltage generated by the charge pump 44 to the memory gate MG as it is, or may supply it to the memory gate MG after converting the voltage to a predetermined voltage. The memory gate driver 43 may control the control gate CG.

[0042] The charge pump 44 is a functional block for generating power to be supplied to the memory cell MC, etc. The charge pump 44 is connected to the memory controller 30, the source driver 42, and the memory gate driver 43. For example, the charge pump 44 generates voltages corresponding to a write operation, an erase operation, and a read operation based on a signal output from the memory controller 30.

[0043] refer to Figure 4 , in a write operation, the charge pump 44 generates a voltage of 10 V and supplies the voltage to the memory gate driver 43. The charge pump 44 generates a voltage of 5 [V] and supplies it to the source driver 42. In this case, in the process of generating the voltage supplied to the memory gate driver 43, the voltage supplied to the source driver 42 may be shunted.

[0044] In the erase operation, the charge pump 44 generates a voltage of -10V and supplies the voltage to the memory gate driver 43. The charge pump 44 generates a voltage of 5[V] and supplies it to the source driver 42. During the read operation, the charge pump 44 generates a voltage of 5V and supplies it to the source driver 42 and the memory gate driver 43.

[0045] The write current setting circuit 45 is a functional block for setting the current value of the write current in the write operation to the memory cell MC. For example, the write current setting circuit 45 is provided for each bit line BL. The write current setting circuit 45 sets the current value of the write current based on the signal output from the memory controller 30. The setting of the write current will be described in detail later.

[0046] The sense amplifier 47 is a functional block for performing a determination process as to whether a write operation to the memory cell MC has been completed. For example, a sense amplifier 47 is provided for each bit line BL. Each sense amplifier 47 is connected to the corresponding bit line BL and the bit latch 48c of the corresponding switch circuit 48. For example, after the write operation, a read operation is performed, and the sense amplifier 47 compares the current flowing to the bit line BL by the read operation with the current of the reference signal REF provided from the memory controller 30. This process is also called verification. Then, for example, when the current flowing through the bit line BL is greater than the current of the reference signal REF, the sense amplifier 47 determines that the predetermined data has been written to the memory cell MC, and outputs a write completion signal COMP to the bit latch 48c.

[0047] The switch circuit 48 is a functional block for switching whether to allow a write operation to the memory cell MC. The switch circuit 48 is set for each bit line BL. The switch circuit 48 includes a first switch 48a, a second switch 48b and a bit latch 48c. The first switch 48a is formed by, for example, NMOS (negative metal oxide semiconductor). One electrode of the first switch 48a is connected to the write current setting circuit 45. The other electrode of the first switch 48a is connected to an electrode of the second switch 48b. The gate electrode of the first switch 48a is connected to, for example, the memory controller 30. When a high-level write signal PRGM is provided from the memory controller 30 to the gate electrode of the first switch, the first switch 48a is turned on. As a result, a write operation to the memory cell MC becomes possible.

[0048] The second switch 48b is an element for switching whether to allow a write operation to the memory cell MC based on the determination result of the sense amplifier 47. The second switch 48b is formed by, for example, an NMOS. The other electrode of the second switch 48b is grounded. The gate of the second switch 48b is connected to the bit latch 48c. The second switch 48b is turned on and off based on a signal output from the bit latch 48c.

[0049] The bit latch 48c outputs a predetermined signal to the second switch 48b based on the determination result in the sense amplifier 47. At the start of the write operation, the bit latch 48c holds predetermined data, hereinafter also referred to as latched data. Based on the latched data, the bit latch 48c outputs, for example, a high-level signal to the gate of the second switch 48b. At this time, the second switch 48b is turned on. When the write completion signal COMP is output from the sense amplifier 47 during the read operation after the write operation, the bit latch 48c inverts the latched data and holds the inverted latched data. Based on the inverted latched data, the bit latch 48c outputs, for example, a low-level signal to the gate of the second switch 48b. As a result, the second switch 48b is turned off, and writing to the corresponding memory cell MC is prohibited.

[0050] Normal write mode

[0051] Here, the normal writing mode will be described. Figure 5 is a flowchart showing an example of a normal write mode. Figure 5 As shown, in the normal write mode, the processing of steps S10 to S50 is performed. At the start of the normal write mode, it is assumed that the memory cell MC to be written is selected by the memory controller 30, and the corresponding switch circuit 48 is in the on state. For example, it is assumed that the memory cell MC to be written is selected for each bit line BL, and the first switch 48a and the second switch 48b of the switch circuit 48 corresponding to the bit line of the selected memory cell MC are in the on state.

[0052] First, step S10 is a step of setting the current value of the write current. The write current setting circuit 45 sets the current value of the write current to A1 (hereinafter also referred to as the current value A1) based on, for example, a signal from the memory controller 30. Specifically, the memory controller 30 changes the current of the constant current source according to the current value A1 to be set. Then, the memory controller 30 generates a mirror current having the current value A1 through a current mirror circuit, and provides the generated mirror current to the write current setting circuit 45. For example, the current value A1 is a value having a sufficient margin relative to the lower limit value of the write current to the memory cell MC under the worst condition.

[0053] In step S20, a write operation is performed by the write current of the current value A1 set in step S10. More specifically, the memory controller 30 applies a pulse of the write current of the current value A1 to the memory cell MC to be written.

[0054] In step S30, the memory cell MC to which the pulse is applied is verified. In other words, a determination process is performed for each bit line BL. First, in step S20, a read operation is performed on the memory cell MC to which the pulse is applied. At this time, the corresponding Figure 4 The voltage of the read operation is applied to each electrode of the memory cell MC to be verified. Each sense amplifier 47 compares the current flowing through the bit line BL with the current of the reference signal REF, thereby verifying the corresponding memory cell MC. For example, when the current of the corresponding bit line BL is greater than the reference current REF, the sense amplifier 47 determines that the predetermined data has been written to the corresponding memory cell MC, and outputs the write completion signal COMP to the bit latch 48c of the corresponding switch circuit 48.

[0055] In step S40, it is determined whether all memory cells MC to which pulses are applied in step S20 have passed verification. When it is determined that all memory cells MC have passed verification (Yes), the memory controller 30 terminates the normal write mode. On the other hand, if the memory controller 30 determines that at least some memory cells MC have not passed verification (No), the process proceeds to step S50.

[0056] In step S50, the switch circuit 48 corresponding to the memory cell MC that has passed the verification is set to the off state. More specifically, when the verification is passed, the corresponding sense amplifier 47 outputs the write completion signal COMP to the corresponding switch circuit 48. When the write completion signal COMP is input, the bit latch 48c inverts the latched data held, and outputs a low-level signal to the gate electrode of the second switch 48b according to the inverted latched data. As a result, the second switch 48b is turned off. In this way, when the verification is passed, the corresponding switch circuit 48 is turned off, the corresponding memory cell MC is shielded, and no additional pulse application and verification are performed.

[0057] When the processing of step S50 is completed, the processing of step S20 and subsequent steps is performed again. Similarly, in steps S20 to S30, pulse application and verification are performed again for the memory cells MC that failed the verification in the previous step S30, that is, the memory cells MC that are not shielded. The current value of the write current at this time is A1 set in step S10. If it is determined in step S40 that all memory cells MC have passed the verification operation (yes), the normal write operation ends. Therefore, the processing of pulse application (S20), verification (S30), verification determination (S40) and bit latch inversion (S50) is repeated until all memory cells MC pass the verification.

[0058] The operation of step S50 may be performed after step S30. In this case, when it is determined in step S40 that all memory cells MC have passed verification, all corresponding switch circuits 48 are turned off.

[0059] Depending on the usage situation, the memory controller 30 may select a different group of memory cells MC and perform a write operation on the selected memory cells MC in a normal write mode, or may repeat this process to perform a write operation on all memory cells MC.

[0060] High-speed write mode

[0061] Next, the high-speed writing mode will be described. Figure 6 is a flowchart illustrating an example of the high-speed writing mode. Figure 6 Some of the steps involved are similar to Figure 5 Therefore, in Figure 6 In the description of Figure 5 The overlapping parts in the.

[0062] In high-speed write mode, such as Figure 6 As shown, the processing of steps S01 to S210 is performed in the high-speed writing mode. Among these steps, steps S110-S160 are the first writing operation, and steps S170-S210 are the second writing operation.

[0063] Step S01 is a step of selecting a write mode. For example, the memory controller 30 selects a high-speed write mode or a low-noise write mode, which will be described later. Here, it is assumed that the high-speed write mode is selected.

[0064] Step S110 is a step of setting the current value of the write current, i.e., the second write current value. Since step S110 is similar to step S10, the difference will be mainly described. The memory controller 30 changes the current of the constant current source according to the current value A2 to be set. Then, the memory controller 30 generates a mirror current with a current value A2 through a current mirror circuit, and provides the generated mirror current to the write current setting circuit 45. In this way, the current value A2 of the write current is set. The current value A2 of the second write current is less than the current value A1 (A21) of the first write current. Specifically, in the high-speed write mode, the memory controller 30 sets the current value of the write current to 1 / 2 times the current value in the normal write mode.

[0065] Figure 7 is a graph comparing the write current in the normal write mode and the write current in the high-speed write mode. Figure 7 In FIG. 1 , the horizontal axis represents the current value of the write current, and the vertical axis represents the number of memory cells MC. Figure 7 , a curve G1 represents the distribution of the write current with respect to the number of memory cells MC in the normal write mode. The write current in the normal write mode has a distribution in which the current value A1 of the write current has the highest peak value with respect to the set current value A1.

[0066] On the other hand, the curve G2 represents the distribution of the write current with respect to the number of memory cells MC in the first write operation in the high-speed write mode. The write current in the first write operation has a distribution with the current value A2 as the peak. Figure 7 As shown, the current value A2 of the write current in the first write operation is close to the lower limit value AL of the write current to the memory cell MC under the worst condition. Therefore, a part of the write current may include a current having a current value smaller than the lower limit value AL of the write current to the memory cell MC under the worst condition. If the write operation is performed under such conditions, it is possible that the write operation is not completed in the first write operation, and the memory cell MC is subjected to the second write operation, which will be described later.

[0067] In step S115, memory cells MC to be written simultaneously by the first write operation are selected. For example, the memory controller 30 is selected for each bit line BL. The number of memory cells MC selected here (the second number) is greater than the number of memory cells selected in the normal write mode (the first number). For example, the second number is twice the first number. That is, in the high-speed write mode, the number of memory cells selected by the memory controller 30 is twice that in the normal write mode.

[0068] The current value of the write current set in step S110 and the number of memory cells MC selected in step S115 are not limited to these values. More specifically, the current value of the write current and the number of memory cells MC are set so that the product of the second number and the current value of the second write current is equal to or less than the product of the first number and the current value of the first write current. As a result, a high-speed write operation can be performed within the capacity of the charge pump 44.

[0069] In step S120 , similarly to step S20 , for example, pulses of a write current having a current value A2 are simultaneously applied to the second number of memory cells MC selected in step S115 .

[0070] In step S130, the memory cell MC to which the pulse of the write current of the current value A2 is applied is verified. The other processes are the same as those in step S30, so the description thereof is omitted. That is, in the first write operation, the determination process is performed by the sense amplifier 47 every time a pulse is applied.

[0071] In step S140, it is determined whether all memory cells MC to which pulses are applied in step S120 have passed verification. When it is determined that all memory cells MC have passed verification (Yes), the memory controller 30 exits the high-speed write mode. On the other hand, if the memory controller 30 determines that at least some memory cells MC have not passed the verification operation, the process proceeds to step S150.

[0072] In step S150, the same processing as in step S50 is performed. That is, the memory cell MC that has passed the verification is shielded, and additional pulse application and verification are not performed. As described above, the switch circuit 48 is set corresponding to each memory cell MC that performs the first write operation, and the necessity of the second write operation is switched based on the determination result of the sense amplifier 47.

[0073] In step S160, it is determined whether the pulse has been applied a predetermined number of times, that is, the first number N1. If the number of pulses applied is less than N1, the process of step S120 is continued. On the other hand, when the number of pulses to be applied reaches N1 (yes), the process is transferred to step S170, and the second write operation is continued. That is, even after the N1 pulses are applied and the first write operation is performed, the second write operation is continued for the memory cell MC for which the write operation has not been completed.

[0074] However, the ratio of the number of memory cells MC performing the second write operation is very small compared to the second number. Figure 7 As described above, when a pulse of a write current having a current value smaller than the lower limit value AL of the write current is applied to the memory cell MC under the worst condition, the second write operation is performed.

[0075] Step S170 is a step of setting the current value of the write current, i.e., the third write current value. Step S170 is similar to steps S10 and S110. The memory controller 30 sets the current value A3 of the third write current to a value greater than the current value A2 of the second write current (A3>A2). For example, the current value A3 of the third write current can be set to be the same as the current value A1 of the first write current (A3=A1). According to this configuration, the load related to the setting of the write current is reduced, and the increase in circuit scale is suppressed.

[0076] Here, an example is shown in which verification is performed every time a pulse is applied, but verification may be performed after applying a pulse N1 times. According to this configuration, since the number of determination processes and read operations of the sense amplifier 47 is reduced, the first write operation is performed at a higher speed.

[0077] In step S180, when the first write operation is completed, pulses of a write current such as the current value A3 are simultaneously applied to the memory cells MC determined by the determination process of the sense amplifier 47 to have not completed the write operation. Step S180 is similar to step S120 and the like.

[0078] In step S190, the memory cell MC to which the write current pulse of the current value A3 is applied is verified. Step S190 is similar to step S130.

[0079] In step S200, it is determined whether the memory cells MC have passed the verification operation. At this time, the memory controller 30 determines only the memory cells MC to which the pulses are applied in step S190. When it is determined that all the memory cells MC have passed the verification (Yes), the memory controller 30 exits the high-speed write mode. On the other hand, if the memory controller 30 determines that at least some of the memory cells MC have not passed the verification operation, the process proceeds to step S210.

[0080] In step S210, the same processing as step S150 etc. is performed. That is, the memory cells MC that have passed verification are masked, and additional pulse application and verification are not performed.

[0081] When the process of step S210 is completed, the process of steps S180-S200 is performed again. The process of steps S180-S200 is repeated until all memory cells MC pass the verification operation. Note that in the second write operation, since the write current is greater than the write current in the first write operation, the write operation is almost completed by one or more pulse applications. However, since the write operation may not be completed due to a failure of the memory cell MC, the upper limit of the number of pulse applications may be limited to a predetermined number of times.

[0082] The main effect of this embodiment

[0083] According to the present embodiment, in the high-speed write mode, the first write operation by the second write current is simultaneously performed on the second number of memory cells MC. Then, when the first write operation is completed, the second write operation by the third write current is simultaneously performed on the memory cells MC that are determined by the sense amplifier 47 to have not completed the write operation in the determination process.

[0084] That is, in the first write operation, the write operation to most of the memory cells MC is completed using a write current having a smaller current value than in the normal write operation, and in the second write operation, the write operation is performed using a write current having a smaller current value than in the remaining several memory cells MC. According to this configuration, since the throughput can be improved, the write speed to the flash memory 40 can be increased while suppressing the increase in noise. As a result, the test time is shortened and the test cost is reduced.

[0085] According to the present embodiment, in the first write operation, the sense amplifier 47 performs verification processing every time a pulse is applied. According to this configuration, when the write operation to all memory cells MC is completed less than the predetermined number of times N1, the write operation can be stopped immediately, and the write operation can be performed at a higher speed.

[0086] According to the present embodiment, the current value of the write current and the number of memory cells MC are set so that the product of the second number and the current value of the second write current is equal to or less than the product of the first number and the current value of the first write current. As a result, the peak current in the high-speed write mode is less than the peak current in the normal write mode, thereby reducing noise. This makes it possible to stabilize the operation of the software during OTA. According to this configuration, a high-speed write operation can be performed within the capacity of the charge pump 44. In addition, since an existing charge pump 44 can be used, the number of man-hours required for circuit design can be shortened.

[0087] Figure 8 It is a diagram showing the effect of the first embodiment of the present invention. Figure 8 Items when comparing the normal write mode and the high-speed write mode are shown: the current value of the write current, the number of selected memory cells MC, the capacity of the charge pump 44, and the write speed. Note that Figure 8 Each value in is shown as a ratio to the normal writing mode. Figure 8 , the value of each item in normal write mode is "1".

[0088] Figure 8The value is shown when the write current is 1 / 2 (0.5) of that in the normal write mode and the number of memory cells MC to be written simultaneously is twice the number of memory cells MC in the normal write mode in the first write operation in the high-speed write mode. At this time, the capacity of the charge pump 44 is substantially the same as that in the normal write mode.

[0089] On the other hand, in the second write operation, the current value of the write current is the same as that in the normal write mode, but the number of memory cells MC to be written simultaneously is much smaller than that in the normal write mode. Therefore, the charge pump 44 can operate at a much lower capacity than in the normal write mode. In addition, in the second write operation, the number of pulse application times is 1 to several times, so the effect on the write speed is small. Therefore, the write speed in the high-speed write mode is twice the write speed in the normal write mode.

[0090] Example 2

[0091] Next, an embodiment will be described. In this embodiment, a semiconductor device capable of performing a write operation with lower noise than one of the embodiments will be described.

[0092] Low noise write mode

[0093] Fig. 9 is a flowchart illustrating an example of a low noise writing mode. Fig. 9 Some of the steps involved are similar to Figure 6 Therefore, in Fig. 9 In the description of Figure 6 The part in the section is repeated.

[0094] In low noise write mode, such as Fig. 9 As shown, the processing of steps S01 to S410 is performed in the low noise writing mode. Among these steps, steps S305-S360 are the third writing operation, and steps S370-S410 are the fourth writing operation. Step S01 is a step of selecting a writing mode. Here, it is assumed that the low noise writing mode is selected.

[0095] Step S305 is a step of setting the capacity of the charge pump 44. The capacity of the charge pump 44 is a value defined by the write current to the memory cell MC and the number of memory cells MC to be written simultaneously. In the low noise write mode, the memory controller 30 sets the capacity of the charge pump 44 to be lower than in the normal write mode. Specifically, the capacity of the charge pump 44 in the low noise write mode is set to a value of 1 / 2 (0.5) or 1 / 4 (0.25) of the normal write mode.

[0096] For example, the memory controller 30 sets the capacity of the charge pump 44 by switching a period of a ring oscillator included in the charge pump 44 or a radix of the charge pump 44 .

[0097] Step S310 is a step of setting a current value A4 (fourth write current) of the write current. Step S310 is similar to step S110, etc. The difference is that the write current is set based on the capacity of the charge pump 44. The current value A4 of the fourth write current is set to a value smaller than the current value A1 of the first write current (A4 <A1)。

[0098] In step S315, memory cells MC to be written simultaneously are selected by a third write operation. The third number of memory cells MC selected in step 315 is set based on the capacity of the charge pump 44. For example, the third number is equal to or less than the first number of memory cells MC selected in the normal write mode. In this respect, the low noise write mode is different from the high speed write mode. The current value A4 of the fourth write current and the third number of memory cells MC are set within a range in which the product of the current value A4 and the third number does not exceed the capacity of the charge pump. The order of steps S310 to S315 can be interchanged according to circumstances.

[0099] Fig.10 is a diagram showing a specific example of the low-noise writing mode. Fig.10 Items comparing the normal write mode and the low noise write mode are shown: the current value of the write current, the number of selected memory cells MC, the capacity of the charge pump 44, and the write speed. Note that Fig.10 Each value in is shown as a ratio to the normal writing mode. Fig.10 , the value of each item in normal write mode is "1".

[0100] Fig.10 The middle part of shows a case where the capacity of the charge pump 44 is set to a value of 0.5 (1 / 2 of the normal write mode). At this time, the current value of the write current is set to, for example, 1 / 2 (0.5) of the normal write mode. The number of memory cells MC to be written simultaneously is the same as in the normal write mode. The product of the current value and the number of memory cells MC is 0.5, which is a value that does not exceed the capacity of the charge pump 44.

[0101] on the other hand, Fig.10The lower part of shows a case where the capacity of the charge pump 44 is set to a value equal to 1 / 4 (0.25) of the normal write mode. At this time, the current value of the write current is set to, for example, 1 / 2 (0.5) of the normal write mode. The number of memory cells MC to be written simultaneously is set to 0.5, which is 1 / 2 of the number of memory cells MC in the normal write mode. The product of the current value and the number of memory cells MC is 0.5, which is a value not exceeding the capacity of the charge pump 44. Of course, the number of current values ​​and the number of memory cells MC shown separately are only examples and can be set arbitrarily within the range not exceeding the capacity of the charge pump 44.

[0102] Step S320 is the same as step S120 and the like, and pulses of a write current of, for example, current value A4 are simultaneously applied to the third number of memory cells MC selected in step S315.

[0103] In steps S330-S340, the same processing as in steps S130-S140 is performed. In step S340, if it is determined in step S320 that all memory cells MC to which pulses have been applied have passed verification, the low noise write mode is terminated. On the other hand, when it is determined that at least some memory cells MC have not passed verification, the processing of step S350 is performed.

[0104] In steps S350-S360, the same processing as in steps S150-S160 is performed. The number of application times (second number) N2 determined in step S360 may be the same as or different from the first number of pulses in the high-speed writing mode.

[0105] Step S370 is a step of setting the current value A5 of the write current, i.e., the fifth write current. Step S370 is similar to step S170, etc. The memory controller 30 sets the current value A5 of the fifth write current to a value greater than the current value A4 of the fourth write current (A5>A4). For example, the current value A5 of the fifth write current may be set to the same value as the current value A1 of the first write current, such as Fig.10 As shown (A5=A1). According to this configuration, the load associated with the setting of the write current is reduced, and an increase in the circuit scale is suppressed.

[0106] Since most of the memory cells MC pass the verification operation in the fourth write operation, when the third write operation is completed, the number of memory cells MCs determined by the sense amplifier 47 that the write operation has not been completed in the determination process is very small. Therefore, even if the current value A5 of the fifth write current is set to the same value as A1, it does not exceed the capacity of the charge pump 44.

[0107] Step S380 is the same as step S180 and the like, and when the third write operation is completed, pulses of a write current of, for example, the current value A5 are simultaneously applied to the memory cells MC determined by the sense amplifier 47 through the determination process as not completing the write operation.

[0108] In steps S390-S400, the same processing as steps S190-S200, etc. is performed. In step S400, when it is determined in step S390 that all memory cells MC to which pulses are applied pass verification, the low noise write mode is terminated. On the other hand, when it is determined that at least some memory cells MC do not pass verification, the processing of step S410 is performed. In step S410, the same processing as step S210, etc. is performed.

[0109] According to the present embodiment, the writing operation can be performed with reduced noise compared to the high-speed writing mode.

[0110] As described above, it is assumed that the number of memory cells MC selected in the third write operation is equal to or less than the first number. However, if the capacity of the charge pump 44 is not exceeded, the number of memory cells MC can be set to a value greater than the first number. In this case, a write operation is performed in which noise is further reduced while the write speed is increased.

[0111] Example 3

[0112] Next, Embodiment 3 will be described. In this embodiment, a low voltage write mode will be described. In the low voltage write mode, a write operation is performed while switching the threshold voltage of the memory cell MC and the current value of the write current.

[0113] Low Voltage Write Mode

[0114] Fig.11 is a flow chart showing an example of a low voltage write mode. Fig.11 As shown, the process of steps S510 to S570 is performed in the low voltage write mode. Fig.12 is a diagram showing the relationship between the write current and the threshold voltage in the low voltage write mode. Fig.12 In FIG. 5 , the horizontal axis represents the threshold voltage of the memory cell MC, and the vertical axis represents the number of the memory cells MC. Fig.12 A curve G10 in φ shows the distribution of the threshold voltages of the memory cells MC in the erased state before the start of the write operation. Fig.13 is a diagram showing a list of verification results in the low-voltage write mode.

[0115] Step S510 is a step of setting the current value of the write voltage to an initial current value. Step S510 is similar to step S110, etc. Step S515 is a step of setting the threshold voltage of the memory cell MC to an initial threshold voltage (e.g., V1). For example, the memory controller 30 internally stores threshold correspondence information for associating the threshold voltage of the memory cell MC with the gate voltage (or gate current), and outputs a threshold setting signal corresponding to the initial threshold to the charge pump 44 based on the threshold correspondence information. Then, the charge pump 44 provides a voltage (or current) corresponding to the initial threshold to the gate electrode based on the threshold setting signal. The threshold correspondence information can be stored in a storage area of ​​a program, etc. in the flash memory 40.

[0116] In step S520, pulses of write current having the current value set in step 510 are respectively applied to the selected memory cells MC. Step S520 is similar to step S120, etc. Since this is the first pulse application, pulses of write current of the initial current value are applied to the memory cells MC.

[0117] In step S520, the number of times the pulse is applied to the memory cell MC is preferably a plurality of times, for example, a sufficient number of times in the high-speed write mode, a sufficient number of times in the low-noise write mode, etc. This is because, when the number of pulse applications is one or several times, writing becomes insufficient, resulting in an increase in the current value of the write current, and there is a concern that writing with a low current, which is the purpose of this embodiment mode, cannot be achieved.

[0118] Steps S530-S540 are similar to steps S130 to S140. If it is determined in step S140 that all selected memory cells MC have passed the verification, the process of step S550 is performed. For example, when pulse P1 is applied, the threshold distribution of the memory cell MC changes from curve G10 in the erased state to curve G11, as shown in FIG. Fig.12 As shown. Considering the curve G11, the minimum value of the threshold voltage of the memory cell MC is greater than the initial threshold voltage V1. Then, as Fig.13 As shown, all memory cells MC pass the verification operation.

[0119] In step S550, it is determined whether the current threshold voltage is the final threshold voltage PV for determining that the write operation is finally completed. Since the current threshold voltage is V1, the memory controller 30 determines that the current threshold voltage is not PV, and performs the process of step S570.

[0120] Step S570 is a step of resetting the threshold voltage of the memory cell MC. Step S570 is similar to step S515. In this step S570, the threshold voltage is set to a threshold voltage higher than the initial threshold voltage, for example, V2. Then, the process of steps S520-S540 is performed again. At this time, the pulse applied to the memory cell MC is P1 because the current value is not reset. Fig.12 As shown in FIG. 1 , the minimum value of the threshold voltage of the memory cell MC is greater than the threshold voltage V2. Fig.13 As shown, at this time, all memory cells MC pass the verification operation (Yes). Also in this step S550, it is determined that the threshold voltage V2 is not the final threshold voltage PV, and the process of step S570 is performed.

[0121] In step S570, for example, after setting the threshold voltage to V3 which is higher than the threshold voltage V2, the processing of steps S520-S540 is performed. However, the threshold voltage V3 is higher than the minimum value of the threshold voltage of the memory cell MC. Therefore, in this step S540, as shown in FIG. Fig.13 As shown, at least some of the memory cells MC fail the verification operation, and the process of step S560 is performed.

[0122] Step S560 is a step of resetting the current value of the write current. Step S560 is similar to step S510 and the like. In this step S560, for example, the current value of the write current is switched to a value greater than the initial current value. Then, the processing of steps S520-S540 is performed again. In this step S520, a pulse P2 of a write current having the current value set in the immediately preceding step S560 is applied to the memory cell MC.

[0123] For example, when pulse P2 is applied, the threshold distribution of memory cell MC changes from Fig.12 The curve G11 shown in FIG. 1 is changed into the curve G12. Considering the curve G12, the minimum value of the threshold voltage of the memory cell MC is less than the threshold voltage V3. Therefore, Fig.13 As shown, even in the current step S540, at least some of the memory cells MC fail the verification operation (No).

[0124] In this step S560, the current value of the write current is switched to a value greater than the current value. Then, the process is performed again in steps S520 to S540. In this step S520, a pulse P3 of the write current having the current value set in the immediately preceding step S560 is applied to the memory cell MC.

[0125] For example, when pulse P3 is applied, the threshold distribution of memory cell MC changes from Fig.12The curve G12 shown in FIG. 1 is changed into the curve G13. Considering the curve G13, the minimum value of the threshold voltage of the memory cell MC is greater than the threshold voltage V3. Therefore, Fig.13 As shown, in the current step S540, it is determined that all memory cells MC have passed (yes) the verification operation.

[0126] like Fig.12 As shown, when pulse P3 is applied, the minimum value of the threshold voltage of memory cell MC is greater than threshold voltage V4 and final threshold voltage PV. Therefore, thereafter, the processes of step S550, step S570, and S520-S540 are repeatedly performed until the threshold voltage reaches threshold voltage PV. Then, in the final step S550, it is determined that the threshold voltage is PV (yes), and the low voltage write mode ends.

[0127] According to the present embodiment, a write operation at a final threshold voltage PV is performed by gradually increasing the threshold voltage and the current value of the write current from the initial value while checking the verification result of the memory cell MC. In the above-described embodiment, a pulse having a writable current amount at the final threshold voltage PV must be applied to the memory cell MC from the beginning, but in the present embodiment, a write operation to the memory cell MC is performed while gradually increasing the write current from a small amount.

[0128] According to this configuration, the write operation can be efficiently performed from a low voltage state, and the power consumption associated with the write operation can be suppressed. In addition, since the current consumption is reduced, the noise can be reduced.

[0129] Note that in the present embodiment, for example, even if the threshold voltage does not reach PV, the write operation during OTA can be accelerated by temporarily suspending the write operation after the write operation is performed until the threshold voltage reaches a predetermined threshold voltage. For example, when the ignition is turned off, the write operation can be resumed and the write operation can be performed until the threshold voltage reaches PV.

[0130] In the present embodiment, although a pulse is applied to the memory cell MC after the threshold voltage is changed in step S570, the pulse application performed after the threshold voltage is reset may be omitted as appropriate. As a result, the writing speed is increased.

[0131] Example 4

[0132] Next, there will be described Embodiment 4. In this embodiment, a method for obtaining an optimum write current will be described. Fig.14 is a diagram for explaining a method for obtaining an optimum write current. Fig.14 In FIG. 5 , the horizontal axis represents the threshold voltage of the memory cell MC, and the vertical axis represents the number of the memory cells MC. Fig.14A curve G20 in FIG. 1 shows the distribution of the threshold voltages of the memory cells MC in the erased state before the start of the write operation.

[0133] The memory controller 30 sets the threshold voltage of the memory cell MC to the final threshold voltage PV. The process of setting the threshold voltage is similar to the above-mentioned steps S515 and S570. In addition, the memory controller 30 sets the first current value of the write current. The current value at this time is set to, for example, a writable current value at a threshold voltage less than the final threshold voltage PV. Specifically, the initial current value may be the initial current value described in Embodiment 3, or may be greater than the initial current value. This process is similar to, for example, steps S510 and S560.

[0134] Then, the memory controller 30 applies a pulse (e.g., P11) of a write current having a first current value to the memory cell MC, and measures the threshold voltage of each memory cell. For example, the memory controller 30 measures the threshold voltage of the memory cell MC to which the pulse P11 is applied while switching the current value (or voltage value) of the reference signal REF provided to each sense amplifier 47. In this way, the memory controller 30 acquires the distribution of the threshold voltages of the plurality of memory cells MC in the initial current value, e.g., G21.

[0135] The memory controller 30 applies pulses (eg, P12, P13) to the memory cells MC while switching the current value of the write current a plurality of times, and acquires distributions (eg, G22, G23) of threshold voltages of the plurality of memory cells MC at the corresponding current values.

[0136] At this time, the memory controller 30 sequentially increases the current value of the write current from a current value that can be written at a threshold voltage less than the final threshold voltage to a current value that can be written at a threshold voltage greater than the final threshold voltage. Fig.14 , pulse P11 is a pulse of the following write current, which has a current value that can be written at a threshold voltage lower than the final threshold voltage. Pulses P12 and P13 are pulses of the following write current, which have a current value that can be written at a threshold voltage greater than the final threshold voltage.

[0137] according to Fig.14 , when looking at the distribution G22 when the pulse P12 is applied, the minimum value of the threshold voltage is less than the final threshold voltage PV and is close to the final threshold voltage PV. If a write operation is performed by applying the pulse P12, the write operation to most of the memory cells MC is completed while suppressing current consumption. Therefore, according to Fig.14 , it can be understood that the write current corresponding to the pulse P12 is the optimal write current.

[0138] exist Fig.14 , the distribution of the threshold voltage when three types of pulses are applied is shown, but the distribution of the threshold voltage when more types of pulses are applied can be obtained.

[0139] According to the present embodiment, the distribution of the threshold voltage when a plurality of types of pulses having different current values ​​are applied is obtained. According to this configuration, it is possible to obtain an optimal write current, reduce the write current, and reduce noise.

[0140] Although a configuration including the CPU 10 and the like as the vehicle-mounted semiconductor device has been described, for example, only the flash memory 40 and the memory controller 30 may be configured as the semiconductor memory device.

[0141] Although the invention made by the present inventors has been specifically described based on the embodiments, the present invention is not limited to the above-mentioned embodiments, and it goes without saying that various modifications can be made without departing from the gist thereof.

Claims

1. A semiconductor device, comprising: a plurality of memory cells; a memory controller for controlling the plurality of memory units; Charge pump; as well as a sense amplifier for performing a determination process of whether a write operation to the memory cell has been completed, wherein the memory controller: uses a second write current having a current value less than the first write current while applying pulses to a second number of memory cells greater than the first number of memory cells to perform a first write operation, which is different from a normal write mode in which the first write current is used while applying pulses to the first number of memory cells to perform a write operation; and uses a third write current having a current value greater than the second write current while applying pulses to memory cells that are determined by the sense amplifier in the determination process as not completing the write operation when the first write operation is completed to perform a second write operation, wherein, in the low noise write mode, the memory controller sets the capacity of the charge pump to be lower than the capacity of the charge pump in the normal write mode, the capacity of the charge pump being defined by the write current to the memory cell and the number of the memory cells to be written simultaneously, and within a range not exceeding the set capacity, performing a third write operation on a third number of memory cells while performing a write operation using a fourth write current, the third number being equal to or less than the first number of the memory cells, the fourth write current having a current value smaller than the first write current, and When the third write operation is completed, a write operation is performed on the memory cell determined by the sense amplifier as not completing the write operation in the determination process by a fifth write current having a current value greater than the fourth write current.

2. The semiconductor device according to claim 1, in, In the first write operation, the memory controller applies a first number of pulses of the second write current.

3. The semiconductor device according to claim 2, in, In the first write operation, the determination process is performed by the sense amplifier whenever each pulse is applied.

4. The semiconductor device according to claim 1, A product of the second number of the memory cells and the current value of the second write current is equal to or smaller than a product of the first number of the memory cells and the current value of the first write current.

5. The semiconductor device according to claim 4, The second number of the memory cells is twice the value of the first number of the memory cells, and a current value of the second write current is 1 / 2 of a current value of the first write current.

6. The semiconductor device according to claim 1, A current value of the third write current is the same as a current value of the first write current.

7. The semiconductor device according to claim 1, A switch circuit is provided corresponding to each memory cell in which the first write operation is performed, and the switch circuit switches to enable or disable the second write operation based on a determination result of the sense amplifier.

8. The semiconductor device according to claim 7, The sense amplifier and the switch circuit are provided for each bit line.

9. The semiconductor device according to claim 1, in, In the step of the third write operation, the memory controller applies the pulse of the fourth write current a second number of times.

10. The semiconductor device according to claim 9, in, In the step of performing the determination process, the determination process is performed by the sense amplifier whenever each pulse is applied.

11. The semiconductor device according to claim 1, The semiconductor device is a nonvolatile memory.

12. The semiconductor device according to claim 11, The non-volatile memory is a flash memory.

13. The semiconductor device according to claim 1, further comprising: CPU, Wherein, the memory controller is controlled by the CPU.

14. The semiconductor device according to claim 13, The semiconductor device is a vehicle-mounted semiconductor device.

15. A semiconductor device comprising: a plurality of memory cells; a memory controller for controlling the plurality of memory units; Charge pump; as well as a sense amplifier for performing a determination process of whether a write operation to the memory cell has been completed, wherein the memory controller: uses a second write current having a current value less than the first write current while applying pulses to a second number of memory cells greater than the first number of memory cells to perform a first write operation, which is different from a normal write mode in which the first write current is used while applying pulses to the first number of memory cells to perform a write operation; and uses a third write current having a current value greater than the second write current while applying pulses to memory cells that are determined by the sense amplifier in the determination process as not completing the write operation when the first write operation is completed to perform a second write operation, wherein, in the low voltage write mode, the memory controller sets the threshold voltage of the memory cell to an initial threshold voltage and uses a write current of an initial current value to simultaneously perform a write operation on a plurality of selected memory cells, wherein, when the sense amplifier determines in the determining process that the write operation of all the plurality of selected memory cells has been completed, the threshold voltage of the memory cell is set to a value higher than the initial threshold voltage, and Wherein, when it is determined by the sense amplifier during the determination process that at least some of the memory cells have not completed the write operation, the current value of the write current is switched to a value greater than the initial current value until the threshold voltage of each memory cell reaches a final threshold voltage, which will be determined when the write operation is finally completed, and the write operation is repeated for all of the multiple selected memory cells until it is determined by the sense amplifier during the determination process that the write operation is completed.

16. The semiconductor device according to claim 15, in, The memory controller sets a reference threshold voltage as the final threshold voltage, switches a current value of the write current a plurality of times, and acquires a distribution of threshold voltages of the plurality of memory cells at corresponding current values.

17. The semiconductor device according to claim 16, in, The memory controller sequentially increases a current value of the write current from a current value writable at a threshold voltage lower than the final threshold voltage to a current value writable at a threshold voltage higher than the final threshold voltage.

18. The semiconductor device according to claim 15, The semiconductor device is a nonvolatile memory.

19. The semiconductor device according to claim 18, The non-volatile memory is a flash memory.

20. The semiconductor device according to claim 15, further comprising: CPU, Wherein, the memory controller is controlled by the CPU.

21. The semiconductor device according to claim 20, The semiconductor device is a vehicle-mounted semiconductor device.

Citation Information

Patent Citations

  • Semiconductor integrated circuit, and data-processing system

    JP1998106276A

  • Printer

    JP2018202741A

  • Nonvolatile semiconductor memory device and method of writing data into the same

    CN101017706A

  • Nonvolatile semiconductor memory device

    CN102629491A

  • Nonvolatile semiconductor memory device and data write method thereof

    CN1467752A