Skip to main content
QUICK REVIEW

[Paper Review] A Heterogeneous RISC-V based SoC for Secure Nano-UAV Navigation

Luca Valente, Alessandro Nadalini|arXiv (Cornell University)|Jan 7, 2024
Advanced Neural Network ApplicationsComputer Science41 references3 citations
TL;DR

This paper presents Shaheen, a 22nm heterogeneous RISC-V SoC integrating a Linux-capable RV64 core with hypervisor and timing channel protection and a multi-core RV32 cluster for ultra-low-power (ULP) computation. The SoC achieves up to 90 GOP/s and 1.8 TOP/s/W on 2-bit integer kernels, enabling secure, full-OS execution and high-performance inference/online learning in nano-UAVs within a 200mW power budget.

ABSTRACT

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.

Motivation & Objective

  • Enable full-featured general-purpose operating systems (e.g., Linux) on ultra-low-power nano-UAVs constrained by <200mW and sub-10cm form factor.
  • Overcome limitations of existing MCUs that lack virtualization, memory protection, and support for complex software stacks.
  • Integrate a high-performance, programmable RV32 multi-core cluster for real-time DSP and quantized DNN inference while maintaining ultra-low power.
  • Achieve secure coexistence of real-time control (RTOS) and general-purpose applications (Linux) via hardware-enforced isolation using the RISC-V Hypervisor extension.
  • Provide up to 512MB of low-cost, low-power off-chip HyperRAM accessible directly by the RV64 CPU to support full OS workloads.

Proposed method

  • Design a heterogeneous RISC-V SoC with a single RV64 core compliant with the v1.0 ratified RISC-V Hypervisor extension, enabling secure virtualization and isolation of multiple software stacks.
  • Integrate a custom, low-power, and area-efficient memory controller to expose up to 512MB of off-chip HyperRAM directly to the RV64 CPU, enabling full-OS support.
  • Implement a fully programmable, multi-core cluster of RV32 cores optimized for general-purpose DSP and mixed-precision ML workloads using SIMD extensions.
  • Employ timing channel protection in the RV64 core to prevent side-channel attacks and ensure isolation between trusted and untrusted software domains.
  • Use a heterogeneous host+accelerator architecture where the RV64 core runs Linux and the RV32 cluster accelerates compute-intensive tasks such as quantized DNN inference and DSP kernels.
  • Leverage open-source IP cores (released under a liberal license) for rapid prototyping and future research in AI-IoT and nano-UAV systems.

Experimental results

Research questions

  • RQ1Can a heterogeneous RISC-V SoC with a Linux-capable RV64 core and a programmable RV32 cluster achieve full OS support within a 200mW power envelope for nano-UAVs?
  • RQ2How effectively can the RISC-V Hypervisor extension enable secure coexistence of real-time control (RTOS) and general-purpose (Linux) workloads on a nano-UAV SoC?
  • RQ3What performance and energy efficiency can be achieved on ultra-low-power, highly constrained nano-UAV workloads such as quantized DNN inference and DSP kernels?
  • RQ4Can off-chip HyperRAM be efficiently and securely exposed to a CPU in a ULP SoC to enable full-OS execution without excessive area or power overhead?
  • RQ5Is it feasible to build a silicon-verified, open-source, heterogeneous RISC-V SoC that supports both high-level software stacks and ultra-efficient hardware acceleration for nano-UAVs?

Key findings

  • Shaheen is the first silicon-verified implementation of a heterogeneous RISC-V SoC with an RV64 core compliant with the v1.0 ratified RISC-V Hypervisor extension, enabling secure virtualization and timing channel protection.
  • The SoC delivers up to 90 GOP/s and 1.8 TOP/s/W on 2-bit integer kernels, achieving state-of-the-art energy efficiency for ultra-low-power inference workloads.
  • On 16-bit floating-point kernels, the RV32 cluster achieves up to 7.9 GFLOP/s and 150 GFLOP/s/W, demonstrating high performance for real-time DSP and mixed-precision ML.
  • The integration of a low-cost, low-power memory controller enables up to 512MB of off-chip HyperRAM to be directly accessible by the RV64 CPU, supporting full-OS workloads.
  • The RV32 cluster achieves up to 26.9 GOP/s and 540 GFLOP/s/W on 8-bit integer kernels, showing strong performance for mixed-precision inference tasks.
  • The SoC enables secure coexistence of Linux and RTOS workloads through hardware-enforced isolation, with no performance degradation from virtualization overhead.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.