commit | 80cc823fbca6b62b71d851b95ddd6f8f490d480d | [log] [tgz] |
---|---|---|
author | Philipp Wagner <phw@lowrisc.org> | Thu Oct 29 16:26:09 2020 +0000 |
committer | Philipp Wagner <mail@philipp-wagner.com> | Thu Nov 05 21:14:14 2020 +0000 |
tree | 639275b2ac69f1733517b4983b7f53e19dce29c1 | |
parent | e8ba3dc5fe2ae58783f9ab35b34d509f8273b248 [diff] |
[sw/otbn] Integrate OTBN code building into meson Build OTBN code with the meson build system. The primary use case is the integration of OTBN binaries into device (Ibex) binaries. OTBN is a separate architecture based on RV32I. Since meson doesn't support compiling (and combining) software for multiple targets in the same run, we have to cheat by using an external script, which effectively does what meson would do for "normal" device software: call the assembler, linker, and binutils to produce the desired output files from the sources. However, since we know that OTBN is based on RV32I, we make at least sure that we reuse the toolchain discovery results from meson and pass them on to the OTBN toolchain. The OTBN toolchain itself is a "frontend" to the GNU Assembler and the GNU linker, callable through otbn-as and otbn-ld. Fixes #2936 Signed-off-by: Philipp Wagner <phw@lowrisc.org>
OpenTitan is an open source silicon Root of Trust (RoT) project. OpenTitan will make the silicon RoT design and implementation more transparent, trustworthy, and secure for enterprises, platform providers, and chip manufacturers. OpenTitan is administered by lowRISC CIC as a collaborative project to produce high quality, open IP for instantiation as a full-featured product. See the OpenTitan site and OpenTitan docs for more information about the project.
This repository contains hardware, software and utilities written as part of the OpenTitan project. It is structured as monolithic repository, or “monorepo”, where all components live in one repository. It exists to enable collaboration across partners participating in the OpenTitan project.
The project contains comprehensive documentation of all IPs and tools. You can access it online at docs.opentitan.org.
Have a look at CONTRIBUTING for guidelines on how to contribute code to this repository.
Unless otherwise noted, everything in this repository is covered by the Apache License, Version 2.0 (see LICENSE for full text).