SPRUI30H November 2015 – May 2024 DRA745 , DRA746 , DRA750 , DRA756
The SCTM events include low-level stall and duration signals sourced by various components of EVE, mainly program cache-related signals and VCOP-related signals. Table 8-30 summarized the event mapping. Event inputs start numbering at 1, because event0 is reserved and SCTM internally uses the functional clock as event0.
For more details on the functionality of each signal listed in the table, see EVE Programmer's Guide. Contact your TI representative for instructions how to access this document.
The SCTM module operates at half the clock rate (EVEx_GFCLK), CLK2 = 0.5 × CLK1. The event sources include CLK2 and CLK1 signals. The CLK2 relative signals are connected directly to SCTM. The CLK1 relative signals are conditioned by EVE-level logic to scale from CLK1 to CLK2. Because these signals are Duration type signals, EVE logic asserts a CLK2 pulse for every two CLK1 pulses detected. This results in, at most, 1 CLK1 cycle of inaccuracy in the CLK2 duration reported by the SCTM.
The SCTM allows measurement of active-high signals. The Type column represents the functional characteristics of the source signals, which can be Pulse, Duration or Edge. The SCTM Mode column describes the typical mode for the SCTM counter when used with a particular signal. The options are event or duration mode. The pulse signals are driven active one cycle for each occurrence, a sequence of consecutive active cycles represents multiple occurrences. For a type of signal where the duration implies the number of occurrences in particular state (for example, the number of cache hits) the furation mode of SCTM is used. The Duration type represents a signal that may stay active for multiple cycles on a given occurrence. These are stall signals, where software tried to determine the number of cycles in the stalled state. Duration mode indicates the time stalled. Event mode indicates the number of unique occurrences of stalls. Event is useful in this case since there is always a deassertion between occurrences. The Edge type goes active for undefined periods of time but must go inactive before the next occurrence. Event mode of the SCTM is used for these signals.
SCTM Event | Name | Source | Type | SCTM Mode | Clock |
---|---|---|---|---|---|
1 | cache_miss_count | ARP32_Pcache | Pulse | Duration | CLK2 |
2 | cache_hit_count | ARP32_Pcache | Pulse | Duration | CLK2 |
3 | cache_miss_stall | ARP32_Pcache | Duration | Duration or Event | CLK2 |
4 | prefetch_compulsory_count | ARP32_Pcache | Pulse | Duration | CLK2 |
5 | Prefetch_lookahead_count | ARP32_Pcache | Pulse | Duration | CLK2 |
6 | prefetch_hit_count | ARP32_Pcache | Pulse | Duration | CLK2 |
7 | line_buffer_hit_count | ARP32_Pcache | Pulse | Duration | CLK2 |
8 | Prefetch_line_count | ARP32_Pcache | Pulse | Duration | CLK2 |
9 | prefetch_discard_stall | ARP32_Pcache | Duration | Duration or event | CLK2 |
10 | tpcc_aet | EDMA | Duration | Duration or event | CLK2 |
11 | arp32_int4 | INTC | Duration | Duration or event | CLK2 |
12 | arp32_int5 | INTC | Duration | Duration or event | CLK2 |
13 | arp32_int6 | INTC | Duration | Duration or event | CLK2 |
14 | arp32_int7 | INTC | Duration | Duration or event | CLK2 |
15 | vcop_busy | VCOP | Pulse | Duration | CLK2 |
16 | vcop_idle_and_done | VCOP | Pulse | Duration | CLK2 |
17 | vcop_wait_for_arp32 | VCOP | Pulse | Duration | CLK2 |
18 | vcop_arp32_awaits | VCOP | Pulse | Duration | CLK2 |
19 | vcop_overhead | VCOP | Pulse | Duration | CLK1 |
20 | vcop_ld_stall_by_st | VCOP | Pulse | Duration | CLK1 |
21 | vcop_op_stall_by_ldst | VCOP | Pulse | Duration | CLK1 |
22 | vcop_op_stall_by_dependency | VCOP | Pulse | Duration | CLK1 |
23 | vcop_rd_ibufl | VCOP | Pulse | Duration | CLK1 |
24 | vcop_rd_ibufh | VCOP | Pulse | Duration | CLK1 |
25 | vcop_rd_wbuf | VCOP | Pulse | Duration | CLK1 |
26 | vcop_wr_ibufl | VCOP | Pulse | Duration | CLK1 |
27 | vcop_wr_ibufh | VCOP | Pulse | Duration | CLK1 |
28 | vcop_wr_wbuf | VCOP | Pulse | Duration | CLK1 |
29 | vcop_loop_start | VCOP | Edge | Event | CLK2 |
30 | vcop_done | VCOP | Edge | Event | CLK2 |
31 | arp32_nmi | INTC | Duration | Duration or event | CLK2 |
32 | arp32_int8 | INTC | Duration | Duration of event | CLK2 |
33 | arp32_int9 | INTC | Duration | Duration of event | CLK2 |
34 | arp32_int10 | INTC | Duration | Duration of event | CLK2 |
35 | arp32_int11 | INTC | Duration | Duration of event | CLK2 |
36 | arp32_int12 | INTC | Duration | Duration of event | CLK2 |
37 | arp32_int13 | INTC | Duration | Duration of event | CLK2 |
38 | arp32_int14 | INTC | Duration | Duration of event | CLK2 |
39 | arp32_int15 | INTC | Duration | Duration of event | CLK2 |