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

通过知识增强的LLM智能体实现左移高层次综合验证

Shift-Left High-Level Synthesis Verification via Knowledge-Augmented LLM Agent

Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生院);Shenzhen Belon Technology Co., Ltd.(深圳市贝尔诺科技有限公司)

Zhihan Xiao, Hongbing Lang, Zhe Zhao, Luke Ztz Hu, Songping Mai

AI总结:

提出一种知识增强的智能体驱动左移验证框架,通过双层级一致性检查、符号执行和HLS验证知识图谱,在综合前自动验证C与HLS-C的功能一致性,覆盖率达98.26%。

摘要:

高层次综合(HLS)通过将C/C++程序转换为硬件实现,实现了快速硬件开发。在HLS设计流程中,黄金C规范与面向HLS的C实现之间的功能一致性验证是一项关键但劳动密集型的任务。尽管大型语言模型(LLMs)最近在自动化测试平台生成方面显示出潜力,但其随机性常常导致覆盖率不足、验证环境不一致以及等价性检查结果不可靠。为了解决这些限制,我们提出了一种知识增强的、智能体驱动的左移验证框架,用于在综合前自动检查黄金C与HLS-C之间的功能一致性。该框架引入了一种双层级一致性检查机制,该机制共同强制配对测试平台之间的静态结构对齐和动态行为等价性,同时集成符号执行和覆盖率驱动的细化以提高验证完整性。此外,我们构建了一个异构的HLS验证知识图谱,为测试平台生成提供拓扑感知推理先验,并设计了一个自主验证智能体来协调跨异构工具链的迭代细化和故障诊断。在107个HLS基准对上的实验结果表明,所提出的框架实现了98.26%的平均覆盖率和95.33%的动态一致性,优于代表性的基于AST、检索增强和迭代智能体的基线。此 https URL

英文摘要:

High-Level Synthesis (HLS) relies on transforming original C specifications into synthesizable HLS-oriented C (HLS-C) implementations. Functional consistency verification between original C specifications and HLS-C implementations is a critical yet labor-intensive task in HLS design flows. While Large Language Models (LLMs) have recently shown promise in automated testbench generation, their stochastic nature often leads to insufficient coverage, inconsistent verification environments, and unreliable equivalence checking results. To address these limitations, we propose a knowledge-augmented, agent-driven shift-left verification framework for automated functional consistency checking between original C and HLS-C implementations before synthesis. The framework introduces a Dual-Tier Consistency Checking mechanism that jointly enforces static structural alignment and dynamic behavioral equivalence between paired testbenches, while integrating symbolic execution and coverage-driven refinement to improve verification completeness. Furthermore, we construct a heterogeneous HLS Verification Knowledge Graph to provide topology-aware reasoning priors for testbench generation, and design an autonomous verification agent to orchestrate iterative refinement and failure diagnosis across heterogeneous toolchains. Experimental results on 107 HLS benchmark pairs demonstrate that the proposed framework achieves 0.9826 average coverage and 0.9533 dynamic consistency, outperforming representative AST-based, retrieval-augmented, and iterative agent-based baselines. https://github.com/cz-5f/HLS-LeVeri.git

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

↑