commit | 570bafc450f59b8bff6c4745fad1fcd4f95b36cb | [log] [tgz] |
---|---|---|
author | Lun Dong <lundong@google.com> | Wed Jul 19 15:03:09 2023 -0700 |
committer | Lun Dong <lundong@google.com> | Mon Jul 24 14:09:51 2023 -0700 |
tree | 488de77a8a3e2846d4e04cfe885df6714d092cfb | |
parent | 06d10c6e58c873e3df6a480f933e7b91f16fb79f [diff] |
sw/kelvin: build Kelvin library in cmake and cleanups build Kelvin library in cmake for IREE targets. Change-Id: Id740690627df7669d1cd745b6260592cfeef598d
This project contains the BSP to build the SW artifact that can run on the Kelvin core, and integrated as part of the Shodan repository.
The project supports two build systems -- Bazel and CMake -- for OSS integration reasons. Bazel is used by TFLM flow, while CMake is the build system for IREE.
If you get this project from Project Shodan manifest, you are all set. If not, you need to have following projects as well to build the project successfully.
<dir>/cache/toolchain_kelvin
This project needs to be at <dir>/sw/kelvin
.
The project uses Bazel 5.1.1, to align with OpenTitan build system requirements.
bazel build //...
TODO: Add CMake flow
TODO: Add kelvin simulator
Load the generated .bin
binaries to matcha FPGA emulator.