A node segmentation method based on physical perception

Through the node segmentation method based on physical perception in chip design, optimizing channel cost and seed node selection, combined with adaptive density distribution function, the problem of long logic synthesis time and low timing performance is solved, and more efficient chip design iteration and The running speed is improved.

CN118194810BActive Publication Date: 2024-09-06ZHEJIANG LEINA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410598823.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-15
Publication Date
2024-09-06
Estimated Expiration
2044-05-15

AI Technical Summary

Technical Problem

The existing technology takes too long in the logic synthesis process of chip design, and does not consider the physical cost of signal communication during the segmentation process, resulting in reduced running speed, damaged timing performance, and insufficient sensitivity of segmentation to timing information.

Method used

Adopt a node segmentation method based on physical perception to improve the timing of the segmentation process by determining the channel cost between each sub-design, optimizing node locations, selecting appropriate seed nodes, and using an adaptive density distribution function to map timing margins to edge weights sensitivity.

Benefits of technology

It significantly reduces the iteration time of chip design, improves the running speed, improves the timing performance of the final segmentation result, and ensures the physical rationality and timing optimization of node segmentation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118194810B
    Figure CN118194810B
Patent Text Reader

Abstract

The present invention relates to a node segmentation method based on physical perception, belonging to the field of electronic design automation, the method comprising the following steps: determining the basic cost value to be paid by the channel between each sub-design and the signal passing through the channel; placing the node in each sub-design to form an initial segmentation structure; forming multiple signal communication networks based on the connection relationship between the nodes, and determining the weight of each signal communication network; trying to put each node into other sub-designs in turn while the positions of other nodes remain unchanged, and taking the difference of the cost value before and after the change as the cost benefit; if the cost benefit is a positive number, changing the position of one of the nodes according to the maximum cost benefit, otherwise, completing the node position optimization. The method is conducive to reducing the delay on the critical path, and is conducive to improving the running speed of the final chip, and the seed nodes obtained by mapping the adaptive density distribution function are used to balance the size of the sub-design, and improve the timing performance of the final segmentation result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of electronic design automation (EDA), and in particular relates to a node segmentation method based on physical perception. 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 the key indicators of chip performance, such as chip area, power consumption, and frequency. 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.

[0003] Parallel synthesis technology is a good way to overcome this problem. Parallel synthesis is to decompose the entire chip design into different sub-designs. Each sub-design runs in a separate thread for logic synthesis or optimization of logic synthesis. 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 decomposed 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. In the process of parallel synthesis, the design is split into several parts 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).

[0004] Before chip design is segmented, the chip design must go through the following steps to be modeled as a graph structure. The segmentation is performed on the graph structure, which is a data structure composed of nodes and edges between nodes. First, the chip design is coded and debugged by the chip developer in the form of RTL; then, the tool parses the RTL through the parser to form a multi-branch tree structure in the computer's memory. The relationship between the parent node and the child node of the multi-branch tree is an instantiation relationship, such as Figure 1 As shown in the figure, in the multi-branch tree, the ungroup operation is performed according to the size of the subtree and other indicators; each instance in the resulting top layer (the layer with a depth of 1) will be abstracted as a node in a graph structure, and the signals between instances will be abstracted as edges. The existing segmentation technology has the following deficiencies:

[0005] 1. The existing methods do not take into account the cost of sub-designs communicating with each other at their actual physical locations in the chip after the cutting process, so the signals may need to be routed over a longer distance. Because the operating frequency of the entire system depends on the worst timing path, the large delay of individual signals will lead to a decrease in the overall operating speed.

[0006] 2. In the initial stage of segmentation, the selection of seed nodes is random. The so-called seed node refers to the initial node that is placed first. For example, a chip design is divided into N parts, that is, the graph structure is disassembled and placed in N sub-designs. Then the existing technology is to randomly select N nodes in the graph structure, and then place a node in each sub-design in turn. The segmentation process of the graph structure is essentially a process starting from the seed node of each sub-design, continuously adding new nodes to the graph structure, and then continuously growing. This method of randomly selecting seed nodes and placing them is not good. This will cause the seed nodes that have signal communication to be separated, such as Figure 2 As shown in the figure, the signal between node c and node b is cut, and the signal between node c and node d is cut. If the cut signal happens to be the critical path, it will cause great damage to the final timing of the chip and affect the clock frequency. The so-called timing refers to the clock period, delay, calibration and sequence of signal transmission between various circuits in the chip.

[0007] 3. In the chip design segmentation process, the signals between nodes are abstracted as edges, and the weight of each edge is converted according to the timing margin of the timing path. The so-called timing path refers to the logical path that the data signal passes through during the propagation process in the chip design. Each timing path has a corresponding starting point and an ending point. In the prior art, the process of converting the timing margin of the timing path into the edge weight generally adopts a linear change method, that is, the timing path with the smallest timing margin will obtain the largest edge weight, and the timing path with the largest timing margin will obtain the smallest edge weight. Those timing paths with timing margins between the minimum and the maximum will be linearly mapped to the minimum edge weight and the maximum edge weight according to the difference between the minimum timing margin and the minimum timing margin. However, in chip design, the timing margin distribution of each timing path follows its own density distribution function. The current approach is only suitable for the situation where the timing margin follows an average distribution. If the timing margin distribution of the timing path does not conform to the average distribution, then the weights of the timing paths in the interval with a large timing margin distribution density cannot be effectively distinguished after linear mapping, such as Figure 3As shown in the figure, at nodes with close abscissas, after the timing margins are converted into edge weights, the weights obtained by the timing paths with large distribution density are still very small, resulting in insufficient differentiation of these timing paths during the segmentation process, that is, insensitivity to the timing margins of these timing paths. Therefore, mapping the timing margins of the timing paths to the edge weights through a linear relationship reduces the sensitivity of the segmentation to the timing information and reduces the timing performance of the final segmentation result. Summary of the invention

[0008] The present invention provides a node segmentation method based on physical perception to solve the problems that the signal routing distance after the node in the existing chip design is large, resulting in a reduction in the overall operating speed, the segmentation process may cause huge damage to the timing, the segmentation is low in sensitivity to timing information, and the timing performance of the final segmentation result is reduced.

[0009] In order to solve the above technical problems, the technical solution provided by the present invention is:

[0010] The present invention relates to a node segmentation method based on physical perception, which comprises the following steps:

[0011] S1. Determine the basic cost of the channel between each sub-design and the signal passing through the channel;

[0012] S2. Place the nodes into each sub-design to form an initial node segmentation structure;

[0013] S3. forming a plurality of signal lines based on the connection relationship between the nodes, and determining the weight of each signal line;

[0014] S4. For each signal line, find a communication path with the minimum basic cost value, and use the product of the basic cost value of the communication path and the weight as the cost value of the path, and use the sum of the cost values ​​of the paths of each signal line as the initial total cost value of all signal lines;

[0015] S5. Traverse all nodes, try to put each node into other sub-designs in turn while keeping other nodes in the same position, calculate the sum of the total cost values ​​of all signal lines in various position changes in accordance with S4, and use it as the total cost value after the change;

[0016] S6. Take the difference between the initial total cost value and the total cost value under various changes as the cost benefit under the corresponding change situation, and determine whether the cost benefit under various conditions is a positive number. If so, change the position of one of the nodes according to the situation with the maximum cost benefit, and replace the initial total cost value in S4 with the changed total cost value, and return to S5; if not, complete the node position optimization.

[0017] Preferably, S1 also determines the capacity of each channel. After each change in the position of the node in S6, it is determined whether the signal volume of each channel exceeds the capacity of the corresponding signal. If so, the position change of the node is canceled and the total cost of placing the node in the sub-design in this node position change is marked as negative.

[0018] Preferably, in the process of placing nodes into each sub-design to form an initial segmentation structure of the nodes in S2, nodes equal to the number of sub-designs are first selected as seed nodes and placed in each sub-design in turn, and then the remaining nodes are traversed, the sum of the edge weights between each node and the sub-nodes in the current sub-design is counted, and the sub-design with the largest sum of edge weights and the corresponding node are selected, and the node is placed in the corresponding sub-design.

[0019] Preferably, the seed node extraction method in S2 is implemented by using a seed node extraction method based on an adaptive density distribution function, and the seed node extraction method based on an adaptive density distribution function comprises the following steps:

[0020] S2.1. Select the node with the largest number of externally connected edges as the first seed node and put it into the sub-design;

[0021] S2.2. Traverse the remaining nodes, count the number of externally connected edges of each node K and the sum of the edge weights W_Sum of each node and all seed nodes that have been placed in the sub-design and have a connection relationship, select the node with the smallest value of K / W_Sum as the next seed node, and place it in another sub-design;

[0022] S2.3. Determine whether seed nodes are placed in all sub-designs. If not, return to S2.2. If so, complete the extraction of seed nodes.

[0023] Preferably, the edge weight of each node in S2.2 is obtained by adaptive density distribution function mapping according to the timing information of chip design, and the specific method includes the following steps:

[0024] S2.2.1. Construct a coordinate system for timing margin and edge weight, where the X-axis represents the timing margin and the Y-axis represents the edge weight;

[0025] S2.2.2. Perform timing analysis on the chip design, count the timing margins of all timing paths, and divide the range between the maximum and minimum timing margins into p parts, where p is an integer greater than 1;

[0026] S2.2.3. Count the number of timing paths within each timing margin range, and fit the number into a smooth curve, using the value of the ordinate on the curve as the density ρ, to obtain the density function ρ(s);

[0027] S2.2.4. Taking the inverse of the value of the density function as the slope of the mapping function, starting from the node corresponding to the maximum value of the timing margin, construct a piecewise function of the mapping function forward;

[0028] S2.2.5. Fit the piecewise function of the mapping function to obtain the final mapping function of the timing margin and the edge weight;

[0029] S2.2.6. Substitute the timing margin of the node into the mapping function to obtain the edge weight of the corresponding node.

[0030] Preferably, in S2.2.2, the range between the maximum value and the minimum value of the timing margin is evenly divided into 10-100 parts.

[0031] Preferably, each node in S6 changes position at most once, and nodes that have changed position are no longer traversed during the iteration process.

[0032] Compared with the prior art, the technical solution provided by the present invention has the following beneficial effects:

[0033] 1. The node segmentation method based on physical perception involved in the present invention is based on the cost value paid by the channel between sub-designs and the signal passing through the channel. By trying to put each node into other sub-designs in turn while keeping the positions of other nodes unchanged, the difference in the total cost value before and after the change is calculated as the cost benefit. When the cost benefit is positive, the position of one of the nodes is changed according to the situation where the cost benefit is the largest, and the next round of iteration is performed until the cost benefits before and after a certain change are both negative, and the iteration is terminated. This method takes into account the cost that the sub-designs need to pay for communicating with each other at the actual physical positions in the chip, and takes into account the actual operation scenarios of the sub-designs in the physical chip, which is conducive to reducing the delay on the critical path in the actual layout and wiring, and is conducive to improving the operation speed of the final chip.

[0034] 2. The physical perception-based node segmentation method involved in the present invention no longer uses random selection to obtain the seed nodes of the sub-design when selecting seed nodes. Instead, it selects the node with the largest number of externally connected edges as the first seed node and puts it into the sub-design, then traverses the remaining nodes, and selects the node with the smallest ratio of the number of edges K to the sum of the edge weights of all seed nodes with connection relationships that have been placed in the sub-design as the next seed node, and puts it into another sub-design until all sub-designs have seed nodes. In this way, the seed nodes have relatively small connection weights with each other, and the nodes with more externally connected edges are used as seed nodes. In the subsequent segmentation process, the weights between the node sets grown in each sub-design will be reduced, and it is also beneficial for the final size of each sub-design to be easily balanced.

[0035] 2. The node segmentation method based on physical perception involved in the present invention obtains the edge weight of each node through adaptive density distribution function mapping. First, the timing margins of all timing paths are counted, and the range between the maximum and minimum values ​​of the timing margins is evenly divided into p parts, where p is an integer greater than 1; then the number of timing paths within each timing margin range is counted, and the number is fitted into a smooth curve, and the value of the ordinate on the curve is used as the density ρ , and obtain the density function ρ (s) ; Then, take the opposite of the value of the density function as the slope of the mapping function, start from the node corresponding to the maximum value of the timing margin, and construct the piecewise function of the mapping function forward; finally, fit the piecewise function of the mapping function to obtain the final mapping function of the timing margin and the edge weight, bring the timing margin of the node into the mapping function, and obtain the edge weight of the corresponding node. This method takes into account the uneven distribution of the timing margin of the timing path after the timing analysis of the chip design. For the timing paths with large distribution density, their edge weights can also be effectively distinguished, thereby improving the sensitivity of the segmentation to the timing information and improving the timing performance of the final segmentation result. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 It is a multi-branch tree structure constructed before chip design segmentation;

[0037] Figure 2 It is a schematic diagram of randomly selecting seed nodes during chip design segmentation;

[0038] Figure 3 It is a schematic diagram that maps the timing margin of the timing path to the edge weight according to the linear relationship;

[0039] Figure 4 Flowchart of the node segmentation method based on physical perception;

[0040] Figure 5 It is the position diagram of each node after the initial node segmentation;

[0041] Figure 6 It is a flow chart of a seed node extraction method based on an adaptive density distribution function;

[0042] Figure 7 It is a flow chart of obtaining edge weights through adaptive density distribution function mapping;

[0043] Figure 8 It is a piecewise mapping function constructed according to the density distribution;

[0044] Fig. 9 It is a mapping effect diagram of slack and weight based on density distribution;

[0045] Fig.10It is a graph of the benefits of moving only one node during one iteration in S4. DETAILED DESCRIPTION

[0046] 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.

[0047] The present invention relates to a node segmentation method based on physical perception. It should be noted that: before node segmentation, a conventional step has been constructed as follows: Figure 1 The graph structure and the steps of constructing the graph structure are conventional technologies and are not the content required to be protected by the present invention. The present invention will not elaborate on them in detail. Assuming that there are M nodes in the graph structure representing the design, and the chip design is required to be divided into N parts, M is much larger than N. This embodiment takes the example of dividing 9 nodes into 4 parts to explain the contents of the present invention in detail.

[0048] Refer to the attached Figure 4 As shown, the node segmentation method based on physical perception involved in the present invention comprises the following steps:

[0049] S1. Determine the channels between each sub-design and the basic cost of the signal passing through the channel and the capacity of each channel, such as Figure 5 As shown, the line between the sub-designs is a channel, indicating that there is a channel between the two sub-designs, that is, it can be used for signal communication. Each channel has a corresponding capacity Cap and a basic cost BC to be paid through the channel. The capacity of the channel is the maximum number of signals it can carry, which is a hard constraint, that is, the number of signals actually carried by any channel is not allowed to exceed the channel capacity; the signal can be forwarded through the intermediate sub-design. For example, the signal can go from sub-design 3 to sub-design 4 and reach sub-design 1. It does not have to pass through the channel between sub-design 1 and sub-design 3, but the forwarding cost is 5+30=35, which is much larger than 3. At the same time, the actual number of signals carried by sub-designs 3-4 and 4-1 is increased by 1.

[0050] S2. Place the nodes into each sub-design to form an initial node segmentation structure. The specific method is: first select the nodes equal to the number of sub-designs as seed nodes and place them into each sub-design in turn. In this embodiment, the seed nodes are no longer obtained by random selection, but by using Figure 6 The seed node extraction method based on the adaptive density distribution function shown is implemented, and the seed node extraction method specifically includes the following steps:

[0051] S2.1. Select the node with the largest number of externally connected edges as the first seed node and put it into the sub-design;

[0052] S2.2. Traverse the remaining nodes, count the number of externally connected edges of each node K and the sum of the edge weights W_Sum of each node and all seed nodes that have been placed in the sub-design and have a connection relationship, select the node with the smallest value of K / W_Sum as the next seed node, and place it in another sub-design;

[0053] As described in the background technology, for a design, after timing analysis, its timing margin distribution is not necessarily uniform, and the density distribution of different designs is also different from each other; the existing technology will result in that in the process of converting the timing into weights, for the timing paths with large timing margin density, the weight will not be effectively distinguished, and for the timing paths with small timing margin density, the weight will be too large. Therefore, in this step, the edge weight of each node is based on the timing information of the chip design, such as Figure 7 The adaptive density distribution function mapping shown is obtained, and the specific method includes the following steps:

[0054] S2.2.1. Construct a coordinate system for timing margin and edge weight, where the X-axis represents the timing margin and the Y-axis represents the edge weight;

[0055] S2.2.2. Perform timing analysis on the chip design, count the timing margins of all timing paths, and divide the range between the maximum and minimum timing margins into p parts, where p is an integer greater than 1, △s = (slack_max - slack_min) / p, and p is the statistical sensitivity, which is an integer greater than 1 input by the user. The larger p is, the higher the sensitivity is, and the greater the amount of calculation is. Considering the sensitivity and the amount of calculation, the value range of p is 10-100;

[0056] S2.2.3. Count the number of timing paths within each timing margin range, and fit the number into a smooth curve, using the value of the ordinate on the curve as the density ρ , and obtain the density function ρ (s) , s stands for slack;

[0057] S2.2.4. Take the opposite value of the density function as the slope of the mapping function, and start from the node corresponding to the maximum value of the timing margin and construct the piecewise function of the mapping function forward, such as Figure 8 As shown;

[0058] S2.2.5. Fit the piecewise function of the mapping function to obtain the final smooth mapping function of the timing margin and edge weight, such as Fig. 9 As shown, it is not difficult to see that for time series paths with large distribution density, the adaptive mapping function can effectively distinguish their edge weights;

[0059] S2.2.6. Substitute the timing margin of the node into the mapping function to obtain the edge weight of the corresponding node.

[0060] S2.3. Determine whether seed nodes are placed in all sub-designs. If not, return to S2. If so, complete the extraction of seed nodes.

[0061] By extracting seed nodes through the above method, the seed nodes have relatively small connection weights and nodes with more external connection edges as seed nodes. In the subsequent segmentation process, the weights between the node sets grown in each sub-design will be reduced, and it is also conducive to the final size of each sub-design to be easily balanced. Through the above method, the sensitivity of the segmentation process to timing information can be effectively improved, and the timing performance of the final segmentation result can be improved.

[0062] S2.4. After extracting the seed node through the above steps, traverse the remaining nodes, count the sum of the edge weights between each node and the sub-nodes in the current sub-design, select the sub-design with the largest sum of edge weights and the corresponding node, and put the node into the corresponding sub-design to obtain the following: Figure 5 The initial partitioning structure of the nodes is shown.

[0063] S3. Based on the connection relationship between nodes, multiple signal lines are formed, and the weight of each signal line is determined. The weight of the signal line can be represented by the edge weight between nodes in the signal line, which represents the bit width of the signal. Figure 5 As shown, in this embodiment, there is a communication relationship between nodes a, b and e, which is defined as communication network 1, with a weight of 1; there is a communication relationship between nodes c and d, which is defined as communication network 2, with a weight of 2; there is a communication relationship between nodes d, e and f, which is defined as communication network 3, with a weight of 3;

[0064] S4. For each signal line, find a communication path with the minimum basic cost value. Taking signal line 2 as an example, there are 4 communication paths between node c and node d, namely sub-design 2-sub-design 1-sub-design 3, sub-design 2-sub-design 4-sub-design 3, sub-design 2-sub-design 1-sub-design 4-sub-design 3, and sub-design 2-sub-design 4-sub-design 1-sub-design 3. Obviously, the basic cost value of the communication path design 2-sub-design 1-sub-design 3 is the smallest, which is 10+3=13. The product of the basic cost value of the communication path and the weight is used as the cost value of the path, which is 26. The sum of the path costs of other signal lines is deduced in the same way; the sum of the cost values ​​of the paths of each signal line is used as the initial total cost value of all signal lines;

[0065] S5. Traverse all nodes, try to put each node into other sub-designs in turn while keeping other nodes in the same position, calculate the sum of the total cost values ​​of all signal lines in various position changes in accordance with S4, and use it as the total cost value after the change;

[0066] S6. The difference between the initial total cost value and the total cost value under various changes is taken as the cost benefit under the corresponding change situation. For example, try to put node d into the sub-design 1 position. Since node d is in both communication network 2 and communication network 3, the communication cost for signal line 2 is reduced by 2*3=6, but for signal line 3, its communication cost increases by 3*3=9, so the benefit of putting node d into the sub-design 1 position is -3. For signal line 1, since the positions of nodes a, b, and e have not changed, they can be ignored when calculating the difference in total cost. Therefore, it can be said that if node d is changed to sub-design 1, it will pay an additional cost of 3; the same is true for other nodes, and the following is obtained: Fig.10 , determine whether the cost-benefit is positive in various cases. If so, change the position of one of the nodes according to the case with the largest cost-benefit, such as Fig.10 As shown, in this iteration, node c is moved to sub-design 3, and the changed total cost value replaces the initial total cost value in S4, and returns to S5; if it does not exist, the node position optimization is completed and the final node segmentation result is output.

[0067] After each change of the position of the node in S6, it is determined whether the signal quantity of each channel exceeds the capacity of the corresponding signal. If so, the position change of the node is canceled and the total cost of placing the node in the sub-design in the node position change is marked as negative.

[0068] When the position of the node is changed according to S6, it indicates that the node is already in the most suitable sub-design. In the subsequent iteration process, even if the cost-benefit of the node that has been moved is calculated, it must be a negative number. Therefore, each time after returning to S5, the node that has been moved can no longer be calculated.

[0069] 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 node segmentation method based on physical perception, characterized in that: It includes the following steps: S1. Determine the basic cost of the channel between each sub-design and the signal passing through the channel; S2. Place the nodes into each sub-design to form an initial node partitioning structure. First, select the nodes equal to the number of sub-designs as seed nodes and place them into each sub-design in turn. Then traverse the remaining nodes, count the sum of the edge weights between each node and the sub-nodes in the current sub-design, select the sub-design with the largest sum of edge weights and the corresponding node, and place the node into the corresponding sub-design. The seed node extraction method is implemented by using a seed node extraction method based on an adaptive density distribution function. The seed node extraction method based on an adaptive density distribution function includes the following steps: S2.

1. Select the node with the largest number of externally connected edges as the first seed node and put it into the sub-design; S2.

2. Traverse the remaining nodes, count the number of externally connected edges of each node K and the sum of the edge weights W_Sum of each node and all seed nodes that have been placed in the sub-design and have a connection relationship, select the node with the smallest value of K / W_Sum as the next seed node, and place it in another sub-design; The edge weight of each node is obtained by adaptive density distribution function mapping based on the timing information of the chip design. The specific method includes the following steps: S2.2.

1. Construct a coordinate system for timing margin and edge weight, where the X-axis represents the timing margin and the Y-axis represents the edge weight; S2.2.

2. Perform timing analysis on the chip design, count the timing margins of all timing paths, and divide the range between the maximum and minimum timing margins into p parts, where p is an integer greater than 1; S2.2.

3. Count the number of timing paths within each timing margin range, and fit the number into a smooth curve, using the value of the ordinate on the curve as the density ρ , and obtain the density function ρ (s) ; S2.2.

4. Taking the inverse of the value of the density function as the slope of the mapping function, starting from the node corresponding to the maximum value of the timing margin, construct a piecewise function of the mapping function forward; S2.2.

5. Fit the piecewise function of the mapping function to obtain the final mapping function of the timing margin and the edge weight; S2.2.

6. Substitute the timing margin of the node into the mapping function to obtain the edge weight of the corresponding node; S2.

3. Determine whether seed nodes are placed in all sub-designs. If not, return to S2.

2. If so, complete the extraction of seed nodes. S3. forming a plurality of signal lines based on the connection relationship between the nodes, and determining the weight of each signal line; S4. For each signal line, find a communication path with the minimum basic cost value, and use the product of the basic cost value of the communication path and the weight as the cost value of the path, and use the sum of the cost values ​​of the paths of each signal line as the initial total cost value of all signal lines; S5. Traverse all nodes, try to put each node into other sub-designs in turn while keeping other nodes in the same position, calculate the sum of the total cost values ​​of all signal lines in various position changes in accordance with S4, and use it as the total cost value after the change; S6. Take the difference between the initial total cost value and the total cost value under various changes as the cost benefit under the corresponding change situation, and determine whether the cost benefit under various conditions is a positive number. If so, change the position of one of the nodes according to the situation with the maximum cost benefit, and replace the initial total cost value in S4 with the changed total cost value, and return to S5; if not, complete the node position optimization.

2. The node segmentation method based on physical perception according to claim 1, characterized in that: S1 also determines the capacity of each channel. After each change in the position of the node in S6, it is determined whether the signal volume of each channel exceeds the capacity of the corresponding signal. If so, the position change of the node is canceled and the total cost of placing the node in the sub-design in this node position change is marked as negative.

3. The node segmentation method based on physical perception according to claim 1, characterized in that: In S2.2.2, the range between the maximum value and the minimum value of the timing margin is evenly divided into 10-100 parts.

4. The node segmentation method based on physical perception according to claim 1, characterized in that: In S6, each node changes position at most once, and nodes that have changed position are no longer traversed during the iteration process.