A method for accelerating integrated circuit testing using GPU

By constructing a two-way coupling simulation model of electromagnetic fields and thermal fields in integrated circuit testing, and using parallel computing and deep learning algorithms, the problems of low simulation efficiency and insufficient accuracy in the existing technology are solved, and fast and highly accurate integrated circuits are achieved. Simulation and optimization.

CN118569162BActive Publication Date: 2024-10-01弘润半导体(苏州)有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411050832.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-01
Publication Date
2024-10-01
Estimated Expiration
2044-08-01

AI Technical Summary

Technical Problem

Due to the lack of effective data interfaces and synchronization mechanisms, existing integrated circuit testing methods cannot reflect in real time the dynamic interaction process in which thermal effects and temperature changes caused by changes in the electromagnetic field react on electromagnetic characteristics, resulting in deviations between simulation results and actual conditions, and traditional serial testing methods Line calculation methods are difficult to meet the needs of fast simulation.

Method used

By importing the CAD files of the integrated circuit design into the electromagnetic field simulation software HFSS and the thermal field simulation software Icepak, a two-way coupling simulation model of the electromagnetic field and the thermal field is constructed. The parallel computing platform CUDA is used for task decomposition and parallel execution, and deep learning algorithms are deployed to automatically optimize the simulation. Parameters to achieve real-time parallel calculation and parameter adjustment of electromagnetic fields and thermal fields.

Benefits of technology

It improves simulation efficiency and accuracy, reduces the cost and time of physical prototyping and testing, avoids errors caused by human factors, achieves tight integration of electromagnetic and thermal effects, and improves the reliability and performance of integrated circuit design.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118569162B_ABST
    Figure CN118569162B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for accelerating integrated circuit testing using a GPU, which relates to the technical field of electronic equipment, including: by importing a CAD file of integrated circuit design into HFSS and Icepak, a seamless conversion from a design drawing to a simulation environment is realized, a simulation model of an electromagnetic field and a thermal field is constructed, the cost and time of physical prototyping and testing are reduced, CUDA technology is used to identify parallelized parts in simulation tasks, and tasks are decomposed and executed in parallel, thereby speeding up simulation calculations, a deep learning algorithm is deployed to automatically optimize simulation parameters, errors caused by human factors are avoided, a bidirectional coupling simulation project of an electromagnetic field and a thermal field is created, the calculation of the two fields is executed in real time and in parallel, and a close integration of electromagnetic and thermal effects is realized at the simulation level.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electronic equipment, and in particular to a method for accelerating integrated circuit testing by using a GPU. Background Art

[0002] With the rapid development of information technology, integrated circuits have become the core components of modern electronic devices. The complexity of their design and performance requirements are increasing day by day. In order to ensure the stability and reliability of integrated circuits in practical applications, accurate testing and verification have become an indispensable part. Due to the lack of effective data interface and synchronization mechanism, the existing testing methods usually perform simulations independently of the electromagnetic field simulation software HFSS and the thermal field simulation software Icepak, which cannot reflect the dynamic interaction process of the thermal effects and temperature changes caused by electromagnetic field changes on electromagnetic characteristics in real time. This separate simulation method often leads to deviations between the predicted results and the actual situation, reducing the accuracy of design verification. With the continuous expansion of the scale of integrated circuits, the computational complexity of simulation tasks has increased dramatically, and traditional serial calculation methods have been difficult to meet the needs of fast simulation. Summary of the invention

[0003] In view of the above existing problems, the present invention is proposed.

[0004] Therefore, the present invention provides a method for accelerating integrated circuit testing using a GPU to solve the problems of low simulation efficiency, insufficient accuracy, and manual reliance on parameter optimization.

[0005] In order to solve the above technical problems, the present invention provides the following technical solutions:

[0006] In a first aspect, an embodiment of the present invention provides a method for accelerating integrated circuit testing using a GPU, which comprises:

[0007] The computer-aided design (CAD) file of the integrated circuit design is imported into the electromagnetic field simulation software HFSS and the thermal field simulation software Icepak, and the electromagnetic field and thermal field simulation models are respectively constructed in the electromagnetic field simulation software HFSS and the thermal field simulation software Icepak and preliminary simulation is performed;

[0008] Use the parallel computing platform CUDA to identify the parallelizable parts of the preliminary simulation, decompose the tasks and implement parallel strategies;

[0009] Deploy deep learning algorithms to automatically optimize simulation parameters and predict the best simulation state for the next stage;

[0010] Create a bidirectional coupling simulation project of electromagnetic field and thermal field, perform electromagnetic field and thermal field simulation calculations in real time and in parallel, analyze the difference between the coupling solution and the predicted result and make adjustment decisions.

[0011] As a preferred solution of the method of using GPU to accelerate integrated circuit testing of the present invention, wherein: the computer-aided design CAD file includes a circuit layout diagram, a material type and property table, and a power and signal source configuration;

[0012] Material types include the dielectric constant and electrical conductivity for electromagnetic properties, and the thermal conductivity, specific heat capacity, and material density for thermal properties.

[0013] As a preferred solution of the method of using GPU to accelerate integrated circuit testing described in the present invention, wherein: establishing an electromagnetic field model and performing preliminary simulation refers to importing a computer-aided design CAD file into the electromagnetic field simulation software HFSS, converting the circuit layout into a three-dimensional geometric model, applying the corresponding properties in the material library to each component, setting radiation boundary conditions, configuring power and signal sources, simulating the actual working state, and using Maxwell's equations to describe the electromagnetic field distribution, the expression is:

[0014]

[0015] in, is the curl of the vector field, E is the electric field strength, is the partial derivative, B is the magnetic induction intensity, t is the time variable, H is the magnetic field intensity, J is the current density, D is the electric displacement, is the charge density;

[0016] Based on the solution of Maxwell's equations, the loss power density in the electromagnetic field is calculated through simulation results, and this part of power is converted into heat source density. The expression is:

[0017]

[0018] Where Q is the heat source density, I is the current, R is the resistivity, is the conductivity.

[0019] As a preferred solution of the method of using GPU to accelerate integrated circuit testing described in the present invention, wherein: establishing a thermal field model and performing preliminary simulation means extracting the power loss data of each component in the circuit as a heat source based on the electromagnetic field simulation results, accurately placing the heat source at the corresponding component position in the heat source editing interface, setting the natural convection boundary condition and applying the heat conduction equation to calculate the thermal field distribution, the expression is:

[0020]

[0021] Where k is thermal conductivity and T is temperature;

[0022] The electromagnetic field simulation results were derived from the electromagnetic field simulation software HFSS, and the Maxwell equations were solved. The power loss density in the electromagnetic field was calculated through the simulation results, and the power loss was converted into heat energy and then quantified as a heat source and added to the heat conduction equation.

[0023] In the heat conduction module, the heat source item is updated according to the calculated heat source distribution, and the temperature distribution is calculated according to the thermal field simulation results;

[0024] Adjust the temperature-dependent parameters of the material, feed the updated material properties back to the electromagnetic module of the electromagnetic field simulation software HFSS, re-solve the electromagnetic field simulation, and form a dynamic preliminary simulation cycle.

[0025] As a preferred solution of the method of using GPU to accelerate integrated circuit testing of the present invention, wherein: using the parallel computing platform CUDA to identify the parallelizable parts of the preliminary simulation, decomposing the tasks and executing the parallel strategy refers to identifying the features of the specific tasks of electromagnetic field and thermal field simulation, and evaluating which parts are easy to parallelize and writing the parallel computing platform CUDA code according to the features of the simulation tasks, as follows:

[0026] Clarify the goals of the simulation tasks, identify the electromagnetic field and thermal field simulation tasks that are computationally independent and can be divided, and subdivide the entire simulation process into multiple small tasks;

[0027] For each decomposed task, evaluate whether it is suitable for parallel processing and formulate a strategy;

[0028] Based on the formulated strategy, the code is written using the parallel computing platform CUDA programming language to achieve parallel data loading, task allocation, calculation and result merging;

[0029] Use the stream function of the parallel computing platform CUDA to arrange the execution order of parallel tasks;

[0030] Collect the results of each task after parallel processing, and perform data aggregation and result fusion;

[0031] Compare the simulation efficiency and accuracy before and after parallelization, and adjust the parallel strategy according to the evaluation results to achieve the optimal simulation performance.

[0032] As a preferred solution of the method of using GPU to accelerate integrated circuit testing described in the present invention, wherein: deploying a deep learning algorithm to automatically optimize simulation parameters and predicting the optimal simulation state in the next stage includes:

[0033] Arrange the simulation data and normalize them;

[0034] Choose deep neural network as the basic architecture, combine it with task requirements, and integrate long short-term memory units into the fully connected layer to adapt to parameter adjustment requirements according to task requirements;

[0035] Enable the parallel computing platform CUDA to train the model in batches, monitor the loss and accuracy changes, and regularly save the optimal model and deploy it to the simulation system to ensure seamless connection with the simulation engine;

[0036] Design a real-time data interface to capture data streams from the simulation system in real time. The model analyzes the received simulation status data in real time, automatically optimizes simulation parameters based on the current simulation status, evaluates the adjusted simulation parameters in real time, and predicts the optimal simulation status for the next stage.

[0037] As a preferred solution of the method of using GPU to accelerate integrated circuit testing described in the present invention, wherein: creating a bidirectional coupling simulation project of electromagnetic field and thermal field, and performing the simulation calculation of electromagnetic field and thermal field in real time and in parallel means using multi-physics field simulation software ANSYS to perform bidirectional coupling simulation of electromagnetic field and thermal field, defining interface variables and setting bidirectional transmission rules on the coupling platform, and defining transmission frequency, data format and synchronization strategy;

[0038] Based on the coupled simulation requirements of the electromagnetic field simulation software HFSS and the thermal field simulation software Icepak, the tasks are subdivided into independent computing units, the parallel computing platform CUDA is used to parallel optimize the simulation code, set reasonable parallel execution unit Block and Grid sizes, and use the parallel computing platform management mechanism CUDA Streams instructions to manage parallel tasks.

[0039] As a preferred solution of the method of using GPU to accelerate integrated circuit testing of the present invention, wherein: analyzing the difference between the coupling solution and the prediction result to make an adjustment decision refers to collecting coupling simulation results in real time, including distribution diagrams of electromagnetic fields and thermal fields, and key performance indicators;

[0040] Compare the coupled simulation results with the independent simulation results, using the plotting library Matplotlib to highlight the differences, and compare the coupled simulation results with the next stage simulation state predicted by the deep learning model;

[0041] Identify the sources of deviation between predictions and actual results, and dynamically adjust simulation parameters based on the difference analysis results.

[0042] In a second aspect, an embodiment of the present invention provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, wherein: when the computer program is executed by the processor, any step of the method of using a GPU to accelerate integrated circuit testing as described in the first aspect of the present invention is implemented.

[0043] In a third aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein: when the computer program is executed by a processor, any step of the method of using a GPU to accelerate integrated circuit testing as described in the first aspect of the present invention is implemented.

[0044] The beneficial effects of the present invention are as follows: by importing the computer-aided design CAD file of integrated circuit design into the electromagnetic field simulation software HFSS and the thermal field simulation software Icepak, a seamless conversion from design drawings to simulation environments is achieved, simulation models of electromagnetic fields and thermal fields are constructed, and the cost and time of physical prototyping and testing are reduced. The parallel computing platform CUDA technology is used to identify the parallelized parts in the simulation tasks, and the tasks are decomposed and executed in parallel, which speeds up the simulation calculations. A deep learning algorithm is deployed to automatically optimize the simulation parameters, which avoids errors caused by human factors. A bidirectional coupling simulation project of electromagnetic fields and thermal fields is created, and the calculations of the two fields are executed in real time and in parallel, thereby realizing a close integration of electromagnetic and thermal effects at the simulation level. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] 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 only 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.

[0046] Figure 1 This is a flow chart of the method for accelerating integrated circuit testing using a GPU in Example 1.

[0047] Figure 2 This is a simulation feature diagram that is easy to parallelize in Example 1. DETAILED DESCRIPTION

[0048] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the accompanying drawings.

[0049] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.

[0050] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments.

[0051] Example 1, reference Figure 1 and Figure 2 , which is the first embodiment of the present invention, provides a method for accelerating integrated circuit testing using a GPU, comprising the following steps:

[0052] S1. Import the computer-aided design (CAD) file of the integrated circuit design into the electromagnetic field simulation software HFSS and the thermal field simulation software Icepak, respectively construct the electromagnetic field and thermal field simulation models in the electromagnetic field simulation software HFSS and the thermal field simulation software Icepak, and perform preliminary simulation;

[0053] Use the parallel computing platform CUDA to identify the parallelizable parts of the preliminary simulation, decompose the tasks and implement parallel strategies;

[0054] Deploy deep learning algorithms to automatically optimize simulation parameters and predict the best simulation state for the next stage;

[0055] Create a bidirectional coupling simulation project of electromagnetic field and thermal field, perform electromagnetic field and thermal field simulation calculations in real time and in parallel, analyze the difference between the coupling solution and the predicted result and make adjustment decisions.

[0056] S2, computer-aided design CAD files including circuit layout diagram, material type and property table, power supply and signal source configuration;

[0057] Material types include the dielectric constant and electrical conductivity for electromagnetic properties, and the thermal conductivity, specific heat capacity, and material density for thermal properties.

[0058] S3. Establishing an electromagnetic field model and conducting preliminary simulation refers to importing the computer-aided design CAD file into the electromagnetic field simulation software HFSS, converting the circuit layout into a three-dimensional geometric model, applying the corresponding properties in the material library to each component, setting radiation boundary conditions, configuring power and signal sources, simulating the actual working state, and using Maxwell's equations to describe the electromagnetic field distribution. The expression is:

[0059]

[0060] in, is the curl of the vector field, which represents the net number of electric field lines passing out or flowing in per unit area, E is the electric field strength, is the partial derivative, B is the magnetic induction intensity, t is the time variable, H is the magnetic field intensity, J is the current density, and D is the electric displacement, which describes the influence of the electric field in the medium. is the charge density, which represents the amount of charge per unit volume;

[0061] Furthermore, based on the solution of Maxwell's equations, the loss power density in the electromagnetic field is calculated through simulation results, and this part of power is converted into heat source density, which is expressed as:

[0062]

[0063] Among them, Q is the heat source density, which represents the heat energy density generated per unit volume, I is the current, R is the resistivity, is the conductivity.

[0064] It should be noted that by importing the computer-aided design CAD file into the electromagnetic field simulation software HFSS and building a three-dimensional electromagnetic field model, a direct conversion from the design drawing to the simulation model is achieved. This process greatly simplifies the complexity of model establishment and shortens the preparation time. Through the construction of the three-dimensional geometric model, the actual layout of the circuit can be simulated more accurately to ensure the accuracy and authenticity of the simulation results;

[0065] Applying material library properties and setting boundary conditions ensures that the simulation model can reflect the electromagnetic properties of real materials and the electromagnetic response of circuits in specific working environments. The setting of radiation boundary conditions simulates the propagation of electromagnetic waves in free space, making the simulation environment closer to the actual working scene, thereby improving the effectiveness and applicability of the simulation results.

[0066] Maxwell's equations are used to describe the electromagnetic field distribution. Based on the cornerstone of classical electromagnetic theory, key electromagnetic field parameters are accurately calculated through analytical expressions, providing a solid theoretical foundation for subsequent simulation analysis.

[0067] The power loss density in the electromagnetic field is calculated and converted into an expression for the heat source density, and the electromagnetic field simulation results are directly linked to the thermal field analysis, realizing the first step of electromagnetic-thermal coupling. This process reveals the thermal effects caused by electromagnetic losses in the circuit and provides key data for subsequent thermal management design. This direct conversion of power loss to heat source density ensures the input accuracy of the thermal simulation model, thereby promoting the optimization of thermal design, preventing performance degradation or device damage due to overheating, and improving the reliability and life of integrated circuits.

[0068] S4. Establishing a thermal field model and conducting preliminary simulations means extracting the power loss data of each component in the circuit as a heat source based on the electromagnetic field simulation results. In the heat source editing interface, accurately place the heat source at the corresponding component position, set the natural convection boundary conditions, and apply the heat conduction equation to calculate the thermal field distribution. The expression is:

[0069]

[0070] Where k is thermal conductivity, which represents the amount of heat transferred per unit area per unit time under unit temperature difference for a material of unit thickness, and T is temperature;

[0071] Furthermore, the electromagnetic field simulation results are derived from the electromagnetic field simulation software HFSS, and the loss power density in the electromagnetic field is calculated based on the solution of Maxwell's equations. The loss power is converted into heat energy and quantified as a heat source to be added to the heat conduction equation;

[0072] In the heat conduction module, the heat source item is updated according to the calculated heat source distribution, and the temperature distribution is calculated according to the thermal field simulation results;

[0073] Adjust the temperature-dependent parameters of the material, feed the updated material properties back to the electromagnetic module of the electromagnetic field simulation software HFSS, re-solve the electromagnetic field simulation, and form a dynamic preliminary simulation cycle.

[0074] It should be noted that by extracting the power loss data of each component in the circuit as a heat source based on the electromagnetic field simulation results, the electromagnetic simulation is directly linked to the thermal simulation, ensuring the physical accuracy of the simulation process;

[0075] By quantifying electromagnetic losses and treating them as heat sources, the subsequent thermal analysis can be provided with thermal load information under actual working conditions, making thermal simulation closer to the real situation and helping to discover and solve potential thermal management problems in advance.

[0076] The heat source can be precisely placed and natural convection boundary conditions can be set in the heat source editing interface, which improves the refinement of the simulation model.

[0077] Precise placement of heat sources ensures the local accuracy of heat flow analysis and can accurately reflect the impact of heating of each component on the surrounding environment;

[0078] The setting of natural convection conditions makes the simulation more consistent with the actual cooling mechanism, which helps to optimize the heat dissipation design and facilitates designers to evaluate and optimize the thermal design of the circuit to ensure long-term stable operation.

[0079] Applying the heat conduction equation to calculate the thermal field distribution realizes the accurate simulation of the heat flow distribution on the circuit board, making the thermal management analysis more scientific, being able to predict and visualize the thermal field distribution, providing an intuitive basis for thermal design, helping designers to quickly identify hot spots and take effective measures to improve the overall thermal stability of the system;

[0080] In the heat conduction module, the heat source item is updated according to the calculated heat source distribution, and the temperature distribution is calculated, ensuring the dynamic matching of thermal simulation with the actual situation;

[0081] By dynamically adjusting the heat source term, the change of heat source over time is simulated, and the calculation of temperature distribution directly reflects the effect of thermal design and provides direct feedback for optimization;

[0082] Combined with the adjustment of material temperature-dependent parameters and the feedback of updated material properties to the electromagnetic module of the electromagnetic field simulation software HFSS, the coupled simulation of electromagnetic and thermal fields is achieved, which improves the accuracy of simulation predictions and ultimately achieves the goal of optimizing integrated circuit design and improving system reliability and performance.

[0083] S5. Using the parallel computing platform CUDA to identify the parallelizable parts of the preliminary simulation, decompose the tasks and implement the parallel strategy refers to identifying the characteristics of the specific tasks of electromagnetic field and thermal field simulation, evaluating which parts are easy to parallelize and writing the parallel computing platform CUDA code according to the characteristics of the simulation tasks, as follows:

[0084] Clarify the goals of the simulation tasks, identify the electromagnetic field and thermal field simulation tasks that are computationally independent and can be divided, and subdivide the entire simulation process into multiple small tasks;

[0085] For each decomposed task, evaluate whether it is suitable for parallel processing and formulate a strategy;

[0086] Based on the formulated strategy, the code is written using the parallel computing platform CUDA programming language to achieve parallel data loading, task allocation, calculation and result merging;

[0087] Use the stream function of the parallel computing platform CUDA to arrange the execution order of parallel tasks;

[0088] Collect the results of each task after parallel processing, and perform data aggregation and result fusion;

[0089] Compare the simulation efficiency and accuracy before and after parallelization, and adjust the parallel strategy according to the evaluation results to achieve the optimal simulation performance.

[0090] Furthermore, identifying electromagnetic field and thermal field simulation tasks that are computationally independent and can be divided means clarifying each calculation step by drawing a simulation flow chart, data flow diagram or dependency diagram, identifying which steps can be executed independently, analyzing the dependencies between tasks, and finding tasks that have no or weak dependencies.

[0091] Furthermore, electromagnetic and thermal simulations are computationally independent and can be split into tasks including:

[0092] Independence in time series: If the simulation involves multiple time steps, split the simulation time series into independent tasks, write code to create parallel tasks for each time step, and assign them to different GPU cores;

[0093] Spatial dimension segmentation: For complex circuit boards, the code implements the circuit segmentation logic based on spatial distribution, generates independent computing tasks for each area, and reasonably allocates GPU resources;

[0094] Parallel processing of spectrum range: For spectrum analysis, the spectrum range is divided into different frequency bands, and algorithms are designed to process each frequency band separately in parallel;

[0095] Separation of physical fields: The electromagnetic field and thermal field calculations are separated. Due to their respective physical characteristics, the parallel computing platform CUDA multi-core parallel processing is used to optimize memory usage.

[0096] Furthermore, the criteria for evaluating suitability for parallel processing and formulating strategies refer to determining whether there is data dependency between tasks, analyzing the computational complexity of tasks, prioritizing parallelization of tasks that are computationally intensive and time-consuming, evaluating the data communication costs brought by parallelization, reducing the total execution time after parallelization, and considering the scalability of parallel strategies on hardware resources of different scales.

[0097] It should be noted that this strategy greatly speeds up the computation of simulation time series by splitting the simulation process involving multiple time steps into independent tasks and creating parallel tasks for each time step and assigning them to different GPU cores;

[0098] For complex circuit boards, the circuit is divided into multiple areas through spatial distribution logic, independent computing tasks are generated for each area, and GPU resources are reasonably allocated, which effectively solves the computing bottleneck in large-scale circuit design, improves the utilization of computing resources, and avoids computing delays caused by a single complex area.

[0099] In spectrum analysis, this method optimizes the efficiency of frequency domain simulation by dividing the wide frequency band into multiple frequency segments and performing separate parallel processing on each frequency segment;

[0100] The calculation of electromagnetic field and thermal field is separated, and the multi-core parallel processing capability of the parallel computing platform CUDA is utilized to optimize them according to their different physical characteristics, which not only improves the computing efficiency but also optimizes the memory usage.

[0101] S6. Deploy deep learning algorithms to automatically optimize simulation parameters and predict the best simulation state for the next stage, including:

[0102] Arrange the simulation data and normalize them;

[0103] Choose a deep neural network as the basic architecture, combine it with the task requirements, and use a fully connected layer with stronger long and short-term memory capabilities to adapt to parameter adjustment requirements;

[0104] Enable the parallel computing platform CUDA to train the model in batches, monitor the loss and accuracy changes, and regularly save the optimal model and deploy it to the simulation system to ensure seamless connection with the simulation engine;

[0105] Design a real-time data interface to capture data streams from the simulation system in real time. The model analyzes the received simulation status data in real time, automatically optimizes simulation parameters based on the current simulation status, evaluates the adjusted simulation parameters in real time, and predicts the optimal simulation status for the next stage.

[0106] Furthermore, in combination with task requirements, the fully connected layer with stronger long and short-term memory capacity is used to adapt to parameter adjustment requirements, including:

[0107] Collect data from previous simulation runs, including input parameters, intermediate states, and final results, and analyze the specific requirements of the simulation tasks;

[0108] Build a fully connected network model of the LSTM network, integrate the features extracted by the LSTM network, analyze the current simulation status in real time, and automatically adjust the simulation parameters based on the prediction ability of the LSTM network;

[0109] Based on the current simulation status and historical data, the model predicts the optimal parameter settings for the next stage.

[0110] It should be noted that by collecting historical simulation data and standardizing it, it is ensured that data of different scales and ranges can be fairly compared and processed in the deep learning model, which not only improves the stability and convergence speed of model training, but also enables the model to better generalize to unseen data, thereby improving the accuracy of prediction;

[0111] The fully connected layer with long short-term memory network (LSTM) capability is used as the model infrastructure, aiming to capture the long-term dependencies and short-term dynamic changes of time series data during the simulation process, so that the model can more accurately predict the future simulation state, thereby realizing intelligent optimization of simulation parameters;

[0112] The parallel computing platform CUDA is used to accelerate the training process of deep learning models. The parallel computing capability of GPU greatly improves the training efficiency. The batch training strategy not only optimizes memory usage, but also accelerates the model convergence process.

[0113] By capturing data streams from the simulation system through a real-time data interface, the model can instantly analyze the simulation status and automatically optimize parameters accordingly, thus achieving closed-loop feedback control of the simulation process and ensuring that the simulation parameters are always in the optimal state.

[0114] S7. Creating a bidirectional coupling simulation project of electromagnetic field and thermal field. Real-time parallel execution of electromagnetic field and thermal field simulation calculations refers to using multi-physics field simulation software ANSYS to perform bidirectional coupling simulation of electromagnetic field and thermal field, defining interface variables and setting bidirectional transmission rules on the coupling platform, and defining transmission frequency, data format and synchronization strategy;

[0115] Based on the coupled simulation requirements of the electromagnetic field simulation software HFSS and the thermal field simulation software Icepak, the tasks are subdivided into independent computing units, the parallel computing platform CUDA is used to perform parallel optimization of the simulation code, the reasonable minimum parallel execution unit Block and Grid sizes are set, and the parallel computing platform management mechanism CUDA Streams instructions are used to manage parallel tasks.

[0116] It should be noted that by using the multi-physics simulation software ANSYS to perform bidirectional coupling simulation of electromagnetic field and thermal field, the interaction and feedback between electromagnetic effect and thermal effect are realized, breaking the limitation of independent analysis of each physical field in traditional simulation;

[0117] Define interface variables and set bidirectional transfer rules on the coupling platform, define transfer frequency, data format and synchronization strategy, and ensure efficient and accurate exchange of electromagnetic field and thermal field simulation data;

[0118] Based on the coupled simulation requirements of the electromagnetic field simulation software HFSS and the thermal field simulation software Icepak, the tasks were subdivided into independent computing units. This task decomposition strategy paved the way for parallel computing and significantly improved the simulation efficiency.

[0119] The parallel computing platform CUDA is used to perform parallel optimization of the simulation code, set reasonable minimum parallel execution unit Block and Grid sizes, and use the parallel computing platform management mechanism CUDA Streams instructions to manage parallel tasks, fully tapping the parallel computing potential of the GPU. Through the optimization of the parallel computing platform CUDA, not only the processing speed of computing-intensive tasks is improved, but also the memory access mode is optimized and the data transmission bottleneck is reduced.

[0120] S8. Analyzing the difference between the coupling solution and the predicted result to make adjustment decisions refers to collecting the coupling simulation results in real time, including the distribution diagrams of the electromagnetic field and thermal field, and key performance indicators;

[0121] Compare the coupled simulation results with the independent simulation results, using the plotting library Matplotlib to highlight the differences, and compare the coupled simulation results with the next stage simulation state predicted by the deep learning model;

[0122] Identify the sources of deviation between predictions and actual results, and dynamically adjust simulation parameters based on the difference analysis results.

[0123] Furthermore, the coupled simulation results are compared with the independent simulation results including:

[0124] Collect relevant simulation result data from coupled simulation and independent simulation respectively;

[0125] Determine the dimensions and standards for comparison. For electromagnetic field and thermal field distribution diagrams, compare the field strength values ​​based on specific areas, the maximum value, average value, and change trend of temperature distribution; for key performance indicators, directly compare the numerical values ​​and change rates;

[0126] Draw three-dimensional field distribution diagrams and line graphs for coupled simulation results and independent simulation results to show the changes of key performance indicators over time;

[0127] Observe the comparison charts generated by the drawing library Matplotlib to analyze which areas and indicators have significant differences.

[0128] Furthermore, the sources of deviation between the prediction and the actual results are identified, and according to the difference analysis results, the simulation parameters are dynamically adjusted, including:

[0129] Quantify the differences between coupled simulation results and independent simulation results, and between coupled simulation results and deep learning model predictions;

[0130] Analyze the patterns of these deviations in space or time series, identify whether the deviations are systematic or random, and explore the specific factors that cause the deviations;

[0131] Perform sensitivity analysis to identify which parameters have the greatest impact on simulation results;

[0132] Based on the results of the bias source analysis, infer which parameter adjustments are most likely to reduce the deviation between the forecast and the actual results;

[0133] Fine-tune the identified key parameters to find the optimal parameter set;

[0134] Apply the adjusted parameters to re-simulate and collect new simulation data;

[0135] Compare the new simulation results with the previous simulation results and prediction results, and readjust the parameters.

[0136] It should be noted that by real-time monitoring and collecting simulation data of electromagnetic and thermal fields, immediate feedback and dynamic monitoring of the simulation process are ensured;

[0137] Compare coupled simulation results with independent simulation results and use visualization tools to highlight differences between the two, allowing designers to intuitively identify inconsistencies and potential sources of error in the simulation model;

[0138] The coupled simulation results are compared with the simulation status of the next stage predicted by the deep learning model. By introducing artificial intelligence technology, the accuracy and adaptability of simulation prediction are improved;

[0139] Based on the results of comparative analysis, the root cause of the difference between the prediction and the actual simulation is identified, and then the simulation parameters are dynamically adjusted. This closed-loop feedback mechanism ensures that the simulation process can continuously approach the actual physical behavior, improving the accuracy and practicality of the simulation results.

[0140] This embodiment also provides a computer device, which is suitable for the method of using a GPU to accelerate integrated circuit testing, including: a memory and a processor; the memory is used to store computer executable instructions, and the processor is used to execute computer executable instructions to implement the method of using a GPU to accelerate integrated circuit testing as proposed in the above embodiment.

[0141] The computer device may be a terminal, and the computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covered on the display screen, or a key, trackball or touchpad provided on the housing of the computer device, or an external keyboard, touchpad or mouse, etc.

[0142] This embodiment also provides a storage medium on which a computer program is stored. When the program is executed by a processor, the method for implementing the method of using a GPU to accelerate integrated circuit testing proposed in the above embodiment is implemented; the storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), erasable programmable read-only memory (Erasable Programmable Read Only Memory, referred to as EPROM), programmable read-only memory (Programmable Red-Only Memory, referred to as PROM), read-only memory (Read-Only Memory, referred to as ROM), magnetic storage, flash memory, magnetic disk or optical disk.

[0143] In summary, the present invention realizes a seamless transformation from design drawings to simulation environments by importing CAD files of integrated circuit design into HFSS and Icepak, constructs simulation models of electromagnetic fields and thermal fields, reduces the cost and time of physical prototyping and testing, uses CUDA technology to identify the parallelized parts in the simulation tasks, decomposes the tasks and performs parallel execution, speeds up the simulation calculations, deploys deep learning algorithms to automatically optimize simulation parameters, avoids errors caused by human factors, creates a bidirectional coupling simulation project of electromagnetic fields and thermal fields, performs the calculations of the two fields in real time and in parallel, and realizes the close integration of electromagnetic and thermal effects at the simulation level. Example 2

[0144] Referring to Table 1, which is the second embodiment of the present invention, in order to further verify the advancement of the present invention, experimental simulation data of a method for accelerating integrated circuit testing using a GPU is provided.

[0145] First, use tools such as Cadence or Mentor Graphics to create a CAD file for the integrated circuit, including circuit layout, material type and property table, power supply and signal source configuration. Import the CAD file into the electromagnetic field simulation software HFSS and thermal field simulation software Icepak. Prepare a material property table, including dielectric constant, conductivity, thermal conductivity, specific heat capacity, and material density.

[0146] Build a 3D geometric model and apply material properties; set radiation boundary conditions and configure power and signal sources; use Maxwell's equations to simulate and calculate the loss power density; export the loss power density data from HFSS; set up heat sources in Icepak and perform thermal field simulation to calculate temperature distribution; use the CUDA platform to identify parallelizable parts, such as time series, space segmentation, and spectrum analysis; decompose tasks, write parallel code, and use CUDA Streams to manage parallel tasks.

[0147] The simulation data was sorted and preprocessed, and the LSTM network model was used for parameter optimization and prediction. The model was deployed and connected to the simulation system. ANSYS software was used for coupled simulation of electromagnetic and thermal fields, interface variables and transfer rules were defined, and CUDA was used to optimize code parallelism. The differences between the coupled solutions and the predicted results were analyzed, and the simulation parameters were adjusted according to the differences, as shown in the following table:

[0148] Table 1 Experimental data comparison table

[0149]

[0150] By analyzing the data in the table, it can be seen that as the electromagnetic loss power density increases, both the maximum temperature and the average temperature decrease. This is because as the loss power density increases, the heat source density increases, resulting in higher heat conduction efficiency, thereby reducing the temperature.

[0151] The execution time of the experiments from Exp_01 to Exp_06 is significantly reduced, which shows that the simulation efficiency is significantly improved by using CUDA for parallel computing.

[0152] The simulation accuracy was improved from 96.5% to 98.8%, which shows that the accuracy and reliability of the simulation were significantly improved by deploying deep learning algorithms for parameter optimization.

[0153] The model convergence speed was reduced from 20 epochs to 13 epochs, which shows that accelerating the training of deep learning models with CUDA significantly speeds up the model convergence process, thereby saving a lot of training time.

[0154] By comparing the coupled simulation results with those of the independent simulation, it can be observed that both the maximum and average temperatures are lower in the coupled simulation, which indicates that the coupled simulation can more accurately simulate the thermal effects under actual working conditions, thus helping to optimize the thermal management design.

[0155] In summary, the bidirectional coupling simulation method proposed in the present invention has significant advantages in simulation efficiency, accuracy and reliability compared with the traditional independent simulation method. By using parallel computing and deep learning technology, not only can the simulation efficiency be improved, but also the simulation results can be optimized by dynamically adjusting the simulation parameters, ensuring that the simulation process can continuously approach the actual physical behavior, thereby improving the accuracy and practicality of the simulation results.

[0156] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. A method for accelerating integrated circuit testing using a GPU, characterized in that: include, Import the CAD files of integrated circuit design into HFSS and Icepak, build electromagnetic field and thermal field simulation models in HFSS and Icepak respectively, and perform preliminary simulations; Use CUDA to identify the parallelizable parts of the preliminary simulation, decompose the tasks and implement parallel strategies; Deploy deep learning algorithms to automatically optimize simulation parameters and predict the best simulation state for the next stage; Create a bidirectional coupling simulation project of electromagnetic field and thermal field, perform electromagnetic field and thermal field simulation calculations in real time and in parallel, analyze the difference between the coupling solution and the predicted result and make adjustment decisions; Establishing an electromagnetic field model and conducting preliminary simulation means importing the CAD file into HFSS, converting the circuit layout into a three-dimensional geometric model, applying the corresponding properties in the material library to each component, setting radiation boundary conditions, configuring power and signal sources, simulating the actual working state, and using Maxwell's equations to describe the electromagnetic field distribution. The expression is: , in, is the curl of the vector field, E is the electric field strength, is the partial derivative, B is the magnetic induction intensity, t is the time variable, H is the magnetic field intensity, J is the current density, D is the electric displacement, is the charge density; Based on the solution of Maxwell's equations, the loss power density in the electromagnetic field is calculated through simulation results, and this part of power is converted into heat source density. The expression is: , Where Q is the heat source density, I is the current, R is the resistivity, is the conductivity; Establishing a thermal field model and conducting preliminary simulation means extracting the power loss data of each component in the circuit as a heat source based on the electromagnetic field simulation results. In the heat source editing interface, accurately place the heat source at the corresponding component position, set the natural convection boundary conditions, and apply the heat conduction equation to calculate the thermal field distribution. The expression is: , Where k is thermal conductivity and T is temperature; The electromagnetic field simulation results are derived from HFSS, and the Maxwell equations are solved. The power loss density in the electromagnetic field is calculated through the simulation results. The power loss is converted into heat energy and then quantified as a heat source and added to the heat conduction equation. In the heat conduction module, the heat source item is updated according to the calculated heat source distribution, and the temperature distribution is calculated according to the thermal field simulation results; Adjust the temperature-dependent parameters of the material, feed the updated material properties back to the HFSS electromagnetic module, and re-solve the electromagnetic field simulation to form a dynamic preliminary simulation cycle; Using CUDA to identify the parallelizable parts of the preliminary simulation, decompose the tasks and implement the parallel strategy means to identify the characteristics of the specific tasks of electromagnetic field and thermal field simulation, evaluate which parts are easy to parallelize and write CUDA code according to the characteristics of the simulation tasks, as follows: Clarify the goals of the simulation tasks, identify the electromagnetic field and thermal field simulation tasks that are computationally independent and can be divided, and subdivide the entire simulation process into multiple small tasks; The identification of electromagnetic field and thermal field simulation tasks that are computationally independent and can be divided refers to clarifying each calculation step by drawing a simulation flow chart, a data flow chart and a dependency chart, identifying which steps can be executed independently, analyzing the dependency relationship between tasks, and finding tasks without dependencies; For each decomposed task, evaluate whether it is suitable for parallel processing and formulate a strategy; Based on the formulated strategy, code is written using the CUDA programming language to achieve parallel data loading, task allocation, calculation, and result merging; Use CUDA's stream function to arrange the execution order of parallel tasks; Collect the results of each task after parallel processing, and perform data aggregation and result fusion; Compare the simulation efficiency and accuracy before and after parallelization, and adjust the parallel strategy based on the evaluation results to achieve the best simulation performance; The CAD file includes a circuit layout diagram, a material type and property table, and a power and signal source configuration; The material type includes the dielectric constant and electrical conductivity of electromagnetic properties, and the thermal conductivity, specific heat capacity, and material density of thermal properties.

2. The method for accelerating integrated circuit testing using a GPU as claimed in claim 1, wherein: The deployment of deep learning algorithms to automatically optimize simulation parameters and predict the best simulation state for the next stage includes: Arrange the simulation data and normalize them; Choose deep neural network as the basic architecture, combine it with task requirements, and integrate long short-term memory units into the fully connected layer to adapt to parameter adjustment requirements according to task requirements; Enable CUDA to train the model in batches, monitor the loss and accuracy changes, and regularly save the optimal model and deploy it to the simulation system; Design a real-time data interface to capture data streams from the simulation system in real time. The model analyzes the received simulation status data in real time, automatically optimizes simulation parameters based on the current simulation status, evaluates the adjusted simulation parameters in real time, and predicts the optimal simulation status for the next stage.

3. The method for accelerating integrated circuit testing using a GPU as claimed in claim 2, wherein: Creating a bidirectional coupling simulation project of electromagnetic field and thermal field, and executing the simulation calculation of electromagnetic field and thermal field in real time and in parallel means using the multi-physics field simulation software ANSYS to perform bidirectional coupling simulation of electromagnetic field and thermal field, defining interface variables and setting bidirectional transmission rules on the coupling platform, and defining transmission frequency, data format and synchronization strategy; Based on the coupled simulation requirements of HFSS and Icepak, the tasks are subdivided into independent computing units, CUDA is used to parallel optimize the simulation code, the block and grid sizes are set, and CUDA Streams instructions are used to manage parallel tasks.

4. The method of accelerating integrated circuit testing using a GPU as claimed in claim 3, wherein: Analyze the difference between the coupled solution and the predicted results to make adjustment decisions, including: Collect coupling simulation results in real time, including the distribution diagrams of electromagnetic fields and thermal fields, and key performance indicators; Compare the coupled simulation results with the independent simulation results, using Matplotlib to highlight the differences, and compare the coupled simulation results with the next stage simulation state predicted by the deep learning model; Identify the sources of deviation between predictions and actual results, and dynamically adjust simulation parameters based on the difference analysis results.

5. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method for accelerating integrated circuit testing using a GPU as described in any one of claims 1 to 4 are implemented.

6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method for accelerating integrated circuit testing using a GPU as described in any one of claims 1 to 4 are implemented.