Via hole adding method and device for integrated circuit layout, equipment and storage medium
Automatically adding vias through design rule checking and parsing result data solves the problem of low efficiency in manually adding vias in integrated circuit layout, achieves efficient and accurate via addition, and improves the efficiency and quality of integrated circuit layout design.
Patent Information
- Application Number
- CN202411262555.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-10
- Publication Date
- 2024-10-25
AI Technical Summary
In integrated circuit layout design, manually adding vias is inefficient, especially when a large number of vias need to be added, resulting in increased design complexity and possible positioning errors or inconsistencies, affecting the integrity and functionality of the circuit.
Identify missing via areas through design rule checking, parse the design rule check result data to obtain the size data of vias to be added, calculate the number of rows and columns of vias, generate via array data, and use preset vias Add functions to automatically add vias to optimize via layout and space utilization.
It improves the efficiency of adding via holes in the integrated circuit layout, reduces manual inspection time and errors, ensures accurate addition of via holes, reduces design complexity, avoids omissions, and improves design iteration speed.
Smart Images

Figure CN118839664A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of through-hole layout of integrated circuit layout, and in particular to a method, device, computer equipment, storage medium and computer program product for adding vias to an integrated circuit layout. Background Art
[0002] The integrated circuit layout is the final drawing of the physical design of the integrated circuit. It is used to describe the physical location of all components and wiring on the chip. It is a graphical representation of the circuit design used in the actual manufacturing process. The wiring of the integrated circuit is usually distributed on metal layers at different heights and parallel to each other. Vias refer to vertical conductive paths used to connect different metal layers in integrated circuits. Vias can be used to achieve electrical connection between metal wirings on upper and lower layers. The structure and layout of vias affect the overall electrical performance of the circuit and the complexity of the manufacturing process.
[0003] After the integrated circuit layout is completed, a DRC check (Design Rule Check) is required. The design rules are formulated based on relevant indicators such as the process, processing equipment and production process of the integrated circuit to ensure that the layout design meets the process requirements of the integrated circuit. The purpose of the DRC check is to verify whether the layout design meets the design rules to avoid defects that affect the chip function and yield rate during the manufacturing process. When the DRC check finds errors in the integrated circuit layout, it needs to be modified. Adding vias to the overlapping areas of multiple design layers is one of the common modifications. When the number of vias to be added is large, it is inefficient to rely on engineers to manually add vias. Summary of the invention
[0004] Based on this, it is necessary to provide a method, device, computer equipment, computer-readable storage medium and computer program product for adding vias to an integrated circuit layout, which can improve the efficiency of adding vias in the process of modifying the integrated circuit layout, in order to address the above technical problems.
[0005] In a first aspect, the present application provides a method for adding vias to an integrated circuit layout, comprising: Performing a design rule check on the integrated circuit layout according to the preset via structure data to obtain design rule check result data; Parsing the design rule check result data to obtain the target metal layer lacking vias and the size data of the vias to be added in the target metal layer; Calculating the number of rows and columns of the vias to be added according to the size data of the vias to be added, and generating array data of the vias to be added according to the number of rows and columns; The vias to be added are added to the integrated circuit layout according to the via array data to be added by using a preset via adding function.
[0006] In one embodiment, the parsing of the design rule check result data to obtain the target metal layer lacking vias and the size data of the vias to be added in the target metal layer includes: Extracting metal layer identification information and via identification information in the rule detection data, generating an index key for the size data of the via to be added according to the metal layer identification information and the via identification information, Extracting the corner point coordinates of the via hole by using a preset coordinate matching function, and converting the corner point coordinates into a key value corresponding to the index key according to a preset rule; The size data of the via hole to be added is generated and stored according to the index key and the key value.
[0007] In one embodiment, calculating the number of rows and columns of the vias to be added according to the size data of the vias to be added, and generating the array data of the vias to be added according to the number of rows and columns includes: Acquire the size parameters of the target metal layer, and acquire the size parameters of the via to be added from the attribute parameter file of the via to be added according to the type of the via to be added; Calculate the maximum number of rows and columns of vias to be added on the target metal layer according to the size parameters of the target metal layer and the size parameters of the vias to be added; The total length and total width of the via array to be added are calculated according to the maximum number of rows and the maximum number of columns, and the via array data to be added is generated according to the total length, total width, and the spacing of the vias to be added.
[0008] In one embodiment, adding the vias to be added to the integrated circuit layout according to the array data of the vias to be added by using a preset via adding function includes: Obtain identification information of the via to be added from the size data of the via to be added; Determine, according to the identification information of the via to be added, an integrated circuit layout view corresponding to the via to be added; The coordinate point of the via to be added on the integrated circuit layout view is determined according to a preset coordinate mapping relationship, and the via to be added is added to the integrated circuit layout view through a via adding function.
[0009] In one embodiment, the attribute parameter file of the via to be added includes a square hole attribute parameter file and a long hole attribute parameter file. Before calculating the number of rows and columns of the via to be added according to the size data of the via to be added and generating the array data of the via to be added according to the number of rows and columns, the method further includes: Acquire identification information of each metal layer in the integrated circuit layout and size data of vias on each metal layer; In the case where the via to be added is a square hole, a square hole attribute parameter file is established according to the identification information of the metal layer, the side length of the square hole, and the row spacing and column spacing of the square hole array; In the case where the via to be added is a long hole, a long hole attribute parameter file is established according to the identification information of the metal layer, the length and width of the long hole, and the row spacing and column spacing of the long hole array.
[0010] In one embodiment, before parsing the design rule check result data to obtain the target metal layer lacking vias and the size data of the vias to be added in the target metal layer, the method further includes: Obtaining the number of coordinate points of vias missing from the target metal layer; The number of coordinate points is compared with a preset number of via coordinate points, and when the number of coordinate points is equal to the preset number of via coordinate points, the via is determined to be a via to be added.
[0011] In one embodiment, the method further comprises: In a case where the number of the coordinate points is greater than a preset value of the number of preset coordinate points of the via hole, determining that the via hole is an irregular via hole; Irregular via hole information is generated and output according to the coordinate points of the irregular via holes.
[0012] In a second aspect, a device for adding vias to an integrated circuit layout is provided, the device comprising: A design rule checking module is used to perform a design rule check on the integrated circuit layout according to preset via structure data to obtain design rule checking result data; A data analysis module, used for analyzing the design rule check result data to obtain the target metal layer lacking vias and the size data of the vias to be added in the target metal layer; A via array generation module, used to calculate the number of rows and columns of vias to be added according to the size data of vias to be added, and generate array data of vias to be added according to the number of rows and columns; A via adding module adds the vias to be added to the integrated circuit layout according to the via array data to be added by using a preset via adding function.
[0013] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented: Performing a design rule check on the integrated circuit layout according to the preset via structure data to obtain design rule check result data; Parsing the design rule check result data to obtain the target metal layer lacking vias and the size data of the vias to be added in the target metal layer; Calculating the number of rows and columns of the vias to be added according to the size data of the vias to be added, and generating array data of the vias to be added according to the number of rows and columns; The vias to be added are added to the integrated circuit layout according to the via array data to be added by using a preset via adding function.
[0014] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented: Performing a design rule check on the integrated circuit layout according to the preset via structure data to obtain design rule check result data; Parsing the design rule check result data to obtain the target metal layer lacking vias and the size data of the vias to be added in the target metal layer; Calculating the number of rows and columns of the vias to be added according to the size data of the vias to be added, and generating array data of the vias to be added according to the number of rows and columns; The vias to be added are added to the integrated circuit layout according to the via array data to be added by using a preset via adding function.
[0015] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor: Performing a design rule check on the integrated circuit layout according to the preset via structure data to obtain design rule check result data; Parsing the design rule check result data to obtain the target metal layer lacking vias and the size data of the vias to be added in the target metal layer; Calculating the number of rows and columns of the vias to be added according to the size data of the vias to be added, and generating array data of the vias to be added according to the number of rows and columns; The vias to be added are added to the integrated circuit layout according to the via array data to be added by using a preset via adding function.
[0016] The above-mentioned method, apparatus, computer equipment, storage medium and computer program product for adding vias to the integrated circuit layout can efficiently identify areas in the design that lack vias by performing design rule checks on the integrated circuit layout, thereby reducing the time and possible errors of manual inspections. By parsing the design rule check result data, the target metal layer that lacks vias can be accurately located, and the size data of the vias to be added can be obtained, so that the addition of vias can be more accurate, avoiding positioning errors or inconsistencies caused by manual operations, thereby ensuring the integrity and functionality of the circuit. The number of rows and columns of vias to be added is calculated based on the size data of the vias to be added, so that the layout of the vias can be optimized and the utilization of the layout space can be maximized. Through the preset via addition function, the calculated via array is added to the integrated circuit layout, which can reduce the workload of adding vias, reduce the design complexity, avoid omissions that may be caused by manual operations, and speed up the design iteration speed, thereby improving the efficiency of adding vias in the process of modifying the integrated circuit layout. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0018] Figure 1 A diagram of an application environment of a method for adding vias to an integrated circuit layout in one embodiment; Figure 2 A schematic diagram of a flow chart of a method for adding vias to an integrated circuit layout in one embodiment; Figure 3 A schematic flow chart of a method for adding vias to an integrated circuit layout in another embodiment; Figure 4 A structural block diagram of a device for adding vias to an integrated circuit layout in one embodiment; Figure 5 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0019] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0020] The method for adding vias to an integrated circuit layout provided in the embodiment of the present application can be applied to Figure 1In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. Among them, the terminal 102 can be, but is not limited to, various personal computers, laptops, tablet computers, etc. The server 104 can be implemented with an independent server or a server cluster consisting of multiple servers.
[0021] Integrated circuits (ICs) usually contain multiple layers of metal wiring. Each metal wiring layer can be used to transmit specific signals and power. Different metal wiring layers are electrically connected through vias to form a complete circuit path. Via placement in layout design is one of the key steps to ensure the normal function of the chip, performance optimization and feasibility of the manufacturing process. Reasonable via layout can optimize the signal path and reduce delays and parasitic effects. Vias can be divided into ordinary vias, stepped vias and cascade vias. The sizes of different vias are also different. In integrated circuit design, the layout of vias must follow specific design rules to ensure the feasibility of manufacturing and the reliability of the circuit. When laying out vias, it is necessary to consider the minimum spacing between vias, the minimum size of vias, the number and location of vias, the effect on heat dissipation, and the effect on signal integrity and electromagnetic interference. DRC check (Design Rule Check) is a key step in the integrated circuit (IC) design process to ensure that the layout design meets the requirements of the semiconductor manufacturing process. The main purpose of DRC inspection is to verify whether the layout design meets the various design rules specified by the manufacturing process to avoid problems in the manufacturing process, such as short circuits, open circuits, or other defects that may affect chip functions and yields. DRC inspection mainly includes line width inspection, spacing inspection, layer alignment inspection, via inspection, coverage inspection, angle inspection and other steps. DRC inspection can be automatically completed by EDA (electronic design automation) tools. EDA tools scan the layout design according to predefined design rules to check whether there are designs that do not conform to the rules, and list all violations in the report so that designers can modify and optimize the layout. Overlap area refers to the overlapping parts between two or more design layers (such as metal layers, polysilicon layers, diffusion layers, etc.) in the layout. These overlapping parts can form specific components or connect different layers. In the wiring process, different metal layers are usually connected through vias, and the intersection of vias and metal layers forms an overlap area. This area ensures that the vias can effectively connect the metal wires of the upper and lower layers and provide reliable electrical connections. After the layout is completed, a DRC (design rule check) is required. The design rule is designed according to relevant indicators such as process, factory equipment, production process and level to ensure that the produced chip is valid. After the DRC is completed, if a large number of errors are found in the layout, the layout needs a lot of modifications. If the error is that there are a large number of vias that need to be added in the relevant overlap area of the layout, then the engineer needs to spend a lot of time manually adding vias. The process is repetitive and single, and it takes a lot of time.
[0022] In view of the above problems, the present application provides an exemplary embodiment, as follows: Figure 2 As shown, a method for adding vias to an integrated circuit layout is provided, and the method is applied to Figure 1 The application environment in FIG. 1 is taken as an example to illustrate, including the following steps 202 to 206. Among them: Step 202, performing a design rule check on the integrated circuit layout according to the preset via structure data to obtain design rule check result data; For example, the rule set of the current integrated circuit design can be obtained first, which may include the minimum size, spacing, and alignment requirements with the metal layer of the vias. The layout file (layout) of the target integrated circuit is opened using an EDA tool to obtain the metal layer, vias, and other layout elements in the current design layout. The via information in the layout is compared with the preset via structure data to check whether it complies with the design rules. The inspection results are displayed graphically or exported as a report file to obtain the design rule inspection result data. EDA tools such as Cadence Virtuoso, Synopsys ICValidator, and Mentor Graphics Calibre can be used for DRC inspection. During the DRC process, scripts (such as SKILL, TCL, Python, etc.) can be used to achieve automated operations.
[0023] Step 204 , analyzing the design rule check result data to obtain the target metal layer lacking vias and the size data of the vias to be added in the target metal layer.
[0024] The target metal layer refers to one or more metal layers in the integrated circuit design layout that lack vias. The vias to be added refer to vias that need to be added to the target metal layer in the subsequent modification process. The size data of the vias to be added refers to the physical size, shape, arrangement and other information of the vias to be added.
[0025] Exemplarily, a corresponding parsing method can be selected according to the format of the inspection result data to load the data into the memory, and records related to missing vias can be identified through keywords or error codes, and target metal layer information related to the missing vias can be extracted, such as the layer number or name of the metal layer, etc. The appropriate via size can be determined according to the metal layer rule table or preset via structure data, and the target metal layer information of the missing vias and the size data of the vias to be added can be combined to form a structured data record, and the parsing results can be saved as a new data file for subsequent use.
[0026] Step 206 , calculating the number of rows and columns of the vias to be added according to the size data of the vias to be added, and generating array data of the vias to be added according to the number of rows and columns.
[0027] The size data of the vias to be added include data such as the length and width of a single via, the length and width of a target area, and the spacing between vias.
[0028] Exemplarily, a two-dimensional array or list can be used to store the array data of vias, where each element represents the coordinate position of a via, and the maximum number of vias that can be accommodated in the length and width directions of the target area are calculated using formulas to obtain the number of rows and columns. The number of rows and columns can be traversed using nested loops or the like to calculate the coordinate position of each via.
[0029] Step 208 , adding the vias to be added to the integrated circuit layout according to the array data of the vias to be added by using a preset via adding function.
[0030] The preset via adding function refers to a function or method predefined in an integrated circuit layout design tool or software, which is used to automatically add vias to the integrated circuit layout.
[0031] Exemplarily, an API or scripting language may be called to implement a via adding function, and after the via array data is input, the position of each via is traversed through a function loop, and the position of each via is instantiated and added to the layout.
[0032] In the above-mentioned method for adding vias to the integrated circuit layout, by performing a design rule check on the integrated circuit layout, it is possible to efficiently identify areas in the design where vias are missing, thereby reducing the time and possible errors of manual inspection. By parsing the design rule check result data, the target metal layer where vias are missing is accurately located, and the size data of the vias to be added is obtained, so that the addition of vias can be made more accurate, avoiding positioning errors or inconsistencies caused by manual operation, thereby ensuring the integrity and functionality of the circuit. The number of rows and columns of vias to be added is calculated based on the size data of the vias to be added, so that the layout of the vias can be optimized and the use of the layout space can be maximized. By using a preset via addition function, the calculated via array is added to the integrated circuit layout, which can reduce the workload of adding vias, reduce the design complexity, avoid omissions that may be caused by manual operation, and at the same time speed up the design iteration speed, thereby improving the efficiency of adding vias in the process of modifying the integrated circuit layout.
[0033] In an exemplary embodiment, the design rule check result data is parsed to obtain the target metal layer lacking vias and the size data of the vias to be added in the target metal layer, including: extracting the metal layer identification information and the via identification information in the rule detection data, generating an index key for the size data of the vias to be added based on the metal layer identification information and the via identification information, extracting the corner point coordinates of the vias through a preset coordinate matching function, and converting the corner point coordinates into a key value corresponding to the index key according to preset rules; generating and storing the size data of the vias to be added based on the index key and the key value.
[0034] Among them, the metal layer identification information is a unique identifier used to identify different metal layers in the integrated circuit, which may include the name of the metal layer, the layer number, and the corresponding hierarchical information in the layout, which is used to determine the transmission path of the signal and power in the integrated circuit, and is a key parameter for defining and operating metal interconnects. The via identification information is a unique identifier used to identify the via in the layout. The corner point coordinates refer to the coordinates of the four corners of the via area in the layout, which can be expressed in the form of (x, y), and can define the position and size of the rectangular area of the via in the layout. The index key is a unique identifier used to access a specific item in the data structure, which can be used to store and search for metal layer information, via information, coordinate data, etc. The key value is the data content associated with the index key. Each index key corresponds to a key value, which can store data such as the properties of the metal layer, the size or coordinate information of the via.
[0035] Exemplarily, metal layer identification information and corresponding via identification information can be extracted from each record of the inspection result data, and a unique index key can be generated based on the extracted information to store dimension data related to the via, and a predefined function can be called to extract the corner coordinates of the via from the design rule inspection data, and the corner coordinate information related to the current via can be obtained by matching rules or conditions, and the corner coordinates can be converted into a key value corresponding to the index key according to preset conversion rules such as standardization and offset calculation, and stored in a dictionary or database. In the subsequent via addition process, the generated index key can be used to quickly retrieve relevant dimension data from the stored data structure.
[0036] In an exemplary embodiment, the number of rows and columns of vias to be added is calculated based on the size data of the vias to be added, and the array data of the vias to be added is generated based on the number of rows and columns, including: obtaining the size parameters of the target metal layer, and obtaining the size parameters of the vias to be added from the attribute parameter file of the vias to be added based on the types of the vias to be added; calculating the maximum number of rows and columns of vias to be added on the target metal layer based on the size parameters of the target metal layer and the size parameters of the vias to be added; calculating the total length and total width of the array of vias to be added based on the maximum number of rows and the maximum number of columns, and generating the array data of the vias to be added based on the total length, the total width, and the spacing of the vias to be added.
[0037] The size parameters of the target metal layer may include the total length and the total width of the metal layer.
[0038] For example, the size parameters of the target metal layer can be obtained by reading the design file or querying the database. According to the type of via to be added, the size parameters of the via are extracted from its attribute parameter file. The length and width of the target metal layer are divided by the size and spacing of the via respectively to calculate the maximum number of columns and rows that can be placed. The total length and total width of the via array can be calculated by multiplying the size, spacing and maximum number of rows or columns of a single via. The position coordinates or array layout information of each via are generated based on the calculated total length, total width and spacing of the via to obtain the data of the via array to be added. In an exemplary embodiment, vias to be added are added to the integrated circuit layout according to array data of vias to be added through a preset via adding function, including: obtaining identification information of the vias to be added from size data of the vias to be added; determining the integrated circuit layout view corresponding to the vias to be added according to the identification information of the vias to be added; determining the coordinate points of the vias to be added on the integrated circuit layout view according to a preset coordinate mapping relationship, and adding the vias to be added to the integrated circuit layout view through the via adding function.
[0039] The coordinate mapping relationship may be a preset conversion rule or a coordinate calculation function.
[0040] Exemplarily, the via identification information can be mapped to a specific layout view through a pre-established mapping table or function, and the corresponding coordinate points can be found based on the via identification information through conversion rules or coordinate calculation functions. The ID of the layout view and the determined coordinate points can be used to call a preset function to add the via to the layout view.
[0041] In an exemplary embodiment, the attribute parameter file of the vias to be added includes a square hole attribute parameter file and a long hole attribute parameter file. Before calculating the number of rows and columns of the vias to be added based on the size data of the vias to be added, and generating the array data of the vias to be added based on the number of rows and columns, the method also includes: obtaining the identification information of each metal layer in the integrated circuit layout and the size data of the vias on each metal layer; when the vias to be added are square holes, establishing a square hole attribute parameter file based on the identification information of the metal layer, the side length of the square hole, and the row spacing and column spacing of the square hole array; when the vias to be added are long holes, establishing a long hole attribute parameter file based on the identification information of the metal layer, the length and width of the long holes, and the row spacing and column spacing of the long hole array.
[0042] Among them, the square hole refers to a via hole with a square cross-sectional shape, and the long hole refers to a via hole with a rectangular cross-sectional shape.
[0043] Exemplarily, the identification information of each metal layer can be extracted through a layout design file, a database or a design tool, the size data of the via can be extracted from the design data or tool, and a square hole or long hole attribute parameter file can be created based on parameters such as the metal layer identification information, the side length of the square hole, the row spacing and column spacing of the square hole array, and can be stored in text or JSON format.
[0044] In an exemplary embodiment, before parsing the design rule check result data to obtain the target metal layer lacking vias and the size data of the vias to be added in the target metal layer, the method also includes: obtaining the number of coordinate points of the vias lacking in the target metal layer; comparing the number of coordinate points with a preset value of the number of via coordinate points, and determining that the via is a via to be added when the number of coordinate points is equal to the preset value of the preset number of via coordinate points.
[0045] Exemplarily, the coordinate points of the missing vias can be extracted from the relevant information of the target metal layer, and their number can be calculated. The number of extracted coordinate points is compared with the preset number of via coordinate points to determine whether the preset conditions are met. If the number of coordinate points meets the preset value, it is confirmed that the via needs to be added to the layout for subsequent processing.
[0046] In an exemplary embodiment, the method further includes: determining that the via is an irregular via when the number of coordinate points is greater than a preset value of the preset number of coordinate points of the via; and generating and outputting irregular via information according to the coordinate points of the irregular via.
[0047] Among them, irregular vias refer to vias whose shape, size or layout is different from standard rectangular or square vias.
[0048] For example, when the vias in the layout are all rectangular or square, the vias should have four corner points. In this case, the preset value of the number of coordinate points can be 4. When the number of coordinate points is not 4, it means that the via in the data is an irregular via and is not within the range of via addition this time. The via can be excluded from the vias to be added. When the vias to be added are other shapes, the number of coordinate points can also be set to other values according to actual needs.
[0049] In an exemplary embodiment, a method for adding vias to an integrated circuit layout is provided, comprising the following steps: Step 302, run drc, and determine whether the running result requires batch patching of via.
[0050] Step 304, prepare a customized file about the length and width spacing of via, drc.result file, and call the library of the cell of via.
[0051] Step 306, input the main function add_vias / add_vias_L ("add_vias_rulesfile" "drc_result_file" "viaLib") in the CIW window.
[0052] Step 308, extracting and processing the add_vias_rulesfile data; Step 310, extracting the coordinate range to be extracted from the drc.result file; Step 312, adding an array of vias that conform to the coordinate range size on the layout according to the extracted data.
[0053] After the layout is completed, run drc and select the rule file that contains the rule for checking whether each layer of metal is missing via. After running drc, you will get the drc.result file, and you can check the coordinate range of the specific metal layer that lacks via. Then prepare the customized length and width spacing file of via, the drc result file after running and the library name of the cell that calls the via of the square hole of different metal layers. Use the Skill program interface of the Virtuoso software to write a program script file program1 based on the three files prepared earlier, and add the customized array of square hole via within the coordinate range marked in the drc.result file. Similarly, for adding long hole via, a program script file program2 is formed. Write the commands to load program1 and program2 in the .cdsinit file. The .cdsinit file is the cadence initial file setting that contains environment variables defined by the user or site skill code. Configure the program script files program1 and program2 to the Virtuoso software environment. When Virtuoso starts, this program will be automatically loaded. Open the cellview of the layout to be edited. If you want to add a via with square holes, type the main function add_vias("add_vias_rulesfile " "drc_result_file" "viaLib") of program1 in the CIW window. The brackets need to be filled with custom variables, that is, the custom file of the length and width spacing of the via, the completed drc result file, and the library name of the cell that calls the via of the square holes on different metal layers. After program1 is finished running, the user can see the result of adding the via on the cellview of the layout. If you want to lengthen the via with longer holes, type the main function add_vias_L("add_vias_rulesfile" "drc_result_file" "viaLib") of program2 in the CIW window. The rest of the steps are the same as adding square holes.
[0054] When the added via is a square hole, it can be achieved by the following steps: Step 1: Write program1 and prepare a customized file about the length, width and spacing of via. It is required to write the length, width and spacing requirements of via of each layer. The first column is the metal layer name, the second column is the width / length of via, width=length, and the third column is the spacing requirement of rows and columns in the instances array, delta X / delta Y, delta X=deltaY.
[0055] Step 2: After running drc, you get the drc.result file: you can view the coordinate range of the specific metal layer where the via is missing. The coordinate points in the drc.result file must correspond one-to-one to the actual coordinate points of the layout. The conversion relationship is *0.001. The coordinates are four points, forming a rectangle, distributed in the lower left corner, lower right corner, upper right corner, and upper left corner. For points with more than four coordinate points and uncertain area and shape, the script will not process them.
[0056] Step 3: Customize the library name of the cell that calls vias of different metal layers. The cell naming format of Via is square hole: Mlayernum+1_Mlayernum_x_x; long hole: Mlayernum+1_Mlayernum_L_x. The script will only call the first via of all vias of a specific metal layer in the library that meets the format.
[0057] Step 4: For program1, the main function is add_vias. According to the user-defined vialib, the names of all cells under vialib are obtained through the ddGetObj function and assigned to the variable mastercelllist.
[0058] Step 5: Create an empty list layer_list and two empty dictionaries named myTable0 and myTable2. Get the open port INFile of the above file 1 through the infile function. Get each line in the file through the gets function. Use parseString to split each line into a list according to the space and assign it to the variable linelist. The first element of the list is the metal layer name and is assigned to the variable layername. The second element is the length and width of the square hole and is assigned to the variable w_l. The third element is the spacing between the square holes and is assigned to the variable delta. Use layername as the dictionary myTable0, and use w_l and delta as the values corresponding to the keys. Compile the regular expression string pattern through rexCompile, use the rexExecute function to match the string, use the rexSubstitute function to extract the substring that matches the string pattern, that is, the number of the metal layer, and assign it to the variable num, and add its variable num to the list layer_list. Add one to the number of num to get the next layer. The metal layer number is assigned to the variable higer_num. The above strings are connected through the strcat function, that is, the "Mhiger_num_Mnum" format, and assigned to the variable cell_keyword. This is the key name of the cell of via to be called later. A new list is returned from the list mastercelllist through the setof function, which only contains the elements in the list that meet the keyword cell_keyword condition. This list is assigned to the list cell_list. Since program1 is a square hole, the setof function is continued to be used to remove the elements with the "_L_" keyword in cell_list, and the first element in the new list, that is, the cell name of via, is extracted and assigned to the variable mastercell. The string is concatenated through strcat to obtain the "MEnum" format and assigned to the variable layer. At the same time, this variable layer is used as the key of the dictionary myTable2, and mastercell is used as the value corresponding to the key. The above is the data processing for each line of the length and width spacing file of via.
[0059] Step 6: The following is the data extraction process of the drc.result file. Create a new variable flag and set it to 0, create an empty dictionary myTable, get the open port INFile of the drc.result file through the infile function, get each line in the file through the gets function, match the line with the keyword in the rule name of the missing via through the rexMatchp function, extract the information about the metal layer through the rexSubstitute function and assign it to the variable num_temp. If the value of this num_temp is in the list layer_list, assign the value of num_temp to the variable num, and assign the value of the variable flag to 1. If not, the value of flag remains 0, and then continue to read down through the when function. When the rexMatchp function matches the beginning of that line with the character "p" and flag is 1, extract the digital information after the keyword "p" and assign it to the variable numth. numth represents the number of characters required for this rule. Add the serial number of the place where via is added, merge the strings "ME", num, "_P" and numth and assign them to the variable key, which is the key of the dictionary myTable, set the value format corresponding to this key to list format, and then continue to read down through the when function, match the line with two numbers through the rexMatchp function, and the flag is 1 and the key symbol ":" is not in that line, extract the x coordinate and y coordinate through the rexSubstitute function, multiply the x coordinate and y coordinate by 0.001 respectively, so that they coincide with the actual coordinates on the layout, and then assign them to the value corresponding to the key key of the dictionary myTable. There are 4 groups of values corresponding to the key key, one group is read in one line, and after the 4 groups are read, the next key key of the dictionary is generated, and this cycle is repeated to complete the extraction of the coordinates of the drc.result file that need to add via.
[0060] Step 7: Create an empty list figid_list, get the address id of the layout cellview being edited through the geGetEditCellView function and assign it to the variable cv, iterate the dictionary myTable through the foreach function, calculate the list length of the key k corresponding to the value through the length function and assign it to the variable len, split the key k into two parts through the parseString function. The first part is the metal layer information layer. If the metal layer information layer is in the key defined in the dictionary myTable0, determine again whether the length of len is 8. This is to filter out irregularly shaped coordinate points in the drc.result file. According to the drc.result file, mark the coordinate order of the lower left corner, lower right corner, upper right corner, and upper left corner of the rectangular range, calculate the length and width of the coordinate range, and assign them to the variables leng and width respectively. At the same time, according to the key of layer, get the value of myTable0, that is, the length and width w_l and the spacing delta of the square hole.
[0061] Step 8: The next step is to calculate how many rows and columns of vias to place based on the coordinate range. First, determine whether the values of leng and width are both greater than w_l. Under this premise, calculate how many times width is w_l and assign it to the variable maxrownum. Calculate how many times leng is w_l and assign it to maxcolumnum. Use the for function to loop through all numbers i from 1 to maxrownum. The calculation formula is mosaic_width = (i-1)*delta + w_l. Mosaic_width is the width of the via array. If mosaic_width is less than or equal to width, assign the value of i to the variable rows until the maximum number of vias that can be placed on width is obtained. The calculation method for the variable colums is the same as that for rows.
[0062] Step 9: Similarly, get the cell name of the called via corresponding to the key of myTable2 through the variable layer, get the address Id of the cellview of the called via layout through dbOpenCellViewByType and assign it to the variable mastercv, assign the name instName of the added via array to the key k of myTable, calculate the length cell_length and width cell_width of the via array according to the formula, and then calculate the coordinate points of the array of placed via according to the formula, and assign them to xcoord and ycoord respectively to form the coordinate list Orient. After calculating all the required information above, including cv, mastercv, instName, Orient, rows, colums, delta, you can use the dbCreateSimpleMosaic function to add via. Under this premise, colums and rows must be greater than 0, and then add the id of the newly generated via to the list figid_list.
[0063] Step 10: Finally, according to the leMakeCell function, create a cellview with a layout named "ADD_VIA" composed of figid_list to combine these added vias.
[0064] When the via to be added is a square hole, its implementation may include the following steps: Step 1: A customized file about the length, width and spacing of via is required to write the length, width and spacing requirements of via for each layer. The first column is the metal layer name, the second column is the length of via, the third column is the width of via, the fourth column is the row spacing requirement delta X in the instances array, and the fourth column is the column spacing requirement delta Y in the instances array. Step 2: Same as steps 2-4 in the square hole adding process.
[0065] Step 3: Create an empty list layer_list and two empty dictionaries named myTable0 and myTable2. Use the infile function to get the open port INFile of the above file 1. Use the gets function to get each line in the file. Use parseString to split each line into a list according to the space and assign it to the variable linelist. The first element of the list is the metal layer name and is assigned to the variable layername. The second element is the length of the long hole and is assigned to the variable l. The third element is the width of the long hole and is assigned to the variable w. The fourth element is the length-to-length spacing between the long holes and is assigned to the variable deltaX. The fifth element is the width-to-width spacing between the long holes, which is assigned to the variable deltaY. Use layername as the dictionary myTable0, and use w, l, deltaX, and deltaY as the values corresponding to the keys. Compile the regular expression string pattern through rexCompile, use the rexExecute function to match the string, and use the rexSubstitute function to extract the substring that matches the string pattern, that is, the number of the metal layer, and assign it to the variable num. Add the number of num to the list layer_list, and assign the number of the next higher metal layer to the variable higer_num. Use the strcat function to connect the above strings, that is, the "Mhiger_num_Mnum_L" format. Assign it to the variable cell_keyword, which is the key name of the cell of via to be called later. Use the setof function to return a new list from the list mastercelllist, which only contains the elements in the list that meet the keyword cell_keyword condition. Assign this list to the list cell_list, and extract the first element in the new list, which is the cell name of via, and assign it to the variable mastercell. Use strcat to concatenate the strings to get the "MEnum" format, and assign it to the variable layer. At the same time, use this variable layer as the key of the dictionary myTable2, and mastercell as the value corresponding to the key. The above is the data processing for each line of the length and width spacing file of via of long holes.
[0066] Step 4: The data extraction process of the drc.result file is the same as step 6 of program1.
[0067] Step 5: Create an empty list figid_list, get the address id of the layout cellview being edited through the geGetEditCellView function and assign it to the variable cv, iterate the dictionary myTable through the foreach function, calculate the list length of the key k corresponding to the value and assign it to the variable len, and split the key k into two parts through the parseString function. The first part is the metal layer information layer. If the metal layer information layer is in the key defined in the dictionary myTable0, determine whether the length of len is 8 again. This is to filter out irregular coordinate points in the drc.result file. According to the drc.result file, mark the coordinate order of the lower left corner, lower right corner, upper right corner, and upper left corner of the rectangular range, calculate the length and width of the coordinate range, and assign them to the variables leng and width respectively. At the same time, according to the key of layer, get the value of myTable0, that is, the length and width w, l and spacing deltaX, deltaY of the long hole.
[0068] Step 6: The next step is to calculate how many rows and columns of vias to place according to the coordinate range. First, determine whether leng is greater than l and whether the value of width is greater than w. Under this premise, calculate how many times width is w and assign it to the variable maxrownum. Calculate how many times leng is l and assign it to maxcolumnum. Use the for function to loop through all numbers i from 1 to maxrownum. The calculation formula is mosaic_width = (i-1)*deltaX+ w, where mosaic_width is the width of the via array. If mosaic_width is less than or equal to width, assign the value of i to the variable rows until the maximum number of vias that can be placed on width is obtained. The calculation method for the variable colums is the same as that for rows, where the calculation formula is mosaic_leng = (i-1)*deltaY+ l.
[0069] Step 7: The following steps are the same as 9-10 in program 1.
[0070] Step 8: For step 6 above, there are other judgment conditions. If leng is greater than w and width is greater than l, then calculate how many times width is l and assign it to the variable maxrownum. Calculate how many times l l is and assign it to maxcolumnum. The intermediate process remains unchanged. Finally, when the dbCreateSimpleMosaic function is used to generate via, the direction of via changes from "R0" to "such as R270".
[0071] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0072] Based on the same inventive concept, the embodiment of the present application also provides a device for adding vias to an integrated circuit layout for implementing the method for adding vias to an integrated circuit layout involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the embodiments of the device for adding vias to an integrated circuit layout provided below can refer to the limitations of the method for adding vias to an integrated circuit layout above, and will not be repeated here.
[0073] In an exemplary embodiment, Figure 4 As shown, a via adding device 400 for integrated circuit layout is provided, comprising: a design rule checking module 402, a data parsing module 404, a via array generating module 406 and a via adding module 408, wherein: A design rule checking module 402 is used to perform a design rule check on the integrated circuit layout according to preset via structure data to obtain design rule check result data; The data analysis module 404 is used to analyze the design rule check result data to obtain the target metal layer lacking vias and the size data of the vias to be added in the target metal layer; A via array generation module 406 is used to calculate the number of rows and columns of vias to be added according to the size data of vias to be added, and generate array data of vias to be added according to the number of rows and columns; The via adding module 408 is used to add the vias to be added to the integrated circuit layout according to the array data of the vias to be added by using a preset via adding function.
[0074] In an exemplary embodiment, in one of the embodiments, the data parsing module is also used to: extract metal layer identification information and via identification information in the rule detection data, generate an index key for the size data of the via to be added based on the metal layer identification information and the via identification information, extract the corner point coordinates of the via through a preset coordinate matching function, and convert the corner point coordinates into a key value corresponding to the index key according to preset rules; generate and store the size data of the via to be added based on the index key and the key value.
[0075] In an exemplary embodiment, the via array generation module is also used to: obtain the size parameters of the target metal layer, and obtain the size parameters of the vias to be added from the attribute parameter file of the vias to be added according to the types of the vias to be added; calculate the maximum number of rows and columns of vias to be added on the target metal layer according to the size parameters of the target metal layer and the size parameters of the vias to be added; calculate the total length and total width of the via array to be added according to the maximum number of rows and the maximum number of columns, and generate the via array data to be added according to the total length, total width, and spacing of the vias to be added.
[0076] In an exemplary embodiment, the via adding module is also used to: obtain identification information of the via to be added from the size data of the via to be added; determine the integrated circuit layout view corresponding to the via to be added according to the identification information of the via to be added; determine the coordinate point of the via to be added on the integrated circuit layout view according to a preset coordinate mapping relationship, and add the via to be added to the integrated circuit layout view through the via adding function.
[0077] In an exemplary embodiment, in one of the embodiments, the attribute parameter file of the via to be added includes a square hole attribute parameter file and a long hole attribute parameter file. Before calculating the number of rows and columns of the via to be added based on the size data of the via to be added, and generating the via array data to be added based on the number of rows and columns, the data parsing module is also used to: obtain the identification information of each metal layer in the integrated circuit layout and the size data of the vias on each metal layer; in the case where the via to be added is a square hole, establish a square hole attribute parameter file based on the identification information of the metal layer, the side length of the square hole, and the row spacing and column spacing of the square hole array; in the case where the via to be added is a long hole, establish a long hole attribute parameter file based on the identification information of the metal layer, the length and width of the long hole, and the row spacing and column spacing of the long hole array.
[0078] In an exemplary embodiment, before parsing the design rule check result data to obtain the target metal layer lacking vias and the size data of the vias to be added in the target metal layer, the data parsing module is also used to: obtain the number of coordinate points of the vias lacking in the target metal layer; compare the number of coordinate points with a preset value of the number of via coordinate points, and when the number of coordinate points is equal to the preset value of the preset number of via coordinate points, determine that the via is a via to be added.
[0079] In an exemplary embodiment, the data analysis module is also used to: determine that the via is an irregular via when the number of coordinate points is greater than a preset value of the preset number of coordinate points of the via; and generate and output irregular via information according to the coordinate points of the irregular via.
[0080] Each module in the above-mentioned device for adding vias to an integrated circuit layout can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each of the above modules.
[0081] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Figure 5 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store various data involved in the via addition process. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for adding vias to an integrated circuit layout is implemented.
[0082] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0083] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the steps in the above-mentioned method embodiments are implemented. The computer device may be as follows: Figure 5 Computer equipment shown in .
[0084] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0085] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0086] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0087] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0088] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0089] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for adding vias to an integrated circuit layout, characterized in that: The method comprises: Performing a design rule check on the integrated circuit layout according to the preset via structure data to obtain design rule check result data; Parsing the design rule check result data to obtain the target metal layer lacking vias and the size data of the vias to be added in the target metal layer; Calculating the number of rows and columns of the vias to be added according to the size data of the vias to be added, and generating array data of the vias to be added according to the number of rows and columns; Adding the vias to be added to the integrated circuit layout according to the via array data to be added by using a preset via adding function; The step of analyzing the design rule check result data to obtain the target metal layer lacking vias and the size data of the vias to be added in the target metal layer includes: Extracting metal layer identification information and via identification information in the rule detection data, generating an index key for the size data of the via to be added according to the metal layer identification information and the via identification information, Extracting the corner point coordinates of the via hole by using a preset coordinate matching function, and converting the corner point coordinates into a key value corresponding to the index key according to a preset rule; The size data of the via hole to be added is generated and stored according to the index key and the key value.
2. The method according to claim 1, characterized in that: Calculating the number of rows and columns of the vias to be added according to the size data of the vias to be added, and generating array data of the vias to be added according to the number of rows and columns, including: Acquire the size parameters of the target metal layer, and acquire the size parameters of the via to be added from the attribute parameter file of the via to be added according to the type of the via to be added; Calculate the maximum number of rows and columns of vias to be added on the target metal layer according to the size parameters of the target metal layer and the size parameters of the vias to be added; The total length and total width of the via array to be added are calculated according to the maximum number of rows and the maximum number of columns, and the via array data to be added is generated according to the total length, total width, and the spacing of the vias to be added.
3. The method according to claim 1 or 2, characterized in that: The step of adding the vias to be added to the integrated circuit layout according to the array data of the vias to be added by using a preset via adding function includes: Obtain identification information of the via to be added from the size data of the via to be added; Determine, according to the identification information of the via to be added, an integrated circuit layout view corresponding to the via to be added; The coordinate point of the via to be added on the integrated circuit layout view is determined according to a preset coordinate mapping relationship, and the via to be added is added to the integrated circuit layout view through a via adding function.
4. The method according to claim 1, characterized in that: The attribute parameter file of the via to be added includes a square hole attribute parameter file and a long hole attribute parameter file. Before calculating the number of rows and columns of the via to be added according to the size data of the via to be added and generating the array data of the via to be added according to the number of rows and columns, the method further includes: Acquire identification information of each metal layer in the integrated circuit layout and size data of vias on each metal layer; In the case where the via to be added is a square hole, a square hole attribute parameter file is established according to the identification information of the metal layer, the side length of the square hole, and the row spacing and column spacing of the square hole array; In the case where the via to be added is a long hole, a long hole attribute parameter file is established according to the identification information of the metal layer, the length and width of the long hole, and the row spacing and column spacing of the long hole array.
5. The method according to claim 1, characterized in that Before parsing the design rule check result data to obtain the target metal layer lacking vias and the size data of the vias to be added in the target metal layer, the method further includes: Obtaining the number of coordinate points of vias missing from the target metal layer; The number of coordinate points is compared with a preset number of via coordinate points, and when the number of coordinate points is equal to the preset number of via coordinate points, the via is determined to be a via to be added.
6. The method according to claim 5, characterized in that The method further comprises: In a case where the number of the coordinate points is greater than a preset value of the number of preset coordinate points of the via hole, determining that the via hole is an irregular via hole; Irregular via hole information is generated and output according to the coordinate points of the irregular via holes.
7. A device for adding vias to an integrated circuit layout, characterized in that: The device comprises: A design rule checking module is used to perform a design rule check on the integrated circuit layout according to preset via structure data to obtain design rule checking result data; A data analysis module, used for analyzing the design rule check result data to obtain the target metal layer lacking vias and the size data of the vias to be added in the target metal layer; A via array generation module, used to calculate the number of rows and columns of vias to be added according to the size data of vias to be added, and generate array data of vias to be added according to the number of rows and columns; A via adding module adds the vias to be added to the integrated circuit layout according to the via array data to be added by using a preset via adding function.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Cited By
Design rule checking method and related equipment
CN119443041A
A design rule checking method and related equipment
CN119443041B
Automatic layout wiring method, system, equipment, medium and product
CN120850938A
Method for quickly solving plane segmentation of via in multi-layer integrated circuit board
WO2026098035A1
