blob: e47e18a68118c842d4b177a9eb9c41601452deb9 [file] [log] [blame] [view]
# OpenTitan Software Build Instructions
All OpenTitan software is built with [Bazel](https://bazel.build/).
For example, to build and run the OpenTitan UART smoke test located in `sw/device/tests/` for Verilator, run
```console
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](../../doc/guides/getting_started/src/build_sw.md).