Electromagnetic field solving method based on neural radiation field in EDA
Through the neural radiation field method based on deep learning, the problem of large calculation amount and slow speed of the traditional electromagnetic field parameter extraction method is solved, and the rapid and accurate extraction and prediction of electromagnetic field parameters in integrated circuit design is achieved. It is suitable for various circuit layouts and improves the efficiency of the electromagnetic field parameter extraction. Design efficiency.
Patent Information
- Application Number
- CN202410923662.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-10
- Publication Date
- 2024-10-29
AI Technical Summary
The traditional electromagnetic field parameter extraction method in integrated circuit design is computationally intensive and slow, making it difficult to meet modern design needs. It cannot simulate and analyze electromagnetic fields accurately and quickly, affecting circuit performance optimization.
The neural radiation field method based on deep learning is used to randomly generate 2D cross-sectional patterns, extract electromagnetic field analysis data, and train prediction models to achieve rapid and accurate extraction and prediction of electromagnetic fields, which is suitable for various circuit layouts.
It improves the accuracy and speed of electromagnetic field parameter extraction, shortens the design cycle, adapts to different circuit layouts, and has good versatility.
Smart Images

Figure CN118862801A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electronic design automation, and in particular to an electromagnetic field extraction method based on neural radiation field in electronic design automation (EDA). Background Art
[0002] As the scale of integrated circuit design continues to increase, the impact of electromagnetic fields on circuit performance is becoming increasingly significant. In the field of integrated circuit design, accurately extracting and evaluating electromagnetic field parameters is a key step. Figure 1 As shown in Figure 1, this process usually involves creating a physical model of the integrated circuit based on the layout information of the chip. In industrial applications, this layout information can be stored in different file formats, such as CFI, GDSII or OASIS format. These files contain detailed descriptions of conductors and dielectrics, including their thickness, specific locations in the chip, and parameters such as the relative dielectric constant of the dielectric.
[0003] By analyzing the layout data stored in the files, we can extract the relevant information of the conductors and dielectrics, and then build a geometric structure model of the integrated circuit. This model is the basis for the subsequent electromagnetic field parameter extraction, which is crucial to ensure the accuracy of circuit performance analysis. In short, it is to use the detailed data in the layout file to build an accurate circuit model for the calculation of electromagnetic field parameters. Traditional electromagnetic field parameter extraction methods have problems such as large amount of calculation and slow speed, which can hardly meet the needs of modern integrated circuit design.
[0004] In integrated circuit design, accurate simulation and analysis of electromagnetic fields are essential for predicting and optimizing circuit performance. Modern electromagnetic field solvers, such as software tools based on the finite element method (FEM), boundary element method (BEM), or finite difference time domain method (FDTD), can help designers evaluate and optimize electromagnetic field effects in circuits, thereby improving design efficiency and circuit performance. However, they are often slow and not suitable for large-scale integrated circuits. Summary of the invention
[0005] In order to solve the above problems, the present invention provides an electromagnetic field solution method based on neural radiation field in EDA. The method realizes electromagnetic field solution with the help of deep learning and can extract electromagnetic field parameters quickly and accurately.
[0006] The technical solution of the present invention is specifically described as follows.
[0007] The present invention provides an electromagnetic field solving method based on neural radiation field in EDA, comprising the following steps:
[0008] Randomly generate 2D cross-sectional patterns to simulate different layout structures in integrated circuits;
[0009] Perform electromagnetic field analysis on the generated 2D cross-sectional pattern, extract the spatial electromagnetic field distribution, and obtain electromagnetic field analysis data;
[0010] Extract key features from the collected electromagnetic field analysis data and use these features to train and establish a prediction model based on the neural radiation field skeleton;
[0011] Estimate the electromagnetic field distribution of any 2D pattern based on the prediction model to achieve electromagnetic field prediction;
[0012] The electromagnetic field in any space is obtained by interpolation.
[0013] In the present invention, the method for randomly generating a 2D pattern to simulate an integrated circuit layout is as follows:
[0014] (1) Define the overall design parameters of the integrated circuit, including size, shape, and material properties;
[0015] (2) using computer-aided design (CAD) software to randomly generate an initial 2D pattern according to defined parameters;
[0016] (3) determining the geometric parameters of the generated pattern to meet specific performance requirements, including power consumption, area, and speed;
[0017] (4) Check the electrical characteristics of the simulation pattern (electrical rule check ERC, design rule check DRC constraints) to ensure that they comply with the design rules;
[0018] (5) determining the initial conditions and boundary conditions of the pattern based on the test results of the simulated pattern;
[0019] (6) If the pattern does not meet the design rules during testing, review the design parameters and make adjustments.
[0020] In the present invention, key features include electromagnetic field distribution and charge distribution.
[0021] In the present invention, the neural radiation field learns the {pattern, voltage}->electromagnetic field mapping relationship. For the main conductor, rays are emitted to the surroundings and sampling points are performed. There are constraints
[0022]
[0023] It is a mapping relationship composed of a series of combinations including interpolation, hashing, neural network, etc. V is the voltage of the main conductor, x i is the coordinate of the sampling point on a ray relative to the main conductor, ε r is the dielectric constant at the coordinate, d is the sampling spacing vector, * represents the vector dot product. Considering this constraint, the implicit expression of {pattern, V}->electromagnetic field is obtained through deep learning.
[0024] In the present invention, the prediction model is the Instant-NGP model.
[0025] In the present invention, the charge distribution is simultaneously obtained based on the electromagnetic field around the main conductor obtained by solution, so as to further realize the solution of capacitance.
[0026] Compared with the prior art, the present invention has the following advantages:
[0027] (1) The accuracy of electromagnetic field parameter extraction is improved.
[0028] (2) Improved solution speed and shortened design cycle.
[0029] (3) It can adapt to various circuit layouts and has good versatility. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 : 2D integrated circuit layout diagram.
[0031] Figure 2 : Schematic diagram of neural radiation field.
[0032] Figure 3 : Schematic diagram of the pattern generation process.
[0033] Figure 4 : Schematic diagram of electromagnetic field extraction and feature training process.
[0034] Figure 5 : Schematic diagram of electromagnetic field parameter prediction process. DETAILED DESCRIPTION
[0035] The present invention provides an electromagnetic field solution method based on neural radiation field in EDA, the principle of which is as follows:
[0036] Neural networks need to learn the mapping relationship between {pattern, voltage}->electromagnetic field, while neural radiation fields can better reconstruct physical fields. Figure 2 As shown, for the main conductor, rays are emitted to the surroundings and sampling points are performed, with constraints
[0037]
[0038] It is a mapping relationship composed of a series of combinations including interpolation, hashing, neural network, etc. V is the voltage of the main conductor, x i is the coordinate of the sampling point on a ray relative to the main conductor, ε r is the dielectric constant at the coordinate, d is the sampling spacing vector, * represents the vector dot product. Considering this constraint, the implicit expression of {pattern, V}->electromagnetic field can be obtained through deep learning.
[0039] The present invention comprises the following steps:
[0040] Randomly generate patterns, which automatically generate different circuit layout structures through algorithms;
[0041] Use dedicated analysis software to extract the electromagnetic field in space. The dedicated analysis software uses electromagnetic field simulation technology to extract the electromagnetic field distribution;
[0042] training spatial feature values, including learning associations between patterns and electromagnetic field parameters using a deep learning model, namely a neural radiance field;
[0043] Get the result features;
[0044] The electromagnetic field of an arbitrary pattern is estimated based on the features. The electromagnetic field of an arbitrary pattern is estimated by identifying key features and applying a prediction model.
[0045] The specific implementation of the present invention is described below in conjunction with the accompanying drawings:
[0046] Example 1
[0047] In Example 1, Figure 3 As shown, pattern generation is the first step in integrated circuit design and simulation. This process usually includes the following key steps:
[0048] Analog IC layout: First, the designer needs to define the overall design parameters of the IC, including size, shape, material properties, etc.
[0049] Randomly generate initial pattern: Using computer-aided design (CAD) software, designers randomly generate initial 2D patterns based on defined parameters.
[0050] Determine the geometric parameters of the pattern: Determine the geometric parameters of the generated pattern to meet specific performance requirements.
[0051] Design rule checking: Checking the electrical characteristics of simulated patterns on a computer to ensure that they will meet the design rules in actual application.
[0052] Apply boundary conditions and initial conditions: Based on the results of the simulated test pattern, determine the necessary initial conditions and boundary conditions for the pattern.
[0053] If the pattern does not meet the design rules during testing, the designer needs to revisit the design parameters and make adjustments.
[0054] Example 2
[0055] like Figure 4, Example 2 involves using dedicated analysis software to simulate and analyze the electromagnetic field distribution in an integrated circuit. This process generally includes the following steps:
[0056] Electromagnetic field analysis solves the electromagnetic field distribution: Import the generated pattern data into the electromagnetic field analysis software. Set the simulation parameters to define the boundary conditions of the simulation (such as voltage, fixed charge), material properties (such as dielectric constant), simulation accuracy and other parameters. Run the simulation, start the simulation process, and the software will calculate the distribution of the electromagnetic field. The analysis results will show the distribution of the electromagnetic field after the simulation is completed, and evaluate the performance of the pattern. Result verification: Compare the simulation results with theoretical expectations or experimental data to verify their accuracy.
[0057] Collect solution results: Collect a series of electromagnetic field analysis data of known patterns. And extract key features from the collected data, such as charge distribution, electromagnetic field, etc. Then train the model neural radiation field.
[0058] Train the neural radiation field: Use the extracted features and known results to train the model. Perform model evaluation to assess the model’s prediction accuracy and make necessary adjustments. If the model’s prediction performance is poor and the convergence is not up to standard, the designer needs to collect data again or optimize the model parameters.
[0059] Example 3
[0060] like Figure 5 , Embodiment 3 is to apply the trained model to a new pattern to predict its electromagnetic field. This process usually includes the following steps:
[0061] New pattern preparation: Prepare the data for new patterns and ensure they meet the input requirements of the model.
[0062] Feature extraction: Extract necessary features from new patterns.
[0063] Model prediction: Use the trained model to make electromagnetic field predictions.
[0064] Result Analysis: Analyze the results predicted by the model and compare them with the actual measured values.
[0065] Application of results: Conduct circuit design or further simulation analysis based on the prediction results.
[0066] If the predicted results are significantly different from the actual values, you may need to retrain the model or adjust the prediction algorithm.
[0067] Example 4
[0068] The present invention can also extract capacitance, the principle is as follows:
[0069] Gauss's theorem is a basic theorem in electromagnetism. Mathematically, Gauss's theorem can be expressed as:
[0070]
[0071] S metal is the metal surface domain, E is the electric field, A is the area, Φ E is the electric field flux. When it comes to the charge density on the metal surface, Gauss's theorem can be further elaborated. Gauss's theorem can be used to calculate the relationship between the electromagnetic field strength on this Gaussian surface and the charge density on the metal surface.
[0072] E=ε r σ
[0073] σ represents the surface charge density of the metal, E represents the electric field strength, and ε r According to the above formula, the charge density on the metal surface is proportional to the electric field strength perpendicular to the surface. If the field distribution on the metal surface is obtained, the charge distribution can be obtained, and thus the total charge Q can be obtained. From C = Q / V, the capacitance C can be obtained.
[0074] When reasoning, according to Gauss's theorem, we only need to obtain the electromagnetic field around the main conductor to obtain the charge distribution, and then solve for the capacitance.
[0075] Example 5
[0076] A 15nm process technology dataset was used, and a 15nm process technology based on FreePDK15 was used for example testing. For each process technology, some three-layer metal layer combinations were selected to generate 2-D patterns. For each pattern, several sample structures were selected to form a dataset, and then the dataset was randomly divided into a training subset (accounting for 90% of the samples) and a test subset (accounting for 10% of the samples). Using the Instant-NGP model, the size of the neural radiation field grid is set to be less than half of the minimum spacing between conductors on any metal layer, the latent space resolution is set to 16, the hash table size is 2 to the 19th power, the neural network is a 3-layer multilayer perceptron, and the number of neurons is 64.
[0077] The results show that the proposed model has very high accuracy on the test data set and can provide accurate electromagnetic field predictions for 2-D mode structures with a variable number of conductors. In addition, the proposed model has a significant improvement in running time over traditional 2-D field solvers while consuming negligible memory, which further proves its effectiveness and practicality in full-chip parasitic parameter extraction.
Claims
1. An electromagnetic field solution method based on neural radiation field in EDA, characterized in that: The following steps are involved: Randomly generate 2D cross-sectional patterns to simulate different layout structures in integrated circuits; Perform electromagnetic field analysis on the generated 2D cross-sectional pattern, extract the spatial electromagnetic field distribution, and obtain electromagnetic field analysis data; Extract key features from the collected electromagnetic field analysis data and use these features to train and establish a prediction model based on the neural radiation field skeleton; Estimate the electromagnetic field distribution of any 2D pattern based on the prediction model to achieve electromagnetic field prediction; The electromagnetic field in any space is obtained by interpolation.
2. The electromagnetic field solution method based on neural radiation field in EDA according to claim 1, characterized in that: The method of randomly generating 2D patterns to simulate integrated circuit layout is as follows: (1) Define the overall design parameters of the integrated circuit, including size, shape, and material properties; (2) using computer-aided design (CAD) software to randomly generate an initial 2D pattern according to defined parameters; (3) determining the geometric parameters of the generated pattern to meet specific performance requirements, including power consumption, area, and speed; (4) Check the electrical characteristics of the simulated patterns to ensure that they comply with the design rules; (5) determining the initial conditions and boundary conditions of the pattern based on the test results of the simulated pattern; (6) If the pattern does not meet the design rules during testing, review the design parameters and make adjustments.
3. The electromagnetic field solution method based on neural radiation field in EDA according to claim 1, characterized in that: Key features include electromagnetic field distribution and charge distribution.
4. The electromagnetic field solution method based on neural radiation field in EDA according to claim 1, characterized in that: Neural radiation field learning {pattern, voltage}->electromagnetic field mapping relationship, for the main conductor, emitting rays to the surrounding and sampling points, with constraints It is a mapping relationship composed of interpolation, hashing, and neural network. V is the voltage of the main conductor, x i is the coordinate of the sampling point on a ray relative to the main conductor, ε r is the dielectric constant at the coordinate, d is the sampling spacing vector, * represents the vector dot product. Considering this constraint, the implicit expression of {pattern, V}->electromagnetic field is obtained through deep learning.
5. The electromagnetic field solution method based on neural radiation field in EDA according to claim 1, characterized in that: The prediction model is the Instant-NGP model.
6. The electromagnetic field solution method based on neural radiation field in EDA according to claim 1, characterized in that: Based on the solved electromagnetic field around the main conductor, the charge distribution is obtained at the same time, and the capacitance is further solved.
