commit | 93013c31d17eabef7fa5f3d6397eafd0ebb460e9 | [log] [tgz] |
---|---|---|
author | Naveen Dodda <ndodda@google.com> | Thu Mar 06 18:58:48 2025 +0000 |
committer | Naveen Dodda <ndodda@google.com> | Thu Mar 06 13:00:29 2025 -0800 |
tree | 361705b4bfc21d2972e106c6c765b4a651970639 | |
parent | 6b441c31530f2f579e3a0e9acf0e019011f95296 [diff] |
Spell check Bypass-Presubmit-Reason: No presubmit configured Change-Id: I13ff9664f7b6ceedee953a2346359b7f5a588528
Repo containing RISC-V toolchain configuration for Kelvin.
This is work in progress bazel repo: please reach out to me for additional questions and suggestions.
If you have not already done so, download and install Bazel 6.2.1 or later.
TBD for toolchain download instructions
Run the build with the following command:
bazel-6.2.1 run -s --config=kelvin_rvv_rv32_toolchain_config //examples:hello-world-add-floats
You can also build rvv_add_intrinsic.
The above command builds hello-world-add-floats target with custom toolchain defined under toolchains. Note: TBD add instructions to build the toolchain from scratch.
Execute binary with mpact_sim
{$PATH_TO_MPACT_SIM}/bazel-bin/riscv/rv32gv_sim --semihost_arm=true bazel-bin/hello-world-add-floats