+高级检索
基于UVM的CANFD模块发送时序差异验证研究与分析
DOI:
作者:
作者单位:

作者简介:

通讯作者:

基金项目:


Analysis and verification of transmission timing differences in CANFD module based on UVM
Author:
Affiliation:

Fund Project:

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

    针对国产数字信号处理器(digital signal processor,DSP)芯片灵活数据速率控制器局域网(controller area network with flexible data-rate,CANFD)模块因异步通信特性导致的帧间隔/帧空闲边界判定分歧、相位缓冲段2(phase buffer segment 2,PBS2)延迟波动下采样错位等时序差异问题,提出一种基于通用验证方法学(universal verification methodology,UVM)的验证平台,创新性地设计了精准控时的发送驱动器与动态校准采样的接收监控器.发送驱动器中提出双并行进程来覆盖帧间隔最后一位至帧空闲第一位的全位时区间,并结合状态机实现数据帧发送与错误处理,实现精准控时的发送数据帧;接收监控器中提出一种借时序段计数与电平检测补偿位时偏差用来模拟重同步机制.在CAN 2.0、CANFD_ISO、CANFD_BOSCH 三种模式下,对不同模块时钟、帧类型、波特率组合进行测试.实验结果表明,帧间隔组覆盖率达100%,帧空闲组覆盖率为93.88%~100%,相比传统测试,覆盖率提升显著;计分板比对无错误;CANCORE代码覆盖率达 95.52%.该平台可有效验证CANFD模块时序可靠性,填补了异步通信时序差异专项验证的空白,为国产CANFD芯片的高可靠性应用提供支撑,也为其他串行协议时序验证提供参考.

    Abstract:

    Aiming at the timing-difference issues of the controller area network with flexible data-rate (CANFD) module in domestic digital signal processor (DSP) chips, such as the divergence in frame interval/frame idle boundary determination caused by asynchronous communication characteristics and sampling misalignment under the delay fluctuation of phase buffer segment 2, this paper proposes a verification platform based on universal verification methodology (UVM), innovatively designing a precision time-controlled transmission driver and a dynamically calibrated sampling reception monitor. In the transmission driver, a dual-parallel process is proposed to cover the full bit-time interval from the last bit of the frame interval to the first bit of the frame idle period, combined with a state machine to realize data frame transmission and error handling, achieving precise time-controlled data frame transmission; in the reception monitor, a method of compensating bit-time deviation through timing segment counting and level detection is proposed to simulate the resynchronization mechanism. Tests were conducted under three modes (CAN 2.0, CANFD_ISO, CANFD_BOSCH) with combinations of different module clocks, frame types, and baud rates. Experimental results show that the frame interval group coverage rate reaches 100%, and the bus-idle coverage varies from 93.88% to 100%, which is a significant improvement compared with traditional testing; the scoreboard comparison shows no errors; the CANCORE code coverage rate reaches 95.52%. This platform can effectively verify the timing reliability of the CANFD module, fill the gap in special verification of asynchronous communication timing differences, provide support for the high-reliability application of domestic CANFD chips, and also offer a reference for the timing verification of other serial protocols.

    参考文献
    相似文献
    引证文献
文章指标
  • PDF下载次数:
  • HTML阅读次数:
  • 摘要点击次数:
  • 引用次数:
引用本文

唐俊龙 ?,侯根 ,万江华 .基于UVM的CANFD模块发送时序差异验证研究与分析[J].湖南大学学报:自然科学版,2026,53(10):187~194

复制
历史
  • 收稿日期:
  • 最后修改日期:
  • 录用日期:
  • 在线发布日期: 2026-11-01
  • 出版日期:
作者稿件一经被我刊录用,如无特别声明,即视作同意授予我刊论文整体的全部复制传播的权利,包括但不限于复制权、发行权、信息网络传播权、广播权、表演权、翻译权、汇编权、改编权等著作使用权转让给我刊,我刊有权根据工作需要,允许合作的数据库、新媒体平台及其他数字平台进行数字传播和国际传播等。特此声明。
关闭