ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 1,823 microarchs · 16,083 chips · 105 sources
Arch:
Tier:

tdata1

T1 riscv register register
Trigger Data 1
SourceRISC-V Official Unified Database (riscv-unified-db) (riscv_unified_db)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeRISC-V Privileged (Sdtrig)
RV32 / RV64 (Ratified & Standard Extensions)
License & VersionApache-2.0 / CC-BY-4.0
main
Upstreamhttps://github.com/riscv/riscv-unified-db
PrivilegeM
ExtensionsSdtrig

Summary

This register provides access to the trigger selected by tselect. The reset values listed here apply to every underlying trigger.

Syntax / Encoding

CSR 0x7a1 (M-mode, RW)

Bitfields (3)

BitsFieldDescription
63:60TYPE0 (none):: There is no trigger at this tselect. 1 (legacy):: The trigger is a legacy SiFive address match trigger. These should not be implemented and aren’t further documented here. 2 (mcontrol):: The trigger is an address/data match trigger. The remaining bits in this register act as described in mcontrol. 3 (icount)
59DMODEIf type is 0, then this bit is hard-wired to 0. 0 (both): Both Debug and M-mode can write the tdata registers at the selected tselect. 1 (dmode): Only Debug Mode can write the tdata registers at the selected tselect. Writes from other modes are ignored. This bit is only writable from Debug Mode. In ordinary use, exte
58:0DATAIf type is 0, then this field is hard-wired to 0. Trigger-specific data. [RV32: 26:0, RV64: 58:0]

Reference Notes

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.
Writing 0 to this register must result in a trigger that is disabled.
If this trigger supports multiple types, then the hardware should disable it
by changing type to 15.