Design documents and project information for the RISC-V Business project can be found here:
Current User-Level ISA Spec : Version 20250508
Current Privileged ISA Spec : Version 20250508
- Verilator for RTL simulation
- FuseSoC for building
- RISC-V GCC Toolchain for compiling tests
This project uses the Fusesoc build system. Use the following commands to get started:
# install project dependencies &
# setup git pre-commit hook
./setup.sh
# For ease of use, use the makefile to run FuseSoC tests
make # shows all build targets available
# configure the RISC-V core
# (modify the Makefile to use a different YAML file than example.yml)
make config
make verilate # build with VerilatorNote: The fusesoc dependencies 'bus-components' and 'digital-lib' are only needed for full chip tapeouts. Simulation standalone with the
generic_bus_ifbus do not require these. If this gives trouble, you can safely skip thefusesoc library addsteps ofsetup.sh, and comment out the dependencies from the core file.
Now you can run simulations/tests:
# setup riscv-tests
./setup-riscv-tests.sh
# Run ISA tests
run_tests.py
# Run specify binary on Verliator core simulation
./rvb_out/sim-verilator/Vtop_core meminit.binRefer to the LICENSE file for licensing information.