8.2 PDtrace™ instruction trace facility
Programming the MIPS32® 74K™ Core Family, Revision 02.14
122
but we’ll document fields and configured values which are specific to 74K family CPUs. With the new feature of
enabling software to access the on-chip trace memory, all the JTAG-accessible registers are visible to software via a
load or store to their drseg memory mapped location.
Table 8.6 Fields in the TCBCONTROLA register
In TCBCONTROLA:
VModes
: reads “1 0”, showing that 74K family cores support all tracing modes.
ADW
: reads “1” to indicate that we support the wide (32-bit) internal trace bus.
Ineff
: set to 1 to indicate that core-specific-inefficieny tracing is enabled.
Table 8.7 Fields in the TCBCONTROLB register
In TCBCONTROLB:
FDT: set to 1 to indicate that Filtered Data Trace is enabled
TRPAD: set to 0 to enable software to access on-chip trace memory via the drseg mapped TCB Registers.
NumDO: On the 74K family the number of bits to specifiy the DataOrder field within the trace format is five bits to sup-
port 32 outstanding load and stores. The outstanding loads and stores is with respect to the PDtrace unit not the Load
Store unit.
Figure 8.16
Fields in the TCBCONTROLE register
Aside from TrIDLE the rest of the bits in TCBCONTROLE are enable and control bits for performance counter tracing
TrIDLE : is set by the hardware to indicate that the trace unit is not processing any data. This is especially useful when
switching control from hardware to software and vice-versa. After turning trace off (recommended to turn
TraceControll[ON]
,
TCBCONTROLA[ON]
, and
TCBCONTROLB[EN]
off), this bit should be queried and if the trace
unit is idle, then it is safe to change the trace control settings. After changing the settings, trace can be turned back on,
and tracing resumes cleanly with the new control.
31
30 29
27 26
25
24
23
22
20
19
18
17 16 15 14 13 12
5
4
3
2
1
0
SyPExt
Impl
0
VModes
ADW
SyP
TB IO D E
S K U
ASID
G TFCR
TLSM TIM On
31
30
28
27
26
25
21
20
19
18
17
16
15
14 13 12
11
10
8
7
6
3
2
1
0
WE
0
TWSrcWidth
REG
WR
0
TRPAD FDT RM TR BF
TM
TLSIF
CR
Cal TWSrcVal CA OfC EN
31
9
8
7
6
5
4
3
2
1
0
0
TrIDLE
0
PeCOvf PeCFCR
PeCBP
PeCSync PECE PEC
Содержание MIPS32 74K Series
Страница 1: ...Document Number MD00541 Revision 02 14 March 30 2011 Programming the MIPS32 74K Core Family...
Страница 10: ...Programming the MIPS32 74K Core Family Revision 02 14 10...
Страница 20: ...1 4 A brief guide to the 74K core implementation Programming the MIPS32 74K Core Family Revision 02 14 20...
Страница 28: ...2 2 PRId register identifying your CPU type Programming the MIPS32 74K Core Family Revision 02 14 28...
Страница 54: ...3 8 The TLB and translation Programming the MIPS32 74K Core Family Revision 02 14 54...
Страница 83: ......
Страница 86: ...6 5 FPU pipeline and instruction timing Programming the MIPS32 74K Core Family Revision 02 14 86...
Страница 101: ...The MIPS32 DSP ASE 101 Programming the MIPS32 74K Core Family Revision 02 14...
Страница 134: ...8 4 Performance counters Programming the MIPS32 74K Core Family Revision 02 14 134...
Страница 154: ...C 3 FPU changes in Release 2 of the MIPS32 Architecture Programming the MIPS32 74K Core Family Revision 02 14 154...