commit | 04e4a4742705c54ade0b0e590bde5e6d4e61a6d5 | [log] [tgz] |
---|---|---|
author | Timothy Trippel <ttrippel@google.com> | Mon Mar 13 14:31:14 2023 -0700 |
committer | Timothy Trippel <5633066+timothytrippel@users.noreply.github.com> | Tue Mar 14 12:53:24 2023 -0700 |
tree | 9fca96e8e1470b44a96855dcbc69da5f233c350f | |
parent | 4995811929c102aedc1fc9b34e3b1b5f4887c367 [diff] |
[bazel,dvsim] enable passing `--data-perm` flag through dvsim/bazel This enables passing the `--data-perm` flag of the `gen-otp-img.py` script through dvsim and Bazel to allow setting this parameter for top-level tests that make use of the Bazel-generated OTP image by setting the `OtpTypeCustom` flag in the `chip_sim_cfg.hjson` file. To use this flag, users must simply set the `BAZEL_OTP_DATA_PERM_FLAG` environment variable on the dvsim run-stage machine (i.e., the machine that invokes Bazel to build the top-level test SW images). This can be done by setting environment variables in the `chip_sim_cfg.hjson` dvsim config file directly using the `exports` list (see line 138). Signed-off-by: Timothy Trippel <ttrippel@google.com>
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 and our documentation on project organization and processes 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).