Repair method of storage device and repair system of storage device
By obtaining the information of the failed storage units in the DRAM chip and determining the maximum failure direction, and using the redundant storage array for repair and replacement, the problem of limited number of redundant storage arrays in the DRAM chip is solved, and the repair rate and product qualification of the failed storage units are improved. rate, extends service life.
Patent Information
- Application Number
- CN202310574347.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-19
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2043-05-19
AI Technical Summary
Due to area limitations, the number of redundant storage arrays is limited, making it difficult to effectively repair more failed storage units, resulting in low repair rate of failed storage units, affecting product pass rate and service life.
By obtaining the information of the failed storage units in the storage array, determining the maximum failure direction, and using the same direction redundant storage rows/columns in the redundant storage array for repair and replacement, ensuring that the failed storage units in the maximum failure direction are repaired and redundant to improve redundancy Utilization of the residual storage array.
The repair rate of failed storage units in the storage device is improved, the service life of the storage device is extended, and the pass rate is increased before mass production, shortening the power-on repair time.
Smart Images

Figure CN119007787A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of storage technology, and in particular to a method for repairing a storage device and a system for repairing a storage device. Background Art
[0002] As a storage device, dynamic random access memory (DRAM) chips are now widely used in mobile phones, computers, servers and other devices due to their advantages such as simple structure, high integration and low power consumption, and have played an important role in the field of consumer electronics. In the DRAM chip manufacturing process, failed storage cells may appear in the storage array of the DRAM chip. In order to cope with this situation, a part of the redundant storage array is reserved when designing the DRAM chip. The redundant storage array is provided with redundant storage cells, which are used to replace the failed storage cells in the storage array to ensure that the DRAM chip can be used normally. At present, most DRAM chips have a limited number of redundant storage arrays due to area limitations. Therefore, it is very important to use the limited redundant storage array to repair as many failed storage cells as possible and improve the repair rate of failed storage cells. Summary of the invention
[0003] In order to solve the above problems, the present application provides a storage device repair method and a storage device repair system, which can improve the repair rate of failed storage units in the storage device and improve the pass rate of mass production of storage devices.
[0004] A technical solution adopted in the present application is: to provide a method for repairing a storage device, wherein the storage device includes a storage array and a redundant storage array, the redundant storage cells in the redundant storage array are used to repair and replace failed storage cells in the storage array, and the repair method includes obtaining information of failed storage cells in the storage array and determining a first failed storage cell; determining a maximum failure direction of the first failed storage cell; and repairing a storage row / column in the replacement storage array where the first failed storage cell in the maximum failure direction is located using a redundant storage array in the same direction as the maximum failure direction of the first failed storage cell.
[0005] Wherein, obtaining information of failed storage cells in a storage array and determining a first failed storage cell includes obtaining address information of failed storage cells in each row and column of storage cells in the storage array and establishing a failed storage cell distribution map; in the failed storage cell distribution map, determining the first failed storage cell of the first storage row / column extending along a first direction having a failed storage cell as the first failed storage cell, wherein a plurality of storage rows / columns extending along the first direction are sequentially arranged along a second direction, and the first direction and the second direction intersect with each other.
[0006] The first direction is the direction of word lines in the memory array, and the second direction is the direction of bit lines in the memory array.
[0007] Wherein, determining the maximum failure direction of the first failed storage unit includes obtaining a first number of failed storage units in a storage row / column extending along a first direction where the first failed storage unit is located, and obtaining a second number of failed storage units in a storage column / row extending along a second direction where the first failed storage unit is located, wherein the first number of failed storage units and the second number of failed storage units respectively include the first failed storage unit; comparing the first number and the second number, and selecting a larger number of storage rows / columns extending along the first direction or storage columns / rows extending along the second direction as the maximum failure direction of the first failed storage unit.
[0008] The repair method further includes updating the information of the failed storage unit in the storage array and updating the first failed storage unit; and continuing to perform the steps of determining the maximum failure direction and repairing and replacing with the updated first failed storage unit.
[0009] When the failed storage unit to be repaired and replaced is removed, the redundant storage row / column in the redundant storage array that is in the same storage row / column as the failed storage unit to be repaired and replaced in the maximum failure direction is removed synchronously.
[0010] The repair method further includes determining whether the number of failed storage cells in the storage array is zero; in response to the number of failed storage cells in the storage array being not zero, further determining whether redundant storage rows / columns extending along a first direction and / or redundant storage columns / rows extending along a second direction are exhausted; in response to the redundant storage rows / columns extending along the first direction and the redundant storage columns / rows extending along the second direction not being exhausted, returning to continue to execute the step of updating the information of failed storage cells in the storage array and updating the first failed storage cell.
[0011] In which, in response to the redundant storage rows / columns extending along the first direction being exhausted and the redundant storage columns / rows extending along the second direction not being exhausted, the repair method further includes updating information of existing failed storage cells in the storage array, and counting the number of failed storage cells on each storage column / row extending along the second direction in the storage array; sorting the failed storage cells on the storage columns / rows extending along the second direction in the storage array from most to least according to the number of failed storage cells on the storage columns / rows extending along the second direction in the storage array; and repairing and replacing the failed storage cells on the storage columns / rows extending along the second direction in the storage array in sequence according to the sorting result using the existing redundant storage columns / rows extending along the second direction.
[0012] Another technical solution adopted in the present application is: to provide a repair system for a storage device, the repair system includes a main control device and a storage device, the main control device is used to execute the above-mentioned repair method to generate repair replacement information; the storage device is coupled to the main control device, wherein the storage device includes a storage grain, the storage grain includes at least one storage block, and each storage block includes a storage array and a redundant storage array.
[0013] The storage device further includes a control crystal grain, which is packaged together with the storage crystal grain, and the control crystal grain receives the repair and replacement information.
[0014] The beneficial effects of the embodiments of the present application are as follows: the repair method of the storage device provided by the present application determines the first failed storage unit after obtaining the information of the failed storage unit in the storage array, and determines the maximum failure direction of the first failed storage unit based on the first failed storage unit, so as to determine the direction with the largest number of failed storage units, and finally repairs and replaces a storage row / column in the storage array where the first failed storage unit in the maximum failure direction is located by a redundant storage row / column of the redundant storage array matching the maximum failure direction of the first failed storage unit, so that the redundant storage units in the redundant storage array repair and replace the failed storage units in the storage array, thereby realizing the repair of the maximum number of failed storage units in the storage array of the storage device, thereby improving the repair rate of the failed storage units of the storage device; further, the repair of the failed storage units of the storage device enables the storage device to be used normally. For example, if the repair method of the storage device provided by the present application is applied to the test of the storage device before mass production, the qualified rate of the mass production of the storage device can be improved; if the repair method of the storage device provided by the present application is applied to the repair of the storage device during normal operation, the time of each power-on repair can be shortened. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0016] in:
[0017] Figure 1 is a structural schematic diagram of an embodiment of a storage device provided by the present application;
[0018] Figure 2 It is a flowchart of an embodiment of a method for repairing a storage device provided by the present application;
[0019] Figure 3 yes Figure 2A schematic flow chart of an embodiment of step S110 in the embodiment;
[0020] Figure 4 This is the distribution of failed storage units in this application Figure 1 A schematic structural diagram of an embodiment;
[0021] Figure 5 yes Figure 2 A flow chart of an embodiment of step S120 in the embodiment;
[0022] Figure 6 is a flow chart of another embodiment of the method for repairing a storage device provided by the present application;
[0023] Figure 7 yes Figure 6 A flow chart of an embodiment of step S240 in the embodiment;
[0024] Figure 8 It is a flowchart of another embodiment of the method for repairing a storage device provided by the present application;
[0025] Fig. 9 It is a flowchart of another embodiment of the method for repairing a storage device provided by the present application;
[0026] Fig.10 It is a flowchart of an embodiment of the application of the repair method of the storage device of the present application;
[0027] Fig.11 is a schematic diagram of an embodiment of a two-difference tree;
[0028] Fig.12 It is a structural schematic diagram of an embodiment of repairing and replacing a failed storage unit matrix distribution diagram of the present application;
[0029] Fig.13 is a structural schematic diagram of an embodiment of a repair system for a storage device provided by the present application;
[0030] Fig.14 yes Fig.13 A schematic structural diagram of another embodiment of the storage device in the embodiment. DETAILED DESCRIPTION
[0031] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It will be understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for ease of description, only some but not all structures related to the present application are shown in the drawings. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.
[0032] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0033] See also Figure 1 , Figure 1 Schematic diagram of the structure of an embodiment of a storage device provided by the present application. Figure 1 As shown, the storage device includes a storage array and a redundant storage array. The storage array includes storage rows and storage columns, wherein the storage rows can be called word lines (WL) and the storage columns can be called bit lines (BL). When the storage rows extend along the first direction, the corresponding storage columns extend along the second direction, and a plurality of storage rows are sequentially arranged at intervals in the second direction, and a plurality of storage columns are sequentially arranged at intervals in the first direction; or when the storage rows extend along the second direction, the corresponding storage columns extend along the first direction, and a plurality of storage rows are sequentially arranged at intervals in the first direction, and a plurality of storage columns are sequentially arranged at intervals in the second direction. The redundant storage array includes redundant storage rows (YWL) and / or redundant storage columns (YBL), and both the redundant storage rows and / or redundant storage columns can be called redundant resources. When the redundant storage rows extend along the first direction, the redundant storage columns extend along the second direction, and a plurality of redundant storage rows are sequentially arranged at intervals in the second direction, and a plurality of redundant storage rows are sequentially arranged at intervals in the first direction; or when the redundant storage rows extend along the second direction, the redundant storage columns extend along the first direction, and a plurality of redundant storage rows are sequentially arranged at intervals in the first direction, and a plurality of redundant storage columns are sequentially arranged at intervals in the second direction. The redundant storage rows and storage rows extend in the same direction, the redundant storage columns and storage columns extend in the same direction, and the first direction and the second direction intersect each other. The redundant storage cells in the redundant storage array can be used to repair and replace failed storage cells in the storage array. It can be understood that when the redundant storage cells in the redundant storage array repair and replace failed storage cells in the storage array, the addresses of the storage rows / columns are mapped to the addresses of the redundant storage rows / columns, thereby realizing that the redundant storage cells in the redundant storage array repair and replace failed storage cells in the storage array.
[0034] The present application provides a method for repairing a storage device. Figure 2 , Figure 2 FIG. 1 is a flow chart of an embodiment of a method for repairing a storage device provided by the present application. Figure 2 As shown, the repair method includes the following steps:
[0035] Step S110: obtaining information about failed storage cells in the storage array, and determining a first failed storage cell.
[0036] The storage array includes storage units, wherein when writing data and reading data to the storage unit, when the written data is consistent with the read data, the storage unit is considered to be a normal storage unit; when the written data is inconsistent with the read data, the storage unit is considered to be a failed storage unit, i.e., a failed storage unit. Acquiring information about failed storage units in the storage array may be acquiring information such as the number of failed storage units in the storage array and the addresses of failed storage units. When acquiring information about failed storage units in the storage array, predetermined data may be written to all storage units in the storage array, and the read data may be compared with the predetermined data. The number of storage units whose predetermined data is inconsistent with the read data is used as the number of failed storage units in the storage array, and the address information of each failed storage unit is obtained at the same time. Here, no specific limitation is made on the method for acquiring information about failed storage units in the storage array. After determining the information about the failed storage unit, a first failed storage unit is determined. The first failed storage unit may be any failed storage unit among all failed storage units in the storage array.
[0037] S120: Determine a maximum failure direction of the first failed memory cell in the first direction and the second direction.
[0038] Based on the determined first failed storage unit, a maximum failure direction of the first failed storage unit is determined in the first direction and the second direction, wherein the maximum failure direction may be a direction in which the number of failed storage units in the first direction and the second direction is the largest in the storage row / column where the first failed storage unit is located when the first failed storage unit is used as a reference point.
[0039] S130: Repair the storage row / column where the first failed storage unit in the maximum failure direction is located in the replacement storage array by using a redundant storage array in the same direction that matches the maximum failure direction of the first failed storage unit.
[0040] After determining the maximum failure direction of the first failed storage unit, the redundant storage rows / columns in the redundant storage array that match the maximum failure direction of the first failed storage unit are used to repair and replace the storage rows / columns in the maximum failure direction where the first failed storage unit is located, thereby achieving the redundant storage units in the redundant storage array repairing the failed storage units in the replacement storage array.
[0041] For example, when the maximum failure direction of the first failed storage cell in the storage array is the storage row direction, a redundant storage row in the redundant storage array that matches the storage row direction is used to repair and replace the first failed storage cell in the storage array in the maximum failure direction of the first failed storage cell, that is, the address of the storage row where the first failed storage cell is located is mapped to the address of a redundant storage row in the same direction as the maximum failure direction, so that the redundant storage cell on the redundant storage row repairs and replaces the failed storage cell in the storage row.
[0042] The repair method of the storage device provided in the present application determines the first failed storage unit after obtaining the information of the failed storage unit in the storage array, and determines the maximum failure direction of the first failed storage unit based on the first failed storage unit to determine the direction with the largest number of failed storage units, and finally repairs and replaces a storage row / column in the storage array where the first failed storage unit in the maximum failure direction is located by a redundant storage row / column of the redundant storage array matching the maximum failure direction of the first failed storage unit, so that the redundant storage units in the redundant storage array repair and replace the failed storage units in the storage array, thereby realizing the repair of the maximum number of failed storage units in the storage array of the storage device, thereby improving the repair rate of the failed storage units of the storage device; further, the repair of the failed storage units of the storage device enables the storage device to be used normally. For example, if the repair method of the storage device provided in the present application is applied to the test of the storage device before mass production, the qualified rate of mass production of the storage device can be improved; if the repair method of the storage device provided in the present application is applied to the repair of the storage device during normal operation, the time of each power-on repair can be shortened.
[0043] Optionally, see Figure 3 , Figure 3 yes Figure 2 The flowchart of step S110 in the embodiment is as follows: Figure 3 As shown, step S110 obtains information of failed storage cells in the storage array and determines the first failed storage cell, including the following steps:
[0044] Step S111: Acquire address information of failed memory cells in each row and each column of memory cells in the memory array, and establish a failed memory cell distribution map.
[0045] Obtain address information of failed storage cells in each row and column of storage cells in the storage array, and establish a failed storage cell distribution map based on the address information of the failed storage cells. The failed storage cell distribution map may correspond each row in the storage array to a different point on the ordinate, and each column in the storage array to a different point on the abscissa, thereby establishing a coordinate distribution map of failed storage cells. Alternatively, refer to Figure 4 , Figure 4 This is the distribution of failed storage units in this application Figure 1 The structural diagram of the embodiment is as follows: Figure 4 As shown, each word line in the memory array corresponds to a row in the matrix, each bit line in the memory array corresponds to a column in the matrix, and the intersection position represents a failed memory cell, thereby establishing a matrix distribution diagram of the failed memory cells.
[0046] Step S112: In the failed memory cell distribution diagram, determine the first failed memory cell in the first storage row / column extending along the first direction having a failed memory cell as the first failed memory cell, wherein a plurality of storage rows / columns extending along the first direction are arranged in sequence along the second direction, and the first direction and the second direction intersect each other.
[0047] In determining the failed storage unit distribution map, the first failed storage unit in the first storage row / column extending along the first direction having the failed storage unit is determined as the first failed storage unit. It can be understood that the first direction is selected in the failed storage unit distribution map, and the first failed storage unit appearing in the storage row / column extending along the first direction is taken as the first failed storage unit. Among them, a plurality of storage rows / columns extending along the first direction are arranged in sequence along the second direction, and the first direction and the second direction intersect each other. For example, when the failed storage unit distribution map is a coordinate distribution map, the first direction can be the ordinate direction or the abscissa direction, and correspondingly the second direction is the abscissa direction or the ordinate direction. When the first direction is selected as the abscissa direction in the coordinate distribution map, the second direction is the ordinate direction, and when determining the first failed storage unit, the first failed storage unit appearing in the abscissa direction is determined as the first failed storage unit.
[0048] Alternatively, when the failed storage unit distribution diagram is a matrix distribution diagram, the first direction may be a row or a column in the matrix distribution diagram, and the corresponding second direction may be a column or a row in the matrix distribution diagram. When the first direction is selected as a row in the matrix distribution diagram and the second direction is selected as a column in the matrix distribution diagram, when determining the first failed storage unit, the first failed storage unit appearing in the row direction in the matrix distribution diagram is determined as the first failed storage unit. For example, Figure 4 In the failed memory cell matrix distribution diagram shown, each row in the R0-R6 rows in the failed memory cell matrix distribution diagram corresponds to a memory row, or each word line in the memory array; each column in the C0-C6 columns corresponds to a memory column, or each bit line in the memory array. The first direction is the memory row direction, and the first failed memory cell appearing in the R0-R6 rows, that is, the failed memory cell at position (R0, C0) in the failed memory cell matrix distribution diagram is determined as the first failed memory cell.
[0049] This embodiment obtains the address information of the failed storage cells in each row and each column of storage cells in the storage array and establishes a failed storage cell distribution map, so as to determine the first failed storage cell in the first storage row / column extending along the first direction with the failed storage cell as the first failed storage cell through the failed storage cell distribution map, thereby realizing the selection of the first failed storage cell; further, the method for selecting the first failed storage cell in this embodiment is simple and easy to implement, and can improve the repair efficiency of the failed storage cells.
[0050] Optionally, the first direction is a word line direction in the memory array, and the second direction is a bit line direction in the memory array.
[0051] Optionally, see Figure 5 , Figure 5 yes Figure 2 The flowchart of step S120 in the embodiment is as follows: Figure 5 As shown, step S120 determines the maximum failure direction of the first failed storage unit in the first direction and the second direction, including the following steps:
[0052] Step S121: Obtain a first number of failed memory cells in a storage row / column extending along a first direction where a first failed memory cell is located, and obtain a second number of failed memory cells in a storage column / row extending along a second direction where the first failed memory cell is located, wherein the first number of failed memory cells and the second number of failed memory cells respectively include the first failed memory cell.
[0053] After the first failed storage cell is determined, a first number of failed storage cells in a storage row / column extending along a first direction where the first failed storage cell is located is obtained, and a second number of failed storage cells in a storage column / row extending along a second direction where the first failed storage cell is located is obtained. Since the first direction and the second direction intersect each other, the first number of failed storage cells and the second number of failed storage cells both include the first failed storage cell.
[0054] Step S122: Compare the first number and the second number, and select a larger number of storage rows / columns extending along the first direction or storage columns / rows extending along the second direction as the maximum failure direction of the first failed storage unit.
[0055] Compare the acquired first quantity and the second quantity, and select a larger number of storage rows / columns extending along the first direction or a larger number of storage columns / rows extending along the second direction as the maximum failure direction of the first failed storage unit, that is, select the direction with the largest number of failed storage units in the storage rows / columns extending along the first direction or the storage columns / rows extending along the second direction as the maximum failure direction of the first failed storage unit.
[0056] For example, the number of failed memory cells on the storage row extending along the first direction where the first failed memory cell is located is 3, and the number of failed memory cells on the storage column extending along the second direction where the first failed memory cell is located is 4, then the storage column extending along the second direction where the first failed memory cell is located is taken as the maximum failure direction.
[0057] This embodiment selects a first number of failed storage cells in a storage row / column extending along a first direction where the first failed storage cell is located, and a second number of failed storage cells in a storage column / row extending along a second direction where the first failed storage cell is located, and selects a direction with a larger number of failed storage cells in the storage row / column where the first failed storage cell is located as the maximum failure direction of the first failed storage cell, so that when the redundant storage array is used to repair and replace the storage row / column where the first failed storage cell is located in the maximum failure direction in the storage array, more failed storage cells can be repaired, thereby improving the repair rate of failed storage cells of the storage device.
[0058] Optionally, see Figure 6 , Figure 6 FIG. 2 is a flow chart of another embodiment of the method for repairing a storage device provided by the present application. Figure 6 As shown, the repair method of this embodiment includes the following steps:
[0059] Step S210: obtaining information about failed storage cells in the storage array, and determining a first failed storage cell.
[0060] Step S210 can be implemented through steps S111 and S112, which will not be described in detail here.
[0061] Step S220: determining a maximum failure direction of the first failed memory cell in the first direction and the second direction.
[0062] The details of step S220 refer to step S120, which will not be described in detail here. Step S220 can also be implemented by steps S121 and S122.
[0063] Step S230: using a redundant storage array having the same direction as the maximum failure direction of the first failed storage unit to repair the storage row / column where the first failed storage unit in the maximum failure direction is located in the replacement storage array.
[0064] The details of step S230 refer to step S130 and are not described here repeatedly.
[0065] Step S240: updating the information of the failed storage cells in the storage array, and updating the first failed storage cell.
[0066] After the redundant storage array repairs and replaces the storage row / column where the first failed storage unit in the maximum failure direction in the storage array is located, the information of the failed storage unit in the storage array is updated, and the first failed storage unit is updated based on the updated information of the failed storage unit in the storage array.
[0067] Step S250: continuing to execute the steps of determining the maximum failure direction and repairing and replacing with the updated first failed storage unit.
[0068] After determining the updated first failed storage unit, the steps of determining the maximum failure direction of the first failed storage unit and repairing and replacing the first failed storage unit are continued with the updated first failed storage unit to continue repairing the failed storage unit of the storage device.
[0069] The repair method of this embodiment updates the information of the failed storage unit of the storage array and updates the first failed storage unit, so as to continue to select the maximum failure direction and perform the repair and replacement steps based on the updated first failed storage unit, thereby improving the utilization rate of the redundant storage array in the storage device.
[0070] Optionally, in order to improve the repair efficiency of failed storage units in the storage array, refer to Figure 7 , Figure 7 yes Figure 6 The flowchart of step S240 in the embodiment is as follows: Figure 7 As shown, step S240 updates the information of the failed storage unit in the storage array and updates the first failed storage unit, including the following steps:
[0071] Step S241: Remove the failed storage unit that has been repaired and replaced to update the failed storage unit distribution map of the storage array.
[0072] On the basis of the original failed storage unit distribution map, the repaired and replaced failed storage units are removed, so that the distribution map after the repaired and replaced failed storage units are removed serves as the updated failed storage unit distribution map of the storage array.
[0073] Step S242: in the updated failed storage unit distribution map of the storage array, determine to update the first failed storage unit.
[0074] The first failed storage cell is re-determined in the failed storage cell distribution map of the updated storage array to update the first failed storage cell.
[0075] This embodiment updates the failed storage unit distribution map of the storage array by removing, repairing and replacing failed storage units, so that the distribution map after removing, repairing and replacing failed storage units serves as the updated failed storage unit distribution map, and determines to update the first failed storage unit based on the updated failed storage unit distribution map of the storage array, so that the first failed storage unit can be quickly updated, thereby improving the repair efficiency of the failed storage units of the storage device.
[0076] Optionally, when removing the failed storage unit to be repaired and replaced, the redundant storage row / column in the redundant storage array that is in the same storage row / column as the failed storage unit to be repaired and replaced in the direction of maximum failure is removed synchronously. The removal of the redundant storage row / column in the redundant storage array that is in the same storage row / column as the failed storage unit to be repaired and replaced in the direction of maximum failure refers to marking the redundant storage row / column in the storage row / column where the first failed storage unit in the direction of maximum failure is located in the storage array used for repairing and replacing, so as to avoid the marked redundant storage row / column from being reused in the subsequent repair and replacement process.
[0077] Optionally, based on the above embodiment, refer to Figure 8 , Figure 8 FIG. 1 is a flow chart of another embodiment of the method for repairing a storage device provided by the present application. Figure 8 As shown, the repair method of this embodiment also includes the following steps:
[0078] Step S360: Determine whether the number of failed storage cells in the storage array is zero.
[0079] After the redundant storage array repairs and replaces the storage row / column where the first failed storage unit in the maximum failure direction of the storage array is located, some failed storage units in the storage array are repaired, and it is confirmed whether there are still failed storage units in the storage array that have not been repaired or replaced, that is, it is determined whether the number of failed storage units in the storage array is zero. Among them, to determine whether the number of failed storage units in the storage array is zero, the information of the failed storage units in the storage array can be re-acquired to further determine whether the number of failed storage units in the storage array is zero. Preferably, it can be confirmed whether the number of failed storage units in the storage array is zero by using the failed storage unit distribution map of the updated storage array.
[0080] Step S370: In response to the number of failed storage cells in the storage array being not zero, further determining whether the redundant storage rows / columns extending along the first direction and / or the redundant storage columns / rows extending along the second direction are exhausted.
[0081] In response to the number of failed storage cells in the storage array being not zero, that is, there are still failed storage cells in the storage array that have not been repaired and replaced, it is further determined whether the redundant storage rows / columns extending along the first direction and / or the redundant storage columns / rows extending along the second direction are exhausted.
[0082] Step S380: In response to the redundant storage rows / columns extending along the first direction and the redundant storage columns / rows extending along the second direction not being exhausted, return to continue to execute the step of updating the information of the failed storage cells in the storage array and updating the first failed storage cell.
[0083] If neither the redundant storage rows / columns extending along the first direction nor the redundant storage columns / rows extending along the second direction have been consumed, then in response to the redundant storage rows / columns extending along the first direction nor the redundant storage columns / rows extending along the second direction not being consumed, the process returns to continue to execute the step of updating the information of the failed storage cells in the storage array and updating the first failed storage cell, so as to continue to repair and replace the storage row / column where the first failed storage cell in the maximum failure direction in the updated storage array is located through the redundant storage rows / columns extending along the first direction and the redundant storage columns / rows extending along the second direction that have not been consumed.
[0084] This embodiment confirms whether there are still failed storage cells that need to be repaired in the storage array by judging whether the number of failed storage cells in the storage array is zero, and further judges whether redundant storage rows / columns extending along the first direction and / or redundant storage columns / rows extending along the second direction are exhausted when there are still failed storage cells that need to be repaired in the storage array, so as to continue to repair the failed storage cells in the storage array through the unexhausted redundant storage resources, thereby improving the repair efficiency of the failed storage cells of the storage array, and further improving the repair rate of the storage device.
[0085] Optionally, based on the above embodiment, refer to Fig. 9 , Fig. 9 FIG. 1 is a flow chart of another embodiment of the method for repairing a storage device provided by the present application. Fig. 9 As shown, in response to the redundant storage rows / columns extending along the first direction being exhausted and the redundant storage columns / rows extending along the second direction being not exhausted, the repair method further comprises the following steps:
[0086] Step S491: updating information of existing failed storage cells in the storage array, and counting the number of failed storage cells in each storage column / row extending along the second direction in the storage array.
[0087] When the redundant storage columns / rows extending along the first direction are exhausted, but the redundant storage columns / rows extending along the second direction are not exhausted, the redundant storage columns / rows extending along the second direction can continue to repair the failed storage cells in the storage array. At this time, the information of the existing failed storage cells in the storage array is updated, and the number of failed storage cells on each storage column / row extending along the second direction in the storage array is counted.
[0088] Step S492: Sort the failed storage cells on each storage column / row extending along the second direction in the storage array from most to least according to the number of failed storage cells.
[0089] The memory array is sorted from most to least according to the number of failed memory cells on each memory column / row extending along the second direction.
[0090] Step S493: using the existing redundant storage columns / rows extending along the second direction to sequentially repair and replace failed storage cells on the storage columns / rows extending along the second direction in the storage array according to the sorting result.
[0091] By using the existing redundant storage columns / rows extending along the second direction, the failed storage cells on the storage columns / rows extending along the second direction in the storage array are repaired and replaced in sequence from the most to least sorting result according to the number of failed storage cells on each storage column / row extending along the second direction in the storage array, so that the existing redundant storage columns / rows extending along the second direction repair as many failed storage cells on the storage columns / rows extending along the second direction as possible. The repair of failed storage cells in the storage array is stopped until the number of failed storage cells in the storage array is zero or the existing redundant storage columns / rows extending along the second direction are consumed.
[0092] For example, when redundant storage rows extending along a first direction are consumed, but redundant storage columns extending along a second direction are not consumed, the number of failed storage cells on each storage column extending along the second direction is counted, and the storage columns are sorted from most to least according to the number of failed storage cells. Finally, the redundant storage columns are used to repair and replace the storage columns in the sorted results, so as to repair and replace the failed storage cells on the storage columns.
[0093] This embodiment updates the information of existing failed storage cells in the storage array when the redundant storage rows / columns extending along the first direction are consumed but the redundant storage columns / rows extending along the second direction are not consumed, and counts the number of failed storage cells on each storage column / row extending along the second direction in the storage array, so as to sort the failed storage cells in the order of most to least by the number of failed storage cells on each storage column / row, and finally repairs and replaces the failed storage cells in the order of most to least by using the existing redundant storage columns / rows extending along the second direction, so as to repair a larger number of failed storage cells in the storage array by using limited redundant storage columns / rows, thereby improving the repair rate of failed storage cells in the storage device.
[0094] See also Fig.10 , Fig.10 FIG. 1 is a flow chart of an embodiment of the application of the method for repairing a storage device of the present application. Fig.10 As shown, in the repair method of this embodiment, the storage rows in the storage array extend along a first direction, or the first direction is the direction of the word lines in the storage array; the storage columns in the storage array extend along a second direction, or the second direction is the direction of the bit lines in the storage array. The repair method of this embodiment can be implemented by binary tree traversal. Binary tree traversal refers to accessing all nodes in the binary tree once and only once along a certain search route. Fig.11 , Fig.11 is a schematic diagram of an embodiment of a two-difference tree, such as Fig.11 As shown in the figure, the order of traversing nodes can be divided into three methods: pre-order, in-order, and post-order. Among them, the pre-order traversal order is root node -> left subtree -> right subtree, corresponding to Fig.11 The traversal order in is: A->B->D->H->E->I->J->C->F->K->G->L->M; the traversal order in the in-order is left subtree->root node->right subtree, corresponding to Fig.11 The traversal order in is: H->D->B->I->E->J->A->F->K->C->L->G->M; the order of post-order traversal is left subtree->right subtree->root node, corresponding to Fig.11The traversal order in is: H->D->I->J->E->B->K->F->L->M->G->C->A. In this embodiment, the traversal order adopted by the repair method is similar to the pre-order traversal, but not exactly the same. In the pre-order traversal, the root node is visited first, and then the left subtree is visited; because the left subtree is also the root node of its level, the left subtree of the next level is visited, and the traversal is carried out in this order until the left and right subtrees of the last level are reached; then the previous level is returned to visit the right subtree; after returning to the first level, the right subtree is also visited in the order of root node->left subtree->right subtree. This traversal order can be achieved through a recursive algorithm.
[0095] The repair method of this embodiment is implemented based on the pre-order traversal of the binary tree. The specific steps are as follows: obtaining the information of the failed storage unit in the storage array, establishing a failed storage unit matrix distribution map of the storage array, see Fig.12 , Fig.12 Schematic diagram of the structure of an embodiment of the failed storage unit matrix distribution diagram repair and replacement of the present application, such as Fig.12As shown, each row in the R0-R6 rows in the failed memory cell matrix distribution diagram corresponds to each word line in the memory array, or corresponds to a memory row; each column in the C0-C6 columns corresponds to each bit line in the memory array. Or corresponds to a memory column. Among them, when determining the first failed memory cell, the first direction is the word line direction in the memory array, and the second direction is the bit line direction in the memory array, that is, the first failed memory cell appearing in the row R0-R6 in the failed memory cell matrix distribution diagram is confirmed as the first failed memory cell. At this time, the first failed memory cell is the failed memory cell labeled (R0, C0) in the failed memory cell matrix distribution diagram. Based on the first failed storage cell, the number of failed storage cells in the R0 row direction and the C0 column direction is counted respectively, then the number of failed storage cells in the R0 row direction is 3, and the number of failed storage cells in the C0 column direction is 2, confirming that the maximum failure direction is the R0 row direction; using a redundant storage row in the redundant storage array matching the R0 row direction to replace and repair the R0 row, so as to repair a word line in the replacement storage array where the first failed storage cell in the R0 row with the maximum failure direction is located. After repairing the failed storage cells in the replacement storage array, the matrix distribution diagram of the failed storage cells is updated, that is, the failed storage cells on the R0 row are removed, and a redundant storage row is removed at the same time. Based on the updated failed storage cell matrix distribution diagram, it is determined whether the number of failed storage cells is zero. If the number of failed storage cells is zero, the repair and replacement is terminated; in response to the number of failed storage cells not being zero, it is further determined whether the redundant storage row and the redundant storage column are exhausted. In response to the redundant storage row / column not being exhausted, the first failed storage cell and the maximum failure direction are updated, and the repair and replacement steps are continued. In response to the redundant storage row being exhausted and the redundant storage column being not exhausted, the number of failed storage cells in the direction of each bit line is counted and sorted in order from most to least, and the existing redundant storage columns in the direction of the bit line are repaired and replaced in sequence according to the sorting result to replace the failed storage cells in each bit line in the storage array. Similarly, in response to the redundant storage row in the direction of the word line being not exhausted and the redundant storage column in the direction of the bit line being exhausted, the number of failed storage cells in the direction of each word line is counted and sorted in order from most to least, and the existing redundant storage rows in the direction of the word line are repaired and replaced in sequence according to the sorting result to replace the failed storage cells in the direction of each word line in the storage array.
[0096] The present application also provides a storage device repair system, see Fig.13 , Fig.13 FIG. 1 is a schematic diagram of a structure of an embodiment of a repair system for a storage device provided by the present application. Fig.13As shown, the repair system 10 includes a main control device 110 and a storage device 120. The main control device 110 is used to execute the repair method of any of the above embodiments to generate repair replacement information. The storage device 120 is coupled to the main control device 110 and receives the repair replacement information. The storage device 120 includes a storage grain 121, and the storage grain 121 includes at least one storage block (not marked in the figure), and each storage block includes a storage array (not marked in the figure) and a redundant storage array (not marked in the figure). It can be understood that the main control device 110 is used to execute the repair method of any of the above embodiments to generate repair replacement information, and the storage device 120 receives the repair replacement information to use the redundant resources of the redundant storage array to repair and replace the failed storage units in the storage array.
[0097] The repair system 10 of the storage device provided by the present application is provided with a main control device 110 and a storage device 120, wherein the main control device 110 is used to execute the repair method of any of the above embodiments to generate repair replacement information, and the storage device 120 repairs the failed storage unit in the storage array based on the repair replacement information, that is, the main control device 110 determines the first failed storage unit after obtaining the information of the failed storage unit in the storage array, and determines the maximum failure direction of the first failed storage unit based on the first failed storage unit to determine the direction with the largest number of failed storage units, and finally repairs and replaces the first failed storage unit in the maximum failure direction in the storage array by a redundant storage row / column of the redundant storage array matching the maximum failure direction of the first failed storage unit. A storage row / column where an effective storage unit is located is located, so that the redundant storage units in the redundant storage array are repaired to replace the failed storage units in the storage array, thereby realizing the repair of the maximum number of failed storage units in the storage array in the storage device 120, thereby improving the repair rate of the failed storage units of the storage device 120; further, the repair of the failed storage units of the storage device 120 enables the storage device 120 to be used normally. For example, if the storage device repair method provided in the present application is applied to the test of the storage device 120 before mass production, the qualified rate of the mass production of the storage device 120 can be improved; if the storage device repair method provided in the present application is applied to the repair of the storage device 120 during normal operation, the time for each power-on repair can be shortened.
[0098] In other embodiments, see Fig.14 , Fig.14 yes Fig.13 A schematic diagram of the structure of another embodiment of the storage device in the embodiment is shown in FIG. Fig.14As shown, the storage device 120 further includes a control chip 122, the control chip 122 is connected to the storage chip 121, and the control chip 122 is coupled to the main control device 110, wherein the control chip 122 and the storage chip 121 are packaged together, wherein the control chip 122 is used to receive the repair replacement information. That is, the control chip 122 receives the repair replacement information generated by the main control device 110, and the control chip 122 repairs and replaces the failed storage unit in the storage array based on the repair replacement information using the redundant resources of the redundant storage array.
[0099] In this embodiment, a control chip 122 is provided in the storage device 120 so that the storage device 120 can repair the failed storage cells in the storage array according to the changes of the failed storage cells in the storage array.
[0100] In other embodiments, the repair method and repair system of the present invention can be applied to the test phase of the storage device 120, such as the CP (Chip Probe) test phase. In this embodiment, the main control device 110 can be implemented by a host computer of a test machine, which executes any one of the repair methods in the aforementioned repair method embodiments to generate repair replacement information for use in repairing failed storage units when the storage device 120 operates normally after leaving the factory.
[0101] The above description is only an implementation method of the present application, and does not limit the scope of the patent application. Any equivalent structure or equivalent process transformation made according to the description and drawings of this application, or directly or indirectly applied in other related technical fields, are also included in the scope of patent protection of this application.
Claims
1. A method for repairing a storage device, characterized in that: The storage device comprises a storage array and a redundant storage array, wherein the redundant storage cells in the redundant storage array are used to repair and replace failed storage cells in the storage array, and the repair method comprises: Acquire information of failed storage cells in the storage array, and determine a first failed storage cell; determining a maximum failure direction of the first failed storage unit in a first direction and a second direction; The storage row / column of the redundant storage array matching the maximum failure direction of the first failed storage unit is used to repair and replace the storage row / column where the first failed storage unit in the storage array is located in the maximum failure direction.
2. The repair method according to claim 1, characterized in that: The acquiring information of failed storage units in the storage array and determining a first failed storage unit includes: Acquire address information of failed storage cells in each row and each column of storage cells in the storage array, and establish a failed storage cell distribution map; In the failed memory cell distribution map, the first failed memory cell in the first storage row / column extending along the first direction having a failed memory cell is determined as the first failed memory cell, wherein a plurality of storage rows / columns extending along the first direction are arranged in sequence along the second direction, and the first direction and the second direction intersect each other.
3. The repair method according to claim 2, characterized in that: The first direction is a word line direction in the memory array, and the second direction is a bit line direction in the memory array.
4. The repair method according to claim 2, characterized in that: The determining the maximum failure direction of the first failed storage unit in the first direction and the second direction includes: Obtaining a first number of failed storage cells in the storage row / column extending along the first direction where the first failed storage cell is located, and obtaining a second number of failed storage cells in the storage column / row extending along the second direction where the first failed storage cell is located, wherein the first number of failed storage cells and the second number of failed storage cells respectively include the first failed storage cell; The first number and the second number are compared, and the storage rows / columns extending along the first direction or the storage columns / rows extending along the second direction having a larger number are selected as the maximum failure direction of the first failed storage unit.
5. The repair method according to claim 2, characterized in that: Further including: updating information of the failed storage unit in the storage array, and updating the first failed storage unit; The steps of determining the maximum failure direction and the repair and replacement are continued with the updated first failed storage unit.
6. The repair method according to claim 5, characterized in that: The updating of the information of the failed storage unit in the storage array and updating the first failed storage unit includes: Removing the failed storage unit that is repaired and replaced to update the failed storage unit distribution map of the storage array; In the updated failed storage unit distribution map of the storage array, it is determined to update the first failed storage unit.
7. The repair method according to claim 6, characterized in that: When removing the failed storage unit to be repaired and replaced, the redundant storage row / column in the redundant storage array that is in the same storage row / column as the failed storage unit to be repaired and replaced in the maximum failure direction is removed synchronously.
8. The repair method according to claim 7, characterized in that: Further including: determining whether the number of the failed storage cells in the storage array is zero; In response to the number of the failed storage cells in the storage array being not zero, further determining whether the redundant storage rows / columns extending along the first direction and / or the redundant storage columns / rows extending along the second direction are exhausted; In response to the redundant storage rows / columns extending along the first direction and the redundant storage columns / rows extending along the second direction not being exhausted, the step of returning to continue to execute the step of updating the information of the failed storage cells in the storage array and updating the first failed storage cells.
9. The repair method according to claim 8, characterized in that: In response to the redundant storage rows / columns extending along the first direction being exhausted and the redundant storage columns / rows extending along the second direction being not exhausted, the repair method further comprises: Updating information of existing failed storage cells in the storage array, and counting the number of failed storage cells in each storage column / row extending along the second direction in the storage array; Sorting the failed storage cells on the storage columns / rows extending along the second direction in the storage array from most to least according to the number of failed storage cells; The existing redundant storage columns / rows extending along the second direction are used to sequentially repair and replace failed storage cells on the storage columns / rows extending along the second direction in the storage array according to the sorting result.
10. A storage device repair system, characterized in that: include: A main control device, executing the repair method according to any one of claims 1 to 9 to generate repair replacement information; A storage device, coupled to the main control device, wherein the storage device comprises: The storage die includes at least one storage block, and each storage block includes a storage array and a redundant storage array.
11. The repair system according to claim 10, characterized in that: The storage device also includes: A control die is packaged together with the storage die, wherein the control die receives the repair and replacement information.
Citation Information
Patent Citations
Method for repairing defects of NAND flash memory
CN110853694A
Method and system for repairing faulty cells of memory device
US20230019575A1
High speed redundancy processor
US4586178A
Testing apparatus for semiconductor memory device
US6535993B1
Built-in redundancy analysis for memories with row and column repair
US6795942B1
Cited By
Method for repairing sparse failure unit in memory chip
CN119446241A
A method for repairing sparse failed cells in a memory chip
CN119446241B
