Webcentive RISC-V Reference

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

FieldBitsTypeDescription
VERSION31-24RO

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.

TYPES15-0RO

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.

Fields from riscv-unified-db; field types computed by IDL functions there are not shown.

Specification and related pages