Repo containing RISC-V toochain 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 instrcutions
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 hell-world-add-floats target with custom toolchain defined under toolcahins. Note: TBD add instrcutions to build the toochain from sracth
Execute binary with mpact_sim
{$PATH_TO_MPACT_SIM}/bazel-bin/riscv/rv32gv_sim --semihost_arm=true bazel-bin/hello-world-add-floats