commit | ffac3b60e8a1243aceaaf7af6c308a5f243e24a6 | [log] [tgz] |
---|---|---|
author | Srikrishna Iyer <sriyer@google.com> | Fri Sep 24 16:50:46 2021 -0700 |
committer | Srikrishna Iyer <46467186+sriyerg@users.noreply.github.com> | Thu Sep 30 13:47:21 2021 -0700 |
tree | 1dfa40e062c569b7bc6951c99c158d3ecb7961af | |
parent | 2c468cd661cc03a32359bbcd48f08c63e96b44ff [diff] |
[util] Standardize auto-generated code warning msg This PR attempts to provide a standalone Python method that returns a warning message box indicating that the source is autogenerated. The `get_autogen_banner()` takes two arguments - `command` and `comment`. It wraps the command to 74 characters. The `comment` which is the style supported by the generated file is applied to all lines and the final text is returned as a string. It will be great to standardize on how we indicate the source has been autogenerated, considering we have a lot of scripts that autogenerate things in our codebase. Happy to hear thoughts and opinions on improving how this should look further. Signed-off-by: Srikrishna Iyer <sriyer@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).