Scalable and Effective Arithmetic Tree Generation for Adder and Multiplier Designs

Yao Lai, Jinxin Liu, David Z. Pan, Ping Luo
5/10/2024
14 citations
cs.LG
rl

No official code found. Best implementation: laiyao1/ArithTreeRL (17 stars, Verilog, last commit 2026-02-22).

Abstract

Across a wide range of hardware scenarios, the computational efficiency and physical size of the arithmetic units significantly influence the speed and footprint of the overall hardware system. Nevertheless, the effectiveness of prior arithmetic design techniques proves inadequate, as it does not sufficiently optimize speed and area, resulting in a reduced processing rate and larger module size.

Show full abstract

To boost the arithmetic performance, in this work, we focus on the two most common and fundamental arithmetic modules: adders and multipliers. We cast the design tasks as single-player tree generation games, leveraging reinforcement learning techniques to optimize their arithmetic tree structures. Such a tree generation formulation allows us to efficiently navigate the vast search space and discover superior arithmetic designs that improve computational efficiency and hardware size within just a few hours. For adders, our approach discovers designs of 128-bit adders that achieve Pareto optimality in theoretical metrics. Compared with the state-of-the-art PrefixRL, our method decreases computational delay and hardware size by up to 26% and 30%, respectively. For multipliers, when compared to RL-MUL, our approach increases speed and reduces size by as much as 49% and 45%. Moreover, the inherent flexibility and scalability of our method enable us to deploy our designs into cutting-edge technologies, as we show that they can be seamlessly integrated into 7nm technology. We believe our work will offer valuable insights into hardware design, further accelerating speed and reducing size through the refined search space and our tree generation methodologies. See our introduction video at https://bit.ly/ArithmeticTree. Codes are released at https://github.com/laiyao1/ArithmeticTree.

View on arXivView PDF

Code Implementations(1)

laiyao1/ArithTreeRLCommunity100%

[NeurIPS 2024 Spotlight] Scalable and Effective Arithmetic Tree Generation for Adder and Multiplier Designs

174Verilog, PythonMay 10, 20249 months ago

Similar Papers

Cite this paper

@article{lai2024scalable,
  title  = {Scalable and Effective Arithmetic Tree Generation for Adder and Multiplier Designs},
  author = {Yao Lai and Jinxin Liu and David Z. Pan and Ping Luo},
  year   = {2024},
  eprint = {2405.06758},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2405.06758},
  url    = {http://arxiv.org/abs/2405.06758v1},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.06758.svg)](https://codeofpaper.com/paper/2405.06758)

Discussion