Standard unit detection method and generation method, medium, and device
By determining the detection layout based on the boundary layer of standard cells and performing design rule detection, the problem of low detection efficiency of the standard unit library is solved, and the efficiency of rapid error detection and parallel detection of multiple units is achieved.
Patent Information
- Application Number
- CN202011247041.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-10
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2040-11-10
AI Technical Summary
The detection efficiency of the standard unit library in the existing technology is low, and detection cannot be carried out until all standard units are designed, resulting in long detection time and high cost.
By determining the detection layout based on the boundary layer of the standard unit to be detected, setting the detection pattern based on the boundary layer, and conducting detection according to the design rules, it supports parallel detection of multiple standard units and finds errors beforehand.
The efficiency of standard unit testing is improved. There is no need to wait for all standard units to be designed before testing, which reduces testing time and cost.
Smart Images

Figure CN112347735B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of integrated circuits, and specifically to a detection method and a generation method, medium, and device for a standard cell. Background Art
[0002] A standard cell library is a collection of basic roadbed cells, which contains a wide variety of standard cells. The number of standard cells in a standard cell library usually ranges from hundreds to thousands. Standard cells are the basis of electronic automation design of integrated circuits, especially the basis of automated design of very large scale integrated circuits (VLSI). The design of each standard cell in a standard cell library needs to meet a unified design requirement, so as to facilitate the subsequent splicing of regular cells to build integrated circuits.
[0003] After the development of the standard cell library, it must be fully tested and verified to ensure the accuracy of the standard cell library. How to improve the efficiency of the standard cell detection method is an urgent problem to be solved.
[0004] Application Contents
[0005] In view of this, an embodiment of the present application provides a method for detecting a standard unit, comprising:
[0006] Determining a detection layout based on a boundary layer of a standard cell to be detected, the detection layout comprising a boundary layer corresponding to the boundary layer of the standard cell to be detected, and a detection pattern set based on the boundary layer, the detection pattern being set according to a design rule of the standard cell;
[0007] The standard unit to be tested is tested based on the test layout to obtain a test result.
[0008] Optionally, the setting method of the detection pattern in the detection layout includes: determining the pattern in the standard cell area in the detection layout based on the position of the boundary layer, wherein the pattern in the standard cell area corresponds to the pattern in the standard cell to be detected;
[0009] The testing of the standard unit to be tested based on the testing layout to obtain the testing result includes:
[0010] Comparing the detection layout with the physical layout of the standard cell to be detected to obtain a comparison result;
[0011] The detection result of the standard unit to be detected is determined according to the comparison result.
[0012] Optionally, the pattern in the standard cell area includes at least one of a metal pattern and an injection layer pattern, and the detection result of the standard cell to be detected determined according to the comparison result includes: if the pattern in the standard cell area completely overlaps with the pattern in the physical layout of the standard cell to be detected, then the detection result is passed, otherwise it is failed.
[0013] Optionally, the graphics in the standard cell area include a pin area graphic, and determining the detection result of the standard cell to be detected based on the comparison result includes: if the pin graphic in the standard cell area does not fall into an area outside the pin area graphic in the detection layout, then the detection result is passed, otherwise it is failed.
[0014] Optionally, the setting method of the detection pattern in the detection layout includes: determining a virtual pattern outside the region in the detection layout based on the position of the boundary layer, wherein the virtual pattern outside the region is a simulation of a pattern outside the standard cell region to be detected;
[0015] The detecting of the standard unit to be detected based on the detection layout to obtain the detection result includes: splicing the layout of the standard unit to be detected with the virtual pattern outside the area in the detection layout to verify whether the design rules are met. If the design rules are met, the detection result is passed, otherwise it is failed.
[0016] Optionally, the method of setting the detection pattern in the detection layout includes: determining the coordinates of the detection pattern in the detection layout based on the position of the boundary layer.
[0017] Optionally, determining the detection layout based on the boundary layer of the standard cell to be detected includes: determining the detection layout matching the standard cell to be detected according to a template library, wherein the template library includes templates of the detection layout of one or more standard cells.
[0018] Optionally, determining a detection layout matching the standard cell to be detected according to a template library includes:
[0019] Determining a template of the detection layout matching the size of the boundary layer of the standard cell to be detected from the template library;
[0020] The detection layout of the standard cell to be detected is determined based on the template of the detection layout.
[0021] Optionally, the height of the boundary layer of the standard unit to be detected is an integer multiple of the height of the detection layout template matching it, and determining the detection layout of the standard unit to be detected based on the detection layout template includes: integrating the detection layout templates of the integer multiple number to obtain the detection layout.
[0022] Optionally, before determining the detection layout based on the boundary layer of the standard cell to be detected, the method further includes determining whether a size of the boundary layer of the standard cell to be detected complies with a design rule of the standard cell.
[0023] The embodiment of the present application also provides a method for generating a standard cell, including the above-mentioned standard cell detection method.
[0024] The present application also provides a detection device for a standard unit, including:
[0025] A detection layout determination unit, adapted to determine a detection layout based on a boundary layer of a standard cell to be detected, wherein the detection layout includes a boundary layer corresponding to the boundary layer of the standard cell to be detected, and a detection pattern set based on the boundary layer, wherein the detection pattern is set according to a design rule of the standard cell;
[0026] The detection unit is adapted to detect the standard unit to be detected based on the detection layout to obtain a detection result.
[0027] Optionally, the detection layout determination unit includes: a standard cell region pattern setting unit, adapted to determine the pattern in the standard cell region in the detection layout based on the position of the boundary layer, wherein the pattern in the standard cell region corresponds to the pattern in the standard cell to be detected;
[0028] The detection unit comprises a comparison unit and a detection result determination unit, wherein the comparison unit is adapted to compare the detection layout with the physical layout of the standard unit to be detected to obtain a comparison result;
[0029] The detection result determination unit is adapted to determine the detection result of the standard unit to be detected according to the comparison result.
[0030] Optionally, the pattern in the standard cell area includes at least one of a metal pattern and an injection layer pattern, and the detection result determination unit is suitable for determining that the detection result is passed when the pattern in the standard cell area completely overlaps with the pattern in the physical layout of the standard cell to be detected, otherwise it is determined as failed.
[0031] Optionally, the graphics in the standard cell area include pin area graphics, and the detection result determination unit is suitable for determining that the detection result is passed when the pin graphics in the standard cell area does not fall into an area outside the pin area graphics in the detection layout, otherwise it is determined as failed detection.
[0032] Optionally, the detection layout determination unit includes: an out-of-region virtual graphic setting unit, suitable for determining the out-of-region virtual graphic in the detection layout based on the position of the boundary layer, the out-of-region virtual graphic is a simulation of the graphic outside the area of the standard unit to be detected; the detection unit is suitable for splicing the layout of the standard unit to be detected with the out-of-region virtual graphic in the detection layout to verify whether the design rules are met. If the design rules are met, the detection result is passed, otherwise it is failed.
[0033] Optionally, the detection layout determining unit includes: a detection pattern setting unit, adapted to determine the coordinates of the detection pattern in the detection layout based on the position of the boundary layer.
[0034] Optionally, the detection layout determination unit includes: a template library unit, adapted to determine the detection layout matching the standard cell to be detected according to a template library, wherein the template library includes templates of the detection layout of one or more standard cells.
[0035] Optionally, the template library unit includes:
[0036] A template determination unit, adapted to determine a template of the detection layout matching the size of the boundary layer of the standard cell to be detected from the template library;
[0037] The detection layout template utilizing unit is adapted to determine the detection layout of the standard cell to be detected based on the template of the detection layout.
[0038] Optionally, the height of the boundary layer of the standard unit to be detected is an integer multiple of the height of the detection layout template matching it, and the detection layout template utilization unit is suitable for integrating the detection layout templates of the integer multiple number to obtain the detection layout.
[0039] Optionally, the standard cell detection device further includes: a size determination unit, adapted to determine whether the size of the boundary layer of the standard cell to be detected complies with the design rule of the standard cell before determining the detection layout based on the boundary layer of the standard cell to be detected.
[0040] The embodiment of the present application further provides a device for generating a standard cell, including the standard cell detection device.
[0041] An embodiment of the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and the processor executes the aforementioned standard unit detection method when running the computer program.
[0042] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon, and the computer program executes the aforementioned standard unit detection method when executed.
[0043] An embodiment of the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and the processor executes the above-mentioned standard unit generation method when running the computer program.
[0044] An embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored, and the computer program runs the aforementioned standard cell generation method.
[0045] The technical solution in the embodiment of the present application includes a detection pattern set based on the boundary layer, and these detection patterns are set according to the design rules of the standard cell, so that the detection of whether the standard cell to be detected meets the design rules can be performed based on the detection pattern. This detection does not need to be performed after all the standard cells in the standard cell library are designed, and the discovery of errors can be pre-staged, and the detection can be performed on multiple standard cells in parallel, thereby improving the efficiency of standard cell detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0047] Figure 1 This is a flow chart of a method for detecting a standard unit in an embodiment of the present application;
[0048] Figure 2 This is a flow chart of another method for detecting a standard cell in an embodiment of the present application;
[0049] Figure 3 A schematic diagram of a physical layout of a standard cell to be detected in an embodiment of the present application;
[0050] Figure 4 This is a schematic diagram of the structure of a detection layout in an embodiment of the present application;
[0051] Figure 5This is a schematic diagram of the structure of another detection layout in an embodiment of the present application;
[0052] Figure 6 This is a flow chart of another method for detecting a standard cell in an embodiment of the present application;
[0053] Figure 7 This is a schematic diagram of the structure after a standard unit and a detection layout are spliced in an embodiment of the present application;
[0054] Figure 8 This is a schematic diagram of the structure after another standard unit and the detection layout are spliced in an embodiment of the present application;
[0055] Fig. 9 This is a schematic diagram of the structure after another standard unit and the detection layout are spliced in an embodiment of the present application;
[0056] Fig.10 This is a flow chart of a method for determining a detection layout in an embodiment of the present application;
[0057] Fig.11 A schematic diagram of a physical layout of another standard cell to be detected in an embodiment of the present application;
[0058] Fig.12 This is a schematic diagram of the structure of a template for detecting a layout in an embodiment of the present application;
[0059] Fig.13 For Fig.12 A schematic diagram of the structure after the templates of the detection layout are spliced;
[0060] Fig.14 This is a flow chart of another method for detecting a standard cell in an embodiment of the present application;
[0061] Fig.15 It is a structural schematic diagram of a detection device of a standard unit in an embodiment of the present application;
[0062] Fig.16 This is a schematic diagram of the structure of a detection unit in the embodiment of the present application.
[0063] Fig.17 This is a schematic diagram of the structure of a template library unit in an embodiment of the present application. DETAILED DESCRIPTION
[0064] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0065] As described in the background art, the standard cell library is the basis for subsequent integrated circuit design, and the detection and verification of the standard cell library is extremely important.
[0066] One method for testing a standard cell library is to perform exhaustive splicing testing on all standard cells in the standard cell library to verify the correctness of the standard cells. Testing in this way can only be performed after all standard cells in the standard cell library have been designed, and the concurrency needs to be improved. Correspondingly, its testing efficiency needs to be improved. In addition, this testing method has a high cost for retesting after errors are found and modified, which will further prolong the time for testing the standard cell library.
[0067] This application provides a detection method for a standard unit, combined with reference Figure 1 , which may specifically include the following steps:
[0068] Step S11, determining a detection layout based on the boundary layer of the standard cell to be detected, wherein the detection layout includes a boundary layer corresponding to the boundary layer of the standard cell to be detected, and a detection pattern set based on the boundary layer, wherein the detection pattern is set according to the design rule of the standard cell;
[0069] Step S12, testing the standard unit to be tested based on the test layout to obtain a test result.
[0070] In the embodiment of the present application, the detection layout includes detection patterns set based on the boundary layer, and these detection patterns are set according to the design rules of the standard cell, so that the standard cell to be detected can be detected based on the detection layout to see whether it meets the design rules. This detection does not need to be performed after all the standard cells in the standard cell library are designed, and the discovery of errors can be put in advance, and the detection can be performed on multiple standard cells in parallel, thereby improving the efficiency of standard cell detection.
[0071] It can be understood by those skilled in the art that the standard cell has its boundary layer, and the size of the standard cell can be determined based on the boundary layer. In the integrated design of the upper layer, the standard cell is used based on the boundary layer. In a specific embodiment of the present application, the detection layout is determined based on the boundary layer of the standard cell to be detected, and the type of the standard cell can be determined based on its size, and the detection layout is determined on this basis.
[0072] In a specific implementation, the detection layout may include detection units for detection that match the standard units to be detected, which also include boundary layers and detection patterns set based on the boundary layers. The boundary layers in the detection layout correspond to the boundary layers in the standard units to be detected and have the same size as the boundary layers in the standard units to be detected.
[0073] In a specific implementation, when determining the pattern in the standard cell area in the detection layout based on the position of the boundary layer, the boundary layer of the standard cell to be detected may be used as a reference, or the boundary layer in the detection layout may be used as a reference.
[0074] In a specific implementation, the detection pattern in the detection layout may be generated when the detection layout is determined based on the boundary layer of the standard cell to be detected in step S11, or may be pre-generated according to the design rules, without limitation herein.
[0075] Accordingly, in a specific implementation, determining the detection layout based on the boundary layer of the standard cell to be detected may include determining a detection layout matching the standard cell to be detected based on a template library. The template library may include templates of detection layouts of one or more standard cells.
[0076] There may be various types of standard cells, and different types of standard cells may have their corresponding design rules, including splicing rules. The template library may contain templates of detection layouts that comply with different design rules. It can be understood by those skilled in the art that the design rules include various geometric design rules such as layout and wiring of the layout, and the splicing rules define the standards that ensure that standard cells can be spliced with each other.
[0077] By determining a template of a detection layout that matches the standard cell to be detected from a template library and determining the detection layout of the standard cell to be detected based on the template, the efficiency of the detection method can be further improved.
[0078] In a specific implementation, the detection patterns in the detection layout can be various. The following describes the configuration methods of the detection patterns in the detection layout.
[0079] In one embodiment of the present application, the position of the boundary layer can be used as a reference to determine the graphics in the standard cell area of the detection layout. The graphics in the standard cell area in the detection layout correspond to the graphics in the standard cell to be detected, and are used to detect the graphics in the standard cell area. In a specific implementation, the graphics in the standard cell area may include graphics around the boundary layer, or, from another perspective, may include graphics related to the splicing rules, rather than all graphics in the standard cell. In this way, the number of detection graphics can be limited, thereby improving the generation efficiency of the detection graphics and the detection efficiency of the standard cell to be detected.
[0080] Take the detection pattern generated in step S11 in the detection layout as an example, combined with reference Figure 2 , the detection methods of standard cells may include:
[0081] Step S21, determining a pattern in a standard cell region in the detection layout based on the position of the boundary layer, wherein the detection pattern is set according to a design rule of the standard cell.
[0082] Step S22, comparing the detection layout with the physical layout of the standard cell to be detected to obtain a comparison result;
[0083] Step S23 , determining the detection result of the to-be-detected standard unit according to the comparison result.
[0084] It can be understood that in a specific implementation, if the detection graphics in the detection layout are pre-generated and stored in a template of the detection layout, the template of the detection layout that matches the standard unit to be detected can be determined from the template library, and the detection layout of the standard unit to be detected can be determined based on the template.
[0085] In a specific implementation, the pattern in the standard cell region can be a metal or an injection region. The pattern in the standard cell region in the detection layout is determined based on the boundary layer, and the position of the pattern in the region can be determined based on the stitching rules corresponding to the type of standard cell to be detected and the position of the boundary layer.
[0086] In a specific implementation, when the graphics in the standard cell area of the detection layout are determined based on the boundary layer, the type of the standard cell to be detected can be first determined according to the size of the boundary layer in the standard cell to be detected, and the splicing rules corresponding to the type can be determined. Based on the splicing rules and the boundary layer of this type of standard cell, the detection graphics are set.
[0087] For example, combined with reference Figure 3 , Figure 3 Schematic diagram of a physical layout of a standard cell to be tested, showing a boundary layer 32, an injection region 31 in the injection layer, and a first metal 33, a second metal 34 and a third metal 35 in the metal layer.
[0088] In a specific implementation, generating a detection pattern based on the boundary layer 32 can be based on the size of the boundary layer 32, determine the type of standard unit to be detected, and then determine the splicing rule corresponding to the type of standard unit to be detected, and generate a detection pattern according to the splicing rule and the position of the boundary layer 32.
[0089] Combined with reference Figure 4 , the boundary layer 44 in the detection layout is at the same position as the boundary layer 32 in the standard unit to be detected. Based on the boundary layer 44 in the detection layout, the required metal position and injection area position can be determined based on each edge of the boundary layer 44 according to the splicing rule, and the graphic position of the first metal 42, the graphic position of the second metal 43, and the graphic position of the injection area 41 in the detection layout can be determined.
[0090] In a specific implementation, the comparison between the detection layout and the physical layout of the standard cell to be detected can be performed by performing an XOR comparison between the pattern in the detection layout and the pattern in the layout to be detected to obtain a comparison result of whether they are consistent. If the pattern in the standard cell area completely overlaps with the pattern in the physical layout of the standard cell to be detected, that is, the two are consistent, then the detection result is passed, otherwise it is failed. For example, Figure 3 The physical layout of the standard cell to be tested is shown in Figure 1. Figure 4 If the two are inconsistent, the test result is failure.
[0091] In a specific implementation, the pattern in the quasi-cell area may include a pin area pattern. Determining the detection result of the standard cell to be detected according to the comparison result may include: if the comparison result is that the pin pattern in the standard cell area falls into the pin area pattern in the detection layout, then the detection result is passed, otherwise it is failed.
[0092] The pin area is a set of areas that can support the location of the pin. The pin area pattern can be determined according to the design rules that match the standard cell to be detected. Determining the detection layout based on the boundary layer of the standard cell to be detected includes: determining the design rules that match the standard cell to be detected based on the boundary layer of the standard cell to be detected, and further determining the pin area based on the design rules.
[0093] Combined with reference Figure 5 , Figure 5 1 is a schematic diagram of the structure of another detection layout in an embodiment of the present application. It includes a pin area pattern 51. The pin area pattern 51 may include multiple sub-areas. The corresponding standard unit to be detected can be detected based on the detection layout. Specifically, the two patterns can be compared. If the pin pattern in the standard unit to be detected does not fall into the area outside the pin area pattern 51, the detection result is passed.
[0094] In a specific implementation, there may be more ways to set the detection pattern in the detection layout. For example, the setting method of the detection pattern in the detection layout may include: taking the position of the boundary layer as a reference, determining a virtual pattern in the detection layout, and the virtual pattern is a simulation of a pattern outside the standard cell area to be detected.
[0095] In a specific implementation, the settings of the virtual graphics may be pre-generated, or may be generated in a certain manner. Figure 1 If the virtual pattern is generated in advance, it can be stored in the template of the detection layout, and then the template of the detection layout matching the standard unit to be detected can be determined from the template library, and the detection layout of the standard unit to be detected can be determined based on the template.
[0096] Take the virtual graph generated in step S11 shown in 1 as an example, combined with reference Figure 6 , the detection methods of standard cells may include:
[0097] Step S61, determining a virtual pattern outside the region in the detection layout based on the position of the boundary layer, wherein the virtual pattern outside the region is a simulation of a pattern outside the standard cell region to be detected;
[0098] Step S62, splicing the layout of the standard cell to be tested and the virtual pattern outside the region in the test layout to verify whether the design rules are met. If the design rules are met, the test result is passed, otherwise it is failed.
[0099] As mentioned above, one method for testing standard cells is to exhaustively splice each standard cell after all standard cells in the standard cell library are generated. However, this method can only be carried out after the design of the standard cells in the standard cell library is completed, which is inefficient. In this embodiment of the present application, by simulating the graphics outside the standard cell area to be tested, the virtual graphics outside the area are spliced with the standard cells, and the test can be carried out after the design of a standard cell is completed, which helps to improve the efficiency of the test.
[0100] In a specific implementation, the virtual graphics outside the region in the detection layout can be various. The setting of the virtual graphics outside the region can simulate the actual graphics that may appear outside the boundary graphics. The setting of the virtual graphics outside the region can be a graphic that meets the design rules of the standard unit and is set according to the design rules.
[0101] In a specific implementation, when assembling the layout of the standard cell to be tested and the virtual pattern outside the region in the test layout to verify whether the design rules are met, all or part of the design rules can be tested. For example, a design rule check (DRC) can be performed.
[0102] Figure 7 It is a structural schematic diagram of a standard cell and a detection layout spliced in an embodiment of the present application. The physical layout of the standard cell 71 to be detected can be spliced with the virtual pattern outside the area in the detection layout 72, and DRC detection is performed after splicing. The standard cell 71 to be detected and the detection layout 72 are spliced with their respective boundary layers as the boundaries.
[0103] In a specific implementation, the distance between metals can be detected. In the design rules, there are regulations on the distance between non-connected metals. In order to meet the distance regulations, it is usually required that the distance between the metal not used for connection in the standard unit and the boundary layer is not less than half of the minimum distance. This rule is also called the half rule. The metal pattern in the detection layout 72 can be set to a metal with a distance from the boundary layer of half the minimum distance according to this rule. When performing post-splicing detection, it can be detected whether the distance S of the metal after splicing is less than the minimum distance required by the design rules. If it is less than, it fails the test.
[0104] In a specific implementation, the design rules also have requirements for the location of the active area. For example, the requirement may be that after different standard cells are spliced, the boundaries of the injection area should overlap, and there are distance requirements between the active area and the injection area. According to the requirements for the location of the active area in the design rules and the location of the boundary layer, a virtual pattern outside the area in the detection layout can be set. In the detection after splicing, the distance between the active area and the injection area can be detected to determine the detection result.
[0105] Figure 8 and Fig. 9 It is a schematic diagram of the structure after the two standard units and the detection layout are spliced in the embodiment of the present application.
[0106] like Figure 8 As shown in the figure, after the standard cell 82 to be tested is spliced with the first test cell 83 and the second test cell 81 used for testing in the test layout, the injection areas of the two are not completely overlapped. In addition, the active area 84 in the standard cell 82 to be tested is in contact with the injection area 85 after splicing, which does not meet the distance requirement in the DRC test, and the test cannot pass.
[0107] like Fig. 9 As shown, Fig. 9 After the standard cell 92 to be tested is spliced with the third test cell 93 and the fourth test cell 94 used for testing in the test layout, the distance between the active area 94 in the standard cell 92 to be tested and the spliced injection area 95 meets the distance requirement in the DRC test, and the test can pass.
[0108] It is understandable that the shapes of the graphics shown in the various figures of the present application are not limiting. Although not shown in the figures, each edge of the standard cell can be spliced with a virtual graphic outside the region in the detection layout for detection. In addition, the structural schematic diagrams of the standard cells to be detected in the various figures of the present application are not limitations on the actual structure of the standard cells, but are only schematic diagrams of some of them.
[0109] In a specific implementation, when setting the detection pattern in the detection layout, the position of the boundary layer can be used as a reference to determine the coordinates of the detection pattern in the detection layout. Usually, the boundary layer is rectangular, and a coordinate system can be constructed with the coordinates of the lower left corner of the rectangle as the origin to determine the position of each side of the boundary layer. Based on the position of each side of the boundary layer and the design rules, the coordinates of the detection pattern can be determined.
[0110] In a specific implementation, the detection pattern in the detection layout can be determined based on the boundary layer of the standard unit to be detected, or it can be determined based on the boundary layer in the detection layout, and there is no limitation here. When determining the detection pattern, the boundary layer is used as a reference, and what is actually determined is the relative position with respect to the boundary layer. As mentioned above, when determining the detection pattern, a coordinate system can be constructed with the coordinates of the lower left corner of the rectangle as the origin, and the boundary layer of the standard unit to be detected is consistent with the boundary layer size in the detection layout, and the construction of the detection pattern can be completed with either of the two as a reference.
[0111] In a specific implementation, the detection method of the present application can be used for the detection of the standard cells finally generated by GDS. In one embodiment, during the exhaustive splicing detection, layout tools are used, such as the open access (OA) data in the virtuoso tool for splicing detection, but the data may be inconsistent with the final GDS layout, and the accuracy needs to be improved. During the exhaustive splicing detection, if the standard cells finally generated by GDS are directly detected, the data volume after the exhaustive splicing of the standard cells finally generated by GDS is large, and the detection efficiency is low. The detection method in the embodiment of the present application can detect the standard cells finally generated in GDS, which can improve the accuracy of the detection.
[0112] As mentioned above, the detection layout can be determined from a template library. The various detection layout generation methods mentioned above can all be used to generate a template of the detection layout in the template library. In the template of the detection layout in the template library, the detection pattern can include the aforementioned standard cell area pattern, pin area pattern and virtual pattern outside the area.
[0113] In a specific implementation, determining the detection layout based on the boundary layer of the standard cell to be detected can be achieved in the following way: determining the detection layout matching the standard cell to be detected according to a template library, wherein the template library includes templates of the detection layout of one or more standard cells.
[0114] Fig.10 This is a flow chart of a method for determining a detection layout in an embodiment of the present application. Fig.10 , the detection layout of the standard unit to be detected can be determined by the following method:
[0115] Step S101, determining a template of the detection layout matching the size of the boundary layer of the standard cell to be detected from the template library;
[0116] Step S102 , determining a detection layout of the standard cell to be detected based on the template of the detection layout.
[0117] As mentioned above, standard cells must meet design rules. The design rules of standard cells can include various design dimensions, and different design dimensions correspond to specific design rule contents. By detecting the size of the boundary layer of the standard cell, its corresponding design rule can be determined, and the template of the detection layout that matches it can be determined.
[0118] The size of the boundary layer is related to its minimum grid point value and is an integer multiple of its minimum grid point value. For example, if the minimum grid point value of a standard unit to be detected is 270nm in height and 60nm in width, the size of the boundary layer can be 270nm in height and 600nm in width, or can be 270nm in height and 660nm in width. In a specific implementation, the template of the detection layout matching the size of the boundary layer of the standard unit to be detected is determined from the template library, which can be combined with the minimum grid point value of the boundary layer.
[0119] In some application scenarios, the height of the standard unit to be detected may be multiple times the height of the template of the detection layout. In a specific implementation, the detection layout of the standard to be detected is determined according to the template of the detection layout, and the detection layout can be obtained by combining multiple detection layout templates in the height direction.
[0120] For example, if the standard unit to be detected is a template of a detection layout with a height three times that of the template, then the three detection layout templates can be combined in the height direction to obtain the detection layout.
[0121] In a specific implementation, detection patterns can be generated for metals of different layers, injection areas, etc. in the standard unit to be detected. In addition, as mentioned above, the detection layout can only include detection patterns generated according to the splicing rules. The standard units in the drawings of this application are only for illustration and do not include standard units of each layer and each pattern in the actual standard pattern.
[0122] Combined with reference Figures 11 to 13 , which shows a standard cell 111 to be detected in an embodiment of the present application. According to the size of the boundary layer 111 of the standard cell to be detected, it is determined that this is a standard cell with a height of 3 times. Fig.12 A template 121 of the detection layout determined from a template library and matched therewith is shown.
[0123] Fig.13 The figure shows the splicing of 3 Fig.12The figure obtained after the template of the detection layout is shown in FIG. It can be seen that during the splicing process, the template of the middle layer of the detection layout is flipped and then spliced. Then the following is obtained: Fig.13 After the splicing results in the above example are obtained, the boundary pattern in the middle of the spliced boundary layer 131 is sorted out to obtain a complete rectangular boundary layer pattern, which can be used as the detection layout of the standard unit to be detected. Fig.11 The pattern of the standard cell 111 to be detected is consistent.
[0124] From the above example, it can be seen that when the detection layout is obtained through the template of the detection layout, the template of the detection layout can be flipped. The specific splicing method of the template of the detection layout can be consistent with the splicing method of the standard unit in the actual situation.
[0125] Combined with reference Fig.14 In a specific implementation, before determining the detection layout based on the boundary layer of the standard cell to be detected in step S11, step S141 may also be included to determine whether the size of the boundary layer of the standard cell to be detected meets the design rules of the standard cell. Fig.14 Step S11 and step S12 are Figure 1 The same as in, no further description is given here.
[0126] As mentioned above, the boundary layer size of the standard cell is not arbitrary, but needs to meet the size of the design rules. The design rules can include multiple sizes. If the boundary layer size of the standard cell to be tested does not belong to the set of sizes in the design rules, it can be determined that the design of the standard cell to be tested is wrong, and no further testing is performed, and the test result is failure.
[0127] The technical solution in the embodiment of the present application includes a detection pattern set based on the boundary layer, and these detection patterns are set according to the design rules of the standard cell, so that the detection of whether the standard cell to be detected meets the design rules can be performed based on the detection pattern. This detection does not need to be performed after all the standard cells in the standard cell library are designed, and the discovery of errors can be pre-staged, and the detection can be performed on multiple standard cells in parallel, thereby improving the efficiency of standard cell detection.
[0128] It will be understood by those skilled in the art that the descriptions such as "in a specific implementation", "in one embodiment", "for example" and the like in this application mean that the specific features, structures or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of this application. Moreover, the specific features, structures or characteristics described may be combined in a suitable manner in any one or more embodiments or examples. In addition, those skilled in the art may combine and combine different embodiments or examples described in this application and the features of different embodiments or examples, unless they contradict each other.
[0129] In addition, any process or method description in the flowchart in the foregoing embodiment or described in other ways herein can be understood as representing a module, fragment or part of a code including one or more executable instructions for implementing the steps of a specific logical function or process. And the scope of the preferred embodiment of the present application includes other implementations, in which the functions may be performed in a substantially simultaneous manner or in a reverse order according to the functions involved.
[0130] The present application also provides a detection device for a standard unit, Fig.15 , specifically it may include the following units:
[0131] A detection layout determining unit 151, adapted to determine a detection layout based on a boundary layer of a standard cell to be detected, wherein the detection layout may include a detection pattern set based on the boundary layer, and the detection pattern is set according to a design rule of the standard cell;
[0132] The detection unit 152 is adapted to detect the standard unit to be detected based on the detection layout to obtain a detection result.
[0133] Combined with reference Fig.15 and Fig.16 In a specific implementation, the detection layout determination unit 151 may include: a standard cell region pattern setting unit, adapted to determine a pattern within the standard cell region in the detection layout based on the position of the boundary layer, wherein the pattern within the standard cell region corresponds to a pattern within the standard cell to be detected;
[0134] The detection unit may include a comparison unit 161 and a detection result determination unit 162, wherein the comparison unit 161 is adapted to compare the detection layout with the physical layout of the standard unit to be detected to obtain a comparison result;
[0135] The detection result determination unit 162 is adapted to determine the detection result of the standard unit to be detected according to the comparison result.
[0136] Continuing with reference to the figure, in a specific implementation, the pattern in the standard cell area may include at least one of a metal pattern and an injection layer pattern, and the detection result determination unit 162 is suitable for determining that the detection result is passed when the pattern in the standard cell area completely overlaps with the pattern in the physical layout of the standard cell to be detected, otherwise it is determined as failed to pass the detection.
[0137] In a specific implementation, the graphics in the standard cell area may include a pin area graphic, and the detection result determination unit 162 is suitable for determining that the detection result is passed when the pin graphic in the standard cell area does not fall into an area outside the pin area graphic in the detection layout, otherwise it is determined as failed detection.
[0138] Continue to refer Fig.15 In a specific implementation, the detection layout determination unit 151 may include: an out-of-region virtual graphic setting unit, adapted to determine the out-of-region virtual graphic in the detection layout based on the position of the boundary layer, wherein the out-of-region virtual graphic is a simulation of the graphic outside the area of the standard cell to be detected; the detection unit 152 is adapted to splice the layout of the standard cell to be detected with the out-of-region virtual graphic in the detection layout to verify whether the design rules are met. If the design rules are met, the detection result is passed, otherwise it is failed.
[0139] In a specific implementation, the detection layout determining unit 151 may include: a detection pattern setting unit, adapted to determine the coordinates of the detection pattern in the detection layout based on the position of the boundary layer.
[0140] In a specific implementation, the detection layout determination unit 151 may include: a template library unit, adapted to determine the detection layout matching the standard cell to be detected according to a template library, wherein the template library may include templates of the detection layout of one or more standard cells.
[0141] Combined with reference Fig.15 and Fig.17 In a specific implementation, the template library unit may include:
[0142] A template determination unit 171, adapted to determine a template of the detection layout matching the size of the boundary layer of the standard cell to be detected from the template library;
[0143] The detection layout template utilizing unit 172 is adapted to determine the detection layout of the standard cell to be detected based on the template of the detection layout.
[0144] In a specific implementation, the height of the boundary layer of the standard unit to be detected is an integer multiple of the height of the detection layout template matching it, and the detection layout template utilization unit 172 is suitable for integrating the integer multiple number of the detection layout templates to obtain the detection layout.
[0145] Continue to refer Fig.15In a specific implementation, the detection device of the standard cell may further include: a size determination unit 153, adapted to determine whether the size of the boundary layer of the standard cell to be detected complies with the design rules of the standard cell before determining the detection layout based on the boundary layer of the standard cell to be detected.
[0146] The embodiment of the present application further provides a device for generating a standard cell, including the standard cell detection device.
[0147] The standard unit detection device in the embodiment of the present application corresponds to the standard unit detection method. Its principles, terminology, beneficial effects and specific implementation methods can refer to the information extraction method in electronic automation design in the embodiment of the present application, and will not be repeated here.
[0148] The various units described in the standard unit detection device in the embodiment of the present application can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs. When loading and executing computer program instructions on a computer, the process or function according to the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer program can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.
[0149] Furthermore, the various functional modules may be integrated into one processing component, or each module may exist physically separately, or two or more functional modules may be integrated into one component. The above-mentioned integrated components may be implemented in the form of hardware or in the form of software functional modules. If the above-mentioned integrated components are implemented in the form of software functional modules and sold or used as independent products, they may also be stored in a computer-readable storage medium. The storage medium may be a read-only memory, a disk or an optical disk, etc.
[0150] An embodiment of the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and the processor executes the aforementioned standard unit detection method when running the computer program.
[0151] An embodiment of the present application also provides another computer device, including a memory and a processor, wherein the memory stores a computer program that can be executed on the processor, and the processor executes the above-mentioned standard unit generation method when executing the computer program.
[0152] The computer device includes, but is not limited to: a server, a desktop computer, a smart phone, a laptop computer, a tablet computer, a smart bracelet, a smart watch, other smart devices, or a distributed processing system consisting of multiple devices of any one or more of them communicating with each other.
[0153] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon, and the computer program executes the aforementioned standard unit detection method when executed.
[0154] The embodiment of the present application also provides another computer-readable storage medium, on which a computer program is stored, and the computer program runs the above-mentioned standard unit generation method.
[0155] That is, the circuit analysis method in the electronic automation design and the information extraction method in the electronic automation design in the above-mentioned embodiment of the present application can be implemented as software or computer code that can be stored in a recording medium (such as CD ROM, RAM, floppy disk, hard disk or magneto-optical disk), or the computer code that is originally stored in a remote recording medium or a non-temporary machine-readable medium downloaded through a network and will be stored in a local recording medium, so that the method described herein can be stored in such software processing on a recording medium using a general-purpose computer, a special-purpose processor or programmable or special-purpose hardware (such as ASIC or FPGA). It can be understood that a computer, a processor, a microprocessor controller or programmable hardware includes a storage component (for example, RAM, ROM, flash memory, etc.) that can store or receive software or computer code, and when the software or computer code is accessed and executed by a computer, a processor or hardware, the standard cell detection method or standard cell generation method described herein is implemented. In addition, when a general-purpose computer accesses a code for implementing the standard cell detection method or standard cell generation method shown here, the execution of the code converts the general-purpose computer into a special-purpose computer for executing the standard cell detection method or standard cell generation method shown here.
[0156] The technical solution in the embodiment of the present application includes a detection pattern set based on the boundary layer, and these detection patterns are set according to the design rules of the standard cell, so that the detection of whether the standard cell to be detected meets the design rules can be performed based on the detection pattern. This detection does not need to be performed after all the standard cells in the standard cell library are designed, and the discovery of errors can be pre-staged, and the detection can be performed on multiple standard cells in parallel, thereby improving the efficiency of standard cell detection.
[0157] Although the embodiments of the present application are disclosed above, the present application is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the embodiments of the present application. Therefore, the scope of protection of the present application shall be subject to the scope defined by the claims.
Claims
1. A method for detecting a standard cell, characterized in that: include: Determine a detection layout based on the size of the boundary layer of the standard cell to be detected, wherein the detection layout includes a boundary layer corresponding to the boundary layer of the standard cell to be detected, and a detection pattern set based on the boundary layer; The detection pattern is set according to the design rule of the standard cell, and the setting method of the detection pattern in the detection layout includes: determining a virtual pattern outside the region in the detection layout based on the position of the boundary layer, and the virtual pattern outside the region is a simulation of the pattern outside the region of the standard cell to be detected; wherein, determining the detection layout based on the size of the boundary layer of the standard cell to be detected includes: determining the detection layout matching the standard cell to be detected according to a template library, and the template library includes templates of the detection layout of one or more standard cells; The standard unit to be tested is tested based on the test layout to obtain a test result, including: splicing the layout of the standard unit to be tested with the virtual pattern outside the area in the test layout to verify whether the design rules are met; if the design rules are met, the test result is passed, otherwise it is failed.
2. The method for detecting a standard cell according to claim 1, characterized in that: The setting method of the detection pattern in the detection layout includes: determining the pattern in the standard cell area in the detection layout based on the position of the boundary layer, wherein the pattern in the standard cell area corresponds to the pattern in the standard cell to be detected; The testing of the standard unit to be tested based on the testing layout to obtain the testing result includes: Comparing the detection layout with the physical layout of the standard cell to be detected to obtain a comparison result; The detection result of the standard unit to be detected is determined according to the comparison result.
3. The method for detecting a standard cell according to claim 2, characterized in that: The pattern in the standard cell area includes at least one of a metal pattern and an injection layer pattern, and the detection result of the standard cell to be detected is determined according to the comparison result, including: if the pattern in the standard cell area completely overlaps with the pattern in the physical layout of the standard cell to be detected, then the detection result is passed, otherwise it is failed.
4. The method for detecting a standard cell according to claim 2, characterized in that: The graphics in the standard cell area include pin area graphics, and determining the detection result of the standard cell to be detected based on the comparison result includes: if the pin graphics in the standard cell area does not fall into the area outside the pin area graphics in the detection layout, then the detection result is passed, otherwise it is failed.
5. The method for detecting a standard cell according to claim 1, characterized in that: The method for setting the detection pattern in the detection layout includes: determining the coordinates of the detection pattern in the detection layout based on the position of the boundary layer.
6. The method for detecting a standard cell according to claim 1, characterized in that: Determining a detection layout matching the standard cell to be detected according to the template library includes: Determining a template of the detection layout matching the size of the boundary layer of the standard cell to be detected from the template library; The detection layout of the standard cell to be detected is determined based on the template of the detection layout.
7. The method for detecting a standard cell according to claim 6, characterized in that: The height of the boundary layer of the standard unit to be detected is an integer multiple of the height of the detection layout template matched therewith, and determining the detection layout of the standard unit to be detected based on the detection layout template includes: integrating the detection layout templates of the integer multiple number to obtain the detection layout.
8. The method for detecting a standard cell according to claim 1, characterized in that: Before determining the detection layout based on the size of the boundary layer of the standard cell to be detected, it is also included to determine whether the size of the boundary layer of the standard cell to be detected meets the design rule of the standard cell.
9. A method for generating a standard cell, characterized in that: The method comprises the standard unit detection method as claimed in any one of claims 1 to 8.
10. A detection device for a standard unit, characterized in that: include: A detection layout determination unit, adapted to determine a detection layout based on the size of a boundary layer of a standard cell to be detected, wherein the detection layout includes a boundary layer corresponding to the boundary layer of the standard cell to be detected, and a detection pattern set based on the boundary layer, wherein the detection pattern is set according to a design rule of the standard cell; wherein the detection layout determination unit includes: an out-of-region virtual pattern setting unit, adapted to determine an out-of-region virtual pattern in the detection layout based on the position of the boundary layer, wherein the out-of-region virtual pattern is a simulation of a pattern outside the area of the standard cell to be detected; A detection unit is adapted to detect the standard unit to be detected based on the detection layout to obtain a detection result; the detection unit is also adapted to splice the layout of the standard unit to be detected with the virtual pattern outside the region in the detection layout to verify whether the design rules are met. If the design rules are met, the detection result is passed, otherwise it is failed; The detection layout determination unit further includes: a template library unit adapted to determine the detection layout matching the standard cell to be detected according to a template library, wherein the template library includes templates of the detection layout of one or more standard cells.
11. The detection device of the standard cell according to claim 10, characterized in that: The detection layout determination unit comprises: a standard cell region pattern setting unit, adapted to determine the pattern within the standard cell region in the detection layout based on the position of the boundary layer, wherein the pattern within the standard cell region corresponds to the pattern within the standard cell to be detected; The detection unit comprises a comparison unit and a detection result determination unit, wherein the comparison unit is adapted to compare the detection layout with the physical layout of the standard unit to be detected to obtain a comparison result; The detection result determination unit is adapted to determine the detection result of the standard unit to be detected according to the comparison result.
12. The detection device of the standard cell according to claim 11, characterized in that: The pattern in the standard cell area includes at least one of a metal pattern and an injection layer pattern, and the detection result determination unit is suitable for determining that the detection result is passed when the pattern in the standard cell area completely overlaps with the pattern in the physical layout of the standard cell to be detected, otherwise it is determined as failed.
13. The detection device of the standard cell according to claim 11, characterized in that: The graphics in the standard cell area include pin area graphics, and the detection result determination unit is suitable for determining that the detection result is passed when the pin graphics in the standard cell area does not fall into the area outside the pin area graphics in the detection layout, otherwise it is determined as failed detection.
14. The detection device of the standard cell according to claim 10, characterized in that: The detection layout determination unit includes: a detection pattern setting unit, which is suitable for determining the coordinates of the detection pattern in the detection layout based on the position of the boundary layer.
15. The detection device of the standard cell according to claim 10, characterized in that: The template library unit comprises: A template determination unit, adapted to determine a template of the detection layout matching the size of the boundary layer of the standard cell to be detected from the template library; The detection layout template utilizing unit is adapted to determine the detection layout of the standard cell to be detected based on the template of the detection layout.
16. The detection device of the standard cell according to claim 15, characterized in that: The height of the boundary layer of the standard unit to be detected is an integer multiple of the height of the detection layout template matched therewith, and the detection layout template utilization unit is suitable for integrating the detection layout templates of the integer multiple number to obtain the detection layout.
17. The detection device of the standard cell according to claim 16, characterized in that: Also includes: The size determination unit is adapted to determine whether the size of the boundary layer of the standard cell to be detected complies with the design rule of the standard cell before determining the detection layout based on the size of the boundary layer of the standard cell to be detected.
18. A device for generating a standard cell, characterized in that: Comprising the standard unit detection device as described in any one of claims 10 to 17.
19. A computer device comprising a memory and a processor, wherein the memory stores a computer program executable on the processor, wherein: When the processor runs the computer program, the standard cell detection method according to any one of claims 1 to 8 is performed.
20. A computer-readable storage medium having a computer program stored thereon, characterized in that: The computer program executes the standard cell detection method according to any one of claims 1 to 8 when running.
21. A computer device comprising a memory and a processor, wherein the memory stores a computer program executable on the processor, wherein: The processor executes the standard cell generation method according to claim 9 when running the computer program.
22. A computer-readable storage medium having a computer program stored thereon, characterized in that: The computer program executes the standard cell generation method described in claim 9 when running.
