Filler insertion method, computer equipment and storage medium
By screening and arranging fillers for the gaps in each row in the chip design layout, and generating and checking insertion plans, the problem in the existing technology that adding fillers may violate design constraints is solved, and layout efficiency and user experience are improved.
Patent Information
- Application Number
- CN202410747033.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-11
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-06-11
AI Technical Summary
In the process of adding fillers in the prior art, the problem is usually simplified to adding fillers based on rows, resulting in the overall fillers or functional modules of other rows possibly violating multiple design constraints, affecting layout efficiency and user experience.
By filtering fillable fillers according to width for each row of gaps in the chip design layout, multiple insertion plans are generated, and rule checks are performed on each plan to determine the target plan for filler insertion and avoid post-processing adjustments.
It improves the overall layout efficiency and user experience, ensuring that no further adjustments are needed after the filler is inserted to meet design constraints.
Smart Images

Figure CN118761377A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of chip layout planning, and in particular to a filler insertion method, a computer device and a storage medium. Background Art
[0002] Electronic Design Automation (EDA) refers to a design method that uses computer-aided design (CAD) software to complete the functional design, synthesis, verification, physical design (including layout, routing, layout, design rule checking, etc.) of very large-scale integrated circuit (VLSI) chips.
[0003] Among them, after completing the layout of the functional modules, fillers are generally inserted into the gaps between the functional modules. However, in the related art, the filler addition method usually simplifies the problem into row-based filler addition, treating blank gaps of different widths as substructures, thereby constructing a dynamic programming model to solve this problem. This method can only consider fillers within a row and between adjacent rows, but after the filler is added, it will cause the fillers or functional modules of other rows as a whole to violate multiple design constraints. Post-processing is usually required to solve these design violations, which seriously affects the overall layout efficiency and reduces the user experience. Summary of the invention
[0004] In view of this, the present application proposes a filler insertion method, a computer device and a storage medium to solve or partially solve the above-mentioned problems.
[0005] Based on the above objectives, in a first aspect, the present application provides a filler insertion method, comprising: Obtain chip design layout; Determine any row according to the chip design layout, determine any gap in the row and a first width of the gap; Screening a preset first set according to the first width to generate a second set; wherein the first set is a set of attribute data including at least one filler; Arrange and combine the fillers in the second set according to the first width to generate at least one insertion scheme; Performing rule checking on the at least one insertion scheme according to a preset rule table; According to the inspection result, a target solution corresponding to the gap in the at least one insertion solution is determined, so as to complete the insertion of the filler in the gap through the target solution.
[0006] In a second aspect of the present application, a computer device is provided, comprising one or more processors, a memory; and one or more programs, wherein the one or more programs are stored in the memory and executed by the one or more processors, and the program includes instructions for executing the method described in the first aspect.
[0007] According to a third aspect of the present application, a non-volatile computer-readable storage medium containing a computer program is provided. When the computer program is executed by one or more processors, the processors execute the method described in the first aspect.
[0008] As can be seen from the above, the present application provides a filler insertion method, a computer device and a storage medium. The present application first screens the fillers that can be filled in any gap in each row of the chip design layout according to the width, arranges the screened filler set, generates multiple insertion schemes that meet the filling conditions, and then directly checks the rules for each insertion scheme in turn to complete the determination of the insertion scheme. Since the corresponding rule check is directly performed each time, after the overall filler insertion is completed, it is no longer necessary to perform further adjustments through post-processing, which ultimately improves the overall layout efficiency and improves the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] 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 embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0010] Figure 1 A schematic diagram of the hardware structure of an exemplary computer device provided in an embodiment of the present application is shown.
[0011] Figure 2 A basic structural diagram of an EDA tool according to an embodiment of the present application is shown.
[0012] Figure 3 A schematic diagram showing a basic execution flow of a calculation command of an EDA tool according to an embodiment of the present application is shown.
[0013] Figure 4 A flow chart of an exemplary method provided according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0014] In order to make the purpose, technical solutions and advantages of this specification more clear, this specification is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.
[0015] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present application should be understood by people with ordinary skills in the field to which the present application belongs. The "first", "second" and similar words used in the embodiments of the present application do not represent any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements, objects or method steps appearing before the word cover the elements, objects or method steps listed after the word and their equivalents, without excluding other elements, objects or method steps. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0016] Figure 1 The schematic diagram of the structure of a computer device 100 provided in an embodiment of the present application is shown. The computer device 100 may include: a processor 102, a memory 104, a network interface 106, a peripheral interface 108 and a bus 110. The processor 102, the memory 104, the network interface 106 and the peripheral interface 108 are connected to each other in communication within the device through the bus 110.
[0017] Processor 102 may be a central processing unit (CPU), an image processor, a neural network processor (NPU), a microcontroller (MCU), a programmable logic device, a digital signal processor (DSP), an application specific integrated circuit (ASIC), or one or more integrated circuits. Processor 102 may be used to perform functions related to the technology described in this application. In some embodiments, processor 102 may also include multiple processors integrated into a single logical component. Figure 1 As shown, the processor 102 may include a plurality of processors 102a, 102b, and 102c.
[0018] The memory 104 may be configured to store data (eg, instruction sets, computer codes, intermediate data, etc.). Figure 1As shown, the stored data may include program instructions (e.g., program instructions for implementing the technical solution of the present application) and data to be processed. The processor 102 may also access the stored program instructions and data, and execute the program instructions to operate on the data to be processed. The memory 104 may include a volatile storage device or a non-volatile storage device. In some embodiments, the memory 104 may include a random access memory (RAM), a read-only memory (ROM), an optical disk, a magnetic disk, a hard disk, a solid-state drive (SSD), a flash memory, a memory stick, etc.
[0019] The network interface 106 can be configured to provide the computer device 100 with communication with other external devices via a network. The network can be any wired or wireless network capable of transmitting and receiving data. For example, the network can be a wired network, a local wireless network (e.g., Bluetooth, WiFi, near field communication (NFC), etc.), a cellular network, the Internet, or a combination thereof. It is understood that the type of network is not limited to the above specific examples. In some embodiments, the network interface 106 can include any number of network interface controllers (NICs), radio frequency modules, transceivers, modems, routers, gateways, adapters, cellular network chips, etc., in any combination.
[0020] The peripheral interface 108 may be configured to connect the computer device 100 to one or more peripheral devices to implement information input and output. For example, the peripheral devices may include input devices such as a keyboard, a mouse, a touch pad, a touch screen, a microphone, and various sensors, and output devices such as a display, a speaker, a vibrator, and an indicator light.
[0021] The bus 110 may be configured to transmit information between various components of the computer device 100 (e.g., the processor 102, the memory 104, the network interface 106, and the peripheral interface 108), such as an internal bus (e.g., a processor-memory bus), an external bus (USB port, PCI-E bus), etc.
[0022] It should be noted that, although the above device only shows the processor 102, the memory 104, the network interface 106, the peripheral interface 108 and the bus 110, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiment of the present application, and does not necessarily include all the components shown in the figure.
[0023] Figure 2 A basic structural diagram of an EDA tool 200 according to an embodiment of the present application is shown.
[0024] like Figure 2As shown, the part above the dotted line is the user part; the part below the dotted line is the EDA tool 200, which can be Figure 1 The device 100 shown is implemented. In some embodiments, the EDA tool 200 can be implemented as EDA software. More specifically, the EDA tool 200 can be software for performing placement and routing based on chip design. The simulation tool 200 may include a Tcl command (or a graphic / window interface) module 204, various calculation modules (e.g., a Place calculation module 206, a Route calculation module 208, an Optimization calculation module 210, etc.) and a database system 212. The user 202 can operate the EDA tool 200 by entering relevant commands in the Tcl command (or graphic / window interface) module 204.
[0025] The Tcl command module 204 mainly performs the functions of message transmission or command transmission. The Tcl command module 204 can read the instructions input by the user 202 to the simulation tool 200, and can distribute and transmit the instructions to the corresponding computing modules to perform specific tasks according to the specific contents of the instructions.
[0026] According to different computing tasks, each computing module can be divided into, for example, a Place computing module 206, a Route computing module 208, an Optimization computing module 210, etc. The Place computing module 206 can be used to calculate a reasonable placement position for all components, the Route computing module 208 can be used to calculate a reasonable wire connection method between each component, and the Optimization computing module 210 can be used to optimize the placement position and wire connection method between each component. The computing process of these computing modules can be, for example, Figure 1 is performed in the processor 102.
[0027] The database system 212 can be used to completely and comprehensively record and store all information of the chip being simulated or designed (such as location, direction, size, structure, wire connection method, etc.). This information, for example, can be stored in Figure 1 in the memory 104.
[0028] Figure 3 FIG. 3 shows a basic execution flow 300 of a calculation command of an EDA tool 200 according to an embodiment of the present application. Figure 3As shown, in step 302, the user 202 can issue a command (e.g., do_place command) to the EDA tool 200 through the command interface or graphical user interface (GUI) provided by the Tcl command module 204. Then, in step 304, the Tcl command module 204 parses this command and distributes it to the corresponding calculation module (e.g., Place calculation module 206). In step 306, each calculation module performs the specific calculation required by each. During this period, as shown in step 308, each calculation module needs to (high frequency, repeatedly) retrieve data from the database system 212 for calculation. After the calculation is completed, as shown in step 310, each calculation module can write the calculation result into the database system 212 and return the calculation result to the Tcl command module 204. In step 312, the Tcl command module 204 returns the calculation result to the user 202 through the command interface or graphical user interface (GUI), and the EDA tool 200 ends the processing process of a calculation command. In step 314, the user can evaluate according to the calculation result and then determine the next plan.
[0029] In the design of integrated circuits in related technologies, filler insertion is an important step, the main purpose of which is to optimize the layout of the chip to meet specific design rules and restrictions. The following are several main reasons for filler insertion: (1) Improving layout compatibility: The addition of filler cells helps ensure that the design complies with various physical and process rules in the manufacturing process, such as lithography, etching, etc., thereby improving layout compatibility. (2) Reducing wiring delay: By adding an appropriate number of filler cells in the chip layout, the length of the wiring path can be reduced, thereby reducing the delay of signal transmission and improving chip performance. (3) Optimizing power consumption and electrical characteristics: The addition of filler cells can improve the electrical characteristics of the chip, such as capacitance and resistance, thereby optimizing power consumption and signal integrity. (4) Improving thermal management: Filler cells help optimize the thermal management of the chip, by increasing the surface area and improving heat dissipation efficiency, reducing the operating temperature of the chip and extending the service life of the chip. (5) Complying with design rules: In chip design, the addition of filler cells helps ensure that the design complies with specific design rules and standards, such as the requirements of the wafer foundry. (6) Improve electromagnetic compatibility: The reasonable layout of the filling cells can reduce electromagnetic interference and noise, improve the electromagnetic compatibility of the chip, and reduce signal interference in the system. In summary, adding filling cells to the design can improve the performance, reliability and manufacturing feasibility of the chip in all aspects, thus playing an important role in integrated circuit design.
[0030] Afterwards, as described in the background technology, the filler addition method usually simplifies the problem into row-based filler unit addition, treating blank gaps of different widths as substructures, thereby constructing a dynamic programming model to solve this problem. This setting will encounter the problems described in the background technology, and the method only seeks to fill the chip blank gaps without considering the type of filler unit, for example, it is slightly insufficient when seeking to add more decoupling circuit units to meet power integrity. As chips develop to advanced process nodes, this method cannot be well expanded to meet more and more complex design constraints, and its scalability is poor.
[0031] In view of this, the present application proposes a filler insertion scheme. The present application first screens the fillers that can be filled in any gap in each row of the chip design layout according to the width, arranges the screened filler set, generates multiple insertion schemes that meet the filling conditions, and then directly performs rule checks on each insertion scheme in turn to complete the determination of the insertion scheme. Since the corresponding rule checks are directly performed each time, after the overall filler insertion is completed, there is no need for further adjustment through post-processing, which ultimately improves the overall layout efficiency and improves the user experience.
[0032] Figure 4 FIG. 4 is a flow chart of an exemplary method 400 provided in an embodiment of the present application. The method 400 may be Figure 1 The computer device 100 is implemented and can be implemented as Figure 2 A portion of the functionality of the EDA tool 200. Figure 4 As shown, the method 400 may further include the following steps.
[0033] Step 402, obtaining a chip design layout.
[0034] Generally, the chip design layout includes each layer structure of chip processing, specific transistor layout, wiring, routing, channel via interlayer connection position, etc. According to the chip design layout, the chip processing service provider can directly run and carry out batch processing and production of chips. Furthermore, the chip design layout itself is drawn step by step, accompanied by various optimizations, and finally the entire chip design layout is completed. In the early stage of the chip design layout, it may only indicate the functional information of the hierarchy, such as a certain layer is a routing layer, a certain layer is an insulation layer, etc.; or only various functional components are set, indicating the position, size and other information of each functional component. After that, EDA tools are used to carry out step-by-step design and optimization, and finally form a complete version of the chip design layout. In this step, because it involves the filler insertion process, the chip design layout may still be a relatively initial version, which only contains relatively early data such as chip hierarchy relationship, hierarchy function, and design position of standard units (generally functional unit cell, port FTerm, etc.). In specific application scenarios, initial data information such as hierarchical structure and component position can be obtained through the DEF (Design Exchange File, physical information of the design library) file and / or LEF (Library Exchange File, physical information of the process library) file of the chip design layout.
[0035] Afterwards, in this step, the chip design layout can be local (for example, the entire design layout is divided into a large number of sub-areas) or overall.
[0036] Step 404 , determining any row according to the chip design layout, and determining any gap in the row and a first width of the gap.
[0037] In this step, when designing the chip, the chip design board Figure 1 Generally, each layer is arranged in rows or columns. In the chip design layout that completes the layout of standard cells, the standard cells therein will also be laid out row by row as much as possible, and then each row will be determined in the chip design layout. For any row, since the standard cells that have completed the layout are not necessarily close together, gaps will be formed between these standard cells. In this embodiment, one of the gaps is used as an object for explanation, and the other gaps in this row and the gaps in other rows can be implemented by repeating this embodiment. Of course, this embodiment can also be implemented on multiple rows or for multiple gaps at the same time.
[0038] After the gap is determined, the width of the gap (i.e., the first width) needs to be further determined. The width here can be marked using metric units, such as a gap width of 10μm, etc., or it can be marked in standard units of chip design. The unit can be a unit size generally recognized in chip design, such as an A standard unit of 1 unit length, and a B standard unit of 2 units length. This can also be used to describe the gap width, such as the width of a C gap of 10 units length, etc.
[0039] Step 406: Screening a preset first set according to the first width to generate a second set; wherein the first set is a set of attribute data including at least one filler.
[0040] In this step, the first set is the initial set that carries all fillers, and the specific fillers can be set in the early stage according to the specific scenario. At the same time, some basic attribute data of each filler can also be obtained through the first set, such as the length of the filler, which units the filler can be connected to, etc. It should be noted that the fillers here can include multiple types, and each structure that can become a filler can be added to the first set, such as a decoupling circuit unit, etc.
[0041] After that, it is necessary to use the first width to filter the first set to obtain the second set. Here, the selection of fillers in chip design is explained first. For a gap, first, it is necessary to be able to completely fill the gap, and then as little filler as possible is needed to fill it, and large fillers can be selected for filling first. For example, if there is a 10-unit gap with 10 units of filler, the priority is the highest, followed by a 9-unit filler plus a 1-unit filler, and so on. After that, according to the above filler selection rules, for the screening method, the first width can be used to search in the first set, and fillers that are equivalent to or close to the first width can be found as the second set. Of course, the closeness here needs to be less than the first width. For fillers greater than the first width, since they cannot be put into the gap at all, they can be directly discarded. In some embodiments, all fillers less than or equal to the first width can be filtered out from the first set to form the second set. That is, in some embodiments, the filtering in the preset first set according to the first width to generate the second set includes: filtering out fillers whose widths of fillers in the first set are less than or equal to the first width to generate the second set.
[0042] Afterwards, in some embodiments, after obtaining the second set, the second set can be further screened in a more detailed manner. It should be noted that the formation of a gap is generally formed because two standard cells need to be spaced apart during layout to meet the corresponding design rules. The standard cell here can be the aforementioned functional unit, which is used to implement the corresponding specific function in the chip. Furthermore, there are generally corresponding standard cells at both ends of a gap, and the filler generally needs to be connected to these standard cells, so that the second set can be further screened, and the fillers that cannot be connected to the standard cells at both ends of the gap can be screened out and removed. In this way, the second set can be more streamlined and the efficiency can be improved. That is, in some embodiments, after generating the second set, the method further includes: determining the standard cells at both ends of the gap according to the chip design layout, and determining the first attribute of the standard cell; and screening the second set again according to the first attribute to update the second set. The first attribute can be the connection attribute of the corresponding standard cell, etc., and the filler that cannot be connected to it in the original second set is removed by the connection attribute, so as to update the second set.
[0043] Step 408: Arrange and combine the fillers in the second set according to the first width to generate at least one insertion scheme.
[0044] Step 410: Perform a rule check on the at least one insertion scheme according to a preset rule table.
[0045] After the second set is generated in step 406, the fillers therein can be arranged and combined according to the first width. Here, all the filler insertion schemes that can be inserted into the gap (satisfying the first width) can be arranged by simple arrangement. It should be noted that due to different placement methods, the corresponding connection and detection methods may be different. For example, for a 9-unit plus a 1-unit insertion scheme, inserting 9 units first and inserting 1 unit first may have completely different effects. For the same filler, the "9+1" scheme and the "1+9" scheme are actually two insertion schemes. Finally, multiple insertion schemes that can be checked later are generated.
[0046] After the insertion plan is determined, rule checking can be performed. The design rule (Library Exchange Format, LEF rule) here usually refers to the restriction conditions of the digital circuit layout design rules provided by chip processing service providers and industrial software companies. Design rule check (Design Rule Check, DRC) usually means that the chip processing service provider requires the designed chip design layout to meet the specified restriction conditions due to the limitations of the manufacturing process. The design rule check is a check during the design process to see whether the chip design layout meets the restriction conditions. In this embodiment, the corresponding design rule check is performed on each filler in the gap in the chip design layout.
[0047] In some embodiments, in order to facilitate recording and display, a deep traversal algorithm of a tree structure can be used to perform an insertion scheme, so that the multiple insertion schemes finally formed can also be displayed or determined by using a tree structure. Here, a deep traversal algorithm is an algorithm for traversing or searching a tree or graph, which is implemented by recursion or stack. It starts from an unvisited vertex and walks along the edge of the current vertex to the unvisited vertex until all vertices have been visited. The arrangement method can be, which fillers are inserted in the first step, as the first row of parent nodes of the tree structure; then, for one of the parent nodes, after the filler of the parent node, which fillers can be inserted in the second step, can be used as the child nodes of the parent node; and so on, finally forming a tree structure. That is, in some embodiments, the fillers in the second set are arranged and combined according to the first width to generate at least one insertion scheme, including: based on the second set, using a deep traversal algorithm to generate at least one insertion scheme that meets the first width, wherein the at least one insertion scheme is represented by a tree structure.
[0048] Afterwards, in some embodiments, in the process of generating the insertion scheme, since each selection is made from the second set, a situation may occur, for example, after selecting an 8-unit filler in the first step, it is necessary to continue to select in the second set to fill the entire 10-unit gap. It can be seen that only 2 units or 1 unit of fillers are needed here, but there are a large number of fillers of other lengths in the second set selected this time, which will affect the selection efficiency. Then, the second set can be further screened and updated again according to the remaining width. That is, in some embodiments, the fillers in the second set are arranged and combined according to the first width to generate at least one insertion scheme, including: when generating any of the insertion schemes, in response to selecting any filler in the second set to insert into the gap, determining the remaining second width of the gap, and screening the second set again according to the second width to update the second set. Among them, the second width is the remaining width of the gap. For example, if an 8-unit filler or a 5-unit and a 3-unit filler have been selected before, the second width is 2 units.
[0049] Afterwards, in some embodiments, according to the aforementioned rules for filling gaps with fillers, in some scenarios, it is more desirable to give priority to filling fillers with longer lengths, so that the fillers in the second set can be arranged and prioritized. For example, they can be arranged from long to short, and the insertion scheme containing longer fillers is output first. For example, the insertion scheme of "9+1" or "1+9" is output first, the insertion scheme of "8+2" or "2+8" is output second, and the insertion scheme of "8+1+1" or "1+8+1" or "1+1+8" is output third. That is, in some embodiments, the arrangement and combination of the fillers in the second set according to the first width to generate at least one insertion scheme includes: determining the third width of the fillers in the second set, arranging the fillers in the second set according to the third width, and determining the priority of the at least one insertion scheme according to the arrangement order. The third width is the length of the filler, and the priority can be understood as the priority of the rule check. The higher the priority, the earlier the rule check is performed, and the insertion of the filler only requires an insertion scheme that meets the rule check, so the higher the priority, the earlier it is checked, and the easier it is to become the final insertion scheme. That is, in some embodiments, the rule check of the at least one insertion scheme according to the preset rule table includes: according to the priority, the rule check of the at least one insertion scheme is performed sequentially.
[0050] Step 412: Determine a target solution corresponding to the gap in the at least one insertion solution according to the inspection result, so as to complete the insertion of the filler in the gap through the target solution.
[0051] The result of the rule check is generally divided into pass and fail. For the passed solution (i.e., the target solution), the corresponding insertion solution can be directly used as the final filler of the gap, and the filler insertion method recorded in the solution can be finally inserted.
[0052] For those that fail the check, it is necessary to continue to determine the next insertion plan and re-check, and repeat the process until the check passes and the target plan is selected, or all fail. That is, in some embodiments, determining the target plan corresponding to the gap in the at least one insertion plan according to the check result includes: in response to failing to pass the rule check, determining the next insertion plan of the current insertion plan, and re-checking the rule for the next insertion plan until the target plan that can pass the rule check is selected.
[0053] In some embodiments, according to the above-mentioned embodiment, the insertion scheme is presented by using a tree structure. After the entire tree structure is determined, it is generally recorded and stored to facilitate the rollback of the scheme. Based on the tree structure itself, it can be determined that the tree branch to which the current insertion scheme belongs is unavailable, and the next branch is determined accordingly. For example, the first-level node of a tree structure is a 7-unit filler a1, and the child nodes of the node, that is, the second-level nodes, are two 2-unit fillers b1 and b2. Then, the child nodes of the second-level node b1, that is, the third-level nodes, are three 1-unit fillers c1, c2 and c3. When the insertion scheme "a1-b1-c1" does not pass the rule check, the next branch "a1-b1-c2" of the branch is selected as the object of the next rule check according to the tree structure. That is, in some embodiments, in response to the at least one insertion scheme being represented by a tree structure; the determination of the next insertion scheme of the current insertion scheme includes: determining the next insertion scheme according to the preset branch arrangement order in the tree structure and according to the branch where the current insertion scheme is located.
[0054] Finally, in some embodiments, in order to further speed up the overall efficiency, after completing the determination of each target solution, the correspondence between the target solution and the gap can be determined, and these correspondences can be statistically analyzed, and then similar correspondences can be summarized by using machine learning algorithms and other methods, so that when similar gaps are encountered later, the corresponding insertion solutions can be set and checked first. For example: there are multiple 10-unit gaps, and the standard units at both ends are also standard units a and standard units b. The insertion solutions are all a "7+3" filler insertion solution. Then, through machine learning, when similar gaps are encountered again, this "7+3" filler insertion solution can be set and checked as the most prioritized solution. That is, in some embodiments, after determining the target solution corresponding to the gap in the at least one insertion solution, the method further includes: establishing the correspondence between the target solution and the gap, and generating a third set by collecting the correspondence of each gap; using the third set to train the machine learning algorithm to adjust the priority of the at least one insertion solution according to the output of the machine learning algorithm. Among them, the third set is a set that records these correspondences, and is also a training set of the machine learning algorithm.
[0055] As can be seen from the above, the embodiment of the present application adopts a tree-structured filler adding method to solve the row-based filler adding problem, and models the filler adding problem into a model that uses a tree structure to search the solution space. The tree structure has the characteristic of easy access to the rear-drive node. By using the traversal method of the tree structure and the prediction of the remaining blank space of the rear-drive node, a more reasonable filler unit can be added. At the same time, the tree structure has a memory function that is more conducive to updating and saving. If the filler unit in the current row itself or with the filler units of other nearby rows produces a design violation, the saved tree structure can be used to restore the scene, correct the filler design violation, and perform a method of adding multiple rows at the same time to ensure that the filler units of all rows meet the design requirements. In addition, using the filler adding method of the tree structure, the depth traversal of the tree can be used to pursue the addition of more decoupling circuit filler units to better meet the power integrity requirements of the chip. Finally, for different design constraints, the pruning method of the tree structure can be used to shorten the filler adding time and make the algorithm converge quickly.
[0056] Finally, in a specific application scenario, first, for gaps of different widths, a suitable filler set (filler cell class) is preliminarily screened out, i.e., the second set. Each filler cell class is a filler cell set. After that, different filler gap patterns are identified, mainly including standard cells around the left side and standard cells around the right side. Filler sets suitable for different gap patterns are further screened out from the filler cell class. Here, the updated filler set can be named filler cell sub-class. Finally, a deep traversal algorithm in a tree structure is used to insert fillers.
[0057] Among them, the insertion of fillers for the deep traversal algorithm mainly includes: (1) It is necessary to consider the number of white spaces remaining after adding a filler cell each time, so it is necessary to select the most suitable filler cell from the filler cell sub-class with the highest priority. It can be understood as a further screening of the filler cell sub-class. (2) Use the deep traversal algorithm of the tree structure to add fillers, and after the addition is completed, the tree structure is still remembered until the end of the program life. (3) Due to the need to meet multiple design requirements, it is necessary to perform a legality check around the added filler cell. (4) If a design violation occurs, the tree structure is restored according to the memory, and the violation is repaired on the spot.
[0058] Finally, the filler gap patterns between different rows can be combined and classified to form a pattern cluster class. A suitable model can be trained using a machine learning algorithm. The model can be used to add fillers based on the pattern cluster class, which can meet user needs more quickly.
[0059] From the above embodiments, it can be seen that the embodiments of the present application provide a filler insertion method. The present application first screens the fillers that can be filled in according to the width for any gap in each row of the chip design layout, arranges the screened filler set, generates multiple insertion schemes that meet the filling conditions, and then directly performs rule checks on each insertion scheme in turn to complete the determination of the insertion scheme. Since the corresponding rule checks are directly performed each time, after the overall filler insertion is completed, there is no need for further adjustment through post-processing, which ultimately improves the overall layout efficiency and improves the user experience.
[0060] It should be noted that the method of the embodiment of the present application can be performed by a single device, such as a computer or server. The method of the embodiment of the present application can also be applied to a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present application, and the multiple devices will interact with each other to complete the described method.
[0061] It should be noted that the above describes specific embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0062] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments, the present application also provides a non-volatile computer-readable storage medium containing a computer program, wherein the non-volatile computer-readable storage medium containing a computer program stores computer instructions, and the computer instructions are used to enable the computer to execute method 400 described in any of the above embodiments.
[0063] The computer-readable storage medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.
[0064] The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the method 400 described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0065] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments, the present application also provides a computer program product, which includes a computer program. In some embodiments, the computer program is executable by one or more processors so that the processors execute the described method 400. Corresponding to the execution subject corresponding to each step in each embodiment of the method 400, the processor that executes the corresponding step may belong to the corresponding execution subject.
[0066] The computer program product of the above embodiment is used to enable the processor to execute the method 400 described in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.
[0067] A person skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application (including the claims) is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.
[0068] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present application difficult to understand, the known power / ground connections to the integrated circuit (IC) chip and other components may or may not be shown in the provided drawings. In addition, the device may be shown in the form of a block diagram to avoid making the embodiments of the present application difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform on which the embodiments of the present application are to be implemented (that is, these details should be fully within the scope of understanding of those skilled in the art). Where specific details (e.g., circuits) are set forth to describe exemplary embodiments of the present application, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details or with changes in these specific details. Therefore, these descriptions should be considered illustrative rather than restrictive.
[0069] Although the present application has been described in conjunction with specific embodiments of the present application, many alternatives, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the discussed embodiments.
[0070] The embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the scope of protection of the present application.
Claims
1. A method for inserting a filler, It is characterized in that include: Obtain chip design layout; Determine any row according to the chip design layout, determine any gap in the row and a first width of the gap; Screening a preset first set according to the first width to generate a second set; wherein the first set is a set of attribute data including at least one filler; Arrange and combine the fillers in the second set according to the first width to generate at least one insertion scheme; Performing rule checking on the at least one insertion scheme according to a preset rule table; According to the inspection result, a target solution corresponding to the gap in the at least one insertion solution is determined, so as to complete the insertion of the filler in the gap through the target solution.
2. The method according to claim 1, It is characterized in that After generating the second set, the method further includes: Determine the standard cells at both ends of the gap according to the chip design layout, and determine the first attribute of the standard cells; The second set is screened again according to the first attribute to update the second set.
3. The method according to claim 1, It is characterized in that The step of arranging and combining the fillers in the second set according to the first width to generate at least one insertion scheme includes: Based on the second set, a depth traversal algorithm is used to generate the at least one insertion solution that meets the first width, wherein the at least one insertion solution is represented by a tree structure.
4. The method according to claim 1, It is characterized in that The step of arranging and combining the fillers in the second set according to the first width to generate at least one insertion scheme includes: When any of the insertion schemes is generated, in response to selecting any filler in the second set to be inserted into the gap, a second width remaining for the gap is determined, and the second set is screened again according to the second width to update the second set.
5. The method according to claim 1, It is characterized in that The step of arranging and combining the fillers in the second set according to the first width to generate at least one insertion scheme includes: Determine a third width of the fillers in the second set, arrange the fillers in the second set according to the third width, and determine the priority of the at least one insertion scheme according to the arrangement order.
6. The method according to claim 5, It is characterized in that The performing rule checking on the at least one insertion scheme according to a preset rule table includes: The rule checking is performed on the at least one insertion scheme in sequence according to the priority.
7. The method according to claim 1, It is characterized in that The step of determining, according to the inspection result, a target solution corresponding to the gap in the at least one insertion solution comprises: In response to failure to pass the rule check, a next insertion scheme of the current insertion scheme is determined, and the rule check is performed again on the next insertion scheme until the target scheme that can pass the rule check is selected.
8. The method according to claim 7, It is characterized in that In response to the at least one insertion scheme being represented by a tree structure; The step of determining a next insertion scheme of the current insertion scheme includes: In the tree structure, according to a preset branch arrangement order and according to the branch where the current insertion scheme is located, the next insertion scheme is determined.
9. The method according to claim 1, It is characterized in that After determining the target solution corresponding to the gap in the at least one insertion solution, the method further includes: Establishing a correspondence between the target solution and the gap, and generating a third set by collecting the correspondence of each gap; The machine learning algorithm is trained using the third set to adjust the priority of the at least one insertion scheme according to the output of the machine learning algorithm.
10. The method according to claim 1, It is characterized in that The step of screening a preset first set according to the first width to generate a second set includes: The fillers in the first set whose width is less than or equal to the first width are screened out to generate the second set.
11. A computer device comprising one or more processors, a memory; and one or more programs, wherein the one or more programs are stored in the memory and executed by the one or more processors, and the programs include instructions for executing the method according to any one of claims 1 to 10.
12. A non-volatile computer-readable storage medium containing a computer program, which, when executed by one or more processors, causes the processors to perform the method of any one of claims 1 to 10.
Citation Information
Patent Citations
Method and device for filling redundant metal in chip, chip and semiconductor device
CN115939127A
Chip manufacturing method, chip, manufacturing device, electronic equipment and medium
CN116227406A
Chip packaging structure, packaging method thereof and electronic equipment
CN118116878A
Fill techniques for avoiding boolean DRC failures during cell placement
US20210064719A1
Correct-by-construction filler cell insertion
US20230169256A1
