Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 614 Bytes

README.md

File metadata and controls

14 lines (11 loc) · 614 Bytes

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.