A method and system for generating a right-angle steiner tree based on double-path feature fusion
By generating right-angle Steiner trees based on a dual-path feature fusion method, the problems of poor model versatility, low inference efficiency, and insufficient utilization of topological features in existing technologies are solved. This achieves efficient and accurate wiring topology generation, improving the efficiency and performance of integrated circuit design.
Patent Information
- Application Number
- CN202611673107.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-27
- Publication Date
- 2026-11-24
AI Technical Summary
Existing methods for generating rectangular Steiner minimum trees are insufficient in terms of model generality, inference efficiency, utilization of spatial and topological features, and connectivity, making it difficult to meet the wiring requirements of VLSI physical design.
A dual-path feature fusion approach is adopted. By constructing a Harnan grid structure, spatial-topological dual-dimensional node features and distance-aware edge features are designed. These features are then combined with GRIT global topological feature extraction and geometrically enhanced GatedGCN local geometric feature extraction for feature fusion. Finally, a greedy strategy is used to iteratively add the shortest Manhattan edge for topological repair, generating a valid right-angled Steiner minimum tree.
It achieves parallel extraction and adaptive fusion of spatial and topological features, improves prediction accuracy and solution stability, ensures the legality of the output wiring topology, has strong generalization ability and engineering practicality, and reduces line length estimation error and solution time.
Smart Images

Figure CN123159252A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of electronic design automation technology, and more specifically to a method and system for generating right-angle Steiner trees based on dual-path feature fusion. Background Technology
[0002] Currently, Rectangular Steiner Minimum Tree (RSMT) is an important research direction in the field of integrated circuit electronic design automation (EDA). In the physical design of very large-scale integrated circuits, RSMT is a key basic structure for optimizing wiring length, and its solution efficiency and accuracy directly affect the chip's performance, power consumption and area.
[0003] Traditionally, RSMT algorithms mainly include exact and heuristic algorithms. The former is too complex to be used in large-scale scenarios, while the latter relies on manually designed rules and has limited optimization performance in complex topologies. With the development of machine learning technology, using machine learning techniques to construct RSMT is an important research direction.
[0004] Existing RSMT optimization methods generally suffer from the following technical shortcomings: 1. The model has poor versatility. Multiple dedicated models must be trained for networks with different numbers of pins. It is impossible to achieve general inference for inputs of different scales using a single model. In industrial-grade complex netlist scenarios, the model has high maintenance costs and extremely poor scalability.
[0005] 2. Low inference efficiency: It adopts an autoregressive serial generation method, and the inference process must be iterated and generated step by step, which cannot be parallelized. As the network size and the number of pins increase, the computation time increases significantly, making it difficult to meet the high-speed processing requirements of EDA tools.
[0006] 3. Insufficient utilization of spatial and topological features. The grid structure of the South China Sea is not integrated, and key information such as node spatial coordinates, geometric distances and grid adjacency relationships are not fully encoded, making it difficult to accurately capture global topological dependencies and local spatial geometric features.
[0007] 4. The lack of connectivity constraints can easily lead to problems such as isolated pins and disconnected subgraphs in the generated topology. This does not conform to actual routing rules and requires additional post-processing for repair, further increasing computational overhead and reducing the stability of the results.
[0008] The aforementioned shortcomings limit the construction quality and efficiency of RSMT in high-density pin sets and large-scale netlist scenarios. Therefore, how to use machine learning technology to efficiently and accurately construct large-scale RSMT that meets connectivity requirements is a problem that urgently needs to be solved by those skilled in the art. Summary of the Invention
[0009] In view of this, the present invention provides a method and system for generating right-angle Steiner trees based on dual-path feature fusion, in order to solve the problems of weak generalization ability, low inference efficiency, insufficient utilization of spatial and topological features and lack of connectivity guarantee of existing machine learning-based right-angle Steiner minimum tree generation methods, which are difficult to meet the wiring requirements of large-scale multi-pin networks in the physical design of very large-scale integrated circuits.
[0010] To achieve the above objectives, the present invention adopts the following technical solution: A method for generating right-angle Steiner trees based on dual-path feature fusion includes: Construct a Hannan mesh based on the set of pin nodes to be interconnected, and abstract the Hannan mesh as a graph structure; Design space-topology dual-dimensional node features and distance-aware edge features as input to graph neural networks; A dual-path feature extraction method is adopted, which uses the GRIT global topological feature extraction path and the geometric enhancement GatedGCN local geometric feature extraction path. The features output by the two paths are then fused to obtain the fused node features. Based on the fused node features, binary classification prediction is performed on each node in the Hanan grid to determine the Steiner point, and an initial right-angle Steiner tree is generated by combining the minimum spanning tree. Perform connectivity checks on the initial right-angle Steiner tree. If there are disconnected components, use a greedy strategy to iteratively add the shortest Manhattan edge to perform topology repair and output the valid minimum right-angle Steiner tree.
[0011] Optionally, the node set of the graph structure is composed of the intersection of the original pin nodes and the Hanan grid; the edge set E is the connecting edge of adjacent nodes in the Hanan grid that have no intermediate nodes in the horizontal or vertical directions, and the node adjacency relationship satisfies that there are no intermediate nodes in the horizontal or vertical directions.
[0012] Optionally, the node feature is a three-dimensional feature vector formed by concatenating the node's two-dimensional spatial coordinates with a pin indicator, wherein the pin indicator is used to distinguish whether the node belongs to the original pin node or the Hanan grid candidate node.
[0013] Optionally, the distance-aware edge features are obtained by: calculating the Euclidean distance, Gaussian kernel weight, and normalized direction vector between adjacent node pairs, concatenating the Euclidean distance, Gaussian kernel weight, and normalized direction vector into an initial edge feature vector, and then mapping it through a multilayer perceptron to obtain the distance-aware edge features.
[0014] Optionally, the GRIT global topology feature extraction path performs global feature encoding on the entire Hanan grid graph based on the Transformer self-attention mechanism to capture the long-range topology dependencies between nodes.
[0015] Optionally, the local geometric feature extraction path of the geometry-enhanced GatedGCN includes: constructing a geometric neighborhood set for each node based on the K-nearest neighbor algorithm, wherein the geometric neighborhood set consists of the k nodes with the smallest Euclidean distance to the node; during the node message aggregation stage, simultaneously fusing message information from the topological neighborhood and the geometric neighborhood; and updating node features and distance-aware edge features through a gating mechanism. The synchronous fusion of message information from the topological neighborhood and the geometric neighborhood includes: summing the message vectors transmitted from each neighbor node in the topological neighborhood to the current node, summing the message vectors transmitted from each neighbor node in the geometric neighborhood to the current node, and then adding the two summation results to obtain the aggregated message of the current node.
[0016] Optionally, fusing the features output by the two paths includes: weighted fusing the global long-range features output by the GRIT global topology feature extraction path with the local geometric features output by the GatedGCN local geometric feature extraction path to generate fused node features that combine global topology awareness and local geometric representation.
[0017] Optionally, the step of performing binary classification prediction on each node in the Hanan grid based on the fused node features includes: inputting the fused node features into a classifier, outputting the probability that each node is a Steiner point through a sigmoid activation function, and determining nodes with a probability greater than a preset threshold as Steiner points.
[0018] Optionally, the iterative addition of the shortest Manhattan edge using a greedy strategy for topology repair includes: Step 1. Detect the connected components in the initial right-angle Steiner tree; Step 2. Select the node pair with the smallest Manhattan distance among the node pairs belonging to different connected components, and add connecting edges between the node pairs; Repeat steps 1 to 2 until all nodes belong to the same connected component.
[0019] A right-angle Steiner tree generation system based on dual-path feature fusion includes: The mesh building module is used to construct a Hannan mesh based on the set of pin nodes to be interconnected and abstract it into a graph structure. The feature encoding module is used to design spatial-topological dual-dimensional node features and distance-aware edge features; The dual-path feature extraction module is used to extract and fuse features using the GRIT global topological path and the geometrically enhanced GatedGCN local geometric path. The Steiner point prediction module is used to perform binary classification prediction on grid nodes based on fused features and generate an initial right-angle Steiner tree by combining the minimum spanning tree. The connectivity repair module is used to perform greedy repair on disconnected topologies and output a valid right-angle Steiner minimum tree.
[0020] As can be seen from the above technical solution, compared with the prior art, the present invention discloses a method and system for generating right-angle Steiner trees based on dual-path feature fusion, which has the following beneficial effects: 1. Parallel extraction and adaptive fusion of spatial and topological features were achieved, enabling the model to simultaneously capture long-range dependencies and local geometric relationships.
[0021] 2. It can effectively utilize the prior knowledge of the Hannan grid, significantly reduce the Steiner point search space, and improve prediction accuracy and solution stability.
[0022] 3. By introducing connectivity constraints and repair mechanisms, the problem of isolated pins and topology incompatibility is avoided, ensuring that the output conforms to the actual wiring rules.
[0023] 4. It adopts a single model and unified inference architecture, which has strong generalization ability and engineering practicality in different pin counts and netlist sizes.
[0024] The method proposed in this invention can effectively reduce line length estimation errors, shorten solution time, and ensure that the wiring topology is legal and efficient, thereby greatly improving the efficiency and performance of integrated circuit physical design. Attached Figure Description
[0025] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0026] Figure 1 This is a schematic diagram of the overall process of the present invention; Figure 2 The overall flowchart of multi-path feature fusion provided by the present invention. Detailed Implementation
[0027] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0028] The following is an explanation of the relevant English abbreviations mentioned below: GRIT (Representation with Inductive Biases and Transformers) Geometrically Enhanced Gated Graph Convolutional Networks (GatedGCN) Multilayer perceptron (MLP).
[0029] This invention discloses a method for generating right-angle Steiner trees based on dual-path feature fusion, such as... Figure 1 As shown, it includes: Construct a Hannan mesh based on the set of pin nodes to be interconnected, and abstract the Hannan mesh as a graph structure; Design space-topology dual-dimensional node features and distance-aware edge features as input to graph neural networks; A dual-path feature extraction method is adopted, which uses the GRIT global topological feature extraction path and the geometric enhancement GatedGCN local geometric feature extraction path. The features output by the two paths are then fused to obtain the fused node features. Based on the fused node features, binary classification prediction is performed on each node in the Hanan grid to determine the Steiner point, and an initial right-angle Steiner tree is generated by combining the minimum spanning tree. Perform connectivity checks on the initial right-angle Steiner tree. If there are disconnected components, use a greedy strategy to iteratively add the shortest Manhattan edge to perform topology repair and output the valid minimum right-angle Steiner tree.
[0030] Specifically, this invention employs the most advanced graph neural network and GRIT architecture to achieve the best balance between RSMT accuracy and runtime.
[0031] RSMT build task paradigm
[0032] This invention transforms the task of constructing a Cartesian Steiner minimum tree into a supervised binary node classification task on a Hannan grid. Based on a graph structure, it achieves accurate prediction of the optimal Steiner point, fundamentally reducing the solution space of the NP-complete problem. First, a Hannan grid is constructed based on the set of pin nodes to be interconnected, and the grid is abstracted into a standard graph structure. The node set V consists of the original pin node set. Intersection set with Harbin South grid Integration and composition, that is edge set E For adjacent nodes in the Hanan grid that have no intermediate nodes in the horizontal and vertical directions, the node adjacency relationship satisfies: if and only if the nodes and When there are common horizontal lines and no intermediate nodes, or common vertical lines and no intermediate nodes, For nodes The topological neighborhood set.
[0033] Based on the graph structure described above, a graph neural network is used to perform binary classification prediction on all grid nodes to directly determine whether a node is an optimal Steiner point. The node classification prediction formula is as follows:
[0034] In the formula, The output will categorize the nodes, with values ranging from {0,1}. =1 represents a node The optimal Steiner point, =0 represents a node For non-Steiner points; For nodes The input feature vector; The sigmoid activation function maps the model output to classification probabilities between 0 and 1. This modeling approach breaks through the limitations of serial inference and multi-model training in traditional RSMT solutions, enabling a single model to be universally adapted to networks with different pin counts.
[0035] Spatial topology two-dimensional feature engineering
[0036] To accurately encode the spatial location information and topological connectivity of VLSI physical cabling, this invention constructs a two-dimensional input system that integrates geometric and topological features, designing node features and edge features respectively to provide the model with complete physical prior information: (1) Node feature construction: The three-dimensional feature vector, combining two-dimensional spatial coordinates and pin indicators, is used as the initial node input of the model. The feature expression is:
[0037] In the formula, Let v be the input feature vector of node v. , They are nodes The horizontal and vertical coordinates of the physical wiring plane are used to characterize the spatial location of nodes; I ( v ) is a Boolean indicator function, when node Belongs to the original pin node set hour, =1, when node Belonging to the candidate node set of the Harbin South grid hour, =0, which enables a clear distinction between pin nodes and candidate Steiner nodes, ensuring accurate identification of node attributes during feature propagation.
[0038] (2) Distance-aware edge features: The design incorporates distance-aware geometric edge features, fusing Euclidean distance, Gaussian kernel weights, and normalized direction vectors. A high-dimensional nonlinear mapping is then performed using a multilayer perceptron. The specific computational process is as follows: First, calculate the original geometric features of nodes u and v, and the Euclidean distance:
[0039] In the formula, , They are nodes ,node Coordinate vectors on the two-dimensional wiring plane; Represents the L2 norm (Euclidean distance); For nodes With nodes The Euclidean distance between them.
[0040] Gaussian kernel weights:
[0041] In the formula, Here, is the Gaussian kernel bandwidth parameter, and is a preset hyperparameter used to control the decay rate of the distance weights; For node pairs ( , The corresponding Gaussian kernel weight value is in the range of (0,1], and the closer the distance, the greater the weight.
[0042] Normalized direction vector:
[0043] In the formula, To prevent extremely small positive numbers with a denominator of zero; For node u to point to node The unit direction vector is used to characterize the spatial orientation of the edge.
[0044] Then, concatenate the above original features into an initial edge feature vector:
[0045] In the formula, The original edge feature vector obtained by splicing is composed of a Euclidean distance scalar, a Gaussian kernel weight scalar, and a normalized direction vector.
[0046] Finally, the model input edge features are obtained through MLP mapping:
[0047] In the formula, This represents a multilayer perceptron network consisting of fully connected layers and activation functions, used to map raw geometric features to a high-dimensional latent space; This is the final edge feature vector output, used for message passing computation in the graph neural network.
[0048] This edge feature can guide the model to adaptively learn spatial attention weights, thereby enhancing its ability to model local spatial geometric relationships.
[0049] 3. Multipath fusion of GRIT and geometry-enhanced GatedGCN
[0050] The multi-path feature fusion flowchart in this invention is as follows: Figure 2 As shown, the green dots represent the original pin nodes to be interconnected. These are fixed target nodes that must be fully connected in the physical routing and also serve as the coordinate reference for constructing the Hannan grid. The orange dots represent the intersection points of the Hannan grid generated by the intersection of the horizontal and vertical coordinate projections of all pins, i.e., potential candidate Steiner points, which are the core screening objects for the dual-path feature model to perform binary classification prediction. The pink dots are the optimal Steiner points finally confirmed by the model classification prediction. They are new nodes selected from the orange candidate points that can be added to the routing topology to effectively shorten the total routing length. Ultimately, they will form a complete right-angled Steiner minimum tree together with the original pin nodes. The specific principle is as follows: (1) The GRIT global feature extraction path adopts the GRIT architecture, which breaks through the limitations of the local receptive field of traditional graph convolution based on the Transformer self-attention mechanism. It performs global feature encoding on the entire Hannan grid graph, captures the high-order interaction relationship and long-range topological dependency between all pin nodes, and provides global wiring rule support for Steiner point prediction.
[0051] (2) Geometric Enhancement of GatedGCN Local Feature Extraction Path: The original GatedGCN is geometrically enhanced and improved. First, a set of geometric neighborhoods of nodes is constructed based on the K-NN algorithm. The geometric neighborhood is defined as follows:
[0052] In the formula, N geo ( v Let ) be the geometric neighborhood of node v. This indicates selecting the k nodes with the smallest Euclidean distance to node v. During the node message aggregation phase, message information from the topological neighborhood and geometric neighborhood are simultaneously fused. The message aggregation formula is:
[0053] In the formula, For nodes v topological neighborhood, For nodes u To the node v Message vector to be transmitted:
[0054] In the formula, A, B, and C are all learnable weight matrices, where A represents the source node features. The linear transformation weight matrix, where B is the target node feature. The linear transformation weight matrix, where C is the edge feature The linear transformation weight matrix; the weight matrix is iteratively updated during model training using the gradient descent algorithm, and its dimensions are matched with the dimensions of the corresponding input features.
[0055] Node feature updates are accomplished through a gating mechanism. The gating calculation and feature update formulas are as follows:
[0056]
[0057] In the formula, D and E are learnable weight matrices, with D used to assign features to the target node. Perform a linear transformation, E is used to aggregate the message vector. Perform a linear transformation; is the gating coefficient vector for node v, with values ranging from (0,1), used to control the degree to which the aggregated message updates the features of the original node; It is the sigmoid activation function; For Hadamah accumulation; It is a linear rectification activation function; This is the updated node feature vector.
[0058] Simultaneously, gating updates are performed on the edge features, with the update formula being:
[0059]
[0060] In the formula, F, G, and H are learnable weight matrices, and F is used to evaluate the features of the source node. A linear transformation is performed, and G is used to transform the target node features. A linear transformation is performed, and H is used to transform the original edge features. Perform linear transformation For edge ( , The gating coefficient vector; This is the updated edge feature vector.
[0061] Through the above improvements, GatedGCN is endowed with explicit spatial geometry perception capabilities, accurately encoding local topology and spatial positional relationships.
[0062] (3) Multi-scale feature fusion: The global long-range features extracted by the GRIT architecture are weighted and fused with the local geometric features extracted by the geometric enhancement GatedGCN to generate the final node features that have both global perception and local fine-grained representation. Based on the fused features, Steiner point classification prediction is completed, and finally, the minimum spanning tree is combined to generate the near-optimal right-angle Steiner minimum tree.
[0063] 4. Connectivity constraints and topology post-processing
[0064] To address the issues of pin isolation and topology disconnection in RSMT prediction results, this invention designs a dual mechanism of connectivity constraints during the training phase and topology post-processing during the inference phase, ensuring that the output topology conforms to VLSI physical routing rules.
[0065] During the training phase, connectivity constraints embed the prior connectivity of the wiring topology into the model optimization objective. Through the loss function, the model is guided to actively learn globally connected wiring paths during training, thereby reducing the probability of generating illegal topologies such as islands and broken lines from the source.
[0066] During the inference phase, topology post-processing performs connected component detection on the candidate RSMT topology generated by the model. If multiple independent connected components are detected, a greedy strategy is used to iteratively add the Manhattan shortest edge to complete the topology repair. The repair rule formula is as follows:
[0067] In the formula, For nodes and The Manhattan distance is used to continuously add the shortest edge to repair the disconnected topology into a fully connected, island-free legal topology, and finally output a right-angle Steiner minimum tree with an approximately optimal line length that meets the physical wiring requirements.
[0068] A right-angle Steiner tree generation system based on dual-path feature fusion includes: The mesh building module is used to construct a Hannan mesh based on the set of pin nodes to be interconnected and abstract it into a graph structure. The feature encoding module is used to design spatial-topological dual-dimensional node features and distance-aware edge features; The dual-path feature extraction module is used to extract and fuse features using the GRIT global topological path and the geometrically enhanced GatedGCN local geometric path. The Steiner point prediction module is used to perform binary classification prediction on grid nodes based on fused features and generate an initial right-angle Steiner tree by combining the minimum spanning tree. The connectivity repair module is used to perform greedy repair on disconnected topologies and output a valid right-angle Steiner minimum tree.
[0069] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to the method section.
[0070] The above description of the disclosed embodiments enables those skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for generating right-angle Steiner trees based on dual-path feature fusion, characterized in that, include: Construct a Hannan mesh based on the set of pin nodes to be interconnected, and abstract the Hannan mesh as a graph structure; Design space-topology dual-dimensional node features and distance-aware edge features as input to graph neural networks; A dual-path feature extraction method is adopted, which uses the GRIT global topological feature extraction path and the geometric enhancement GatedGCN local geometric feature extraction path. The features output by the two paths are then fused to obtain the fused node features. Based on the fused node features, binary classification prediction is performed on each node in the Hanan grid to determine the Steiner point, and an initial right-angle Steiner tree is generated by combining the minimum spanning tree. Perform connectivity checks on the initial right-angle Steiner tree. If there are disconnected components, use a greedy strategy to iteratively add the shortest Manhattan edge to perform topology repair and output the valid minimum right-angle Steiner tree.
2. The method for generating a right-angle Steiner tree based on dual-path feature fusion according to claim 1, characterized in that, The node set of the graph structure is composed of the original pin nodes and the intersection of the Hanan grid; the edge set E is the connecting edge of adjacent nodes in the Hanan grid that have no intermediate nodes in the horizontal or vertical directions, and the node adjacency relationship satisfies that there are no intermediate nodes in the horizontal or vertical directions.
3. The method for generating a right-angle Steiner tree based on dual-path feature fusion according to claim 1, characterized in that, The node feature is a three-dimensional feature vector formed by concatenating the node's two-dimensional spatial coordinates with a pin indicator. The pin indicator is used to distinguish whether the node belongs to the original pin node or the Hanan grid candidate node.
4. The method for generating a right-angle Steiner tree based on dual-path feature fusion according to claim 1, characterized in that, The distance-aware edge features are obtained by calculating the Euclidean distance, Gaussian kernel weight, and normalized direction vector between adjacent node pairs, concatenating the Euclidean distance, Gaussian kernel weight, and normalized direction vector into an initial edge feature vector, and then mapping it through a multilayer perceptron to obtain the distance-aware edge features.
5. The method for generating a right-angle Steiner tree based on dual-path feature fusion according to claim 1, characterized in that, The GRIT global topology feature extraction path performs global feature encoding on the entire Hanan grid graph based on the Transformer self-attention mechanism to capture the long-range topology dependencies between nodes.
6. The method for generating a right-angle Steiner tree based on dual-path feature fusion according to claim 1, characterized in that, The local geometric feature extraction path of the geometry-enhanced GatedGCN includes: constructing a geometric neighborhood set for each node based on the K-nearest neighbor algorithm, wherein the geometric neighborhood set consists of the k nodes with the smallest Euclidean distance to the node; during the node message aggregation stage, the message information of the topological neighborhood and the geometric neighborhood are fused synchronously; and the node features and distance-aware edge features are updated through a gating mechanism. The synchronous fusion of message information from the topological neighborhood and the geometric neighborhood includes: summing the message vectors transmitted from each neighbor node in the topological neighborhood to the current node, summing the message vectors transmitted from each neighbor node in the geometric neighborhood to the current node, and then adding the two summation results to obtain the aggregated message of the current node.
7. The method for generating a right-angle Steiner tree based on dual-path feature fusion according to claim 1, characterized in that, The process of fusing the features output from the two paths includes: weighted fusing the global long-range features output from the GRIT global topology feature extraction path with the local geometric features output from the GatedGCN local geometric feature extraction path to generate fused node features that combine global topology awareness and local geometric representation.
8. The method for generating a right-angle Steiner tree based on dual-path feature fusion according to claim 1, characterized in that, The binary classification prediction of each node in the Hanan grid based on the fused node features includes: inputting the fused node features into a classifier, outputting the probability of each node being a Steiner point through the sigmoid activation function, and determining the nodes with a probability greater than a preset threshold as Steiner points.
9. A method for generating a right-angle Steiner tree based on dual-path feature fusion according to claim 1, characterized in that, The topology repair using a greedy strategy to iteratively add the shortest Manhattan edge includes: Step 1. Detect the connected components in the initial right-angle Steiner tree; Step 2. Select the node pair with the smallest Manhattan distance among the node pairs belonging to different connected components, and add connecting edges between the node pairs; Repeat steps 1 to 2 until all nodes belong to the same connected component.
10. A right-angle Steiner tree generation system based on dual-path feature fusion, employing the right-angle Steiner tree generation method based on dual-path feature fusion as described in any one of claims 1-9, characterized in that, include: The mesh building module is used to construct a Hannan mesh based on the set of pin nodes to be interconnected and abstract it into a graph structure. The feature encoding module is used to design spatial-topological dual-dimensional node features and distance-aware edge features; The dual-path feature extraction module is used to extract and fuse features using the GRIT global topological path and the geometrically enhanced GatedGCN local geometric path. The Steiner point prediction module is used to perform binary classification prediction on grid nodes based on fused features and generate an initial right-angle Steiner tree by combining the minimum spanning tree. The connectivity repair module is used to perform greedy repair on disconnected topologies and output a valid right-angle Steiner minimum tree.
