• 基于RISC-V架构的系统级抗单粒子翻转加固设计

    System level single event upset hardening design based on RISC-V architecture

    • 随着近年来RISC-V架构生态的发展,基于RISC-V架构的处理器在欧美航天领域得到了越来越多的应用,但目前在国内尚无见于报导的航天用RISC-V架构处理器产品。航天用处理器由于其工作环境存在大量的高能辐射,会使处理器内器件发生单粒子翻转,进而导致处理器执行结果错误甚至挂起。为解决上述问题,基于一款自研低功耗RISC-V架构处理器进行抗单粒子翻转加固。针对RISC-V架构特点,对流水线不可回溯寄存器采用三模冗余加固,可回溯寄存器采用错误检测和指令回溯技术相结合的方式进行加固;同时对寄存器文件采用EDAC技术和CRR技术相结合的方法进行加固,带来的额外硬件开销相较于常见的仅采用三模冗余加固方法减少了47%。基于加固后的RISC-V处理器实现了一款航天用MCU产品,并通过单粒子效应试验证明,加固后的处理器可纠正98.3%的单粒子翻转错误,为RISC-V架构处理器在国内航天领域的应用打下了基础。

       

      Abstract: With the development of the RISC-V architecture ecosystem in recent years, processors based on the RISC-V architecture have been increasingly used in the aerospace field in Europe and the United States, but there are currently no reported RISC-V architecture processor products for aerospace use in China. Due to the large amount of high-energy radiation in the working environment of aerospace processors, single event upset will occur in the devices inside the processor, which will lead to errors in the execution results of the processor. To solve the above problems, a self-developed low-power RISC-V architecture processor is hardened against single event upset. In view of the characteristics of the RISC-V architecture, the pipeline non-traceable registers are hardened with triple modular redundancy, and the traceable registers are hardened by combining error detection and instruction traceback technology; at the same time, the register files were hardened by combining error detection and correction (EDAC) technology and checkpoint and rollback recovery (CRR) technology. The additional hardware overhead brought by the hardening is reduced by 47% compared to the common hardening method that only uses triple modular redundancy. Based on the hardened RISC-V processor, an aerospace MCU product is implemented, and single event upset experiments prove that the hardened processor can correct 98.3% of single event upset errors, laying the foundation for the application of RISC-V architecture processors in the domestic aerospace field.

       

    /

    返回文章
    返回