Skip to content

Commit

Permalink
Merge pull request #158 from riscv-non-isa/updates-2.0.4-Issue-99
Browse files Browse the repository at this point in the history
Updates 2.0.4 issue 99
  • Loading branch information
IainCRobertson committed Feb 17, 2025
2 parents 0046d19 + 5bfe0db commit b17bee8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion header.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ endif::[]
|19-Apr-2024 |Formatting and typo fixes.
|TBD |
- Formatting and typo fixes. +
- Removed ambiguity between 'last' and 'final'. Last was previously used to mean both the instruction before the current one, and the final instruction traced.
- Removed ambiguity between 'last' and 'final'. Last was previously used to mean both the instruction before the current one, and the final instruction traced. +
- Clarified behaviour when trace-on and trace-off triggers occur both occur in the same cycle (see <<sec:trigger>>)

|===

Expand Down
5 changes: 5 additions & 0 deletions ingressPort.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,11 @@ from the oldest instruction retired in the cycle that Trace-on is
asserted, and stops following the newest instruction retired in the
cycle that Trace-off is asserted (subject to any optional filtering).

It follows from this that:

* if tracing is enabled and trace-off occurs on the cycle before trace-on, then tracing will continue unimpeded (i.e. it stays on);
* if tracing is disabled and trace-on and trace-off triggers occur simultaneously then only the instructions retired in that cycle will be traced.

Trace-notify provides means to ensure that a specified instruction is
explicitly reported (subject to any optional filtering). This capability
is sometimes known as a watchpoint.
Expand Down

0 comments on commit b17bee8

Please sign in to comment.