commit | ad7a57cc4a818832a64e0cec3968244ea086a929 | [log] [tgz] |
---|---|---|
author | Greg Chadwick <gac@lowrisc.org> | Thu Sep 17 14:36:35 2020 +0100 |
committer | Greg Chadwick <gac@lowrisc.org> | Wed Sep 23 15:56:00 2020 +0100 |
tree | 4101bbe775ceacee9c1b082dfe26282f8829c10a | |
parent | dbb0609704d0cd1666711ff0c753812dea7dc928 [diff] |
[otbn] Fix use of carry flag for borrow in otbnsim When carry is set, for subb and cmpb it acts as a borrow flag so A - B - c must be computed (where c is the carry flag). This introduces a seperate 'subtract_with_borrow' function to the model to deal with this. Documentation is also updated to match. Signed-off-by: Greg Chadwick <gac@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).