Grouping method, device and equipment for built-in self-testing of large-scale memory and storage medium

Through the combination of greedy algorithm and simulated annealing algorithm, the problems of high time complexity and poor grouping quality of large-scale MBIST grouping are solved, fast convergence and high-quality grouping results are achieved, and the grouping time is significantly shortened and the number of groupings is reduced.

CN118711641APending Publication Date: 2024-09-27SUN YAT SEN UNIV
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410837362.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

Existing MBIST grouping methods are inadequate when dealing with large-scale integrated circuits. In particular, methods based on precise algorithms have high time complexity, heuristic algorithms are difficult to converge to high-quality grouping solutions, and hybrid algorithms cannot meet the needs of practical applications.

Method used

Using a combination method of greedy algorithm and simulated annealing algorithm, first pre-grouping is performed by obtaining the attribute information of the memory, using the greedy algorithm to obtain the preliminary grouping results, and then using the simulated annealing algorithm to perform random movement and exchange until the preset termination conditions are met, and the optimization is obtained Final grouping results.

Benefits of technology

It significantly shortens the large-scale MBIST grouping time, reduces the number of groups, improves the grouping quality, and can handle large-scale memory grouping problems within an acceptable time. Compared with the existing method, it shortens the grouping time by 43% and reduces the number of 178 Group.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118711641A
    Figure CN118711641A
Patent Text Reader

Abstract

The invention belongs to the technical field of digital circuit design, and discloses a grouping method, device and equipment for built-in self-testing of a large-scale memory and a storage medium. The grouping method comprises the following steps: firstly, obtaining attribute information of all to-be-grouped memories, and pre-grouping the memories based on the attribute information to obtain a pre-grouping result; further utilizing a greedy algorithm to continuously group the memories of the pre-grouping result, and obtaining a preliminary grouping result based on a preset constraint condition; and finally, carrying out random movement operation and random exchange operation on the memories in the preliminary grouping result by utilizing a simulated annealing algorithm until a preset termination condition is met, and obtaining a final optimized grouping result. According to the grouping method, the search process can be converged more easily, the grouping time is shortened, and meanwhile the grouping number can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of digital circuit design, and in particular to a grouping method, device, equipment and storage medium for built-in self-test of large-scale memory. Background Art

[0002] In the field of electronic design automation (EDA), memory built-in self-test (MBIST) is one of the important testability design technologies. A key link in MBIST design is MBIST grouping. MBIST grouping refers to grouping memories so that the total number of groups is as small as possible while meeting constraints such as power consumption and distance. The grouping results are used for subsequent layout test controllers, and each group will be managed and tested by a separate test controller to test whether the memory can work properly.

[0003] Existing MBIST grouping methods are mainly divided into three categories, namely, based on exact algorithms, heuristic algorithms and hybrid algorithms. The MBIST grouping method based on exact algorithms models the MBIST grouping problem as a mathematical problem and obtains the grouping scheme by applying mathematical solvers; the MBIST grouping method based on heuristic algorithms guides the grouping of memories by constructing heuristic functions; the MBIST grouping method based on hybrid algorithms combines multiple algorithms to solve the MBIST grouping problem. In recent years, with the continuous expansion of the scale of integrated circuits and the sharp increase in the number of internal memories, electronic design automation technology faces huge challenges. However, the existing MBIST grouping methods seem to be unable to cope with the situation when dealing with large-scale integrated circuits. First, the existing methods based on exact algorithms face huge time challenges when dealing with large-scale integrated circuits MBIST grouping. Since the time complexity of such algorithms usually grows exponentially, when applied to large-scale integrated circuits, the solution time overhead becomes too long and the grouping cannot be completed within an acceptable time range. This makes the exact algorithm impractical when solving large-scale MBIST grouping problems. Secondly, although heuristic algorithms can improve the solution speed to a certain extent, they often find it difficult to converge to a high-quality grouping scheme when dealing with large-scale MBIST grouping problems. This is not only reflected in the instability in the solution process, but also in the final grouping quantity. Because the grouping quantity directly equals the quantity of the test controller, reducing the grouping quantity is crucial for reducing the area, power consumption and other expenses introduced by the test controller. However, the existing MBIST grouping method based on the heuristic algorithm often obtains more grouping quantities when solving large-scale problems, which shows that the quality of its grouping scheme is poor. Further, the existing MBIST grouping method based on the hybrid algorithm also fails to fully consider the special circumstances of large-scale integrated circuits. Although these hybrid algorithms can achieve good results in some scenes, when processing large-scale MBIST grouping problems, their running time is still longer and cannot meet the demand of practical applications. Summary of the invention

[0004] To this end, the embodiments of the present application provide a grouping method, apparatus, device and storage medium for large-scale memory built-in self-test, which can effectively shorten the grouping time and reduce the number of groups.

[0005] In a first aspect, the present application provides a grouping method for large-scale memory built-in self-test.

[0006] The present application is implemented by the following technical solution: a grouping method for large-scale memory built-in self-test, the grouping method comprising:

[0007] Acquire attribute information of all memories to be grouped, pre-group the memories based on the attribute information, and obtain a pre-grouping result;

[0008] The memory of the pre-grouping result is further grouped using a greedy algorithm to obtain a preliminary grouping result based on preset constraints;

[0009] The simulated annealing algorithm is used to perform random movement operations and random exchange operations on the memories in the preliminary grouping results until a preset termination condition is met, thereby obtaining a final optimized grouping result.

[0010] In a preferred example of the present application, it can be further configured that the final optimized grouping result is evaluated based on power utilization and distance utilization.

[0011] In a preferred example of the present application, it can be further configured that the step of obtaining the attribute information of all memories to be grouped is: obtaining the clock domain information, interface information and hierarchical affiliation information of the memories to be grouped.

[0012] In a preferred example of the present application, it can be further configured that the step of pre-grouping the memory based on the attribute information to obtain the pre-grouping result includes:

[0013] Isolate memories with different clock domain information into different groups;

[0014] Isolate memories with different interface information into different groups;

[0015] Segregate storage with different levels of ownership information into different groups.

[0016] In a preferred example of the present application, it can be further configured that the step of continuing to group the memory of the pre-grouping result by using a greedy algorithm and obtaining a preliminary grouping result based on a preset constraint condition comprises:

[0017] S21: taking a group from the pre-grouping result, and taking an initial memory which has not been re-grouped from the group;

[0018] S22: determining a neighbor memory which is closest to the initial memory and is not divided into a new group, and dividing the initial memory and the neighbor memory into a new group;

[0019] S23: Determine whether the new group meets the preset constraint conditions;

[0020] S24: If the preset constraint conditions are met, continue to execute step S22;

[0021] S25: If the preset constraint condition is not satisfied, stop adding the neighbor memory to the new group, take the new group as a group of the preliminary grouping result, return to execute step S21, and iterate until all the memories in the pre-grouping result are regrouped.

[0022] In a preferred example of the present application, it can be further configured that in the step of using the simulated annealing algorithm to perform random movement operations and random exchange operations on the memory in the preliminary grouping result:

[0023] The random move operation is to move a memory from one group to another group;

[0024] The random exchange operation is to exchange the memories in two different groups with each other;

[0025] The restriction condition of the random move operation and the random exchange operation is that they are performed between groups of preliminary grouping results under the same pre-grouping result.

[0026] In a second aspect, the present application provides a grouping device for large-scale memory built-in self-test.

[0027] The present application is implemented by the following technical solution: a grouping device for built-in self-test of large-scale memory, the grouping device comprising:

[0028] A pre-grouping module, used for obtaining attribute information of all memories to be grouped, and pre-grouping the memories based on the attribute information to obtain a pre-grouping result;

[0029] A preliminary grouping module, used to continue grouping the memory of the pre-grouping result by using a greedy algorithm, and obtain a preliminary grouping result based on preset constraints;

[0030] The optimized grouping module is used to perform random movement operations and random exchange operations on the memories in the preliminary grouping results by using a simulated annealing algorithm until a preset termination condition is met to obtain a final optimized grouping result.

[0031] In a preferred example of the present application, it can be further configured that the grouping device further includes:

[0032] An evaluation module is used to evaluate the final optimization grouping result based on power utilization and distance utilization.

[0033] In a third aspect, the present application provides a computer device.

[0034] This application is achieved through the following technical solutions:

[0035] A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of any of the above-mentioned grouping methods for large-scale memory built-in self-test are implemented.

[0036] In a fourth aspect, the present application provides a computer-readable storage medium.

[0037] This application is achieved through the following technical solutions:

[0038] A computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements any of the steps of the above-mentioned grouping method for large-scale memory built-in self-test.

[0039] In summary, compared with the prior art, the technical solution provided in the embodiment of the present application has at least the following beneficial effects:

[0040] The grouping method first obtains the attribute information of all memories to be grouped, pre-groups the memories based on the attribute information, and obtains the pre-grouping result; then further uses the greedy algorithm to continue to group the memories of the pre-grouping result, and obtains the preliminary grouping result based on the preset constraints; finally, the simulated annealing algorithm is used to perform random movement operations and random exchange operations on the memories in the preliminary grouping result until the preset termination conditions are met to obtain the final optimized grouping result. The grouping method provided in the present application first pre-groups the memories according to the hardware attribute information of the memories, which is helpful for solving the subsequent final grouping scheme; based on the pre-grouping result, a greedy algorithm is used to quickly obtain a feasible preliminary grouping result; based on the preliminary grouping result, a simulated annealing algorithm is used to randomly search in a global range to make it jump out of the local optimal solution, and further optimize to obtain the global optimal solution. The grouping method of the present application can make the search process more easily converge and reduce the time consumption of grouping; at the same time, it can reduce the number of groups and improve the quality of grouping. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 A flow chart of a grouping method for large-scale memory built-in self-test provided by an exemplary embodiment of the present application;

[0042] Figure 2 is a schematic diagram of a pre-grouping operation provided by an exemplary embodiment of the present application;

[0043] Figure 3 It is a schematic diagram of grouping optimization using a greedy algorithm provided by an exemplary embodiment of the present application;

[0044] Figure 4is a schematic diagram of grouping optimization using a simulated annealing algorithm provided by an exemplary embodiment of the present application;

[0045] Figure 5 is a structural schematic diagram of a grouping device for large-scale memory built-in self-test provided by another exemplary embodiment of the present application;

[0046] Figure 6 It is a structural diagram of a grouping device for large-scale memory built-in self-test provided by another exemplary embodiment of the present application.

[0047] Reference numerals:

[0048] Pre-grouping module-01, preliminary grouping module-02, optimized grouping module-03, evaluation module-04. DETAILED DESCRIPTION

[0049] This specific embodiment is merely an explanation of the present application and is not a limitation of the present application. After reading this specification, those skilled in the art may make modifications to the present embodiment without any creative contribution as needed, but such modifications are protected by the patent law as long as they are within the scope of the claims of the present application.

[0050] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution 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. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0051] In addition, the term "and / or" in this application is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this application, unless otherwise specified, generally indicates that the associated objects before and after are in an "or" relationship.

[0052] In this application, the terms "first", "second", etc. are used to distinguish identical or similar items with basically the same effects and functions. It should be understood that there is no logical or temporal dependency between "first", "second", and "nth", nor is there any limitation on quantity and execution order.

[0053] The embodiments of the present application are further described in detail below in conjunction with the drawings in the specification.

[0054] The grouping method of this application is applicable to the MBIST architecture of "serial between groups, parallel within groups". The total power consumption of a group refers to the sum of the dynamic power consumption of all memories in the group. The sum of the dynamic power consumption of each group should not exceed the test power consumption P of the test controller corresponding to the group. max The distance of a group is represented by the Half Perimeter Wire Length (HPWL) model. The distance of a group is equal to the half perimeter size of the smallest matrix covering all memories in the group. The distance of each group cannot exceed the maximum distance threshold L. max . Maximum distance threshold L max It can be set according to the severity of the control of timing risk. The stricter the control of timing risk, the higher the maximum distance threshold L max The distance between a memory and a group refers to the distance between the memory and the memory closest to it in the group.

[0055] In one embodiment of the present application, a grouping method for large-scale memory built-in self-test is provided, such as Figure 1 As shown, the main steps are described as follows:

[0056] S10: Acquire attribute information of all memories to be grouped, pre-group the memories based on the attribute information, and obtain a pre-grouping result.

[0057] Firstly, electronic design automation tools are used to analyze the hardware design and extract the attribute information of each memory therein, including the clock domain information, interface information and hierarchical attribution information of the memory.

[0058] Considering that grouping memories with different clock domain information, interface information, and hierarchical belonging information into one group may increase the complexity of design and testing, the memories are pre-grouped based on attribute information. In the actual implementation process, the specific pre-grouping method is as follows: Isolate memories with different clock domain information into different groups, that is, divide memories with different clock domain information into different groups; isolate memories with different interface information into different groups, that is, divide memories with different interface information into different groups; isolate memories with different hierarchical belonging information into different groups, that is, divide memories belonging to different hierarchies into different groups. The pre-grouping result contains several memory groups, which is a collection of groups. By isolating memories that do not meet the hard constraints through pre-grouping, the size of the solution space can be greatly reduced and the search for grouping schemes can be accelerated. This helps the subsequent grouping algorithm to find the optimal grouping scheme that meets all constraints more quickly.

[0059] S20: Continue to group the memory of the pre-grouping result using a greedy algorithm, and obtain a preliminary grouping result based on preset constraints.

[0060] The pre-grouping result obtained in the above steps is not a feasible grouping solution yet, and needs to be optimized on this basis. A greedy algorithm can be used to quickly obtain a feasible preliminary grouping result.

[0061] Specifically, S21: taking a group from the pre-grouping result, and taking an initial memory from the group that has not been re-grouped;

[0062] S22: determining a neighbor memory which is closest to the initial memory and is not divided into a new group, and dividing the initial memory and the neighbor memory into a new group;

[0063] S23: Determine whether the new group meets the preset constraint conditions;

[0064] S24: If the preset constraint conditions are met, continue to execute step S22;

[0065] S25: If the preset constraint condition is not satisfied, stop adding neighbor memories to the new group, take the new group as a group of the preliminary grouping result, return to execute step S21, and iterate until all memories in the pre-grouping result are regrouped.

[0066] It should be noted that the preset constraints include the sum of the total power consumption of each memory in a group and the distance of the group. Meeting the preset constraints means that the sum of the total power consumption of each memory in a group is less than the test power consumption of the test controller corresponding to the group, and the distance of the group is less than the maximum distance threshold, that is, ΣP i <P max And L i <L max There are three cases where the constraint condition is not met. The first case is that the sum of the total power consumption of each memory in a group is less than the test power consumption of the test controller corresponding to the group, but the distance of the group is greater than or equal to the maximum distance threshold, that is, case 1: {ΣP i <P max ,L i ≥L max}; The second case is that the sum of the total power consumption of each memory in a group is greater than or equal to the test power consumption of the test controller corresponding to the group, and the distance of the group is less than the maximum distance threshold, that is, case 2: {ΣP i ≥P max ,L i <L max}; The third case is that the sum of the total power consumption of each memory in a group is greater than or equal to the test power consumption of the test controller corresponding to the group, and the distance of the group is greater than or equal to the maximum distance threshold, that is, case3:{ΣP i ≥P max ,L i ≥L max}.

[0067] For example, assume that the pre-grouping result obtained after the pre-grouping in step S1 includes three groups G1, G2, and G3, and each group includes a number of memories. Select a group G2 from the above three groups, use the greedy algorithm to continue grouping group G2, and randomly determine a memory m that has not been re-grouped from group G2. i , then remove the memory m i Determine a memory other than memory m i The nearest neighbor memory m that has not been assigned to the new group g , the memory m i and neighbor memory m g It is divided into a new group G′, and it is determined whether the new group G′ satisfies the preset constraints. If the preset constraints are met, that is, ∑P i <P max And L i <L max Then, the neighbor memory m that is closest to the new group G′ and is not assigned to the new group is searched. j , the neighbor memory m j Add to the new group G' until the new group G' no longer meets the preset constraints. i ≥P mxa and / or L i ≥L max , the new group G′ can be used as a group in the preliminary grouping results. Continue to take a group that has not been taken to perform the above operation, and iterate until all the groups in the pre-grouping results are regrouped. At this time, all the groups in the preliminary grouping results obtained meet the power consumption constraints and distance constraints, and can be used as an executable grouping result. This grouping result will be used for subsequent searches for better grouping results, as the initial state of the subsequent annealing algorithm is closer to the optimal solution, which is conducive to the rapid convergence of the search, improves the grouping efficiency, and reduces the time consumption of grouping.

[0068] S30: Using a simulated annealing algorithm, random movement operations and random exchange operations are performed on the memories in the preliminary grouping results until a preset termination condition is met to obtain a final optimized grouping result.

[0069] The temperature and number of iterations of the simulated annealing algorithm can be set according to the memory size of the grouping problem. The random search step of the simulated annealing algorithm of the present application includes two random search operations, namely, a random move operation and a random exchange operation; wherein the random move operation is to move a memory from one group to another; the random exchange operation is to exchange the memories in two different groups with each other. It should be noted that the above two random search operations need to be carried out under certain restrictions, and the exchange or movement is carried out between the groups of preliminary grouping results belonging to the same pre-grouping result.

[0070] The present application also evaluates the final optimized grouping result based on a heuristic function. The basic design idea of ​​the heuristic function is that if the number of groups in the grouping result is smaller and the distance between the memories in each group is smaller, the heuristic function has a better evaluation value for the grouping result. If a newly searched grouping result violates the power consumption constraint and / or the distance constraint, then a penalty value is added to its evaluation value, resulting in an extremely poor evaluation value. Repeat the random operation to search for the optimal feasible solution until the early termination condition is reached or the temperature is lower than the preset temperature threshold. The early termination condition is that the number of groups cannot continue to decrease. If the number of groups continues to decrease, it will terminate early due to violation of the power consumption constraint according to the principle of inclusion and exclusion. Specifically, the situation of early termination can be described as the following situation. Since the number of groups is equal to the number of test controllers, if the number of groups decreases, that is, when the test controller decreases, the sum of the power consumption of all memories is higher than the sum of the maximum test power consumption of all current test controllers, there must be a group whose power consumption exceeds the limit of the maximum test power consumption of its corresponding test controller, thereby violating the power consumption constraint, that is, it is impossible to have a feasible grouping solution with a smaller number of groups at this time, and there is no need to continue searching, and it can be terminated early. The final grouping solution is obtained after the algorithm terminates.

[0071] The present application also proposes two methods for evaluating MBIST grouping schemes, namely, evaluating the final optimized grouping results by power utilization and distance utilization. The power utilization refers to the ratio of the sum of the power consumption of a group to the maximum power consumption limit, and the maximum power consumption limit is the test power consumption of the corresponding test controller; the distance utilization refers to the ratio of the distance of a group to the maximum distance threshold. The specific steps of the evaluation based on power consumption utilization are to judge the ratio α of the number of groups with power consumption utilization of 90% to 100% to the number of all groups in the final optimized grouping result. If the ratio α is above 90%, it is considered that the final optimized grouping result is equivalent to the optimal grouping result. At this time, the grouping scheme obtained has a high utilization rate for the test controller, and it is difficult to reduce the overhead by reducing the test controller. Therefore, the final optimized grouping result is close to the optimal grouping result. The specific steps of the evaluation based on distance utilization are to judge the ratio β of the number of groups with distance utilization lower than 80% to the number of all groups in the final optimized grouping result. If the ratio β is greater than 85%, it is considered that the final optimized grouping result is close to the optimal grouping result. This is because it indicates that the distance between memories in each group is closer, which can effectively reduce the timing risk. It can also minimize the timing risk while ensuring the minimum overhead, which also shows that it is closer to the optimal grouping result.

[0072] The present application provides a grouping method for built-in self-test of large-scale memory. In the first stage, it performs pre-grouping based on clock domain information, interface information and hierarchical attribution information to obtain pre-grouping results. In the second stage, it uses a greedy algorithm based on the pre-grouping results to quickly obtain preliminary grouping results. In the third stage, a simulated annealing algorithm is used to further search and obtain the final optimized grouping results.

[0073] like Figure 2 As shown, the present invention first pre-groups the memory, and the input memory information is grouped according to the clock domain information, interface information and layer attribution information. For example, memories with different clock domain information must be divided into different groups. After the memory is grouped according to all hard constraints, the pre-grouping result can be obtained.

[0074] like Figure 3 As shown, the present invention adopts a greedy algorithm to continue grouping, and its function is to obtain a feasible preliminary grouping result based on the pre-grouping result. It takes one group in the pre-grouping result to continue grouping, randomly selects one of the memories to be divided into a new group, and divides the memory closest to the new group into the new group as much as possible without violating the constraints. If the new group can no longer be divided into memories, a new memory is selected as the new group. Repeat this process until all memories have been regrouped. The greedy algorithm divides one group in the intermediate grouping result into two groups again. Compared with the pre-grouping result, the final grouping result meets the constraints and is a feasible grouping result.

[0075] like Figure 4 As shown, the present invention uses a simulated annealing algorithm to continue grouping, and its function is to use the obtained feasible solution as the initial state to continue searching for a better grouping result. Figure 4 As shown in a, although the preliminary grouping result may be optimal in terms of the number of groups, the distances between some groups may be large, which may easily lead to timing risks. The simulated annealing algorithm can be used to fine-tune the grouping and optimize the distances between groups while keeping the number of groups unchanged. Figure 4 Shown in Fig. 2a, preliminary grouping result may also have optimizable space on grouping quantity, and the present invention adopts simulated annealing algorithm to further search for a more optimal grouping scheme by random exchange or mobile memory to other groups, jumps out of local optimal solution, and reduces grouping quantity. Finally, the optimized grouping result is used as final MBIST grouping scheme.

[0076] The grouping method proposed in the present application significantly shortens the large-scale MBIST grouping time. First, a greedy algorithm is used to obtain a preliminary grouping result, and then a simulated annealing algorithm is used to finally optimize the grouping result, with a time complexity of O (nlogn). The time complexity of the grouping method based on the exact algorithm is generally exponential, and a better grouping scheme can be searched faster than other technical solutions. Compared with simply using the simulated annealing method to search for a grouping scheme from the beginning, the method of the present application is further optimized based on a feasible solution, and can converge to a better solution faster. Compared with the existing method based on the simulated annealing algorithm, the present invention can shorten the grouping time by at most 43% when solving the large-scale MBIST grouping problem containing 20,000 memories.

[0077] The grouping method proposed by the application has reduced the number of large-scale MBIST grouping groups. The existing grouping method based on the greedy algorithm alone is easily trapped in the local optimal solution, and the grouping method based on the simulated annealing algorithm alone is difficult to converge to obtain a better grouping scheme from the beginning search. Compared with the existing method, the technical solution of the present invention is based on a feasible solution and iteratively searches in the global situation, which can further optimize this feasible grouping scheme, jump out of the local optimal solution, effectively reduce the number of groups, and finally obtain the optimized grouping scheme. Compared with the existing method based on the simulated annealing algorithm alone and the greedy method alone, the present invention can reduce 178 and 17 groups at most respectively when solving the large-scale MBIST grouping problem that comprises 20000 memory cells.

[0078] The present application also provides a grouping device for large-scale memory built-in self-test, such as Figure 5 As shown, the grouping device comprises:

[0079] The pre-grouping module 01 is used to obtain the attribute information of all memories to be grouped, and pre-group the memories based on the attribute information to obtain a pre-grouping result;

[0080] The preliminary grouping module 02 is used to continue grouping the memory of the pre-grouping result by using a greedy algorithm, and obtain the preliminary grouping result based on the preset constraint conditions;

[0081] The optimized grouping module 03 is used to perform random movement operations and random exchange operations on the memories in the preliminary grouping result by using a simulated annealing algorithm until a preset termination condition is met to obtain a final optimized grouping result.

[0082] In some embodiments, Figure 6 As shown, the grouping device further includes an evaluation module 04 for evaluating the final optimized grouping result based on power utilization and distance utilization.

[0083] The grouping device is used to execute the grouping method for large-scale memory built-in self-test as described above, which will not be described in detail here.

[0084] In one embodiment, a computer device is provided, which may be a server.

[0085] The computer device includes a processor, a memory, a network interface, a database and a computer program stored in the memory connected through a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium has an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, any one of the above-mentioned grouping methods for built-in self-test of large-scale memory is implemented.

[0086] In one embodiment, a computer-readable storage medium is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement any of the above-mentioned grouping methods for large-scale memory built-in self-test.

[0087] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in the present application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink), DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0088] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the system described in the present application is divided into different functional units or modules to complete all or part of the functions described above.

Claims

1. A grouping method for large-scale memory built-in self-test, characterized in that: The grouping method comprises: Acquire attribute information of all memories to be grouped, pre-group the memories based on the attribute information, and obtain a pre-grouping result; The memory of the pre-grouping result is further grouped using a greedy algorithm to obtain a preliminary grouping result based on preset constraints; The simulated annealing algorithm is used to perform random movement operations and random exchange operations on the memories in the preliminary grouping results until a preset termination condition is met, thereby obtaining a final optimized grouping result.

2. The grouping method for large-scale memory built-in self-test according to claim 1, characterized in that: The grouping method further comprises: The final optimized grouping result is evaluated based on power utilization and distance utilization.

3. The grouping method for large-scale memory built-in self-test according to claim 1, characterized in that: The step of obtaining the attribute information of all memories to be grouped is: Obtain the clock domain information, interface information, and layer affiliation information of the memories to be grouped.

4. The grouping method for large-scale memory built-in self-test according to claim 3, characterized in that: The step of pre-grouping the memory based on the attribute information to obtain the pre-grouping result comprises: Isolate memories with different clock domain information into different groups; Isolate memories with different interface information into different groups; Segregate storage with different levels of ownership information into different groups.

5. The grouping method for large-scale memory built-in self-test according to claim 1, characterized in that: The step of continuing to group the memory of the pre-grouping result by using a greedy algorithm to obtain a preliminary grouping result based on a preset constraint condition comprises: S21: taking a group from the pre-grouping result, and taking an initial memory which has not been re-grouped from the group; S22: determining a neighbor memory which is closest to the initial memory and is not divided into a new group, and dividing the initial memory and the neighbor memory into a new group; S23: Determine whether the new group meets the preset constraint conditions; S24: If the preset constraint conditions are met, continue to execute step S22; S25: If the preset constraint condition is not satisfied, stop adding neighbor memories to the new group, take the new group as a group in the preliminary grouping result, return to execute step S21, and iterate until all memories in the group in the pre-grouping result are regrouped.

6. The grouping method for large-scale memory built-in self-test according to claim 1, characterized in that: In the step of using the simulated annealing algorithm to perform random movement and random exchange operations on the memories in the preliminary grouping result: The random move operation is to move a memory from one group to another group; The random exchange operation is to exchange the memories in two different groups with each other; The restriction condition of the random move operation and the random exchange operation is that they are performed between groups of preliminary grouping results under the same pre-grouping result.

7. A grouping device for large-scale memory built-in self-test, characterized in that: The grouping device comprises: A pre-grouping module, used for obtaining attribute information of all memories to be grouped, and pre-grouping the memories based on the attribute information to obtain a pre-grouping result; A preliminary grouping module, used to continue grouping the memory of the pre-grouping result by using a greedy algorithm, and obtain a preliminary grouping result based on preset constraints; The optimized grouping module is used to perform random movement operations and random exchange operations on the memories in the preliminary grouping results by using a simulated annealing algorithm until a preset termination condition is met to obtain a final optimized grouping result.

8. The grouping device for large-scale memory built-in self-test according to claim 7, characterized in that: The grouping device also includes: An evaluation module is used to evaluate the final optimization grouping result based on power utilization and distance utilization.

9. A computer device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps of the method according to any one of claims 1 to 6.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Cited By

  • Method and device for generating testability design architecture, equipment and storage medium

    CN119180259A

  • Method, apparatus, device, and storage medium for generating a testability design architecture

    CN119180259B

  • Chip built-in self-test memory grouping method based on BPPC algorithm

    CN119622262A