Method and system for detecting filling unit missing and computer program
By using script tool language in chip design to perform subtraction operations and design rule checks, false errors are automatically detected and filtered, the problem of missing fill units is solved, design efficiency and accuracy are improved, and missing areas are quickly positioned and supplemented.
Patent Information
- Application Number
- CN202410807157.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-21
- Publication Date
- 2024-11-22
AI Technical Summary
In the digital chip back-end design, the lack of filling units leads to failure to pass the design rule inspection, and it is difficult for the prior art to detect and accurately locate false errors in the early stage, affecting design efficiency.
By obtaining the chip design layout, performing subtraction operations and design rules checks, using script tool language (such as Tcl scripts) to filter false errors, locate real missing areas and add fill units to achieve automated detection and processing.
Improve the efficiency and accuracy of detecting missing fill units, reduce the need for manual confirmation, and save time and human resources.
Smart Images

Figure CN119005101A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of chip design, and in particular to a method for detecting missing of a filling unit. Background Art
[0002] In the field of digital chip backend design, under advanced processes, there will be many chip design rules such as cell spacing rule, Min vtwidth rule, OD length, etc. They will make many factors need to be considered when laying out and adding standard cell fillers (standard cell is a standard unit, filler is a filling unit, and standard cell filler is used to fill the gaps between standard cells). Therefore, it is not easy to fill the entire chip design layout with std cell fillers. It is necessary to design a good process and take all situations into consideration. Otherwise, once there is a gap and the filler cannot be inserted, the design rule check (DRC) will fail.
[0003] We need to discover the problem of missing filler cells as early as possible, which requires a detection mechanism to detect whether there are missing filler cells (missing filler), that is, blank areas, in the chip design layout; and after detection, filter out false errors; then it is convenient for users to locate each problem directly in the GUI for subsequent processing. Summary of the invention
[0004] The present invention provides a method for detecting missing filling cells, which can help users detect whether there are missing filling cells in a chip design layout and filter out false errors, making it convenient for users to locate each problem and handle it.
[0005] To achieve the above object, the embodiments of the present invention adopt the following technical solutions:
[0006] A method for detecting missing filling units comprises the following steps:
[0007] Obtain chip design layout, including chip core area and layout area;
[0008] Subtract the chip core area from the layout area to obtain the blank area where the filling unit is missing;
[0009] Perform design rule checking on the chip design layout to obtain all missing filling cell errors in the blank area;
[0010] Filter out the false errors in the missing filling unit errors and obtain the real errors in the missing filling unit errors;
[0011] Locate the white space where the real error exists.
[0012] According to one aspect of the present invention, the method for detecting missing filling cells is implemented in a chip design automation tool Innovus.
[0013] According to one aspect of the present invention, the subtraction operation is performed on the chip core area and the layout area to obtain the blank area where the filling unit is missing: this is achieved by running a script.
[0014] According to one aspect of the present invention, filtering out false errors in missing filling units and obtaining all missing filling unit errors is achieved by running a script.
[0015] According to one aspect of the present invention, the script is written in Tcl scripting tool language.
[0016] According to one aspect of the present invention, the method for detecting missing filling cells further includes: obtaining a minimum width and a minimum height of a basic layout cell of a chip design layout.
[0017] According to one aspect of the present invention, the false error in the missing filling unit error is: the width of the blank area is smaller than the minimum width of the basic layout unit or the height is smaller than the minimum height of the basic layout unit, and the blank area cannot be set with a filling unit.
[0018] According to one aspect of the present invention, the method for detecting missing filling units further includes: filling in the blank areas where real errors exist with filling units.
[0019] A system for detecting missing filling units, based on the method for detecting missing filling units as described above, comprises:
[0020] A layout acquisition module is used to acquire the chip design layout, including the chip core area and the layout area;
[0021] A subtraction operation module is used to perform a subtraction operation on the chip core area and the layout area to obtain a blank area where the filling unit is missing;
[0022] The error acquisition module is used to perform design rule checking on the chip design layout and obtain all the missing errors of the filling cells in the blank area;
[0023] A false error filtering module is used to filter out false errors in the padding unit missing errors and obtain true errors in the padding unit missing errors;
[0024] The true error location module is used to locate the blank area where the true error exists.
[0025] The system for detecting missing filling units also includes:
[0026] A threshold acquisition module is used to obtain the minimum width and minimum height of the basic layout unit of the chip design layout;
[0027] The filling processing module is used to fill in the blank areas where there are real errors with filling units.
[0028] A computer program, when executed, implements the steps of the method for detecting missing of a filling unit as described above.
[0029] Advantages of the present invention:
[0030] This technical solution provides a method for detecting missing filling cells, which can detect whether there are missing filling cells, that is, blank areas, in the chip design layout; and after detection, the false errors are filtered out; then the user can directly locate each problem in the GUI for subsequent processing. This method uses script running processing, which can automatically find all the problems of missing filling cells and filter out false errors, locate real errors, and do not need to be manually confirmed one by one, which can effectively improve processing efficiency and save time. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0032] Figure 1 A flow chart of detecting missing filling units according to the present invention;
[0033] Figure 2 Designing a global DRC layout for the chip of the present invention;
[0034] Figure 3 Import all filler missing issues for the browser described in the present invention;
[0035] Figure 4 This is an example of a false error of missing filling unit described in the present invention;
[0036] Figure 5 It is a true error that the filling unit described in the present invention is missing;
[0037] Figure 6 This is a flow chart of detecting missing filling units according to the present invention. DETAILED DESCRIPTION
[0038] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0039] Embodiment 1
[0040] like Figure 1 As shown, a method for detecting missing filling units includes the following steps:
[0041] S1: Obtain the chip design layout, including the chip core area and layout area.
[0042] The method for detecting missing filling cells is implemented in the chip design automation tool Innovus.
[0043] Innovus is an electronic design automation tool for chip design that provides comprehensive physical design and layout and routing solutions, supporting advanced chip design optimization to meet various performance index requirements.
[0044] In this embodiment, the method is implemented by using the related functions of Innovus.
[0045] In Innovus, the chip core area CoreBox and the layout area pHaloBox (or pHaloBox of its related insts) are concepts related to the physical design and place and route (P&R) stages, which are usually used to define and constrain the location and boundaries of design elements.
[0046] The CoreBox typically represents the main portion of a design area, where most of the logic or macro cells are placed. It defines a physical boundary within which the layout tools attempt to place and optimize circuit elements. The boundaries of the CoreBox are typically defined by the design team based on the size of the chip, the pin layout, and design-specific constraints.
[0047] pHaloBox is a region definition of a "Protection Halo" that is used to ensure that during the placement and routing process, a specific design element (such as a macro cell, a standard cell, or a group of instances insts) has enough space around it to avoid unnecessary conflicts or interference with other elements.
[0048] S2: Perform a subtraction operation on the chip core area and the layout area to obtain the blank area where the filling unit is missing.
[0049] The subtraction operation is performed on the chip core area and the layout area to obtain the blank area where the filling unit is missing: this is achieved by running a script.
[0050] The script is written in Tcl scripting tool language.
[0051] S3: Perform a design rule check on the chip design layout to obtain all the missing filling cell errors in the blank area.
[0052] Perform design rule checking on the chip design layout and import all missing fill cell issues into the browser.
[0053] like Figure 2 As shown, a global design rule check (DRC) can be performed on the chip design layout to detect all filler cells.
[0054] like Figure 3 As shown, all filler missing problems are imported into the browser. Among these filler missing problems, there are false errors and true errors. The false errors need to be filtered out, and the true errors are left for filling.
[0055] S4: Filter out the false errors in the missing filling unit errors and obtain the real errors in the missing filling unit errors.
[0056] The filtering out of false errors in missing filling units and obtaining all missing filling unit errors is achieved by running a script.
[0057] The false error in the missing filling unit is: the width of the blank area is smaller than the minimum width of the basic layout unit or the height is smaller than the minimum height of the basic layout unit, and the blank area cannot be set with a filling unit.
[0058] like Figure 4 As shown, the two blank areas cannot be filled with filler, so it is a false error.
[0059] S5: Locate the blank area where the real error exists.
[0060] like Figure 5 Shown is a true error in missing padding cells.
[0061] In this embodiment, the complete Tcl script is:
[0062] proc fill_get_site_width{args}{
[0063] return[dbGettop.fplan.rows.site.size_x-u]
[0064] }
[0065] define_proc_arguments fill_get_site_width-info"Get site width"
[0066] proc fill_get_site_height{args}{
[0067] set site_height_list[dbGettop.fPlan.rows.site.size_y-u]
[0068] set site_height 1000
[0069] foreach i$site_height_list{
[0070] if{$i<$site_height}{
[0071] set site_height$i
[0072] }
[0073] }
[0074] return$site_height
[0075] }
[0076] define_proc_arguments fill_get_site_height-info"Get site height"
[0077] proc fill_check_empty_spaces{args}{
[0078] set core_box[dbGettop.fplan.coreBox]
[0079] set inst_boxes[dbGet top.insts.pHaloBox]
[0080] set final_boxes[dbShape$core_boxANDNOT$inst_boxes]
[0081] set site_width[fill_get_site_width]
[0082] set site_height[fill_get_site_height]
[0083] foreach fbox$final_boxes{
[0084] set fbox_width[expr[lindex$fbox 2]-[lindex$fbox 0]]
[0085] set fbox_height[expr[lindex$fbox 3]-[lindex$fbox 1]]
[0086] if{[expr$fbox_width>=$site_width]&&[expr$fbox_height>=$site_height]}{
[0087] createMarker-bbox$fbox-type user_empty_spaces
[0088] }
[0089] }
[0090] }
[0091] define_proc_arguments fill_check_empty_spaces-info "Check emptyspaces"
[0092] The beneficial effect of this embodiment is that the method uses script running processing, which can automatically find out all the problems of missing filling units and filter out false errors, and locate real errors without manual confirmation one by one, which can effectively improve processing efficiency and save time.
[0093] Embodiment 2
[0094] like Figure 6 As shown, a method for detecting missing filling units includes the following steps:
[0095] S1: Obtain the chip design layout, including the chip core area and layout area.
[0096] The method for detecting missing filling cells is implemented in the chip design automation tool Innovus.
[0097] Innovus is an electronic design automation tool for chip design that provides comprehensive physical design and layout and routing solutions, supporting advanced chip design optimization to meet various performance index requirements.
[0098] In this embodiment, the method is implemented by using the related functions of Innovus.
[0099] In Innovus, the chip core area CoreBox and the layout area pHaloBox (or pHaloBox of its related insts) are concepts related to the physical design and place and route (P&R) stages, which are usually used to define and constrain the location and boundaries of design elements.
[0100] The CoreBox typically represents the main portion of a design area, where most of the logic or macro cells are placed. It defines a physical boundary within which the layout tools attempt to place and optimize circuit elements. The boundaries of the CoreBox are typically defined by the design team based on the size of the chip, the pin layout, and design-specific constraints.
[0101] pHaloBox is a region definition of a "Protection Halo" that is used to ensure that during the placement and routing process, a specific design element (such as a macro cell, a standard cell, or a group of instances insts) has enough space around it to avoid unnecessary conflicts or interference with other elements.
[0102] S2: Perform a subtraction operation on the chip core area and the layout area to obtain the blank area where the filling unit is missing.
[0103] The subtraction operation is performed on the chip core area and the layout area to obtain the blank area where the filling unit is missing: this is achieved by running a script.
[0104] The script is written in Tcl scripting tool language.
[0105] S3: Perform a design rule check on the chip design layout to obtain all the missing filling cell errors in the blank area.
[0106] Perform design rule checking on the chip design layout and import all missing fill cell issues into the browser.
[0107] like Figure 2 As shown, a global design rule check (DRC) can be performed on the chip design layout to detect all filler cells.
[0108] like Figure 3 As shown, all filler missing problems are imported into the browser. Among these filler missing problems, there are false errors and true errors. The false errors need to be filtered out, and the true errors are left for filling.
[0109] S4: Obtain the minimum width and minimum height of the basic layout unit of the chip design layout.
[0110] To determine whether the missing white space of the padding unit is a false error or a real error, it is necessary to compare it with the minimum width or minimum height of the basic layout unit.
[0111] S5: Filter out the false errors in the padding unit missing errors to obtain the real errors in the padding unit missing errors.
[0112] The filtering out of false errors in missing filling units and obtaining all missing filling unit errors is achieved by running a script.
[0113] The false error in the missing filling unit is: the width of the blank area is smaller than the minimum width of the basic layout unit or the height is smaller than the minimum height of the basic layout unit, and the blank area cannot be set with a filling unit.
[0114] like Figure 4 As shown, the two blank areas cannot be filled with filler, so it is a false error.
[0115] S6: Locate the blank area where the real error exists.
[0116] like Figure 5 Shown is a true error in missing padding cells.
[0117] S7: Fill in the blank areas where there are real errors with filling cells.
[0118] In this embodiment, the complete Tcl script is:
[0119] proc fill_get_site_width{args}{
[0120] return[dbGettop.fplan.rows.site.size_x-u]
[0121] }
[0122] define_proc_arguments fill_get_site_width-info"Get site width"
[0123] proc fill_get_site_height{args}{
[0124] set site_height_list[dbGettop.fPlan.rows.site.size_y-u]
[0125] set site_height 1000
[0126] foreach i$site_height_list{
[0127] if{$i<$site_height}{
[0128] set site_height$i
[0129] }
[0130] }
[0131] return$site_height
[0132] }
[0133] define_proc_arguments fill_get_site_height-info"Get site height"
[0134] proc fill_check_empty_spaces{args}{
[0135] set core_box[dbGettop.fplan.coreBox]
[0136] set inst_boxes[dbGet top.insts.pHaloBox]
[0137] set final_boxes[dbShape$core_boxANDNOT$inst_boxes]
[0138] set site_width[fill_get_site_width]
[0139] set site_height[fill_get_site_height]
[0140] foreach fbox$final_boxes{
[0141] set fbox_width[expr[lindex$fbox 2]-[lindex$fbox 0]]
[0142] set fbox_height[expr[lindex$fbox 3]-[lindex$fbox 1]]
[0143] if{[expr$fbox_width>=$site_width]&&[expr$fbox_height>=$site_height]}{
[0144] createMarker-bbox$fbox-type user_empty_spaces
[0145] }
[0146] }
[0147] }
[0148] define_proc_arguments fill_check_empty_spaces-info "Check emptyspaces"
[0149] The beneficial effect of this embodiment is that this method adopts script running processing, which can automatically find out all the problems of missing filling units and filter out false errors, locate real errors, and fill in the filling units. There is no need to manually find missing errors and confirm the processing one by one, which can effectively improve processing efficiency and save time.
[0150] Embodiment 3
[0151] A system for detecting missing filling units, based on the method for detecting missing filling units as described above, comprises:
[0152] A layout acquisition module is used to acquire the chip design layout, including the chip core area and the layout area;
[0153] A subtraction operation module is used to perform a subtraction operation on the chip core area and the layout area to obtain a blank area where the filling unit is missing;
[0154] The error acquisition module is used to perform design rule checking on the chip design layout and obtain all the missing errors of the filling cells in the blank area;
[0155] A false error filtering module is used to filter out false errors in the padding unit missing errors and obtain true errors in the padding unit missing errors;
[0156] The true error location module is used to locate the blank area where the true error exists.
[0157] Embodiment 4
[0158] A system for detecting missing filling units, based on the method for detecting missing filling units as described above, comprises:
[0159] A layout acquisition module is used to acquire the chip design layout, including the chip core area and the layout area;
[0160] A subtraction operation module is used to perform a subtraction operation on the chip core area and the layout area to obtain a blank area where the filling unit is missing;
[0161] The error acquisition module is used to perform design rule checking on the chip design layout and obtain all the missing errors of the filling cells in the blank area;
[0162] A threshold acquisition module is used to obtain the minimum width and minimum height of the basic layout unit of the chip design layout;
[0163] A false error filtering module is used to filter out false errors in the padding unit missing errors and obtain true errors in the padding unit missing errors;
[0164] The true error location module is used to locate the blank area where the true error exists.
[0165] The filling processing module is used to fill in the blank areas where there are real errors with filling units.
[0166] Embodiment 5
[0167] A computer program, when executed, implements the steps of the method for detecting missing filling units as described in embodiment one or two.
[0168] Embodiment 6
[0169] A readable storage medium stores a computer program as described in Example 5, and when the computer program is executed, the steps of the method for detecting missing filling units as described in Example 1 or 2 are implemented.
[0170] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by any technician familiar with the art within the technical scope disclosed in the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A method for detecting missing filling units, characterized in that: The following steps are involved: Obtain chip design layout, including chip core area and layout area; Subtract the chip core area from the layout area to obtain the blank area where the filling unit is missing; Perform design rule checking on the chip design layout to obtain all missing filling cell errors in the blank area; Filter out the false errors in the missing filling unit errors and obtain the real errors in the missing filling unit errors; Locate the white space where the real error exists.
2. The method for detecting missing filling units according to claim 1, characterized in that: The method for detecting missing filling cells is implemented in the chip design automation tool Innovus.
3. The method for detecting missing filling units according to claim 1, characterized in that: The subtraction operation is performed on the chip core area and the layout area to obtain the blank area where the filling unit is missing, which is achieved by running a script.
4. The method for detecting missing filling units according to claim 1, characterized in that: The filtering out of false errors in missing filling units and obtaining all missing filling unit errors is achieved by running a script.
5. The method for detecting missing filling units according to claim 3 or 4, characterized in that: The script is written in Tcl scripting tool language.
6. The method for detecting missing filling units according to claim 1, characterized in that: The method for detecting missing filling cells also includes: obtaining a minimum width and a minimum height of a basic layout cell of a chip design layout.
7. The method for detecting missing filling units according to claim 6, characterized in that: The false error in the missing filling unit error is: the width of the blank area is smaller than the minimum width of the basic layout unit or the height is smaller than the minimum height of the basic layout unit, and the blank area cannot be set with a filling unit.
8. The method for detecting missing filling units according to claim 1, characterized in that: The method for detecting missing filling units also includes: filling in the blank areas where real errors exist.
9. A system for detecting missing filling units, characterized in that: The method for detecting missing filling units according to any one of claims 1 to 8 comprises: A layout acquisition module is used to acquire the chip design layout, including the chip core area and the layout area; A subtraction operation module is used to perform a subtraction operation on the chip core area and the layout area to obtain a blank area where the filling unit is missing; The error acquisition module is used to perform design rule checking on the chip design layout and obtain all the missing errors of the filling cells in the blank area; A false error filtering module is used to filter out false errors in the padding unit missing errors and obtain true errors in the padding unit missing errors; The true error location module is used to locate the blank area where the true error exists.
10. The system for detecting missing filling units according to claim 9, characterized in that: The system for detecting missing filling units also includes: A threshold acquisition module is used to obtain the minimum width and minimum height of the basic layout unit of the chip design layout; The filling processing module is used to fill in the blank areas where there are real errors with filling units.
11. A computer program, characterized in that When the computer program is executed, the steps of the method for detecting missing filling units according to any one of claims 1 to 8 are implemented.
