Spike RISC-V ISA Simulator 1.1.1-dev usage: spike [host options] [target options] Host Options: -p Simulate processors [default 1] -m Provide MiB of target memory [default 2048] -m Provide memory regions of size m and n bytes at base addresses a and b (with 4 KiB alignment) -d Interactive debug mode -g Track histogram of PCs -l Generate a log of execution -s Command I/O via socket (use with -d) -h, --help Print this help message -H Start halted, allowing a debugger to connect --log= File name for option -l --debug-cmd= Read commands from file (use with -d) --isa= RISC-V ISA string [default RV32IMAC] --priv= RISC-V privilege modes supported [default MSU] --varch= RISC-V Vector uArch string [default vlen:128,elen:64] --pc=
Override ELF entry point --hartids= Explicitly specify hartids, default is 0,1,... --ic=:: Instantiate a cache model with S sets, --dc=:: W ways, and B-byte blocks (with S and --l2=:: B both powers of 2). --device= Attach MMIO plugin device from an --extlib library P -- Name of the MMIO plugin B -- Base memory address of the device A -- String arguments to pass to the plugin This flag can be used multiple times. The extlib flag for the library must come first. --log-cache-miss Generate a log of cache miss --extension= Specify RoCC Extension This flag can be used multiple times. --extlib= Shared library to load This flag can be used multiple times. --rbb-port= Listen on for remote bitbang connection --dump-dts Print device tree string and exit --disable-dtb Don't write the device tree blob into memory --kernel= Load kernel flat image into memory --initrd= Load kernel initrd into memory --bootargs= Provide custom bootargs for kernel [default: console=hvc0 earlycon=sbi] --real-time-clint Increment clint time at real-time rate --dm-progsize= Progsize for the debug module [default 2] --dm-sba= Debug system bus access supports up to wide accesses [default 0] --dm-auth Debug module requires debugger to authenticate --dmi-rti= Number of Run-Test/Idle cycles required for a DMI access [default 0] --dm-abstract-rti= Number of Run-Test/Idle cycles required for an abstract command to execute [default 0] --dm-no-hasel Debug module supports hasel --dm-no-abstract-csr Debug module won't support abstract to authenticate --dm-no-halt-groups Debug module won't support halt groups --dm-no-impebreak Debug module won't support implicit ebreak in program buffer ~$ clear spike --help Usage: clear [options] Options: -T TERM use this instead of $TERM -V print curses-version -x do not try to clear scrollback