commit | 2945f0a87ce643f0a0f115b40453bb703d23b0f2 | [log] [tgz] |
---|---|---|
author | Cindy Liu <hcindyl@google.com> | Tue Aug 27 19:10:15 2024 -0700 |
committer | Cindy Liu <hcindyl@google.com> | Tue Aug 27 19:39:46 2024 -0700 |
tree | f00ca0248b935e8f1b0ca91ac7278f8adcd7ae00 | |
parent | b2872d7764da250a0407059c1de7515442bceffb [diff] |
Extend renode test timeout Workaround the renode RVV regression from renode >= renode-1.15.2+20240821git78f7fa37e Change-Id: If21cbe2e3831463118161771938fbcfeb614309b
This project hosts SW programs for RISC-V 32-bit baremetal machine with vector extension (Springbok). It provides the BSP to build the SW artifacts to run on Springbok.
If you get this project from a repo manifest, you are all set. If not, you need to have following projects as well to build the project successfully.
<dir>/sw/pigweed
.<dir>/cache/toolchain_iree_rv32imf
This project needs to be at <dir>/sw/vec
.
-cmake: CMake macros and cross compile toolchain setup -scripts: Helper scripts to generate and run the tests -softrvv: scalar mockup for the RVV instructions -springbok: BSP for the core, including the starting assembly, linker script, and gloss library support -tests: RVV instruction unit tests
If you get this project from repo manifest, you can build the artifacts with m springbok
. If you download this project alone, you need to run the following from the top-level directory
cmake -B <output dir> -G Ninja \ -DRISCV_TOOLCHAIN_ROOT=$(TOOLCHAINRV32_PATH) \ <dir>/sw/vec cmake --build <output dir> --target all
You can run Renode emulation with the built executables. If you run from the repo, you can run sim_springbok
for Renode simulation. Out-of-repo emulation is possible but requires more steps.
This project uses CMake's ctest to test the executables
ctest --test-dir <output dir>