Integrated circuit yield analysis method and device, electronic equipment and readable storage medium
By generating samples in the integrated circuit parameter space and training the sorting model, sorting them from worst to best in terms of performance, and using SPICE simulation to quickly find failed samples, it solves the problems of high computing resource consumption and low analysis accuracy in the existing technology, and improves integration Efficiency and accuracy of circuit yield analysis.
Patent Information
- Application Number
- CN202411223124.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-02
- Publication Date
- 2024-10-11
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing integrated circuit yield analysis methods consume huge amounts of computing resources at high integration levels and have low simulation efficiency. Reducing the number of samples will reduce the accuracy of analysis, resulting in poor results.
By generating samples from the integrated circuit parameter space, randomly selecting initial samples for SPICE simulation, and training the sorting model to sort samples from poor to optimal performance, quickly find failed samples, improve simulation efficiency and ensure analysis accuracy.
The accuracy and efficiency of integrated circuit yield analysis are improved. No samples are rejected based on all samples, failed samples are quickly found, and the amount of calculation is reduced.
Smart Images

Figure CN118761367A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of data processing technology, and in particular to an integrated circuit yield analysis method, device, electronic device, and readable storage medium. Background Art
[0002] With the continuous advancement of integrated circuit manufacturing technology, chip size is getting smaller and smaller, and the circuit structure of the chip is becoming more and more complex. For example, the chip size has entered the nanometer level. At the nanometer scale, slight fluctuations in process parameters will have a significant impact on the electrical performance of components, and may even cause device failure. Therefore, yield analysis of integrated circuits is very important.
[0003] At present, the yield analysis of integrated circuits mainly relies on the Monte Carlo (MC) analysis method. The Monte Carlo analysis method randomly samples in the parameter space, uses circuit simulation tools such as the Simulation Program with Integrated Circuit Emphasis (SPICE) to simulate the circuit performance of the samples, and then judges whether the performance meets the circuit specification definition requirements based on the simulation results, finds all the failed samples, and calculates the proportion of failed samples to all samples, thereby calculating the circuit yield.
[0004] However, with the increase in chip integration, the Monte Carlo analysis method requires a large number of samples, resulting in an exponential increase in the number of simulations, huge consumption of computing resources, and reduced simulation efficiency. Reducing the number of samples will reduce the accuracy of integrated circuit yield analysis, resulting in poor results in circuit yield analysis. Summary of the invention
[0005] In view of this, the embodiments of the present application provide an integrated circuit yield analysis method, device, electronic device and readable storage medium, which ensure the accuracy of integrated circuit yield simulation analysis and improve the efficiency of integrated circuit yield simulation.
[0006] According to a first aspect of an embodiment of the present application, a method for analyzing an integrated circuit yield is provided, comprising: generating a first number of samples from a parameter space of an integrated circuit; randomly selecting a second number of initial samples from the first number of samples, simulating the initial samples using a simulation circuit simulator SPICE to obtain simulation output data of the initial samples; performing model training based on the simulation output data obtained using the simulation circuit simulator SPICE to obtain a sorting model; wherein the input of the sorting model includes a plurality of samples, and the output of the sorting model is to sort the input plurality of samples from poor to excellent in performance according to the principle of giving priority to the worst performance samples; the simulation output data obtained using the simulation circuit simulator SPICE includes the initial sample and simulation output data of the initial sample; sorting the remaining samples using the sorting model to obtain the sorted remaining samples; wherein the remaining samples include samples of the first number of samples except the initial sample; selecting the first samples of the third number that are in the order first from the sorted remaining samples, simulating the first samples using the simulation circuit simulator SPICE to obtain the simulation output data of the first samples; performing failure judgment according to the simulation output data of the first samples to obtain the simulation value of the yield of the integrated circuit; if it is determined according to the simulation value of the yield of the integrated circuit that the yield analysis stop condition is not met, returning to the step of selecting the first sample until the yield analysis stop condition is met.
[0007] According to a second aspect of an embodiment of the present application, an integrated circuit yield analysis device is provided, comprising: a sample generation module, for generating a first number of samples from a parameter space of an integrated circuit; a simulation module, for randomly selecting a second number of initial samples from the first number of samples, and simulating the initial samples using a simulation circuit simulator SPICE to obtain simulation output data of the initial samples; a model processing module, for performing model training based on the simulation output data obtained using the simulation circuit simulator SPICE to obtain a ranking model; wherein the input of the ranking model includes a plurality of samples, and the output of the ranking model is to sort the input plurality of samples from poor to excellent performance according to the principle of giving priority to the worst performance of the samples; the simulation output data obtained using the simulation circuit simulator SPICE includes the initial samples The simulation output data of this and the initial samples; the model processing module is also used to use the sorting model to sort the remaining samples to obtain the sorted remaining samples; wherein the remaining samples include samples of the first number of samples except the initial samples; the simulation module is also used to select the first samples of the third number with the first sequence from the sorted remaining samples, and use the simulation circuit simulator SPICE to simulate the first samples to obtain the simulation output data of the first samples; the yield analysis module is used to perform failure judgment according to the simulation output data of the first samples to obtain the simulation value of the yield of the integrated circuit. If it is determined that the yield analysis stop condition is not met according to the simulation value of the integrated circuit yield, then return to the step of selecting the first sample until the yield analysis stop condition is met.
[0008] According to a third aspect of an embodiment of the present application, a computer storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the method described in the first aspect is implemented.
[0009] According to the fourth aspect of an embodiment of the present application, there is provided an electronic device, including a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other through the communication bus; the memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform an operation corresponding to the method described in the first aspect.
[0010] The integrated circuit yield analysis method provided in the embodiment of the present application generates a first number of samples from the parameter space of the integrated circuit. The first number can be large enough, and the present application does not limit the number of samples. A second number of initial samples are randomly selected from the first number of samples, and the simulation output data of the initial samples are obtained by using SPICE. The initial samples and the corresponding simulation output data are used as training data to train a sorting model. The input of the sorting model includes multiple samples, and the output of the sorting model is to sort the input multiple samples from poor to excellent performance according to the principle of the worst sample performance first. The sorting model is used to sort the remaining samples to obtain the sorted remaining samples. The first samples of the third number with the first order are selected from the sorted remaining samples, and the first samples are simulated by using SPICE to obtain the simulation output data of the first sample. Failure judgment is performed according to the simulation output data of the first sample to obtain the simulation value of the integrated circuit yield. If it is determined that the yield analysis stop condition is not met according to the simulation value of the integrated circuit yield, the step of selecting the first sample is returned to execute until the yield analysis stop condition is met. Since SPICE simulation can obtain accurate simulation output data, the sorting model is trained based on the accurate simulation output data of a part of the samples, which improves the accuracy of the sorting model. By using a sorting model to sort samples from worst to best according to performance, a part of samples with the worst performance is obtained based on this order, and accurate simulation output data of the samples with the worst performance is obtained through SPICE simulation, so that failed samples can be found quickly, thereby improving the simulation efficiency of integrated circuit yield analysis. In addition, the integrated circuit yield analysis method of the present application is based on all the first number of samples, does not reject any samples, and also ensures the accuracy of the integrated circuit yield analysis. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the embodiments of the present application. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0012] Figure 1 A flowchart of a method for analyzing yield of an integrated circuit according to an embodiment of the present application; Figure 2 is another step flow chart of the integrated circuit yield analysis method according to an embodiment of the present application; Figure 3 is a structural block diagram of an integrated circuit yield analysis device according to an embodiment of the present application; Figure 4 A schematic diagram of the structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0013] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the embodiments of the present application should fall within the scope of protection of the embodiments of the present application.
[0014] In order to facilitate the understanding of this application, the relevant concepts are first explained.
[0015] 1. Circuit yield, Sigma Circuit yield analysis is one of the important means to evaluate the quality of circuit design. It measures the success rate and reliability of circuit design by analyzing the ratio of the number of designed circuits that pass a given standard to the total number. Yield analysis is of great significance for improving the quality of circuit products and reducing costs.
[0016] In circuit yield analysis, Sigma (σ) is used to characterize the circuit yield requirements. Generally, the higher the Sigma level, the higher the circuit requirements.
[0017] High Sigma refers to events with extremely low failure probability, which are common in a large number of repeated unit circuits. For example, static random-access memory (SRAM). The storage array of SRAM is composed of millions to hundreds of millions of repeated storage circuit units. The failure of any unit may cause the failure of the entire chip, so the yield requirement is extremely high. For example, it can reach the 6 Sigma level, corresponding to a failure probability of 5 in a billion.
[0018] 2. Monte Carlo (MC) analysis method, Simulation Program with Integrated Circuit Emphasis (SPICE) simulation The Monte Carlo analysis method is a random simulation numerical calculation method. Its theoretical basis is the law of large numbers. Through multiple simulations of independent random events, the frequency of occurrence of random events is used to estimate the probability. This method first extracts the probability model of the input process parameters and performs random sampling based on the device parameter distribution in the circuit netlist and the process file (PDK) of the corresponding process node. Then, a transistor-level SPICE simulation is performed on each sample point. Then, based on the simulation results, the probability distribution of the output performance value of the circuit is calculated, and the failure threshold is determined by referring to the design specification requirements. Then, the effective interval is numerically integrated to estimate the failure probability. Obviously, the more samples are sampled, the closer the probability distribution is to the true value.
[0019] In circuit yield analysis, the Monte Carlo analysis method calculates the circuit yield by randomly sampling in the parameter space and using circuit simulation tools such as SPICE to simulate the circuit performance of the sample points.
[0020] However, with the continuous advancement of integrated circuit manufacturing technology, chip size is getting smaller and smaller, and the circuit structure of the chip is becoming more and more complex. The number of simulations required based on the Monte Carlo analysis method is growing exponentially, resulting in huge consumption of computing resources and low efficiency.
[0021] In the related art, in order to solve the problem of large amount of calculation of the Monte Carlo analysis method, a method based on a substitution model and a method based on a classifier are proposed.
[0022] In the surrogate model-based method, a small number of integrated circuit samples are processed by SPICE to obtain a small number of SPICE simulation samples. Based on the small number of SPICE simulation samples, an approximate model of the circuit is trained and fitted, which is called a surrogate model. In circuit yield analysis, the surrogate model is used instead of SPICE simulation to process the integrated circuit samples. Compared with the time consumed by SPICE simulation, the use of surrogate models can shorten the time and achieve the effect of improving circuit yield analysis. However, since the accuracy of the surrogate model depends on the scale of training data, the accuracy of circuit yield analysis is poor.
[0023] In the classifier-based method, a classifier is trained to first filter the integrated circuit samples to obtain samples that will definitely not fail and samples that will definitely fail. SPICE simulation is only performed on sample points that may fail to reduce the number of samples that need to be simulated, thereby accelerating the yield analysis process. This method does not utilize all integrated circuit samples, or rejects a large amount of sample data. Moreover, classifying samples through a trained classifier also depends on the accuracy of the classifier. Therefore, it also leads to poor accuracy in circuit yield analysis.
[0024] In view of the above problems, the present application provides an integrated circuit yield analysis method, which does not limit the number of samples, has enough samples and does not reject any samples, obtains a sorting model based on the real data of SPICE simulation training, sorts the samples from poor to good according to the sorting model, and processes the samples based on the order using SPICE simulation to obtain real data. Since the samples with poor performance are processed by SPICE first according to the sorting from poor to good performance, the failed samples can be found quickly, the amount of calculation is reduced, the accuracy of the integrated circuit yield analysis is guaranteed, and the simulation efficiency of the integrated circuit yield analysis is improved.
[0025] The technical solution of the present application is described in detail below with reference to the accompanying drawings.
[0026] Figure 1 FIG. 1 is a flow chart of steps of an integrated circuit yield analysis method according to an embodiment of the present application. Figure 1 As shown, the integrated circuit yield analysis method of this embodiment includes: S101. Generate a first number of samples from a parameter space of an integrated circuit.
[0027] A first number of samples may be generated from a parameter space of the integrated circuit according to the integrated circuit yield requirement, specifically including: Obtain yield requirements for integrated circuits; Determining a first quantity according to a yield requirement; A sample data set is generated from a parameter space of the integrated circuit, wherein the sample data set includes a first number of samples.
[0028] For example, the yield requirement is 6 Sigma or 3 Sigma. It can be understood that the higher the yield requirement, the larger the corresponding first number.
[0029] The parameter space of the integrated circuit includes the parameter value range of the components in the integrated circuit. For example, the integrated circuit includes a metal-oxide-semiconductor field-effect transistor (MOSFET), and the parameters of the MOSFET include: V th (threshold voltage), W (gate width), L (gate length) and t ox (Oxide thickness), different parameters have corresponding parameter value ranges. By randomly selecting parameter values within different parameter value ranges, a combination of different parameter values can be formed, that is, a sample of MOSFET is generated. According to the value ranges corresponding to different parameters of components in the integrated circuit, a first number of samples can be generated.
[0030] S102: Randomly select a second number of initial samples from the first number of samples, simulate the initial samples using SPICE, and obtain simulation output data of the initial samples.
[0031] Specifically, sampling is performed according to the random model of the device parameter distribution in the process file (PDK) of the corresponding process node, which can ensure that the second number of initial samples obtained randomly conform to the actual situation of the integrated circuit process. SPICE is used to simulate the initial samples to obtain simulation output data of the initial samples. The simulation output data is real data, and the data is subsequently used to train the sorting model, thereby improving the accuracy of the sorting model.
[0032] S103, training a model based on the simulation output data obtained by SPICE to obtain a ranking model, wherein the input of the ranking model includes multiple samples, and the output of the ranking model is to rank the input multiple samples from poor to good performance according to the principle of giving priority to the worst performance samples.
[0033] In this step, the simulation output data obtained by using SPICE includes the initial sample and the simulation output data of the initial sample.
[0034] The performance indicators of the sample are defined based on the user's required specifications. For example, for an amplifier circuit, its performance indicator can be the amplification factor of the output voltage or the delay time of the output signal.
[0035] S104: Use the sorting model to sort the remaining samples to obtain sorted remaining samples, wherein the remaining samples include samples other than the initial samples in the first number of samples.
[0036] Since the initial sample has obtained the real simulation output data through SPICE simulation, it can be determined whether the initial sample is a failed sample. Therefore, the samples other than the initial sample in the first number of samples are sorted through the sorting model, and the remaining samples are sorted from poor to good according to performance. There is no need to use transistor-level SPICE simulation to directly search the entire sample space, which reduces the computational workload.
[0037] S105 , selecting a third number of first samples that are in the first order from the sorted remaining samples, and simulating the first samples using SPICE to obtain simulation output data of the first samples.
[0038] For example. Assume that the first number is 10,000, the second number is 1,000, and the third number is 200. That is, the total number of samples of the constructed integrated circuit is 10,000, 1,000 initial samples are selected for SPICE simulation, and the sorting model is trained using the SPICE simulation data of the 1,000 initial samples. The remaining 10,000-1,000=9,000 samples that have not been SPICE simulated are sorted by the sorting model. The first 200 samples in the order of the 9,000 remaining samples after sorting are selected as the first samples, and the 200 first samples are simulated using SPICE to obtain the simulation output data of the 200 first samples.
[0039] Since the output of the sorting model is to sort the input multiple samples from worst to best according to the principle of giving priority to the worst performance samples, the 200 first samples selected have the worst performance among the 9000 remaining samples, and the earlier the ranking, the worse the performance. It can be understood that the worse the sample performance, the greater the probability of being judged as a failed sample. Therefore, the sorting based on the sorting model can quickly find failed samples, improving the simulation efficiency of integrated circuit yield analysis.
[0040] It should be noted that this embodiment does not limit the values of the first number, the second number, and the third number.
[0041] S106: Perform failure judgment according to the simulation output data of the first sample to obtain a simulation value of the yield of the integrated circuit.
[0042] Among them, the simulation value of integrated circuit yield = the number of failed samples / the total number of samples.
[0043] S107 , judging whether a yield analysis stop condition is met according to the simulation value of the integrated circuit yield.
[0044] If satisfied, the integrated circuit yield analysis simulation ends.
[0045] If not satisfied, return to execute S105 and continue to select the first sample until the yield analysis stop condition is met. Exemplarily, the example in S105 is used for illustration. If the simulation value of the yield of the integrated circuit does not meet the yield analysis stop condition, since 1000 initial samples and 200 first samples have been SPICE simulated among the 10,000 samples, the remaining samples are updated. Specifically, the remaining samples include samples in the first number of samples except the initial samples and the selected first samples, that is, 10,000 samples-1000 initial samples-200 first samples=8800 samples. According to the order of the samples output by the sorting model, the first 200 samples in the order of priority are selected from the 8,800 remaining samples as the first samples. The 200 first samples selected this time are actually the samples after the 200 first samples selected for the first time. Or it can be understood as follows: after selecting 200 first samples for the first time, if the simulation value of the yield of the integrated circuit does not meet the yield analysis stop condition, then return to S105, and continue to select 200 first samples after the first selected 200 first samples according to the order of the samples output by the ordering model, and perform iterative operations. Use SPICE to simulate the 200 first samples selected this time to obtain simulation output data of the 200 first samples selected this time.
[0046] Optionally, the yield analysis stop condition includes at least one of the following: Condition 1: The simulation value of the integrated circuit yield exceeds the yield requirement of the integrated circuit.
[0047] Condition 2: The confidence interval of the simulation value of the integrated circuit yield under the preset confidence level meets the preset requirements.
[0048] Condition three: after the current iteration is completed, the simulation value of the integrated circuit yield meets the yield requirement of the integrated circuit and the number of iterations reaches the preset number.
[0049] Specifically, condition one indicates that the number of failed samples in the samples of the integrated circuit determined by SPICE simulation is too large, which exceeds the yield requirement of the integrated circuit, and the circuit quality is poor and does not meet the yield requirement, so the simulation can be terminated.
[0050] In condition 2, confidence is also called confidence level, which represents the degree of trust in a certain result. The larger the confidence value, the more trustworthy the result. For example, if the confidence value is 95% or 90%, then compared with 90% confidence that a certain result is accurate, 95% confidence that a certain result is accurate is more trustworthy. The confidence interval is a range used to indicate the possible interval of the estimated result. For example, the simulation value of the integrated circuit yield is 99.97%, but this number is not absolutely accurate and may have a certain error. If there is a 95% confidence interval of 99.95% to 99.99%, it means that if the integrated circuit yield simulation is repeated many times, in 95% of the cases, the simulation value of the integrated circuit yield will fall within the range of 99.95%~99.99%. Here, 95% is the confidence value, and 99.95%~99.99% is the confidence interval. Under the preset confidence, the confidence interval of the simulation value of the integrated circuit yield meets the preset requirements, indicating that the circuit quality is good and meets the yield requirements, and the simulation can be ended. It should be noted that this embodiment does not limit the values of the preset confidence level and confidence interval, for example, they are determined by using Wilson's score interval.
[0051] In condition three, after the current iteration is completed, the sample performance output by the sorting model is sorted from poor to excellent, and the simulation value of the integrated circuit yield determined by the failed sample determined by SPICE simulation (for example, 99.997%) meets the yield requirement of the integrated circuit (for example, 99.995%). Although failed samples may be determined in subsequent iterations, the number of iterations has reached the preset number, and the simulation can be terminated, and it is considered that the circuit quality is good and meets the yield requirement. Among them, this embodiment does not limit the value of the preset number. Among them, the preset number can be determined according to the yield requirement of the integrated circuit, or the preset number is set by the user.
[0052] It can be seen that the integrated circuit yield analysis method provided in this embodiment generates a first number of samples from the parameter space of the integrated circuit, and the first number can be large enough. The application does not limit the number of samples. A second number of initial samples are randomly selected from the first number of samples, and the simulation output data of the initial samples are obtained by SPICE. The initial samples and the corresponding simulation output data are used as training data to train a sorting model. The input of the sorting model includes multiple samples, and the output of the sorting model is to sort the input multiple samples from poor to excellent performance according to the principle of the worst sample performance first. The sorting model is used to sort the remaining samples to obtain the sorted remaining samples. The first samples of the third number with the first order are selected from the sorted remaining samples, and the first samples are simulated by SPICE to obtain the simulation output data of the first samples. Failure judgment is performed according to the simulation output data of the first sample to obtain the simulation value of the integrated circuit yield. If it is determined that the yield analysis stop condition is not met according to the simulation value of the integrated circuit yield, the step of selecting the first sample is returned to execute until the yield analysis stop condition is met. Since SPICE simulation can obtain accurate simulation output data, the sorting model is trained based on the accurate simulation output data of a part of the samples, which improves the accuracy of the sorting model. By using a sorting model to sort samples from worst to best according to performance, a part of samples with the worst performance is obtained based on this order, and accurate simulation output data of the samples with the worst performance is obtained through SPICE simulation, so that failed samples can be found quickly, thereby improving the simulation efficiency of integrated circuit yield analysis. In addition, the integrated circuit yield analysis method of the present application is based on all the first number of samples, does not reject any samples, and also ensures the accuracy of the integrated circuit yield analysis.
[0053] Optional, such as Figure 2 As shown, the integrated circuit yield analysis method provided in this embodiment may also include: S108. According to the second number of initial samples and the simulation output data of the initial samples, use a normal distribution test method to obtain system linear and nonlinear classifications.
[0054] Correspondingly, in S103, model training is performed according to the simulation output data obtained by using SPICE to obtain a sorting model, including: S1031. If the system is a linear system, a linear regression model is trained according to simulation output data obtained by using SPICE to obtain a sorting model; S1032: If the system is a nonlinear system, a nonlinear regression model is trained according to simulation output data obtained by using SPICE to obtain a sorting model.
[0055] In this implementation, the type of corresponding sorting model is selected according to whether the system is a linear system or a nonlinear system. Specifically, if the system is a linear system, the sorting model is obtained by training based on the linear regression model; if the system is a nonlinear system, the sorting model is obtained by training based on the nonlinear regression model, thereby further improving the accuracy of sorting model training and thus improving the accuracy of integrated circuit yield analysis.
[0056] It should be noted that the training data for training the sorting model includes the simulation output data obtained by SPICE. In the process of executing the integrated circuit yield analysis method provided in this embodiment, the simulation output data obtained by SPICE may be different. Specifically, in S103, the simulation output data obtained by SPICE includes the initial sample and the simulation output data of the initial sample. As the number of iterations increases, more and more samples are processed by SPICE. In the scenario where the sorting model needs to be updated and trained, the simulation output data obtained by SPICE includes not only the initial sample and the simulation output data of the initial sample, but also the simulation output data of the first sample obtained by SPICE. For details, see the description of S109 and S110.
[0057] Optional, such as Figure 2 As shown, in S107, when it is determined that the simulation value of the yield of the integrated circuit does not meet the yield analysis stop condition, the step of returning to select the first sample includes: S109, calculating the sorting consistency error.
[0058] Specifically, according to the simulation output data respectively corresponding to the third number of first samples, the third number of first samples are sorted from poor to excellent in terms of performance to obtain a benchmark sorting result; A sorting consistency error is obtained according to an arrangement order of the third number of first samples in the sorted remaining samples and a benchmark sorting result.
[0059] Optionally, the ranking consistency error is the Spearman correlation coefficient or Kendall's tau coefficient.
[0060] S110, determining whether the sorting consistency error is greater than a preset error value.
[0061] If the sorting consistency error is less than the preset error value, it means that the result of the sorting model is accurate, and the process returns to execute S105.
[0062] Specifically, if the sorting consistency error is less than a preset error value, the remaining samples are updated; wherein the updated remaining samples include samples other than the initial samples and the selected first samples in the first number of samples; A third number of first samples with an earlier order continue to be selected from the sorted and updated remaining samples, and subsequent steps are performed to obtain a simulation value of the yield of the integrated circuit.
[0063] If the sorting consistency error is greater than the preset error value, it means that the result of the sorting model is inaccurate, and it is necessary to return to execute S103 to update and train the sorting model to improve the accuracy of the integrated circuit yield analysis.
[0064] Specifically, if the sorting consistency error is greater than a preset error value, the sorting model is trained according to the initial sample, the simulation output data of the initial sample, the first sample, and the simulation output data of the first sample to obtain an updated sorting model; Updating the remaining samples; wherein the updated remaining samples include samples of the first number of samples except the initial samples and the selected first samples; The updated sorting model is used to sort the updated remaining samples, and subsequent steps are performed to obtain a simulation value of the integrated circuit yield.
[0065] In this implementation, the third number of first samples is selected according to the result of the sorting model, that is, the third number of first samples has a sorting result of the sorting model. By performing SPICE simulation on the third number of first samples, real simulation output data can be obtained, and the benchmark sorting result obtained by sorting the third number of first samples based on the real simulation output data is more accurate. These two sorting results may be inconsistent. However, if it is acceptable within a certain error, it means that the sorting result of the sorting model is also accurate. Specifically, the sorting consistency error is obtained according to the arrangement order of the third number of first samples in the remaining samples after sorting (that is, the sorting result of the sorting model) and the benchmark sorting result. If the sorting consistency error is less than the preset error value, it means that the sorting error is within an acceptable range, and the sorting model does not need to be updated, then the remaining samples are updated, and the updated remaining samples include samples other than the initial sample and the selected first sample in the first number of samples, and the third number of first samples are continuously selected from the remaining samples for iterative operation. If the sorting consistency error is greater than the preset error value, it means that the result of the sorting model is inaccurate and the sorting model needs to be updated. The sorting model is updated and trained based on the data of the samples that have been processed by SPICE simulation, that is, based on the initial sample, the simulation output data of the initial sample, the first sample and the simulation output data of the first sample to improve the accuracy of the sorting model. Then, the updated sorting model is used to sort the remaining samples, and the resulting samples are sorted more accurately, thereby improving the accuracy of the integrated circuit yield analysis.
[0066] Figure 3FIG. 1 is a structural block diagram of an integrated circuit yield analysis device according to an embodiment of the present application. Figure 3 As shown, the integrated circuit yield analysis device of this embodiment includes: The sample generation module 301 is used to generate a first number of samples from a parameter space of the integrated circuit; A simulation module 302 is used to randomly select a second number of initial samples from the first number of samples, and simulate the initial samples using a simulation circuit simulator SPICE to obtain simulation output data of the initial samples; The model processing module 303 is used to perform model training according to the simulation output data obtained by using the simulation circuit simulator SPICE to obtain a ranking model; wherein the input of the ranking model includes multiple samples, and the output of the ranking model is to sort the input multiple samples from poor to excellent performance according to the principle of the worst sample performance first; the simulation output data obtained by using the simulation circuit simulator SPICE includes the initial sample and the simulation output data of the initial sample; The model processing module 303 is further used to use the sorting model to sort the remaining samples to obtain the sorted remaining samples; wherein the remaining samples include the samples in the first number of samples except the initial samples; The simulation module 302 is further configured to select a third number of first samples that are in the first order from the sorted remaining samples, and simulate the first samples using a simulation circuit simulator SPICE to obtain simulation output data of the first samples; The yield analysis module 304 is used to perform failure judgment based on the simulation output data of the first sample to obtain a simulation value of the integrated circuit yield. If it is determined that the yield analysis stop condition is not met based on the simulation value of the integrated circuit yield, the step of selecting the first sample is returned to execute until the yield analysis stop condition is met.
[0067] Optionally, in one implementation, a classification module is also included; The classification module is used to obtain system linear and nonlinear classification using a normal distribution test method based on the second number of initial samples and the simulation output data of the initial samples; The model processing module 303 is used to: If the system is a linear system, a linear regression model is trained according to simulation output data obtained by using the simulation circuit simulator SPICE to obtain the ranking model; If the system is a nonlinear system, the nonlinear regression model is trained according to the simulation output data obtained by using the simulation circuit simulator SPICE to obtain the sorting model.
[0068] Optionally, in one implementation, returning to execute the step of selecting the first sample includes: A sorting verification module is used to sort the third number of first samples from poor to excellent in performance according to the simulation output data respectively corresponding to the third number of first samples to obtain a benchmark sorting result; and obtain a sorting consistency error according to the arrangement order of the third number of first samples in the remaining samples after sorting and the benchmark sorting result; The simulation module 302 is further configured to update the remaining samples if the sorting consistency error is less than a preset error value; wherein the updated remaining samples include samples of the first number of samples except the initial samples and the selected first samples; A third number of first samples with an earlier order continue to be selected from the sorted and updated remaining samples, and subsequent steps are performed to obtain a simulation value of the yield of the integrated circuit.
[0069] Optionally, in one implementation, the model processing module 303 is further used to: If the sorting consistency error is greater than the preset error value, training the sorting model according to the initial sample, the simulation output data of the initial sample, the first sample and the simulation output data of the first sample to obtain the updated sorting model; The simulation module 302 is further configured to update the remaining samples; wherein the updated remaining samples include samples of the first number of samples other than the initial samples and the selected first samples; The updated remaining samples are sorted using the updated sorting model, and subsequent steps are performed to obtain a simulation value of the integrated circuit yield.
[0070] Optionally, in one implementation, the sorting consistency error is the Spearman correlation coefficient or the Kendall tau coefficient.
[0071] Optionally, in one implementation, the yield analysis stop condition includes: The simulation value of the yield of the integrated circuit exceeds the yield requirement of the integrated circuit; or, The confidence interval of the simulation value of the yield of the integrated circuit meets the preset requirement under the preset confidence level; or, After the current iteration is completed, the simulation value of the yield of the integrated circuit meets the yield requirement of the integrated circuit and the number of iterations reaches a preset number.
[0072] Optionally, in one implementation, the sample generation module 301 is used to: Obtaining yield requirements of the integrated circuit; determining the first quantity according to the yield requirement; A sample data set is generated from a parameter space of the integrated circuit; the sample data set includes the first number of samples.
[0073] The integrated circuit yield analysis device provided in this embodiment is used to implement the corresponding integrated circuit yield analysis methods in the aforementioned multiple method embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be described in detail here. In addition, the functional implementation of each module in the integrated circuit yield analysis device of this embodiment can refer to the description of the corresponding parts in the aforementioned method embodiments, which will not be described in detail here.
[0074] Reference Figure 4 , shows a schematic diagram of the structure of an electronic device according to an exemplary embodiment of the present application. The specific embodiment of the present invention does not limit the specific implementation of the electronic device.
[0075] like Figure 4 As shown, the electronic device may include: a processor (processor) 401 , a memory (memory) 403 , a communication bus 404 , and a communication interface (Communications Interface) 405 .
[0076] Wherein: the processor 401 , the memory 403 and the communication interface 405 communicate with each other via the communication bus 404 .
[0077] The communication interface 405 is used to communicate with other electronic devices or servers.
[0078] The processor 401 is used to execute the program 402, and specifically can execute the steps of any one of the integrated circuit yield analysis methods in the above embodiments.
[0079] Specifically, the program 402 may include program codes, which include computer operation instructions.
[0080] The processor 401 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application. The one or more processors included in the smart device may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.
[0081] The memory 403 is used to store the program 402. The memory 403 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0082] Program 402 can be specifically used to enable processor 401 to execute to implement the steps of any integrated circuit yield analysis method described in the embodiment. The specific implementation of each step in program 402 can refer to the corresponding description of the steps and units executed by any integrated circuit yield analysis method in the above steps, which will not be repeated here. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the above-described devices and modules can refer to the corresponding process description in the above-mentioned method embodiment.
[0083] An embodiment of the present application further provides a computer storage medium having a computer program stored thereon, which, when executed by a processor, implements the integrated circuit yield analysis method as described in any one of the above-mentioned multiple method embodiments.
[0084] An embodiment of the present application also provides a computer program product, including computer instructions, which instruct a computing device to execute operations corresponding to the integrated circuit yield analysis method described in any one of the above-mentioned multiple method embodiments.
[0085] It should be pointed out that, according to the needs of implementation, the various components / steps described in the embodiments of the present application can be split into more components / steps, or two or more components / steps or partial operations of components / steps can be combined into new components / steps to achieve the purpose of the embodiments of the present application.
[0086] The above-mentioned method according to the embodiment of the present application can be implemented in hardware, firmware, or implemented as software or computer code that can be stored in a recording medium (such as a CD ROM, RAM, floppy disk, hard disk or magneto-optical disk), or implemented as a computer code originally stored in a remote recording medium or a non-temporary machine-readable medium downloaded through a network and to be stored in a local recording medium, so that the method described herein can be stored in such software processing on a recording medium using a general-purpose computer, a special-purpose processor or programmable or special-purpose hardware (such as an ASIC or FPGA). It can be understood that a computer, a processor, a microprocessor controller or programmable hardware includes a storage component (e.g., RAM, ROM, flash memory, etc.) that can store or receive software or computer code, and when the software or computer code is accessed and executed by a computer, a processor or hardware, the method described herein is implemented. In addition, when a general-purpose computer accesses the code for implementing the method shown here, the execution of the code converts the general-purpose computer into a special-purpose computer for executing the method shown here.
[0087] Those of ordinary skill in the art will appreciate that the units and method steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the embodiments of the present application.
[0088] The above implementation methods are only used to illustrate the embodiments of the present application, and are not limitations on the embodiments of the present application. Ordinary technicians in the relevant technical field can make various changes and modifications without departing from the spirit and scope of the embodiments of the present application. Therefore, all equivalent technical solutions also belong to the scope of the embodiments of the present application. The scope of patent protection of the embodiments of the present application should be limited by the claims.
Claims
1. A method for analyzing yield of an integrated circuit, characterized in that: include: generating a first number of samples from a parameter space of the integrated circuit; Randomly selecting a second number of initial samples from the first number of samples, and simulating the initial samples using a simulation circuit simulator SPICE to obtain simulation output data of the initial samples; Model training is performed according to the simulation output data obtained by using the simulation circuit simulator SPICE to obtain a ranking model; wherein the input of the ranking model includes multiple samples, and the output of the ranking model is to sort the input multiple samples from poor to excellent performance according to the principle of giving priority to the worst sample performance; the simulation output data obtained by using the simulation circuit simulator SPICE includes the initial sample and the simulation output data of the initial sample; Sorting the remaining samples using the sorting model to obtain the sorted remaining samples; wherein the remaining samples include samples in the first number of samples except the initial samples; Selecting a third number of first samples that are in the first order from the sorted remaining samples, and simulating the first samples using a simulation circuit simulator SPICE to obtain simulation output data of the first samples; Perform failure judgment according to the simulation output data of the first sample to obtain a simulation value of the yield of the integrated circuit; If it is determined according to the simulation value of the yield of the integrated circuit that the yield analysis stop condition is not met, the process returns to the step of selecting the first sample until the yield analysis stop condition is met.
2. The method according to claim 1, characterized in that: The method further comprises: Obtaining system linear and nonlinear classifications using a normal distribution test method based on the second number of initial samples and the simulation output data of the initial samples; The step of performing model training based on the simulation output data obtained by using the simulation circuit simulator SPICE to obtain a sorting model includes: If the system is a linear system, a linear regression model is trained according to simulation output data obtained by using the simulation circuit simulator SPICE to obtain the ranking model; If the system is a nonlinear system, the nonlinear regression model is trained according to the simulation output data obtained by using the simulation circuit simulator SPICE to obtain the sorting model.
3. The method according to claim 1, characterized in that The step of returning to execute selecting the first sample comprises: According to the simulation output data respectively corresponding to the third number of first samples, sorting the third number of first samples from poor to excellent in performance to obtain a benchmark sorting result; Obtaining a sorting consistency error according to an arrangement order of the third number of first samples in the sorted remaining samples and the benchmark sorting result; If the sorting consistency error is less than a preset error value, the remaining samples are updated; wherein the updated remaining samples include samples of the first number of samples except the initial samples and the selected first samples; A third number of first samples with an earlier order continue to be selected from the sorted and updated remaining samples, and subsequent steps are performed to obtain a simulation value of the yield of the integrated circuit.
4. The method according to claim 3, characterized in that: The method further comprises: If the sorting consistency error is greater than the preset error value, training the sorting model according to the initial sample, the simulation output data of the initial sample, the first sample and the simulation output data of the first sample to obtain the updated sorting model; Updating the remaining samples; wherein the updated remaining samples include samples of the first number of samples except the initial samples and the selected first samples; The updated remaining samples are sorted using the updated sorting model, and subsequent steps are performed to obtain a simulation value of the integrated circuit yield.
5. The method according to claim 3, characterized in that: The sorting consistency error is the Spearman correlation coefficient or the Kendall tau coefficient.
6. The method according to any one of claims 1 to 5, characterized in that The yield analysis stop condition includes: The simulation value of the yield of the integrated circuit exceeds the yield requirement of the integrated circuit; or, The confidence interval of the simulation value of the yield of the integrated circuit meets the preset requirement under the preset confidence level; or, After the current iteration is completed, the simulation value of the yield of the integrated circuit meets the yield requirement of the integrated circuit and the number of iterations reaches a preset number.
7. An integrated circuit yield analysis device, characterized in that: include: a sample generation module for generating a first number of samples from a parameter space of the integrated circuit; A simulation module, configured to randomly select a second number of initial samples from the first number of samples, and simulate the initial samples using a simulation circuit simulator SPICE to obtain simulation output data of the initial samples; A model processing module, used for performing model training according to the simulation output data obtained by using the simulation circuit simulator SPICE to obtain a ranking model; wherein the input of the ranking model includes multiple samples, and the output of the ranking model is to sort the input multiple samples from poor to excellent performance according to the principle of the worst sample performance first; the simulation output data obtained by using the simulation circuit simulator SPICE includes the initial sample and the simulation output data of the initial sample; The model processing module is further used to use the sorting model to sort the remaining samples to obtain the sorted remaining samples; wherein the remaining samples include samples in the first number of samples except the initial samples; The simulation module is further used to select a third number of first samples with an earlier order from the sorted remaining samples, and simulate the first samples using a simulation circuit simulator SPICE to obtain simulation output data of the first samples; The yield analysis module is used to perform failure judgment based on the simulation output data of the first sample to obtain the simulation value of the integrated circuit yield. If it is determined that the yield analysis stop condition is not met based on the simulation value of the integrated circuit yield, the module returns to the step of selecting the first sample until the yield analysis stop condition is met.
8. The device according to claim 7, characterized in that The device also includes a classification module; The classification module is used to obtain system linear and nonlinear classification using a normal distribution test method based on the second number of initial samples and the simulation output data of the initial samples; The model processing module is used for: If the system is a linear system, a linear regression model is trained according to simulation output data obtained by using the simulation circuit simulator SPICE to obtain the ranking model; If the system is a nonlinear system, the nonlinear regression model is trained according to the simulation output data obtained by using the simulation circuit simulator SPICE to obtain the sorting model.
9. An electronic device, characterized in that: include: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform an operation corresponding to the method according to any one of claims 1 to 6.
10. A computer storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
EDA circuit failure analysis method based on deep metric learning
CN114139482A
Method and system for identifying rare-event failure rates
US20130226544A1
Cited By
Chip parameter optimization method and device, medium and product
CN120235100A
Sorting method for accelerating yield analysis of integrated circuit under complex constraint condition
CN120317199A
Yield analysis method and device based on maximum sorting mode and electronic equipment
CN120706370A
A yield analysis method, device and electronic equipment based on maximum ranking mode
CN120706370B
SRAM (Static Random Access Memory) reading yield evaluation and performance optimization method, system and chip
CN121212046A
