← Home

tinfo

Trigger Info

Address: 0x7A4 (1956) · Privilege: M · Length: XLEN · Writable · Defined by: Sdtrig

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.

Fields

RV32

31:2423:1615:87:0
VERSION—TYPES

RV64

63:5655:4847:4039:3231:2423:1615:87:0
—VERSION—TYPES
BitsFieldAliasDescriptionTypeReset
[31:24]VERSIONContains the version of the Sdtrig extension implemented. 0 (0):: Supports triggers as described in this spec at commit 5a5c078, made on February 2, 2023. 1 (1):: Supports triggers as described in the ratified version 1.0 of this document. Implementing mcontrol6 requires that `version` is 1 or higher.RO
if ($array_includes?(SDTRIG_MCONTROL6_SUPPORTED_TRIGGERS, true)) {
  return 1;
} else {
  return UNDEFINED_LEGAL;
}
[15:0]TYPESOne bit for each possible `type` enumerated in `tdata1`. Bit N corresponds to type N. If the bit is set, then that type is supported by the currently selected trigger. If the currently selected trigger doesn't exist, this field contains 1.ROUNDEFINED_LEGAL

Version af3eaf9+cheriot.f635218

Data from the RISC-V Unified Database, copyright RISC-V International and contributors.

CHERIoT extensions from the CHERIoT specification and Sail model, copyright Microsoft and the CHERIoT Platform contributors.

This site is provided as a community resource and is NOT affiliated with nor endorsed by RISC-V International.