A method to repair power network electronic migration problems based on gradient optimization analysis
By adjusting the positions of standard cells and macro cells in the power supply network through gradient optimization analysis, the problems of low repair efficiency and extended design cycle of electron migration problems in the power supply network are solved, and efficient current reduction and design optimization are achieved.
Patent Information
- Application Number
- CN202411027190.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-30
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2044-07-30
AI Technical Summary
When existing technology repairs electromigration problems in power networks, conventional methods such as widening the wiring line width will lead to a longer design cycle, and it is difficult to efficiently determine the positions of standard cells and macro cells that need to be adjusted.
Through gradient optimization analysis, calculate the sensitivity of the current at the winding to the positions of standard cells and macro cells, and adjust the placement of these units to fix the electron migration problem. Specific steps include electron migration analysis, selecting relevant units, gradient optimization analysis, and adjusting positions. , ensuring that the power network and circuit logic are not changed.
It effectively reduces the winding current, repairs the electron migration problem, improves the design efficiency, and avoids the extension of the design cycle.
Smart Images

Figure CN118551716B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of power supply network optimization, and in particular to a method for repairing power supply network electronic migration problems based on gradient optimization analysis. Background Art
[0002] With the innovation of advanced process technology and the continuous improvement of power density, the width of the winding is getting thinner and thinner, which leads to the increasingly significant problem of electron migration in the power network. In order to avoid reliability problems caused by electron migration, the wafer factory will define the electron migration parameters in its process files, and the designer needs to ensure that the current passing through the power network is less than the maximum allowable current. If a winding with a current greater than the maximum allowable current is found, the designer must repair it. The general conventional way to repair such electron migration problems is to widen the width of the winding with electron migration problems to meet the reliability requirements. However, the method of widening the power network winding will squeeze the resources for signal line winding in the later stage, resulting in an extension of the design cycle. In fact, in addition to widening the winding line width, adjusting the placement of standard cells and macro cells related to the winding with electron migration problems can also play a role in repairing electron migration problems. However, the power network is complex, and an efficient method is urgently needed to determine which standard cells and macro cells should be adjusted when electron migration problems occur to improve electron migration problems. Summary of the invention
[0003] In order to solve the defects of the prior art, the purpose of this application is to provide a method for repairing the problem of electronic migration in a power supply network based on gradient optimization analysis. By calculating the sensitivity of the current at the winding where the electronic migration problem occurs to the change in the position of standard cells and macro cells, some standard cells and macro cells that have a greater impact on the change in winding current are found, and the placement of these standard cells and macro cells is adjusted to repair the problem of electronic migration.
[0004] In order to achieve the above-mentioned purpose, the method for repairing the electronic migration problem of the power supply network based on gradient optimization analysis provided in the present application comprises the following steps:
[0005] Conduct electromigration analysis on the entire chip to identify the wires with electromigration problems;
[0006] Selecting standard cells and macro cells connected to the winding to obtain a set of standard cells and macro cells;
[0007] Performing gradient optimization analysis on the standard cell and macro cell set, solving partial derivatives of voltages at nodes at both ends of the winding with respect to currents at the standard cell and macro cell, and obtaining gradient optimization analysis results;
[0008] According to the gradient optimization analysis result, the positions of the standard cells and macro cells are adjusted to obtain a new circuit.
[0009] Furthermore, the step of performing an electron migration analysis on the whole chip to find the windings with electron migration problems further includes: solving the current flowing through the windings by establishing node equations for the circuit of the whole chip;
[0010] The node equation is expressed in the form of a matrix equation: ,
[0011] in, for The coefficient matrix of which the elements are the inverse of the resistance between nodes; for The solution vector represents the voltage value of the node to be solved; is the right-hand side term, which is The column vector of represents the current vector; is the number of nodes in the circuit.
[0012] Furthermore, the step of performing electron migration analysis on the entire chip to identify windings with electron migration problems further includes: comparing the current flowing through the windings with the maximum allowable current; if the current flowing through the windings is greater than the maximum allowable current, then the windings have electron migration problems.
[0013] Furthermore, the step of selecting the standard cells and macro cells connected to the winding to obtain a set of standard cells and macro cells further comprises:
[0014] Establishing an undirected graph model of the circuit, wherein the edges in the undirected graph model are the windings with the electron migration problem, and the nodes in the undirected graph model are the endpoints of the windings with the electron migration problem;
[0015] Taking one of the two end points of the winding with the electronic migration problem as the starting point, traversal is performed, and the standard cells and macro cells corresponding to the visited nodes are added to the set of standard cells and macro cells until the traversal of the undirected graph model is completed to obtain the final set of standard cells and macro cells.
[0016] Furthermore, the step of performing gradient optimization analysis on the set of standard cells and macro cells to solve the partial derivatives of the voltages at the nodes at both ends of the winding with respect to the currents at the standard cells and macro cells further comprises:
[0017] The circuit layout logic remains unchanged, but the resistance or current value is changed. The changes caused are reflected in the coefficient matrix, current vector and voltage value of the node to be solved in the matrix equation.
[0018] Substitute the changed coefficient matrix, current vector and voltage value into the original matrix equation, while ignoring the second-order change term, to obtain the change in voltage value;
[0019] Considering the change in the i-th value of the voltage, we have ,
[0020] in, To change the resistance or current value caused by the change, is the voltage value The change in the i-th value of For the matrix The i-th column of M is the coefficient matrix, is the transposed matrix of M, b is the current vector, and the gradient optimization of the node voltage to the current change at the standard cell and macro cell is expressed by partial derivatives as ,
[0021] Where k is the position of the standard cell and macro cell in the current vector, is a column vector The kth item of ;
[0022] The voltage values of the nodes at both ends of the winding are solved respectively, and two sets of partial derivatives corresponding to the standard unit and macro unit sets are obtained.
[0023] Furthermore, the step of performing gradient optimization analysis on the set of standard cells and macro cells to solve the partial derivatives of the voltages at the nodes at both ends of the winding with respect to the currents at the standard cells and macro cells further comprises:
[0024] Perform LU decomposition on the coefficient matrix of the matrix equation and get ;
[0025] By solving the matrix equation , get the intermediate vector ;
[0026] By solving the matrix equation , and we get the column vector ;
[0027] Where M is the coefficient matrix of the matrix equation, L and U are the lower triangular matrix and upper triangular matrix obtained after decomposition, respectively. is the transposed matrix of U, is the transposed matrix of L, is a unit vector, i is the position of the node voltage in the solution vector of the matrix equation, k is the position of the standard cell and macro cell in the current vector of the matrix equation, and the column vector For the matrix The i-th column of is a column vector The kth item of represents the partial derivative of the node voltage with respect to the current at the standard cell and macro cell;
[0028] The voltage values at both ends of the winding are solved separately to obtain two sets of partial derivatives corresponding to the standard unit and macro unit sets.
[0029] Furthermore, the step of adjusting the positions of the standard cells and the macro cells according to the gradient optimization analysis results to obtain a new circuit further includes:
[0030] A group of standard cells and macro cells whose partial derivatives are greater than a preset threshold are selected, and without changing the power supply network and the circuit logic, the standard cells and macro cells are exchanged with standard cells and macro cells with smaller current values than the standard cells and macro cells, and at the same time, the original positions of the standard cells and macro cells with smaller current values are independent of the windings with electron migration problems or have partial derivatives with absolute values less than the preset threshold.
[0031] To achieve the above-mentioned purpose, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and runnable on the processor, wherein the processor is used to execute the computer program stored in the memory to implement the method for repairing power supply network electronic migration problems based on gradient optimization analysis as described above.
[0032] To achieve the above objectives, the present application also provides a computer-readable storage medium, in which a computer program is stored. The computer program is loaded and executed by a processor to implement the method of repairing power supply network electronic migration problems based on gradient optimization analysis as described above.
[0033] The method for repairing the electronic migration problem of the power supply network based on gradient optimization analysis provided in this application has the following beneficial effects compared with the prior art:
[0034] Based on gradient optimization analysis, the partial derivatives of each standard cell and macro cell connected to the winding with electron migration problems are obtained. The larger the absolute value of the partial derivative, the greater the impact of the current change at the corresponding standard cell and macro cell on the voltage of the nodes at both ends of the winding. Without changing the power network and the overall circuit logic, the designer selects the standard cell and macro cell at this location and adjusts their position to reduce the winding current, thereby fixing the electron migration problem in the power network.
[0035] Other features and advantages of the present application will be set forth in the following description, and in part will become apparent from the description, or may be understood by practicing the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The accompanying drawings are used to provide a further understanding of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation of the present application. In the accompanying drawings:
[0037] Figure 1 A flow chart of a method for repairing power network electronic migration problems based on gradient optimization analysis according to an embodiment of the present application;
[0038] Figure 2 Schematic diagram of the structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0039] The preferred embodiments of the present application are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present application and are not used to limit the present application.
[0040] The embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be construed as being limited to the embodiments described herein. Instead, these embodiments are provided to provide a more thorough and complete understanding of the present application. It should be understood that the drawings and embodiments of the present application are only for exemplary purposes and are not intended to limit the scope of protection of the present application.
[0041] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0042] It should be noted that the modifications of "one" and "plurality" mentioned in this application are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more". "Plurality" should be understood as two or more.
[0043] Figure 1 This is a flow chart of a method for repairing power network electronic migration problems based on gradient optimization analysis according to an embodiment of the present application. In order to make the purpose, technical solution and advantages of the present application clearer, the following will be combined with Figure 1 The implementation methods of the present application are described in detail.
[0044] In step 101, electromigration analysis is performed on the entire chip to identify the wiring with electromigration problems.
[0045] In the embodiment of the present application, the electron migration analysis is mainly to solve the current flowing through the winding. This current is related to the voltage at both ends of the winding and needs to be solved by establishing a node equation group for the whole chip. Compare the current flowing through the winding with the maximum allowable current. If the current I flowing through the winding is equal to the maximum allowable current I limit If the ratio is greater than 1, it is considered that the wiring has an electron migration problem. The node equation of the full chip can be expressed as the following matrix equation: ,
[0046] in, for The coefficient matrix of which the elements are the inverse of the resistance between nodes; for The solution vector represents the node voltage value that needs to be solved; is the right-hand side term, The current vector represents the current (including standard cell and macro cell current); is the number of nodes in the circuit. This matrix equation is generally obtained by Perform LU decomposition to obtain the inverse matrix.
[0047] In step 102, standard cells and macro cells connected to the wiring are selected. For the wiring with electron migration problems in the chip, standard cells and macro cells connected thereto are selected to obtain a set of standard cells and macro cells for gradient optimization analysis.
[0048] In the embodiments of the present application, it is necessary to find the standard cells and macro cells related to the windings with the electronic migration problem, and narrow the set of standard cells and macro cells that need to be considered for adjustment, so as to reduce the amount of calculation in the subsequent steps. Standard cells (Standard Instance) and macro cells (Macro) are circuit designs with specific functions used in the back-end design, including inverters, AND gates, registers, selectors, full adders, etc. Each standard cell and macro cell corresponds to multiple circuits of different sizes and different driving capabilities.
[0049] The method of the present application mainly considers the set of standard cells and macro cells connected to the wiring that has the problem of electromigration. The steps for solving the set of standard cells and macro cells are as follows:
[0050] An undirected graph model of the circuit is established, wherein the edges in the graph are the wires where the electron migration problem occurs, and the nodes in the graph are the endpoints of the wires where the electron migration problem occurs in the circuit;
[0051] Taking the node corresponding to one of the two end points of the winding found in step 101 in the undirected graph model as the starting point, the graph is traversed, and the standard cells and macro cells corresponding to the visited nodes are added to the set of standard cells and macro cells until the traversal of the undirected graph model is completed to obtain the final set of standard cells and macro cells.
[0052] In step 103, a gradient optimization analysis is performed on the standard cell and macro cell set, and the partial derivatives of the voltage at the nodes at both ends of the winding with respect to the current at the standard cells and macro cells in the set are solved to obtain the gradient optimization analysis results.
[0053] Gradient optimization analysis is a method to study and analyze the sensitivity of a system or model's state or output changes to changes in system parameters or surrounding conditions. Considering that the circuit layout logic remains unchanged and only the resistance or current value is changed, the changes caused This will be reflected in the matrix equation and superior: , ,
[0054] Correspondingly, the voltage value of the node to be solved is The following changes will also be made: ,
[0055] Substitute into the original matrix equation and ignore the second-order variation term , get about The amount of change : .
[0056] In the embodiment of the present application, the voltage at both ends of the winding where the electron migration problem occurs is considered to optimize the gradient of the current change at the standard cell and the macro cell, that is, only considering ,get ,
[0057] In fact, it is only necessary to conduct a gradient optimization analysis of the current transformation of the selected standard cells and macro cells for the voltage values of the nodes at both ends of the winding where the electron migration problem occurs. The change in the i-th value of , then ,
[0058] Among them, the column vector For the matrix The i-th column of , then the gradient optimization of the voltage value at the node to the current change at the standard cell and macro cell can be expressed by partial derivatives as ,
[0059] Where k is the position of the standard cell and macro cell in the current vector b. For actual circuits, the number of nodes n in the circuit is a large number. In order to reduce calculations, the set of standard cells and macro cells to be considered should be reduced. For each standard cell and macro cell in the set, there is a partial derivative value. The larger the absolute value of the partial derivative, the greater the impact of the change in the current at the standard cell and macro cell on the voltage at both ends of the winding. Designers can choose to adjust the position of the standard cell and macro cell without changing the power network and the overall circuit logic to reduce the winding current.
[0060] In one embodiment of the present application, it is necessary to solve the gradient optimization of the voltage of the nodes at both ends of the winding with respect to the current change of the standard cell and macro cell in the standard cell and macro cell set, that is, the partial derivative ,
[0061] Where i is the position of the node voltage in the solution vector x, k is the position of the standard cell and macro cell in the current vector b, and the column vector For the matrix The i-th column of is a column vector In fact, in another embodiment of the present application, it is not necessary to get In the electron migration analysis process of step 101, the coefficient matrix Completed LU decomposition ,
[0062] L and U are the lower triangular matrix and upper triangular matrix obtained after decomposition, respectively. Therefore, the partial derivatives of the voltage value at both ends of the winding with respect to the current at the standard cell and the macro cell can be obtained by the following steps:
[0063] By solving the matrix equation ,
[0064] Get the middle vector ,in is a unit vector;
[0065] By solving the matrix equation ,
[0066] get , weight That’s what you want.
[0067] It is necessary to solve the voltage values at both ends of the winding separately to obtain two sets of partial derivatives for the standard unit and macro unit set.
[0068] In step 104, according to the gradient optimization analysis result, the positions of the standard cells and macro cells are adjusted to obtain a new circuit.
[0069] In an embodiment of the present application, based on the partial derivative of the voltage at both ends of the winding with respect to the current at the standard cell and the macro cell, that is, gradient optimization, the standard cell and the macro cell are selected for position adjustment. The larger the absolute value of the partial derivative, the more sensitive the voltage value at both ends of the winding is to the current change at the standard cell and the macro cell. For example, in one embodiment, the standard cell and macro cell with the largest positive partial derivative are selected, and the standard cell and macro cell at this place are exchanged with other standard cells and macro cells with smaller current values without changing the power supply network and circuit logic. At the same time, the original position of the standard cell and macro cell with smaller current value should be as independent of the winding as possible or have a partial derivative with smaller absolute value, so that it is possible to reduce the voltage value at both ends of the winding, thereby repairing the electron migration problem. In another embodiment, a partial derivative threshold is preset, and among the standard cells and macro cells whose absolute values of partial derivatives are greater than the threshold, a group of standard cells and macro cells with arbitrary larger partial derivatives are selected for position adjustment, and are exchanged with standard cells and macro cells with smaller current values, whose original positions are irrelevant to the windings with electron migration problems or have partial derivatives with absolute values less than the threshold.
[0070] In step 105, steps 101 to 104 are repeated according to the adjusted circuit to improve the electron migration problem in the power supply network.
[0071] In an embodiment of the present application, an electronic device is also provided. Figure 2 is a schematic diagram of the structure of an electronic device according to an embodiment of the present application, such as Figure 2 As shown, the electronic device of the present application includes a processor 201 and a memory 202, wherein:
[0072] The memory 202 stores a computer program. When the computer program is read and executed by the processor 201 , the computer program executes the steps in the above-mentioned method embodiment for repairing the electronic migration problem of the power supply network based on gradient optimization analysis.
[0073] In an embodiment of the present application, a computer-readable storage medium is also provided, in which a computer program is stored, wherein the computer program is configured to execute the steps in the method embodiment of repairing power supply network electronic migration problems based on gradient optimization analysis as described above when running.
[0074] In this embodiment, the above-mentioned computer-readable storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store computer programs.
[0075] Those skilled in the art can understand that the above description is only a preferred embodiment of the present application and is not intended to limit the present application. Although the present application is described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions recorded in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A method for repairing power network electronic migration problems based on gradient optimization analysis, characterized in that: The following steps are involved: Conduct electromigration analysis on the entire chip to identify the wires with electromigration problems; Selecting standard cells and macro cells connected to the winding to obtain a set of standard cells and macro cells; Performing gradient optimization analysis on the standard cell and macro cell set, solving partial derivatives of voltages at nodes at both ends of the winding with respect to currents at the standard cell and macro cell, and obtaining gradient optimization analysis results; According to the gradient optimization analysis result, adjusting the positions of the standard cells and the macro cells to obtain a new circuit; The step of performing gradient optimization analysis on the set of standard cells and macro cells to solve the partial derivatives of the voltages at the nodes at both ends of the winding with respect to the currents at the standard cells and macro cells further comprises: The circuit layout logic remains unchanged, but the resistance or current value is changed. The changes caused are reflected in the coefficient matrix, current vector and voltage value of the node to be solved in the matrix equation. Substitute the changed coefficient matrix, current vector and voltage value into the original matrix equation, while ignoring the second-order change term, to obtain the change in voltage value; Consider the voltage value i The change in value is , in, To change the resistance or current value caused by the change, is the voltage value No. i The change in the value, column vector For the matrix No. i Column, M is the coefficient matrix, is the transposed matrix of M, b is the current vector, and the gradient optimization of the node voltage to the current change at the standard cell or macro cell is expressed by partial derivative as , in, k is the position of the standard cell or macro cell in the current vector, is a column vector No. k item; The voltage values of the nodes at both ends of the winding are solved respectively, and two sets of partial derivatives corresponding to the standard unit and macro unit sets are obtained; The step of performing gradient optimization analysis on the set of standard cells and macro cells to solve the partial derivatives of the voltages at the nodes at both ends of the winding with respect to the currents at the standard cells and macro cells further comprises: Perform LU decomposition on the coefficient matrix of the matrix equation and get ; By solving the matrix equation , and get the intermediate vector ; By solving the matrix equation , and we get the column vector ; Where M is the coefficient matrix of the matrix equation, L and U are the lower triangular matrix and upper triangular matrix obtained after decomposition, respectively. is the transposed matrix of U, is the transposed matrix of L, is a unit vector, i is the position of the node voltage in the solution vector of the matrix equation, k is the position of the standard cell and macro cell in the current vector of the matrix equation, and the column vector For the matrix No. i List, is a column vector No. k item, represents the partial derivative of the node voltage with respect to the current at the standard cell and macro cell; The voltage values at both ends of the winding are solved separately to obtain two sets of partial derivatives corresponding to the standard unit and macro unit sets.
2. The method for repairing power network electronic migration problems based on gradient optimization analysis according to claim 1 is characterized in that: The step of performing an electromigration analysis on the entire chip to identify the windings with electromigration problems further includes: establishing node equations for the circuit of the entire chip to solve the current flowing through the windings; The node equation is expressed in the form of a matrix equation: , in, for The coefficient matrix of which the elements are the inverse of the resistance between nodes; for The solution vector represents the voltage value of the node to be solved; is the right-hand side term, which is The column vector of represents the current vector; is the number of nodes in the circuit.
3. The method for repairing power network electronic migration problems based on gradient optimization analysis according to claim 1 is characterized in that: The step of performing electron migration analysis on the entire chip to identify the winding with electron migration problems further includes: comparing the current flowing through the winding with the maximum allowable current. If the current flowing through the winding is greater than the maximum allowable current, the winding has an electron migration problem.
4. The method for repairing power network electronic migration problems based on gradient optimization analysis according to claim 1 is characterized in that: The step of selecting standard cells and macro cells connected to the winding to obtain a set of standard cells and macro cells further comprises: Establishing an undirected graph model of the circuit, wherein the edges in the undirected graph model are the windings with the electron migration problem, and the nodes in the undirected graph model are the endpoints of the windings with the electron migration problem; Taking one of the two end points of the winding with the electronic migration problem as the starting point, traversal is performed, and the standard cells and macro cells corresponding to the visited nodes are added to the set of standard cells and macro cells until the traversal of the undirected graph model is completed to obtain the final set of standard cells and macro cells.
5. The method for repairing power network electronic migration problems based on gradient optimization analysis according to claim 1 is characterized in that: The step of adjusting the positions of the standard cells and the macro cells according to the gradient optimization analysis results to obtain a new circuit further includes: A group of standard cells and macro cells whose absolute values of partial derivatives are greater than a preset threshold are selected, and without changing the power supply network and the circuit logic, the standard cells and macro cells are exchanged with standard cells and macro cells with smaller current values than the standard cells and macro cells, and at the same time, the original positions of the standard cells and macro cells with smaller current values are irrelevant to the windings with electron migration problems or have partial derivatives with absolute values less than the preset threshold.
6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: The processor is used to execute the computer program stored in the memory to implement the method for repairing the electronic migration problem of the power supply network based on gradient optimization analysis as described in any one of claims 1-5.
7. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, which is loaded and executed by a processor to implement the method for repairing electronic migration problems in a power supply network based on gradient optimization analysis as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Construction method for nonlinear scalable GaN HEMT model
CN105825005A
Chip global layout method and device, electronic equipment and readable storage medium
CN117408216A
Method for searching worst dynamic voltage drop based on deep learning
CN118246372A
Quick method for implementing noise optimization of integrated circuit supply network using decoupling capacitor
CN1523662A
System and method for designing system on chip (SoC) circuits through artificial intelligence and reinforcement learning
US9792397B1
Cited By
Electronic migration violation combination repairing method and system
CN119294339A
Electron migration violation combined repair method and system
CN119294339B
