高级检索
    张子卿, 石侃, 徐烁翔, 王梁辉, 包云岗. 面向高效处理器功能验证的硬件化SystemVerilog断言:方法、工具和平台[J]. 计算机研究与发展. DOI: 10.7544/issn1000-1239.202331003
    引用本文: 张子卿, 石侃, 徐烁翔, 王梁辉, 包云岗. 面向高效处理器功能验证的硬件化SystemVerilog断言:方法、工具和平台[J]. 计算机研究与发展. DOI: 10.7544/issn1000-1239.202331003
    Zhang Ziqing, Shi Kan, Xu Shuoxiang, Wang Lianghui, Bao Yungang. Hardware Implementation of SystemVerilog Assertions Towards Efficient Processor Functional Verification: Methods, Tools and Platform[J]. Journal of Computer Research and Development. DOI: 10.7544/issn1000-1239.202331003
    Citation: Zhang Ziqing, Shi Kan, Xu Shuoxiang, Wang Lianghui, Bao Yungang. Hardware Implementation of SystemVerilog Assertions Towards Efficient Processor Functional Verification: Methods, Tools and Platform[J]. Journal of Computer Research and Development. DOI: 10.7544/issn1000-1239.202331003

    面向高效处理器功能验证的硬件化SystemVerilog断言:方法、工具和平台

    Hardware Implementation of SystemVerilog Assertions Towards Efficient Processor Functional Verification: Methods, Tools and Platform

    • 摘要: 功能验证在处理器芯片开发流程中所占用的时间超过70%,因此优化提升功能验证环节的效率非常必要. 软件仿真等传统验证方法提供了包括断言等多种验证机制,以提升验证的细粒度可见性和自检查能力,但是软件仿真运行速度较慢,在高效性方面有明显不足. 基于FPGA的硬件原型验证方法能极大加速验证性能,但其调试能力较弱,虽能快速发现漏洞,但难以定位漏洞出现的具体位置和根本原因,存在有效性不足难题. 为同时解决上述功能验证有效性与高效性的问题,本文提出一种将不可综合的断言(SystemVerilog Assertion,SVA)自动转换成逻辑等效但可综合的RTL电路的方法,聚焦于断言这一类对设计进行非全局建模、纵向贯穿各抽象层级的验证方式,对基于全局指令集架构(instruction set architecture, ISA)模型的验证能力进行补足. 同时,结合FPGA细粒度并行化、高度可扩展的优势,对处理器的验证过程进行硬件加速,提升了处理器的开发效率. 实现了一个端到端的硬件断言平台,集成对SVA进行硬件化的完整工具链,并统计运行在FPGA上的硬件化断言的触发和覆盖率情况. 实验表明,和软件仿真相比,所提方法能取得超过2万倍的验证效率提升.

       

      Abstract: Processor verification occupies more than 70% of the time in the processor development flow, so it is necessary to optimize the efficiency of the processor verification process. Traditional verification methods such as software simulation provide various verification mechanisms including assertions to improve the fine-grained visibility and self-checking capability of verification, but software simulation runs slowly and lacks in efficiency. FPGA-based hardware simulation acceleration methods can greatly improve the verification performance, but debugging ability is weak, and it is difficult to locate the specific location and cause of vulnerabilities. In order to solve the above problems of verification efficiency and effectiveness, this paper proposes a method to automatically convert non-synthesizable SystemVerilog Assertion (SVA) into logically equivalent but synthesizable RTL circuits, focusing on assertions, which is a type of non-global modeling of the design, and vertically penetrates through the various levels of abstraction, and complements the verification capability of the global ISA-based model, which can be used to verify the design. This approach complements the global ISA model-based verification capability. At the same time, combined with the advantages of FPGA fine-grained parallelization and high scalability, the verification process of the processor is hardware-accelerated, which improves the development efficiency of the processor. In this paper, we implement an end-to-end hardware assertion platform, integrate a complete toolchain for hardware-enabling SVAs, and count the triggering and coverage of hardware-enabled assertions running on FPGAs. Experiments show that the proposed approach achieves more than 20,000 times verification efficiency improvement compared to software simulation.

       

    /

    返回文章
    返回