Archived Arm source pages for the External debug and trace register pages. Part 21 of 22. This part covers TRCSEQEVR, n = 0 to 2 through TRCVIIECTLR.
TRCSEQEVR<n>, n = 0, 2
Trace Sequencer State Transition Control Register <n>
Moves the Sequencer state:
- Backwards, from state n+1 to state n when a programmed resource event occurs.
- Forwards, from state n to state n+1 when a programmed resource event occurs.
Configuration
External register TRCSEQEVR<n> bits [31:0] are architecturally mapped to AArch64 System register TRCSEQEVR<n>[31:0].
This register is present only when FEAT_ETE is implemented, FEAT_TRC_EXT is implemented, and TRCIDR5.NUMSEQSTATE != '000'. Otherwise, direct accesses to TRCSEQEVR<n> are RES0.
Attributes
TRCSEQEVR<n> is a 32-bit register.
Field descriptions
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RES0 | B_TYPE | RES0 | B_SEL | F_TYPE | RES0 | F_SEL |
Bits [31:16]:
Reserved, RES0.
B_TYPE, bit [15]:
Backward field. Selects an event that causes the Sequencer to move from state n+1 to state n. For example, if TRCSEQEVR2.B_SEL == 0x14, then when event 0x14 occurs, the Sequencer moves from state 3 to state 2.
Chooses the type of Resource Selector.
| B_TYPE | Meaning |
|---|---|
| 0b0 | A single Resource Selector. TRCSEQEVR<n>.B.SEL[4:0] selects the single Resource Selector, from 0-31, used to activate the resource event. |
| 0b1 | A Boolean-combined pair of Resource Selectors. TRCSEQEVR<n>.B.SEL[3:0] selects the Resource Selector pair, from 0-15, that has a Boolean function that is applied to it whose output is used to activate the resource event. TRCSEQEVR<n>.B.SEL[4] is RES0. |
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Bits [14:13]:
Reserved, RES0.
B_SEL, bits [12:8]:
Backward field. Selects an event that causes the Sequencer to move from state n+1 to state n. For example, if TRCSEQEVR2.B_SEL == 0x14, then when event 0x14 occurs, the Sequencer moves from state 3 to state 2.
Defines the selected Resource Selector or pair of Resource Selectors. TRCSEQEVR<n>.B.TYPE controls whether TRCSEQEVR<n>.B.SEL is the index of a single Resource Selector, or the index of a pair of Resource Selectors.
If an unimplemented Resource Selector is selected using this field, the behavior of the resource event is UNPREDICTABLE, and the resource event might fire or might not fire when the resources are not in the Paused state.
If an unimplemented Resource Selector is selected using this field, the value returned on a direct read of this field is UNKNOWN.
Selecting Resource Selector pair 0 using this field is UNPREDICTABLE, and the resource event might fire or might not fire when the resources are not in the Paused state.
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
F_TYPE, bit [7]:
Forward field. Selects an event that causes the Sequencer to move from state n to state n+1. For example, if TRCSEQEVR1.F_SEL == 0x12, then when event 0x12 occurs, the Sequencer moves from state 1 to state 2.
Chooses the type of Resource Selector.
| F_TYPE | Meaning |
|---|---|
| 0b0 | A single Resource Selector. TRCSEQEVR<n>.F.SEL[4:0] selects the single Resource Selector, from 0-31, used to activate the resource event. |
| 0b1 | A Boolean-combined pair of Resource Selectors. TRCSEQEVR<n>.F.SEL[3:0] selects the Resource Selector pair, from 0-15, that has a Boolean function that is applied to it whose output is used to activate the resource event. TRCSEQEVR<n>.F.SEL[4] is RES0. |
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Bits [6:5]:
Reserved, RES0.
F_SEL, bits [4:0]:
Forward field. Selects an event that causes the Sequencer to move from state n to state n+1. For example, if TRCSEQEVR1.F_SEL == 0x12, then when event 0x12 occurs, the Sequencer moves from state 1 to state 2.
Defines the selected Resource Selector or pair of Resource Selectors. TRCSEQEVR<n>.F.TYPE controls whether TRCSEQEVR<n>.F.SEL is the index of a single Resource Selector, or the index of a pair of Resource Selectors.
If an unimplemented Resource Selector is selected using this field, the behavior of the resource event is UNPREDICTABLE, and the resource event might fire or might not fire when the resources are not in the Paused state.
If an unimplemented Resource Selector is selected using this field, the value returned on a direct read of this field is UNKNOWN.
Selecting Resource Selector pair 0 using this field is UNPREDICTABLE, and the resource event might fire or might not fire when the resources are not in the Paused state.
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Accessing TRCSEQEVR<n>
Must be programmed if TRCRSCTLR.GROUP == 0b0010 and TRCRSCTLR.SEQUENCER != 0b0000.
If the trace unit is not in the Idle state it is CONSTRAINED UNPREDICTABLE whether writes to this register are ignored.
TRCSEQEVR<n> can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x100 + (4 * n) | TRCSEQEVR<n> |
Accessible as follows:
- When OSLockStatus(), or !AllowExternalTraceAccess(addrdesc), or !IsTraceCorePowered(), accesses to this register generate an error response.
- Otherwise, accesses to this register are RW.
TRCSEQRSTEVR
Trace Sequencer Reset Control Register
Moves the Sequencer to state 0 when a programmed resource event occurs.
Configuration
External register TRCSEQRSTEVR bits [31:0] are architecturally mapped to AArch64 System register TRCSEQRSTEVR[31:0].
This register is present only when FEAT_ETE is implemented, FEAT_TRC_EXT is implemented, and TRCIDR5.NUMSEQSTATE != '000'. Otherwise, direct accesses to TRCSEQRSTEVR are RES0.
Attributes
TRCSEQRSTEVR is a 32-bit register.
Field descriptions
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RES0 | RST_TYPE | RES0 | RST_SEL |
Bits [31:8]:
Reserved, RES0.
RST_TYPE, bit [7]:
Reset field. Selects an event that causes the Sequencer to move to state 0.
Chooses the type of Resource Selector.
| RST_TYPE | Meaning |
|---|---|
| 0b0 | A single Resource Selector. TRCSEQRSTEVR.RST.SEL[4:0] selects the single Resource Selector, from 0-31, used to activate the resource event. |
| 0b1 | A Boolean-combined pair of Resource Selectors. TRCSEQRSTEVR.RST.SEL[3:0] selects the Resource Selector pair, from 0-15, that has a Boolean function that is applied to it whose output is used to activate the resource event. TRCSEQRSTEVR.RST.SEL[4] is RES0. |
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Bits [6:5]:
Reserved, RES0.
RST_SEL, bits [4:0]:
Reset field. Selects an event that causes the Sequencer to move to state 0.
Defines the selected Resource Selector or pair of Resource Selectors. TRCSEQRSTEVR.RST.TYPE controls whether TRCSEQRSTEVR.RST.SEL is the index of a single Resource Selector, or the index of a pair of Resource Selectors.
If an unimplemented Resource Selector is selected using this field, the behavior of the resource event is UNPREDICTABLE, and the resource event might fire or might not fire when the resources are not in the Paused state.
If an unimplemented Resource Selector is selected using this field, the value returned on a direct read of this field is UNKNOWN.
Selecting Resource Selector pair 0 using this field is UNPREDICTABLE, and the resource event might fire or might not fire when the resources are not in the Paused state.
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Accessing TRCSEQRSTEVR
Must be programmed if TRCRSCTLR.GROUP == 0b0010 and TRCRSCTLR.SEQUENCER != 0b0000.
If the trace unit is not in the Idle state it is CONSTRAINED UNPREDICTABLE whether writes to this register are ignored.
TRCSEQRSTEVR can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x118 | TRCSEQRSTEVR |
Accessible as follows:
- When OSLockStatus(), or !AllowExternalTraceAccess(addrdesc), or !IsTraceCorePowered(), accesses to this register generate an error response.
- Otherwise, accesses to this register are RW.
TRCSEQSTR
Trace Sequencer State Register
Use this to set, or read, the Sequencer state.
Configuration
External register TRCSEQSTR bits [31:0] are architecturally mapped to AArch64 System register TRCSEQSTR[31:0].
This register is present only when FEAT_ETE is implemented, FEAT_TRC_EXT is implemented, and TRCIDR5.NUMSEQSTATE != '000'. Otherwise, direct accesses to TRCSEQSTR are RES0.
Attributes
TRCSEQSTR is a 32-bit register.
Field descriptions
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RES0 | STATE |
Bits [31:2]:
Reserved, RES0.
STATE, bits [1:0]:
Set or returns the state of the Sequencer.
| STATE | Meaning |
|---|---|
| 0b00 | State 0. |
| 0b01 | State 1. |
| 0b10 | State 2. |
| 0b11 | State 3. |
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Accessing TRCSEQSTR
Must be programmed if TRCRSCTLR.GROUP == 0b0010 and TRCRSCTLR.SEQUENCER != 0b0000.
If the trace unit is not in the Idle state it is CONSTRAINED UNPREDICTABLE whether writes to this register are ignored.
Reads from this register might return an UNKNOWN value if the trace unit is not in either of the Idle or Stable states.
TRCSEQSTR can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x11C | TRCSEQSTR |
Accessible as follows:
- When OSLockStatus(), or !AllowExternalTraceAccess(addrdesc), or !IsTraceCorePowered(), accesses to this register generate an error response.
- Otherwise, accesses to this register are RW.
TRCSSCCR<n>, n = 0, 7
Trace Single-shot Comparator Control Register <n>
Controls the corresponding Single-shot Comparator Control resource.
Configuration
External register TRCSSCCR<n> bits [31:0] are architecturally mapped to AArch64 System register TRCSSCCR<n>[31:0].
This register is present only when FEAT_ETE is implemented and FEAT_TRC_EXT is implemented. Otherwise, direct accesses to TRCSSCCR<n> are RES0.
Attributes
TRCSSCCR<n> is a 32-bit register.
Field descriptions
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RES0 | RST | ARC[7] | ARC[6] | ARC[5] | ARC[4] | ARC[3] | ARC[2] | ARC[1] | ARC[0] | SAC[15] | SAC[14] | SAC[13] | SAC[12] | SAC[11] | SAC[10] | SAC[9] | SAC[8] | SAC[7] | SAC[6] | SAC[5] | SAC[4] | SAC[3] | SAC[2] | SAC[1] | SAC[0] |
Bits [31:25]:
Reserved, RES0.
RST, bit [24]:
Selects the Single-shot Comparator Control mode.
| RST | Meaning |
|---|---|
| 0b0 | The Single-shot Comparator Control is in single-shot mode. |
| 0b1 | The Single-shot Comparator Control is in multi-shot mode. |
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
ARC[<m>], bit [m+16], for m = 7 to 0:
Selects one or more Address Range Comparators for Single-shot control.
| ARC[<m>] | Meaning |
|---|---|
| 0b0 | The Address Range Comparator <m>, is not selected for Single-shot control. |
| 0b1 | The Address Range Comparator <m>, is selected for Single-shot control. |
The reset behavior of this field is:
-
On a Trace unit reset, this field resets to an architecturally UNKNOWN value. Accessing this field has the following behavior:
-
When m >= UInt(TRCIDR4.NUMACPAIRS), access to this field is RES0 .
-
Otherwise, access to this field is RW.
SAC[<m>], bit [m], for m = 15 to 0:
Selects one or more Single Address Comparators for Single-shot control.
| SAC[<m>] | Meaning |
|---|---|
| 0b0 | The Single Address Comparator <m>, is not selected for Single-shot control. |
| 0b1 | The Single Address Comparator <m>, is selected for Single-shot control. |
The reset behavior of this field is:
-
On a Trace unit reset, this field resets to an architecturally UNKNOWN value. Accessing this field has the following behavior:
-
When m >= UInt(TRCIDR4.NUMACPAIRS) * 2, access to this field is RES0 .
-
Otherwise, access to this field is RW.
Accessing TRCSSCCR<n>
Must be programmed if any TRCRSCTLR.GROUP == 0b0011 and TRCRSCTLR.SINGLE_SHOT[n] == 1.
If the trace unit is not in the Idle state it is CONSTRAINED UNPREDICTABLE whether writes to this register are ignored.
TRCSSCCR<n> can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x280 + (4 * n) | TRCSSCCR<n> |
Accessible as follows:
- When OSLockStatus(), or !AllowExternalTraceAccess(addrdesc), or !IsTraceCorePowered(), accesses to this register generate an error response.
- When n >= NUM_TRACE_SINGLE_SHOT_COMPARATOR_CONTROLS, accesses to this register are RES0.
- Otherwise, accesses to this register are RW.
TRCSSCSR<n>, n = 0, 7
Trace Single-shot Comparator Control Status Register <n>
Returns the status of the corresponding Single-shot Comparator Control.
Configuration
External register TRCSSCSR<n> bits [31:0] are architecturally mapped to AArch64 System register TRCSSCSR<n>[31:0].
This register is present only when FEAT_ETE is implemented and FEAT_TRC_EXT is implemented. Otherwise, direct accesses to TRCSSCSR<n> are RES0.
Attributes
TRCSSCSR<n> is a 32-bit register.
Field descriptions
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| STATUS | PENDING | RES0 | PC | DV | DA | INST |
STATUS, bit [31]:
Single-shot Comparator Control status. Indicates if any of the comparators selected by this Single-shot Comparator control have matched. The selected comparators are defined by TRCSSCCR<n>.ARC, TRCSSCCR<n>.SAC, and TRCSSPCICR<n>.PC.
| STATUS | Meaning |
|---|---|
| 0b0 | No match has occurred. When the first match occurs, this field takes a value of 1. It remains at 1 until explicitly modified by a write to this register. |
| 0b1 | One or more matches has occurred. If TRCSSCCR<n>.RST == 0 then: There is only one match and no more matches are possible. Software must reset this field to 0 to re-enable the Single-shot Comparator Control. |
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
PENDING, bit [30]:
Single-shot pending status. The Single-shot Comparator Control fired while the resources were in the Paused state.
| PENDING | Meaning |
|---|---|
| 0b0 | No match has occurred. |
| 0b1 | One or more matches has occurred. |
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Bits [29:4]:
Reserved, RES0.
PC, bit [3]:
PE Comparator Input support. Indicates if the Single-shot Comparator Control supports PE Comparator Inputs.
| PC | Meaning |
|---|---|
| 0b0 | This Single-shot Comparator Control does not support PE Comparator Inputs. Selecting any PE Comparator Inputs using the associated TRCSSPCICR<n> results in CONSTRAINED UNPREDICTABLE behavior of the Single-shot Comparator Control resource. The Single-shot Comparator Control might match unexpectedly or might not match. |
| 0b1 | This Single-shot Comparator Control supports PE Comparator Inputs. |
Access to this field is RO.
DV, bit [2]:
Data value comparator support. Data value comparisons are not implemented in ETE and are reserved for other trace architectures. Allocated in other trace architectures.
| DV | Meaning |
|---|---|
| 0b0 | This Single-shot Comparator Control does not support data value comparisons. |
| 0b1 | This Single-shot Comparator Control supports data value comparisons. |
When FEAT_ETE is implemented, the only permitted value is 0.
Access to this field is RO.
DA, bit [1]:
Data Address Comparator support. Data address comparisons are not implemented in ETE and are reserved for other trace architectures. Allocated in other trace architectures.
| DA | Meaning |
|---|---|
| 0b0 | This Single-shot Comparator Control does not support data address comparisons. |
| 0b1 | This Single-shot Comparator Control supports data address comparisons. |
When FEAT_ETE is implemented, the only permitted value is 0.
Access to this field is RO.
INST, bit [0]:
Instruction Address Comparator support. Indicates if the Single-shot Comparator Control supports instruction address comparisons.
| INST | Meaning |
|---|---|
| 0b0 | This Single-shot Comparator Control does not support instruction address comparisons. |
| 0b1 | This Single-shot Comparator Control supports instruction address comparisons. |
When FEAT_ETE is implemented, the only permitted value is 1.
Access to this field is RO.
Accessing TRCSSCSR<n>
Must be programmed if TRCRSCTLR.GROUP == 0b0011 and TRCRSCTLR.SINGLE_SHOT[n] == 1.
If the trace unit is not in the Idle state it is CONSTRAINED UNPREDICTABLE whether writes to this register are ignored.
Reads from this register might return an UNKNOWN value if the trace unit is not in either of the Idle or Stable states.
TRCSSCSR<n> can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x2A0 + (4 * n) | TRCSSCSR<n> |
Accessible as follows:
- When OSLockStatus(), or !AllowExternalTraceAccess(addrdesc), or !IsTraceCorePowered(), accesses to this register generate an error response.
- When n >= NUM_TRACE_SINGLE_SHOT_COMPARATOR_CONTROLS, accesses to this register are RES0.
- Otherwise, accesses to this register are RW.
TRCSSPCICR<n>, n = 0, 7
Trace Single-shot Processing Element Comparator Input Control Register <n>
Returns the status of the corresponding Single-shot Comparator Control.
Configuration
External register TRCSSPCICR<n> bits [31:0] are architecturally mapped to AArch64 System register TRCSSPCICR<n>[31:0].
This register is present only when FEAT_ETE is implemented, FEAT_TRC_EXT is implemented, and UInt(TRCIDR4.NUMPC) > 0. Otherwise, direct accesses to TRCSSPCICR<n> are RES0.
Attributes
TRCSSPCICR<n> is a 32-bit register.
Field descriptions
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RES0 | PC[7] | PC[6] | PC[5] | PC[4] | PC[3] | PC[2] | PC[1] | PC[0] |
Bits [31:8]:
Reserved, RES0.
PC[<m>], bit [m], for m = 7 to 0:
Selects one or more PE Comparator Inputs for Single-shot control.
| PC[<m>] | Meaning |
|---|---|
| 0b0 | The single PE Comparator Input <m>, is not selected as for Single-shot control. |
| 0b1 | The single PE Comparator Input <m>, is selected as for Single-shot control. |
This bit is RES0 if m >= TRCIDR4.NUMPC.
The reset behavior of this field is:
-
On a Trace unit reset, this field resets to an architecturally UNKNOWN value. Accessing this field has the following behavior:
-
When m >= UInt(TRCIDR4.NUMPC), access to this field is RES0 .
-
When TRCSSCSR[m].PC != '1', access to this field is RES0 .
Accessing TRCSSPCICR<n>
Must be programmed if implemented and any TRCRSCTLR.GROUP == 0b0011 and TRCRSCTLR.SINGLE_SHOT[n] == 1.
If the trace unit is not in the Idle state it is CONSTRAINED UNPREDICTABLE whether writes to this register are ignored.
Reads from this register might return an UNKNOWN value if the trace unit is not in either of the Idle or Stable states.
TRCSSPCICR<n> can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x2C0 + (4 * n) | TRCSSPCICR<n> |
Accessible as follows:
- When OSLockStatus(), or !AllowExternalTraceAccess(addrdesc), or !IsTraceCorePowered(), accesses to this register generate an error response.
- When n >= NUM_TRACE_SINGLE_SHOT_COMPARATOR_CONTROLS, accesses to this register are RES0.
- Otherwise, accesses to this register are RW.
TRCSTALLCTLR
Trace Stall Control Register
Enables trace unit functionality that prevents trace unit buffer overflows.
Configuration
External register TRCSTALLCTLR bits [31:0] are architecturally mapped to AArch64 System register TRCSTALLCTLR[31:0].
This register is present only when FEAT_ETE is implemented, FEAT_TRC_EXT is implemented, and TRCIDR3.STALLCTL == '1'. Otherwise, direct accesses to TRCSTALLCTLR are RES0.
Attributes
TRCSTALLCTLR is a 32-bit register.
Field descriptions
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RES0 | NOOVERFLOW | RES0 | ISTALL | RES0 | LEVEL |
Bits [31:14]:
Reserved, RES0.
NOOVERFLOW, bit [13] when TRCIDR3.NOOVERFLOW == '1':
Trace overflow prevention.
| NOOVERFLOW | Meaning |
|---|---|
| 0b0 | Trace unit buffer overflow prevention is disabled. |
| 0b1 | Trace unit buffer overflow prevention is enabled. |
Enabling this feature might cause a significant performance impact.
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
Bits [12:9]:
Reserved, RES0.
ISTALL, bit [8]:
Instruction stall control. Controls if a trace unit can stall the PE when the trace buffer space is less than LEVEL.
| ISTALL | Meaning |
|---|---|
| 0b0 | The trace unit must not stall the PE. |
| 0b1 | The trace unit can stall the PE. |
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Bits [7:4]:
Reserved, RES0.
LEVEL, bits [3:0]:
Threshold level field. The field can support 16 monotonic levels from 0b0000 to 0b1111.
The value 0b0000 defines the Minimal invasion level. This setting has a greater risk of a trace unit buffer overflow.
The value 0b1111 defines the Maximum invasion level. This setting has a reduced risk of a trace unit buffer overflow.
For some implementations, invasion might occur at the minimal invasion level.
One or more of the least significant bits of LEVEL are permitted to be RES0. Arm recommends that LEVEL[3:2] are fully implemented. Arm strongly recommends that LEVEL[3] is always implemented. If one or more bits are RES0 and are written with a nonzero value, the effective value of LEVEL is rounded down to the nearest power of 2 value which has the RES0 bits as zero. For example, if LEVEL[1:0] are RES0 and a value of 0b1110 is written to LEVEL, the effective value of LEVEL is 0b1100.
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Accessing TRCSTALLCTLR
Must be programmed if implemented.
If the trace unit is not in the Idle state it is CONSTRAINED UNPREDICTABLE whether writes to this register are ignored.
TRCSTALLCTLR can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x02C | TRCSTALLCTLR |
Accessible as follows:
- When OSLockStatus(), or !AllowExternalTraceAccess(addrdesc), or !IsTraceCorePowered(), accesses to this register generate an error response.
- Otherwise, accesses to this register are RW.
TRCSTATR
Trace Status Register
Returns the trace unit status.
Configuration
External register TRCSTATR bits [31:0] are architecturally mapped to AArch64 System register TRCSTATR[31:0].
This register is present only when FEAT_ETE is implemented and FEAT_TRC_EXT is implemented. Otherwise, direct accesses to TRCSTATR are RES0.
Attributes
TRCSTATR is a 32-bit register.
Field descriptions
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RES0 | PMSTABLE | IDLE |
Bits [31:2]:
Reserved, RES0.
PMSTABLE, bit [1]:
Programmers' model stable.
| PMSTABLE | Meaning |
|---|---|
| 0b0 | The programmers' model is not stable. |
| 0b1 | The programmers' model is stable. |
Accessing this field has the following behavior:
Access to this field is UNKNOWN/WI if all the following are true:
- TRCPRGCTLR.EN == '1'.
- !OSLockStatus().
- Otherwise, access to this field is RO.
IDLE, bit [0]:
Idle status.
| IDLE | Meaning |
|---|---|
| 0b0 | The trace unit is not idle. |
| 0b1 | The trace unit is idle. |
Accessing TRCSTATR
TRCSTATR can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x00C | TRCSTATR |
Accessible as follows:
- When OSLockStatus(), or !AllowExternalTraceAccess(addrdesc), or !IsTraceCorePowered(), accesses to this register generate an error response.
- Otherwise, accesses to this register are RO.
TRCSYNCPR
Trace Synchronization Period Register
Controls how often trace protocol synchronization requests occur.
Configuration
External register TRCSYNCPR bits [31:0] are architecturally mapped to AArch64 System register TRCSYNCPR[31:0].
This register is present only when FEAT_ETE is implemented and FEAT_TRC_EXT is implemented. Otherwise, direct accesses to TRCSYNCPR are RES0.
Attributes
TRCSYNCPR is a 32-bit register.
Field descriptions
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RES0 | PERIOD |
Bits [31:5]:
Reserved, RES0.
PERIOD, bits [4:0]:
Defines the number of bytes of trace between each periodic trace protocol synchronization request.
| PERIOD | Meaning |
|---|---|
| 0b00000 | Trace protocol synchronization is disabled. |
| 0b01000 | Trace protocol synchronization request occurs after 28 bytes of trace. |
| 0b01001 | Trace protocol synchronization request occurs after 29 bytes of trace. |
| 0b01010 | Trace protocol synchronization request occurs after 210 bytes of trace. |
| 0b01011 | Trace protocol synchronization request occurs after 211 bytes of trace. |
| 0b01100 | Trace protocol synchronization request occurs after 212 bytes of trace. |
| 0b01101 | Trace protocol synchronization request occurs after 213 bytes of trace. |
| 0b01110 | Trace protocol synchronization request occurs after 214 bytes of trace. |
| 0b01111 | Trace protocol synchronization request occurs after 215 bytes of trace. |
| 0b10000 | Trace protocol synchronization request occurs after 216 bytes of trace. |
| 0b10001 | Trace protocol synchronization request occurs after 217 bytes of trace. |
| 0b10010 | Trace protocol synchronization request occurs after 218 bytes of trace. |
| 0b10011 | Trace protocol synchronization request occurs after 219 bytes of trace. |
| 0b10100 | Trace protocol synchronization request occurs after 220 bytes of trace. |
Other values are reserved. If a reserved value is programmed into PERIOD, then the behavior of the synchronization period counter is CONSTRAINED UNPREDICTABLE and one of the following behaviors occurs:
-
No trace protocol synchronization requests are generated by this counter.
-
Trace protocol synchronization requests occur at the specified period.
-
Trace protocol synchronization requests occur at some other UNKNOWN period which can vary. The reset behavior of this field is:
-
On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Accessing TRCSYNCPR
Must be programmed if TRCIDR3.SYNCPR == 0.
If the trace unit is not in the Idle state it is CONSTRAINED UNPREDICTABLE whether writes to this register are ignored.
TRCSYNCPR can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x034 | TRCSYNCPR |
Accessible as follows:
- When OSLockStatus(), or !AllowExternalTraceAccess(addrdesc), or !IsTraceCorePowered(), accesses to this register generate an error response.
- Otherwise, accesses to this register are RW.
TRCTRACEIDR
Trace ID Register
Sets the trace ID for instruction trace.
Configuration
External register TRCTRACEIDR bits [31:0] are architecturally mapped to AArch64 System register TRCTRACEIDR[31:0].
This register is present only when FEAT_ETE is implemented and FEAT_TRC_EXT is implemented. Otherwise, direct accesses to TRCTRACEIDR are RES0.
Attributes
TRCTRACEIDR is a 32-bit register.
Field descriptions
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RES0 | TRACEID |
Bits [31:7]:
Reserved, RES0.
TRACEID, bits [6:0]:
Trace ID field. Sets the trace ID value for instruction trace. The width of the field is indicated by the value of TRCIDR5.TRACEIDSIZE. Unimplemented bits are RES0.
If an implementation supports AMBA ATB, then:
- The width of the field is 7 bits.
- Writing a reserved trace ID value does not affect behavior of the trace unit but it might cause UNPREDICTABLE behavior of the trace capture infrastructure. See the AMBA ATB Protocol Specification for information about which ATID values are reserved.
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Accessing TRCTRACEIDR
Must be programmed if implemented.
If the trace unit is not in the Idle state it is CONSTRAINED UNPREDICTABLE whether writes to this register are ignored.
TRCTRACEIDR can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x040 | TRCTRACEIDR |
Accessible as follows:
- When OSLockStatus(), or !IsTraceCorePowered(), or !AllowExternalTraceAccess(addrdesc), accesses to this register generate an error response.
- Otherwise, accesses to this register are RW.
TRCTSCTLR
Trace Timestamp Control Register
Controls the insertion of global timestamps in the trace stream.
Configuration
External register TRCTSCTLR bits [31:0] are architecturally mapped to AArch64 System register TRCTSCTLR[31:0].
This register is present only when FEAT_ETE is implemented, FEAT_TRC_EXT is implemented, and TRCIDR0.TSSIZE != '00000'. Otherwise, direct accesses to TRCTSCTLR are RES0.
Attributes
TRCTSCTLR is a 32-bit register.
Field descriptions
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RES0 | EVENT_TYPE | RES0 | EVENT_SEL |
Bits [31:8]:
Reserved, RES0.
EVENT_TYPE, bit [7] when TRCIDR4.NUMRSPAIR != '0000':
Chooses the type of Resource Selector.
| EVENT_TYPE | Meaning |
|---|---|
| 0b0 | A single Resource Selector. TRCTSCTLR.EVENT.SEL[4:0] selects the single Resource Selector, from 0-31, used to activate the resource event. |
| 0b1 | A Boolean-combined pair of Resource Selectors. TRCTSCTLR.EVENT.SEL[3:0] selects the Resource Selector pair, from 0-15, that has a Boolean function that is applied to it whose output is used to activate the resource event. TRCTSCTLR.EVENT.SEL[4] is RES0. |
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
Bits [6:5]:
Reserved, RES0.
EVENT_SEL, bits [4:0] when TRCIDR4.NUMRSPAIR != '0000':
Defines the selected Resource Selector or pair of Resource Selectors. TRCTSCTLR.EVENT.TYPE controls whether TRCTSCTLR.EVENT.SEL is the index of a single Resource Selector, or the index of a pair of Resource Selectors.
If an unimplemented Resource Selector is selected using this field, the behavior of the resource event is UNPREDICTABLE, and the resource event might fire or might not fire when the resources are not in the Paused state.
If an unimplemented Resource Selector is selected using this field, the value returned on a direct read of this field is UNKNOWN.
Selecting Resource Selector pair 0 using this field is UNPREDICTABLE, and the resource event might fire or might not fire when the resources are not in the Paused state.
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
Accessing TRCTSCTLR
Must be programmed if TRCCONFIGR.TS == 1.
If the trace unit is not in the Idle state it is CONSTRAINED UNPREDICTABLE whether writes to this register are ignored.
TRCTSCTLR can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x030 | TRCTSCTLR |
Accessible as follows:
- When OSLockStatus(), or !AllowExternalTraceAccess(addrdesc), or !IsTraceCorePowered(), accesses to this register generate an error response.
- Otherwise, accesses to this register are RW.
TRCVICTLR
Trace ViewInst Main Control Register
Controls instruction trace filtering.
Configuration
External register TRCVICTLR bits [31:0] are architecturally mapped to AArch64 System register TRCVICTLR[31:0].
This register is present only when FEAT_ETE is implemented and FEAT_TRC_EXT is implemented. Otherwise, direct accesses to TRCVICTLR are RES0.
Attributes
TRCVICTLR is a 32-bit register.
Field descriptions
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RES0 | EXLEVEL_RL_EL2 | EXLEVEL_RL_EL1 | EXLEVEL_RL_EL0 | RES0 | EXLEVEL_NS_EL2 | EXLEVEL_NS_EL1 | EXLEVEL_NS_EL0 | EXLEVEL_S_EL3 | EXLEVEL_S_EL2 | EXLEVEL_S_EL1 | EXLEVEL_S_EL0 | RES0 | TRCERR | TRCRESET | SSSTATUS | RES0 | EVENT_TYPE | RES0 | Bits[4:0] |
Bits [31:27]:
Reserved, RES0.
EXLEVEL_RL_EL2, bit [26] when FEAT_RME is implemented:
Filter instruction trace for EL2 in Realm state.
| EXLEVEL_RL_EL2 | Meaning |
|---|---|
| 0b0 | When TRCVICTLR.EXLEVEL_NS_EL2 is 0 the trace unit generates instruction trace for EL2 in Realm state. When TRCVICTLR.EXLEVEL_NS_EL2 is 1 the trace unit does not generate instruction trace for EL2 in Realm state. |
| 0b1 | When TRCVICTLR.EXLEVEL_NS_EL2 is 0 the trace unit does not generate instruction trace for EL2 in Realm state. When TRCVICTLR.EXLEVEL_NS_EL2 is 1 the trace unit generates instruction trace for EL2 in Realm state. |
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
EXLEVEL_RL_EL1, bit [25] when FEAT_RME is implemented:
Filter instruction trace for EL1 in Realm state.
| EXLEVEL_RL_EL1 | Meaning |
|---|---|
| 0b0 | When TRCVICTLR.EXLEVEL_NS_EL1 is 0 the trace unit generates instruction trace for EL1 in Realm state. When TRCVICTLR.EXLEVEL_NS_EL1 is 1 the trace unit does not generate instruction trace for EL1 in Realm state. |
| 0b1 | When TRCVICTLR.EXLEVEL_NS_EL1 is 0 the trace unit does not generate instruction trace for EL1 in Realm state. When TRCVICTLR.EXLEVEL_NS_EL1 is 1 the trace unit generates instruction trace for EL1 in Realm state. |
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
EXLEVEL_RL_EL0, bit [24] when FEAT_RME is implemented:
Filter instruction trace for EL0 in Realm state.
| EXLEVEL_RL_EL0 | Meaning |
|---|---|
| 0b0 | When TRCVICTLR.EXLEVEL_NS_EL0 is 0 the trace unit generates instruction trace for EL0 in Realm state. When TRCVICTLR.EXLEVEL_NS_EL0 is 1 the trace unit does not generate instruction trace for EL0 in Realm state. |
| 0b1 | When TRCVICTLR.EXLEVEL_NS_EL0 is 0 the trace unit does not generate instruction trace for EL0 in Realm state. When TRCVICTLR.EXLEVEL_NS_EL0 is 1 the trace unit generates instruction trace for EL0 in Realm state. |
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
Bit [23]:
Reserved, RES0.
EXLEVEL_NS_EL2, bit [22] when Non-secure EL2 is implemented:
Filter instruction trace for EL2 in Non-secure state.
| EXLEVEL_NS_EL2 | Meaning |
|---|---|
| 0b0 | The trace unit generates instruction trace for EL2 in Non-secure state. |
| 0b1 | The trace unit does not generate instruction trace for EL2 in Non-secure state. |
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
EXLEVEL_NS_EL1, bit [21] when Non-secure EL1 is implemented:
Filter instruction trace for EL1 in Non-secure state.
| EXLEVEL_NS_EL1 | Meaning |
|---|---|
| 0b0 | The trace unit generates instruction trace for EL1 in Non-secure state. |
| 0b1 | The trace unit does not generate instruction trace for EL1 in Non-secure state. |
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
EXLEVEL_NS_EL0, bit [20] when Non-secure EL0 is implemented:
Filter instruction trace for EL0 in Non-secure state.
| EXLEVEL_NS_EL0 | Meaning |
|---|---|
| 0b0 | The trace unit generates instruction trace for EL0 in Non-secure state. |
| 0b1 | The trace unit does not generate instruction trace for EL0 in Non-secure state. |
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
EXLEVEL_S_EL3, bit [19] when EL3 is implemented:
Filter instruction trace for EL3.
| EXLEVEL_S_EL3 | Meaning |
|---|---|
| 0b0 | The trace unit generates instruction trace for EL3. |
| 0b1 | The trace unit does not generate instruction trace for EL3. |
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
EXLEVEL_S_EL2, bit [18] when Secure EL2 is implemented:
Filter instruction trace for EL2 in Secure state.
| EXLEVEL_S_EL2 | Meaning |
|---|---|
| 0b0 | The trace unit generates instruction trace for EL2 in Secure state. |
| 0b1 | The trace unit does not generate instruction trace for EL2 in Secure state. |
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
EXLEVEL_S_EL1, bit [17] when Secure EL1 is implemented:
Filter instruction trace for EL1 in Secure state.
| EXLEVEL_S_EL1 | Meaning |
|---|---|
| 0b0 | The trace unit generates instruction trace for EL1 in Secure state. |
| 0b1 | The trace unit does not generate instruction trace for EL1 in Secure state. |
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
EXLEVEL_S_EL0, bit [16] when Secure EL0 is implemented:
Filter instruction trace for EL0 in Secure state.
| EXLEVEL_S_EL0 | Meaning |
|---|---|
| 0b0 | The trace unit generates instruction trace for EL0 in Secure state. |
| 0b1 | The trace unit does not generate instruction trace for EL0 in Secure state. |
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
Bits [15:12]:
Reserved, RES0.
TRCERR, bit [11] when TRCIDR3.TRCERR == '1':
Controls the forced tracing of System Error exceptions.
| TRCERR | Meaning |
|---|---|
| 0b0 | Forced tracing of System Error exceptions is disabled. |
| 0b1 | Forced tracing of System Error exceptions is enabled. |
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
TRCRESET, bit [10]:
Controls the forced tracing of PE Resets.
| TRCRESET | Meaning |
|---|---|
| 0b0 | Forced tracing of PE Resets is disabled. |
| 0b1 | Forced tracing of PE Resets is enabled. |
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
SSSTATUS, bit [9]:
ViewInst start/stop function status.
| SSSTATUS | Meaning |
|---|---|
| 0b0 | Stopped State. The ViewInst start/stop function is in the stopped state. |
| 0b1 | Started State. The ViewInst start/stop function is in the started state. |
Before software enables the trace unit, it must write to this field to set the initial state of the ViewInst start/stop function. If the ViewInst start/stop function is not used then set this field to 1. Arm recommends that the value of this field is set before each trace session begins.
If the trace unit becomes disabled while a start point or stop point is still speculative, then the value of TRCVICTLR.SSSTATUS is UNKNOWN and might represent the result of a speculative start point or stop point.
If software which is running on the PE being traced disables the trace unit, either by clearing TRCPRGCTLR.EN or locking the OS Lock, Arm recommends that a DSB and an ISB instruction are executed before disabling the trace unit to prevent any start points or stop points being speculative at the point of disabling the trace unit. This procedure assumes that all start points or stop points occur before the barrier instructions are executed. The procedure does not guarantee that there are no speculative start points or stop points when disabling, although it helps minimize the probability.
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value. Accessing this field has the following behavior:
Access to this field is RES1 if all the following are true:
- TRCIDR4.NUMACPAIRS == '0000'.
- TRCIDR4.NUMPC == '0000'.
- Otherwise, access to this field is RW.
Bit [8]:
Reserved, RES0.
EVENT_TYPE, bit [7] when TRCIDR4.NUMRSPAIR != '0000':
Chooses the type of Resource Selector.
| EVENT_TYPE | Meaning |
|---|---|
| 0b0 | A single Resource Selector. TRCVICTLR.EVENT.SEL[4:0] selects the single Resource Selector, from 0-31, used to activate the resource event. |
| 0b1 | A Boolean-combined pair of Resource Selectors. TRCVICTLR.EVENT.SEL[3:0] selects the Resource Selector pair, from 0-15, that has a Boolean function that is applied to it whose output is used to activate the resource event. TRCVICTLR.EVENT.SEL[4] is RES0. |
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
Bits [6:5]:
Reserved, RES0.
Bits[4:0] when TRCIDR4.NUMRSPAIR != '0000':
EVENT_SEL, bits [4:0] of bits [4:0]
Defines the selected Resource Selector or pair of Resource Selectors. TRCVICTLR.EVENT.TYPE controls whether TRCVICTLR.EVENT.SEL is the index of a single Resource Selector, or the index of a pair of Resource Selectors.
If an unimplemented Resource Selector is selected using this field, the behavior of the resource event is UNPREDICTABLE, and the resource event might fire or might not fire when the resources are not in the Paused state.
If an unimplemented Resource Selector is selected using this field, the value returned on a direct read of this field is UNKNOWN.
Selecting Resource Selector pair 0 using this field is UNPREDICTABLE, and the resource event might fire or might not fire when the resources are not in the Paused state.
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
when TRCIDR4.NUMRSPAIR == '0000':
Reserved, bits [4:0] of bits [4:0]
This field is reserved:
- Bits [4:1] are RES0.
- Bit [0] is RES1.
Otherwise:
Reserved, RES0.
Accessing TRCVICTLR
Must be programmed.
Reads from this register might return an UNKNOWN value if the trace unit is not in either of the Idle or Stable states.
TRCVICTLR can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x080 | TRCVICTLR |
Accessible as follows:
- When OSLockStatus(), or !AllowExternalTraceAccess(addrdesc), or !IsTraceCorePowered(), accesses to this register generate an error response.
- Otherwise, accesses to this register are RW.
TRCVIIECTLR
Trace ViewInst Include/Exclude Control Register
Use this to select, or read, the Address Range Comparators for the ViewInst include/exclude function.
Configuration
External register TRCVIIECTLR bits [31:0] are architecturally mapped to AArch64 System register TRCVIIECTLR[31:0].
This register is present only when FEAT_ETE is implemented, FEAT_TRC_EXT is implemented, and UInt(TRCIDR4.NUMACPAIRS) > 0. Otherwise, direct accesses to TRCVIIECTLR are RES0.
Attributes
TRCVIIECTLR is a 32-bit register.
Field descriptions
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RES0 | EXCLUDE[7] | EXCLUDE[6] | EXCLUDE[5] | EXCLUDE[4] | EXCLUDE[3] | EXCLUDE[2] | EXCLUDE[1] | EXCLUDE[0] | RES0 | INCLUDE[7] | INCLUDE[6] | INCLUDE[5] | INCLUDE[4] | INCLUDE[3] | INCLUDE[2] | INCLUDE[1] | INCLUDE[0] |
Bits [31:24]:
Reserved, RES0.
EXCLUDE[<m>], bit [m+16], for m = 7 to 0:
Exclude Address Range Comparator <m>. Selects whether Address Range Comparator <m> is in use with the ViewInst exclude function.
| EXCLUDE[<m>] | Meaning |
|---|---|
| 0b0 | The address range that Address Range Comparator <m> defines, is not selected for the ViewInst exclude function. |
| 0b1 | The address range that Address Range Comparator <m> defines, is selected for the ViewInst exclude function. |
The reset behavior of this field is:
-
On a Trace unit reset, this field resets to an architecturally UNKNOWN value. Accessing this field has the following behavior:
-
When m >= UInt(TRCIDR4.NUMACPAIRS), access to this field is RES0 .
-
Otherwise, access to this field is RW.
Bits [15:8]:
Reserved, RES0.
INCLUDE[<m>], bit [m], for m = 7 to 0:
Include Address Range Comparator <m>.
Selects whether Address Range Comparator <m> is in use with the ViewInst include function.
Selecting no comparators for the ViewInst include function indicates that all instructions are included by default.
The ViewInst exclude function then indicates which ranges are excluded.
| INCLUDE[<m>] | Meaning |
|---|---|
| 0b0 | The address range that Address Range Comparator <m> defines, is not selected for the ViewInst include function. |
| 0b1 | The address range that Address Range Comparator <m> defines, is selected for the ViewInst include function. |
The reset behavior of this field is:
-
On a Trace unit reset, this field resets to an architecturally UNKNOWN value. Accessing this field has the following behavior:
-
When m >= UInt(TRCIDR4.NUMACPAIRS), access to this field is RES0 .
-
Otherwise, access to this field is RW.
Accessing TRCVIIECTLR
Must be programmed if TRCIDR4.NUMACPAIRS > 0b0000.
If the trace unit is not in the Idle state it is CONSTRAINED UNPREDICTABLE whether writes to this register are ignored.
TRCVIIECTLR can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x084 | TRCVIIECTLR |
Accessible as follows:
- When OSLockStatus(), or !AllowExternalTraceAccess(addrdesc), or !IsTraceCorePowered(), accesses to this register generate an error response.
- Otherwise, accesses to this register are RW.