commit | 4077bec9b0804806c5f1359a80f935cb63c8d857 | [log] [tgz] |
---|---|---|
author | Rupert Swarbrick <rswarbrick@lowrisc.org> | Mon Oct 05 11:50:11 2020 +0100 |
committer | Rupert Swarbrick <rswarbrick@gmail.com> | Tue Feb 16 14:37:20 2021 +0000 |
tree | eadca993e509943b32aeabb124eef76d721243ff | |
parent | cf45be18d91183f9ee3555c83b446255bcbd92d6 [diff] |
[otbn] Use libcst to extract implementations for docs This isn't the full solution: we are going to want to do some prettifying to make this more "pseudo-codeish". For example, we currently have lines like val1 = state.gprs.get_reg(self.grs1).read_unsigned() state.gprs.get_reg(self.grd).write_unsigned(result) which should probably be something more like val1 <- gprs[self.grs1] gprs[self.grd] <- val1 or similar. However, it does get rid of the duplicated definitions from the YAML files and, if ugly, the definitions in the spec are now at least clear. Signed-off-by: Rupert Swarbrick <rswarbrick@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).