"rvfi_dbg" wrong cause #248
Labels
Component:Other
Non-RTL, non-documentation (e.g. bhv, sva)
Status:Resolved
Issue has been resolved, but closure is pending on git merge and/or issuer confirmation
Type:Bug
For bugs in any content (RTL, Documentation, etc.)
Component:RTL: For issues in the RTL (e.g. for files in the rtl directory)
Component:Other: For any other issues
Description
On the first instr in dmode,
rvfi_dbg
"contains the debug cause".Also,
dcsr.cause
"Explains why Debug Mode was entered"AFAICT, they should be the same on the first instr in dmode.
Problem: They are not. (See screenshot below.)
The trace above shows the core entering dmode because of
debug_req_i
.This cause is correctly reflected in
dcsr.cause
(3 is "haltreq").But rvfi incorrectly shows the cause to be "1", because it has some special handling of "ebreak".
Steps to Reproduce
f9b040d4
.a_dbg_cause
.The text was updated successfully, but these errors were encountered: