commit | a78ae460e4b71ab9a6c42fb84edf6640099e45eb | [log] [tgz] |
---|---|---|
author | Alex Bradbury <asb@lowrisc.org> | Fri Jan 03 17:24:12 2020 +0000 |
committer | Alex Bradbury <asb@asbradbury.org> | Mon Jan 06 18:54:32 2020 +0000 |
tree | ae841347915826a59248e434f4ee99a3ea98a9d9 | |
parent | 0491ada0352a9f9d165edfd3b842271975601901 [diff] |
[doc] Change back to int for loop counters in example code Our C and C++ style guide builds on top of Google's, which prefers int for simple loop counters. There's relevant discussion on the advantages of this approach on this llvm-dev thread, which also cites a range of other sources: * http://lists.llvm.org/pipermail/llvm-dev/2019-June/132890.html * http://lists.llvm.org/pipermail/llvm-dev/2019-June/133023.html PR #1240 changed two loops in example code from using int to using size_t as a loop counter, and this commit reverts that change. I'm posting this as a PR to test the waters to see if we're happy sticking with our current approach or if someobody wants to champion a proposed change to recommend size_t for loop counters. Signed-off-by: Alex Bradbury <asb@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).