[Paper Review] An O(bn^2) Time Algorithm for Optimal Buffer Insertion with b Buffer Types
This paper presents an O(bn²) time algorithm for optimal buffer insertion with b buffer types, improving upon the prior O(b²n²) complexity by exploiting convex hull properties in (Q,C) pairs of candidate buffers. The method achieves orders-of-magnitude speedup on industrial benchmarks, enabling efficient buffer insertion in modern designs with large buffer libraries.
Buffer insertion is a popular technique to reduce the in-terconnect delay. The classic buffer insertion algorithm of van Ginneken has time complexity O(n2), where n is the number of buffer positions. Lillis, Cheng and Lin extended van Ginneken’s algorithm to allow b buffer types in time O(b2n2). For modern design libraries that contain hun-dreds of buffers, it is a serious challenge to balance the speed and performance of the buffer insertion algorithm. In this paper, we present a new algorithm that computes the optimal buffer insertion in O(bn2) time. The reduction is achieved by the observation that the (Q,C) pairs of the candidates that generate the new candidates must form a convex hull. On industrial test cases, the new algorithm is faster than the previous best buffer insertion algorithms by orders of magnitude. 1.
Motivation & Objective
- To address the performance bottleneck in buffer insertion for modern VLSI designs with large buffer libraries containing hundreds of types.
- To reduce the time complexity of optimal buffer insertion from O(b²n²) to O(bn²) while maintaining optimality.
- To enable practical, scalable buffer insertion in industrial-scale designs by optimizing the candidate generation process.
Proposed method
- The algorithm identifies optimal buffer insertion points by analyzing (Q,C) pairs—charge and capacitance—of candidate buffers.
- It applies convex hull optimization to eliminate dominated (Q,C) pairs, reducing redundant candidate evaluations.
- The method maintains a dynamic convex hull of (Q,C) pairs to efficiently compute the best buffer for each segment.
- It integrates the convex hull data structure into the dynamic programming framework of van Ginneken’s algorithm.
- The algorithm processes buffer types incrementally, updating the convex hull to maintain optimal candidates at each step.
- The overall structure reuses the O(n²) framework of van Ginneken but accelerates the b-buffer extension via geometric optimization.
Experimental results
Research questions
- RQ1Can the time complexity of optimal buffer insertion with b buffer types be reduced below O(b²n²)?
- RQ2Can geometric properties of (Q,C) pairs be exploited to eliminate redundant candidate evaluations?
- RQ3Does convex hull optimization enable a practical speedup in industrial buffer insertion workloads?
- RQ4Can the algorithm maintain optimality while achieving significant performance gains on real-world designs?
Key findings
- The proposed algorithm achieves O(bn²) time complexity, representing a significant improvement over the previous O(b²n²) bound.
- The algorithm reduces runtime by orders of magnitude on industrial test cases compared to prior methods.
- The use of convex hull optimization effectively prunes non-optimal (Q,C) pairs, accelerating candidate evaluation.
- The method maintains exact optimality while scaling efficiently with the number of buffer types b.
- The algorithm is practical for modern designs with large buffer libraries, such as those containing hundreds of buffer types.
- Empirical results confirm substantial speedups in real-world applications, making optimal buffer insertion feasible at scale.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.