Xilinx MicroBlaze Reference Manual page 107

Hide thumbs Also See for MicroBlaze:
Table of Contents

Advertisement

Trace Control Register
The Trace Control Register (TCTRLR) is used to define the trace behavior. This register is a
write-only register. Issuing a read request has no effect, and undefined data is read. See the
following figure and table.
X-Ref Target - Figure 2-31
31
Reserved
Table 2-50: Trace Control Register (TCTRLR)
Bits
Name
21:6
Tracepoint
5:4
Level
3
Full Halt
2
Save PC
1
Save Load
0
Save Return
Trace Command Register
The Trace Command Register (TCMDR) is used to issue commands to clear, start, or stop
trace, as well as sample the number of trace items. This register is a write-only register.
Issuing a read request has no effect, and undefined data is read. See the following figure
and table.
X-Ref Target - Figure 2-32
31
MicroBlaze Processor Reference Guide
UG984 (v2018.2) June 21, 2018
22
21
Tracepoint
Figure 2-31: Trace Control Register
Change corresponding breakpoint or watchpoint to a tracepoint
Trace compression level:
00 = Complete trace, not available with
01 = Program flow
10 = Event
11 = Program flow and cycle count
Debug Halt on full trace buffer or cycle count overflow
Level 01 and 11: Save new program counter for all taken branches
Level 10: Save new program counter for all function calls
Save load and get instruction new data value
Save new program counter for return instructions
Reserved
Figure 2-32: Trace Command Register
www.xilinx.com
Chapter 2: MicroBlaze Architecture
6
5
Description
C_DEBUG_EXTERNAL_TRACE
4
3
2
1
0
Level
FH
SPC
SL
SR
X19767-082517
Reset Value
0
00
0
0
0
0
4
3
2
1
0
CLR
STA
STOP
SAM
X19768-091117
Send Feedback
107

Advertisement

Table of Contents
loading

Table of Contents