Simulation method, device, system and medium for semiconductor device

By directly obtaining the geometric parameters of the basic modules of semiconductor devices, determining the grid lines and dividing the discretized grid, the problem of low simulation efficiency in the existing technology is solved, and an efficient simulation process and automated processing are realized.

CN123179676APending Publication Date: 2026-11-27SHENZHEN SICARRIER IND MACHINES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611343969.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-01
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing semiconductor device simulation methods rely on geometric modeling engines for model rendering and triangulation, resulting in long data processing times and low simulation efficiency.

Method used

By obtaining the basic module geometric parameters of the semiconductor device, the grid lines along the axis are directly determined, and the module is divided into a discretized grid using the grid lines. Physical properties are then assigned, realizing automated and parameterized mesh generation, avoiding reliance on external mesh generators for intermediate geometric reconstruction.

Benefits of technology

It significantly reduces data processing time, improves simulation efficiency and accuracy, simplifies the simulation process, and enhances the automation level of semiconductor device simulation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123179676A_ABST
    Figure CN123179676A_ABST
Patent Text Reader

Abstract

The application discloses a simulation method, device, system and medium of a semiconductor device. The method comprises the following steps: firstly, acquiring geometric parameters of each basic module constituting the semiconductor device; then, determining grid lines of each module in at least one direction of X, Y and Z coordinate axes based on the parameters; subsequently, directly dividing each module into a plurality of discretization grids by using the grid lines, and giving physical properties to each grid; finally, simulating the whole device based on the discretization grids of all modules. Since the grid division is directly mapped from the geometric parameters, automation and parameterization driving are realized, and intermediate geometric reconstruction by an external grid generator is not needed, and tedious steps such as model rendering, triangular meshing, counting the intersection number of grid points and horizontal planes, inserting optional points based on fixed points and error thresholds, etc. are not needed, so that the data processing time is significantly reduced, and the simulation efficiency of the semiconductor device is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of semiconductor device simulation technology, and in particular to a semiconductor device simulation method, apparatus, system and medium. Background Technology

[0002] In the design and manufacturing of semiconductor devices, simulation technology is widely used to predict the optical, electrical, and other physical characteristics of the devices. Existing simulation methods typically require first constructing a geometric model of the device, then rendering and triangulating the model using a Geometric Modeling Engine (GME). Fixed points are then obtained by counting the intersections of grid points with horizontal planes, and optional points are inserted based on these fixed points and an error threshold, ultimately forming a discretized mesh for simulation. However, these techniques rely heavily on GMEs for model rendering and triangulation, resulting in long data processing times and low simulation efficiency. Summary of the Invention

[0003] In view of this, this application proposes a simulation method, apparatus, system and medium for semiconductor devices to solve the technical problems of long data processing time and low simulation efficiency caused by the reliance on geometric modeling engines for model rendering and triangulation.

[0004] In a first aspect, this application discloses a simulation method for a semiconductor device, comprising: acquiring geometric parameters of each basic module constituting the semiconductor device; determining multiple grid lines along an axial direction for each basic module based on the geometric parameters, wherein the axial direction includes at least one of an X-axis direction, a Y-axis direction, and a Z-axis direction, wherein the X-axis, the Y-axis, and the Z-axis are perpendicular to each other; dividing each basic module into multiple discretized grids based on the multiple grid lines, and assigning physical properties to each discretized grid; and simulating the semiconductor device based on the discretized grids of all the basic modules.

[0005] This method directly determines multiple grid lines along the axial direction by obtaining the geometric parameters of each basic module constituting the semiconductor device, and uses these grid lines to directly divide each basic module into multiple discretized grids and assign physical properties to each discretized grid. Then, it simulates the semiconductor device based on the discretized grids of all basic modules, enabling the discretized grids of each basic module to be directly generated by mapping geometric parameters. This achieves automated and parameterized mesh generation, eliminating the need for intermediate geometric reconstruction using an external mesh generator. It avoids a series of cumbersome and time-consuming processing steps in existing technologies, such as model rendering, triangulation, counting the number of intersections between grid points and horizontal planes, and inserting optional points based on fixed points and error thresholds. Therefore, it significantly reduces data processing time and improves the simulation efficiency of semiconductor devices.

[0006] In one possible implementation, determining multiple mesh lines along the axial direction for each base module based on the geometric parameters includes: determining multiple control mesh lines along the axial direction for each base module based on the vertices of the base module; and determining multiple additional mesh lines along the axial direction for each base module based on the edges of the base module and the multiple control mesh lines; wherein the control mesh lines are straight lines passing through the vertices and perpendicular to the axial direction, and the additional mesh lines are straight lines located between the control mesh lines and parallel to the control mesh lines.

[0007] Control grid lines are determined by the vertices of the basic modules, and additional grid lines are determined by the edges of the basic modules and the control grid lines. The control grid lines are straight lines passing through the vertices and perpendicular to the axis, while the additional grid lines are located between the control grid lines and are parallel to them. The grid lines can be generated directly using the geometric information of the parametric model without the need for rendering and triangulation through a geometric modeling engine, thereby improving discretization efficiency. At the same time, the control grid lines accurately capture the module boundaries, and the additional grid lines further refine the internal regions, thereby improving simulation efficiency while ensuring accuracy.

[0008] In one possible implementation, before determining the multiple additional grid lines along the axial direction for each of the base modules, the method further includes: determining the area of ​​the bounding box of each of the sides; and when the area of ​​the bounding box is greater than or equal to the preset threshold, performing the step of determining the multiple additional grid lines along the axial direction for each of the base modules.

[0009] Before determining additional grid lines, it is first determined whether the area of ​​the bounding box of each side is greater than or equal to a preset threshold. Additional grid lines are only added when the area is large enough. This avoids adding redundant grid lines to edges with too small an area, thereby reducing the number of grids and further improving discretization efficiency.

[0010] In one possible implementation, determining multiple additional grid lines along the axial direction for each of the basic modules includes: dividing the area between the control grid lines into equal-spaced sections according to a preset fixed step size.

[0011] By dividing the area between the control grid lines into equal intervals according to a preset fixed step size, the distribution of the additional grid lines is uniform and regular, which is easy to implement and can effectively reduce the discretization error caused by excessive step size, thereby improving the simulation accuracy.

[0012] In one possible implementation, after dividing the area between the control grid lines into equal-spaced regions, the method further includes: adjusting the fixed step size so that the spacing between the control grid lines is an integer multiple of the adjusted step size.

[0013] By adjusting the fixed step size, the spacing between control grid lines is made to be an integer multiple of the adjusted step size. This avoids introducing additional errors due to mismatched grid step sizes in the last segment, thereby further improving discretization accuracy while maintaining the simplicity of equal-spaced partitioning.

[0014] In one possible implementation, adjusting the fixed step size includes: calculating the ratio between the fixed step size and the spacing between preset control grid lines, and rounding the ratio up or down to obtain the number of grid lines to be added; and determining the adjusted step size based on the spacing between the control grid lines and the number of grid lines.

[0015] By calculating the ratio of the fixed step size to the spacing and rounding it up or down to obtain the number of grid lines, and then recalculating the adjusted step size, the step size can be finely adjusted quickly and accurately, ensuring that the control grid lines are divided into integer parts, thereby reducing discretization errors and improving simulation accuracy.

[0016] In one possible implementation, determining multiple additional grid lines along the axial direction for each of the basic modules includes: dynamically calculating the spacing of each grid based on a preset error factor and the rate of change of the edge in the axial direction, and sequentially determining the additional grid lines.

[0017] Since the spacing of each grid is dynamically calculated based on the preset error factor and the rate of change of the edge in the axial direction, it is possible to use a larger step size for regions with a small rate of change and a smaller step size for regions with a large rate of change, while ensuring simulation accuracy and significantly improving discretization efficiency, under the premise of controllable error.

[0018] In one possible implementation, the dynamic calculation of the spacing between each grid includes: calculating the step size of each grid segmentally based on the error factor and the rate of change of the edge in the axial direction, such that the discretization error of each grid does not exceed the error factor.

[0019] Because the step size of each grid is calculated piecewise, the discretization error of each grid does not exceed the preset error factor, thus theoretically ensuring the overall discretization accuracy. At the same time, dynamically adjusting the step size avoids unnecessary fine grids, thereby achieving a balance between accuracy and efficiency.

[0020] In one possible implementation, determining multiple additional grid lines along the axial direction for each of the basic modules includes: grouping each side according to the overlap of the control grid lines; for overlapping areas, first determining additional grid lines for each side according to their respective rules, and then uniformly processing the overlapping areas using the strictest condition among all sides.

[0021] By grouping each edge according to the overlap of the control grid lines and uniformly processing the overlapping areas with the strictest conditions among all edges, the problem of inconsistent grid lines and redundant grid lines in the overlapping areas caused by each edge generating grid lines independently can be avoided. This reduces the total number of grids and improves discretization efficiency while ensuring accuracy.

[0022] In one possible implementation, the step of uniformly processing the overlapping region with the most stringent condition among all edges includes: when obtaining additional grid lines using a fixed step size method, selecting the maximum number of grids corresponding to each edge as the number of additional grid lines in the overlapping region; when obtaining additional grid lines using an error factor method, selecting the largest rate of change among each edge as the basis for calculating the additional grid lines in the overlapping region.

[0023] By selecting the maximum number of grids in the fixed step size mode and the maximum rate of change in the error factor mode as the unified processing basis for overlapping regions, the discretization accuracy of overlapping regions can be guaranteed with the strictest standard, while avoiding efficiency loss caused by excessive refinement, thus balancing accuracy and efficiency.

[0024] In one possible implementation, assigning physical properties to each of the discretized grids includes: when there are multiple basic modules in the region corresponding to the discretized grid, assigning the physical properties of the basic module with the highest priority to the discretized grid.

[0025] When multiple basic modules exist in the region corresponding to the discretized mesh, the physical properties of the basic module with the highest priority are assigned to the discretized mesh. This can directly handle the complex overlapping states of basic modules without the need for Boolean operations between modules and model rendering, thereby simplifying the discretization process and improving simulation efficiency.

[0026] Secondly, this application discloses a simulation apparatus for a semiconductor device, including a parameter acquisition module, a grid line determination module, a grid partitioning module, and a simulation module. The parameter acquisition module is used to acquire the geometric parameters of each basic module constituting the semiconductor device. The grid line determination module is used to determine multiple grid lines along an axial direction for each basic module based on the geometric parameters. The axial direction includes at least one of the X-axis, Y-axis, and Z-axis directions, and the X-axis, Y-axis, and Z-axis are perpendicular to each other. The grid partitioning module is used to divide each basic module into multiple discretized grids based on the multiple grid lines and assign physical properties to each discretized grid. The simulation module is used to simulate the semiconductor device based on the discretized grids of all the basic modules.

[0027] This simulation device obtains the geometric parameters of each basic module constituting the semiconductor device through a parameter acquisition module, directly determines multiple grid lines along the axial direction using a grid line determination module, and directly divides each basic module into multiple discretized grids based on the grid lines using a grid generation module, assigning physical properties to each discretized grid. Then, the simulation module simulates the semiconductor device based on the discretized grids of all basic modules. This allows the discretized grids of each basic module to be directly generated by mapping geometric parameters, achieving automated and parameter-driven grid generation. It eliminates the need for an external grid generator for intermediate geometric reconstruction, avoiding the cumbersome and time-consuming processing steps required in existing technologies, such as model rendering, triangulation, counting the number of grid points intersecting with the horizontal plane, and inserting optional points based on fixed points and error thresholds. Therefore, it significantly reduces data processing time and improves the simulation efficiency of semiconductor devices.

[0028] Thirdly, this application discloses a semiconductor device simulation system, comprising: a memory for storing a computer program; and a processor for executing the computer program to implement the semiconductor device simulation method of the first aspect and its various possible embodiments.

[0029] Since the simulation system for semiconductor devices includes a memory and a processor, and the processor can implement the simulation method provided in the above embodiments when executing computer programs, the combination of hardware and software can automatically execute the mesh generation and simulation process based on the geometric parameters of the basic modules, avoiding the tedious operations of modeling and rendering, thereby improving the automation and efficiency of semiconductor device simulation.

[0030] Fourthly, this application discloses a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the simulation method of the semiconductor device in the first aspect and its various possible embodiments.

[0031] Since the computer-readable storage medium stores a computer program, and the computer program is executed by a processor, it can implement the simulation method provided in the above embodiments. Therefore, after the computer-readable storage medium is installed on any computing device, the simulation of semiconductor devices can be completed directly through geometric parameter acquisition, mesh line determination, discretization mesh generation, and simulation steps, without relying on a geometric modeling engine for model rendering and triangulation. This significantly reduces the threshold for deployment and use of simulation software and improves simulation efficiency.

[0032] Fifthly, this application discloses a semiconductor system, comprising: a semiconductor device for performing the processing or testing of a semiconductor device; a computer storing a computer program, wherein when the computer program is executed by a processor, it implements the simulation method of the semiconductor device in the first aspect and its various possible embodiments, and generates control instructions based on the simulation results; and the semiconductor device processes or tests the semiconductor device according to the control instructions.

[0033] Since a semiconductor system includes semiconductor devices and a computer, the computer obtains simulation results and generates control instructions by executing the methods provided in the above embodiments. The semiconductor devices then perform processing or testing according to the control instructions. Therefore, the simulation provides real-time feedback and closed-loop control of the process, and can dynamically adjust the processing or testing parameters according to the simulation results. This improves the simulation efficiency while increasing the accuracy and yield of semiconductor device manufacturing or testing. Attached Figure Description

[0034] The accompanying drawings, which are included in and form part of this specification, illustrate exemplary embodiments, features, and aspects of this application together with the specification and serve to explain the principles of this application.

[0035] Figure 1 A block diagram of a semiconductor system according to an embodiment of this application is shown.

[0036] Figure 2 A flowchart illustrating a simulation method for a semiconductor device according to an embodiment of this application is shown.

[0037] Figure 3 A schematic diagram of a semiconductor device model according to an embodiment of this application is shown.

[0038] Figure 4 A schematic diagram of error analysis of the x-direction mesh according to an embodiment of this application is shown.

[0039] Figure 5 A schematic diagram of the mesh division of a non-equilateral trapezoid according to an embodiment of this application is shown.

[0040] Figure 6 A schematic diagram of the grid division of the overlapping region according to an embodiment of this application is shown.

[0041] Figures 7 to 10 A block diagram of a simulation apparatus for a semiconductor device according to an embodiment of this application is shown.

[0042] Figure 11 A block diagram of a simulation apparatus for a semiconductor device according to an embodiment of this application is shown.

[0043] Explanation of reference numerals in the attached figures:

[0044] 1000 - Semiconductor Systems;

[0045] 1100 - Semiconductor Equipment;

[0046] 1200 - Computer;

[0047] 1210 - Application Software;

[0048] 1211 - Semiconductor device simulation software;

[0049] 1220 - Hardware;

[0050] 1221 - Processor; 1222 - Memory; 1223 - Peripherals;

[0051] 200 - Simulation device;

[0052] 201 - Parameter Acquisition Module; 202 - Grid Line Determination Module; 203 - Mesh Generation Module; 204 - Simulation Module; 205 - Priority Configuration Module; 206 - Parameter Adjustment Module; 207 - Display Module;

[0053] 1900 - Simulation equipment;

[0054] 1922 - Processing components; 1926 - Power supply components; 1932 - Memory; 1950 - Network interface; 1958 - Input / output interface. Detailed Implementation

[0055] Various exemplary embodiments, features, and aspects of this application will now be described in detail with reference to the accompanying drawings. The same reference numerals in the drawings denote elements that have the same or similar functions. Although various aspects of the embodiments are shown in the drawings, they are not necessarily drawn to scale unless specifically indicated otherwise.

[0056] As used herein, the terms “comprising,” “including,” “having,” or variations thereof are open-ended and include one or more of the stated features, integrals, elements, steps, components, or functions, but do not exclude the presence or addition of one or more other features, integrals, elements, steps, components, functions, or groups thereof.

[0057] When an element is referred to as “connected,” “coupled,” “responding,” or a variation thereof relative to another element, it may be directly connected, coupled, or responding to another element, or there may be an intermediate element present.

[0058] Although the terms first, second, third, etc., may be used herein to describe various elements / operations, these elements / operations should not be limited by these terms. These terms are only used to distinguish one element / operation from another. Therefore, without departing from the teachings of this application, a first element / operation in some embodiments may be referred to as a second element / operation in other embodiments.

[0059] The term “exemplary” as used herein means “serving as an example, embodiment, or illustration.” Any embodiment illustrated herein as “exemplary” is not necessarily to be construed as superior to or better than other embodiments.

[0060] Furthermore, to better illustrate this application, numerous specific details are provided in the following detailed embodiments. Those skilled in the art should understand that this application can be implemented without certain specific details. In some instances, methods, means, components, and circuits well-known to those skilled in the art have not been described in detail in order to highlight the main points of this application.

[0061] This application provides a simulation method for semiconductor devices. This method can be applied to optical simulation scenarios of semiconductor devices, such as optical critical dimension (OCD) measurement, small-angle X-ray scattering (SAXS), and overlay error (OVL) marking design. In these application scenarios, it is necessary to determine the mesh lines based on the geometric parameters of each basic module of the semiconductor device, and then discretize the geometry of the corresponding model of the semiconductor device based on the mesh lines. Finally, the semiconductor device is simulated based on the discretized mesh. The simulation method of this application can be applied to semiconductor systems.

[0062] like Figure 1As shown in the illustration, this application also provides a semiconductor system 1000, which may include a semiconductor device 1100 and a computer 1200. The computer 1200 may include hardware 1220 and application software 1210 running on the hardware 1220. The hardware 1220 may include a processor 1221, a memory 1222, and peripherals 1223. The application software 1210 may include semiconductor device simulation software 1211. The semiconductor device 1100 can be used to perform semiconductor device processing or testing. The computer 1200 stores a computer program. When the computer program is executed by the processor 1221, it implements the simulation method of this application and generates control instructions based on the simulation results. The computer program is the semiconductor device simulation software 1211, which, when executed, can implement the simulation method of this application and generate control instructions based on the simulation results. The semiconductor device can process or test the semiconductor device according to the control instructions. In this way, since the semiconductor system includes semiconductor equipment and a computer, the computer obtains simulation results and generates control instructions by executing the method provided in the following embodiments. The semiconductor equipment then performs processing or testing according to the control instructions. Therefore, the simulation provides real-time feedback and closed-loop control of the process, and can dynamically adjust the processing or testing parameters according to the simulation results. This improves the simulation efficiency while increasing the accuracy and yield of semiconductor device manufacturing or testing.

[0063] In existing technologies, designers or simulation software first need to use computer-aided design tools or geometric modeling engines to convert the geometric parameters of semiconductor devices into a continuous three-dimensional geometric model. Subsequently, the system needs to call a mesh generator to render and triangulate this continuous model, using complex algorithms (such as determining fixed points by counting the intersections of mesh points with horizontal planes and dynamically inserting optional points based on an error threshold) to generate the final discretized mesh for numerical computation. However, relying on a geometric modeling engine for model rendering and triangulation is a computationally intensive and time-consuming process, especially for semiconductor devices with complex multilayer structures and minute features (such as nanometer-scale linewidths), where geometric reconstruction and triangulation consume significant amounts of time.

[0064] To address the aforementioned issues, this application proposes a semiconductor device simulation method that directly generates discretized meshes based on geometric parameters. By directly obtaining the original geometric parameters of the basic module, determining the mesh lines directly according to preset axial rules, and using the mesh lines to directly discretize the module, the method eliminates the need for model rendering, triangulation, and complex interpolation steps. This achieves the conversion from geometric parameters to computational meshes, significantly improving simulation efficiency. The following detailed description, in conjunction with specific embodiments, further illustrates this method.

[0065] To enable those skilled in the art to better understand the simulation methods for semiconductor devices, this embodiment provides a detailed description of the simulation methods for semiconductor devices. Figure 2 A flowchart illustrating a semiconductor device simulation method provided in this application embodiment is shown below. Figure 2 As shown, the method includes:

[0066] Step S101: Obtain the geometric parameters of each basic module that constitutes the semiconductor device.

[0067] As is understandable, semiconductor devices are electronic devices that utilize the unique electrical properties of semiconductor materials to perform specific functions. For example, a Gate All Around (GAA) transistor is a transistor architecture used in logic chips. A semiconductor device model can include at least one basic module. A basic module refers to a fundamental three-dimensional solid unit that constitutes a semiconductor device, possessing independent geometric definitions and physical properties. For instance, when simulating a Gate All Around (GAA) transistor, its basic three-dimensional solid module may include: a silicon substrate, stacked silicon nanosheet channels, a germanium-silicon sacrificial layer (used to form internal isolation), a high-k gate dielectric layer, a work function regulating metal layer and a metal gate, gate sidewalls, and source / drain epitaxial regions, etc. The basic module can be a simple geometric shape such as a cuboid, cylinder, or polygonal prism, or a combination thereof. Geometric parameters refer to the set of data used to precisely define the shape, size, and position of a basic module in three-dimensional space. Specifically, they include vertices (coordinates of key corner points that form the module boundary), edges (straight lines or curves that connect vertices and define the module outline), faces (planes or curved surfaces enclosed by edges that form the outer surface of the module), dimensional parameters (such as length, width, height, radius, etc.), and positional parameters (coordinates of the module's origin or reference point in the global coordinate system).

[0068] Specifically, when a user starts a new simulation task and loads the device structure file, i.e., within the simulation software environment of the computer device, the processor 1221 reads the layout or structure description file (such as GDSII, TFML, etc.) of the semiconductor device from a storage medium (such as a hard disk or memory). This file contains detailed geometric parameters of all basic modules of the device. This step is performed at the very beginning of the entire simulation process, before mesh generation, as a data preparation and initialization step. Specifically, the processor 1221 converts the data stream in the structure file into an internal data structure by calling a file parser. For each basic module, it extracts and stores its vertex coordinate list, edge definition (including edge type, such as a line or arc), face definition, and other associated size and position information, thereby constructing a parametric model of each basic module in memory. These parameters are the basis for all subsequent mesh generation operations.

[0069] For example, such as Figure 3The GAA semiconductor device model shown can be constructed based on five cuboids (R1 to R5) and two hexahedrons with trapezoidal sides (T1 and T2).

[0070] Step S102: Based on geometric parameters, determine multiple grid lines along the axial direction for each basic module.

[0071] It is understood that an axis includes at least one of the X-axis, Y-axis, and Z-axis directions. These three coordinate axes are perpendicular to each other, forming a three-dimensional Cartesian coordinate system. An axis parallel to the main boundary direction of the base module can be chosen as the axis to generate a structured orthogonal mesh. For example, for a cuboid module, the mesh is usually divided along its length, width, and height. The X-axis direction will be simplified to the X direction below, and the Y-axis and Z-axis directions are similarly defined. Mesh lines refer to straight lines or curves distributed along a specific axis within or on the boundary of the base module, used to define the boundaries of mesh cells. In this step, they specifically refer to contour lines with fixed coordinate values ​​in a specific axial direction.

[0072] After obtaining the geometric parameters of all basic modules and before meshing, the processor 1221 processes the parameterized model of each basic module in its internal memory. Based on the geometric parameters such as vertices and edges of each basic module extracted in step S101, it calculates a series of plane positions perpendicular to the selected axis. These planes intersect the module, and their intersection lines are the mesh lines. For example, if the selected axis is the Z-axis, a series of horizontal planes with different Z coordinate values ​​need to be calculated. These planes intersect the side surfaces of the basic modules, and the resulting intersection lines are the mesh lines. Specifically, the processor 1221 first automatically selects one or more axes for generating mesh lines based on the shape of the basic module (such as a prism or cylinder) and the simulation accuracy requirements. For example, for a standard rectangular structure, all three axes are usually selected, while for a two-dimensional simulation model where the structure remains unchanged in a certain direction, only the X and Y axes need to be selected. Subsequently, based on the vertex coordinates of the module, the processor 1221 obtains the minimum and maximum values ​​of the module in the selected axes as the boundaries of the mesh lines, and then calculates the precise coordinates of each mesh line within this range according to the preset mesh density or rules. These mesh lines include control mesh lines passing through the vertices of the module and additional mesh lines located in between.

[0073] Step S103: Based on multiple grid lines, divide each basic module into multiple discretized grids and assign physical properties to each discretized grid.

[0074] It is understandable that a discretized mesh refers to a finite number of non-overlapping small volumetric units obtained by dividing a continuous basic module space according to the mesh lines generated in step S102. The vertices of these units are the intersections of the mesh lines. For example, in three dimensions, these are hexahedral (such as cubes or cuboids) units, or tetrahedral or prism units. The discretized mesh is the basic computational unit for numerical simulation. Physical properties refer to the material properties and doping properties assigned to each discretized mesh unit when simulating semiconductor devices. These properties determine the physical model parameters used in subsequent simulation calculations (such as solving the Poisson equation and the current continuity equation). For example, for silicon material regions, the dielectric constant, carrier mobility, and bandgap of silicon need to be assigned, as well as the doping concentration and doping type (N-type or P-type) of the mesh region.

[0075] Specifically, after the mesh lines are determined and before the meshes of all modules are integrated and simulation calculations are performed, processor 1221 internally performs meshing processing on the parametric model of each basic module. It iterates through each basic module, using the mesh lines generated in step S102 to combine all mesh lines along the selected axes into a three-dimensional mesh framework. For example, intersecting the mesh lines in the X, Y, and Z directions yields a series of mesh elements. Processor 1221 iterates through the vertex coordinates of these mesh elements to construct each discretized mesh. Subsequently, for each generated discretized mesh, processor 1221... The system determines which basic module's spatial range its center point or all vertices are located in. If it is a single-module region, it directly inherits the physical properties of that module. If it is a multi-module overlapping region, it selects physical properties according to a preset priority rule. For example, if a mesh is located in both the silicon substrate and the source / drain implantation region, it will be assigned silicon substrate properties or doped source / drain properties according to the priority. The specific values ​​of physical properties (such as doping concentration distribution) may be determined by the results of process simulation steps (such as ion implantation and diffusion) or obtained by interpolation from the doping distribution file. Finally, these attribute data are stored in the data structure of the mesh cell.

[0076] Step S104: Simulate the semiconductor device based on the discretized mesh of all basic modules.

[0077] Specifically, the processor 1221 assembles the geometric information (such as vertex coordinates), topological information (such as node connection relationships), and physical property data (such as material parameters and doping distribution) of all mesh cells into a global matrix equation. Then, according to the simulation type (such as current-voltage characteristic simulation, breakdown voltage simulation, transient simulation, etc.) and boundary conditions (such as setting the bias voltage on the electrodes), it calls a numerical solver (such as the solver engine of simulation algorithms such as Rigorous Coupled-wave Analysis (RCWA)) to solve the physical equations of the semiconductor device (such as the Poisson equation and carrier transport equation). The global matrix equation is iteratively solved using numerical algorithms such as Newton-Raphson iteration until the solution converges. Finally, the processor outputs the electrical characteristic data (such as current density, potential distribution, electric field distribution, etc.) and field distribution data of the device, and outputs the calculation results to a file for visualization and analysis by the user.

[0078] In this way, by obtaining the geometric parameters of each basic module constituting the semiconductor device, this method directly determines multiple grid lines along the axial direction, and uses these grid lines to directly divide each basic module into multiple discretized grids and assign physical properties to each discretized grid. Then, the semiconductor device is simulated based on the discretized grids of all basic modules, so that the discretized grids of each basic module can be directly generated by mapping geometric parameters. This achieves automated and parameterized mesh generation without relying on an external mesh generator for intermediate geometric reconstruction. It avoids a series of cumbersome and time-consuming processing steps in existing technologies, such as model rendering, triangulation, counting the number of intersections between grid points and horizontal planes, and inserting optional points based on fixed points and error thresholds. Therefore, it significantly reduces data processing time and improves the simulation efficiency of semiconductor devices.

[0079] For RCWA mesh applications, the error in model discretization directly affects the accuracy of simulation calculations. Taking mesh generation in the x-direction as an example, the mesh discretization error can be analyzed, such as... Figure 4 As shown, the curve lower grid lines and The area between, i.e., the area of ​​the irregular region, is denoted as The area of ​​the slice is Figure 4 The shaded area along the diagonal line is denoted as , =[ ]*[ ]),in For the length of the slice, ) represents the width of the slice, and the error caused by slicing is denoted as . Therefore, ; It can be obtained through trapezoidal approximation ,in Step size, Given a step size, there exists a relationship. The greater the rate of change of the curve along the grid direction (which can be simplified to Δy / Δx in the x-direction), the greater the meshing error. Therefore, it can be deduced that a straight line perpendicular to the grid direction has a rate of change of 0, and thus its meshing error is 0, allowing for an infinitely large mesh step size. For meshing in the x-direction, the error in meshing a curve parallel to the y-direction is 0, and its mesh step size can be infinitely large, taking the length of the curve.

[0080] Further, step S102 may include: determining multiple control mesh lines along the axial direction for each basic module based on the vertices of the basic module; determining multiple additional mesh lines along the axial direction for each basic module based on the edges of the basic module and the multiple control mesh lines; wherein, the control mesh lines are straight lines passing through the vertices and perpendicular to the axial direction, and the additional mesh lines are straight lines located between the control mesh lines and parallel to the control mesh lines.

[0081] As can be understood, a vertex refers to a corner point of the base module, i.e., the intersection of two edges. For example, if the base module is a cuboid, it has 8 corner points. An edge refers to the edge of the base module, i.e., the line segment connecting two vertices. A control grid line is a straight line passing through the vertices of the base module and perpendicular to the current discretization direction (i.e., the axis). Since the vertex positions are directly obtained from the model parameters, the control grid lines have no error. Additional grid lines are extra grid lines located between and parallel to the two control grid lines, used to improve discretization accuracy. Additional grid lines are lines located between the two control grid lines used to refine the internal grid; they are parallel to the control grid lines and control the grid density by inserting extra contour lines in the region between the control lines.

[0082] The processor 1221 processes the parameterized model of each basic module in its internal memory, traversing all vertices of the basic module. For a selected axis (e.g., the Z-axis), it extracts the Z-coordinate value of each vertex. Each unique Z-coordinate value represents a plane position perpendicular to the Z-axis. The cross-sectional profile where this plane intersects with the basic module constitutes a control grid line, thereby determining multiple control grid lines along that axis for the module. Subsequently, the processor 1221 traverses and analyzes the edges of each basic module in its internal memory. For edges perpendicular to the selected axis, it calculates their length along the axis (i.e., the spacing between two control grid lines) and inserts additional grid lines within this spacing according to preset grid division rules (e.g., fixed step size or dynamic step size), thereby determining multiple additional grid lines along that axis for the module.

[0083] by Figure 5(a) shows a non-equilateral trapezoid with mesh division along the X direction. Since the device model is obtained based on a predefined parametric geometric module, the position and size of the edges and vertices of the geometric module (the whole model corresponds to the same coordinate system) can be directly obtained. Figure 5 (a) The trapezoid shown can be decomposed into These 4 vertices and These four edges, with straight lines passing through module vertices and perpendicular to the meshing direction, are recorded as the control mesh lines for that module. For example... Figure 5 (b) Four control grid lines are used. Since the positions of these vertices and edges are directly obtained from the model parameters, the control grid lines are error-free. Therefore, even minute dimensional changes caused by the manufacturing process can be reflected in the discretized data, thus addressing the discretization efficiency problem caused by the need for very small grids in traditional equal-spacing discretization. For complex device models, it is usually necessary to build them together using many basic modules of the same or different types; the regions defined by the control lines of these modules inevitably overlap. For the edges of the overlapping control line regions, uniform grid lines can be used, such as... Figure 5 The edge in and The overlapping areas of their control grid lines are respectively Figure 5 Grid lines in (b) and The corresponding region. Therefore, additional grid lines can be determined based on the edges of the base module and the already defined control grid lines. These additional grid lines are located between and parallel to the control grid lines, and are used to further subdivide the grid within the area defined by the control grid lines, for example... Figure 5 (c) Corresponding edge The four additional grid lines were determined. .

[0084] In this way, control grid lines are determined by the vertices of the basic module, and additional grid lines are determined by the edges of the basic module and the control grid lines. The control grid lines are straight lines passing through the vertices and perpendicular to the axis, while the additional grid lines are located between the control grid lines and are parallel to them. The grid lines can be generated directly using the geometric information of the parametric model without the need for rendering and triangulation through a geometric modeling engine, thereby improving discretization efficiency. At the same time, the control grid lines accurately capture the module boundaries, and the additional grid lines further refine the internal regions, thereby improving simulation efficiency while ensuring accuracy.

[0085] For the edges of the overlapping control lines, additional grid lines can be selectively added. Specifically, before determining the multiple additional grid lines along the axial direction for each base module, the method may further include: determining the area of ​​the bounding box for each edge; and when the area of ​​the bounding box is greater than or equal to a preset threshold, performing the step of determining the multiple additional grid lines along the axial direction for each base module.

[0086] The bounding box refers to the smallest rectangle that encloses a given edge. The preset threshold is a pre-defined area threshold used to determine whether additional grid lines need to be added to that edge. When the bounding box area is smaller than this threshold, it indicates that the discretization error caused by that edge is minimal, and no additional grid lines are needed.

[0087] It is understandable that a bounding box refers to the smallest cuboid that completely contains one side (or one face) of the base module, with each side parallel to the X, Y, and Z coordinate axes respectively; while the area refers to the projected area of ​​the bounding box on a plane perpendicular to the selected axis. For example, if the selected axis is the Z axis, then the area of ​​the bounding box is the projected area (length × width) of the box on the XY plane.

[0088] Specifically, the processor 1221 traverses all edges of each basic module in its internal memory. For each edge perpendicular to the selected axis, it reads the coordinate data of its two endpoints and calculates the projected area of ​​the bounding box corresponding to the edge on the plane perpendicular to the axis based on the difference between the coordinates of the two endpoints. For example, if the axis is the Z-axis, the area of ​​the bounding box in the XY plane is calculated as S = |dx×dy|, where dx is the difference in coordinates of the two endpoints in the X direction and dy is the difference in coordinates of the two endpoints in the Y direction.

[0089] Still with Figure 5 (a) shows a non-equilateral trapezoid with mesh division along the X direction as an example. For the edge Before obtaining its corresponding additional grid lines, first perform edge... Draw a bounding box, such as Figure 5 (c) The rectangular bounding box Then, calculate the bounding box. The area is greater than a preset threshold, and additional grid lines are then obtained, such as... Figure 5 (c) 4 additional grid lines .

[0090] In this way, since the bounding box area of ​​each side is determined to be greater than or equal to a preset threshold before the additional grid lines are determined, additional grid lines are only added when the area is large enough. This avoids adding redundant grid lines to sides with too small an area, thereby reducing the number of grids and further improving discretization efficiency.

[0091] This simulation method provides two ways to divide additional grid lines.

[0092] The first method for dividing additional grid lines can be based on a fixed step size. Specifically, determining multiple additional grid lines along the axial direction for each basic module can include: dividing the area between the control grid lines at equal intervals according to a preset fixed step size.

[0093] As can be understood, a fixed step size refers to a pre-set grid spacing value that remains constant when generating all additional grid lines. This value can be preset by the user based on simulation accuracy requirements and computational resource limitations. For areas with high accuracy requirements (such as near critical dimensions of semiconductor devices), a smaller step size can be used; for areas with low accuracy requirements (such as non-critical parts of semiconductor devices), a larger step size can be used. The area between control grid lines refers to the axial spacing between two adjacent control grid lines, and its spacing is determined by the coordinate difference between these two control grid lines. Different fixed step sizes can be used for different axes; for example, the step size in the X direction can be different from the step size in the Y direction. Equal spacing refers to adding additional grid lines evenly within the area between control grid lines with the same step size.

[0094] Based on this, the processor 1221 traverses each edge that needs to be processed in each basic module in its internal memory. For each edge, it reads the position coordinates of the two control grid lines corresponding to its two endpoints, calculates the distance L between these two control grid lines, and then generates additional grid lines sequentially within the distance L, starting from the first control grid line, at a preset fixed step size dstep. This ensures that the distance between adjacent grid lines is dstep, thereby achieving a uniformly spaced division of the region. Specifically, the processor 1221 divides the distance L by the fixed step size dstep to obtain the theoretically required number of grid lines. Then, starting from the starting point, it sequentially increments the fixed step size to calculate the precise coordinate position of each additional grid line until the position of the last additional grid line does not exceed the position of another control grid line.

[0095] For example, a fixed step size of d is set, and additional grid lines are added evenly between two adjacent control grid lines according to a step size s, so that the spacing between two adjacent grid lines (including control grid lines and additional grid lines) is s or close to s.

[0096] In this way, by dividing the area between the control grid lines into equal intervals according to the preset fixed step size, the distribution of the additional grid lines is uniform and regular, which is easy to implement and can effectively reduce the discretization error caused by excessive step size, thereby improving the simulation accuracy.

[0097] After dividing the area between the control grid lines into equal intervals, this simulation method may further include: adjusting the fixed step size so that the spacing between the control grid lines is an integer multiple of the adjusted step size.

[0098] Understandably, the adjusted step size refers to the final grid spacing value obtained after fine-tuning the initial fixed step size. This value is divisible by the spacing between the two control grid lines, meaning the spacing between the control grid lines is an integer multiple of the adjusted step size. This avoids mismatches where the final segment's spacing is too small or too large after equal-spaced division. An integer multiple means that the ratio between the spacing between the control grid lines and the adjusted step size is an integer.

[0099] Based on this, the processor 1221 traverses each edge of each basic module that has undergone equal-space partitioning in its internal memory. For each edge, it reads the distance L between the two control grid lines corresponding to its two endpoints, calculates the numerical relationship between the distance L and the preset fixed step size dstep, and determines whether the distance L is an integer multiple of the fixed step size dstep. If the distance L is exactly an integer multiple of the fixed step size dstep, no adjustment is needed, and the original fixed step size remains unchanged. If the distance L is not an integer multiple of the fixed step size dstep, it means that equal-space partitioning according to the original fixed step size will leave an incomplete gap between the control grid lines, causing the size of the last grid segment to be inconsistent with other grids, thereby introducing additional discretization errors. At this time, the processor 1221 adjusts the fixed step size and calculates a new adjusted step size dadjusted, so that the distance L is an integer multiple of dadjusted. Specifically, processor 1221 calculates the ratio R=L / dstep of the spacing L to the fixed step size dstep, rounds up or down to obtain an integer N (i.e. the number of grid lines), and then calculates the adjusted step size dadjusted=L / N. The original fixed step size is replaced with the adjusted step size to generate new additional grid line positions.

[0100] For example, after dividing the area between control grid lines into equal intervals according to a fixed step size s, the fixed step size is fine-tuned. First, the number of grid lines c to be added within the control grid line spacing d is calculated based on the fixed step size s. Then, the fine-tuned step size s' is recalculated based on the control grid line spacing d and the number of grid lines c, where s' = d / c. Finally, the area between control grid lines is divided into equal intervals by fine-tuning the step size s' to obtain additional grid lines, so that the spacing between control grid lines is an integer multiple of the adjusted step size.

[0101] In this way, by adjusting the fixed step size, the spacing between control grid lines is made to be an integer multiple of the adjusted step size. This avoids introducing additional errors due to mismatch in the last grid step size, thereby further improving the discretization accuracy while maintaining the simplicity of equal-spaced partitioning.

[0102] Adjusting the fixed step size may include: calculating the ratio between the fixed step size and the spacing between preset control grid lines, and rounding the ratio up or down to obtain the number of grid lines to be added; and determining the adjusted step size based on the spacing between control grid lines and the number of grid lines.

[0103] It's understandable that the spacing between control grid lines refers to the axial distance between two adjacent control grid lines, determined by the coordinate difference between these two control grid lines; the ratio is the value obtained by dividing the spacing between control grid lines by a fixed step size. Rounding up means rounding a real number up to the smallest integer not less than that number, and rounding down means rounding a real number down to the largest integer not greater than that number. For example, a ratio of 13.6, rounded up, yields 14, and rounded down, yields 13. The number of grid lines refers to the number of additional grid lines that need to be added between two control grid lines; this number is an integer.

[0104] Based on this, the processor 1221 performs calculations on each edge that needs adjustment in its internal memory. For each edge, it reads the spacing L between the two control grid lines corresponding to its two endpoints and the preset fixed step size dstep, and calculates the ratio R = L / dstep of the spacing L to the fixed step size dstep. This ratio reflects the number of grid intervals that should theoretically be generated under the fixed step size. Subsequently, the processor 1221 rounds up or down the ratio R to obtain the number of grid lines N to be added, i.e., N = Ceil(R) or N = Floor(R), where Ceil represents the function of rounding up and Floor represents the function of rounding down.

[0105] After calculating the number of grid lines to be added, the processor 1221 reads the distance L between the two control grid lines corresponding to the two endpoints of each edge that needs adjustment from its internal memory, as well as the number of grid lines N calculated in the previous steps. By dividing the distance L by the number of grid lines N, the adjusted step size dadjusted = L / N is calculated. The adjusted step size is the final equal spacing used to generate the additional grid lines. Specifically, the processor 1221 performs a division operation, dividing the distance L by the number of grid lines N to obtain the adjusted step size dadjusted, and replaces the original fixed step size dstep with this step size to generate new positions for the additional grid lines.

[0106] For example, first, calculate the ratio d / s of the control grid line spacing d to the fixed step size s. Then, round this ratio up or down to obtain the number of grid lines c to be added. Finally, calculate the adjusted step size s' = d / c based on the control grid line spacing d and the number of grid lines c. In this example, the ratio d / s = 10 / 3 ≈ 3.33. If rounding up gives c = 4, then the adjusted step size s' = 10 / 4 = 2.5; if rounding down gives c = 3, then the adjusted step size s' = 10 / 3 ≈ 3.33.

[0107] In this way, by calculating the ratio of the fixed step size to the spacing and rounding it up or down to obtain the number of grid lines, and then recalculating the adjusted step size, the step size can be finely adjusted quickly and accurately, ensuring that the control grid lines are divided into integer equal parts, thereby reducing discretization errors and improving simulation accuracy.

[0108] The second method for dividing additional grid lines can be based on an error factor, essentially using a dynamic step size to divide the additional grid lines. Specifically, determining multiple additional grid lines along the axial direction for each basic module can include: dynamically calculating the spacing of each grid based on a preset error factor and the rate of change of the edge in the axial direction, and then determining the additional grid lines sequentially.

[0109] Understandably, the error factor refers to a user-defined upper limit of the allowable error for controlling the accuracy of mesh discretization. The error factor can be expressed as a relative error or an absolute error, used to limit the acceptable deviation range when the mesh approximates the geometry. A smaller error factor requires a denser mesh, and vice versa. The rate of change refers to the rate of change of an edge in a certain axial direction. For example, for meshing in the X direction, the rate of change can be expressed as the slope of the curve along the X direction. The rate of change of an edge in the axial direction refers to the degree of geometric change of the edge of the base module in the selected axial direction. Specifically, it manifests as the magnitude of the edge's curvature or the speed at which the edge's direction changes relative to the axial direction. For example, the more drastically an edge bends in the axial direction or the faster its slope changes, the higher its rate of change. Dynamically calculating the spacing between meshes means that, unlike the fixed step size method, the processor 1221 calculates the spacing between each mesh segment by segment based on the geometric characteristics of the edges at different positions, so that the mesh spacing is no longer a constant value but adaptively adjusts with position changes.

[0110] Based on this, the processor 1221 traverses each edge to be processed in each basic module in its internal memory. For each edge, the processor 1221 first obtains the geometric definition of the edge along the selected axis (such as the curve equation, inflection point coordinates, etc.), then calculates the rate of change distribution function of the edge along the axial direction, and then, combined with a preset error factor, calculates the spacing value of each grid in the region where the edge is located through mathematical derivation. Finally, starting from the first control grid line, the processor 1221 determines the position of each additional grid line in turn according to the calculated grid spacing, until another control grid line is reached. Specifically, the processor 1221 calculates the grid spacing to be used at each position based on the mathematical relationship between the error factor and the geometric rate of change (for example, for a circular arc edge, the functional relationship between the step size, radius of curvature, and error factor can be derived based on the relationship between the arc length and chord height error). A larger spacing is used in areas with a small rate of change to reduce the number of grids, and a smaller spacing is used in areas with a large rate of change to ensure discretization accuracy. This process is repeated until the entire area between the control grid lines is covered, thereby determining the position of all additional grid lines in turn.

[0111] Taking X-direction mesh generation as an example, by setting an error factor And in combination with the aforementioned error relationship It can be deduced that , , 2 When the error is fixed Calculate the edge step by step The step size used to divide the additional grid lines is determined, and the additional grid lines are obtained according to this step size. Figure 5 Since the rates of change of the sides of the trapezoid are different on the left and right sides, the resulting discretization error (i.e., the calculation error under a given step size) is... The steps are also different. Given a specific error, the step size that satisfies a preset error threshold is calculated, with the left side having a larger step size than the right side. Dynamic adjustment of the grid line step size can be achieved through the error factor and the rate of change. Therefore, based on the error factor and the rate of change of the edge in the axial direction, the step size used to divide additional grid lines on that edge can be calculated, and the additional grid lines can be determined based on this step size. Thus, while ensuring accuracy, dynamic adjustment of the grid line step size can be achieved through the error factor and the rate of change, thereby improving both efficiency and accuracy.

[0112] It should be noted that for additional grid lines in the X direction, use... For additional grid lines in the Y direction, use For additional grid lines in the Z direction, use ,in For volume.

[0113] In this way, since the spacing of each grid is dynamically calculated based on the preset error factor and the rate of change of the edge in the axial direction, it is possible to use a larger step size for regions with a small rate of change and a smaller step size for regions with a large rate of change, while ensuring the simulation accuracy and significantly improving the discretization efficiency.

[0114] The dynamic calculation of the spacing between each grid can include: calculating the step size of each grid piecewise based on the error factor and the rate of change of the edge in the axial direction, so that the discretization error of each grid does not exceed the error factor.

[0115] It is understandable that segmented calculation of the step size of each grid means not using a fixed equal-interval division method, but rather advancing the entire interval between control grid lines into several consecutive sub-intervals, and independently calculating the step size of the current grid based on the rate of change at that point within each sub-interval, with the step size value dynamically adjusted as the position changes.

[0116] Processor 1221 first acquires the determined error factor value and the geometric rate of change distribution function of the edge in the current axis. Then, starting from one endpoint of the edge and taking that endpoint as the starting point of the current grid, processor 1221 calculates the step size of the first grid extending from the current starting point in the target direction based on the instantaneous rate of change value at that starting point, combined with the maximum error limit allowed by the error factor (i.e., the maximum deviation distance between the grid line and the true boundary), using a preset mathematical formula (e.g., a formula where the step size is directly proportional to the error factor and inversely proportional to the rate of change). After determining this step size, processor 1221 uses the position corresponding to this step size value as the new starting point of the next grid, acquires the rate of change at this new starting point again, and repeats the above calculation process until the entire interval of the edge in the axial direction is covered. It is particularly important to emphasize that during each segment calculation process, the processor 1221 needs to verify whether the discretization error introduced by the currently calculated step size (i.e., the deviation between the mesh boundary and the real geometric boundary) is strictly less than or equal to the preset error factor. If the step size calculation result of a certain segment exceeds the allowable error range, the processor 1221 automatically reduces the step size value of that segment and recalculates to ensure that the discretization error of each mesh does not exceed the limit of the error factor.

[0117] In addition, processor 1221 requires a predetermined value for the error factor, which can be input by the user through the simulation interface or automatically configured by the system according to the simulation accuracy requirements. After executing this sub-step, processor 1221 will obtain a set of additional grid line position coordinates that are non-uniformly distributed along the axial direction and have dynamically varying spacing.

[0118] In this way, by calculating the step size of each grid segment by segment, the discretization error of each grid does not exceed the preset error factor, thus theoretically ensuring the overall discretization accuracy. At the same time, dynamically adjusting the step size avoids unnecessary fine grids, thereby achieving a balance between accuracy and efficiency.

[0119] Determining multiple additional grid lines along the axial direction for each basic module may also include: grouping each side according to the overlap of the control grid lines; for areas with overlap, first determining additional grid lines for each side according to their respective rules, and then uniformly processing the overlapping areas using the strictest condition among all sides.

[0120] It is understandable that overlap refers to the phenomenon where multiple different edges in the same basic module overlap or intersect in the projection area perpendicular to the current axis. That is, these edges share a common intersection in the axial coordinate interval, causing their respective extended control grid lines to coincide or intersect in space. When multiple edges are within the same control grid line interval, this interval is called the overlap region. Grouping refers to the processor 1221 grouping multiple edges with a common overlap region into the same group for processing based on the above overlap determination results, while edges without overlap are grouped independently, so that the edges within the group can be uniformly planned for subsequent grid lines. The most stringent condition among all edges refers to the condition that achieves the highest discretization accuracy within the overlap region. In the first method of dividing additional grid lines, the most stringent condition refers to the maximum number of grids. In the first method of dividing additional grid lines, the most stringent condition refers to the maximum rate of change.

[0121] Specifically, processor 1221 first traverses all edges in the current basic module, extracting the start and end coordinates of each edge along its axial direction to form the axial projection interval of that edge. Then, processor 1221 compares these axial projection intervals pairwise to determine if any two edges' projection intervals intersect; that is, it checks if the start coordinate of one edge is less than the end coordinate of another edge and if the end coordinate of one edge is greater than the start coordinate of another edge. Based on the comparison results, processor 1221 aggregates all edges with intersection relationships into the same group until all edges with direct or indirect overlap relationships are grouped together, while edges without any overlap relationships are grouped separately. During the grouping process, processor 1221 also needs to record the specific axial coordinate range of the overlapping area of ​​each edge within each group for subsequent unified processing of that area. After executing this sub-step, processor 1221 will obtain the grouping information of all edges in the current basic module, including which edges are included in each group and the coordinate range of the corresponding overlapping area for each group.

[0122] by Figure 6 For example, control the grid lines and There are three edges in the overlapping region formed. , , ,in The rate of change is the largest, therefore... The rate of change is used to obtain additional grid lines for the region.

[0123] In this way, by grouping each edge according to the overlap of the control grid lines and uniformly processing the overlapping areas with the strictest conditions among all edges, the problem of inconsistent grid lines and redundant grid lines in the overlapping areas caused by each edge generating grid lines independently can be avoided. Thus, while ensuring accuracy, the total number of grids is reduced and the discretization efficiency is improved.

[0124] Among them, the overlapping region is uniformly processed using the most stringent condition among all edges, which may include: when the additional grid lines are obtained using the fixed step size method, the maximum number of grids corresponding to each edge is selected as the number of additional grid lines in the overlapping region; when the additional grid lines are obtained using the error factor method, the maximum rate of change among each edge is selected as the basis for calculating the additional grid lines in the overlapping region.

[0125] It is understandable that the maximum number of grid lines corresponding to each edge refers to the number of grid lines (i.e., the number of grids) obtained by each edge in the group when calculated independently according to its own fixed step size within the overlapping region. The largest value among these is taken as the unified number of grid lines for the overlapping region. The additional number of grid lines in the overlapping region refers to the total number of additional grid lines finally determined within the axial overlap interval shared by multiple edges, which can be equal to the number of grid lines minus 1 (i.e., the number of grid intervals). The error factor method refers to dynamically calculating the spacing of each grid line based on a preset error factor and the rate of change of the edge in the axial direction, so that the discretization error of each grid line does not exceed the error factor. The maximum rate of change refers to the rate of change along the axial direction of each edge in the group within the overlapping region. The largest value among these is taken as the rate of change benchmark for unified processing of the overlapping region. The basis for calculating additional grid lines refers to the core input parameter used in the step size calculation formula when using the error factor method. That is, using the maximum rate of change as a unified input value, the step size and additional grid line position of each grid line in the overlapping region are dynamically calculated to ensure that even for the edge with the largest rate of change, the constraint of the error factor is met.

[0126] When acquiring additional grid lines using a fixed step size method, the processor 1221 first obtains the number of grid lines calculated for each edge within the group according to its fixed step size within the overlapping region. This is calculated by dividing the length of each edge within the overlapping region by its preset fixed step size (if the number of grid lines changes due to step size adjustments, the adjusted actual value prevails). Subsequently, the processor 1221 compares these grid numbers one by one, selecting the largest value as the unified grid number for the overlapping region. After determining this maximum grid number, the processor 1221 uses this number, combined with the total axial length of the overlapping region, to deduce a unified additional grid line distribution scheme for the overlapping region. This involves uniformly distributing additional grid lines corresponding to this grid number within the overlapping region, ensuring equal spacing between grid lines and that the total number of grid lines matches the maximum grid number.

[0127] When obtaining additional grid lines using the error factor method, processor 1221 first obtains the rate of change distribution function of each edge within the group in the overlapping region, that is, the expression or discrete sampled value of the geometric rate of change of each edge along the axis as a function of position. Then, processor 1221 compares these rate of change values ​​one by one, selecting the rate of change with the largest value as the core parameter for unified calculation of the overlapping region. After determining this largest rate of change, processor 1221 substitutes it into a preset step size calculation formula (i.e., a function relationship where step size is positively correlated with the error factor and negatively correlated with the rate of change), and dynamically calculates the step size of each grid segment within the overlapping region according to this largest rate of change until the entire overlapping region is covered, thereby generating a unified distribution of additional grid lines. Since the step size is inversely proportional to the rate of change, selecting the largest rate of change means using the smallest step size, thus ensuring that all edges meet the error requirements within the overlapping region.

[0128] In this way, by selecting the maximum number of grids in the fixed step size mode and the maximum rate of change in the error factor mode as the unified processing basis for the overlapping region, the discretization accuracy of the overlapping region can be guaranteed with the strictest standard, while avoiding the efficiency loss caused by excessive refinement, thus balancing accuracy and efficiency.

[0129] In step S103, physical properties are assigned to each discretized mesh, including: when there are multiple basic modules in the region corresponding to the discretized mesh, the physical properties of the basic module with the highest priority are assigned to the discretized mesh.

[0130] It is understandable that the corresponding region refers to the geometric range occupied by the discretized grid in three-dimensional space, that is, the actual physical space enclosed by the boundary of the grid.

[0131] Processor 1221 first acquires the geometric extent of the current discretized mesh in 3D space (i.e., the bounding box or vertex coordinate set of the mesh), and then iterates through the geometric boundary data of all basic modules, determining whether the spatial extent falls within the geometric coverage of a certain basic module. If the determination finds that the spatial extent of the current mesh is covered by only one basic module, processor 1221 directly assigns the physical properties of that basic module to the current mesh. If the determination finds that the spatial extent of the current mesh is covered by two or more basic modules simultaneously, i.e., multiple basic modules are superimposed, processor 1221 enters the priority determination process. Processor 1221 queries the priority values ​​of all basic modules covering the current mesh from the pre-configured priority information and selects the basic module with the highest priority. After determining the basic module with the highest priority, processor 1221 assigns the complete set of physical properties (such as material type, doping concentration, carrier mobility, etc.) corresponding to that basic module to the current discretized mesh, which serves as the sole source of properties for the mesh in subsequent simulation calculations. Throughout the process, it is necessary to ensure that each discretized mesh ultimately obtains only one unique set of physical properties, and that there are no property conflicts or duplicate assignments.

[0132] For example Figure 3 Taking the second layer structure as an example, this region consists of cuboids R2 and hexahedrons T1, with T1 having a higher priority than R2. For the overlapping meshes of T1 and R2, physical properties of T1 are assigned. Because the basic modules stack and interact with each other, traditional methods require obtaining discretized data based on the final geometric model rendered by GME. This method, however, avoids model rendering by assigning physical properties to the discretized meshes based on the priority of the basic modules. After assigning physical properties, the obtained meshed data is passed to the solver for simulation.

[0133] In this way, when there are multiple basic modules in the region corresponding to the discretized mesh, the physical properties of the basic module with the highest priority are assigned to the discretized mesh. This can directly handle the complex overlapping states of basic modules without the need for Boolean operations between modules and model rendering, thereby simplifying the discretization process and improving simulation efficiency.

[0134] This application also provides a semiconductor device simulation apparatus 200, such as... Figure 7As shown, the simulation device 200 may include: a parameter acquisition module 201, used to acquire the geometric parameters of each basic module constituting the semiconductor device; a grid line determination module 202, used to determine multiple grid lines along the axial direction of each basic module based on the geometric parameters, wherein the axial direction includes at least one of the X-axis direction, Y-axis direction, and Z-axis direction, and the X-axis, Y-axis, and Z-axis are perpendicular to each other; a grid generation module 203, used to divide each basic module into multiple discretized grids based on the multiple grid lines, and assign physical properties to each discretized grid; and a simulation module 204, used to simulate the semiconductor device based on the discretized grids of all basic modules.

[0135] Furthermore, the mesh line determination module 202 includes a control line determination unit and an additional line determination unit. The control line determination unit determines multiple control mesh lines along the axial direction for each basic module based on its vertices. These control mesh lines are straight lines passing through vertices and perpendicular to the axial direction. The additional line determination unit determines multiple additional mesh lines along the axial direction for each basic module based on its edges and the multiple control mesh lines. These additional mesh lines are straight lines located between and parallel to the control mesh lines. In addition, before determining the additional mesh lines, the additional line determination unit first determines the area of ​​the bounding box of each edge. If the area of ​​the bounding box is greater than or equal to a preset threshold, the additional mesh line determination step is then performed to avoid adding redundant mesh lines to edges with excessively small areas, thereby reducing the number of meshes and improving discretization efficiency.

[0136] Furthermore, the additional line determination unit supports two selectable partitioning modes when determining additional grid lines. The first is a fixed step size mode, where the regions between control grid lines are divided at equal intervals according to a preset fixed step size. Simultaneously, the additional line determination unit also adjusts the fixed step size so that the spacing between control grid lines is an integer multiple of the adjusted step size. Specifically, it calculates the ratio of the fixed step size to the preset spacing between control grid lines, rounds the ratio up or down to obtain the number of grid lines to be added, and then determines the adjusted step size based on the spacing between control grid lines and the number of grid lines. The second is an error factor mode, where the spacing between each grid is dynamically calculated based on a preset error factor and the rate of change of the edges in the axial direction, and additional grid lines are determined sequentially. Specifically, based on the error factor and the rate of change of the edges in the axial direction, the step size of each grid is calculated segmentally, ensuring that the discretization error of each grid does not exceed the error factor.

[0137] Furthermore, the additional line determination unit, when determining additional grid lines, also groups each edge according to the overlap of the control grid lines. For overlapping regions, additional grid lines are first determined for each edge according to its own rules, and then the overlapping regions are uniformly processed using the strictest condition among all edges. Specifically, when obtaining additional grid lines using a fixed step size method, the maximum number of grids corresponding to each edge is selected as the number of additional grid lines for the overlapping region; when obtaining additional grid lines using an error factor method, the largest rate of change among each edge is selected as the basis for calculating the additional grid lines for the overlapping region.

[0138] Furthermore, the mesh generation module 203 is also used to assign physical properties to each discretized mesh. Specifically, when multiple basic modules exist in the region corresponding to a discretized mesh, the physical properties of the basic module with the highest priority are assigned to the discretized mesh. This module can directly handle the case of overlapping basic modules without performing Boolean operations between modules, simplifying the discretization process. The mesh generation module 203 sends the discretized mesh set after the physical properties have been assigned to the simulation module 204, which assembles it into a complete semiconductor device simulation model, and then performs numerical solution and outputs the results.

[0139] In addition, such as Figure 8 As shown, the simulation device 200 may also include a priority configuration module 205, which is used to receive user input or automatically generate priority sorting information between basic modules according to the basic module type, and store the priority information in a storage area accessible by the meshing module 203 for the meshing module 203 to query and use when assigning attributes.

[0140] Furthermore, such as Figure 9 As shown, the simulation device 200 may also include a parameter adjustment module 206, which is used to automatically adjust at least one of geometric parameters, fixed step size or error factor according to the deviation between the simulation results output by the simulation module 204 and the preset process target, and feed the adjusted parameters back to the parameter acquisition module 201 or the grid line determination module 202 to realize iterative optimization of the simulation process.

[0141] In some embodiments, the parameter acquisition module 201 is also used to directly parse and extract the geometric parameters of each basic module from the semiconductor device layout file (e.g., GDSII or OASIS format) or process step definition file. These geometric parameters include vertex coordinates, edge vectors, and surface equations, eliminating the need for rendering and triangulation by any geometric modeling engine, thus reducing data preprocessing time. The mesh line determination module 202 directly maps and generates multiple mesh lines based on the geometric parameters output by the parameter acquisition module 201, achieving automated and parameter-driven mesh generation. The mesh generation module 203 performs mesh generation operations on each basic module based on the mesh line set output by the mesh line determination module 202 and assigns physical properties to each mesh. The simulation module 204 collects the discretized mesh data of all basic modules, constructs an overall simulation model, performs numerical calculations, and outputs the final simulation results.

[0142] In some embodiments, such as Figure 10 As shown, the simulation device 200 may also include a display module 207, which is used to graphically present the simulation results (including but not limited to potential distribution, current density distribution, carrier concentration distribution, temperature distribution, etc.) output by the simulation module 204 to the user, facilitating the user's intuitive analysis of the electrical characteristics of the semiconductor device and adjusting design parameters or process conditions accordingly. The display module 207 is also used to display a preview interface of the mesh generation, allowing the user to view the discretized mesh distribution of each basic module before simulation execution, so that the user can manually adjust parameters such as step size, error factor, or priority according to actual needs, thereby achieving flexible control over simulation accuracy and efficiency.

[0143] When the modules in the simulation device 200 are running, they can implement all the steps of the semiconductor device simulation method according to any one of claims 1 to 11. The specific implementation process and technical effects are completely consistent with the aforementioned method embodiments, and will not be repeated here. Through the collaborative work of the above modules, the simulation device 200 can directly complete the mesh generation and simulation process based on geometric parameters without relying on an external mesh generator and geometric modeling engine, significantly reducing data processing time and improving the simulation efficiency of semiconductor devices.

[0144] This application also provides a semiconductor device simulation system, including: a memory for storing computer programs; and a processor 1221 for executing the computer programs to implement the simulation method described above. Since the semiconductor device simulation system includes a memory and a processor 1221, and the processor 1221 can implement the simulation method provided in the above embodiments when executing the computer programs, the combination of hardware and software can automatically execute the mesh generation and simulation process based on the geometric parameters of the basic modules, avoiding the tedious operations of modeling and rendering, thereby improving the automation level and efficiency of semiconductor device simulation.

[0145] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by processor 1221, implements the simulation method described above. Since the computer-readable storage medium stores a computer program, and the computer program, when executed by processor 1221, can implement the simulation method provided in the above embodiments, and because the computer-readable storage medium can be installed on any computing device, the simulation of semiconductor devices can be directly completed through geometric parameter acquisition, mesh line determination, discretization mesh generation, and simulation steps, without relying on a geometric modeling engine for model rendering and triangulation, thereby significantly reducing the threshold for deployment and use of simulation software and improving simulation efficiency.

[0146] This application also provides a computer program product, including a computer program or a computer-readable storage medium carrying the computer program, wherein the computer program implements the steps of the above method when executed by the processor 1221.

[0147] It should be understood that the processor 1221 in the embodiments of this application can be an integrated circuit chip with the ability to process signals. In implementation, each step of the above method embodiments can be completed by the integrated logic circuitry of the hardware in the processor 1221 or by instructions in software form. The processor 1221 can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. A general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the embodiments of this application can be directly implemented by a hardware encoding processor, or implemented by a combination of hardware and software modules in the encoding processor. The software modules can be located in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. The storage medium is located in memory, and the processor reads information from the memory and, in conjunction with its hardware, completes the steps of the above method.

[0148] The memory in this application embodiment can be volatile memory or non-volatile memory, or it can include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), and synchronous link dynamic memory (SLDRAM).

[0149] It should be noted that when the processor is a general-purpose processor, DSP, ASIC, FPGA, or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component, the memory can be integrated into the processor.

[0150] It should also be noted that the memory described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0151] Figure 11 A block diagram of a simulation apparatus for a semiconductor device according to an embodiment of this application is shown. For example, the simulation apparatus 1900 may be provided as a server or terminal device. (Refer to...) Figure 11 The simulation device 1900 includes a processing component 1922, which further includes one or more processors, and memory resources represented by memory 1932 for storing instructions executable by the processing component 1922, such as application programs. The application programs stored in memory 1932 may include one or more modules, each corresponding to a set of instructions. Furthermore, the processing component 1922 is configured to execute instructions to perform the methods described above.

[0152] The emulation device 1900 may also include a power supply component 1926 configured to perform power management of the emulation device 1900, a wired or wireless network interface 1950 configured to connect the emulation device 1900 to a network, and an input / output interface 1958 (I / O interface). The emulation device 1900 can operate on an operating system stored in memory 1932, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, or similar.

[0153] In an exemplary embodiment, a non-volatile computer-readable storage medium is also provided, such as a memory 1932 including computer program instructions that can be executed by a processing component 1922 of an emulation device 1900 to perform the above-described method.

[0154] Computer-readable storage media can be tangible devices capable of holding and storing programs / instructions used by instruction execution devices. Computer-readable storage media can be, for example—but not limited to—electrical storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disc read-only memory (CD-ROM), digital multifunction disc (DVD), memory sticks, floppy disks, mechanical encoding devices, such as punch cards or recessed protrusions storing instructions thereon, and any suitable combination of the foregoing. The computer-readable storage media used herein are not to be construed as transient signals themselves, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., light pulses through fiber optic cables), or electrical signals transmitted through wires.

[0155] The computer program (or computer-readable program instructions) described herein can be downloaded from a computer-readable storage medium to various computing / processing devices, or downloaded via a network, such as the Internet, local area network, wide area network, and / or wireless network, to an external computer or external storage device. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards them to the computer-readable storage medium in the respective computing / processing device.

[0156] The computer program (or computer program instructions) used to perform the operations of this application may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, status setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Smalltalk, C++, etc., and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The computer-readable program instructions may be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or may be connected to an external computer (e.g., via the Internet using an Internet service provider). In some embodiments, electronic circuitry, such as programmable logic circuitry, field-programmable gate arrays (FPGAs), or programmable logic arrays (PLAs), is personalized by utilizing the status information of the computer-readable program instructions. This electronic circuitry can execute the computer-readable program instructions to implement various aspects of this application.

[0157] Various aspects of this application are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.

[0158] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processor of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner; thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.

[0159] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.

[0160] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction, which contains one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than those shown in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

[0161] The various embodiments of this application have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principles, practical applications, or technological improvements to the embodiments in the market, or to enable others skilled in the art to understand the embodiments disclosed herein.

Claims

1. A simulation method for a semiconductor device, characterized in that, include: Obtain the geometric parameters of each basic module constituting the semiconductor device; Based on the geometric parameters, multiple grid lines along the axial direction are determined for each basic module. The axial direction includes at least one of the X-axis direction, Y-axis direction, and Z-axis direction, and the X-axis, Y-axis, and Z-axis are perpendicular to each other. Based on the multiple grid lines, each basic module is divided into multiple discretized grids, and physical properties are assigned to each discretized grid. The semiconductor device is simulated based on the discretized mesh of all the basic modules.

2. The method according to claim 1, characterized in that, The step of determining multiple grid lines along the axial direction for each basic module based on the geometric parameters includes: Based on the vertices of the basic modules, multiple control grid lines along the axial direction are determined for each basic module; Based on the edges of the basic module and the multiple control grid lines, multiple additional grid lines along the axial direction are determined for each basic module; The control grid line is a straight line passing through the vertex and perpendicular to the axis, and the additional grid line is a straight line located between the control grid lines and parallel to the control grid lines.

3. The method according to claim 2, characterized in that, Before determining the multiple additional grid lines along the axial direction for each of the basic modules, the method further includes: Determine the area of ​​the bounding box for each of the aforementioned edges; When the area of ​​the bounding box is greater than or equal to a preset threshold, the step of determining multiple additional grid lines along the axial direction for each of the basic modules is performed.

4. The method according to claim 2 or 3, characterized in that, The determination of multiple additional grid lines along the axial direction for each of the basic modules includes: The regions between the control grid lines are divided at equal intervals according to a preset fixed step size.

5. The method according to claim 4, characterized in that, After dividing the regions between the control grid lines into equally spaced areas, the method further includes: The fixed step size is adjusted so that the spacing between the control grid lines is an integer multiple of the adjusted step size.

6. The method according to claim 5, characterized in that, The adjustment of the fixed step size includes: Calculate the ratio between the fixed step size and the preset control grid line spacing, and round the ratio up or down to obtain the number of grid lines to be added; The adjusted step size is determined based on the spacing between the control grid lines and the number of grid lines.

7. The method according to claim 2 or 3, characterized in that, The determination of multiple additional grid lines along the axial direction for each of the basic modules includes: Based on the preset error factor and the rate of change of the edge in the axial direction, the spacing of each grid is dynamically calculated, and the additional grid lines are determined sequentially.

8. The method as described in claim 7, characterized in that, The dynamic calculation of the spacing between each grid includes: Based on the error factor and the rate of change of the edge in the axial direction, the step size of each grid is calculated piecewise, such that the discretization error of each grid does not exceed the error factor.

9. The method according to any one of claims 2 to 8, characterized in that, The determination of multiple additional grid lines along the axial direction for each of the basic modules includes: Group each side according to the overlap of the control grid lines; For overlapping regions, first determine additional grid lines for each edge according to their respective rules, and then uniformly process the overlapping regions using the strictest condition among all edges.

10. The method as described in claim 9, characterized in that, The method of uniformly processing the overlapping regions using the strictest condition among all edges includes: When using a fixed step size method to obtain additional grid lines, the maximum number of grid lines corresponding to each edge is selected as the number of additional grid lines in the overlapping area. When using the error factor method to obtain additional grid lines, the largest rate of change among the edges is selected as the basis for calculating the additional grid lines in the overlapping region.

11. The method according to any one of claims 1 to 10, characterized in that, Assigning physical properties to each of the discretized meshes includes: When there are multiple basic modules in the region corresponding to the discretized mesh, the physical properties of the basic module with the highest priority are assigned to the discretized mesh.

12. A simulation device for a semiconductor device, characterized in that, include: A parameter acquisition module is used to acquire the geometric parameters of each basic module constituting the semiconductor device; A grid line determination module is used to determine multiple grid lines along the axial direction for each of the basic modules based on the geometric parameters. The axial direction includes at least one of the X-axis direction, the Y-axis direction, and the Z-axis direction, wherein the X-axis, the Y-axis, and the Z-axis are perpendicular to each other. The mesh generation module is used to divide each of the basic modules into multiple discretized meshes based on the multiple mesh lines, and to assign physical properties to each of the discretized meshes; A simulation module is used to simulate the semiconductor device based on a discretized grid of all the basic modules.

13. A simulation system for a semiconductor device, characterized in that, include: Memory, used to store computer programs; A processor for executing the computer program to implement the method as described in any one of claims 1 to 11.

14. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1 to 11.

15. A semiconductor system, characterized in that, include: Semiconductor equipment used to perform the processing or testing of semiconductor devices; A computer, wherein the computer stores a computer program, which, when executed by a processor, implements the method as described in any one of claims 1 to 11 and generates control instructions based on simulation results; The semiconductor device processes or tests the semiconductor device according to the control command.