cvw/README.md

32 lines
1.3 KiB
Markdown
Raw Normal View History

2023-01-16 15:29:39 +00:00
# core-v-wally
2021-01-15 04:16:47 +00:00
Configurable RISC-V Processor
2021-10-11 15:13:15 +00:00
2023-01-16 15:29:39 +00:00
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 boots Linux on an FPGA.
2021-10-11 15:13:15 +00:00
2023-01-16 15:29:39 +00:00
Wally is described in a textbook, RISC-V System-on-Chip Design, by Harris, Stine, Thompson, and Harris. See Appendix D for directions installing the RISC-V tool chain needed to use Wally.
2022-01-24 23:46:24 +00:00
2023-01-16 15:29:39 +00:00
New users may wish to do the following setup to access the server via a GUI and use a text editor.
2022-01-24 23:46:24 +00:00
2023-01-16 15:29:39 +00:00
Download and install x2go - A.1.1
2022-01-24 23:46:24 +00:00
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
2023-01-16 15:29:39 +00:00
Then follow Section 2.2 to clone the repo, source setup, make the tests and run regression
2022-01-24 23:46:24 +00:00
2022-01-24 23:47:42 +00:00
$ cd
$ 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)
2022-01-24 23:46:24 +00:00
Add the following lines to your .bashrc or .bash_profile
2022-01-24 23:47:42 +00:00
if [ -f ~/riscv-wally/setup.sh ]; then
source ~/riscv-wally/setup.sh
fi