• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

计算机工程与科学 ›› 2022, Vol. 44 ›› Issue (07): 1171-1180.

• 高性能计算 • 上一篇    下一篇

多路系统Cache一致性验证中的错误追踪定位技术

李辉,巨鹏锦,计永兴   

  1. (上海高性能集成电路设计中心,上海 201204)
  • 收稿日期:2021-12-17 修回日期:2022-03-03 接受日期:2022-07-25 出版日期:2022-07-25 发布日期:2022-07-25

Error tracing and location technology in multi-processor cache coherence verification

LI Hui,JU Peng-jin,JI Yong-xing   

  1. (Shanghai High-Performance Integrated Circuit Design Center,Shanghai 201204,China)
  • Received:2021-12-17 Revised:2022-03-03 Accepted:2022-07-25 Online:2022-07-25 Published:2022-07-25

摘要: 以某国产多路系统的验证为例,基于事务级验证TBV技术,提出并实现了一种可以应用于模拟验证的自动错误追踪定位技术,通过在验证环境中对处理器的特定功能流程、相关各种请求响应、访存地址和数据流等信息进行事务级建模,记录并生成了验证环境运行产生的事务级信息库,基于上述信息实现了错误的自动追踪定位,显著缩短了错误定位时间,提升了多路系统模拟验证的查错效率。同时,基于事务级的模型,也使得验证人员可以在比设计部件更高的层次描述复杂流程的Cache一致性覆盖点,这种事务级维度的覆盖率描述弥补了原有代码覆盖率和功能覆盖率局限于模块和部件级的不足,是对全面性和充分性验证的有益补充。

关键词: 处理器验证, 事务级验证, 多路系统, Cache一致性, 覆盖率, 错误追踪

Abstract: Taking the verification of a domestic multi-processor system as an example, based on the Transaction Based Verification (TBV) technology, this paper proposes and implements an automatic error tracking and positioning technology that can be applied to simulation verification. Through the transaction-level modeling of the processors specific functional process, various related request responses, memory access addresses and data streams in the verification environment, the transaction-level information library generated by the verification environment is recorded and generated. Based on the above information, the algorithm realizes the automatic tracking and positioning of the errors, which significantly shortens the error positioning time and improves the debugging efficiency of the simulation verification in the multi-processor system. Based on TBV, verifiers can describe the coverage points of Cache consistency with complex processes at a higher level than the design components. This transaction-level coverage description can compensate the deficiency that the original code coverage and functional coverage are limited to the module and component level, and is useful for comprehensiveness and sufficiency of verification.

Key words: processor verification, transaction based verification, multi-processor system, cache coherence, coverage, error tracing