Integrated circuit performance prediction model and modeling method, device, equipment, medium

Through adaptive sampling and model iteration technology, data sets and model parameters are dynamically adjusted to solve the problems of inaccurate prediction and low modeling efficiency in traditional methods, and achieve more efficient and accurate integrated circuit performance prediction.

CN118520841BActive Publication Date: 2024-10-15SHANGHAI CHAOJIE CORE SOFT TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410987931.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-23
Publication Date
2024-10-15
Estimated Expiration
2044-07-23

AI Technical Summary

Technical Problem

Traditional integrated circuit performance prediction methods rely on fixed data sampling strategies and cannot effectively cover the variation space of process parameters, resulting in inaccurate predictions and low modeling efficiency.

Method used

Using adaptive sampling and model iteration methods, through random sampling and iterative training, the data set and model parameters are dynamically adjusted to improve the accuracy and efficiency of the prediction model.

Benefits of technology

It improves the accuracy of integrated circuit performance prediction and modeling efficiency, enhances the automation and intelligence capabilities of the model, adapts to complex process conditions, and reduces calculation time and resource consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118520841B_ABST
    Figure CN118520841B_ABST
Patent Text Reader

Abstract

The present application provides an integrated circuit performance prediction model and a modeling method, device, equipment, and medium, which are applied to the fields of integrated circuits and artificial intelligence technology, wherein the modeling process includes: first, random sampling is performed according to a first sampling quantity from all process deviation random variables corresponding to the integrated circuit to obtain a sample matrix; and circuit simulation is performed according to the sample matrix to obtain a corresponding circuit performance vector, and the sample matrix and the circuit performance vector constitute a data set; finally, a preset circuit performance prediction model is trained based on the data set, and the performance of the circuit performance prediction model is evaluated during training, and if the evaluation is passed, the training is terminated, and if the evaluation is not passed, new samples are added according to a second sampling quantity to update the data set. Through dynamic sampling and iterative training, it is possible to ensure that the number of samples used to train the integrated circuit performance prediction model is sufficient, and the iteration can be stopped in time during dynamic adjustment, which well balances the model prediction accuracy and computational overhead.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the fields of integrated circuits and artificial intelligence technology, and specifically to an integrated circuit performance prediction model based on adaptive sampling and model iteration and a modeling method, device, equipment, and medium. Background Art

[0002] In recent years, in the field of integrated circuit (IC) design, due to the inevitable process deviations in the process manufacturing process, such as changes in lithography, doping concentration, and oxide thickness, accurately predicting circuit performance under process deviations has become a key issue. Traditional performance prediction methods, such as statistical modeling, Monte Carlo simulation, and process corner analysis, although they can provide accurate models in some cases, mainly rely on fixed data sampling strategies and usually cannot cover the variation space of all process parameters. For example, the process corner analysis method predicts the performance boundary by evaluating the circuit performance under extreme conditions, but often ignores the intermediate area of ​​process variation, which may miss key performance data.

[0003] Based on this, a new technical solution for integrated circuit performance prediction method is needed. Summary of the invention

[0004] In view of this, the embodiments of the present specification provide an integrated circuit performance prediction model and modeling method, device, equipment, and medium based on adaptive sampling and model iteration, which can automatically adjust sampling and iteration for modeling, taking into account the prediction accuracy and modeling efficiency of the prediction model in integrated circuit design.

[0005] The embodiments of this specification provide the following technical solutions:

[0006] The embodiment of this specification provides a method for modeling an integrated circuit performance prediction model, including:

[0007] Randomly sampling all process deviation random variables corresponding to the integrated circuit according to a preset first sampling quantity to obtain a sample matrix;

[0008] Perform circuit simulation according to the sample matrix to obtain a corresponding circuit performance vector, and form a data set with the sample matrix and the circuit performance vector;

[0009] A preset circuit performance prediction model is trained based on the data set, and the performance of the circuit performance prediction model is evaluated during the training. If the evaluation is passed, the circuit performance prediction model is output after the training is terminated; if the evaluation is not passed, new samples are added according to the preset second sampling number, and the resampled sample data and the circuit performance vector of the corresponding circuit simulation are added to the data set; wherein the circuit performance prediction model is a machine learning model with the process parameters of the integrated circuit as input and the circuit performance indicators as output; the first sampling number is greater than the second sampling number.

[0010] Preferably, the circuit performance prediction model is evaluated for performance, including:

[0011] Testing the circuit performance prediction model and calculating the test score;

[0012] If the test score is not less than the preset minimum score, the circuit performance prediction model is determined to have passed the evaluation;

[0013] If the test score is less than a preset minimum score, it is determined that the circuit performance prediction model has failed the evaluation.

[0014] Preferably, testing the circuit performance prediction model includes: evaluating the prediction accuracy of the circuit performance prediction model through cross-validation or a reserved test set.

[0015] Preferably, after the resampled sample data and the corresponding circuit performance vector are added to the data set, if the number of samples in the data set is greater than a preset upper limit, it is determined that the circuit performance prediction model passes the evaluation.

[0016] Preferably, all process deviation random variables corresponding to the integrated circuit are M dimensional independent random variables Characterization, where x m They are independent of each other and have a standard normal distribution with a mean of 0 and a variance of 1. ;

[0017] Random sampling is performed according to a preset first sampling quantity, including: sampling the first sampling number of times for all random variables according to a standard normal distribution.

[0018] Preferably, the circuit performance prediction model is a machine learning model formed by any one of the following learning algorithms: neural network, orthogonal matching pursuit algorithm, LASSO algorithm.

[0019] The embodiment of this specification also provides an integrated circuit performance prediction model modeling device, including:

[0020] Sampling module: performing random sampling according to a preset first sampling quantity from all process deviation random variables corresponding to the integrated circuit to obtain a sample matrix;

[0021] Data module: Perform circuit simulation according to the sample matrix to obtain the corresponding circuit performance vector y, and form a data set with the sample matrix and the circuit performance vector;

[0022] Training module: training a preset circuit performance prediction model based on a data set, and performing a performance evaluation on the circuit performance prediction model during training; if the evaluation is passed, the circuit performance prediction model is output after the training is terminated; if the evaluation is not passed, resampling and circuit simulation are performed according to a preset second sampling number, and the resampled sample data and the corresponding circuit performance vector are added to the data set; wherein the circuit performance prediction model is a machine learning model that takes the process parameters of the integrated circuit as input and takes the circuit performance indicators as output; the first sampling number is greater than the second sampling number.

[0023] The embodiments of this specification also provide an integrated circuit performance prediction model, including: a prediction model obtained by using the integrated circuit performance prediction model modeling method as described in any embodiment of the present application.

[0024] 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 to enable the at least one processor to execute: a method for modeling an integrated circuit performance prediction model as described in any one of the embodiments of the present application.

[0025] An embodiment of the present specification also provides 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 performance prediction modeling method as described in any embodiment of the present application is executed.

[0026] Compared with the prior art, the at least one technical solution adopted in the embodiments of this specification can achieve the following beneficial effects:

[0027] Compared with the prior art, the present invention has obvious advantages and technical effects. First, the adaptive sampling strategy can more accurately reflect the impact of process deviations on integrated circuit performance, thereby improving the accuracy of the prediction model. Secondly, the iterative training method can automatically stop after reaching the preset accuracy, effectively reducing computing time and resource consumption, and improving modeling efficiency. In addition, the present invention supports automatic adjustment of modeling strategies according to different design requirements, improving flexibility and automation. Finally, the present invention can effectively handle complex process changes and adapt to changing process conditions, showing higher adaptability and practicality than the prior art. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] 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.

[0029] Figure 1 It is a schematic diagram of the framework of the modeling process of the integrated circuit performance prediction module in this application;

[0030] Figure 2 It is a flow chart of the integrated circuit performance prediction module modeling method in this application;

[0031] Figure 3 It is a flow chart of the integrated circuit performance prediction module modeling method in this application;

[0032] Figure 4 It is a structural schematic diagram of the integrated circuit performance prediction module modeling device in this application;

[0033] Figure 5 It is a schematic diagram of the structure of an electronic device used for modeling an integrated circuit performance prediction model in this application. DETAILED DESCRIPTION

[0034] The embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0035] 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.

[0036] 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.

[0037] 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.

[0038] 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.

[0039] The current market demand for integrated circuits is extremely strong, and integrated circuits are required to be reliably verified. Therefore, integrated circuits need to be verified for a long time during the design stage. It is worth noting that the existing models used for verification face multiple challenges in the modeling methods of these models in integrated circuit design verification. For example, high-precision Monte Carlo simulation is very effective in providing accurate statistical analysis, but it is computationally expensive and time-consuming, and is not suitable for fast iterative design processes. For example, although statistical modeling can provide results faster, it relies on assumed distribution models that may not accurately reflect the complexity of actual process conditions. In addition, these technologies lack the ability to dynamically adjust modeling strategies. Once the predicted performance does not meet the requirements, the sampling or model parameters need to be manually adjusted, which greatly reduces the level of automation and intelligence of the design process.

[0040] In view of this, in the exploration of improving the prediction model of integrated circuit electrical performance, it was found that:

[0041] On the one hand, in terms of model accuracy: Traditional integrated circuit performance prediction methods are often based on static data sampling strategies, which often have difficulty accurately predicting the actual performance of the circuit when dealing with process deviations. Therefore, if an adaptive sampling strategy can be introduced, that is, the strategy can dynamically adjust the sampling amount according to the model test results, then in this way, the data set can more comprehensively reflect the actual changes in circuit performance under different process conditions, thereby significantly improving the accuracy of model prediction.

[0042] Second, modeling efficiency: Existing modeling methods often require a large amount of data sampling and long model training, which not only consumes a lot of computing resources but also increases the design cycle. Therefore, if the sampling times and iterative training models can be adjusted dynamically, the efficiency of the modeling process should be improved.

[0043] Third, the modeling process: The traditional modeling process is usually relatively fixed, but since the circuit performance of integrated circuits is related to the processing technology and may be significantly different due to different process deviations, that is, the prediction of circuit performance has obvious uncertainty, the model obtained by the fixed modeling process is difficult to predict the actual performance of the circuit. Therefore, if a method can be introduced to dynamically adjust the modeling strategy based on real-time test results, it should be able to improve the certainty of the prediction, such as by timely evaluating the model performance during training, realizing the automated dynamic adjustment and iterative judgment of the model training process, thereby ensuring the reliability of the modeling results and avoiding excessive use of resources.

[0044] In summary, if adaptive sampling and iterative model training are possible, that is, adaptively updating data sets and model parameters to achieve more comprehensive and flexible performance evaluation, the problems of inaccurate performance prediction and inefficient modeling caused by process deviations in integrated circuit design can be solved, and more efficient and accurate technical support can be provided for the design and manufacture of integrated circuits, thereby providing more accurate guidance and optimization for integrated circuit design.

[0045] Therefore, there is an urgent need to develop a new integrated circuit performance prediction method that can dynamically adjust the data set and model parameters to better adapt to the actual distribution of process deviations, improve the efficiency and accuracy of modeling, and enhance the automation and intelligence capabilities of the model to adapt to rapid iterations and complex process conditions.

[0046] Based on this, this application proposes a modeling scheme for predicting the electrical performance of integrated circuits: Figure 1As shown, first, for a large number of integrated circuit design process parameters, the first round of random sampling is completed according to the initially set larger number of sampling times, so that based on the process data sampled in the random sampling process, these process parameters can represent most of the process characteristics under the effect of randomness, so that the corresponding circuit performance obtained by circuit simulation using these sampling data can also reflect the more realistic relationship between the process and the circuit performance, so these process and performance data can be used to form a training data set, which can more accurately reflect the impact of process deviation on integrated circuit performance, which is conducive to improving the accuracy of prediction; then, when using the data set to train the circuit performance prediction model, the model training effect is evaluated while training, and when the training effect fails to meet the standard, the sample randomness of the data set is increased by progressively sampling a small amount, so that the samples of the data set are more likely to be close to the real process characteristics, and the iteration can be automatically stopped in time after the model training reaches the preset accuracy.

[0047] Therefore, by dynamically adjusting the data set and iterative training, the model accuracy can be improved, and the computing time and resource consumption can be effectively reduced, thereby improving the modeling efficiency.

[0048] The following is combined with Figure 1 To Attachment Figure 5 , describing the technical solutions provided by each embodiment of the present application.

[0049] like Figure 2 As shown, the embodiment of this specification provides a method for modeling an integrated circuit performance prediction model, which may include:

[0050] Step S202: Random sampling is performed according to a preset first sampling quantity from all process deviation random variables corresponding to the integrated circuit to obtain a sample matrix.

[0051] By randomly sampling from the process deviation random variable and randomly sampling with a first sampling number of a larger data volume, the obtained samples can preliminarily represent the process characteristics of the integrated circuit based on randomness and a larger sampling number. It should be noted that the first sampling number (also known as the sampling number) can be an initially set parameter, and the adjustable parameter can usually be set to a certain proportion corresponding to all process parameters, so that the number of samples is neither too small nor too large by setting the initial sampling number, and the randomness and quantity of the samples are well taken into account, which is beneficial to reduce the subsequent data calculation cost and resource overhead on the basis of ensuring a certain accuracy, improve modeling efficiency and reduce modeling costs.

[0052] Step S204: Perform circuit simulation according to the sample matrix to obtain a corresponding circuit performance vector, and form a data set with the sample matrix and the circuit performance vector.

[0053] Based on the samples obtained from the first sampling times, circuit performance data corresponding to these samples can be obtained through circuit simulation. Since the sample data can preliminarily represent a large number of process parameters of integrated circuits, these sample data and circuit performance data can be used to form a preliminary sample set (i.e., data set) required for model training.

[0054] Step S206: training a preset circuit performance prediction model based on the data set.

[0055] In implementation, the performance of the circuit performance prediction model is evaluated during training, that is, the model performance is evaluated while training, and the model is dynamically adjusted according to the evaluation results in an iterative process.

[0056] The iterative process of dynamic adjustment is shown as follows:

[0057] If the model can pass the evaluation, the training is terminated, and the trained circuit performance prediction model is output as a prediction model;

[0058] If the model fails the evaluation, the data set is dynamically updated incrementally according to the preset second sampling quantity, that is, a small number of samples are added, and the resampled sample data and the circuit performance vector of the corresponding circuit simulation are added to the data set to achieve dynamic adjustment and iteration of the data set and model parameters.

[0059] It should be noted that the circuit performance prediction model in the present application is a machine learning model with the process parameters of the integrated circuit as input and the circuit performance indicators as output. Therefore, the machine learning model can be a related model used for prediction in the prior art, such as a neural network model. The specific model form can be selected according to application needs. It only needs to meet the network model form with process parameters as input and electrical performance indicators as output, and complete the training modeling process according to the modeling example provided in this application.

[0060] In addition, the second sampling number (i.e., the number of samplings) as incremental sampling should be smaller than the first sampling number, so that each incremental sampling is a small amount of sampling. This can not only dynamically adjust the data set without increasing excessive computing processing, but also meet the needs of training modeling.

[0061] Therefore, by dynamically adjusting the data set and model parameter iterations during training, the model prediction accuracy can be guaranteed. At the same time, the amount of sampling data and the number of training iterations in model training can be reduced, making the modeling process simpler and more efficient.

[0062] In summary, random sampling and circuit simulation are first completed with a certain number of sampling times, so that the samples obtained by sampling and the circuit performance data obtained by simulation can preliminarily represent the relatively real preliminary relationship between the original large number of process parameters and circuit performance in the integrated circuit design in terms of quantity and characteristics, so that these data can be used to complete the initial training of the prediction model, ensuring that the prediction model can have good prediction certainty in the early stage of training and modeling; then, in the training of the prediction model, the data set and model parameter iterations are dynamically adjusted, so that the training of the prediction model does not require too much data for training, but can have good prediction accuracy under the condition of not much data training, that is, the training effect and the training process are taken into account, while ensuring the accuracy of the prediction model, the difficulty of modeling, the amount of calculation and the cost can be reduced, thereby providing a more effective prediction method for the relationship between process deviation and circuit performance in integrated circuit design, so that the integrated circuit can be quickly and preliminarily verified in the early stage of design, which is conducive to accelerating the rapid implementation of integrated circuit design to cope with the current market demand trend for integrated circuits.

[0063] In some embodiments, for evaluation during model training, the evaluation process can be carried out in a scoring manner, such as by presetting a minimum score and determining the model performance score according to the model test results during training, and then determining whether the model performance can pass the evaluation based on the score.

[0064] Therefore, in the performance evaluation of the circuit performance prediction model, the circuit performance prediction model is first tested to calculate the test score; then, an evaluation is made based on the test score: if the test score is not less than the preset minimum score, the circuit performance prediction model is judged to have passed the evaluation; if the test score is less than the preset minimum score, the circuit performance prediction model is judged to have failed the evaluation.

[0065] It should be noted that the minimum score can be used as an initial setting parameter or as an adjustable parameter, so that it can be preset and adjusted as needed, and the specific score value is not limited.

[0066] In some implementations, the process of determining the score through testing may be some common methods in the prior art, such as determining the test score based on a test set, wherein the data in the test set may be relevant data that has been pre-verified, and thus may be used to determine the test score. Of course, the test scheme in the following example may also be used to determine the test score.

[0067] For example, in testing a circuit performance prediction model, the prediction accuracy of the circuit performance prediction model can be evaluated through cross-validation or a reserved test set, so as to determine the corresponding test score according to the obtained prediction accuracy. Specific cross-validation, test sets, etc. can be set and implemented with reference to the prior art, that is, cross-validation, test sets, etc. can be applied to the evaluation of integrated circuit performance prediction models.

[0068] By using mature evaluation methods such as cross-validation or retained test sets to evaluate the prediction accuracy of the circuit performance prediction model, the evaluation scheme can be simplified and the accuracy and reliability of the evaluation can be guaranteed.

[0069] In some implementations, model evaluation may also be performed by determining whether the model has been trained with a corresponding amount of data.

[0070] Based on the above examples, it can be seen that the present application is to train the prediction model with a large amount of data, and as long as the model does not meet the standards during training, it will continue to train by adding a small amount of samples into the data set, so that the number of data sets is constantly accumulating, so that the prediction model can be trained with a large amount of data in continuous training and incremental sampling, so that the trained prediction model can train the network model parameters close to the relationship between process and circuit performance in continuous iteration.

[0071] Therefore, after the resampled sample data and the corresponding circuit performance vector are added to the data set, after continuous training and incremental accumulation of the data set, if the number of samples in the data set is greater than the preset upper limit, it can be determined that the circuit performance prediction model trained with the data set can pass the evaluation.

[0072] It should be noted that the upper limit of the data volume of the data set can be preset according to the prediction needs of the integrated circuit, that is, it can be used as an initial setting parameter and an adjustable parameter, such as setting the upper limit to 5-15 times the first sampling number, or even other multiples, which is not limited here.

[0073] In some embodiments, the present application uses the process variables in the integrated circuit design as the sampled random variables, so that all process deviation random variables corresponding to the integrated circuit can be used. M dimensional independent random variables Characterization, where They are independent of each other and have a standard normal distribution with a mean of 0 and a variance of 1. .

[0074] Therefore, after adopting the independent variables with normal distribution, random sampling is performed according to the preset first sampling quantity, and the first sampling number of samplings can be performed for all random variables according to the standard normal distribution.

[0075] By using normally distributed random variables to characterize process variables and performing sampling based on the normal distribution, the model is further improved in its ability to accurately reflect the complexity of the relationship between actual process conditions and circuit performance, making the model's prediction accuracy higher and the modeling process further simplified, making it easier to apply modeling in the design of various integrated circuits.

[0076] In some embodiments, the prediction model of the present application, i.e., the integrated circuit performance prediction model, can be a machine learning model composed of common machine learning algorithms, such as a machine learning model formed by any of the following learning algorithms: neural network, orthogonal matching pursuit algorithm, LASSO algorithm. It should be noted that the process of forming the learning model by these algorithms and the specific model form formed can be implemented with reference to the prior art, and will not be described in detail here.

[0077] Next, Figure 3 The dynamic sampling and iteration process is illustrated in another implementation example.

[0078] like Figure 3 For example, the steps of building an integrated circuit performance prediction model provided by the present application may include the following steps:

[0079] The first step is to perform random sampling and simulation. All random variables are distributed according to the standard normal distribution. N The sample matrix X is obtained by sampling, and the corresponding circuit performance vector y is obtained through circuit simulation to form a data set. D .

[0080] The second step is to train the model using the data set D Training performance prediction model model The model can be based on a variety of machine learning algorithms, such as neural networks, orthogonal matching pursuit algorithm (OMP), LASSO algorithm, etc. The model takes process parameters as input and performance indicators as output.

[0081] The third step is to evaluate the performance of the model. model Take the test and calculate the test score test score , one implementation method could be to evaluate the prediction accuracy of the model through cross-validation or a held-out test set.

[0082] The fourth step is to judge and iterate. If test score Meet or exceed a preset minimum score score min , or a dataset D The number of samples in is greater than the preset upper limit N max, the modeling process ends and the current performance prediction model is output model .like test score Lower than score min , then proceed to step 5.

[0083] The fifth step adds a small amount of sampling to optimize the model. n Subsample, and perform circuit simulation to obtain the corresponding circuit performance, and add the newly added data to the data set D Repeat steps 2 to 4.

[0084] Through the above process, sampling and iterative modeling optimization can be automatically adjusted to ensure the prediction accuracy and efficiency of integrated circuit design.

[0085] Based on the same inventive concept, the present application also provides an integrated circuit performance prediction model modeling device. It should be noted that the device exemplified below is an example of a device corresponding to the above method embodiment, and in other device embodiments, the setting of unit module functions and the number of modules can be set accordingly according to the above method embodiment.

[0086] like Figure 4 As shown, an integrated circuit performance prediction modeling device 100 may include:

[0087] Sampling module 101: performing random sampling according to a preset first sampling quantity from all process deviation random variables corresponding to the integrated circuit to obtain a sample matrix;

[0088] Data module 103: Perform circuit simulation according to the sample matrix to obtain the corresponding circuit performance vector y, and form a data set with the sample matrix and the circuit performance vector;

[0089] Training module 105: training a preset circuit performance prediction model based on a data set, and performing a performance evaluation on the circuit performance prediction model during training; if the evaluation is passed, the circuit performance prediction model is output after the training is terminated; if the evaluation is not passed, resampling and circuit simulation are performed according to a preset second sampling number, and the resampled sample data and the corresponding circuit performance vector are added to the data set; wherein the circuit performance prediction model is a machine learning model that takes the process parameters of the integrated circuit as input and takes the circuit performance indicators as output; and the first sampling number is greater than the second sampling number.

[0090] Based on the same inventive concept, the present application also provides an integrated circuit performance prediction model, that is, an integrated circuit performance prediction model obtained by dynamic sampling and iterative training using an integrated circuit performance prediction modeling method as described in any embodiment of the present application. The modeling efficiency is high and the accuracy of the model can be taken into account, thereby providing a prediction model with guiding significance and auxiliary role for integrated circuit design.

[0091] It should be noted that the prediction model can be a common machine learning model used for prediction, and these machine learning models can be learning models constructed with process parameters as input and circuit performance indicators as output, and the algorithm used in the learning model can be a common algorithm, such as a neural network, an orthogonal matching pursuit algorithm (OMP), a LASSO algorithm, etc. In other words, the specific network form of the model can refer to the prior art, and the model only needs to complete the training modeling according to the modeling example provided in this application, so the specific form of the model is not limited here.

[0092] 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 performance prediction model modeling method as described in any embodiment of the present application.

[0093] 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.

[0094] 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 performance prediction model modeling method described in any embodiment of the present application.

[0095] 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.

[0096] 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.

[0097] 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 .

[0098] 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.

[0099] The processor 510 executes various functional applications and data processing by running computer programs stored in the memory 520 .

[0100] 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.

[0101] 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.

[0102] 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: a method for modeling an integrated circuit performance prediction model as described in any embodiment of the present application.

[0103] 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.

[0104] 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.

[0105] 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.

[0106] 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.

[0107] 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 modeling an integrated circuit performance prediction model, characterized in that: include: Random sampling is performed from all process deviation random variables corresponding to the integrated circuit according to a preset first sampling quantity to obtain a sample matrix; wherein, for all random variables, a standard normal distribution is used. N Sampling times to obtain the sample matrix X; According to the sample matrix, the circuit simulation is performed to obtain the corresponding circuit performance vector, and the sample matrix and the circuit performance vector constitute a data set; wherein, the corresponding circuit performance vector y is obtained through circuit simulation to constitute a data set D; Based on the data set D, the preset circuit performance prediction model model is trained, and the circuit performance prediction model is judged and iteratively evaluated during the training. The model is first tested to obtain a test score. If the test score is test score Meet or exceed a preset minimum score score min , or a dataset D The number of samples in is greater than the preset upper limit N max , then it is determined to have passed the evaluation, and the circuit performance prediction model model is output after the training is completed. If test score Lower than score min It is determined that the evaluation has not passed, and n new samples are added according to the preset second sampling number, and after circuit simulation is performed to obtain the corresponding circuit performance, the sample data of the n re-sampled samples and the circuit performance vector of the corresponding circuit simulation are added to the data set D; wherein the circuit performance prediction model is a machine learning model with the process parameters of the integrated circuit as input and the circuit performance indicators as output; the first sampling number is greater than the second sampling number.

2. The integrated circuit performance prediction modeling method according to claim 1, characterized in that: Perform performance evaluation on circuit performance prediction models, including: Testing the circuit performance prediction model and calculating the test score; If the test score is not less than the preset minimum score, the circuit performance prediction model is determined to have passed the evaluation; If the test score is less than a preset minimum score, it is determined that the circuit performance prediction model has failed the evaluation.

3. The integrated circuit performance prediction modeling method according to claim 2, characterized in that: Testing the circuit performance prediction model includes: evaluating the prediction accuracy of the circuit performance prediction model through cross-validation or a reserved test set.

4. The integrated circuit performance prediction modeling method according to claim 1, characterized in that: After the resampled sample data and the corresponding circuit performance vector are added to the data set, if the number of samples in the data set is greater than a preset upper limit, it is determined that the circuit performance prediction model passes the evaluation.

5. The integrated circuit performance prediction modeling method according to claim 1, characterized in that: All process deviation random variables corresponding to the integrated circuit are M dimensional independent random variables Characterization, where x m They are independent of each other and have a standard normal distribution with a mean of 0 and a variance of 1. ; Random sampling is performed according to a preset first sampling quantity, including: sampling the first sampling number of times for all random variables according to a standard normal distribution.

6. The integrated circuit performance prediction modeling method according to claim 1, characterized in that: The circuit performance prediction model is a machine learning model formed by any of the following learning algorithms: neural network, orthogonal matching pursuit algorithm, LASSO algorithm.

7. An integrated circuit performance prediction modeling device, characterized in that: include: Sampling module: Randomly sample all process deviation random variables corresponding to the integrated circuit according to a preset first sampling quantity to obtain a sample matrix; wherein, all random variables are randomly sampled according to a standard normal distribution. N Sampling times to obtain the sample matrix X; Data module: Perform circuit simulation based on the sample matrix to obtain the corresponding circuit performance vector y, and form a data set with the sample matrix and the circuit performance vector; wherein, the corresponding circuit performance vector y is obtained through circuit simulation to form a data set D; Training module: Train the preset circuit performance prediction model model based on data set D, and judge and iteratively evaluate the performance of the circuit performance prediction model during training. First, test the model to get the test score. If the test score is test score Meet or exceed a preset minimum score score min , or a dataset D The number of samples in is greater than the preset upper limit N max , then it is determined to have passed the evaluation, and the circuit performance prediction model model is output after the training is completed. If test score Lower than score min It is determined that the evaluation has not passed, and the sample is resampled n times according to the preset second sampling number, and after circuit simulation is performed to obtain the corresponding circuit performance, the sample data resampled n times and the corresponding circuit performance vector are added to the data set D; wherein the circuit performance prediction model is a machine learning model with the process parameters of the integrated circuit as input and the circuit performance indicators as output; the first sampling number is greater than the second sampling number.

8. An integrated circuit performance prediction model, characterized in that: include: A prediction model obtained by using the integrated circuit performance prediction model modeling method as described in any one of claims 1-6.

9. 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 performance prediction model modeling method as described in any one of claims 1-6.

10. 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, they perform: the integrated circuit performance prediction modeling method according to any one of claims 1-6.

Citation Information

Patent Citations

  • Storage performance prediction method and system and prediction terminal

    CN115048281A

  • Circuit yield analysis method based on parallel heterogeneous calculation

    CN116384312A

  • Hybrid load-oriented multi-reference drive parameter adjustment server energy efficiency optimization method and device

    CN116737360A

  • Integrated circuit parasitic parameter pattern library construction method based on adaptive incremental learning

    CN118013928A

  • Product performance prediction modeling method and apparatus, computer device, computer-readable storage medium, and product performance prediction method and prediction system

    US20210263508A1