Chip design method, chip design system and readable storage medium
By dividing the chip into sub-areas and inserting decoupling units according to standard unit utilization, the voltage drop and power consumption problems caused by uneven distribution of decoupling units in traditional chip designs are solved, achieving a more uniform distribution of decoupling units and more efficient Low power consumption.
Patent Information
- Application Number
- CN202410638159.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-22
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-05-22
AI Technical Summary
The insertion method of decoupling units in traditional chip design makes it impossible to effectively improve the voltage drop problem, or excessive insertion leads to increased power consumption and uneven distribution of decoupling units.
By dividing the chip into multiple sub-areas, calculate and insert a corresponding proportion of decoupling units according to the standard unit utilization of each sub-area, ensuring that the utilization of standard units and decoupling units is positively correlated, and decoupling is added when necessary units to achieve even distribution.
The uniform insertion of decoupling units is achieved, which effectively improves the voltage drop problem of the chip and reduces unnecessary power consumption.
Smart Images

Figure CN118211555B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of integrated circuits, and in particular to a chip design method, a chip design system and a readable storage medium. Background Art
[0002] In the traditional chip design process, the insertion of decoupling cells is usually implemented using built-in commands of electronic design automation (EDA) software. In this regard, the insertion of traditional decoupling cells has the problem that the number of decoupling cells in a certain area of the chip is not positively correlated with the number of standard cells, resulting in the inability to effectively improve the IR-drop violation problem in areas with fewer decoupling cells. Alternatively, too many decoupling cells are inserted in a certain area of the chip, resulting in increased power consumption. Summary of the invention
[0003] The present invention is directed to a chip design method, a chip design system and a computer-readable storage medium, which can realize automatic and efficient insertion (placement) operation of a decoupling unit.
[0004] According to an embodiment of the present invention, the chip design method of the present invention includes the following steps: performing layout planning; executing a script to divide the chip into multiple sub-areas; calculating multiple standard cell utilizations of the multiple sub-areas; and inserting at least one decoupling unit in at least one of the multiple sub-areas based on the standard cell utilization of each of the multiple sub-areas.
[0005] In an embodiment of the present invention, the standard cell utilization rate of each of the plurality of sub-regions is positively correlated with the decoupling cell utilization rate.
[0006] In an embodiment of the present invention, the step of calculating the utilization rates of the plurality of standard cells in the plurality of sub-regions includes: calculating a ratio of an area of the plurality of standard cells in each of the plurality of sub-regions to an area of the corresponding sub-region.
[0007] In an embodiment of the present invention, the step of inserting the at least one decoupling unit into the at least one of the multiple sub-regions according to the utilization rate of the standard unit in each of the multiple sub-regions includes: inserting a corresponding proportion of the at least one decoupling unit into the at least one of the multiple sub-regions according to the proportion of the area occupied by the standard unit in each of the multiple sub-regions.
[0008] In an embodiment of the present invention, the standard cell comprises a logic circuit.
[0009] In an embodiment of the present invention, the chip design method also includes the following steps: determining whether the overall number of decoupling units of the multiple sub-areas is greater than or equal to the globally specified amount; and when the overall number of decoupling units of the multiple sub-areas is not greater than or equal to the globally specified amount, selecting at least one of the multiple sub-areas to supplement and insert at least one decoupling unit.
[0010] In an embodiment of the present invention, the step of selecting at least one of the plurality of sub-regions to supplement the insertion of the at least one decoupling unit includes: preferentially selecting a sub-region having the most standard cells among the plurality of sub-regions to insert the at least one decoupling unit.
[0011] In an embodiment of the present invention, the step of executing the script includes: executing the script after the routing process of the layout plan.
[0012] According to an embodiment of the present invention, a computer-readable storage medium of the present invention stores instructions, which are executed by a processor to implement the chip design method as described above.
[0013] According to an embodiment of the present invention, a chip design system of the present invention includes a processor and a storage device. The storage device is coupled to the processor and is used to store a script. The processor performs layout planning and executes the script to divide the chip into multiple sub-areas. The processor calculates multiple standard cell utilizations of the multiple sub-areas, and inserts at least one decoupling unit in at least one of the multiple sub-areas according to the standard cell utilization of each of the multiple sub-areas.
[0014] Based on the above, the chip design method, chip design system and computer-readable storage medium of the present invention can divide the chip into multiple sub-areas and evaluate the sub-areas respectively to insert corresponding proportions of decoupling units respectively, thereby achieving a uniform decoupling unit insertion effect.
[0015] The present invention can be understood by referring to the following detailed description in conjunction with the accompanying drawings. It should be noted that in order to make it easier for readers to understand and for the simplicity of the drawings, the multiple drawings in the present invention only depict a portion of the display device, and the specific components in the drawings are not drawn according to the actual scale. In addition, the number and size of each component in the figure are only for illustration and are not intended to limit the scope of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 is a schematic diagram of a chip design system according to an embodiment of the present invention;
[0017] Figure 2 is a flow chart of a chip design method according to an embodiment of the present invention;
[0018] Figure 3 is a layout effect diagram of a chip according to an embodiment of the present invention;
[0019] Figure 4 is a layout effect diagram of a chip according to an embodiment of the present invention;
[0020] Figure 5 is a layout effect diagram of a chip according to an embodiment of the present invention;
[0021] Figure 6 It is a layout effect diagram of a chip according to an embodiment of the present invention.
[0022] Description of Reference Numerals
[0023] 100: Chip design system;
[0024] 110: processor;
[0025] 120: storage device;
[0026] 121: script;
[0027] 122: layout data;
[0028] 300: module;
[0029] 301~304: sub-area;
[0030] 310_1~310_8: standard unit;
[0031] 320_1~320_9: decoupling unit;
[0032] S210~S240: steps. DETAILED DESCRIPTION
[0033] Reference will now be made in detail to exemplary embodiments of the present invention, examples of which are illustrated in the accompanying drawings. Whenever possible, the same reference numerals are used in the drawings and the description to refer to the same or like parts.
[0034] Figure 1 Schematic diagram of a chip design system according to an embodiment of the present invention. Figure 1, the chip design system 100 includes a processor 110 and a storage device 120. The processor 110 is coupled to the storage device 120. The storage device 120 can store a script 121 and layout data 122. In the present embodiment, the processor 110 can execute electronic design automation (EDA) software to perform floorplanning of the chip according to the layout data 122. The layout data 122 may include the data related to the layout generated by the processor 110 reading the netlist data and mapping it to the physical layout, or may also include the relevant parameters required for the chip layout (such as chip size, shape, placement position of input and output units and / or placement position of macro units, etc.), power planning (Powerplan) parameters, placement (Place) and routing (Route) restrictions and / or pin constraint files, etc., and the present invention is not limited to this.
[0035] In this embodiment, the script 121 can be edited by a tool command language (TCL). During the process of the processor 110 performing layout planning, the processor 110 can execute the script 121 to perform an automated decoupling cell (decap cell) insertion operation to effectively improve the overall and local IR-drop violation problems of the chip. It is worth noting that the processor 110 executes the script 121 to implement the decoupling cell insertion operation without additionally using the electronic design automation software in the layout planning process. In addition, the decoupling cell can be composed of a capacitor or a related charge storage unit.
[0036] In this embodiment, the processor 110 may be, for example, a central processing unit (CPU), other programmable general-purpose or special-purpose microprocessors (Microprocessors), digital signal processors (DSPs), programmable controllers, application-specific integrated circuits (ASICs), programmable logic devices (PLDs), other similar processing devices, or combinations of these devices. The storage device 120 is, for example, a computer-readable storage medium. Computer-readable instructions are stored on the computer-readable storage medium. When the computer-readable instructions are executed by the processor 110, the chip design method described in the embodiments of the present invention may be executed. The computer-readable storage medium in the embodiments of the present invention may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. The non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct memory bus random access memory (DR RAM). The storage device 120 can store scripts 121, layout data 122, compiler programs, and software, programs and algorithms required to implement the present invention, and provide them for execution by the processor 110.
[0037] Figure 2 FIG. 1 is a flow chart of a chip design method according to an embodiment of the present invention. Figure 1 as well as Figure 2, the processor 110 may perform the following steps S210~S240 to implement an effective and automated decoupling unit insertion process. In step S210, the processor 110 performs layout planning. In this embodiment, the processor 110 may perform a layout planning process according to the layout data 122. The layout planning process may include a power planning (Powerplan) process, a placement (Place) process, a clock tree integration (ClockTree Synthesis, CTS) process, a routing (Route) process, an engineering change order (Engineering Change Order, ECO) process, and a confirmation (Signoff) process in sequence. In this embodiment, the processor 110 may execute the script 121 after the routing process of the layout planning to perform the decoupling unit insertion process. In step S220, the processor 110 executes the script 121 to divide the chip into a plurality of sub-areas. In this embodiment, the script 121 may divide the layout range of the module (or sub-module) of the chip into a plurality of sub-areas according to a preset number of divisions to analyze these sub-areas individually.
[0038] In step S230, the processor 110 calculates the utilization of multiple standard cells in the multiple sub-regions. The standard cell includes a logic circuit. In step S240, the processor 110 inserts at least one decoupling cell in at least one of the multiple sub-regions according to the utilization of the standard cell of each of the multiple sub-regions. In this embodiment, the processor 110 may calculate the area ratio occupied by the standard cell of each of the multiple sub-regions, and the processor 110 may insert at least one decoupling cell of a corresponding ratio in at least one of the multiple sub-regions according to the area ratio occupied by the standard cell of each of the multiple sub-regions. It should be noted that the multiple sub-regions have the same area, and the corresponding ratio may refer to the ratio of the area of the standard cell in each sub-region to the area of the corresponding sub-region. The processor 110 may make a judgment to decide to insert a corresponding area ratio or a corresponding number of decoupling cells in the remaining area of each sub-region. In other words, the processor 110 may evenly distribute the utilization of the decoupling cells in the multiple sub-regions through the script 121 so that the utilization of the standard cell of each of the multiple sub-regions is positively correlated with the utilization of the decoupling cells.
[0039] In addition, in the present embodiment, after the processor 110 inserts at least one decoupling unit in at least one of the multiple sub-regions, the processor 110 may also determine whether the overall number of decoupling units in the multiple sub-regions is greater than or equal to the globally specified amount. In this regard, when the overall number of decoupling units in the multiple sub-regions is greater than or equal to the globally specified amount, the processor 110 may end the insertion process of the decoupling units. When the overall number of decoupling units in the multiple sub-regions is not greater than or equal to the globally specified amount, the processor 110 may select at least one of the multiple sub-regions to supplement the insertion of at least one decoupling unit. In this regard, in the present embodiment, the processor 110 may preferentially select the sub-region with the most standard cells among the multiple sub-regions to insert at least one decoupling unit, but the present invention is not limited thereto. In this way, for a sub-region with more standard cells, the number of decoupling units may be relatively increased to help improve the voltage drop violation of this sub-region.
[0040] In addition, in one embodiment, the storage device 120 is, for example, a computer-readable storage medium that stores instructions, and the instructions can be executed by the processor 110 to implement the chip design method as described above.
[0041] For example, with reference Figures 3 to 6 , Figures 3 to 6 is a layout effect diagram of a chip according to an embodiment of the present invention. The processor 110 may execute layout planning to generate Figure 3 The layout effect of the module 300 of the chip shown in FIG. 1 is shown in FIG. 2 , wherein the module 300 may include a plurality of standard cells 310_1 to 310_8, including a standard cell 310_1, a standard cell 310_2, a standard cell 310_3, a standard cell 310_4, a standard cell 310_5, a standard cell 310_6, a standard cell 310_7, and a standard cell 310_8. Next, as shown in FIG. Figure 4 As shown, the processor 110 can divide the layout range of the chip module 300 into four sub-areas 301~304 in an equal area manner according to a preset number of divisions, including sub-area 301, sub-area 302, sub-area 304 and sub-area 304. Sub-areas 301~304 have the same layout area. In addition, the processor 110 can analyze the four sub-areas 301~304 one by one to calculate the area ratio occupied by the standard cells of each of the sub-areas 301~304. In this regard, the standard cell utilization rate of sub-area 301 is, for example, 50%. The standard cell utilization rate of sub-area 302 is, for example, 20%. The standard cell utilization rate of sub-area 303 is, for example, 20%. The standard cell utilization rate of sub-area 304 is, for example, 10%. As shown in FIG. Figures 4 to 6As shown, sub-region 301 may include standard cells 310_1, 310_2, and 310_3, sub-region 302 may include standard cells 310_4 and 310_5, sub-region 303 may include standard cells 310_6 and 310_7, and sub-region 304 may include standard cell 310_8.
[0042] Next, the processor 110 may insert decoupling cells 320_1 to 320_8 of a corresponding (area) ratio in each of the sub-regions 301 to 304 according to the area ratio occupied by the standard cells in each of the sub-regions 301 to 304, including decoupling cells 320_1, decoupling cells 320_2, decoupling cells 320_3, decoupling cells 320_4, decoupling cells 320_5, decoupling cells 320_6, decoupling cells 320_7, and decoupling cells 320_8. In this regard, for example, decoupling cells of 50% of the total decoupling cell area are inserted into sub-region 301. For example, decoupling cells of 20% of the total decoupling cell area are inserted into sub-region 302. For example, decoupling cells of 20% of the total decoupling cell area are inserted into sub-region 303. For example, decoupling cells of 10% of the total decoupling cell area are inserted into sub-region 304. Figure 5 As shown, decoupling units 320_1, 320_2, and 320_3 can be inserted into sub-region 301, decoupling units 320_4 and 320_5 can be inserted into sub-region 302, decoupling units 320_6 and 320_7 can be inserted into sub-region 303, and decoupling unit 320_8 can be inserted into sub-region 304. In this regard, if all the decoupling units that should be inserted cannot be inserted into one of the sub-regions 301 to 304, the processor 110 can insert some of the decoupling units that should be inserted into this sub-region and then stop inserting the decoupling units into this sub-region.
[0043] Next, the processor 110 may determine whether the number of decoupling units in the sub-regions 301 to 304 is greater than or equal to the global specified number. Figure 6 As shown, when the number of decoupling cells in the sub-regions 301 to 304 is not greater than or equal to the global specified amount, the processor 110 may preferentially select the sub-region 301 with the most standard cells to insert the decoupling cell 320_9. By analogy, if the sub-region 301 can no longer insert the decoupling cell, the processor 110 selects the sub-region 302 or the sub-region 303 with the second most standard cells to insert the decoupling cell 320_9. Therefore, the decoupling cells can be effectively and automatically appropriately distributed and inserted into each of the multiple sub-regions of the chip, so as to effectively improve the voltage drop violation of the local area of the chip.
[0044] In addition, it is supplemented that Figures 3 to 6The schematic diagram only shows the area occupied by the standard cells and decoupling cells in each sub-area, and the area of each cell is not limited to Figures 3 to 6 Same size as shown.
[0045] In summary, the chip design method and chip design system of the present invention can realize the automatic and easy-to-operate insertion of decoupling units in the chip design process by designing specific scripts. The present invention can implement scripts through tool command languages, can be implemented on any editing platform, and does not require the additional use of electronic design automation tools. The present invention can divide the chip into sub-areas to effectively consider the standard unit utilization of each sub-area, and can reasonably insert (place) decoupling units. In this way, the present invention can make full use of each decoupling unit to the maximum extent to improve the voltage drop violation of each sub-area, and can effectively reduce unnecessary power consumption.
[0046] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A chip design method, characterized in that: include: Conduct layout planning; Execute a script to divide the chip into multiple sub-regions; calculating a plurality of standard cell utilizations of the plurality of sub-regions; as well as inserting at least one decoupling cell into at least one of the plurality of sub-regions according to the standard cell utilization rate of each of the plurality of sub-regions, wherein the standard cell utilization rate of each of the plurality of sub-regions is positively correlated with the decoupling cell utilization rate; After at least one decoupling unit is inserted into at least one of the plurality of sub-areas, the method further includes: determining whether the total number of decoupling units in the plurality of sub-regions is greater than or equal to a globally specified amount; and When the overall number of decoupling units of the plurality of sub-regions is not greater than or equal to the global specified amount, at least one of the plurality of sub-regions is selected to supplementally insert at least one decoupling unit.
2. The chip design method according to claim 1, characterized in that: The step of calculating the plurality of standard cell utilizations of the plurality of sub-regions comprises: A ratio of an area of the plurality of standard cells in each of the plurality of sub-regions to an area of the corresponding sub-region is calculated.
3. The chip design method according to claim 2, characterized in that: According to the standard cell utilization rate of each of the plurality of sub-regions, the step of inserting the at least one decoupling cell in the at least one of the plurality of sub-regions comprises: According to the area ratio occupied by the standard cells in each of the plurality of sub-regions, a corresponding ratio of the at least one decoupling cell is inserted into the at least one of the plurality of sub-regions.
4. The chip design method according to claim 2, characterized in that: The standard cell includes a logic circuit.
5. The chip design method according to claim 1, characterized in that: The step of selecting at least one of the plurality of sub-areas to supplementally insert the at least one decoupling unit comprises: A sub-region having the most standard cells among the plurality of sub-regions is preferentially selected to insert the at least one decoupling cell.
6. The chip design method according to claim 1, characterized in that: The steps of executing the script include: The script is executed after the routing process of the floorplan.
7. A computer-readable storage medium storing instructions, characterized in that: The instructions are executed by a processor to implement the chip design method according to any one of claims 1 to 6.
8. A chip design system, characterized in that: include: processor; as well as a storage device, coupled to the processor and used to store a script, The processor performs floorplanning and executes scripts to divide the chip into multiple sub-areas. The processor calculates multiple standard cell utilizations of the multiple sub-areas, and inserts at least one decoupling cell into at least one of the multiple sub-areas according to the standard cell utilization of each of the multiple sub-areas, wherein the standard cell utilization of each of the multiple sub-areas is positively correlated with the decoupling cell utilization; after inserting at least one decoupling cell into at least one of the multiple sub-areas, it is determined whether the overall number of decoupling cells of the multiple sub-areas is greater than or equal to a globally specified amount; when the overall number of decoupling cells of the multiple sub-areas is not greater than or equal to the globally specified amount, at least one of the multiple sub-areas is selected to supplementally insert at least one decoupling cell.
