使用形式化验证评估RISC-V内核中的单粒子翻转(SEU)效应
Using Formal Verification to Evaluate Single Event Upsets in a RISC-V Core
AI总结:
针对嵌入式系统软错误可靠性评估难题,采用模型检查形式的形式化验证方法,对RISC-V Ibex Core进行穷尽式故障分析,揭示了未对齐指令、比特位置及流水线阶段对SEU效应的影响规律。
摘要:
可靠性一直是嵌入式系统领域的核心关切之一。更高的晶体管密度与更低的供电电压,提升了嵌入式系统对软错误的脆弱性。单粒子翻转(Single Event Upset,SEU)也被称为软错误,可使时序元件中的单个比特发生翻转,进而引发系统故障。正如ISO26262标准所建议的,基于仿真的故障注入方法已被广泛用于可靠性评估,但对于复杂设计而言,实际测试所有故障几乎不可能实现。随机故障注入是一种折衷方案,会降低评估精度与故障覆盖率。形式化验证是一种替代方法。本文采用模型检查形式的形式化验证,评估存在软错误时RISC-V Ibex Core的硬件可靠性。研究通过反向追踪技术,根据故障产生的影响(无影响、静默数据损坏、崩溃、挂起)对故障进行识别与分类。借助形式化验证,可对整个状态空间与故障列表进行穷尽式探索。研究发现,未对齐指令会放大故障影响;部分比特对SEU的脆弱性高于其他比特。总体而言,Ibex Core中的大部分比特都易受静默数据损坏影响,且第二流水线阶段比第一阶段更易发生静默数据损坏。
英文摘要:
Reliability has been a major concern in embedded systems. Higher transistor density and lower voltage supply increase the vulnerability of embedded systems to soft errors. A Single Event Upset (SEU), which is also called a soft error, can reverse a bit in a sequential element, resulting in a system failure. Simulation-based fault injection has been widely used to evaluate reliability, as suggested by ISO26262. However, it is practically impossible to test all faults for a complex design. Random fault injection is a compromise that reduces accuracy and fault coverage. Formal verification is an alternative approach. In this paper, we use formal verification, in the form of model checking, to evaluate the hardware reliability of a RISC-V Ibex Core in the presence of soft errors. Backward tracing is performed to identify and categorize faults according to their effects (no effect, Silent Data Corruption, crashes, and hangs). By using formal verification, the entire state space and fault list can be exhaustively explored. It is found that misaligned instructions can amplify fault effects. It is also found that some bits are more vulnerable to SEUs than others. In general, most of the bits in the Ibex Core are vulnerable to Silent Data Corruption, and the second pipeline stage is more vulnerable to Silent Data Corruption than the first.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。