Parameter optimization design method and system for chip circuit
Through parameter identification and feature analysis of the Vccin network of the chip circuit, a state space model is constructed, and vector fitting and dual-objective optimization methods are used to solve the problems of power consumption and timing performance optimization in traditional design methods, and realize the self-adaptation of the chip circuit. Optimization and parameter design accuracy are improved.
Patent Information
- Application Number
- CN202410410321.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-07
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-04-07
AI Technical Summary
Traditional chip circuit design methods are difficult to reduce power consumption and optimize timing performance while meeting performance requirements, resulting in insufficient circuit performance and a lack of global optimal solutions.
Through parameter identification and characteristic variable analysis of the Vccin network in the chip circuit, the target state space model is constructed, and the vector fitting algorithm and dual-objective optimization method are used to obtain the Pareto optimal solution set, thereby generating an optimal combination of circuit parameters to achieve Co-optimization of power consumption and timing performance.
It improves the accuracy and flexibility of chip circuit parameter optimization design, provides multiple optimal circuit design solutions to meet different application scenarios and needs, and achieves collaborative optimization of circuit performance and power consumption.
Smart Images

Figure CN118228642B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of chip circuit design, and in particular to a parameter optimization design method and system for a chip circuit. Background Art
[0002] Chip circuits play a vital role in electronic devices. In order to improve the performance and efficiency of chip circuits, parameter optimization design has become a key research field.
[0003] Traditional chip circuit design methods often use empirical design or local optimization strategies. These methods may not be able to find the global optimal solution when meeting specific performance requirements, resulting in the circuit performance not being fully utilized. In addition, as chip size continues to shrink and operating frequency increases, circuit power consumption and timing issues become particularly prominent. How to reduce power consumption and optimize timing performance while meeting performance requirements has become an urgent problem to be solved. Summary of the invention
[0004] The present application provides a chip circuit parameter optimization design method and system, which realizes adaptive optimization of chip circuits and improves the accuracy of chip circuit parameter optimization design.
[0005] In a first aspect, the present application provides a parameter optimization design method for a chip circuit, the parameter optimization design method for a chip circuit comprising:
[0006] Perform parameter identification and characteristic variable analysis on the Vccin network in the chip circuit to obtain the target G parameter and target S parameter;
[0007] Using a vector fitting algorithm, a target state space model of the chip circuit is constructed according to the target G parameter and the target S parameter;
[0008] Performing power consumption analysis and delay timing analysis on the chip circuit through the target state space model to obtain power consumption characteristics and delay timing characteristics;
[0009] Performing dual-objective optimization on the chip circuit according to the power consumption characteristics and the delay timing characteristics to obtain a Pareto optimal solution set;
[0010] An optimized combination of circuit parameters of the chip circuit is generated according to the Pareto optimal solution set.
[0011] In a second aspect, the present application provides a parameter optimization design system for a chip circuit, the parameter optimization design system for a chip circuit comprising:
[0012] The identification module is used to perform parameter identification and characteristic variable analysis on the Vccin network in the chip circuit to obtain the target G parameter and target S parameter;
[0013] A construction module, used to construct a target state space model of the chip circuit according to the target G parameter and the target S parameter by using a vector fitting algorithm;
[0014] An analysis module, used to perform power consumption analysis and delay timing analysis on the chip circuit through the target state space model to obtain power consumption characteristics and delay timing characteristics;
[0015] An optimization module, used for performing dual-objective optimization on the chip circuit according to the power consumption characteristics and the delay timing characteristics to obtain a Pareto optimal solution set;
[0016] A generation module is used to generate an optimized combination of circuit parameters of the chip circuit according to the Pareto optimal solution set.
[0017] The third aspect of the present application provides a computer device, comprising: a memory and at least one processor, wherein the memory stores instructions; the at least one processor calls the instructions in the memory so that the computer device executes the above-mentioned chip circuit parameter optimization design method.
[0018] A fourth aspect of the present application provides a computer-readable storage medium, which stores instructions. When the computer-readable storage medium is run on a computer, the computer executes the above-mentioned chip circuit parameter optimization design method.
[0019] In the technical solution provided by the present application, by performing parameter identification and characteristic variable analysis on the Vccin network in the chip circuit, the target G parameter and the target S parameter can be accurately obtained. The target state space model of the chip circuit is constructed by a vector fitting algorithm, and the power consumption analysis and delay timing analysis of the circuit can be efficiently performed. By performing dual-objective optimization on the power consumption characteristics and the delay timing characteristics, the Pareto optimal solution set can be obtained. This means that while meeting the power consumption and timing performance requirements, multiple optimal circuit design schemes can be obtained, providing more choice space and flexibility. According to the Pareto optimal solution set, the circuit parameter optimization combination is generated, and the circuit can be comprehensively optimized based on multiple performance indicators. Analyzing and screening multiple first parameter optimization combinations, and further generating multiple second parameter optimization combinations, the accuracy and diversity of the optimization results are ensured to meet different application scenarios and requirements. By performing curve fitting and feature extraction on the power consumption data and the delay timing data, the performance characteristics of the circuit can be fully understood. Further dual-objective optimization ensures that while improving the circuit performance, the power consumption is effectively reduced, and the coordinated optimization of circuit performance and power consumption is achieved, which meets the core goals of modern circuit design. By processing parameters and performing matrix operations through kernel principal component analysis algorithms and kernel functions, the state space characteristics of the circuit can be described more accurately. Iterative optimization and model parameter updates further improve the stability and prediction accuracy of the model, thereby achieving adaptive optimization of chip circuits and improving the accuracy of parameter optimization design of chip circuits. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0021] Figure 1 A schematic diagram of an embodiment of a parameter optimization design method for a chip circuit in an embodiment of the present application;
[0022] Figure 2 A schematic diagram of an embodiment of a parameter optimization design system for a chip circuit in an embodiment of the present application. DETAILED DESCRIPTION
[0023] The embodiment of the present application provides a parameter optimization design method and system for a chip circuit. The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments described here can be implemented in an order other than that illustrated or described here. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0024] For ease of understanding, the specific process of the embodiment of the present application is described below. Figure 1 , an embodiment of the parameter optimization design method of the chip circuit in the embodiment of the present application includes:
[0025] Step 101, perform parameter identification and characteristic variable analysis on the Vccin network in the chip circuit to obtain target G parameters and target S parameters;
[0026] It is understandable that the execution subject of the present application may be a chip circuit parameter optimization design system, or a terminal or a server, which is not limited here. The present application embodiment is described by taking a server as the execution subject as an example.
[0027] Specifically, first, the parameters of the Vccin network in the chip circuit are identified, including the measurement and recording of basic electrical parameters such as voltage and current in the circuit, collecting enough data to represent the initial state of the circuit, and obtaining the initial G parameters and initial S parameters, which reflect the key performance indicators of the circuit. Next, the initial G parameters and initial S parameters are cleaned and parameter standardized. The purpose of data cleaning is to remove outliers and noise to ensure the accuracy of subsequent analysis. Parameter standardization is to convert the data to a common standard, eliminate the influence of different parameter dimensions, and enable the data to be compared and analyzed under the same standard. Then, the standardized G parameters and S parameters are matrix-converted by the kernel principal component analysis algorithm, and the parameter data is mapped to a new feature space to better reveal the essential relationship and structure between the parameters. The kernel principal component analysis algorithm is a nonlinear dimensionality reduction technology that maps the original data to a high-dimensional feature space by introducing kernel techniques, and then applies the traditional principal component analysis algorithm in the space. The mapping process requires the selection of appropriate kernel functions, such as Gaussian kernels or polynomial kernels. The selection of these kernel functions directly affects the structure of the feature space and the quality of the analysis results. Next, the kernel function is used to perform matrix operations on the initial G parameter matrix and the S parameter matrix to obtain the initial G parameter kernel matrix and the initial S parameter kernel matrix. Next, the kernel matrix is centralized to standardize the data, eliminate the deviation in the high-dimensional space, and ensure the accuracy of the eigenvalue decomposition. Subsequently, the target G parameter kernel matrix and the target S parameter kernel matrix are subjected to eigenvalue decomposition, and the most important eigenvalues and corresponding eigenvectors are extracted from the kernel matrix. These eigenvalues and eigenvectors represent the main direction of change of the data in the new feature space. By selecting the eigenvector corresponding to the largest eigenvalue as the principal component, effective dimensionality reduction and feature extraction of the data are achieved. Finally, according to the corresponding principal components, the standard G parameters and S parameters are mapped to the new feature space to obtain the target G parameters and target S parameters.
[0028] Step 102: Using a vector fitting algorithm, a target state space model of the chip circuit is constructed according to the target G parameter and the target S parameter;
[0029] Specifically, first, the state change trend of the target G parameter and the target S parameter is analyzed to obtain the intrinsic characteristics of these parameters changing with time or other conditions, and the state change characteristics of the G parameter and the S parameter are obtained, which reflect how the parameters respond to different operating conditions or external interference. Then, the initial state space model of the chip circuit is constructed according to the state change characteristics of the G parameter and the state change characteristics of the S parameter. Then, the initial state space model is simulated and analyzed to verify its accuracy and effectiveness. Simulation analysis allows the system to predict its behavior without actually manufacturing the circuit, so as to find possible problems and make necessary adjustments to the model. Subsequently, the state space model parameters of the initial state space model are adjusted by the vector fitting algorithm, and the model parameters are adjusted by the vector fitting algorithm through the feedback of the simulation analysis of the initial state space model to generate the first state space model parameters. The vector fitting algorithm can find the best mathematical expression based on a set of data points to approximate the original data and provide a more accurate description of the circuit behavior. Then, in order to ensure the optimality and applicability of the model, the first state space model parameters are iteratively optimized, the model parameters are repeatedly adjusted and evaluated, and the accuracy and reliability of the model are gradually improved through a continuous iterative process to obtain the second state space model parameters. Finally, the parameters of the initial state space model are updated through the parameters of the second state space model to obtain the target state space model of the chip circuit. The target model reflects the expected behavior of the circuit under the optimal parameters.
[0030] Step 103: Perform power consumption analysis and delay timing analysis on the chip circuit through the target state space model to obtain power consumption characteristics and delay timing characteristics;
[0031] Specifically, first, the target state space model is used to simulate and predict the behavior of the circuit under different working conditions to obtain power consumption data and delay timing data. Next, curve fitting is performed on the power consumption data and delay timing data respectively, and the curve that best represents the data change trend is found through mathematical methods to obtain the power consumption curve and delay timing curve. Curve fitting helps to understand the data change law more intuitively and provides an accurate mathematical model for subsequent feature extraction and optimization analysis. By using statistical methods such as the least squares method, it is ensured that the obtained curve is statistically closest to the actual observed data. Next, the first mean and first standard deviation of the power consumption data are calculated, and the second mean and second standard deviation of the delay timing data are calculated. These two statistics reflect the center position of the data set and the degree of dispersion of the data distribution, respectively. The first mean and first standard deviation describe the average level and fluctuation range of power consumption, while the second mean and second standard deviation correspond to the average performance and variability of the delay timing. Through these statistics, the power consumption curve and the delay timing curve are feature extracted to obtain specific power consumption characteristics and delay timing characteristics. The calculated mean and standard deviation are applied to the curve fitting results to highlight the key properties of the curve, such as the peak position, fluctuation range, etc. These features help to understand the circuit performance. For example, the power consumption characteristics may reveal the energy efficiency optimization potential of the circuit under specific operating conditions, while the delay timing characteristics can indicate the bottleneck of the circuit response speed and the direction of improvement.
[0032] Step 104: perform dual-objective optimization on the chip circuit according to the power consumption characteristics and the delay timing characteristics to obtain a Pareto optimal solution set;
[0033] Specifically, first, the feature priority sequence between the power consumption feature and the delay timing feature is calculated to determine which features are more important in the optimization process. The priority sequence can guide the subsequent optimization direction. Then, the power consumption feature and the delay timing feature are mapped to feature vectors according to the feature priority sequence, and they are converted into operable mathematical objects to obtain the power consumption vector and the delay timing vector. Next, a dual-objective optimization model between the power consumption feature and the delay timing feature is constructed based on the Chebyshev affine algorithm and the adaptive weighted sum method. The Chebyshev affine algorithm is an algorithm that efficiently handles multi-objective optimization problems. By transforming the objective function, the optimization problem can find the best compromise solution between multiple objectives. The adaptive weighted sum method is a strategy for dynamically adjusting weights. The weights are automatically adjusted according to the importance of each objective in the optimization process to ensure that each objective is optimized in a balanced manner. The dual-objective optimization model can fully consider the mutual influence of the two objectives of power consumption and delay timing, and find an optimal balance between them. Finally, the power consumption vector and delay timing vector are optimized through the dual-objective optimization model, and the Pareto optimal solution set is iteratively searched through the algorithm. These solutions represent the circuit parameter configurations that achieve the best balance between power consumption and delay timing.
[0034] First, the vector weights of the power consumption vector and the delay timing vector are calculated through the dual-objective optimization model to quantify the relative importance of each vector in the optimization process, and determine the first vector weight of the power consumption vector and the second vector weight of the delay timing vector. These weights reflect the contribution of power consumption and delay timing to the overall performance under specific design goals. Subsequently, according to the calculated vector weights, the power consumption vector and the delay timing vector are vector-weighted to obtain the power-weighted vector and the delay-weighted vector. The weighted vectors can more accurately represent the priority of each goal in the multi-objective optimization. Then, the fused feature vector is obtained by calculating the power-delay product of the power-weighted vector and the delay-weighted vector. The weighted vectors are multiplied to create a new vector that comprehensively considers the two dimensions of power and delay. The fused feature vector represents a comprehensive performance indicator, through which the performance of the circuit design can be more comprehensively evaluated. Finally, the power and delay balance point of the fused feature vector is solved to obtain the Pareto optimal solution set. Mathematical optimization methods, such as linear programming, nonlinear programming or evolutionary algorithms, are used to find design solutions that can maintain low power consumption and ensure low latency. These solutions constitute a Pareto optimal solution set, each of which represents an optimal trade-off between power and latency, providing a wide range of options for the system.
[0035] Step 105: Generate an optimized combination of circuit parameters of the chip circuit according to the Pareto optimal solution set.
[0036] Specifically, first, the Pareto optimal solution set is converted into a corresponding plurality of first parameter optimization combinations. Each solution is a potential circuit design scheme, which includes different parameter configurations that may improve circuit performance. These first parameter optimization combinations are screened from the results of multi-objective optimization and represent the circuit parameter settings that find the best balance between power consumption and delay timing. Subsequently, the first parameter optimization combinations are evaluated and the first evaluation value of each combination is calculated. The evaluation value is calculated based on specific performance indicators, which may include energy efficiency, speed, cost, and reliability. Through this evaluation, all first parameter optimization combinations are effectively compared and screened. Based on the first evaluation value, the first parameter optimization combinations are grouped to form a plurality of target parameter combination groups. The grouping process classifies parameter combinations with similar performance into a group based on the similarity of the parameter combinations in performance evaluation. Afterwards, each target parameter combination group is optimized and analyzed to generate a plurality of second parameter optimization combinations, and a more optimized parameter configuration is found within the group. Simulation tests, performance evaluations, and parameter adjustments are provided to ensure that each group can produce a second parameter optimization combination that is improved in a specific performance indicator. Subsequently, the evaluation value of the second parameter optimization combination is calculated, and the second evaluation value of each second parameter optimization combination is obtained by calculation. The evaluation value reflects the actual improvement of the parameter combination in circuit performance after preliminary optimization. Finally, based on the second evaluation value, the final circuit parameter optimization combination is selected through optimization solution. Based on the quantitative evaluation results, and taking into account the actual application requirements and conditional constraints of the circuit design, it is ensured that the selected final parameter combination can not only meet the performance optimization goals, but also adapt to the actual design and manufacturing requirements.
[0037] In the embodiment of the present application, by performing parameter identification and characteristic variable analysis on the Vccin network in the chip circuit, the target G parameter and the target S parameter can be accurately obtained. The target state space model of the chip circuit is constructed by a vector fitting algorithm, and the power consumption analysis and delay timing analysis of the circuit can be efficiently performed. By performing dual-objective optimization on the power consumption characteristics and the delay timing characteristics, the Pareto optimal solution set can be obtained. This means that while meeting the power consumption and timing performance requirements, multiple optimal circuit design schemes can be obtained, providing more choice space and flexibility. According to the Pareto optimal solution set, the circuit parameter optimization combination is generated, and the circuit can be comprehensively optimized based on multiple performance indicators. Analyzing and screening multiple first parameter optimization combinations, and further generating multiple second parameter optimization combinations, the accuracy and diversity of the optimization results are ensured to meet different application scenarios and requirements. By performing curve fitting and feature extraction on the power consumption data and the delay timing data, the performance characteristics of the circuit can be fully understood. Further dual-objective optimization ensures that while improving the circuit performance, the power consumption is effectively reduced, and the coordinated optimization of circuit performance and power consumption is achieved, which meets the core goals of modern circuit design. By processing parameters and performing matrix operations through kernel principal component analysis algorithms and kernel functions, the state space characteristics of the circuit can be described more accurately. Iterative optimization and model parameter updates further improve the stability and prediction accuracy of the model, thereby achieving adaptive optimization of chip circuits and improving the accuracy of parameter optimization design of chip circuits.
[0038] In a specific embodiment, the process of executing step 101 may specifically include the following steps:
[0039] (1) Perform parameter identification on the Vccin network in the chip circuit to obtain the initial G parameters and initial S parameters;
[0040] (2) Perform data cleaning and parameter standardization on the initial G parameters and initial S parameters to obtain standard G parameters and standard S parameters;
[0041] (3) Using the kernel principal component analysis algorithm, the standard G parameters and standard S parameters are transformed into matrices to obtain the initial G parameter matrix and the initial S parameter matrix;
[0042] (4) Performing matrix operations on the initial G parameter matrix and the initial S parameter matrix respectively through the kernel function to obtain the initial G parameter kernel matrix and the initial S parameter kernel matrix;
[0043] (5) Centralize the initial G parameter kernel matrix and the initial S parameter kernel matrix respectively to obtain the target G parameter kernel matrix and the target S parameter kernel matrix;
[0044] (6) performing eigenvalue decomposition on the target G parameter kernel matrix and the target S parameter kernel matrix respectively to obtain the first eigenvalue and the first eigenvector corresponding to the target G parameter kernel matrix and the second eigenvalue and the second eigenvector corresponding to the target S parameter kernel matrix;
[0045] (7) Select the corresponding first principal component according to the size of the first eigenvalue, and map the standard G parameter to the new feature space according to the first principal component to obtain the target G parameter;
[0046] (8) Select the corresponding second principal component according to the size of the second eigenvalue, and map the standard S parameters to the new feature space according to the second principal component to obtain the target S parameters.
[0047] Specifically, first, the parameters of the Vccin network in the chip circuit are identified, and the initial G parameters and S parameters are extracted from the circuit behavior. Then, the initial G parameters and initial S parameters are cleaned and standardized to ensure the accuracy and effectiveness of subsequent analysis. Data cleaning mainly removes outliers or erroneous data, while standardization converts data into a form with a unified dimension and range, so as to obtain more accurate and consistent standard G parameters and standard S parameters. Next, the kernel principal component analysis algorithm is used to process the standardized parameters. The kernel principal component analysis algorithm maps the original data to a high-dimensional feature space, performs principal component analysis in this space, and makes the nonlinearly separable data linearly separable in the high-dimensional space, thereby obtaining a complex nonlinear relationship between the parameters. The initial G parameters and S parameters are converted into the initial G parameter matrix and the initial S parameter matrix through the kernel function. Then, the initial parameter matrix is matrix-operated by the kernel function to generate the initial G parameter kernel matrix and the initial S parameter kernel matrix. The kernel function can represent the data in a higher-dimensional feature space and obtain the intrinsic structure and relationship of the data. Subsequently, in order to obtain more accurate parameter features, the initial kernel matrix is centralized, and the data is adjusted to ensure that the data is centered on the origin in the high-dimensional space. The centralization process is to eliminate the deviation of the data so that the subsequent eigenvalue decomposition can more accurately reflect the essential characteristics of the data, and obtain the target G parameter kernel matrix and the target S parameter kernel matrix. Next, the target G parameter kernel matrix and the target S parameter kernel matrix are subjected to eigenvalue decomposition to extract parameter features and find the eigenvalues and corresponding eigenvectors that best represent the direction of data change in the matrix. The eigenvectors with the largest first eigenvalue and second eigenvalue are selected as the principal components of the G parameters and S parameters, respectively. These eigenvectors represent the main direction of data change and can retain the information of the original data to the greatest extent. Finally, the standard G parameters and standard S parameters are mapped to the new feature space through the selected principal components to obtain the target G parameters and target S parameters. The mapping process is essentially a process of dimensionality reduction, which removes redundancy and noise while retaining the most critical characteristics of the data.
[0048] In a specific embodiment, the process of executing step 102 may specifically include the following steps:
[0049] (1) Analyze the state change trend of the target G parameter to obtain the state change characteristics of the G parameter, and analyze the state change trend of the target S parameter to obtain the state change characteristics of the S parameter;
[0050] (2) Constructing the initial state space model of the chip circuit based on the G parameter state change characteristics and the S parameter state change characteristics;
[0051] (3) performing simulation analysis on the initial state space model, and adjusting the state space model parameters of the initial state space model by using a vector fitting algorithm to obtain the first state space model parameters;
[0052] (4) Iteratively optimizing the first state space model parameters to obtain the second state space model parameters;
[0053] (5) The model parameters of the initial state space model are updated using the second state space model parameters to obtain the target state space model of the chip circuit.
[0054] Specifically, first, the state change trend analysis of the target G parameter and S parameter is performed. The change data of these parameters under different working conditions, such as the response of G parameters and S parameters under temperature changes, power supply voltage fluctuations, etc., are collected and analyzed. Through analysis, the characteristics of the G parameters and S parameters changing with external conditions, that is, the state change trend characteristics, are obtained. For example, if it is found that the G parameter increases linearly with increasing temperature, while the S parameter is insensitive to temperature changes within a specific voltage range, these change trend characteristics will directly affect the direction of subsequent model construction and parameter optimization. Then, according to the state change trend characteristics of the G parameters and S parameters, the initial state space model of the chip circuit is constructed. The state space model is a mathematical tool that can describe the internal state of a system and how it changes from the current state to the next state through input. The initial model captures the impact of the change trend of the G parameters and S parameters on the overall performance of the circuit and forms a mathematical abstract representation. The initial model is usually based on physical laws and circuit theory, combined with the state change trend characteristics to ensure that the model can mathematically reflect the actual behavior of the circuit. Then, the initial state space model is verified and adjusted through simulation analysis. Simulation analysis allows the system to predict the behavior of the circuit without actually building the circuit. Through simulation, the deficiencies of the model are found, such as which parameter changes are not accurately captured by the model. At the same time, the state space model parameters of the initial state space model are adjusted by the vector fitting algorithm. The vector fitting algorithm optimizes the model parameters by minimizing the difference between the model predicted output and the actual output to obtain more accurate first state space model parameters. Next, the first state space model parameters are iteratively optimized. The first state space model parameters are repeatedly adjusted and evaluated, and each iteration is optimized based on the previous results to reduce the difference between the model output and the actual measurement value until the predetermined accuracy requirements are met to obtain the second state space model parameters. Finally, the model parameters of the initial state space model are updated by the second state space model parameters to obtain the target state space model of the chip circuit. For example, when designing a highly sensitive sensor circuit, the target state space model can accurately predict how the power consumption and signal transmission delay of the circuit change under different ambient temperatures, so as to make necessary adjustments to the circuit to ensure that the sensor always maintains optimal performance within its operating range.
[0055] In a specific embodiment, the process of executing step 103 may specifically include the following steps:
[0056] (1) Perform power consumption analysis and delay timing analysis on the chip circuit through the target state space model to obtain power consumption data and delay timing data;
[0057] (2) Perform curve fitting on the power consumption data and the delay timing data respectively to obtain a power consumption curve and a delay timing curve;
[0058] (3) calculating a first mean value and a first standard deviation of the power consumption data, and calculating a second mean value and a second standard deviation of the delay timing data;
[0059] (4) extracting curve features from the power consumption curve using the first mean and the first standard deviation to obtain a power consumption feature;
[0060] (5) Extract the curve features of the delay timing curve through the second mean and the second standard deviation to obtain the delay timing features.
[0061] Specifically, first, the power consumption analysis and delay timing analysis of the chip circuit are performed through the target state space model to capture the performance of the circuit under various operating conditions, and obtain the power consumption data and delay timing data of the circuit at a specific operating point. Subsequently, the power consumption data and delay timing data are curve fitted to understand the trends and patterns behind the data. The curve fitting process uses mathematical methods, such as the least squares method, to find the function model that best represents the data change trend and generate a curve reflecting the changes in power consumption and delay timing. Then, the first mean and first standard deviation of the power consumption data are calculated, and the second mean and second standard deviation of the delay timing data are calculated. The central tendency and dispersion of the data set are quantified, where the mean provides the average level of the data and the standard deviation reflects the dispersion of the data points around the mean. The statistical analysis results help to understand the performance stability and reliability of the circuit under different operating conditions. Next, the curve feature extraction of the power consumption curve is performed through the first mean and the first standard deviation to obtain power consumption features, such as the maximum power consumption, average power consumption, and fluctuation range of power consumption at a specific operating point. Finally, the delay timing curve is analyzed through the second mean and second standard deviation to clarify the average level of circuit response time, the fastest and slowest response time, and the variability of response time. These delay timing characteristics are helpful to evaluate the response efficiency and performance optimization of the circuit.
[0062] In a specific embodiment, the process of executing step 104 may specifically include the following steps:
[0063] (1) Calculating a feature priority sequence between the power consumption feature and the delay timing feature, and mapping the power consumption feature and the delay timing feature to feature vectors according to the feature priority sequence to obtain a power consumption vector and a delay timing vector;
[0064] (2) A dual-objective optimization model between power consumption characteristics and delay timing characteristics is constructed based on the Chebyshev affine algorithm and the adaptive weighted sum method;
[0065] (3) The power consumption vector and the delay timing vector are optimized by the dual-objective optimization model to obtain the Pareto optimal solution set.
[0066] Specifically, first, the feature priority sequence between power consumption features and delay timing features is calculated to evaluate the relative importance of these features in circuit design. For example, in low-power design, power consumption features may be given a higher priority, while in high-performance design, delay timing features may be more important. Through evaluation, a weight is assigned to each feature to form a feature priority sequence. Then, according to the feature priority sequence, feature vector mapping is performed on the power consumption features and delay timing features respectively, and the abstract performance indicators are converted into numerical vectors that can be directly processed in the mathematical optimization model to obtain the power consumption vector and the delay timing vector. Subsequently, a dual-objective optimization model between power consumption features and delay timing features is constructed based on the Chebyshev affine algorithm and the adaptive weighted sum method. The Chebyshev affine algorithm can effectively balance the trade-offs between different objectives in multi-objective optimization and find the optimal solution by minimizing the maximum deviation of the objective function. The adaptive weighted sum method provides a mechanism for dynamically adjusting the weights of each objective to ensure that the relative importance of each objective can be automatically adjusted according to the performance of the current solution during the optimization process, thereby exploring the solution space more flexibly. Finally, the power consumption vector and the delay timing vector are solved by the dual-objective optimization model, and the Pareto frontier is found in the multidimensional space defined by the power consumption vector and the delay timing vector, that is, the solution set where improving one objective will not deteriorate the other objective. The obtained Pareto optimal solution set represents the best feasible trade-off solution in the design.
[0067] In a specific embodiment, the execution step performs a dual-objective optimization solution on the power consumption vector and the delay timing vector through a dual-objective optimization model to obtain a Pareto optimal solution set, which may specifically include the following steps:
[0068] (1) Calculating the vector weights of the power consumption vector and the delay timing vector through the dual-objective optimization model to obtain a first vector weight of the power consumption vector and a second vector weight of the delay timing vector;
[0069] (2) performing vector weighting on the power consumption vector according to the first vector weight to obtain a power weighted vector, and performing vector weighting on the delay timing vector according to the second vector weight to obtain a delay weighted vector;
[0070] (3) Calculate the power-delay product of the power-weighted vector and the delay-weighted vector to obtain a fused feature vector;
[0071] (4) Solve the power and delay balance points of the fused feature vector and obtain the Pareto optimal solution set.
[0072] Specifically, first, the power consumption vector and the delay timing vector are vector weighted by the dual-objective optimization model to identify the importance of power consumption and delay timing relative to each other under given design constraints and goals. Through weight calculation, the relative size of the impact of each performance indicator on the final circuit design is quantified, and the first vector weight and the second vector weight obtained reflect the preference for power consumption and delay timing in the design. Next, the power consumption vector is vector weighted according to the first vector weight to obtain a power weighted vector, and the delay timing vector is vector weighted according to the second vector weight to obtain a delay weighted vector. By assigning each vector with its corresponding weight, quantitative adjustment of the design goal is achieved, so that the optimization process can flexibly favor power efficiency or response speed according to different design requirements. For example, if power efficiency is considered more important, the power consumption vector will be assigned a higher weight. Subsequently, the power-delay product is calculated for the power-weighted vector and the delay-weighted vector to obtain a fused feature vector. The fused feature vector comprehensively considers the performance of both power consumption and delay timing to find the best balance between the two design goals. Finally, the fused feature vector is optimized to find the best balance between power and delay and identify the Pareto optimal solution set. The Pareto optimal solution set represents multiple solutions that cannot improve one goal without sacrificing another goal in a given design space. By identifying this solution set, a feasible range of design options is obtained, and the most appropriate circuit design solution is selected based on actual application requirements and performance goals.
[0073] In a specific embodiment, the process of executing step 105 may specifically include the following steps:
[0074] (1) Generate multiple corresponding first parameter optimization combinations according to the Pareto optimal solution set;
[0075] (2) calculating the first evaluation value of each first parameter optimization combination respectively, and grouping the plurality of first parameter optimization combinations into parameter combination groups according to the first evaluation values to obtain a plurality of target parameter combination groups;
[0076] (3) Optimizing and analyzing each target parameter combination group separately to generate multiple second parameter optimization combinations;
[0077] (4) Calculating evaluation values for multiple second parameter optimization combinations to obtain a second evaluation value for each second parameter optimization combination;
[0078] (5) Optimizing the plurality of second parameter optimization combinations according to the second evaluation values to generate a circuit parameter optimization combination of the chip circuit.
[0079] Specifically, first, multiple corresponding first parameter optimization combinations are generated according to the Pareto optimal solution set. The first parameter optimization combination represents the best performance balance point that can be achieved when all design goals are considered. For example, for a chip circuit that needs to optimize power consumption and signal processing speed at the same time, the Pareto optimal solution set will contain solutions for different power consumption and processing speed combinations, each of which reflects a possible best compromise between the two goals. Next, the first parameter optimization combinations are evaluated and grouped. By calculating the first evaluation value of each combination, these combinations are quantitatively compared. The first evaluation value may be based on a variety of factors, such as cost, implementation difficulty, performance stability, etc. Then, based on these evaluation values, the parameter combinations are grouped to form several target parameter combination groups, each of which has similar performance characteristics and design goals. Next, each target parameter combination group is optimized and analyzed, and the parameter settings within each group are refined and adjusted to generate a more accurate second parameter optimization combination. The specific performance requirements and design constraints of each group are analyzed, and the further optimization space under the given design goal framework is explored by adjusting the parameter values. Subsequently, the second evaluation value is calculated for the second parameter optimization combination to identify which of all the considered design adjustments have the highest performance. Finally, the second parameter optimization combination is optimized based on the second evaluation value to determine the final circuit design parameters. The solution with the best performance and the best fit for the design goal is selected from all the considered parameter combinations.
[0080] The above describes the parameter optimization design method of the chip circuit in the embodiment of the present application. The following describes the parameter optimization design system of the chip circuit in the embodiment of the present application. Figure 2 In one embodiment of the present application, a parameter optimization design system for a chip circuit includes:
[0081] Identification module 201, used to perform parameter identification and characteristic variable analysis on the Vccin network in the chip circuit to obtain target G parameters and target S parameters;
[0082] A construction module 202 is used to construct a target state space model of the chip circuit according to the target G parameter and the target S parameter by using a vector fitting algorithm;
[0083] An analysis module 203 is used to perform power consumption analysis and delay timing analysis on the chip circuit through a target state space model to obtain power consumption characteristics and delay timing characteristics;
[0084] An optimization module 204 is used to perform dual-objective optimization on the chip circuit according to the power consumption characteristics and the delay timing characteristics to obtain a Pareto optimal solution set;
[0085] The generation module 205 is used to generate an optimized combination of circuit parameters of the chip circuit according to the Pareto optimal solution set.
[0086] Through the cooperation of the above components, the target G parameters and target S parameters can be accurately obtained by parameter identification and characteristic variable analysis of the Vccin network in the chip circuit. The target state space model of the chip circuit is constructed by the vector fitting algorithm, which can efficiently analyze the power consumption and delay timing of the circuit. By performing dual-objective optimization on the power consumption characteristics and delay timing characteristics, the Pareto optimal solution set can be obtained. This means that while meeting the power consumption and timing performance requirements, multiple optimal circuit design schemes can be obtained, providing more choice space and flexibility. According to the Pareto optimal solution set, the circuit parameter optimization combination is generated, and the circuit can be comprehensively optimized based on multiple performance indicators. Analyzing and screening multiple first parameter optimization combinations, and further generating multiple second parameter optimization combinations, the accuracy and diversity of the optimization results are ensured to meet different application scenarios and requirements. By performing curve fitting and feature extraction on the power consumption data and delay timing data, the performance characteristics of the circuit can be fully understood. Further dual-objective optimization ensures that while improving the circuit performance, the power consumption is effectively reduced, and the coordinated optimization of circuit performance and power consumption is achieved, which meets the core goal of modern circuit design. By processing parameters and performing matrix operations through kernel principal component analysis algorithms and kernel functions, the state space characteristics of the circuit can be described more accurately. Iterative optimization and model parameter updates further improve the stability and prediction accuracy of the model, thereby achieving adaptive optimization of chip circuits and improving the accuracy of parameter optimization design of chip circuits.
[0087] The present application also provides a computer device, which includes a memory and a processor, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the processor executes the steps of the parameter optimization design method of the chip circuit in the above-mentioned embodiments.
[0088] The present application also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the chip circuit parameter optimization design method.
[0089] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described systems, systems and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0090] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store program codes.
[0091] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A parameter optimization design method for a chip circuit, characterized in that: The parameter optimization design method of the chip circuit includes: Perform parameter identification and characteristic variable analysis on the Vccin network in the chip circuit to obtain the target G parameter and target S parameter; A vector fitting algorithm is used to construct a target state space model of the chip circuit according to the target G parameter and the target S parameter; specifically comprising: performing a state change trend analysis on the target G parameter to obtain a G parameter state change characteristic, and performing a state change trend analysis on the target S parameter to obtain an S parameter state change characteristic; constructing an initial state space model of the chip circuit according to the G parameter state change characteristic and the S parameter state change characteristic; performing simulation analysis on the initial state space model, and adjusting the state space model parameters of the initial state space model by a vector fitting algorithm to obtain first state space model parameters; iteratively optimizing the first state space model parameters to obtain second state space model parameters; updating the model parameters of the initial state space model by the second state space model parameters to obtain a target state space model of the chip circuit; The power consumption analysis and delay timing analysis of the chip circuit are performed through the target state space model to obtain power consumption characteristics and delay timing characteristics; specifically including: performing power consumption analysis and delay timing analysis on the chip circuit through the target state space model to obtain power consumption data and delay timing data; performing curve fitting on the power consumption data and the delay timing data respectively to obtain a power consumption curve and a delay timing curve; calculating a first mean and a first standard deviation of the power consumption data, and calculating a second mean and a second standard deviation of the delay timing data; performing curve feature extraction on the power consumption curve through the first mean and the first standard deviation to obtain power consumption characteristics; performing curve feature extraction on the delay timing curve through the second mean and the second standard deviation to obtain delay timing characteristics; The chip circuit is subjected to dual-objective optimization according to the power consumption characteristics and the delay timing characteristics to obtain a Pareto optimal solution set; specifically comprising: calculating a feature priority sequence between the power consumption characteristics and the delay timing characteristics, and performing feature vector mapping on the power consumption characteristics and the delay timing characteristics respectively according to the feature priority sequence to obtain a power consumption vector and a delay timing vector; constructing a dual-objective optimization model between the power consumption characteristics and the delay timing characteristics based on a Chebyshev affine algorithm and an adaptive weighted sum method; performing dual-objective optimization on the power consumption vector and the delay timing vector through the dual-objective optimization model to obtain a Pareto optimal solution set; An optimized combination of circuit parameters of the chip circuit is generated according to the Pareto optimal solution set.
2. The parameter optimization design method of chip circuit according to claim 1, characterized in that: The method of performing parameter identification and characteristic variable analysis on the Vccin network in the chip circuit to obtain target G parameters and target S parameters includes: Perform parameter identification on the Vccin network in the chip circuit to obtain initial G parameters and initial S parameters; Performing data cleaning and parameter standardization processing on the initial G parameters and the initial S parameters to obtain standard G parameters and standard S parameters; By using a kernel principal component analysis algorithm, matrix conversion is performed on the standard G parameters and the standard S parameters respectively to obtain an initial G parameter matrix and an initial S parameter matrix; Performing matrix operations on the initial G parameter matrix and the initial S parameter matrix respectively through a kernel function to obtain an initial G parameter kernel matrix and an initial S parameter kernel matrix; Centralizing the initial G parameter kernel matrix and the initial S parameter kernel matrix respectively to obtain a target G parameter kernel matrix and a target S parameter kernel matrix; Performing eigenvalue decomposition on the target G parameter kernel matrix and the target S parameter kernel matrix respectively to obtain a first eigenvalue and a first eigenvector corresponding to the target G parameter kernel matrix and a second eigenvalue and a second eigenvector corresponding to the target S parameter kernel matrix; Selecting a corresponding first principal component according to the size of the first eigenvalue, and mapping the standard G parameter to a new eigenspace according to the first principal component to obtain a target G parameter; A corresponding second principal component is selected according to the size of the second eigenvalue, and the standard S parameter is mapped to a new eigenspace according to the second principal component to obtain a target S parameter.
3. The parameter optimization design method of chip circuit according to claim 1, characterized in that: The dual-objective optimization model is used to perform dual-objective optimization on the power consumption vector and the delay timing vector to obtain a Pareto optimal solution set, including: Performing vector weight calculation on the power consumption vector and the delay timing vector by using the dual-objective optimization model to obtain a first vector weight of the power consumption vector and a second vector weight of the delay timing vector; Performing vector weighting on the power consumption vector according to the first vector weight to obtain a power weighted vector, and performing vector weighting on the delay timing vector according to the second vector weight to obtain a delay weighted vector; Performing power-delay product calculation on the power-weighted vector and the delay-weighted vector to obtain a fused feature vector; The power and delay balance points of the fused feature vector are solved to obtain a Pareto optimal solution set.
4. The parameter optimization design method for chip circuit according to claim 1, characterized in that: Generating an optimized combination of circuit parameters of the chip circuit according to the Pareto optimal solution set includes: Generate a plurality of corresponding first parameter optimization combinations according to the Pareto optimal solution set; Calculating a first evaluation value of each first parameter optimization combination respectively, and grouping the plurality of first parameter optimization combinations into parameter combinations according to the first evaluation values to obtain a plurality of target parameter combination groups; Perform optimization analysis on each target parameter combination group respectively to generate multiple second parameter optimization combinations; Calculating evaluation values for the plurality of second parameter optimization combinations to obtain a second evaluation value for each second parameter optimization combination; The plurality of second parameter optimization combinations are optimized according to the second evaluation value to generate a circuit parameter optimization combination of the chip circuit.
5. A chip circuit parameter optimization design system, characterized in that: The parameter optimization design system of the chip circuit includes: The identification module is used to perform parameter identification and characteristic variable analysis on the Vccin network in the chip circuit to obtain the target G parameter and target S parameter; A construction module is used to construct a target state space model of the chip circuit according to the target G parameter and the target S parameter using a vector fitting algorithm; specifically comprising: performing a state change trend analysis on the target G parameter to obtain a G parameter state change characteristic, and performing a state change trend analysis on the target S parameter to obtain an S parameter state change characteristic; constructing an initial state space model of the chip circuit according to the G parameter state change characteristic and the S parameter state change characteristic; performing simulation analysis on the initial state space model, and adjusting the state space model parameters of the initial state space model using a vector fitting algorithm to obtain a first state space model parameter; iteratively optimizing the first state space model parameters to obtain a second state space model parameter; updating the model parameters of the initial state space model using the second state space model parameters to obtain a target state space model of the chip circuit; An analysis module is used to perform power consumption analysis and delay timing analysis on the chip circuit through the target state space model to obtain power consumption characteristics and delay timing characteristics; specifically including: performing power consumption analysis and delay timing analysis on the chip circuit through the target state space model to obtain power consumption data and delay timing data; performing curve fitting on the power consumption data and the delay timing data respectively to obtain a power consumption curve and a delay timing curve; calculating a first mean and a first standard deviation of the power consumption data, and calculating a second mean and a second standard deviation of the delay timing data; performing curve feature extraction on the power consumption curve through the first mean and the first standard deviation to obtain power consumption characteristics; performing curve feature extraction on the delay timing curve through the second mean and the second standard deviation to obtain delay timing characteristics; An optimization module is used to perform dual-objective optimization on the chip circuit according to the power consumption characteristics and the delay timing characteristics to obtain a Pareto optimal solution set; specifically comprising: calculating a feature priority sequence between the power consumption characteristics and the delay timing characteristics, and performing feature vector mapping on the power consumption characteristics and the delay timing characteristics according to the feature priority sequence to obtain a power consumption vector and a delay timing vector; constructing a dual-objective optimization model between the power consumption characteristics and the delay timing characteristics based on a Chebyshev affine algorithm and an adaptive weighted sum method; performing dual-objective optimization on the power consumption vector and the delay timing vector through the dual-objective optimization model to obtain a Pareto optimal solution set; A generation module is used to generate an optimized combination of circuit parameters of the chip circuit according to the Pareto optimal solution set.
6. A computer device, characterized in that: The computer device comprises: a memory and at least one processor, wherein instructions are stored in the memory; The at least one processor calls the instructions in the memory so that the computer device executes the parameter optimization design method for the chip circuit according to any one of claims 1 to 4.
7. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions are executed by the processor, the parameter optimization design method of the chip circuit according to any one of claims 1 to 4 is implemented.
