Spike 编译安装
$ sudo apt-get install device-tree-compiler $ mkdir build $cdbuild $ ../configure --prefix=$RISCV$ make $ sudo make install
编译选项
--with-isa=RV64IMAFDC Sets the default RISC-V ISA --with-priv=MSU Sets the default RISC-V privilege modes supported --with-varch=vlen:128,elen:64,slen:128
--enable-commitlog Enable commitloggeneration --enable-histogram Enable PC histogram generation --enable-dual-endian Enable supportforrunning targetineither
Spike 命令格式
spike [host options] [target options
|