Integrated circuit failure boundary processing method and device, electronic equipment, medium
Through screening and cross-validation, the quadratic programming model solves the problem of reliability evaluation of high-dimensional process deviations of integrated circuits, reduces computing resources and costs, improves evaluation accuracy, and is suitable for nanoscale design.
Patent Information
- Application Number
- CN202410923928.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-11
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2044-07-11
AI Technical Summary
Existing integrated circuit reliability assessment methods face difficulties in computational cost and accuracy control when dealing with high-dimensional process deviations. Especially in nanoscale design, the traditional Monte Carlo method has high computational cost and large errors, and the response surface model cannot capture all key factors. Performance changes.
By initially screening the initial process deviation variables into relevant and non-correlated variables, random sampling and cross-validation are performed to screen out key variables, establish a quadratic programming model, and conduct global optimization to find the failure boundary to characterize the performance of the integrated circuit without failure. Worst performance point.
It effectively reduces computing resources and costs, improves the accuracy of integrated circuit reliability assessment, solves the problem of solving efficiency and accuracy control of high-dimensional problems, and provides a new assessment solution for the industry.
Smart Images

Figure CN118468772B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of integrated circuit design and reliability assessment, and in particular to an integrated circuit failure boundary processing method and device, electronic equipment, and medium. Background Art
[0002] Traditionally, the Monte Carlo method is used to evaluate the probability of IC failure through a large number of sampling and tube-level simulations, but this method has very high computational and time costs when dealing with complex or large-scale ICs. In addition, although the response surface model can improve efficiency in some cases, simple linear or low-order models often cannot capture all key performance changes in nanoscale IC design.
[0003] In order to improve the design accuracy of integrated circuits and reduce costs, researchers have proposed a variety of new methods to accurately evaluate the reliability of large-scale integrated circuits, including importance sampling methods (such as reference 1) and circuit performance distribution analytical models based on various probability distribution functions (such as reference 2). These methods aim to reduce the required computing resources while improving the estimation accuracy of the yield. However, these technologies still face challenges in computing cost and accuracy control when dealing with high-dimensional process deviation spaces.
[0004] Based on this, a new technical solution is needed that can accurately evaluate the reliability of integrated circuits.
[0005] References:
[0006] [1]:Tokdar ST, Kass R E.Importance sampling: a review[J].WileyInterdisciplinary Reviews Computational Statistics, 2010,2(1):54-60. DOI:10.1002 / wics.56;
[0007] [2]:Constantinescu, C.Trends and challenges in VLSI circuitreliability[J].Micro, IEEE, 2003.DOI:10.1109 / MM.2003.1225959. Summary of the invention
[0008] In view of this, embodiments of the present specification provide a method and device for processing an integrated circuit failure boundary, an electronic device, and a medium.
[0009] The embodiments of this specification provide the following technical solutions:
[0010] The embodiment of this specification provides a method for processing an integrated circuit failure boundary, including:
[0011] Preliminarily screening the initial process deviation variables into relevant variable vectors and irrelevant variable vectors, wherein relevant variables are process deviation variables relevant to the specified circuit performance index, and irrelevant variables are other process deviation variables except relevant variables;
[0012] Random sampling is performed on the relevant variable vector and the non-relevant variable vector, and the data obtained by random sampling constitute a first matrix, and circuit simulation is performed based on the first matrix and the circuit performance vector obtained by simulation constitutes a first data set;
[0013] Performing cross validation based on the first data set, and screening out a key variable vector in the cross validation, wherein the key variable is a process deviation variable corresponding to a non-zero item in a cross-validated regression coefficient vector in the cross validation in the related variable vector;
[0014] A quadratic programming model is established based on the key variable vector, and a failure boundary is found through global optimization, wherein points on the failure boundary are used to characterize process deviation points of the worst performance of the integrated circuit without failure.
[0015] The embodiment of the present specification also provides an integrated circuit failure boundary processing device, including:
[0016] Preliminary screening module: preliminarily screens the initial process deviation variables into relevant variable vectors and non-relevant variable vectors, where relevant variables are process deviation variables related to the specified circuit performance indicators, and non-relevant variables are other process deviation variables except relevant variables;
[0017] Random sampling module: performing random sampling on the relevant variable vector and the non-relevant variable vector, and forming a first matrix with the data obtained by random sampling, and performing circuit simulation based on the first matrix and forming a first data set with the circuit performance vector obtained by simulation;
[0018] A cross-validation module: performing cross-validation based on the first data set, and screening out a key variable vector in the cross-validation, wherein the key variable is a process deviation variable corresponding to a non-zero item in a cross-validated regression coefficient vector in the cross-validation in the related variable vector;
[0019] Quadratic programming solution module: establishes a quadratic programming model based on the key variable vector, and finds the failure boundary through global optimization, wherein the points on the failure boundary are used to characterize the process deviation points of the worst performance of the integrated circuit without failure.
[0020] An embodiment of the present specification also provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute: the integrated circuit failure boundary processing method as described in any embodiment of the present application.
[0021] The embodiments of this specification also provide a computer storage medium, wherein the computer storage medium stores computer executable instructions, and when the computer executable instructions are executed by a processor, the integrated circuit failure boundary processing method as described in any embodiment of the present application is performed.
[0022] Compared with the prior art, the at least one technical solution adopted in the embodiments of this specification can achieve the following beneficial effects:
[0023] To address the failure problem of circuits with high-dimensional process deviations, we reduce the dimension of process deviation variables through variable screening and cross-validation, and establish a secondary model based on the screened key variables to search for failure boundaries. This effectively improves the efficiency of solving high-dimensional problems and can effectively reduce computing resources and costs. At the same time, it can ensure the accuracy of integrated circuit reliability assessment, and strikes a good balance between computing cost and precision control, providing the industry with a new evaluation solution. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0025] Figure 1 It is a schematic diagram of the integrated circuit failure boundary processing framework in this application;
[0026] Figure 2 It is a schematic diagram of the flow chart of the integrated circuit failure boundary processing method in this application;
[0027] Figure 3 It is a schematic diagram of the flow chart of the integrated circuit failure boundary processing method in this application;
[0028] Figure 4 It is a schematic diagram of the structure of the integrated circuit failure boundary processing device in the present application;
[0029] Figure 5 It is a schematic diagram of the structure of an electronic device used for integrated circuit failure boundary processing in this application. DETAILED DESCRIPTION
[0030] The embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0031] The following describes the implementation methods of the present application through specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The present application can also be implemented or applied through other different specific implementation methods, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that, in the absence of conflict, the following embodiments and the features in the embodiments can be combined with each other. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work belong to the scope of protection of the present application.
[0032] It should be noted that various aspects of the embodiments within the scope of the appended claims are described below. It should be apparent that the aspects described herein can be embodied in a wide variety of forms, and any specific structure and / or function described herein is merely illustrative. Based on the present application, it should be understood by those skilled in the art that an aspect described herein can be implemented independently of any other aspect, and two or more of these aspects can be combined in various ways. For example, any number and aspect described herein can be used to implement the device and / or practice the method. In addition, other structures and / or functionalities other than one or more of the aspects described herein can be used to implement this device and / or practice this method.
[0033] It should also be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present application. The drawings only show components related to the present application rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.
[0034] Additionally, in the following description, specific details are provided to facilitate a thorough understanding of the examples. However, it will be understood by those skilled in the art that the examples can be practiced without these specific details.
[0035] In the process of integrated circuit design and manufacturing, as the process node enters the nanometer scale, the impact of process deviation on circuit performance becomes increasingly greater, which directly affects the reliability and yield of the chip. Especially in large-scale integrated circuits, a small unit failure may cause the failure of the entire system. For example, for an SRAM array containing millions of cells, the failure rate of any single cell must be extremely low (typically 10 -6), in order to ensure the normal operation of the entire array. This pursuit of high reliability makes it extremely important and difficult to accurately evaluate the reliability of large-scale integrated circuits.
[0036] Existing methods for estimating the failure rate of integrated circuits with high-dimensional process variation variables, such as the traditional Monte Carlo technique, usually require a large number of random samplings to estimate extremely low failure rates. However, this method faces two major challenges in practice: first, the failure rate of integrated circuits is very low, and second, the process variation dimension is high. It may be difficult to obtain enough failure samples in a large number of samples, or even no failure samples may be collected. In this case, the failure rate estimate obtained directly using the Monte Carlo method is often inaccurate and has large errors.
[0037] In other words, the traditional Monte Carlo method requires a large amount of sampling and tube-level simulation to complete the reliability assessment of integrated circuits, but due to production cost constraints, the failure samples of integrated circuits are usually very scarce and cannot complete a large amount of sampling. In addition, the response surface model is a simple linear or low-order model. Such a low-order model often cannot capture all key performance changes in the design of integrated circuits with nanoscale high-dimensional process deviations, and requires higher-order model improvements.
[0038] In addition, although new methods such as those in the aforementioned literature can reduce computing resources and improve the estimation accuracy of yield, these methods can only handle low-dimensional process space, and still need to face challenges such as computing cost and accuracy control when dealing with high-dimensional process deviation space.
[0039] In addition, the worst-case corner extraction problem is also a major challenge. This problem involves non-convex optimization, which often results in the traditional quadratically constrained quadratic programming (QCQP) algorithm being unable to effectively find the global optimal solution and can only reach the local optimal value. This local optimal value problem greatly limits the practicality and reliability of the method, so it is particularly important to develop new algorithms to solve this problem. The worst-case corner extraction refers to finding those specific conditions that may cause circuit performance failure among all possible process conditions, which has a direct impact on optimizing the design and improving the reliability of integrated circuits.
[0040] In summary, how to accurately evaluate the reliability of large-scale integrated circuits with high-dimensional process deviations when the number of failed samples is very small is a major challenge in the current integrated circuit yield analysis. This requires efficient and accurate new methods to ensure high reliability of circuit design.
[0041] In view of this, this application proposes a new processing idea for worst performance analysis for reliability evaluation of integrated circuits: Figure 1As shown, the process deviation variables related to the performance are first preliminarily screened out from the high-dimensional process deviation variables, and the most important process deviation variables are further screened out from the preliminarily screened related high-dimensional process deviation variables through a cross-validated orthogonal basis pursuit algorithm. Then, a circuit performance model is further established for these most important process deviation variables through a quadratic model, thereby finding the failure boundary through global optimization within a large process deviation range.
[0042] By adopting the worst performance analysis idea mentioned above, we can perform cross-validation based on the initial screening variables to solve the failure problem of circuits with high-dimensional process deviations, reduce the dimension of process deviation variables, and establish quadratic models and linear models to perform multi-level failure boundary searches, effectively improving the efficiency of solving high-dimensional problems, effectively reducing computing resources and costs, and ensuring the accuracy of integrated circuit reliability assessment. It strikes a good balance between computing cost and precision control, and provides the industry with a new evaluation solution.
[0043] The following is combined with Figure 1 To Attachment Figure 5 , describing the technical solutions provided by each embodiment of the present application.
[0044] The integrated circuit failure boundary processing method provided in the embodiments of this specification may include:
[0045] Step S202: Preliminarily screen the initial process deviation variables into relevant variable vectors and irrelevant variable vectors, wherein relevant variables are process deviation variables relevant to the specified circuit performance index, and irrelevant variables are other process deviation variables except relevant variables.
[0046] By dividing the initial variables into relevant variables and unrelated variables, the process deviation variables that may be closely related to the circuit performance indicators can be preferentially selected, so that these variables can be taken seriously in later processing, avoiding a large amount of invalid calculations in the later stage, which is conducive to reducing the demand and cost of computing resources.
[0047] It should be noted that the relevant variables and non-relevant variables can be screened according to a preset selection strategy, or according to the screening method provided below in this application. For example, in integrated circuit design, it is possible to obtain in advance which process deviation variables belong to relevant variables or non-relevant variables based on design experience, production experience, etc., so that the selection strategy can be clarified. For example, based on the results of simulation tests, it is possible to determine which variables may be relevant or non-relevant, and the selection strategy can also be clarified.
[0048] In some examples, the initial process deviation variables can be preliminarily screened into relevant variables and non-relevant variables through sensitivity analysis or sensitivity analysis of simulation waveforms. It should be noted that since each variable has a different degree of influence on circuit performance, the process of screening variables through sensitivity analysis can be carried out based on the sensitivity of circuit performance to the variables, which is not limited here.
[0049] Step S204: Randomly sample the relevant variable vector and the non-relevant variable vector, and form a first matrix with the data obtained by random sampling, and perform circuit simulation based on the first matrix and form a first data set with the circuit performance vector obtained by simulation.
[0050] After screening out relevant variables and non-relevant variables, these variables are randomly sampled to form sampled data, and the sampled data is used for circuit simulation to obtain corresponding simulation results. Among them, random sampling can improve the randomness of sampled data, thereby improving the randomness of circuit simulation data and better exposing circuit performance. In implementation, the frequency of random sampling can be preset as needed and is not specified here.
[0051] After completing the circuit simulation based on the preliminary screening data, the circuit performance data can be obtained, and then these circuit performance data can be used for cross-validation to further screen out the real key variables.
[0052] Step S206, performing cross validation based on the first data set, and screening out a key variable vector in the cross validation, wherein the key variable is a process deviation variable corresponding to a non-zero item in the cross-validated regression coefficient vector in the cross validation in the related variable vector;
[0053] In implementation, since the feature weights in cross-validation (such as regression coefficients) can reflect the weights of each variable in the validation, key variables can be screened based on the feature weights in cross-validation, and this is done based on non-zero items, because the contribution of zero items can be ignored, thus avoiding the need for more computing resources due to the involvement of a large number of zero items in processing.
[0054] In addition, cross-validation can be a traditional cross-validation method or a cross-validation method provided in subsequent examples of this application, because the purpose of cross-validation is to screen out the key variables that are truly related to circuit performance from the cross-validation, so that the subsequent optimization problem solving is based on a small number of key variables, avoiding excessive computing resource overhead, which can reduce computing costs and improve computing accuracy.
[0055] Step S208: Establish a quadratic programming model based on the key variable vector, and find the failure boundary through global optimization. The points on the failure boundary are used to characterize the process deviation points of the worst performance of the integrated circuit without failure.
[0056] After obtaining the key variables, these key variables can be used to model the quadratic programming target problem, so as to solve the optimization problem based on the quadratic programming problem. Since the quadratic programming problem can find the global optimal solution, the quadratic programming model can be modeled as the failure boundary problem of the integrated circuit, that is, the failure boundary solution constituted by the process deviation point with the worst performance of the integrated circuit without failure.
[0057] In summary, by preliminarily screening the process deviation variables related to circuit performance (i.e., relevant variables) from the initial high-dimensional process deviation variables, and obtaining relevant sampling data by random sampling using relevant variables and non-related variables, and obtaining circuit performance data after circuit simulation, these circuit performance data are then further used to carry out cross-validation to further screen the most important process deviation variables (i.e., key variables) from the initially screened relevant high-dimensional process deviation variables, and finally establishing a circuit performance model for these most important process deviation variables through a secondary model, thereby achieving the search for failure boundaries through global optimization within a large process deviation range.
[0058] Therefore, the present application can address the failure problem of circuits with high-dimensional process deviations by reducing the dimension of process deviation variables, thereby significantly reducing the demand for computing resources. After establishing the quadratic model, a global search for the failure boundary can be carried out to ensure calculation accuracy. Moreover, since quadratic planning is based on modeling and solving a small number of key variables, it also effectively improves the efficiency of solving high-dimensional problems.
[0059] In some implementations, to address the problem of small number of samples, the diversity of data can be increased by changing the variance of the sampled samples, wherein the larger the variance, the more diverse the sample data is, and the stronger the correlation is.
[0060] In random sampling, different sampling methods can be used for correlated variables and uncorrelated variables: for each variable in the correlated variable vector, random sampling is performed after increasing the variance at the mean position of its distribution, so as to increase the diversity of correlated variables and enhance the correlation of correlated variables, so that the influence of correlated variables on circuit performance is more significant in subsequent processing; and for each variable in the uncorrelated variable vector, random sampling is performed while still maintaining its original distribution and variance, that is, the correlation of uncorrelated variables is not improved, thereby reducing the correlation of uncorrelated variables in subsequent processing.
[0061] Therefore, by changing the variance of the correlated variables and then performing random sampling, while keeping the variance of the uncorrelated variables unchanged, it is beneficial to increase the influence of the correlated variables on the circuit performance and reduce the data computing resource overhead.
[0062] In some implementations, for each variable in the related variable vector, the variance can be increased to twice the mean position of its distribution before random sampling. Here, twice is used as a preferred example to facilitate subsequent data processing. Of course, it can also be increased by other integer multiples or fractional multiples.
[0063] In some implementations, the columns corresponding to the relevant variables in the circuit performance data can be selected to participate in the cross-validation, which can further reduce the resource overhead of the calculation. Specifically, before performing cross-validation based on the first data set, the columns corresponding to the relevant variables are first extracted from the first matrix, and these columns are used to form the second matrix X1 rel , and then the data of the second matrix is used for cross-validation calculations.
[0064] In some embodiments, after screening out the second matrix data as cross-validation data, the present application may also provide a new cross-validation scheme: combining the second matrix data with normalized data to perform cross-validation, thereby further reducing the computational difficulty and improving the computational accuracy.
[0065] In the implementation, in the cross-validation, the electrical performance vector obtained by circuit simulation is first y 1 According to the following formula, normalization is performed to obtain the normalized vector y 1 norm :
[0066]
[0067] in, i =1… N 1, N 1 is the number of random sampling; y 1,min Representation vector y The minimum value of 1, y 1,max Representation vector y The maximum value of 1;
[0068] Then, the orthogonal basis pursuit algorithm is used for cross validation. That is, based on the second matrix X1 rel With the normalized vector y 1 norm , the linear regression model of the circuit performance index is modeled by the cross-validated orthogonal basis pursuit algorithm as follows:
[0069]
[0070] in,, is the value of linear regression; is the transpose of the vector of related variables; coef is the regression coefficient vector; is the intercept;
[0071] Finally, based on modeling, the non-zero items in the coef vector are quickly screened out, and the process deviation variables corresponding to each of these non-zero items and located in the related variable vector are extracted to form a new vector, which is used as the key variable vector.
[0072] Therefore, by establishing a linear prescribed model in cross-validation, key variables that are more closely related to electrical performance can be obtained, with less computing resource overhead, low computing difficulty, and guaranteed computing efficiency and accuracy.
[0073] In some implementations, the cross-validated orthogonal basis pursuit algorithm may be an existing algorithm. The present application uses the LASSO algorithm for cross-validation to obtain key vectors.
[0074] In addition, the process of using the LASSO algorithm for cross-validation to obtain key vectors and perform secondary modeling can be as follows:
[0075] First, the linear model of the key variables is obtained according to the above example. The specific acquisition process can still refer to the previous example, which will not be expanded here.
[0076] Then, from the second matrix X1 of the previous example rel Extract the columns corresponding to the key variable vectors to form the third matrix X1 nz , then based on the third matrix X1 nz With the normalized vector y 1 norm The circuit performance is modeled by quadratic programming using the cross-validated LASSO algorithm. The resulting quadratic programming model is as follows:
[0077]
[0078] in, is the value of the quadratic programming; is the transpose of the vector composed of key variables; A, b, and c are the constant coefficients of the quadratic programming model, where A is a square matrix whose size is the same as the number of key variables, b is a vector whose length is the same as the number of key variables, and c is a scalar.
[0079] Therefore, the quadratic model constructed by the LASSO algorithm based on key variables is very helpful in solving the problem.
[0080] In some implementations, the quadratic programming problem can be solved using existing solution methods. The present application provides a solution for solving the minimum distance point to find the failure boundary.
[0081] The core goal of this application is to determine the point with the minimum dist on the failure boundary of circuit performance. Therefore, depending on the known conditions, there are usually two application scenarios. The optimization problems that need to be constructed in different application scenarios will be different:
[0082] In the first scenario, it is known that f spec The goal is to determine the value of f (x) f spec The minimum under the conditions dist The value of dist min ;
[0083] In the second scenario, the minimum known dist The value of dist min , the goal is to determine dist min The corresponding circuit performance failure boundary value .
[0084] Therefore, based on the above two failure boundary solution scenarios, a corresponding quadratic programming model can be constructed so that the quadratic programming model can be used to solve the failure boundary of the circuit performance in a globally optimal solution method.
[0085] The solution to the failure boundary may be to solve the point with the minimum distance dist on the failure boundary, that is, to perform a global search according to the minimum distance dist, so that all points with the minimum distance dist constitute the failure boundary.
[0086] In some implementations, the point with the minimum dist can be solved by using the binary norm.
[0087] For the first scenario, by solving the following quadratic optimization problem, we can determine the circuit performance failure boundary with the minimum distance dist points, so that all points are taken as the first optimal solution x nz,1 * The failure boundary is constituted by:
[0088]
[0089] in, f spec is a known value, and the quadratic optimization problem is to optimize the target to determine the optimal solution. f (x) f spec Minimum distance under conditions dist The problem of value selection.
[0090] For the second scenario, by solving the following quadratic optimization problem, we determine the circuit performance failure boundary with the minimum distance dist points, so that all points are taken as the first optimal solution x nz,1 * The failure boundary is constituted by:
[0091]
[0092] in, dist min The minimum known distance dist The value of the quadratic optimization problem is to determine the optimization goal dist min The corresponding circuit performance failure boundary value The problem of value selection.
[0093] In addition, after the solution is completed, the first optimal solution x is obtained nz,1 * , the optimal solution represents the point with the smallest process deviation among the failure points based on modeling. Since the solution of this optimization problem usually appears on the constraint boundary, it can also be regarded as the worst point when the circuit does not fail.
[0094] In some embodiments, although the first optimal solution x nz,1 * It can represent the point with the smallest process deviation among the failure points based on modeling, but local high-precision modeling can be performed near this point and then local search can be performed again to make the search results more accurate.
[0095] For the first scenario, after finding the first optimal solution x nz,1 * After that, in the first optimal solution x nz,1 * Perform local sparse linear regression modeling near the corresponding points, and construct a linear optimization problem based on sparse linear regression modeling:
[0096]
[0097] And, based on the modeling, the second optimal solution x of the linear optimization problem is solved nz,2 * , where the second best solution x nz,2 * It is the point with the minimum distance dist on the circuit performance failure boundary obtained by local search based on sparse linear regression modeling.
[0098] For the second scenario, after finding the first optimal solution x nz,1 * After that, in the first optimal solution x nz,1 * Perform local sparse linear regression modeling near the corresponding points, and construct a linear optimization problem based on sparse linear regression modeling:
[0099]
[0100] And, based on the modeling, the second optimal solution x of the linear optimization problem is solved nz,2 * , where the second best solution x nz,2 * It is the point with the minimum distance dist on the circuit performance failure boundary obtained by local search based on sparse linear regression modeling.
[0101] In some implementations, the optimization problems of the first scenario and the second scenario can be relaxed into semidefinite programming problems for solution, that is, they can be solved through board top planning.
[0102] In some implementations, after finding the first optimal solution x nz,1 * Or the second optimal solution x nz,2 * , for the key variable vector x nz Resample each variable in and build a local linear regression model after reducing the variance to find the final third optimal solution x nz,3 * , so that the third optimal solution x nz,3 * It is the process deviation point with the worst performance without circuit failure.
[0103] In other words, sampling and modeling are performed again near the worst case, and after obtaining sparse linear modeling, the quadratic programming solver is used to solve the problem and obtain a better optimal solution.
[0104] Therefore, by establishing quadratic models and linear models to perform multi-level failure boundary searches, the efficiency of solving high-dimensional problems can be effectively improved, computing resources and costs can be effectively reduced, and at the same time the accuracy of integrated circuit reliability assessment can be guaranteed, which strikes a good balance between computing cost and precision control.
[0105] Regarding the third optimal solution, in the first scenario, x nz,3 * is satisfied f (x)≥ fspec Under the conditions dist The optimal value for minimization, ||x nz,3 * ||2 is dist min ; In the second scenario, x nz,3 * is satisfied dist =||x||2≤ dist min Under the conditions f (x) maximizes the optimal value, f (x nz,3 * ) is dist min The corresponding circuit performance failure boundary value .
[0106] The following is an example to illustrate.
[0107] Assuming that the process variation in a given circuit can be M dimensional independent random variables Characterization. x m ( ) are independent of each other and have a standard normal distribution with a mean of 0 and a variance of 1.
[0108] Also, set the circuit performance index to f (x), and defined in f (x)> f spec The circuit is considered to be failed when dist =||x||2 is used as a reliability indicator. The larger the value, the more process deviations the circuit can withstand without failure during the production process, where ||·||2 represents the L2 norm of the vector.
[0109] Therefore, the core goal of this application is to determine the circuit performance failure boundary with the minimum dist The solution is completed by the point.
[0110] refer to Figure 3 Assume the two scenarios in the above example, the solution process of the optimization problem is as follows:
[0111] The first step is to preliminarily screen out the process deviation variables related to the specified circuit performance indicators through sensitivity analysis or sensitivity analysis of the simulation waveform. The dimensions are M 1. The vector composed of these variables is the related variable x rel , and the remaining variables are called irrelevant variables x irrel ;
[0112] The second step is to perform random sampling and simulation. rel For each variable in the distribution, increase the variance (for example, twice the original variance) at the mean position of its distribution, and perform N 1 random sampling. And for the irrelevant variable x irrel , according to its original distribution, N 1 random sampling, and finally get the matrix X1. Circuit simulation is performed on these sampling points to get the corresponding circuit performance vector y 1. Constructing the Dataset D 1.
[0113] The third step is based on D 1 Perform sparse linear modeling and for the relevant variables x rel Further screening is performed to extract variables that are more relevant to the target circuit performance. First, relevant variables x are extracted from matrix X1. rel The corresponding columns form the matrix X1 for linear modeling rel , then y 1 According to the following formula, normalize and get the vector y 1 norm :
[0114] (1)
[0115] in i =1… N 1, y 1,min Representation vector y The minimum value of 1, y 1,max Representation vector y Maximum value of 1. Based on X1 rel and y 1 norm The circuit performance indicators are modeled by the cross-validated orthogonal basis pursuit algorithm (OMP), and the linear model is as follows:
[0116] (2)
[0117] Filter out the non-zero items in the coef vector and associate them with the x rel The process deviation variables in the new vector x nz , whose length is M 2, called the key variable.
[0118] Step 4: Based on the key variable x nz To build a higher precision quadratic model, first start with the matrix X1 rel Extract x from nzThe corresponding columns form the matrix X1 nz , and then based on X1 nz and y 1 norm The circuit performance is modeled quadratically using the cross-validated LASSO algorithm, and the quadratic model is as follows:
[0119] (3)
[0120] It should be noted that the Lasso algorithm (least absolute shrinkage and selection operator, also known as the minimum absolute value convergence and selection operator, Lasso algorithm, etc.) is a regression analysis method that performs feature selection and regularization at the same time.
[0121] The fifth step is to use a high-precision quadratic model to find the minimum dist The following two optimization problems can be constructed according to different application scenarios:
[0122] In the first scenario, it is known that f spec By solving the optimization problem (4), we can determine the value of dist point.
[0123] (4)
[0124] In the second scenario, the minimum known dist The value of dist min By solving the optimization problem (5), we can determine the circuit performance failure boundary with the minimum dist point.
[0125] (5)
[0126] Both optimization problems (4) and (5) can be relaxed into semidefinite programming problems for solution. After the solution is completed, the optimal solution x nz,1 * , the optimal solution represents the point with the smallest process deviation among the failure points based on modeling. Since the solution of this optimization problem usually appears on the constraint boundary, it can also be regarded as the worst point when the circuit does not fail.
[0127] Step 6: Based on the search results of the failure boundary x nz,1 * , local high-precision modeling is performed near this point. nz Each variable in x nz,1* The corresponding value in is the mean, keeping the original variance unchanged, and N For all other non-critical process deviation variables, according to their original distribution, N After 2 random samplings, we finally get the matrix X2 and repeat the third step. That is, we sample and model again near the worst case. After obtaining the sparse linear model, we can construct the following two optimization problems according to different application scenarios:
[0128] In the first scenario, the question constructed is:
[0129] (6)
[0130] In the second scenario, the constructed question is:
[0131] (7)
[0132] The above two optimization problems can be solved by the quadratic programming solver and the optimal solution x can be obtained. nz,2 * The optimal solution is the minimum dist point.
[0133] Step 7: Based on the search results of the failure boundary x nz,2 * Repeat the operation of step 6 and repeat the local high-precision modeling near x. nz When sampling each variable in , the variance is reduced to 0.5 times of the original variance to establish a more accurate local model, and finally obtain the solution x of problem (6) nz,3 * , the solution is the process deviation point with the worst performance without circuit failure.
[0134] Based on the same inventive concept, the present application also provides an integrated circuit failure boundary processing device corresponding to the aforementioned method embodiment.
[0135] like Figure 4 As shown, an integrated circuit failure boundary processing device 100 may include:
[0136] Preliminary screening module 101: Preliminary screening of initial process deviation variables into relevant variable vectors and irrelevant variable vectors, wherein relevant variables are process deviation variables relevant to the specified circuit performance index, and irrelevant variables are other process deviation variables except relevant variables;
[0137] Random sampling module 103: performing random sampling on the relevant variable vector and the non-relevant variable vector, and forming a first matrix with the data obtained by random sampling, and performing circuit simulation based on the first matrix and forming a first data set with the circuit performance vector obtained by simulation;
[0138] Cross-validation module 105: performing cross-validation based on the first data set, and screening out a key variable vector in the cross-validation, wherein the key variable is a process deviation variable corresponding to a non-zero item in a cross-validated regression coefficient vector in the cross-validation in the related variable vector;
[0139] Quadratic programming solving module 107: establishes a quadratic programming model based on the key variable vector, and finds the failure boundary through global optimization, wherein the points on the failure boundary are used to characterize the process deviation points of the worst performance of the integrated circuit without failure.
[0140] It should be noted that the unit modules of the integrated circuit failure boundary processing device can be configured accordingly according to the aforementioned method embodiment, which will not be described in detail here.
[0141] Based on the same inventive concept, the present application also provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute: the integrated circuit failure boundary processing method as described in any one of the embodiments in the present application.
[0142] like Figure 5 As shown, the present application also provides a schematic diagram of the structure of an electronic device, which shows the structure of the electronic device 500. The electronic device 500 is merely an example and should not limit the functions and scope of use of the embodiments of the present invention.
[0143] In the electronic device 500, it may include: at least one processor 510; and a memory 520 communicatively connected to the at least one processor; wherein the memory storage 520 has instructions executable by the at least one processor 510, and the instructions are executed by the at least one processor 510 so that the at least one processor 510 can execute: the integrated circuit failure boundary processing method described in any embodiment of the present application.
[0144] It should be noted that the electronic device 500 may be in the form of a general-purpose computing device, for example, it may be a server device.
[0145] In implementation, the components of the electronic device 500 may include but are not limited to: the above-mentioned at least one processor 510, the above-mentioned at least one memory 520, and a bus 530 connecting different system components (including the memory 520 and the processor 510), wherein the bus 530 may include a data bus, an address bus, and a control bus.
[0146] In implementation, the memory 520 may include a volatile memory, such as a random access memory (RAM) 5201 and / or a cache memory 5202 , and may further include a read-only memory (ROM) 5203 .
[0147] The memory 520 may also include a program tool 5205 having a set (at least one) of program modules 5204, such program modules 5204 including but not limited to: an operating system, one or more application programs, other program modules and program data, each of which or some combination may include the implementation of a network environment.
[0148] The processor 510 executes various functional applications and data processing by running computer programs stored in the memory 520 .
[0149] The electronic device 500 may also communicate with one or more external devices 540 (e.g., keyboards, pointing devices, etc.). Such communication may be performed via an input / output (I / O) interface 550. In addition, the electronic device 500 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 560, which communicates with other modules in the electronic device 500 via a bus 530. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 500, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems, etc.
[0150] It should be noted that although several units / modules or sub-units / modules of the electronic device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more units / modules described above can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided into multiple units / modules to be embodied.
[0151] Based on the same inventive concept, the present application also provides a computer storage medium, which stores computer executable instructions. When the computer executable instructions are executed by a processor, they execute: the integrated circuit failure boundary processing method as described in any embodiment of the present application.
[0152] It should be noted that the computer storage medium may include but is not limited to: a portable disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical storage device, a magnetic storage device or any suitable combination thereof.
[0153] In a possible implementation, the present invention may also provide a form of a program product that implements data processing, which includes program code. When the program product runs on a terminal device, the program code is used to enable the terminal device to execute several steps of the method described in any of the aforementioned embodiments.
[0154] The program code for executing the present invention may be written in any combination of one or more programming languages, and may be executed entirely on a user device, partially on a user device, as an independent software package, partially on a user device and partially on a remote device, or entirely on a remote device.
[0155] In this specification, the same or similar parts between the various embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the embodiments described later, the description is relatively simple, and the relevant parts can be referred to the partial description of the previous embodiments.
[0156] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A method for processing an integrated circuit failure boundary, characterized in that: include: Preliminarily screening the initial process deviation variables into relevant variable vectors and irrelevant variable vectors, wherein relevant variables are process deviation variables related to the specified circuit performance index, and irrelevant variables are other process deviation variables except relevant variables; Random sampling is performed on the relevant variable vector and the non-relevant variable vector, and the data obtained by random sampling constitute a first matrix, and circuit simulation is performed based on the first matrix and the circuit performance vector obtained by simulation constitutes a first data set; Performing cross validation based on the first data set, and screening out a key variable vector in the cross validation, wherein the key variable is a process deviation variable corresponding to a non-zero item in a cross-validated regression coefficient vector in the cross validation in the related variable vector; A quadratic programming model is established based on the key variable vector, and a failure boundary is found through global optimization, wherein the points on the failure boundary are used to characterize the process deviation points of the worst performance of the integrated circuit without failure.
2. The integrated circuit failure boundary processing method according to claim 1, characterized in that: In random sampling, for each variable in the correlated variable vector, random sampling is performed after increasing the variance at the mean position of its distribution; for each variable in the uncorrelated variable vector, random sampling is performed according to its original distribution.
3. The integrated circuit failure boundary processing method according to claim 2, characterized in that: For each variable in the related variable vector, random sampling is performed after the variance is increased to twice at the mean position of its distribution.
4. The integrated circuit failure boundary processing method according to claim 1, characterized in that: Before performing cross validation based on the first data set, the columns corresponding to the relevant variables are extracted from the first matrix to form a second matrix X1 rel , use the second matrix for cross validation.
5. The integrated circuit failure boundary processing method according to claim 4, characterized in that: In cross validation, the electrical performance vector y 1 According to the following formula, normalization is performed and the normalized vector is obtained y 1 norm : in, i =1… N 1, N 1 is the number of random sampling; y 1,min Representation vector y The minimum value of 1, y 1,max Representation vector y The maximum value of 1; And, based on the second matrix X1 rel With the normalized vector y 1 norm , the linear regression model of the circuit performance index is modeled by the cross-validated orthogonal basis pursuit algorithm as follows: in, is the value of linear regression; is the transpose of the vector of related variables; coef is the regression coefficient vector; is the intercept; Then, the non-zero items in the coef vector are screened out, and the process deviation variables in the related variable vector corresponding to the non-zero items are combined into the key variable vector.
6. The integrated circuit failure boundary processing method according to claim 5, characterized in that: Cross-validated orthogonal basis pursuit algorithms include the LASSO algorithm; A quadratic programming model is established based on the key variable vector, including: From the second matrix X1 rel Extract the columns corresponding to the key variable vectors to form the third matrix X1 nz , then based on the third matrix X1 nz With the normalized vector y 1 norm The circuit performance is modeled by quadratic programming using the cross-validated LASSO algorithm, and the quadratic programming model is as follows: in, is the value of the quadratic programming; is the transpose of the vector composed of key variables; A, b, and c are the constant coefficients of the quadratic programming model, where A is a square matrix whose size is the same as the number of key variables, b is a vector whose length is the same as the number of key variables, and c is a scalar.
7. The integrated circuit failure boundary processing method according to claim 6, characterized in that: According to the quadratic programming model obtained by modeling, the circuit performance failure boundary has the minimum distance dist A global search is performed on the points and the failure boundary is found through global optimization.
8. The integrated circuit failure boundary processing method according to claim 7, characterized in that: By solving the following quadratic optimization problem, we determine the circuit performance failure boundary with the minimum distance dist points, so that all points are taken as the first optimal solution x nz,1 * The failure boundary is constituted by: in, f spec is a known value, and the quadratic optimization problem is to optimize the target to determine the optimal solution. f spec Minimum distance under conditions dist The problem of value selection.
9. The integrated circuit failure boundary processing method according to claim 8, characterized in that: After finding the first optimal solution x nz,1 * After that, in the first optimal solution x nz,1 * Perform local sparse linear regression modeling near the corresponding points, and construct a linear optimization problem based on sparse linear regression modeling: And, based on the modeling, the second optimal solution x of the linear optimization problem is solved nz,2 * , where the second best solution x nz,2 * It is the point with the minimum distance dist on the circuit performance failure boundary obtained by local search based on sparse linear regression modeling.
10. The integrated circuit failure boundary processing method according to claim 7, characterized in that: By solving the following quadratic optimization problem, we determine the circuit performance failure boundary with the minimum distance dist points, so that all points are taken as the first optimal solution x nz,1 * The failure boundary is constituted by: in, dist min The minimum known distance dist The value of the quadratic optimization problem is to determine the optimization goal dist min The corresponding circuit performance failure boundary value The problem of value selection.
11. The integrated circuit failure boundary processing method according to claim 10, characterized in that: After finding the first optimal solution x nz,1 * After that, in the first optimal solution x nz,1 * Perform local sparse linear regression modeling near the corresponding points, and construct a linear optimization problem based on sparse linear regression modeling: And, based on the modeling, the second optimal solution x of the linear optimization problem is solved nz,2 * , where the second best solution x nz,2 * It is the point with the minimum distance dist on the circuit performance failure boundary obtained by local search based on sparse linear regression modeling.
12. The integrated circuit failure boundary processing method according to claim 9 or 11, characterized in that: The solution to the quadratic optimization problem is to relax it into a semidefinite programming problem for solution; And / or, after finding the first optimal solution x nz,1 * Or the second optimal solution x nz,2 * , for the key variable vector x nz When sampling each variable in , a local linear regression model is established after reducing the variance, and the final third optimal solution x is found. nz,3 * , so as to convert the third optimal solution x nz,3 * It is the process deviation point with the worst performance without circuit failure.
13. The integrated circuit failure boundary processing method according to claim 1, characterized in that: Through sensitivity analysis or sensitivity analysis of simulation waveforms, the initial process deviation variables are preliminarily screened into relevant variables and non-relevant variables.
14. An integrated circuit failure boundary processing device, characterized in that: include: Preliminary screening module: preliminarily screens the initial process deviation variables into relevant variable vectors and non-relevant variable vectors, where relevant variables are process deviation variables related to the specified circuit performance index, and non-relevant variables are other process deviation variables except relevant variables; Random sampling module: performing random sampling on the relevant variable vector and the non-relevant variable vector, and forming a first matrix with the data obtained by random sampling, and performing circuit simulation based on the first matrix and forming a first data set with the circuit performance vector obtained by simulation; A cross-validation module: performing cross-validation based on the first data set, and screening out a key variable vector in the cross-validation, wherein the key variable is a process deviation variable corresponding to a non-zero item in a cross-validated regression coefficient vector in the cross-validation in the related variable vector; Quadratic programming solution module: establishes a quadratic programming model based on the key variable vector, and finds the failure boundary through global optimization, wherein the points on the failure boundary are used to characterize the process deviation points of the worst performance of the integrated circuit without failure.
15. An electronic device, characterized in that: include: at least one processor; And, a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute: the integrated circuit failure boundary processing method as described in any one of claims 1-13.
16. A computer storage medium, characterized in that: The computer storage medium stores computer executable instructions, and when the computer executable instructions are executed by the processor, the integrated circuit failure boundary processing method according to any one of claims 1 to 13 is performed.
