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

Computer Engineering & Science ›› 2024, Vol. 46 ›› Issue (02): 224-231.

• High Performance Computing • Previous Articles     Next Articles

Efficient analysis of coherent hub interface protocol mixturing hardware and software

ZHAO Zhi-qiao1,2,ZHOU Li2,XUN Chang-qing2,PAN Guo-teng2,TIE Jun-bo2,WANG Wei-zheng1   

  1. (1.School of Computer and Communication Engineering,Changsha University of Science & Technology,Changsha 410114;
    2.College of Computer Science and Technology,National University of Defense Technology,Changsha 410073,China)
  • Received:2023-01-04 Revised:2023-03-27 Accepted:2024-02-25 Online:2024-02-25 Published:2024-02-24

Abstract: In the development process of SoC, how to efficiently and accurately perform functional verification and performance analysis is an urgent problem to be solved. Aiming at the current limited monitoring means of Network-on-Chip protocols on FPGA prototype platforms, this paper proposes an efficient monitoring and analysis method with hardware-software mixture for CHI  protocols. By connecting C code through the DPI of SystemVerilog, the synthesizable hardware part provides a shared function body, while the non-synthesizable software part captures CHI messages in the SoC under test from various channels of the Network-on-Chip protocol through the shared function body for offline storage or online inspection. Experimental results show that this method has the advantages of low hardware resource occupation and high reusability. The offline mode has little impact on simulation speed, while the online mode can detect problems while the SoC under test is running, enabling efficient monitoring of CHI protocol mes- sages on the prototype platform and effectively accelerating the localization and performance analysis of SoC problems.

Key words: coherent hub interface (CHI) protocol, FPGA, verification of chip, hardware-software mixture ,