commit | 496276004c4215299ac4d03af5516344ce3c5b25 | [log] [tgz] |
---|---|---|
author | Rupert Swarbrick <rswarbrick@lowrisc.org> | Mon Nov 15 16:58:28 2021 +0000 |
committer | Rupert Swarbrick <rswarbrick@gmail.com> | Wed Nov 17 17:33:27 2021 +0000 |
tree | 7462b4391052e09cf2557ce7a3cd5ca77c467b62 | |
parent | 6a2713ba38efc0f0026858aa93076f53a8ab9bbc [diff] |
[dv] Fix shape calculations for replicated ECC data_width is supposed to be the width of a word in bits, not counting any ECC bits. The computation that was there before wasn't quite right because it didn't allow for the possibility of multiple subwords. We use this structure for OTBN, where we have 256-bit words, split into eight 32-bit subwords where each is protected with the Ecc_39_32 scheme. Also bump up the maximum bytes per word (we need more!) and add read256() and write256() functions. Finally, fix the instantiations of imem_util and dmem_util in the OTBN testbench (I'd misunderstood what the n_bits argument did). 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 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).