tree: 54df564b82c2a16c27adb8503c5a6964d7d8ed17 [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, although OpenTitan's project structure is sufficiently ideosyncratic that we use a custom workflow.

For example, to build the OpenTitan executable located at sw/device/examples/hello_world for FPGA, run the following commands:

$ cd "$REPO_TOP"
$ ./meson_init.sh
$ ninja -C build-out/sw/fpga sw/device/examples/hello_world/hello_world_export

The resulting binaries will be located at build-bin/sw/device/fpga/examples/hello_world. For more information, check out the relevant User Guide.