tree: d7e30f289fff9481311c02cb1f8c3347e9ebc181 [path history] [tgz]
  1. device/
  2. host/
  3. otbn/
  4. vendor/
  5. .gitignore
  6. _index.md
  7. README.md
sw/README.md

title: “OpenTitan Software Build Instructions”

All OpenTitan software is built with Bazel.

For example, to build and run the OpenTitan UART smoke test located in sw/device/tests/ for Verilator, run

cd "$REPO_TOP"
bazel test --test_output=streamed //sw/device/tests:uart_smoketest_sim_verilator

The resulting binaries will be located under bazel-out/. For more information, check out [the Building Software guide]({{< relref “doc/getting_started/build_sw” >}}).