tree: ea755d63dbb6d28f4dac8adb1d7338e36ea2f4cd [path history] [tgz]
  1. device/
  2. host/
  3. vendor/
  4. .gitignore
  5. meson.build
  6. README.md
sw/README.md

OpenTitan Software

This subtree contains all software intended to run on the OpenTitan chip, as well as some tools.

Building

OpenTitan software is built using Meson. For example, to build the OpenTitan executable located at device/examples/hello_world/hello_world.bin, run the following commands:

cd "${REPO_TOP}"
./meson-init.sh -r
ninja -C build-"${TARGET}" device/examples/hello_world/hello_world.bin

$TARGET should be one of verilator or fpga, depending on whether the executable should be built to run under simulation or on a phyisical FPGA, respectively.