arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.18140cs.AR
收藏

RTeAAL Sim: 使用张量代数表示和加速RTL仿真(扩展版)

RTeAAL Sim: Using Tensor Algebra to Represent and Accelerate RTL Simulation (Extended Version)

University of California, Berkeley(加州大学伯克利分校)

Yan Zhu, Boru Chen, Christopher W. Fletcher, Nandeeka Nayak

AI总结:

RTeAAL Sim通过将RTL仿真转化为稀疏张量代数问题,利用张量代数优化技术提升CPU上RTL仿真的性能和效率。

摘要:

RTL在CPU上的仿真仍然是硬件设计中的持续瓶颈。最先进的仿真器将电路直接嵌入到仿真二进制中,导致编译时间长且执行本质上受限于CPU前端,存在严重的指令缓存压力。本文提出RTeAAL Sim,将RTL仿真重新公式化为稀疏张量代数问题。通过将RTL电路表示为张量并将仿真表示为稀疏张量代数内核,RTeAAL Sim将仿真行为与二进制大小解耦,并使RTL仿真能够受益于已研究的张量代数优化。我们证明,即使我们的基于张量的仿真器只采用部分这些优化,其已经减轻了编译开销和前端压力,并在多个CPU和ISAs上实现了与高度优化的Verilator仿真器相媲美的性能。

英文摘要:

RTL simulation on CPUs remains a persistent bottleneck in hardware design. State-of-the-art simulators embed the circuit directly into the simulation binary, resulting in long compilation times and execution that is fundamentally CPU frontend-bound, with severe instruction-cache pressure. This work proposes RTeAAL Sim, which reformulates RTL simulation as a sparse tensor algebra problem. By representing RTL circuits as tensors and simulation as a sparse tensor algebra kernel, RTeAAL Sim decouples simulation behavior from binary size and makes RTL simulation amenable to well-studied tensor algebra optimizations. We demonstrate that a prototype of our tensor-based simulator, even with a subset of these optimizations, already mitigates the compilation overhead and frontend pressure and achieves performance competitive with the highly optimized Verilator simulator across multiple CPUs and ISAs.

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

↑