commit | ae6d69dbb4e68a1133634f34431410dfed4db226 | [log] [tgz] |
---|---|---|
author | Alex Van Damme <atv@google.com> | Thu Jul 27 11:32:09 2023 -0700 |
committer | Alex Van Damme <atv@google.com> | Mon Aug 07 11:26:47 2023 -0700 |
tree | ed831fbb112b20cbb022133491b1f22fb496da69 | |
parent | 8c1f6ee68f27ad21726862949ab8dabc58774070 [diff] |
Soundstream encode/decode in TFLM - Add a sample application that runs a fixed input through the soundstream encoder, and then runs that output back through the decoder. - Import a patch for TFLM, which adds depthwise conv support for more datatypes. Change-Id: I7fad53595b105e001963f9d4d1c9106e2cd84344
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 //...
To run the unit tests (with the kelvin_sim ISS)
bazel test --test_env=ROOTDIR=${ROOTDIR} //...
TODO: Add CMake flow
The binaries can be simulated with the kelvin simulator, located at <dir>/sim/kelvin
.
sim_kelvin <elf location>
Load the generated .bin
binaries to the FPGA emulator/Renode simulator.