← Home

tcontrol

Trigger Control

Address: 0x7A5 (1957) · Privilege: M · Length: XLEN · Writable · Defined by: Sdtrig and TCONTROL_IMPLEMENTED == True

This optional register is only accessible in M-mode and Debug Mode and provides various control bits related to triggers.

Fields

RV32

31:2423:1615:87:0
—MPTE—MTE—

RV64

63:5655:4847:4039:3231:2423:1615:87:0
—MPTE—MTE—
BitsFieldAliasDescriptionTypeReset
[7]MPTEM-mode previous trigger enable field. MPTE and MTE provide one solution to a problem regarding triggers with action=0 firing in M-mode trap handlers. When any trap into M-mode is taken, MPTE is set to the value of MTE.RW-H0
[3]MTEM-mode trigger enable field. 0 (disabled):: Triggers with action=0 do not match/fire while the hart is in M-mode. 1 (enabled):: Triggers do match/fire while the hart is in M-mode. When any trap into M-mode is taken, MTE is set to 0. When `mret` is executed, MTE is set to the value of MPTE.RW-H0

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.