Circuit-stage pre-simulation method and device thereof

By building a simulation model and obtaining the metal property information of the target signal line, the problem of low pre-circuit level simulation accuracy and efficiency in integrated circuit design is solved, and a more efficient simulation process is achieved.

CN118569149APending Publication Date: 2024-08-30CHANGXIN MEMORY TECH INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310172468.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-02-23
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

In the integrated circuit design process, the accuracy and efficiency of pre-circuit level simulation in the existing technology is poor, resulting in large differences between pre-simulation results and post-simulation results, which cannot meet the needs of rapid iterative design.

Method used

By building a simulation model, the metal property information of the target signal line is obtained, and added to the simulation model. The metal property information is generated using representative graphics to improve simulation accuracy and efficiency. Specific methods include extracting metal layer graphics from the layout and copying them to preset metal layers, screening representative graphics, calculating feature sizes and spacing, and generating metal property information.

Benefits of technology

It improves the accuracy and efficiency of pre-simulation, reduces the difficulty of extracting signal line attribute information, reduces the dependence on manual operations, and enhances the rapid iteration capability of the design.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118569149A
    Figure CN118569149A
Patent Text Reader

Abstract

The embodiment of the invention provides a circuit-level pre-simulation method and device, and the method comprises the steps: building a simulation model according to a circuit, the simulation model comprises a parasitic model of a target signal line, and the parasitic model comprises the metal attribute information of the target signal line; the method for obtaining the metal attribute information of the target signal line comprises the steps that graphs, extracted from a layout, in a plurality of metal layers are copied to a preset metal layer, and the attributes of the graphs in the preset metal layer are the same as those of the graphs in the corresponding metal layers; screening a plurality of representative patterns corresponding to the target signal line from the patterns of the preset metal layer; generating metal attribute information of the target signal line by using the representative graph; and performing circuit-level pre-simulation by using the simulation model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of semiconductor technology, and relates to but is not limited to a circuit-level pre-simulation method and a device thereof. Background Art

[0002] In the design process of integrated circuits, it is usually necessary to perform functional simulation (pre-simulation) on the circuit being designed, and determine whether the simulated circuit has met expectations through the simulation results, so as to modify the design or enter the next stage of verification. However, there are problems in the related art such as poor precision and low efficiency of pre-simulation. Summary of the invention

[0003] In view of this, an embodiment of the present disclosure proposes a circuit-level pre-simulation method and a device thereof. Among them, one aspect of an embodiment of the present disclosure provides a circuit-level pre-simulation method, comprising:

[0004] A simulation model is constructed according to the circuit, wherein the simulation model includes a parasitic model of a target signal line, and the parasitic model includes metal property information of the target signal line; wherein the method for obtaining the metal property information of the target signal line includes:

[0005] Copying the graphics in the multiple metal layers extracted from the layout to the preset metal layers respectively, wherein the graphics in the preset metal layers have the same properties as the graphics in the corresponding metal layers;

[0006] Selecting a plurality of representative patterns corresponding to the target signal line from the patterns of the preset metal layer;

[0007] generating metal property information of the target signal line using the representative graph;

[0008] The simulation model is used to perform circuit-level pre-simulation.

[0009] In the above solution, the steps of copying the patterns in the multiple metal layers extracted from the layout to the preset metal layers respectively include:

[0010] Setting a blank preset metal layer;

[0011] Extracting all graphics in each metal layer of the plurality of metal layers, and calculating the coordinate difference between the graphics in the corresponding metal layer and the preset metal layer;

[0012] Based on the coordinate difference, a graphic having the same attribute as that of the graphic extracted from the corresponding metal layer is set in the preset metal layer.

[0013] In the above solution, screening a plurality of representative patterns corresponding to the target signal line from the patterns of the preset metal layer includes:

[0014] determining a plurality of target signal lines for which metal property information needs to be generated;

[0015] Obtain all instantiated objects and / or tags of the plurality of target signal line connections from the circuit;

[0016] Matching the graphics corresponding to the instantiated object and / or mark from the preset metal layer; the matched graphics include interconnected graphics located in the same metal layer in the layout and / or interconnected graphics located in different metal layers in the layout;

[0017] The representative graph corresponding to each target signal line is extracted from the matched graphs.

[0018] In the above solution, extracting representative graphics corresponding to each target signal line from the matched graphics respectively includes:

[0019] For each target signal line, respectively determine the longest pattern along the first direction and the longest pattern along the second direction corresponding to each target signal line in the preset metal layer;

[0020] The longest figure along the first direction and the longest figure along the second direction are both used as the representative figures, and the first direction is perpendicular to the second direction.

[0021] In the above solution, respectively determining the longest pattern along the first direction and the longest pattern along the second direction corresponding to each target signal line in the preset metal layer includes:

[0022] Initializing the representative graph, recording the longest length of the representative graph along the first direction as a first initial length, and recording the longest length of the representative graph along the second direction as a second initial length;

[0023] The first length of each graphic along the first direction and the second length along the second direction are calculated in sequence, and the first length is compared with the first initial length, and the second length is compared with the second initial length:

[0024] When the first length is greater than or equal to the first initial length, the value of the first initial length is updated to the value of the first length, and the current graphic is determined as the longest graphic along the first direction; when the second length is greater than or equal to the second initial length, the value of the second initial length is updated to the value of the second length, and the current graphic is determined as the longest graphic along the second direction.

[0025] In the above scheme, the method further comprises: after screening a plurality of representative patterns corresponding to the target signal line, extracting characteristic sizes of the plurality of representative patterns and spacings of the representative patterns;

[0026] The step of generating the metal property information of the target signal line by using the representative pattern includes:

[0027] The metal property information of the target signal line is generated by using the characteristic size of the representative pattern and the spacing of the representative pattern.

[0028] In the above solution, extracting the characteristic sizes of the plurality of representative graphics includes:

[0029] Acquire a characteristic dimension of the representative figure along a first direction and a characteristic dimension along a second direction, wherein the first direction is perpendicular to the second direction;

[0030] Extracting the spacing of the representative graphics includes:

[0031] Setting N evaluation points at preset positions of the longest graph along the first direction / the second direction, wherein N is an odd number greater than 1;

[0032] Generate an initial estimate graph based on the assessment points;

[0033] Calculating the initial number of graphics covered by the initial estimated graphics on the metal layer corresponding to the longest graphics;

[0034] Updating the estimated graph and calculating the number of graphs covered by the updated estimated graph, which is recorded as a first number;

[0035] Comparing the first number with the initial number, and when the first number is equal to the initial number, repeatedly updating the size of the estimated graph and repeating the comparison;

[0036] When the first number is greater than the initial number, N intervals corresponding to the N evaluation points are calculated, and a specific one is selected from the N intervals as the interval of the longest pattern along the second direction / first direction.

[0037] In the above scheme, N=3, and the N spacings corresponding to the three evaluation points are L1, L2 and L3;

[0038] Selecting one of the N intervals as the interval of the longest pattern along the second direction comprises:

[0039] When L1=L2=L3, L1 is selected as the longest pattern spacing along the second direction.

[0040] In the above scheme, N=3, and the N spacings corresponding to the three evaluation points are L1, L2 and L3;

[0041] Selecting a specific one from the N spacings as the spacing of the longest pattern along the second direction comprises:

[0042] When L1=L2 or L2=L3 or L1=L3, any same spacing is selected as the spacing of the longest pattern along the second direction.

[0043] In the above scheme, N=3, and the N spacings corresponding to the three evaluation points are L1, L2 and L3;

[0044] Selecting a specific one from the N spacings as the spacing of the longest pattern along the second direction comprises:

[0045] When L1<L2<L3, L2 is selected as the longest pattern spacing along the second direction.

[0046] Another aspect of the disclosed embodiment further provides a circuit-level pre-simulation device, comprising: a model building sub-device, for building a simulation model according to the circuit; the simulation model comprises a parasitic model of a signal line, and the parasitic model comprises metal property information of the signal line;

[0047] A simulation sub-device, used for performing circuit-level pre-simulation using the simulation model;

[0048] Wherein, the model building sub-device includes: a copy module, a screening module, and a generation module;

[0049] The copy module is used to copy the graphics in the multiple metal layers extracted from the layout to the preset metal layer respectively, and the properties of the graphics in the preset metal layer are the same as those of the graphics in the corresponding metal layer;

[0050] The screening module is used to screen a plurality of representative patterns corresponding to the target signal line from the patterns of the preset metal layer;

[0051] The generating module is used to generate the metal property information of the target signal line by using the representative graph.

[0052] In the above solution, the copy module includes: a first setting unit, used to set the blank preset metal layer;

[0053] A first calculation unit, configured to extract all graphics in each metal layer of the plurality of metal layers, and calculate a coordinate difference between the graphics in the corresponding metal layer and the preset metal layer;

[0054] The second setting unit is used to set a graphic with the same attribute as that of the graphic extracted from the corresponding metal layer in the preset metal layer based on the coordinate difference.

[0055] In the above scheme, the screening module includes: a determination unit, used to determine a plurality of target signal lines for which metal property information needs to be generated;

[0056] an acquisition unit, configured to acquire all instantiation objects and / or tags connected to the plurality of target signal lines from the circuit;

[0057] A matching unit, configured to match the instantiated object and / or the graphics corresponding to the mark from the preset metal layer; the matched graphics include interconnected graphics located in the same metal layer in the layout and / or interconnected graphics located in different metal layers in the layout;

[0058] The extraction unit is used to extract the representative graph corresponding to each target signal line from the matched graphs.

[0059] In the above scheme, the extraction unit includes: a calculation subunit, used to determine, for each target signal line, the longest graphic along the first direction and the longest graphic along the second direction corresponding to each target signal line in the preset metal layer; the longest graphic along the first direction and the longest graphic along the second direction are both used as the representative graphics, and the first direction is perpendicular to the second direction.

[0060] In the above solution, the calculation subunit is specifically used to: initialize the representative figure, record the longest length of the representative figure along the first direction as a first initial length, and record the longest length along the second direction as a second initial length;

[0061] The first length of each graphic along the first direction and the second length along the second direction are calculated in sequence, and the first length is compared with the first initial length, and the second length is compared with the second initial length:

[0062] When the first length is greater than or equal to the first initial length, the value of the first initial length is updated to the value of the first length, and the current graphic is determined as the longest graphic along the first direction; when the second length is greater than or equal to the second initial length, the value of the second initial length is updated to the value of the second length, and the current graphic is determined as the longest graphic along the second direction.

[0063] In the above scheme, the circuit-level pre-simulation device further includes: an extraction module, which is used to extract the characteristic sizes of the multiple representative graphics and the spacing between adjacent representative graphics after screening the multiple representative graphics corresponding to the target signal line;

[0064] The generating module is specifically used to generate metal property information of the target signal line by using the characteristic size of the representative pattern and the spacing of the representative pattern.

[0065] In the above scheme, the extraction module includes: a third setting unit, used to obtain the characteristic size of the representative figure along the first direction and the characteristic size along the second direction; and used to set N evaluation points at the preset position of the longest figure along the first direction / the second direction, wherein N is an odd number greater than 1;

[0066] A generating unit, used for generating an initial estimation graph according to the evaluation points;

[0067] A second calculation unit, configured to calculate an initial number of patterns covered by the initial estimated pattern on the preset metal layer;

[0068] A third calculation unit, used for updating the estimated graph and calculating the number of graphs covered by the updated estimated graph, recorded as a first number;

[0069] a comparing unit, configured to compare the first number with the initial number, and when the first number is smaller than the initial number, repeatedly updating the size of the estimated graph and repeating the comparison;

[0070] A selection unit is used to calculate N intervals corresponding to the N evaluation points when the first number is greater than the initial number, and select a specific one from the N intervals as the interval of the longest pattern along the second direction / the first direction.

[0071] In each embodiment of the present disclosure, a simulation model is constructed according to the circuit, and then the simulation model is used to perform circuit-level pre-simulation; wherein, when constructing the simulation model, metal property information of the target signal line is obtained and added to the simulation model, thereby improving the accuracy of the pre-simulation; in addition, in each embodiment of the present disclosure, graphics in multiple metal layers extracted from the layout are respectively copied to preset metal layers, and the properties of the graphics in the preset metal layer are the same as those of the graphics in the corresponding metal layer; then, multiple representative graphics corresponding to the target signal line are screened from the graphics of the preset metal layer; and the metal property information of the target signal line is generated using the representative graphics, thereby achieving the purpose of quickly extracting the metal property information of the target signal line, thereby improving the efficiency of the pre-simulation. BRIEF DESCRIPTION OF THE DRAWINGS

[0072] Figure 1 A schematic diagram of an implementation flow of a circuit-level pre-simulation method provided in an embodiment of the present disclosure;

[0073] Figure 2 A schematic diagram of an implementation process of obtaining metal property information of a target signal line provided in an embodiment of the present disclosure;

[0074] Figure 3A schematic diagram of an implementation process of copying graphics from multiple metal layers extracted from a layout to preset metal layers respectively provided in an embodiment of the present disclosure;

[0075] Figure 4 A schematic diagram of an implementation process of selecting a representative graphic from a graphic of a preset metal layer provided in an embodiment of the present disclosure;

[0076] Figure 5 A schematic diagram of an implementation flow of extracting a representative graph corresponding to each target signal line from a matched graph provided in an embodiment of the present disclosure;

[0077] Figure 6 A schematic diagram of an implementation flow of extracting the longest graph corresponding to a target signal line in a layout provided in an embodiment of the present disclosure;

[0078] Figure 7 A schematic diagram of a method for calculating the horizontal and vertical lengths of a graphic provided in an embodiment of the present disclosure;

[0079] Figure 8 A schematic diagram of an implementation process of extracting graphic spacing information provided in an embodiment of the present disclosure;

[0080] Fig. 9 A schematic diagram of an arrangement of adjacent graphics provided in an embodiment of the present disclosure;

[0081] Fig.10 A schematic diagram of the correspondence between five evaluation points and layer deformation points provided in an embodiment of the present disclosure;

[0082] Fig.11 A schematic diagram of another arrangement of adjacent graphics provided in an embodiment of the present disclosure;

[0083] Fig.12 A schematic diagram of another arrangement of adjacent graphics provided in an embodiment of the present disclosure.

[0084] In the above drawings (which are not necessarily drawn to scale), similar reference numerals may describe similar components in different views. Similar reference numerals with different letter suffixes may represent different examples of similar components. The accompanying drawings generally illustrate various embodiments discussed herein by way of example and not limitation. DETAILED DESCRIPTION

[0085] In order to make the technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions of the present disclosure will be further described in detail below in conjunction with the accompanying drawings and embodiments. Although the exemplary implementation methods of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the implementation methods described herein. On the contrary, these implementation methods are provided in order to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0086] The present disclosure is described in more detail in the following paragraphs by way of example with reference to the accompanying drawings. The advantages and features of the present disclosure will become more apparent from the following description and claims. It should be noted that the drawings are in very simplified form and in non-precise proportions, and are only used to conveniently and clearly assist in explaining the purpose of the embodiments of the present disclosure.

[0087] It will be understood that the meaning of “on,” “over,” and “over” in this disclosure should be interpreted in the broadest manner, so that “on” not only means that it is “on” something with no intervening features or layers (i.e., directly on something), but also includes the meaning that it is “on” something with intervening features or layers.

[0088] Additionally, for ease of description, spatially relative terms such as "on," "over," "above," "upper," and the like may be used herein to describe the relationship of one element or feature to another element or feature as illustrated in the figures. The spatially relative terms are intended to encompass different orientations of the device in use or operation in addition to the orientation depicted in the figures. The device may be otherwise oriented (rotated 90 degrees or at other orientations) and the spatially relative descriptors used herein may be interpreted accordingly.

[0089] In the disclosed embodiments, the term "substrate" refers to the material on which subsequent material layers are added. The substrate itself can be patterned. The material added on top of the substrate can be patterned or can remain unpatterned. In addition, the substrate can include a variety of semiconductor materials, such as silicon, silicon germanium, germanium, gallium arsenide, indium phosphide, etc. Alternatively, the substrate can be made of non-conductive materials, such as glass, plastic, or sapphire wafers.

[0090] In the disclosed embodiments, the term "layer" refers to a material portion including an area with a thickness. A layer may extend over the entirety of a lower or upper structure, or may have a range that is smaller than the range of a lower or upper structure. In addition, a layer may be a region of a homogeneous or inhomogeneous continuous structure having a thickness that is less than the thickness of a continuous structure. For example, a layer may be located between the top and bottom surfaces of a continuous structure, or a layer may be between any horizontal faces at the top and bottom surfaces of a continuous structure. A layer may extend horizontally, vertically, and / or along an inclined surface. A layer may include multiple sublayers. For example, an interconnect layer may include one or more conductors and contact sublayers (where interconnects and / or via contacts are formed), and one or more dielectric sublayers.

[0091] In the embodiments of the present disclosure, the terms "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0092] The simulation method involved in the embodiments of the present disclosure can be used for a variety of circuits. In some embodiments, the circuit includes a circuit corresponding to a memory (memory circuit). By way of example, the memory includes but is not limited to a dynamic random access memory (DRAM). The following embodiments are described using the dynamic random access memory as an example. It should be understood that the following description of the dynamic random access memory is only used to illustrate the present disclosure and is not used to limit the scope of the present disclosure.

[0093] In the process of layout-driven circuit design of dynamic random access memory, the designer is required to provide the attribute information of the metal layer (such as the shape, width and spacing of the metal layer) to help characterize the parasitic capacitance or resistance, but the attribute information provided by the designer does not match the layout, which affects the accuracy of the pre-simulation stage. Based on this, in order to improve the accuracy of the pre-simulation, during the design process, the layout will be continuously connected with the peripheral circuit to obtain more accurate metal layer information of the signal to be characterized from the connected layout. However, the manual extraction of layout metal layer information in the related technology is time-consuming and labor-intensive, and cannot meet the design requirements of rapid iteration, affecting the efficiency of the pre-simulation stage, resulting in low accuracy and low efficiency of the pre-simulation results, which in turn causes a large difference between the pre-simulation results and the post-simulation results.

[0094] Based on this, a circuit-level pre-simulation method is proposed in the embodiment of the present disclosure, which can automatically and quickly extract the attribute information of the metal layer corresponding to the signal line in the published drawing, thereby reducing the difficulty of extracting the attribute information of the metal layer corresponding to the signal line, and adding the acquired attribute information of the metal layer of the signal line to the pre-simulation model, thereby improving the accuracy and efficiency of the pre-simulation. Figure 1 and Figure 2 , Figure 1is a flow chart of a circuit-level pre-simulation method disclosed in an embodiment of the present disclosure, Figure 2 A specific process diagram for obtaining metal property information of a target signal line; the method comprises the following steps:

[0095] Step S101: constructing a simulation model according to the circuit, wherein the simulation model includes a parasitic model of a target signal line, and the parasitic model includes metal property information of the target signal line; wherein the method for obtaining the metal property information of the target signal line includes the following steps:

[0096] Step S201: Copying graphics in multiple metal layers extracted from the layout to preset metal layers respectively, wherein the graphics in the preset metal layer have the same properties as the graphics in the corresponding metal layer;

[0097] Step S202: screening a plurality of representative patterns corresponding to a target signal line from the patterns of the preset metal layer;

[0098] Step S203: Generate metal property information of the target signal line using the representative graph;

[0099] Step S102: performing circuit-level pre-simulation using the simulation model.

[0100] Wherein, in step S101, the circuit includes a memory circuit or any other suitable circuit; it is understandable that the memory is used to store data, and data can be stored and retrieved according to the position specified by the controller. In the design process of the memory circuit, it is necessary to perform preliminary design and layout of the data access path (such as the direction of the signal line); after completing the design and layout of the data access path, it is necessary to perform simulation testing on it, and modify the design of the layout (data access path) according to the test results or enter the next stage of verification.

[0101] The simulation model described here is the model corresponding to the pre-simulation (functional simulation) stage, and its role is to verify whether the function of the created logic is correct before the design is implemented. The pre-simulation model includes a parasitic model of the signal line; the signal line can be understood as the transmission path of the signal (i.e., the transmission line), and the parasitic model of the signal line is the actual transmission process of the signal on the transmission line, which may be affected by the parasitic parameters on the transmission line (such as parasitic inductance, parasitic resistance, and parasitic capacitance). It is a corresponding model established based on data transmission and solving the influence caused by parasitic parameters. Here, the parasitic model of the signal line includes the metal property information of the signal line, such as the graphic shape, width, spacing, material, and other information corresponding to the signal line in the layout.

[0102] In step S102, a simulation model is determined according to the acquired metal property information of the target signal line, and a circuit-level pre-simulation operation is performed.

[0103] It should be noted that in the related art, the metal property information of the target signal line and the parasitic resistance and capacitance that may be generated between the target signal lines are not added in the pre-simulation stage, which leads to a large difference between the pre-simulation results and the post-simulation results. In the embodiments of the present disclosure, the metal property information related to the target signal line is added to the simulation model in the pre-simulation stage in a timely manner, thereby improving the accuracy of the pre-simulation. On the other hand, the metal property information of the target signal line is quickly obtained to improve the efficiency of the pre-simulation.

[0104] Combine the following Figure 2 , Figure 3 , Figure 4 , Figure 5 , Figure 6 , Figure 7 , a detailed description of how to obtain the metal property information of the target signal line is given. It should be understood that Figure 2 , Figure 3 , Figure 4 , Figure 6 The steps shown in the operation are not exclusive, and other steps may be performed before, after or between any steps in the operation shown; Figure 2 , Figure 3 , Figure 4 , Figure 6 The steps shown in the figure can also be adjusted in sequence according to actual needs.

[0105] In step S201, the patterns in the multiple metal layers extracted from the layout are copied to the preset metal layers respectively.

[0106] In some embodiments, reference Figure 2 and Figure 3 , the steps of copying the graphics in the multiple metal layers extracted from the layout to the preset metal layers respectively include the following steps:

[0107] Step S301: setting a blank preset metal layer;

[0108] Step S302: extracting all graphics in each of the multiple metal layers, and calculating the coordinate difference between the graphics in the corresponding metal layer and the preset metal layer;

[0109] Step S303: Based on the coordinate difference, a graphic having the same attributes as the graphic extracted from the corresponding metal layer is set in the preset metal layer.

[0110] It should be noted that, in step S301, the preset metal layer is a blank separate metal layer view, which is generally placed in the same cell as the layout.

[0111] In step S302, all graphics in multiple metal layers used in the current layout are extracted; then, the coordinate difference between the graphics in the corresponding metal layer and the preset metal layer is determined by calculation.

[0112] In step S303, based on the determined coordinate difference, the extracted graphics in the multiple metal layers are copied to the preset metal layer respectively; wherein, the graphics copied to the preset metal layer have the same properties as the graphics in the multiple metal layers; in other words, after the graphics in the multiple metal layers are copied to the preset metal layer respectively, the properties of the graphics in the preset metal layer are the same as the original properties of the graphics in the multiple metal layers, where the properties include but are not limited to the type, relative position, shape, characteristic size and spacing between adjacent graphics; specifically: the type of graphics in the multiple metal layers is the same as the type of the graphics after being copied to the preset metal layer, the relative position of the graphics in the multiple metal layers is the same as the relative position of the graphics in the preset metal layer, and the shape, characteristic size and spacing between adjacent graphics in the multiple metal layers are all the same as the shape, characteristic size and spacing between adjacent graphics in the preset metal layer.

[0113] It should be noted that the same relative position mentioned here can be understood as that after the graphics in the multiple metal layers are copied to the preset metal layer respectively, the relative position between each graphic and the preset metal layer does not change (it is still the relative position between the graphic and the metal layer to which it belongs), or the relative positions between multiple graphics in the same metal layer do not change, but the absolute positions of multiple graphics in different metal layers are changed after being copied to the preset metal layer. In addition, the absolute positions of all graphics are changed from the previous metal layer to the preset metal layer.

[0114] In some specific embodiments, the coordinate transformation of the graphic can be performed layer by layer starting from the bottom layer according to the information of the metal layer where each graphic is located. During the transformation, the rotation axis and rotation angle of the graphic in the current layer are extracted, and the coordinates in the upper layer are obtained by reverse calculation. Then, each graphic is created in the newly created preset metal layer using the converted coordinate information, thereby realizing the copying of the graphics in the multiple metal layers in the layout to the preset metal layer one by one.

[0115] It is understandable that the layout is a hierarchical view, and the efficiency of calculating the spacing is relatively low. After converting the hierarchical graphic into a graphic with only one layer of structure, the efficiency of subsequent calculation of the spacing will be improved.

[0116] In step S202, a plurality of representative patterns corresponding to the target signal line are screened from the patterns of the preset metal layer.

[0117] In some embodiments, screening a plurality of representative patterns corresponding to a target signal line from the patterns of the preset metal layer includes the following steps:

[0118] Step S401: determining a plurality of target signal lines for which metal property information needs to be generated;

[0119] Step S402: Acquire all instantiation objects (instances) and / or labels (labels) connected to the plurality of target signal lines from the circuit;

[0120] Step S403: matching the instantiated object and / or the graphics corresponding to the mark from the preset metal layer; the matched graphics include interconnected graphics located in the same metal layer in the layout and / or interconnected graphics located in different metal layers in the layout;

[0121] Step S404: extracting representative graphics corresponding to each target signal line from the matched graphics.

[0122] It should be noted that since there may be marks or pins in the layout that have no corresponding signal lines, it is necessary to capture all instantiated objects and / or marks connected to the specified signal line (or target signal line) in the circuit diagram corresponding to the layout, so that this circuit diagram and the layout meet the requirements of complete matching of entities, types, etc.

[0123] In step S401 to step S402, the signal lines of all graphics in the preset metal layer are obtained and a signal line list is formed; then, according to actual needs (for example, signals that are more likely to affect parasitic parameters or signals affected by parasitic parameters), multiple target signal lines of graphics in the layout that need to generate metal property information are obtained; and according to the multiple target signal lines, all instantiated objects and / or marks connected to the multiple target signal lines are determined.

[0124] In step S403, all instantiated objects and marked graphics connected to multiple target signal lines are found in the preset metal layer, that is, the graphics corresponding to the instantiated objects and / or marks for which metal attribute information needs to be generated are obtained. The graphics corresponding to the instantiated objects and / or marks can be graphics located in the same metal layer in the layout and connected to each other through pins, or graphics located in different metal layers in the layout and connected to each other through contacts or vias.

[0125] In step S404, representative graphics corresponding to each target signal line are extracted from the multiple graphics corresponding to each matched target signal line. Here, the representative graphics are the longest graphics along the first direction and the longest graphics along the second direction among the multiple graphics corresponding to each target signal line. The first direction is perpendicular to the second direction. Here, a straight line where a certain edge of the layout is located can be used as a reference. The first direction is parallel to the straight line, and the second direction is perpendicular to the straight line. In some specific embodiments, the first direction can be the X-axis direction or horizontal direction, and the second direction can be the Y-axis direction or vertical direction.

[0126] In some specific embodiments, reference Figure 5 , extracting the representative graph corresponding to each target signal line from the matched graphs respectively, comprises the following steps:

[0127] Step S501: for each target signal line, respectively determining the longest pattern along the first direction and the longest pattern along the second direction corresponding to each target signal line in the preset metal layer;

[0128] Step S502: taking the longest figure along the first direction and the longest figure along the second direction as the representative figures, wherein the first direction is perpendicular to the second direction.

[0129] Here, according to each target signal line, the length of the graphic corresponding to each target signal line in the preset metal layer along the first direction and the length along the second direction are calculated respectively, and based on the comparison, the graphic with the longest length along the first direction and the graphic with the longest length along the second direction among the multiple graphics are determined. Here, the graphic with the longest length along the first direction and the graphic with the longest length along the second direction are respectively used as representative graphics.

[0130] In some specific embodiments, the step of respectively determining the longest graph along the first direction and the longest graph along the second direction of a plurality of graphs corresponding to each target signal line in the preset metal layer includes:

[0131] Initialize the representative graph, record the longest length of the representative graph along the first direction as a first initial length, and record the longest length along the second direction as a second initial length; sequentially calculate the first length of each graph along the first direction and the second length along the second direction, and compare the first length with the first initial length, and compare the second length with the second initial length;

[0132] When the first length is greater than or equal to the first initial length, the value of the first initial length is updated to the value of the first length, and the current graphic is determined as the longest graphic along the first direction; when the second length is greater than or equal to the second initial length, the value of the second initial length is updated to the value of the second length, and the current graphic is determined as the longest graphic along the second direction.

[0133] Exemplary, reference Figure 6 , Figure 6 A schematic diagram of a process flow for implementing the longest graph extraction corresponding to a target signal line in a layout provided in an embodiment of the present disclosure, wherein Figure 6 In the example, the first direction is the X-axis direction and the second direction is the Y-axis direction.

[0134] In step 601, a plurality of graphics in a layout is started to be read.

[0135] In step 602, the longest graphics along the X-axis direction and along the Y-axis direction are initialized, for example, the number of the longest graphics along the X-axis direction and along the Y-axis direction can be set to 0. Then, one of the multiple graphics (for example, the first graphic) is selected, and the length of the graphic along the X-axis direction (the longest horizontal length) is recorded as the first initial length, and the length of the graphic along the Y-axis direction (the longest vertical length) is recorded as the second initial length.

[0136] In step 603, the remaining graphics except the first graphic among the multiple graphics or each part of a certain graphic among the remaining graphics are analyzed, and the first length (horizontal length) along the X-axis direction and the second length (vertical length) along the Y-axis direction of each graphic among the remaining graphics are calculated in turn.

[0137] In step 604, the first length is compared with the first initial length.

[0138] Specifically, for multiple graphics, the longest horizontal length (first initial length) of the first graphic (any one of the multiple graphics) along the X-axis direction is compared with the horizontal length (first length) of the current graphic along the X-axis direction to determine which length is longer between the longest horizontal length of the first graphic and the horizontal length of the current graphic; if the horizontal length (first length) of the current graphic is greater than or equal to the longest horizontal length (first initial length) of the first graphic, the value of the longest horizontal length (first initial length) of the first graphic is updated to the value of the horizontal length (first length) of the first graphic, and the current graphic is determined as the longest graphic along the X-axis direction (i.e., the updated first graphic); then, a new graphic is selected as the current graphic, and the reselected current graphic is compared with the updated first graphic to determine the size of the horizontal length of the reselected current graphic along the X-axis direction (the first length at this time) and the longest horizontal length of the updated first graphic along the X-axis direction (the first initial length at this time), and so on, the lengths of multiple graphics along the X-axis direction are compared one by one to determine the longest graphic along the X-axis direction.

[0139] If the horizontal length of the current figure is less than the longest horizontal length of the first figure, the first figure is still determined as the longest figure along the X-axis direction; then, a new figure is selected as the current figure and compared with the first figure to determine the size of the horizontal length of the reselected current figure along the X-axis direction (the first length at this time) and the longest horizontal length of the first figure along the X-axis direction (still the first initial length), and so on, the lengths of multiple figures along the X-axis direction are compared one by one to determine the longest figure along the X-axis direction.

[0140] Exemplarily, multiple figures are numbered in sequence according to the digital numbering rules, the figure numbered 1 is used as the first figure, the figure numbered 2 is used as the current figure, the lengths of the figure numbered 1 and the figure numbered 2 along the X-axis direction are compared, and according to the comparison result, the figure with the longest length along the X-axis direction of the two figures is used as the latest current longest horizontal length figure, and then, the figure is compared and judged with the figure numbered 3, and so on, until all the figures in the multiple figures are compared one by one, so as to determine the figure with the longest horizontal length among the multiple figures.

[0141] In step 605, according to the final comparison result of the horizontal length, the graphic with the longest length in the X-axis direction among the multiple graphics is recorded (that is, the graphic with the longest horizontal length is recorded).

[0142] In step 606, the second length is compared with the second initial length.

[0143] Specifically, for multiple graphics, the vertical longest length (second initial length) of the first graphic (any one of the multiple graphics) along the Y-axis direction is compared with the vertical length (second length) of the current graphic along the Y-axis direction to determine which length is longer; if the vertical length (second length) of the current graphic is greater than or equal to the vertical longest length (second initial length) of the first graphic, the value of the vertical longest length (second initial length) of the first graphic is updated to the value of the vertical length (second length) of the first graphic, and the current graphic is determined as the longest graphic along the Y-axis direction (i.e., the updated first graphic); then, a graphic is reselected as the current graphic, the reselected current graphic is compared with the updated first graphic, and the size of the vertical length of the reselected current graphic along the Y-axis direction (the second length at this time) and the vertical longest length of the updated first graphic along the Y-axis direction (the second initial length at this time) is determined, and so on, the lengths of multiple graphics along the Y-axis direction are compared one by one to determine the longest graphic along the Y-axis direction.

[0144] If the vertical length of the current figure is less than the longest vertical length of the first figure, the first figure is still determined as the longest figure along the Y-axis direction; then, a new figure is selected as the current figure and compared with the first figure to determine the size of the vertical length of the reselected current figure along the Y-axis direction (the second length at this time) and the longest vertical length of the first figure along the Y-axis direction (still the second initial length), and so on, the lengths of multiple figures along the Y-axis direction are compared one by one to determine the longest figure along the Y-axis direction.

[0145] In step 607, according to the final comparison result of the vertical length, the figure with the longest length in the Y-axis direction among the multiple figures is recorded (that is, the figure with the longest vertical length is recorded).

[0146] That is, after step 607, the longest graph along the X-axis direction and the longest graph along the Y-axis direction can be finally determined, and both the longest graph along the X-axis direction and the longest graph along the Y-axis direction are used as representative graphs.

[0147] Next, after determining a plurality of representative patterns, the method further includes: extracting characteristic sizes of the plurality of representative patterns and intervals between the representative patterns.

[0148] In some embodiments, extracting the characteristic dimensions of the plurality of representative graphics includes: obtaining the characteristic dimensions of the representative graphics along the first direction and the characteristic dimensions along the second direction. Here, the representative graphics are the longest graphics along the X-axis direction and the longest graphics along the Y-axis direction, respectively. Obtaining the characteristic dimensions of the representative graphics is to obtain the longest dimension of the representative graphics along the X-axis direction and the longest dimension of the representative graphics along the Y-axis direction. The dimensions here can be understood as length, width, etc.

[0149] In some embodiments, based on Figure 6 The longest pattern extraction process shown in the figure can extract the longest horizontal pattern and the longest vertical pattern from the preset metal layer, and according to Figure 7 The calculation method of the longest horizontal graphic and the longest vertical graphic shown in the figure respectively calculates the longest dimension of the representative graphic along the first direction (horizontal) and the longest dimension along the second direction (vertical).

[0150] Exemplary, reference Figure 6 and Figure 7 , after extracting the longest horizontal and vertical graphics, the length and width of the representative graphics are calculated according to the shape of the representative graphics; illustratively, when the graphics are rectangular, the lengths and widths of the four sides of the representative graphics are calculated respectively, and the longest horizontal length and the longest vertical length of the representative graphics can be obtained respectively. illustratively, when the graphics are polygonal, the representative graphics can be split into multiple sequentially connected partial graphics according to the representative graphics path (all center points are connected by the graphics path), and the lengths and widths of the multiple partial graphics are calculated respectively, and the longest horizontal length and the longest vertical length of the representative graphics are determined according to the connection of the graphics path; the center point mentioned here is Figure 7 The solid dots are shown in .

[0151] It should be understood that after obtaining the characteristic size of the representative graphics, the spacing between the representative graphics can also be determined according to the characteristic size.

[0152] Specifically, in some embodiments, extracting the spacing of representative graphics includes: setting N evaluation points at preset positions of the longest graphic along the first direction / second direction, wherein N is an odd number greater than 1; generating an initial estimated graphic based on the evaluation points; calculating the initial number of graphics covered by the initial estimated graphic on the metal layer corresponding to the longest graphic; updating the estimated graphic and calculating the number of graphics covered by the updated estimated graphic, recorded as a first number; comparing the first number with the initial number, and when the first number is equal to the initial number, repeatedly updating the size of the estimated graphic and repeating the comparison; when the first number is greater than the initial number, calculating N spacings corresponding to the N evaluation points, and selecting a specific one from the N spacings as the spacing of the longest graphic along the second direction / first direction.

[0153] In order to more clearly understand how to obtain the spacing of the representative graphics in the embodiment of the present disclosure, the following is combined with Figure 8 , Fig. 9 , Fig.10 , Fig.11 , Fig.12 , describe its contents in detail.

[0154] Exemplary, reference Figure 8 In step 801, taking the representative figure as the longest figure along the Y-axis direction as an example (the example where the representative figure is the longest figure along the X-axis direction is also applicable), N evaluation points are set at preset positions of the representative figure, where N is an odd number greater than 1, such as 3, 5, 7, etc.

[0155] In step 802, an initial estimation graphic is generated according to the determined positions of the evaluation points. The estimation graphic may be a rectangle, a polygon, or the like.

[0156] In step 803, based on the initial estimation graph, the number of graphs covered by the initial estimation graph is determined and recorded as the initial number.

[0157] In step 804, a preset step size is increased along the X-axis direction, where the preset step size may be, for example, 0.01 μm, to update the size of the estimated pattern.

[0158] In step 805, in the updated estimated graph, the number of graphs covered by the updated estimated graph is calculated and recorded as a first number.

[0159] In step 806, the first number is compared with the initial number. According to the comparison result, if the first number is smaller than the initial number, the preset step size is increased, and the size of the estimated figure after the update (after the preset step size is increased) is re-determined, and step 806 is re-executed. If the first number is larger than the initial number, step 807 is executed to calculate the N spacings corresponding to the N evaluation points, and a specific one is selected from the N spacings as the spacing between two adjacent representative figures extending along the X-axis direction along the Y-axis direction. Preferably, a spacing with a spacing value of an intermediate value is selected from the N spacings as the spacing between two adjacent representative figures extending along the X-axis direction along the Y-axis direction.

[0160] Exemplary, reference Fig. 9, open the metal layer M1 corresponding to the representative figure (i.e., the figure with the longest length along the Y-axis direction), extract three evaluation points (e.g., starting point A, midpoint B, and end point C) on the central axis of the longest figure, create an initial estimated figure at each evaluation point, centered at the evaluation point, with a height of 0.001 μm along the Y-axis direction, and a width equal to the width of the longest figure along the X-axis direction plus 2*0.01 μm (e.g., initial distance = 0.01 μm); in the current metal layer, calculate the number of all estimated figures, increase the distance in steps of 0.01 μm, and repeatedly calculate the number of figures of the estimated figures. If the current estimated number is equal to or less than the initial estimated number, continue to increase the preset step size. If the current estimated number is greater than the initial estimated number, determine the spacing between the three evaluation points and the adjacent representative figures (M2 or M3) (i.e., the first distance L1, the second distance L2, and the third distance L3), and select a specific one of the three distances as the spacing between the two adjacent longest figures arranged along the X-axis direction.

[0161] It should be understood that when the values ​​of the first distance L1, the second distance L2 and the third distance L3 are the same or different, there may be a variety of situations, for example, Fig.10 As shown, when L1=L2=L3, there are no layer deformation points at all evaluation points; when L1=L2 or L2=L3 or L1=L3, there are layer deformation points at one or two evaluation points, and when L1<L2<L3, there are layer deformation points at two or all evaluation points. The following is a detailed description of the three spacings determined based on the three evaluation points, with a specific spacing as the spacing of the longest pattern, in conjunction with the accompanying drawings. Here, the layer deformation points are the aforementioned evaluation points located in different metal layers in the layout and connected to each other through contacts (contact) or vias (via).

[0162] In some embodiments, N=3, and the N spacings corresponding to the three evaluation points are L1, L2 and L3 respectively; a specific one is selected from the N spacings as the spacing of the longest figure along the second direction, including: when L1=L2=L3, L1 is selected as the spacing of the longest figure along the second direction.

[0163] refer to Fig. 9 , when N=3, the three evaluation points are A, B, and C, and the corresponding spacings are L1, L2, and L3, respectively. When the spacings of the three evaluation points are the same (i.e., L1=L2=L3), any one of L1, L2, and L3 can be selected as the spacing between the two longest graphics along the X-axis direction adjacent to each other along the Y-axis direction. In one embodiment of the present disclosure, L1 is selected as the spacing of the longest graphics along the second direction. At this time, all evaluation points have no layer deformation points, belonging to Fig.10The first situation is shown in FIG. 1 ; in addition, it should be noted that the probability of this situation occurring in actual operation is relatively high. In a specific embodiment, the probability of this situation occurring is about 95%.

[0164] In some embodiments, N=3, and the N spacings corresponding to the three evaluation points are L1, L2, and L3, respectively; a specific one is selected from the N spacings as the spacing of the longest figure along the second direction, including: when L1=L2 or L2=L3 or L1=L3, any identical spacing is selected as the spacing of the longest figure along the second direction.

[0165] When only two of the three evaluation points have the same spacing (L1 = L2 or L2 = L3 or L1 = L3), there may be two situations. One situation is that there is a layer deformation point at only one evaluation point. Fig.11 , at this time, the equal points are non-deformed points, then any one of the same spacing (L1 or L3) is selected as the final spacing; this situation belongs to Fig.10 The second situation shown in FIG. 2 ; similarly, the probability of this situation occurring in actual operation is relatively low, and in a specific embodiment, the probability of this situation occurring is approximately 3%.

[0166] Another case is that there are layer deformation points at two evaluation points, and the distance between the two deformation points is the same, then any one of the same distance is selected as the final distance. This case belongs to Fig.10 The third situation is shown in FIG. 3 ; similarly, the probability of this situation occurring in actual operation is relatively low, and in a specific embodiment, the probability of this situation occurring is approximately 1.4%.

[0167] In some embodiments, N=3, and the N spacings corresponding to the three evaluation points are L1, L2 and L3 respectively; a specific one is selected from the N spacings as the spacing of the longest figure along the second direction, including: when L1<L2<L3, L2 is selected as the spacing of the longest figure along the second direction.

[0168] When the distance between the three evaluation points gradually decreases (L1<L2<L3), there may be two situations. One situation is that there are layer deformation points at two evaluation points, and the distance between the two deformation points is different. Fig.12 , then the spacing with the middle value among multiple spacings (such as L2) is selected as the final spacing; this case belongs to Fig.10 The fourth situation shown in FIG. 4 ; similarly, the probability of this situation occurring in actual operation is low, and in a specific embodiment, the probability of this situation occurring is about 0.5%.

[0169] Another case is that there are layer deformation points at all evaluation points, then the spacing with the middle value among multiple spacings is selected as the final spacing. This case belongs to Fig.10The fifth situation is shown in FIG. 5 ; similarly, the probability of this situation occurring in actual operation is low, and in a specific embodiment, the probability of this situation occurring is about 0.1%.

[0170] Based on this, the spacing between the representative graphics can be extracted according to the positional relationship between the representative graphics where the evaluation point is located and the adjacent representative graphics in actual operation.

[0171] Next, step S203 is executed to generate metal attribute information of the target signal line using the characteristic size of the representative pattern and the spacing of the representative pattern. In other words, the metal attribute information of each target signal line at least includes the shape of the representative pattern, the characteristic size of the representative pattern, and the spacing of the representative pattern obtained in the above-mentioned embodiment; and summarizes the attribute information of the metal layer of all target signal lines.

[0172] Based on this, in each embodiment of the present disclosure, the topological structure of the target signal line can be automatically extracted according to the layout to obtain the connection graph, and the spacing of the metal layers can be calculated in a separate layer using the three evaluation point method. In this way, the metal property information of a large number of target signal lines in the layout can be automatically extracted, thereby improving the efficiency of obtaining the target signal lines; and when constructing the simulation model, the metal property information of the target signal line is added to the simulation model, so that the accuracy of the previous simulation can be improved.

[0173] Another aspect of the present disclosure further provides a circuit-level pre-simulation device, including:

[0174] A model building sub-device, used to build a simulation model according to the circuit; the simulation model includes a parasitic model of the signal line, and the parasitic model includes metal property information of the signal line;

[0175] A simulation sub-device, used for performing circuit-level pre-simulation using the metal property information of the signal line;

[0176] Wherein, the model building sub-device includes: a copy module, a screening module, and a generation module;

[0177] The copy module is used to copy the graphics in the multiple metal layers extracted from the layout to the preset metal layer respectively, and the properties of the graphics in the preset metal layer are the same as those of the graphics in the corresponding metal layer;

[0178] The screening module is used to screen a plurality of representative patterns corresponding to the target signal line from the patterns of the preset metal layer;

[0179] The generating module is used to generate the metal property information of the target signal line by using the representative graph.

[0180] In some embodiments, the copy module includes:

[0181] A first setting unit, used for setting the blank preset metal layer;

[0182] A first calculation unit, configured to extract all graphics in each metal layer of the plurality of metal layers, and calculate a coordinate difference between the graphics in the corresponding metal layer and the preset metal layer;

[0183] The second setting unit is used to set a graphic with the same attribute as that of the graphic extracted from the corresponding metal layer in the preset metal layer based on the coordinate difference.

[0184] In some embodiments, the screening module comprises:

[0185] A determination unit, used for determining a plurality of target signal lines for which metal property information needs to be generated;

[0186] an acquisition unit, configured to acquire all instantiation objects and / or tags connected to the plurality of target signal lines from the circuit;

[0187] A matching unit, configured to match the instantiated object and / or the graphics corresponding to the mark from the preset metal layer; the matched graphics include interconnected graphics located in the same metal layer in the layout and / or interconnected graphics located in different metal layers in the layout;

[0188] The extraction unit is used to extract the representative graph corresponding to each target signal line from the matched graphs.

[0189] In some embodiments, the extraction unit comprises:

[0190] A calculation subunit is used to determine, for each target signal line, the longest graphic along the first direction and the longest graphic along the second direction corresponding to each target signal line in the preset metal layer; the longest graphic along the first direction and the longest graphic along the second direction are both used as the representative graphics, and the first direction is perpendicular to the second direction.

[0191] In some embodiments, the calculation subunit is specifically used to: initialize the representative graph, record the longest length of the representative graph along the first direction as a first initial length, and record the longest length along the second direction as a second initial length;

[0192] sequentially calculating a first length of each graphic along the first direction and a second length along the second direction, and comparing the first length with the first initial length, and comparing the second length with the second initial length;

[0193] When the first length is greater than or equal to the first initial length, the value of the first initial length is updated to the value of the first length, and the current graphic is determined as the longest graphic along the first direction; when the second length is greater than or equal to the second initial length, the value of the second initial length is updated to the value of the second length, and the current graphic is determined as the longest graphic along the second direction.

[0194] In some embodiments, the circuit-level pre-simulation device further includes: an extraction module for extracting characteristic sizes of the plurality of representative patterns and spacings between adjacent representative patterns after screening the plurality of representative patterns corresponding to the target signal line;

[0195] The generating module is specifically used to generate metal property information of the target signal line by using the characteristic size of the representative pattern and the spacing of the representative pattern.

[0196] In some embodiments, the extraction module includes: a third setting unit, configured to obtain a characteristic size of the representative figure along the first direction and a characteristic size along the second direction; and configured to set N evaluation points at a preset position of the longest figure along the first direction / the second direction, wherein N is an odd number greater than 1;

[0197] A generating unit, used for generating an initial estimation graph according to the evaluation points;

[0198] A second calculation unit, configured to calculate an initial number of patterns covered by the initial estimated pattern on the preset metal layer;

[0199] a third calculation unit, used for updating the estimated graph and calculating the number of graphs covered by the updated estimated graph, recorded as a first number;

[0200] A comparing unit, configured to compare the first number with an initial number, and when the first number is smaller than the initial number, repeatedly updating the size of the estimated graph and repeating the comparison;

[0201] A selection unit is used to calculate N intervals corresponding to the N evaluation points when the first number is greater than the initial number, and select a specific one from the N intervals as the interval of the longest pattern along the second direction / the first direction.

[0202] In the several embodiments provided in the present disclosure, it should be understood that the disclosed devices and methods can be implemented in a non-targeted manner. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the components shown or discussed are coupled or directly coupled to each other.

[0203] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0204] The features disclosed in several method or device embodiments provided in the present disclosure may be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.

[0205] The above is only a specific embodiment of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any person skilled in the art who is familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present disclosure, which should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A circuit level pre-simulation method, characterized in that: include: A simulation model is constructed according to the circuit, wherein the simulation model includes a parasitic model of a target signal line, and the parasitic model includes metal property information of the target signal line; wherein the method for obtaining the metal property information of the target signal line includes: Copying the graphics in the multiple metal layers extracted from the layout to the preset metal layers respectively, wherein the graphics in the preset metal layers have the same properties as the graphics in the corresponding metal layers; Selecting a plurality of representative patterns corresponding to the target signal line from the patterns of the preset metal layer; generating metal property information of the target signal line using the representative graph; The simulation model is used to perform circuit-level pre-simulation.

2. The method according to claim 1, characterized in that The step of copying the graphics in the multiple metal layers extracted from the layout to the preset metal layers respectively includes: Setting a blank preset metal layer; Extracting all graphics in each metal layer of the plurality of metal layers, and calculating the coordinate difference between the graphics in the corresponding metal layer and the preset metal layer; Based on the coordinate difference, a graphic having the same attribute as that of the graphic extracted from the corresponding metal layer is set in the preset metal layer.

3. The method according to claim 1, characterized in that: Screening a plurality of representative patterns corresponding to the target signal line from the pattern of the preset metal layer includes: determining a plurality of target signal lines for which metal property information needs to be generated; Obtain all instantiated objects and / or tags of the plurality of target signal line connections from the circuit; Matching the graphics corresponding to the instantiated object and / or mark from the preset metal layer; the matched graphics include interconnected graphics located in the same metal layer in the layout and / or interconnected graphics located in different metal layers in the layout; The representative graph corresponding to each target signal line is extracted from the matched graphs.

4. The method according to claim 3, characterized in that The extracting the representative graph corresponding to each target signal line from the matched graphs respectively includes: For each target signal line, respectively determine the longest pattern along the first direction and the longest pattern along the second direction corresponding to each target signal line in the preset metal layer; The longest figure along the first direction and the longest figure along the second direction are both used as the representative figures, and the first direction is perpendicular to the second direction.

5. The method according to claim 4, characterized in that The step of respectively determining the longest pattern along the first direction and the longest pattern along the second direction corresponding to each target signal line in the preset metal layer includes: Initializing the representative graph, recording the longest length of the representative graph along the first direction as a first initial length, and recording the longest length of the representative graph along the second direction as a second initial length; The first length of each graphic along the first direction and the second length along the second direction are calculated in sequence, and the first length is compared with the first initial length, and the second length is compared with the second initial length: When the first length is greater than or equal to the first initial length, the value of the first initial length is updated to the value of the first length, and the current graphic is determined as the longest graphic along the first direction; when the second length is greater than or equal to the second initial length, the value of the second initial length is updated to the value of the second length, and the current graphic is determined as the longest graphic along the second direction.

6. The method according to claim 1, characterized in that The method further comprises: after screening a plurality of representative patterns corresponding to the target signal line, extracting characteristic sizes of the plurality of representative patterns and spacings of the representative patterns; The step of generating the metal property information of the target signal line by using the representative pattern includes: The metal property information of the target signal line is generated by using the characteristic size of the representative pattern and the spacing of the representative pattern.

7. The method according to claim 6, characterized in that The step of extracting the characteristic sizes of the plurality of representative graphics comprises: Acquire a characteristic dimension of the representative figure along a first direction and a characteristic dimension along a second direction, wherein the first direction is perpendicular to the second direction; Extracting the spacing of the representative graphics includes: Setting N evaluation points at preset positions of the longest graph along the first direction / the second direction, wherein N is an odd number greater than 1; Generate an initial estimate graph based on the assessment points; Calculating the initial number of patterns covered by the initial estimated pattern on the metal layer corresponding to the longest pattern in the first direction / the second direction; Updating the estimated graph and calculating the number of graphs covered by the updated estimated graph, which is recorded as a first number; Comparing the first number with the initial number, and when the first number is equal to the initial number, repeatedly updating the size of the estimated graph and repeating the comparison; When the first number is greater than the initial number, N intervals corresponding to the N evaluation points are calculated, and a specific one is selected from the N intervals as the interval of the longest pattern along the second direction / first direction.

8. The method according to claim 7, characterized in that The N=3, the N spacings corresponding to the three evaluation points are L1, L2 and L3; Selecting one of the N intervals as the interval of the longest pattern along the second direction comprises: When L1=L2=L3, L1 is selected as the longest pattern spacing along the second direction.

9. The method according to claim 7, characterized in that: The N=3, the N spacings corresponding to the three evaluation points are L1, L2 and L3; Selecting a specific one from the N spacings as the spacing of the longest pattern along the second direction comprises: When L1=L2 or L2=L3 or L1=L3, any same spacing is selected as the spacing of the longest pattern along the second direction.

10. The method according to claim 7, characterized in that The N=3, the N spacings corresponding to the three evaluation points are L1, L2 and L3; Selecting a specific one from the N spacings as the spacing of the longest pattern along the second direction comprises: When L1<L2<L3, L2 is selected as the longest pattern spacing along the second direction.

11. A circuit-level pre-simulation device, characterized in that: include: A model building sub-device, used to build a simulation model according to the circuit; the simulation model includes a parasitic model of the signal line, and the parasitic model includes metal property information of the signal line; A simulation sub-device, used for performing circuit-level pre-simulation using the simulation model; Wherein, the model building sub-device includes: a copy module, a screening module, and a generation module; The copy module is used to copy the graphics in the multiple metal layers extracted from the layout to the preset metal layer respectively, and the properties of the graphics in the preset metal layer are the same as those of the graphics in the corresponding metal layer; The screening module is used to screen a plurality of representative patterns corresponding to the target signal line from the patterns of the preset metal layer; The generating module is used to generate the metal property information of the target signal line by using the representative graph.

12. The device according to claim 11, characterized in that The replication module comprises: A first setting unit, used for setting the blank preset metal layer; A first calculation unit, configured to extract all graphics in each metal layer of the plurality of metal layers, and calculate a coordinate difference between the graphics in the corresponding metal layer and the preset metal layer; The second setting unit is used to set a graphic with the same attribute as that of the graphic extracted from the corresponding metal layer in the preset metal layer based on the coordinate difference.

13. The device according to claim 12, characterized in that The screening module comprises: A determination unit, used for determining a plurality of target signal lines for which metal property information needs to be generated; an acquisition unit, configured to acquire all instantiation objects and / or tags connected to the plurality of target signal lines from the circuit; A matching unit, configured to match the instantiated object and / or the graphics corresponding to the mark from the preset metal layer; the matched graphics include interconnected graphics located in the same metal layer in the layout and / or interconnected graphics located in different metal layers in the layout; The extraction unit is used to extract the representative graph corresponding to each target signal line from the matched graphs.

14. The device according to claim 13, characterized in that The extraction unit comprises: A calculation subunit is used to determine, for each target signal line, the longest graphic along the first direction and the longest graphic along the second direction corresponding to each target signal line in the preset metal layer; the longest graphic along the first direction and the longest graphic along the second direction are both used as the representative graphics, and the first direction is perpendicular to the second direction.

15. The device according to claim 14, characterized in that The calculation subunit is specifically used to: initialize the representative graph, record the longest length of the representative graph along the first direction as a first initial length, and record the longest length along the second direction as a second initial length; The first length of each graphic along the first direction and the second length along the second direction are calculated in sequence, and the first length is compared with the first initial length, and the second length is compared with the second initial length: When the first length is greater than or equal to the first initial length, the value of the first initial length is updated to the value of the first length, and the current graphic is determined as the longest graphic along the first direction; when the second length is greater than or equal to the second initial length, the value of the second initial length is updated to the value of the second length, and the current graphic is determined as the longest graphic along the second direction.

16. The device according to claim 14, characterized in that The circuit-level pre-simulation device further includes: an extraction module, which is used to extract characteristic sizes of the plurality of representative graphics and spacings between adjacent representative graphics after screening the plurality of representative graphics corresponding to the target signal line; The generating module is specifically used to generate the metal property information of the target signal line by using the characteristic size of the representative pattern and the spacing of the representative pattern.

17. The device according to claim 16, characterized in that The extraction module comprises: a third setting unit, configured to obtain a characteristic size of the representative figure along the first direction and a characteristic size along the second direction; and configured to set N evaluation points at a preset position of the longest figure along the first direction / the second direction, wherein N is an odd number greater than 1; A generating unit, used for generating an initial estimation graph according to the evaluation points; A second calculation unit, configured to calculate an initial number of patterns covered by the initial estimated pattern on the preset metal layer; A third calculation unit, used for updating the estimated graph and calculating the number of graphs covered by the updated estimated graph, recorded as a first number; a comparing unit, configured to compare the first number with the initial number, and when the first number is smaller than the initial number, repeatedly updating the size of the estimated graph and repeating the comparison; A selection unit is used to calculate N intervals corresponding to the N evaluation points when the first number is greater than the initial number, and select a specific one from the N intervals as the interval of the longest pattern along the second direction / the first direction.