Memory repair circuit, memory module and memory repair method
By combining the use of non-volatile and volatile storage units in the memory module, self-test and repair information updates are realized, which solves the single repair and long time problems of hard repair technology, and provides multiple repairs and low design overhead. Advantages, suitable for long-term use of electronic products.
Patent Information
- Application Number
- CN201911227376.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-12-04
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2039-12-04
AI Technical Summary
Existing hard repair technology can only perform one-time repairs and requires additional fuses and hardware. The repair setup time of soft repair technology is too long and some errors cannot be repaired.
Design a memory repair circuit that combines non-volatile storage units and volatile storage units. Through the self-test circuit and the repair information generation circuit, it records and updates the repair information, realizes the mapping relationship between the main memory and the backup memory, and supports multiple times. Repair and reduce repair time.
It achieves the short repair time of hard repair technology and the multiple repair capabilities of soft repair technology. It has the advantages of low design overhead, provides cumulative repair functions, and is suitable for long-term use of electronic products.
Smart Images

Figure CN112908401B
Abstract
Description
Technical Field
[0001] The present invention relates to a memory repair technology, in particular to a memory repair circuit with an accumulative repair function, and further to a memory module and a memory repair method. Background Art
[0002] Memory modules are essential components of various existing computer devices, which allow processing units to access data. The memory modules referred to here can be volatile or non-volatile memory modules, and are not limited by their types. Memory modules generally include a main memory and a redundant memory. When a memory cell in a column or row of the main memory has an error (fault), the redundant memory will provide a column or a row of multiple redundant memory cells to replace the multiple memory cells in the faulty column or row. Simply put, redundant memory is used to repair multiple memory cells in the faulty column or row.
[0003] Existing repair technology can be roughly divided into soft repair technology and hard repair technology. Soft repair technology combines built-in self-test (BIST) with boot up, so that the built-in self-test is used to detect whether there are faulty memory cells every time the computer is turned on. During the test, the addresses of all faulty memory cells are stored separately, and the address mapping process maps the addresses of all faulty memory cells to the addresses of memory cells of non-faulty redundant memory. Although soft repair technology can perform multi-time repair on the faulty memory cells of the memory module and has a lower design overhead, soft repair technology has technical problems such as too long repair setting time and some potential errors cannot be repaired.
[0004] Hard repair technology uses fuses in conjunction with programming to disconnect the fuses of the rows or columns corresponding to the faulty memory cells (for example, using lasers or high voltage to disconnect the fuses), and replaces the multiple memory cells of the faulty rows or columns with multiple memory cells of redundant memory rows or columns. Existing memory modules mostly use hard repair technology because the repair setting time is short. However, hard repair technology has technical problems such as only being able to perform a one-time repair on the faulty memory cells and requiring additional fuses and hardware. Summary of the invention
[0005] The object of the present invention is to provide a memory repair circuit, a memory module and a memory repair method to overcome the shortcomings of the existing hard repair technology and soft repair technology and at the same time obtain at least part of their advantages.
[0006] Based on the aforementioned object, the present invention provides a memory repair circuit, which includes: a non-volatile storage unit for storing first repair information;
[0007] A volatile storage unit, electrically connected to the non-volatile storage unit, and used as a data transmission bridge between the non-volatile storage unit and the repair information generating circuit;
[0008] A controller, electrically connected to the volatile storage unit, the non-volatile storage unit and the repair information generating circuit, and used for controlling the transmission, reading and writing of the first repair information and the second repair information;
[0009] a self-test circuit electrically connected to the main memory and the repair information generating circuit, and configured to perform a built-in self-test on the main memory after setting the main memory and the backup memory or the embedded redundant memory according to the first repair information; and
[0010] The repair information generating circuit is electrically connected to the main memory, or is electrically connected to the main memory and the backup memory at the same time, and is used to generate second repair information according to the test result of the built-in self test;
[0011] The controller further sets the main memory and the backup memory or the embedded redundant memory according to the second repair information.
[0012] Optionally, the first repair information records a previous mapping relationship between the address of at least one erroneous memory unit of the main memory and the address of at least one memory unit of the backup memory or the embedded redundant memory, and the second repair information records a current mapping relationship between the address of at least one erroneous memory unit of the main memory and the address of at least one memory unit of the backup memory or the embedded redundant memory.
[0013] Optionally, the controller further controls the non-volatile storage unit to update the first repair information to the second repair information according to a user selection or a usage scenario.
[0014] Optionally, according to user selection or usage scenario, the self-control circuit performs the built-in self test on the main memory.
[0015] Optionally, when the test result indicates that the test fails, the repair information generating circuit generates the second repair information.
[0016] Based on the aforementioned purpose, the present invention provides a memory module, which includes: the memory repair circuit; the main memory; and the backup memory or the embedded redundant memory.
[0017] Based on the above objectives, the present invention provides a memory repair method, comprising:
[0018] Using the volatile storage unit to read the first repair information stored in the non-volatile storage unit when the computer is turned on;
[0019] Setting a main memory and a backup memory or an embedded redundant memory according to the first repair information;
[0020] After setting the main memory and the backup memory or the embedded redundant memory according to the first repair information, performing a built-in self test on the main memory;
[0021] generating second repair information according to the test result of the built-in self test; and,
[0022] The main memory and the backup memory or the embedded redundant memory are set according to the second repair information.
[0023] Optionally, the first repair information records a previous mapping relationship between the address of at least one erroneous memory unit of the main memory and the address of at least one memory unit of the backup memory or the embedded redundant memory, and the second repair information records a current mapping relationship between the address of at least one erroneous memory unit of the main memory and the address of at least one memory unit of the backup memory or the embedded redundant memory.
[0024] Optionally, the memory repair method further includes: controlling the non-volatile storage unit to update the first repair information to the second repair information according to user selection or usage scenario; and determining whether to perform the built-in self test on the main memory according to the user selection or the usage scenario.
[0025] Optionally, when the test result indicates that the test fails, the second repair information is generated.
[0026] In summary, the memory module and memory repair circuit and method of the present invention have the advantages of a shorter set repair time of the hard repair technology, and the advantages of multiple repairs and low design overhead of the soft repair technology. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 is a principle block diagram of a memory module according to an embodiment of the present invention;
[0028] Figure 2 is a principle block diagram of a memory module according to another embodiment of the present invention;
[0029] Figure 3 It is a schematic diagram of the working process of the memory repair method according to an embodiment of the present invention.
[0030] Wherein, the reference numerals are:
[0031] 1, 1'-memory module; 10-memory repair circuit; 101-self-test circuit; 102-controller; 103-repair information generating circuit; 104-non-volatile storage unit; 105-volatile storage unit; 11, 11'-main memory; 12-backup memory; 13-embedded redundant memory. DETAILED DESCRIPTION
[0032] In order to fully understand the purpose, features and effects of the present invention, the present invention is described in detail through the following specific embodiments and the accompanying drawings. The description is as follows.
[0033] The embodiment of the present invention provides a memory repair circuit, method and memory module using the same (for example, a static memory module (SRAM module), but not limited to a static memory module), wherein the memory repair circuit, method and memory module using the same have at least part of the advantages of both hard repair technology and soft repair technology, and can provide a cumulative repair function. In the application of electronic products with a long service life, the memory repair circuit and method and the memory module using the same can repair newly appeared erroneous memory cells to ensure that the electronic products can operate normally.
[0034] In an embodiment of the present invention, the memory repair circuit and method perform error correction actions on the test results of the main memory for the built-in self-test. Specifically, the memory repair circuit and method use a non-volatile storage unit to store first repair information, and use a volatile storage unit to temporarily store second repair information, wherein the first repair information records the previous mapping relationship between the address of the erroneous memory unit of the main memory and the address of the memory unit of the spare memory (i.e., the mapping relationship before the built-in self-test is performed at this startup), and the second repair information records the current mapping relationship between the address of the erroneous memory unit of the main memory and the address of the memory unit of the spare memory (i.e., the mapping relationship after the built-in self-test is performed at this startup).
[0035] When the computer is turned on, the first repair information stored in the non-volatile storage unit will be read into the volatile storage unit, and the main memory and the backup memory will be set accordingly. When the main memory performs a built-in self-test and the test result indicates that a new memory unit with an error is detected in the main memory, the memory repair circuit and method will be set for the main memory and the backup memory to generate second repair information, and the second repair information will be temporarily stored in the volatile storage unit to update the first repair information temporarily stored therein. Then, according to the usage conditions and scenarios, the first repair information stored in the non-volatile storage unit can be selected to be updated to the second repair information. Simply put, the memory repair circuit and method provide a cumulative repair function. Incidentally, the backup memory and the main memory are independent memories from each other, or the backup memory can be an embedded redundant memory that is embedded in the main memory.
[0036] First, please refer to this case Figure 1 , Figure 1 is a block diagram of a memory module according to an embodiment of the present invention. Figure 1 The memory module 1 includes a memory repair circuit 10, a main memory 11 and a backup memory 12, wherein the memory repair circuit 10 is electrically connected to the main memory 11 and the backup memory 12. When the computer is powered on, the memory repair circuit 10 reads the first repair information stored therein, and sets the main memory 11 and the backup memory 12 according to the first repair information, so as to map the error memory unit in the main memory 11 to the memory unit of the backup memory 12 recorded by the first information.
[0037] Next, if a built-in self-test is performed, and the test result indicates that a new erroneous memory cell is found in the main memory 11 (i.e., an erroneous memory cell that still exists after the main memory 11 is repaired according to the first repair information), the memory repair circuit 10 generates a second repair information according to the test result. The second repair information will be temporarily stored by the memory repair circuit 10, and the memory repair circuit 10 will set the main memory 11 and the spare memory 12 according to the second repair information, so that the new erroneous memory cell in the main memory 11 can be mapped to the memory cell of the spare memory 12. Afterwards, according to the user's choice or usage scenario, the memory repair circuit 10 can update the first repair information to the second repair information. In other words, the memory repair circuit 10 provides an additive repair function, so it has the advantages of a shorter repair setting time of the hard repair technology and the advantages of multiple repairs and lower design overhead of the soft repair technology.
[0038] Next, the details of the memory repair circuit 10 are further described. The memory repair circuit 10 includes a self-test circuit 101, a controller 102, a repair information generating circuit 103, a non-volatile storage unit 104, and a volatile storage unit 105, wherein the self-test circuit 101 is electrically connected to the main memory 11 and the repair information generating circuit 103, the repair information generating circuit 103 is electrically connected to the main memory 11, the controller 102, and the backup memory 12, the non-volatile storage unit 104 is electrically connected to the volatile storage unit 105 and the controller 102, and the volatile storage unit 105 is electrically connected to the controller 102.
[0039] When the computer is powered on, the controller 102 controls the non-volatile storage unit 104 to allow the first repair information stored therein to be read by the volatile storage unit 105, wherein the first repair information records the previous mapping relationship between the address of the faulty memory cell of the main memory 11 and the address of the memory cell of the backup memory 12 (i.e., the mapping relationship before the built-in self-test is performed during this power-on). Then, the controller 102 sets the main memory 11 and the backup memory 12 according to the first repair information temporarily stored in the volatile storage unit 105, so that the address of the faulty memory cell of the main memory 11 is mapped to the address of the memory cell of the backup memory 12, so that the faulty memory cell of the main memory 11 can be repaired.
[0040] Then, the self-test circuit 101 selectively performs a built-in self-test on the main memory 11 according to the user's selection or usage scenario to check whether there is a new error memory unit in the main memory 11. If the built-in self-test is not selected for the main memory 11, the controller 102 controls the memory module 1 to operate in a normal mode. If the built-in self-test is selected for the main memory 11, and the test result does not find a new error memory unit in the main memory 11, the controller 102 controls the memory module 1 to operate in a normal mode.
[0041] If the main memory 11 is selected to be subjected to a built-in self-test, and the test result indicates that a new error memory cell is found in the main memory 11, the controller 102 controls the repair information generation circuit 103 to generate second repair information according to the test result. The controller 102 temporarily stores the second repair information in the volatile storage unit 105. Then, the controller 102 sets the main memory 11 and the backup memory 12 according to the second repair information temporarily stored in the volatile storage unit 105, so that the address of the error memory cell of the main memory 11 is mapped to the address of the memory cell of the backup memory 12, so that the new error memory cell of the main memory 11 can also be repaired. Then, the controller 102 controls the memory module 1 to operate in normal mode. In addition, the controller 102 can also selectively control the non-volatile storage unit 104 to update the first repair information stored therein to the second repair information (i.e., store the second repair information to replace the first repair information) according to the user's selection or usage scenario. In short, the controller 102 is used to control the transmission, reading and writing of the first repair information and the second repair information, and the volatile storage unit 105 is used as a data transmission bridge between the non-volatile storage unit 104 and the repair information generating circuit 103 .
[0042] Also, please refer to Figure 2 , Figure 2 is a block diagram of a memory module according to another embodiment of the present invention. Figure 1 Memory module 1, Figure 2 The memory module 1' does not have a spare memory 12, but the main memory 11' has an embedded redundant memory 13 (which may be a redundant memory with multiple redundant rows and / or multiple redundant columns depending on the situation), and because the memory module 1' does not have a spare memory 12, the repair information generating circuit 103 is only electrically connected to the main memory 11', the controller 102 and the self-test circuit 101. The function of the embedded redundant memory 13 is the same as that of the spare memory 12, which is used to replace the error memory unit in the main memory 11' to repair the error memory unit in the main memory 11'. Therefore, no additional repair information generation circuit 103 is required for the repair information generating circuit 103. Figure 2 Detailed description of memory module 1'.
[0043] According to the above description, it can be known that the memory modules 1, 1' and the memory repair circuit 10 of the present invention integrate the non-volatile storage unit 104 and the volatile storage unit 105 to realize the cumulative repair function, so as to solve the technical problem that the traditional soft repair technology needs to perform the built-in self-test setting repair time for each boot, and solve the technical problem that the traditional hard repair technology needs additional hardware equipment to burn and program the fuse. The memory modules 1, 1' and the memory repair circuit 10 of the present invention also have the advantages of the short setting repair time of the hard repair technology and the advantages of the soft repair technology that can perform repairs multiple times and low design cost. Furthermore, the memory repair circuit 10 of the present invention can support the architecture of the memory module 1 with independent spare memory 12, and can also support the architecture of the memory module 1' with embedded redundant memory 13 with multiple redundant rows and / or redundant columns, and can even provide a flexible control interface and a programmable operation process to determine whether to perform the built-in self-test and / or update the first repair information stored in the non-volatile storage unit 104 according to the user's choice and usage scenario.
[0044] Next, please refer to Figure 3 , Figure 3 It is a flowchart of a memory repair method according to an embodiment of the present invention. Figure 3 The memory repair method can provide an additive repair function and can be executed in a memory repair circuit, such as Figure 1 and Figure 2 The memory repair circuit 10 is a memory repair circuit 10, but is not limited thereto. First, in step S01, the electronic device having the memory module is powered on. Then, in step S02, the volatile storage unit of the memory repair circuit reads the first repair information stored in the non-volatile storage unit of the memory repair circuit, and the controller of the memory repair circuit sets the main memory and the backup memory (or the embedded redundant memory) according to the first repair information, so as to map the address of the error memory unit of the main memory to the address of the memory unit of the backup memory (or the embedded redundant memory).
[0045] Then, in step S03, the controller of the memory repair circuit determines whether to perform a built-in self-test according to the usage scenario or the user's choice. If it is decided not to perform a built-in self-test, step S06 is performed, and if it is decided to perform a built-in self-test, step S04 is performed. In step S04, the self-test circuit of the memory repair circuit performs a built-in self-test on the main memory. In step S05, the self-test circuit of the memory repair circuit determines whether the test is passed according to the test result. If the test is passed (i.e., there is no new error memory cell in the main memory), step S06 is performed, and if the test is not passed (i.e., there is a new error memory cell in the main memory), step S07 is performed. In step S06, the controller of the memory repair circuit controls the memory module to operate in normal mode.
[0046] In step S07, the repair information generating circuit of the memory repair circuit generates the second repair information according to the test result, and the volatile storage unit of the memory repair circuit temporarily stores the second repair information. Then, the controller of the memory repair circuit sets the main memory and the backup memory (or the embedded redundant memory) according to the second repair information to map the addresses of the new and old error memory cells of the main memory to the addresses of the memory cells of the backup memory (or the embedded redundant memory). Then, in step S08, the controller of the memory repair circuit determines whether to write the second repair information to the non-volatile storage unit according to the user's selection or usage scenario, so as to update the first repair information stored therein to the second repair information. If it is decided to write the second repair information to the non-volatile storage unit, step S09 is performed, and if it is decided not to write the second repair information to the non-volatile storage unit, step S06 is performed. In step S09, the non-volatile storage unit of the memory repair circuit stores the second repair information to update the first repair information stored therein to the second repair information.
[0047] In addition, it should be noted that Figure 3 The memory repair method is only one embodiment of the present invention and is not intended to limit the present invention. For example, between steps S07 and S08, an additional built-in self-test may be performed to determine whether the main memory is successfully repaired by the second repair information. Furthermore, steps S03 and / or S08 may be selectively removed so that steps S04 and / or S09 are compulsorily executed. Furthermore, the above-mentioned usage scenario may be a regular detection scenario or a maintenance scenario, and the present invention is not limited thereto.
[0048] In summary, compared with the prior art, the memory repair circuit, method and memory module using the same described in the embodiments of the present invention are described as follows.
[0049] In the prior art, the soft repair technology has the technical problem of too long a repair setting time, and the hard repair technology has the technical problem of requiring additional fuses and hardware.
[0050] However, the memory module and memory repair circuit and method of the present case integrate non-volatile storage units and volatile storage units to solve the technical problem that the traditional soft repair technology takes too long to set up the repair of the built-in self-test each time the computer is turned on, and solve the technical problem that the traditional hard repair technology requires additional hardware equipment to burn and program the fuse. At the same time, the memory module and memory repair circuit and method of the present case have the advantages of the hard repair technology with a shorter setting repair time, and the advantages of the soft repair technology with multiple repairs and low design overhead. Furthermore, the memory module and memory repair circuit and method of the present case can be used in various electronic products with memory, and therefore have industrial applicability and a huge market and economic benefits.
[0051] The present invention has been disclosed in the above with preferred embodiments, but those skilled in the art should understand that the above embodiments are only used to describe the present invention and should not be interpreted as limiting the scope of the present invention. It should be noted that all changes and substitutions equivalent to the above embodiments should be included in the scope of the present invention.
Claims
1. A memory repair circuit electrically connected to a main memory and a backup memory, or electrically connected to a main memory with a built-in redundant memory, characterized in that: The memory repair circuit comprises: A non-volatile storage unit, used to store first repair information; the first repair information records a previous mapping relationship between an address of at least one memory unit of the main memory with an error and an address of at least one memory unit of the backup memory or the embedded redundant memory; a volatile storage unit, electrically connected to the non-volatile storage unit, used to serve as a data transmission bridge between the non-volatile storage unit and the repair information generating circuit, and temporarily storing the first repair information; A controller, electrically connected to the volatile storage unit, the non-volatile storage unit and the repair information generating circuit, and used for controlling the transmission, reading and writing of the first repair information and the second repair information; a self-test circuit electrically connected to the main memory and the repair information generating circuit, and configured to perform a built-in self-test on the main memory according to a user selection or a usage scenario after the controller sets the main memory and the backup memory according to the first repair information, or sets the main memory and the embedded redundant memory; and The repair information generating circuit is electrically connected to the main memory with the embedded redundant memory, or is electrically connected to the main memory and the backup memory at the same time; wherein, if the main memory has a new erroneous memory unit, the repair information generating circuit generates the second repair information according to the test result of the built-in self-test; the second repair information records the current mapping relationship between the address of at least one erroneous memory unit of the main memory and the address of at least one memory unit of the backup memory or the embedded redundant memory; The controller further sets the main memory and the backup memory or the embedded redundant memory according to the second repair information, and controls the non-volatile storage unit to update the first repair information to the second repair information according to user selection or usage scenario.
2. A memory module, characterized in that: The memory module comprises: The memory repair circuit as claimed in any one of claims 1; the main memory; and The backup memory or the embedded redundant memory.
3. A memory repair method, characterized in that: The memory repair method comprises: Using the volatile storage unit to read the first repair information stored in the non-volatile storage unit when the computer is turned on; According to the first repair information, a main memory and a backup memory are set, or the main memory and an embedded redundant memory are set; wherein the first repair information records a previous mapping relationship between an address of at least one memory unit of an error in the main memory and an address of at least one memory unit of the backup memory or the embedded redundant memory; After setting the main memory and the backup memory, or setting the main memory and the embedded redundant memory according to the first repair information, determining whether to perform a built-in self-test according to a user selection or a usage scenario; If it is determined to perform the built-in self-test, performing a built-in self-test on the main memory; Determine whether the main memory has a new error memory unit according to the test result of the built-in self test; if the main memory has a new error memory unit, generate second repair information according to the test result, and temporarily store the second repair information in the volatile storage unit; wherein the second repair information records the current mapping relationship between the address of at least one error memory unit of the main memory and the address of at least one memory unit of the backup memory or the embedded redundant memory; Setting the main memory and the backup memory according to the second repair information, setting the main memory and or setting the main memory and the embedded redundant memory, so as to map the addresses of new and old error memory cells of the main memory to the backup memory or the embedded redundant memory; and Whether to write the second repair information into the non-volatile storage unit is determined according to the user's choice or usage scenario; if it is determined to write the second repair information into the non-volatile storage unit, the non-volatile storage unit stores the second repair information to update the first repair information stored therein to the second repair information; if it is determined not to write the second repair information into the non-volatile storage unit, the non-volatile storage unit stores the second repair information to update the first repair information stored therein to the second repair information.
Citation Information
Patent Citations
Built-in self-repairing system and method for memory
CN101329918A
Non-volatile memory module, memory processing system and memory management method thereof
CN102508730A
(build-in self repair method and device for embedded SRAM)
KR1020060094592A
Method for repairing memory and system thereof
TW200921690A
Programmable multi-mode built-in self-test and self-repair structure for embedded memory arrays
US20060031726A1
