Data writing method

By reading old data from the target column, updating and writing new data in the semiconductor memory, the problem of circuit complexity in the prior art is solved, accurate data writing without additional hardware structure is achieved, the circuit structure is simplified and the improvement is improved efficiency.

CN114360609BActive Publication Date: 2024-09-20CHANGXIN MEMORY TECH INC
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202011090399.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-10-13
Publication Date
2024-09-20
Estimated Expiration
2040-10-13

AI Technical Summary

Technical Problem

Existing semiconductor memories need to write multiple bits of data synchronously during data writing, resulting in complex circuits, and cannot effectively avoid changes in stored data in memory cells that do not need to be written, increasing circuit complexity.

Method used

Data writing is achieved by reading old data from the target column of the storage array, updating the old data based on the data bit information to be written, generating new data, and writing the new data to the target column without the need for additional hardware structures.

Benefits of technology

Accurate data writing is achieved in the existing memory structure, the circuit structure is simplified, the complexity is reduced, and the efficiency of data writing is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114360609B
    Figure CN114360609B
Patent Text Reader

Abstract

The embodiment of the present application relates to a data writing method, a data writing method, which is used to write data to a storage array of a memory, and the data writing method includes: reading old data from a target column in the storage array; updating the old data according to the data to be written carrying the target data bit information to generate new data; writing the new data to the target column; wherein the memory includes multiple data columns, and the data needs to be written to the target column, and the target column includes multiple data columns. Based on the above steps, the method of the embodiment of the present application can be compatible with the existing memory structure to perform accurate data writing, thereby realizing a data writing method that does not require the setting of additional hardware structure.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of semiconductor device technology, and in particular, to a data writing method. Background Art

[0002] In semiconductor memory, in order to obtain a faster data transmission rate, a burst (or pre-fetch) technique is used to store or read multiple bits of data into or from a storage array at one time. For example, in the prior art, 128 bits of data are usually written or read synchronously.

[0003] In actual writing, in most cases, data only needs to be written to some storage cells, rather than to all 128-bit storage cells. In order to prevent the data stored in the storage cells that do not need to be written from being changed, a shielding mask can be additionally set for each storage cell to prevent data from being written. However, the existing processing method requires the setting of additional circuit structures or operations, which may make the circuit more complicated. Summary of the invention

[0004] Based on this, it is necessary to provide a data writing method to address the problem of complex circuits corresponding to existing data writing methods.

[0005] A data writing method is used to write data to a storage array of a memory, the data writing method comprising:

[0006] reading old data from a target column in the storage array;

[0007] Updating the old data according to the data to be written that carries the target data bit information to generate new data;

[0008] Writing the new data to the target column;

[0009] The memory includes a plurality of data columns, data needs to be written into a target column, and the target column includes a plurality of the data columns.

[0010] In one embodiment, updating the old data according to the data to be written carrying the target data bit information to generate new data includes:

[0011] The target data bits in the old data are overwritten according to the data to be written to generate the new data.

[0012] In one embodiment, the memory further includes a plurality of data lines, the data lines are electrically connected to the data columns in a one-to-one correspondence, and the reading of old data from the target column in the memory array includes:

[0013] Read the old data from the target column to the corresponding data line;

[0014] The method of overwriting the target data bit in the old data according to the data to be written includes:

[0015] The data on the corresponding data line is overwritten according to the data to be written to generate the new data.

[0016] In one embodiment, the memory includes a plurality of bit lines, the bit lines are connected to the data columns in a one-to-one correspondence, and the reading of the old data from the target column to the corresponding data line includes:

[0017] Read old data from the target column to the corresponding bit line;

[0018] The data on the bit line is transmitted to the corresponding data line.

[0019] In one embodiment, the memory further includes a plurality of reference bit lines and a plurality of sense amplifiers, the reference bit lines correspond to the bit lines one-to-one, the sense amplifiers correspond to the bit lines one-to-one and are connected between the corresponding bit lines and the reference bit lines, and the reading of old data from the target column to the corresponding bit line includes:

[0020] Read the old data from the target column;

[0021] Transmitting the old data to the corresponding bit line, and transmitting a reference voltage to the corresponding reference bit line;

[0022] The sense amplifier is controlled to amplify a voltage difference between the connected bit line and the reference bit line to amplify data on the bit line and the reference bit line.

[0023] In one embodiment, the memory further includes a plurality of reference data lines, the reference data lines correspond to the data lines one by one, at least one latch is connected between the data lines and the reference data lines, each latch is used to latch data of one data bit, and overwriting the data on the corresponding data line according to the data to be written includes:

[0024] The data to be written is transmitted to the latch corresponding to the target data bit to cover the data in the latch.

[0025] In one of the embodiments, before transmitting the data to be written to the latch corresponding to the target data bit, the method further includes: disconnecting the data transmission path between the bit line and the corresponding data line;

[0026] Before writing the new data into the target column, the method further includes: turning on a data transmission path between the bit line and the corresponding data line.

[0027] In one embodiment, the transmitting the reference voltage to the corresponding reference bit line includes:

[0028] The reference bit line is precharged to half of the power supply voltage.

[0029] In one embodiment, the data column includes a plurality of storage units, the storage unit includes a storage capacitor and a data switch, the data switch is used to control the on / off of the data transmission path between the storage capacitor and the bit line, and the transmitting of the old data to the corresponding bit line includes:

[0030] The data switch is turned on to read data from the storage capacitor corresponding to the target column to the corresponding bit line.

[0031] In one embodiment, the memory further includes a plurality of word lines, wherein the word lines are connected to the control end of the data switch, and turning on the data switch includes:

[0032] Transmitting a valid enabling word line signal to the word line to turn on the first end and the second end of the data switch;

[0033] The data writing method further includes: transmitting an enable-invalid word line signal to the word line to disconnect a data transmission path between the storage capacitor and the bit line.

[0034] In one embodiment, the memory further includes a plurality of first column selection switches, wherein the first column selection switches are used to control the on / off of a data transmission path between the bit line and the corresponding data line; and the transmitting of the data on the bit line to the corresponding data line includes:

[0035] All first column selection switches corresponding to the target column are turned on, so that new data on the plurality of bit lines corresponding to the target column are synchronously transmitted to the corresponding data lines.

[0036] In one embodiment, writing the new data to the target column includes:

[0037] All first column selection switches corresponding to the target column are turned on, so that new data on the plurality of data lines corresponding to the target column are synchronously transmitted to the corresponding bit lines.

[0038] In one embodiment, the memory further includes a plurality of second column selection switches, and the second column selection switches are used to control the on / off of the data transmission path between the reference bit line and the reference data line; and the reading of the old data from the target column to the corresponding data line further includes:

[0039] All second column selection switches corresponding to the target column are turned on, so that data on the plurality of reference bit lines corresponding to the target column are synchronously transmitted to the corresponding reference data lines.

[0040] A data writing method is used to write data to a storage array of a memory, the data writing method comprising: reading old data from a target column in the storage array; updating the old data according to the data to be written carrying target data bit information to generate new data; writing the new data to the target column; wherein the memory includes multiple data columns, data needs to be written to the target column, and the target column includes multiple data columns. Based on the above multiple steps, the method of the embodiment of the present application can be compatible with the existing memory structure for accurate data writing, thereby realizing a data writing method that does not require the setting of additional hardware structure. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 is a flow chart of the data writing method of the first embodiment;

[0042] Figure 2 is a schematic structural diagram of a memory of the first embodiment;

[0043] Figure 3 for Figure 1 A timing diagram corresponding to the data writing method of the embodiment;

[0044] Figure 4 is a flow chart of a data writing method according to a second embodiment;

[0045] Figure 5 is a schematic structural diagram of a memory device according to a second embodiment;

[0046] Figure 6 is a flow chart of a data writing method according to a third embodiment;

[0047] Figure 7 is a schematic structural diagram of a memory device according to a third embodiment;

[0048] Figure 8 is a sub-flow chart of step S111 of an embodiment;

[0049] Fig. 9 is a flow chart of a data writing method according to a fourth embodiment;

[0050] Fig.10 FIG. 4 is a flow chart of a data writing method according to a fifth embodiment of the present invention.

[0051] Component number description:

[0052] Data column: 100; storage unit: 110; bit line: 200; reference bit line: 210; word line: 300; sense amplifier: 400; first control signal line: 410; second control signal line: 420; column selection line: 500; first column selection switch: 510; second column selection switch: 520; data line: 600; reference data line: 610; precharge module: 700; precharge control line: 710 DETAILED DESCRIPTION

[0053] In order to facilitate understanding of the embodiments of the present application, the embodiments of the present application will be described more fully below with reference to the relevant drawings. The preferred embodiments of the embodiments of the present application are given in the drawings. However, the embodiments of the present application can be implemented in many different forms and are not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the embodiments of the present application more thorough and comprehensive.

[0054] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art in the technical field of the embodiments of the present application. The terms used herein in the specification of the embodiments of the present application are only for the purpose of describing specific embodiments and are not intended to limit the embodiments of the present application. The term "and / or" used herein includes any and all combinations of one or more related listed items.

[0055] Figure 1 is a flowchart of a data writing method according to a first embodiment. The data writing method according to this embodiment is used to write data to a storage array of a memory. Figure 1 In this embodiment, the data writing method includes steps S100 to S300.

[0056] S100: reading old data from a target column in the storage array;

[0057] Specifically, Figure 2 is a schematic diagram of the structure of the memory of the first embodiment, referring to Figure 2 , a data column 100 , a bit line 200 , a word line 300 , a sense amplifier 400 , a column selection line 500 and a data line 600 are provided in the memory array.

[0058] Further, the data column 100 includes a plurality of storage units 110 located in the same column, and each storage unit 110 is connected to a bit line 200 and a word line 300. When the word line 300 is turned on, the storage unit 110 can transfer old data to the bit line 200, or can obtain the data to be written from the bit line 200 and store it. When the word line 300 is turned off, the storage unit 110 keeps its existing data unchanged. Herein, the "turning on" of the word line means enabling effectively, for example, it can be used to turn on the connected transistor; the "turning off" of the word line means disabling effectively, for example, it can be used to turn off the connected transistor.

[0059] Among them, the memory includes a plurality of data columns 100, and data needs to be written into the target column, and the target column includes a plurality of the data columns 100. Exemplarily, the memory may include n data columns 100, and the target column includes m data columns 100, where both m and n are positive integers, and m < n. The m data columns 100 in the target column need to perform data read and write operations synchronously. For example, 128 data columns 100 can perform read and write operations synchronously. In the embodiments of the present application, 128 data columns 100 performing data read and write operations simultaneously are taken as an example for illustration. Therefore, if 8 target data bits in the target column need to be written and the remaining 120 bits of data need to be kept unchanged, it is necessary to first read 128 bits of old data simultaneously from the 128 data columns in the target column, modify 8 bits of the data, and then store the modified data back into the target column of the storage array in subsequent steps.

[0060] Continuing to refer to Figure 2 , the plurality of storage units 110 in this embodiment are arranged in an array. The plurality of storage units 110 located in the same row are connected to the same word line 300, and the plurality of storage units 110 located in the same column are connected to the same bit line 200. That is, the number of word lines in the storage array is the same as the number of rows of the storage unit 110 array, and the number of bit lines 200 in the storage array is the same as the number of columns of the storage unit 110 array.

[0061] Still further, the memory includes a plurality of data lines 600, and the data lines 600 are electrically connected to the data columns 100 in a one-to-one correspondence. It can be understood that the one-to-one electrical connection can be either a direct connection or an indirect connection realized through structures such as sense amplifiers 400 and various control switches. Among them, the indirect connection method can achieve a more accurate control function.

[0062] In this embodiment, the column selection line 500 and the data line 600 are arranged in one-to-one correspondence with the bit line 200, and a first column selection switch 510 is further arranged between the column selection line 500 and the data line 600, the control end of the first column selection switch 510 is connected to the column selection line 500, the first end of the first column selection switch 510 is connected to the bit line 200, and the second end of the first column selection switch 510 is connected to the data line 600. Therefore, the first column selection switch 510 is used to select to turn on or off the data transmission path between the sense amplifier 400 and the data line 600 under the control of the signal transmitted on the column selection line 500. That is, at least the bit line 200, the sense amplifier 400, the first column selection switch 510 and the data line 600 are arranged between the memory cell 110 and the external data pin, and the above multiple devices and structures together constitute the data transmission path of the stored data.

[0063] It should be noted that, in order to simplify the drawings, only one storage unit 110 and its corresponding structure will be shown in other embodiments. The corresponding structure specifically includes a bit line 200, a word line 300, a sensitive amplifier 400, a column selection line 500, a first column selection switch 510 and a data line 600, etc., which will not be repeated in other embodiments.

[0064] S200: updating the old data according to the data to be written carrying the target data bit information to generate new data;

[0065] The target data bits refer to multiple data bits to which new storage data needs to be written, and the multiple data bits can be understood as multiple storage units 110. The target data bit information refers to the address information corresponding to the target data bits, and the address information may include storage block information, row information, column information, etc. In this embodiment, the above update can be achieved by overwriting part of the data to be written to generate new data.

[0066] Exemplarily, assuming that "XX01101110XX" is read from the target column as old data, the old data can be updated to "XX10010001XX" through step S200, and the updated old data is used as new data. It should be noted that, in order to simplify the description, the above example only specifically shows the data bits of the old data that need to be updated, that is, the target data bits, and the data content stored in the non-target data bits is omitted, that is, "X" is used to represent the omitted non-target data bits. Among them, the data of multiple target data bits and the data of multiple non-target data bits together constitute new data. For example, the data of 8 target data bits and the data of 120 non-target data bits together constitute 128 bits of new data.

[0067] S300: writing the new data into the target column;

[0068] Specifically, all the first column selection switches 510 corresponding to the target column can be turned on at the same time, so that the new data on the multiple data lines 600 corresponding to the target column are synchronously transmitted to the corresponding bit lines 200. The 128-bit new data is written into the storage unit 110 one by one at the same time, and the writing method is the same as the writing method of conventional storage data. That is, the data writing method of this embodiment can be implemented based on the control circuit of the existing storage array without the need to set up an additional control circuit, and there is no need for special control to open only part of the first column selection switches 510. Moreover, based on the same writing method as the conventional storage data, the control logic of the writing method of this embodiment is also relatively simple, which can achieve more convenient compatibility with existing memories.

[0069] Figure 3 for Figure 1 The timing diagram corresponding to the data writing method of the embodiment is shown in FIG. Figure 3 In this embodiment, when writing data, the word line 300 is kept open at all times, and the reading and writing of the signal can be controlled by the column selection line 500. Specifically, for non-target data bits, the data stored therein remains unchanged. For target data bits, the old data needs to be updated, that is, the old data is replaced by new data. Exemplarily, in response to the high level state of the column selection line 500, the first column selection switch 510 can be opened to transfer the old data to the data line 600, and then the old data is updated at the data line 600, and after the old data is updated to the data to be written to generate new data, in response to the high level state of the column selection line 500, the first column selection switch 510 is opened to transfer the data to be written back to the corresponding storage unit 110.

[0070] In this embodiment, a data writing method is used to write data to a storage array of a memory, and the data writing method includes: reading old data from a target column in the storage array; updating the old data according to the data to be written carrying the target data bit information to generate new data; writing the new data to the target column; wherein the memory includes a plurality of data columns 100, data needs to be written to the target column, and the target column includes a plurality of the data columns 100. Based on the above steps, the method of this embodiment can be compatible with the existing memory structure to perform accurate data writing, thereby realizing a data writing method without setting up an additional hardware structure.

[0071] Figure 4 is a flowchart of the data writing method of the second embodiment, refer to Figure 4In this embodiment, step S200 includes the following steps: S210: overwriting the data of the target data bit in the old data according to the data to be written to generate the new data. The overwriting operation can be achieved by adjusting the voltage of the new data signal. For example, if the old data of the target data bit is 0, that is, a low level, a high-level voltage signal can be transmitted to the corresponding bit line 200 to pull the signal on the bit line 200 to 1, thereby rewriting the data stored in the storage unit 110 to achieve overwriting of the old data.

[0072] Figure 5 is a schematic diagram of the structure of the memory of the second embodiment, referring to Figure 5 In this embodiment, the storage unit 110 includes a storage capacitor C and a data switch M0, a first end of the data switch M0 is connected to the storage capacitor C, and a second end of the data switch M0 is connected to the bit line 200. Further, the data switch M0 can be an NMOS transistor, a gate of the data switch M0 is connected to the word line 300, a drain of the data switch M0 is connected to the bit line 200, and a source of the data switch M0 is grounded or connected to half of the power supply voltage through the storage capacitor C. When the capacitor plate voltage connected to the data switch M0 is the power supply voltage, the stored data is "1", that is, high-level data is stored; when the capacitor plate voltage connected to the data switch M0 is 0, the stored data is "0", that is, low-level data is stored.

[0073] Further, Figure 6 Flow chart of the data writing method of the third embodiment, in this embodiment, the overwriting operation of the old data in step S210 in the above embodiment can be performed on the data line 600. Accordingly, step S100 includes the following steps: S110: reading the old data from the target column to the corresponding data line 600, so as to read the data to the data line 600.

[0074] Specifically, refer to Figure 6 , step S110 may include step S111 to step S112.

[0075] S111: reading old data from the target column to the corresponding bit line 200;

[0076] The data of the m data columns 100 included in the target column are read one by one to the corresponding bit lines 200. Specifically, the first end and the second end of the data switch M0 can be turned on to read the data from the storage capacitor C of the target column to the bit line 200. A valid word line signal can be transmitted to the word line 300 corresponding to the target column to turn on the first end and the second end of the data switch M0.

[0077] S112 : Transmitting the data on the bit line 200 to the corresponding data line 600 .

[0078] The data on the m bit lines 200 are transmitted one by one to the corresponding data lines 600. Specifically, the first end and the second end of the first column selection switch 510 can be turned on to read data from the bit line 200 to the data line 600. A valid enable signal can be transmitted to the first column selection line 500 corresponding to the first column selection switch 510 to turn on the first end and the second end of the first column selection switch Msc1.

[0079] Accordingly, continue to refer to Figure 6 , step S210 includes the steps: S211: overwriting the data on the corresponding data line 600 according to the data to be written to generate the new data. It can be understood that the data reading and overwriting method of this embodiment is compatible with the data reading method of the existing memory, that is, the above-mentioned overwriting operation can be realized without setting a special data reading control method or setting an additional hardware structure.

[0080] Figure 7 is a schematic diagram of the structure of the memory of the third embodiment, referring to Figure 7 In this embodiment, the memory further includes a plurality of reference bit lines 210, and the reference bit lines 210 correspond one to one with the bit lines 200. In this embodiment, by differentially transmitting signals together with the bit lines 200 and the reference bit lines 210, the reliability of data transmission can be effectively improved, thereby improving the reliability of the memory. Further, the sense amplifier 400 corresponds one to one with the bit lines 200, and is connected between the corresponding bit lines 200 and the reference bit lines 210, that is, the sense amplifier 400 is configured with at least two input terminals and two output terminals, the two input terminals are respectively connected to the bit lines 200 and the reference bit lines 210 in one to one correspondence, and the two output terminals are also respectively connected to the bit lines 200 and the reference bit lines 210 in one to one correspondence, thereby amplifying the voltage difference between the bit lines 200 and the reference bit lines 210.

[0081] Furthermore, the data transmitted on the reference bit line 210 may have a phase opposite to that of the data transmitted on the bit line 200. The phase opposite means that if the data transmitted on the bit line 200 is 1, the data transmitted on the reference bit line 210 is 0; if the data transmitted on the bit line 200 is 0, the data transmitted on the reference bit line 210 is 1. It can be understood that the signal can be pulled up to a high level signal or pulled down to a low level signal through the amplification of the sense amplifier 400. However, before the signal is fully amplified by the sense amplifier 400, the voltage on the bit line 200 for transmitting data 1 is not a high level signal in an absolute sense, but is only slightly higher than the voltage on the reference bit line 210. Similarly, the voltage on the bit line 200 for transmitting data 0 is not a low level signal in an absolute sense, but is only slightly lower than the voltage on the reference bit line 210.

[0082] Based on the above structure, Figure 8 This is a sub-flow chart of step S111 of an embodiment, refer to Figure 8 In this embodiment, step S111 includes steps S1111 to S1113.

[0083] S1111: Read the old data from the target column;

[0084] S1112: transmitting the old data to the corresponding bit line 200, and transmitting a reference voltage to the corresponding reference bit line 210;

[0085] S1113 : Control the sense amplifier 400 to amplify the voltage difference between the connected bit line 200 and the reference bit line 210 , so as to amplify the data on the bit line 200 and the reference bit line 210 .

[0086] Specifically, combined Figure 7 and Figure 8 The amplification process of the sense amplifier 400 is described. Figure 7 As shown, the sense amplifier 400 includes a plurality of transistors, the plurality of transistors include two N-type transistors and two P-type transistors, the two N-type transistors are respectively a first N-type transistor M2 and a second N-type transistor M4, and the two P-type transistors are respectively a first P-type transistor M1 and a second P-type transistor M3.

[0087] Specifically, the source terminal of the first P-type transistor M1 is connected to the source terminal of the second P-type transistor M3, and are commonly connected to the second control signal line 420; the source terminal of the first N-type transistor M2 is connected to the source terminal of the second N-type transistor M4, and are commonly connected to the first control signal line 410; the drain terminal of the first P-type transistor M1 is connected to the drain terminal of the first N-type transistor M2, and is connected to the second node Q2; the drain terminal of the second P-type transistor M3 is connected to the drain terminal of the second N-type transistor M4, and is connected to the first node Q1.

[0088] Further, continue to refer to Figure 7 , the memory further includes a precharge module 700, which is connected to the bit line 200 and the reference bit line 210, respectively. In this embodiment, the first node Q1 and the second node Q2 of the sense amplifier 400 are connected to the bit line 200 and the reference bit line 210, respectively, so that in the precharge stage of the sense amplifier 400, the first node Q1 and the second node Q2 are both charged to a preset voltage value, wherein the preset voltage value may be half of the power supply voltage, i.e., Vcc / 2. In other specific implementations, the preset voltage value may also be set to other values, such as higher than Vcc / 2 or lower than Vcc / 2, according to circuit requirements.

[0089] Furthermore, another pre-charging module may be provided between the second control signal line 420 and the first control signal line 410 to charge both the second control signal line 420 and the first control signal line 410 to a preset voltage value during the pre-charging stage of the sense amplifier 400. Figure 7 The pre-charging module 700 in has the same circuit structure.

[0090] Continue to refer Figure 7 , the pre-charge module 700 includes a first pre-charge transistor M5, a second pre-charge transistor M6 and a third pre-charge transistor M7, the three control terminals of the first pre-charge transistor M5, the second pre-charge transistor M6 and the third pre-charge transistor M7 are all connected to the pre-charge control line 710, and the source terminal of the first pre-charge transistor M5 is connected to the source terminal of the second pre-charge transistor M6, and is commonly connected to the preset voltage Vcc / 2, the drain terminal of the first pre-charge transistor M5 is connected to the bit line 200, the drain terminal of the second pre-charge transistor is connected to the reference bit line 210, and the source terminal and the drain terminal of the third pre-charge transistor M7 are respectively connected to the bit line 200 and the reference bit line 210 in a one-to-one correspondence. Exemplarily, the preset voltage is Vcc / 2 for explanation. When the pre-charge control line 710 transmits a valid enable signal, the three pre-charge transistors are all turned on, and the bit line 200 and the reference bit line 210 can be charged to Vcc / 2. In other specific embodiments, those skilled in the art can reasonably set the structure of the pre-charge module 700 and the preset voltage value according to actual needs.

[0091] Furthermore, the working mode of the memory is further described in combination with the sense amplifier 400 and the pre-charging module 700. The memory includes multiple working stages, specifically including: a pre-charging stage, a charge sharing stage, and a signal amplification stage.

[0092] In the pre-charging stage, the first node Q1 and the second node Q2 are pre-charged by the pre-charging module 700, so that the voltage of the bit line 200 and the voltage of the reference bit line 210 are both pre-charged to a preset voltage value, for example, Vcc / 2. At the same time, the second control signal line 420 and the first control signal line 410 are also pre-charged to Vcc / 2. In the charge sharing stage, the word line 300 controls the data switch M0 to open, so as to share the charge stored in the storage unit to the bit line 200. In the signal amplification stage, the data on the bit line 200 and the reference bit line 210 are amplified by the sense amplifier 400.

[0093] In one embodiment, a mismatch elimination stage may be configured after the pre-charging stage, and the memory may further include an offset voltage compensation control module, and the voltage compensation control module may include a plurality of transistor switches to compensate for the adverse effects of transistor performance mismatch on data amplification in the sense amplifier 400. When in the mismatch elimination stage, the pre-charging module 700 does not work, that is, the plurality of pre-charging transistors in the pre-charging module 700 are all in a disconnected state.

[0094] Wherein, the mismatch elimination stage includes a first mismatch elimination stage. Exemplarily, in the first mismatch elimination stage, the first PMOS transistor M1 and the second PMOS transistor M3 can be configured as a diode connection mode through the offset voltage compensation control module, and the first NMOS transistor M2 and the second NMOS transistor M4 can be configured as an amplification mode, and the mismatch voltage can be amplified by gain to form an over-drive mode, so as to accelerate the establishment of a voltage difference for compensation and store it on the parasitic capacitance of the bit line 200 and the reference bit line 210. In another exemplary manner, the first PMOS transistor M1 and the second PMOS transistor M3 can also be configured as an amplification mode through the offset voltage compensation module, and the first NMOS transistor M2 and the second NMOS transistor M4 can be configured as a diode connection mode, and the mismatch voltage can also be amplified by gain to form an over-drive mode, so as to accelerate the establishment of a voltage difference for compensation and store it on the parasitic capacitance of the bit line 200 and the reference bit line 210.

[0095] Furthermore, the mismatch elimination stage may also include a second mismatch elimination stage, using a second mismatch elimination method, including: configuring the first PMOS transistor M1, the second PMOS transistor M3, the first NMOS transistor M2 and the second NMOS transistor M4 to be in diode connection mode, and adjusting the compensation voltage.

[0096] In the above specific mismatch elimination process, the first mismatch elimination method has the advantage of fast speed, but the disadvantage is that the time is not easy to control, and over-compensation will occur as time goes by. The second mismatch elimination method has the advantage of having the final stable and expected ideal compensation as time goes by, but the disadvantage is that it takes a long time.

[0097] Therefore, in another embodiment, the first mismatch elimination method and the second mismatch elimination method can be combined, and the mismatch elimination stage can be divided into the first mismatch elimination stage and the second mismatch elimination stage. In order to avoid over-compensation, the second mismatch elimination stage can be performed after the first mismatch elimination stage. The combination of the two can achieve a faster compensation speed without the problem of over-compensation, and the dependence on the process, voltage and temperature of the transistor in time control is small.

[0098] Continue to refer Figure 7 In one embodiment, the memory further includes a plurality of reference data lines 610, wherein the reference data lines 610 are arranged in one-to-one correspondence with the data lines 600, and at least one latch is connected between the data lines 600 and the reference data lines 610, and each latch is used to latch data of one data bit. Fig. 9 is a flowchart of a data writing method according to a fourth embodiment, referring to Fig. 9 In this embodiment, step S211 includes step S2111: transmitting the data to be written to the latch corresponding to the target data bit to overwrite the data in the latch. Specifically, the data to be written can be transmitted to the data line 600, and the inverted data of the data to be written can be transmitted to the reference data line 610, thereby overwriting the data in the latch. Further, after the data in the latch is overwritten and the first column selection switches Mcs1 and Mcs2 are kept open, the data on the bit line 200 and the reference bit line 210 will change accordingly, thereby realizing the writing of new data.

[0099] Continue to refer Figure 7, corresponding to the reference data line 610, the memory further includes a plurality of second column selection switches Msc2, a first end of the second column selection switch Msc2 is connected to the reference bit line 210, a second end of the second column selection switch Msc2 is connected to the reference data line 610, a control end of the second column selection switch Msc2 is connected to the column selection line 500, and the second column selection switch Msc2 is used to control the on-off of the data transmission path between the reference bit line 210 and the reference data line 610. Therefore, step S112 further includes: transmitting the data on the reference bit line 210 to the corresponding reference data line 610. That is, all the second column selection switches Msc2 corresponding to the target column are turned on, so that the data on the plurality of reference bit lines 210 corresponding to the target column are synchronously transmitted to the corresponding reference data line 610.

[0100] In one embodiment, further, before step S2111, the method may further include: disconnecting the data transmission path between the bit line 200 and the corresponding data line 600; accordingly, before step S300, the method may further include: connecting the data transmission path between the bit line 200 and the corresponding data line 600. It can be understood that the setting method of this embodiment can ensure that when the latch on the data line 600 is overwritten with data, the voltage on the bit line 200 will not affect the voltage on the data line 600, thereby ensuring the accuracy of the data in the latch.

[0101] In one embodiment, step S112 includes: turning on all first column selection switches Msc1 corresponding to the target column, so that the new data on the plurality of bit lines 200 corresponding to the target column are synchronously transmitted to the corresponding data lines 600. Accordingly, before step S300, it also includes: turning on all first column selection switches Msc1 corresponding to the target column, so that the new data on the plurality of data lines 600 corresponding to the target column are synchronously transmitted to the corresponding bit lines 200.

[0102] It is understandable that when the data to be written is written into the latch, a certain amount of power consumption is generated, and if the data transmission path between all target columns and the corresponding data line 600 is connected, during the data writing process, the charge stored in the target column will have a certain impact on the writing, thereby increasing the power consumption of the writing. Therefore, in this embodiment, by closing the data transmission path between the target column and the corresponding data line 600 before writing into the latch, and opening the data transmission path between the target column and the corresponding data line 600 after writing, the invalid power consumption during writing can be reduced to a large extent, thereby improving the efficiency of the data writing method and reducing the total power consumption of the memory.

[0103] Fig.10 is a flowchart of a data writing method according to the fifth embodiment, referring to Fig.10 In this embodiment, the data writing method further includes: S400: transmitting an enable invalid word line signal to the word line 300 to disconnect the data transmission path between the storage capacitor C and the bit line 200.

[0104] It should be understood that, although the steps in each flowchart are shown in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in each flowchart may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.

[0105] The embodiment of the present application also provides a memory, including: a memory array, including a plurality of data columns 100; a controller, connected to the memory array, for controlling the memory array to execute the above-mentioned data writing method. Based on the above-mentioned data writing method, the embodiment provides a memory with a simple hardware structure and accurate writing results.

[0106] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0107] The above embodiments only express several implementation methods of the embodiments of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the embodiments of the present application, and these all belong to the protection scope of the embodiments of the present application. Therefore, the protection scope of the patent of the embodiments of the present application shall be subject to the attached claims.

Claims

1. A data writing method for writing data to a storage array of a memory, characterized in that: The data writing method comprises: Read old data from a target column in the storage array to a corresponding data line; Overwriting the corresponding data on the data line according to the data to be written carrying the target data bit information to generate new data, wherein the target data bit refers to a plurality of data bits to which new storage data needs to be written; Writing the new data to the target column; Wherein, the memory includes a plurality of data columns and a plurality of data lines, the data lines are electrically connected to the data columns in a one-to-one correspondence, data needs to be written into a target column, and the target column includes a plurality of the data columns; The storage unit of the storage array includes a storage capacitor and a data switch, and the old data is stored by the storage capacitor.

2. The data writing method according to claim 1, characterized in that: The memory includes a plurality of bit lines, the bit lines are connected to the data columns in a one-to-one correspondence, and the reading of the old data from the target column to the corresponding data line includes: Reading old data from the target column to the corresponding bit line; The data on the bit line is transmitted to the corresponding data line.

3. The data writing method according to claim 2, characterized in that: The memory further includes a plurality of reference bit lines and a plurality of sense amplifiers, wherein the reference bit lines correspond to the bit lines one by one, and the sense amplifiers correspond to the bit lines one by one and are connected between the corresponding bit lines and the reference bit lines, and the reading of old data from the target column to the corresponding bit line includes: Read the old data from the target column; Transmitting the old data to the corresponding bit line, and transmitting a reference voltage to the corresponding reference bit line; The sense amplifier is controlled to amplify a voltage difference between the connected bit line and the reference bit line to amplify data on the bit line and the reference bit line.

4. The data writing method according to claim 3, characterized in that: The memory further includes a plurality of reference data lines, the reference data lines correspond to the data lines one by one, at least one latch is connected between the data lines and the reference data lines, each latch is used to latch data of one data bit, and overwriting the data on the corresponding data line according to the data to be written includes: The data to be written is transmitted to the latch corresponding to the target data bit to cover the data in the latch.

5. The data writing method according to claim 4, characterized in that: Before transmitting the data to be written to the latch corresponding to the target data bit, the method further includes: disconnecting the data transmission path between the bit line and the corresponding data line; Before writing the new data into the target column, the method further includes: turning on a data transmission path between the bit line and the corresponding data line.

6. The data writing method according to claim 3, characterized in that: The transmitting reference voltage to the corresponding reference bit line comprises: The reference bit line is precharged to half of the power supply voltage.

7. The data writing method according to claim 3, characterized in that: The data column includes a plurality of storage units, the data switch is used to control the on / off of the data transmission path between the storage capacitor and the bit line, and the transmitting the old data to the corresponding bit line includes: The data switch is turned on to read data from the storage capacitor corresponding to the target column to the corresponding bit line.

8. The data writing method according to claim 7, characterized in that: The memory further includes a plurality of word lines, wherein the word lines are connected to the control end of the data switch, and turning on the data switch includes: Transmitting a valid enabling word line signal to the word line to turn on the first end and the second end of the data switch; The data writing method further includes: transmitting an enable-invalid word line signal to the word line to disconnect a data transmission path between the storage capacitor and the bit line.

9. The data writing method according to claim 4, characterized in that: The memory further comprises a plurality of first column selection switches, wherein the first column selection switches are used to control the on and off of the data transmission path between the bit line and the corresponding data line; The transmitting the data on the bit line to the corresponding data line comprises: All first column selection switches corresponding to the target column are turned on, so that new data on the plurality of bit lines corresponding to the target column are synchronously transmitted to the corresponding data lines.

10. The data writing method according to claim 9, characterized in that: The writing the new data into the target column comprises: All first column selection switches corresponding to the target column are turned on, so that new data on the plurality of data lines corresponding to the target column are synchronously transmitted to the corresponding bit lines.

11. The data writing method according to claim 9, characterized in that: The memory further comprises a plurality of second column selection switches, wherein the second column selection switches are used to control the on and off of the data transmission path between the reference bit line and the reference data line; The step of reading the old data from the target column to the corresponding data line further includes: All second column selection switches corresponding to the target column are turned on, so that data on the plurality of reference bit lines corresponding to the target column are synchronously transmitted to the corresponding reference data lines.

Citation Information

Patent Citations

  • Memory circuit and charge sensing method

    CN101533668A

  • Memory subsystem for counter-based and other applications

    CN103155041A

  • Method and device for write operation of NAND Flash storage device with differential storage

    CN103680610A

  • Dram-type device with low variation transistor peripheral circuits, and related methods

    CN104854698A

  • Semiconductor device

    CN109935257A