Method and system for inserting power switch unit in narrow rectangular area in gated power supply
By obtaining the coordinates and specified spacing of the narrow rectangular area in the EDA tool, inserting the power switch unit from bottom up and top down, and stringing its signals into a chain, the problem of difficult insertion of power switch units in the narrow rectangular area is solved. Voltage drop is reduced and signal link integrity is achieved.
Patent Information
- Application Number
- CN202210486357.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-06
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2042-05-06
AI Technical Summary
Existing electronic design automation (EDA) tools are difficult to intelligently insert power switch units when processing narrow rectangular areas, resulting in large voltage drops and inability to effectively control the insertion of power switch units.
By obtaining the coordinates and specified spacing of the narrow rectangular area, insert the power switch unit from bottom up and top down, and string its turn-off signals into a chain to ensure that the inserted power switch unit has the same signal as the power switch unit in the regular area connect.
It realizes the intelligent insertion of the power switch unit in a narrow rectangular area, reduces the voltage drop, and ensures a complete link of the power switch unit signal, with parameterization, automation and flexibility.
Smart Images

Figure CN114912400B
Abstract
Description
Technical Field
[0001] The invention belongs to the physical design technology of ultra-large-scale integrated circuits, and in particular relates to a method and a system for inserting a power switch unit in a narrow rectangular area in a gate-controlled power supply. Background Art
[0002] With the rapid development of integrated circuit design technology and the continuous advancement of manufacturing processes, the performance requirements of chips are constantly increasing, resulting in a continuous increase in system power consumption. In order to reduce power consumption, gated power technology has emerged. In terms of physical implementation, gated power technology mainly uses power switch cells to control whether the power-down area is powered on, and uses isolation cells to isolate the normally-on area and the power-down area. Therefore, the insertion of power switch cells is crucial to the implementation of gated power. Existing electronic design automation (EDA) tools usually insert power switch cells in a column arrangement, and then connect the shutdown signals of the power switch cells into a chain. However, when encountering a narrow rectangular area, EDA tools usually cannot insert the power switch cells very intelligently. Sometimes, the power switch cannot be inserted into the narrow rectangular area due to the pre-set spacing, resulting in a large voltage drop (IR-Drop) in the area. Summary of the invention
[0003] The technical problem to be solved by the present invention is as follows: In view of the problem that EDA tools in the physical implementation of gated power supplies cannot handle the insertion of power switch units in narrow rectangular areas well, a method and system for inserting power switch units in narrow rectangular areas in gated power supplies are provided. The present invention can assist electronic design automation (EDA) tools to insert power switch units in narrow rectangular areas and string them together with the power shutdown signals of power switch units in conventional areas into a chain.
[0004] In order to solve the above technical problems, the technical solution adopted by the present invention is:
[0005] A method for inserting a power switch unit in a narrow rectangular area in a gated power supply comprises:
[0006] 1) Obtain the narrow rectangular area specified in the gated power design;
[0007] 2) Starting from the first end of the narrow rectangular area, inserting power switch units toward the second end at a specified interval m until reaching the second end, and stringing together the shutdown signals of the inserted power switch units in sequence;
[0008] 3) Starting from the second end of the narrow rectangular area, inserting the power switch units toward the first end at a specified interval n until reaching the first end, and stringing together the shutdown signals of the inserted power switch units in sequence;
[0009] 4) Connect the shutdown signals of the inserted power switch units into a chain;
[0010] 5) The shutdown signal of the power switch unit inserted in the narrow rectangular area and the shutdown signal of the power switch unit outside the narrow rectangular area are connected into a chain, and the process ends and exits.
[0011] Optionally, in step 1), obtaining the narrow rectangular area specified in the gated power supply design specifically refers to obtaining it by transferring in a parameterized manner.
[0012] Optionally, after obtaining the narrow rectangular area specified in the gated power design in step 1), determine the lower left corner coordinate (x left ,y left ) and the upper right corner coordinate (x right ,y right ).
[0013] Optionally, the first end in step 2) refers to the bottom of the narrow rectangular area, and the second end refers to the top of the narrow rectangular area; in step 2), the power switch unit is inserted toward the second end at a specified spacing m until the second end is reached, and any i-th power switch unit C inserted i Coordinate (x i ,y i ) satisfies: x left <x i <x right ,y left <y i <y right , x i+1 =x i ,y i+1 =y i + m; in step 2), the shutdown signals of the inserted power switch units are sequentially connected, which means that for each power switch unit inserted sequentially from the bottom to the top: any i-th power switch unit C i The shutdown output signal SLEEPOUT is connected to the i+1th power switch unit C i+1 The shutdown input signal SLEEPIN is sent until it reaches the last inserted power switch unit.
[0014] Optionally, in step 3), the power switch unit is inserted toward the first end at a specified spacing n until it reaches the first end. j Coordinate (x j ,y j ) satisfies: x left <x j <x right ,y left <y j <y right , xj+1 =x j ,y j+1 =y j -n and power switch unit C j Coordinate (x j ,y j ) has no overlap with the power switch units inserted sequentially from the bottom to the top; in step 3), stringing together the shutdown signals of the inserted power switch units sequentially means for each power switch unit inserted sequentially from the top to the bottom: any j-th power switch unit C j The shutdown output signal SLEEPOUT is connected to the j+1th power switch unit C j+1 The shutdown input signal SLEEPIN is sent until it reaches the last inserted power switch unit.
[0015] Optionally, step 4) includes: connecting the shutdown output signal SLEEPOUT of the last power switch unit inserted in step 2) with the shutdown input signal SLEEPIN of the first power switch unit inserted in step 3), so that the power switch units are inserted from bottom to top at a specified spacing m and are inserted from top to bottom at a specified spacing n to form a chain.
[0016] Optionally, step 5) includes: selecting a power switch unit outside the narrow rectangular area and closest to the first power switch unit inserted in step 2) within the narrow rectangular area, and connecting the shutdown output signal SLEEPOUT of the selected power switch unit to the shutdown input signal SLEEPIN of the first power switch unit inserted in step 2); selecting the last power switch unit inserted when the power switch unit is inserted in step 3), and connecting the shutdown output signal SLEEPOUT of the selected power switch unit to the shutdown input signal SLEEPIN of a power switch unit outside the narrow rectangular area that is closest to the selected power switch unit.
[0017] Optionally, in step 1), the narrow rectangular area refers to a rectangular area with a length-to-width ratio greater than 2:1.
[0018] In addition, the present invention also provides a system for inserting a narrow rectangular area power switch unit in a gated power supply, comprising a microprocessor and a memory connected to each other, wherein the microprocessor is programmed or configured to execute the steps of the aforementioned method for inserting a narrow rectangular area power switch unit in a gated power supply.
[0019] In addition, the present invention also provides a computer-readable storage medium, in which a computer program is stored, and the computer program is used to be programmed or configured by a microprocessor to execute the steps of the aforementioned method for inserting a narrow rectangular area power switch unit in a gated power supply.
[0020] Compared with the prior art, the present invention mainly has the following advantages:
[0021] 1. The present invention solves the problem that the EDA tool cannot intelligently insert the power switch unit when encountering a narrow rectangular area.
[0022] 2. The coordinates of the narrow rectangular area and the spacing of the inserted power switch units of the present invention can be specified by parameters, and it has the characteristics of parameterization, good automation, high flexibility, etc. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 Schematic diagram of the basic flow of the method of the embodiment of the present invention.
[0024] Figure 2 Schematic diagram of a narrow rectangular area in an embodiment of the present invention.
[0025] Figure 3 This is a schematic diagram of inserting five power switch units from bottom to top in an embodiment of the present invention.
[0026] Figure 4 It is a schematic diagram of inserting four power switch units from top to bottom in an embodiment of the present invention.
[0027] Figure 5 It is a schematic diagram of stringing together the shutdown signals of all power switch units in a narrow rectangular area into a chain in an embodiment of the present invention.
[0028] Figure 6 It is a schematic diagram of stringing together the shutdown signals of all power switch units in a narrow rectangular area and the shutdown signals of other power switch units outside the narrow rectangular area into a chain in an embodiment of the present invention. DETAILED DESCRIPTION
[0029] like Figure 1 As shown, the method for inserting a power switch unit in a narrow rectangular area in a gate-controlled power supply in this embodiment includes:
[0030] 1) Obtain the narrow rectangular area specified in the gated power design;
[0031] 2) Starting from the first end of the narrow rectangular area, insert the power switch units toward the second end at a specified interval m until reaching the second end, and string together the shutdown signals of the inserted power switch units in sequence;
[0032] 3) Starting from the second end of the narrow rectangular area, insert the power switch units toward the first end at a specified interval n until reaching the first end, and string together the shutdown signals of the inserted power switch units in sequence;
[0033] 4) Connect the shutdown signals of the inserted power switch units into a chain;
[0034] 5) The shutdown signal of the power switch unit inserted in the narrow rectangular area and the shutdown signal of the power switch unit outside the narrow rectangular area are connected into a chain, and the process ends and exits.
[0035] As an optional implementation, in step 1) of this embodiment, obtaining the narrow rectangular area specified in the gated power design specifically refers to obtaining it through parameterized transmission. In addition, the narrow rectangular area specified in the gated power design can also be obtained by reading a specified file, database, or using a communication method.
[0036] The narrow rectangular area specified in the gated power supply design can be expressed in a variety of ways. As an optional implementation, the lower left corner coordinate (x left ,y left ) and the upper right corner coordinate (x right ,y right ) to express the narrow rectangular area. Therefore, after obtaining the narrow rectangular area specified in the gated power design in step 1) of this embodiment, the lower left corner coordinate (x left ,y left ) and the upper right corner coordinate (x right ,y right ), the shape of the narrow rectangular area in this embodiment is exemplified as follows Figure 2 In addition, the narrow rectangular area may also be expressed in the form of upper left corner coordinates and lower right corner coordinates, and the principle is basically the same as that of the present embodiment.
[0037] The narrow rectangular area is a long strip structure including two ends, so its first end and second end can be specified as needed. As an optional implementation, the first end in step 2) of this embodiment refers to the bottom of the narrow rectangular area, and the second end refers to the top of the narrow rectangular area, see Figure 2 . In addition, the top may be designated as the first end and the bottom as the second end as required, and the principle is the same as that of the method of this embodiment, so it will not be repeated here. In order to meet the definition of the long strip structure with two ends, the narrow rectangular area in step 1) of this embodiment refers to a rectangular area with an aspect ratio greater than 2:1, and because the width of the long side is relatively narrow, only one column of power switch units needs to be inserted.
[0038] Since the first end in step 2) of this embodiment refers to the bottom of the narrow rectangular area, and the second end refers to the top of the narrow rectangular area, step 2) specifically starts from the bottom of the narrow rectangular area, inserts the power switch unit from bottom to top at a specified spacing m until reaching the top of the narrow rectangular area, and strings the shutdown signals of the power switch units from bottom to top. In this embodiment, when the power switch unit is inserted toward the second end at a specified spacing m in step 2) until reaching the second end, any inserted i-th power switch unit C iCoordinate (x i ,y i ) satisfies: x left <x i <x right ,y left <y i <y right , x i+1 =x i ,y i+1 =y i + m; in step 2), the shutdown signals of the inserted power switch units are sequentially connected, which means that for each power switch unit inserted sequentially from the bottom to the top: any i-th power switch unit C i The shutdown output signal SLEEPOUT is connected to the i+1th power switch unit C i+1 The shutdown input signal SLEEPIN is sent until the last power switch unit is inserted. Figure 3 As shown, in this embodiment, five power switch units C1-C5 are inserted from bottom to top in the narrow rectangular area at a spacing of m; the shutdown output signal SLEEPOUT of the power switch unit C1 is connected to the shutdown input signal SLEEPIN of the power shutdown unit C2, and so on, until the shutdown output signal SLEEPOUT of the power switch unit C4 is connected to the shutdown input signal SLEEPIN of the power shutdown unit C5.
[0039] Since the first end in step 2) of this embodiment refers to the bottom of the narrow rectangular area, and the second end refers to the top of the narrow rectangular area, step 3) specifically starts from the top of the narrow rectangular area, inserts the power switch unit from top to bottom at a specified spacing n until it reaches the top of the rectangular area, and strings the shutdown signal of the power switch unit from top to bottom. In this embodiment, when the power switch unit is inserted toward the first end at a specified spacing n in step 3) until it reaches the first end, the inserted power switch unit C j Coordinate (x j ,y j ) satisfies: x left <x j <x right ,y left <y j <y right , x j+1 =x j ,y j+1 =y j -n and power switch unit C j Coordinate (x j ,y j) has no overlap with the power switch units inserted sequentially from the bottom to the top; in step 3), stringing together the shutdown signals of the inserted power switch units sequentially means for each power switch unit inserted sequentially from the top to the bottom: any j-th power switch unit C j The shutdown output signal SLEEPOUT is connected to the j+1th power switch unit C j+1 The shutdown input signal SLEEPIN is sent until the last power switch unit is inserted. Figure 4 As shown, in this embodiment, four power switch units C6-C9 are specifically inserted from top to bottom in the narrow rectangular area at a spacing of n; the shutdown output signal SLEEPOUT of the power switch unit C6 is connected to the shutdown input signal SLEEPIN of the power shutdown unit C7, and so on, until the shutdown output signal SLEEPOUT of the power switch unit C8 is connected to the shutdown input signal SLEEPIN of the power shutdown unit C9.
[0040] In this embodiment, step 4) includes: connecting the shutdown output signal SLEEPOUT of the last power switch unit inserted in step 2) with the shutdown input signal SLEEPIN of the first power switch unit inserted in step 3), so that the power switch units are inserted from bottom to top at a specified spacing m, and the power switch units are inserted from top to bottom at a specified spacing n to form a chain. In this embodiment, specifically, the shutdown output signal SLEEPOUT of the last power switch unit C5 inserted in step 2) is connected to the shutdown input signal SLEEPIN of the first power switch unit C6 inserted in step 3). Figure 5 shown.
[0041] In this embodiment, step 5) includes: selecting a power switch unit outside the narrow rectangular area and closest to the first power switch unit inserted in step 2) within the narrow rectangular area, and connecting the shutdown output signal SLEEPOUT of the selected power switch unit to the shutdown input signal SLEEPIN of the first power switch unit inserted in step 2); selecting the last power switch unit inserted when the power switch unit is inserted in step 3), and connecting the shutdown output signal SLEEPOUT of the selected power switch unit to the shutdown input signal SLEEPIN of a power switch unit outside the narrow rectangular area that is closest to the selected power switch unit. Figure 6As shown in this embodiment, a power switch unit C10 outside the narrow rectangular area that is closest to the first power switch unit C1 inserted in step 2) is selected, and the shutdown output signal SLEEPOUT of C10 is connected to the shutdown input signal SLEEPIN of C1. A power switch unit C11 outside the narrow rectangular area that is closest to the last power switch unit C9 inserted in step 3) in the area is found, and the shutdown output signal SLEEPOUT of C9 is connected to the shutdown input signal SLEEPIN of C11.
[0042] In summary, the method for inserting a power switch unit in a narrow rectangular area in a gated power supply in this embodiment can assist an electronic design automation (EDA) tool in completing the insertion of a power switch unit in a narrow rectangular area in an integrated circuit design with a gated power supply, ensuring that power switch units are inserted in all areas involved and stringing their shutdown signals into a complete chain, and has the characteristics of parameterization, good automation, and high flexibility.
[0043] In addition, this embodiment also provides a system for inserting a narrow rectangular area power switch unit in a gated power supply, including a microprocessor and a memory connected to each other, and the microprocessor is programmed or configured to execute the steps of the aforementioned method for inserting a narrow rectangular area power switch unit in a gated power supply.
[0044] In addition, this embodiment also provides a computer-readable storage medium, in which a computer program is stored, and the computer program is used to be programmed or configured by a microprocessor to execute the steps of the aforementioned method for inserting a narrow rectangular area power switch unit in a gated power supply.
[0045] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-readable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes. The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, may be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the functions in the process. Figure 1 A process or multiple processes and / or boxes Figure 1These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific way, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the functions specified in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide for implementing the process in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0046] The above is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should also be regarded as the protection scope of the present invention.
Claims
1. A method for inserting a power switch unit in a narrow rectangular area in a gated power supply, characterized in that: include: 1) Obtain the narrow rectangular area specified in the gated power design; 2) Starting from the first end of the narrow rectangular area, inserting power switch units toward the second end at a specified interval m until reaching the second end, and stringing together the shutdown signals of the inserted power switch units in sequence; 3) Starting from the second end of the narrow rectangular area, inserting the power switch units toward the first end at a specified interval n until reaching the first end, and stringing together the shutdown signals of the inserted power switch units in sequence; 4) Connect the shutdown signals of the inserted power switch units into a chain; 5) The shutdown signal of the power switch unit inserted in the narrow rectangular area and the shutdown signal of the power switch unit outside the narrow rectangular area are connected into a chain, and the process ends and exits.
2. The method for inserting a narrow rectangular area power switch unit in a gate-controlled power supply according to claim 1, characterized in that: In step 1), obtaining the narrow rectangular area specified in the gated power supply design specifically refers to transferring it in a parameterized manner.
3. The method for inserting a narrow rectangular area power switch unit in a gate-controlled power supply according to claim 1, characterized in that: After obtaining the narrow rectangular area specified in the gated power design in step 1), determine the lower left corner coordinate (x left ,y left ) and the upper right corner coordinate (x right ,y right ).
4. The method for inserting a power switch unit in a narrow rectangular area in a gate-controlled power supply according to claim 3, characterized in that: The first end in step 2) refers to the bottom of the narrow rectangular area, and the second end refers to the top of the narrow rectangular area; in step 2), the power switch unit is inserted toward the second end at a specified spacing m until the second end is reached, and any i-th power switch unit C inserted i Coordinate (x i ,y i ) satisfies: x left <x i <x right ,y left <y i <y right , x i+1 =x i ,y i+1 =y i + m; in step 2), the shutdown signals of the inserted power switch units are sequentially connected, which means that for each power switch unit inserted sequentially from the bottom to the top: any i-th power switch unit C i The shutdown output signal SLEEPOUT is connected to the i+1th power switch unit C i+1 The shutdown input signal SLEEPIN is sent until it reaches the last inserted power switch unit.
5. The method for inserting a narrow rectangular area power switch unit in a gate-controlled power supply according to claim 4, characterized in that: In step 3), the power switch unit is inserted toward the first end at a specified spacing n until it reaches the first end. j Coordinate (x j ,y j ) satisfies: x left <x j <x right ,y left <y j <y right , x j+1 =x j ,y j+1 =y j -n and power switch unit C j Coordinate (x j ,y j ) has no overlap with the power switch units inserted sequentially from the bottom to the top; in step 3), stringing together the shutdown signals of the inserted power switch units sequentially means for each power switch unit inserted sequentially from the top to the bottom: any j-th power switch unit C j The shutdown output signal SLEEPOUT is connected to the j+1th power switch unit C j+1 The shutdown input signal SLEEPIN is sent until it reaches the last inserted power switch unit.
6. The method for inserting a power switch unit in a narrow rectangular area in a gate-controlled power supply according to claim 5, characterized in that: Step 4) includes: connecting the shutdown output signal SLEEPOUT of the last power switch unit inserted in step 2) with the shutdown input signal SLEEPIN of the first power switch unit inserted in step 3), so that the power switch units are inserted from bottom to top at a specified spacing m and are inserted from top to bottom at a specified spacing n to form a chain.
7. The method for inserting a power switch unit in a narrow rectangular area in a gate-controlled power supply according to claim 6, characterized in that: Step 5) includes: selecting a power switch unit outside the narrow rectangular area and closest to the first power switch unit inserted in step 2) within the narrow rectangular area, and connecting the shutdown output signal SLEEPOUT of the selected power switch unit to the shutdown input signal SLEEPIN of the first power switch unit inserted in step 2); selecting the last power switch unit inserted when the power switch unit is inserted in step 3), and connecting the shutdown output signal SLEEPOUT of the selected power switch unit to the shutdown input signal SLEEPIN of a power switch unit outside the narrow rectangular area that is closest to the selected power switch unit.
8. The method for inserting a narrow rectangular area power switch unit in a gate-controlled power supply according to claim 1, characterized in that: In step 1), the narrow rectangular area refers to a rectangular area with a length-to-width ratio greater than 2:
1.
9. A system for inserting a power switch unit in a narrow rectangular area in a gated power supply, comprising a microprocessor and a memory connected to each other, characterized in that: The microprocessor is programmed or configured to execute the steps of the method for inserting a narrow rectangular area power switch unit in a gate-controlled power supply as claimed in any one of claims 1 to 8.
10. A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, characterized in that: The computer program is used to be programmed or configured by a microprocessor to execute the steps of the method for inserting a narrow rectangular area power switch unit in a gate-controlled power supply as claimed in any one of claims 1 to 8.
