Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions branchTrace.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,9 @@ decoder developers.
Related parameters: None

The RISC-V Privileged ISA specification stores exception handler base
addresses in the *_utvec/stvec/vstvec/mtvec_* CSR registers. In some
addresses in the *_stvec/vstvec/mtvec_* CSR registers. In some
RISC-V implementations, the lower address bits are stored in the
*_ucause/scause/vscause/mcause_* CSR registers.
*_scause/vscause/mcause_* CSR registers.

By default, both the *_*tvec_* and *_*cause_* values are reported when
an exception or interrupt occurs.
Expand Down
8 changes: 4 additions & 4 deletions ingressPort.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ The following information is mandatory:

* The number of instructions that are being retired;
* Whether there has been an exception or interrupt, and if so the cause
(from the *_ucause/scause/vscause/mcause_* CSR) and trap value (from the
*_utval/stval/vstval/mtval_* CSR).
(from the *_scause/vscause/mcause_* CSR) and trap value (from the
*_stval/vstval/mtval_* CSR).
+
The register set to output should be the set that is updated as a result
of the exception (i.e. the set associated with the privilege level
Expand Down Expand Up @@ -194,10 +194,10 @@ BR group signals instead.
|*itype*[_itype_width_p_-1:0] | MR | Termination type of the instruction
block. Encoding given in <<tab:itype>> (see <<JumpClasses>> for definitions of codes 6 - 15).
|*cause*[_ecause_width_p_-1:0] | M | Exception or interrupt cause
(*_ucause/scause/ vscause/mcause_*). Ignored unless **itype**=1 or 2.
(*_scause/ vscause/mcause_*). Ignored unless **itype**=1 or 2.
|*tval*[_iaddress_width_p_-1:0] | M | The associated trap value, e.g. the
faulting virtual address for address exceptions, as would be written to
the *utval/stval/vstval/mtval* CSR. Future optional extensions may
the *stval/vstval/mtval* CSR. Future optional extensions may
define *tval* to provide ancillary information in cases where it
currently supplies zero. Ignored unless **itype**=1.
|*priv*[_privilege_width_p_-1:0] | M | Privilege level for all
Expand Down
1 change: 1 addition & 0 deletions introduction.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ the RISC-V hart
* *delta*: a change in the program counter that is other than the
difference between two instructions placed consecutively in memory
* *discontinuity*: another name for ’delta’ (see above)
* *E-Trace*: Abbreviation of _Efficient Trace for RISC-V_.
* *ELF*: executable and linkable format
* *encoder*: a piece of hardware that takes in instruction execution
information from a RISC-V hart and transforms it into trace packets
Expand Down
Loading