A method, device, storage medium and terminal for repairing redundant information in static random access memory
By embedding the evaluation algorithm in the chip and sharing static random access memory information to perform redundancy analysis and allocation, the problem of redundant information detection and repair in the existing technology is solved, and the chip yield and area optimization effect are improved.
Patent Information
- Application Number
- CN202010780186.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-05
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2040-08-05
AI Technical Summary
It is difficult to quickly detect and repair the redundant information of the static random access memory in the chip with the existing technology, resulting in a low chip yield rate. Moreover, the existing methods are too granular or complex to operate, making it difficult to apply them in actual projects.
By embedding the preset evaluation algorithm into the built-in self-test logic of the storage array, sharing the static random access memory information data in the storage array, performing redundancy analysis and allocation, and optimizing the allocation of redundant information to improve the chip yield rate.
The yield rate of the chip is improved. Through refined redundant information allocation and optimization, the additional area overhead introduced by the self-test logic of the static random access memory is reduced, and the chip area is optimized.
Smart Images

Figure CN112114998B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of chip technology, and in particular to a method, device, storage medium and terminal for repairing redundant information in a static random access memory. Background Art
[0002] In chip manufacturing, as process nodes continue to shrink, the logic scale of chips continues to increase. The density of static random access memory (SRAM), which has the same storage capacity, has also greatly increased. This has led to a rapid increase in the amount of SRAM integrated on a single chip. As the scale of existing chips continues to increase, the size of SRAM has also continued to increase, resulting in SRAM occupying more than half of the chip area in most chips. Such large-scale application makes SRAM extremely susceptible to defects, which can render the entire chip scrapped. Therefore, how to plan and implement SRAM testing is of great significance to the yield and output of the entire chip.
[0003] Among the existing technical solutions, one is based on the macro recommendations given by the manufacturer (Foundry), which has a relatively large granularity. As the area of the memory cell increases, the yield gap between the memory cell and the logic cell under the same conditions becomes larger and larger. Therefore, the (manufacturing plant) Foundry provides a macro repair solution. When the size of the memory cell exceeds a certain range, the memory cell needs to be repaired to ensure the stability of the overall yield (yield), but this does not take into account the actual situation of the chip and the value given is difficult to obtain the optimal result. The other is that the major fabless design companies (Design Houses) generally determine the redundant logic based on existing experience and the recommendations of the manufacturer (Foundry). Compared with the solution recommended by the manufacturer (Foundry), the operation granularity is more precise, but it still cannot avoid the one-size-fits-all situation, and it is difficult to achieve better results. Some organizations have proposed calculating redundant logic based on the actual chip area. However, the input data requires modeling the static random access memory cells based on the manufacturer's (foundry) detailed information. This method uses complex global iterations and repeated operations, without considering the division of rows and columns of memory cells, the repair logic, the grouping of static memory cells, and the impact of the repair logic itself. Due to the high complexity requirements, this method is difficult to apply in actual projects.
[0004] Therefore, how to quickly detect the redundant information of the storage units in the chip and repair it, thereby improving the yield rate of the chip, is a difficult problem that the academic community urgently needs to break through. Summary of the Invention
[0005] The embodiments of the present application provide a method, apparatus, storage medium, and terminal for repairing redundant information in a static random access memory (SRAM). To provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is provided below. This summary is not intended to be a comprehensive review, identify key or important components, or delineate the scope of protection of these embodiments. Its sole purpose is to present some concepts in a simplified form, serving as a prelude to the detailed description that follows.
[0006] In a first aspect, an embodiment of the present application provides a method for repairing redundant information in a static random access memory, the method comprising:
[0007] When a built-in self-test is performed on a memory array in a chip, information data of each static random access memory in the memory array is shared;
[0008] Performing redundancy analysis on the information data of each static random access memory to generate redundant information required to be added to each static random access memory;
[0009] Redundant information is allocated to each static random access memory based on the redundant information required to be added
[0010] Optionally, before performing built-in self-test on the memory array in the chip, the method further includes:
[0011] receiving a preset redundancy assessment algorithm;
[0012] The redundancy evaluation algorithm is embedded into the built-in self-test logic of the memory array in the chip.
[0013] Optionally, performing redundancy analysis based on the information data of each static random access memory to generate redundant information required to be added to each static random access memory includes:
[0014] Arrange the static random access memories in descending order according to their capacities to generate arranged static random access memories;
[0015] Reading parameter information shared by the static random access memories according to the arranged static random access memories;
[0016] Performing row and column repair calculations based on the shared parameter information to generate weights of row and column redundancy in each static random access memory;
[0017] Iteratively comparing the weights of row and column redundancy in each static random access memory to obtain the optimal row and column redundancy weight in each static random access memory;
[0018] Arrange the optimal row and column redundancy weights in each static random access memory in ascending order to generate an arranged weight set;
[0019] The redundancy distribution of each static random access memory is calculated based on the arranged weight set to generate redundant information of each static random access memory.
[0020] Optionally, performing row and column repair calculations based on the shared parameter information to generate weights of row and column redundancy in each static random access memory includes:
[0021] Obtaining grouping information, repair information, and an estimated area value of the chip from parameter information shared by each static random access memory;
[0022] The grouping information, the repair information and the estimated area value of the chip are input into a preset row and column weight calculation formula to generate the weight of the row and column redundancy in each static random access memory.
[0023] Optionally, the calculating the redundancy distribution of each static random access memory based on the arranged weight set to generate the redundant information of each static random access memory includes:
[0024] Performing refined weight calculation on the rows and columns of each static random access memory according to the arranged weight set and the corrected area in the parameter information to obtain an optimal redundancy solution;
[0025] The optimal redundancy solution is used as the redundant information of each static random access memory.
[0026] Optionally, after allocating redundant information to each static random access memory based on the redundant information to be added, the method further includes:
[0027] When register sharing is enabled in the chip, obtaining a shared repair unit;
[0028] Reducing the additional area overhead introduced by the self-test logic of the static random access memory by using the shared repair unit;
[0029] Calculating whether the static random access memory can pass the shared redundancy and whether the redundant information needs to be adjusted by the row and column weights;
[0030] If so, the area of the chip is optimized.
[0031] In a second aspect, an embodiment of the present application provides a device for repairing redundant information in a static random access memory, the device comprising:
[0032] A data sharing module, configured to share information data of each static random access memory in the memory array when a built-in self-test is performed on the memory array in the chip;
[0033] A redundant information generating module, configured to perform redundancy analysis based on the information data of each static random access memory and generate redundant information required to be added to each static random access memory;
[0034] The redundant information repair module is used to allocate redundant information to each static random access memory based on the redundant information that needs to be added.
[0035] Optionally, the device further includes:
[0036] An algorithm receiving module, configured to receive a preset redundancy assessment algorithm;
[0037] An algorithm embedding module is used to embed the redundancy assessment algorithm into a memory array built-in self-test logic in a chip.
[0038] In a third aspect, an embodiment of the present application provides a computer storage medium, wherein the computer storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing the above-mentioned method steps.
[0039] In a fourth aspect, an embodiment of the present application provides a terminal, which may include: a processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the above-mentioned method steps.
[0040] The technical solutions provided by the embodiments of the present application may have the following beneficial effects:
[0041] In an embodiment of the present application, when performing a built-in self-test (BIST) on a memory array in a chip, a redundant information repair device in a static random access memory (SRAM) first shares information data of each SRAM in the memory array, then performs redundancy analysis based on the information data of each SRAM to generate redundant information required to be added to each SRAM, and finally allocates redundant information to each SRAM based on the required redundant information. Because the present application embeds a pre-set evaluation algorithm into the implementation process of the memory array built-in self-test (MABIST) logic, performs redundant analysis of the SRAM in the memory array using shared data information, generates redundant results, and finally allocates and further optimizes redundant logic information based on the redundant results, thereby improving the yield rate of the chip.
[0042] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0044] Figure 1 This is a flow chart of a method for repairing redundant information in a static random access memory provided by an embodiment of the present application;
[0045] Figure 2 This is a schematic diagram of a redundant information analysis process in a static random access memory provided by an embodiment of the present application;
[0046] Figure 3 This is a schematic diagram of a flow chart of weight calculation during redundant information analysis in a static random access memory provided by an embodiment of the present application;
[0047] Figure 4 This is a schematic diagram of a process for further optimizing redundant information in a static random access memory provided by an embodiment of the present application;
[0048] Figure 5 This is a flow chart of redundant information repair logic in a static random access memory provided by an embodiment of the present application;
[0049] Figure 6 1 is a schematic diagram of a device for repairing redundant information in a static random access memory provided by an embodiment of the present application;
[0050] Figure 7 1 is a schematic diagram of another device for repairing redundant information in a static random access memory provided by an embodiment of the present application;
[0051] Figure 8 This is a terminal schematic diagram provided in an embodiment of the present application. DETAILED DESCRIPTION
[0052] The following description and the drawings sufficiently illustrate specific embodiments of the invention to enable those skilled in the art to practice them.
[0053] It should be understood that the embodiments described are only a portion of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative work are within the scope of protection of the present invention.
[0054] In the following description, when referring to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with certain aspects of the present invention, as detailed in the appended claims.
[0055] In the description of the present invention, it should be understood that the terms "first", "second", etc. are used for descriptive purposes only and are not to be understood as indicating or implying relative importance. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances. In addition, in the description of the present invention, unless otherwise specified, "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship.
[0056] To date, one approach to detecting and repairing redundant logic in chips is based on macro recommendations from foundries, which are relatively granular. As the area of memory cells increases, the yield gap between memory cells and logic cells under the same conditions widens. Therefore, foundries offer macro repair solutions. When the size of a memory cell exceeds a certain range, the memory cell needs to be repaired to ensure the stability of the overall yield. However, this approach fails to consider the actual situation of the chip, and the values provided are unlikely to yield optimal results. Another approach is for major fabless design houses to determine redundant logic based on their existing experience and the recommendations of foundries. While this approach offers more precise granularity than foundry recommendations, it still cannot avoid a one-size-fits-all approach, making it difficult to achieve optimal results. Some institutions have proposed calculating redundant logic based on the actual chip area. However, the input data requires modeling the static random access memory cells based on the manufacturer's (foundry) detailed information, using complex global iterations and repeated operations. It does not consider the division of rows and columns of storage cells, nor does it consider the repair logic and the impact of the grouping and repair logic of static storage cells. Due to the high complexity requirements, it is difficult to apply in actual projects. To this end, the present application provides a method, device, storage medium and terminal for repairing redundant information in static random access memory to solve the problems existing in the above-mentioned related technical problems. In the technical solution provided by the present application, the present application embeds a pre-set evaluation algorithm into the implementation process of the storage array built-in self-test (MABIST) logic, performs redundancy analysis of the static random access memory in the storage array through shared data information, generates redundant results, and finally distributes and further optimizes the redundant logic information based on the redundant results, thereby improving the yield rate of the chip. The following exemplary embodiments are used for detailed description.
[0057] The following will be combined with the Figure 1 -Attached Figure 5This article details the method for repairing redundant information in static random access memory (SRAM) provided in an embodiment of the present application. This method can be implemented using a computer program and run on a device for repairing redundant information in a SRAM based on a von Neumann architecture. This computer program can be integrated into an application or run as a standalone tool application.
[0058] See Figure 1 , provides a flow chart of a method for repairing redundant information in a static random access memory according to an embodiment of the present application. Figure 1 As shown, the method of the embodiment of the present application may include the following steps:
[0059] S101, when a built-in self-test is performed on a memory array in a chip, information data of each static random access memory in the memory array is shared;
[0060] Among them, built-in self-test is an implementation technology of testability design, the purpose of which is to detect the redundant information of static random access memory in the chip through the implementation process of memory array built-in self-test (MABIST) logic.
[0061] In one possible implementation, when detecting redundant information in static random access memory (SRAM) on a chip and performing logic repair, a pre-designed evaluation algorithm must first be embedded in the chip's memory array built-in self-test (BIST) logic. The designer's choice of the size and type of the memory logic is based on empirical values and performance requirements. When implemented during the memory array built-in self-test (MABIST) process, the evaluation algorithm shares all information read in during the MABIST process, including memory cell type, row and column information, and the current redundancy scheme.
[0062] The system acquires the grouping scheme of static random access memory (SRAM) cells in the design in real time during the implementation of the memory array built-in self-test (MABIST), and obtains the test and repair scheme of the memory array built-in self-test (MABIST). During the implementation of the built-in self-test (MABIST), it is also necessary to supplement the redundancy calculation with the minimum process information provided by the foundry, including but not limited to the yield of different types of memory cells, the yield of logic cells, the physical information of memory cells (memory leaves), the physical information of logic cells (register leaves), and related defect level information and manufacturing complexity.
[0063] Furthermore, in the design of the evaluation algorithm, a simplified formula for calculating the number of good dies can be used to show that when the ratio of the increase in the static random access memory (SRAM) yield to the increase in area is much greater than the ratio of the original memory yield to area, the chip can achieve greater benefits. The formula for the number of good dies is: Among them, G represents the number of good dies, that is, the number of bare chips that passed the test, Ychip: represents the yield of the chip, Awafer: represents the area of the wafer, and Adie: represents the area of the bare chip. The formula for calculating the number of good dies after repair is Among them, Gr: represents the number of good dies after repair, Ylogic is the yield of the logic unit in the chip, Ym is the yield of the memory unit in the chip, dYm is the yield increased by adding redundant unit repair, AFafer is the area of the wafer, Adie is the area of the die, and dA is the additional area introduced by adding redundant units and repairing logic.
[0064] From the above two formulas, we can know that if Gr>G, then (Where A is Adie: the area of the die). Considering the authenticity, the formula is further optimized: Assume that: (pi is the ratio of the circle to the circumference, Rw is the radius of the wafer, and A is the area of the die), which leads to the following formula:
[0065] Further updates to the formula result in newer evaluation methods: (R is Rw, which represents the radius of the wafer).
[0066] S102, performing redundancy analysis on the information data of each static random access memory to generate redundant information required to be added to each static random access memory;
[0067] In an embodiment of the present application, the static random access memories are first arranged in descending order according to their capacity to generate arranged static random access memories, then the parameter information shared by the static random access memories is read based on the arranged static random access memories, and then row and column repair calculations are performed based on the shared parameter information to generate weights of row and column redundancy in each static random access memory, and then the weights of row and column redundancy in each static random access memory are iteratively compared to obtain the optimal row and column redundancy weights in each static random access memory, and then the optimal row and column redundancy weights in each static random access memory are arranged in ascending order to generate an arranged weight set, and finally the redundancy distribution of each static random access memory is calculated based on the arranged weight set to generate redundant information of each static random access memory.
[0068] In one possible implementation, for example Figure 2 As shown in Figure 1, if a redundancy analysis algorithm is used during the implementation of the memory array built-in self-test (MABIST), the tool will first read in the shared static random access memory (SRAM) information data, then arrange it according to the size of the static random access memory (SRAM), perform row and column repair by default, and calculate the weights of the row and column redundancy based on the static random access memory (SRAM) grouping, repair information, and estimated chip area information Ae: Where (Mm is the weight for calculating row and column redundancy, Ym is the yield of the memory, dAm is the increased area of the memory cell, dAl is the increased area of the logic cell, dYm is the increased yield of the memory cell, and dYl is the reduced yield of the logic cell). The row and column weights are then compared, and the row and column values are compared with the estimated chip area, so as to iteratively calculate and find the optimal row and column redundancy allocation.
[0069] When the weight M m >A e When accessing the current information as a backup, calculate the weight of the next static random access memory (SRAM). The weight calculation is as follows Figure 3 If you limit row repair or column repair Figure 3 It can also be further simplified, without calculating the redundant information of rows and columns at the same time, only the information of the current row or column is calculated for redundant allocation. After all the static random access memory (SRAM) weights are calculated, enter Figure 2 The second part is to sort according to the calculated weights and use the corrected area according to the weight size: A e =A+ΔA m-1 Perform more precise weight calculations on the determinant within the safety range, according to To calculate M m >A e The redundant distribution at that time is traversed, all the information is traversed, and then the redundant rows and columns introduced in the redundant calculation process are additionally calculated. After the processing is completed, the current optimal redundant solution can be obtained. The redundant solution is the redundant information required to be added to each static random access memory.
[0070] S103: Allocate redundant information to each static random access memory based on the redundant information that needs to be added.
[0071] In a possible implementation, when the current optimal redundancy solution is obtained after the processing is completed, redundant information is allocated to each static random access memory based on the redundant information that needs to be added to obtain each repaired static random access memory.
[0072] Furthermore, when register sharing is enabled and each static random access memory is further repaired, the grouping information of the static random access memory (SRAM) in different modules is obtained, and the embedded self-repair analysis and self-repair logic under the current group are obtained at the same time. The embedded self-test and self-repair logic under the same group can reduce the additional area overhead introduced by the static random access memory (SRAM) self-test logic by sharing the repair unit. The weight calculated in step S102 is used to calculate whether the static random access memory (SRAM) between each group can be shared redundantly, which can further optimize the chip area, thereby obtaining further optimization information. The following formula is used during optimization:
[0073]
[0074] If Gr>G, then
[0075]
[0076] In order to further optimize the static random access memory (SRAM), a formula close to reality is used:
[0077]
[0078]
[0079] Methods for evaluating area reduction:
[0080]
[0081] The specific calculation method is as follows Figure 4 As shown, based on the acquired SRAM grouping information, n (n>1) SRAMs that meet the sharing requirements are found in the group. The currently calculated SRAM weight is used to determine whether to continue increasing the number of shared SRAMs. When the current sharing weight is less than the last sharing weight, the calculation is stopped, the last shared SRAM is removed, and sharing analysis is continued in the set until all SRAMs are analyzed. If the current sharing weight does not meet the requirements, the current sharing is removed, and the next set of sharing strategies is calculated. This process is then repeated to optimize the memory cells in the chip.
[0082] For example Figure 5 As shown, Figure 5This application provides a block diagram of the logic for repairing redundant information in static random access memory (SRAM). Designing and analyzing memory library files, design logic analysis, test logic insertion, and test logic detection are all existing technologies. When performing redundancy analysis using the existing built-in self-test (BIST), manufacturing process data is first acquired, followed by redundancy analysis. Redundant information is then calculated based on the weights used in the redundancy analysis and repaired. Once the repair is complete and register sharing is enabled, further optimization is performed to achieve a more refined repair.
[0083] In an embodiment of the present application, when performing a built-in self-test (BIST) on a memory array in a chip, a redundant information repair device in a static random access memory (SRAM) first shares information data of each SRAM in the memory array, then performs redundancy analysis based on the information data of each SRAM to generate redundant information required to be added to each SRAM, and finally allocates redundant information to each SRAM based on the required redundant information. Because the present application embeds a pre-set evaluation algorithm into the implementation process of the memory array built-in self-test (MABIST) logic, performs redundant analysis of the SRAM in the memory array using shared data information, generates redundant results, and finally allocates and further optimizes redundant logic information based on the redundant results, thereby improving the yield rate of the chip.
[0084] The following are embodiments of the apparatus of the present invention, which can be used to implement the method embodiments of the present invention. For details not disclosed in the apparatus embodiments of the present invention, please refer to the method embodiments of the present invention.
[0085] See Figure 6 , which shows a schematic diagram of the structure of a redundant information repair device in a static random access memory, provided by an exemplary embodiment of the present invention. This redundant information repair device in a static random access memory can be implemented as all or part of an intelligent robot through software, hardware, or a combination of both. The device 1 includes a data sharing module 10, a redundant information generation module 20, and a redundant information repair module 30.
[0086] The data sharing module 10 is used to share information data of each static random access memory in the memory array when a built-in self-test is performed on the memory array in the chip;
[0087] A redundant information generating module 20 is configured to perform redundancy analysis based on the information data of each static random access memory and generate redundant information required to be added to each static random access memory;
[0088] The redundant information repair module 30 is configured to allocate redundant information to each static random access memory based on the redundant information that needs to be added.
[0089] Optional, e.g. Figure 7As shown, the device 1 further includes:
[0090] An algorithm receiving module 40 is configured to receive a preset redundancy assessment algorithm;
[0091] The algorithm embedding module 50 is used to embed the redundancy assessment algorithm into the built-in self-test logic of the memory array in the chip.
[0092] It should be noted that the redundant information repair device in the static random access memory provided in the above embodiment, when executing the redundant information repair method in the static random access memory, only uses the division of the above-mentioned functional modules as an example to illustrate. In actual application, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the redundant information repair device in the static random access memory provided in the above embodiment and the redundant information repair method in the static random access memory embodiment are based on the same concept. The implementation process is detailed in the method embodiment and will not be repeated here.
[0093] The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0094] In an embodiment of the present application, when performing a built-in self-test (BIST) on a memory array in a chip, a redundant information repair device in a static random access memory (SRAM) first shares information data of each SRAM in the memory array, then performs redundancy analysis based on the information data of each SRAM to generate redundant information required to be added to each SRAM, and finally allocates redundant information to each SRAM based on the required redundant information. Because the present application embeds a pre-set evaluation algorithm into the implementation process of the memory array built-in self-test (MABIST) logic, performs redundant analysis of the SRAM in the memory array using shared data information, generates redundant results, and finally allocates and further optimizes redundant logic information based on the redundant results, thereby improving the yield rate of the chip.
[0095] The present invention also provides a computer-readable medium having program instructions stored thereon, which, when executed by a processor, implements the method for repairing redundant information in a static random access memory provided by each of the above method embodiments.
[0096] The present invention also provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the method for repairing redundant information in a static random access memory described in each of the above method embodiments.
[0097] See Figure 8 , provides a schematic diagram of the structure of a terminal according to an embodiment of the present application. Figure 8As shown, the terminal 1000 may include: at least one processor 1001 , at least one network interface 1004 , a user interface 1003 , a memory 1005 , and at least one communication bus 1002 .
[0098] The communication bus 1002 is used to implement the connection and communication between these components.
[0099] The user interface 1003 may include a display screen (Display) and a camera (Camera). Optionally, the user interface 1003 may also include a standard wired interface and a wireless interface.
[0100] The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
[0101] The processor 1001 may include one or more processing cores. The processor 1001 utilizes various interfaces and circuits to connect various components within the electronic device 1000. It executes instructions, programs, code sets, or instruction sets stored in the memory 1005, and accesses data stored in the memory 1005 to perform various functions and process data within the electronic device 1000. Optionally, the processor 1001 may be implemented using at least one of the following hardware forms: a digital signal processing (DSP), a field-programmable gate array (FPGA), or a programmable logic array (PLA). The processor 1001 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. The CPU primarily processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing content displayed on the display; and the modem handles wireless communications. It is understood that the modem may not be integrated into the processor 1001 but implemented as a separate chip.
[0102] Among them, the memory 1005 may include a random access memory (RAM) or a read-only memory (Read-Only Memory). Optionally, the memory 1005 includes a non-transitory computer-readable storage medium. The memory 1005 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 1005 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 1005 may optionally be at least one storage device located away from the aforementioned processor 1001. As Figure 8 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an application program for repairing redundant information in a static random access memory.
[0103] exist Figure 8 In the terminal 1000 shown, the user interface 1003 is mainly used to provide an input interface for the user and obtain data input by the user; and the processor 1001 can be used to call the redundant information repair application in the static random access memory stored in the memory 1005 and specifically perform the following operations:
[0104] When a built-in self-test is performed on a memory array in a chip, information data of each static random access memory in the memory array is shared;
[0105] Performing redundancy analysis on the information data of each static random access memory to generate redundant information required to be added to each static random access memory;
[0106] Redundant information is allocated to each static random access memory based on the redundant information that needs to be added.
[0107] In one embodiment, before executing the built-in self-test for the memory array in the chip, the processor 1001 further performs the following operations:
[0108] receiving a preset redundancy assessment algorithm;
[0109] The redundancy evaluation algorithm is embedded into the built-in self-test logic of the memory array in the chip.
[0110] In one embodiment, when performing the redundancy analysis based on the information data of each static random access memory to generate the redundant information required to be added to each static random access memory, the processor 1001 specifically performs the following operations:
[0111] Arrange the static random access memories in descending order according to their capacities to generate arranged static random access memories;
[0112] Reading parameter information shared by the static random access memories according to the arranged static random access memories;
[0113] Performing row and column repair calculations based on the shared parameter information to generate weights of row and column redundancy in each static random access memory;
[0114] Iteratively comparing the weights of row and column redundancy in each static random access memory to obtain the optimal row and column redundancy weight in each static random access memory;
[0115] Arrange the optimal row and column redundancy weights in each static random access memory in ascending order to generate an arranged weight set;
[0116] The redundancy distribution of each static random access memory is calculated based on the arranged weight set to generate redundant information of each static random access memory.
[0117] In one embodiment, when the processor 1001 performs the row and column repair calculation based on the shared parameter information to generate the weights of the row and column redundancies in each static random access memory, the processor 1001 specifically performs the following operations:
[0118] Obtaining grouping information, repair information, and an estimated area value of the chip from parameter information shared by each static random access memory;
[0119] The grouping information, the repair information and the estimated area value of the chip are input into a preset row and column weight calculation formula to generate the weight of the row and column redundancy in each static random access memory.
[0120] In one embodiment, when the processor 1001 calculates the redundancy distribution of each static random access memory based on the arranged weight set and generates the redundant information of each static random access memory, the processor 1001 specifically performs the following operations:
[0121] Performing refined weight calculation on the rows and columns of each static random access memory according to the arranged weight set and the corrected area in the parameter information to obtain an optimal redundancy solution;
[0122] The optimal redundancy solution is used as the redundant information of each static random access memory.
[0123] In one embodiment, when executing the allocation of redundant information to each static random access memory based on the redundant information to be added, the processor 1001 further performs the following operations:
[0124] When register sharing is enabled in the chip, obtaining a shared repair unit;
[0125] Reducing the additional area overhead introduced by the self-test logic of the static random access memory by using the shared repair unit;
[0126] Calculating whether the static random access memory can pass the shared redundancy and whether the redundant information needs to be adjusted by the row and column weights;
[0127] If so, the area of the chip is optimized.
[0128] In an embodiment of the present application, when performing a built-in self-test (BIST) on a memory array in a chip, a redundant information repair device in a static random access memory (SRAM) first shares information data of each SRAM in the memory array, then performs redundancy analysis based on the information data of each SRAM to generate redundant information required to be added to each SRAM, and finally allocates redundant information to each SRAM based on the required redundant information. Because the present application embeds a pre-set evaluation algorithm into the implementation process of the memory array built-in self-test (MABIST) logic, performs redundant analysis of the SRAM in the memory array using shared data information, generates redundant results, and finally allocates and further optimizes redundant logic information based on the redundant results, thereby improving the yield rate of the chip.
[0129] Those skilled in the art will appreciate that all or part of the processes in the above-described method embodiments can be implemented by instructing related hardware through a computer program. The program can be stored in a computer-readable storage medium, and when executed, the program can include the processes in the above-described method embodiments. The storage medium can be a magnetic disk, an optical disk, a read-only memory, or a random access memory.
[0130] The above disclosure is only a preferred embodiment of the present application, and certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.
Claims
1. A method for repairing redundant information in a static random access memory, characterized in that: The method comprises: When a built-in self-test is implemented for a memory array in a chip, information data of each static random access memory in the memory array is shared; before the built-in self-test is implemented for the memory array in the chip, the method further includes: receiving a preset redundancy assessment algorithm; Embedding the redundancy assessment algorithm into a built-in self-test logic for a storage array in a chip; Redundancy analysis is performed according to the information data of each static random access memory to generate redundant information required to be added to each static random access memory; wherein, The redundancy analysis is performed according to the information data of each static random access memory to generate the redundant information required to be added by each static random access memory, including: Arrange the static random access memories in descending order according to their capacities to generate arranged static random access memories; Reading parameter information shared by each static random access memory according to each static random access memory after the arrangement; Performing row and column repair calculations based on the shared parameter information to generate weights of row and column redundancy in each static random access memory; Iteratively comparing the weights of row and column redundancy in each static random access memory to obtain the optimal row and column redundancy weight in each static random access memory; Arrange the optimal row and column redundant weights in each static random access memory in ascending order to generate an arranged weight set; Calculating the redundancy distribution of each static random access memory based on the arranged weight set to generate redundant information of each static random access memory; Redundant information is allocated to each static random access memory based on the redundant information that needs to be added.
2. The method according to claim 1, characterized in that The performing row and column repair calculation based on the shared parameter information to generate weights of row and column redundancy in each static random access memory includes: Obtaining grouping information, repair information and an estimated area value of the chip from parameter information shared by each static random access memory; The grouping information, the repair information and the estimated area value of the chip are input into a preset row and column weight calculation formula to generate the weight of the row and column redundancy in each static random access memory.
3. The method according to claim 1, characterized in that The step of calculating the redundancy distribution of each static random access memory based on the arranged weight set to generate redundant information of each static random access memory includes: Performing refined weight calculation on the rows and columns of each static random access memory according to the arranged weight set and the corrected area in the parameter information to obtain an optimal redundancy solution; The optimal redundant solution is used as redundant information of each static random access memory.
4. The method according to claim 1, characterized in that: After allocating redundant information to each static random access memory based on the redundant information to be added, the method further includes: When register sharing is enabled in the chip, obtaining a shared repair unit; The shared repair unit is used to reduce the extra area overhead introduced by the self-test logic of the static random access memory; Calculate whether the static random access memory can pass the shared redundancy and whether the redundant information needs to be adjusted through the row and column weights; If so, the area of the chip is optimized.
5. A redundant information repair device in a static random access memory, characterized in that: The device comprises: A data sharing module is used to share information data of each static random access memory in the storage array when a built-in self-test is implemented for the storage array in the chip; the device is also specifically used for: receiving a preset redundancy assessment algorithm; Embedding the redundancy assessment algorithm into a built-in self-test logic for a storage array in a chip; A redundant information generation module is used to perform redundancy analysis based on the information data of each static random access memory to generate the redundant information required to be added to each static random access memory; wherein, The redundant information generation module is specifically used for: Arrange the static random access memories in descending order according to their capacities to generate arranged static random access memories; Reading parameter information shared by each static random access memory according to each static random access memory after the arrangement; Performing row and column repair calculations based on the shared parameter information to generate weights of row and column redundancy in each static random access memory; Iteratively comparing the weights of row and column redundancy in each static random access memory to obtain the optimal row and column redundancy weight in each static random access memory; Arrange the optimal row and column redundant weights in each static random access memory in ascending order to generate an arranged weight set; Calculating the redundancy distribution of each static random access memory based on the arranged weight set to generate redundant information of each static random access memory; The redundant information repair module is used to allocate redundant information to each static random access memory based on the redundant information that needs to be added.
6. The device according to claim 5, characterized in that The device also includes: An algorithm receiving module, used for receiving a preset redundancy assessment algorithm; The algorithm embedding module is used to embed the redundancy evaluation algorithm into the built-in self-test logic of the storage array in the chip.
7. A computer storage medium, characterized in that: The computer storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the method according to any one of claims 1 to 4.
8. A terminal, characterized in that: include: A processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the method according to any one of claims 1 to 4.
