arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2404.12336cs.AR
收藏

通过数据通路重写实现功耗与算术优化的结合

Combining Power and Arithmetic Optimization via Datapath Rewriting

Samuel Coward, Theo Drane, Emiliano Morini, George Constantinides

AI总结:

针对算术电路功耗优化问题,提出将面积缩减、数据与时钟门控两类优化编码为表达式局部重写,借助e-graph通过ROVER框架实现RTL级自动化数据相关优化,最高可降33.9%总功耗。

摘要:

工业界数据通路设计者将动态功耗视为核心指标。算术电路在芯片总功耗中占比很大,因此是功耗优化的常见目标。尽管算术电路的面积与动态功耗通常存在相关性,但二者之间也存在权衡关系——可通过增加额外门电路来明确降低算术电路的活跃度,进而降低功耗。本研究探讨了两类功耗优化方式及其相互作用:通过算术优化缩减电路面积,以及结合数据门控与时钟门控消除冗余计算。通过将这两类优化编码为表达式的局部重写操作,我们的工具流程可同时探索这两类优化,借助e-graph(等价图)数据结构,通过算术重写发掘新的功耗节省机会。由于功耗高度依赖电路所执行的工作负载,我们的工具流程支持数据相关的设计范式,即可针对特定的数据活动场景自动定制实现方案。我们开发了一个自动化的RTL到RTL优化框架ROVER,该框架接收电路输入激励并生成高能效架构。我们在开源算术基准测试集以及源自英特尔生产实例的基准测试集上评估了该方法的有效性,该工具最多可将总功耗降低33.9%。

英文摘要:

Industrial datapath designers consider dynamic power consumption to be a key metric. Arithmetic circuits contribute a major component of total chip power consumption and are therefore a common target for power optimization. While arithmetic circuit area and dynamic power consumption are often correlated, there is also a tradeoff to consider, as additional gates can be added to explicitly reduce arithmetic circuit activity and hence reduce power consumption. In this work, we consider two forms of power optimization and their interaction: circuit area reduction via arithmetic optimization, and the elimination of redundant computations using both data and clock gating. By encoding both these classes of optimization as local rewrites of expressions, our tool flow can simultaneously explore them, uncovering new opportunities for power saving through arithmetic rewrites using the e-graph data structure. Since power consumption is highly dependent upon the workload performed by the circuit, our tool flow facilitates a data dependent design paradigm, where an implementation is automatically tailored to particular contexts of data activity. We develop an automated RTL to RTL optimization framework, ROVER, that takes circuit input stimuli and generates power-efficient architectures. We evaluate the effectiveness on both open-source arithmetic benchmarks and benchmarks derived from Intel production examples. The tool is able to reduce the total power consumption by up to 33.9%.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑