commit | 840e329bc483c28948989047de8523b7386131ed | [log] [tgz] |
---|---|---|
author | Rupert Swarbrick <rswarbrick@lowrisc.org> | Fri Oct 02 08:43:18 2020 +0100 |
committer | Rupert Swarbrick <rswarbrick@gmail.com> | Fri Oct 02 10:15:13 2020 +0100 |
tree | 64d589f4b4f28cd4cdd892d5b45d6878c5f28db0 | |
parent | cfd6d4181b92ab99d3a6024a76a8a2546aebfb74 [diff] |
[otbn] Fix rounding in bn.addm in ISS The add_with_carry function truncates its result to 256 bits, which is what you normally want, but isn't what you want for BN.ADDM, where you might overflow but then fix it by subtracting MOD. I've updated the documentation to match. This now matches the RTL. Signed-off-by: Rupert Swarbrick <rswarbrick@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 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).