Layout generation method and device, computing device and storage medium
By establishing parametric layout and mathematical models, combined with search algorithms and artificial intelligence, the layout generation process is optimized, solving the problem of long optimization time in the layout design automation process, and achieving fast and efficient layout generation.
Patent Information
- Application Number
- CN202310235848.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-13
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2043-03-13
AI Technical Summary
In the existing layout design automation process, layout optimization requires a lot of time and resources, and it is difficult to quickly generate an optimized layout that meets the needs.
By determining the parameters to be optimized, establishing a parametric layout, conducting simulations and mathematical models, using training values and candidate value performance indicators to optimize parameters, and combining search algorithms and artificial intelligence models to quickly generate optimized layouts.
It improves the efficiency and accuracy of layout generation, reduces manual adjustment time, and achieves fast and efficient layout optimization.
Smart Images

Figure CN116341465B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of semiconductor design technology, and in particular to a layout generation method and device, a computing device and a storage medium. Background Art
[0002] Since the 21st century, pan-semiconductor layout design represented by integrated circuits has developed rapidly. At the same time, due to the increasing complexity of layout, process and other processes, the time and labor costs of layout design have continued to increase. In order to reduce the consumption of layout design, it is urgent to agilely optimize the layout design process and realize the automation of layout design.
[0003] In the existing layout design automation process, automatic optimization of the layout is always an important part. After the layout design is usually completed, the indicators of the simulated layout will be calculated and verified. If it does not meet the requirements, the layout needs to be optimized and adjusted manually until the indicators meet the required standards. However, the above process often takes a lot of time and resources.
[0004] Therefore, it is hoped that there will be a new layout generation method and device, computing device and storage medium that can solve the above problems. Summary of the invention
[0005] In view of the above problems, an object of the present invention is to provide a layout generation method and device, a computing device and a storage medium, so as to quickly and efficiently generate an optimized layout.
[0006] According to one aspect of the present invention, there is provided a layout generation method, comprising:
[0007] Determine the parameters to be optimized, and establish a parameterized layout for the parameters to be optimized;
[0008] According to the training value of the parameter to be optimized and the parameterized layout, a training value parameterized layout is obtained, and the training value parameterized layout is simulated to obtain a training value performance indicator corresponding to the training value parameterized layout;
[0009] Establishing a mathematical model according to the training values, the training value performance indicators, and the corresponding relationship between the training values and the training value performance indicators;
[0010] Obtaining, according to the mathematical model, a candidate value performance indicator corresponding to the candidate value of the parameter to be optimized;
[0011] Determining, according to the training value performance indicator and / or the candidate value performance indicator, at least one of the training value and / or the candidate value as an optimized value of the parameter to be optimized;
[0012] A layout is generated according to the optimized value.
[0013] Optionally, determining at least one of the training value and / or the candidate value as an optimized value of the parameter to be optimized according to the training value performance indicator and / or the candidate value performance indicator comprises:
[0014] Determine the target range of performance indicators;
[0015] Obtain training values and / or candidate values corresponding to the training value performance indicator and / or the candidate value performance indicator that meet the target interval of the performance indicator, and then determine at least one of the training values and / or the candidate value as the optimization value.
[0016] Optionally, the acquiring the training value and / or candidate value corresponding to the training value performance indicator and / or the candidate value performance indicator that satisfies the target interval of the performance indicator comprises:
[0017] Searching the training value performance indicator and / or the candidate value performance indicator for training values and / or candidate values corresponding to the training value performance indicator and / or the candidate value performance indicator that meet the target interval of the performance indicator according to a search algorithm;
[0018] The layout generation method also includes:
[0019] Optimizing parameters of the search algorithm;
[0020] Wherein, the search algorithm includes at least one of an annealing algorithm and a Bayesian algorithm.
[0021] Optionally, the parameter to be optimized is one or more;
[0022] The layout generation method also includes:
[0023] Determine fixed parameters;
[0024] When there is one parameter to be optimized, determine the constraint relationship between the parameter to be optimized and the fixed parameter, and determine at least one of the training values and / or the candidate value as the optimized value of the parameter to be optimized based on the training value performance index and / or the candidate value performance index and the constraint relationship; when there are multiple parameters to be optimized, determine the constraint relationship between the parameter to be optimized and the fixed parameter and between different parameters to be optimized, and determine at least one of the training value and / or the candidate value as the optimized value of the parameter to be optimized based on the training value performance index and / or the candidate value performance index and the constraint relationship;
[0025] Performing a design rule check on the layout generated according to the optimization value.
[0026] Optionally, the parameter to be optimized includes a first sub-parameter to be optimized and a second sub-parameter to be optimized;
[0027] The layout generation method also includes:
[0028] Determine a first optimized sub-value corresponding to the first sub-parameter to be optimized, and determine a second optimized sub-value corresponding to the second sub-parameter to be optimized;
[0029] A layout is generated according to the first optimization sub-value and the second optimization sub-value.
[0030] Optionally, the layout generation method further includes:
[0031] Setting a first value range of the first sub-parameter to be optimized, and setting a second value range of the second sub-parameter to be optimized;
[0032] Randomly select a first training sub-value within the first value range, and randomly select a second training sub-value within the second value range, to obtain a training value including the first training sub-value and the second training sub-value; and / or
[0033] A first candidate sub-value is randomly selected within the first value range, and a second candidate sub-value is randomly selected within the second value range, to obtain candidate values including the first candidate sub-value and the second candidate sub-value.
[0034] Optionally, establishing a mathematical model according to the training value, the training value performance indicator, and the corresponding relationship between the training value and the training value performance indicator includes:
[0035] A prediction network model is generated as the mathematical model through a multi-layer perceptron in a neural network.
[0036] Optionally, the layout generation method further includes:
[0037] Determine the accuracy of mathematical models;
[0038] Establishing a current mathematical model according to the existing training values, the training value performance indicators, and the corresponding relationship between the training values and the training value performance indicators;
[0039] Obtaining a candidate value performance indicator corresponding to the at least one candidate value according to the at least one candidate value and the current mathematical model;
[0040] Obtaining a verification parameterized layout according to the at least one candidate value and the parameterized layout, and simulating the verification parameterized layout to obtain a verification performance indicator corresponding to the verification parameterized layout;
[0041] judging whether the current mathematical model meets the mathematical model accuracy according to the verification performance indicator and the candidate value performance indicator corresponding to the at least one candidate value,
[0042] Wherein, when the current mathematical model meets the mathematical model accuracy, the current mathematical model is used as the mathematical model.
[0043] Optionally, the layout generation method further includes:
[0044] Determine the architecture of the circuit layout;
[0045] The parameterized layout is established according to the architecture of the circuit layout and the parameters to be optimized.
[0046] According to another aspect of the present invention, there is provided a layout generation device, comprising:
[0047] A parameterization unit, used to determine the parameters to be optimized and establish a parameterization layout for the parameters to be optimized;
[0048] A training unit, configured to obtain a training value parameterized layout according to the training value of the parameter to be optimized and the parameterized layout, and to simulate the training value parameterized layout to obtain a training value performance indicator corresponding to the training value parameterized layout;
[0049] A modeling unit, configured to establish a mathematical model according to the training values, the training value performance indicators, and the corresponding relationship between the training values and the training value performance indicators;
[0050] A model application unit, configured to obtain a candidate value performance indicator corresponding to the candidate value of the parameter to be optimized according to the mathematical model;
[0051] an optimization unit, configured to determine, according to the training value performance indicator and / or the candidate value performance indicator, at least one of the training value and / or the candidate value as an optimized value of the parameter to be optimized;
[0052] A generating unit is used to generate a layout according to the optimization value.
[0053] Optionally, the layout generating device further includes:
[0054] target unit, used to determine the target range of the performance indicator;
[0055] A searching unit is used to search the training value performance indicator and / or the candidate value performance indicator for the training value and / or the candidate value performance indicator that satisfies the target interval of the performance indicator.
[0056] According to yet another aspect of the present invention, there is provided a computing device, comprising: a processor; and a memory for storing one or more programs, wherein when the one or more programs are executed by the processor, the processor implements the layout generation method as described above.
[0057] According to another aspect of the present invention, there is provided a computer-readable storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the layout generation method as described above.
[0058] According to the layout generation method and device, computing device and storage medium of the embodiments of the present invention, simulation is performed based on the training values and the parameterized layout to obtain the training value performance indicators, and then a mathematical model is established based on the correspondence between the training values and the training value performance indicators; through the mathematical model, the candidate value performance indicators corresponding to the candidate values can be obtained without simulation, which greatly improves the efficiency of layout generation.
[0059] Furthermore, by searching for the optimal value that satisfies the target interval through a search algorithm, the efficiency of determining the optimal value is improved, thereby generating an optimized layout quickly and efficiently.
[0060] Furthermore, in the process of establishing the mathematical model, multiple sub-parameters to be optimized are considered simultaneously, which ensures the accuracy and compliance of the generated layout and the efficiency of layout generation.
[0061] Furthermore, the established mathematical model needs to meet the mathematical model accuracy requirements to ensure the accuracy of the candidate value performance indicators, thereby ensuring the rationality and accuracy of the generated layout.
[0062] Furthermore, the PLM tool can be used to quickly and easily perform parameterized design on the simulation layout, set variable parameters, change ranges and graphic constraints, and automatically update by changing parameters to obtain different parameterized simulation layouts, ensuring efficient and accurate layout generation.
[0063] Furthermore, an artificial intelligence-based method is used to achieve rapid extraction of electrical indicators of the analog layout. By sampling a large number of parameterized layouts and calculating indicators, a sample data set is obtained and used to train the AI (artificial intelligence) network model, which can obtain a higher-precision indicator extraction model.
[0064] Furthermore, a mathematical optimization algorithm is combined with an AI indicator extraction model. The parameter combination is obtained through mathematical algorithm search, and the AI model is used to quickly extract the indicator. The indicator is compared with the target, and then the optimization algorithm is used to continue searching for new parameter combinations based on the difference value until the difference is small. In this way, a parameterized layout that meets the target requirements can be obtained in a short time, realizing the automatic optimization process of the simulation layout. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] The above and other objects, features and advantages of the present invention will become more apparent through the following description of the embodiments of the present invention with reference to the accompanying drawings, in which:
[0066] Figure 1 A method flow chart of a layout generation method according to a first embodiment of the present invention is shown.
[0067] Figure 2 A flow chart of performance indicator extraction according to a second embodiment of the present invention is shown.
[0068] Figure 3 FIG. 4 shows an optimization flow chart of a search algorithm according to a second embodiment of the present invention.
[0069] Figure 4 A method flow chart of a layout generation method according to a third embodiment of the present invention is shown.
[0070] Figure 5 FIG. 4 is a schematic diagram showing a principle of a multilayer perceptron according to a third embodiment of the present invention.
[0071] Figure 6 FIG. 4 shows a schematic structure of an OLED pixel according to a fourth embodiment of the present invention.
[0072] Figure 7 FIG. 4 shows an optimized OLED Pixel architecture according to a fourth embodiment of the present invention.
[0073] Figure 8 A schematic structural diagram of a server according to a fifth embodiment of the present invention is shown. DETAILED DESCRIPTION
[0074] Various embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. In each of the accompanying drawings, identical elements are represented by identical or similar reference numerals. For the sake of clarity, the various parts in the accompanying drawings are not drawn to scale. In addition, some well-known parts may not be shown in the drawings.
[0075] The specific implementation of the present invention is further described in detail below in conjunction with the accompanying drawings and examples. Many specific details of the present invention, such as the structure, materials, dimensions, processing technology and techniques of the components are described below to provide a clearer understanding of the present invention. However, as those skilled in the art will appreciate, the present invention may be implemented without following these specific details.
[0076] It should be understood that when describing the structure of a component, when a layer or a region is referred to as being "on" or "over" another layer or another region, it may mean that it is directly on the other layer or another region, or that other layers or regions are included between it and the other layer or another region. Moreover, if the component is turned over, the layer or a region will be "below" or "beneath" another layer or another region.
[0077] According to one aspect of the present invention, a layout generation method is provided. Figure 1 FIG. 4 is a flow chart showing a method for generating a layout according to a first embodiment of the present invention. Figure 1 As shown, the layout generation method according to the first embodiment of the present invention includes the following steps:
[0078] In step S101, a parameter to be optimized is determined, and a parameterized layout for the parameter to be optimized is established;
[0079] In the process of designing a layout, parametric drawing of the layout is an extremely important method. The so-called parametric drawing means that in the process of drawing the layout, the layout is divided into multiple shape parts, and its shape is constrained by size parameters. Finally, the corresponding layout unit (parametric layout of the parameters to be optimized) can be directly formed by setting parameters (parameters to be optimized). Such a layout is also called a parametric layout (unit). In this step, the parameters to be optimized are determined, and a parametric layout for the parameters to be optimized is established. Of course, the parameters to be optimized can be one or more; when there are multiple parameters to be optimized, there can be mutual constraints between any parameters to be optimized. Optionally, the architecture of the circuit layout is determined; based on the determined architecture of the circuit layout and the parameters to be optimized, a parametric layout is established.
[0080] In step S102, a training value parameterized layout is obtained according to the training value of the parameter to be optimized and the parameterized layout, and the training value parameterized layout is simulated to obtain a training value performance indicator corresponding to the training value parameterized layout;
[0081] At least one specific (numerical) value is selected as the training value of the parameter to be optimized. The training value is substituted into the parameterized layout to obtain the training value parameterized layout. The training value parameterized layout is simulated to obtain the corresponding training value performance index. The performance index obtained by simulation is, for example, an electrical index.
[0082] In step S103, a mathematical model is established according to the training values, the training value performance indicators, and the corresponding relationship between the training values and the training value performance indicators;
[0083] A mathematical model is established based on the training values, the training value performance indicators and the corresponding relationship (mapping relationship) between the two. The established mathematical model can represent the performance indicators corresponding to different values of the parameters to be optimized in the parameterized layout. Optionally, a prediction network model is generated as the established mathematical model through a multi-layer perceptron in a neural network.
[0084] In step S104, a candidate value performance indicator corresponding to the candidate value of the parameter to be optimized is obtained according to the mathematical model;
[0085] At least one specific (numerical) value is selected as a candidate value of the parameter to be optimized. The candidate value is substituted into the mathematical model to obtain the corresponding candidate value performance index.
[0086] In step S105, at least one of the training value and / or the candidate value is determined as an optimized value of the parameter to be optimized according to the training value performance indicator and / or the candidate value performance indicator;
[0087] According to the obtained training value performance index and / or candidate value performance index, the optimization value (optimal value) of the parameter to be optimized is determined. Optionally, the one that meets the requirements (e.g., the optimal performance index) is selected from the obtained training value performance index and / or candidate value performance index, and the corresponding training value or candidate value is used as the optimization value.
[0088] Optionally, determine a target interval of the performance indicator; obtain a training value performance indicator and / or a candidate value performance indicator that satisfies the target interval, and then use the corresponding training value and / or candidate value as an optimization value. Optionally, search for the optimization value according to a search algorithm, and the search algorithm may include at least one of an annealing algorithm and a Bayesian algorithm. Optionally, optimize the parameters of the search algorithm to improve the search effect.
[0089] In step S106, a layout is generated according to the optimization value.
[0090] Substitute the optimized value into the parameterized layout to obtain the parameterized layout corresponding to the optimized value, and use the parameterized layout corresponding to the optimized value as the (final) layout.
[0091] In an optional embodiment of the present invention, the parameter to be optimized is one or more. The layout generation method further includes: determining a fixed parameter; when there is one parameter to be optimized, determining the constraint relationship between the parameter to be optimized and the fixed parameter; when determining the optimization value, determining it in combination with the constraint relationship. When there are multiple parameters to be optimized, determining the constraint relationship between the parameter to be optimized and the fixed parameter, and between different parameters to be optimized; when determining the optimization value, determining it in combination with the constraint relationship. When generating the layout or after generating the layout, performing a design rule check on the layout.
[0092] Optionally, when there are multiple parameters to be optimized, they can be named as the first sub-parameter to be optimized, the second sub-parameter to be optimized, etc. Accordingly, a first optimization sub-value corresponding to the first sub-parameter to be optimized is determined, and a second optimization sub-value corresponding to the second sub-parameter to be optimized is determined; and a layout is generated according to the first optimization sub-value and the second optimization sub-value.
[0093] Optionally, the training value, candidate value, optimized value, etc. are not limited to a single value, but may also be a collection of data (values) consisting of multiple / multiple types of data.
[0094] In the layout generation method, a first value range of the first sub-parameter to be optimized is set, and a second value range of the second sub-parameter to be optimized is set;
[0095] Randomly select a first training sub-value within the first value range, and randomly select a second training sub-value within the second value range, to obtain a training value including the first training sub-value and the second training sub-value; and / or
[0096] A first candidate sub-value is randomly selected within the first value range, and a second candidate sub-value is randomly selected within the second value range, to obtain candidate values including the first candidate sub-value and the second candidate sub-value.
[0097] In an optional embodiment of the present invention, the layout generation method further includes:
[0098] Determine the accuracy of the mathematical model; optionally, the accuracy of the mathematical model is the prediction accuracy of the mathematical model when predicting indicators for given parameters (for example, the predicted value performance indicator predicted by the candidate value according to the mathematical model), and the accuracy calculation method is generally (1-|predicted value-actual value| / actual value)*100%. Of course, there may be other accuracy calculation methods.
[0099] Establishing a current mathematical model according to the existing training values, the training value performance indicators, and the corresponding relationship between the training values and the training value performance indicators;
[0100] Obtaining a candidate value performance indicator corresponding to the at least one candidate value according to the at least one candidate value and the current mathematical model;
[0101] Obtaining a verification parameterized layout according to the at least one candidate value and the parameterized layout, and simulating the verification parameterized layout to obtain a verification performance indicator corresponding to the verification parameterized layout;
[0102] judging whether the current mathematical model meets the mathematical model accuracy according to the verification performance indicator and the candidate value performance indicator corresponding to the at least one candidate value,
[0103] Wherein, when the current mathematical model meets the mathematical model accuracy, the current mathematical model is used as the mathematical model.
[0104] According to another aspect of the present invention, a layout generation device is provided, for example, for implementing the above-mentioned layout generation method. The layout generation device comprises:
[0105] A parameterization unit, used to determine the parameters to be optimized and establish a parameterization layout for the parameters to be optimized;
[0106] A training unit, configured to obtain a training value parameterized layout according to the training value of the parameter to be optimized and the parameterized layout, and to simulate the training value parameterized layout to obtain a training value performance indicator corresponding to the training value parameterized layout;
[0107] A modeling unit, configured to establish a mathematical model according to the training values, the training value performance indicators, and the corresponding relationship between the training values and the training value performance indicators;
[0108] A model application unit, configured to obtain a candidate value performance indicator corresponding to the candidate value of the parameter to be optimized according to the mathematical model;
[0109] an optimization unit, configured to determine, according to the training value performance indicator and / or the candidate value performance indicator, at least one of the training value and / or the candidate value as an optimized value of the parameter to be optimized;
[0110] A generating unit is used to generate a layout according to the optimization value.
[0111] Optionally, the layout generating device further includes:
[0112] A target unit, used to determine a target range for a performance indicator; and
[0113] A searching unit is used to search the training value performance indicator and / or the candidate value performance indicator for the training value and / or the candidate value performance indicator that satisfies the target interval of the performance indicator.
[0114] Figure 2 A flow chart of performance indicator extraction according to a second embodiment of the present invention is shown. Figure 3 FIG. 2 shows an optimization flow chart of a search algorithm according to a second embodiment of the present invention. Figure 2 and Figure 3 As shown, the second embodiment of the present invention discloses a PLM-based rapid automatic optimization process for analog layout, which involves the fields of integrated circuits, artificial intelligence and mathematical optimization algorithms, analog layouts, and pan-semiconductor layout design tools.
[0115] PLM is a parametric layout generation tool. Users can use PLM's graphical interface to draw layouts that meet their requirements, set the size parameters that need to be changed according to their needs, and automatically export parameterized layout units (Pcells). After the design is completed, you can directly modify the parameters of the layout unit to generate a new corresponding layout in real time, thereby achieving real-time updates of the layout. In addition, PLM provides the function of directly defining parameter constraints in the graphical interface, and PLM can be used to directly design a reasonable parametric unit layout.
[0116] Combination Figure 2 As shown in the figure, after the layout is parameterized using PLM, an artificial intelligence method can be used to establish a mathematical model, for example, an artificial intelligence method can be used to quickly extract the performance indicators of the parameterized layout. The artificial intelligence training process is performed based on the layout parameter data set (training value) and layout indicator data set (training value performance indicator) generated by the parameterized layout (unit) to obtain a prediction model (mathematical model). The prediction model is applied to quickly generate (without simulation) the corresponding layout indicators (candidate value performance indicators) according to the layout parameters (parameters to be optimized) of the parameterized layout.
[0117] The idea of automatic layout optimization is to repeatedly adjust and modify the parameters of the layout, and combine it with the rapid index extraction process to make the index continue to move closer to the target set by the user. When adjusting the parameters, you can combine mathematical optimization algorithms to reduce the space for searching for reasonable parameters, so that the optimization process can obtain a set of reasonable parameterized layouts that meet the target indicators in a relatively short time, and finally realize the automatic optimization of the layout. For the specific optimization process, please refer to Figure 3 shown.
[0118] In the above embodiment of the present invention, a process method is proposed for implementing parametric design of a layout based on PLM, and completing rapid and automatic optimization of the layout. Specifically, an artificial intelligence model is obtained through training to realize the rapid extraction function of parameterized layout indicators. By applying the PLM parameterized layout unit and the artificial intelligence-based rapid indicator extraction method, through further optimization and search of the algorithm, a set of parameters that meet the requirements can be found within a given range and the corresponding layout can be generated.
[0119] Figure 4 A method flow chart of a layout generation method according to a third embodiment of the present invention is shown. Figure 5 FIG. 4 is a schematic diagram showing the principle of a multilayer perceptron according to a third embodiment of the present invention. Figure 4 and Figure 5 As shown, in the layout generation method described in the third embodiment of the present invention, the following steps are included:
[0120] In step 1, the architecture of the circuit layout is determined.
[0121] The automatic optimization process is only effective for the layout of the same circuit. If the circuit structure changes, it will cause deviations in the automatic optimization process, so it is necessary to ensure a set of unchanged circuit schematics. Determine the architecture of the circuit layout to establish the corresponding parameterized layout.
[0122] In step 2, the simulation layout parameterization design process is completed in PLM.
[0123] PLM provides an interactive graphical interface that allows users to quickly and easily design parametric simulation layout units. During parametric design, variable parameters (parameters to be optimized) are determined, that is, important dimensions in the simulation layout are saved as parameters. In subsequent development, the parameters are adjusted and the layout is automatically updated. Other unimportant parameters that do not need to be changed or have no effect on indicators, such as the size of the cut corners, can be saved as default values (fixed parameters);
[0124] Provide a list of variable parameters (for example, including the first sub-parameter to be optimized and the second sub-parameter to be optimized), set a variable range (for example, including the first value range and the second value range), randomly select values within the range, generate different parameter combinations, and generate parameterized layouts of different sizes. In PLM, layout constraints need to be set, and the generated layout is guaranteed to be a reasonable layout by checking constraints and DRC (design rule check). And the generated layout needs to go through steps such as DRC checking to ensure that the parameterized layout corresponding to this set of size parameters is a reasonable layout.
[0125] Import the parameterized unit designed in PLM into Aether (layout editing tool), connect it with the indicator calculation tool, improve the input information of indicator calculation (such as labeling, determining map information, etc.), and obtain the indicators corresponding to the parameterized unit layout. Randomly select the parameters within a given range, generate parameterized layouts of different sizes, and obtain the indicators corresponding to different parameterized layouts through the indicator calculation tool. Optionally, the above process can be encapsulated in a script to realize the automated process of automatically generating random parameter combinations -> automatically updating the layout -> automatically calculating and simulating indicators.
[0126] In step 3, a fast indicator extraction process is implemented based on artificial intelligence methods.
[0127] Specifically, script control is used to automatically perform the index calculation process and output the result file for parameterized layouts of different sizes. The selected changed parameters and the output simulation calculation index results are saved as a data set. The above process can be parallelized on multiple servers through LSF to speed up the process. LSF (Load Sharing Facility) is a distributed cluster management system software under IBM, which is responsible for the management of computing resources and the scheduling of batch jobs.
[0128] Reference Figure 5 As shown in the figure, a fast index extraction model is constructed based on artificial intelligence algorithm, and a prediction network model is designed based on the multi-layer perceptron in the neural network. And according to the complexity of the index calculation, the network layer depth structure is adjusted. The network model is trained with the data set generated in step 4 to simulate the mapping from parameters to indicators, and the hyperparameters in the model are gradually adjusted to improve the accuracy of the model output, and finally a high-precision fast index extraction process is realized.
[0129] In step 4, a qualified parameter (optimized value) is quickly searched based on a mathematical optimization algorithm (search algorithm) to complete the automatic optimization process of the layout. The mathematical optimization algorithm may be a (simulated) annealing algorithm, a Bayesian (optimization) algorithm, or the like.
[0130] Specifically, one or more targets to be optimized (for example, parameters to be optimized) and their corresponding optimization target intervals are determined. The automatic optimization process in the present invention continuously adjusts the layout size within the reasonable range of parameter changes provided in step 3, and uses the indicator rapid extraction method in step 3 to rapidly extract the optimization target indicator, and after multiple adjustments, the optimization target indicator corresponding to the parameterized layout enters the set interval.
[0131] By adjusting the hyperparameters in the mathematical optimization algorithm (hyperparameters are generally adjusted manually based on experience, or by algorithm tuning), the effect of the optimization algorithm can be improved, such as search time, optimization effect, etc. More sub-functions that interact with the user can be realized by modifying the parameters, such as limiting the range of variable parameters, setting the optimization direction, adjusting the key optimization target, etc.
[0132] In the above-mentioned embodiment of the present invention, artificial intelligence (AI) and mathematical optimization schemes are used to optimize the simulation layout according to the target indicators. Users can design parameterized layouts conveniently and quickly through PLM, and define important parameters and constraints that need to be changed in the layout. Set the value range of different size parameters, generate parameterized layouts with the same structure but different sizes, and use the indicator calculation simulation tool to calculate the indicators of different parameterized layouts. Use different size parameters and their corresponding electrical indicators as data sets to train the artificial intelligence model to achieve rapid extraction of indicators. After reaching the required accuracy, the parameterized layout is continuously adjusted using a mathematical optimization algorithm until the corresponding indicators of the layout meet the standards. The AI-based method can realize the rapid extraction of the indicators of the parameterized layout, and combined with the mathematical optimization algorithm, it can realize certain adjustments to the layout so that the corresponding indicators of the modified simulation layout meet the set requirements. The combination of the three can complete the process of a simulation layout from design to indicator extraction to automatic optimization, and generate one or more parameterized simulation layouts that meet the standards in a short time. In addition, the process extracted in the present invention has good versatility and expansibility. It is not limited to the above-mentioned application scenarios, but can also be applied to multiple scenarios, such as in the automatic optimization process of different circuit layouts; and through different settings, various forms of interaction with users can be realized to achieve different functions.
[0133] Figure 6 FIG. 4 shows a schematic structure of an OLED pixel according to a fourth embodiment of the present invention. Figure 7 The optimized OLED Pixel architecture according to the fourth embodiment of the present invention is shown. In the fourth embodiment of the present invention, a method for rapid and automatic optimization of OLED Pixel (pixel) simulation layout is disclosed.
[0134] OLED Pixel is a pixel circuit, which is the main basic circuit in OLED screen. In the analog layout drawing of OLED Pixel circuit, multiple parameters need to be defined. Based on this feature, PLM tools can be used to realize the design of OLED Pixel parameterized layout.
[0135] In the layout design of OLED Pixel, there are often multiple RC electrical indicators that designers are very concerned about. In order to meet certain indicator requirements, designers need to make multiple modifications and adjustments to the OLED Pixel layout until the layout indicators meet the requirements. This process often requires a lot of time and manpower costs. According to the fast automatic optimization process proposed in the present invention, after the algorithm model is improved, multiple layouts that meet the requirements can be quickly and automatically generated for developers to choose from, completing the automatic optimization process of the layout.
[0136] Specifically, the steps include:
[0137] In step 1, confirm the circuit structure of OLED Pixel and design the general structure. The general structure (principle structure) of OLED Pixel can be referred to Figure 6 shown.
[0138] In step 2, the parametric layout of the OLED Pixel is designed in PLM, the parameters that need to be changed are determined, the default values of the unchanged parameters are set, and the constraint relationships are determined.
[0139] In step 3, the designed parameterized layout is imported into Aether as a parameterized unit, and the layout is updated and generated in a one-click manner using a script.
[0140] In step 4, set the RCE related information, calculate the RC index of the OLED Pixel, complete the operations such as labeling and setting the Map file, and complete the automated index calculation process.
[0141] In step 5, the variable parameter range is determined, and parameter combinations are generated by randomly taking values within the range, and different OLED parameter layouts are automatically generated, and the indicator calculation process is automatically completed.
[0142] In step 6, parallel calculation is performed in LSF to accelerate the indicator calculation process, collect multiple data, extract the VddN1 capacitance from the calculated indicators as the optimization target indicator, and collect and organize the randomly sampled parameters to obtain the parameter indicator sample data set of OLEDPixel.
[0143] In step 7, the designed artificial intelligence model is trained using the data set. After repeated training and parameter tuning, a high-precision prediction network model is finally obtained, which can realize a high-precision rapid indicator extraction process.
[0144] In step 8, combined with the fast index extraction process, the simulated annealing algorithm is used to repeatedly adjust the parameter combination of the parameterized layout until the VddN1 index of the layout is finally close to the target value, and the corresponding OLED Pixel layout is generated, completing the fast and automatic optimization process of the OLED Pixel layout. Figure 7 The optimized OLED Pixel architecture shown.
[0145] Figure 8 FIG. 5 shows a schematic diagram of the structure of a server according to a fifth embodiment of the invention. Figure 8 The present disclosure also provides a block diagram of an exemplary server (computing device) suitable for implementing the embodiments of the present disclosure. It should be understood that Figure 8The server shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0146] like Figure 8 As shown, the server 900 is in the form of a general-purpose computing device. The components of the server 900 may include, but are not limited to: one or more processors or processing units 910, a memory 920, and a bus 901 connecting different system components (including the memory 920 and the processing unit 910).
[0147] Bus 901 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus structures. For example, these architectures include but are not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
[0148] The server 900 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the server 900, including volatile and non-volatile media, removable and non-removable media.
[0149] System memory 920 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 921 and / or cache memory 922. Server 900 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 923 may be used to read and write non-removable, non-volatile magnetic media ( Figure 8 not shown, usually called a "hard drive"). Although Figure 8 Not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 901 via one or more data medium interfaces. Memory 920 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of each embodiment of the present disclosure.
[0150] A program / utility 924 having a set (at least one) of program modules 9241 may be stored, for example, in the memory 920. Such program modules 9241 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination thereof may include an implementation of a network environment. The program modules 9241 generally perform the functions and / or methods of the embodiments described in the embodiments of the present disclosure.
[0151] Further, the server 900 may also be connected to a display 990 for displaying the results of the screening and sorting, and the display 990 may include, but is not limited to, a liquid crystal display (LCD), a light emitting diode (LED) display, and a plasma display. In some embodiments, the display 990 may also be a touch screen.
[0152] Further, the server 900 may also communicate with one or more devices that enable users to interact with the server 900, and / or communicate with any device (e.g., a network card, a modem, etc.) that enables the server 900 to communicate with one or more other computing devices. Such communication may be performed via an input / output (I / O) interface 930. Furthermore, the server 900 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 940. As shown, the network adapter 940 communicates with other modules of the server 900 via a bus 901. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the server 900, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0153] The processing unit 910 executes various functional applications and data processing by running programs stored in the system memory 920, such as implementing the methods described in the above embodiments of the present disclosure.
[0154] The present disclosure also provides a computer-readable storage medium on which a computer program (or computer-executable instructions) is stored. When the program is executed by a processor, it is used to execute the method described in the above embodiments of the present disclosure. The specific method can be referred to in the claims.
[0155] The computer storage medium of the embodiment of the present disclosure may adopt any combination of one or more computer-readable media. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by an instruction execution system, device or device or used in combination with it.
[0156] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0157] The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0158] Computer program code for performing the operation of the disclosed embodiments may be written in one or more programming languages or a combination thereof, including object-oriented programming languages (such as Java, Smalltalk, C++), and conventional procedural programming languages such as "C" language or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect through the Internet).
[0159] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0160] According to the embodiments of the present invention as described above, these embodiments do not describe all the details in detail, nor do they limit the invention to the specific embodiments described. Obviously, many modifications and changes can be made based on the above description. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can make good use of the present invention and the modified use based on the present invention. The present invention is limited only by the claims and their full scope and equivalents.
Claims
1. A layout generation method, comprising: Determine the parameters to be optimized, and establish a parameterized layout for the parameters to be optimized; According to the training value of the parameter to be optimized and the parameterized layout, a training value parameterized layout is obtained, and the training value parameterized layout is simulated to obtain a training value performance indicator corresponding to the training value parameterized layout; Establishing a mathematical model according to the training values, the training value performance indicators, and the corresponding relationship between the training values and the training value performance indicators; Obtaining, according to the mathematical model, a candidate value performance indicator corresponding to the candidate value of the parameter to be optimized; Determining, according to the training value performance indicator and / or the candidate value performance indicator, at least one of the training value and / or the candidate value as an optimized value of the parameter to be optimized; According to the optimization value, a layout is generated. Wherein, the parameters to be optimized are one or more; The step of establishing a parameterized layout for the parameters to be optimized includes: In the process of drawing the layout, the layout is divided into a plurality of shape parts, and the shapes thereof are constrained by size parameters, and a parameterized layout corresponding to the parameters to be optimized is directly formed by setting the form of the parameters to be optimized; The layout generation method also includes: Determine fixed parameters; When there is one parameter to be optimized, determine the constraint relationship between the parameter to be optimized and the fixed parameter, and determine at least one of the training values and / or the candidate value as the optimized value of the parameter to be optimized based on the training value performance index and / or the candidate value performance index and the constraint relationship; when there are multiple parameters to be optimized, determine the constraint relationship between the parameter to be optimized and the fixed parameter and between different parameters to be optimized, and determine at least one of the training value and / or the candidate value as the optimized value of the parameter to be optimized based on the training value performance index and / or the candidate value performance index and the constraint relationship; Performing a design rule check on the layout generated according to the optimization value.
2. The layout generation method according to claim 1, wherein: Determining at least one of the training value and / or the candidate value as the optimized value of the parameter to be optimized according to the training value performance indicator and / or the candidate value performance indicator comprises: Determine the target range of performance indicators; Obtain training values and / or candidate values corresponding to the training value performance indicator and / or the candidate value performance indicator that meet the target interval of the performance indicator, and then determine at least one of the training values and / or the candidate value as the optimization value.
3. The layout generation method according to claim 2, wherein: The obtaining of the training value performance indicator and / or the training value and / or the candidate value corresponding to the candidate value performance indicator that satisfies the target interval of the performance indicator comprises: Searching the training value performance indicator and / or the candidate value performance indicator for training values and / or candidate values corresponding to the training value performance indicator and / or the candidate value performance indicator that meet the target interval of the performance indicator according to a search algorithm; The layout generation method also includes: Optimizing parameters of the search algorithm; Wherein, the search algorithm includes at least one of an annealing algorithm and a Bayesian algorithm.
4. The layout generation method according to claim 1, wherein: The parameter to be optimized includes a first sub-parameter to be optimized and a second sub-parameter to be optimized; The layout generation method also includes: Determine a first optimized sub-value corresponding to the first sub-parameter to be optimized, and determine a second optimized sub-value corresponding to the second sub-parameter to be optimized; A layout is generated according to the first optimization sub-value and the second optimization sub-value.
5. The layout generation method according to claim 4, wherein: The layout generation method also includes: Setting a first value range of the first sub-parameter to be optimized, and setting a second value range of the second sub-parameter to be optimized; Randomly select a first training sub-value within the first value range, and randomly select a second training sub-value within the second value range, to obtain a training value including the first training sub-value and the second training sub-value; and / or A first candidate sub-value is randomly selected within the first value range, and a second candidate sub-value is randomly selected within the second value range, to obtain candidate values including the first candidate sub-value and the second candidate sub-value.
6. The layout generation method according to claim 1, wherein: The establishing of the mathematical model according to the training value, the training value performance indicator and the corresponding relationship between the training value and the training value performance indicator comprises: A prediction network model is generated as the mathematical model through a multi-layer perceptron in a neural network.
7. The layout generation method according to claim 1, wherein: The layout generation method also includes: Determine the accuracy of mathematical models; Establishing a current mathematical model according to the existing training values, the training value performance indicators, and the corresponding relationship between the training values and the training value performance indicators; Obtaining a candidate value performance indicator corresponding to the at least one candidate value according to the at least one candidate value and the current mathematical model; Obtaining a verification parameterized layout according to the at least one candidate value and the parameterized layout, and simulating the verification parameterized layout to obtain a verification performance indicator corresponding to the verification parameterized layout; judging whether the current mathematical model meets the mathematical model accuracy according to the verification performance indicator and the candidate value performance indicator corresponding to the at least one candidate value, Wherein, when the current mathematical model meets the mathematical model accuracy, the current mathematical model is used as the mathematical model.
8. The layout generation method according to claim 1, wherein: The layout generation method also includes: Determine the architecture of the circuit layout; The parameterized layout is established according to the architecture of the circuit layout and the parameters to be optimized.
9. A layout generation device, comprising: A parameterization unit, used to determine the parameters to be optimized and establish a parameterization layout for the parameters to be optimized; A training unit, configured to obtain a training value parameterized layout according to the training value of the parameter to be optimized and the parameterized layout, and to simulate the training value parameterized layout to obtain a training value performance indicator corresponding to the training value parameterized layout; A modeling unit, configured to establish a mathematical model according to the training values, the training value performance indicators, and the corresponding relationship between the training values and the training value performance indicators; A model application unit, configured to obtain a candidate value performance indicator corresponding to the candidate value of the parameter to be optimized according to the mathematical model; an optimization unit, configured to determine, according to the training value performance indicator and / or the candidate value performance indicator, at least one of the training value and / or the candidate value as an optimized value of the parameter to be optimized; A generating unit, used for generating a layout according to the optimization value, Wherein, the parameters to be optimized are one or more; The step of establishing a parameterized layout for the parameters to be optimized includes: In the process of drawing the layout, the layout is divided into a plurality of shape parts, and the shapes thereof are constrained by size parameters, and a parameterized layout corresponding to the parameters to be optimized is directly formed by setting the form of the parameters to be optimized; The layout generation device is also used for: Determine fixed parameters; When there is one parameter to be optimized, determine the constraint relationship between the parameter to be optimized and the fixed parameter, and determine at least one of the training values and / or the candidate value as the optimized value of the parameter to be optimized based on the training value performance index and / or the candidate value performance index and the constraint relationship; when there are multiple parameters to be optimized, determine the constraint relationship between the parameter to be optimized and the fixed parameter and between different parameters to be optimized, and determine at least one of the training value and / or the candidate value as the optimized value of the parameter to be optimized based on the training value performance index and / or the candidate value performance index and the constraint relationship; Performing a design rule check on the layout generated according to the optimization value.
10. The layout generation device according to claim 9, wherein: The layout generating device further comprises: target unit, used to determine the target range of the performance indicator; A searching unit is used to search the training value performance indicator and / or the candidate value performance indicator for the training value and / or the candidate value performance indicator that satisfies the target interval of the performance indicator.
11. A computing device comprising: processor; a memory for storing one or more programs, Wherein, when the one or more programs are executed by the processor, the processor implements the layout generation method as described in any one of claims 1 to 8.
12. A computer-readable storage medium having a computer program stored thereon, wherein: When the program is executed by a processor, the layout generation method according to any one of claims 1 to 8 is implemented.
