commit | a2ed3f6ac9bd08b65021f771d023c15ec4a6ca54 | [log] [tgz] |
---|---|---|
author | Sam Elliott <selliott@lowrisc.org> | Wed Feb 19 17:01:40 2020 +0000 |
committer | Garret Kelly <Garret.Kelly@gmail.com> | Wed Feb 19 14:05:47 2020 -0500 |
tree | 5fd21a2256661cc92cc1934d678ebc4a83079d79 | |
parent | e7459304162730c4a255755fc18052856db2cb68 [diff] |
[sw,dif_plic] Rename k*Count Enum Variants kFooCount enum variants (which come last) are useful for being able to iterate over the domain of an enum type. However, they add an additional variant which needs to be checked against during DIF preconditions (as usually this `Count` does not mean anything semantically). This replaces kFooCount enum variants with kFooLast enum variants. kFooLast should have the same value as the last valid variant, so do not need to be checked against in preconditions, and they can still be used for iteration (but are off-by-one when counting). Signed-off-by: Sam Elliott <selliott@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 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 either access it online or build it locally by following the steps below.
$ sudo apt install curl python3 python3-pip $ pip3 install --user -r python-requirements.txt
$ ./util/build_docs.py --preview
This compiles the documentation into ./build/docs
and starts a local server, which allows you to access the documentation at http://127.0.0.1:1313.
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).