Configurable RISC-V Processor
Go to file
2022-06-03 22:07:14 +00:00
addins unpacker optimizations 2022-06-01 16:52:21 +00:00
benchmarks some changes to further support vsim on embench 2022-06-01 17:19:19 +00:00
bin Moved some privileged tests to be simulated. 2022-05-12 04:45:41 +00:00
examples Removed unused ch5 assembly example 2022-05-12 14:05:27 +00:00
fpga Added more debug signals to uart. 2022-05-21 19:47:40 -05:00
linux changes suggested by ben, hopefully fixing buildroot (which is now not running) 2022-05-20 18:42:38 -07:00
pipelined testbench now reads begin_signature addr from .objdump.addr instead of from tests.vh 2022-06-03 22:07:14 +00:00
synthDC plots saved to synthDC/plots instead of shown 2022-05-30 19:56:47 +00:00
tests single and double conversions pass all tests 2022-05-25 23:02:02 +00:00
.gitattributes
.gitignore Added comments to some files, added a+b = 0 detector to comparator.sv 2022-05-28 09:41:48 +00:00
.gitmodules Added the 12T submodule to the project. 2022-02-03 19:26:41 -06:00
bugs.txt Fixed bug. 2022-02-11 14:00:01 -06:00
LICENSE
Makefile Updated Makefile to reflect new Linux and Imperas situation. Updated setup to include Synopsys license file. 2022-03-03 11:28:22 -08:00
README.md
setup.sh clean up sram1p1rw; still doesn't work on Modelsim 2022.1 2022-05-03 08:31:54 -07:00

riscv-wally

Configurable RISC-V Processor

Wally is a 5-stage pipelined processor configurable to support all the standard RISC-V options, incluidng RV32/64, A, C, F, D, and M extensions, FENCE.I, and the various privileged modes and CSRs. It is written in SystemVerilog. It passes the RISC-V Arch Tests and Imperas tests. As of October 2021, it boots the first 10 million instructions of Buildroot Linux.

If you are new to using Linux and Github, follow the steps in the RISCV SoC Design textbook to:

See Chapter 2 of draft book of how to install and compile tests.

Download and install x2go - A.1
Download and install VSCode - A.4.2
Make sure you can log into Tera acceptly via x2go and via a terminal
	Terminal on Mac, cmd on Windows, xterm on Linux
	See A.1 about ssh -Y login from a terminal
Git started with Git configuration and authentication: B.1

Then follow Section 2.2.2 to clone the repo, source setup, make the tests and run regression

$ cd
$ export RISCV=/opt/riscv
$ git clone --recurse-submodules https://github.com/davidharrishmc/riscv-wally
$ cd riscv-wally
$ source ./setup.sh
$ make
$ cd pipelined/regression
$ ./regression-wally       (depends on having Questa installed)

Add the following lines to your .bashrc or .bash_profile

if [ -f ~/riscv-wally/setup.sh ]; then
	source ~/riscv-wally/setup.sh
fi