MapTune: Advancing ASIC Technology Mapping via Reinforcement Learning Guided Library Tuning
Mingju Liu, Daniel Robinson, Yingjie Li, Cunxi Yu
TL;DR
The paper tackles the large design-space challenge of technology mapping by proposing MapTune, a reinforcement-learning–guided framework that selectively samples a subset of cells from a technology library during mapping. By formulating the problem with a multi-armed bandit and Q-learning variants and integrating with the ABC flow, MapTune seeks to minimize the Area-Delay Product ($ADP$) through design-specific library tuning. Extensive experiments across five benchmark suites and four libraries show MapTune achieving about $ADP$ improvements of roughly 22.5%, with notable Pareto-frontier gains that trade off delay and area favorably. The work demonstrates that carefully tuned, partially sampled libraries can outperform full-library mappings, enabling faster design space exploration with practical QoR benefits, and it is released as an open-source tool.
Abstract
Technology mapping involves mapping logical circuits to a library of cells. Traditionally, the full technology library is used, leading to a large search space and potential overhead. Motivated by randomly sampled technology mapping case studies, we propose MapTune framework that addresses this challenge by utilizing reinforcement learning to make design-specific choices during cell selection. By learning from the environment, MapTune refines the cell selection process, resulting in a reduced search space and potentially improved mapping quality. The effectiveness of MapTune is evaluated on a wide range of benchmarks, different technology libraries and technology mappers. The experimental results demonstrate that MapTune achieves higher mapping accuracy and reducing delay/area across diverse circuit designs, technology libraries and mappers. The paper also discusses the Pareto-Optimal exploration and confirms the perpetual delay-area trade-off. Conducted on benchmark suites ISCAS 85/89, ITC/ISCAS 99, VTR8.0 and EPFL benchmarks, the post-technology mapping and post-sizing quality-of-results (QoR) have been significantly improved, with average Area-Delay Product (ADP) improvement of 22.54\% among all different exploration settings in MapTune. The improvements are consistently remained for four different technologies (7nm, 45nm, 130nm, and 180 nm) and two different mappers.
