lowRISC / lowRISC/opentitan

[coverage] Return bool instead of using OT_UNREACHABLE()

Open
#18,748 3 comments 0 reactions 1 assignee Claimed by @alphan View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.