面向加法器与乘法器设计的可扩展且高效的算术树生成方法
Scalable and Effective Arithmetic Tree Generation for Adder and Multiplier Designs
AI总结:
针对现有算术设计技术对加法器、乘法器的速度与面积优化不足的问题,提出将设计任务建模为单玩家树生成博弈,用强化学习优化算术树结构,在两类模块上均实现性能与面积的显著提升,且可适配7nm工艺。
摘要:
在各类硬件场景中,算术单元的计算效率与物理尺寸会显著影响整个硬件系统的运行速度与占用面积。然而,现有算术设计技术的效果仍有不足,未能充分优化速度与面积,导致处理速率偏低、模块尺寸偏大。为提升算术运算性能,本文聚焦两类最常见且最基础的算术模块:加法器与乘法器。我们将设计任务建模为单玩家树生成博弈,利用强化学习技术优化其算术树结构。这种树生成建模方式使我们能够高效遍历庞大的搜索空间,仅需数小时就能发现更优的算术设计,同时提升计算效率、缩减硬件面积。在加法器方面,我们的方法发现的128位加法器设计在理论指标上达到帕累托最优。与当前最优的PrefixRL相比,我们的方法将计算延迟与硬件面积分别降低了最高26%与30%。在乘法器方面,与RL-MUL相比,我们的方法将速度提升了最高49%,同时将面积缩减了最高45%。此外,该方法固有的灵活性与可扩展性使其能够适配前沿工艺,我们验证了这些设计可无缝集成到7nm工艺中。我们认为这项工作将为硬件设计领域提供有价值的思路,通过精细化的搜索空间与树生成方法进一步提升速度、缩减面积。介绍视频见https://bit.ly/ArithmeticTree,代码已发布于https://github.com/laiyao1/ArithmeticTree。
英文摘要:
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. 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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。