[coverage] Return bool instead of using OT_UNREACHABLE()
Open
Component:Software
Earlgrey-PROD Triaged
Priority:P4
- Dominant language
- SystemVerilog
- Stars
- 3.6k
- Forks
- 1.1k
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 141
Description
Isn't this reserved for truly impossible branches? The documentation states that behavior is undefined if control reaches this point — I'm not sure if this means the entire branch, including LOG_ERROR is now undefined.
_Originally posted by @dmcardle in https://github.com/lowRISC/opentitan/pull/18745#discussion_r1205988422_
Contributor guide
Assessment
This issue has not been assessed yet.