Efficient obstacle-avoiding rectilinear steiner tree construction

Chung-Wei Lin, Szu-Yu Chen, Chi-Feng Li, Yao-Wen Chang, Chia-Lin YangIspd 2007

TL;DR

This paper introduces a novel algorithm for constructing obstacle-avoiding rectilinear Steiner minimal trees (OARSMTs) in integrated circuit (IC) design. Their method significantly improves upon existing approaches by guaranteeing optimal solutions for 2-pin nets and many higher-pin nets, while also achieving competitive runtime performance.

What Problem Does This Paper Address?

Modern IC designs are becoming increasingly complex, with numerous routing obstacles arising from power networks, pre-routed IP blocks, and manufacturing constraints. Connecting electronic components (pins) with minimal wirelength while strictly avoiding these obstacles is crucial for efficient chip design. This problem, known as the Obstacle-Avoiding Rectilinear Steiner Minimal Tree (OARSMT) problem, is notoriously difficult due to the combinatorial explosion of possibilities and the geometric constraints imposed by obstacles. Existing algorithms often struggle with either producing suboptimal wirelengths or requiring prohibitively long computation times, especially for large-scale designs.

Methods

The authors propose a four-step algorithm that builds upon the concept of an Obstacle-Avoiding Spanning Graph (OASG).

  1. OASG Construction: This is the core innovation. They construct an OASG that connects all pin vertices and obstacle corner vertices. Crucially, their OASG includes "essential" edges that are often missed by previous methods, ensuring that rectilinear shortest paths between any two vertices are guaranteed to be represented within the graph. This is achieved by a detailed line-sweeping algorithm that carefully considers obstacle boundaries and pin locations.
  2. Obstacle-Avoiding Spanning Tree (OAST) Construction: From the OASG, an OAST is built by first computing shortest paths between pin vertices and then constructing a minimum spanning tree on these paths.
  3. OARST Construction: The OAST, which may contain "slant" edges, is transformed into an Obstacle-Avoiding Rectilinear Spanning Tree (OARST) by converting all slant edges into sequences of vertical and horizontal segments. This step involves carefully handling different geometric cases of edge interactions.
  4. OARSMT Construction: Finally, the OARST is refined to produce the OARSMT. This involves removing overlapping edges, eliminating redundant vertices (non-pin vertices with degree 2 and parallel incident edges), and applying a specific "U-shaped pattern refinement" to further reduce wirelength.

Datasets

The authors evaluated their algorithm on a combination of datasets:

  • Five industrial test cases (ind1-ind5) from Synopsys.
  • Twelve test cases (rc1-rc12) previously used in related research [3].
  • Five randomly generated test cases (rt1-rt5) with varying numbers of pins and obstacles, designed to mimic real-world scenarios where obstacles are often more numerous than pins.

Key Insights and Ideas

  • Completeness of OASG: The most significant insight is the construction of an OASG that guarantees the existence of rectilinear shortest paths between any two vertices. This completeness is key to achieving optimality for certain net configurations.
  • "Essential" Edges: By carefully identifying and including "essential" edges in the OASG, the algorithm avoids the suboptimal solutions that arise when these critical connections are missed.
  • U-Shaped Refinement: The specific refinement step for U-shaped patterns demonstrates a targeted approach to wirelength reduction that balances efficiency with effectiveness.
  • Optimality Guarantees: The paper provides theoretical guarantees for optimal OARSMT construction for 2-pin nets and specific configurations of 3-pin and higher-pin nets, which is a strong improvement over many heuristic methods.

Key Results

  • Wirelength Improvement: The algorithm consistently outperforms state-of-the-art methods in terms of total wirelength. On average, it achieves improvements of 6.66% over [12], 27.70% over [3], and 5.79% over [11], when compared against the half-perimeter of the bounding box of all pin-vertices.
  • Runtime Performance: The algorithm is efficient, with an empirical time complexity close to O(n^1.46), which is comparable to or better than existing methods like [11] (O(n^1.40) empirically) and significantly faster than theoretical worst-case bounds. For practical applications, the theoretical complexity is O(n^2 log n), and the worst-case is O(n^3).
  • Optimality: The algorithm guarantees optimal solutions for 2-pin nets and achieves optimal solutions in many cases for higher-pin nets, a significant advantage over purely heuristic approaches.

Limitations and Future Work

  • Optimality for General Cases: While the algorithm guarantees optimality for 2-pin nets and specific configurations of higher-pin nets, it does not guarantee optimality for all higher-pin nets. The paper suggests that further research could explore conditions for optimality in more general cases.
  • Theoretical vs. Empirical Complexity: The empirical runtime is significantly better than the theoretical worst-case complexity. While this is a positive outcome, further analysis might be needed to fully understand the gap between theoretical bounds and practical performance.
  • Future Work: The authors suggest that their OASG construction provides key insights for finding more desirable OARSMT solutions, implying potential for further algorithmic refinements and optimizations.

Summary updated

BibTeX
@inproceedings{lin2007efficient,
  author = {Chung-Wei Lin and Szu-Yu Chen and Chi-Feng Li and Yao-Wen Chang and Chia-Lin Yang},
  title = {{Efficient obstacle-avoiding rectilinear steiner tree construction}},
  booktitle = {Ispd},
  year = {2007},
  doi = {10.1145/1231996.1232023},
}
Figure