Memory and control method for memory, and storage system and electronic device

By introducing a strobe circuit and a sensitive amplifier into the memory to detect the leakage of the memory cell, and using the repair circuit to restore the electrical performance, the problem of leakage in the memory is solved, data loss is avoided, and the performance and life of the memory are improved.

WO2024198549A1PCT designated stage expired Publication Date: 2024-10-03HUAWEI TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/140003
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-31
Filing Date
2023-12-19
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

There is a problem in existing memories that it is difficult to detect whether the storage cells are leaking, resulting in data loss.

Method used

By introducing a gate circuit and a sensitive amplifier into the memory, the reference voltage is used to detect the voltage change of the memory cell to determine whether there is leakage, and a repair voltage is applied through the repair circuit to restore the electrical performance of the memory cell.

Benefits of technology

Effectively detect and repair leaky memory cells to avoid data loss and improve memory usage efficiency and service life.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023140003_03102024_PF_FP_ABST
    Figure CN2023140003_03102024_PF_FP_ABST
Patent Text Reader

Abstract

The embodiments of the present application relate to the technical field of storage. Provided are a memory and a control method for a memory, and a storage system and an electronic device. The memory comprises: a first storage cell array, a second storage cell array, a first bit line coupled to each row of storage cells in the first storage cell array and in the second storage cell array, and a plurality of sense amplifiers and a gating circuit, wherein a first input end of each sense amplifier is coupled to a first bit line corresponding to a row of storage cells in the first storage cell array, a second input end thereof is coupled to a first bit line corresponding to a row of storage cells in the second storage cell array, and a third input end thereof is used for receiving a reference voltage; the plurality of sense amplifiers are further coupled to the gating circuit; and the gating circuit is used for enabling one of the second input end or third input end of the sense amplifier. By means of the present application, whether a storage unit leaks electricity can be detected, thereby solving the problem of it being difficult to detect whether a storage unit leaks electricity.
Need to check novelty before this filing date? Find Prior Art

Description

Memory, memory control method, storage system, and electronic device

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on March 31, 2023, with application number 202310379023.7 and application name “Memory and memory control method, storage system, electronic device”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The embodiments of the present application relate to the field of storage technology, and in particular to a memory and a memory control method, a storage system, and an electronic device. Background Art

[0003] With the development of internet technology and the ever-increasing amount of information, memory chips have become a crucial component of the integrated circuit market. Gain-cell memory enables high-speed read and write operations and high-density integration. Memory with a 2-transistor zero capacitance (2T0C) structure can achieve read speeds as low as nanoseconds, while occupying only one-third the area of ​​static random-access memory (SRAM). However, memories using oxide semiconductors or other materials as the conductive channel of transistors can exhibit electrical instability. For example, after a period of operation, leakage may occur within the memory cells. Therefore, detecting leakage in memory cells is a pressing technical challenge.

[0004] Summary of the Invention

[0005] Embodiments of the present application provide a memory, a memory control method, a memory system, and an electronic device, which solve the problem in the prior art of difficulty in detecting whether a memory cell is leaking electricity.

[0006] To achieve the above objectives, the present invention adopts the following technical solutions:

[0007] In a first aspect, a memory is provided, comprising: a first memory cell array, a second memory cell array, a plurality of first bit lines, a plurality of sense amplifiers, and a gating circuit. Each row of memory cells in the first memory cell array and the second memory cell array is coupled to one of the plurality of bit lines. A first input terminal of each of the plurality of sense amplifiers is coupled to a first bit line corresponding to a row of memory cells in the first memory cell array, a second input terminal of the sense amplifier is coupled to a first bit line corresponding to a row of memory cells in the second memory cell array, and a third input terminal of the sense amplifier is configured to receive a reference voltage. The plurality of sense amplifiers are further coupled to the gating circuit. The gating circuit is configured to enable one of the second input terminal or the third input terminal of the sense amplifier.

[0008] In the above technical solution, by setting a selection circuit to enable one of the second input terminal or the third input terminal of the sensitive amplifier, it is possible to detect whether the storage cell is leaking, thereby solving the problem of difficulty in detecting whether the storage cell is leaking, and avoiding storing data in the leaking storage cell and thus data loss.

[0009] In one possible implementation of the first aspect, the memory further includes a reference voltage generating circuit, wherein a third input terminal of each of the plurality of sense amplifiers is coupled to the reference voltage generating circuit, and the reference voltage generating circuit is configured to output a fixed reference voltage. In this possible implementation, by utilizing the fixed value of the reference voltage, a voltage of a bit line coupled to the first memory cell array can be compared with the reference voltage, thereby detecting whether the memory cell is leaking. This solves the problem of difficulty in detecting whether the memory cell is leaking, and prevents data from being stored in a leaking memory cell, which could lead to data loss.

[0010] In one possible implementation of the first aspect, the memory further includes a repair circuit, a word line driver circuit, and a first word line coupled to each column of memory cells in the first memory cell array. The word line driver circuit is coupled to multiple first word lines corresponding to the first memory cell array, and the repair circuit is coupled to the output ends of the multiple sense amplifiers and the word line driver circuit. The repair circuit is configured to control the word line driver circuit to apply a repair voltage to the first word line. In this possible implementation, the repair circuit is configured to control the word line driver circuit to apply a repair voltage to the first word line. By applying voltage or current, the leaking memory cell is repaired, thereby restoring good electrical performance to the memory and improving the memory's efficiency and service life.

[0011] In one possible implementation of the first aspect, the memory cell includes a first transistor coupled to the first bit line, and the repair voltage is greater than a voltage that turns on the first transistor of the memory cell. In this possible implementation, a repair circuit is provided to control a word line driver circuit to apply a repair voltage to the first word line, wherein the repair voltage is greater than a voltage that turns on the first transistor of the memory cell, thereby restoring good electrical performance to the memory and improving its efficiency and service life.

[0012] In a possible implementation of the first aspect, the first transistor of the memory cell includes a first terminal and a control terminal, and the memory cell also includes a second transistor, the second transistor including a first terminal and a control terminal, the first terminal of the first transistor being coupled to the first bit line, the first terminal of the second transistor being coupled to the control terminal of the first transistor, and the control terminal of the second transistor being coupled to the first word line. In this possible implementation, by configuring a gating circuit to enable one of the second input terminal or the third input terminal of the sense amplifier, it is possible to detect whether the first transistor or the second transistor in the memory cell is leaking, thereby resolving the difficulty in detecting whether the memory cell is leaking and the difficulty in detecting which transistor in the memory cell is leaking. This can prevent data from being stored in a leaking memory cell, which could lead to data loss.

[0013] In a possible implementation of the first aspect, the memory further includes a bit line driver circuit and a second bit line coupled to each row of memory cells in the first memory cell array, the bit line driver circuit being coupled to a plurality of second bit lines corresponding to the first memory cell array, and the second transistor further including a second end, the second end of the second transistor being coupled to the second bit line. The repair circuit is further configured to control the bit line driver circuit to apply the repair voltage to the second bit line. In the above possible implementation, a repair circuit is configured to control the word line driver circuit to apply the repair voltage to the first word line and the second bit line. By applying a voltage or current, the first transistor of the leaking memory cell is repaired, so that the memory regains good electrical performance, thereby improving the memory's efficiency and service life.

[0014] In one possible implementation of the first aspect, the memory is further coupled to a memory controller, which includes a register. The register is configured to store detection enable information, which is used to trigger the gating circuit and the sense amplifier to detect whether the first memory cell array is leaking. In this possible implementation, by storing the detection enable information in the register, the gating circuit and the sense amplifier can be triggered to detect whether the first memory cell array is leaking. This solves the problem of difficulty in detecting whether a memory cell is leaking and the problem of difficulty in detecting which transistor in a memory cell is leaking, thereby preventing data from being stored in a leaking memory cell, which could lead to data loss.

[0015] In a second aspect, a method for controlling a memory is provided. The memory includes: a first memory cell array, a second memory cell array, a plurality of first bit lines, a plurality of sense amplifiers, and a gating circuit. Each row of memory cells in the first memory cell array and the second memory cell array is coupled to one of the plurality of bit lines. A first input terminal of each of the plurality of sense amplifiers is coupled to a first bit line corresponding to a row of memory cells in the first memory cell array, a second input terminal of the sense amplifier is coupled to a first bit line corresponding to a row of memory cells in the second memory cell array, and a third input terminal of the sense amplifier is used to receive a reference voltage. The plurality of sense amplifiers are also coupled to the gating circuit. The method includes enabling one of the second input terminal or the third input terminal of the sense amplifier via the gating circuit.

[0016] In a possible implementation of the second aspect, the memory further includes a reference voltage generation circuit, and the third input terminal of each of the plurality of sense amplifiers is coupled to the reference voltage generation circuit. The method further includes: outputting the reference voltage through the reference voltage generation circuit, where the reference voltage is a fixed value.

[0017] In a possible implementation of the second aspect, the memory further includes a repair circuit, a word line driver circuit, and a first word line coupled to each column of memory cells in the first memory cell array, the word line driver circuit being coupled to a plurality of first word lines corresponding to the first memory cell array, and the repair circuit being coupled to output ends of the plurality of sense amplifiers and the word line driver circuit. The method further includes: controlling the word line driver circuit, via the repair circuit, to apply a repair voltage to the first word line.

[0018] In a possible implementation manner of the second aspect, the memory cell includes a first transistor coupled to the first bit line, and the repair voltage is greater than a voltage that turns on the first transistor of the memory cell.

[0019] In a possible implementation of the second aspect, the first transistor of the storage unit includes a first end and a control end, the storage unit also includes a second transistor, the second transistor includes a first end and a control end, the first end of the first transistor is coupled to the first bit line, the first end of the second transistor is coupled to the control end of the first transistor, and the control end of the second transistor is coupled to the first word line.

[0020] In a possible implementation of the second aspect, the memory further includes a bit line driver circuit and a second bit line coupled to each row of memory cells in the first memory cell array, the bit line driver circuit being coupled to a plurality of second bit lines corresponding to the first memory cell array, the second transistor further including a second terminal, the second terminal of the second transistor being coupled to the second bit line. The method further includes: controlling the bit line driver circuit, via the repair circuit, to apply the repair voltage to the second bit line.

[0021] In a possible implementation of the second aspect, the memory is further coupled to a memory controller, the memory controller including a register. The method further includes: storing detection start information in the register, the detection start information being used to trigger the gating circuit and the sense amplifier to detect whether the first memory cell array has leakage.

[0022] According to a third aspect, a storage system is provided, comprising: a memory controller and a memory provided by the first aspect or any possible implementation of the first aspect.

[0023] In a fourth aspect, an electronic device is provided, comprising: a processor and a memory provided by the first aspect or any possible implementation of the first aspect.

[0024] It is understood that any of the above-mentioned memory control methods, memory systems, or electronic devices are applicable to the above-mentioned memory or implement corresponding functions through the memory. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects of the corresponding memory provided above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] FIG1 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;

[0026] FIG2 is a schematic diagram of the structure of a storage system provided in an embodiment of the present application;

[0027] FIG3 is a schematic diagram of a memory cell with a 1T1C structure provided in an embodiment of the present application;

[0028] FIG4 is a schematic diagram of a memory cell with a 2T0C structure provided in an embodiment of the present application;

[0029] FIG5 is a schematic diagram of the electrical performance of a memory cell before and after leakage according to an embodiment of the present application;

[0030] FIG6 is a first structural diagram of a memory provided in an embodiment of the present application;

[0031] FIG7 is a first structural diagram of a first memory cell array provided in an embodiment of the present application;

[0032] FIG8 is a second structural diagram of a memory provided in an embodiment of the present application;

[0033] FIG9 is a second structural diagram of a first memory cell array provided in an embodiment of the present application;

[0034] FIG10 is a third structural diagram of a memory provided in an embodiment of the present application;

[0035] FIG11 is a schematic diagram of the electrical performance of a memory cell before and after repair according to an embodiment of the present application;

[0036] FIG12 is a schematic diagram of a process for detecting and repairing a storage cell with a 2TnC structure according to an embodiment of the present application;

[0037] FIG13 is a flow chart of a method for controlling a memory provided in an embodiment of the present application. DETAILED DESCRIPTION

[0038] The technical solutions of the present disclosure will be further described in detail below with reference to the accompanying drawings and examples. Although the accompanying drawings illustrate exemplary implementations of the present disclosure, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments described herein. Rather, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0039] The following paragraphs describe the present disclosure in more detail by way of example with reference to the accompanying drawings. The advantages and features of the present disclosure will become more apparent from the following description and claims. It should be noted that the drawings are highly simplified and not to exact scale, and are intended solely to facilitate and clearly illustrate the embodiments of the present disclosure.

[0040] In the embodiments of the present disclosure, the terms "first" and "second" are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be noted that the technical solutions described in the embodiments of the present disclosure can be arbitrarily combined without conflict.

[0041] The technical solutions of the embodiments of the present application can be applied to various electronic devices that include storage systems. For example, the technical solutions of the embodiments of the present application can be applied to computers, tablet computers, laptop computers, mobile phones, netbooks, wearable devices, vehicle-mounted devices, or camera devices. The electronic devices in the embodiments of the present application can include only a storage system or can include both a processor and a storage system. In actual applications, the electronic devices can also include one or more of multiple modules such as a communication module, a sensor module, a display module, and an input / output module. The embodiments of the present application do not impose any specific restrictions on the structure of the electronic devices.

[0042] For example, Figure 1 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. As shown in Figure 1, the electronic device may include at least: a storage system 101, a processor 102, a sensor component 103, a multimedia component 104, and an input / output interface 105. Furthermore, the storage system 101, the processor 102, the sensor component 103, the multimedia component 104, and the input / output interface 105 may be connected separately via a bus 106.

[0043] The storage system 101 may include a memory and a memory controller. The memory may be the main memory of the electronic device, and the memory may be connected to the memory controller via a double data rate (DDR) bus. The memory is typically used to store various running software in the operating system, input and output data, and information exchanged with external memory. Dynamic random access memory (DRAM) is typically used as the memory. The processor 102 can access the memory at high speed through the memory controller and perform read and write operations on any storage unit in the memory. DRAM is volatile, and when the electronic device is powered off, the information in the DRAM will no longer be saved.

[0044] Exemplarily, the memory in the storage system 101 is described as DRAM. Data is stored in the memory cell (MC) of the DRAM, which can also be referred to as cell. The memory cell can refer to the smallest storage unit for storing data. A memory cell can store 1 bit of data. Exemplarily, the MCs in the DRAM are arranged and distributed into a matrix, which is called a memory cell array (subarray), and several memory cell arrays form a memory bank (bank). Multiple banks can form a memory chip (DRAM chip), and multiple DRAM chips can form a memory column (rank). Multiple DRAM ranks can be integrated into a dual-inline-memory-modules (DIMM). The memory controller can write to the chips in the same rank, and the chips in the same rank also share the same control signal.

[0045] The processor 102 is the control center of the electronic device, connecting the various parts of the entire device using various interfaces and lines. The processor 102 may include multiple cores. An operating system and other software programs are installed in the processor 102, so that the processor 102 can access the storage system 101, cache, and disk. By running or executing software programs and / or software modules stored in the storage system 101 and accessing data stored in the storage system 101, the various functions of the electronic device are executed and data is processed, thereby monitoring the entire electronic device.

[0046] In some embodiments, the processor 102 may be a single processor structure, a multi-processor structure, a single-threaded processor, a multi-threaded processor, etc. In some embodiments, the processor 102 may include at least one of a central processing unit, a general-purpose processor, a digital signal processor, a neural network processor, a graphics processing unit (GPU), an image signal processor, a microcontroller, or a microprocessor. In addition, the processor 102 may further include other hardware circuits or accelerators, such as application-specific integrated circuits, field programmable gate arrays or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of the embodiments of the present application. The processor 102 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a digital signal processor and a microprocessor, and the like.

[0047] Sensor assembly 103 includes one or more sensors for providing various status assessments for the mobile phone. Sensor assembly 103 may include a light sensor, an accelerometer, a gyroscope, a magnetic sensor, a pressure sensor, or a temperature sensor. Sensor assembly 103 can detect acceleration / deceleration, orientation, open / close status, relative positioning of components, or temperature changes of the electronic device.

[0048] The multimedia component 104 can provide a screen as an output interface between the electronic device and the user. When the screen is a touch panel, the screen can be implemented as a touch screen to receive input signals from the user. In addition, the multimedia component 104 can also include at least one camera, which can be a fixed optical lens system or have focal length and optical zoom capabilities.

[0049] The input / output interface 105 provides an interface between the processor 102 and a peripheral interface module, such as a keyboard, a mouse, or a USB (Universal Serial Bus) device. In one possible implementation, there may be only one or more input / output interfaces 105 .

[0050] Although not shown, the electronic device may further include an audio component and a communication component, for example, the audio component includes a microphone, and the communication component includes a wireless fidelity (WiFi) module, a Bluetooth module, etc., which will not be described in detail in the embodiments of the present application.

[0051] The following is an introduction to the storage system 101 in the above-mentioned electronic device. FIG2 is a schematic diagram of the structure of a storage system provided in an embodiment of the present application. As shown in FIG2 , the storage system 101 may include at least: a memory controller 210 and a memory 220. The memory controller 210 may include a register 211. The memory 220 may include a command decoder 221, a control logic circuit 222, a memory cell array 223, an input / output circuit (IO) 224, a bit line driver circuit 225, a word line driver circuit (SWD) 226, and a sense amplifier (SA) 227. Specific embodiments are not limited to this and may include fewer or larger numbers of constituent components.

[0052] The memory controller 210 may send a command (CMD), an address (ADD), and data (DATA) to the memory 220. The memory 220 may receive the address sent by the memory controller 210 and perform an operation corresponding to the command on the data in the area selected by the address.

[0053] The command decoder 221 may receive a CMD from the memory controller 210 and may decode the received CMD. For example, the CMD may include a write command (WR), a read command (RD), an active command (ACT), and / or a precharge command (PRE).

[0054] The memory cell array 223 may include multiple memory cells. The multiple memory cells may be connected to multiple word lines (WL) and multiple bit lines (BL). The word lines may be connected to a word line driver circuit 226, and the bit lines may be connected to a bit line driver circuit 225. For example, the memory cell includes a transistor and a capacitor. The word line is used to enable the memory cell, and the bit line is used to charge the capacitor in each memory cell, so that the amount of electricity stored in the capacitor can be used to represent data 0 and 1. When the bit line is at a high level, the amount of electricity stored in the capacitor is more, or in other words, the charge in the capacitor is more. When the bit line is at a low level, the amount of electricity stored in the capacitor is less, or in other words, the charge in the capacitor is less. In one example, when the charge in the capacitor is more, it can be used to indicate that the data stored in the memory cell is "1", and when the charge is less, it can be used to indicate that the stored data is "0". In another example, when the charge in the capacitor is more, it can also be used to indicate that the stored data is "0", and when the charge is less, it can be used to indicate that the stored data is "1".

[0055] The control logic circuit 222 can control the components of the memory 220 based on the decoding result from the command decoder 221. For example, if the decoding result of the command decoder 221 indicates that the received CMD is an active command ACT, the control logic circuit 222 can control the word line driver circuit 226 to activate the word line indicated by the row address (RA) received along with the active command ACT. In this case, the data stored in the memory cell connected to the activated word line can be set (e.g., transferred, transmitted, output, etc.) to the input / output circuit 224 through the sense amplifier 227. For another example, if the decoding result of the command decoder 221 indicates that the received CMD is a read command RD, the control logic circuit 222 can control the input / output circuit 224 to output data from the bit line indicated by the column address (CA) received along with the read command RD. For another example, if the decoding result of the command decoder 221 indicates that the received CMD is a write command WR, the control logic circuit 222 can set the write data received from the memory controller 210 to the input / output circuit 224. For example, the memory controller 210 may send a precharge command PRE to the memory 220, which is used to activate and / or deactivate the word line. Specifically, when the decoding result of the command decoder 221 indicates that the received CMD is a precharge command PRE, the control logic circuit 222 may control the input / output circuit 224 and the bit line driver circuit 225 to precharge the bit line. The above briefly describes the basic principles of operations such as activation, reading, writing, and precharging. It is understood that the activation, reading, writing, and precharging operations in the following schemes can at least be implemented in the manner described above.

[0056] With the development of internet and cloud computing technologies, the information age is rapidly transitioning to the era of big data. The demand for storage systems continues to increase, and the ever-increasing amount of information has made memory chips a crucial component of the integrated circuit market. However, with the advancement of Moore's Law, the gap between processors and memory is widening. The growth rate of microprocessors has far outstripped the growth rate of memory, resulting in memory density and read / write speeds failing to keep up with processor operations. This has led to the emergence of a memory wall, impacting the overall performance of electronic devices. Continuous research in memory has led to the emergence of gain-cell memory, which enables high-speed read / write and high-density integration. Among these, the 2-transistor 0-capacitance (2T0C) structure offers read speeds as low as nanoseconds and occupies only one-third the area of ​​static random-access memory (SRAM). Taking DRAM as an example, DRAM uses the amount of charge stored in a capacitor to represent data 0s and 1s. Due to capacitor leakage, insufficient charge in the capacitor can result in stored data errors. Therefore, the memory controller periodically refreshes the data in the DRAM to prevent data loss. However, this results in significant dynamic power consumption. To this end, ultra-low leakage thin film transistors (TFTs) are used as transistors in memory, reducing dynamic power consumption. TFTs also have advantages such as low process temperatures and compatibility with traditional microelectronics processes. They can be applied to back-end of line (BEOL) processes, enabling heterogeneous integration and stacked integration, thereby increasing storage density.

[0057] Next, the memory cell in the memory 220 of the storage system 101 is described. The memory cell can have a 1TnC or 2TnC structure, where n is greater than or equal to 0. The transistor of the memory cell can be the aforementioned TFT, and the conductive channel can be made of an extremely low-leakage amorphous metal oxide, such as indium gallium zinc oxide (IGZO), or other wide-bandgap materials, thereby increasing the storage duration of the memory cell.

[0058] Among them, the transistors of the storage unit can be divided into two types: negative (N) type transistors and positive (P) type transistors. The transistor includes a source, a drain and a gate. The conduction or shutoff of the transistor can be controlled by controlling the level of the input transistor gate. When the transistor is turned on, the source and the drain are turned on, generating a conduction current, and when the gate level of the transistor is different, the magnitude of the conduction current generated between the source and the drain is also different; when the transistor is turned off, the source and the drain will not be turned on, and no current will be generated. In one example, the gate of the transistor is also called the control terminal, the source is called the first terminal, and the drain is called the second terminal; in another example, the gate is called the control terminal, the drain is called the first terminal, and the source is called the second terminal.

[0059] Furthermore, when the level at the control terminal is high, the N-type transistor is turned on, the first terminal and the second terminal are conductive, and a conduction current is generated between the first terminal and the second terminal. When the level at the control terminal is low, the N-type transistor is turned off, the first terminal and the second terminal are not conductive, and no current is generated. When the level at the control terminal is low, the P-type transistor is turned on, the first terminal and the second terminal are conductive, and a conduction current is generated. When the level at the control terminal is high, the P-type transistor is turned off, the first terminal and the second terminal are not conductive, and no current is generated. To provide a detailed description of the embodiments of the present application, the transistors in the embodiments of the present application are illustrated as N-type transistors, but this does not limit the present application.

[0060] For example, FIG3 is a schematic diagram of a memory cell with a 1T1C structure provided in an embodiment of the present application. The memory cell includes a capacitor 301 and a transistor 302. The gate of transistor 302 is coupled to WL as a control terminal, the first end of the source and drain of transistor 302 is coupled to BL, and the second end of the source and drain of transistor 302 is coupled to the second end of capacitor 301. The first end of capacitor 301 can be connected to a voltage terminal. The following describes the working principle of a memory cell with a 1T1C structure, taking the example of a capacitor with more charge indicating that the stored data is "1" and a capacitor with less charge indicating that the stored data is "0".

[0061] During a write operation, the word line driver circuit applies a high level to WL, which controls transistor 302 to conduct. The first and second terminals of transistor 302 are then conductive, and the voltage at BL is transferred from the first terminal of transistor 302 to the second terminal of transistor 302, i.e., the second terminal of capacitor 301. If the bit line driver circuit applies a high level to BL, capacitor 301 is charged, and the amount of charge stored in capacitor 301 is high, and the memory cell stores data "1." If the bit line driver circuit applies a low level to BL, capacitor 301 is discharged, and the amount of charge stored in capacitor 301 is low, and the memory cell stores data "0."

[0062] During a read operation, the word line driver circuit applies a high level to WL, and the control terminal of the transistor 302 is turned on through WL control. The first terminal and the second terminal of the transistor 302 are turned on, and the charge in the capacitor 301 is transferred to BL. By reading the current on BL, the data stored in the memory cell can be read.

[0063] For example, FIG4 is a schematic diagram of a memory cell with a 2TOC structure provided in an embodiment of the present application. The memory cell includes two transistors: a write transistor (WTR) 401 and a read transistor (RTR) 402. The gate of the write transistor 401 is coupled to a write word line (WWL) as a control terminal. A first end of the source and drain of the write transistor 401 and a control terminal of the read transistor 402 are coupled to a storage node (SN). A second end of the source and drain of the write transistor 401 is coupled to a write bit line (WBL). A first end of the source and drain of the read transistor 402 is coupled to a read bit line (RBL), and a second end of the source and drain of the read transistor 402 is coupled to a read word line (RWL). For a memory cell array, there are two word line driver circuits, the read word line is coupled to one of the two word line driver circuits, and the write word line is coupled to the other of the two word line driver circuits. The following describes the working principle of the memory cell with a 2T0C structure by taking the example that more charge at SN indicates that the stored data is “1” and less charge indicates that the stored data is “0”.

[0064] During a write operation, the word line driver circuit applies a high level to WWL, which controls the write transistor 401 to conduct, turning on the first and second terminals of the write transistor 401. The voltage at WBL is transferred from the second terminal of the write transistor 401 to the first terminal of the write transistor 401, i.e., SN. If the bit line driver circuit applies a high level to WBL, more charge is stored at SN, and the memory cell stores the data "1." If the bit line driver circuit applies a low level to WBL, less charge is stored at SN, and the memory cell stores the data "0." The word line driver circuit then applies a low level to WWL, controlling the write transistor 401 to turn off. The gate voltage of the read transistor 402 is determined by the charge at SN. Because TFT leakage is much lower than that of silicon transistors, the current on the gate of the read transistor 402 leaks through the write transistor 401 to a lesser extent, thereby increasing the storage duration of the memory.

[0065] During a read operation, the word line driver circuit applies a high voltage to RWL. If the memory cell stores data "1," meaning a high charge is stored at SN, the control terminal of read transistor 402 is turned on, the first terminal of read transistor 402 and the second terminal of read transistor 402 are conductive, and the RBL current is high. If the memory cell stores data "0," meaning a low charge is stored at SN, the control terminal of read transistor 402 is turned off, the first terminal of read transistor 402 and the second terminal of read transistor 402 are not conductive, and the RBL current is low. By reading the RBL current, the data stored in the memory cell can be read.

[0066] In one example, a 2T0C memory cell can have either a planar or vertical structure. A planar 2T0C memory cell places the write transistor 401 and the read transistor 402 on the same plane, requiring multi-layer wiring, resulting in a complex manufacturing process and low area utilization, making it difficult to achieve a high-density memory array. A vertical 2T0C memory cell places the write transistor 401 and the read transistor 402 on different planes, such as placing the write transistor 401 above the read transistor 402. This reduces the area occupied by each memory cell.

[0067] After introducing the electronic device, storage system, and storage unit of the embodiment of the present application, the technical background of the design of the embodiment of the present application is introduced. The memory uses oxide semiconductor materials or other materials as the conductive channel of the transistor, and there are electrical performance instabilities, such as bias instability and high temperature instability. For example, after the memory has been working for a period of time, or after undergoing the back-end metal interconnection process, it will cause certain defects in the interface between the channel and the dielectric layer, or the interface between the dielectric layer and the gate, or the channel layer, resulting in leakage inside the storage unit of the memory.

[0068] FIG5 is a schematic diagram of the electrical performance of a memory cell before and after leakage provided by an embodiment of the present application. As shown in FIG5, the horizontal axis of FIG5(a) and FIG5(b) is the gate voltage Vgs, in volts (V), and the vertical axis is the source-drain current Id, in amperes (A). FIG5(a) shows a curve 501 of the relationship between Id and Vgs when the transistor in the memory cell is not leaking, and the source-drain voltage Vd is 1V. When Vgs is about -2V, Id is about 10 -12 A, at this time, the transistor is in the off state. When Vgs is about 2V, Id is about 10 -4 A, at this time, the transistor is in the on state. The switching ratio of the transistor is effective and the transistor has no leakage.

[0069] FIG5(b) shows the relationship curve 502 and the relationship curve 503 between Id and Vgs when the transistor in the memory cell is leaking. For the relationship curve 502, the source-drain voltage Vd is 1V, and when Vgs is about -2V, Id is about 10 -4 A, at this time, the transistor is in the on state. When Vgs is about 2V, Id is about 10 -4 A, at this time, the transistor is in the on state. The switching ratio of the transistor fails and the transistor leaks. For the relationship curve 503, the source-drain voltage Vd is 0.1V, when Vgs is about -2V, Id is about 10 -5 A, at this time, the transistor is in the on state. When Vgs is about 2V, Id is about 10 -4 A, at this time, the transistor is in the on state. The switching ratio of the transistor fails and the transistor leaks.

[0070] Based on this, an embodiment of the present application provides a memory. Figure 6 is a structural schematic diagram of a memory provided by an embodiment of the present application. The memory includes: a first memory cell array, a second memory cell array, a plurality of first bit lines, a plurality of sense amplifiers and a gating circuit. Each row of memory cells in the first memory cell array and the second memory cell array is coupled to a first bit line among the plurality of bit lines. The first input terminal of each of the plurality of sense amplifiers is coupled to the first bit line corresponding to a row of memory cells in the first memory cell array, the second input terminal of the sense amplifier is coupled to the first bit line corresponding to a row of memory cells in the second memory cell array, the third input terminal of the sense amplifier is used to receive a reference voltage, and the plurality of sense amplifiers are also coupled to the gating circuit. The gating circuit is used to enable one of the second input terminal or the third input terminal of the sense amplifier.

[0071] Optionally, the memory further includes a first word line coupled to each column of memory cells in the first memory cell array. This description is made taking the memory cell as a 1TnC structure as an example. As shown in FIG6 , the memory may include multiple memory cell arrays, and the multiple memory cell arrays may include a first memory cell array and a second memory cell array. The first memory cell array may correspond to multiple first bit lines, such as BL0 to BLn-1. The second memory cell array may correspond to multiple first bit lines, such as BLn to BL2n-1. The first memory cell array may correspond to multiple first word lines, such as WL0, WL1, WL2, and WL3. The second memory cell array may correspond to multiple word lines, such as WL4, WL5, WL6, and WL7.

[0072] The memory includes multiple sense amplifiers, such as SA0 to SAn-1. SA0's first input is coupled to BL0, its second input is coupled to BLn, and its third input is used to receive a reference voltage (Vref). Each sense amplifier may include a switch coupled to a gating circuit, the second input of the sense amplifier, and the third input of the sense amplifier. The gating circuit can be used to control the switch, thereby enabling either the second input or the third input of the sense amplifier.

[0073] Among them, the first input terminal of SA0 remains in an enabled state. When the memory reads data normally, the selection circuit can be used to enable the second input terminal of SA0. SA0 can be used to receive the voltage (or current) of BL0 and the voltage (or current) of BLn, compare the voltage (or current) of BL0 and the voltage (or current) of BLn, and output the storage status information of the storage unit. When the memory detects whether the storage unit is leaking, the selection circuit can be used to enable the third input terminal of SA0. SA0 can be used to receive the voltage of BL0 and a reference voltage, compare the voltage of BL0 and the reference voltage, and output information whether the storage unit is leaking.

[0074] In addition, the memory may further include a word line driving circuit and a bit line driving circuit. The word line driving circuit is coupled to a plurality of first word lines corresponding to the first memory cell array. The bit line driving circuit is coupled to a plurality of first bit lines corresponding to the first memory cell array.

[0075] For each memory cell in the first memory cell array: the memory cell includes a first transistor, the first transistor includes a first terminal, a second terminal, and a control terminal. The first terminal of the first transistor is coupled to a first bit line, and the control terminal of the first transistor is coupled to a first word line.

[0076] In one possible embodiment, the gating circuit is configured to output first control information upon detecting that the first transistor of the memory cell is turned off and a first voltage at the second terminal of the first transistor is greater than a first expected voltage at the first terminal of the first transistor. The first control information is configured to enable the second input terminal of the sense amplifier, causing the sense amplifier to receive a reference voltage (Vref) and a second voltage. The first expected voltage is the voltage at the first terminal of the first transistor when the memory cell is not leaking, and the second voltage is the voltage of a first bit line coupled to the first terminal of the first transistor. The reference voltage is greater than or equal to the first expected voltage and less than the first voltage. The sense amplifier corresponding to the memory cell is configured to receive the first control information and receive the reference voltage and the second voltage based on the first control information. The sense amplifier is further configured to output detection information when the second voltage is greater than the reference voltage, the detection information indicating that the memory cell is leaking.

[0077] The first voltage at the second terminal of the first transistor being greater than the first expected voltage at the first terminal of the first transistor may be that the first voltage at the second terminal of the first transistor is at a high level and the first expected voltage at the first terminal of the first transistor is at a low level. The reference voltage being greater than or equal to the first expected voltage and less than the first voltage may be that the reference voltage is at a low level and is greater than or equal to the first expected voltage when the memory cell is not leaking.

[0078] For example, Figure 7 is a schematic diagram of the structure of a first memory cell array according to an embodiment of the present application. Figure 7 shows four rows of memory cells in the first memory cell array, with the first bit lines coupled to these four rows being BL0, BL1, BL2, and BL3, respectively. BL0 is coupled to sense amplifier SA0, BL1 is coupled to SA1, BL2 is coupled to SA2, and BL3 is coupled to SA3. A gating circuit is coupled to SA0, SA1, SA2, and SA3.

[0079] The memory can be used to detect a leaking storage unit at a preset time. In one example, the detection storage unit 610 is described by taking the case where a large amount of charge in the capacitor indicates that the stored data is "1" and a small amount of charge indicates that the stored data is "0" as an example.

[0080] First, a write "1" operation is performed on the memory cell 610: the word line driving circuit applies a high level to WL3 and the bit line driving circuit applies a high level to BL0, so that the first voltage at the second terminal of the first transistor of the memory cell 610 is a high level.

[0081] Also, stop writing "1" to the memory cell 610: the word line driver circuit applies a low level to WL3, and the bit line driver circuit applies a low level to BL0, so that the first transistor of the memory cell 610 is turned off and the first desired voltage at the first end of the first transistor is low.

[0082] If the first transistor in memory cell 610 leaks, the charge at the second terminal of the first transistor will flow to the first terminal of the first transistor. The second voltage of memory cell 610 (the voltage of BL0), that is, the actual voltage at the first terminal of the first transistor, will be higher than the first desired voltage. In one example, the reference voltage is equal to the first desired voltage. When the transistor in memory cell 610 leaks, the second voltage will be higher than the reference voltage. In another example, the reference voltage is slightly greater than the first desired voltage. When the transistor in memory cell 610 leaks significantly, the second voltage will be higher than the reference voltage.

[0083] Next, the gating circuit is used to output the first control information when it detects that the first transistor of the storage unit is turned off and the first voltage of the second end of the first transistor is greater than the first expected voltage of the first end of the first transistor. It can be: the gating circuit is used to receive enable information, which is used to indicate that the first transistor of the storage unit is turned off and the first voltage of the second end of the first transistor is greater than the first expected voltage of the first end of the first transistor, and output the first control information according to the enable information.

[0084] Furthermore, the sense amplifier SA0 corresponding to the memory cell 610 receives the first control information and, based on the first control information, enables its second input terminal to receive the reference voltage and the second voltage (the voltage of BL0). When the second voltage is greater than the reference voltage, the sense amplifier SA0 outputs detection information indicating that the memory cell is leaking. When the second voltage is less than or equal to the reference voltage, the sense amplifier SA0 outputs valid information indicating that the memory cell is not leaking.

[0085] The memory provided in the embodiment of the present application can detect whether a memory cell is leaking by setting a selection circuit to enable one of the second input terminal or the third input terminal of the sensitive amplifier, thereby solving the problem of difficulty in detecting whether a memory cell is leaking, and can avoid storing data in a leaking memory cell, thereby avoiding data loss.

[0086] In one possible embodiment, the memory further includes a reference voltage generating circuit, and the third input terminal of each of the multiple sense amplifiers is coupled to the reference voltage generating circuit, and the reference voltage generating circuit is used to output the reference voltage, and the reference voltage is a fixed value. The reference voltage generating circuit can reuse the existing circuit in the memory, or it can be a newly added circuit, and the embodiment of the present application does not limit this. The memory provided in the embodiment of the present application utilizes the characteristic that the reference voltage is a fixed value to compare the voltage of the bit line coupled to the first memory cell array with the reference voltage, so as to detect whether the memory cell is leaking, thereby solving the problem of difficulty in detecting whether the memory cell is leaking, and avoiding storing data in the leaking memory cell, and even data loss.

[0087] In one possible implementation, the memory further includes a repair circuit coupled to the output terminals of the plurality of sense amplifiers and the word line driver circuit, wherein the repair circuit is configured to control the word line driver circuit to apply a repair voltage to the first word line.

[0088] FIG8 is a second schematic diagram of the structure of a memory provided by an embodiment of the present application. The repair circuit is coupled to the output of the sense amplifier. The memory may further include an input / output circuit, with the output of the sense amplifier further coupled to the input / output circuit. The repair circuit can repair the column containing the leaking memory cell or the entire memory cell array containing the leaking memory cell.

[0089] Specifically, the repair circuit is configured to output second control information based on the detection information, the second control information being configured to instruct application of a repair voltage to a first word line coupled to the memory cell, the repair voltage being used to repair the memory cell. The word line driver circuit is configured to receive the second control information and apply the repair voltage to the first word line coupled to the memory cell based on the second control information. Optionally, the application time of the repair voltage may be 10 to 30 seconds.

[0090] The memory provided in the embodiment of the present application is provided with a repair circuit to control the word line driving circuit to apply a repair voltage to the first word line, and the leaking memory cell is repaired by applying voltage or current, so that the memory has good electrical performance again, thereby improving the utilization efficiency and service life of the memory.

[0091] In one possible implementation, the repair voltage is greater than the voltage that turns on the first transistor of the memory cell. In the memory provided in the embodiments of the present application, a repair circuit is provided to control the word line driver circuit to apply a repair voltage to the first word line. This repair voltage is greater than the voltage that turns on the first transistor of the memory cell, thereby restoring good electrical performance to the memory and improving its efficiency and service life.

[0092] In a possible implementation, the memory cell having a 2TnC structure is taken as an example for description. FIG9 is a second structural diagram of a first memory cell array provided in an embodiment of the present application.

[0093] The memory further includes a second bit line coupled to each row of memory cells in the first memory cell array, and a second word line coupled to each column of memory cells in the first memory cell array.

[0094] The word line driver circuits may include two, a plurality of first word lines are coupled to one of the two word line driver circuits, and a plurality of second word lines are coupled to the other of the two word line driver circuits. The bit line driver circuits may include two, a plurality of first bit lines are coupled to one of the two word line driver circuits, and a plurality of second bit lines are coupled to the other of the two word line driver circuits.

[0095] The first transistor of the memory cell includes a first end and a control end. The memory cell also includes a second transistor. The second transistor includes a first end and a control end. The first end of the first transistor is coupled to the first bit line, the first end of the second transistor is coupled to the control end of the first transistor, and the control end of the second transistor is coupled to the first word line.

[0096] Optionally, the first transistor of the memory cell further includes a second terminal coupled to a second word line. The second transistor of the memory cell further includes a second terminal coupled to a second bit line.

[0097] The first transistor may be a read transistor, the first bit line may be a read bit line coupled to the first terminal of the read transistor, and the second word line may be a read word line coupled to the second terminal of the read transistor. The second transistor may be a write transistor, the first word line may be a write word line coupled to the control terminal of the write transistor, and the second bit line may be a write bit line coupled to the second terminal of the write transistor.

[0098] In one possible implementation, turning off the first transistor includes: turning on the second transistor, and a third voltage at the second terminal of the second transistor being equal to a turn-off voltage of the first transistor, the turn-off voltage of the first transistor being used to turn off the first transistor. The detection information is specifically used to indicate leakage of the first transistor of the memory cell.

[0099] The third voltage at the second terminal of the second transistor is the same as the turn-off voltage of the first transistor, and may be: if the first transistor is turned off when a low level is applied to the control terminal, the third voltage is a low level; if the first transistor is turned off when a high level is applied to the control terminal, the third voltage is a high level.

[0100] 9 , the memory can be used to detect a leaky memory cell at a preset time. Taking the example of a larger charge at SN indicating that the stored data is "1" and a smaller charge indicating that the stored data is "0," the first transistor of the detection memory cell 710 is described.

[0101] First, a write "0" operation is performed on the memory cell 710: the word line driving circuit applies a high level to WWL2 and applies a low level to WBL0 through the bit line driving circuit, so that the second transistor of the memory cell 710 is turned on, and the third voltage of the second end of the second transistor is low, thereby making the voltage of the first end of the second transistor low, and turning off the first transistor.

[0102] Furthermore, the word line driving circuit applies a high level to RWL2, so that the first voltage of the second terminal of the first transistor of the memory cell 710 is at a high level.

[0103] If the first transistor of memory cell 710 leaks, the charge at the second terminal of the first transistor will flow to the first terminal of the first transistor, and the second voltage of memory cell 710 (the voltage of RBL0), that is, the actual voltage at the first terminal of the first transistor, will be higher than the first desired voltage. In one example, the reference voltage is equal to the first desired voltage. When the transistor in memory cell 710 leaks, the second voltage will be higher than the reference voltage. In another example, the reference voltage is slightly greater than the first desired voltage. When the transistor in memory cell 710 leaks significantly, the second voltage will be higher than the reference voltage.

[0104] Next, the gating circuit receives the enabling information and outputs the first control information.

[0105] Furthermore, the sense amplifier SA4 corresponding to the memory cell 710 receives the first control information and, based on the first control information, receives the reference voltage and the second voltage (the voltage of RBL0). When the second voltage is greater than the reference voltage, the sense amplifier SA4 outputs detection information indicating that the first transistor of the memory cell is leaking. When the second voltage is less than or equal to the reference voltage, the sense amplifier SA4 outputs valid information indicating that the first transistor of the memory cell is not leaking.

[0106] In another possible implementation, turning off the first transistor includes: turning off the second transistor, and a third voltage at the second terminal of the second transistor being greater than a second expected voltage at the first terminal of the second transistor, where the second expected voltage is the voltage at the second terminal of the second transistor when the memory cell is not leaking. The detection information is specifically used to indicate that the second transistor of the memory cell is leaking.

[0107] The third voltage of the second end of the second transistor is greater than the second expected voltage of the first end of the second transistor, which may be: the third voltage of the second end of the second transistor is a high level, and the second expected voltage of the first end of the second transistor is a low level.

[0108] For example, FIG9 shows three rows of memory cells among multiple rows of 2T0C memory cells, with the first bit lines coupled to the three rows of memory cells being RBL0, RBL1, and RBL2, respectively. RBL0 is coupled to SA4, RBL1 is coupled to SA5, and RBL2 is coupled to SA6. The selection circuit is coupled to SA4, SA5, and SA6. Optionally, the four rows of memory cells are arranged in four columns, and the memory further includes four first word lines: WWL0, WWL1, and WWL2, respectively coupled to the four columns of memory cells; four second word lines: RWL0, RWL1, and RWL2, respectively coupled to the four columns of memory cells; and four second bit lines: WBL0, WBL1, and WBL2, respectively coupled to the four rows of memory cells.

[0109] The memory can be used to detect a leaking memory cell at a preset time. In an example, the second transistor of the detection memory cell 710 is described by taking the example that a large charge at SN indicates that the stored data is "1" and a small charge indicates that the stored data is "0".

[0110] First, a write "0" operation is performed on the memory cell 710: the word line driver circuit applies a high level to WWL2 and the bit line driver circuit applies a low level to WBL0, so that the second desired voltage at the first terminal of the second transistor of the memory cell 710 is low.

[0111] Furthermore, the word line driver circuit applies a low level to WWL2 to turn off the second transistor of the memory cell 710. The bit line driver circuit applies a high level to WBL0 to set the third voltage at the second terminal of the second transistor of the memory cell 710 to a high level. The word line driver circuit coupled to the second word line applies a high level to RWL2 to set the first voltage at the second terminal of the first transistor of the memory cell 710 to a high level.

[0112] If the second transistor of the memory cell 710 leaks, the charge at the second end of the second transistor will flow to the first end of the second transistor. The actual voltage at the first end of the second transistor will be higher than the second expected voltage, that is, the first transistor of the memory cell 710 should be turned off, but it is not actually turned off. The charge at the second end of the first transistor will flow to the first end of the first transistor, and the second voltage of the memory cell 710 (the voltage of RBL0), that is, the actual voltage at the first end of the first transistor, will be higher than the first expected voltage. In one example, the reference voltage is equal to the first expected voltage. When the transistor in the memory cell 710 leaks, the second voltage will be higher than the reference voltage. In another example, the reference voltage is slightly greater than the first expected voltage. When the transistor in the memory cell 710 leaks more, the second voltage will be higher than the reference voltage.

[0113] Next, the gating circuit receives the enabling information and outputs the first control information.

[0114] Furthermore, the sense amplifier SA4 corresponding to the memory cell 710 receives the first control information and, based on the first control information, receives the reference voltage and the second voltage (the voltage of RBL0). When the second voltage is greater than the reference voltage, the sense amplifier SA4 outputs detection information indicating that the second transistor of the memory cell is leaking. When the second voltage is less than or equal to the reference voltage, the sense amplifier SA4 outputs valid information indicating that the second transistor of the memory cell is not leaking.

[0115] The memory provided in the embodiment of the present application can detect whether the first transistor or the second transistor in the memory cell is leaking by setting a selection circuit to enable one of the second input terminal or the third input terminal of the sense amplifier. This solves the problem of difficulty in detecting whether the memory cell is leaking and the problem of difficulty in detecting which transistor in the memory cell is leaking. It can avoid storing data in the leaking memory cell and thus avoid data loss.

[0116] In a possible implementation manner, the repair circuit is further configured to control the bit line driving circuit to apply the repair voltage to the second bit line.

[0117] Figure 10 is a third schematic diagram of the structure of a memory provided by an embodiment of the present application. Figure 10 only shows the wordline driver circuit coupled to the first wordline, and does not show the wordline driver circuit coupled to the second wordline. The repair circuit can repair the column containing the leaking memory cell or the entire memory cell array containing the leaking memory cell. The repair circuit can repair the first transistor in the memory cell or the second transistor in the memory cell.

[0118] Specifically, if the detection information output by the sense amplifier indicates that the first transistor is leaking, the repair circuit is configured to output second control information based on the detection information. The second control information is configured to instruct the application of a repair voltage to a first word line coupled to the memory cell and a second bit line coupled to the memory cell, thereby applying the repair voltage to the gate of the first transistor. Optionally, the application time of the repair voltage can be 10 seconds to 30 seconds.

[0119] If the detection information output by the sense amplifier indicates that the second transistor is leaking, the repair circuit is configured to output second control information based on the detection information. The second control information is configured to instruct the application of a repair voltage to the first word line coupled to the memory cell, thereby applying the repair voltage to the gate of the second transistor. Optionally, the application time of the repair voltage can be 10 seconds to 30 seconds.

[0120] The memory provided in the embodiment of the present application is provided with a repair circuit to control the word line driving circuit to apply a repair voltage to the first word line and the second bit line, and the first transistor of the leaking memory cell is repaired by applying voltage or current, so that the memory has good electrical performance again, thereby improving the utilization efficiency and service life of the memory.

[0121] FIG11 is a schematic diagram illustrating the electrical performance of a memory cell before and after repair, as provided in an embodiment of the present application. As shown in FIG11 , the abscissa represents the gate voltage Vgs, in volts (V), and the ordinate represents the source-drain current Id, in amperes (A). FIG11 illustrates a curve 1001 showing the relationship between Id and Vgs of a transistor in a memory cell before repair, as well as curves 1002, 1003, and 1004 showing the relationship between Id and Vgs of a transistor in the memory cell after repair.

[0122] For the relationship curve 1001, when Vgs is about -2V, Id is about 10 -4 A, at this time, the transistor is in the on state. When Vgs is about 2V, Id is about 10 -4 A, at this time, the transistor is in the on state. The switching ratio of the transistor fails and the transistor leaks.

[0123] For curve 1002, the transistor is subjected to a 10-second repair voltage. For curve 1003, the transistor is subjected to a 60-second repair voltage. For curve 1004, the transistor is subjected to a 500-second repair voltage. For curves 1002, 1003, and 1004, when Vgs is approximately -2V, Id is approximately 10 -12 A, at this time, the transistor is in the off state. When Vgs is about 2V, Id is about 10 -4A, at this time, the transistor is in the on state. The switching ratio of the transistor is effective, and the transistor leaks. It can be seen that as the application time of the repair voltage increases, the Vgs corresponding to the transistor being in the off state increases.

[0124] In one possible implementation, the memory is further coupled to a memory controller, and the memory controller includes a register (mode register) for storing detection start information, wherein the detection start information is used to trigger the gating circuit and the sense amplifier to detect whether the first memory cell array has leakage.

[0125] Among them, the register can at least store normal operating information and detection start information. The normal operating information is used to instruct the memory to perform normal read operations and / or write operations. The detection start information is used to trigger the selection circuit and the sensitive amplifier to execute the technical solutions in the above embodiments. Exemplarily, the normal operating information can be set to "01" and the detection start information can be set to "10". At a preset time, for example, after the memory works for a preset time or before the memory is used, the memory controller sets the state of the register to "10", which can trigger the selection circuit and the sensitive amplifier to detect whether the first storage cell array is leaking.

[0126] The memory provided in the embodiment of the present application can trigger the selection circuit and the sensitive amplifier to detect whether the first memory cell array is leaking by storing detection start information in the register, thereby solving the problem of difficulty in detecting whether the memory cell is leaking and the problem of difficulty in detecting which transistor in the memory cell is leaking, and can avoid storing data in the leaking memory cell and thus avoiding data loss.

[0127] Figure 12 is a schematic diagram of a process for detecting and repairing a 2TnC structure memory cell according to an embodiment of the present application. In one example, for a 2TnC structure memory cell, the first transistor of the memory cell can be detected first. If the first transistor is leaking, the first transistor is repaired. After the first transistor performs normally, the second transistor of the memory cell is detected. If the second transistor is leaking, the second transistor is repaired. This process, shown in Figure 12, includes steps S101 to S110.

[0128] S101: When the selection circuit detects that the second transistor of the storage unit is turned on, the third voltage of the second end of the second transistor is the same as the turn-off voltage of the first transistor, and the first voltage of the second end of the first transistor is greater than the first expected voltage of the first end of the first transistor, the selection circuit outputs first control information.

[0129] S102: The sense amplifier corresponding to the storage unit receives first control information, and receives a reference voltage and a second voltage according to the first control information.

[0130] S103: When the second voltage is greater than the reference voltage, the sense amplifier outputs detection information, where the detection information is used to indicate that the first transistor of the memory cell is leaking.

[0131] S104: The repair circuit outputs second control information and third control information according to the detection information.

[0132] S105: The word line driving circuit receives the second control information and applies a second repair voltage to the first word line coupled to the memory cell according to the second control information; the bit line driving circuit receives the third control information and applies a second repair voltage to the second bit line coupled to the memory cell according to the third control information.

[0133] S106: When the selection circuit detects that the second transistor of the storage unit is turned off, and the third voltage of the second end of the second transistor is greater than the second expected voltage of the first end of the second transistor, and the first voltage of the second end of the first transistor is greater than the first expected voltage of the first end of the first transistor, the selection circuit outputs the first control information.

[0134] S107: The sense amplifier corresponding to the storage unit receives the first control information, and receives the reference voltage and the second voltage according to the first control information.

[0135] S108: When the second voltage is greater than the reference voltage, the sense amplifier outputs detection information, where the detection information is used to indicate that the second transistor of the memory cell is leaking.

[0136] S109: The repair circuit outputs second control information according to the detection information.

[0137] S110: The word line driving circuit receives second control information, and applies a second repair voltage to the first word line coupled to the memory cell according to the second control information.

[0138] In another example, for a 2TnC memory cell, the first transistor of the memory cell can be tested first. If the first transistor is determined to be non-leaking, the second transistor of the memory cell can be tested. If the second transistor is leaking, the second transistor can be repaired. Specifically, after executing step S102, if the sense amplifier determines that the second voltage is less than or equal to the reference voltage, step S106 is directly executed.

[0139] An embodiment of the present application also provides a memory control method. Figure 13 is a flow chart of a memory control method provided by an embodiment of the present application. The memory includes: a first memory cell array, a second memory cell array, a plurality of first bit lines, a plurality of sense amplifiers, and a gating circuit. Each row of memory cells in the first memory cell array and the second memory cell array is coupled to one of the plurality of bit lines.

[0140] A first input terminal of each of the plurality of sense amplifiers is coupled to a first bit line corresponding to a row of memory cells in the first memory cell array, a second input terminal of the sense amplifier is coupled to a first bit line corresponding to a row of memory cells in the second memory cell array, and a third input terminal of the sense amplifier is configured to receive a reference voltage. The plurality of sense amplifiers are further coupled to the gating circuit. The method includes S220: enabling one of the second input terminal or the third input terminal of the sense amplifier via the gating circuit.

[0141] In one possible implementation, the memory further includes a reference voltage generating circuit, and the third input terminal of each of the multiple sensitive amplifiers is coupled to the reference voltage generating circuit; the method further includes S210: outputting the reference voltage through the reference voltage generating circuit, where the reference voltage is a fixed value.

[0142] In one possible implementation, the memory further includes a repair circuit, a word line driver circuit, and a first word line coupled to each column of memory cells in the first memory cell array, the word line driver circuit being coupled to a plurality of first word lines corresponding to the first memory cell array, the repair circuit being coupled to the outputs of the plurality of sense amplifiers and the word line driver circuit. The method further includes: controlling the word line driver circuit, via the repair circuit, to apply a repair voltage to the first word line.

[0143] In a possible implementation, the memory cell includes a first transistor coupled to the first bit line, and the repair voltage is greater than a voltage that turns on the first transistor of the memory cell.

[0144] In one possible embodiment, the first transistor of the memory cell includes a first end and a control end, the memory cell also includes a second transistor, the second transistor includes a first end and a control end, the first end of the first transistor is coupled to the first bit line, the first end of the second transistor is coupled to the control end of the first transistor, and the control end of the second transistor is coupled to the first word line.

[0145] In one possible embodiment, the memory further includes a bit line driving circuit and a second bit line coupled to each row of memory cells in the first memory cell array, the bit line driving circuit is coupled to multiple second bit lines corresponding to the first memory cell array, the second transistor further includes a second end, and the second end of the second transistor is coupled to the second bit line; the method further includes: controlling the bit line driving circuit through the repair circuit to apply the repair voltage to the second bit line.

[0146] In one possible implementation, the memory is further coupled to a memory controller, the memory controller including a register. The method further includes: storing detection start information in the register, the detection start information being used to trigger the gating circuit and the sense amplifier to detect whether the first memory cell array has leakage.

[0147] The memory control method provided in the embodiment of the present application can be applied in conjunction with the above-mentioned memory to achieve the functions and effects of the above-mentioned memory. Since it has been explained in the aforementioned memory embodiment, it will not be repeated here.

[0148] The present application also provides a storage system. A structural block diagram of the storage system can be shown in FIG2 . The storage system includes a memory and a memory controller coupled to the memory. The memory controller is configured to control reading and writing in the memory. The memory can be any of the memories provided above.

[0149] An embodiment of the present application also provides an electronic device. A structural block diagram of the electronic device may be shown in FIG1 . The electronic device may include a memory and a processor coupled to the memory. The memory may be any of the memories provided above. Optionally, the electronic device further includes a cache and a memory controller. The processor, cache, memory controller, and memory may be integrated together. The memory may be coupled to the cache via a controller, and coupled to the processor via the cache.

[0150] Finally, it should be noted that the above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A memory, characterized in that: The memory comprises: a first memory cell array, a second memory cell array, a plurality of first bit lines, a plurality of sense amplifiers and a gating circuit, wherein each row of memory cells in the first memory cell array and the second memory cell array is coupled to a first bit line among the plurality of bit lines; A first input terminal of each of the plurality of sense amplifiers is coupled to a first bit line corresponding to a row of memory cells in the first memory cell array, a second input terminal of the sense amplifier is coupled to a first bit line corresponding to a row of memory cells in the second memory cell array, a third input terminal of the sense amplifier is used to receive a reference voltage, and the plurality of sense amplifiers are also coupled to the gating circuit; The gating circuit is used to enable one of the second input terminal or the third input terminal of the sense amplifier.

2. The memory according to claim 1, characterized in that: The memory further includes a reference voltage generating circuit. The third input terminal of each of the plurality of sensitive amplifiers is coupled to the reference voltage generating circuit. The reference voltage generating circuit is used to output the reference voltage, which is a fixed value.

3. The memory according to claim 1 or 2, characterized in that: The memory further comprises a repair circuit, a word line driving circuit, and a first word line coupled to each column of memory cells in the first memory cell array, the word line driving circuit is coupled to a plurality of first word lines corresponding to the first memory cell array, and the repair circuit is coupled to output ends of the plurality of sense amplifiers and the word line driving circuit; The repair circuit is used to control the word line driving circuit to apply a repair voltage to the first word line.

4. The memory according to claim 3, characterized in that: The memory cell includes a first transistor coupled to the first bit line, and the repair voltage is greater than a voltage that turns on the first transistor of the memory cell.

5. The memory according to claim 4, characterized in that: The first transistor of the memory cell includes a second terminal and a control terminal, the memory cell also includes a second transistor, the second transistor includes a second terminal and a control terminal, the second terminal of the first transistor is coupled to the first bit line, the second terminal of the second transistor is coupled to the control terminal of the first transistor, and the control terminal of the second transistor is coupled to the first word line.

6. The memory according to claim 5, characterized in that: The memory further includes a bit line driving circuit and a second bit line coupled to each row of memory cells in the first memory cell array, the bit line driving circuit is coupled to a plurality of second bit lines corresponding to the first memory cell array, the second transistor further includes a first terminal, and the first terminal of the second transistor is coupled to the second bit line; The repair circuit is further used to control the bit line driving circuit to apply the repair voltage to the second bit line.

7. The memory according to any one of claims 1 to 6, characterized in that: The memory is also coupled to a memory controller, the memory controller including registers; The register is used to store detection start information, and the detection start information is used to trigger the selection circuit and the sense amplifier to detect whether the first storage cell array has leakage.

8. A memory control method, characterized in that: The memory comprises: a first memory cell array, a second memory cell array, a plurality of first bit lines, a plurality of sense amplifiers and a gating circuit, wherein each row of memory cells in the first memory cell array and the second memory cell array is coupled to a first bit line among the plurality of bit lines; A first input terminal of each of the plurality of sense amplifiers is coupled to a first bit line corresponding to a row of memory cells in the first memory cell array, a second input terminal of the sense amplifier is coupled to a first bit line corresponding to a row of memory cells in the second memory cell array, a third input terminal of the sense amplifier is used to receive a reference voltage, and the plurality of sense amplifiers are also coupled to the gating circuit; the method comprises: One of the second input terminal or the third input terminal of the sense amplifier is enabled by the gating circuit.

9. The method according to claim 8, characterized in that The memory further includes a reference voltage generating circuit, and the third input terminal of each of the plurality of sense amplifiers is coupled to the reference voltage generating circuit; the method further includes: The reference voltage is outputted by the reference voltage generating circuit, and the reference voltage is a fixed value.

10. The method according to claim 8 or 9, characterized in that: The memory further comprises a repair circuit, a word line driving circuit, and a first word line coupled to each column of memory cells in the first memory cell array, the word line driving circuit is coupled to a plurality of first word lines corresponding to the first memory cell array, and the repair circuit is coupled to output ends of the plurality of sense amplifiers and the word line driving circuit; The method further comprises: The repair circuit controls the word line driving circuit to apply a repair voltage to the first word line.

11. The method according to claim 10, characterized in that The memory cell includes a first transistor coupled to the first bit line, and the repair voltage is greater than a voltage that turns on the first transistor of the memory cell.

12. The method according to claim 11, characterized in that The first transistor of the memory cell includes a second terminal and a control terminal, the memory cell also includes a second transistor, the second transistor includes a second terminal and a control terminal, the second terminal of the first transistor is coupled to the first bit line, the second terminal of the second transistor is coupled to the control terminal of the first transistor, and the control terminal of the second transistor is coupled to the first word line.

13. The method according to claim 12, characterized in that The memory further includes a bit line driving circuit and a second bit line coupled to each row of memory cells in the first memory cell array, the bit line driving circuit is coupled to a plurality of second bit lines corresponding to the first memory cell array, the second transistor further includes a first terminal, the first terminal of the second transistor is coupled to the second bit line; the method further includes: The repair circuit controls the bit line driving circuit to apply the repair voltage to the second bit line.

14. The method according to any one of claims 11 to 13, characterized in that: The memory is also coupled to a memory controller, the memory controller comprising a register; the method further comprising: The register is used to store detection start information, and the detection start information is used to trigger the selection circuit and the sense amplifier to detect whether the first storage cell array has leakage.

15. A storage system, characterized in that: The storage system comprises: a memory controller and the memory according to any one of claims 1 to 7.

16. An electronic device, characterized in that: The electronic device comprises: a processor and a memory as claimed in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Detection method and detection device of memory

    CN113012745A

  • Bit line leakage current, sensitive amplifier and control circuit of memory

    CN114863971A

  • Memory device having bit line leakage compensation

    US7920397B1