Research topic

RISC-V and WebAssembly

Extending the open RISC-V instruction set for signal processing, security and bytecode execution, and bringing portable, sandboxed WebAssembly to embedded systems.

RISC-V is an open instruction set architecture, which is the interface between software and a processor. As an open standard it accelerates new innovative chip platforms, industry competition and easier access from academia.

The AEMY team is one of the key European entities of RISC-V and is involved in the RISC-V leadership and broad community. In research we focus on the extendability of RISC-V in the following areas:

  • RISC-V compressed instructions for signal processing
  • RISC-V ISA extensions for DSP and cryptographic applications (BCDC)
  • RISC-V support to accelerate the execution of bytecode virtual machines such as WebAssembly (ISOLDE)
  • Framework for the exploration of RISC-V high-density compressed instructions using variable length instruction coding for application domains (Scale4Edge)
  • Evaluation and verification of instruction set extensions (DI-OSVISE)

WebAssembly for embedded systems

Application development for modern IoT systems is held back by many of the constraints of low-resource embedded processors. The memory and processing abilities of IoT devices do not support the tools utilized in other application domains like cloud-native, which profit from automatic application deployment, monitoring, and scaling.

WebAssembly is a modern, high-level, virtual machine that, due to its features and efficient semantics, can easily be implemented on most IoT devices. This can streamline the process of developing and managing software on embedded systems and solve many challenges associated with utilizing heterogeneous, low-resource devices.

Some advantages WebAssembly can bring to embedded systems are:

  • Sandboxed, efficient multiprocess devices.
  • Fault tolerance, monitoring, and lifecycle management of IoT applications.
  • Automatic (re-)deployment of applications based on device type and features.
  • Emulation of missing hardware features using a WebAssembly interface.
  • Binary compatibility with various devices and generations.

At AEMY, we are working on an ecosystem of efficient, practical WebAssembly runtimes and supporting tools for embedded systems.

One example is TWEED, an in-place interpreter that executes WebAssembly bytecode directly, without first converting it into an intermediate representation. We develop it in our IoT prototyping lab at TIZIO.

Publications