《电子技术应用》
您所在的位置:首页 > EDA与制造 > 设计应用 > 基于SimPoint采样的玄铁RISC-V处理器动态功耗分析高效评估方法
基于SimPoint采样的玄铁RISC-V处理器动态功耗分析高效评估方法
电子技术应用
刘鹏飞,卢孔积
达摩院(上海)科技有限公司
摘要: 基于Cadence Palladium Z3硬件仿真平台的高性能RISC-V处理器硅前动态功耗分析(DPA),在SPEC CPU 2017等工业级基准测试驱动下面临严峻的机时瓶颈,全程DPA仿真往往需要数十至数百小时。提出一种基于SimPoint采样的高效功耗评估方法,将SimPoint切片与Palladium Power Trend DPA有机融合:以SimPoint切片驱动Palladium仿真,在玄铁RISC-V处理器RTL内置的core_monitor模块精确控制下,于稳态指令窗口[25 M, 50 M]开启Power Trend采样;再通过四层加权还原公式将各切片功耗聚合为全程等效平均功耗与功耗热图,且加权还原所需的执行周期数与SPEC性能算分数据完全共享。在SPEC CPU 2017 INTrate全套10个benchmark上,378个代表性切片将DPA总机时从约4 500小时缩减至约5.5小时(加速比超过800倍),Power Trend工具测量误差约±5%(经PTPX验证),完全满足日常迭代验证的工程需求。
中图分类号:TN402 文献标志码:A DOI: 10.16157/j.issn.0258-7998.260805
中文引用格式: 刘鹏飞,卢孔积. 基于SimPoint采样的玄铁RISC-V处理器动态功耗分析高效评估方法[J]. 电子技术应用,2026,52(8):57-62.
英文引用格式: Liu Pengfei,Lu Kongji. Efficient dynamic power estimation of XuanTie RISC-V processor based on SimPoint sampling[J]. Application of Electronic Technique,2026,52(8):57-62.
Efficient dynamic power estimation of XuanTie RISC-V processor based on SimPoint sampling
Liu Pengfei,Lu Kongji
DAMO Academy (Shanghai) Technology Co., Ltd.
Abstract: Pre-silicon dynamic power analysis (DPA) of high-performance RISC-V processors on the Cadence Palladium Z3 emulation platform is prohibitively slow for industrial workloads such as SPEC CPU 2017, often requiring tens to hundreds of emulation hours. This paper presents an efficient power estimation methodology based on SimPoint sampling, which integrates SimPoint checkpoint-driven simulation with Palladium Power Trend DPA. The XuanTie core_monitor module precisely gates Power Trend sampling to a steady-state [25M, 50M] user-mode instruction window per checkpoint, eliminating cold-start toggle noise. A four-level hierarchical weighted reconstruction aggregates per-slice DPA results into full-program average power and module-level power distribution, with all cycle-weighting data shared directly from the SPEC performance scoring flow. Across 10 SPEC CPU 2017 INTrate benchmarks, 378 representative checkpoints reduce total emulation time from ~4 500 h to ~5.5 h (over 800× speedup) with Power Trend measurement error ~±5% (validated against PrimeTime PX), fully meeting the demands of daily chip design iteration.
Key words : SimPoint sampling;dynamic power analysis;Palladium Power Trend;RISC-V;XuanTie;SPEC CPU 2017

引言

随着高性能RISC-V处理器研发持续深入,功耗验证的战略地位持续提升。玄铁(XuanTie)系列处理器以Perf/Watt为核心竞争指标,流片前需通过门级动态功耗分析(Dynamic Power Analysis,DPA)对典型负载精确评估,以提前发现热点模块、指导时钟树与电源网络设计。

Cadence Palladium硬件仿真平台凭借接近真实速率的门级仿真能力(100 kHz~2 MHz),成为硅前DPA的主流选择。其Power Trend引擎以周期粒度捕获全芯片翻转(toggle)活动,结合Liberty标准单元功耗模型输出高精度功耗数据。然而,驱动SPEC CPU 2017等长程工业基准测试时,全程DPA仿真往往需要数十至数百小时的机时,严重制约迭代效率。

与此同时,SimPoint技术通过对程序执行轨迹进行基本块向量(BBV)聚类,从全程执行中挑选出数十个代表性切片,以加权方式还原全程等效行为,已在体系结构领域被广泛用于性能评估加速。玄铁团队已在硬件中内置core_monitor采样模块,将SimPoint方法应用于SPEC CPU 2017的性能跑分。

本文核心创新在于将SimPoint切片回归与Palladium DPA有机融合:以SimPoint切片作为DPA仿真的输入驱动,在稳态指令窗口内开启Power Trend采样,采集各切片的平均功耗,再以SimPoint权重加权还原全程等效功耗及功耗热图。该方法在保持DPA结果高置信度的同时,将仿真机时缩减超过99%,有效解决了长程workload功耗验证的效率瓶颈。


本文详细内容请下载:

https://www.chinaaet.com/resource/share/2000007210


作者信息:

刘鹏飞,卢孔积

(达摩院(上海)科技有限公司,上海 201200)

2.jpg

此内容为AET网站原创,未经授权禁止转载。