The Capstone-RISC-V Spike Simulator is based on the Spike RISC-V ISA Simulator.
The Capstone-RISC-V Spike Simulator simulates a Capstone-RISC-V processor.
The interface of the processor follows the Capstone-RISC-V ISA, and some implementation-defined specifications are provided:
Please refer to the Capstone-RISC-V Spike Simulator SDK.
- Build the RISC-V GNU Toolchain.
- Build the RISC-V Proxy Kernel.
- Follow the building instructions for the Spike RISC-V ISA Simulator.
Note: some original options of Spike are not supported in Capstone-RISC-V Spike yet. Please be careful when using the options that are not listed here.
Parameter | Description |
---|---|
-h , --help |
Print help message |
-m<a:m,b:n,...> |
Provide memory regions of size m and n bytes at base addresses a and b (with 4 KiB alignment) |
-p<n> |
Simulate n processors (default 1) |
--isa=<name> |
RISC-V ISA string (default RV64IMAFDC ) |
-M<a:m> |
Provide secure memory regions of size m bytes at base addresses a (with 4 KiB alignment) |
-R<n> |
The size of revocation tree (default 1024*1024 ) |
-D |
Enable debug instructions |