[论文解读] A Heterogeneous RISC-V based SoC for Secure Nano-UAV Navigation
本论文提出 Shaheen,一款22nm异构RISC-V SoC,集成一个支持Linux的RV64核心(配备虚拟机监视器和时序通道保护机制)以及一个用于超低功耗(ULP)计算的多核RV32集群。该SoC在200mW功耗预算下,实现高达90 GOP/s和1.8 TOP/s/W的性能,支持安全的全操作系统执行,并在纳米级无人机(nano-UAV)中实现高性能推理与在线学习。
The rapid advancement of energy-efficient parallel ultra-low-power (ULP) ucontrollers units (MCUs) is enabling the development of autonomous nano-sized unmanned aerial vehicles (nano-UAVs). These sub-10cm drones represent the next generation of unobtrusive robotic helpers and ubiquitous smart sensors. However, nano-UAVs face significant power and payload constraints while requiring advanced computing capabilities akin to standard drones, including real-time Machine Learning (ML) performance and the safe co-existence of general-purpose and real-time OSs. Although some advanced parallel ULP MCUs offer the necessary ML computing capabilities within the prescribed power limits, they rely on small main memories (<1MB) and ucontroller-class CPUs with no virtualization or security features, and hence only support simple bare-metal runtimes. In this work, we present Shaheen, a 9mm2 200mW SoC implemented in 22nm FDX technology. Differently from state-of-the-art MCUs, Shaheen integrates a Linux-capable RV64 core, compliant with the v1.0 ratified Hypervisor extension and equipped with timing channel protection, along with a low-cost and low-power memory controller exposing up to 512MB of off-chip low-cost low-power HyperRAM directly to the CPU. At the same time, it integrates a fully programmable energy- and area-efficient multi-core cluster of RV32 cores optimized for general-purpose DSP as well as reduced- and mixed-precision ML. To the best of the authors' knowledge, it is the first silicon prototype of a ULP SoC coupling the RV64 and RV32 cores in a heterogeneous host+accelerator architecture fully based on the RISC-V ISA. We demonstrate the capabilities of the proposed SoC on a wide range of benchmarks relevant to nano-UAV applications. The cluster can deliver up to 90GOp/s and up to 1.8TOp/s/W on 2-bit integer kernels and up to 7.9GFLOp/s and up to 150GFLOp/s/W on 16-bit FP kernels.
研究动机与目标
- 在功耗低于200mW且外形尺寸小于10cm的纳米级无人机上,实现全功能通用操作系统(如Linux)的运行。
- 克服现有MCU缺乏虚拟化、内存保护机制以及对复杂软件栈支持能力的局限性。
- 集成高性能、可编程的RV32多核集群,用于实时数字信号处理(DSP)与量化深度神经网络(DNN)推理,同时保持超低功耗。
- 通过RISC-V虚拟机监视器扩展实现硬件强制隔离,确保实时控制(RTOS)与通用应用(Linux)的安全共存。
- 为RV64 CPU提供高达512MB的低成本、低功耗外部HyperRAM,直接访问以支持全操作系统工作负载。
提出的方法
- 设计一款异构RISC-V SoC,采用单个符合v1.0版本正式批准的RISC-V虚拟机监视器扩展的RV64核心,实现多软件栈的安全虚拟化与隔离。
- 集成自研的低功耗、面积高效的内存控制器,将高达512MB的外部HyperRAM直接暴露给RV64 CPU,实现全操作系统支持。
- 实现一个完全可编程的RV32多核集群,专为通用DSP和混合精度机器学习(ML)工作负载优化,采用SIMD扩展指令集。
- 在RV64核心中实现时序通道保护机制,防止侧信道攻击,确保可信与非可信软件域之间的隔离。
- 采用异构主机+加速器架构,其中RV64核心运行Linux,而RV32集群负责加速计算密集型任务,如量化DNN推理与DSP内核。
- 利用开源IP核(采用宽松许可协议发布)实现快速原型设计,并为AI-IoT与纳米级无人机系统的研究提供支持。
实验结果
研究问题
- RQ1具备支持Linux的RV64核心与可编程RV32集群的异构RISC-V SoC,是否能在200mW功耗范围内实现纳米级无人机的全操作系统支持?
- RQ2RISC-V虚拟机监视器扩展在纳米级无人机SoC上,能否有效实现实时控制(RTOS)与通用操作系统(Linux)工作负载的安全共存?
- RQ3在超低功耗、高度受限的纳米级无人机工作负载(如量化DNN推理与DSP内核)下,可实现怎样的性能与能效?
- RQ4能否在ULP SoC中高效且安全地将外部HyperRAM暴露给CPU,以实现全操作系统执行,同时避免面积与功耗的过度开销?
- RQ5是否可行构建一款硅片验证的开源异构RISC-V SoC,同时支持高层软件栈与超高效的硬件加速,适用于纳米级无人机?
主要发现
- Shaheen是首个硅片验证的异构RISC-V SoC,其RV64核心符合v1.0版本正式批准的RISC-V虚拟机监视器扩展,支持安全虚拟化与时序通道保护。
- 该SoC在2位整数内核上实现高达90 GOP/s与1.8 TOP/s/W的能效,达到超低功耗推理工作负载的最先进水平。
- 在16位浮点数内核上,RV32集群实现高达7.9 GFLOP/s与150 GFLOP/s/W的性能,展现出在实时DSP与混合精度ML任务中的高性能表现。
- 通过集成低成本、低功耗内存控制器,实现高达512MB的外部HyperRAM直接由RV64 CPU访问,有效支持全操作系统工作负载。
- 在8位整数内核上,RV32集群实现高达26.9 GOP/s与540 GFLOP/s/W的性能,展现出在混合精度推理任务中的强劲表现。
- 通过硬件强制隔离实现Linux与RTOS工作负载的安全共存,且虚拟化开销未造成性能下降。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。