• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

Computer Engineering & Science ›› 2021, Vol. 43 ›› Issue (07): 1185-1191.

Previous Articles     Next Articles

A novel circuit layout and routing algorithm

YUAN Ye,WANG Gang,LIU Xiao-guang,LI Yu-sen   

  1. (College of Computer Science,Nankai University,Tianjin 300350;

    Tianjin Key Laboratory of Network and Data Security Technology(Nankai University),Tianjin 300350,China)

  • Received:2020-06-30 Revised:2020-11-09 Accepted:2021-07-25 Online:2021-07-25 Published:2021-08-16

Abstract: This paper investigates the research status of automatic circuit layout and routing technology at home and abroad, and designs a layout and routing algorithm for medium-sized circuits. It is mainly used in the module test of large-scale layout design software, and provides users with preliminary wiring and layout results of each module, which is convenient for users to find and correct error points efficiently, and fills the gap in related fields in China. In this paper, a hypergraph model is established and transformed into a graph model. The Stoer-Wagner algorithm is improved, and the algorithm and the Fiduccia-Mattheyses algorithm are used to divide the graph based on the minimum cut theory, and construct a partition tree. Based on this tree, this paper designs a binary relative moving algorithm to determine the location of each circuit component, which greatly reduces the layout congestion and improves the aesthetics. For a circuit with hundreds of components, its layout can be obtained within 0.5 seconds. Based on the A* algorithm, the routing is improved in many aspects, and the routing speed is improved. For a circuit with <1000 wires, the routing results can be obtained within 0.1 s to 60 s, achieving 100% routing rate and uniform layout and routing effect.


Key words: electroic design automation (EDA), Stoer-Wagner algorithm, hypergraph, simulated- annealing algorithm, A* algorithm