EquivFusion:通过MLIR统一算法到网络列表的硬件等价性检查
EquivFusion: Unifying Hardware Equivalence Checking from Algorithms to Netlists via MLIR
AI总结:
本文提出EquivFusion工具,通过MLIR统一多模态电路设计的算法与硬件等价性检查,解决软件与硬件之间语义差距的问题。
摘要:
确保高级算法模型与低级硬件实现之间的功能一致性是一个关键挑战,尤其是在现代设计流程跨越异构抽象时。本文提出EquivFusion,一种端到端的等价性检查工具,专门用于多模态电路设计。不同于传统流程依赖孤立工具或随意翻译,EquivFusion利用面向验证的MLIR降低管道,将包括PyTorch、C/C++、Chisel、Verilog和门级网络列表在内的多种入口点统一到共同的中间表示中。这种架构通过严格地将设计转换为标准形式验证格式(即SMT-LIB、BTOR2、AIGER)来实现跨不同抽象层次的自动成对等价性检查。我们展示了EquivFusion在弥合软件规范与硬件实现之间语义差距方面的可行性,展示了其在促进数据路径密集型硬件设计的“左移”形式验证中的有效性。
英文摘要:
Ensuring functional consistency between high-level algorithmic models and low-level hardware implementations is a critical challenge, particularly as modern design flows increasingly span heterogeneous abstractions--from deep learning frameworks to hardware netlists. In this paper, we present EquivFusion, an end-to-end equivalence checking tool tailored for multi-modal circuit designs. Unlike traditional flows that rely on siloed tools or ad-hoc translation, EquivFusion leverages a verification-oriented MLIR lowering pipeline to unify diverse entry points, including PyTorch, C/C++, Chisel, Verilog, and gate-level netlists, into a common intermediate representation. This architecture enables automated, pairwise equivalence checking across diverse abstraction levels by rigorously translating designs into standard formal verification formats, i.e., SMT-LIB, BTOR2, AIGER. We demonstrate EquivFusion's feasibility to bridge the semantic gap between software specifications and hardware realizations, showcasing its effectiveness in facilitating "shift-left" formal verification for datapath-intensive hardware designs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。