From af0dca06b22995e8c79306c636220875cf81e0c0 Mon Sep 17 00:00:00 2001 From: Mario1159 Date: Mon, 13 Feb 2023 00:34:07 +0000 Subject: [PATCH] Update 'README.md' --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6f63b9c..16ae691 100644 --- a/README.md +++ b/README.md @@ -45,11 +45,13 @@ docker run -it git.1159.cl/mario1159/rvscc ## Build To build the firmware that will be loaded in the instruction memory execute CMake in the `fw` directory specifying the RISC-V toolchain and build the recipe based in your selected generator (`make` in the following example). ``` -cmake -DCMAKE_TOOLCHAIN_FILE=./cmake/toolchain.cmake -Bbuild -make -Cbuild +cmake -Bbuild +cmake --build build ``` This will generate a `sandbox.mem` file in the `/build` folder. To load the file in the simulation make sure to add it to your simulator sources and that the memory path matches the path specifies in the memory module. ## Tests -(TODO) +``` +ctest --test-dir build +``` ## Benchmark (TODO)