Added Hello to the README

This commit is contained in:
David Harris 2024-12-09 08:19:57 -08:00
parent f680e6f70c
commit 798f026ae5

View File

@ -59,7 +59,18 @@ Then fork and clone the repo, source setup, make the tests and run regression
fi fi
``` ```
9. Build the tests and run a regression simulation to prove everything is installed. Building tests may take a while. 9. Try compiling the HelloWally program and simulating it on the SystemVerilog with Verilator and on the Spike simulator.
``` cd examples/C/hello
$ make
$ wsim --sim verilator rv64gc --elf hello
Hello Wally!
0 1 2 3 4 5 6 7 8 9
$ spike hello
Hello Wally!
0 1 2 3 4 5 6 7 8 9
```
10. Build the tests and run a regression simulation to prove everything is installed. Building tests may take a while.
```bash ```bash
$ make --jobs $ make --jobs