A method for checking chip power supply network design defects
By analyzing the power distribution array and weak areas in the early stage of physical layout verification at the back end of the chip design, the problems of power network analysis complexity and time consumption in the existing technology are solved, and more efficient power network analysis and design efficiency are achieved.
Patent Information
- Application Number
- CN202110670176.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-17
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2041-06-17
AI Technical Summary
In the existing technology, the power supply network analysis method is mainly used in the late stage of chip design, which increases the complexity of the design process, consumes a lot of time and server resources, and makes it difficult to improve the efficiency of power supply network analysis.
In the early stage of physical layout verification at the backend of chip design, we summarize the power consumption distribution array, calculate margins and proportional coefficients, increase gate simulation power consumption, analyze the power consumption array, identify weak areas and redesign them, and apply voltage drop analysis tools for analysis. .
Discover weak areas of the power supply network in the early stage of physical layout verification, reduce design back-end problems, reduce analysis complexity and time, save resources, and improve analysis efficiency.
Smart Images

Figure CN113283201B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of chip design, and in particular to a method for checking design defects of a chip power supply network. Background Art
[0002] With the continuous improvement of the integration and operating frequency of VLSI, the integrity analysis of power supply network has become increasingly important in the chip design process. Chip design mainly includes front-end, mid-end and back-end. Among them, front-end design mainly includes function division, code writing and verification, terminal design mainly includes DFT design and testing. After the chip is manufactured, it is tested at the physical level. Back-end design mainly includes layout and routing, clock tree synthesis, parasitic parameter extraction, physical layout verification, etc.
[0003] As the integration of chips increases and their functions increase, the number of logics contained in them increases, and the power supply network becomes more and more complex. In a huge power supply network, even a small defect will lead to the failure of the entire chip design, so it is crucial to ensure the quality of the power supply network during the chip design process. The power supply network analysis method in the prior art has defects such as inefficiency and complex process. The reason is that the existing power supply network analysis method is mainly used in the verification of circuit layout and wiring such as transistors, that is, it is used in the later stage of chip design. If there is a problem with the power supply network in the chip, it is necessary to return to the front-end design for repeated iterative corrections, which not only increases the complexity of the design process, but also consumes a lot of time and server resources. Therefore, how to improve the efficiency of power supply network analysis and reduce the complexity of the chip design process has become a problem that people in this field need to solve urgently. Summary of the invention
[0004] In view of the problem in the prior art that the power supply network analysis method is applied in the later stage of chip design, which increases the complexity of the design process and easily consumes design time and server resources, the present invention provides a method for checking chip power supply network design defects, which can reduce the complexity of the power supply network analysis process, save analysis time and server resources, and improve the efficiency of power supply network analysis.
[0005] To achieve the above object, the present invention adopts the following technical solution:
[0006] A method for checking chip power supply network design defects, wherein the chip design includes the chip design front end, middle end, and back end, characterized in that the method is applied to the early stage of physical layout verification of the chip design back end, and the method comprises:
[0007] S1. Based on the project data, summarize and obtain the power consumption distribution array corresponding to each functional module in the chip, sum the power consumption in the power consumption distribution array, and obtain the statistical total power consumption of the corresponding functional module;
[0008] S2, calculate the margin;
[0009] S3. At the chip design front end, simulate and obtain the current project register transfer level simulation power consumption;
[0010] S4, calculate the proportionality coefficient;
[0011] S5. Increase the margin for the gate simulation power consumption of the current project;
[0012] S6, calculating the gate simulation power consumption array of the current project;
[0013] S7, analyzing the gate simulation power consumption array of the current project to obtain analysis results;
[0014] S8, redesigning the weak area in the chip according to the analysis result.
[0015] It is further characterized in that
[0016] The chip design front-end steps include: specification formulation, design partitioning, RTL coding, functional verification, logic synthesis, static timing analysis, and formal verification;
[0017] In step S1, different types of functional modules in the same project are summarized to obtain a similar power consumption, and the similar power consumption is distributed in an array to obtain the power consumption distribution array, wherein the statistical total power consumption includes: statistical register transfer level simulation power consumption and statistical gate simulation power consumption;
[0018] The power consumption distribution array is a 5x5 array;
[0019] In step S2, the margin is a ratio of the statistical gate simulation power consumption array to the statistical register transfer level simulation power consumption array;
[0020] In step S4, the proportionality coefficient is the ratio of the current project register transfer level simulation power consumption to the statistical register transfer level simulation power consumption;
[0021] In step S5, a margin is added to the gate simulation power consumption of the current project, that is, the statistical register transfer level simulation power consumption is multiplied by the margin;
[0022] In step S6, the current project gate simulation power consumption array is the product of the proportionality coefficient, the margin and the statistical register transfer level simulation power consumption;
[0023] In step S7, a voltage drop analysis tool is used to analyze the smoothed power distribution array.
[0024] The above structure of the present invention can achieve the following beneficial effects: the power supply network analysis method is applied to the early stage of physical layout design at the back end of chip design. Therefore, the weak areas of the power supply network can be found and corresponding measures can be taken to improve them before the physical layout is physically verified. This not only reduces the risk of problems occurring at the back end of the design, but also avoids the need for repeated iterative corrections when problems are discovered during the physical layout verification, thereby reducing the complexity of the power supply network analysis process, saving analysis time and chip resources, and improving the efficiency of the power supply network analysis. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 It is a schematic diagram of the structure of each functional module in the chip of the present invention;
[0026] Figure 2 A schematic diagram of a gate simulation power consumption distribution array of a current project of one of the functional modules of the present invention;
[0027] Figure 3 A schematic diagram of a smoothed power distribution array of one of the functional modules of the present invention;
[0028] Figure 4 This is a flow chart of the method for checking chip power supply network design defects according to the present invention. DETAILED DESCRIPTION
[0029] A method for checking chip power supply network design defects. Chip design includes chip design front-end, chip design mid-end and chip design back-end. The chip design front-end steps include function division, code writing and verification. Among them, function division includes specification formulation and design division. Code writing includes RTL coding. Verification includes function verification, logic synthesis, static timing analysis and formal verification. The chip design back-end includes layout and routing, clock tree synthesis, parasitic parameter extraction, physical layout verification and the like. The method is applied to the early stage of physical layout design in the chip design back-end. Figure 4 The method specifically includes the following steps: S1. Based on the project data, summarize and obtain the power consumption distribution array corresponding to each functional module of the chip. The structural diagram of each functional module in the chip is as follows: Figure 1As shown, the specific acquisition method is: perform chip design verification on multiple chips. During the verification process, obtain the power consumption of different functional modules of each chip in the same project. Different types of functional modules include CPU, GPU, DDR, PCIE, IO, PG, etc. Summarize the power consumption of different types of functional modules, obtain similar power consumption of each functional module, distribute the similar power consumption of the functional modules in an array, and obtain a power consumption distribution array, for example, obtain a 5x5 array. Sum the power consumption in the power consumption distribution array to obtain the statistical total power consumption of the corresponding functional modules. The statistical total power consumption includes: statistical register transfer level simulation power consumption (RTL level power consumption) and statistical gate level simulation power consumption (Gate level simulation power consumption). For example, the statistical calculation of the statistical register transfer level simulation power consumption of a 5x5 array is 0.6W,
[0030] S2. Calculate the margin, where the margin is the ratio of the statistical gate simulation power consumption array to the statistical register transfer level simulation power consumption array.
[0031] S3. At the chip design front end, simulate and obtain the current project register transfer level simulation power consumption. For example, the current project register transfer level simulation power consumption of a 5x5 array is 0.3W.
[0032] S4. Calculate the proportionality coefficient, which is the ratio of the current project register transfer level simulation power consumption to the statistical register transfer level simulation power consumption; for example, the proportionality coefficient of a 5x5 array is calculated to be 0.5 (0.3 / 0.6=0.5);
[0033] S5. Increase the margin for the gate simulation power consumption of the current project. Multiply the statistical register transfer level simulation power consumption by the margin. The array after increasing the margin for the gate simulation power consumption of the current project is as follows: Figure 2 ;
[0034] S6. Calculate the gate simulation power consumption array of the current project. The gate simulation power consumption array of the current project is the product of the proportionality coefficient and the statistical register transfer level simulation power consumption after the margin is added. Figure 2 Multiply the 5x5 array shown by Figure 2 Multiply each element in the 5x5 array shown to obtain the gate power simulation array of the current project, see Figure 3 ,The total power consumption of each functional module in each chip may be different, but the 5x5 power consumption distribution array is basically the same, so the proportionality coefficient multiplied by the 5x5 array can be used as the analysis target, thereby improving the accuracy of the subsequent analysis results.
[0035] S7. Use the Voltus analysis tool to analyze the gate simulation power consumption array of the current project to obtain the analysis results. During the analysis, if the voltage drop of the IR (IR refers to the power supply network) in a certain area is relatively large, it means that the design defect is relatively large, and this area is the weak area.
[0036] S8, redesigning the weak area (ie, the area with larger IR defects) in the chip according to the analysis result.
[0037] The above method is applied to SOC chip design. In the early stage (back-end) of chip design physical layout verification, the power supply network is simulated separately. According to the chip design, power consumption analysis is performed to obtain the power consumption distribution array of each module. The existing voltage drop analysis tool is used and the power consumption is back-annotated to the corresponding area based on the existing physical back-annotation method for IREM (voltage drop and electromigration) failure analysis. Therefore, the weak areas of the PG network (power supply network) are discovered in the early stage of chip design physical layout verification and corresponding measures are taken to improve them, avoiding problems such as repeated iterations and delayed delivery time caused by problems discovered in the later stage, thereby improving chip design efficiency.
[0038] The above are only preferred embodiments of the present application, and the present invention is not limited to the above embodiments. It is understood that other improvements and changes directly derived or associated by those skilled in the art without departing from the spirit and concept of the present invention should be considered to be included in the protection scope of the present invention.
Claims
1. A method for checking chip power supply network design defects, wherein the chip design includes the chip design front end, middle end, and back end, characterized in that: The method is applied to the early stage of physical layout verification in the back end of chip design, and the method includes: S1. Based on the project data, summarize and obtain the power consumption distribution array corresponding to each functional module in the chip, sum the power consumption in the power consumption distribution array, and obtain the statistical total power consumption of the corresponding functional module; S2, calculate the margin; S3, simulating and obtaining the current project register transfer level simulation power consumption; S4, calculate the proportionality coefficient; S5. Increase the margin for the gate simulation power consumption of the current project; S6, calculating the gate simulation power consumption array of the current project; S7, analyzing the gate simulation power consumption array of the current project to obtain analysis results; S8. Redesigning the weak area in the chip according to the analysis result; In step S2, the margin is a ratio of the statistical gate simulation power consumption array to the statistical register transfer level simulation power consumption array; In step S4, the proportionality coefficient is the ratio of the current project register transfer level simulation power consumption to the statistical register transfer level simulation power consumption; In step S5, a margin is added to the gate simulation power consumption of the current project, that is, the statistical register transfer level simulation power consumption is multiplied by the margin; In step S6, the current project gate simulation power consumption array is the product of the proportionality coefficient, the margin and the statistical register transfer level simulation power consumption.
2. A method for checking chip power supply network design defects according to claim 1, characterized in that: The front-end steps of chip design include: specification formulation, design partitioning, RTL coding, functional verification, logic synthesis, static timing analysis, and formal verification.
3. A method for checking chip power supply network design defects according to claim 2, characterized in that: In step S1, different types of functional modules in the same project are summarized to obtain a similar power consumption, and the similar power consumption is distributed in an array to obtain the power consumption distribution array. The statistical total power consumption includes: statistical register transfer level simulation power consumption and statistical gate simulation power consumption.
4. The method for checking chip power supply network design defects according to claim 3, characterized in that: The power consumption distribution array is a 5x5 array.
