Power line ground line access point rule detection method, device, terminal and medium
Generating virtual graphics and comparing them through tool scripts solves the automation problem of power line and ground wire access point rule detection in standard unit module design, avoids rework, and improves design efficiency.
Patent Information
- Application Number
- CN202311059872.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-22
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2043-08-22
AI Technical Summary
Under advanced technology, how to ensure that the reserved power line and ground wire access points meet the design rules when designing standard unit modules, so as to avoid the problem of rework caused by the power line and ground wire being unable to be accessed during subsequent chip design.
Obtain the standard unit module layout through the tool script, convert it into a format suitable for processing, generate virtual graphics and group them, compare the virtual graphics and actual graphics, determine the correctness of the power line and ground wire access points according to the preset design rules, and output detection result.
It realizes the automatic judgment of whether the power line and ground wire access point meets the design rules when designing standard unit modules, saving manpower, avoiding human judgment errors and rework, and improving design efficiency.
Smart Images

Figure CN117094280B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of digital chip design, and in particular to a method, device, terminal and medium for detecting power line and ground line access point rules. Background Art
[0002] Standard cell modules are very commonly used underlying modules in large-scale digital chip design, and standard cell libraries are a collection of various standard cell modules. A standard cell library usually contains hundreds of standard cell modules, which are the underlying cornerstones of large-scale digital chip design.
[0003] The design of standard cell modules must follow many design rules. Only when each standard cell meets the unified rules can this set of standard cell libraries be used correctly when designing upper-level chips. Take the power line and ground line access point rules that need to be paid attention to in advanced processes as an example:
[0004] The power line and ground line access points refer to the power supply access points for the standard unit modules through the metal layer of the power line and ground line network when designing future chips. The density of the power line and ground line access points determines the density of the power line and ground line network of the future chip. The denser the access points, the denser the power line and ground line network can be, and the stronger the power supply to the standard unit, but at the same time, the more it squeezes the signal line routing channel of the upper chip. Conversely, the sparser the access points, the sparser the power line and ground line network, the weaker the power supply to the standard unit, but it is beneficial to the signal line routing of the upper chip.
[0005] Under traditional processes, there are not many restrictions on the manufacturing process of the metal layer. Generally, the standard unit module can be completed using the bottom layer of metal. When the power line and ground line of the upper chip are connected in the later stage, the upper layer of metal of the bottom layer can be used to achieve access without too many restrictions. Therefore, under traditional processes, when designing standard unit modules, there is basically no need to consider the power line and ground line access points when using standard unit modules in future chip designs.
[0006] However, with advanced processes, the difficulty and complexity of the process have greatly increased, and metal layers can no longer be arranged arbitrarily. There are many restrictions, which makes it impossible to use only the bottom metal layer when designing standard cell modules, and upper metal layers must be used. If there is not enough upper metal space reserved inside the standard cell module, there will be insufficient access points for the power and ground wires during the later chip design, and the standard cell module cannot be used, resulting in rework and modification.
[0007] Assuming that the metal layers are named M0, M1, M2, ... from bottom to top, under advanced technology, it is not enough to use M0 to complete the design of the standard cell module, and M1 must be used. If the structure of the standard cell module is complex, M2 will also be used. When standard cell modules are used in future chip designs, in order to power the standard cell modules, the power line ground network must be connected to the M0 layer power line ground of the standard cell module through M1. In this case, when designing the standard cell module, it is necessary to leave enough space for M1 for the future power line ground access point to ensure that the future power line ground network can be correctly connected. Therefore, when designing the standard cell module library of advanced technology, all standard cell modules must comply with the same power line ground access point rule, which is the power line ground access rule to be discussed in this solution.
[0008] Under advanced technology, for a set of standard cell libraries, the density of power and ground access points is fixed, that is, when designing future chips, the minimum spacing of power and ground access points is certain. Therefore, in the early stage of standard cell module design, the spacing between future power and ground access points must be determined. However, how to ensure that the required spacing is reserved in all standard cell modules is a technical problem that needs to be solved urgently in this field.
[0009] To solve the above technical problems, the commonly used solutions in this field are summarized as follows:
[0010] Solution 1) Use a ruler to measure on the layout manually, reserve the access points for the power and ground wires, and verify with a ruler and human eyes;
[0011] Solution 2) According to the interval of the power line and ground line access points, a framework module is pre-built. When designing the standard unit module, the framework module is called and the position is manually adjusted to realize the verification of the interval of the power line and ground line access points.
[0012] Solution 3) After the standard cell module is completed, a chip test environment is built based on the automatic layout and routing tool used in chip design. After the power line and ground line network are laid out during the chip test process, try to read in the standard cell module for verification.
[0013] However, the above solutions are relatively inefficient and prone to omissions, resulting in frequent rework and wasted time.
[0014] To facilitate understanding by those skilled in the art, an example diagram is provided below:
[0015] Figure 1A The upper chip view is shown, and only the M0 / M1 / M2 power line ground network and standard unit modules are shown in the figure; Figure 1B The chip level cross-section is shown. Figure 1AIn the figure, assuming that the spacing of M1 in the power line and ground line network is 0.6μm, sufficient M1 space must be reserved when designing the standard unit module so that the power line and ground line network has enough space to be connected when the upper-layer chip is designed in the future.
[0016] Figure 2 The internal view of the bottom standard cell module is shown. Only the M0 layer and all M1 layers of the power line and ground line are shown in the figure. Other layers are not shown. The M0 layer power line and ground line in the bottom standard cell module will directly overlap with the M0 layer power line and ground line in the upper chip, so there is no need to consider reserving the M0 layer channel.
[0017] In the above example, when designing the underlying standard cell module, it is necessary to ensure that at least one set of M1 channels with a spacing of 0.6 μm is reserved. Figure 3A and 3B The correct illustration is shown. In this standard unit module, two groups of M1 channels with a spacing of 0.6μm are reserved, which means the design is correct. Figure 3A Shown is the first set of power and ground wire M1 channels that can pass through; Figure 3B Shown is the second set of power and ground lines M1 channel that can pass through. Figure 4A and 4B shows the error legend, in the standard cell module, whether Figure 4A still Figure 4B In the groups shown, no set of 0.6 μm-spaced M1 channels was reserved, indicating a design error.
[0018] Therefore, how to solve the problem of reserving power line and ground line access points when designing standard cell libraries, and how to avoid the technical problem of rework caused by the inability to connect the power line and ground line to the standard cell module during subsequent chip design, have become technical problems that need to be solved urgently in this field. Summary of the invention
[0019] In view of the shortcomings of the prior art mentioned above, the purpose of the present application is to provide a technical solution to the problem of reserving power line and ground line access points when designing a standard cell library, and how to avoid rework caused by the inability to access the power line and ground line to the standard cell module during subsequent chip design.
[0020] To achieve the above-mentioned purpose and other related purposes, the first aspect of the present application provides a method for detecting power line and ground line access point rules, including: obtaining a standard cell module layout in a standard cell library and converting it into a preset format suitable for tool script processing; calling the tool script to read the standard cell module layout in the preset format, and generating and grouping virtual graphics of all power line and ground line access points in a preset metal layer according to preset design rules and the expected value of the power line and ground line access point interval preset by the tool script; comparing each group of virtual graphics with the actual graphics of the preset metal layer, and judging whether the power line and ground line access point design of each group of virtual graphics is correct based on the comparison result and the preset design rule; based on the judgment result of whether the power line and ground line access point design of each group of virtual graphics is correct, outputting the power line and ground line access point rule detection result of the standard module layout according to the judgment strategy preset by the tool script.
[0021] In some embodiments of the first aspect of the present application, before executing the call to the tool script to read the standard unit module layout in the preset format, the power line and ground line access point rule detection method also performs the following: setting the expected value of the power line and ground line access point interval in the tool script, and setting a judgment strategy for determining the correctness of the power line and ground line access point rule detection of the standard module layout only when the power lines and ground lines of the virtual graphics that meet the preset number of groups can be connected.
[0022] In some embodiments of the first aspect of the present application, if the comparison result between the virtual graphic and the actual graphic is that there is no overlap and the design of the virtual graphic complies with the preset design rules, then the design of this group of power line ground wire access points is judged to be correct; otherwise, the design of this group of power line ground wire access points is judged to be incorrect.
[0023] In some embodiments of the first aspect of the present application, the preset design rules include DRC design rules.
[0024] In some embodiments of the first aspect of the present application, the judgment result of whether the power line and ground line access point design of each group of virtual graphics is correct is output according to the judgment strategy preset by the tool script, and the power line and ground line access point rule detection result of the standard module layout is output, which includes: counting the number of virtual graphic groups with correct power line and ground line access point designs; if the number of virtual graphic groups obtained by counting meets the preset number of groups in the judgment strategy, then outputting the verification result that the power line and ground line access point design of the standard unit module layout is correct; otherwise, outputting the verification result that the power line and ground line access point design of the standard unit module layout is incorrect.
[0025] In some embodiments of the first aspect of the present application, the method for grouping the generated virtual graphics of the power line and ground line access points in the preset metal layer includes: offsetting the virtual graphics by a preset distance relative to the actual graphics in a preset direction, and generating a group of virtual graphics each time the offset is performed.
[0026] In some embodiments of the first aspect of the present application, the preset metal layer includes a metal layer above the bottommost metal layer.
[0027] To achieve the above-mentioned purpose and other related purposes, the second aspect of the present application provides a power line ground wire access point rule detection device, including: a preprocessing module, used to obtain a standard cell module layout in a standard cell library and convert it into a preset format suitable for tool script processing; a graphic generation module, used to call the tool script to read the standard cell module layout in the preset format, and generate and group all power line ground wire access points in a preset metal layer according to preset design rules and the expected value of the power line ground wire access point interval preset by the tool script; a rule detection module, used to compare each group of virtual graphics with the actual graphics of the preset metal layer, and judge whether the power line ground wire access point design of each group of virtual graphics is correct according to the comparison result and the preset design rule; based on the judgment result of whether the power line ground wire access point design of each group of virtual graphics is correct, according to the judgment strategy preset by the tool script, output the power line ground wire access point rule detection result of the standard module layout.
[0028] To achieve the above-mentioned purpose and other related purposes, the third aspect of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the power line ground line access point rule detection method is implemented.
[0029] To achieve the above-mentioned purpose and other related purposes, the fourth aspect of the present application provides an electronic terminal, including: a processor and a memory; the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the terminal executes the power line ground line access point rule detection method.
[0030] As described above, the power line ground line access point rule detection method, device, terminal and medium of the present application have the following beneficial effects: the present application uses a tool script to automatically judge whether the reserved power line ground line access points meet the design rules when designing standard unit modules under advanced processes, thereby saving manpower, avoiding human judgment errors, and avoiding rework caused by the inability to connect the power line ground line to the standard unit module during later chip design. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1AShown is a schematic diagram of an upper chip in an embodiment of the present application.
[0032] Figure 1B Shown is a chip layer cross-sectional view in one embodiment of the present application.
[0033] Figure 2 Shown is an internal view of a bottom-level standard cell module in an embodiment of the present application.
[0034] Figure 3A It is a schematic diagram showing a first group of power line ground line M1 channels that can pass through in one embodiment of the present application.
[0035] Figure 3B It is a schematic diagram showing a second group of power line ground line M1 channels that can pass through in one embodiment of the present application.
[0036] Figure 4A It is a schematic diagram showing an erroneous design in which no set of M1 channels with a spacing of 0.6 um is reserved in an embodiment of the present application.
[0037] Figure 4B It is another schematic diagram showing an erroneous design in which no set of M1 channels with a spacing of 0.6 um is reserved in an embodiment of the present application.
[0038] Figure 5 Shown is a flow chart of a method for detecting power line ground line access point rules in one embodiment of the present application.
[0039] Fig. 6A Shown is a schematic diagram of the comparison between the first set of virtual graphics and the actual graphics in one embodiment of the present application.
[0040] Figure 6B Shown is a schematic diagram of the comparison between the second set of virtual graphics and the actual graphics in one embodiment of the present application.
[0041] Figure 6C Shown is a schematic diagram of the comparison between the third set of virtual graphics and the actual graphics in an embodiment of the present application.
[0042] Fig.6D Shown is a schematic diagram of the comparison between the fourth set of virtual graphics and the actual graphics in an embodiment of the present application.
[0043] Fig. 6E Shown is a schematic diagram of the comparison between the fifth set of virtual graphics and actual graphics in an embodiment of the present application.
[0044] Figure 7 Shown is a flow chart of a method for detecting power line ground line access point rules in one embodiment of the present application.
[0045] Figure 8Shown is a structural schematic diagram of a power line ground line access point rule detection device in one embodiment of the present application.
[0046] Fig. 9 Shown is a schematic diagram of the structure of an electronic terminal in one embodiment of the present application. DETAILED DESCRIPTION
[0047] The following describes the embodiments of the present application through specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. The present application can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.
[0048] It should be noted that in the following description, with reference to the accompanying drawings, several embodiments of the present application are described in the accompanying drawings. It should be understood that other embodiments may also be used, and mechanical composition, structure, electrical and operational changes may be made without departing from the spirit and scope of the present application. The following detailed description should not be considered restrictive, and the scope of the embodiments of the present application is limited only by the claims of the published patents. The terms used here are only for describing specific embodiments and are not intended to limit the present application. Spatially related terms, such as "upper", "lower", "left", "right", "below", "below", "lower", "above", "upper", etc., may be used in the text to facilitate the description of the relationship between an element or feature shown in the figure and another element or feature.
[0049] In this application, unless otherwise clearly specified and limited, the terms "install", "connect", "connect", "fix", "hold" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0050] Furthermore, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless there is an indication to the contrary in the context. It should be further understood that the terms "comprise", "include" indicate the presence of the described features, operations, elements, components, items, kinds, and / or groups, but do not exclude the presence, occurrence or addition of one or more other features, operations, elements, components, items, kinds, and / or groups. The terms "or" and "and / or" used herein are interpreted as inclusive, or mean any one or any combination. Therefore, "A, B or C" or "A, B and / or C" means "any of the following: A; B; C; A and B; A and C; B and C; A, B and C". Exceptions to this definition will only occur when the combination of elements, functions or operations is inherently mutually exclusive in some way.
[0051] In order to solve the problems in the above-mentioned background technology, the present invention provides a power line ground line access point rule detection method, system, terminal and medium, aiming to automatically judge whether the reserved power line ground line access point meets the design rules when designing the standard unit module through a tool script, so as to achieve the technical effect of saving manpower, avoiding human judgment errors and avoiding later rework.
[0052] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the technical solution in the embodiments of the present invention is further described in detail through the following embodiments and in combination with the accompanying drawings. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the invention.
[0053] Before further describing the present invention in detail, the nouns and terms involved in the embodiments of the present invention are explained. The nouns and terms involved in the embodiments of the present invention are applicable to the following interpretations:
[0054] <1> GDS file: A file format for circuit layouts that needs to be imported into Cadence software to view the layout contents.
[0055] <2> DRC (Design rules checking): Design rule checking is used in IC design software or chip design software to check and find designs that do not conform to the predetermined design specifications in real time during the design process, and is used to ensure the correctness of the design and meet the conventional specifications. DRC uses checklists and reports to avoid major design defects such as bypasses and short circuits, and follows the IC design or chip design quality control process and methods while checking.
[0056] <3> Standard cell library: including layout library, symbol library, circuit logic library, etc., including combinational logic, sequential logic, functional units and special type units, which is the basic part of the back-end design process of integrated circuit chips. Using pre-designed optimized library cells for automatic logic synthesis and layout layout and routing can greatly improve design efficiency.
[0057] The embodiments of the present invention provide a power line ground line access point rule detection method, a power line ground line access point rule detection method system, and a storage medium storing an executable program for implementing the power line ground line access point rule detection method. As for the implementation of the power line ground line access point rule detection method, the embodiments of the present invention will illustrate an exemplary implementation scenario of the power line ground line access point rule detection.
[0058] like Figure 5 FIG. 1 is a flow chart showing a method for detecting power line ground line access point rules in an embodiment of the present invention. The method for detecting power line ground line access point rules in this embodiment mainly includes the following steps:
[0059] Step S51: obtaining a standard cell module layout in a standard cell library and converting it into a preset format suitable for tool script processing.
[0060] Exemplarily, an embodiment of the present invention converts the standard cell module layout into the GDS format. It should be understood that the GDS format is a file format of a circuit layout, which needs to be imported through specific software (such as Cadence software) to view the layout content. It should be understood that Cadence software is a large-scale EDA software that can complete all aspects of electronic design, including but not limited to ASIC design, FPGA design and IC design, etc. It has advantages in simulation, circuit diagram design, automatic layout and routing, layout design and verification.
[0061] Step S52: calling the tool script to read the standard unit module layout in the preset format, and generating and grouping virtual graphics of all power line and ground line access points on the preset metal layer according to the preset design rules and the expected value of the power line and ground line access point interval preset by the tool script.
[0062] In an embodiment of the present invention, before executing the call to the tool script to read the standard unit module layout in the preset format, the power line and ground line access point rule detection method further executes the following: setting the expected value of the power line and ground line access point interval in the tool script, and setting a judgment strategy for determining the correctness of the power line and ground line access point rule detection of the standard module layout only when the power lines and ground lines of the virtual graphics that meet the preset number of groups can be connected.
[0063] Specifically, make the following settings in the tool script:
[0064] a. Set the expected value of the power line and ground line access point interval, for example, set the expected value of the power line and ground line access point interval to 0.6 μm.
[0065] b. Set a judgment strategy, for example, when N groups of power lines and ground lines can be connected, the standard module layout design is judged to be correct; if the number of groups where the power lines and ground lines can be connected does not reach N groups, the standard module layout design is judged to be wrong.
[0066] It should be understood that the above examples are provided for illustrative purposes and should not be construed as limiting. The expected value of the power line ground line access point interval and the value of N depend on the specific application scenario, and the embodiment of the present invention does not limit this.
[0067] In the embodiment of the present invention, the preset metal layer is preferably a metal layer above the bottom metal layer. For ease of description, the bottom metal layer is referred to as the M0 layer, and the metal layer above the M0 layer is referred to as the M1 layer. Under advanced technology, the M0 layer is not enough to complete the design of the standard cell module, so the M1 layer must be used; in order to power the standard cell module, the power line ground network needs to be connected to the M0 layer power line ground of the standard cell module through the M1 layer.
[0068] In an embodiment of the present invention, the preset design rules include DRC (Design rules checking) rules. DRC design rules refer to the design used to check and find designs that do not conform to predetermined design specifications during the chip layout design process. In other words, after the chip layout design is completed, it is necessary to check whether the wiring design conforms to the rules set by the designer, and it is also necessary to confirm whether the rules set meet the requirements of the integrated circuit production process.
[0069] It should be understood that in chip design, DRC rules not only include metal design rules, but also involve many levels that make up the circuit devices (such as MOS tubes, resistors or capacitors, etc.). Whether all these levels can be correctly produced by the factory is determined by a set of factory rules, and DRC rules are used to check whether the design complies with the factory rules.
[0070] In some examples, the method of grouping the generated virtual graphics of power line and ground line access points on a preset metal layer includes: offsetting the virtual graphics by a preset distance relative to the actual graphics in a preset direction, and generating a group of virtual graphics each time the offset is performed.
[0071] Exemplarily, the M1 virtual graphs of all power line and ground line access points are generated and grouped to obtain n groups, namely the first group of M1 virtual graphs, the second group of M1 virtual graphs, ... the nth group of M1 virtual graphs.
[0072] Take n=5 groups as an example. Figures 6A to 6E As shown: Fig. 6A Shown is a schematic diagram of the first set of virtual graphics compared with the actual graphics. Figure 6B What is shown is a schematic diagram comparing the second group of virtual graphics with the actual graphics. The M1 virtual graphics in the second group are shifted to the right compared to the M1 virtual graphics in the first group. Figure 6C What is shown is a schematic diagram comparing the third group of virtual graphics with the actual graphics. The M1 virtual graphics in the third group are shifted to the right compared to the M1 virtual graphics in the second group. Fig.6D What is shown is a schematic diagram comparing the fourth group of virtual graphics with the actual graphics. The M1 virtual graphics in the fourth group are shifted to the right compared to the M1 virtual graphics in the third group. Fig. 6E The fifth group of virtual graphics is compared with the actual graphics. The M1 virtual graphics in the fifth group are shifted to the right compared with the M1 virtual graphics in the fourth group. It should be understood that the above examples are provided for illustrative purposes and should not be construed as limiting.
[0073] Step S53: Compare each group of virtual patterns with the actual pattern of the preset metal layer, and determine whether the design of the power line and ground line access points of each group of virtual patterns is correct based on the comparison result and the preset design rules.
[0074] In an embodiment of the present invention, the design of the power line and ground line access points of each group of preset metal layers is judged whether it is correct based on the comparison results and the preset design rules, and the judgment method includes: if the comparison result of the virtual graphic and the actual graphic is that there is no overlap and the design of the virtual graphic complies with the DRC design rules, then the design of this group of power line and ground line access points is judged to be correct; otherwise, the design of this group of power line and ground line access points is judged to be incorrect.
[0075] For ease of understanding, Figures 6A to 6E Take the following as an example:
[0076] exist Fig. 6A In the schematic diagram of the first group of M1 virtual graphics compared with the M1 actual graphics, the M1 virtual graphics overlapped with the M1 actual graphics (refer to the second upper chip M1 layer on the right that can pass through the channel), and the design of this group of power line and ground line access points is NG.
[0077] exist Figure 6B In the schematic diagram of the second group of M1 virtual graphics compared with the M1 actual graphics, the M1 virtual graphics and the M1 actual graphics overlap in the left area (refer to the first and second upper chip M1 layers on the left that can pass through the channel), and this group of power line and ground line access point design is NG.
[0078] exist Figure 6C In the schematic diagram of the third group of comparisons between the M1 virtual graphics and the M1 actual graphics, the M1 virtual graphics and the M1 actual graphics overlap in the left and right areas (specifically refer to the leftmost and rightmost upper chip M1 layer channels), and this group of power line and ground line access point design is NG.
[0079] exist Fig.6D In the schematic diagram of the fourth group of comparisons between the M1 virtual graphics and the M1 actual graphics, the M1 virtual graphics and the M1 actual graphics overlap in the middle area (specifically, refer to the middle upper chip M1 layer that can pass through the channel), and this group of power line and ground line access point design is NG.
[0080] exist Fig. 6E In the schematic diagram of the fifth group of comparisons between the M1 virtual graphics and the M1 actual graphics, the M1 virtual graphics and the M1 actual graphics overlap in all areas (specifically, refer to the channels that can be passed through the M1 layer of all three upper chips), and the design of this group of power line and ground line access points is NG.
[0081] Step S54: Based on the judgment result of whether the design of the power line and ground line access points of each group of preset metal layers is correct, the design verification result of the standard unit module layout is output according to the judgment strategy.
[0082] In an embodiment of the present invention, the judgment result of whether the design of the power line and ground line access points of each group of preset metal layers is correct is output according to the judgment strategy, which includes: counting the number of groups with correct designs of the power line and ground line access points; if the number of groups obtained by counting meets the preset number of groups in the judgment strategy, then outputting the verification result that the design of the standard unit module layout is correct; otherwise, outputting the verification result that the design of the standard unit module layout is wrong.
[0083] Exemplarily, when verifying that the design of the standard cell module layout is correct, the verification result may be, for example, "verification OK, no need to correct the layout". When verifying that the design of the standard cell module layout is wrong, the verification result may be, for example, "verification NG, the layout needs to be corrected, and the power line and ground line access point group with design NG is output together". In the embodiment of the present invention, not only is the automatic detection of the power line and ground line access point rules completed inside the standard cell module, but the access points that do not meet the rules can also be directly reported to avoid human judgment errors and avoid rework in the later stage.
[0084] In the above, the specific implementation steps and implementation methods of a power line ground line access point rule detection method provided by an embodiment of the present invention are described in detail. Figure 7 A specific case is presented to further illustrate the technical solution of the embodiment of the present invention.
[0085] In this specific case, assuming that the metal layers are named M0, M1, M2, etc. from the bottom layer, the specific implementation process is as follows:
[0086] Step S71: converting the standard cell module layout in the standard cell library into a GDS format.
[0087] Step S72: Execute the following in the tool script: a. Set the expected value of the power line and ground line access point interval; b. Set the power line and ground line access point design of the standard module layout to be OK only when the power lines and ground lines of N groups of M1 virtual graphics can be connected.
[0088] Step S73: Use the tool script to read in the standard cell module layout in GSD format; within the framework of this standard cell module, generate M1 virtual graphics of all power line and ground line access points according to DRC design rules and the expected value of the power line and ground line access point spacing, and divide them into n groups, n≥M.
[0089] Step S74: Determine each group of M1 virtual patterns and M1 actual patterns one by one to determine whether the group of M1 virtual patterns and M1 actual patterns overlap or whether there is a DRC design problem.
[0090] Step S75: If yes, then determine that the power line and ground line access point design of this group of M1 virtual patterns is NG, and continue to determine the next group of M1 virtual patterns.
[0091] Step S76: If not, determine that the power line and ground line access point design of this group of M1 virtual patterns is OK, and continue to determine the next group of M1 virtual patterns.
[0092] Step S77: After all groups have been judged, it is determined whether the number of groups of the M1 virtual graph in which the power line and ground line access points are designed OK ≥ N is established.
[0093] Step S78: If established, the verification is OK and the standard cell module layout does not need to be modified.
[0094] Step S79: If not, the verification is NG, the standard unit module layout needs to be corrected, and the power line and ground line access point group with NG is output as the verification result.
[0095] It is worth noting that the above examples are provided for illustrative purposes, and the above examples should not be understood as restrictive. Similarly, the method may additionally or alternatively include other features or include fewer features without departing from the scope of the present application. More specifically, the examples in the above-mentioned invention embodiments are standard cell modules with a single-layer height, and the technical solutions of the present application are also applicable to standard cell modules with multiple layers of height. At the same time, for the case in which the power line ground line M1 layer in the example does not need to pass through the standard cell module from top to bottom, but only needs to reserve a small section of the M1 layer access space at the access point, the technical solutions of the present application are also applicable.
[0096] like Figure 8 , which shows a schematic diagram of a power line ground line access point rule detection device in an embodiment of the present invention. The power line ground line access point rule detection device 800 in an embodiment of the present invention comprises: a preprocessing module 801, a graph generation module 802 and a rule detection module 803.
[0097] The preprocessing module 801 is used to obtain the standard cell module layout in the standard cell library and convert it into a preset format suitable for tool script processing.
[0098] The graphic generation module 802 is used to call the tool script to read the standard unit module layout in the preset format, and generate and group the virtual graphics of all power line and ground line access points on the preset metal layer according to the preset design rules and the expected value of the power line and ground line access point interval preset by the tool script.
[0099] In some examples, before executing the call to the tool script to read the standard unit module layout in the preset format, the graphics generation module 802 also executes the following: setting the expected value of the power line and ground line access point interval in the tool script, and setting a judgment strategy for determining the correctness of the power line and ground line access point rule detection of the standard module layout only when the power lines and ground lines of the virtual graphics of a preset number of groups can be connected.
[0100] The rule detection module 803 is used to compare each group of virtual graphics with the actual graphics of the preset metal layer, and determine whether the design of the power line and ground line access points of each group of virtual graphics is correct based on the comparison results and the preset design rules; based on the judgment result of whether the design of the power line and ground line access points of each group of virtual graphics is correct, according to the judgment strategy preset in the tool script, output the power line and ground line access point rule detection result of the standard module layout.
[0101] In some examples, the rule detection module 803 determines whether the design of the power line and ground line access points of each group of virtual graphics is correct based on the comparison results and the preset design rules, and the judgment method includes: if the comparison result between the virtual graphics and the actual graphics is that there is no overlap and the design of the virtual graphics complies with the preset design rules, then the design of this group of power line and ground line access points is judged to be correct; otherwise, the design of this group of power line and ground line access points is judged to be incorrect.
[0102] In some examples, the preset design rules include DRC design rules.
[0103] In some examples, the rule detection module 803 outputs the power line ground access point rule detection result of the standard module layout based on the judgment result of whether the power line and ground access point design of each group of virtual graphics is correct, according to the judgment strategy preset in the tool script, which includes: counting the number of virtual graphic groups with correct power line and ground access point designs; if the number of virtual graphic groups obtained by counting meets the preset number of groups in the judgment strategy, then outputting the verification result that the power line and ground access point design of the standard unit module layout is correct; otherwise, outputting the verification result that the power line and ground access point design of the standard unit module layout is incorrect.
[0104] In some examples, the graphic generation module 802 groups the generated virtual graphics of the power line and ground line access points on the preset metal layer in the following manner: offsetting the virtual graphics by a preset distance relative to the actual graphics in a preset direction, and generating a group of virtual graphics each time the offset is performed.
[0105] In some examples, the preset metal layer includes a metal layer above the bottommost metal layer.
[0106] It should be noted that: the power line ground line access point rule detection device provided in the above embodiment only uses the division of the above program modules as an example when performing power line ground line access point rule detection. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the power line ground line access point rule detection device provided in the above embodiment and the power line ground line access point rule detection method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0107] The power line ground line access point rule detection method provided in the embodiment of the present invention can be implemented on the terminal side or the server side. As for the electronic terminal hardware structure of the power line ground line access point rule detection, please refer to Fig. 9, is an optional hardware structure diagram of an electronic terminal 900 provided in an embodiment of the present invention. The terminal 900 may be a mobile phone, a computer device, a tablet device, a personal digital processing device, a factory background processing device, etc. The electronic terminal 900 applied to the standard cell library includes: at least one processor 901, a memory 902, at least one network interface 904 and a user interface 906. The various components in the device are coupled together through a bus system 905. It can be understood that the bus system 905 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 905 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, in Fig. 9 In the specification, various buses are labeled as bus systems.
[0108] The user interface 906 may include a display, a keyboard, a mouse, a trackball, a click gun, keys, buttons, a touch pad or a touch screen.
[0109] It is understood that the memory 902 can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), 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), synchronous static random access memory (SSRAM). The memory described in the embodiments of the present invention is intended to include but is not limited to these and any other suitable categories of memory.
[0110] The memory 902 in the embodiment of the present invention is used to store various categories of data to support the operation of the electronic terminal 900 applied to the standard cell library. Examples of these data include: any executable program used to operate on the electronic terminal 900 applied to the standard cell library, such as an operating system 9021 and an application 9022; the operating system 9021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks. The application 9022 can include various applications, such as a media player (Media Player), a browser (Browser), etc., for implementing various application services. The power line ground line access point rule detection method provided in the embodiment of the present invention can be included in the application 9022.
[0111] The method disclosed in the above embodiment of the present invention can be applied to the processor 901, or implemented by the processor 901. The processor 901 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 901 or the instruction in the form of software. The above processor 901 may be a general processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor 901 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiment of the present invention. The general processor 901 may be a microprocessor or any conventional processor, etc. In combination with the steps of the accessory optimization method provided in the embodiment of the present invention, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in a memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
[0112] In an exemplary embodiment, the electronic terminal 900 applied to the standard cell library can be used by one or more application-specific integrated circuits (ASIC), DSP, programmable logic device (PLD), complex programmable logic device (CPLD) to execute the above method.
[0113] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to the computer program. The aforementioned computer program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other media that can store program codes.
[0114] In the embodiments provided in the present application, the computer readable and writable storage medium may include a read-only memory, a random access memory, an EEPROM, a CD-ROM or other optical disk storage device, a disk storage device or other magnetic storage device, a flash memory, a USB flash drive, a mobile hard disk, or any other medium that can be used to store a desired program code in the form of an instruction or data structure and can be accessed by a computer. In addition, any connection can be appropriately referred to as a computer-readable medium. For example, if the instruction is sent from a website, a server or other remote source using a coaxial cable, an optical fiber cable, a twisted pair, a digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwaves, the coaxial cable, optical fiber cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwaves are included in the definition of the medium. However, it should be understood that computer readable and writable storage media and data storage media do not include connections, carriers, signals, or other temporary media, but are intended to be non-temporary, tangible storage media. Disk and disc, as used in this application, includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and Blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers.
[0115] In summary, the present application provides a power line ground line access point rule detection method, device, terminal and medium. The present application automatically judges whether the reserved power line ground line access point meets the design rules when designing a standard unit module under advanced technology through a tool script, thereby saving manpower, avoiding human judgment errors, and avoiding rework caused by the inability to connect the power line ground line to the standard unit module during the later chip design. Therefore, the present application effectively overcomes various shortcomings in the prior art and has a high industrial utilization value.
[0116] The above embodiments are merely illustrative of the principles and effects of the present application and are not intended to limit the present application. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed in the present application shall still be covered by the claims of the present application.
Claims
1. A method for detecting power line and ground line access point rules, characterized in that: include: Acquire a standard cell module layout in a standard cell library, and convert the standard cell module layout into a preset format suitable for tool script processing; Calling the tool script to read the standard unit module layout in the preset format, and generating and grouping virtual graphics of all power line and ground line access points on a preset metal layer according to preset design rules and the expected value of the power line and ground line access point interval preset by the tool script; The method of grouping the generated virtual graphics of the power line and ground line access points on the preset metal layer includes: offsetting the virtual graphics relative to the actual graphics by a preset distance in a preset direction, and generating a group of virtual graphics each time the offset is performed; Comparing each set of virtual graphics with the actual graphics of the preset metal layer, and judging whether the design of the power line and ground line access points of each set of virtual graphics is correct according to the comparison result and the preset design rules; Based on the judgment result of whether the power line and ground line access point design of each group of virtual graphics is correct, according to the judgment strategy preset by the tool script, the power line and ground line access point rule detection result of the standard unit module layout is output.
2. The power line ground line access point rule detection method according to claim 1, characterized in that: Before executing the call to the tool script to read the standard unit module layout in the preset format, the power line and ground line access point rule detection method further executes the following: setting the expected value of the power line and ground line access point interval in the tool script, and setting a judgment strategy for determining the correctness of the power line and ground line access point rule detection of the standard module layout only when the power line and ground lines of the virtual graphics that meet the preset number of groups can be connected.
3. The power line ground line access point rule detection method according to claim 1, characterized in that: The method of judging whether the design of the power line and ground line access points of each group of virtual graphics is correct based on the comparison result and the preset design rules includes: if the comparison result between the virtual graphics and the actual graphics is that there is no overlap and the design of the virtual graphics complies with the preset design rules, then judging that the design of this group of power line and ground line access points is correct; otherwise, judging that the design of this group of power line and ground line access points is wrong.
4. The power line ground line access point rule detection method according to claim 1 or 3, characterized in that: The preset design rules include DRC design rules.
5. The power line ground line access point rule detection method according to claim 1, characterized in that: The judgment result of whether the power line and ground line access point design of each group of virtual graphics is correct is output according to the judgment strategy preset in the tool script, and the power line and ground line access point rule detection result of the standard module layout is output, which includes: counting the number of virtual graphic groups with correct power line and ground line access point designs; if the number of virtual graphic groups obtained by counting meets the preset number of groups in the judgment strategy, then outputting the verification result that the power line and ground line access point design of the standard unit module layout is correct; otherwise, outputting the verification result that the power line and ground line access point design of the standard unit module layout is incorrect.
6. The power line ground line access point rule detection method according to claim 1, characterized in that: The preset metal layer includes a metal layer above the bottom metal layer.
7. A power line ground line access point rule detection device, characterized in that: include: A preprocessing module, used for obtaining the standard cell module layout in the standard cell library and converting it into a preset format suitable for tool script processing; A graphics generation module, used for calling the tool script to read the standard unit module layout in the preset format, and generating and grouping virtual graphics of all power line and ground line access points on a preset metal layer according to preset design rules and the expected value of the power line and ground line access point interval preset by the tool script; The method of grouping the generated virtual graphics of the power line and ground line access points on the preset metal layer includes: offsetting the virtual graphics relative to the actual graphics by a preset distance in a preset direction, and generating a group of virtual graphics each time the offset is performed; A rule detection module is used to compare each group of virtual graphics with the actual graphics of the preset metal layer, and determine whether the design of the power line and ground line access points of each group of virtual graphics is correct based on the comparison results and the preset design rules; based on the judgment result of whether the design of the power line and ground line access points of each group of virtual graphics is correct, according to the judgment strategy preset in the tool script, output the power line and ground line access point rule detection result of the standard unit module layout.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the power line ground line access point rule detection method described in any one of claims 1 to 6 is implemented.
9. An electronic terminal, characterized in that: include: Processor and memory; The memory is used to store computer programs; The processor is used to execute the computer program stored in the memory, so that the terminal executes the power line ground line access point rule detection method according to any one of claims 1 to 6.
