commit | 336612e65fd9beab627b683d5e3795ba9bdab555 | [log] [tgz] |
---|---|---|
author | Cindy Liu <hcindyl@google.com> | Sat Jun 17 14:32:16 2023 -0700 |
committer | Cindy Liu <hcindyl@google.com> | Tue Jun 20 14:12:05 2023 -0700 |
tree | f97afde5c910b210add5adc431aa8ad0554e4048 | |
parent | 28bb4471fa07b5da0e4025430e7f2337af7e4cae [diff] |
Add Kelvin ISA doc Migrated from the experimental doc with clean up. Some notable fixes: * Add vector register configuration section * `getvl` example to align with Kelvin's 256 SIMD * `cache.x` is refined to core level `flush` ops * Fix bitfield assignment and explanation for `xlog` * Remove unsupported prefetch * Add `vdiv` and `vrem` based on instrinsic header and ISS implementation * Adjust the header level of each of the subsections Change-Id: I34e27624a317bf5a896492083331c664b20c03c8
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.