Multivariate redundancy analysis method for grouping after sparse matrix merging and implementation device of multivariate redundancy analysis method
Through the multivariate redundancy analysis method of sparse matrix merging and grouping, and using simulated addition to merge the solution space, the problem of high complexity of redundancy analysis algorithms in the existing technology is solved, and efficient repair judgment of DRAM redundant resources is realized.
Patent Information
- Application Number
- CN202310226312.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-09
- Publication Date
- 2024-09-17
AI Technical Summary
In the prior art, the redundancy analysis algorithm used by the combined recursive method for DRAM redundant resource layout is too complex and cannot be effectively implemented.
A multivariate redundancy analysis method is proposed for sparse matrix merging and grouping. By detecting the fault point distribution map, the fault points are divided into fault groups according to their association relationships, and simulated addition is used to merge the solution space to reduce computational complexity and optimize the use of redundant resources. Strategy.
The computational complexity is reduced, the usage efficiency of redundant resources is improved, and the amount of calculation is reduced, making the repair judgment of DRAM redundant resource layout more efficient.
Smart Images

Figure CN118656254A
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of integrated circuit (IC) automatic test equipment (ATE for short), and relates to a multivariate redundancy analysis method for grouping sparse matrices after merging and a realization device thereof. Background Art
[0002] There are many designs for redundant resource layout in the current industry. Typical layouts are: the DRAM redundant resource layout includes at least one storage area of the DRAM, each storage area includes N block groups BlockGroup, each block group BlockGroup includes M blocks Block and has a shared column redundant resource Ct, and each block Block has a row redundant resource Rt; wherein x is a value between 0 and the shared column redundant resource Ct, and y is a number between 0 and the row redundant resource Rt; generally speaking, the solution steps are:
[0003] Step 1: Find the minimum column redundancy resources required after all row redundancy resources are used up in each block;
[0004] Step 2: If the sum of the minimum column redundancy resources required by all blocks under the entire block group BlockGroup is less than the total number of column redundancy resources possessed by the BlockGroup, the entire block group BlockGroup can be repaired; otherwise, it cannot be repaired.
[0005] The second step is relatively simple. For the first step, the current practices in the industry are:
[0006] ① Grouping
[0007] The fault points in the block are divided into several fault groups according to the association relationship. Specifically, the fault points with the same row / same column are merged into one fault group. For example, assuming there are five fault points A(r1,c1), B(r1,c2), C(r3,c3), D(r4,c2), and E(r5,c3), A(r1,c1) and B(r1,c2) have the same row address, and B(r1,c2) and D(r4,c2) have the same col address, so A(r1,c1), B(r1,c2), and D(r4,c2) are one fault group; C(r3,c3) and E(r5,c3) have the same row / same column address, so C(r3,c3) and E(r5,c3) are one fault group.
[0008] ②、Solving the fault within the group
[0009] After grouping, each fault group is solved separately. For example, a fault group occupies m row addresses and n column addresses. At this time, a method Func for solving the solution space can be found, so that FuncFailGroup = {R0Cx, R1Cx…RmCx}, {} is called the solution space of FailGroup; among them, RiCx means when this group uses i row redundant lines for repair, the minimum number of column redundant lines required for repair.
[0010] ③、Solving the faults between groups
[0011] After finding the solution space of each fault group, perform the inter-fault group solution, that is, find the minimum column redundant resources required when the total row redundant resources are certain.
[0012] Please refer to Figure 1 , Figure 1 The figure shows a schematic diagram of the principle of solving the problem by using a combined recursive method in the prior art. Figure 1 As shown, assume that a block has 4 row redundancy resources (R=4), the fault points in the block are divided into 3 fault groups (FailGroup1, FailGroup2, FailGroup3), and a solution space has been found in each fault group. The minimum column redundancy lines required for repair are calculated.
[0013] Specifically, if the solution is solved in a combined recursive way, the steps are:
[0014] Step S01: Find a solution element in the solution space of fault group FailGroup1, find a solution element in the solution space of fault group FailGroup2, and find a solution element in the solution space of FailGroup3. Simply sum up the three solution elements to get a solution. That is to say, sum up the first solution elements of the above three fault groups to get R0C9, and the C value of this combined solution is 9.
[0015] Step S02: Find all possible solution element combinations, and find the minimum C value that satisfies R<=4 among all the solution element combinations found, which is the minimum number of column redundant resources required by the Block.
[0016] The above operation method is simple, but it requires exhausting all possible combinations of solution elements. If the size of each fault group is calculated by row, namely R1, R2...Rn, the complexity of the algorithm is O(R1*R2...*Rn). If there are many fault points in the Block, it can be divided into 10 fault groups, and the fault points of each fault group occupy 5 rows. Then the complexity of this combined recursive algorithm is O(5^10)=9765625, so the amount of solution calculation will be very large. Summary of the invention
[0017] In order to solve the above technical problems, the present invention proposes a multivariate redundancy analysis method for grouping sparse matrices after merging, which solves the problem that the algorithm complexity of the combined recursive method is too high and thus cannot be implemented.
[0018] To achieve the above object, the technical solution of the present invention is as follows:
[0019] A multivariate redundancy analysis method for grouping sparse matrices after merging is used for optimizing DRAM redundant resource layout strategy. The DRAM redundant resource layout includes at least one storage area of the DRAM, each of the storage areas includes a plurality of block groups BlockGroup, each of the block groups BlockGroup includes N blocks Block and has a shared column redundant resource Ct, and each of the blocks Block has a row redundant resource Rt; wherein x is a value between 0 and the shared column redundant resource Ct, and y is a number between 0 and the row redundant resource Rt; the method includes the following steps:
[0020] Step S1: Detect the storage area of the DRAM to obtain a distribution map of all fault points; treat the rows and columns of all the fault points as nodes and store them in a sparse matrix; divide the fault points in each block into several fault groups according to the association relationship, that is, merge the fault points with the same row / column into a fault group FailGroup, forming M fault groups {FailGroup1, FailGroup2 … FailGroupy … FailGroupM};
[0021] Step S2: When initialized, y is 2; solve each element RyCx for the fault group FailGroup1 and the fault group FailGroup2 respectively, and merge them into a new fault group NewFailGroup, whose solution space is {R0Cx, R1Cx...RyCx...RtCx}; wherein y is set to an integer value between 2 and t;
[0022] Step S3: add 1 to y to determine whether y is greater than t. If not, solve each element RyCx of the fault group NewFailGroup and the fault group FailGroupy in turn, and merge them into a new fault group NewFailGroup again. The solution space of the fault group NewFailGroup is {R0Cx, R1Cx...RyCx...RtCx}; continue to execute step S3; if yes, determine that the solution space is {R0Cx, R1Cx...RyCx...RtCx}, and execute step S4;
[0023] Step S4: searching for a solution in the solution space {R0Cx, R1Cx ... RyCx ... RtCx}, wherein the solution is limited to Rt row redundant resources, using as many redundant row resources as possible within the block, thereby using the minimum shared column redundant resources Cmin, which is the solution of the block Block;
[0024] Step S5: Perform statistical summation at the block group BlockGroup level to obtain the minimum shared column redundant resource Cx required to repair the BlockGroup. If x of the shared column redundant resource Cx is less than or equal to the shared redundant resource Ct of the block group BlockGroup, it is determined that the block group BlockGroup can be repaired; otherwise, it is determined that the block group BlockGroup cannot be repaired.
[0025] Furthermore, in step S2, each element RyCx is solved for each of the fault groups FailGroup1 and FailGroup2, and the combined fault group NewFailGroup has a solution space of {R0Cx, R1Cx...RyCx...RtCx}, specifically including:
[0026] Step S21: decompose y into the combinations of (0,y), (1,(y-1)), (2,(y-2))…(y,0);
[0027] Corresponding to:
[0028] R0Cx of fault group FailGroup1, RyCx of fault group FailGroup2, record the x value of fault group FailGroup1 + the x value of fault group FailGroup2 at this time;
[0029] R1Cx of fault group FailGroup1, R(y-1)Cx of fault group FailGroup2, record the x value of fault group FailGroup1 + the x value of fault group FailGroup2 at this time;
[0030] R2Cx of fault group FailGroup1, R(y-2)Cx of fault group FailGroup2, record the x value of fault group FailGroup1 + the x value of fault group FailGroup2 at this time;
[0031] …
[0032] RyCx of fault group FailGroup1, R0Cx of fault group FailGroup2, record the x value of fault group FailGroup1 + the x value of fault group FailGroup2 at this time;
[0033] Step S22: the minimum value of the x value of the fault group FailGroup1 + the x value of the fault group FailGroup2 in each of the above cases is the x value in RyCx of the new fault group NewFailGroup;
[0034] Step S23: Record the values of the new fault group R0Cx-RtCx, which is the solution space of the new fault group NewFailGroup.
[0035] To achieve the above object, another technical solution of the present invention is as follows:
[0036] A device for implementing the multivariate redundancy analysis method of grouping after merging the above-mentioned sparse matrix, wherein the DRAM redundant resource layout includes at least one storage area of the DRAM, each of the storage areas includes a plurality of block groups BlockGroup, each of the block groups BlockGroup includes N blocks Block and has a shared column redundant resource Ct, and each of the blocks has a row redundant resource Rt; wherein x is a value between 0 and the shared column redundant resource Ct, and y is a number between 0 and the row redundant resource Rt; it includes:
[0037] The detection module detects the storage area of the DRAM to obtain a distribution map of all fault points; the rows and columns of all the fault points are respectively regarded as a node and stored in a sparse matrix; the fault points in each block are divided into several fault groups according to the association relationship, that is, the fault points with the same row / same column are merged into a fault group FailGroup, forming M fault groups {FailGroup1, FailGroup2 … FailGroupy … Fail Group M};
[0038] The solution space generation module solves each element RyCx of the fault group FailGroup1 and the fault group FailGroup2 respectively, and merges them into a new fault group NewFailGroup, whose solution space is {R0Cx, R1Cx...RyCx...RtCx}; wherein, y is set to an integer value between 2 and t, and y is 2 during initialization; and y is added by 1 to determine whether y is greater than t. If not, the fault group NewFailGroup is added to the fault group FailGroupy in turn to merge and regenerate a new fault group NewFailGroup, and the solution space of the fault group NewFailGroup is {R0Cx, R1Cx...RyCx...RtCx}, until y is greater than t; at this time, the solution space is determined to be {R0Cx, R1Cx...RyCx...RtCx};
[0039] A solution selection module searches for a solution in the solution space {R0Cx, R1Cx ... RyCx ... RtCx}, wherein the solution is limited to Rt row redundant resources, uses as many redundant row resources as possible within the block, and thus uses the minimum shared column redundant resources Cmin, which is the solution of the block Block;
[0040] The repair judgment module performs statistical summation at the block group BlockGroup level to obtain the minimum shared column redundant resource Cx required to repair the BlockGroup. If x of the shared column redundant resource Cx is less than or equal to the shared redundant resource Ct of the block group BlockGroup, it is determined that the block group BlockGroup can be repaired; otherwise, it is determined that the block group BlockGroup cannot be repaired.
[0041] It can be seen from the above technical solutions that the multivariate redundancy analysis method and implementation device for grouping sparse matrices after merging in the embodiment of the present invention, when Block has only a total number of row redundant resources Rt but no total number of column redundant resources Ct, and its column redundant resources are shared between BlockGroups, can meet the restrictions of the total number of row redundant resources Rt of the entire block Block and the total number of column redundant resources Ct shared by each Block, thereby reducing the computational complexity and optimizing the use strategy of redundant resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 The schematic diagram of the principle of solving the problem by combining recursion in the prior art is shown as follows
[0043] Figure 2 FIG. 1 is a flow chart of a multivariate redundancy analysis method for grouping sparse matrices after merging according to an embodiment of the present invention.
[0044] Figure 3 Schematic diagram of the method of finding a block solution space for each fault group in the implementation of the present invention
[0045] Figure 4 Schematic diagram of a method for finding a block solution space for a new fault group NewFailGroup formed by merging the fault group FailGroup1 and the fault group FailGroup2 in an embodiment of the present invention
[0046] Figure 5 Schematic diagram of a method for finding a block solution in an embodiment of the present invention DETAILED DESCRIPTION
[0047] The following is combined with Figure 2-5 , the specific implementation modes of the present invention are further described in detail.
[0048] It should be noted that the resource allocation strategy proposed in the present invention is used to optimize the DRAM redundant resource layout strategy, and the DRAM redundant resource layout includes at least one storage area of the DRAM, each of which includes a number of block groups BlockGroup, each of which includes N blocks Block and has a shared column redundant resource Ct, and each of which has a row redundant resource Rt; wherein x is a value between 0 and the shared column redundant resource Ct, and y is a number between 0 and the row redundant resource Rt. Of course, in reality, a DRAM main storage area can have multiple storage areas, and in the embodiment of the present invention, only one is used as an example.
[0049] See also Figure 2 , Figure 2 FIG. 2 is a flow chart of a multivariate redundancy analysis method for grouping sparse matrices after merging according to an embodiment of the present invention. Figure 2 As shown, the multivariate redundancy analysis method for grouping the sparse matrix after merging includes the following steps:
[0050] Step S1: Detect the storage area of the DRAM to obtain a distribution map of all fault points; treat the rows and columns of all the fault points as nodes and store them in a sparse matrix; divide the fault points in each block into several fault groups FailGroup according to the association relationship, that is, merge the fault points with the same row / column into one fault group FailGroup, forming M fault groups {FailGroup1, FailGroup2 … FailGroupy … FailGroupM}.
[0051] Step S2: During initialization, y is 2; for the fault groups FailGroup1 and FailGroup2, solve each element RyCx respectively and merge them into a new fault group NewFailGroup, whose solution space is {R0Cx, R1Cx…RyCx…RtCx}; wherein y is set to an integer value between 2 and t.
[0052] In the embodiment of the present invention, the merging of various fault groups is called simulated addition, which is essentially merging the solution spaces of the two fault groups under the Block to obtain a new solution space;
[0053] NewFailGroup=FailGroup1+FailGroup2
[0054] That is, NewFailGroup is a new fault group formed by merging FailGroup1 and FailGroup2 according to the fault point;
[0055] Func(FailGroup1)⊕Func(FailGroup2)=Func(NewFailGroup)
[0056] Among them, ⊕ is the solution space merging method, also known as simulated addition, which needs to satisfy the above equation, that is, the solution space obtained by simulated addition and the solution space directly calculated by merging into a new fault group should be consistent.
[0057] Please refer to Figure 3 , Figure 3 FIG. 2 is a schematic diagram of a method for searching for block solution spaces for all fault groups in an embodiment of the present invention. Figure 3 As shown, in step S2, the fault group FailGroup1 and the fault group FailGroup2 are merged into a new fault group NewFailGroup, and its solution space is {R0Cx, R1Cx...RyCx...RtCx};
[0058] The process of merging the fault group FailGroup1 and the fault group FailGroup2 is to solve each element RyCx respectively. The description can specifically include the following steps:
[0059] Step S21: decompose y into the combinations of (0,y), (1,(y-1)), (2,(y-2))…(y,0);
[0060] Corresponding to:
[0061] R0Cx of fault group FailGroup1, RyCx of fault group FailGroup2, record the x value of fault group FailGroup1 + the x value of fault group FailGroup2 at this time;
[0062] R1Cx of fault group FailGroup1, R(y-1)Cx of fault group FailGroup2, record the x value of fault group FailGroup1 + the x value of fault group FailGroup2 at this time;
[0063] R2Cx of fault group FailGroup1, R(y-2)Cx of fault group FailGroup2, record the x value of fault group FailGroup1 + the x value of fault group FailGroup2 at this time;
[0064] …
[0065] RyCx of fault group FailGroup1, R0Cx of fault group FailGroup2, record the x value of fault group FailGroup1 + the x value of fault group FailGroup2 at this time;
[0066] Step S22: the minimum value of the x value of the fault group FailGroup1 + the x value of the fault group FailGroup2 in each of the above cases is the x value in RyCx of the new fault group NewFailGroup;
[0067] Step S23: Record the values of the new fault group R0Cx-RtCx, which is the solution space of the new fault group NewFailGroup.
[0068] It should be noted that the above algorithm has been verified to be equivalent to the combinatorial recursive method in terms of results, and the mathematical proof process will not be repeated here.
[0069] Step S3: add 1 to y to determine whether y is greater than t. If not, sequentially add the fault group NewFailGroup to the group FailGroupy to form a new fault group NewFailGroup, and the solution space of the fault group NewFailGroup is {R0Cx, R1Cx…RyCx…RtCx}; continue to execute step S3; if yes, determine that the solution space is {R0Cx, R1Cx…RyCx…
[0070] RtCx}, execute step S4;
[0071] Step S4: searching for a solution in the solution space {R0Cx, R1Cx ... RyCx ... RtCx}, wherein the solution is limited to Rt row redundant resources, using as many redundant row resources as possible within the block, thereby using the minimum shared column redundant resources Cmin, which is the solution of the block Block;
[0072] Step S5: Perform statistical summation of all blocks under the BlockGroup at the block group BlockGroup level to obtain the minimum shared column redundant resource Cx required to repair the BlockGroup; if x of the shared column redundant resource Cx is less than or equal to the shared redundant resource Ct of the block group BlockGroup, it is determined that the block group BlockGroup can be repaired; otherwise, it is determined that the block group BlockGroup cannot be repaired.
[0073] In addition, in an embodiment of the present invention, the following device can be used to implement the multivariate redundancy analysis method for grouping the above-mentioned sparse matrix after merging, wherein the DRAM redundant resource layout includes at least one storage area of the DRAM, each of the storage areas includes a plurality of block groups BlockGroup, each of the block groups BlockGroup includes N blocks Block and has a shared column redundant resource Ct, and each of the block Block has a row redundant resource Rt; wherein x is a value between 0 and the shared column redundant resource Ct, and y is a number between 0 and the row redundant resource Rt; it can specifically include a detection module, a solution space generation module, a solution selection module, and a repair judgment module.
[0074] The detection module is used to detect the storage area of the DRAM to obtain a distribution map of all fault points; the rows and columns of all the fault points are respectively regarded as a node and stored in a sparse matrix; the fault points in each block are divided into several fault groups FailGroup according to the association relationship, that is, the fault points with the same row / same column are merged into one fault group FailGroup, forming M fault groups {FailGroup1, FailGroup2 … FailGroupy … FailGroupM};
[0075] The solution space generation module is used to solve each element RyCx of the fault group FailGroup1 and the fault group FailGroup2 respectively, and merge them into a fault group NewFailGroup, whose solution space is {R0Cx, R1Cx...RyCx...RtCx}; wherein, y is set to an integer value between 2 and t, and when initialized, y is 2; and y is added by 1 to determine whether y is greater than t. If not, the fault group NewFailGroup and the fault group FailGroupy are solved for each element RyCx respectively in turn, and merged again into a new fault group NewFailGroup, and the solution space of the fault group NewFailGroup is {R0Cx, R1Cx...RyCx...RtCx}, until y is greater than t; at this time, it is determined that the solution space is {R0Cx, R1Cx...RyCx...RtCx};
[0076] The solution selection module is used to find a solution in the solution space {R0Cx, R1Cx...RyCx...RtCx}, where the solution is limited to Rt row redundant resources, using as many redundant row resources as possible within the block, thereby using the minimum shared column redundant resources Cmin, which is the solution of the block Block;
[0077] The repair judgment module is used to perform statistical summation at the block group BlockGroup level to obtain the minimum shared column redundant resource Cx required to repair the BlockGroup. If x of the shared column redundant resource Cx is less than or equal to the shared redundant resource Ct of the block group BlockGroup, it is determined that the block group BlockGroup can be repaired. Otherwise, it is determined that the block group BlockGroup cannot be repaired.
[0078] Example 1
[0079] The following is a detailed description of the case of a block, where M is 3, Rt is 4, and Ct is 3. Figure 4 , Figure 4 The figure shows a schematic diagram of a block solution space method for finding a new fault group NewFailGroup formed by merging the fault group FailGroup1 and the fault group FailGroup2 in an embodiment of the present invention. The row redundancy resource Rt of each block Block is 4, and the block group has a shared column redundancy resource Ct=3. In an embodiment of the present invention, the new fault group NewFailGroup formed by merging the fault group FailGroup1 and the fault group FailGroup2;
[0080] FailGroup1 and FailGroup2 respectively find each solution element, that is, generate a new fault group. The RyCx solution process of the new fault group solution space is as follows;
[0081] ① For R0, 0 can only be decomposed into 0+0. After checking R0C4 of fault group FailGroup1 and R0C3 of fault group FailGroup2, the column redundancy resource corresponding to R0 of fault group NewFailGroup is C7.
[0082] Find the minimum C value, then the fault group NewFailGroup finds a solution R0C7;
[0083] ② For R1, 1 can be decomposed into two combinations: 1+0 and 0+1;
[0084] 1+0, after checking R1C2 of fault group FailGroup1 and R0C3 of fault group FailGroup2, the column redundant resource corresponding to R1 of fault group NewFailGroup is C5;
[0085] 0+1. After checking R0C4 of fault group FailGroup1 and R1C1 of fault group FailGroup2, the column redundant resource corresponding to R1 of fault group NewFailGroup is C5.
[0086] Find the minimum C value, then the fault group NewFailGroup finds a solution R1C5;
[0087] ③For R2, 2 can be decomposed into three combinations: 0+2, 1+1, and 2+0;
[0088] 0+2. After checking R0C4 of fault group FailGroup1 and R2C1 of fault group FailGroup2, the column redundant resource corresponding to R2 of fault group NewFailGroup is C5.
[0089] 1+1, after checking R1C2 of fault group FailGroup1 and R1C1 of fault group FailGroup2, the column redundant resource corresponding to R2 of fault group NewFailGroup is C3;
[0090] 2+0, after checking R2C0 of fault group FailGroup1 and R0C3 of fault group FailGroup2, the column redundant resource corresponding to R2 of fault group NewFailGroup is C3;
[0091] Find the minimum C value, then the fault group NewFailGroup finds a solution R2C3;
[0092] ④ For R3, 3 can be decomposed into two combinations: 1+2 and 2+1.
[0093] 1+2. After checking R1C2 of fault group FailGroup1 and R2C0 of fault group FailGroup2, the column redundant resource corresponding to R3 of fault group NewFailGroup is C2.
[0094] 2+1, after checking R2C0 of group FailGroup1 and R1C1 of group FailGroup2, the column redundant resource corresponding to R3 of fault group NewFailGroup is C1;
[0095] Find the minimum C value, then the fault group NewFailGroup finds a solution R3C1;
[0096] ⑤. For R4, due to the limitations of FailGroup1 and FailGroup2, 4 can only be decomposed into a combination of 2+2;
[0097] After checking R2C0 of fault group FailGroup1 and R2C0 of fault group FailGroup2, the column redundant resource corresponding to R4 of fault group NewFailGroup is C0;
[0098] Find the minimum C value, and the fault group NewFailGroup finds a solution R4C0.
[0099] Please refer to Figure 5 , Figure 5 FIG. 1 is a schematic diagram of a method for finding a block solution in an embodiment of the present invention. Figure 5 As shown, the fault group NewFailGroup continues to simulate and add with the fault group FailGroup3, and the final solution space of the three fault groups can be obtained, that is, the solution space of this block (Block).
[0100] Depend on Figure 5 It can be seen that the solution of R4Cx of this block is 1, that is, after this block uses up all 4 redundant row resources, at least 1 redundant column resource is needed to repair the fault point.
[0101] In summary, in the embodiment of the present invention, the scale of each fault group is calculated by ROW, namely R1, R2...Rn. The above method:
[0102] The time complexity of failure group FailGroup1 + failure group FailGroup2 is: O(R1*R2)
[0103] The time complexity of the fault group NewFailGroup + the fault group FailGroup3 is: (R1+R2)*R3
[0104] So the total time complexity is:
[0105] O(R1*R2+(R1+R2)*R3+(R1+R2+R3)*R4…)
[0106] =O(R1*R2+R1*R3+R2*R3…)
[0107] Given that 2R1*R2+2R1*R3+2R2*R3=(R1+R2+R3)^2-R1^2-R2^2–R3^2
[0108] So the time complexity of the above algorithm is O((ΣRn)^2))
[0109] When the number of fault groups is particularly large, the amount of computation required by analog addition is much smaller than that of the recursive method.
[0110] For example, a block has 10 fault groups in total, and the number of rows in each fault group is 5.
[0111] Combination recursion method, the time complexity is O(R1*R2…*Rn),
[0112] The calculation is 5*5*5*5…*5=9765625
[0113] Simulate addition, the time complexity is O((ΣRn)^2))
[0114] Calculation shows that (5+5+5+5…+5)^2=2500.
[0115] The above-described embodiments are only preferred embodiments of the present invention, and the embodiments are not intended to limit the patent protection scope of the present invention. Therefore, any equivalent structural changes made using the description and drawings of the present invention should also be included in the protection scope of the present invention.
Claims
1. A multivariate redundancy analysis method for grouping sparse matrices after merging, which is used for optimizing DRAM redundant resource layout strategy, wherein the DRAM redundant resource layout includes at least one storage area of the DRAM, each of which includes a plurality of block groups BlockGroup, each of which includes N blocks Block and has a shared column redundant resource Ct, and each of which has a row redundant resource Rt; wherein, x is a value between 0 and the shared column redundant resource Ct, and y is a value between 0 and the row redundant resource Rt; the method is characterized in that it includes the following steps: Step S1: Detect the storage area of the DRAM to obtain a distribution map of all fault points; treat the rows and columns of all the fault points as nodes and store them in a sparse matrix; divide the fault points in each block into several fault groups FailGroup according to the association relationship, that is, merge the fault points with the same row / column into one fault group FailGroup, forming M fault groups {FailGroup1, FailGroup2 … FailGroupy … FailGroupM}; Step S2: Solve each element RyCx of the fault group FailGroup1 and the fault group FailGroup2 respectively, and merge them into a new fault group NewFailGroup, whose solution space is {R0Cx, R1Cx...RyCx...RtCx}; wherein y is set to an integer value between 2 and t; when initialized, y is 2; Step S3: add 1 to y to determine whether y is greater than t. If not, sequentially add the fault group NewFailGroup to the fault group FailGroupy to form a new fault group NewFailGroup. The solution space of the fault group NewFailGroup is {R0Cx, R1Cx... RyCx…RtCx}; proceed to step S3; if yes, determine that the solution space is {R0Cx, R1Cx…RyCx…RtCx}, and proceed to step S4; Step S4: searching for a solution in the solution space {R0Cx, R1Cx ... RyCx ... RtCx}, wherein the solution is limited to Rt row redundant resources, using as many redundant row resources as possible within the block, thereby using the minimum shared column redundant resources Cmin, which is the solution of the block Block; Step S5: Perform statistical summation at the block group BlockGroup level to obtain the minimum shared column redundant resource Cx required to repair the BlockGroup. If x of the shared column redundant resource Cx is less than or equal to the shared redundant resource Ct of the block group BlockGroup, it is determined that the block group BlockGroup can be repaired; otherwise, it is determined that the block group BlockGroup cannot be repaired.
2. The multivariate redundancy analysis method for grouping sparse matrices after merging according to claim 1 is characterized in that: In step S2, each element RyCx of the fault group FailGroup1 and the fault group FailGroup2 is solved respectively, and the new fault group NewFailGroup is merged, and its solution space is {R0Cx, R1Cx...RyCx...RtCx}, which specifically includes: Step S21: decompose y into the combinations of (0,y), (1,(y-1)), (2,(y-2))…(y,0); Corresponding to: R0Cx of fault group FailGroup1, RyCx of fault group FailGroup2, record the x value of fault group FailGroup1 + the x value of fault group FailGroup2 at this time; R1Cx of fault group FailGroup1, R(y-1)Cx of fault group FailGroup2, record the x value of fault group FailGroup1 + the x value of FailGroup2 at this time; R2Cx of fault group FailGroup1, R(y-2)Cx of fault group FailGroup2, record the x value of fault group FailGroup1 + the x value of fault group FailGroup2 at this time; …… RyCx of fault group FailGroup1, R0Cx of fault group FailGroup2, record the x value of fault group FailGroup1 + the x value of fault group FailGroup2 at this time; Step S22: the minimum value of the x value of the fault group FailGroup1 + the x value of the fault group FailGroup2 in each of the above cases is the x value in RyCx of the new fault group NewFailGroup; Step S23: Record the values of the new fault group R0Cx-RtCx, which is the solution space of the new group NewFailGroup.
3. A device for implementing the multivariate redundancy analysis method of merging and grouping sparse matrices according to claim 1, wherein the DRAM redundant resource layout includes at least one storage area of the DRAM, each of the storage areas includes a plurality of block groups BlockGroup, each of the block groups BlockGroup includes N blocks Block and has a shared column redundant resource Ct, and each of the blocks Block has a row redundant resource Rt; wherein, x is a value between 0 and the shared column redundant resource Ct, and y is a value between 0 and the row redundant resource Rt; the characteristics include: The detection module detects the storage area of the DRAM to obtain a distribution map of all fault points; the rows and columns of all the fault points are respectively regarded as a node and stored in a sparse matrix; the fault points in each block are divided into several fault groups FailGroup according to the association relationship, that is, the fault points with the same row / same column are merged into one fault group FailGroup, forming M fault groups {FailGroup1, FailGroup2 … FailGroupy … FailGroupM}; The solution space generation module solves each element RyCx of the fault group FailGroup1 and the fault group FailGroup2 respectively, and merges them into a new fault group NewFailGroup, whose solution space is {R0Cx, R1Cx...RyCx...RtCx}; wherein y is set to an integer value between 2 and t, and y is 2 during initialization; and y is added by 1 to determine whether y is greater than t. If not, the fault group NewFailGroup and the fault group FailGroupy are solved for each element RyCx respectively in turn, and merged into a new fault group NewFailGroup, whose solution space is {R0Cx, R1Cx...RyCx...RtCx}, until y is greater than t; at this time, the solution space is determined to be {R0Cx, R1Cx...RyCx...RtCx}; A solution selection module searches for a solution in the solution space {R0Cx, R1Cx ... RyCx ... RtCx}, wherein the solution is limited to Rt row redundant resources, uses as many redundant row resources as possible within the block, and thus uses the minimum shared column redundant resources Cmin, which is the solution of the block Block; The repair judgment module performs statistical summation at the block group BlockGroup level to obtain the minimum shared column redundant resource Cx required to repair the BlockGroup. If x of the shared column redundant resource Cx is less than or equal to the shared redundant resource Ct of the block group BlockGroup, it is determined that the block group BlockGroup can be repaired; otherwise, it is determined that the block group BlockGroup cannot be repaired.
