The present disclosure relates to the technical field of parasitic extraction, and specifically relates to a method for extracting parasitic parameters based on a target detection network.
Parasitic extraction is a step at the backend of a design for digital integrated circuit, which extracts parasitic resistance and parasitic capacitance in interconnections from layouts that complete layouts and wirings. As process nodes advance, parasitic capacitance and parasitic resistance caused by interconnections will gradually increase their impacts on circuit timings. Meanwhile, with larger scales of integrated circuits, higher requirements are proposed for extraction abilities and extraction efficiencies of tools for extracting parasitic parameters. Usual extraction methods can be divided into a field solving method and a pattern matching method. A pattern library is established in advance by the pattern matching method according to geometric structures and geometric parameters. The actual layouts are compared with the pattern library when extracting the parasitic parameters to obtain values for resistance and capacitance. This method is more suitable for large-scale circuits, but errors often occur due to pattern matching errors, and establishments of the pattern library are time-consuming and laborious.
The application of artificial intelligence in industrialization has opened up a new path for extracting tools. The pattern library is established automatically by using clustering algorithms, which replaces a lengthy establishing process by hand. In addition, during the matching process, patterns are classified by applying neural networks, which is capable of improving efficiency and accuracy of the matching. However, previous studies views of the layouts have focused on a cross-sectional view, by dividing three-dimensional layout structures into two-dimensional parasitic parameters for a unit length and accumulating them. In fact, if each layer of the layouts is treated as an image, planar information can be directly extracted from one layer by applying methods for processing images.
In view of the above disadvantages of the prior art, the present disclosure provides a method for extracting parasitic parameters based on a target detection network, which simplifies establishments of a pattern library, conducts classifications and positionings of geometric structures of interconnections in layouts through the target detection network, and compares results that output by the network with the pattern library to implement an accurate pattern matching. The present disclosure aims to provide a simple and optional solution for establishing a parasitic pattern library and conducting a pattern matching in the digital integrated circuit.
In order to achieve above-mentioned objectives, the following technical solutions are provided by the present disclosure. Provided is a method for extracting parasitic parameters based on a target detection network. The method generates an image set and labelled images that are similar to the layouts, creates a training set, optimizes loss functions, trains the target detection network and inputs other layout images into a trained network, and the network is capable of outputting patterns and coordinate information comparing a pattern library, positioning wires, and obtaining values for parasitic capacitance.
Specific steps includes the following.
In Step 1, a parasitic capacitance pattern library is established.
In Step 2, images that conform to layout interconnection features are generated and labelled to construct a dataset.
In Step 3, the target detection network is trained by using the dataset, and the target detection network is optimized by optimizing loss functions.
In Step 4, layout images are predicted by the trained target detection network, predicted results of the network are processed subsequently and values for parasitic parameters are obtained.
Preferably, specific steps of Step 1 are that: different colors are set to represent different metal layers or overlapping relationships of wires, a capacitance formula look-up table for surface capacitance related to geometric structures (including layer relationships and a spacing range for the wires in the same layer) and a capacitance formula look-up table for coupling capacitance related to geometric structures (the number of conductors in the same layer) are respectively listed.
Preferably, specific steps of Step 2 are that: different color blocks are set to represent different metal layers or overlapping relationships of the wires (the overlapping relationship of wires in different layers or the overlapping relationship of wires in the same layer), a plurality of vertical or horizontal color blocks with different colors or sizes are generated randomly as an interference background in the central region of an image. According to the proportion of overlapping parts to all wires existing on an actual layout, target color blocks representing the overlapping relationships of the wires are generated randomly on the interference background, and categories and coordinate values for the target color blocks are exported as labels.
Preferably, specific steps of optimizing the loss functions of the target detection network according to a specific application of an area prediction in Step 3 are that: an area loss is added to the loss functions of an original target detection network, namely, a target loss, a category loss and a prediction frame loss; a hyper-parameter evolution on coefficients before each loss is conducted after a pre-training to obtain optimal coefficients of each loss.
Preferably, Step 4 includes as follows. The multi-layer wire three-dimensional structures that described by the layout files are visualized as images according to three view drawings, a top view is used to extract the surface capacitance, a left view and a front view are used to extract the coupling capacitance. The layout images are divided into a plurality of smaller images according to pattern sizes, which are taken as inputs of the target detection network. The layout images are predicted by the target detection network, the geometric structures are obtained by predicted classification results, which are compared with the pattern library to obtain capacitance calculating formulas. The wires are positioned by central coordinates of a prediction frame, geometric parameters (including an overlapping area, a width of a overlapping part and a length of the overlapping part) are obtained by coordinates and sizes of the prediction frame, which are substituted into the formula for calculation to obtain values for parasitic capacitance of each wire.
Beneficial effects lie in the following.
1. The target detection network is adopted by the present disclosure during the pattern matching processing, this kind of network is a deep neural network used for detecting target, which is capable of classifying and positioning the targets in the images. By taking the overlapping structures of the wires as detected targets and the layout image containing only interconnects as the network input, the categories, namely, patterns, of the wires are obtained by the network and geometrical parameters such as position, overlapping area, overlapping width, overlapping length of the wires in the layout can be obtained according to the coordinates of the predicted frame. Since the target detection network has developed to yolo v5, which is capable of implementing a rapid and accurate target detection. Complex matching algorithms are replaced by using the network, which improves the matching accuracy.
2. The pattern library in the present disclosure conducts a pattern classification according to the geometric structures that affects the wires, provides calculating formulas of values for the parasitic surface capacitance and the parasitic coupling capacitance according to analytical method, and the sum of the two values is a value for parasitic capacitance. The specific geometric parameters (such as wire length, width) are only taken as variables in the formula, thus there is need to subdivide the patterns based on the geometric parameters, which can greatly reduce a scale of the pattern library and the pattern library established in this way is also applicable to various process dimensions. During the matching process, the parasitic capacitance can be calculated by substituting geometric parameters such as values for overlapping areas into capacitance analytical formulas of the corresponding patterns.
3. Different layers or overlapping relationships are distinguished by applying different colors in the present disclosure, and this method is in conjunction with graph neural networks to provide a simple and practical algorithm for identifying layer relationships.
4. The target detection network is introduced into the field of parasitic parameters extraction for the first time by the present disclosure and no labelled layout image set is available for training, therefore, dataset in the present disclosure is self-built according to the layout interconnection features in the present disclosure. The dataset only contains interconnects, and the required scale of the image sets can be automatically generated according to the interconnect features in actual layouts. This method effectively simplifies the dataset while simulating layout images, and saves a huge workload of manual annotations.
The present disclosure is further described in combination with the accompanying drawings and the embodiments.
Firstly, a dataset used by the target detection network is established, which needs to conform to the features of layouts that only contains interconnects. Layouts that only contain interconnects are reflected as a plurality of color blocks of different colors and different lengths, and the proportion of target color blocks to the interfering color blocks, the length ranges and the width ranges of the color blocks, and the distribution regions of the color blocks in the images need to be consistent with the actual layouts.
Then, this dataset is used for the network training and the verification, when the test results are not ideal, the loss function is modified and the loss function after a modification is that:
where the front three items of the formula are the loss function of the original target detection network, namely, the weighted sum of the target loss, the category loss, and the prediction frame loss, and the last item is the added area loss. Or the data set is redesigned by changing the length range of the color blocks to optimize the training results until the network test results meet the expectations.
The layout images are predicted by using the trained network, and the classification provided is the pattern in the pattern library. Therefore, the process of the network prediction is the process of conducting the pattern matching. After conducting the net matching on the predicted values, parameters such as the overlapping area, the width of the overlapping part, the length of the overlapping part are substituted into the calculating formulas that corresponding to the pattern for calculation, and the other required wire geometric parameters (including the wire spacing and the wire length) are read directly from the original layout files and eventually the parasitic values are obtained.
The above embodiments are only to illustrate the technical concepts of the present disclosure and are not used to limit the protection scope of the present disclosure. Any modifications made on the basis of the disclosed technical solutions according to the technical concepts proposed in the present disclosure are all within the protection scope of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
202210453278.9 | Apr 2022 | CN | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2022/121419 | 9/26/2022 | WO |