集成电路与嵌入式系统2025,Vol.25Issue(12):66-75,10.DOI:10.20193/j.ices2097-4191.2025.0079
一种基于VCD表示的CHI协议事务解析验证方法
A transaction parsing and verification method for CHI protocol based on VCD representation
摘要
Abstract
Traditional hardware verification relies on manual analysis of waveform signals,which faces problems such as low efficiency,easy errors,and difficulty in tracing transaction level behavior.Therefore,this paper proposes an auxiliary tool for verifying CHI protocol in multi-core processors based on VCD data and PyVCD library,which can improve the efficiency of transaction waveform analysis.VCD(Value Change Dump)is an international standard Verilog waveform data file format,and PyVCD is an open-source pure Python code library used for parsing VCD files.Our method exports waveform data of specified signals from various simulation tools through TCL scripts and converts it to VCD format.Further use the PyVCD library to perform algorithm analysis on waveforms,implement wave-form structured parsing and transaction reconstruction algorithms,and aggregate distributed Flit data into a complete sequence of trans-action objects.Obtain waveform data and combine discrete Flits from different nodes and channels into a complete transaction.After obtaining the transaction object sequence,convert the transaction object into an ASCII string,generate a character signal sequence,and create a VCD file for viewing transaction level waveforms in waveform software.Analyze the performance parameters of transactions in the protocol.Developed the Goldmemory tool to analyze the transaction object sequence of multiple nodes in the system and automatical-ly identify data errors and other scenarios.The platform based on this method has been deployed in multi-core processor engineering,and through waveform analysis of CHI transactions,the efficiency of simulation verification has been greatly improved.At the same time,it can quickly locate performance bottlenecks in architecture design to achieve rapid iterative optimization of the architecture.关键词
集成验证/VCD文件/系统级芯片/多核处理器/仿真验证Key words
integration verification/VCD file/system on chip/multi-core processor/simulation verification分类
信息技术与安全科学引用本文复制引用
ZHANG Jianfeng,SHAO Jingjie,LIAO Xianglong,ZENG Pin..一种基于VCD表示的CHI协议事务解析验证方法[J].集成电路与嵌入式系统,2025,25(12):66-75,10.基金项目
本工作得到先进微处理器芯片与系统重点实验室支持 ()