基于UVM的功能覆盖率统计方法在仿真测试中的应用
DOI:
CSTR:
作者:
作者单位:

上海航天电子技术研究所

作者简介:

通讯作者:

中图分类号:

基金项目:

上海市科技计划启明星扬帆项目24YF2717700


Application of Functional Coverage Collection Method Based on UVM in Simulation Testing
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    针对传统代码覆盖率无法有效度量通信协议功能完整性的问题,对基于通用验证方法学(UVM)的功能覆盖率统计方法在RS422串口仿真测试中的应用进行了研究。采用了SystemVerilog语言构建可重用验证平台,设计了包含正常通信与五类典型故障模式(校验错误、波特率偏移±5%、起始/停止位丢失)的权重分布约束模型,并引入动态反馈机制实现覆盖率驱动的测试自适应控制。通过监视器实时采集事务级信号,结合多维covergroup对数据分布、时序容差及异常组合进行量化测量。经VCS平台1000次随机仿真实验测试,功能覆盖率达到98.7%,所有预定义故障状态均被触发,数据分布均匀性偏差小于5%。结果表明,该方法实现了验证过程的闭环测量与智能调控,显著提升了验证效率与完备性,已成功应用于某型航天遥测终端FPGA验证,满足高可靠通信系统对协议功能验证的工程需求。

    Abstract:

    :To address the limitation of traditional code coverage in effectively measuring the functional completeness of communication protocols, the application of a Universal Verification Methodology (UVM)-based functional coverage measurement method in RS422 serial interface simulation testing was investigated. A reusable verification platform was developed using SystemVerilog, incorporating a weighted constraint model that includes normal communication and five typical fault modes: CRC error, baud rate offset of ±5%, and missing start/stop bits. A dynamic feedback mechanism was introduced to enable coverage-driven adaptive test control. Transaction-level signals were continuously monitored, and multi-dimensional covergroups were employed to quantitatively measure data distribution, timing tolerance, and fault combinations. Experimental tests with one million random simulations on the VCS platform achieved a functional coverage of 98.7%, with all predefined fault states successfully triggered and data distribution uniformity deviation below 5%. The results demonstrate that the proposed approach realizes closed-loop measurement and intelligent control of the verification process, significantly enhancing both efficiency and completeness. It has been successfully applied to FPGA verification of an aerospace telemetry terminal, fulfilling engineering requirements for high-reliability communication protocol validation.

    参考文献
    相似文献
    引证文献
引用本文

祝周荣,邓一帆.基于UVM的功能覆盖率统计方法在仿真测试中的应用计算机测量与控制[J].,2026,34(11):58-65.

复制
分享
相关视频

文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2025-12-01
  • 最后修改日期:2026-01-15
  • 录用日期:2026-01-16
  • 在线发布日期: 2026-11-27
  • 出版日期:
文章二维码