A method for extracting parallel synthesis submodules
By calculating edge weights of timing paths and anti-clustering operations, the problem of timing performance degradation and uneven power consumption in logic synthesis is solved, parallel speed is improved, hierarchical structure integrity is maintained, and efficient design in the logic synthesis process is achieved. .
Patent Information
- Application Number
- CN202410551817.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-07
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-05-07
AI Technical Summary
The existing technology has problems such as timing performance degradation, parallel speed slowdown, hierarchical structure destruction and uneven power consumption during the logic synthesis process. In particular, timing analysis and hierarchical structure are not considered when disassembling sub-modules, resulting in low overall design efficiency. .
By obtaining all the timing paths in the design, calculate the edge weight of each timing path, and put the top-level circuit units with smaller edge weights between each other into the sub-design, traverse the remaining top-level circuit units in sequence, and compare them with those in each sub-design. The top-level circuit unit with the largest edge weight between the top-level circuit units is placed into the corresponding sub-design to complete the generation of the sub-design. At the same time, an anti-clustering operation is performed on the top-level circuit units to ensure balanced power consumption of the sub-modules.
Protect critical paths to the maximum extent, increase parallel speed, maintain the integrity of the hierarchical structure of the design, and achieve balanced distribution of power consumption during the physical-aware synthesis process to improve overall design efficiency.
Smart Images

Figure CN118133731B
Abstract
Description
Technical Field
[0001] The invention belongs to the field of electronic design automation (EDA), and in particular relates to a method for extracting a parallel synthesis submodule. Background Art
[0002] Logic synthesis is the process of converting a chip design described in RTL (register transfer level) language into a gate-level netlist of a specific device library. Logic synthesis includes syntax parsing, device library definition, syntax tree construction, logic simplification, state machine design, and timing optimization. Logic synthesis is a crucial intermediate link in the entire electronic design automation (EDA) process. The quality of the synthesis results directly affects key indicators of chip performance such as chip area, power consumption, and frequency.
[0003] Logic synthesis is a complex process. In the existing technology, a serious pain point is that logic synthesis takes a long time. For ultra-large-scale chip design, single-thread processing usually takes several days. This is often unacceptable for the iterative development of chips, that is, the stage that requires repeated modifications, and seriously affects the process and progress of chip design. Therefore, parallel synthesis technology is a good way to overcome this problem. Parallel synthesis is to break down the entire chip design into different sub-designs. Each sub-design runs in a separate thread for logic synthesis or logic synthesis optimization. Finally, the synthesis results of each part are spliced according to the connection relationship provided by the top-level design to form a synthesis result with consistent equivalence. In the process of parallel synthesis, large problems are broken down into small problems and processed in parallel. The overall time required will be reduced geometrically, greatly speeding up the design iteration process. This is actually a divide-and-conquer idea.
[0004] In the process of parallel synthesis, the number of parts into which the design is split is determined by the hardware resources of parallel computing and user needs. For the solution, the number of splits can be regarded as a fixed constant N, which is an integer greater than 1. Each split part is called a sub-module (Sub Design), and the selection of sub-modules is a very important process. When extracting sub-modules, the existing technology often relies on the designer's experience and disassembles the module according to the design module (Module), which will cause the following problems:
[0005] 1. Degradation of timing performance: The prior art does not take the results of timing analysis into consideration when disassembling. The submodules will undergo their own separate synthesis process, which means that they will be shielded from other submodules. The signals entering the submodule and the signals output from the submodule will not be traceable. When the submodule synthesizes the logic related to the input and output signals, it will not be able to take into account the synthesis of other submodules, resulting in a loss of timing performance. If the synthesis of other submodules is referenced, the parallel speed will be affected.
[0006] 2. Reduction of parallel speed: The integration completion time of each sub-module obtained by the prior art is different. The length of time for parallel integration depends on the longest thread. Therefore, when the computing resources of each thread are the same, the optimal solution is to have the same processing time for each thread. The sub-modules disassembled by the prior art vary greatly in size and require different computing times, thus slowing down the overall speed.
[0007] 3. The hierarchical structure of the original design is greatly damaged. The existing technology performs an ungrouping operation on the hierarchical structure of the design before disassembly, which destroys the hierarchical structure of the original design on a large scale. This has an adverse effect on the subsequent optimization process because the hierarchical structure of the original design itself has a highly cohesive feature. The loss of the hierarchical structure will lose the connection information between the highly cohesive logic gates.
[0008] 4. The physical perception integration process will cause uneven distribution of power consumption. The physical perception integration process is to consider the subsequent layout results in advance during the integration process. The power consumption of each sub-module disassembled by the existing technology varies greatly, which will cause an imbalance in the overall power consumption of the chip after layout in the future. Summary of the invention
[0009] The present invention provides a method for extracting parallel synthesis sub-modules to solve the problems in the prior art that the parallel speed is affected due to the loss of timing performance, the overall speed is slow due to the large difference in sub-module sizes, the connection information between highly cohesive logic gates is lost, and the power consumption of each sub-module is very different.
[0010] In order to solve the above technical problems, the technical solution provided by the present invention is:
[0011] The present invention relates to a method for extracting a parallel synthesis submodule, which comprises the following steps:
[0012] S1. Obtain all timing paths in the design and calculate the edge weight of each timing path;
[0013] S2. The traversed syntax tree, each circuit unit in the syntax tree contains multiple timing paths, the timing paths in each circuit unit communicate with each other, the edge weight of the timing paths that communicate with each other is the edge weight of the circuit unit, and the N top-level circuit units with smaller edge weights between each other are respectively placed into N sub-designs;
[0014] S3. Traverse the remaining top-level circuit units in turn, and place the top-level circuit unit with the largest edge weight with the top-level circuit unit in each sub-design into the corresponding sub-design, until all top-level circuit units are placed in the corresponding sub-design, completing the generation of the sub-design.
[0015] Preferably, the timing path includes at least one starting point trigger, one end point trigger, and a combination logic circuit for connecting the starting point trigger and the end point trigger, wherein the combination logic circuit includes a plurality of logic gates;
[0016] The specific steps of calculating the edge weights of each timing path in S1 include:
[0017] S1.1. Calculate the arrival time and expected time of each logic gate in turn. The calculation formula is:
[0018] (1),
[0019] (2),
[0020] In the formula, AT is the arrival time, RT is the expected time, i is the number of the logic gate, s is the starting trigger, t is the endpoint trigger, h For the number i The forward neighbor logic gate of the logic gate, j For the number i The backward neighbor logic gate of the logic gate, W is the delay size, T is the arrival time;
[0021] S1.2. Calculate the time margin of each logic gate. The calculation formula is:
[0022] (3),
[0023] In the formula, SLACK is the time margin;
[0024] S1.3. Calculate the weight of each timing path. The calculation formula is:
[0025] (4),
[0026] In the formula, W path is the weight of the timing path, path is the timing path, slack is the time margin, b is the number of the timing path, SV is a constant greater than 1, max _ slack is the time margin of the largest timing path obtained after traversing all timing paths, min _ slack The time margin of the minimum timing path obtained after traversing all timing paths;
[0027] S1.4. Calculate the edge weight of each edge in the timing path. The calculation formula is:
[0028] (5),
[0029] In the formula, edge ( b , m ) represents b Any edge in a timing path m , margin _△ t is the delay threshold that just changes the critical path when splitting two adjacent logic gates, W edge is the edge weight.
[0030] Preferably, after S2 traverses the syntax tree, it first performs a de-clustering operation on the top-level circuit units of the syntax tree, so that the number of the top-level circuit units of the syntax tree reaches a set number, and then puts the top-level circuit units into the sub-design.
[0031] Preferably, the anti-clustering operation in S2 is performed in descending order of the bloated parameters of the top-level circuit units.
[0032] Preferably, the specific steps of the anti-clustering operation in S2 are:
[0033] S2.1. Use the binary method to calculate the number of sub-circuit units owned by each top-level circuit unit. The calculation formula is:
[0034] (6),
[0035] In the formula, k is the number of sub-circuit units owned by the top-level circuit unit, cell _ sum is the total number of circuit units in the syntax tree, max _ depth is the depth of the syntax tree;
[0036] S2.2. Calculate the bloated parameters of the top-level circuit unit. The calculation formula is:
[0037] (7),
[0038] In the formula, Obesity is a bloated parameter. n For the top n Circuit unit, sub _ cells For the n The number of sub-circuit units contained in a circuit unit, depth ( n) is the n The depth of a circuit unit;
[0039] S2.3. Perform anti-clustering operation on the top-level circuit unit with the largest bloated parameter;
[0040] S2.4. Determine whether the number of top-level circuit units has reached the set number. If not, return to S2.1. If it has reached the set number, end the anti-clustering operation.
[0041] Preferably, in the process of S2 and S3 placing the top-level circuit unit into the sub-design, the sub-circuit unit of the top-level single-channel unit is placed into the corresponding sub-design together, and the disassembled top-level circuit unit and its sub-circuit unit are a sub-module, and the sum of the circuit power consumption of the sub-module shall not exceed the power consumption limit of the sub-design.
[0042] Preferably, the sum of the circuit power consumption of the submodules is calculated as follows:
[0043] a) Calculate the dynamic power consumption of each logic gate using the formula:
[0044] (8)
[0045] In the formula, P D is the dynamic power consumption of the logic gate, C PD is the power dissipation capacitor, C L is the load capacitance, V DD is the power supply voltage, f is the clock frequency;
[0046] b) Calculate the dynamic power consumption of each circuit unit. The dynamic power consumption of a circuit unit is the sum of the dynamic power consumption of its internal logic gates.
[0047] c) Calculate the dynamic power consumption of the disassembled sub-module, where the dynamic power consumption of the sub-module is the sum of the dynamic power consumption of the top-level circuit unit and its sub-circuit units.
[0048] Preferably, the calculation formula of the power consumption limit value of the sub-design is:
[0049] (9),
[0050] In the formula, P_sub_design_Limit is the power consumption limit of the sub-design, P_SUM is the sum of the power consumption of the sub-design, N is the number of sub-modules set in the sub-design, and X is the power consumption limit.
[0051] Compared with the prior art, the technical solution provided by the present invention has the following beneficial effects:
[0052] 1. The parallel synthesis submodule extraction method involved in the present invention obtains all timing paths and calculates the edge weight of each timing path before splitting the submodule (top-level circuit unit and its sub-circuit unit). During the submodule extraction process, N top-level circuit units with smaller edge weights between each other are first placed in N sub-designs respectively, and then the remaining top-level circuit units are traversed in turn, and the top-level circuit unit with the largest edge weight with the top-level circuit unit in each sub-design is placed in the corresponding sub-design until all the top-level circuit units are placed in the corresponding sub-design. Through the modeling of timing parameters and the definition of edge weights, it can be ensured that when the submodule is extracted, the critical path is protected from being cut off to the maximum extent, thereby ensuring the timing performance after the design is disassembled and improving the parallel speed.
[0053] 2. The parallel synthesis sub-module extraction method involved in the present invention also performs a de-clustering operation on the top-level circuit unit before extracting the top-level circuit unit, so that the number of top-level circuit units reaches a set number, and the de-clustering operation introduces bloated parameters, that is, the de-clustering operation is performed in the order of the bloated parameters of the top-level circuit unit from large to small, thereby protecting the hierarchical structure of the original syntax tree as much as possible while completing the disassembly function.
[0054] 3. The parallel synthesis sub-module extraction method involved in the present invention also limits the power consumption of the sub-modules when splitting the sub-modules (top-level circuit units and their sub-circuit units), that is, the sum of the circuit power consumption of the sub-modules shall not exceed the power consumption limit of the sub-design, so that the size of each module is limited, so that the circuits contained in each sub-module will not differ too much, and the synthesis time of each sub-module is balanced, that is, the parallel synthesis speed is accelerated. At the same time, for the physical perception synthesis process, the power consumption of the sub-modules after subsequent synthesis will be more balanced in spatial distribution. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] Figure 1 It is a flow chart of a method for extracting a parallel integrated submodule involved in the present invention;
[0056] Figure 2 It is a structural diagram of the timing path;
[0057] Figure 3 It is a schematic diagram of a timing path structure with arrival time AT, expected time RT and time margin SLACK marked;
[0058] Figure 4 It is the change diagram of the timing parameters of each logic gate in the timing path after the delay △t=1, splitting the logic gate;
[0059] Figure 5 It is the change diagram of the timing parameters of each logic gate in the timing path after the delay △t=5, splitting the logic gate;
[0060] Figure 6 It is the change diagram of the timing parameters of each logic gate in the timing path after the delay △t=3, splitting the logic gate;
[0061] Figure 7 It is a schematic diagram of the structure of the syntax tree. DETAILED DESCRIPTION
[0062] In order to further understand the content of the present invention, the present invention is described in detail in conjunction with examples. The following examples are used to illustrate the present invention but are not used to limit the scope of the present invention.
[0063] Reference Figure 1 As shown, the method for extracting the parallel integrated submodules involved in the present invention comprises the following steps:
[0064] S1. Obtain all timing paths in the design and calculate the edge weight of each timing path. The timing path includes at least one starting trigger s, one end trigger t, and a combinational logic circuit for connecting the starting trigger and the end trigger. The combinational logic circuit includes multiple logic gates I, such as Figure 2 As shown, the timing path forms a directed acyclic graph. Figure 2 The nodes in represent logic gates.
[0065] The specific steps of calculating the edge weight of each time series path include:
[0066] S1.1. Figure 2 As shown, for each logic gate, its arrival time (AT) is equal to the length of the longest path from the node to the source point (s), and its expected time or required time (RT) is equal to the clock cycle length minus the longest path length from the node to the end point t. The arrival time and expected time of each logic gate are calculated in turn, and the calculation formula is:
[0067] (1),
[0068] (2),
[0069] In the formula, AT is the arrival time, RT is the expected time, i is the number of the logic gate, s is the starting trigger, t is the endpoint trigger, h For the number i The forward neighbor logic gate of the logic gate, j For the number i The backward neighbor logic gate of the logic gate, W is the delay size, T is the arrival time;
[0070] S1.2. Calculate the time margin of each logic gate. The calculation formula is:
[0071] (3),
[0072] In the formula, SLACK The time margin is the time margin of each logic gate on the most critical path. It is equal to the minimum time margin of all logic gates in the entire timing path. The most critical path is determined by the difference between the expected time and the arrival time of each logic gate. It is represented in the timing path diagram as one or more time margins from the starting trigger s to the end trigger t. SLACK The time margin indicates the margin of timing violation. The smaller the time margin, the smaller the margin. A negative time margin indicates that a logic value sampling error will occur on the corresponding path. According to the above calculation method, each logic gate is marked with the arrival time AT, the expected time RT and the time margin SLACK, as shown in the following figure. Figure 3 shown.
[0073] In order to explore the impact of the design on timing when split, assume that a pair of adjacent nodes D and E are split. A delay size △t will be added between the nodes after the split. The size of △t will be estimated by the impact of the split on timing.
[0074] Assuming △t = 1, recalculate the timing path and update the timing parameters to obtain Figure 4 In the case of △t = 1, split D and E, then only the arrival time AT and time margin SLACK of node E in the timing path are affected, and the impact disappears at nodes D and H, which can be said to be cut off, indicating that the margin of the DEH path is relatively loose and not tight, and will not affect the critical path and the minimum SLACK size of the timing path. This disassembly action will not cause any impact on the timing, such as Figure 4 shown.
[0075] Assuming △t = 5, recalculate the timing path and update the timing parameters to obtain Figure 5 , we can observe that the critical path has changed. The increased delay of edge D and edge E affects the expected time RT of D, A, B, trigger 1, and trigger 2, and affects the arrival time AT of E, H, and trigger 3, which also changes the time margin SLACK of the affected nodes, causing the critical path to change. The minimum time margin SLACK in the timing path has also changed, as shown in Figure 5 shown.
[0076] Then, the △t that will just change the original critical path is the critical value that the method is looking for. Its size represents the importance of this edge in the timing path. The edges with high importance should be kept as much as possible, while the edges with low importance can be cut off. The critical value of △t in the example is 3, expressed as Margin_△t(D,E) = 3. When △t = 3, the updated timing path is obtained Figure 6 , the critical path happens to change, and the size of the minimum time margin SLACK will be updated along with the size of △t.
[0077] S1.3. Calculate the weight of each timing path. The calculation formula is:
[0078] (4),
[0079] In the formula, W path is the weight of the timing path, path is the timing path, slack is the time margin, b is the number of the timing path, SV is a constant greater than 1, max _ slack is the time margin of the largest timing path obtained after traversing all timing paths, min _ slack is the minimum time margin of the timing path obtained after traversing all timing paths; the formula shows that the timing path with a smaller time margin will obtain a greater weight.
[0080] S1.4. Calculate the edge weight of each edge in the timing path. The calculation formula is:
[0081] (5),
[0082] In the formula, edge ( b , m ) represents b Any edge in a timing path m , margin _△ t is the delay threshold that just changes the critical path when splitting two adjacent logic gates, W edge is the edge weight. This formula shows that in a timing path, the edge with a smaller delay critical value will obtain a larger weight, and the weight obtained by the edge with the smallest delay critical value is equal to the weight of the timing path. The more important the weight of the timing path is, the more important the edge with the smallest delay critical value is.
[0083] S2. Traverse the syntax tree and record the number of sub-circuits sub_cells recursively contained in each circuit unit in the syntax tree and the depth depth of the circuit unit, such as Figure 7 As shown, each node represents a circuit unit, and each edge represents a sub-circuit unit contained in the parent circuit unit. For example, the number of sub-circuit units of node B is equal to 3, namely circuit units D, H, and I. The depth of circuit units D, H, and I is equal to 2. The total number of circuit units in the syntax tree is 9, and the maximum depth of the syntax tree is 3. Each circuit unit contains multiple timing paths. The timing paths in each circuit unit communicate with each other. The edge weight of the timing paths that communicate with each other is the edge weight of the circuit unit. First, the top-level circuit unit of the syntax tree is de-clustered to make the number of top-level circuit units of the syntax tree reach the set number. The de-clustering operation is performed in descending order of the bloated parameters of the top-level circuit unit. After the de-clustering is completed, the N top-level circuit units with smaller edge weights between each other are respectively placed in N sub-designs. The specific steps are as follows:
[0084] S2.1. Use the binary method to calculate the number of sub-circuit units each top-level circuit unit has k , the calculation formula is:
[0085] (6),
[0086] In the formula, k is the number of sub-circuit units owned by the top-level circuit unit, k is a positive integer and is generally not greater than 20. cell _ sum is the total number of circuit units in the syntax tree, max _ depth is the depth of the syntax tree;
[0087] S2.2. Calculate the bloated parameters of the top-level circuit unit. The calculation formula is:
[0088] (7),
[0089] In the formula, Obesity is a bloated parameter. n For the top n Circuit unit, sub _ cells For the n The number of sub-circuit units contained in a circuit unit, depth ( n ) is the n The depth of a circuit unit; the bloated parameter represents the degree to which the circuit unit has too many sub-circuit units at its corresponding depth. The larger the bloated parameter of the circuit unit, the higher the priority of the anti-clustering operation (ungroup);
[0090] S2.3. Perform anti-clustering operation on the top-level circuit unit with the largest bloated parameter;
[0091] S2.4. Determine whether the number of top-level circuit units has reached the set number. If it has not reached the set number, return to S2.1. If it has reached the set number, end the anti-clustering operation;
[0092] S2.5. Place the N top-level circuit units with smaller edge weights between each other into N sub-designs respectively.
[0093] S3. Traverse the remaining top-level circuit units in turn, and place the top-level circuit unit with the largest edge weight with the top-level circuit unit in each sub-design into the corresponding sub-design, until all top-level circuit units are placed in the corresponding sub-design, completing the generation of the sub-design.
[0094] In the process of placing the top-level circuit unit into the sub-design in the above steps S2 and S3, the sub-circuit units of the top-level single-channel unit are placed into the corresponding sub-design together. The disassembled top-level circuit unit and its sub-circuit units are a sub-module. The sum of the circuit power consumption of the sub-modules shall not exceed the power consumption limit of the sub-design. If it exceeds, the sub-module shall not be placed in the corresponding sub-design and shall be placed in another sub-design.
[0095] The sum of the circuit power consumption of the submodules is calculated as follows:
[0096] a) Calculate the dynamic power consumption of each logic gate using the formula:
[0097] (8)
[0098] In the formula, P D is the dynamic power consumption of the logic gate, C PD is the power dissipation capacitor, C L is the load capacitance, V DD is the power supply voltage, f is the clock frequency;
[0099] b) Calculate the dynamic power consumption of each circuit unit. The dynamic power consumption of a circuit unit is the sum of the dynamic power consumption of its internal logic gates.
[0100] c) Calculate the dynamic power consumption of the disassembled sub-module, where the dynamic power consumption of the sub-module is the sum of the dynamic power consumption of the top-level circuit unit and its sub-circuit units;
[0101] The calculation formula of the power consumption limit value of the sub-design is:
[0102] (9),
[0103] In the formula, P_sub_design_Limit is the power consumption limit of the sub-design, P_SUM is the sum of the power consumption of the sub-design, N is the number of sub-modules set in the sub-design, and X is the power consumption limit.
[0104] The present invention is described in detail above in conjunction with the embodiments, but the contents described are only preferred embodiments of the present invention and cannot be considered to limit the scope of implementation of the present invention. All equivalent changes and improvements made according to the scope of application of the present invention should still fall within the scope of the patent coverage of the present invention.
Claims
1. A method for extracting parallel synthesis submodules, characterized in that: It includes the following steps: S1. Obtain all timing paths in the design and calculate the edge weight of each timing path, wherein the timing path includes at least one starting trigger, one end trigger, and a combinational logic circuit for connecting the starting trigger and the end trigger, wherein the combinational logic circuit includes multiple logic gates; The specific steps of calculating the edge weights of each timing path in S1 include: S1.
1. Calculate the arrival time and expected time of each logic gate in turn. The calculation formula is: (1), (2), In the formula, AT is the arrival time, RT is the expected time, i is the number of the logic gate, s is the starting trigger, t is the endpoint trigger, h For the number i The forward neighbor logic gate of the logic gate, j For the number i The backward neighbor logic gate of the logic gate, W is the delay size, T is the arrival time; S1.
2. Calculate the time margin of each logic gate. The calculation formula is: (3), In the formula, slack is the time margin; S1.
3. Calculate the weight of each timing path. The calculation formula is: (4), In the formula, W path is the weight of the timing path, path is the timing path, slack is the time margin, b is the number of the timing path, SV is a constant greater than 1, max _ slack is the time margin of the largest timing path obtained after traversing all timing paths, min _ slack The time margin of the minimum timing path obtained after traversing all timing paths; S1.
4. Calculate the edge weight of each edge in the timing path. The calculation formula is: (5), In the formula, edge ( b , m ) represents b Any edge in a timing path m , margin _△ t is the delay threshold that just changes the critical path when splitting two adjacent logic gates, W edge is the edge weight; S2. The traversed syntax tree, each circuit unit in the syntax tree contains multiple timing paths, the timing paths in each circuit unit communicate with each other, the edge weight of the timing paths that communicate with each other is the edge weight of the circuit unit, and the N top-level circuit units with the smallest edge weights between each other are respectively placed into N sub-designs; S3. Traverse the remaining top-level circuit units in turn, and place the top-level circuit unit with the largest edge weight with the top-level circuit unit in each sub-design into the corresponding sub-design, until all top-level circuit units are placed in the corresponding sub-design, completing the generation of the sub-design.
2. The method for extracting parallel integrated submodules according to claim 1, characterized in that: After the syntax tree is traversed by S2, a de-clustering operation is first performed on the top-level circuit units of the syntax tree, so that the number of the top-level circuit units of the syntax tree reaches a set number, and then the top-level circuit units are placed in the sub-design.
3. The method for extracting parallel integrated submodules according to claim 2, characterized in that: The anti-clustering operation in S2 is performed in descending order of the bloated parameters of the top-level circuit units.
4. The method for extracting parallel integrated submodules according to claim 3, characterized in that: The specific steps of the anti-clustering operation in S2 are: S2.
1. Use the binary method to calculate the number of sub-circuit units owned by each top-level circuit unit. The calculation formula is: (6), In the formula, k is the number of sub-circuit units owned by the top-level circuit unit, cell sum is the total number of circuit units in the syntax tree, max _ depth is the depth of the syntax tree; S2.
2. Calculate the bloated parameters of the top-level circuit unit. The calculation formula is: (7), In the formula, Obesity is a bloated parameter. n For the top n Circuit unit, sub _ cells For the n The number of sub-circuit units contained in a circuit unit, depth ( n ) is the n The depth of a circuit unit; S2.
3. Perform anti-clustering operation on the top-level circuit unit with the largest bloated parameter; S2.
4. Determine whether the number of top-level circuit units has reached the set number. If not, return to S2.
1. If it has reached the set number, end the anti-clustering operation.
5. The method for extracting parallel integrated submodules according to claim 1, characterized in that: In the process of S2 and S3 placing the top-level circuit unit into the sub-design, the sub-circuit units of the top-level circuit unit are placed into the corresponding sub-design together. The disassembled top-level circuit unit and its sub-circuit units are a sub-module, and the sum of the circuit power consumption of the sub-modules shall not exceed the power consumption limit of the sub-design.
6. The method for extracting parallel integrated submodules according to claim 5, characterized in that: The sum of the circuit power consumption of the submodules is calculated as follows: a) Calculate the dynamic power consumption of each logic gate using the formula: (8) In the formula, P D is the dynamic power consumption of the logic gate, C PD is the power dissipation capacitor, C L is the load capacitance, V DD is the power supply voltage, f is the clock frequency; b) Calculate the dynamic power consumption of each circuit unit. The dynamic power consumption of a circuit unit is the sum of the dynamic power consumption of its internal logic gates. c) Calculate the dynamic power consumption of the disassembled sub-module, where the dynamic power consumption of the sub-module is the sum of the dynamic power consumption of the top-level circuit unit and its sub-circuit units.
7. The method for extracting parallel integrated submodules according to claim 5, characterized in that: The calculation formula of the power consumption limit value of the sub-design is: (9), In the formula, P_sub_design_Limit is the power consumption limit of the sub-design, P_SUM is the sum of the power consumption of the sub-design, N is the number of sub-modules set in the sub-design, and X is the power consumption limit.
