Skip to content

Purdue-SoCET/RISCVBusiness

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RISCVBusiness

Design documents and project information for the RISC-V Business project can be found here:

RISCV-Business Documentation

Current User-Level ISA Spec : Version 20250508

Current Privileged ISA Spec : Version 20250508

Getting Started

Dependencies

FuseSoC

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 Verilator

Note: The fusesoc dependencies 'bus-components' and 'digital-lib' are only needed for full chip tapeouts. Simulation standalone with the generic_bus_if bus do not require these. If this gives trouble, you can safely skip the fusesoc library add steps of setup.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.bin

Refer to the LICENSE file for licensing information.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • SystemVerilog 49.3%
  • C 30.0%
  • Assembly 12.5%
  • Python 4.5%
  • C++ 2.1%
  • Stata 1.1%
  • Other 0.5%