commit | 5070432f9b39f50a573ab9beee894fa1e5b9295b | [log] [tgz] |
---|---|---|
author | Miguel Young de la Sota <mcyoung@google.com> | Fri Nov 08 13:57:08 2019 -0600 |
committer | Garret Kelly <Garret.Kelly@gmail.com> | Thu Nov 14 10:46:51 2019 -0500 |
tree | b1a3dab4db165aae3d35477e2654d0403444e928 | |
parent | ff5f23c3361ec847ed5cc133289820284f3c8b0c [diff] |
[verilator] Add a mechanism for the host to drive GPIO pins. This change refactors gpiodpi.h to create two UNIX fifos, one for reading output pins and one for driving input pins. The input pins are driven by writing commands of the form h0e (pulls 14th pin high) and l12 (pulls 18th pin low); see gpiodpi.h for details. As part of the refector, gpio_oe is now respected when printing out the values of gpio pins: disabled pins (i.e., semanitcally "floating") are represented with an `X` character. Signed-off-by: Miguel Young de la Sota <mcyoung@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 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).