[entropy_src/rtl] Manage early SHA3 disablement

A handfull of FW_OV tests have been failing when the SHA3 conditioner
but the SHA block has for whatever reason encountered a delay
ingesting the last word of the "message".  This highlights the
need to also check the FW_OV_WR_FIFO_FULL register before
disabling SHA3.

This commit:
- Updates the documentation for the FW_OV_SHA3_START register to
  add a warning about this problem.
- Adds a new recoverable alert field ES_FW_OV_DISABLE_ALERT to
  notify users when they violate this recommendation.
- Tidies up the ready signal for the sha3_msgfifo_ready signal so
  that it is more predictable when this recommendation is violated.
  This makes for better scoreboarding and easier testing of
  ES_FW_OV_DISABLE_ALERT field.
  - Data left in the prim_packer fifo is held there either until
    the SHA3 is reenabled or until the IP is disabled.

Signed-off-by: Martin Lueker-Boden <martin.lueker-boden@wdc.com>
4 files changed
tree: 6d321c42c964e0f18344ee4081286b7e0edae0e9
  1. .github/
  2. ci/
  3. doc/
  4. hw/
  5. rules/
  6. site/
  7. sw/
  8. third_party/
  9. util/
  10. .bazelignore
  11. .bazelrc
  12. .bazelversion
  13. .clang-format
  14. .dockerignore
  15. .flake8
  16. .gitattributes
  17. .gitignore
  18. .style.yapf
  19. .svlint.toml
  20. .svls.toml
  21. _index.md
  22. apt-requirements.txt
  23. azure-pipelines.yml
  24. bazelisk.sh
  25. BUILD.bazel
  26. check_tool_requirements.core
  27. CLA
  28. COMMITTERS
  29. CONTRIBUTING.md
  30. LICENSE
  31. mypy.ini
  32. python-requirements.txt
  33. README.md
  34. tool_requirements.py
  35. topgen-reg-only.core
  36. topgen.core
  37. WORKSPACE
  38. yum-requirements.txt
README.md

OpenTitan

OpenTitan logo

About the project

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.

About this repository

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.

Documentation

The project contains comprehensive documentation of all IPs and tools. You can access it online at docs.opentitan.org.

How to contribute

Have a look at CONTRIBUTING and our documentation on project organization and processes for guidelines on how to contribute code to this repository.

Licensing

Unless otherwise noted, everything in this repository is covered by the Apache License, Version 2.0 (see LICENSE for full text).