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

Computer Engineering & Science ›› 2023, Vol. 45 ›› Issue (03): 411-419.

• High Performance Computing • Previous Articles     Next Articles

OpenEmulator: A co-emulation platform based on TSN chip verification

WANG Zheng,HUANG Rong,WU Mao-wen,SUN Yin-han,SUN Zhi-gang   

  1. (College of Computer Science and Technology,National University of Defense Technology,Changsha 410073,China)
  • Received:2022-10-24 Revised:2022-12-10 Accepted:2023-03-25 Online:2023-03-25 Published:2023-03-22

Abstract: Hardware emulator is an important means to speed up the verification of Time-Sensitive Networking (TSN) chips. Since TSN chips are far less complex than SoCs (System on Chips), CPU-based hardware emulators can already meet the performance requirements of TSN chip verification. To meet the needs of the TSN chip design, a hardware emulator called OpenEmulator (abbreviated as OE) for the verification of TSN chips is designed and implemented. According to the characteristics of TSN system emulation, a time synchronization mechanism applied to OpenEmulator, called time interlock, is proposed, which realizes precise time synchronization between the physical domain running the real TSN application and the emulation domain running the hardware logic programed by the hardware description language (HDL). At present, OpenEmulator has been applied in the design process of OpenTSN chips. Based on a common PC, OpenEmulator can emulate the initialization of a 6-node TSN network and the subsequent first clock synchronization process in 20 minutes, greatly improving the efficiency of TSN chip emulation verification. Now, OpenEmulator has been open-sourced and integrated into the newly released version of the OpenTSN open source project (version 3.4).

Key words: time-sensitive networking (TSN), chip verification, co-emulation, time synchronization, time interlock

CLC Number: