Trigger Info
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.
| 31:24 | 23:16 | 15:8 | 7:0 | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| VERSION | — | TYPES | |||||||||||||||||||||||||||||
| 63:56 | 55:48 | 47:40 | 39:32 | 31:24 | 23:16 | 15:8 | 7:0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| — | VERSION | — | TYPES | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Bits | Field | Alias | Description | Type | Reset |
|---|---|---|---|---|---|
| [31:24] | VERSION | Contains 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] | TYPES | One 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. | RO | UNDEFINED_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.