For spike device plugins.
riscv-toolchains
- If you are using this within Chipyard, the dependencies will be already installed in the
$RISCV
directory.
Make sure $RISCV
is set before running the following commands.
make
make install
Example usage:
spike --extlib libspikedevices.so --device sifive_uart ./hello.riscv