commit | 3e19bde3c8f623da5f2ee7a96203419eac4a400a | [log] [tgz] |
---|---|---|
author | Philipp Wagner <phw@lowrisc.org> | Thu Jul 22 19:05:01 2021 +0100 |
committer | Philipp Wagner <mail@philipp-wagner.com> | Fri Aug 27 11:44:27 2021 +0200 |
tree | 2a961748bc614b864091b62d8dfcf123c710e8b0 | |
parent | bef0c8c3168a67265ee7ab1a9f36b7105fe4134b [diff] |
[otbn] Operational states and commands Specify the operational states OTBN can be in. - Consolidate all user (host-software) initiated actions into the CMD register. To keep things simple, I resorted to allowing only a single command being executed at any time, and in consequence encoding the command as number, not as bitfield. This also means that performing a secure wipe of IMEM and DMEM now requires two host-initiated actions. (Nobody ever asked explicitly for them being a single operation.) The CMD register is 8 bit wide to make multi-bit encodings and extensions of the commands easier going forward. - Expand the STATUS register to show what's currently going on within OTBN: mirror all CMDs in the status register. The STATUS register is 8 bit wide to make it easier to extend going forward. We already plan to have a LOCKED status. Update all users of the registers: - Update all software to make use of the new CMD and STATUS registers. - Update otbnsim to make use of the new registers. Refactor the err_bits module to hold other constants as well. - Update DV to make use of the new registers. Fixes #7434 Signed-off-by: Philipp Wagner <phw@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 and our documentation on project organization and processes 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).