Area-Driven FPGA Logic Synthesis Using Reinforcement Learning

被引:8
作者
Zhou, Guanglei [1 ]
Anderson, Jason H. [1 ]
机构
[1] Univ Toronto, Dept Elect & Comp Engn, Toronto, ON, Canada
来源
2023 28TH ASIA AND SOUTH PACIFIC DESIGN AUTOMATION CONFERENCE, ASP-DAC | 2023年
关键词
Logic synthesis; reinforcement learning; circuit optimization;
D O I
10.1145/3566097.3567894
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Logic synthesis involves a rich set of optimization algorithms applied in a specific sequence to a circuit netlist prior to technology mapping. A conventional approach is to apply a fixed "recipe" of such algorithms deemed to work well for a wide range of different circuits. We apply reinforcement learning (RL) to determine a unique recipe of algorithms for each circuit. Feature-importance analysis is conducted using a random-forest classifier to prune the set of features visible to the RL agent. We demonstrate conclusive learning by the RL agent and show significant FPGA area reductions vs. the conventional approach (resyn2). In addition to circuit-by-circuit training and inference, we also train an RL agent on multiple circuits, and then apply the agent to optimize: 1) the same set of circuits on which it was trained, and 2) an alternative set of "unseen" circuits. In both scenarios, we observe that the RL agent produces higher-quality implementations than the conventional approach. This shows that the RL agent is able to generalize, and perform beneficial logic synthesis optimizations across a variety of circuits.
引用
收藏
页码:159 / 165
页数:7
相关论文
共 16 条
[1]  
Amaru L., 2015, PROC 24 INT WORKSHOP
[2]   A MARKOVIAN DECISION PROCESS [J].
BELLMAN, R .
JOURNAL OF MATHEMATICS AND MECHANICS, 1957, 6 (05) :679-684
[3]  
Brockman G, 2016, Arxiv, DOI [arXiv:1606.01540, DOI 10.48550/ARXIV.1606.01540]
[4]  
Haj-Ali A., 2020, P 3 C MACH LEARN SYS, P70
[5]  
Hosny A, 2020, ASIA S PACIF DES AUT, P581, DOI 10.1109/ASP-DAC47756.2020.9045559
[6]   Characterization and parameterized generation of synthetic combinational benchmark circuits [J].
Hutton, MD ;
Rose, J ;
Grossman, JP ;
Corneil, DG .
IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, 1998, 17 (10) :985-996
[7]  
Louppe G, 2015, Arxiv, DOI arXiv:1407.7502
[8]  
Mishchenko A., 2007, ABC: A system for sequential synthesis and verification
[9]   Combinational and sequential mapping with priority cuts [J].
Mishchenko, Alan ;
Cho, Sungmin ;
Chatterjee, Satrajit ;
Brayton, Robert .
IEEE/ACM INTERNATIONAL CONFERENCE ON COMPUTER-AIDED DESIGN DIGEST OF TECHNICAL PAPERS, VOLS 1 AND 2, 2007, :354-361
[10]  
Mnih V, 2016, Arxiv, DOI arXiv:1602.01783