← All repos

riscv-isa-sim

Spike, a RISC-V ISA Simulator

Browse cluster: RISC-V Toolchain & Math Libraries
4,155commits
238contributors
8languages

Tech stack & purpose

Spike is a RISC-V instruction set simulator that implements a functional model of one or more RISC-V processors. The project supports a comprehensive range of RISC-V ISA features including base integer instruction sets (RV32I, RV64I, RV32E, RV64E), numerous standard extensions (M, A, F, D, C, V, and others), cryptographic extensions, and privileged modes (Machine, Supervisor, and User). Spike can be used as a target for the RISC-V Architectural Test framework and supports interactive debugging via debug mode, gdb with OpenOCD, and configuration options such as selecting between 32-bit and 64-bit operation and testing individual instruction set extensions. The simulator is built using C++, integrates with standard tooling like device-tree-compiler and Boost libraries, and provides both functional instruction simulation and memory management capabilities.

Languages

C
64.2%
C++
32.6%
M4
1.3%
Shell
1.1%
Makefile
0.6%
Assembly
0.2%
BitBake
0.0%
Linker Script
0.0%

Contributors (top 30 of 238)