[hw,sysrst_ctrl] Add test to improve code coverage

Add test sequence to cover the following scenarios
1. Trigger precondition Debounce to Idle state
   > deassert inputs before debounce time
   > disable precondition before debounce time
2. Trigger combo detect Debounce to Idle state
   > deassert inputs before debounce time
   > disable detection before debounce time
3. Assert ec_rst_l_i before combo action triggers ec_rst_l_o
   and a valid combination of input transition is detected
4. Key intrrrupt control Debounce to idle state transition
   > disable config before debounce time
5. Auto block Debounce to Idle state transition
   > disable auto block before debounce time
6. ULP debounce to Idle state transition
   > disable ULP feature before debounce time
   > deassert input signal before debounce time

Signed-off-by: Raviteja Chatta <crteja@lowrisc.org>
5 files changed
tree: dbf382c53ffe96385f5261009d23a95c7b3ec5c5
  1. .github/
  2. ci/
  3. doc/
  4. hw/
  5. quality/
  6. release/
  7. rules/
  8. site/
  9. sw/
  10. third_party/
  11. util/
  12. .bazelignore
  13. .bazelrc
  14. .bazelversion
  15. .clang-format
  16. .dockerignore
  17. .flake8
  18. .gitattributes
  19. .gitignore
  20. .style.yapf
  21. .svlint.toml
  22. .svls.toml
  23. apt-requirements.txt
  24. azure-pipelines.yml
  25. bazelisk.sh
  26. book.toml
  27. BUILD.bazel
  28. check_tool_requirements.core
  29. CLA
  33. mypy.ini
  34. python-requirements.txt
  35. README.md
  36. SUMMARY.md
  37. tool_requirements.py
  38. topgen-reg-only.core
  39. topgen.core
  41. yum-requirements.txt


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.


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.


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