Litcius/Paper detail

Area-Driven FPGA Logic Synthesis Using Reinforcement Learning

Guanglei Zhou, Jason H. Anderson

2023Proceedings of the 28th Asia and South Pacific Design Automation Conference15 citationsDOI

Abstract

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.

Topics & Concepts

NetlistComputer scienceReinforcement learningElectronic circuitField-programmable gate arrayArtificial intelligenceAlgorithmComputer hardwareEngineeringElectrical engineeringVLSI and FPGA Design TechniquesEvolutionary Algorithms and ApplicationsVLSI and Analog Circuit Testing
Area-Driven FPGA Logic Synthesis Using Reinforcement Learning | Litcius