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