diff --git a/README.md b/README.md index b1ad178..1ab217a 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Download and build the [Sparta](https://github.com/sparcians/map) framework. Fol conda activate sparta mkdir release cd release -CC=clang CXX=clang++ cmake .. -DCMAKE_BUILD_TYPE=Release +cmake .. -DCMAKE_BUILD_TYPE=Release make ``` @@ -18,6 +18,15 @@ make make regress ``` +## Validate + +Atlas provides a helper script for running the RISC-V architecture unit tests from [riscv-software-src/riscv-tests](https://github.com/riscv-software-src/riscv-tests) Follow the directions on the [riscv-software-src/riscv-tests README](https://github.com/riscv-software-src/riscv-tests#readme) to build the tests. + +From the `sim` subdirectory of your build directory, run the following Python script to run the RV64 tests: +``` +../../scripts/RunRiscVArchTest.py rv64 $RISCV_TESTS_PATH/isa/ +``` + ## Debug To build Atlas for debugging, Debug and FastDebug build types are available.