Method for relieving on-chip voltage drop by reserving low-layer metal wiring resources in power supply network
By reserving low-layer metal wiring resources in the chip layout and clock tree synthesis stage, and flexibly enabling them in the later stage based on the voltage drop analysis results, the voltage drop exceeds the standard caused by low-layer metal wiring resistance is solved, and the reliability and design flexibility of the chip power supply network are improved.
Patent Information
- Application Number
- CN202510229417.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-28
- Publication Date
- 2025-06-10
- Estimated Expiration
- 2045-02-28
AI Technical Summary
In modern integrated circuit design, the resistance of low-layer metal wiring is large, causing the voltage drop to exceed the design specifications, affecting chip performance, and may even lead to functional failure.
In the chip layout and clock tree synthesis stage, low-level metal wiring resources are reserved for power supply tracks of adjacent standard units, and these resources are flexibly enabled in the later stage based on the actual voltage drop analysis results.
By reserving and flexibly enabling low-layer metal wiring resources, the voltage drop problem caused by excessive low-layer metal resistance can be effectively alleviated without changing the original design, improve the robustness and reliability of the power supply network, and reduce the risk of design iteration.
Smart Images

Figure CN120124585A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of integrated circuits, and particularly to a method for reserving low-layer metal wiring resources in a power network to alleviate in-chip voltage drop. Background Art
[0002] In modern integrated circuit design, with the continuous improvement of chip complexity and the continuous miniaturization of the manufacturing process, power integrity issues have gradually become a major challenge in the design. Especially in the full-chip voltage drop (IR Drop) analysis in the later stage of the chip, it is usually found that the resistance of the low-layer metal wiring is relatively large, resulting in the voltage drop exceeding the design specification. If this problem is not solved in time, it may cause a decline in chip performance, functional failure, or even abnormal operation. With the continuous development of the integrated circuit process, voltage drop has become an issue that must be considered in the design of the chip power supply network. Research shows that a 5% voltage drop will cause a more than 15% unit delay.
[0003] In the existing design process, when the low-layer metal wiring resources are exhausted and the voltage drop exceeds the standard, the commonly adopted methods include the following: replacing the standard cell type: selecting a standard cell with lower current consumption or higher driving ability. However, this method may affect other design parameters, such as area and delay. Reducing the standard cell density: reducing the cell density to reduce the local current consumption, but this will increase the chip area and affect the performance. Inserting decoupling capacitors: increasing the number and capacitance density of decoupling capacitors in key areas to alleviate the dynamic voltage drop, but this method is often limited by the area in key modules with a dense standard cell layout, or the capacitance density of the decoupling capacitors themselves cannot meet the requirements. Optimizing the power network: such as thickening the high-layer metal wiring or adding additional power network resources, but it is often limited by the process design rules and cannot fully optimize the low-layer power wiring.
[0004] The above methods all have significant design costs. Especially in the later stage of chip design, modifying these contents may require re-layout and wiring as well as multiple iterative verifications. This not only increases the design complexity and time cost, but also may seriously affect the on-time delivery of the chip. It can be seen that in the traditional design process, due to power integrity issues, high-cost and high-risk operations such as standard cell replacement, cell density reduction, or re-layout and wiring are required. The chip improvement methods of the existing technology are greatly limited, the yield rate is not high, and the design is very complex. Summary of the Invention
[0005] The object of the present invention is to provide a method for alleviating on-chip voltage drop by reserving low-layer metal wiring resources in a power network. During the layout and routing and clock tree synthesis stages, low-layer metal wiring resources are reserved for connecting the power supply rails of adjacent standard cells, so that in the later stage of chip design, by flexibly enabling these reserved wiring resources, the problem of excessive voltage drop caused by too large resistance of low-layer metal can be effectively alleviated.
[0006] A method for alleviating on-chip voltage drop by reserving low-layer metal wiring resources in a power network, comprising: Reserving a deployment area for bottom-layer metal resources during the chip layout stage; Modifying the deployment area; After the routing is completed, using the metal resources in the deployment area according to the chip analysis results.
[0007] Preferably, the reserving a deployment area for bottom-layer metal resources during the chip layout stage includes: During the chip layout stage, analyzing the chip power consumption; Taking the high-voltage drop area with relatively obvious voltage drop as a marked area according to the analysis results; In the marked area, adding short metals for short-circuiting the power supply rails of standard cells on the low-layer metal layer according to a preset density and arrangement; Performing a physical design rule check on the layout.
[0008] Preferably, the modifying the deployment area includes: During the clock tree synthesis stage, analyzing the power consumption distribution through a switching activity file or a global switching activity, and modifying the marked area; In the modified marked area, optimizing the short metals for short-circuiting the power supply rails of standard cells according to a specified density and arrangement; Performing a physical design rule check on the layout, and removing the parts that cause physical design rule violations.
[0009] Preferably, the using the metal resources in the deployment area according to the chip analysis results after the routing is completed includes: After the routing is completed, using a voltage drop sign-off tool to perform a voltage drop analysis on the chip; According to the voltage drop analysis results, screening out the high-resistance and high-voltage drop violation points located in the metal layer where the reserved short metals are located and the lower metal layers; Searching for available reserved short metals according to the violation points, and establishing an actual physical connection by punching through holes between the short metals and the power supply rails of the lower-layer standard cells to reduce the local metal resistance; After the dynamic connection is completed, performing a physical design rule check and removing the newly generated violations during the connection process.
[0010] Preferably, after using the metal resources in the deployment area according to the chip analysis results after the wiring is completed, it further includes evaluating the chip, specifically: After the dynamic connection is completed, run the voltage drop sign-off tool to analyze the corrected voltage drop distribution, quantify the voltage drop improvement effect, and record the specific benefits; Supplement and repair the remaining voltage drop violations; After all optimization steps are completed, perform a final voltage drop sign-off on the entire chip to verify the stability of the overall power network and the design reliability.
[0011] Preferably, the physical design rule check for the layout includes: Define the core area and the peripheral area of the chip; Verify whether the power supply plan and the IO plan of the peripheral area are qualified; Verify whether the timing and logic of the core area are qualified; Verify whether the areas of the core area and the peripheral area are qualified.
[0012] Preferably, the step of taking the high voltage drop area with relatively obvious voltage drop as the marked area according to the current distribution includes: Calculate the voltage drop standard parameter according to the working condition of the chip; Compare the voltage drop of each area in the chip with the voltage drop standard parameter; If the positive difference between the voltage drop of the area and the voltage drop standard parameter exceeds the threshold, take the current area as the marked area.
[0013] Preferably, the analysis of the chip power consumption in the chip layout stage includes: Equivalent each standard cell to a constant current source, and calculate the average power consumption of the current standard cell according to the number of input pins, output pins, the energy consumption of input pins and output pins, the frequency of input and output signal state changes, and the capacitance of the output pins; Calculate the average current according to the average power consumption.
[0014] A power network reserved low-layer metal wiring resource system for alleviating on-chip voltage drop, comprising: A reserved area deployment module, used to reserve a deployment area for the low-layer metal resources in the chip layout stage; A reserved area correction module, used to correct the deployment area; A reserved area enabling module, used to use the metal resources in the deployment area according to the chip analysis results after the wiring is completed.
[0015] An electronic device, comprising: a chip, a processor, and a memory, where the memory is used to store computer program code, and the computer program code includes computer instructions. When the chip executes the computer instructions, the electronic device executes the method for alleviating on-chip voltage drop by reserving low-level metal wiring resources in a power network.
[0016] The beneficial effects of the present invention are as follows: 1. The present invention effectively reserves low-level metal wiring resources for connecting the power supply rails of adjacent standard cells and flexibly enables these resources according to the actual voltage drop analysis results in the later stage; 2. Without changing the original design, the present invention can improve the chip voltage drop problem at a minimum cost, enhance the robustness and reliability of the power supply network, and ensure the chip design progress at the same time; 3. The present invention can avoid high-cost and high-risk operations such as standard cell replacement, reduction of cell density, or re-layout and wiring due to power integrity problems in the traditional design process, effectively improve the flexibility, reliability, and delivery efficiency of chip design, and reduce the risk of design iteration at the same time. Description of the Drawings
[0017] The drawings herein are incorporated into the specification and form a part of the specification, indicating the embodiments in line with the present invention, and are used together with the specification to explain the principles of the present invention.
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0019] Figure 1 It is a flowchart of the method for alleviating on-chip voltage drop by reserving low-level metal wiring resources in a power network according to the present invention; Figure 2 It is a schematic diagram of the final implementation structure according to the present invention; Figure 3 It is a schematic diagram of the hardware structure of an electronic device according to the present invention. Detailed Embodiments
[0020] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present invention.
[0021] It should be noted that all the directional indications (such as up, down, left, right, front, back...) in the embodiments of the present invention are only used to explain the relative positional relationship and movement conditions between components in a specific posture (as shown in the attached drawings). If the specific posture changes, the directional indications will also change accordingly.
[0022] In addition, the descriptions involving "first", "second", etc. in the present invention are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include at least one such feature. In addition, the technical solutions between various embodiments can be combined with each other, but it must be based on the ability of those of ordinary skill in the art to implement. When the combination of technical solutions results in contradictions or cannot be implemented, it should be considered that such a combination of technical solutions does not exist and is not within the protection scope required by the present invention.
[0023] Modifying these contents in the later stage of chip design may require re-layout and routing as well as multiple iterations of verification. This not only increases the design complexity and time cost, but also may seriously affect the on-time delivery of the chip. It can be seen that in the traditional design process, due to power integrity problems, high-cost and high-risk operations such as standard cell replacement, reduction of cell density, or re-layout and routing are required. The existing chip improvement methods are greatly restricted, with a low yield rate and complex designs.
[0024] The present invention effectively reserves low-level metal wiring resources for connecting the power supply rails of adjacent standard cells and flexibly enables these resources according to the actual voltage drop analysis results in the later stage; the present invention can improve the chip voltage drop problem in a way with minimal cost without changing the original design, enhance the robustness and reliability of the power supply network, and ensure the chip design progress at the same time; the present invention can avoid high-cost and high-risk operations such as standard cell replacement, reduction of cell density, or re-layout and routing due to power integrity problems in the traditional design process, effectively improve the flexibility, reliability, and delivery efficiency of chip design, and reduce the risk of design iteration at the same time.
[0025] Embodiment 1 A method for alleviating on-chip voltage drop by reserving low-level metal wiring resources in a power network, referring to Figure 1 , includes: S100, reserving a deployment area for low-level metal resources during the chip layout stage; The chip layout phase includes the following steps: Layout planning: The designer places large functional modules in different areas of the chip, determines connectivity, and decides which module should be placed next to what. At this stage, the modules have boundaries that divide the entire chip area into rough partitions, and then standard cells are placed as defined modules within each boundary. Placement: Determine the physical locations of the individual modules. This step is similar to an architect transforming an architectural design drawing into an actual building layout. The engineer designs the physical structure of the chip based on the optimized circuit logic layout, including the locations and connections of each logic gate. Routing: Connect the wires between the various modules. This step ensures a reasonable density distribution within the chip and that all connections between modules are correct. Density optimization: Ensure a reasonable density distribution within the chip to avoid space waste or poor connections. DRC / LVS check: Perform physical design rule checking (DRC) and layout versus schematic verification (LVS) to ensure that the designed physical structure complies with the design specifications and is consistent with the circuit description.
[0026] S200, modify the deployment area; The deployment area marked in the first step includes most of the high voltage drop risk areas, but there will still be some high voltage drop areas that are not identified or mislabeled. Therefore, the deployment area needs to be modified to further narrow the scope of the risk area and save chip area.
[0027] S300, use metal resources in the deployment area according to the chip analysis results after routing is completed.
[0028] The embodiment of the present invention provides a method for improving the voltage drop problem during the chip design process. Specifically, during the layout, routing, and clock tree synthesis phases, low-level metal wiring resources are reserved for connecting the power supply rails of adjacent standard cells. Thus, by flexibly enabling these reserved wiring resources in the later stage of chip design, the problem of excessive voltage drop caused by too large low-level metal resistance can be effectively alleviated. This method can avoid high-cost and high-risk operations such as standard cell replacement, reducing cell density, or re-layout and routing due to power integrity issues in the traditional design process, effectively improving the flexibility, reliability, and delivery efficiency of chip design, while reducing the risk of design iteration. Preferably, S100, the deployment area for reserving low-level metal resources in the chip layout phase includes: S110, analyze the chip power consumption during the chip layout phase; As the chip integration level increases, power system design becomes a challenge. Chips with high power consumption require more complex power networks to provide stable power supply, otherwise it will affect the stability and operating frequency of the chip. Chip power consumption mainly includes the following two parts: Static power consumption: including leakage power consumption and subthreshold current. Leakage power consumption is the power consumption generated by non-ideal leakage current, such as the tiny current when the MOS transistor is turned off; subthreshold current is the small amount of leakage current between the source and drain of the CMOS transistor in the cut-off state; Dynamic power consumption: including internal power consumption and switching power consumption. Internal power consumption is the power consumption generated by the charging and discharging of the transistor load; switching power consumption is the power consumption generated by the transistor load when the signal flips. Chip power consumption can reflect the voltage drop situation of the current cell, so by analyzing chip power consumption, it can be judged which areas have high voltage drop risks.
[0029] In the embodiment of the present invention, in the Place stage, using the Activity Factor File or the set global switching rate, power consumption distribution analysis is performed on the entire chip in the placement stage. By analyzing the current density and the load situation of the power supply rails, the areas where the voltage drop may be relatively high are identified. These areas are usually located in areas with higher cell density or higher clock switching frequency, and are potential weak points of the power supply network.
[0030] S120, taking the high voltage drop area with relatively obvious voltage drop as the marked area according to the analysis result; The present invention identifies potential high voltage drop areas with relatively obvious voltage drop according to the current distribution. These areas will be the key routing areas for reserved resources.
[0031] S130, within the marked area, according to the preset density and arrangement, short metals for short-circuiting the power supply rails of standard cells are added on the lower metal layer; In the identified key areas of the present invention, short metals for short-circuiting the power supply rails of standard cells are added on the lower metal layer according to the set density and arrangement. These short metals are designed to be in an unconnected state for flexible adjustment in subsequent stages.
[0032] S140, performing physical design rule checking on the layout.
[0033] After the short metals are arranged in the present invention, physical design rule checking (DRC) is performed. For short metals that do not conform to the process design rules (such as too close spacing or routing conflicts), they are corrected by means of adjustment or deletion to ensure that the layout meets the process requirements and legality.
[0034] Preferably, S200, the correction deployment area includes: S210, in the clock tree synthesis stage, performing power consumption distribution analysis through the Activity Factor File or the global switching rate to correct the marked area; In the clock tree synthesis (CTS) phase of the present invention, further analysis of the power consumption distribution is carried out through the switching rate file or the global switching rate, and the reserved areas identified in the layout phase are corrected to ensure that these areas more accurately reflect the potential high voltage drop risk.
[0035] S220. Optimize the short metals connecting the power supply rails of the standard cells in the corrected marked area according to the specified density and arrangement. In the corrected area of the present invention, short metals connecting the power supply rails of the standard cells are supplemented or optimized according to the specified density and arrangement, further improving the reserved layout of the low-layer metal resources. The present invention can design to reserve short metal connections on the low-layer metal according to the identified areas, and the short metals are used to connect the adjacent standard cell power supply rails. The short metals are arranged in a specific density and arrangement, such as in a regular grid or array arrangement, to ensure the coverage rate and uniformity of the resources. The short metals are not actually connected in the layout phase and are only reserved resources.
[0036] S230. Perform physical design rule checking on the layout and remove the parts that cause physical design rule violations.
[0037] Perform DRC checking on the layout again. For the newly added or adjusted short metals, remove the parts that cause physical design rule violations to ensure the legality of the layout. Because each adjustment to the circuit or layout may bring new violations, if physical design rule checking is not performed after modification, after multiple modifications, it may be difficult to solve the errors of the entire circuit or layout through ordinary corrections. If physical design rule checking is performed after each modification, not only is the area of each modification small, but also the error rate of the chip can be guaranteed to be low and it is easier to modify.
[0038] Preferably, S300. When using metal resources in the deployment area according to the chip analysis results after wiring, it includes: S310. After wiring is completed, use a voltage drop sign-off tool to perform voltage drop analysis on the chip. In the present invention, after wiring is completed, a voltage drop (IR Drop) sign-off tool is used to perform accurate voltage drop analysis on the chip.
[0039] S320. According to the voltage drop analysis results, screen out the high-resistance and high-voltage drop violation points located in the metal layer where the reserved short metals are located and the metal layers below. The present invention combines the analysis results of the layer-by-layer resistance and current distribution to screen out the high-resistance and high-voltage drop violation points located in the metal layer where the reserved short metals are located and the metal layers below.
[0040] S330. Search for available reserved short metals based on the violation points, and establish actual physical connections by drilling vias between the short metals and the power supply rails of the lower-level standard cells to reduce the local metal resistance. In the area where the violation points are located, the present invention searches for reserved short metals that meet the conditions, and connects the short metals to the power supply rails of the lower-level standard cells in the form of drilling vias (Via), thereby forming an actual low-resistance power supply path and reducing the local voltage drop. And the reserved short metal closest to the violation point is preferably selected to ensure the best effect.
[0041] S340. After the dynamic connection is completed, perform physical design rule checking to remove the newly generated violations during the connection process.
[0042] After the dynamic connection is completed, perform DRC checking again to remove the short metals that cause violations due to the connection, and ensure the legality of the final layout.
[0043] Preferably, after using the metal resources in the deployment area according to the chip analysis results after the routing is completed, refer to Figure 2 , further including S400. Evaluate the chip, specifically: S410. After the dynamic connection is completed, run the voltage drop sign-off tool to analyze the corrected voltage drop distribution, quantify the voltage drop improvement effect, and record the specific benefits. After the dynamic connection is completed, re-run the voltage drop (IR Drop) sign-off tool to analyze the corrected voltage drop distribution, quantify the voltage drop improvement effect, and record the specific benefits. The voltage drop (IR Drop) sign-off tool can perform accurate voltage drop analysis on the entire chip power supply network, layer by layer analyze the metal resistance, current distribution and voltage drop conditions, and screen out the violation points related to the low-layer metal resistance.
[0044] S420. Supplement and repair the remaining voltage drop violations. For the remaining voltage drop violations, use other traditional methods (such as replacing standard cells or local routing optimization) for supplementary repair to ensure that the chip meets the design specifications.
[0045] S430. After all the optimization steps are completed, perform the final voltage drop sign-off on the entire chip to verify the stability of the overall power supply network and the design reliability.
[0046] After all the optimization steps are completed, perform the final voltage drop sign-off on the entire chip to ensure the stability of the overall power supply network and the design reliability.
[0047] Preferably, S140. The physical design rule checking for the layout includes: Physical design rules include: Layout rules: including metal line spacing, minimum feature size, channel length of transistors, etc. These rules are set according to the capabilities and limitations of the manufacturing process to ensure that the circuit can be accurately fabricated. Wiring rules: related to the layout rules between metal lines and multi-layer metals in the circuit, such as the width, spacing, and layer spacing of metal lines. These rules aim to ensure that the wiring layout of the circuit can meet the requirements of signal transmission and electrical characteristics, while also considering the limitations of the manufacturing process. Spacing rules: referring to the spacing requirements between different components or different metal layers to avoid accidental electrical connections or electrical short circuits between components or metal lines in the circuit. Filling rules: referring to the filling requirements for some blank areas in the circuit layout to ensure flatness and stability during the manufacturing process. Device rules: related to the layout and size rules of devices such as transistors, capacitors, and resistors to ensure that they can work properly and can be accurately fabricated.
[0048] S141, define the core area and peripheral area of the chip; The core area refers to the area inside the chip for placing basic components such as logic gates and flip-flops. It is the "brain" of the chip, responsible for performing the main computing and processing tasks. The core area usually contains key components such as the central processing unit (CPU) and graphics processing unit (GPU), and these components work together to achieve the main functions of the chip. The peripheral area is used to place auxiliary components such as input / output (I / O) interfaces, power and ground pins. These components are responsible for the communication and data exchange between the chip and the external world, ensuring that the chip can effectively interact with other devices or systems. The peripheral area usually includes I / O pads, power rings, power pads, etc.
[0049] S142, verify whether the power supply plan and IO plan of the peripheral area are qualified; The main purpose of the power supply plan is to design a uniform power supply network for the chip to ensure that all parts of the chip can obtain stable power supply. The specific steps include: Power network setting: establish the power supply network, including the setting of power supply loops and power supply bars. The power supply loop surrounds the core area of the chip to ensure uniform current distribution; the power supply bars are distributed along the edge of the chip to provide additional current paths. Digital and analog hybrid power supply: handle the power supply requirements of digital circuits and analog circuits to ensure that they do not interfere with each other. Single power supply and multi-power supply: select the appropriate power supply method according to the design requirements, and multi-power supply can provide more flexible current management. Power budget: perform quantitative calculations through power consumption analysis means to ensure the stability and efficiency of the power supply network.
[0050] The IO planning mainly involves the layout and power supply design of the input / output unit (I / O unit). The specific steps include: I / O unit layout: Considering the printed circuit board traces, package form, power supply situation, and internal module structure comprehensively to ensure that the I / O unit can communicate with external devices efficiently. Power supply design: Usually, the ratio of the number of units supplying power to the I / O unit to the number of output signal ports is 1:(5~10). Pin assignment: The output signal lines are connected to the block pins, and the connections between blocks are realized through internal pins. The pins determine the positions of the pads, usually at the edge of the chip.
[0051] S143, verify whether the timing and logic of the core area are qualified; S144, verify whether the areas of the core area and the peripheral area are qualified.
[0052] Physical Design Rule Check (DRC) refers to an important step in integrated circuit design for verifying whether the design layout meets the manufacturing process requirements. Physical design rules refer to a series of rules and constraints used to standardize the circuit layout in IC design to ensure that the circuit can be accurately manufactured.
[0053] As the chip node size continues to shrink, a large number of complex design rules make the accuracy of DRC checks not high. In the embodiments of the present invention, sampling is used to optimize DRC checks based on a neural network model, making the DRC checks faster and more accurate.
[0054] In the neural network, multiple detection branches are set up to detect different DDRC rules. Select Con4_3, fc7, Con6_2, Con7_2, Con8_2, Con9_2 as multi-scale detection branches. Each detection branch will output the classification probability and position coordinates respectively by a group of 3×3 convolutional networks. The ratio of the area of the detection box under the kth detection branch to the area of the chip picture is expressed as: ; where and represent the area ratios of the detection boxes on the Con4_3 and Con9_2 detection branches respectively, is 0.2, is 0.9, and m is the number of detection branches.
[0055] Assume the size of the input feature map is c×h×w, the number of detection types is C, the number of detection box types is p. Each detection branch will output location information of size 4p×h×w and classification information of size C×p×h×w. The loss function is expressed as: ; Among them, g represents the ground truth box, c is the confidence, represents the predicted box, is the localization loss, N is the number of feature maps, and x is the predicted value. is the cross-entropy loss function under multi-classification, expressed as: ; Among them, is used to illustrate whether the detection box i and the ground truth box j match successfully in the category p. When the intersection over union (IoU) is greater than 0.5, is equal to 1. At this time, the detection box i is a positive sample, denoted as pos, otherwise is 0, and the detection box is a negative sample, denoted as Neg. is the confidence of the p-th category, is the confidence of the negative sample.
[0056] Preferably, S120, including the high voltage drop region with relatively obvious voltage drop as the marked region according to the current distribution: S121, calculating the voltage drop standard parameter according to the working condition of the chip; The standard voltage drop of the chip refers to the voltage loss generated by the interaction of resistance and current in the power network when the chip is working. Specifically, when current flows through the power network with resistance, according to Ohm's law (V = I * R), voltage loss will be generated, which is the voltage drop.
[0057] S122, comparing the voltage drop of each region in the chip with the voltage drop standard parameter; The main reason for the standard voltage drop of the chip is the product effect of resistance and current in the power network. Inside the chip, power and ground are distributed through metal layers, and each metal layer has a certain resistivity. When current flows through these metal layers, voltage drop will be generated. In the embodiment of the present invention, by calculating the voltage drop of each region and then comparing the voltage drop of each region with the standard voltage drop, it is possible to plan which regions are high-risk high voltage drop regions.
[0058] S123, if the positive difference between the voltage drop of the region and the voltage drop standard parameter exceeds the threshold, then take the current region as the marked region.
[0059] The positive difference indicates that the voltage drop of the current region is greater than the voltage drop standard parameter. If the positive difference between the voltage drop of the current region and the voltage drop standard parameter exceeds the threshold, it means that the current region is a high voltage drop region and the risk of functional failure is very high, so the current region needs to be marked.
[0060] Preferably, in the chip layout stage, the analysis of chip power consumption includes: Equivalent each standard cell to a constant current source, and calculate the average power consumption of the current standard cell according to the number of input pins and output pins, the power consumption of the input pins and output pins, the frequencies of the input and output signal state changes, and the capacitance of the output pins. The average power consumption is expressed as: ; Where x is the number of input pins and y is the number of output pins; is the power consumption corresponding to the i-th input pin, is the power consumption corresponding to the n-th output pin; is the frequency of the i-th input signal state change, is the frequency of the n-th output signal state change; is the capacitance of the n-th output pin, and VDD is the power supply voltage.
[0061] Calculate the average current according to the average power consumption.
[0062] The average current is expressed as: ; Embodiment 2 A system for relieving on-chip voltage drop by reserving low-layer metal wiring resources in a power network, including: A reserved area deployment module for reserving a deployment area of low-layer metal resources during the chip layout phase; A reserved area correction module for correcting the deployment area; A reserved area enabling module for using metal resources in the deployment area according to the chip analysis result after the wiring is completed.
[0063] Embodiment 3 An electronic device, including: a chip, a processor, and a memory. The memory is used to store computer program code, and the computer program code includes computer instructions. When the chip executes the computer instructions, the electronic device executes a method for relieving on-chip voltage drop by reserving low-layer metal wiring resources in a power network.
[0064] Reference Figure 3 , the electronic device 2 includes a processor 21, a memory 22, an input device 23, and an output device 24. The processor 21, the memory 22, the input device 23, and the output device 24 are coupled through a connector, and the connector includes various interfaces, transmission lines, or buses, etc. The embodiments of the present invention do not limit this. It should be understood that in various embodiments of the present invention, coupling means being interconnected in a specific manner, including being directly connected or indirectly connected through other devices, for example, being connected through various interfaces, transmission lines, buses, etc.
[0065] The processor 21 may be one or more graphics processing units (GPUs). When the processor 21 is a GPU, the GPU may be a single-core GPU or a multi-core GPU. Optionally, the processor 21 may be a processor group composed of multiple GPUs, and multiple processors are coupled to each other through one or more buses. Optionally, the processor may also be other types of processors, etc., which are not limited in the embodiments of the present invention.
[0066] The memory 22 can be used to store computer program instructions and various computer program codes including the program codes for executing the solution of the present invention. Optionally, the memory includes but is not limited to random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), or compact disc read-only memory (CD-ROM), and this memory is used for relevant instructions and data.
[0067] The input device 23 is used to input data and / or signals, and the output device 24 is used to output data and / or signals. The output device 24 and the input device 23 may be independent devices or an integrated device.
[0068] The present invention effectively reserves low-level metal wiring resources for connecting the power supply rails of adjacent standard cells and flexibly enables these resources according to the actual voltage drop analysis results in the later stage; the present invention can improve the chip voltage drop problem in a way of minimizing the cost without changing the original design, enhance the robustness and reliability of the power supply network, and ensure the chip design progress at the same time; the present invention can avoid high-cost and high-risk operations such as standard cell replacement, reducing cell density, or re-layout and wiring due to power integrity problems in the traditional design process, effectively improve the flexibility, reliability, and delivery efficiency of chip design, and reduce the risk of design iteration at the same time.
[0069] The above are only the specific embodiments of the present invention, enabling those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to these embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A method for reserving low-level metal wiring resources in a power network to alleviate on-chip voltage drop, characterized in that: include: Reserve deployment areas for underlying metal resources during chip layout; amending the deployment area; After the routing is completed, the metal resources are used in the deployment area according to the chip analysis result.
2. A method for reserving low-level metal wiring resources in a power network to alleviate on-chip voltage drop according to claim 1, characterized in that: The deployment area for reserving bottom metal resources in the chip layout stage includes: During the chip layout phase, analyze the chip power consumption; According to the analysis results, the high voltage drop area with relatively obvious voltage drop is used as the marking area; In the marking area, short metal for short-circuiting the power supply track of the standard unit is added in the lower metal layer according to a preset density and arrangement; Perform physical design rule checking on the layout.
3. The method for reserving low-level metal wiring resources in a power supply network to alleviate on-chip voltage drop according to claim 1, characterized in that: The modifying the deployment area comprises: In the clock tree synthesis stage, the power consumption distribution is analyzed through the flip rate file or the global flip rate, and the marked area is corrected; In the corrected marked area, the short metals for shorting the standard cell power supply tracks are optimized according to the specified density and arrangement; Perform physical design rule checks on the layout and remove parts that cause physical design rule violations.
4. A method for reserving low-level metal wiring resources in a power network to alleviate on-chip voltage drop according to claim 1, characterized in that: The using of the metal resource in the deployment area according to the chip analysis result after the wiring is completed includes: After routing is complete, use the voltage drop signoff tool to perform voltage drop analysis on the chip; Screen out high resistance and high voltage drop violation points located in the metal layer where the reserved short metal is located and the metal layer below according to the voltage drop analysis result; Searching for available reserved short metal according to the violation point, and establishing actual physical connection by drilling a through hole between the short metal and the power supply track of the underlying standard cell, thereby reducing the local metal resistance; After the dynamic connection is completed, a physical design rule check is performed to remove new violations generated during the connection process.
5. The method for reserving low-level metal wiring resources in a power network to alleviate on-chip voltage drop according to claim 1, characterized in that: After the wiring is completed and the metal resources are used in the deployment area according to the chip analysis result, the chip is evaluated, specifically: After the dynamic connection is completed, run the voltage drop signoff tool to analyze the corrected voltage drop distribution, quantify the voltage drop improvement effect, and record the specific benefits; Supplement and repair any remaining voltage drop violations; After completing all optimization steps, the final voltage drop signoff is performed on the entire chip to verify the stability of the overall power network and the reliability of the design.
6. A method for reserving low-level metal wiring resources in a power network to alleviate on-chip voltage drop according to claim 2, characterized in that: The physical design rule checking of the layout includes: Define the core and peripheral areas of the chip; Verify whether the power supply planning and IO planning of the peripheral area are qualified; Verify whether the timing and logic of the core area are qualified; Verify whether the areas of the core area and the peripheral area are qualified.
7. A method for reserving low-level metal wiring resources in a power network to alleviate on-chip voltage drop according to claim 2, characterized in that: The method of marking a high voltage drop region with a relatively obvious voltage drop as a marking region according to the current distribution includes: Calculate the voltage drop standard parameters according to the working conditions of the chip; Compare the voltage drop in each area of the chip with the voltage drop standard parameters; If the positive difference between the pressure drop of a region and the pressure drop standard parameter exceeds a threshold, the current region is regarded as a marked region.
8. The method for reserving low-level metal wiring resources in a power network to alleviate on-chip voltage drop according to claim 2, characterized in that: In the chip layout stage, the chip power consumption analysis includes: Each standard cell is equivalent to a constant current source, and the average power consumption of the current standard cell is calculated according to the number of input pins and output pins, the energy consumption of the input pins and output pins, the frequency of input and output signal state changes, and the capacitance of the output pin; Calculate the average current based on the average power consumption.
9. A power network reserved low-level metal wiring resources to alleviate on-chip voltage drop system, characterized in that: include: A reserved area deployment module is used to reserve the deployment area of the underlying metal resources during the chip layout stage; A reserved area correction module, used to correct the deployment area; The reserved area enabling module is used to use the metal resources in the deployment area according to the chip analysis result after the wiring is completed.
10. An electronic device, characterized in that: include: A chip, a processor and a memory, wherein the memory is used to store computer program code, wherein the computer program code includes computer instructions. When the chip executes the computer instructions, the electronic device executes a method for reserving low-level metal wiring resources for a power supply network to alleviate on-chip voltage drop as described in any one of claims 1 to 8.
Citation Information
Patent Citations
Method for designing power distribution network of circuit system and related circuit system
CN102693332A
Method and device for solving voltage drop in SOC layout
CN107766674A
Layout and wiring method for reducing power consumption of chip switch
CN117113917A
Clock tree comprehensive optimization method based on H tree
CN117764024A
Chip power supply network planning method and device, electronic equipment and storage medium
CN118261107A
Cited By
Power supply network and semiconductor chip
CN122341201A
