mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
Merge branch 'main' into fpga
This commit is contained in:
commit
09dc3e1143
4
.gitignore
vendored
4
.gitignore
vendored
@ -6,6 +6,9 @@
|
|||||||
__pycache__/
|
__pycache__/
|
||||||
.vscode/
|
.vscode/
|
||||||
|
|
||||||
|
#External repos
|
||||||
|
addins
|
||||||
|
|
||||||
#vsim work files to ignore
|
#vsim work files to ignore
|
||||||
transcript
|
transcript
|
||||||
vsim.wlf
|
vsim.wlf
|
||||||
@ -38,6 +41,7 @@ wally-pipelined/linux-testgen/buildroot-config-src/main.config.old
|
|||||||
wally-pipelined/linux-testgen/buildroot-config-src/linux.config.old
|
wally-pipelined/linux-testgen/buildroot-config-src/linux.config.old
|
||||||
wally-pipelined/linux-testgen/buildroot-config-src/busybox.config.old
|
wally-pipelined/linux-testgen/buildroot-config-src/busybox.config.old
|
||||||
wally-pipelined/regression/slack-notifier/slack-webhook-url.txt
|
wally-pipelined/regression/slack-notifier/slack-webhook-url.txt
|
||||||
|
wally-pipelined/regression/logs
|
||||||
|
|
||||||
/testsBP/fpga-test-dram/bin/blink-led
|
/testsBP/fpga-test-dram/bin/blink-led
|
||||||
/testsBP/fpga-test-dram/bin/blink-led.memfile
|
/testsBP/fpga-test-dram/bin/blink-led.memfile
|
||||||
|
21
README.md
21
README.md
@ -5,15 +5,32 @@ Wally is a 5-stage pipelined processor configurable to support all the standard
|
|||||||
|
|
||||||
To use Wally on Linux:
|
To use Wally on Linux:
|
||||||
|
|
||||||
|
```
|
||||||
git clone https://github.com/davidharrishmc/riscv-wally
|
git clone https://github.com/davidharrishmc/riscv-wally
|
||||||
cd riscv-wally
|
cd riscv-wally
|
||||||
cd imperas-riscv-tests
|
cd imperas-riscv-tests
|
||||||
make
|
make
|
||||||
cd ../addins
|
cd ../addins
|
||||||
git clone https://github.com/riscv-non-isa/riscv-arch-test
|
git clone https://github.com/riscv-non-isa/riscv-arch-test
|
||||||
|
git clone https://github.com/riscv-software-src/riscv-isa-sim
|
||||||
|
cd riscv-isa-sim
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
set RISCV=/cad/riscv/gcc/bin (or whatever your path is)
|
||||||
|
../configure --prefix=$RISCV
|
||||||
|
make (this will take a while to build SPIKE)
|
||||||
|
sudo make install
|
||||||
|
cd ../../riscv-arch-test
|
||||||
|
cp ../riscv-isa-sim/arch_test_target/spike/Makefile.include .
|
||||||
|
edit Makefile.include
|
||||||
|
change line with TARGETDIR to /home/harris/riscv-wally/addins/riscv-isa-sim/arch_test_target (or whatever your path is)
|
||||||
|
add line export RISCV_PREFIX = riscv64-unknown-elf- # this might not be needed if you have 32-bit versions of the riscv gcc compiler built separately
|
||||||
|
make
|
||||||
|
make XLEN=32
|
||||||
|
exe2memfile.pl work/*/*/*.elf # converts ELF files to a format that can be read by Modelsim
|
||||||
|
```
|
||||||
|
|
||||||
Notes:
|
Notes:
|
||||||
Eventually download imperas-riscv-tests separately
|
Eventually download imperas-riscv-tests separately
|
||||||
Move our custom tests to another directory
|
Move our custom tests to another directory
|
||||||
Handle exe2memfile separately.
|
Eventually replace exe2memfile.pl with objcopy
|
||||||
|
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 48 KiB |
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 70 KiB |
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user