commit | d28548822aebe3c00c4f4330abe11fc3274b3804 | [log] [tgz] |
---|---|---|
author | Rupert Swarbrick <rswarbrick@lowrisc.org> | Mon Dec 14 15:10:16 2020 +0000 |
committer | Rupert Swarbrick <rswarbrick@gmail.com> | Wed Dec 16 15:33:28 2020 +0000 |
tree | f1fbb7a30c286dfe1f8ffd073a73b9f2a301ce11 | |
parent | f18c1697e73c29a5c4b3eb2fd939d465dc6aeb8b [diff] |
[otbn] Only generate 32-byte initialised data in rig 4 bytes at once is a nice idea, but doesn't play well with the binary loader, which expects 256-bit aligned segments. I don't think this will actually miss any coverage, since we'll generate SW store instructions that dump data all over the place. This patch also defines an "InitData" class to wrap up the dictionary mapping address to value, and gives it an as_segs() method, which coalesces data at adjacent addresses into one segment. This coalescing is needed for the binary loader (otherwise e.g. the second word of 8 32-bit words in a 256-bit word is a misaligned segment) 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).