作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2026, Vol. 52 ›› Issue (8): 176-183. doi: 10.19678/j.issn.1000-3428.0070593

• 体系结构与先进计算 • 上一篇    下一篇

基于芯粒的多核处理器目录控制器的敏捷验证

罗莉1,2,*(), 冯权友1,2, 周理1,2, 铁俊波1,2, 龚锐1,2, 潘国腾1,2   

  1. 1. 国防科技大学计算机学院, 湖南 长沙 410073
    2. 先进微处理器芯片与系统重点实验室, 湖南 长沙 410073
  • 收稿日期:2024-11-07 修回日期:2025-02-24 出版日期:2026-08-15 发布日期:2025-04-17
  • 通讯作者: 罗莉
  • 作者简介:

    罗莉(CCF会员),女,研究员、博士,主研方向为高性能计算机体系结构、高性能通用微处理器设计与验证

    冯权友,副研究员、博士

    周理,助理研究员、博士

    铁俊波,副研究员、博士

    龚锐,副研究员、博士

    潘国腾,副研究员、博士

  • 基金资助:
    国家自然科学基金青年基金项目(62203457); 并行与分布式处理国防科技重点实验室开放基金(WDZC20235250112)

Agile Verification of Directory Control Unit for Chiplet-based Multi-core Processors

LUO Li1,2,*(), FENG Quanyou1,2, ZHOU Li1,2, TIE Junbo1,2, GONG Rui1,2, PAN Guoteng1,2   

  1. 1. College of Computer Science, National University of Defense Technology, Changsha 410073, Hunan, China
    2. Key Laboratory of Advanced Microprocessor Chips and Systems, Changsha 410073, Hunan, China
  • Received:2024-11-07 Revised:2025-02-24 Online:2026-08-15 Published:2025-04-17
  • Contact: LUO Li

摘要:

芯粒已成为芯片设计的新趋势, 随着微处理器结构向多核化、众核化发展, 高速缓冲存储器(Cache)一致性协议也日趋复杂。在多芯粒集成的微处理器中, Cache一致性协议的验证更是一个具有重要应用价值的技术问题。基于目录的Cache协议是最广泛应用的硬件实现方法, 针对自主研发的分布式目录控制器(DCU), 研究多芯粒集成的处理器目录控制器的敏捷验证技术, 随机测试采用否定选择算法(NSA)的优化机制。实验结果表明: 随机测试激励减少40%的条件下, 功能覆盖率较未使用否定选择算法的随机测试提高了28百分点; 随机测试激励和定向测试激励相结合, 功能覆盖率最终达到100%。同时设计一致性检查器, 监视一致性协议事务的生命周期, 用于快速定位设计错误, 追踪问题的精确场景。实践中, 该检查器定位的协议错误占设计错误的90%, 有效提高了验证效率和验证质量。

关键词: 芯粒, 高速缓冲存储器一致性协议, 分布式目录控制器, 否定选择算法, 敏捷验证

Abstract:

Chiplets have emerged as a new trend in chip design. With the evolution of microprocessor architectures toward multi-core and many-core implementations, the complexity of Cache coherence protocols has increased substantially. For microprocessors integrating multiple chiplets, the verification of Cache coherence protocols is a technically critical issue with significant practical value. The directory-based Cache coherence protocol is the most widely adopted hardware-implementation approach. Focusing on a self-developed distributed Directory Controller Unit (DCU), this study investigates agile verification technologies for DCU in multi-chiplet integrated processors. An optimized mechanism based on a Negative Selection Algorithm (NSA) is employed in random testing, where functional coverage was improved by 28 percentage points under a 40% reduction in random test stimuli. By combining random and directed test stimuli, the functional coverage ultimately reaches 100%. Additionally, a coherence checker is designed to monitor the entire lifecycle of the coherence protocol transactions. This enables the rapid localization of design errors and accurate tracing of problematic scenarios, with 90% of the design bugs successfully identified. This approach effectively enhances verification efficiency and quality.

Key words: chiplets, Cache coherence protocol, distributed Directory Control Unit (DCU), Negative Selection Algorithm (NSA), agile verification