From 798f026ae5f0c14087b5f31b4b870e9ac7603a60 Mon Sep 17 00:00:00 2001 From: David Harris Date: Mon, 9 Dec 2024 08:19:57 -0800 Subject: [PATCH 1/2] Added Hello to the README --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0f560f63a..441b277ec 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,18 @@ Then fork and clone the repo, source setup, make the tests and run regression 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 $ make --jobs From 8cbf73a8bc955ac5c6d307798c4a8d8dde1d9104 Mon Sep 17 00:00:00 2001 From: David Harris Date: Mon, 9 Dec 2024 08:39:00 -0800 Subject: [PATCH 2/2] Cleanup README --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 441b277ec..8b20d6d8f 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,8 @@ Then fork and clone the repo, source setup, make the tests and run regression ``` 9. Try compiling the HelloWally program and simulating it on the SystemVerilog with Verilator and on the Spike simulator. - ``` cd examples/C/hello + ``` + $ cd examples/C/hello $ make $ wsim --sim verilator rv64gc --elf hello Hello Wally!