Mask layout determination model training method and device, and mask layout determination method and device
Through neural network model training and prediction, high-quality mask layout is determined, which solves the problem of low mask layout quality in integrated circuit technology, achieves high similarity between wafer layout and chip layout, and improves the determination of mask layout. efficiency and accuracy.
Patent Information
- Application Number
- PCT/CN2023/128438
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-10
- Filing Date
- 2023-10-31
- Publication Date
- 2024-09-19
AI Technical Summary
In integrated circuit technology, as the chip layout design size shrinks, interference effects and diffraction effects become obvious, resulting in serious distortion of the actual wafer layout and mask layout, which in turn causes the wafer layout to be different from the chip layout. How Improving the quality of mask layout has become an urgent problem that needs to be solved.
Through neural network model training, the labeled mask layout and sample chip layout are obtained, the mask layout is predicted, and the wafer layout considering the actual photolithography process parameters is determined based on the predicted mask layout. The mask layout determination model is obtained through training, so that the mask layout can be determined through the mask layout. The target mask layout determined by the mask layout is more in line with the actual photolithography process parameters, and can obtain a wafer layout that is highly similar to the target chip layout under the conditions of the actual photolithography process parameters.
The quality of the mask layout is improved, making the wafer layout and the chip layout determined based on the mask layout have a high degree of similarity, solving the problem of the difference between the wafer layout and the chip layout, and improving the efficiency and accuracy of determining the mask layout. sex.
Smart Images

Figure CN2023128438_19092024_PF_FP_ABST
Abstract
Description
Training of mask layout determination model, mask layout determination method and device
[0001] This application claims priority to Chinese patent application No. 202310284682.2 filed on March 10, 2023, entitled “Training of Mask Layout Determination Model, Method and Device for Determining Mask Layout,” the entire contents of which are incorporated herein by reference. Technical Field
[0002] The embodiments of the present application relate to the field of integrated circuit technology, and in particular to a method and device for training a mask layout determination model and determining a mask layout. Background Art
[0003] In integrated circuit (IC) technology, it is necessary to first design the IC layout, then use a photolithography machine to expose the IC layout on photosensitive resin to obtain a mask layout, and then use a photolithography machine again to expose the mask layout on a wafer to obtain a wafer layout.
[0004] The IC layout, also known as the chip layout, has become increasingly smaller as design dimensions have approached or become smaller than the wavelength of the light source used in the photolithography process. This has led to increasingly pronounced interference and diffraction effects, causing the actual wafer layout to be severely distorted compared to the mask layout, resulting in differences between the wafer layout and the chip layout. Consequently, obtaining the mask layout has become a pressing issue.
[0005] Summary of the Invention
[0006] The present application provides a mask layout determination model training, mask layout determination method and device, which can improve the quality of the mask layout so that the wafer layout determined based on the mask layout has a high degree of similarity with the chip layout. The technical solution includes the following contents.
[0007] In a first aspect, a method for training a mask layout determination model is provided, the method being performed by an electronic device and comprising:
[0008] Acquire a marked mask layout and a sample chip layout, wherein the marked mask layout is a mask layout of the sample chip layout determined under a reference photolithography process parameter;
[0009] Determining a predicted mask layout of the sample chip layout through a neural network model, wherein the predicted mask layout is a mask layout of the sample chip layout obtained through prediction;
[0010] Determining a first wafer layout of the predicted mask layout by using a first wafer layout determination model, wherein the first wafer layout determination model includes actual lithography process parameters, and the first wafer layout is a wafer layout of the predicted mask layout obtained through prediction;
[0011] The neural network model is trained by using the marked mask layout, the predicted mask layout, the sample chip layout and the first wafer layout to obtain a mask layout determination model, which is used to determine a target mask layout of a target chip layout.
[0012] In a second aspect, a method for determining a mask layout is provided, the method being performed by an electronic device and comprising:
[0013] Obtain the target chip layout;
[0014] The target mask layout of the target chip layout is determined by a mask layout determination model, the mask layout determination model is trained according to the training method of the mask layout determination model described in any one of the first aspects, and the target mask layout is the mask layout of the target chip layout obtained by prediction.
[0015] In a third aspect, a training device for a mask layout determination model is provided, the device comprising:
[0016] An acquisition module, configured to acquire a marked mask layout and a sample chip layout, wherein the marked mask layout is a mask layout of the sample chip layout determined under a reference photolithography process parameter;
[0017] a determination module, configured to determine a predicted mask layout of the sample chip layout through a neural network model, wherein the predicted mask layout is a mask layout of the sample chip layout obtained through prediction;
[0018] The determination module is further configured to determine a first wafer layout of the predicted mask layout using a first wafer layout determination model, wherein the first wafer layout determination model includes actual photolithography process parameters, and the first wafer layout is a wafer layout of the predicted mask layout obtained through prediction;
[0019] A training module is used to train the neural network model through the marked mask layout, the predicted mask layout, the sample chip layout and the first wafer layout to obtain a mask layout determination model, and the mask layout determination model is used to determine the target mask layout of the target chip layout.
[0020] In a fourth aspect, a device for determining a mask layout is provided, the device comprising:
[0021] An acquisition module is used to obtain the target chip layout;
[0022] A determination module is used to determine the target mask layout of the target chip layout through a mask layout determination model, wherein the mask layout determination model is trained according to the training method of the mask layout determination model described in any one of the first aspects, and the target mask layout is the mask layout of the target chip layout obtained by prediction.
[0023] In a fifth aspect, an electronic device is provided, comprising a processor and a memory, wherein the memory stores at least one computer program, and the at least one computer program is loaded and executed by the processor so that the electronic device implements the training method for the mask layout determination model described in any one of the first aspects or implements the mask layout determination method described in any one of the second aspects.
[0024] In the sixth aspect, a non-volatile computer-readable storage medium is also provided, in which at least one computer program is stored. The at least one computer program is loaded and executed by a processor to enable the electronic device to implement the training method of the mask layout determination model described in any of the first aspects above or the mask layout determination method described in any of the second aspects above.
[0025] In the seventh aspect, a computer program or a computer program product is also provided, wherein the computer program or the computer program product stores at least one computer program, and the at least one computer program is loaded and executed by a processor so that the electronic device implements the training method of the mask layout determination model described in any of the first aspects above or implements the mask layout determination method described in any of the second aspects above.
[0026] The technical solution provided in this application uses a neural network model to determine a predicted mask layout for a sample chip layout, and based on the predicted mask layout, determines a first wafer layout that takes into account actual lithography process parameters. By annotating the mask layout, predicted mask layout, sample chip layout, and first wafer layout, the neural network model is trained to obtain a mask layout determination model. This makes the target mask layout determined by the mask layout determination model more consistent with actual lithography process parameters. Under the conditions of actual lithography process parameters, a wafer layout that is highly similar to the target chip layout can be obtained, thereby improving the quality of the target mask layout. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] FIG1 is a schematic diagram of an implementation environment of a method for training a mask layout determination model or a method for determining a mask layout according to an embodiment of the present application;
[0028] FIG2 is a flow chart of a method for training a mask layout determination model provided by an embodiment of the present application;
[0029] FIG3 is a schematic diagram of edge correction information provided by an embodiment of the present application;
[0030] FIG4 is a flowchart of determining a marked mask layout according to an embodiment of the present application;
[0031] FIG5 is a flow chart of a method for determining a mask layout provided in an embodiment of the present application;
[0032] FIG6 is a schematic diagram of pre-training an initial network model provided by an embodiment of the present application;
[0033] FIG7 is a schematic diagram of optimizing training of a neural network model provided by an embodiment of the present application;
[0034] FIG8 is a schematic diagram of a mask process window provided in an embodiment of the present application;
[0035] FIG9 is a structural diagram of a training device for a mask layout determination model provided by an embodiment of the present application;
[0036] FIG10 is a structural diagram of a device for determining a mask layout provided in an embodiment of the present application;
[0037] FIG11 is a schematic structural diagram of a terminal device provided in an embodiment of the present application;
[0038] FIG12 is a schematic diagram of the structure of a server provided in an embodiment of the present application. DETAILED DESCRIPTION
[0039] In order to make the objectives, technical solutions and advantages of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.
[0040] FIG1 is a schematic diagram of an implementation environment for a method for training a mask layout determination model or a method for determining a mask layout provided in an embodiment of the present application. As shown in FIG1 , the implementation environment includes a terminal device 101 and a server 102. The method for training a mask layout determination model or the method for determining a mask layout in the embodiment of the present application can be executed by the terminal device 101, or by the server 102, or by both the terminal device 101 and the server 102. The device for executing the method for training a mask layout determination model and the device for executing the method for determining a mask layout can be the same or different.
[0041] The terminal device 101 can be a smartphone, a desktop computer, a tablet computer, a laptop computer, etc. The server 102 can be a single server, or a server cluster consisting of multiple servers, or any one of a cloud computing platform and a virtualization center, which is not limited in this embodiment of the present application. The server 102 can be connected to the terminal device 101 via a wired network or a wireless network. The server 102 can have functions such as data processing, data storage, and data transmission and reception, which are not limited in this embodiment of the present application. The number of terminal devices 101 and servers 102 is not limited and can be one or more.
[0042] Each optional embodiment of the present application can be implemented based on artificial intelligence (AI) technology.
[0043] With the continuous development of computer technology, integrated circuit (IC) technology has also developed accordingly. In the field of IC technology, it is usually necessary to design an IC layout, obtain a mask layout based on the IC layout, and then obtain a wafer layout by exposing the mask layout on a wafer.
[0044] IC layouts, also known as chip layouts, continue to shrink, approaching or exceeding the wavelength of the light source used in the photolithography process. This results in increasingly pronounced interference and diffraction effects, causing the actual wafer layout to be severely distorted compared to the mask layout, resulting in differences between the wafer layout and the chip layout. Consequently, improving the quality of the mask layout has become a pressing issue.
[0045] The embodiment of the present application provides a method for training a mask layout determination model. The method can be applied in the above-mentioned implementation environment, can improve the quality of the mask layout, and make the wafer layout determined based on the mask layout have a high degree of similarity with the chip layout. Taking the flowchart of a method for training a mask layout determination model provided by the embodiment of the present application shown in Figure 2 as an example, for ease of description, the terminal device 101 or server 102 that executes the method for training the mask layout determination model in the embodiment of the present application is referred to as an electronic device, and the method can be executed by an electronic device. As shown in Figure 2, the method includes the following steps 201 to 204.
[0046] Step 201: Obtain a marked mask layout and a sample chip layout.
[0047] The annotated mask layout is a mask layout of a sample chip layout determined under the conditions of a reference photolithography process parameter.
[0048] The sample chip layout can be any chip layout. The chip layout is based on the implementation of the logic circuit, and is a pattern obtained by laying out and connecting multiple circuit components. Simply put, you can first design the logic circuit. For example, based on the requirements, analyze the various functions that the logic circuit needs to implement, and perform simulation verification for each function to obtain the logic circuit. Then, based on the logic circuit, determine the type of circuit components, the number of circuit components, the size of the circuit components, the relative position between the circuit components, the connection relationship between the circuit components, and other information. According to this information, the circuit components are laid out and connected, and the resulting pattern is the chip layout.
[0049] The embodiments of the present application do not limit the method for obtaining the sample chip layout. For example, the electronic device can use any input chip layout as the sample chip layout, or the electronic device can crawl the chip layout from the network to obtain the sample chip layout.
[0050] By calculating the sample chip layout, the mask layout of the sample chip layout under the conditions of the benchmark photolithography process parameters is obtained, and the mask layout is recorded as the marked mask layout. Wherein, the benchmark photolithography process parameters refer to the set photolithography process parameters. The photolithography process parameters are the parameters of the photolithography process. The photolithography process is a step in the semiconductor device manufacturing process, which mainly depicts a geometric structure on a photoresist layer by exposure and development, and transfers the pattern on the mask (i.e., the mask layout) to the substrate where the photoresist layer is located by an etching process. In an embodiment of the present application, in the process of exposing the marked mask layout on a wafer by a photolithography machine, the photolithography machine can expose based on the set photolithography process parameters, and the photolithography process parameters set here are the benchmark photolithography process parameters. In other words, the benchmark photolithography process parameters are the set photolithography process parameters based on which the marked mask layout is exposed on a wafer by a photolithography machine.
[0051] In an exemplary embodiment, a baseline photolithography process parameter is determined by using a defocus process parameter distribution function and / or an exposure dose deviation process parameter distribution function. Exemplarily, the independent variable value for the baseline photolithography process parameter is substituted into the defocus process parameter distribution function to obtain a first dependent variable value, and the first dependent variable value is used as the baseline photolithography process parameter; or, the independent variable value for the baseline photolithography process parameter is substituted into the exposure dose deviation process parameter distribution function to obtain a second dependent variable value, and the second dependent variable value is used as the baseline photolithography process parameter; or, the independent variable value for the baseline photolithography process parameter is substituted into the defocus process parameter distribution function to obtain a first dependent variable value, and the independent variable value for the baseline photolithography process parameter is substituted into the exposure dose deviation process parameter distribution function to obtain a second dependent variable value, and the first dependent variable value and the second dependent variable value are used as the baseline photolithography process parameter.
[0052] The defocus process parameter distribution function is used to describe the energy distribution of light on the workpiece when the positional relationship between the focus and the workpiece is determined. In the embodiment of the present application, the focus refers to the focus of the lithography machine, and the workpiece includes a wafer. The focus can be above the workpiece, inside the workpiece, or below the workpiece. Among them, the focus above the workpiece is called positive defocus, and the focus inside the workpiece or the focus below the workpiece is called negative defocus. The defocus process parameter distribution function is shown in the following formula (1).
[0053] Among them, ξ(h μ ) represents the defocusing process parameter distribution function. exp represents the exponential function with the natural constant e as the base. h μ Characterizes the distance between the wafer and the focal plane of the lithography machine. It can be understood that the focus of the lithography machine is located on the focal plane of the lithography machine. h Characterizes the broadening of the distribution function. This embodiment of the application does not μ , σ h For example, for the reference lithography process parameters, h μ =0 nanometers (Nanometer, nm), σ h =80. For example, h for the benchmark lithography process parameters μ , σ h Substitute the value of into formula (1) and get ξ(h μ ) value, the ξ(h μ ) is the value of the first dependent variable mentioned above.
[0054] The exposure dose deviation process parameter distribution function is used to describe the energy distribution deviation of light in different areas of the workpiece. The exposure dose deviation process parameter distribution function is shown in the following formula (2).
[0055] Among them, ζ(t q ) represents the exposure dose deviation process parameter distribution function. exp represents the exponential function with the natural constant e as the base. t q Characterizes the exposure dose deviation of the lithography machine. q Represents the broadening of the distribution function. q , σ q For example, for the reference lithography process parameters, t q =0,σ q =0.1. For example, the t q , σ q Substitute the value of into formula (2) and get ζ(t q ) value, the ζ(t q ) is the value of the second dependent variable mentioned above.
[0056] In a possible implementation, the step 201 of “obtaining a marked mask layout” includes steps A1 to A3 (not shown in the figure).
[0057] Step A1: Generate an initial mask layout based on a sample chip layout.
[0058] Optionally, a linear correction is performed on the sample chip layout, and the resulting layout is recorded as the initial mask layout. For example, the calculation formula for the initial mask layout is: in, Characterizes the initial mask layout, w1 and w2 characterize the linear correction parameters, Z t Characterize the sample chip layout. The embodiment of the present application does not limit the values of the linear correction parameters. For example, w1 = 0.98 and w2 = 0.1. The difference between the initial mask layout calculated based on these two values and the sample chip layout is small, so that when the first gradient of the reference loss relative to the initial mask layout is subsequently determined, the value of the first gradient is relatively large, which is beneficial to the subsequent gradient descent processing, so that when the initial mask layout is adjusted based on the first gradient, the adjustment effect can be improved.
[0059] Step A2: Determine a second wafer layout of the initial mask layout through a second wafer layout determination model. The second wafer layout determination model includes reference lithography process parameters. The second wafer layout is a wafer layout of the initial mask layout obtained by prediction under the reference lithography process parameters.
[0060] Alternatively, the initial mask layout is directly input into the second wafer layout determination model, and the second wafer layout is outputted by the second wafer layout determination model. Alternatively, the initial mask layout is first activated to obtain a reference mask layout, and the reference mask layout is then input into the second wafer layout determination model, and the second wafer layout is outputted by the second wafer layout determination model.
[0061] Optionally, the initial mask layout is activated according to formula (3) shown below to obtain a reference mask layout.
[0062] Where M0 represents the reference mask pattern, and exp represents the exponential function with the natural constant e as the base. M and M th Characterize activation processing parameters. Characterize the initial mask layout. The present application embodiment does not limit the value of the activation processing parameter. For example, θ M =4,M th =0.225.
[0063] It can be understood that formula (3) is a sigmoid function, which is an activation function. In the embodiment of the present application, the initial mask layout is a binary mask layout (a mask layout consisting of two parts, a light-transmitting part and an opaque part), and it is very difficult to perform discontinuous optimization on the binary mask layout. Therefore, by activating the initial mask layout into a reference mask layout through an activation function, it is possible to convert the discontinuous optimization of the binary mask layout into a continuous optimization of the reference mask layout, thereby reducing the difficulty of optimization. In addition, by activating the initial mask layout into a reference mask layout through an activation function, it is possible to filter out small complex structures (for example, island structures, hollow structures, sawtooth structures, protruding item structures, etc.) in the initial mask layout, thereby reducing the structural complexity of the reference mask layout and increasing the manufacturability of the reference mask layout.
[0064] The embodiment of the present application does not limit the model structure, model size, etc. of the second wafer layout determination model. Exemplarily, the second wafer layout determination model is a Hopkins diffraction lithography physical model based on a coherent imaging system, which includes multiple kernel functions and activation functions, wherein the kernel function is obtained by performing a singular value decomposition on the cross-transfer coefficient of the lithography system. Optionally, the lithography system is a 193-nanometer ring light source system. The functions of the kernel function and the activation function are described below and will not be repeated here.
[0065] In an exemplary embodiment, step A2 includes steps A21 to A22 (not shown in the figure).
[0066] In step A21, a second wafer layout determination model is used to determine reference light intensity distribution information based on the initial mask layout. The reference light intensity distribution information is the light intensity distribution of the initial mask layout imaged on the wafer under reference photolithography process parameters.
[0067] In an embodiment of the present application, the second wafer layout determination model includes multiple kernel functions. The initial mask layout can be convolved with each kernel function, and reference light intensity distribution information can be obtained based on the results of each convolution process. Alternatively, the initial mask layout can be activated to obtain a reference mask layout, and then the reference mask layout can be convolved with each kernel function, and reference light intensity distribution information can be obtained based on the results of each convolution process. Optionally, the reference light intensity distribution information is shown in the following formula (4).
[0068] Where M(x,y) represents the reference mask layout, and x and y are the parameters of the reference mask layout. μ ) represents the reference light intensity distribution information, where h μRepresents the distance between the wafer and the focal plane of the lithography machine. K represents the number of kernel functions, where the kernel function is obtained by performing singular value decomposition on the cross transfer coefficient of the lithography system. In an exemplary embodiment, the first 24 kernel functions are obtained by performing singular value decomposition on the cross transfer coefficient of the lithography system, that is, K = 24. ω k (h μ ) represents the weight coefficient of the kth kernel function, h k (x,y;h μ ) represents the kth kernel function. ∑ represents the function symbol of the summation process, The function symbol representing the convolution processing, || represents the function symbol representing the absolute value processing.
[0069] It can be understood that, since the second wafer layout determination model includes the reference lithography process parameters, in formula (4), h μ =0.
[0070] Step A22: Determine the second wafer layout based on the reference light intensity distribution information using the second wafer layout determination model.
[0071] In an embodiment of the present application, the second wafer layout determination model includes an activation function. The activation function is used to activate the reference light intensity distribution information to obtain the second wafer layout. Optionally, the activation function is a sigmoid function. The sigmoid function is used to activate the reference light intensity distribution information according to formula (5) shown below to obtain the second wafer layout.
[0072] Among them, Z(x,y;h μ ,t q ) characterizes the second wafer layout, where x and y are the parameters of the reference mask layout, h μ Characterizes the distance between the wafer and the focal plane of the lithography machine, t q Characterizes the exposure dose deviation of the lithography machine. sig(I;h μ ,t q ) represents the sigmoid function, where I represents the reference light intensity distribution information. exp represents the exponential function with the natural constant e as the base. θ Z and I th Characterize the activation processing parameters, for example, θ Z =50,I th =0.225. I(x,y;h μ ) characterizes the reference light intensity distribution information.
[0073] It can be understood that, since the second wafer layout determination model includes the reference lithography process parameters, in formula (5), h μ =0,tq =0.
[0074] Step A3: Based on the sample chip layout and the second wafer layout, the initial mask layout is adjusted to obtain a marked mask layout.
[0075] In the embodiment of the present application, the initial mask layout is continuously adjusted through the sample chip layout and the second wafer layout, so that the mask layout is continuously optimized in the direction of making the wafer layout closer and closer to the sample chip layout, thereby achieving high accuracy in marking the mask layout.
[0076] In an exemplary embodiment, step A3 includes steps A31 to A34 (not shown in the figure).
[0077] Step A31 : determining a first reference sub-loss based on first difference information between the sample chip layout and the second wafer layout.
[0078] In an embodiment of the present application, first difference information between the sample chip layout and the second wafer layout can be calculated. For example, the first difference information can be calculated based on the difference between the pixel value of a pixel point in the sample chip layout and the pixel value of the corresponding pixel point in the second wafer layout. For example, the mean square error between the pixel value of a pixel point in the sample chip layout and the pixel value of the corresponding pixel point in the second wafer layout is used as the first difference information.
[0079] Exemplarily, the sample chip layout includes at least one geometric pattern, and the sum of the perimeters of the geometric patterns is used as the edge length of the sample chip layout. Based on the first difference information and the edge length of the sample chip layout, a first reference sub-loss is determined, and the error between the sample chip layout and the second wafer layout is described by the first reference sub-loss. Optionally, the first reference sub-loss is determined according to Formula (6) shown below.
[0080] Among them, L Aerial Characterizes the first reference sub-loss. L characterizes the edge length of the sample chip layout. Z(x,y;h μ ,t q )-Z t (x, y) represents the first difference information. t (x, y) represents the sample chip layout, where x and y represent the parameters of the sample chip layout. N represents the side length of the sample chip layout, that is, the sample chip layout is a square with a side length of N. Z(x, y; h μ ,t q ) characterizes the second wafer layout, h μ Characterizes the distance between the wafer and the focal plane of the lithography machine, t q Characterizes the exposure dose deviation of the lithography machine. γ is an adjustable parameter. For example, γ = 2.
[0081] It is understood that the dimensions of the edge length of the sample chip layout are length units, and the dimensions of the first reference sub-loss are also length units. Furthermore, the sample chip layout is a square with a side length of N, so the dimensions of the sample chip layout are also length units. In other words, the dimensions of the edge length of the sample chip layout, the dimensions of the first reference sub-loss, and the dimensions of the sample chip layout remain consistent.
[0082] Step A32: Determine a reference loss based on the first reference sub-loss.
[0083] In an exemplary embodiment, the first reference sub-loss is used as the reference loss. Alternatively, the first reference sub-loss is weighted, and the weighted result is used as the reference loss. Alternatively, step A32 includes steps A321 and A322 (not shown in the figure), that is, according to steps A321 and A322 as shown below, the reference loss is determined based on the first reference sub-loss.
[0084] Step A321, obtaining at least one of the second reference sub-loss, the third reference sub-loss, the fourth reference sub-loss, the fifth reference sub-loss, and the sixth reference sub-loss, wherein the second reference sub-loss is determined based on the initial mask layout, the third reference sub-loss is determined based on the second difference information between the sample chip layout and the initial mask layout, the fourth reference sub-loss is determined based on the first difference information and the edge correction information, the fifth reference sub-loss is determined based on the initial mask layout and the edge correction information, and the sixth reference sub-loss is determined based on the second difference information and the edge correction information, where the edge correction information is information for correcting the edge of the sample chip layout.
[0085] Exemplarily, the second reference sub-loss is determined directly based on the initial mask layout. Exemplarily, the initial mask layout is first activated to obtain a reference mask layout, and then the second reference sub-loss is determined based on the reference mask layout. In an exemplary embodiment, the pixel values of the reference mask layout are between 0 and 1, that is, the reference mask layout belongs to a continuous distribution, and the pixel values of the binary mask layout are 0 or 1, that is, the binary mask layout belongs to a discrete distribution, optionally, 0 represents light transmission and 1 represents opacity. Based on the above content, it can be seen that there is an error between the continuous distribution of the reference mask layout and the discrete distribution of the binary mask layout. The second reference sub-loss can be determined based on the reference mask layout according to formula (7) shown below, so that the error between the continuous distribution of the reference mask layout and the discrete distribution of the binary mask layout can be reflected by the second reference sub-loss.
[0086] Among them, R DRepresents the second reference sub-loss. M(x,y) represents the reference mask layout, where x and y represent parameters of the reference mask layout. The reference mask layout includes at least one geometric pattern, and the sum of the perimeters of each geometric pattern is used as the edge length of the reference mask layout, while L represents the edge length of the reference mask layout. N represents the side length of the reference mask layout, that is, the reference mask layout is a square with a side length of N.
[0087] Exemplarily, the difference information between the sample chip layout and the initial mask layout is directly calculated, the difference information is recorded as the second difference information, and the third reference sub-loss is determined based on the second difference information. Exemplarily, the initial mask layout is first activated to obtain the reference mask layout, and then the difference information between the sample chip layout and the reference mask layout is calculated, the difference information is recorded as the second difference information, and the third reference sub-loss is determined based on the second difference information. Exemplarily, the difference information between the two layouts (the sample chip layout and the initial mask layout, or the sample chip layout and the reference mask layout) can be calculated based on the difference between the pixel values of the corresponding pixels in the two layouts. For example, the mean square error between the pixel values of the corresponding pixels in the two layouts is used as the difference information between the two layouts.
[0088] Typically, many tiny structures are generated during mask optimization based on pixel features. That is, there are structural differences between the sample chip layout and the reference mask layout (or initial mask layout). Due to the structural differences between the reference mask layout and the sample chip layout, the complexity of the reference mask layout is increased, making the reference mask layout difficult to manufacture due to its high complexity. Therefore, a third reference sub-loss can be determined based on the second difference information to measure the complexity of the reference mask layout through the third reference sub-loss. Optionally, the third reference sub-loss is determined according to formula (8) shown below. f=|MZ t | Formula (8)
[0089] Among them, M represents the reference mask layout, Z t Characterizes the sample chip layout, and f characterizes the second difference information. TV represents the third reference sub-loss. L represents the edge length of the sample chip layout. Characterizes the first-order derivative of the second difference information with respect to x, represents the first-order derivative of the second difference information relative to y, where x and y represent parameters of the sample chip layout or the reference mask layout. ‖‖1 represents the 1-norm. D represents the first-order derivative of the second difference information, and T represents the transposed matrix. Represents matrix addition.
[0090] In an embodiment of the present application, the edge of the sample chip layout can be corrected to obtain edge correction information. Optionally, the edge of the sample chip layout can be corrected according to an edge correction distance and an edge correction amplitude to obtain edge correction information. The edge correction information includes multiple correction information points, each of which includes position information of multiple pixels. The distance between two adjacent correction information points is the edge correction distance, and the amplitude of any correction information point is the edge correction amplitude. Exemplarily, the edge correction distance is 40 nanometers, and the edge correction amplitude is 30 nanometers.
[0091] Please refer to Figure 3, which is a schematic diagram of edge correction information provided by an embodiment of the present application. The thick line in Figure 3 represents the edge of the sample chip layout, and the thin line on the edge represents the correction information. The correction information at any point includes the position information of each pixel point on the corresponding thin line. The edge correction distance is the distance between two adjacent correction information, that is, the distance between two adjacent thin lines. The edge correction amplitude is the amplitude of any correction information, that is, the length of any thin line.
[0092] By correcting the edges of the sample chip layout, noise is introduced into the sample chip layout, reducing the complexity of the sample chip layout, making the mask layout and wafer layout easier to approach the sample chip layout, which is conducive to improving the generalization ability and accuracy of the mask layout determination model.
[0093] Exemplarily, based on the first difference information and edge correction information between the sample chip layout and the second wafer layout, a fourth reference sub-loss is determined. The fourth reference sub-loss describes the error between the sample chip layout and the second wafer layout when noise is present in the sample chip layout. Optionally, the fourth reference sub-loss is determined according to Formula (9) shown below.
[0094] Among them, L Aerial-MEPE Characterizes the fourth reference sub-loss. L represents the edge length of the sample chip layout. Z(x,y;h μ ,t q )-Z t (x, y) represents the first difference information. t (x, y) represents the sample chip layout, where x and y represent the parameters of the sample chip layout. N represents the side length of the sample chip layout. Z(x, y; h μ ,t q ) characterizes the second wafer layout, h μ Characterizes the distance between the wafer and the focal plane of the lithography machine, t qCharacterizes the exposure dose deviation of the lithography machine. γ is an adjustable parameter. Modified Edge Placement Error (MEPE) is the edge correction information. ⊙ represents the multiplication of corresponding matrix elements.
[0095] Exemplarily, the fifth reference sub-loss is determined directly based on the initial mask layout and the edge correction information. Exemplarily, the initial mask layout is first activated to obtain a reference mask layout, and then the fifth reference sub-loss is determined based on the reference mask layout and the edge correction information. In an exemplary embodiment, the fifth reference sub-loss can be determined based on the reference mask layout and the edge correction information according to Formula (10) shown below, so that the fifth reference sub-loss reflects the error between the continuous distribution of the reference mask layout and the discrete distribution of the binary mask layout when the reference mask layout has the same noise as the sample chip layout.
[0096] Among them, R D-MEPE Represents the fifth reference sub-loss. M(x,y) represents the reference mask layout, where x and y represent the parameters of the reference mask layout. L represents the edge length of the reference mask layout. N represents the side length of the reference mask layout. MEPE is the edge correction information. ⊙ represents the matrix multiplication of corresponding elements.
[0097] Exemplarily, a sixth reference sub-loss is determined based on the second difference information and the edge correction information, so as to measure the complexity of the reference mask layout when the reference mask layout has the same noise as the sample chip layout. Optionally, the sixth reference sub-loss is determined according to Formula (11) shown below. f=|MZ t | Formula (11)
[0098] Among them, M represents the reference mask layout, Z t Characterizes the sample chip layout, and f characterizes the second difference information. TV-MEPE represents the sixth reference sub-loss. L represents the edge length of the sample chip layout. MEPE is the edge correction information. ⊙ represents the multiplication of corresponding matrix elements. Characterizes the first-order derivative of the product of the second difference information and the edge correction information with respect to x, represents the first-order derivative of the product of the second difference information and the edge correction information with respect to y, where x and y represent parameters of the sample chip layout or the reference mask layout. ‖‖1 represents the 1-norm. D represents the first-order derivative of the second difference information, and T represents the transposed matrix. Represents matrix addition.
[0099] It should be noted that the above introduces the methods for obtaining the second reference sub-loss, the third reference sub-loss, the fourth reference sub-loss, the fifth reference sub-loss and the sixth reference sub-loss. In actual application, one or more reference sub-losses can be selected from the second reference sub-loss, the third reference sub-loss, the fourth reference sub-loss, the fifth reference sub-loss and the sixth reference sub-loss according to needs, and the selected reference sub-loss can be obtained according to the acquisition method introduced above.
[0100] Step A322: Determine a reference loss based on the first reference sub-loss and at least one of the second reference sub-loss, the third reference sub-loss, the fourth reference sub-loss, the fifth reference sub-loss, and the sixth reference sub-loss.
[0101] Exemplarily, a weighted sum is performed on the first reference sub-loss and at least one of the second reference sub-loss, the third reference sub-loss, the fourth reference sub-loss, the fifth reference sub-loss, and the sixth reference sub-loss, and the reference loss is determined based on the weighted sum. It should be understood that for any two reference sub-losses from the first to the sixth reference sub-losses, the weights assigned to the two reference sub-losses may be the same or different.
[0102] Alternatively, the reference loss is determined according to the formula (12) shown below. MEPE =L Aerial-MEPE +α1R D-MEPE +κ1R TV-MEPE
[0103] Among them, L total Characterizes the reference loss. L Aerial Characterizes the first reference sub-loss. R D represents the second reference sub-loss, and α2 represents the weight of the second reference sub-loss. TV represents the third reference sub-loss, and κ2 represents the weight of the third reference sub-loss. MEPE represents the sub-loss corresponding to the edge correction information, and β represents the weight of the sub-loss corresponding to the edge correction information. Aerial-MEPE Characterizes the fourth reference sub-loss, and the weight of the fourth reference sub-loss is β. D-MEPE Represents the fifth reference sub-loss, α1 represents the sub-weight of the fifth reference sub-loss, and the product of the sub-weight of the fifth reference sub-loss and the weight of the sub-loss corresponding to the edge correction information is the weight of the fifth reference sub-loss, that is, α1β represents the weight of the fifth reference sub-loss. R TV-MEPE represents the sixth reference sub-loss, κ1 represents the sub-weight of the sixth reference sub-loss, and the product of the sub-weight of the sixth reference sub-loss and the weight of the sub-loss corresponding to the edge correction information is the weight of the sixth reference sub-loss, that is, κ1β represents the weight of the sixth reference sub-loss. ξ(h μ) characterizes the defocusing process parameter distribution function, ζ(t q ) characterizes the exposure dose deviation process parameter distribution function.
[0104] It is understandable that h μ The number is at least one, μ represents the sequence number, U represents h μ For example, for the baseline lithography process parameters, h μ =0, at this time, U = 1; for the actual lithography process parameters, h μ It can take the value -80, 0 or 80. In this case, U = 3. Similarly, t q The number is at least one, q represents the serial number, Q represents t q For example, for the baseline lithography process parameters, t q =0, at this time, Q=1; for the actual lithography process parameters, t q The value can be -0.1, 0 or 0.1, in which case Q=3.
[0105] The embodiments of the present application do not limit the weights, sub-weights, etc. of the reference sub-losses. For example, the weight of the second reference sub-loss is the same as the sub-weight of the fifth reference sub-loss, that is, α1 = α2 = α. The weight of the third reference sub-loss is the same as the sub-weight of the sixth reference sub-loss, that is, κ1 = κ2 = κ. The relative sizes of the reference sub-losses are balanced by the weights of the reference sub-losses. Therefore, the weights of the reference sub-losses are adjustable parameters. For example, α = 0.025, κ = 0.06, and β = 2.
[0106] Step A33: determining a first gradient of the reference loss relative to the initial mask layout.
[0107] In this embodiment of the present application, the reference loss includes at least one of the second through sixth reference sub-losses and the first reference sub-loss. Therefore, the first gradient of the reference loss relative to the initial mask layout includes two parts: the first part is the gradient of at least one of the second through sixth reference sub-losses relative to the initial mask layout, and the second part is the gradient of the first reference sub-loss relative to the initial mask layout.
[0108] Taking the reference loss including the first reference sub-loss to the sixth reference sub-loss as an example, the first gradient of the reference loss relative to the initial mask layout is expressed as follows: Formula (13).
[0109] in, Characterizes the first gradient of the reference loss relative to the initial mask layout. ξ(h μ ) characterizes the defocusing process parameter distribution function, ζ(t q ) characterizes the exposure dose deviation process parameter distribution function. Characterizes the gradient of the first reference sub-loss relative to the initial mask layout. It represents the gradient of the second reference sub-loss relative to the initial mask layout, and α represents the weight of the second reference sub-loss. represents the gradient of the third reference sub-loss relative to the initial mask layout, and κ represents the weight of the third reference sub-loss. represents the gradient of the fourth reference sub-loss relative to the initial mask layout, and β represents the weight of the fourth reference sub-loss. represents the gradient of the fifth reference sub-loss relative to the initial mask layout, and αβ represents the weight of the fifth reference sub-loss. It represents the gradient of the sixth reference sub-loss relative to the initial mask layout, and κβ represents the weight of the sixth reference sub-loss.
[0110] In the embodiment of the present application, there is a formula (14) as shown below. It can be understood that the principle of formula (14) is the same as that of formula (3) mentioned above. In formula (3), M0 is used to represent the reference mask layout, and Represents the initial mask layout; in formula (14), M is used to represent the reference mask layout, and Characterize the initial mask layout. That is, M in formula (14) is equivalent to M0 in formula (3), and Equivalent to formula (3)
[0111] Where M represents the reference mask layout, and exp represents the exponential function with the natural constant e as the base. M and M th Characterize activation processing parameters. Characterize the initial mask layout. For example, θ M =4,M th =0.225.
[0112] For the gradient of the first reference sub-loss in formula (13) relative to the initial mask layout, formula (15) shown below can be obtained based on formula (14).
[0113] in, Characterizes the gradient of the first reference sub-loss relative to the initial mask layout. L characterizes the edge length of the sample chip layout. γ is an adjustable parameter. ZZ t Represents the first difference information, Z t characterizes the sample chip layout, and Z characterizes the second wafer layout. Characterize the gradient of the second wafer layout relative to the reference mask layout. Characterizes the gradient of the reference mask layout relative to the initial mask layout. ⊙ represents the multiplication of the corresponding elements of the matrix. θ M and θ Z are activation processing parameters, for example, θ M =4,θ Z =50. H flip Characterizes a function obtained by flipping the kernel function H by 180°, where the kernel function is obtained by performing singular value decomposition on the cross transfer coefficient of the lithography system. The function symbol representing the convolution process. * Characterizes the complex conjugate of the kernel function H, (H flip ) * Characterization function H flip The complex conjugate of M represents the reference mask layout. Characterize the initial mask layout.
[0114] For the gradient of the second reference sub-loss in formula (13) relative to the initial mask layout, formula (16) shown below can be obtained based on formula (14).
[0115] in, Characterizes the gradient of the second reference sub-loss relative to the initial mask layout. Characterizes the gradient of the second reference sub-loss relative to the reference mask layout. Represents the gradient of the reference mask layout relative to the initial mask layout. ⊙ represents the multiplication of the corresponding elements of the matrix. L represents the edge length of the reference mask layout, θ M is the activation processing parameter, and M represents the reference mask layout.
[0116] For the gradient of the third reference sub-loss in formula (13) relative to the initial mask layout, formula (17) shown below can be obtained based on formula (14).
[0117] in, Characterizes the gradient of the third reference sub-loss relative to the initial mask layout. Characterizes the gradient of the third reference sub-loss with respect to the second difference information. Characterizes the gradient of the second difference information relative to the reference mask pattern. Represents the gradient of the reference mask layout relative to the initial mask layout. ⊙ represents the multiplication of the corresponding elements of the matrix. L represents the edge length of the sample chip layout, θ M is the activation processing parameter, D represents the first-order derivative of the second difference information, T represents the transposed matrix, represents matrix addition, f represents the second difference information, M represents the reference mask layout, Z tCharacterize the sample chip layout. sign is the sign function, where the sign function satisfies: sign(x) = 0, x = 0; sign(x) = 1, x > 0; sign(x) = -1, x < 0.
[0118] For the gradient of the fourth reference sub-loss in formula (13) relative to the initial mask layout, formula (18) shown below can be obtained based on formula (14).
[0119] in, Characterizes the gradient of the fourth reference sub-loss relative to the initial mask layout. Represents the gradient of the first reference sub-loss relative to the initial mask layout. MEPE is the edge correction information. ⊙ represents the multiplication of corresponding matrix elements.
[0120] For the gradient of the fifth reference sub-loss in formula (13) relative to the initial mask layout, formula (19) shown below can be obtained based on formula (14).
[0121] in, Characterizes the gradient of the fifth reference sub-loss relative to the initial mask layout. Characterizes the gradient of the fifth reference sub-loss relative to the reference mask layout. Represents the gradient of the reference mask layout relative to the initial mask layout. ⊙ represents the multiplication of the corresponding elements of the matrix. L represents the edge length of the reference mask layout. θ M is the activation processing parameter, MEPE is the edge correction information, and M represents the reference mask layout.
[0122] For the gradient of the sixth reference sub-loss in formula (13) relative to the initial mask layout, formula (20) shown below can be obtained based on formula (14).
[0123] in, Characterizes the gradient of the sixth reference sub-loss relative to the initial mask layout. Characterizes the gradient of the sixth reference sub-loss with respect to the second difference information. Characterizes the gradient of the second difference information relative to the reference mask pattern. Represents the gradient of the reference mask layout relative to the initial mask layout. ⊙ represents the multiplication of the corresponding elements of the matrix. L represents the edge length of the sample chip layout, θ M is the activation processing parameter, D represents the first-order derivative of the second difference information, T represents the transposed matrix, represents matrix addition, MEPE is edge correction information, f represents the second difference information, M represents the reference mask layout, Z tCharacterizes the sample chip layout. sign is the sign function.
[0124] It can be understood that formula (13) includes the gradient of the first reference sub-loss to the sixth reference sub-loss relative to the initial mask layout. Since the reference loss includes at least one of the second reference sub-loss to the sixth reference sub-loss and the first reference sub-loss, the first gradient of the reference loss relative to the initial mask layout includes: the gradient of at least one of the second reference sub-loss to the sixth reference sub-loss relative to the initial mask layout, and the gradient of the first reference sub-loss relative to the initial mask layout. This will not be further elaborated here.
[0125] Step A34: Adjust the initial mask layout based on the first gradient to obtain a marked mask layout.
[0126] For example, a reference gradient is determined based on the first gradient using the steepest descent method or the conjugate gradient method, and the initial mask layout is adjusted based on the reference gradient. The step of "determining the reference gradient based on the first gradient" can be implemented differently using the steepest descent method and the conjugate gradient method, which are described below.
[0127] In the steepest descent method, the first gradient can be determined as a reference gradient. Exemplarily, the reference gradient is determined according to formula (21) shown below.
[0128] Among them, V k Characterizes the reference gradient corresponding to the k-th iteration. g k Characterizes the first gradient corresponding to the k-th iteration, Characterizes the first gradient of the reference loss relative to the mask layout corresponding to the kth iteration. It can be understood that the initial mask layout corresponds to the mask layout corresponding to the 0th iteration, and the optimization of the initial mask layout corresponds to the 0th iteration, and the number of iterations is at least one. From formula (21), it can be seen that for the steepest descent method, the optimization direction of the initial mask layout is the direction of the first gradient.
[0129] In the conjugate gradient method, for iteration 0, the first gradient is the reference gradient. For any iteration other than iteration 0, a conjugate gradient factor corresponding to any iteration is first determined based on the first gradient corresponding to any iteration and the first gradient corresponding to the previous iteration. The conjugate gradient factor is negatively correlated with the weight of the reference gradient corresponding to the previous iteration. Next, a reference gradient corresponding to any iteration is determined based on the first gradient corresponding to any iteration, the conjugate gradient factor corresponding to any iteration, and the reference gradient corresponding to the previous iteration. Optionally, the reference gradient is determined according to Formula (22) shown below. Vk =g k -η k V k-1 , k>0
[0130] Among them, V k Characterizes the reference gradient corresponding to the kth iteration, V k-1 Characterizes the reference gradient corresponding to the k-1th iteration. g k Characterizes the first gradient corresponding to the kth iteration, g k-1 Characterizes the first gradient corresponding to the k-1th iteration. Characterizes the first gradient of the reference loss relative to the mask layout corresponding to the kth iteration. η k Characterizes the conjugate gradient factor corresponding to the k-th iteration.
[0131] It can be understood that the initial mask layout corresponds to the mask layout corresponding to the 0th iteration, and the optimization of the initial mask layout corresponds to the 0th iteration, and the number of iterations is at least one. From formula (22), it can be seen that for the conjugate gradient method, the optimization direction of the initial mask layout is the direction of the first gradient, and the optimization direction of subsequent mask layout optimizations will refer to the previous optimization direction, and the conjugate gradient factor will be adaptively adjusted. By automatically adjusting the conjugate gradient factor, optimization stagnation can be avoided, the optimization effect can be improved, and the accuracy of the mask layout annotation can be improved.
[0132] In an exemplary embodiment, step A34 includes steps A341 to A343 (not shown in the figure).
[0133] Step A341: Determine an adjustment step size based on the first gradient.
[0134] In the embodiment of the present application, the reference gradient can be determined based on the first gradient according to the steepest descent method or the conjugate gradient method, and the adjustment step size of the initial mask layout can be determined based on the reference gradient. Optionally, the adjustment step size can be determined according to the following formula (23).
[0135] Among them, ω k represents the adjustment step size corresponding to the kth iteration. ε represents the step size factor, for example, ε = 0.1. max represents the function sign of the maximum value function, V k Characterizes the reference gradient corresponding to the k-th iteration.
[0136] Step A342: Adjust the initial mask layout based on the adjustment step size and the first gradient to obtain an adjusted mask layout.
[0137] Exemplarily, the adjustment step size and the first gradient are multiplied to obtain a product result. The initial mask layout is adjusted based on the product result to obtain an adjusted mask layout. Optionally, the adjusted mask layout is determined according to formula (24) shown below.
[0138] in, Characterize the mask layout corresponding to the k+1th iteration, Characterizes the mask layout corresponding to the kth iteration. ω k Characterizes the adjustment step size corresponding to the kth iteration. V k Characterizes the reference gradient corresponding to the kth iteration. When k=0, the mask layout corresponding to the 0th iteration is the initial mask layout, and the mask layout corresponding to the 1st iteration is the adjusted mask layout.
[0139] Step A343: When the adjusted mask layout meets the adjustment end condition, the adjusted mask layout is activated to obtain a marked mask layout.
[0140] The present embodiments do not limit the conditions under which the adjusted mask layout satisfies the adjustment termination condition. For example, the adjusted mask layout satisfies the adjustment termination condition when: the number of iterations corresponding to the adjusted mask layout reaches a first set number, or the first gradient (or reference gradient) corresponding to the adjusted mask layout reaches a set gradient. The first set number and set gradient are set based on experience or flexibly adjusted according to application requirements, and the present embodiments do not limit this.
[0141] If the adjusted mask layout meets the adjustment end condition, the adjusted mask layout is activated by the activation function to obtain the activated mask layout. Optionally, the activation function is a sigmoid function. The activated mask layout is determined according to the formula (25) shown below. It can be understood that the formula (25) is the same as the formula (3) and formula (14) mentioned above. M in formula (25) k+1 Equivalent to M in formula (14), M0 in formula (3), and Equivalent to formula (14) In formula (3)
[0142] Among them, M k+1 Represents the mask layout after activation processing corresponding to the k+1th iteration. exp represents the exponential function with the natural constant e as the base. θ M and M th Characterize activation processing parameters. Characterize the mask layout corresponding to the k+1th iteration.
[0143] Since the pixel values of the mask corresponding to the k+1th iteration may exceed 1 or be less than 0, the sigmoid function can be used to fix the pixel values between 0 and 1. That is, the pixel values of the mask are marked between 0 and 1.
[0144] Next, the activated mask layout is binarized to obtain the labeled mask layout. Optionally, the labeled mask layout is determined according to the formula (26) shown below. bin (x,y)=0,M(x,y)≤M t M bin (x,y)=1,M(x,y)>M t Formula (26)
[0145] Among them, M bin (x, y) represents the labeled mask layout, and the pixel value on the labeled mask layout is 0 or 1. M(x, y) represents the mask layout after activation processing. t Characterizing pixel threshold. The pixel threshold can be set based on experience or flexibly adjusted according to application requirements, and is not limited in this embodiment of the present application. Optionally, the pixel threshold is 0.5.
[0146] From formula (26), it can be seen that if any pixel value in the activated mask layout is less than or equal to the pixel threshold, the pixel value is set to 0. If any pixel value in the activated mask layout is greater than the pixel threshold, the pixel value is set to 1. By binarizing the pixel values in the activated mask layout in the above manner, a labeled mask layout can be obtained.
[0147] Optionally, after step A342, steps A344 to A345 are also included (not shown in the figure).
[0148] Step A344, when the adjusted mask layout does not meet the adjustment end conditions, the third wafer layout of the adjusted mask layout is determined by the second wafer layout determination model. The third wafer layout is the wafer layout of the adjusted mask layout obtained by prediction under the conditions of the benchmark lithography process parameters.
[0149] If the adjusted mask layout does not meet the adjustment termination criteria, a third wafer layout of the adjusted mask layout is determined using the second wafer layout determination model based on the implementation principles of step A2. The adjusted mask layout in step A344 corresponds to the initial mask layout in step A2, and the third wafer layout in step A344 corresponds to the second wafer layout in step A2. Since the implementation principles of step A344 are similar to those of step A2, the description of step A2 can be found above and will not be repeated here.
[0150] Step A345 : Based on the sample chip layout and the third wafer layout, the adjusted mask layout is adjusted to obtain a marked mask layout.
[0151] Exemplarily, based on the implementation principles of step A3, the adjusted mask layout is adjusted based on the sample chip layout and the third wafer layout to obtain a labeled mask layout. The adjusted mask layout in step A345 corresponds to the initial mask layout in step A3; the third wafer layout in step A345 corresponds to the second wafer layout in step A3. Since the implementation principles of step A345 are similar to those of step A3, the description of step A3 above can be found and will not be repeated here.
[0152] From Steps A1 to A3, it can be seen that this embodiment of the present application uses a second wafer layout determination model based on baseline lithography process parameters to iteratively adjust the initial mask layout to obtain a labeled mask layout. This adjustment process is a technique known as inverse lithography technology (ILT). Please refer to Figure 4, which is a flowchart for determining a labeled mask layout provided by an embodiment of the present application. The labeled mask layout determination process includes Steps 401 to 408, as shown below.
[0153] Step 401: Perform linear correction on the sample chip layout to obtain an initial mask layout. The implementation of step 401 can be found in the description of step A1 and will not be repeated here.
[0154] In step 402, the initial mask layout is input into the second wafer layout determination model to obtain the second wafer layout. The implementation of step 402 can be found in the description of step A2 and will not be repeated here.
[0155] Step 403: Determine the reference loss based on the sample chip layout, the initial mask layout, and the second wafer layout. The implementation of step 403 can be found in the description of steps A31 to A32, and will not be repeated here.
[0156] Step 404: Determine a first gradient of the reference loss relative to the initial mask layout. The implementation of step 404 can be found in the description of step A33 and will not be repeated here.
[0157] Step 405: Adjust the initial mask layout based on the first gradient to obtain an adjusted mask layout. The implementation of step 405 can be found in the description of steps A341 to A342, and will not be repeated here.
[0158] Step 406: Determine whether the adjusted mask layout meets the adjustment end condition.
[0159] In step 407, if the adjusted mask layout meets the adjustment end condition, the mask layout is determined to be labeled based on the adjusted mask layout. The implementation of step 407 can be seen in the description of step A343 and will not be repeated here.
[0160] In step 408, if the adjusted mask layout does not meet the adjustment end condition, the adjusted mask layout is used as the initial mask layout. Then, step 402 and subsequent steps are performed until the adjusted mask layout meets the adjustment end condition, and the labeled mask layout is determined based on the adjusted mask layout.
[0161] In an embodiment of the present application, the initial mask layout is optimized step by step through the second wafer layout determination model to obtain the labeled mask layout, thereby realizing a deep learning-based method for determining the labeled mask layout, reducing the amount of calculation for determining the labeled mask layout, and improving the efficiency of determining the labeled mask layout.
[0162] It should be noted that the electronic device can obtain the annotated mask layout in real time through the above steps A1 to A3 when training the mask layout determination model; the electronic device can also obtain and store the annotated mask layout through the above steps A1 to A3 before training the mask layout determination model, so as to extract the annotated mask layout from the storage when training the mask layout determination model; the electronic device can also obtain the annotated mask layout from other devices when training the mask layout determination model, and the other devices are used to obtain and store the annotated mask layout through the above steps A1 to A3 before the electronic device trains the mask layout determination model.
[0163] Step 202: Determine the predicted mask layout of the sample chip layout through a neural network model.
[0164] The predicted mask layout is a mask layout of a sample chip layout obtained through prediction.
[0165] Exemplarily, the sample chip layout is input into the neural network model, and the predicted mask layout is determined by the neural network model. Exemplarily, the neural network model is an initial network model. Optionally, the initial network model is a U network (U-net) model, and the U-net model includes an encoder and a decoder. The functions of the encoder and the decoder are described below and will not be repeated here. Alternatively, the neural network model is obtained by pre-training the initial network model with the sample chip layout and the annotated mask layout. Optionally, the neural network model also includes an encoder and a decoder, but there are differences in model parameters between the encoder included in the neural network model and the encoder included in the initial network model, and there are also differences in model parameters between the decoder included in the neural network model and the decoder included in the initial network model.
[0166] During the pre-training of the initial network model using a sample chip layout and an annotated mask layout, the sample chip layout can be input into the initial network model, and a predicted mask layout can be determined by the initial network model. Based on the difference between the annotated mask layout and the predicted mask layout determined by the initial network model, the loss of the initial network model is determined, and the model parameters of the initial network model are adjusted based on the loss of the initial network model to obtain an adjusted initial network model.
[0167] If the adjusted initial network model meets the pre-training end conditions, the adjusted initial network model is used as the neural network model. If the adjusted initial network model does not meet the pre-training end conditions, the sample chip layout is input into the adjusted initial network model, and the predicted mask layout is determined by the adjusted initial network model. Based on the difference information between the annotated mask layout and the predicted mask layout determined by the adjusted initial network model, the loss of the initial network model is determined, and the model parameters of the adjusted initial network model are adjusted again based on the loss of the initial network model. This process is repeated until the adjusted initial network model meets the pre-training end conditions and the adjusted initial network model is used as the neural network model.
[0168] Exemplarily, the adjusted initial network model satisfies the pre-training termination condition if: the number of training times of the adjusted initial network model reaches the second set number, or the loss of the initial network model is within the first set range, or the loss of the initial network model converges. The second set number and the first set range are set based on experience or flexibly adjusted according to application requirements, and the embodiments of the present application do not limit this. The second set number can be the same as the first set number, or it can be different from the first set number.
[0169] By pre-training the initial network model, not only can the neural network model be equipped with the ability to determine the predicted mask layout based on the sample chip layout, but it can also accelerate the convergence speed of the neural network model and improve efficiency during subsequent training of the neural network model.
[0170] It is understood that the initial network model and the neural network model have the same functions and structures, and the only difference between the two is the model parameters. Therefore, the implementation principle of determining the predicted mask layout of the sample chip layout using the initial network model is the same as the implementation principle of determining the predicted mask layout of the sample chip layout using the neural network model, which can be seen in the description of steps 2021 and 2022 below. In one possible implementation, step 202 includes steps 2021 and 2022 (not shown in the figure).
[0171] Step 2021: Encode the sample chip layout through a neural network model to obtain the layout features of the sample chip layout.
[0172] In the embodiment of the present application, the neural network model is a U-net model, and the neural network model includes an encoder. The encoder encodes the sample chip layout to obtain the layout features of the sample chip layout.
[0173] Optionally, the encoder includes at least one convolutional neural network layer, each of which includes at least one filter. For example, the encoder includes eight convolutional neural network layers, each of which includes 8, 16, 32, 64, 128, 256, 512, and 1024 3×3 filters, respectively. For each convolutional neural network layer, a batch normalization layer and an activation function layer may be connected after the convolutional neural network layer. Optionally, the activation function layer is a rectified linear unit (ReLU) function layer.
[0174] After the sample chip layout is input into the encoder, the sample chip layout is sequentially convolved through each convolutional neural network layer, and the layout features of the sample chip layout are obtained based on the convolution processing results of the last convolutional neural network layer. Optionally, the sample chip layout is a matrix of (256, 256, 1) dimensions, and the layout features of the sample chip layout are matrices of (1, 1, 1024) dimensions. Of course, the sample chip layout and layout features can also be matrices of other dimensions, and this embodiment of the application is not limited to this.
[0175] Step 2022: Decode the layout features of the sample chip layout using a neural network model to obtain a predicted mask layout.
[0176] The neural network model also includes a decoder connected in series after the encoder. The decoder decodes the layout features of the sample chip layout to obtain a predicted mask layout.
[0177] Optionally, the decoder includes at least one deconvolutional neural network layer, and any deconvolutional neural network layer includes at least one filter. For example, the decoder includes 8 deconvolutional neural network layers, and these 8 deconvolutional neural network layers include 1024, 512, 256, 128, 64, 32, 16 and 1 3×3 filters respectively. For any deconvolutional neural network layer, a batch normalization layer and / or an activation function layer can be connected after the deconvolutional neural network layer. Optionally, the activation function layer is a function layer of a rectified linear unit (Leaky Rectified Linear Unit, Leaky-ReLU) with a leakage value or a function layer of a sigmoid activation function. For example, each of the first 7 deconvolutional neural network layers is connected to a batch normalization layer and a Leaky-ReLU function layer, and the 8th deconvolutional neural network layer is connected to a sigmoid activation function function layer.
[0178] After the layout features of the sample chip layout are input into the decoder, the sample chip layout is sequentially deconvolved through each deconvolutional neural network layer, and the deconvolution processing result of the last convolutional neural network layer is subjected to sigmoid activation processing to obtain the predicted mask layout. Optionally, the layout features of the sample chip layout are matrices of (1, 1, 1024) dimensions; the predicted mask layout is a matrix of (256, 256, 1) dimensions, and each value in the matrix is a value between 0 and 1. Of course, the layout features of the sample chip layout and the predicted mask layout can also be matrices of other dimensions, which is not limited in this embodiment of the present application.
[0179] Step 203 : Determine a first wafer layout for predicting a mask layout using a first wafer layout determination model.
[0180] The first wafer layout determination model includes actual photolithography process parameters. The first wafer layout is a wafer layout of a predicted mask layout obtained by prediction under the conditions of the actual photolithography process parameters.
[0181] In actual operation, when a lithography machine exposes a marked mask pattern onto a wafer, the lithography machine can perform exposure based on arbitrary lithography process parameters. The lithography process parameters used during the actual lithography process are called actual lithography process parameters.
[0182] In an exemplary embodiment, the actual lithography process parameters can be determined by the defocus process parameter distribution function and / or the exposure dose deviation process parameter distribution function. Since the distance between the wafer and the focal plane of the lithography machine may not be equal to 0 during the actual lithography process, based on this, for the actual lithography process, h in formula (1) μ Can be any data, and σ h Can remain unchanged, for example, h μ The values can be [-80nm, 0nm, 80nm], σ h =80. In addition, in the actual photolithography process, the exposure dose deviation of the photolithography machine may not be equal to 0. Based on this, t in formula (2) q Can be any data, and σ q remain unchanged, for example, t q Can take values [-0.1, 0.0, 0.1], σ q =0.1.
[0183] From the above, it can be seen that the reference lithography process parameters are the set lithography process parameters. Optionally, the set lithography process parameters refer to: the focal plane of the wafer and the lithography machine are in the same plane, and the exposure dose of the lithography machine has no deviation. The actual lithography process parameters are the lithography process parameters actually used. The lithography process parameters actually used include: the focal plane of the wafer and the lithography machine are in the same plane or not in the same plane (the wafer is above or below the focal plane of the lithography machine), and the exposure dose of the lithography machine has deviation or no deviation.
[0184] Exemplarily, the predicted mask layout is directly input into the first wafer layout determination model, and the first wafer layout is outputted by the first wafer layout determination model. Alternatively, the predicted mask layout is first activated to obtain a reference mask layout, which is then input into the first wafer layout determination model, and the first wafer layout is outputted by the first wafer layout determination model. The implementation of step 203 is similar to that of step A2, and the description of step A2 can be found therein and will not be repeated here.
[0185] It can be understood that the predicted mask layout in step 203 corresponds to the initial mask layout in step A2, the benchmark mask layout in step 203 corresponds to the reference mask layout in step A2, the first wafer layout determination model in step 203 corresponds to the second wafer layout determination model in step A2, and the first wafer layout in step 203 corresponds to the second wafer layout in step A2.
[0186] In a possible implementation, step 203 includes steps 2031 and 2032 (not shown in the figure).
[0187] In step 2031, actual light intensity distribution information is determined based on the predicted mask layout using the first wafer layout determination model. The actual light intensity distribution information is the light intensity distribution of the mask layout imaged on the wafer predicted under the conditions of actual photolithography process parameters.
[0188] The implementation of step 2031 is similar to that of step A21. The description of step A21 can be found in the description and will not be repeated here. It is understood that the predicted mask layout in step 2031 corresponds to the initial mask layout in step A21, the first wafer layout determination model in step 2031 corresponds to the second wafer layout determination model in step A21, and the actual light intensity distribution information in step 2031 corresponds to the reference light intensity distribution information in step A21.
[0189] It can be understood that, since the first wafer layout determination model includes actual lithography process parameters, in formula (4), h μ Can be any data, for example, h μ The possible values are [-80nm, 0nm, 80nm].
[0190] Step 2032: Determine the first wafer layout based on the actual light intensity distribution information using the first wafer layout determination model.
[0191] The implementation of step 2032 is similar to that of step A22. The description of step A22 can be found in the description and will not be repeated here. It is understood that the first wafer layout in step 2032 corresponds to the second wafer layout in step A22, the model determined by the first wafer layout in step 2032 corresponds to the model determined by the second wafer layout in step A22, and the actual light intensity distribution information in step 2032 corresponds to the reference light intensity distribution information in step A22.
[0192] It can be understood that, since the first wafer layout determination model includes actual lithography process parameters, in formula (5), h μ Can be any data, t q It can also be any data, for example, h μ The values can be [-80nm, 0nm, 80nm], t q The possible values are [-0.1, 0.0, 0.1].
[0193] Step 204 , training the neural network model by marking the mask layout, the predicted mask layout, the sample chip layout, and the first wafer layout to obtain a mask layout determination model.
[0194] The mask layout determination model is used to determine a target mask layout of a target chip layout.
[0195] Exemplarily, a target loss is determined by marking the mask layout, the predicted mask layout, the sample chip layout, and the first wafer layout. The neural network model is trained using the target loss to obtain a trained neural network model. If the trained neural network model meets the training end condition, the trained neural network model is determined as the mask layout determination model. If the trained neural network model does not meet the training end condition, the trained neural network model is used as the neural network model for the next training, and the neural network model is trained again according to the contents of steps 202 to 204 until the trained neural network model meets the training end condition and the trained neural network model is determined as the mask layout determination model.
[0196] The embodiments of the present application do not limit the content of the training termination conditions satisfied by the trained neural network model. Exemplarily, the training termination conditions satisfied by the trained neural network model are: the number of training times corresponding to the trained neural network model reaches a third set number of times, or the target loss corresponding to the trained neural network model is within a second set range, or the target loss corresponding to the trained neural network model converges.
[0197] The third set number of times and the second set range are set based on experience or flexibly adjusted according to application requirements, and are not limited in this embodiment of the present application. The third set number of times can be the same as the first set number of times or the second set number of times, or can be different from both the first set number of times and the second set number of times. The second set range can be the same as the first set range or different from the first set range.
[0198] Determining the predicted mask layout using a neural network model implements a deep learning-based approach to determining the predicted mask layout, reducing the computational effort required to determine the predicted mask layout and improving its efficiency. Furthermore, determining the first wafer layout using the first wafer layout determination model implements a deep learning-based approach to determining the first wafer layout, reducing the computational effort required to determine the first wafer layout and improving its efficiency. Due to the high efficiency of determining the predicted mask layout and the first wafer layout, as well as the high efficiency of determining the annotated mask layout, the training efficiency of the mask layout determination model can be improved.
[0199] In a possible implementation, step 204 includes steps 2041 to 2045 (not shown in the figure).
[0200] Step 2041 : Determine the first target sub-loss by marking the third difference information between the mask layout and the predicted mask layout.
[0201] Exemplarily, third difference information is calculated between the annotated mask layout and the predicted mask layout. Optionally, the third difference information can be calculated based on the difference between the pixel value of a pixel in the annotated mask layout and the pixel value of the corresponding pixel in the predicted mask layout. For example, the mean square error between the pixel value of a pixel in the annotated mask layout and the pixel value of the corresponding pixel in the predicted mask layout is used as the third difference information.
[0202] A first target sub-loss is determined based on the third difference information to describe the error between the annotated mask layout and the predicted mask layout by the first target sub-loss. Optionally, the first target sub-loss is determined according to the following formula (27). L fit =|Mask pred -Mask| 2 Formula (27)
[0203] Among them, L fit Characterizes the first target sub-loss. Mask pred -Mask represents the third difference information between the annotated mask layout and the predicted mask layout, Mask pred Characterize and predict the mask layout, and Mask characterize and annotate the mask layout.
[0204] In step 2042, a second target sub-loss is determined based on the fourth difference information between the sample chip layout and the first wafer layout. The second target sub-loss is determined similarly to the first reference sub-loss, as described in step A31 and will not be further elaborated here. It should be understood that the "first wafer layout" in step 2042 corresponds to the "second wafer layout" in step A31, the "fourth difference information" in step 2042 corresponds to the "first difference information" in step A31, and the "second target sub-loss" in step 2042 corresponds to the "first reference sub-loss" in step A31.
[0205] Step 2043: Determine the target loss based on the first target sub-loss and the second target sub-loss.
[0206] In an exemplary embodiment, a weighted calculation is performed on the first target sub-loss and the second target sub-loss, and the weighted calculation result is used as the target loss. Alternatively, according to the optional implementation shown below, the target loss is determined based on the first target sub-loss and the second target sub-loss.
[0207] In an optional implementation, step 2043 includes: obtaining at least one of a third target sub-loss, a fourth target sub-loss, a fifth target sub-loss, a sixth target sub-loss, and a seventh target sub-loss, the third target sub-loss being determined based on the predicted mask layout, the fourth target sub-loss being determined based on the fifth difference information between the sample chip layout and the predicted mask layout, the fifth target sub-loss being determined based on the fourth difference information and the edge correction information, the sixth target sub-loss being determined based on the predicted mask layout and the edge correction information, and the seventh target sub-loss being determined based on the fifth difference information and the edge correction information, the edge correction information being information for correcting the edge of the sample chip layout; determining the target loss based on at least one of the third target sub-loss, the fourth target sub-loss, the fifth target sub-loss, the sixth target sub-loss, and the seventh target sub-loss, the first target sub-loss, and the second target sub-loss.
[0208] The method for determining the third to seventh target sub-losses involved in step 2043 is similar to the method for determining the second to sixth reference sub-losses involved in step A321. The corresponding relationship between the target sub-losses and the reference sub-losses is as follows:
[0209] The third target sub-loss is determined in a similar manner to the second reference sub-loss. The description of the second reference sub-loss in step A321 is provided and will not be repeated here. It will be appreciated that the "predicted mask layout" in step 2043 corresponds to the "initial mask layout" in step A321, and the "third target sub-loss" in step 2043 corresponds to the "second reference sub-loss" in step A321.
[0210] The fourth target sub-loss is determined in a similar manner to the third reference sub-loss. The description of the third reference sub-loss in step A321 is provided and will not be repeated here. It will be appreciated that the "predicted mask layout" in step 2043 corresponds to the "initial mask layout" in step A321, the "fifth difference information" in step 2043 corresponds to the "second difference information" in step A321, and the "fourth target sub-loss" in step 2043 corresponds to the "third reference sub-loss" in step A321.
[0211] The fifth target sub-loss is determined in a similar manner to the fourth reference sub-loss. The fourth reference sub-loss is described in step A321 and will not be further elaborated here. It should be understood that the "fourth difference information" in step 2043 corresponds to the "first difference information" in step A321, and the "fifth target sub-loss" in step 2043 corresponds to the "fourth reference sub-loss" in step A321.
[0212] The sixth target sub-loss is determined in a similar manner to the fifth reference sub-loss. The fifth reference sub-loss is described in step A321 and will not be repeated here. It is understood that the "predicted mask layout" in step 2043 corresponds to the "initial mask layout" in step A321, and the "sixth target sub-loss" in step 2043 corresponds to the "fifth reference sub-loss" in step A321.
[0213] The seventh target sub-loss is determined in a similar manner to the sixth reference sub-loss. The sixth reference sub-loss is described in step A321 and will not be repeated here. It should be understood that the "fifth difference information" in step 2043 corresponds to the "second difference information" in step A321, and the "seventh target sub-loss" in step 2043 corresponds to the "sixth reference sub-loss" in step A321.
[0214] For example, a weighted sum is performed on at least one of the third target sub-loss, the fourth target sub-loss, the fifth target sub-loss, the sixth target sub-loss, and the seventh target sub-loss, the first target sub-loss, and the second target sub-loss, and the target loss is determined based on the weighted sum. It will be appreciated that for any two target sub-losses from the first to the seventh target sub-losses, the weights assigned to the two target sub-losses may be the same or different.
[0215] Alternatively, the target loss is determined according to formula (28) shown below. loss =L fit +α*L total =|Mask pred -Mask| 2 +α*L total Formula (28)
[0216] Among them, L loss Characterize the target loss. L fit Characterizes the first objective sub-loss. L total Represents the sum of the target sub-losses obtained by weighted summation of the second to seventh target sub-losses. The sum of the target sub-losses corresponds to the “reference loss” mentioned above. L total The determination method of L can be found in formula (12), which will not be repeated here. total The weight of is an adjustable parameter. The larger α is, the more attention the training of the neural network model pays to the actual lithography process parameters, which is conducive to increasing the generation process window of the mask layout. pred -Mask represents the third difference information, Mask pred Characterize and predict the mask layout, and Mask characterize and annotate the mask layout.
[0217] Step 2044: determine a second gradient of the target loss with respect to the model parameters of the neural network model.
[0218] The target loss includes at least one of the third to seventh target sub-losses, the first target sub-loss, and the second target sub-loss. Therefore, the second gradient of the target loss relative to the model parameters of the neural network model includes three parts: the first part is the gradient of at least one of the third to seventh target sub-losses relative to the model parameters of the neural network model; the second part is the gradient of the first target sub-loss relative to the model parameters of the neural network model; and the third part is the gradient of the second target sub-loss relative to the model parameters of the neural network model.
[0219] Taking the target loss including the first target sub-loss to the seventh target sub-loss as an example, the second gradient of the target loss relative to the model parameters of the neural network model is shown in the following formula (29).
[0220] in, Characterize the second gradient, L loss represents the target loss, and w represents the model parameters of the neural network model. Characterizes the gradient of the first target sub-loss with respect to the model parameters of the neural network model, L fit Characterize the first objective sub-loss. Characterizes the gradient of the sum of the target sub-loss obtained by weighted summation from the second target sub-loss to the seventh target sub-loss relative to the predicted mask layout, L total Represents the sum of target sub-losses, Mask pred Characterizes the predicted mask layout. α represents L total The weight of . Characterizes the gradient of the predicted mask layout with respect to the model parameters of the neural network model.
[0221] It can be understood that the “model parameters of the neural network model” mentioned in the embodiments of the present application refer to the weights of each neuron included in the neural network model.
[0222] Step 2045: Adjust the model parameters of the neural network model based on the second gradient to obtain a mask layout determination model.
[0223] Exemplarily, an adjustment step size for the model parameters is determined based on the second gradient, and the model parameters of the neural network model are adjusted based on the second gradient and the adjustment step size to obtain adjusted model parameters, thereby training the neural network model once and obtaining a trained neural network model. The model parameters of the trained neural network model are the adjusted model parameters.
[0224] If the trained neural network model meets the training end condition, the trained neural network model is determined as the mask layout determination model. If the trained neural network model does not meet the training end condition, the trained neural network model is trained again until the trained neural network model meets the training end condition and is determined as the mask layout determination model. The training end condition is described above and will not be repeated here.
[0225] In an embodiment of the present application, by calculating the second gradient of the target loss relative to the model parameters of the neural network model, the target loss can be minimized by the gradient descent method. The target loss includes at least one of the third to seventh target sub-losses, the first target sub-loss, and the second target sub-loss. By minimizing the target loss, at least one of the third to seventh target sub-losses, the first target sub-loss, and the second target sub-loss can be minimized.
[0226] The first target sub-loss is determined based on the third difference information between the annotated mask layout and the predicted mask layout. By minimizing the first target sub-loss, the predicted mask layout output by the model becomes closer and closer to the annotated mask layout, so that the mask layout determination model can determine the target mask layout with high accuracy.
[0227] The second target sub-loss is determined based on the fourth difference information between the sample chip layout and the first wafer layout. By minimizing the second target sub-loss, under the conditions of actual lithography process parameters, the mask layout based on the model output can obtain a wafer layout similar to the sample chip layout, which is beneficial to improving the quality of the wafer layout and ensuring that the target mask layout determined by the mask layout determination model is of high quality.
[0228] The third target sub-loss is determined based on the predicted mask layout. It reflects the error between the continuous distribution of the predicted mask layout and the discrete distribution of the binary mask layout. By minimizing the third target sub-loss, the predicted mask layout can be made closer and closer to the binary mask layout, improving the accuracy of the predicted mask layout.
[0229] The fourth target sub-loss is determined based on the fifth difference between the sample chip layout and the predicted mask layout. This fourth target sub-loss measures the complexity of the predicted mask layout. Minimizing this fourth target sub-loss reduces the complexity of the predicted mask layout, improves its manufacturability, and increases the process window for mask layout generation.
[0230] The fifth target sub-loss is determined based on the fourth difference information between the sample chip layout and the first wafer layout, as well as the edge correction information. The fifth target sub-loss can describe the error between the sample chip layout and the first wafer layout when there is noise in the sample chip layout. By minimizing the fifth target sub-loss, the generalization ability of the model is improved, enabling the model to output high-quality mask layouts. Simply put, even if there are slight differences between the two chip layouts, the model can output the mask layout of each chip layout, and based on the mask layout of any chip layout, a wafer layout that is highly similar to the chip layout can be obtained, so that the two wafer layouts can also have differences between the two chip layouts.
[0231] The sixth target sub-loss is determined based on edge correction information and the predicted mask layout. It reflects the error between the continuous distribution of the predicted mask layout and the discrete distribution of the binary mask layout when the predicted mask layout has the same noise as the sample chip layout. By minimizing the sixth target sub-loss, the generalization ability of the model can be improved, allowing the model to output accurate mask layouts. Simply put, even if there are slight differences between the two chip layouts, the model can output the mask layout of each chip layout, and the two mask layouts can have differences between the two chip layouts. Any mask layout is similar to the binary mask layout, and the accuracy of the mask layout is high.
[0232] The seventh target sub-loss is determined based on the fifth difference information between the sample chip layout and the predicted mask layout, as well as the edge correction information. The seventh target sub-loss can measure the complexity of the predicted mask layout when the predicted mask layout has the same noise as the sample chip layout. By minimizing the seventh target sub-loss, the generalization ability of the model can be improved, allowing the model to output mask layouts with low complexity. Simply put, even if there are slight differences between the two chip layouts, the model can output the mask layout of each chip layout. The two mask layouts can have differences between the two chip layouts, and the complexity of either mask layout is low.
[0233] It should be noted that the target loss includes at least one of the third through seventh target sub-losses, the first target sub-loss, and the second target sub-loss. Therefore, the mask layout determination model has the effects corresponding to at least one of the third through seventh target sub-losses, the first target sub-loss, and the second target sub-loss. Furthermore, the target loss may also include other target sub-losses.
[0234] For example, the other target sub-loss is the eighth target sub-loss. Optionally, the first wafer layout of the predicted mask layout is determined by at least two first wafer layout determination models, and any two first wafer layout determination models include different actual lithography process parameters. The eighth target sub-loss is determined based on the sixth difference information between each two first wafer layouts. Based on the eighth target sub-loss and at least one of the above-mentioned third to seventh target sub-losses, the first target sub-loss and the second target sub-loss, the target loss is determined, and the neural network model is trained by the target loss to obtain the mask layout determination model. The error between the first wafer layouts generated by the predicted mask layout under different actual lithography process parameters is measured by the eighth target sub-loss, so that the complexity of the predicted mask layout can be measured.
[0235] Generally speaking, the complexity of a mask layout is positively correlated with its manufacturing cost. This is because more complex mask layouts contain more microstructures, including but not limited to holes, protrusions, and serrations. The more microstructures there are, the higher the manufacturing cost of the mask layout. By minimizing the target loss, we can minimize the eighth target sub-loss, making the predicted mask layouts generated under different actual lithography process parameters increasingly similar to the first wafer layouts, thereby reducing the complexity of the predicted mask layout and lowering its manufacturing cost.
[0236] It is understood that a ninth target sub-loss can also be determined based on the sixth difference information and the edge correction information. A target loss can be determined using at least one of the third to ninth target sub-losses, the first target sub-loss, and the second target sub-loss. The neural network model is trained using the target loss to obtain a mask layout determination model. By minimizing the target loss, the ninth target sub-loss can be minimized, improving the generalization capability of the model while enabling the model to output a mask layout with low complexity.
[0237] Furthermore, according to the eighth target sub-loss determination principle, a second wafer layout of the initial mask layout can be determined using at least two second wafer layout determination models, where each of the two second wafer layout determination models includes different baseline lithography process parameters. A seventh reference sub-loss can be determined based on seventh difference information between each pair of second wafer layouts. An eighth reference sub-loss can also be determined based on the seventh difference information and edge correction information, according to the ninth target sub-loss determination principle.
[0238] A reference loss is determined based on at least one of the second through eighth reference sub-losses and the first reference sub-loss. The initial mask layout is adjusted using the reference loss to obtain an annotated mask layout. The seventh reference sub-loss is used to measure the error between the initial mask layout and the second wafer layout generated under different baseline lithography process parameters, thereby measuring the complexity of the initial mask layout. The eighth reference sub-loss can be used to measure the complexity of the initial mask layout when the initial mask layout is subject to the same noise as the sample chip layout. By reducing the reference loss, the complexity of the annotated mask layout can be reduced.
[0239] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant regions. For example, the sample chip layout, benchmark lithography process parameters, actual lithography process parameters, etc. involved in this application were all obtained with full authorization.
[0240] The above method uses a neural network model to determine a predicted mask layout for a sample chip layout, and then determines a first wafer layout based on the predicted mask layout, taking into account actual lithography process parameters. By annotating the mask layout, predicted mask layout, sample chip layout, and first wafer layout, the neural network model is trained to generate a mask layout determination model. This ensures that the target mask layout determined by the mask layout determination model is more consistent with actual lithography process parameters. This allows the generation of a wafer layout that is highly similar to the target chip layout under the actual lithography process parameters, thereby improving the quality of the target mask layout.
[0241] Furthermore, the initial mask layout is gradually optimized using the second wafer layout determination model to obtain the annotated mask layout. This implements a deep learning-based approach to determining the annotated mask layout, reducing the computational effort and improving the efficiency of determining the annotated mask layout. By continuously adjusting the initial mask layout using the sample chip layout and the second wafer layout, the mask layout is continuously optimized toward a direction that brings the wafer layout closer and closer to the sample chip layout, resulting in a high degree of accuracy in the annotated mask layout.
[0242] By correcting the edges of the sample chip layout, noise is introduced into the sample chip layout, reducing the complexity of the sample chip layout, making the mask layout and wafer layout easier to approach the sample chip layout, which is conducive to improving the generalization ability and accuracy of the mask layout determination model.
[0243] Determining the predicted mask layout using a neural network model implements a deep learning-based approach to determining the predicted mask layout, reducing the computational effort required to determine the predicted mask layout and improving its efficiency. Furthermore, determining the first wafer layout using the first wafer layout determination model implements a deep learning-based approach to determining the first wafer layout, reducing the computational effort required to determine the first wafer layout and improving its efficiency. Due to the high efficiency of determining the predicted mask layout and the first wafer layout, as well as the high efficiency of determining the annotated mask layout, the training efficiency of the mask layout determination model can be improved.
[0244] The embodiment of the present application provides a method for determining a mask layout. This method can be applied in the above-mentioned implementation environment and can determine a high-quality mask layout so that the wafer layout determined based on the mask layout has a high degree of similarity with the chip layout. Taking the flowchart of a method for determining a mask layout provided by the embodiment of the present application shown in Figure 5 as an example, for ease of description, the terminal device 101 or server 102 that executes the method for determining the mask layout in the embodiment of the present application is referred to as an electronic device, and the method can be executed by an electronic device. As shown in Figure 5, the method includes the following steps 501 and 502.
[0245] Step 501: Obtain a target chip layout. The content of the target chip layout is similar to that of the sample chip layout, as described in step 201 and will not be repeated here.
[0246] Step 502: Determine a target mask layout of a target chip layout using a mask layout determination model. The mask layout determination model is trained according to the training method of the mask layout determination model related to FIG2 , and the target mask layout is a mask layout of the target chip layout obtained through prediction.
[0247] The method for determining the target mask layout is similar to that for determining the predicted mask layout, as described in step 202, and will not be repeated here. It is understood that the "mask layout determination model" in step 502 corresponds to the "neural network model" in step 202, the "target chip layout" in step 502 corresponds to the "sample chip layout" in step 202, and the "target mask layout" in step 502 corresponds to the "predicted mask layout" in step 202.
[0248] In one possible implementation, step 502 includes: encoding the target chip layout through the mask layout determination model to obtain the layout features of the target chip layout; decoding the layout features of the target chip layout through the mask layout determination model to obtain the target mask layout.
[0249] The method of encoding the target chip layout is similar to the method of encoding the sample chip layout, which can be seen in the description of step 2021. The method of decoding the layout features of the target chip layout is similar to the method of decoding the layout features of the sample chip layout, which can be seen in the description of step 2022 and will not be repeated here.
[0250] An embodiment of the present application inputs the target chip layout into a mask layout determination model, and the mask layout determination model determines the target mask layout of the target chip layout, thereby realizing a deep learning-based method for determining the target mask layout, reducing the amount of calculation for determining the target mask layout, and improving the efficiency of determining the target mask layout.
[0251] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, storage, display, etc.), and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use, and processing of relevant data must comply with the relevant laws, regulations, and standards of the relevant region. For example, the target chip layout involved in this application was obtained with full authorization.
[0252] The mask layout determination model in the above method is trained as follows: a predicted mask layout for a sample chip layout is determined using a neural network model, and a first wafer layout that takes into account actual lithography process parameters is determined based on the predicted mask layout. The mask layout determination model is obtained by training the neural network model by annotating the mask layout, predicted mask layout, sample chip layout, and first wafer layout. Because the training process of the mask layout determination model takes actual lithography process parameters into account, the target mask layout determined by the mask layout determination model is more consistent with the actual lithography process parameters. This allows the generation of a wafer layout that is highly similar to the target chip layout under the actual lithography process parameters, thereby improving the quality of the target mask layout.
[0253] The above describes the training method of the mask layout determination model and the mask layout determination method provided in the embodiments of the present application from the perspective of method steps. The following will systematically and comprehensively describe them.
[0254] In an embodiment of the present application, two photolithography mask data sets can be obtained. There are about 10,271 chip layouts and corresponding mask layouts in these two photolithography mask data sets, and these chip layouts meet the 32nm photolithography process and certain design rules. In addition, the chip layout of the contact hole (VIA) type and the corresponding mask layout can also be obtained. It should be noted that the above-mentioned mask layout is obtained by optimizing the chip layout according to the reverse photolithography mask optimization algorithm in the reverse photolithography technology, through the wafer layout determination model including the benchmark photolithography process parameters (that is, the second wafer layout determination model mentioned above). It can be seen that the contents of steps A1 to A3 are not repeated here. It can be understood that any chip layout can be used as a sample chip layout, and the mask layout corresponding to the sample chip layout is the marked mask layout.
[0255] Based on the sample chip layout and annotated mask layout, the initial network model is trained into a mask layout determination model. This training process is roughly divided into two stages. The first stage is to pre-train the initial network model based on the sample chip layout and annotated mask layout to obtain the neural network model. The second stage is to optimize the neural network model based on the sample chip layout and annotated mask layout to obtain the mask layout determination model. These two stages are described below.
[0256] First, the first stage is carried out. Please refer to Figure 6, which is a schematic diagram of pre-training an initial network model provided by an embodiment of the present application. In the pre-training stage, the sample chip layout can be input into the initial network model, and the predicted mask layout can be output by the initial network model. Based on the difference information between the predicted mask layout and the annotated mask layout, the loss of the initial network model is determined. Based on the loss of the initial network model, the model parameters of the initial network model are adjusted to obtain the adjusted initial network model. From then on, a training of the initial network model based on the sample chip layout and the annotated mask layout is realized.
[0257] If the number of training times reaches the second set number, the adjusted initial network model is used as the neural network model. If the number of training times does not reach the second set number, the adjusted initial network model is used as the initial network model, and the initial network model is trained again based on the sample chip layout and the marked mask layout according to the above content until the number of training times reaches the second set number, and the adjusted initial network model is used as the neural network model.
[0258] After the neural network model is obtained through training, the second stage is carried out. Please refer to Figure 7, which is a schematic diagram of an optimization training of a neural network model provided by an embodiment of the present application. In the optimization training stage, the sample chip layout can be input into the neural network model, and the predicted mask layout is output through the neural network model. The predicted mask layout is input into the first wafer layout determination model including the actual lithography process parameters to obtain the first wafer layout. Based on the sample chip layout, the first wafer layout, the predicted mask layout and the annotated mask layout, the loss of the neural network model (i.e., the target loss mentioned above) is determined. The model parameters of the neural network model are adjusted based on the loss of the neural network model to obtain an adjusted neural network model. From then on, a training of the neural network model based on the sample chip layout and the annotated mask layout is achieved.
[0259] If the number of training times reaches a third set number, the adjusted neural network model is used as the mask layout determination model. If the number of training times does not reach the third set number, the adjusted neural network model is used as the neural network model, and the neural network model is trained again based on the sample chip layout and the annotated mask layout according to the above content until the number of training times reaches the third set number, and the adjusted neural network model is used as the mask layout determination model.
[0260] After training the mask layout determination model, the target chip layout can be input into the mask layout determination model, and the target mask layout can be output through the mask layout determination model. Because the actual lithography process parameters are taken into account during the optimization training phase, the process window of the target mask layout is large. Please refer to Figure 8, which is a schematic diagram of a mask process window provided in an embodiment of the present application. The mask process window includes the exposure dose deviation range and the defocus range.
[0261] For chip layouts of contact hole type and logic type, four methods 1 to 4 can be used to obtain the corresponding mask layouts. Among them, Method 1 is: the mask layout is obtained by optimizing the wafer layout determination model based on the benchmark lithography process parameters. The mask layout is the annotated mask layout mentioned above. Method 2 is: the mask layout is obtained by optimizing the wafer layout determination model based on the actual lithography process parameters. The determination method of the mask layout is similar to the determination method of the annotated mask layout, which will not be repeated here. Method 3 is: the mask layout is determined based on the neural network model obtained by pre-training. The mask layout is the predicted mask layout output by the neural network model. Method 4 is: the mask layout is determined based on the mask layout determination model obtained by pre-training and optimization training. The mask layout is the target mask layout mentioned above.
[0262] For the mask layouts corresponding to the contact hole chip layouts obtained using methods 1 to 4, the relationship between the two process parameters of exposure dose deviation and defocus can be statistically analyzed for various mask layouts, resulting in (a) in Figure 8. For the mask layouts corresponding to the logic type chip layouts obtained using methods 1 to 4, the relationship between the two process parameters of exposure dose deviation and defocus can be statistically analyzed for various mask layouts, resulting in (b) in Figure 8.
[0263] As shown in Figure 8(a) and Figure 8(b), under the same defocus, the target mask layout corresponds to a larger exposure dose deviation, and under the same exposure dose deviation, the target mask layout corresponds to a larger defocus. Therefore, the mask layout determination model of the embodiment of the present application can determine a mask layout with a larger process window.
[0264] FIG9 is a schematic diagram showing the structure of a training device for a mask layout determination model provided by an embodiment of the present application. As shown in FIG9 , the device includes:
[0265] An acquisition module 901 is configured to acquire a marked mask layout and a sample chip layout, wherein the marked mask layout is a mask layout of the sample chip layout determined under the conditions of a reference photolithography process parameter;
[0266] A determination module 902 is configured to determine a predicted mask layout of the sample chip layout using a neural network model, where the predicted mask layout is the mask layout of the sample chip layout obtained through prediction;
[0267] The determination module 902 is further configured to determine a first wafer layout of the predicted mask layout using a first wafer layout determination model, wherein the first wafer layout determination model includes actual lithography process parameters, and the first wafer layout is a wafer layout of the predicted mask layout obtained through prediction;
[0268] The training module 903 is used to train the neural network model by marking the mask layout, predicting the mask layout, the sample chip layout and the first wafer layout to obtain a mask layout determination model, which is used to determine the target mask layout of the target chip layout.
[0269] In one possible implementation, an acquisition module 901 is used to generate an initial mask layout based on a sample chip layout; a second wafer layout of the initial mask layout is determined by a second wafer layout determination model, the second wafer layout determination model includes a reference lithography process parameter, and the second wafer layout is a wafer layout of the initial mask layout obtained by prediction; based on the sample chip layout and the second wafer layout, the initial mask layout is adjusted to obtain a marked mask layout.
[0270] In one possible implementation, the acquisition module 901 is used to determine the benchmark light intensity distribution information based on the initial mask layout through the second wafer layout determination model, where the benchmark light intensity distribution information is the light intensity distribution of the initial mask layout imaged on the wafer under the conditions of benchmark lithography process parameters; and determine the second wafer layout based on the benchmark light intensity distribution information through the second wafer layout determination model.
[0271] In one possible implementation, the second wafer layout determination model includes multiple kernel functions, and the acquisition module 901 is used to activate the initial mask layout to obtain a reference mask layout; the reference mask layout is convolved with each kernel function, and the reference light intensity distribution information is obtained based on each convolution processing result.
[0272] In a possible implementation, the second wafer layout determination model includes an activation function, and the acquisition module 901 is configured to activate the reference light intensity distribution information through the activation function to obtain the second wafer layout.
[0273] In one possible implementation, the acquisition module 901 is used to determine a first reference sub-loss based on first difference information between the sample chip layout and the second wafer layout; determine a reference loss based on the first reference sub-loss; determine a first gradient of the reference loss relative to the initial mask layout; and adjust the initial mask layout based on the first gradient to obtain a marked mask layout.
[0274] In one possible implementation, the acquisition module 901 is used to obtain at least one of a second reference sub-loss, a third reference sub-loss, a fourth reference sub-loss, a fifth reference sub-loss, and a sixth reference sub-loss, where the second reference sub-loss is determined based on the initial mask layout, the third reference sub-loss is determined based on the second difference information between the sample chip layout and the initial mask layout, the fourth reference sub-loss is determined based on the first difference information and the edge correction information, the fifth reference sub-loss is determined based on the initial mask layout and the edge correction information, and the sixth reference sub-loss is determined based on the second difference information and the edge correction information, where the edge correction information is information for correcting the edge of the sample chip layout; the reference loss is determined based on the first reference sub-loss and at least one of the second reference sub-loss, the third reference sub-loss, the fourth reference sub-loss, the fifth reference sub-loss, the sixth reference sub-loss, and the first reference sub-loss.
[0275] In a possible implementation, the acquisition module 901 is further configured to correct the edge of the sample chip layout according to the edge correction distance and the edge correction amplitude to obtain edge correction information.
[0276] In one possible implementation, the acquisition module 901 is used to determine an adjustment step size based on a first gradient; based on the adjustment step size and the first gradient, the initial mask layout is adjusted to obtain an adjusted mask layout; when the adjusted mask layout meets the adjustment end condition, the adjusted mask layout is activated to obtain a marked mask layout.
[0277] In one possible implementation, the acquisition module 901 is also used to determine a third wafer layout of the adjusted mask layout through the second wafer layout determination model when the adjusted mask layout does not meet the adjustment end condition, and the third wafer layout is a wafer layout of the adjusted mask layout obtained by prediction under the conditions of the benchmark lithography process parameters; based on the sample chip layout and the third wafer layout, the adjusted mask layout is adjusted to obtain a marked mask layout.
[0278] In one possible implementation, the sample chip layout includes at least one geometric pattern, and the acquisition module 901 is configured to use the sum of the perimeters of the geometric patterns as the edge length of the sample chip layout; and determine the first reference sub-loss based on the first difference information and the edge length of the sample chip layout.
[0279] In one possible implementation, the determination module 902 is used to encode the sample chip layout through a neural network model to obtain the layout features of the sample chip layout; and decode the layout features of the sample chip layout through a neural network model to obtain a predicted mask layout.
[0280] In one possible implementation, the determination module 902 is used to determine the actual light intensity distribution information based on the predicted mask layout through the first wafer layout determination model, where the actual light intensity distribution information is the light intensity distribution of the mask layout imaged on the wafer predicted under the conditions of actual lithography process parameters; and determine the first wafer layout based on the actual light intensity distribution information through the first wafer layout determination model.
[0281] In one possible implementation, the training module 903 is used to determine a first target sub-loss by using third difference information between the marked mask layout and the predicted mask layout; determine a second target sub-loss by using fourth difference information between the sample chip layout and the first wafer layout; determine a target loss based on the first target sub-loss and the second target sub-loss; determine a second gradient of the target loss relative to the model parameters of the neural network model; and adjust the model parameters of the neural network model based on the second gradient to obtain a mask layout determination model.
[0282] In one possible implementation, the training module 903 is used to obtain at least one of a third target sub-loss, a fourth target sub-loss, a fifth target sub-loss, a sixth target sub-loss, and a seventh target sub-loss, where the third target sub-loss is determined based on the predicted mask layout, the fourth target sub-loss is determined based on the fifth difference information between the sample chip layout and the predicted mask layout, the fifth target sub-loss is determined based on the fourth difference information and the edge correction information, the sixth target sub-loss is determined based on the predicted mask layout and the edge correction information, and the seventh target sub-loss is determined based on the fifth difference information and the edge correction information, where the edge correction information is information for correcting the edge of the sample chip layout; the target loss is determined based on at least one of the third target sub-loss, the fourth target sub-loss, the fifth target sub-loss, the sixth target sub-loss, and the seventh target sub-loss, the first target sub-loss, and the second target sub-loss.
[0283] The above-mentioned device uses a neural network model to determine a predicted mask layout for a sample chip layout, and based on the predicted mask layout, determines a first wafer layout that takes into account actual lithography process parameters. By annotating the mask layout, predicted mask layout, sample chip layout, and first wafer layout, the neural network model is trained to generate a mask layout determination model. This ensures that the target mask layout determined by the mask layout determination model is more consistent with actual lithography process parameters. Under the conditions of actual lithography process parameters, a wafer layout that is highly similar to the target chip layout can be obtained, thereby improving the quality of the target mask layout.
[0284] It should be understood that the device provided in FIG9 is merely an example of the division of the above-mentioned functional modules when implementing its functions. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the device provided in the above embodiment and the method embodiment shown in FIG2 are based on the same concept. The specific implementation process is detailed in the method embodiment shown in FIG2 and will not be repeated here.
[0285] FIG10 is a schematic diagram showing the structure of a device for determining a mask layout according to an embodiment of the present application. As shown in FIG10 , the device includes:
[0286] Acquisition module 1001, used to acquire the target chip layout;
[0287] Determination module 1002 is used to determine the target mask layout of the target chip layout through the mask layout determination model, the mask layout determination model is trained according to the training method of the mask layout determination model of any one of the first aspects, and the target mask layout is the mask layout of the target chip layout obtained by prediction.
[0288] In one possible implementation, the determination module 1002 is used to encode the target chip layout through the mask layout determination model to obtain the layout features of the target chip layout; and decode the layout features of the target chip layout through the mask layout determination model to obtain the target mask layout.
[0289] The mask layout determination model in the above-mentioned device is trained as follows: a predicted mask layout for a sample chip layout is determined using a neural network model, and a first wafer layout that takes into account actual lithography process parameters is determined based on the predicted mask layout. The mask layout determination model is obtained by training the neural network model by annotating the mask layout, the predicted mask layout, the sample chip layout, and the first wafer layout. Because the training process of the mask layout determination model takes into account actual lithography process parameters, the target mask layout determined by the mask layout determination model is more consistent with the actual lithography process parameters. Under the conditions of the actual lithography process parameters, a wafer layout that is highly similar to the target chip layout can be obtained, thereby improving the quality of the target mask layout.
[0290] It should be understood that the device provided in FIG10 is merely an example of the division of the above-mentioned functional modules when implementing its functions. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the device provided in the above embodiment and the method embodiment shown in FIG5 are based on the same concept. The specific implementation process is detailed in the method embodiment shown in FIG5 and will not be repeated here.
[0291] FIG11 shows a block diagram of a terminal device 1100 provided by an exemplary embodiment of the present application. The terminal device 1100 includes a processor 1101 and a memory 1102 .
[0292] The processor 1101 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1101 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), or PLA (Programmable Logic Array). The processor 1101 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 1101 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1101 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0293] The memory 1102 may include one or more computer-readable storage media, which may be non-transitory. The memory 1102 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1102 is used to store at least one computer program, which is used to be executed by the processor 1101 to enable the terminal device 1100 to implement the training method of the mask layout determination model or the mask layout determination method provided in the method embodiment of the present application.
[0294] In some embodiments, the terminal device 1100 may optionally further include: a display screen 1105 .
[0295] The display screen 1105 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 1105 is a touch screen display, the display screen 1105 also has the ability to collect touch signals on the surface or above the surface of the display screen 1105. The touch signal can be input as a control signal to the processor 1101 for processing. At this time, the display screen 1105 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, there can be one display screen 1105, which is set on the front panel of the terminal device 1100; in other embodiments, there can be at least two display screens 1105, which are respectively set on different surfaces of the terminal device 1100 or in a folding design; in other embodiments, the display screen 1105 can be a flexible display screen, which is set on the curved surface or folding surface of the terminal device 1100. Even more, the display screen 1105 can be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 1105 can be made of materials such as LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), etc. For example, chip layout, mask layout, and wafer layout can be displayed using the display screen 1105 .
[0296] Those skilled in the art will understand that the structure shown in FIG11 does not constitute a limitation on the terminal device 1100 , and may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.
[0297] FIG12 is a schematic diagram of the structure of a server provided in an embodiment of the present application. The server 1200 may have relatively large differences due to different configurations or performances. It may include one or more processors 1201 and one or more memories 1202, wherein the one or more memories 1202 store at least one computer program, which is loaded and executed by the one or more processors 1201 to enable the server 1200 to implement the training method of the mask layout determination model or the mask layout determination method provided in the above-mentioned various method embodiments. Exemplarily, the processor 1201 is a CPU. Of course, the server 1200 may also have components such as a wired or wireless network interface, a keyboard, and an input / output interface for input and output. The server 1200 may also include other components for implementing device functions, which will not be described in detail here.
[0298] In an exemplary embodiment, a non-volatile computer-readable storage medium is also provided, in which at least one computer program is stored. The at least one computer program is loaded and executed by a processor to enable an electronic device to implement any of the above-mentioned mask layout determination model training methods or mask layout determination methods.
[0299] Optionally, the above-mentioned non-volatile computer-readable storage medium can be a read-only memory (ROM), a random access memory (RAM), a compact disc (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, etc.
[0300] In an exemplary embodiment, a computer program or a computer program product is also provided, in which at least one computer program is stored, and the at least one computer program is loaded and executed by a processor to enable an electronic device to implement any of the above-mentioned mask layout determination model training methods or mask layout determination methods.
[0301] It should be understood that the term "plurality" used herein refers to two or more. "And / or" describes a relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can mean: A exists alone, A and B exist simultaneously, or B exists alone. The character " / " generally indicates an "or" relationship between the associated objects.
[0302] The above description is merely an exemplary embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the principles of the present application shall be included in the scope of protection of the present application.
Claims
1. A training method for a mask layout determination model, wherein: The method is performed by an electronic device, and includes: Acquire a marked mask layout and a sample chip layout, wherein the marked mask layout is a mask layout of the sample chip layout determined under the condition of reference photolithography process parameters; Determining a predicted mask layout of the sample chip layout through a neural network model; Determining a first wafer layout of the predicted mask layout by a first wafer layout determination model, wherein the first wafer layout determination model includes actual lithography process parameters; The neural network model is trained by using the annotated mask layout, the predicted mask layout, the sample chip layout and the first wafer layout to obtain a mask layout determination model, which is used to determine a target mask layout of a target chip layout.
2. The method according to claim 1, wherein: The step of obtaining the marked mask layout includes: Generating an initial mask layout based on the sample chip layout; Determining a second wafer layout of the initial mask layout by using a second wafer layout determination model, wherein the second wafer layout determination model includes the reference lithography process parameters; Based on the sample chip layout and the second wafer layout, the initial mask layout is adjusted to obtain the annotated mask layout.
3. The method according to claim 2, wherein: The method of determining the second wafer layout of the initial mask layout by using the second wafer layout determination model includes: Determine reference light intensity distribution information based on the initial mask layout through the second wafer layout determination model, wherein the reference light intensity distribution information is the light intensity distribution of the initial mask layout imaged on the wafer under the condition of the reference photolithography process parameters; The second wafer layout is determined by the second wafer layout determination model based on the reference light intensity distribution information.
4. The method according to claim 3, wherein: The second wafer layout determination model includes a plurality of kernel functions, and the determination of reference light intensity distribution information based on the initial mask layout by the second wafer layout determination model includes: Activating the initial mask layout to obtain a reference mask layout; The reference mask pattern is convolved with each kernel function, and the reference light intensity distribution information is obtained based on each convolution result.
5. The method according to claim 3 or 4, wherein: The second wafer layout determination model includes an activation function, and determining the second wafer layout based on the reference light intensity distribution information by using the second wafer layout determination model includes: The reference light intensity distribution information is activated by using the activation function to obtain the second wafer layout.
6. The method according to any one of claims 2 to 5, wherein: The adjusting the initial mask layout based on the sample chip layout and the second wafer layout to obtain the annotated mask layout includes: Determining a first reference sub-loss based on first difference information between the sample chip layout and the second wafer layout; determining a reference loss based on the first reference sub-loss; Determining a first gradient of the reference loss relative to the initial mask layout; The initial mask layout is adjusted based on the first gradient to obtain the annotated mask layout.
7. The method according to claim 6, wherein: The determining a reference loss based on the first reference sub-loss includes: Obtain at least one of a second reference sub-loss, a third reference sub-loss, a fourth reference sub-loss, a fifth reference sub-loss, and a sixth reference sub-loss, wherein the second reference sub-loss is determined based on the initial mask layout, the third reference sub-loss is determined based on second difference information between the sample chip layout and the initial mask layout, the fourth reference sub-loss is determined based on the first difference information and edge correction information, the fifth reference sub-loss is determined based on the initial mask layout and the edge correction information, and the sixth reference sub-loss is determined based on the second difference information and the edge correction information, wherein the edge correction information is information for correcting an edge of the sample chip layout; A reference loss is determined based on at least one of the second reference sub-loss, the third reference sub-loss, the fourth reference sub-loss, the fifth reference sub-loss, and the sixth reference sub-loss and the first reference sub-loss.
8. The method according to claim 7, wherein: The method further comprises: The edge of the sample chip layout is corrected according to the edge correction distance and the edge correction amplitude to obtain the edge correction information.
9. The method according to any one of claims 6 to 8, wherein: The adjusting the initial mask layout based on the first gradient to obtain the annotated mask layout includes: determining an adjustment step size based on the first gradient; Based on the adjustment step size and the first gradient, adjusting the initial mask layout to obtain an adjusted mask layout; When the adjusted mask layout meets the adjustment end condition, the adjusted mask layout is activated to obtain the marked mask layout.
10. The method according to claim 9, wherein: After the initial mask layout is adjusted based on the adjustment step size and the first gradient to obtain an adjusted mask layout, the method further includes: In a case where the adjusted mask layout does not satisfy the adjustment end condition, determining a third wafer layout of the adjusted mask layout by using the second wafer layout determination model; Based on the sample chip layout and the third wafer layout, the adjusted mask layout is adjusted to obtain the annotated mask layout.
11. The method according to any one of claims 6 to 10, wherein: The sample chip layout includes at least one geometric pattern, and determining the first reference sub-loss based on first difference information between the sample chip layout and the second wafer layout includes: The sum of the perimeters of the geometric patterns is taken as the edge length of the sample chip layout; The first reference sub-loss is determined based on the first difference information and the edge length of the sample chip layout.
12. The method according to any one of claims 1 to 11, wherein: The method of determining the predicted mask layout of the sample chip layout by using a neural network model includes: Performing encoding processing on the sample chip layout through the neural network model to obtain layout features of the sample chip layout; The layout features of the sample chip layout are decoded by the neural network model to obtain the predicted mask layout.
13. The method according to any one of claims 1 to 12, wherein: The method of determining the first wafer layout of the predicted mask layout by using the first wafer layout determination model includes: Determine actual light intensity distribution information based on the predicted mask layout through the first wafer layout determination model, wherein the actual light intensity distribution information is the light intensity distribution of the predicted mask layout imaged on the wafer under the conditions of the actual photolithography process parameters; The first wafer layout is determined by the first wafer layout determination model based on the actual light intensity distribution information.
14. The method according to any one of claims 1 to 13, wherein: The neural network model is trained by the marked mask layout, the predicted mask layout, the sample chip layout and the first wafer layout to obtain a mask layout determination model, including: Determining a first target sub-loss through third difference information between the annotated mask layout and the predicted mask layout; Determining a second target sub-loss through fourth difference information between the sample chip layout and the first wafer layout; determining a target loss based on the first target sub-loss and the second target sub-loss; Determining a second gradient of the target loss with respect to a model parameter of the neural network model; The model parameters of the neural network model are adjusted based on the second gradient to obtain the mask layout determination model.
15. The method according to claim 14, wherein: The determining a target loss based on the first target sub-loss and the second target sub-loss includes: Obtain at least one of a third target sub-loss, a fourth target sub-loss, a fifth target sub-loss, a sixth target sub-loss, and a seventh target sub-loss, wherein the third target sub-loss is determined based on the predicted mask layout, the fourth target sub-loss is determined based on fifth difference information between the sample chip layout and the predicted mask layout, the fifth target sub-loss is determined based on the fourth difference information and edge correction information, the sixth target sub-loss is determined based on the predicted mask layout and the edge correction information, and the seventh target sub-loss is determined based on the fifth difference information and the edge correction information, wherein the edge correction information is information for correcting an edge of the sample chip layout; A target loss is determined based on at least one of the third target sub-loss, the fourth target sub-loss, the fifth target sub-loss, the sixth target sub-loss, the seventh target sub-loss, the first target sub-loss, and the second target sub-loss.
16. A method for determining a mask layout, wherein: The method is performed by an electronic device, and includes: Obtain the target chip layout; The target mask layout of the target chip layout is determined by a mask layout determination model, the mask layout determination model is trained according to the training method of the mask layout determination model according to any one of claims 1 to 15, and the target mask layout is the mask layout of the target chip layout obtained by prediction.
17. The method according to claim 16, wherein: The method of determining the target mask layout of the target chip layout by using the mask layout determination model includes: Performing encoding processing on the target chip layout through the mask layout determination model to obtain layout features of the target chip layout; The target mask layout is obtained by decoding the layout features of the target chip layout using the mask layout determination model.
18. A training device for a mask layout determination model, wherein: The device comprises: An acquisition module, used for acquiring a marked mask layout and a sample chip layout, wherein the marked mask layout is a mask layout of the sample chip layout determined under the condition of a reference photolithography process parameter; A determination module, used to determine a predicted mask layout of the sample chip layout through a neural network model; The determination module is further used to determine the first wafer layout of the predicted mask layout through a first wafer layout determination model, wherein the first wafer layout determination model includes actual lithography process parameters; A training module is used to train the neural network model through the marked mask layout, the predicted mask layout, the sample chip layout and the first wafer layout to obtain a mask layout determination model, and the mask layout determination model is used to determine a target mask layout of a target chip layout.
19. A device for determining a mask layout, wherein: The device comprises: An acquisition module is used to acquire the target chip layout; A determination module is used to determine a target mask layout of the target chip layout through a mask layout determination model, wherein the mask layout determination model is obtained by training according to the training method for the mask layout determination model according to any one of claims 1 to 15, and the target mask layout is the mask layout of the target chip layout obtained by prediction.
20. An electronic device, wherein: The electronic device includes a processor and a memory, wherein at least one computer program is stored in the memory, and the at least one computer program is loaded and executed by the processor so that the electronic device implements the training method of the mask layout determination model as described in any one of claims 1 to 15 or implements the mask layout determination method as described in any one of claims 16 to 17.
21. A non-volatile computer-readable storage medium, wherein: At least one computer program is stored in the non-volatile computer-readable storage medium, and the at least one computer program is loaded and executed by the processor to enable the electronic device to implement the training method of the mask layout determination model as described in any one of claims 1 to 15 or the mask layout determination method as described in any one of claims 16 to 17.
22. A computer program product, wherein: The computer program product stores at least one computer program, and the at least one computer program is loaded and executed by a processor so that the electronic device implements the training method of the mask layout determination model as described in any one of claims 1 to 15 or implements the mask layout determination method as described in any one of claims 16 to 17.
Citation Information
Patent Citations
Method and device for predicting graph bridging and electronic equipment
CN113406858A
Method, apparatus and storage medium for performing optical proximity correction
CN114326289A
Mask optimization method and device based on neural network model
CN115222829A
Mask generation model training method, mask generation method and device and storage medium
CN116720479A
Method for forming process model, method for designing mask pattern, mask and method for manufacturing semiconductor device
JP2004157160A
Cited By
Model training method and device, chip design method and device and electronic equipment
CN119416666A
