Skip to main content

About RISC-V

RISC-V is a minimal, modular Von Neumann architecture.

Relevance in RISC Zero

The simplicity of RISC-V as well as the maturity of the RISC-V ecosystem makes it ideal for a zero-knowledge virtual machine. RISC Zero's zkVM implements the RISC-V rv32im specification, which consists of the rv32i base with the multiplication extension. This means that developers can write code in languages such as Rust, Go, and C, compile the code to RISC-V assembly code, and execute it on the zkVM.

Documentation

The specification of rv32im is defined in The RISC-V Instruction Set Manual, Volume I: User-Level ISA. A succinct summary of the architecture is available here

Suggested Reading and Videos

For more on how these ideas fit into RISC Zero's system, we recommend: