commit | 3e4cd9d5a5ab24cb39a784c6147b593f24eaa06d | [log] [tgz] |
---|---|---|
author | Alphan Ulusoy <alphan@google.com> | Tue Jan 21 15:03:01 2020 -0500 |
committer | Philipp Wagner <mail@philipp-wagner.com> | Thu Jan 30 17:37:47 2020 +0000 |
tree | 8a8a950aec792b3b22133e9f34281fc24746cd25 | |
parent | 8330c4c823a021cf4af5eed4cdf8e14bf479ff9a [diff] |
Fix busy_sleep_micros and ibex_busy_loop - Implement `ibex_mcycle_read()` that reads the 64-bit cycle counter value stored across `mcycleh` and `mcycle`. - `busy_sleep_micros(size_t)`: - Rename to `usleep(uint32_t)`. - Fix divisor (should be `1000000`, had an extra `0`). - Use a `uint64_t` to store the number of cycles instead of `uint32_t`. - Replace the call to `ibex_busy_loop(size_t)` with a loop + `ibex_mcycle_read()`. - Remove `ibex_busy_loop(size_t)`. See also: #1227, #1207. Signed-off-by: Alphan Ulusoy <alphan@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).