tinfo
Trigger info register
- Address
0x7A4- Group
- Debug CSRs (0x7A0 to 0x7BF)
- Privilege
MRW(privileged spec CSR listing, Debug/Trace Registers (shared with Debug Mode))- Access
- read/write; lowest privilege M (machine)
- Address range
- Standard read/write debug CSRs
- Name in riscv-unified-db
- Trigger Info
Privileged spec: Trigger info register
Description
This register provides access to the trigger selected by tselect.
The reset values listed here apply to every underlying trigger.
This register is optional if no triggers are implemented, or if type is not writable
and version would be 0. In this case the debugger can read the only supported type
from tdata1.
Writing this read/write CSR has no effect.
From riscv-unified-db, reformatted.
Fields
| Field | Bits | Type | Description |
|---|---|---|---|
VERSION | 31-24 | RO | Contains the version of the Sdtrig extension implemented.
Implementing mcontrol6 requires that |
TYPES | 15-0 | RO | One bit for each possible If the currently selected trigger doesn't exist, this field contains 1. |
Fields from riscv-unified-db; field types computed by IDL functions there are not shown.
Specification and related pages
- The RISC-V Instruction Set Manual, Volume II: CSR listing (src/priv/csrs.adoc)
- riscv-opcodes csrs.csv
- riscv-unified-db: spec/std/isa/csr/tinfo.yaml
- csrrw, csrrs, csrrc (Zicsr instructions that access CSRs)