commit | 53ea70318810557c2a0bfb01cb7d0d50cd1b6c4a | [log] [tgz] |
---|---|---|
author | Rupert Swarbrick <rswarbrick@lowrisc.org> | Tue May 18 14:53:59 2021 +0100 |
committer | Rupert Swarbrick <rswarbrick@gmail.com> | Thu May 20 10:04:23 2021 +0100 |
tree | 365e034c304cd6fe4bd44c1511f0e227d97bd625 | |
parent | f0fbbce514b6301ef2656f91d66c220fa94a5d58 [diff] |
[sha3] Recast an always_comb block to avoid a lint warning This lint warning from Verilator is about an inferred latch. It seems that Verilator version v4.108 doesn't spot that the three fields of error_o are all assigned at the top of the always_comb block. Recasting the statement as an equivalent assignment to error_o fixes the problem. This spurious warning is already fixed in Verilator, by commit 4f36e3e which appears in release v4.202. So this won't be a problem long-term, but there's no real reason to depend on newer versions of the tool at the moment: if anything, the rewritten code looks easier to understand. 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).